@ikas/storefront 3.0.0-alpha.50 → 4.0.0-alpha.10

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 (2280) hide show
  1. package/package.json +38 -96
  2. package/src/analytics/analytics.ts +536 -0
  3. package/src/analytics/events.ts +116 -0
  4. package/src/analytics/facebookPixel.ts +226 -0
  5. package/src/analytics/googleAnalytics.ts +227 -0
  6. package/src/analytics/googleTagManager.ts +341 -0
  7. package/src/analytics/googleUniversal.ts +136 -0
  8. package/src/analytics/head/index.tsx +135 -0
  9. package/src/analytics/ikas.ts +558 -0
  10. package/src/analytics/index.ts +2 -0
  11. package/src/analytics/tiktokPixel.ts +223 -0
  12. package/src/components/checkout/components/address-form/index.tsx +406 -0
  13. package/src/components/checkout/components/address-form/model.ts +397 -0
  14. package/src/components/checkout/components/button/index.tsx +44 -0
  15. package/src/components/checkout/components/button/style.module.scss +103 -0
  16. package/src/components/checkout/components/cart-summary/cart-item/index.tsx +180 -0
  17. package/src/components/checkout/components/cart-summary/cart-item/style.module.scss +107 -0
  18. package/src/components/checkout/components/cart-summary/index.tsx +481 -0
  19. package/src/components/checkout/components/cart-summary/style.module.scss +251 -0
  20. package/src/components/checkout/components/checkbox/check.tsx +23 -0
  21. package/src/components/checkout/components/checkbox/index.tsx +50 -0
  22. package/src/components/checkout/components/checkbox/style.module.scss +72 -0
  23. package/src/components/checkout/components/credit-card-form/index.tsx +122 -0
  24. package/src/components/checkout/components/credit-card-form/model.ts +56 -0
  25. package/src/components/checkout/components/credit-card-form/style.module.scss +6 -0
  26. package/src/components/checkout/components/credit-card-form/svg/amex.tsx +30 -0
  27. package/src/components/checkout/components/credit-card-form/svg/master-card.tsx +38 -0
  28. package/src/components/checkout/components/credit-card-form/svg/troy.tsx +54 -0
  29. package/src/components/checkout/components/credit-card-form/svg/visa.tsx +46 -0
  30. package/src/components/checkout/components/customer-addresses/index.tsx +333 -0
  31. package/src/components/checkout/components/customer-addresses/model.ts +126 -0
  32. package/src/components/checkout/components/customer-addresses/style.module.scss +38 -0
  33. package/src/components/checkout/components/delivery-methods/icon-button/index.tsx +29 -0
  34. package/src/components/checkout/components/delivery-methods/icon-button/style.module.scss +41 -0
  35. package/src/components/checkout/components/delivery-methods/icons/box.tsx +22 -0
  36. package/src/components/checkout/components/delivery-methods/icons/store.tsx +22 -0
  37. package/src/components/checkout/components/delivery-methods/index.tsx +39 -0
  38. package/src/components/checkout/components/delivery-methods/style.module.scss +4 -0
  39. package/src/components/checkout/components/error/customer-login-required-error/index.tsx +23 -0
  40. package/src/components/checkout/components/error/index.tsx +54 -0
  41. package/src/components/checkout/components/error/no-shipping-error/index.tsx +14 -0
  42. package/src/components/checkout/components/error/payment-error/index.tsx +21 -0
  43. package/src/components/checkout/components/error/stock-error/index.tsx +72 -0
  44. package/src/components/checkout/components/error/stock-error/style.module.scss +11 -0
  45. package/src/components/checkout/components/error/unknown-error/index.tsx +19 -0
  46. package/src/components/checkout/components/expandable-section/index.tsx +37 -0
  47. package/src/components/checkout/components/expandable-section/style.module.scss +29 -0
  48. package/src/components/checkout/components/form-item/caret-down.tsx +20 -0
  49. package/src/components/checkout/components/form-item/index.tsx +207 -0
  50. package/src/components/checkout/components/form-item/model.ts +145 -0
  51. package/src/components/checkout/components/form-item/style.module.scss +216 -0
  52. package/src/components/checkout/components/fullscreen-loading/index.tsx +10 -0
  53. package/src/components/checkout/components/fullscreen-loading/style.module.scss +56 -0
  54. package/src/components/checkout/components/input-with-button/index.tsx +53 -0
  55. package/src/components/checkout/components/input-with-button/style.module.scss +104 -0
  56. package/src/components/checkout/components/master-pass/credit-card-form/index.tsx +160 -0
  57. package/src/components/checkout/components/master-pass/credit-card-form/style.module.scss +15 -0
  58. package/src/components/checkout/components/master-pass/modal/index.tsx +32 -0
  59. package/src/components/checkout/components/master-pass/modal/style.module.scss +42 -0
  60. package/src/components/checkout/components/master-pass/modal/svg/modal-close.tsx +20 -0
  61. package/src/components/checkout/components/master-pass/modal-link-card-to-client/index.tsx +62 -0
  62. package/src/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss +27 -0
  63. package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.tsx +19 -0
  64. package/src/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.tsx +41 -0
  65. package/src/components/checkout/components/master-pass/modal-otp/index.tsx +202 -0
  66. package/src/components/checkout/components/master-pass/modal-otp/style.module.scss +47 -0
  67. package/src/components/checkout/components/master-pass/modal-otp/svg/master-pass.tsx +28 -0
  68. package/src/components/checkout/components/master-pass/modal-response/index.tsx +24 -0
  69. package/src/components/checkout/components/master-pass/modal-response/style.module.scss +7 -0
  70. package/src/components/checkout/components/master-pass/modal-success/index.tsx +54 -0
  71. package/src/components/checkout/components/master-pass/modal-success/style.module.scss +25 -0
  72. package/src/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.tsx +41 -0
  73. package/src/components/checkout/components/master-pass/modal-success/svg/success.tsx +21 -0
  74. package/src/components/checkout/components/master-pass/payment-gateway/svg/master-card.tsx +14 -0
  75. package/src/components/checkout/components/master-pass/svg/master-pass-by-master-card.tsx +34 -0
  76. package/src/components/checkout/components/modal/index.tsx +41 -0
  77. package/src/components/checkout/components/modal/style.module.scss +68 -0
  78. package/src/components/checkout/components/modal/useEscape.tsx +20 -0
  79. package/src/components/checkout/components/notification-box/index.tsx +70 -0
  80. package/src/components/checkout/components/notification-box/style.module.scss +69 -0
  81. package/src/components/checkout/components/offer-product/index.tsx +180 -0
  82. package/src/components/checkout/components/offer-product/select/arrows.tsx +22 -0
  83. package/src/components/checkout/components/offer-product/select/index.tsx +40 -0
  84. package/src/components/checkout/components/offer-product/select/style.module.scss +28 -0
  85. package/src/components/checkout/components/offer-product/style.module.scss +117 -0
  86. package/src/components/checkout/components/phone-number-input/compare-strings.ts +5 -0
  87. package/src/components/checkout/components/phone-number-input/get-countries.ts +52 -0
  88. package/src/components/checkout/components/phone-number-input/index.tsx +125 -0
  89. package/src/components/checkout/components/phone-number-input/style.module.scss +83 -0
  90. package/src/components/checkout/components/select-box/index.tsx +60 -0
  91. package/src/components/checkout/components/select-box/style.module.scss +55 -0
  92. package/src/components/checkout/components/step-container/index.tsx +107 -0
  93. package/src/components/checkout/components/step-container/style.module.scss +86 -0
  94. package/src/components/checkout/components/stripe/checkout-form.tsx +55 -0
  95. package/src/components/checkout/components/stripe/index.tsx +91 -0
  96. package/src/components/checkout/components/stripe/style.module.scss +75 -0
  97. package/src/components/checkout/components/svg/arrow-down.tsx +23 -0
  98. package/src/components/checkout/components/svg/arrow-left.tsx +23 -0
  99. package/src/components/checkout/components/svg/arrow-right.tsx +23 -0
  100. package/src/components/checkout/components/svg/cross.tsx +23 -0
  101. package/src/components/checkout/components/svg/discount.tsx +34 -0
  102. package/src/components/checkout/components/svg/external.tsx +101 -0
  103. package/src/components/checkout/components/svg/gift.tsx +40 -0
  104. package/src/components/checkout/components/svg/ikas.tsx +39 -0
  105. package/src/components/checkout/components/svg/lock.tsx +23 -0
  106. package/src/components/checkout/components/svg/shopping-cart.tsx +23 -0
  107. package/src/components/checkout/components/svg/success-circle.tsx +26 -0
  108. package/src/components/checkout/components/svg/tag.tsx +23 -0
  109. package/src/components/checkout/components/svg/warning.tsx +30 -0
  110. package/src/components/checkout/components/toggle/index.tsx +51 -0
  111. package/src/components/checkout/components/toggle/style.module.scss +75 -0
  112. package/src/components/checkout/components/tooltip/index.tsx +27 -0
  113. package/src/components/checkout/components/tooltip/style.module.scss +86 -0
  114. package/src/components/checkout/index.tsx +641 -0
  115. package/src/components/checkout/model.ts +1466 -0
  116. package/src/components/checkout/modelMasterPass.ts +1001 -0
  117. package/src/components/checkout/steps/step-info/index.tsx +85 -0
  118. package/src/components/checkout/steps/step-payment/billing-address/index.tsx +48 -0
  119. package/src/components/checkout/steps/step-payment/index.tsx +104 -0
  120. package/src/components/checkout/steps/step-payment/payment-gateways/index.tsx +218 -0
  121. package/src/components/checkout/steps/step-payment/payment-gateways/installments/index.tsx +54 -0
  122. package/src/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss +50 -0
  123. package/src/components/checkout/steps/step-payment/payment-gateways/style.module.scss +32 -0
  124. package/src/components/checkout/steps/step-payment/style.module.scss +32 -0
  125. package/src/components/checkout/steps/step-shipping/index.tsx +126 -0
  126. package/src/components/checkout/steps/step-shipping/style.module.scss +44 -0
  127. package/src/components/checkout/steps/step-success/index.tsx +366 -0
  128. package/src/components/checkout/steps/step-success/style.module.scss +161 -0
  129. package/src/components/checkout/style.module.scss +366 -0
  130. package/src/components/checkout/styles/common.module.scss +59 -0
  131. package/src/components/checkout/styles/variables.scss +40 -0
  132. package/src/components/image/index.tsx +43 -0
  133. package/src/components/index.ts +5 -0
  134. package/src/components/link/index.tsx +26 -0
  135. package/src/components/page/ThemeComponent.tsx +108 -0
  136. package/src/components/page/head.tsx +358 -0
  137. package/src/components/page/index.tsx +219 -0
  138. package/src/components/page-editor/ThemeComponentEditor.tsx +270 -0
  139. package/src/components/page-editor/error/index.tsx +18 -0
  140. package/src/components/page-editor/index.tsx +194 -0
  141. package/src/components/page-editor/loader/index.tsx +18 -0
  142. package/src/components/page-editor/loader/style.module.scss +59 -0
  143. package/src/components/page-editor/model.ts +847 -0
  144. package/src/index.ts +6 -0
  145. package/src/models/data/base/index.ts +15 -0
  146. package/src/models/data/blog/category/index.ts +36 -0
  147. package/src/models/data/blog/content/index.ts +16 -0
  148. package/src/models/data/blog/index.ts +75 -0
  149. package/src/models/data/blog/meta-data/index.ts +39 -0
  150. package/src/models/data/blog/tag/index.ts +16 -0
  151. package/src/models/data/blog/writer/index.ts +17 -0
  152. package/src/models/data/brand/index.ts +58 -0
  153. package/src/models/data/brand/translation/index.ts +16 -0
  154. package/src/models/data/campaign-offer/index.ts +79 -0
  155. package/src/models/data/campaign-offer/product/index.ts +69 -0
  156. package/src/models/data/cart/available-shipping-method/index.ts +25 -0
  157. package/src/models/data/cart/campaign-offer/index.ts +43 -0
  158. package/src/models/data/cart/index.ts +38 -0
  159. package/src/models/data/category/index.ts +69 -0
  160. package/src/models/data/category/init.ts +33 -0
  161. package/src/models/data/category/path-item/index.ts +42 -0
  162. package/src/models/data/category/translations/index.ts +16 -0
  163. package/src/models/data/checkout/index.ts +55 -0
  164. package/src/models/data/checkout-settings/index.ts +63 -0
  165. package/src/models/data/checkout-settings/option/index.ts +14 -0
  166. package/src/models/data/checkout-settings/price/index.ts +14 -0
  167. package/src/models/data/city/index.ts +34 -0
  168. package/src/models/data/contact-form/index.ts +20 -0
  169. package/src/models/data/country/index.ts +46 -0
  170. package/src/models/data/customer/address/city/index.ts +16 -0
  171. package/src/models/data/customer/address/country/index.ts +20 -0
  172. package/src/models/data/customer/address/district/index.ts +16 -0
  173. package/src/models/data/customer/address/index.tsx +136 -0
  174. package/src/models/data/customer/address/state/index.ts +16 -0
  175. package/src/models/data/customer/attribute/index.ts +61 -0
  176. package/src/models/data/customer/attribute/option/index.ts +20 -0
  177. package/src/models/data/customer/attribute/sales-channel/index.ts +24 -0
  178. package/src/models/data/customer/attribute/translation/index.ts +23 -0
  179. package/src/models/data/customer/attribute/translation/option/index.ts +16 -0
  180. package/src/models/data/customer/attribute/value/index.ts +29 -0
  181. package/src/models/data/customer/index.ts +122 -0
  182. package/src/models/data/customer/review/index.ts +70 -0
  183. package/src/models/data/customer/review/settings/index.ts +14 -0
  184. package/src/models/data/customer/review/summary/index.ts +29 -0
  185. package/src/models/data/customer/review/summary/star/index.ts +16 -0
  186. package/src/models/data/district/index.ts +36 -0
  187. package/src/models/data/favorite-product/index.ts +23 -0
  188. package/src/models/data/filter-category/index.ts +30 -0
  189. package/src/models/data/html-meta-data/index.ts +69 -0
  190. package/src/models/data/html-meta-data/translations/index.ts +16 -0
  191. package/src/models/data/image/index.ts +33 -0
  192. package/src/models/data/index.ts +192 -0
  193. package/src/models/data/last-viewed-product/index.ts +14 -0
  194. package/src/models/data/merchant-settings/index.ts +26 -0
  195. package/src/models/data/order/address/city/index.ts +16 -0
  196. package/src/models/data/order/address/country/index.ts +20 -0
  197. package/src/models/data/order/address/district/index.ts +16 -0
  198. package/src/models/data/order/address/index.ts +96 -0
  199. package/src/models/data/order/address/state/index.ts +16 -0
  200. package/src/models/data/order/adjustment/applied-order-line/index.ts +20 -0
  201. package/src/models/data/order/adjustment/index.ts +39 -0
  202. package/src/models/data/order/customer/index.ts +24 -0
  203. package/src/models/data/order/gift-line/index.ts +14 -0
  204. package/src/models/data/order/index.ts +241 -0
  205. package/src/models/data/order/invoice/index.ts +29 -0
  206. package/src/models/data/order/line-item/discount/index.ts +23 -0
  207. package/src/models/data/order/line-item/index.ts +153 -0
  208. package/src/models/data/order/line-item/option/index.ts +24 -0
  209. package/src/models/data/order/line-item/option/value/index.ts +16 -0
  210. package/src/models/data/order/line-item/variant/brand/index.ts +14 -0
  211. package/src/models/data/order/line-item/variant/category/index.ts +36 -0
  212. package/src/models/data/order/line-item/variant/index.ts +62 -0
  213. package/src/models/data/order/line-item/variant/price/index.ts +20 -0
  214. package/src/models/data/order/line-item/variant/value/index.ts +31 -0
  215. package/src/models/data/order/package/index.ts +41 -0
  216. package/src/models/data/order/package/tracking-info/index.ts +20 -0
  217. package/src/models/data/order/payment-method/index.ts +23 -0
  218. package/src/models/data/order/refund/index.ts +17 -0
  219. package/src/models/data/order/refund/line-item/index.ts +16 -0
  220. package/src/models/data/order/refund/settings/index.ts +16 -0
  221. package/src/models/data/order/shipping-line/index.ts +29 -0
  222. package/src/models/data/order/tax-line/index.ts +14 -0
  223. package/src/models/data/order/transaction/error/index.ts +16 -0
  224. package/src/models/data/order/transaction/index.ts +58 -0
  225. package/src/models/data/order/transaction/payment-method-detail/index.ts +33 -0
  226. package/src/models/data/order/transaction/payment-method-detail/installment-price/index.ts +22 -0
  227. package/src/models/data/payment-gateway/additional-price/index.ts +29 -0
  228. package/src/models/data/payment-gateway/index.ts +90 -0
  229. package/src/models/data/payment-gateway/settings/index.ts +21 -0
  230. package/src/models/data/payment-gateway/translation/index.ts +18 -0
  231. package/src/models/data/product/attribute/index.ts +37 -0
  232. package/src/models/data/product/attribute/option/index.ts +14 -0
  233. package/src/models/data/product/attribute/table-cell/index.ts +16 -0
  234. package/src/models/data/product/attribute/table-template/index.ts +19 -0
  235. package/src/models/data/product/attribute/translation/index.ts +39 -0
  236. package/src/models/data/product/attribute-value/index.ts +69 -0
  237. package/src/models/data/product/back-in-stock-settings/index.ts +14 -0
  238. package/src/models/data/product/campaign/data/index.ts +70 -0
  239. package/src/models/data/product/campaign/filter/index.ts +19 -0
  240. package/src/models/data/product/campaign/index.ts +15 -0
  241. package/src/models/data/product/campaign/product-buyx-then-gety/index.ts +57 -0
  242. package/src/models/data/product/campaign/product-campaign-date-range-field/index.ts +16 -0
  243. package/src/models/data/product/campaign/product-fixed-discount/index.ts +40 -0
  244. package/src/models/data/product/filter/index.ts +285 -0
  245. package/src/models/data/product/image/index.ts +22 -0
  246. package/src/models/data/product/index.ts +298 -0
  247. package/src/models/data/product/option-set/index.ts +94 -0
  248. package/src/models/data/product/option-set/option/index.ts +245 -0
  249. package/src/models/data/product/tag/index.ts +14 -0
  250. package/src/models/data/product/variant/index.ts +104 -0
  251. package/src/models/data/product/variant/price/index.ts +58 -0
  252. package/src/models/data/product/variant-type/index.ts +17 -0
  253. package/src/models/data/product/variant-type/init.ts +15 -0
  254. package/src/models/data/raffle/index.ts +155 -0
  255. package/src/models/data/sales-channel/index.ts +56 -0
  256. package/src/models/data/state/index.ts +18 -0
  257. package/src/models/data/stock-location/address/city/index.ts +16 -0
  258. package/src/models/data/stock-location/address/country/index.ts +18 -0
  259. package/src/models/data/stock-location/address/district/index.ts +18 -0
  260. package/src/models/data/stock-location/address/index.ts +34 -0
  261. package/src/models/data/stock-location/address/state/index.ts +18 -0
  262. package/src/models/data/stock-location/available/index.ts +22 -0
  263. package/src/models/data/stock-location/index.ts +35 -0
  264. package/src/models/data/storefront/domain/index.ts +20 -0
  265. package/src/models/data/storefront/index.ts +65 -0
  266. package/src/models/data/storefront/localization/index.tsx +18 -0
  267. package/src/models/data/storefront/routing/dynamic-currency/index.ts +16 -0
  268. package/src/models/data/storefront/routing/index.tsx +25 -0
  269. package/src/models/data/storefront/theme/index.tsx +25 -0
  270. package/src/models/data/storefront/theme-localization/index.tsx +31 -0
  271. package/src/models/data/theme-json/component/index.ts +41 -0
  272. package/src/models/data/theme-json/component/prop/index.ts +55 -0
  273. package/src/models/data/theme-json/custom-data/index.ts +132 -0
  274. package/src/models/data/theme-json/index.ts +210 -0
  275. package/src/models/data/theme-json/page/component/index.ts +22 -0
  276. package/src/models/data/theme-json/page/index.ts +54 -0
  277. package/src/models/data/theme-json/settings/color/index.ts +35 -0
  278. package/src/models/data/theme-json/settings/favicon/index.ts +12 -0
  279. package/src/models/data/theme-json/settings/font-family/index.ts +14 -0
  280. package/src/models/data/theme-json/settings/index.ts +30 -0
  281. package/src/models/data/variant-type/index.ts +44 -0
  282. package/src/models/data/variant-type/variant-value/index.ts +32 -0
  283. package/src/models/index.ts +2 -0
  284. package/src/models/ui/blog-category-list/index.ts +169 -0
  285. package/src/models/ui/blog-list/index.ts +175 -0
  286. package/src/models/ui/brand-list/index.ts +237 -0
  287. package/src/models/ui/category-list/index.ts +237 -0
  288. package/src/models/ui/component-renderer/index.ts +9 -0
  289. package/src/models/ui/customer-review-list/index.ts +173 -0
  290. package/src/models/ui/customer-review-summary-list/index.ts +175 -0
  291. package/src/models/ui/index.ts +40 -0
  292. package/src/models/ui/navigation-link/index.ts +23 -0
  293. package/src/models/ui/product-attribute-detail/index.ts +29 -0
  294. package/src/models/ui/product-attribute-list/index.ts +52 -0
  295. package/src/models/ui/product-list/index.ts +998 -0
  296. package/src/models/ui/raffle-list/index.ts +178 -0
  297. package/src/models/ui/validator/form/account-info.ts +167 -0
  298. package/src/models/ui/validator/form/address.ts +490 -0
  299. package/src/models/ui/validator/form/contact-form.ts +177 -0
  300. package/src/models/ui/validator/form/customer-review.ts +132 -0
  301. package/src/models/ui/validator/form/forgot-password.ts +96 -0
  302. package/src/models/ui/validator/form/login.ts +128 -0
  303. package/src/models/ui/validator/form/raffle-form.ts +276 -0
  304. package/src/models/ui/validator/form/recover-password.ts +148 -0
  305. package/src/models/ui/validator/form/register.ts +206 -0
  306. package/src/models/ui/validator/index.ts +121 -0
  307. package/src/models/ui/validator/rules/index.ts +310 -0
  308. package/src/page-data-init/index.ts +904 -0
  309. package/src/pages/404.tsx +10 -0
  310. package/src/pages/[slug]/index.tsx +9 -0
  311. package/src/pages/account/addresses.tsx +10 -0
  312. package/src/pages/account/favorite-products.tsx +9 -0
  313. package/src/pages/account/forgot-password.tsx +9 -0
  314. package/src/pages/account/index.tsx +9 -0
  315. package/src/pages/account/login.tsx +9 -0
  316. package/src/pages/account/orders/[id].tsx +9 -0
  317. package/src/pages/account/orders/index.tsx +9 -0
  318. package/src/pages/account/raffles.tsx +9 -0
  319. package/src/pages/account/recover-password.tsx +9 -0
  320. package/src/pages/account/register.tsx +9 -0
  321. package/src/pages/blog/[slug].tsx +9 -0
  322. package/src/pages/blog/index.tsx +9 -0
  323. package/src/pages/cart.tsx +9 -0
  324. package/src/pages/checkout.tsx +163 -0
  325. package/src/pages/editor.tsx +30 -0
  326. package/src/pages/home.tsx +10 -0
  327. package/src/pages/index.ts +22 -0
  328. package/src/pages/pages/[slug].tsx +9 -0
  329. package/src/pages/raffle/[slug].tsx +9 -0
  330. package/src/pages/raffle/index.tsx +9 -0
  331. package/src/pages/search.tsx +9 -0
  332. package/src/store/base.ts +238 -0
  333. package/src/store/blog/index.ts +49 -0
  334. package/src/store/brand/index.ts +16 -0
  335. package/src/store/cart/api.ts +58 -0
  336. package/src/store/cart/index.ts +311 -0
  337. package/src/store/category/index.ts +16 -0
  338. package/src/store/checkout/index.ts +92 -0
  339. package/src/store/customer/api.ts +273 -0
  340. package/src/store/customer/index.ts +658 -0
  341. package/src/store/html-meta-data/index.ts +16 -0
  342. package/src/store/index.ts +1 -0
  343. package/src/store/location/index.ts +56 -0
  344. package/src/store/merchant/index.ts +16 -0
  345. package/src/store/product/index.ts +113 -0
  346. package/src/store/raffle/index.ts +58 -0
  347. package/src/store/storefront/index.ts +18 -0
  348. package/src/typings/global.d.ts +7 -0
  349. package/src/utils/constants.ts +2 -0
  350. package/src/utils/currency.ts +250 -0
  351. package/src/utils/google-fonts.ts +52 -0
  352. package/src/utils/helper.ts +77 -0
  353. package/src/utils/i18n.ts +126 -0
  354. package/src/utils/index.ts +3 -0
  355. package/build/__api/models/AbandonedCartFlow.d.ts +0 -19
  356. package/build/__api/models/AbandonedCartFlowCustomerFilter.d.ts +0 -10
  357. package/build/__api/models/AddItemToCartInput.d.ts +0 -16
  358. package/build/__api/models/AdditionalPrice.d.ts +0 -13
  359. package/build/__api/models/AdditionalPrice.js +0 -1
  360. package/build/__api/models/ApplicableProductFilterValue.d.ts +0 -13
  361. package/build/__api/models/AppliedProduct.d.ts +0 -10
  362. package/build/__api/models/AppliedProductInput.d.ts +0 -10
  363. package/build/__api/models/AvailableShippingMethod.d.ts +0 -14
  364. package/build/__api/models/AvailableShippingMethod.js +0 -1
  365. package/build/__api/models/Blog.d.ts +0 -28
  366. package/build/__api/models/Blog.js +0 -1
  367. package/build/__api/models/BlogCategory.d.ts +0 -13
  368. package/build/__api/models/BlogCategory.js +0 -1
  369. package/build/__api/models/BlogCategoryPaginationResponse.d.ts +0 -14
  370. package/build/__api/models/BlogContent.d.ts +0 -12
  371. package/build/__api/models/BlogContent.js +0 -1
  372. package/build/__api/models/BlogMetadata.d.ts +0 -17
  373. package/build/__api/models/BlogMetadata.js +0 -1
  374. package/build/__api/models/BlogMetadataPaginationResponse.d.ts +0 -14
  375. package/build/__api/models/BlogMetadataTargetTypeEnumFilter.d.ts +0 -13
  376. package/build/__api/models/BlogPaginationResponse.d.ts +0 -14
  377. package/build/__api/models/BlogTag.d.ts +0 -10
  378. package/build/__api/models/BlogTag.js +0 -1
  379. package/build/__api/models/BlogWriter.d.ts +0 -10
  380. package/build/__api/models/BlogWriter.js +0 -1
  381. package/build/__api/models/BooleanFilterInput.d.ts +0 -9
  382. package/build/__api/models/BuyX.d.ts +0 -12
  383. package/build/__api/models/BuyXThenGetY.d.ts +0 -13
  384. package/build/__api/models/Campaign.d.ts +0 -30
  385. package/build/__api/models/CampaignDateRangeField.d.ts +0 -10
  386. package/build/__api/models/CampaignFilter.d.ts +0 -11
  387. package/build/__api/models/CampaignMinMaxRangeField.d.ts +0 -10
  388. package/build/__api/models/CampaignOffer.d.ts +0 -22
  389. package/build/__api/models/CampaignOffer.js +0 -1
  390. package/build/__api/models/CampaignOfferProduct.d.ts +0 -22
  391. package/build/__api/models/CampaignOfferProduct.js +0 -1
  392. package/build/__api/models/CampaignOfferProductTranslation.d.ts +0 -11
  393. package/build/__api/models/CampaignOfferProductTranslation.js +0 -1
  394. package/build/__api/models/CampaignOfferTriggerSettings.d.ts +0 -11
  395. package/build/__api/models/CampaignOfferTriggerSettings.js +0 -1
  396. package/build/__api/models/Cart.d.ts +0 -31
  397. package/build/__api/models/CartCampaignOffer.d.ts +0 -17
  398. package/build/__api/models/CartLineItemInput.d.ts +0 -12
  399. package/build/__api/models/CartLineOptionInput.d.ts +0 -11
  400. package/build/__api/models/CartLineVariantInput.d.ts +0 -10
  401. package/build/__api/models/CartStorefrontRouting.d.ts +0 -15
  402. package/build/__api/models/CartStorefrontRoutingDynamicCurrencySettings.d.ts +0 -10
  403. package/build/__api/models/CartV2.d.ts +0 -68
  404. package/build/__api/models/CartV2CampaignOffer.d.ts +0 -19
  405. package/build/__api/models/CartV2CampaignOffer.js +0 -1
  406. package/build/__api/models/Category.d.ts +0 -27
  407. package/build/__api/models/Category.js +0 -1
  408. package/build/__api/models/CategoryCondition.d.ts +0 -11
  409. package/build/__api/models/CategoryCondition.js +0 -1
  410. package/build/__api/models/CategoryFilterInput.d.ts +0 -10
  411. package/build/__api/models/CategoryPaginationResponse.d.ts +0 -14
  412. package/build/__api/models/CategoryPathFilterInput.d.ts +0 -9
  413. package/build/__api/models/CategoryPathItem.d.ts +0 -17
  414. package/build/__api/models/CategoryPathItem.js +0 -1
  415. package/build/__api/models/CategoryTranslation.d.ts +0 -11
  416. package/build/__api/models/CategoryTranslation.js +0 -1
  417. package/build/__api/models/CheckStocksLineInput.d.ts +0 -11
  418. package/build/__api/models/CheckStocksLineInput.js +0 -1
  419. package/build/__api/models/CheckStocksLineResponse.d.ts +0 -11
  420. package/build/__api/models/CheckStocksResponse.d.ts +0 -10
  421. package/build/__api/models/Checkout.d.ts +0 -44
  422. package/build/__api/models/CheckoutCustomer.d.ts +0 -19
  423. package/build/__api/models/CheckoutCustomerInput.d.ts +0 -13
  424. package/build/__api/models/CheckoutCustomerInput.js +0 -1
  425. package/build/__api/models/CheckoutOption.d.ts +0 -10
  426. package/build/__api/models/CheckoutOption.js +0 -1
  427. package/build/__api/models/CheckoutSettings.d.ts +0 -24
  428. package/build/__api/models/CheckoutSettings.js +0 -1
  429. package/build/__api/models/CheckoutSettingsPrice.d.ts +0 -10
  430. package/build/__api/models/CheckoutSettingsPrice.js +0 -1
  431. package/build/__api/models/City.d.ts +0 -16
  432. package/build/__api/models/City.js +0 -1
  433. package/build/__api/models/Country.d.ts +0 -22
  434. package/build/__api/models/Country.js +0 -1
  435. package/build/__api/models/CreateCustomerEmailSubscriptionInput.d.ts +0 -12
  436. package/build/__api/models/CreateCustomerReviewInput.d.ts +0 -20
  437. package/build/__api/models/CreateSaleTransactionMasterPassPaymentMethodDetail.d.ts +0 -10
  438. package/build/__api/models/CreateSaleTransactionWithCartInput.d.ts +0 -14
  439. package/build/__api/models/CreateSaleTransactionWithCheckoutInput.d.ts +0 -14
  440. package/build/__api/models/CreateStripePaymentIntentResponse.d.ts +0 -12
  441. package/build/__api/models/CreateStripePaymentIntentResponse.js +0 -1
  442. package/build/__api/models/CurrencyRate.d.ts +0 -13
  443. package/build/__api/models/CurrencyRateData.d.ts +0 -10
  444. package/build/__api/models/Customer.d.ts +0 -34
  445. package/build/__api/models/CustomerAddress.d.ts +0 -31
  446. package/build/__api/models/CustomerAddressCity.d.ts +0 -11
  447. package/build/__api/models/CustomerAddressCity.js +0 -1
  448. package/build/__api/models/CustomerAddressCityInput.d.ts +0 -11
  449. package/build/__api/models/CustomerAddressCityInput.js +0 -1
  450. package/build/__api/models/CustomerAddressCountry.d.ts +0 -13
  451. package/build/__api/models/CustomerAddressCountry.js +0 -1
  452. package/build/__api/models/CustomerAddressCountryInput.d.ts +0 -13
  453. package/build/__api/models/CustomerAddressCountryInput.js +0 -1
  454. package/build/__api/models/CustomerAddressDistrict.d.ts +0 -11
  455. package/build/__api/models/CustomerAddressDistrict.js +0 -1
  456. package/build/__api/models/CustomerAddressDistrictInput.d.ts +0 -11
  457. package/build/__api/models/CustomerAddressDistrictInput.js +0 -1
  458. package/build/__api/models/CustomerAddressState.d.ts +0 -11
  459. package/build/__api/models/CustomerAddressState.js +0 -1
  460. package/build/__api/models/CustomerAddressStateInput.d.ts +0 -11
  461. package/build/__api/models/CustomerAddressStateInput.js +0 -1
  462. package/build/__api/models/CustomerAttribute.d.ts +0 -19
  463. package/build/__api/models/CustomerAttribute.js +0 -1
  464. package/build/__api/models/CustomerAttributeOption.d.ts +0 -10
  465. package/build/__api/models/CustomerAttributeOption.js +0 -1
  466. package/build/__api/models/CustomerAttributeOptionTranslation.d.ts +0 -10
  467. package/build/__api/models/CustomerAttributeOptionTranslation.js +0 -1
  468. package/build/__api/models/CustomerAttributeSalesChannel.d.ts +0 -13
  469. package/build/__api/models/CustomerAttributeSalesChannel.js +0 -1
  470. package/build/__api/models/CustomerAttributeTranslation.d.ts +0 -13
  471. package/build/__api/models/CustomerAttributeTranslation.js +0 -1
  472. package/build/__api/models/CustomerAttributeValue.d.ts +0 -11
  473. package/build/__api/models/CustomerAttributeValue.js +0 -1
  474. package/build/__api/models/CustomerAttributeValueInput.d.ts +0 -11
  475. package/build/__api/models/CustomerAttributeValueInput.js +0 -1
  476. package/build/__api/models/CustomerCheckResponse.d.ts +0 -9
  477. package/build/__api/models/CustomerFavoriteProduct.d.ts +0 -11
  478. package/build/__api/models/CustomerFavoriteProduct.js +0 -1
  479. package/build/__api/models/CustomerLoginResponse.d.ts +0 -12
  480. package/build/__api/models/CustomerRefreshTokenResponse.d.ts +0 -10
  481. package/build/__api/models/CustomerReview.d.ts +0 -24
  482. package/build/__api/models/CustomerReview.js +0 -1
  483. package/build/__api/models/CustomerReviewSFPaginationResponse.d.ts +0 -14
  484. package/build/__api/models/CustomerReviewSummary.d.ts +0 -14
  485. package/build/__api/models/CustomerReviewSummary.js +0 -1
  486. package/build/__api/models/CustomerReviewSummaryPaginationResponse.d.ts +0 -14
  487. package/build/__api/models/CustomerReviewSummaryStar.d.ts +0 -10
  488. package/build/__api/models/CustomerReviewSummaryStar.js +0 -1
  489. package/build/__api/models/DateFilterInput.d.ts +0 -16
  490. package/build/__api/models/District.d.ts +0 -16
  491. package/build/__api/models/District.js +0 -1
  492. package/build/__api/models/FixedDiscount.d.ts +0 -14
  493. package/build/__api/models/GetAvailableStockLocation.d.ts +0 -14
  494. package/build/__api/models/GetAvailableStockLocation.js +0 -1
  495. package/build/__api/models/GetAvailableStockLocationAddress.d.ts +0 -16
  496. package/build/__api/models/GetAvailableStockLocationAddress.js +0 -1
  497. package/build/__api/models/GetAvailableStockLocationAddressCity.d.ts +0 -11
  498. package/build/__api/models/GetAvailableStockLocationAddressCity.js +0 -1
  499. package/build/__api/models/GetAvailableStockLocationsResponse.d.ts +0 -10
  500. package/build/__api/models/GetOrderLineFile.d.ts +0 -9
  501. package/build/__api/models/GetProductCampaignsInput.d.ts +0 -11
  502. package/build/__api/models/GetProductCampaignsResponse.d.ts +0 -11
  503. package/build/__api/models/GetProductOptionFileUrl.d.ts +0 -11
  504. package/build/__api/models/GetVariantStockLocation.d.ts +0 -12
  505. package/build/__api/models/GetVariantStockLocationListResponse.d.ts +0 -10
  506. package/build/__api/models/GetY.d.ts +0 -13
  507. package/build/__api/models/HTMLMetaData.d.ts +0 -22
  508. package/build/__api/models/HTMLMetaData.js +0 -1
  509. package/build/__api/models/HTMLMetaDataOverride.d.ts +0 -13
  510. package/build/__api/models/HTMLMetaDataOverride.js +0 -1
  511. package/build/__api/models/HTMLMetaDataTargetTypeEnumFilter.d.ts +0 -13
  512. package/build/__api/models/HTMLMetaDataTranslation.d.ts +0 -11
  513. package/build/__api/models/HTMLMetaDataTranslation.js +0 -1
  514. package/build/__api/models/Invoice.d.ts +0 -16
  515. package/build/__api/models/Invoice.js +0 -1
  516. package/build/__api/models/ListCustomerReviewInput.d.ts +0 -9
  517. package/build/__api/models/LocationTranslations.d.ts +0 -10
  518. package/build/__api/models/LocationTranslations.js +0 -1
  519. package/build/__api/models/MasterpassTokenResponse.d.ts +0 -11
  520. package/build/__api/models/MerchantAddress.d.ts +0 -27
  521. package/build/__api/models/MerchantAddress.js +0 -1
  522. package/build/__api/models/MerchantAddressCity.d.ts +0 -11
  523. package/build/__api/models/MerchantAddressCity.js +0 -1
  524. package/build/__api/models/MerchantAddressCountry.d.ts +0 -11
  525. package/build/__api/models/MerchantAddressCountry.js +0 -1
  526. package/build/__api/models/MerchantAddressDistrict.d.ts +0 -11
  527. package/build/__api/models/MerchantAddressDistrict.js +0 -1
  528. package/build/__api/models/MerchantAddressState.d.ts +0 -11
  529. package/build/__api/models/MerchantAddressState.js +0 -1
  530. package/build/__api/models/MerchantSettings.d.ts +0 -17
  531. package/build/__api/models/MerchantSettings.js +0 -1
  532. package/build/__api/models/MerchantSettingsCurrencyFormat.d.ts +0 -15
  533. package/build/__api/models/MerchantSettingsCurrencyFormat.js +0 -1
  534. package/build/__api/models/OrderAddress.d.ts +0 -28
  535. package/build/__api/models/OrderAddressCity.d.ts +0 -11
  536. package/build/__api/models/OrderAddressCity.js +0 -1
  537. package/build/__api/models/OrderAddressCityInput.d.ts +0 -11
  538. package/build/__api/models/OrderAddressCityInput.js +0 -1
  539. package/build/__api/models/OrderAddressCountry.d.ts +0 -13
  540. package/build/__api/models/OrderAddressCountry.js +0 -1
  541. package/build/__api/models/OrderAddressCountryInput.d.ts +0 -13
  542. package/build/__api/models/OrderAddressCountryInput.js +0 -1
  543. package/build/__api/models/OrderAddressDistrict.d.ts +0 -11
  544. package/build/__api/models/OrderAddressDistrict.js +0 -1
  545. package/build/__api/models/OrderAddressDistrictInput.d.ts +0 -11
  546. package/build/__api/models/OrderAddressDistrictInput.js +0 -1
  547. package/build/__api/models/OrderAddressInput.d.ts +0 -28
  548. package/build/__api/models/OrderAddressInput.js +0 -1
  549. package/build/__api/models/OrderAddressState.d.ts +0 -11
  550. package/build/__api/models/OrderAddressState.js +0 -1
  551. package/build/__api/models/OrderAddressStateInput.d.ts +0 -11
  552. package/build/__api/models/OrderAddressStateInput.js +0 -1
  553. package/build/__api/models/OrderAdjustment.d.ts +0 -19
  554. package/build/__api/models/OrderAdjustment.js +0 -1
  555. package/build/__api/models/OrderAdjustmentAppliedOrderLine.d.ts +0 -12
  556. package/build/__api/models/OrderAdjustmentAppliedOrderLine.js +0 -1
  557. package/build/__api/models/OrderAdjustmentInput.d.ts +0 -16
  558. package/build/__api/models/OrderAdjustmentInput.js +0 -1
  559. package/build/__api/models/OrderCurrencyRate.d.ts +0 -11
  560. package/build/__api/models/OrderCustomer.d.ts +0 -16
  561. package/build/__api/models/OrderGiftPackageLine.d.ts +0 -10
  562. package/build/__api/models/OrderGiftPackageLine.js +0 -1
  563. package/build/__api/models/OrderLineDiscount.d.ts +0 -15
  564. package/build/__api/models/OrderLineDiscount.js +0 -1
  565. package/build/__api/models/OrderLineItem.d.ts +0 -26
  566. package/build/__api/models/OrderLineItem.js +0 -1
  567. package/build/__api/models/OrderLineOption.d.ts +0 -15
  568. package/build/__api/models/OrderLineOption.js +0 -1
  569. package/build/__api/models/OrderLineOptionValue.d.ts +0 -11
  570. package/build/__api/models/OrderLineOptionValue.js +0 -1
  571. package/build/__api/models/OrderLineVariant.d.ts +0 -27
  572. package/build/__api/models/OrderLineVariant.js +0 -1
  573. package/build/__api/models/OrderLineVariantBrand.d.ts +0 -10
  574. package/build/__api/models/OrderLineVariantBrand.js +0 -1
  575. package/build/__api/models/OrderLineVariantCategory.d.ts +0 -12
  576. package/build/__api/models/OrderLineVariantCategory.js +0 -1
  577. package/build/__api/models/OrderLineVariantCategoryPath.d.ts +0 -10
  578. package/build/__api/models/OrderLineVariantCategoryPath.js +0 -1
  579. package/build/__api/models/OrderLineVariantPrice.d.ts +0 -13
  580. package/build/__api/models/OrderLineVariantPrice.js +0 -1
  581. package/build/__api/models/OrderLineVariantVariantValues.d.ts +0 -13
  582. package/build/__api/models/OrderLineVariantVariantValues.js +0 -1
  583. package/build/__api/models/OrderPackage.d.ts +0 -18
  584. package/build/__api/models/OrderPackage.js +0 -1
  585. package/build/__api/models/OrderPaymentMethod.d.ts +0 -14
  586. package/build/__api/models/OrderPaymentMethod.js +0 -1
  587. package/build/__api/models/OrderRefundOrderLineInput.d.ts +0 -10
  588. package/build/__api/models/OrderRefundOrderLineInput.js +0 -1
  589. package/build/__api/models/OrderRefundRequestInput.d.ts +0 -12
  590. package/build/__api/models/OrderRefundSettings.d.ts +0 -14
  591. package/build/__api/models/OrderShippingLine.d.ts +0 -17
  592. package/build/__api/models/OrderShippingLine.js +0 -1
  593. package/build/__api/models/OrderStorefrontRouting.d.ts +0 -15
  594. package/build/__api/models/OrderStorefrontRoutingDynamicCurrencySettings.d.ts +0 -10
  595. package/build/__api/models/OrderTaxLine.d.ts +0 -10
  596. package/build/__api/models/OrderTaxLine.js +0 -1
  597. package/build/__api/models/PaginationInput.d.ts +0 -10
  598. package/build/__api/models/PaymentGateway.d.ts +0 -29
  599. package/build/__api/models/PaymentGateway.js +0 -1
  600. package/build/__api/models/PaymentGatewayPaymentMethod.d.ts +0 -10
  601. package/build/__api/models/PaymentGatewayPaymentMethod.js +0 -1
  602. package/build/__api/models/PaymentGatewaySettings.d.ts +0 -13
  603. package/build/__api/models/PaymentGatewaySettings.js +0 -1
  604. package/build/__api/models/PaymentGatewayTranslation.d.ts +0 -11
  605. package/build/__api/models/PaymentGatewayTranslation.js +0 -1
  606. package/build/__api/models/PaymentMethodDetailInput.d.ts +0 -15
  607. package/build/__api/models/Product.d.ts +0 -33
  608. package/build/__api/models/ProductAttribute.d.ts +0 -19
  609. package/build/__api/models/ProductAttributeOption.d.ts +0 -10
  610. package/build/__api/models/ProductAttributeOptionTranslation.d.ts +0 -10
  611. package/build/__api/models/ProductAttributeTableCellData.d.ts +0 -10
  612. package/build/__api/models/ProductAttributeTableTemplate.d.ts +0 -11
  613. package/build/__api/models/ProductAttributeTranslation.d.ts +0 -13
  614. package/build/__api/models/ProductAttributeValue.d.ts +0 -12
  615. package/build/__api/models/ProductAttributeValue.js +0 -1
  616. package/build/__api/models/ProductBackInStockRemind.d.ts +0 -14
  617. package/build/__api/models/ProductBackInStockRemindInput.d.ts +0 -11
  618. package/build/__api/models/ProductBrand.d.ts +0 -19
  619. package/build/__api/models/ProductBrand.js +0 -1
  620. package/build/__api/models/ProductBrandPaginationResponse.d.ts +0 -14
  621. package/build/__api/models/ProductBrandTranslation.d.ts +0 -11
  622. package/build/__api/models/ProductBrandTranslation.js +0 -1
  623. package/build/__api/models/ProductFacetCount.d.ts +0 -11
  624. package/build/__api/models/ProductFacetCountValue.d.ts +0 -10
  625. package/build/__api/models/ProductFilterData.d.ts +0 -12
  626. package/build/__api/models/ProductFilterDataFilter.d.ts +0 -24
  627. package/build/__api/models/ProductFilterSettings.d.ts +0 -14
  628. package/build/__api/models/ProductImage.d.ts +0 -12
  629. package/build/__api/models/ProductItem.d.ts +0 -11
  630. package/build/__api/models/ProductItemInput.d.ts +0 -11
  631. package/build/__api/models/ProductLastViewed.d.ts +0 -12
  632. package/build/__api/models/ProductLastViewedInput.d.ts +0 -12
  633. package/build/__api/models/ProductOption.d.ts +0 -28
  634. package/build/__api/models/ProductOptionDateSettings.d.ts +0 -12
  635. package/build/__api/models/ProductOptionFileSettings.d.ts +0 -11
  636. package/build/__api/models/ProductOptionSelectSettings.d.ts +0 -14
  637. package/build/__api/models/ProductOptionSelectValue.d.ts +0 -16
  638. package/build/__api/models/ProductOptionSelectValueOtherPrice.d.ts +0 -10
  639. package/build/__api/models/ProductOptionSelectValueTranslations.d.ts +0 -10
  640. package/build/__api/models/ProductOptionSet.d.ts +0 -14
  641. package/build/__api/models/ProductOptionSetTranslations.d.ts +0 -11
  642. package/build/__api/models/ProductOptionTextSettings.d.ts +0 -10
  643. package/build/__api/models/ProductOptionTranslations.d.ts +0 -13
  644. package/build/__api/models/ProductPaginationResponse.d.ts +0 -14
  645. package/build/__api/models/ProductPrice.d.ts +0 -13
  646. package/build/__api/models/ProductPrice.js +0 -1
  647. package/build/__api/models/ProductSearchResponse.d.ts +0 -17
  648. package/build/__api/models/ProductStockLocation.d.ts +0 -13
  649. package/build/__api/models/ProductTagTranslation.d.ts +0 -11
  650. package/build/__api/models/ProductTranslation.d.ts +0 -11
  651. package/build/__api/models/ProductVariantType.d.ts +0 -11
  652. package/build/__api/models/Raffle.d.ts +0 -23
  653. package/build/__api/models/RaffleDateRangeField.d.ts +0 -10
  654. package/build/__api/models/RaffleMetadata.d.ts +0 -17
  655. package/build/__api/models/RaffleMetadataTargetTypeEnumFilter.d.ts +0 -13
  656. package/build/__api/models/RafflePaginationResponse.d.ts +0 -14
  657. package/build/__api/models/RaffleParticipants.d.ts +0 -23
  658. package/build/__api/models/RaffleParticipantsInput.d.ts +0 -17
  659. package/build/__api/models/RaffleParticipantsUpdateInput.d.ts +0 -13
  660. package/build/__api/models/RaffleVariantInformation.d.ts +0 -10
  661. package/build/__api/models/RetrieveInstallmentInfoInput.d.ts +0 -11
  662. package/build/__api/models/RetrieveInstallmentInfoResponse.d.ts +0 -17
  663. package/build/__api/models/SaveCartInput.d.ts +0 -23
  664. package/build/__api/models/SaveCartInput.js +0 -1
  665. package/build/__api/models/SaveCheckoutInput.d.ts +0 -26
  666. package/build/__api/models/SaveItemToCartInput.d.ts +0 -19
  667. package/build/__api/models/SaveMyCustomerAddressInput.d.ts +0 -29
  668. package/build/__api/models/SaveMyCustomerAddressInput.js +0 -1
  669. package/build/__api/models/SaveMyCustomerInput.d.ts +0 -17
  670. package/build/__api/models/SaveMyCustomerInput.js +0 -1
  671. package/build/__api/models/SearchCategory.d.ts +0 -15
  672. package/build/__api/models/SearchCategoryPath.d.ts +0 -13
  673. package/build/__api/models/SearchDynamicCurrencySettings.d.ts +0 -10
  674. package/build/__api/models/SearchHTMLMetaData.d.ts +0 -18
  675. package/build/__api/models/SearchHTMLMetaDataOverride.d.ts +0 -13
  676. package/build/__api/models/SearchInput.d.ts +0 -32
  677. package/build/__api/models/SearchInputFacetListInput.d.ts +0 -12
  678. package/build/__api/models/SearchInputFilterListInput.d.ts +0 -14
  679. package/build/__api/models/SearchInputFilterListInput.js +0 -1
  680. package/build/__api/models/SearchInputOrderByInput.d.ts +0 -11
  681. package/build/__api/models/SearchProduct.d.ts +0 -34
  682. package/build/__api/models/SearchProductAttribute.d.ts +0 -15
  683. package/build/__api/models/SearchProductAttributeOption.d.ts +0 -10
  684. package/build/__api/models/SearchProductAttributeTableCellData.d.ts +0 -10
  685. package/build/__api/models/SearchProductAttributeTableTemplate.d.ts +0 -11
  686. package/build/__api/models/SearchProductAttributeValue.d.ts +0 -14
  687. package/build/__api/models/SearchProductBrand.d.ts +0 -13
  688. package/build/__api/models/SearchProductImage.d.ts +0 -12
  689. package/build/__api/models/SearchProductPrice.d.ts +0 -13
  690. package/build/__api/models/SearchProductStockLocation.d.ts +0 -10
  691. package/build/__api/models/SearchProductTag.d.ts +0 -12
  692. package/build/__api/models/SearchProductVariantType.d.ts +0 -12
  693. package/build/__api/models/SearchVariant.d.ts +0 -25
  694. package/build/__api/models/SearchVariantType.d.ts +0 -15
  695. package/build/__api/models/SearchVariantValue.d.ts +0 -12
  696. package/build/__api/models/SearchVariationValueRelation.d.ts +0 -10
  697. package/build/__api/models/SocialLoginSettings.d.ts +0 -12
  698. package/build/__api/models/State.d.ts +0 -12
  699. package/build/__api/models/State.js +0 -1
  700. package/build/__api/models/StockLocation.d.ts +0 -18
  701. package/build/__api/models/StockLocation.js +0 -1
  702. package/build/__api/models/StockLocationAddress.d.ts +0 -19
  703. package/build/__api/models/StockLocationAddress.js +0 -1
  704. package/build/__api/models/StockLocationAddressCity.d.ts +0 -11
  705. package/build/__api/models/StockLocationAddressCity.js +0 -1
  706. package/build/__api/models/StockLocationAddressCountry.d.ts +0 -11
  707. package/build/__api/models/StockLocationAddressCountry.js +0 -1
  708. package/build/__api/models/StockLocationAddressDistrict.d.ts +0 -11
  709. package/build/__api/models/StockLocationAddressDistrict.js +0 -1
  710. package/build/__api/models/StockLocationAddressState.d.ts +0 -11
  711. package/build/__api/models/StockLocationAddressState.js +0 -1
  712. package/build/__api/models/Storefront.d.ts +0 -33
  713. package/build/__api/models/StorefrontDomain.d.ts +0 -13
  714. package/build/__api/models/StorefrontDynamicCurrencySettings.d.ts +0 -10
  715. package/build/__api/models/StorefrontLocalization.d.ts +0 -12
  716. package/build/__api/models/StorefrontOrder.d.ts +0 -50
  717. package/build/__api/models/StorefrontRouting.d.ts +0 -16
  718. package/build/__api/models/StorefrontTheme.d.ts +0 -15
  719. package/build/__api/models/StorefrontTransaction.d.ts +0 -27
  720. package/build/__api/models/StringFilterInput.d.ts +0 -13
  721. package/build/__api/models/Town.d.ts +0 -12
  722. package/build/__api/models/TrackingInfo.d.ts +0 -13
  723. package/build/__api/models/TrackingInfo.js +0 -1
  724. package/build/__api/models/TransactionError.d.ts +0 -11
  725. package/build/__api/models/TransactionError.js +0 -1
  726. package/build/__api/models/TransactionInstallmentPrice.d.ts +0 -13
  727. package/build/__api/models/TransactionInstallmentPrice.js +0 -1
  728. package/build/__api/models/TransactionPaymentMethodDetail.d.ts +0 -18
  729. package/build/__api/models/TransactionPaymentMethodDetail.js +0 -1
  730. package/build/__api/models/TransactionResponse.d.ts +0 -16
  731. package/build/__api/models/UpdateCartCampaignOfferInput.d.ts +0 -14
  732. package/build/__api/models/Variant.d.ts +0 -25
  733. package/build/__api/models/VariantStock.d.ts +0 -10
  734. package/build/__api/models/VariantType.d.ts +0 -16
  735. package/build/__api/models/VariantTypeTranslation.d.ts +0 -12
  736. package/build/__api/models/VariantValue.d.ts +0 -12
  737. package/build/__api/models/VariantValueRelation.d.ts +0 -10
  738. package/build/__api/models/VariantValueTranslation.d.ts +0 -10
  739. package/build/__api/models/_base.d.ts +0 -18
  740. package/build/__api/models/_base.js +0 -1
  741. package/build/__api/mutations/activateCustomer.d.ts +0 -6
  742. package/build/__api/mutations/addCouponCodeToCheckout.d.ts +0 -218
  743. package/build/__api/mutations/addItemToCart.d.ts +0 -245
  744. package/build/__api/mutations/addItemToCart.js +0 -1
  745. package/build/__api/mutations/createCustomerEmailSubscription.d.ts +0 -69
  746. package/build/__api/mutations/createCustomerEmailSubscription.js +0 -1
  747. package/build/__api/mutations/createCustomerReview.d.ts +0 -27
  748. package/build/__api/mutations/createCustomerReview.js +0 -1
  749. package/build/__api/mutations/createOrderRefundRequest.d.ts +0 -198
  750. package/build/__api/mutations/createOrderRefundRequest.js +0 -1
  751. package/build/__api/mutations/createSaleTransactionWithCart.d.ts +0 -17
  752. package/build/__api/mutations/createSaleTransactionWithCart.js +0 -1
  753. package/build/__api/mutations/createSaleTransactionWithCheckout.d.ts +0 -17
  754. package/build/__api/mutations/createStripePaymentIntent.d.ts +0 -13
  755. package/build/__api/mutations/createStripePaymentIntent.js +0 -1
  756. package/build/__api/mutations/customerForgotPassword.d.ts +0 -7
  757. package/build/__api/mutations/customerForgotPassword.js +0 -1
  758. package/build/__api/mutations/customerLogin.d.ts +0 -72
  759. package/build/__api/mutations/customerLogin.js +0 -1
  760. package/build/__api/mutations/customerRecoverPassword.d.ts +0 -8
  761. package/build/__api/mutations/customerRecoverPassword.js +0 -1
  762. package/build/__api/mutations/customerRefreshToken.d.ts +0 -11
  763. package/build/__api/mutations/customerRefreshToken.js +0 -1
  764. package/build/__api/mutations/deleteRaffleParticipantsList.d.ts +0 -6
  765. package/build/__api/mutations/getOrderLineFile.d.ts +0 -7
  766. package/build/__api/mutations/getOrderLineFile.js +0 -1
  767. package/build/__api/mutations/registerCustomer.d.ts +0 -77
  768. package/build/__api/mutations/registerCustomer.js +0 -1
  769. package/build/__api/mutations/retrieveInstallmentInfo.d.ts +0 -20
  770. package/build/__api/mutations/retrieveInstallmentInfo.js +0 -1
  771. package/build/__api/mutations/saveCart.d.ts +0 -245
  772. package/build/__api/mutations/saveCart.js +0 -1
  773. package/build/__api/mutations/saveCartCouponCode.d.ts +0 -246
  774. package/build/__api/mutations/saveCartCouponCode.js +0 -1
  775. package/build/__api/mutations/saveCheckout.d.ts +0 -217
  776. package/build/__api/mutations/saveFavoriteProduct.d.ts +0 -7
  777. package/build/__api/mutations/saveFavoriteProduct.js +0 -1
  778. package/build/__api/mutations/saveItemToCart.d.ts +0 -97
  779. package/build/__api/mutations/saveLastViewedProducts.d.ts +0 -20
  780. package/build/__api/mutations/saveLastViewedProducts.js +0 -1
  781. package/build/__api/mutations/saveMyCustomer.d.ts +0 -69
  782. package/build/__api/mutations/saveMyCustomer.js +0 -1
  783. package/build/__api/mutations/saveProductBackInStockRemind.d.ts +0 -18
  784. package/build/__api/mutations/saveProductBackInStockRemind.js +0 -1
  785. package/build/__api/mutations/saveRaffleParticipant.d.ts +0 -27
  786. package/build/__api/mutations/saveRaffleParticipant.js +0 -1
  787. package/build/__api/mutations/sendContactFormToMerchant.d.ts +0 -11
  788. package/build/__api/mutations/sendContactFormToMerchant.js +0 -1
  789. package/build/__api/mutations/updateCartCampaignOffer.d.ts +0 -245
  790. package/build/__api/mutations/updateCartCampaignOffer.js +0 -1
  791. package/build/__api/mutations/updateRaffleParticipant.d.ts +0 -28
  792. package/build/__api/queries/checkCustomerEmail.d.ts +0 -11
  793. package/build/__api/queries/checkCustomerEmail.js +0 -1
  794. package/build/__api/queries/checkStocks.d.ts +0 -13
  795. package/build/__api/queries/checkStocks.js +0 -1
  796. package/build/__api/queries/customerSocialLogin.d.ts +0 -71
  797. package/build/__api/queries/customerSocialLogin.js +0 -1
  798. package/build/__api/queries/getAvailableShippingCountries.d.ts +0 -6
  799. package/build/__api/queries/getAvailableShippingCountries.js +0 -1
  800. package/build/__api/queries/getAvailableStockLocations.d.ts +0 -28
  801. package/build/__api/queries/getAvailableStockLocations.js +0 -1
  802. package/build/__api/queries/getCart.d.ts +0 -99
  803. package/build/__api/queries/getCartById.d.ts +0 -246
  804. package/build/__api/queries/getCartById.js +0 -1
  805. package/build/__api/queries/getCheckoutByCartId.d.ts +0 -217
  806. package/build/__api/queries/getCheckoutById.d.ts +0 -217
  807. package/build/__api/queries/getCurrencyRate.d.ts +0 -17
  808. package/build/__api/queries/getCustomerOrders.d.ts +0 -198
  809. package/build/__api/queries/getCustomerOrders.js +0 -1
  810. package/build/__api/queries/getLastViewedProducts.d.ts +0 -20
  811. package/build/__api/queries/getLastViewedProducts.js +0 -1
  812. package/build/__api/queries/getMasterpassRequestToken.d.ts +0 -15
  813. package/build/__api/queries/getMasterpassRequestToken.js +0 -1
  814. package/build/__api/queries/getMyCountry.d.ts +0 -3
  815. package/build/__api/queries/getMyCountry.js +0 -1
  816. package/build/__api/queries/getMyCustomer.d.ts +0 -66
  817. package/build/__api/queries/getMyCustomer.js +0 -1
  818. package/build/__api/queries/getOrder.d.ts +0 -198
  819. package/build/__api/queries/getOrderByEmail.d.ts +0 -199
  820. package/build/__api/queries/getOrderByEmail.js +0 -1
  821. package/build/__api/queries/getProductCampaigns.d.ts +0 -47
  822. package/build/__api/queries/getProductCampaigns.js +0 -1
  823. package/build/__api/queries/getProductFilterData.d.ts +0 -167
  824. package/build/__api/queries/getProductFilterData.js +0 -1
  825. package/build/__api/queries/getProductOptionFileUrl.d.ts +0 -14
  826. package/build/__api/queries/getRaffleParticipants.d.ts +0 -24
  827. package/build/__api/queries/getRafflesByCustomerId.d.ts +0 -35
  828. package/build/__api/queries/getRafflesByCustomerId.js +0 -1
  829. package/build/__api/queries/getRelatedProducts.d.ts +0 -14
  830. package/build/__api/queries/getRelatedProducts.js +0 -1
  831. package/build/__api/queries/getStorefront.d.ts +0 -64
  832. package/build/__api/queries/getStorefront.js +0 -1
  833. package/build/__api/queries/getVariantStockLocations.d.ts +0 -30
  834. package/build/__api/queries/isFavoriteProduct.d.ts +0 -6
  835. package/build/__api/queries/isFavoriteProduct.js +0 -1
  836. package/build/__api/queries/listBlog.d.ts +0 -76
  837. package/build/__api/queries/listBlog.js +0 -1
  838. package/build/__api/queries/listBlogCategory.d.ts +0 -35
  839. package/build/__api/queries/listBlogCategory.js +0 -1
  840. package/build/__api/queries/listBlogMetadata.d.ts +0 -30
  841. package/build/__api/queries/listBlogMetadata.js +0 -1
  842. package/build/__api/queries/listCampaignOffer.d.ts +0 -37
  843. package/build/__api/queries/listCategory.d.ts +0 -89
  844. package/build/__api/queries/listCategory.js +0 -1
  845. package/build/__api/queries/listCheckoutSettings.d.ts +0 -29
  846. package/build/__api/queries/listCheckoutSettings.js +0 -1
  847. package/build/__api/queries/listCity.d.ts +0 -25
  848. package/build/__api/queries/listCity.js +0 -1
  849. package/build/__api/queries/listCountry.d.ts +0 -31
  850. package/build/__api/queries/listCountry.js +0 -1
  851. package/build/__api/queries/listCustomerAttribute.d.ts +0 -27
  852. package/build/__api/queries/listCustomerAttribute.js +0 -1
  853. package/build/__api/queries/listCustomerReviewSummary.d.ts +0 -23
  854. package/build/__api/queries/listCustomerReviewSummary.js +0 -1
  855. package/build/__api/queries/listCustomerReviews.d.ts +0 -35
  856. package/build/__api/queries/listCustomerReviews.js +0 -1
  857. package/build/__api/queries/listDistrict.d.ts +0 -26
  858. package/build/__api/queries/listDistrict.js +0 -1
  859. package/build/__api/queries/listFavoriteProducts.d.ts +0 -12
  860. package/build/__api/queries/listFavoriteProducts.js +0 -1
  861. package/build/__api/queries/listHTMLMetaData.d.ts +0 -34
  862. package/build/__api/queries/listHTMLMetaData.js +0 -1
  863. package/build/__api/queries/listMerchantSettings.d.ts +0 -46
  864. package/build/__api/queries/listMerchantSettings.js +0 -1
  865. package/build/__api/queries/listOrderRefundSettings.d.ts +0 -21
  866. package/build/__api/queries/listOrderRefundSettings.js +0 -1
  867. package/build/__api/queries/listOrderTransactions.d.ts +0 -43
  868. package/build/__api/queries/listOrderTransactions.js +0 -1
  869. package/build/__api/queries/listPaymentGateway.d.ts +0 -40
  870. package/build/__api/queries/listPaymentGateway.js +0 -1
  871. package/build/__api/queries/listProduct.d.ts +0 -94
  872. package/build/__api/queries/listProductAttribute.d.ts +0 -33
  873. package/build/__api/queries/listProductAttribute.js +0 -1
  874. package/build/__api/queries/listProductBackInStockRemind.d.ts +0 -23
  875. package/build/__api/queries/listProductBackInStockRemind.js +0 -1
  876. package/build/__api/queries/listProductBrand.d.ts +0 -51
  877. package/build/__api/queries/listProductBrand.js +0 -1
  878. package/build/__api/queries/listProductOptionSet.d.ts +0 -59
  879. package/build/__api/queries/listProductOptionSet.js +0 -1
  880. package/build/__api/queries/listProductStockLocation.d.ts +0 -18
  881. package/build/__api/queries/listRaffle.d.ts +0 -47
  882. package/build/__api/queries/listRaffle.js +0 -1
  883. package/build/__api/queries/listRaffleMetadata.d.ts +0 -26
  884. package/build/__api/queries/listRaffleMetadata.js +0 -1
  885. package/build/__api/queries/listState.d.ts +0 -20
  886. package/build/__api/queries/listState.js +0 -1
  887. package/build/__api/queries/listStockLocation.d.ts +0 -35
  888. package/build/__api/queries/listStockLocation.js +0 -1
  889. package/build/__api/queries/listTown.d.ts +0 -20
  890. package/build/__api/queries/listVariantType.d.ts +0 -29
  891. package/build/__api/queries/searchProducts.d.ts +0 -132
  892. package/build/__api/queries/searchProducts.js +0 -1
  893. package/build/__api/types/index.d.ts +0 -2705
  894. package/build/__api/types/index.js +0 -1
  895. package/build/_virtual/Axios.js_commonjs-proxy2.js +0 -1
  896. package/build/_virtual/Cancel.js_commonjs-proxy.js +0 -1
  897. package/build/_virtual/CancelToken.js_commonjs-proxy.js +0 -1
  898. package/build/_virtual/InterceptorManager.js_commonjs-proxy.js +0 -1
  899. package/build/_virtual/Parser.js_commonjs-proxy.js +0 -1
  900. package/build/_virtual/ReactPropTypesSecret.js_commonjs-proxy.js +0 -1
  901. package/build/_virtual/Tokenizer.js_commonjs-proxy.js +0 -1
  902. package/build/_virtual/_DataView.js_commonjs-proxy.js +0 -1
  903. package/build/_virtual/_Hash.js_commonjs-proxy.js +0 -1
  904. package/build/_virtual/_ListCache.js_commonjs-proxy.js +0 -1
  905. package/build/_virtual/_Map.js_commonjs-proxy.js +0 -1
  906. package/build/_virtual/_MapCache.js_commonjs-proxy.js +0 -1
  907. package/build/_virtual/_Promise.js_commonjs-proxy.js +0 -1
  908. package/build/_virtual/_Set.js_commonjs-proxy.js +0 -1
  909. package/build/_virtual/_SetCache.js_commonjs-proxy.js +0 -1
  910. package/build/_virtual/_Stack.js_commonjs-proxy.js +0 -1
  911. package/build/_virtual/_Symbol.js_commonjs-proxy.js +0 -1
  912. package/build/_virtual/_Uint8Array.js_commonjs-proxy.js +0 -1
  913. package/build/_virtual/_WeakMap.js_commonjs-proxy.js +0 -1
  914. package/build/_virtual/_apply.js_commonjs-proxy.js +0 -1
  915. package/build/_virtual/_arrayAggregator.js_commonjs-proxy.js +0 -1
  916. package/build/_virtual/_arrayEach.js_commonjs-proxy.js +0 -1
  917. package/build/_virtual/_arrayFilter.js_commonjs-proxy.js +0 -1
  918. package/build/_virtual/_arrayIncludes.js_commonjs-proxy.js +0 -1
  919. package/build/_virtual/_arrayIncludesWith.js_commonjs-proxy.js +0 -1
  920. package/build/_virtual/_arrayLikeKeys.js_commonjs-proxy.js +0 -1
  921. package/build/_virtual/_arrayMap.js_commonjs-proxy.js +0 -1
  922. package/build/_virtual/_arrayPush.js_commonjs-proxy.js +0 -1
  923. package/build/_virtual/_arraySome.js_commonjs-proxy.js +0 -1
  924. package/build/_virtual/_assignValue.js_commonjs-proxy.js +0 -1
  925. package/build/_virtual/_assocIndexOf.js_commonjs-proxy.js +0 -1
  926. package/build/_virtual/_baseAggregator.js_commonjs-proxy.js +0 -1
  927. package/build/_virtual/_baseAssign.js_commonjs-proxy.js +0 -1
  928. package/build/_virtual/_baseAssignIn.js_commonjs-proxy.js +0 -1
  929. package/build/_virtual/_baseAssignValue.js_commonjs-proxy.js +0 -1
  930. package/build/_virtual/_baseClone.js_commonjs-proxy.js +0 -1
  931. package/build/_virtual/_baseCreate.js_commonjs-proxy.js +0 -1
  932. package/build/_virtual/_baseEach.js_commonjs-proxy.js +0 -1
  933. package/build/_virtual/_baseFindIndex.js_commonjs-proxy.js +0 -1
  934. package/build/_virtual/_baseFlatten.js_commonjs-proxy.js +0 -1
  935. package/build/_virtual/_baseFor.js_commonjs-proxy.js +0 -1
  936. package/build/_virtual/_baseForOwn.js_commonjs-proxy.js +0 -1
  937. package/build/_virtual/_baseGet.js_commonjs-proxy.js +0 -1
  938. package/build/_virtual/_baseGetAllKeys.js_commonjs-proxy.js +0 -1
  939. package/build/_virtual/_baseGetTag.js_commonjs-proxy.js +0 -1
  940. package/build/_virtual/_baseHasIn.js_commonjs-proxy.js +0 -1
  941. package/build/_virtual/_baseIndexOf.js_commonjs-proxy.js +0 -1
  942. package/build/_virtual/_baseIsArguments.js_commonjs-proxy.js +0 -1
  943. package/build/_virtual/_baseIsEqual.js_commonjs-proxy.js +0 -1
  944. package/build/_virtual/_baseIsEqualDeep.js_commonjs-proxy.js +0 -1
  945. package/build/_virtual/_baseIsMap.js_commonjs-proxy.js +0 -1
  946. package/build/_virtual/_baseIsMatch.js_commonjs-proxy.js +0 -1
  947. package/build/_virtual/_baseIsNaN.js_commonjs-proxy.js +0 -1
  948. package/build/_virtual/_baseIsNative.js_commonjs-proxy.js +0 -1
  949. package/build/_virtual/_baseIsSet.js_commonjs-proxy.js +0 -1
  950. package/build/_virtual/_baseIsTypedArray.js_commonjs-proxy.js +0 -1
  951. package/build/_virtual/_baseIteratee.js_commonjs-proxy.js +0 -1
  952. package/build/_virtual/_baseKeys.js_commonjs-proxy.js +0 -1
  953. package/build/_virtual/_baseKeysIn.js_commonjs-proxy.js +0 -1
  954. package/build/_virtual/_baseMap.js_commonjs-proxy.js +0 -1
  955. package/build/_virtual/_baseMatches.js_commonjs-proxy.js +0 -1
  956. package/build/_virtual/_baseMatchesProperty.js_commonjs-proxy.js +0 -1
  957. package/build/_virtual/_baseOrderBy.js_commonjs-proxy.js +0 -1
  958. package/build/_virtual/_baseProperty.js_commonjs-proxy.js +0 -1
  959. package/build/_virtual/_basePropertyDeep.js_commonjs-proxy.js +0 -1
  960. package/build/_virtual/_baseRest.js_commonjs-proxy.js +0 -1
  961. package/build/_virtual/_baseSetToString.js_commonjs-proxy.js +0 -1
  962. package/build/_virtual/_baseSortBy.js_commonjs-proxy.js +0 -1
  963. package/build/_virtual/_baseTimes.js_commonjs-proxy.js +0 -1
  964. package/build/_virtual/_baseToString.js_commonjs-proxy.js +0 -1
  965. package/build/_virtual/_baseUnary.js_commonjs-proxy.js +0 -1
  966. package/build/_virtual/_baseUniq.js_commonjs-proxy.js +0 -1
  967. package/build/_virtual/_cacheHas.js_commonjs-proxy.js +0 -1
  968. package/build/_virtual/_castFunction.js_commonjs-proxy.js +0 -1
  969. package/build/_virtual/_castPath.js_commonjs-proxy.js +0 -1
  970. package/build/_virtual/_cloneArrayBuffer.js_commonjs-proxy.js +0 -1
  971. package/build/_virtual/_cloneBuffer.js_commonjs-proxy.js +0 -1
  972. package/build/_virtual/_cloneDataView.js_commonjs-proxy.js +0 -1
  973. package/build/_virtual/_cloneRegExp.js_commonjs-proxy.js +0 -1
  974. package/build/_virtual/_cloneSymbol.js_commonjs-proxy.js +0 -1
  975. package/build/_virtual/_cloneTypedArray.js_commonjs-proxy.js +0 -1
  976. package/build/_virtual/_commonjsHelpers.js +0 -1
  977. package/build/_virtual/_compareAscending.js_commonjs-proxy.js +0 -1
  978. package/build/_virtual/_compareMultiple.js_commonjs-proxy.js +0 -1
  979. package/build/_virtual/_copyArray.js_commonjs-proxy.js +0 -1
  980. package/build/_virtual/_copyObject.js_commonjs-proxy.js +0 -1
  981. package/build/_virtual/_copySymbols.js_commonjs-proxy.js +0 -1
  982. package/build/_virtual/_copySymbolsIn.js_commonjs-proxy.js +0 -1
  983. package/build/_virtual/_coreJsData.js_commonjs-proxy.js +0 -1
  984. package/build/_virtual/_createAggregator.js_commonjs-proxy.js +0 -1
  985. package/build/_virtual/_createBaseEach.js_commonjs-proxy.js +0 -1
  986. package/build/_virtual/_createBaseFor.js_commonjs-proxy.js +0 -1
  987. package/build/_virtual/_createSet.js_commonjs-proxy.js +0 -1
  988. package/build/_virtual/_defineProperty.js_commonjs-proxy.js +0 -1
  989. package/build/_virtual/_equalArrays.js_commonjs-proxy.js +0 -1
  990. package/build/_virtual/_equalByTag.js_commonjs-proxy.js +0 -1
  991. package/build/_virtual/_equalObjects.js_commonjs-proxy.js +0 -1
  992. package/build/_virtual/_freeGlobal.js_commonjs-proxy.js +0 -1
  993. package/build/_virtual/_getAllKeys.js_commonjs-proxy.js +0 -1
  994. package/build/_virtual/_getAllKeysIn.js_commonjs-proxy.js +0 -1
  995. package/build/_virtual/_getMapData.js_commonjs-proxy.js +0 -1
  996. package/build/_virtual/_getMatchData.js_commonjs-proxy.js +0 -1
  997. package/build/_virtual/_getNative.js_commonjs-proxy.js +0 -1
  998. package/build/_virtual/_getPrototype.js_commonjs-proxy.js +0 -1
  999. package/build/_virtual/_getRawTag.js_commonjs-proxy.js +0 -1
  1000. package/build/_virtual/_getSymbols.js_commonjs-proxy.js +0 -1
  1001. package/build/_virtual/_getSymbolsIn.js_commonjs-proxy.js +0 -1
  1002. package/build/_virtual/_getTag.js_commonjs-proxy.js +0 -1
  1003. package/build/_virtual/_getValue.js_commonjs-proxy.js +0 -1
  1004. package/build/_virtual/_hasPath.js_commonjs-proxy.js +0 -1
  1005. package/build/_virtual/_hashClear.js_commonjs-proxy.js +0 -1
  1006. package/build/_virtual/_hashDelete.js_commonjs-proxy.js +0 -1
  1007. package/build/_virtual/_hashGet.js_commonjs-proxy.js +0 -1
  1008. package/build/_virtual/_hashHas.js_commonjs-proxy.js +0 -1
  1009. package/build/_virtual/_hashSet.js_commonjs-proxy.js +0 -1
  1010. package/build/_virtual/_initCloneArray.js_commonjs-proxy.js +0 -1
  1011. package/build/_virtual/_initCloneByTag.js_commonjs-proxy.js +0 -1
  1012. package/build/_virtual/_initCloneObject.js_commonjs-proxy.js +0 -1
  1013. package/build/_virtual/_isFlattenable.js_commonjs-proxy.js +0 -1
  1014. package/build/_virtual/_isIndex.js_commonjs-proxy.js +0 -1
  1015. package/build/_virtual/_isIterateeCall.js_commonjs-proxy.js +0 -1
  1016. package/build/_virtual/_isKey.js_commonjs-proxy.js +0 -1
  1017. package/build/_virtual/_isKeyable.js_commonjs-proxy.js +0 -1
  1018. package/build/_virtual/_isMasked.js_commonjs-proxy.js +0 -1
  1019. package/build/_virtual/_isPrototype.js_commonjs-proxy.js +0 -1
  1020. package/build/_virtual/_isStrictComparable.js_commonjs-proxy.js +0 -1
  1021. package/build/_virtual/_listCacheClear.js_commonjs-proxy.js +0 -1
  1022. package/build/_virtual/_listCacheDelete.js_commonjs-proxy.js +0 -1
  1023. package/build/_virtual/_listCacheGet.js_commonjs-proxy.js +0 -1
  1024. package/build/_virtual/_listCacheHas.js_commonjs-proxy.js +0 -1
  1025. package/build/_virtual/_listCacheSet.js_commonjs-proxy.js +0 -1
  1026. package/build/_virtual/_mapCacheClear.js_commonjs-proxy.js +0 -1
  1027. package/build/_virtual/_mapCacheDelete.js_commonjs-proxy.js +0 -1
  1028. package/build/_virtual/_mapCacheGet.js_commonjs-proxy.js +0 -1
  1029. package/build/_virtual/_mapCacheHas.js_commonjs-proxy.js +0 -1
  1030. package/build/_virtual/_mapCacheSet.js_commonjs-proxy.js +0 -1
  1031. package/build/_virtual/_mapToArray.js_commonjs-proxy.js +0 -1
  1032. package/build/_virtual/_matchesStrictComparable.js_commonjs-proxy.js +0 -1
  1033. package/build/_virtual/_memoizeCapped.js_commonjs-proxy.js +0 -1
  1034. package/build/_virtual/_nativeCreate.js_commonjs-proxy.js +0 -1
  1035. package/build/_virtual/_nativeKeys.js_commonjs-proxy.js +0 -1
  1036. package/build/_virtual/_nativeKeysIn.js_commonjs-proxy.js +0 -1
  1037. package/build/_virtual/_nodeUtil.js_commonjs-proxy.js +0 -1
  1038. package/build/_virtual/_objectToString.js_commonjs-proxy.js +0 -1
  1039. package/build/_virtual/_overArg.js_commonjs-proxy.js +0 -1
  1040. package/build/_virtual/_overRest.js_commonjs-proxy.js +0 -1
  1041. package/build/_virtual/_registry.js_commonjs-proxy.js +0 -1
  1042. package/build/_virtual/_root.js_commonjs-proxy.js +0 -1
  1043. package/build/_virtual/_setCacheAdd.js_commonjs-proxy.js +0 -1
  1044. package/build/_virtual/_setCacheHas.js_commonjs-proxy.js +0 -1
  1045. package/build/_virtual/_setToArray.js_commonjs-proxy.js +0 -1
  1046. package/build/_virtual/_setToString.js_commonjs-proxy.js +0 -1
  1047. package/build/_virtual/_shortOut.js_commonjs-proxy.js +0 -1
  1048. package/build/_virtual/_stackClear.js_commonjs-proxy.js +0 -1
  1049. package/build/_virtual/_stackDelete.js_commonjs-proxy.js +0 -1
  1050. package/build/_virtual/_stackGet.js_commonjs-proxy.js +0 -1
  1051. package/build/_virtual/_stackHas.js_commonjs-proxy.js +0 -1
  1052. package/build/_virtual/_stackSet.js_commonjs-proxy.js +0 -1
  1053. package/build/_virtual/_stream_duplex.js_commonjs-proxy.js +0 -1
  1054. package/build/_virtual/_stream_passthrough.js_commonjs-proxy.js +0 -1
  1055. package/build/_virtual/_stream_readable.js_commonjs-proxy.js +0 -1
  1056. package/build/_virtual/_stream_transform.js_commonjs-proxy.js +0 -1
  1057. package/build/_virtual/_stream_writable.js_commonjs-proxy.js +0 -1
  1058. package/build/_virtual/_strictIndexOf.js_commonjs-proxy.js +0 -1
  1059. package/build/_virtual/_stringToPath.js_commonjs-proxy.js +0 -1
  1060. package/build/_virtual/_toKey.js_commonjs-proxy.js +0 -1
  1061. package/build/_virtual/_toSource.js_commonjs-proxy.js +0 -1
  1062. package/build/_virtual/async_iterator.js_commonjs-proxy.js +0 -1
  1063. package/build/_virtual/attributes-to-props.js_commonjs-proxy.js +0 -1
  1064. package/build/_virtual/axios.js_commonjs-proxy.js +0 -1
  1065. package/build/_virtual/bind.js_commonjs-proxy.js +0 -1
  1066. package/build/_virtual/browser.js_commonjs-proxy.js +0 -1
  1067. package/build/_virtual/buffer_list.js_commonjs-proxy.js +0 -1
  1068. package/build/_virtual/buildFullPath.js_commonjs-proxy.js +0 -1
  1069. package/build/_virtual/buildURL.js_commonjs-proxy.js +0 -1
  1070. package/build/_virtual/checkPropTypes.js_commonjs-proxy.js +0 -1
  1071. package/build/_virtual/combineURLs.js_commonjs-proxy.js +0 -1
  1072. package/build/_virtual/common.js_commonjs-proxy.js +0 -1
  1073. package/build/_virtual/constant.js_commonjs-proxy.js +0 -1
  1074. package/build/_virtual/cookies.js_commonjs-proxy.js +0 -1
  1075. package/build/_virtual/createError.js_commonjs-proxy.js +0 -1
  1076. package/build/_virtual/debug.js_commonjs-proxy.js +0 -1
  1077. package/build/_virtual/decode_codepoint.js_commonjs-proxy.js +0 -1
  1078. package/build/_virtual/defaults.js_commonjs-proxy.js +0 -1
  1079. package/build/_virtual/destroy.js_commonjs-proxy.js +0 -1
  1080. package/build/_virtual/dispatchRequest.js_commonjs-proxy.js +0 -1
  1081. package/build/_virtual/dom-to-react.js_commonjs-proxy.js +0 -1
  1082. package/build/_virtual/end-of-stream.js_commonjs-proxy.js +0 -1
  1083. package/build/_virtual/enhanceError.js_commonjs-proxy.js +0 -1
  1084. package/build/_virtual/eq.js_commonjs-proxy.js +0 -1
  1085. package/build/_virtual/errors.js_commonjs-proxy.js +0 -1
  1086. package/build/_virtual/factoryWithThrowingShims.js_commonjs-proxy.js +0 -1
  1087. package/build/_virtual/factoryWithTypeCheckers.js_commonjs-proxy.js +0 -1
  1088. package/build/_virtual/from.js_commonjs-proxy.js +0 -1
  1089. package/build/_virtual/get.js_commonjs-proxy.js +0 -1
  1090. package/build/_virtual/hasIn.js_commonjs-proxy.js +0 -1
  1091. package/build/_virtual/html-to-dom.js_commonjs-proxy.js +0 -1
  1092. package/build/_virtual/http.js_commonjs-proxy.js +0 -1
  1093. package/build/_virtual/identity.js_commonjs-proxy.js +0 -1
  1094. package/build/_virtual/index.js_commonjs-proxy.js +0 -1
  1095. package/build/_virtual/index.js_commonjs-proxy10.js +0 -1
  1096. package/build/_virtual/index.js_commonjs-proxy11.js +0 -1
  1097. package/build/_virtual/index.js_commonjs-proxy12.js +0 -1
  1098. package/build/_virtual/index.js_commonjs-proxy13.js +0 -1
  1099. package/build/_virtual/index.js_commonjs-proxy14.js +0 -1
  1100. package/build/_virtual/index.js_commonjs-proxy15.js +0 -1
  1101. package/build/_virtual/index.js_commonjs-proxy16.js +0 -1
  1102. package/build/_virtual/index.js_commonjs-proxy17.js +0 -1
  1103. package/build/_virtual/index.js_commonjs-proxy18.js +0 -1
  1104. package/build/_virtual/index.js_commonjs-proxy2.js +0 -1
  1105. package/build/_virtual/index.js_commonjs-proxy3.js +0 -1
  1106. package/build/_virtual/index.js_commonjs-proxy4.js +0 -1
  1107. package/build/_virtual/index.js_commonjs-proxy5.js +0 -1
  1108. package/build/_virtual/index.js_commonjs-proxy6.js +0 -1
  1109. package/build/_virtual/index.js_commonjs-proxy7.js +0 -1
  1110. package/build/_virtual/index.js_commonjs-proxy8.js +0 -1
  1111. package/build/_virtual/index.js_commonjs-proxy9.js +0 -1
  1112. package/build/_virtual/inherits.js_commonjs-proxy.js +0 -1
  1113. package/build/_virtual/inherits_browser.js_commonjs-proxy.js +0 -1
  1114. package/build/_virtual/isAbsoluteURL.js_commonjs-proxy.js +0 -1
  1115. package/build/_virtual/isArguments.js_commonjs-proxy.js +0 -1
  1116. package/build/_virtual/isArray.js_commonjs-proxy.js +0 -1
  1117. package/build/_virtual/isArrayLike.js_commonjs-proxy.js +0 -1
  1118. package/build/_virtual/isAxiosError.js_commonjs-proxy.js +0 -1
  1119. package/build/_virtual/isBuffer.js_commonjs-proxy.js +0 -1
  1120. package/build/_virtual/isCancel.js_commonjs-proxy.js +0 -1
  1121. package/build/_virtual/isFunction.js_commonjs-proxy.js +0 -1
  1122. package/build/_virtual/isLength.js_commonjs-proxy.js +0 -1
  1123. package/build/_virtual/isMap.js_commonjs-proxy.js +0 -1
  1124. package/build/_virtual/isObject.js_commonjs-proxy.js +0 -1
  1125. package/build/_virtual/isObjectLike.js_commonjs-proxy.js +0 -1
  1126. package/build/_virtual/isSet.js_commonjs-proxy.js +0 -1
  1127. package/build/_virtual/isSymbol.js_commonjs-proxy.js +0 -1
  1128. package/build/_virtual/isTypedArray.js_commonjs-proxy.js +0 -1
  1129. package/build/_virtual/isURLSameOrigin.js_commonjs-proxy.js +0 -1
  1130. package/build/_virtual/keys.js_commonjs-proxy.js +0 -1
  1131. package/build/_virtual/keysIn.js_commonjs-proxy.js +0 -1
  1132. package/build/_virtual/memoize.js_commonjs-proxy.js +0 -1
  1133. package/build/_virtual/mergeConfig.js_commonjs-proxy.js +0 -1
  1134. package/build/_virtual/node.js_commonjs-proxy.js +0 -1
  1135. package/build/_virtual/node.js_commonjs-proxy2.js +0 -1
  1136. package/build/_virtual/node.js_commonjs-proxy3.js +0 -1
  1137. package/build/_virtual/noop.js_commonjs-proxy.js +0 -1
  1138. package/build/_virtual/normalizeHeaderName.js_commonjs-proxy.js +0 -1
  1139. package/build/_virtual/now.js_commonjs-proxy.js +0 -1
  1140. package/build/_virtual/parseHeaders.js_commonjs-proxy.js +0 -1
  1141. package/build/_virtual/pipeline.js_commonjs-proxy.js +0 -1
  1142. package/build/_virtual/possibleStandardNamesOptimized.js_commonjs-proxy.js +0 -1
  1143. package/build/_virtual/property.js_commonjs-proxy.js +0 -1
  1144. package/build/_virtual/react-is.development.js_commonjs-proxy.js +0 -1
  1145. package/build/_virtual/react-is.production.min.js_commonjs-proxy.js +0 -1
  1146. package/build/_virtual/readable.js_commonjs-proxy.js +0 -1
  1147. package/build/_virtual/settle.js_commonjs-proxy.js +0 -1
  1148. package/build/_virtual/spread.js_commonjs-proxy.js +0 -1
  1149. package/build/_virtual/state.js_commonjs-proxy.js +0 -1
  1150. package/build/_virtual/stream.js_commonjs-proxy.js +0 -1
  1151. package/build/_virtual/string_decoder.js_commonjs-proxy.js +0 -1
  1152. package/build/_virtual/stubArray.js_commonjs-proxy.js +0 -1
  1153. package/build/_virtual/stubFalse.js_commonjs-proxy.js +0 -1
  1154. package/build/_virtual/toNumber.js_commonjs-proxy.js +0 -1
  1155. package/build/_virtual/toString.js_commonjs-proxy.js +0 -1
  1156. package/build/_virtual/transformData.js_commonjs-proxy.js +0 -1
  1157. package/build/_virtual/utilities.js_commonjs-proxy.js +0 -1
  1158. package/build/_virtual/utilities.js_commonjs-proxy2.js +0 -1
  1159. package/build/_virtual/utilities.js_commonjs-proxy3.js +0 -1
  1160. package/build/_virtual/utils.js_commonjs-proxy.js +0 -1
  1161. package/build/_virtual/validator.js_commonjs-proxy.js +0 -1
  1162. package/build/_virtual/xhr.js_commonjs-proxy.js +0 -1
  1163. package/build/analytics/analytics.d.ts +0 -39
  1164. package/build/analytics/analytics.js +0 -1
  1165. package/build/analytics/events.d.ts +0 -37
  1166. package/build/analytics/events.js +0 -1
  1167. package/build/analytics/facebookPixel.d.ts +0 -16
  1168. package/build/analytics/facebookPixel.js +0 -1
  1169. package/build/analytics/googleAnalytics.d.ts +0 -14
  1170. package/build/analytics/googleAnalytics.js +0 -1
  1171. package/build/analytics/googleTagManager.d.ts +0 -204
  1172. package/build/analytics/googleTagManager.js +0 -1
  1173. package/build/analytics/googleUniversal.d.ts +0 -9
  1174. package/build/analytics/googleUniversal.js +0 -1
  1175. package/build/analytics/head/index.d.ts +0 -7
  1176. package/build/analytics/head/index.js +0 -1
  1177. package/build/analytics/ikas.d.ts +0 -134
  1178. package/build/analytics/ikas.js +0 -1
  1179. package/build/analytics/index.d.ts +0 -2
  1180. package/build/analytics/tiktokPixel.d.ts +0 -14
  1181. package/build/analytics/tiktokPixel.js +0 -1
  1182. package/build/assets/translations/checkout/en.js +0 -1
  1183. package/build/assets/translations/checkout/tr.js +0 -1
  1184. package/build/components/checkout/components/address-form/index.d.ts +0 -3
  1185. package/build/components/checkout/components/address-form/index.js +0 -1
  1186. package/build/components/checkout/components/address-form/model.d.ts +0 -87
  1187. package/build/components/checkout/components/address-form/model.js +0 -1
  1188. package/build/components/checkout/components/button/index.d.ts +0 -13
  1189. package/build/components/checkout/components/button/index.js +0 -1
  1190. package/build/components/checkout/components/button/style.module.scss.js +0 -1
  1191. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +0 -10
  1192. package/build/components/checkout/components/cart-summary/cart-item/index.js +0 -1
  1193. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +0 -1
  1194. package/build/components/checkout/components/cart-summary/index.d.ts +0 -8
  1195. package/build/components/checkout/components/cart-summary/index.js +0 -1
  1196. package/build/components/checkout/components/cart-summary/style.module.scss.js +0 -1
  1197. package/build/components/checkout/components/checkbox/check.d.ts +0 -6
  1198. package/build/components/checkout/components/checkbox/check.js +0 -1
  1199. package/build/components/checkout/components/checkbox/index.d.ts +0 -10
  1200. package/build/components/checkout/components/checkbox/index.js +0 -1
  1201. package/build/components/checkout/components/checkbox/style.module.scss.js +0 -1
  1202. package/build/components/checkout/components/credit-card-form/index.d.ts +0 -7
  1203. package/build/components/checkout/components/credit-card-form/index.js +0 -1
  1204. package/build/components/checkout/components/credit-card-form/model.d.ts +0 -26
  1205. package/build/components/checkout/components/credit-card-form/model.js +0 -1
  1206. package/build/components/checkout/components/credit-card-form/style.module.scss.js +0 -1
  1207. package/build/components/checkout/components/credit-card-form/svg/amex.d.ts +0 -6
  1208. package/build/components/checkout/components/credit-card-form/svg/amex.js +0 -1
  1209. package/build/components/checkout/components/credit-card-form/svg/master-card.d.ts +0 -6
  1210. package/build/components/checkout/components/credit-card-form/svg/master-card.js +0 -1
  1211. package/build/components/checkout/components/credit-card-form/svg/troy.d.ts +0 -6
  1212. package/build/components/checkout/components/credit-card-form/svg/troy.js +0 -1
  1213. package/build/components/checkout/components/credit-card-form/svg/visa.d.ts +0 -6
  1214. package/build/components/checkout/components/credit-card-form/svg/visa.js +0 -1
  1215. package/build/components/checkout/components/customer-addresses/index.d.ts +0 -19
  1216. package/build/components/checkout/components/customer-addresses/index.js +0 -1
  1217. package/build/components/checkout/components/customer-addresses/model.d.ts +0 -21
  1218. package/build/components/checkout/components/customer-addresses/model.js +0 -1
  1219. package/build/components/checkout/components/customer-addresses/style.module.scss.js +0 -1
  1220. package/build/components/checkout/components/delivery-methods/icon-button/index.d.ts +0 -10
  1221. package/build/components/checkout/components/delivery-methods/icon-button/index.js +0 -1
  1222. package/build/components/checkout/components/delivery-methods/icon-button/style.module.scss.js +0 -1
  1223. package/build/components/checkout/components/delivery-methods/icons/box.d.ts +0 -6
  1224. package/build/components/checkout/components/delivery-methods/icons/box.js +0 -1
  1225. package/build/components/checkout/components/delivery-methods/icons/store.d.ts +0 -6
  1226. package/build/components/checkout/components/delivery-methods/icons/store.js +0 -1
  1227. package/build/components/checkout/components/delivery-methods/index.d.ts +0 -7
  1228. package/build/components/checkout/components/delivery-methods/index.js +0 -1
  1229. package/build/components/checkout/components/delivery-methods/style.module.scss.js +0 -1
  1230. package/build/components/checkout/components/error/customer-login-required-error/index.d.ts +0 -8
  1231. package/build/components/checkout/components/error/customer-login-required-error/index.js +0 -1
  1232. package/build/components/checkout/components/error/index.d.ts +0 -7
  1233. package/build/components/checkout/components/error/index.js +0 -1
  1234. package/build/components/checkout/components/error/no-shipping-error/index.d.ts +0 -4
  1235. package/build/components/checkout/components/error/no-shipping-error/index.js +0 -1
  1236. package/build/components/checkout/components/error/payment-error/index.d.ts +0 -8
  1237. package/build/components/checkout/components/error/payment-error/index.js +0 -1
  1238. package/build/components/checkout/components/error/stock-error/index.d.ts +0 -8
  1239. package/build/components/checkout/components/error/stock-error/index.js +0 -1
  1240. package/build/components/checkout/components/error/stock-error/style.module.scss.js +0 -1
  1241. package/build/components/checkout/components/error/unknown-error/index.d.ts +0 -6
  1242. package/build/components/checkout/components/error/unknown-error/index.js +0 -1
  1243. package/build/components/checkout/components/expandable-section/index.d.ts +0 -6
  1244. package/build/components/checkout/components/expandable-section/index.js +0 -1
  1245. package/build/components/checkout/components/expandable-section/style.module.scss.js +0 -1
  1246. package/build/components/checkout/components/form-item/caret-down.d.ts +0 -6
  1247. package/build/components/checkout/components/form-item/caret-down.js +0 -1
  1248. package/build/components/checkout/components/form-item/index.d.ts +0 -3
  1249. package/build/components/checkout/components/form-item/index.js +0 -1
  1250. package/build/components/checkout/components/form-item/model.d.ts +0 -61
  1251. package/build/components/checkout/components/form-item/model.js +0 -1
  1252. package/build/components/checkout/components/form-item/style.module.scss.js +0 -1
  1253. package/build/components/checkout/components/fullscreen-loading/index.d.ts +0 -2
  1254. package/build/components/checkout/components/fullscreen-loading/index.js +0 -1
  1255. package/build/components/checkout/components/fullscreen-loading/style.module.scss.js +0 -1
  1256. package/build/components/checkout/components/input-with-button/index.d.ts +0 -11
  1257. package/build/components/checkout/components/input-with-button/index.js +0 -1
  1258. package/build/components/checkout/components/input-with-button/style.module.scss.js +0 -1
  1259. package/build/components/checkout/components/master-pass/credit-card-form/index.d.ts +0 -9
  1260. package/build/components/checkout/components/master-pass/credit-card-form/index.js +0 -1
  1261. package/build/components/checkout/components/master-pass/credit-card-form/style.module.scss.js +0 -1
  1262. package/build/components/checkout/components/master-pass/modal/index.d.ts +0 -11
  1263. package/build/components/checkout/components/master-pass/modal/index.js +0 -1
  1264. package/build/components/checkout/components/master-pass/modal/style.module.scss.js +0 -1
  1265. package/build/components/checkout/components/master-pass/modal/svg/modal-close.d.ts +0 -3
  1266. package/build/components/checkout/components/master-pass/modal/svg/modal-close.js +0 -1
  1267. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.d.ts +0 -11
  1268. package/build/components/checkout/components/master-pass/modal-link-card-to-client/index.js +0 -1
  1269. package/build/components/checkout/components/master-pass/modal-link-card-to-client/style.module.scss.js +0 -1
  1270. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.d.ts +0 -3
  1271. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/info-mark.js +0 -1
  1272. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.d.ts +0 -3
  1273. package/build/components/checkout/components/master-pass/modal-link-card-to-client/svg/master-pass-by-master-card-big.js +0 -1
  1274. package/build/components/checkout/components/master-pass/modal-otp/index.d.ts +0 -10
  1275. package/build/components/checkout/components/master-pass/modal-otp/index.js +0 -1
  1276. package/build/components/checkout/components/master-pass/modal-otp/style.module.scss.js +0 -1
  1277. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.d.ts +0 -3
  1278. package/build/components/checkout/components/master-pass/modal-otp/svg/master-pass.js +0 -1
  1279. package/build/components/checkout/components/master-pass/modal-response/index.d.ts +0 -10
  1280. package/build/components/checkout/components/master-pass/modal-response/index.js +0 -1
  1281. package/build/components/checkout/components/master-pass/modal-response/style.module.scss.js +0 -1
  1282. package/build/components/checkout/components/master-pass/modal-success/index.d.ts +0 -11
  1283. package/build/components/checkout/components/master-pass/modal-success/index.js +0 -1
  1284. package/build/components/checkout/components/master-pass/modal-success/style.module.scss.js +0 -1
  1285. package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.d.ts +0 -3
  1286. package/build/components/checkout/components/master-pass/modal-success/svg/master-pass-by-master-card-small.js +0 -1
  1287. package/build/components/checkout/components/master-pass/modal-success/svg/success.d.ts +0 -3
  1288. package/build/components/checkout/components/master-pass/modal-success/svg/success.js +0 -1
  1289. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.d.ts +0 -3
  1290. package/build/components/checkout/components/master-pass/payment-gateway/svg/master-card.js +0 -1
  1291. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.d.ts +0 -3
  1292. package/build/components/checkout/components/master-pass/svg/master-pass-by-master-card.js +0 -1
  1293. package/build/components/checkout/components/modal/index.d.ts +0 -8
  1294. package/build/components/checkout/components/modal/index.js +0 -1
  1295. package/build/components/checkout/components/modal/style.module.scss.js +0 -1
  1296. package/build/components/checkout/components/modal/useEscape.d.ts +0 -5
  1297. package/build/components/checkout/components/modal/useEscape.js +0 -1
  1298. package/build/components/checkout/components/notification-box/index.d.ts +0 -9
  1299. package/build/components/checkout/components/notification-box/index.js +0 -1
  1300. package/build/components/checkout/components/notification-box/style.module.scss.js +0 -1
  1301. package/build/components/checkout/components/offer-product/index.d.ts +0 -8
  1302. package/build/components/checkout/components/offer-product/index.js +0 -1
  1303. package/build/components/checkout/components/offer-product/select/arrows.d.ts +0 -6
  1304. package/build/components/checkout/components/offer-product/select/arrows.js +0 -1
  1305. package/build/components/checkout/components/offer-product/select/index.d.ts +0 -11
  1306. package/build/components/checkout/components/offer-product/select/index.js +0 -1
  1307. package/build/components/checkout/components/offer-product/select/style.module.scss.js +0 -1
  1308. package/build/components/checkout/components/offer-product/style.module.scss.js +0 -1
  1309. package/build/components/checkout/components/select-box/index.d.ts +0 -13
  1310. package/build/components/checkout/components/select-box/index.js +0 -1
  1311. package/build/components/checkout/components/select-box/style.module.scss.js +0 -1
  1312. package/build/components/checkout/components/step-container/index.d.ts +0 -15
  1313. package/build/components/checkout/components/step-container/index.js +0 -1
  1314. package/build/components/checkout/components/step-container/style.module.scss.js +0 -1
  1315. package/build/components/checkout/components/stripe/checkout-form.d.ts +0 -8
  1316. package/build/components/checkout/components/stripe/checkout-form.js +0 -1
  1317. package/build/components/checkout/components/stripe/index.d.ts +0 -9
  1318. package/build/components/checkout/components/stripe/index.js +0 -1
  1319. package/build/components/checkout/components/stripe/style.module.scss.js +0 -1
  1320. package/build/components/checkout/components/svg/arrow-down.d.ts +0 -6
  1321. package/build/components/checkout/components/svg/arrow-down.js +0 -1
  1322. package/build/components/checkout/components/svg/arrow-left.d.ts +0 -6
  1323. package/build/components/checkout/components/svg/arrow-right.d.ts +0 -6
  1324. package/build/components/checkout/components/svg/cross.d.ts +0 -6
  1325. package/build/components/checkout/components/svg/cross.js +0 -1
  1326. package/build/components/checkout/components/svg/discount.d.ts +0 -6
  1327. package/build/components/checkout/components/svg/external.d.ts +0 -6
  1328. package/build/components/checkout/components/svg/external.js +0 -1
  1329. package/build/components/checkout/components/svg/gift.d.ts +0 -7
  1330. package/build/components/checkout/components/svg/gift.js +0 -1
  1331. package/build/components/checkout/components/svg/ikas.d.ts +0 -6
  1332. package/build/components/checkout/components/svg/ikas.js +0 -1
  1333. package/build/components/checkout/components/svg/lock.d.ts +0 -6
  1334. package/build/components/checkout/components/svg/lock.js +0 -1
  1335. package/build/components/checkout/components/svg/shopping-cart.d.ts +0 -6
  1336. package/build/components/checkout/components/svg/success-circle.d.ts +0 -6
  1337. package/build/components/checkout/components/svg/success-circle.js +0 -1
  1338. package/build/components/checkout/components/svg/tag.d.ts +0 -6
  1339. package/build/components/checkout/components/svg/warning.d.ts +0 -6
  1340. package/build/components/checkout/components/svg/warning.js +0 -1
  1341. package/build/components/checkout/components/toggle/index.d.ts +0 -10
  1342. package/build/components/checkout/components/toggle/index.js +0 -1
  1343. package/build/components/checkout/components/toggle/style.module.scss.js +0 -1
  1344. package/build/components/checkout/components/tooltip/index.d.ts +0 -8
  1345. package/build/components/checkout/components/tooltip/index.js +0 -1
  1346. package/build/components/checkout/components/tooltip/style.module.scss.js +0 -1
  1347. package/build/components/checkout/index.d.ts +0 -34
  1348. package/build/components/checkout/index.js +0 -1
  1349. package/build/components/checkout/model.d.ts +0 -164
  1350. package/build/components/checkout/model.js +0 -1
  1351. package/build/components/checkout/modelMasterPass.d.ts +0 -202
  1352. package/build/components/checkout/modelMasterPass.js +0 -1
  1353. package/build/components/checkout/steps/step-info/index.d.ts +0 -7
  1354. package/build/components/checkout/steps/step-info/index.js +0 -1
  1355. package/build/components/checkout/steps/step-payment/billing-address/index.d.ts +0 -7
  1356. package/build/components/checkout/steps/step-payment/billing-address/index.js +0 -1
  1357. package/build/components/checkout/steps/step-payment/index.d.ts +0 -7
  1358. package/build/components/checkout/steps/step-payment/index.js +0 -1
  1359. package/build/components/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -7
  1360. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +0 -1
  1361. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -7
  1362. package/build/components/checkout/steps/step-payment/payment-gateways/installments/index.js +0 -1
  1363. package/build/components/checkout/steps/step-payment/payment-gateways/installments/style.module.scss.js +0 -1
  1364. package/build/components/checkout/steps/step-payment/payment-gateways/style.module.scss.js +0 -1
  1365. package/build/components/checkout/steps/step-payment/style.module.scss.js +0 -1
  1366. package/build/components/checkout/steps/step-shipping/index.d.ts +0 -7
  1367. package/build/components/checkout/steps/step-shipping/index.js +0 -1
  1368. package/build/components/checkout/steps/step-shipping/style.module.scss.js +0 -1
  1369. package/build/components/checkout/steps/step-success/index.d.ts +0 -7
  1370. package/build/components/checkout/steps/step-success/index.js +0 -1
  1371. package/build/components/checkout/steps/step-success/style.module.scss.js +0 -1
  1372. package/build/components/checkout/style.module.scss.js +0 -1
  1373. package/build/components/checkout/styles/common.module.scss.js +0 -1
  1374. package/build/components/image/index.d.ts +0 -10
  1375. package/build/components/image/index.js +0 -1
  1376. package/build/components/index.d.ts +0 -4
  1377. package/build/components/link/index.d.ts +0 -4
  1378. package/build/components/link/index.js +0 -1
  1379. package/build/components/page/ThemeComponent.d.ts +0 -21
  1380. package/build/components/page/ThemeComponent.js +0 -1
  1381. package/build/components/page/head.d.ts +0 -15
  1382. package/build/components/page/head.js +0 -1
  1383. package/build/components/page/index.d.ts +0 -21
  1384. package/build/components/page/index.js +0 -1
  1385. package/build/components/page-editor/ThemeComponentEditor.d.ts +0 -32
  1386. package/build/components/page-editor/ThemeComponentEditor.js +0 -1
  1387. package/build/components/page-editor/error/index.d.ts +0 -5
  1388. package/build/components/page-editor/error/index.js +0 -1
  1389. package/build/components/page-editor/index.d.ts +0 -4
  1390. package/build/components/page-editor/index.js +0 -1
  1391. package/build/components/page-editor/loader/index.d.ts +0 -6
  1392. package/build/components/page-editor/loader/index.js +0 -1
  1393. package/build/components/page-editor/loader/style.module.scss.js +0 -1
  1394. package/build/components/page-editor/model.d.ts +0 -75
  1395. package/build/components/page-editor/model.js +0 -1
  1396. package/build/ext/@ikas/fe-api-client/build/_virtual/_commonjsHelpers.js +0 -1
  1397. package/build/ext/@ikas/fe-api-client/build/_virtual/axios-error-format.js_commonjs-exports.js +0 -1
  1398. package/build/ext/@ikas/fe-api-client/build/_virtual/core.js_commonjs-exports.js +0 -1
  1399. package/build/ext/@ikas/fe-api-client/build/_virtual/index.js_commonjs-exports.js +0 -1
  1400. package/build/ext/@ikas/fe-api-client/build/config/index.js +0 -1
  1401. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/axios-error-format.js +0 -1
  1402. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/core.js +0 -1
  1403. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.js +0 -1
  1404. package/build/ext/@ikas/fe-api-client/build/ext/@redtea/format-axios-error/index.mjs.js +0 -1
  1405. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Hash.js +0 -1
  1406. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_ListCache.js +0 -1
  1407. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Map.js +0 -1
  1408. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_MapCache.js +0 -1
  1409. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_Symbol.js +0 -1
  1410. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_arrayMap.js +0 -1
  1411. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assignValue.js +0 -1
  1412. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_assocIndexOf.js +0 -1
  1413. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseAssignValue.js +0 -1
  1414. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseGetTag.js +0 -1
  1415. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseIsNative.js +0 -1
  1416. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseSet.js +0 -1
  1417. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_baseToString.js +0 -1
  1418. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_castPath.js +0 -1
  1419. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_coreJsData.js +0 -1
  1420. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_defineProperty.js +0 -1
  1421. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_freeGlobal.js +0 -1
  1422. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getMapData.js +0 -1
  1423. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getNative.js +0 -1
  1424. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getRawTag.js +0 -1
  1425. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_getValue.js +0 -1
  1426. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashClear.js +0 -1
  1427. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashDelete.js +0 -1
  1428. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashGet.js +0 -1
  1429. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashHas.js +0 -1
  1430. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_hashSet.js +0 -1
  1431. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isIndex.js +0 -1
  1432. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKey.js +0 -1
  1433. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isKeyable.js +0 -1
  1434. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_isMasked.js +0 -1
  1435. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheClear.js +0 -1
  1436. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheDelete.js +0 -1
  1437. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheGet.js +0 -1
  1438. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheHas.js +0 -1
  1439. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_listCacheSet.js +0 -1
  1440. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheClear.js +0 -1
  1441. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheDelete.js +0 -1
  1442. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheGet.js +0 -1
  1443. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheHas.js +0 -1
  1444. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_mapCacheSet.js +0 -1
  1445. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_memoizeCapped.js +0 -1
  1446. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_nativeCreate.js +0 -1
  1447. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_objectToString.js +0 -1
  1448. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_root.js +0 -1
  1449. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_stringToPath.js +0 -1
  1450. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toKey.js +0 -1
  1451. package/build/ext/@ikas/fe-api-client/build/ext/lodash/_toSource.js +0 -1
  1452. package/build/ext/@ikas/fe-api-client/build/ext/lodash/eq.js +0 -1
  1453. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isArray.js +0 -1
  1454. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isFunction.js +0 -1
  1455. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObject.js +0 -1
  1456. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isObjectLike.js +0 -1
  1457. package/build/ext/@ikas/fe-api-client/build/ext/lodash/isSymbol.js +0 -1
  1458. package/build/ext/@ikas/fe-api-client/build/ext/lodash/memoize.js +0 -1
  1459. package/build/ext/@ikas/fe-api-client/build/ext/lodash/set.js +0 -1
  1460. package/build/ext/@ikas/fe-api-client/build/ext/lodash/toString.js +0 -1
  1461. package/build/ext/@ikas/fe-api-client/build/ext/tslib/tslib.es6.js +0 -15
  1462. package/build/ext/@ikas/fe-api-client/build/helpers/generate-return-fields.js +0 -1
  1463. package/build/ext/@ikas/fe-api-client/build/utils/api.js +0 -1
  1464. package/build/ext/@ikas/fe-api-client/build/utils/fetch-query.js +0 -1
  1465. package/build/ext/@ikas/react-phone-number-input/locale/en.json.js +0 -1
  1466. package/build/ext/@ikas/react-phone-number-input/min/index.js +0 -1
  1467. package/build/ext/@ikas/react-phone-number-input/modules/CountryIcon.js +0 -1
  1468. package/build/ext/@ikas/react-phone-number-input/modules/CountrySelect.js +0 -1
  1469. package/build/ext/@ikas/react-phone-number-input/modules/Flag.js +0 -1
  1470. package/build/ext/@ikas/react-phone-number-input/modules/InputBasic.js +0 -1
  1471. package/build/ext/@ikas/react-phone-number-input/modules/InputSmart.js +0 -1
  1472. package/build/ext/@ikas/react-phone-number-input/modules/InternationalIcon.js +0 -1
  1473. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountry.js +0 -1
  1474. package/build/ext/@ikas/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +0 -1
  1475. package/build/ext/@ikas/react-phone-number-input/modules/PropTypes.js +0 -1
  1476. package/build/ext/@ikas/react-phone-number-input/modules/helpers/countries.js +0 -1
  1477. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getInternationalPhoneNumberPrefix.js +0 -1
  1478. package/build/ext/@ikas/react-phone-number-input/modules/helpers/getPhoneInputWithCountryStateUpdateFromNewProps.js +0 -1
  1479. package/build/ext/@ikas/react-phone-number-input/modules/helpers/inputValuePrefix.js +0 -1
  1480. package/build/ext/@ikas/react-phone-number-input/modules/helpers/phoneInputHelpers.js +0 -1
  1481. package/build/ext/@stripe/react-stripe-js/dist/react-stripe.esm.js +0 -1
  1482. package/build/ext/@stripe/stripe-js/dist/stripe.esm.js +0 -1
  1483. package/build/ext/axios/index.js +0 -1
  1484. package/build/ext/axios/lib/adapters/http.js +0 -1
  1485. package/build/ext/axios/lib/adapters/xhr.js +0 -1
  1486. package/build/ext/axios/lib/axios.js +0 -1
  1487. package/build/ext/axios/lib/cancel/Cancel.js +0 -1
  1488. package/build/ext/axios/lib/cancel/CancelToken.js +0 -1
  1489. package/build/ext/axios/lib/cancel/isCancel.js +0 -1
  1490. package/build/ext/axios/lib/core/Axios.js +0 -1
  1491. package/build/ext/axios/lib/core/InterceptorManager.js +0 -1
  1492. package/build/ext/axios/lib/core/buildFullPath.js +0 -1
  1493. package/build/ext/axios/lib/core/createError.js +0 -1
  1494. package/build/ext/axios/lib/core/dispatchRequest.js +0 -1
  1495. package/build/ext/axios/lib/core/enhanceError.js +0 -1
  1496. package/build/ext/axios/lib/core/mergeConfig.js +0 -1
  1497. package/build/ext/axios/lib/core/settle.js +0 -1
  1498. package/build/ext/axios/lib/core/transformData.js +0 -1
  1499. package/build/ext/axios/lib/defaults.js +0 -1
  1500. package/build/ext/axios/lib/helpers/bind.js +0 -1
  1501. package/build/ext/axios/lib/helpers/buildURL.js +0 -1
  1502. package/build/ext/axios/lib/helpers/combineURLs.js +0 -1
  1503. package/build/ext/axios/lib/helpers/cookies.js +0 -1
  1504. package/build/ext/axios/lib/helpers/isAbsoluteURL.js +0 -1
  1505. package/build/ext/axios/lib/helpers/isAxiosError.js +0 -1
  1506. package/build/ext/axios/lib/helpers/isURLSameOrigin.js +0 -1
  1507. package/build/ext/axios/lib/helpers/normalizeHeaderName.js +0 -1
  1508. package/build/ext/axios/lib/helpers/parseHeaders.js +0 -1
  1509. package/build/ext/axios/lib/helpers/spread.js +0 -1
  1510. package/build/ext/axios/lib/helpers/validator.js +0 -1
  1511. package/build/ext/axios/lib/utils.js +0 -1
  1512. package/build/ext/axios/package.json.js +0 -1
  1513. package/build/ext/classnames/index.js +0 -6
  1514. package/build/ext/country-flag-icons/modules/unicode.js +0 -1
  1515. package/build/ext/debug/src/browser.js +0 -1
  1516. package/build/ext/debug/src/common.js +0 -1
  1517. package/build/ext/debug/src/index.js +0 -1
  1518. package/build/ext/debug/src/node.js +0 -1
  1519. package/build/ext/decode-uri-component/index.js +0 -1
  1520. package/build/ext/domhandler/ext/domelementtype/lib/index.js +0 -1
  1521. package/build/ext/domhandler/lib/index.js +0 -1
  1522. package/build/ext/domhandler/lib/node.js +0 -1
  1523. package/build/ext/entities/lib/decode_codepoint.js +0 -1
  1524. package/build/ext/entities/lib/maps/decode.json.js +0 -1
  1525. package/build/ext/entities/lib/maps/entities.json.js +0 -1
  1526. package/build/ext/entities/lib/maps/legacy.json.js +0 -1
  1527. package/build/ext/entities/lib/maps/xml.json.js +0 -1
  1528. package/build/ext/follow-redirects/debug.js +0 -1
  1529. package/build/ext/follow-redirects/index.js +0 -1
  1530. package/build/ext/has-flag/index.js +0 -1
  1531. package/build/ext/html-dom-parser/index.js +0 -1
  1532. package/build/ext/html-dom-parser/lib/server/html-to-dom.js +0 -1
  1533. package/build/ext/html-dom-parser/lib/server/utilities.js +0 -1
  1534. package/build/ext/html-react-parser/index.js +0 -1
  1535. package/build/ext/html-react-parser/index.mjs.js +0 -1
  1536. package/build/ext/html-react-parser/lib/attributes-to-props.js +0 -1
  1537. package/build/ext/html-react-parser/lib/dom-to-react.js +0 -1
  1538. package/build/ext/html-react-parser/lib/utilities.js +0 -1
  1539. package/build/ext/htmlparser2/lib/Parser.js +0 -1
  1540. package/build/ext/htmlparser2/lib/Tokenizer.js +0 -1
  1541. package/build/ext/inherits/inherits.js +0 -1
  1542. package/build/ext/inherits/inherits_browser.js +0 -1
  1543. package/build/ext/inline-style-parser/index.js +0 -1
  1544. package/build/ext/input-format/modules/closeBraces.js +0 -1
  1545. package/build/ext/input-format/modules/dom.js +0 -1
  1546. package/build/ext/input-format/modules/edit.js +0 -1
  1547. package/build/ext/input-format/modules/format.js +0 -1
  1548. package/build/ext/input-format/modules/helpers.js +0 -1
  1549. package/build/ext/input-format/modules/inputControl.js +0 -1
  1550. package/build/ext/input-format/modules/parse.js +0 -1
  1551. package/build/ext/input-format/modules/react/Input.js +0 -1
  1552. package/build/ext/input-format/modules/templateFormatter.js +0 -1
  1553. package/build/ext/libphonenumber-js/es6/AsYouType.js +0 -1
  1554. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.js +0 -1
  1555. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.complete.js +0 -1
  1556. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.js +0 -1
  1557. package/build/ext/libphonenumber-js/es6/AsYouTypeFormatter.util.js +0 -1
  1558. package/build/ext/libphonenumber-js/es6/AsYouTypeParser.js +0 -1
  1559. package/build/ext/libphonenumber-js/es6/AsYouTypeState.js +0 -1
  1560. package/build/ext/libphonenumber-js/es6/ParseError.js +0 -1
  1561. package/build/ext/libphonenumber-js/es6/PhoneNumber.js +0 -1
  1562. package/build/ext/libphonenumber-js/es6/constants.js +0 -1
  1563. package/build/ext/libphonenumber-js/es6/formatIncompletePhoneNumber.js +0 -1
  1564. package/build/ext/libphonenumber-js/es6/format_.js +0 -1
  1565. package/build/ext/libphonenumber-js/es6/getCountries.js +0 -1
  1566. package/build/ext/libphonenumber-js/es6/helpers/RFC3966.js +0 -1
  1567. package/build/ext/libphonenumber-js/es6/helpers/applyInternationalSeparatorStyle.js +0 -1
  1568. package/build/ext/libphonenumber-js/es6/helpers/checkNumberLength.js +0 -1
  1569. package/build/ext/libphonenumber-js/es6/helpers/extension/createExtensionPattern.js +0 -1
  1570. package/build/ext/libphonenumber-js/es6/helpers/extension/extractExtension.js +0 -1
  1571. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCode.js +0 -1
  1572. package/build/ext/libphonenumber-js/es6/helpers/extractCountryCallingCodeFromInternationalNumberWithoutPlusSign.js +0 -1
  1573. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumber.js +0 -1
  1574. package/build/ext/libphonenumber-js/es6/helpers/extractNationalNumberFromPossiblyIncompleteNumber.js +0 -1
  1575. package/build/ext/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +0 -1
  1576. package/build/ext/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +0 -1
  1577. package/build/ext/libphonenumber-js/es6/helpers/getIddPrefix.js +0 -1
  1578. package/build/ext/libphonenumber-js/es6/helpers/getNumberType.js +0 -1
  1579. package/build/ext/libphonenumber-js/es6/helpers/isViablePhoneNumber.js +0 -1
  1580. package/build/ext/libphonenumber-js/es6/helpers/matchesEntirely.js +0 -1
  1581. package/build/ext/libphonenumber-js/es6/helpers/mergeArrays.js +0 -1
  1582. package/build/ext/libphonenumber-js/es6/helpers/parseDigits.js +0 -1
  1583. package/build/ext/libphonenumber-js/es6/helpers/stripIddPrefix.js +0 -1
  1584. package/build/ext/libphonenumber-js/es6/isPossibleNumber_.js +0 -1
  1585. package/build/ext/libphonenumber-js/es6/metadata.js +0 -1
  1586. package/build/ext/libphonenumber-js/es6/parseIncompletePhoneNumber.js +0 -1
  1587. package/build/ext/libphonenumber-js/es6/parsePhoneNumber.js +0 -1
  1588. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString.js +0 -1
  1589. package/build/ext/libphonenumber-js/es6/parsePhoneNumberFromString_.js +0 -1
  1590. package/build/ext/libphonenumber-js/es6/parsePhoneNumber_.js +0 -1
  1591. package/build/ext/libphonenumber-js/es6/parse_.js +0 -1
  1592. package/build/ext/libphonenumber-js/es6/tools/semver-compare.js +0 -1
  1593. package/build/ext/libphonenumber-js/es6/validate_.js +0 -1
  1594. package/build/ext/libphonenumber-js/metadata.min.json.js +0 -1
  1595. package/build/ext/lodash/_DataView.js +0 -1
  1596. package/build/ext/lodash/_Hash.js +0 -1
  1597. package/build/ext/lodash/_ListCache.js +0 -1
  1598. package/build/ext/lodash/_Map.js +0 -1
  1599. package/build/ext/lodash/_MapCache.js +0 -1
  1600. package/build/ext/lodash/_Promise.js +0 -1
  1601. package/build/ext/lodash/_Set.js +0 -1
  1602. package/build/ext/lodash/_SetCache.js +0 -1
  1603. package/build/ext/lodash/_Stack.js +0 -1
  1604. package/build/ext/lodash/_Symbol.js +0 -1
  1605. package/build/ext/lodash/_Uint8Array.js +0 -1
  1606. package/build/ext/lodash/_WeakMap.js +0 -1
  1607. package/build/ext/lodash/_apply.js +0 -1
  1608. package/build/ext/lodash/_arrayAggregator.js +0 -1
  1609. package/build/ext/lodash/_arrayEach.js +0 -1
  1610. package/build/ext/lodash/_arrayFilter.js +0 -1
  1611. package/build/ext/lodash/_arrayIncludes.js +0 -1
  1612. package/build/ext/lodash/_arrayIncludesWith.js +0 -1
  1613. package/build/ext/lodash/_arrayLikeKeys.js +0 -1
  1614. package/build/ext/lodash/_arrayMap.js +0 -1
  1615. package/build/ext/lodash/_arrayPush.js +0 -1
  1616. package/build/ext/lodash/_arraySome.js +0 -1
  1617. package/build/ext/lodash/_assignValue.js +0 -1
  1618. package/build/ext/lodash/_assocIndexOf.js +0 -1
  1619. package/build/ext/lodash/_baseAggregator.js +0 -1
  1620. package/build/ext/lodash/_baseAssign.js +0 -1
  1621. package/build/ext/lodash/_baseAssignIn.js +0 -1
  1622. package/build/ext/lodash/_baseAssignValue.js +0 -1
  1623. package/build/ext/lodash/_baseClone.js +0 -1
  1624. package/build/ext/lodash/_baseCreate.js +0 -1
  1625. package/build/ext/lodash/_baseEach.js +0 -1
  1626. package/build/ext/lodash/_baseFindIndex.js +0 -1
  1627. package/build/ext/lodash/_baseFlatten.js +0 -1
  1628. package/build/ext/lodash/_baseFor.js +0 -1
  1629. package/build/ext/lodash/_baseForOwn.js +0 -1
  1630. package/build/ext/lodash/_baseGet.js +0 -1
  1631. package/build/ext/lodash/_baseGetAllKeys.js +0 -1
  1632. package/build/ext/lodash/_baseGetTag.js +0 -1
  1633. package/build/ext/lodash/_baseHasIn.js +0 -1
  1634. package/build/ext/lodash/_baseIndexOf.js +0 -1
  1635. package/build/ext/lodash/_baseIsArguments.js +0 -1
  1636. package/build/ext/lodash/_baseIsEqual.js +0 -1
  1637. package/build/ext/lodash/_baseIsEqualDeep.js +0 -1
  1638. package/build/ext/lodash/_baseIsMap.js +0 -1
  1639. package/build/ext/lodash/_baseIsMatch.js +0 -1
  1640. package/build/ext/lodash/_baseIsNaN.js +0 -1
  1641. package/build/ext/lodash/_baseIsNative.js +0 -1
  1642. package/build/ext/lodash/_baseIsSet.js +0 -1
  1643. package/build/ext/lodash/_baseIsTypedArray.js +0 -1
  1644. package/build/ext/lodash/_baseIteratee.js +0 -1
  1645. package/build/ext/lodash/_baseKeys.js +0 -1
  1646. package/build/ext/lodash/_baseKeysIn.js +0 -1
  1647. package/build/ext/lodash/_baseMap.js +0 -1
  1648. package/build/ext/lodash/_baseMatches.js +0 -1
  1649. package/build/ext/lodash/_baseMatchesProperty.js +0 -1
  1650. package/build/ext/lodash/_baseOrderBy.js +0 -1
  1651. package/build/ext/lodash/_baseProperty.js +0 -1
  1652. package/build/ext/lodash/_basePropertyDeep.js +0 -1
  1653. package/build/ext/lodash/_baseRest.js +0 -1
  1654. package/build/ext/lodash/_baseSetToString.js +0 -1
  1655. package/build/ext/lodash/_baseSortBy.js +0 -1
  1656. package/build/ext/lodash/_baseTimes.js +0 -1
  1657. package/build/ext/lodash/_baseToString.js +0 -1
  1658. package/build/ext/lodash/_baseUnary.js +0 -1
  1659. package/build/ext/lodash/_baseUniq.js +0 -1
  1660. package/build/ext/lodash/_cacheHas.js +0 -1
  1661. package/build/ext/lodash/_castFunction.js +0 -1
  1662. package/build/ext/lodash/_castPath.js +0 -1
  1663. package/build/ext/lodash/_cloneArrayBuffer.js +0 -1
  1664. package/build/ext/lodash/_cloneBuffer.js +0 -1
  1665. package/build/ext/lodash/_cloneDataView.js +0 -1
  1666. package/build/ext/lodash/_cloneRegExp.js +0 -1
  1667. package/build/ext/lodash/_cloneSymbol.js +0 -1
  1668. package/build/ext/lodash/_cloneTypedArray.js +0 -1
  1669. package/build/ext/lodash/_compareAscending.js +0 -1
  1670. package/build/ext/lodash/_compareMultiple.js +0 -1
  1671. package/build/ext/lodash/_copyArray.js +0 -1
  1672. package/build/ext/lodash/_copyObject.js +0 -1
  1673. package/build/ext/lodash/_copySymbols.js +0 -1
  1674. package/build/ext/lodash/_copySymbolsIn.js +0 -1
  1675. package/build/ext/lodash/_coreJsData.js +0 -1
  1676. package/build/ext/lodash/_createAggregator.js +0 -1
  1677. package/build/ext/lodash/_createBaseEach.js +0 -1
  1678. package/build/ext/lodash/_createBaseFor.js +0 -1
  1679. package/build/ext/lodash/_createSet.js +0 -1
  1680. package/build/ext/lodash/_defineProperty.js +0 -1
  1681. package/build/ext/lodash/_equalArrays.js +0 -1
  1682. package/build/ext/lodash/_equalByTag.js +0 -1
  1683. package/build/ext/lodash/_equalObjects.js +0 -1
  1684. package/build/ext/lodash/_freeGlobal.js +0 -1
  1685. package/build/ext/lodash/_getAllKeys.js +0 -1
  1686. package/build/ext/lodash/_getAllKeysIn.js +0 -1
  1687. package/build/ext/lodash/_getMapData.js +0 -1
  1688. package/build/ext/lodash/_getMatchData.js +0 -1
  1689. package/build/ext/lodash/_getNative.js +0 -1
  1690. package/build/ext/lodash/_getPrototype.js +0 -1
  1691. package/build/ext/lodash/_getRawTag.js +0 -1
  1692. package/build/ext/lodash/_getSymbols.js +0 -1
  1693. package/build/ext/lodash/_getSymbolsIn.js +0 -1
  1694. package/build/ext/lodash/_getTag.js +0 -1
  1695. package/build/ext/lodash/_getValue.js +0 -1
  1696. package/build/ext/lodash/_hasPath.js +0 -1
  1697. package/build/ext/lodash/_hashClear.js +0 -1
  1698. package/build/ext/lodash/_hashDelete.js +0 -1
  1699. package/build/ext/lodash/_hashGet.js +0 -1
  1700. package/build/ext/lodash/_hashHas.js +0 -1
  1701. package/build/ext/lodash/_hashSet.js +0 -1
  1702. package/build/ext/lodash/_initCloneArray.js +0 -1
  1703. package/build/ext/lodash/_initCloneByTag.js +0 -1
  1704. package/build/ext/lodash/_initCloneObject.js +0 -1
  1705. package/build/ext/lodash/_isFlattenable.js +0 -1
  1706. package/build/ext/lodash/_isIndex.js +0 -1
  1707. package/build/ext/lodash/_isIterateeCall.js +0 -1
  1708. package/build/ext/lodash/_isKey.js +0 -1
  1709. package/build/ext/lodash/_isKeyable.js +0 -1
  1710. package/build/ext/lodash/_isMasked.js +0 -1
  1711. package/build/ext/lodash/_isPrototype.js +0 -1
  1712. package/build/ext/lodash/_isStrictComparable.js +0 -1
  1713. package/build/ext/lodash/_listCacheClear.js +0 -1
  1714. package/build/ext/lodash/_listCacheDelete.js +0 -1
  1715. package/build/ext/lodash/_listCacheGet.js +0 -1
  1716. package/build/ext/lodash/_listCacheHas.js +0 -1
  1717. package/build/ext/lodash/_listCacheSet.js +0 -1
  1718. package/build/ext/lodash/_mapCacheClear.js +0 -1
  1719. package/build/ext/lodash/_mapCacheDelete.js +0 -1
  1720. package/build/ext/lodash/_mapCacheGet.js +0 -1
  1721. package/build/ext/lodash/_mapCacheHas.js +0 -1
  1722. package/build/ext/lodash/_mapCacheSet.js +0 -1
  1723. package/build/ext/lodash/_mapToArray.js +0 -1
  1724. package/build/ext/lodash/_matchesStrictComparable.js +0 -1
  1725. package/build/ext/lodash/_memoizeCapped.js +0 -1
  1726. package/build/ext/lodash/_nativeCreate.js +0 -1
  1727. package/build/ext/lodash/_nativeKeys.js +0 -1
  1728. package/build/ext/lodash/_nativeKeysIn.js +0 -1
  1729. package/build/ext/lodash/_nodeUtil.js +0 -1
  1730. package/build/ext/lodash/_objectToString.js +0 -1
  1731. package/build/ext/lodash/_overArg.js +0 -1
  1732. package/build/ext/lodash/_overRest.js +0 -1
  1733. package/build/ext/lodash/_root.js +0 -1
  1734. package/build/ext/lodash/_setCacheAdd.js +0 -1
  1735. package/build/ext/lodash/_setCacheHas.js +0 -1
  1736. package/build/ext/lodash/_setToArray.js +0 -1
  1737. package/build/ext/lodash/_setToString.js +0 -1
  1738. package/build/ext/lodash/_shortOut.js +0 -1
  1739. package/build/ext/lodash/_stackClear.js +0 -1
  1740. package/build/ext/lodash/_stackDelete.js +0 -1
  1741. package/build/ext/lodash/_stackGet.js +0 -1
  1742. package/build/ext/lodash/_stackHas.js +0 -1
  1743. package/build/ext/lodash/_stackSet.js +0 -1
  1744. package/build/ext/lodash/_strictIndexOf.js +0 -1
  1745. package/build/ext/lodash/_stringToPath.js +0 -1
  1746. package/build/ext/lodash/_toKey.js +0 -1
  1747. package/build/ext/lodash/_toSource.js +0 -1
  1748. package/build/ext/lodash/cloneDeep.js +0 -1
  1749. package/build/ext/lodash/constant.js +0 -1
  1750. package/build/ext/lodash/debounce.js +0 -1
  1751. package/build/ext/lodash/eq.js +0 -1
  1752. package/build/ext/lodash/flatten.js +0 -1
  1753. package/build/ext/lodash/forEach.js +0 -1
  1754. package/build/ext/lodash/get.js +0 -1
  1755. package/build/ext/lodash/groupBy.js +0 -1
  1756. package/build/ext/lodash/hasIn.js +0 -1
  1757. package/build/ext/lodash/identity.js +0 -1
  1758. package/build/ext/lodash/isArguments.js +0 -1
  1759. package/build/ext/lodash/isArray.js +0 -1
  1760. package/build/ext/lodash/isArrayLike.js +0 -1
  1761. package/build/ext/lodash/isBuffer.js +0 -1
  1762. package/build/ext/lodash/isFunction.js +0 -1
  1763. package/build/ext/lodash/isLength.js +0 -1
  1764. package/build/ext/lodash/isMap.js +0 -1
  1765. package/build/ext/lodash/isObject.js +0 -1
  1766. package/build/ext/lodash/isObjectLike.js +0 -1
  1767. package/build/ext/lodash/isSet.js +0 -1
  1768. package/build/ext/lodash/isSymbol.js +0 -1
  1769. package/build/ext/lodash/isTypedArray.js +0 -1
  1770. package/build/ext/lodash/keys.js +0 -1
  1771. package/build/ext/lodash/keysIn.js +0 -1
  1772. package/build/ext/lodash/memoize.js +0 -1
  1773. package/build/ext/lodash/noop.js +0 -1
  1774. package/build/ext/lodash/now.js +0 -1
  1775. package/build/ext/lodash/property.js +0 -1
  1776. package/build/ext/lodash/sortBy.js +0 -1
  1777. package/build/ext/lodash/stubArray.js +0 -1
  1778. package/build/ext/lodash/stubFalse.js +0 -1
  1779. package/build/ext/lodash/toNumber.js +0 -1
  1780. package/build/ext/lodash/toString.js +0 -1
  1781. package/build/ext/lodash/uniq.js +0 -1
  1782. package/build/ext/lodash/uniqBy.js +0 -1
  1783. package/build/ext/lzutf8/build/production/lzutf8.js +0 -11
  1784. package/build/ext/ms/index.js +0 -1
  1785. package/build/ext/object-assign/index.js +0 -6
  1786. package/build/ext/prop-types/checkPropTypes.js +0 -1
  1787. package/build/ext/prop-types/factoryWithThrowingShims.js +0 -1
  1788. package/build/ext/prop-types/factoryWithTypeCheckers.js +0 -1
  1789. package/build/ext/prop-types/index.js +0 -1
  1790. package/build/ext/prop-types/lib/ReactPropTypesSecret.js +0 -1
  1791. package/build/ext/query-string/index.js +0 -1
  1792. package/build/ext/react-is/cjs/react-is.development.js +0 -9
  1793. package/build/ext/react-is/cjs/react-is.production.min.js +0 -9
  1794. package/build/ext/react-is/index.js +0 -1
  1795. package/build/ext/react-property/lib/index.js +0 -1
  1796. package/build/ext/react-property/lib/possibleStandardNamesOptimized.js +0 -1
  1797. package/build/ext/react-tooltip/dist/index.es.js +0 -1
  1798. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/bytesToUuid.js +0 -1
  1799. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/rng.js +0 -1
  1800. package/build/ext/react-tooltip/ext/uuid/dist/esm-node/v4.js +0 -1
  1801. package/build/ext/readable-stream/errors.js +0 -1
  1802. package/build/ext/readable-stream/lib/_registry.js +0 -1
  1803. package/build/ext/readable-stream/lib/_stream_duplex.js +0 -1
  1804. package/build/ext/readable-stream/lib/_stream_passthrough.js +0 -1
  1805. package/build/ext/readable-stream/lib/_stream_readable.js +0 -1
  1806. package/build/ext/readable-stream/lib/_stream_transform.js +0 -1
  1807. package/build/ext/readable-stream/lib/_stream_writable.js +0 -1
  1808. package/build/ext/readable-stream/lib/internal/streams/async_iterator.js +0 -1
  1809. package/build/ext/readable-stream/lib/internal/streams/buffer_list.js +0 -1
  1810. package/build/ext/readable-stream/lib/internal/streams/destroy.js +0 -1
  1811. package/build/ext/readable-stream/lib/internal/streams/end-of-stream.js +0 -1
  1812. package/build/ext/readable-stream/lib/internal/streams/from.js +0 -1
  1813. package/build/ext/readable-stream/lib/internal/streams/pipeline.js +0 -1
  1814. package/build/ext/readable-stream/lib/internal/streams/state.js +0 -1
  1815. package/build/ext/readable-stream/lib/internal/streams/stream.js +0 -1
  1816. package/build/ext/readable-stream/readable.js +0 -1
  1817. package/build/ext/safe-buffer/index.js +0 -1
  1818. package/build/ext/split-on-first/index.js +0 -1
  1819. package/build/ext/strict-uri-encode/index.js +0 -1
  1820. package/build/ext/string_decoder/lib/string_decoder.js +0 -1
  1821. package/build/ext/style-inject/dist/style-inject.es.js +0 -1
  1822. package/build/ext/style-to-js/cjs/index.js +0 -1
  1823. package/build/ext/style-to-js/cjs/utilities.js +0 -1
  1824. package/build/ext/style-to-object/index.js +0 -1
  1825. package/build/ext/supports-color/index.js +0 -1
  1826. package/build/ext/tslib/tslib.es6.js +0 -15
  1827. package/build/ext/util-deprecate/node.js +0 -1
  1828. package/build/ext/uuid/dist/esm-node/regex.js +0 -1
  1829. package/build/ext/uuid/dist/esm-node/rng.js +0 -1
  1830. package/build/ext/uuid/dist/esm-node/stringify.js +0 -1
  1831. package/build/ext/uuid/dist/esm-node/v4.js +0 -1
  1832. package/build/ext/uuid/dist/esm-node/validate.js +0 -1
  1833. package/build/ikas.cjs +0 -2
  1834. package/build/index.d.ts +0 -10
  1835. package/build/index.js +0 -1
  1836. package/build/models/data/blog/enums.d.ts +0 -2
  1837. package/build/models/data/blog/index.d.ts +0 -33
  1838. package/build/models/data/blog/index.js +0 -1
  1839. package/build/models/data/brand/enums.d.ts +0 -2
  1840. package/build/models/data/brand/index.d.ts +0 -17
  1841. package/build/models/data/brand/index.js +0 -1
  1842. package/build/models/data/cart/campaign-offer/enums.d.ts +0 -3
  1843. package/build/models/data/cart/campaign-offer/index.d.ts +0 -8
  1844. package/build/models/data/cart/campaign-offer/index.js +0 -1
  1845. package/build/models/data/cart/enums.d.ts +0 -2
  1846. package/build/models/data/cart/index.d.ts +0 -20
  1847. package/build/models/data/cart/index.js +0 -1
  1848. package/build/models/data/category/enums.d.ts +0 -2
  1849. package/build/models/data/category/index.d.ts +0 -39
  1850. package/build/models/data/category/index.js +0 -1
  1851. package/build/models/data/checkout/index.d.ts +0 -18
  1852. package/build/models/data/checkout/index.js +0 -1
  1853. package/build/models/data/checkout-settings/enums.d.ts +0 -2
  1854. package/build/models/data/checkout-settings/index.d.ts +0 -13
  1855. package/build/models/data/checkout-settings/index.js +0 -1
  1856. package/build/models/data/city/index.d.ts +0 -3
  1857. package/build/models/data/city/index.js +0 -1
  1858. package/build/models/data/contact-form/index.d.ts +0 -7
  1859. package/build/models/data/contact-form/index.js +0 -1
  1860. package/build/models/data/country/index.d.ts +0 -3
  1861. package/build/models/data/country/index.js +0 -1
  1862. package/build/models/data/customer/address/index.d.ts +0 -55
  1863. package/build/models/data/customer/address/index.js +0 -1
  1864. package/build/models/data/customer/attribute-value/index.d.ts +0 -7
  1865. package/build/models/data/customer/attribute-value/index.js +0 -1
  1866. package/build/models/data/customer/enums.d.ts +0 -4
  1867. package/build/models/data/customer/index.d.ts +0 -39
  1868. package/build/models/data/customer/index.js +0 -1
  1869. package/build/models/data/customer-attribute/customer-attribute-option/index.d.ts +0 -3
  1870. package/build/models/data/customer-attribute/customer-attribute-option/index.js +0 -1
  1871. package/build/models/data/customer-attribute/customer-attribute-sales-channel/enums.d.ts +0 -3
  1872. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.d.ts +0 -8
  1873. package/build/models/data/customer-attribute/customer-attribute-sales-channel/index.js +0 -1
  1874. package/build/models/data/customer-attribute/enums.d.ts +0 -2
  1875. package/build/models/data/customer-attribute/index.d.ts +0 -22
  1876. package/build/models/data/customer-attribute/index.js +0 -1
  1877. package/build/models/data/customer-review/enums.d.ts +0 -2
  1878. package/build/models/data/customer-review/index.d.ts +0 -11
  1879. package/build/models/data/customer-review/index.js +0 -1
  1880. package/build/models/data/customer-review-summary/index.d.ts +0 -8
  1881. package/build/models/data/customer-review-summary/index.js +0 -1
  1882. package/build/models/data/district/index.d.ts +0 -3
  1883. package/build/models/data/district/index.js +0 -1
  1884. package/build/models/data/favorite-product/index.d.ts +0 -3
  1885. package/build/models/data/favorite-product/index.js +0 -1
  1886. package/build/models/data/html-meta-data/enums.d.ts +0 -2
  1887. package/build/models/data/html-meta-data/index.d.ts +0 -12
  1888. package/build/models/data/html-meta-data/index.js +0 -1
  1889. package/build/models/data/image/index.d.ts +0 -19
  1890. package/build/models/data/image/index.js +0 -1
  1891. package/build/models/data/index.d.ts +0 -65
  1892. package/build/models/data/merchant-settings/index.d.ts +0 -6
  1893. package/build/models/data/merchant-settings/index.js +0 -1
  1894. package/build/models/data/order/address/index.d.ts +0 -51
  1895. package/build/models/data/order/address/index.js +0 -1
  1896. package/build/models/data/order/adjustment/enums.d.ts +0 -4
  1897. package/build/models/data/order/adjustment/index.d.ts +0 -9
  1898. package/build/models/data/order/adjustment/index.js +0 -1
  1899. package/build/models/data/order/customer/index.d.ts +0 -10
  1900. package/build/models/data/order/customer/index.js +0 -1
  1901. package/build/models/data/order/enums.d.ts +0 -6
  1902. package/build/models/data/order/gift-line/index.d.ts +0 -3
  1903. package/build/models/data/order/gift-line/index.js +0 -1
  1904. package/build/models/data/order/index.d.ts +0 -54
  1905. package/build/models/data/order/index.js +0 -1
  1906. package/build/models/data/order/invoice/enums.d.ts +0 -2
  1907. package/build/models/data/order/invoice/index.d.ts +0 -7
  1908. package/build/models/data/order/invoice/index.js +0 -1
  1909. package/build/models/data/order/line-item/discount/index.d.ts +0 -6
  1910. package/build/models/data/order/line-item/discount/index.js +0 -1
  1911. package/build/models/data/order/line-item/enums.d.ts +0 -2
  1912. package/build/models/data/order/line-item/index.d.ts +0 -21
  1913. package/build/models/data/order/line-item/index.js +0 -1
  1914. package/build/models/data/order/line-item/option/index.d.ts +0 -9
  1915. package/build/models/data/order/line-item/option/index.js +0 -1
  1916. package/build/models/data/order/line-item/option/value/index.d.ts +0 -3
  1917. package/build/models/data/order/line-item/option/value/index.js +0 -1
  1918. package/build/models/data/order/line-item/variant/index.d.ts +0 -22
  1919. package/build/models/data/order/line-item/variant/index.js +0 -1
  1920. package/build/models/data/order/package/enums.d.ts +0 -2
  1921. package/build/models/data/order/package/index.d.ts +0 -9
  1922. package/build/models/data/order/package/index.js +0 -1
  1923. package/build/models/data/order/package/tracking-info/index.d.ts +0 -3
  1924. package/build/models/data/order/package/tracking-info/index.js +0 -1
  1925. package/build/models/data/order/payment-method/enums.d.ts +0 -2
  1926. package/build/models/data/order/payment-method/index.d.ts +0 -7
  1927. package/build/models/data/order/payment-method/index.js +0 -1
  1928. package/build/models/data/order/refund/index.d.ts +0 -6
  1929. package/build/models/data/order/refund/index.js +0 -1
  1930. package/build/models/data/order/refund/line-item/index.d.ts +0 -3
  1931. package/build/models/data/order/refund/line-item/index.js +0 -1
  1932. package/build/models/data/order/refund/settings/index.d.ts +0 -6
  1933. package/build/models/data/order/refund/settings/index.js +0 -1
  1934. package/build/models/data/order/shipping-line/index.d.ts +0 -3
  1935. package/build/models/data/order/shipping-line/index.js +0 -1
  1936. package/build/models/data/order/tax-line/index.d.ts +0 -3
  1937. package/build/models/data/order/tax-line/index.js +0 -1
  1938. package/build/models/data/order/transaction/enums.d.ts +0 -5
  1939. package/build/models/data/order/transaction/index.d.ts +0 -37
  1940. package/build/models/data/order/transaction/index.js +0 -1
  1941. package/build/models/data/payment-gateway/additional-price/index.d.ts +0 -7
  1942. package/build/models/data/payment-gateway/additional-price/index.js +0 -1
  1943. package/build/models/data/payment-gateway/enums.d.ts +0 -5
  1944. package/build/models/data/payment-gateway/index.d.ts +0 -37
  1945. package/build/models/data/payment-gateway/index.js +0 -1
  1946. package/build/models/data/product/attribute-value/index.d.ts +0 -20
  1947. package/build/models/data/product/attribute-value/index.js +0 -1
  1948. package/build/models/data/product/index.d.ts +0 -36
  1949. package/build/models/data/product/index.js +0 -1
  1950. package/build/models/data/product/variant/index.d.ts +0 -27
  1951. package/build/models/data/product/variant/index.js +0 -1
  1952. package/build/models/data/product/variant/price/index.d.ts +0 -9
  1953. package/build/models/data/product/variant/price/index.js +0 -1
  1954. package/build/models/data/product/variant-type/index.d.ts +0 -6
  1955. package/build/models/data/product/variant-type/index.js +0 -1
  1956. package/build/models/data/product-attribute/index.d.ts +0 -34
  1957. package/build/models/data/product-attribute/index.js +0 -1
  1958. package/build/models/data/product-attribute/option/index.d.ts +0 -5
  1959. package/build/models/data/product-attribute/option/index.js +0 -1
  1960. package/build/models/data/product-attribute/table-cell/index.d.ts +0 -5
  1961. package/build/models/data/product-attribute/table-cell/index.js +0 -1
  1962. package/build/models/data/product-attribute/table-template/index.d.ts +0 -6
  1963. package/build/models/data/product-attribute/table-template/index.js +0 -1
  1964. package/build/models/data/product-back-in-stock-settings/index.d.ts +0 -3
  1965. package/build/models/data/product-campaign/campaign/index.d.ts +0 -41
  1966. package/build/models/data/product-campaign/campaign/index.js +0 -1
  1967. package/build/models/data/product-campaign/filter/index.d.ts +0 -13
  1968. package/build/models/data/product-campaign/filter/index.js +0 -1
  1969. package/build/models/data/product-campaign/index.d.ts +0 -6
  1970. package/build/models/data/product-campaign/index.js +0 -1
  1971. package/build/models/data/product-campaign/product-buyx-then-gety/index.d.ts +0 -19
  1972. package/build/models/data/product-campaign/product-buyx-then-gety/index.js +0 -1
  1973. package/build/models/data/product-campaign/product-campaign-date-range-field/index.d.ts +0 -5
  1974. package/build/models/data/product-campaign/product-campaign-date-range-field/index.js +0 -1
  1975. package/build/models/data/product-campaign/product-fixed-discount/index.d.ts +0 -13
  1976. package/build/models/data/product-campaign/product-fixed-discount/index.js +0 -1
  1977. package/build/models/data/product-filter/index.d.ts +0 -113
  1978. package/build/models/data/product-filter/index.js +0 -1
  1979. package/build/models/data/product-option-set/enums.d.ts +0 -3
  1980. package/build/models/data/product-option-set/index.d.ts +0 -102
  1981. package/build/models/data/product-option-set/index.js +0 -1
  1982. package/build/models/data/product-tag/index.d.ts +0 -5
  1983. package/build/models/data/product-tag/index.js +0 -1
  1984. package/build/models/data/raffle/index.d.ts +0 -68
  1985. package/build/models/data/raffle/index.js +0 -1
  1986. package/build/models/data/sales-channel/index.d.ts +0 -18
  1987. package/build/models/data/sales-channel/index.js +0 -1
  1988. package/build/models/data/slider/index.d.ts +0 -5
  1989. package/build/models/data/slider/index.js +0 -1
  1990. package/build/models/data/state/index.d.ts +0 -3
  1991. package/build/models/data/state/index.js +0 -1
  1992. package/build/models/data/storefront/domain/index.d.ts +0 -8
  1993. package/build/models/data/storefront/domain/index.js +0 -1
  1994. package/build/models/data/storefront/index.d.ts +0 -27
  1995. package/build/models/data/storefront/index.js +0 -1
  1996. package/build/models/data/storefront/localization/index.d.ts +0 -7
  1997. package/build/models/data/storefront/localization/index.js +0 -1
  1998. package/build/models/data/storefront/routing/dynamic-currency/index.d.ts +0 -5
  1999. package/build/models/data/storefront/routing/dynamic-currency/index.js +0 -1
  2000. package/build/models/data/storefront/routing/index.d.ts +0 -11
  2001. package/build/models/data/storefront/routing/index.js +0 -1
  2002. package/build/models/data/storefront/theme/index.d.ts +0 -13
  2003. package/build/models/data/storefront/theme/index.js +0 -1
  2004. package/build/models/data/storefront/theme-localization/index.d.ts +0 -12
  2005. package/build/models/data/storefront/theme-localization/index.js +0 -1
  2006. package/build/models/data/variant-type/index.d.ts +0 -26
  2007. package/build/models/data/variant-type/index.js +0 -1
  2008. package/build/models/data/variant-type/variant-value/index.d.ts +0 -11
  2009. package/build/models/data/variant-type/variant-value/index.js +0 -1
  2010. package/build/models/index.d.ts +0 -3
  2011. package/build/models/theme/component/index.d.ts +0 -19
  2012. package/build/models/theme/component/index.js +0 -1
  2013. package/build/models/theme/component/prop/index.d.ts +0 -63
  2014. package/build/models/theme/component/prop/index.js +0 -1
  2015. package/build/models/theme/custom-data/index.d.ts +0 -43
  2016. package/build/models/theme/custom-data/index.js +0 -1
  2017. package/build/models/theme/index.d.ts +0 -20
  2018. package/build/models/theme/page/component/index.d.ts +0 -6
  2019. package/build/models/theme/page/component/index.js +0 -1
  2020. package/build/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
  2021. package/build/models/theme/page/component/prop-value/attribute.d.ts +0 -7
  2022. package/build/models/theme/page/component/prop-value/blog-category-list.d.ts +0 -7
  2023. package/build/models/theme/page/component/prop-value/blog-category-list.js +0 -1
  2024. package/build/models/theme/page/component/prop-value/blog-category.d.ts +0 -5
  2025. package/build/models/theme/page/component/prop-value/blog-category.js +0 -1
  2026. package/build/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
  2027. package/build/models/theme/page/component/prop-value/blog-list.js +0 -1
  2028. package/build/models/theme/page/component/prop-value/blog.d.ts +0 -5
  2029. package/build/models/theme/page/component/prop-value/blog.js +0 -1
  2030. package/build/models/theme/page/component/prop-value/brand-list.d.ts +0 -9
  2031. package/build/models/theme/page/component/prop-value/brand-list.js +0 -1
  2032. package/build/models/theme/page/component/prop-value/brand.d.ts +0 -5
  2033. package/build/models/theme/page/component/prop-value/brand.js +0 -1
  2034. package/build/models/theme/page/component/prop-value/category-list.d.ts +0 -9
  2035. package/build/models/theme/page/component/prop-value/category-list.js +0 -1
  2036. package/build/models/theme/page/component/prop-value/category.d.ts +0 -5
  2037. package/build/models/theme/page/component/prop-value/category.js +0 -1
  2038. package/build/models/theme/page/component/prop-value/link.d.ts +0 -19
  2039. package/build/models/theme/page/component/prop-value/link.js +0 -1
  2040. package/build/models/theme/page/component/prop-value/product-detail.d.ts +0 -6
  2041. package/build/models/theme/page/component/prop-value/product-detail.js +0 -1
  2042. package/build/models/theme/page/component/prop-value/product-list.d.ts +0 -18
  2043. package/build/models/theme/page/component/prop-value/product-list.js +0 -1
  2044. package/build/models/theme/page/component/prop-value/raffle-list.d.ts +0 -5
  2045. package/build/models/theme/page/component/prop-value/raffle-list.js +0 -1
  2046. package/build/models/theme/page/component/prop-value/raffle.d.ts +0 -5
  2047. package/build/models/theme/page/component/prop-value/raffle.js +0 -1
  2048. package/build/models/theme/page/index.d.ts +0 -45
  2049. package/build/models/theme/page/index.js +0 -1
  2050. package/build/models/theme/settings/color/index.d.ts +0 -14
  2051. package/build/models/theme/settings/color/index.js +0 -1
  2052. package/build/models/theme/settings/favicon/index.d.ts +0 -4
  2053. package/build/models/theme/settings/favicon/index.js +0 -1
  2054. package/build/models/theme/settings/font-family/index.d.ts +0 -5
  2055. package/build/models/theme/settings/font-family/index.js +0 -1
  2056. package/build/models/theme/settings/index.d.ts +0 -15
  2057. package/build/models/theme/settings/index.js +0 -1
  2058. package/build/models/theme/theme.d.ts +0 -16
  2059. package/build/models/theme/theme.js +0 -1
  2060. package/build/models/ui/blog-category-list/index.d.ts +0 -52
  2061. package/build/models/ui/blog-category-list/index.js +0 -1
  2062. package/build/models/ui/blog-list/index.d.ts +0 -56
  2063. package/build/models/ui/blog-list/index.js +0 -1
  2064. package/build/models/ui/brand-list/index.d.ts +0 -61
  2065. package/build/models/ui/brand-list/index.js +0 -1
  2066. package/build/models/ui/category-list/index.d.ts +0 -61
  2067. package/build/models/ui/category-list/index.js +0 -1
  2068. package/build/models/ui/component-renderer/index.d.ts +0 -7
  2069. package/build/models/ui/component-renderer/index.js +0 -1
  2070. package/build/models/ui/customer-review-list/index.d.ts +0 -43
  2071. package/build/models/ui/customer-review-list/index.js +0 -1
  2072. package/build/models/ui/customer-review-summary-list/index.d.ts +0 -43
  2073. package/build/models/ui/customer-review-summary-list/index.js +0 -1
  2074. package/build/models/ui/index.d.ts +0 -27
  2075. package/build/models/ui/navigation-link/index.d.ts +0 -8
  2076. package/build/models/ui/navigation-link/index.js +0 -1
  2077. package/build/models/ui/product-attribute-detail/index.d.ts +0 -8
  2078. package/build/models/ui/product-attribute-detail/index.js +0 -1
  2079. package/build/models/ui/product-attribute-list/index.d.ts +0 -9
  2080. package/build/models/ui/product-attribute-list/index.js +0 -1
  2081. package/build/models/ui/product-detail/index.d.ts +0 -39
  2082. package/build/models/ui/product-detail/index.js +0 -1
  2083. package/build/models/ui/product-list/index.d.ts +0 -141
  2084. package/build/models/ui/product-list/index.js +0 -1
  2085. package/build/models/ui/raffle-list/index.d.ts +0 -54
  2086. package/build/models/ui/raffle-list/index.js +0 -1
  2087. package/build/models/ui/validator/form/account-info.d.ts +0 -42
  2088. package/build/models/ui/validator/form/account-info.js +0 -1
  2089. package/build/models/ui/validator/form/address.d.ts +0 -78
  2090. package/build/models/ui/validator/form/address.js +0 -1
  2091. package/build/models/ui/validator/form/contact-form.d.ts +0 -45
  2092. package/build/models/ui/validator/form/contact-form.js +0 -1
  2093. package/build/models/ui/validator/form/customer-review.d.ts +0 -37
  2094. package/build/models/ui/validator/form/customer-review.js +0 -1
  2095. package/build/models/ui/validator/form/forgot-password.d.ts +0 -29
  2096. package/build/models/ui/validator/form/forgot-password.js +0 -1
  2097. package/build/models/ui/validator/form/login.d.ts +0 -35
  2098. package/build/models/ui/validator/form/login.js +0 -1
  2099. package/build/models/ui/validator/form/raffle-form.d.ts +0 -60
  2100. package/build/models/ui/validator/form/raffle-form.js +0 -1
  2101. package/build/models/ui/validator/form/recover-password.d.ts +0 -36
  2102. package/build/models/ui/validator/form/recover-password.js +0 -1
  2103. package/build/models/ui/validator/form/register.d.ts +0 -52
  2104. package/build/models/ui/validator/form/register.js +0 -1
  2105. package/build/models/ui/validator/index.d.ts +0 -27
  2106. package/build/models/ui/validator/index.js +0 -1
  2107. package/build/models/ui/validator/rules/index.d.ts +0 -91
  2108. package/build/models/ui/validator/rules/index.js +0 -1
  2109. package/build/pages/404.d.ts +0 -6
  2110. package/build/pages/404.js +0 -1
  2111. package/build/pages/[slug]/index.d.ts +0 -7
  2112. package/build/pages/_slug_/index.js +0 -1
  2113. package/build/pages/account/addresses.d.ts +0 -6
  2114. package/build/pages/account/addresses.js +0 -1
  2115. package/build/pages/account/favorite-products.d.ts +0 -6
  2116. package/build/pages/account/favorite-products.js +0 -1
  2117. package/build/pages/account/forgot-password.d.ts +0 -6
  2118. package/build/pages/account/forgot-password.js +0 -1
  2119. package/build/pages/account/index.d.ts +0 -6
  2120. package/build/pages/account/index.js +0 -1
  2121. package/build/pages/account/login.d.ts +0 -6
  2122. package/build/pages/account/login.js +0 -1
  2123. package/build/pages/account/orders/[id].d.ts +0 -6
  2124. package/build/pages/account/orders/_id_.js +0 -1
  2125. package/build/pages/account/orders/index.d.ts +0 -6
  2126. package/build/pages/account/orders/index.js +0 -1
  2127. package/build/pages/account/raffles.d.ts +0 -6
  2128. package/build/pages/account/raffles.js +0 -1
  2129. package/build/pages/account/recover-password.d.ts +0 -6
  2130. package/build/pages/account/recover-password.js +0 -1
  2131. package/build/pages/account/register.d.ts +0 -6
  2132. package/build/pages/account/register.js +0 -1
  2133. package/build/pages/blog/[slug].d.ts +0 -7
  2134. package/build/pages/blog/_slug_.js +0 -1
  2135. package/build/pages/blog/index.d.ts +0 -6
  2136. package/build/pages/blog/index.js +0 -1
  2137. package/build/pages/cart.d.ts +0 -6
  2138. package/build/pages/cart.js +0 -1
  2139. package/build/pages/checkout.d.ts +0 -18
  2140. package/build/pages/checkout.js +0 -1
  2141. package/build/pages/editor.d.ts +0 -10
  2142. package/build/pages/editor.js +0 -1
  2143. package/build/pages/home.d.ts +0 -6
  2144. package/build/pages/home.js +0 -1
  2145. package/build/pages/index.d.ts +0 -22
  2146. package/build/pages/pages/[slug].d.ts +0 -7
  2147. package/build/pages/pages/_slug_.js +0 -1
  2148. package/build/pages/raffle/[slug].d.ts +0 -7
  2149. package/build/pages/raffle/_slug_.js +0 -1
  2150. package/build/pages/raffle/index.d.ts +0 -6
  2151. package/build/pages/raffle/index.js +0 -1
  2152. package/build/pages/search.d.ts +0 -6
  2153. package/build/pages/search.js +0 -1
  2154. package/build/providers/helpers/raffles.d.ts +0 -2
  2155. package/build/providers/helpers/raffles.js +0 -1
  2156. package/build/providers/page-data-get.d.ts +0 -70
  2157. package/build/providers/page-data-get.js +0 -1
  2158. package/build/providers/page-data-init.d.ts +0 -66
  2159. package/build/providers/page-data-init.js +0 -1
  2160. package/build/providers/page-data-next.d.ts +0 -292
  2161. package/build/providers/page-data-next.js +0 -1
  2162. package/build/providers/placeholders.d.ts +0 -7
  2163. package/build/providers/placeholders.js +0 -1
  2164. package/build/providers/prop-value/attribute-list.d.ts +0 -12
  2165. package/build/providers/prop-value/attribute-list.js +0 -1
  2166. package/build/providers/prop-value/attribute.d.ts +0 -12
  2167. package/build/providers/prop-value/attribute.js +0 -1
  2168. package/build/providers/prop-value/blog-category-list.d.ts +0 -7
  2169. package/build/providers/prop-value/blog-category-list.js +0 -1
  2170. package/build/providers/prop-value/blog-category.d.ts +0 -11
  2171. package/build/providers/prop-value/blog-category.js +0 -1
  2172. package/build/providers/prop-value/blog-list.d.ts +0 -9
  2173. package/build/providers/prop-value/blog-list.js +0 -1
  2174. package/build/providers/prop-value/blog.d.ts +0 -11
  2175. package/build/providers/prop-value/blog.js +0 -1
  2176. package/build/providers/prop-value/boolean.d.ts +0 -6
  2177. package/build/providers/prop-value/boolean.js +0 -1
  2178. package/build/providers/prop-value/brand-list.d.ts +0 -7
  2179. package/build/providers/prop-value/brand-list.js +0 -1
  2180. package/build/providers/prop-value/brand.d.ts +0 -11
  2181. package/build/providers/prop-value/brand.js +0 -1
  2182. package/build/providers/prop-value/category-list.d.ts +0 -7
  2183. package/build/providers/prop-value/category-list.js +0 -1
  2184. package/build/providers/prop-value/category.d.ts +0 -11
  2185. package/build/providers/prop-value/category.js +0 -1
  2186. package/build/providers/prop-value/color.d.ts +0 -6
  2187. package/build/providers/prop-value/color.js +0 -1
  2188. package/build/providers/prop-value/custom.d.ts +0 -45
  2189. package/build/providers/prop-value/custom.js +0 -1
  2190. package/build/providers/prop-value/image-list.d.ts +0 -7
  2191. package/build/providers/prop-value/image-list.js +0 -1
  2192. package/build/providers/prop-value/image.d.ts +0 -7
  2193. package/build/providers/prop-value/image.js +0 -1
  2194. package/build/providers/prop-value/index.d.ts +0 -3
  2195. package/build/providers/prop-value/link.d.ts +0 -16
  2196. package/build/providers/prop-value/link.js +0 -1
  2197. package/build/providers/prop-value/product-detail.d.ts +0 -11
  2198. package/build/providers/prop-value/product-detail.js +0 -1
  2199. package/build/providers/prop-value/product-list.d.ts +0 -15
  2200. package/build/providers/prop-value/product-list.js +0 -1
  2201. package/build/providers/prop-value/raffle-list.d.ts +0 -5
  2202. package/build/providers/prop-value/raffle-list.js +0 -1
  2203. package/build/providers/prop-value/raffle.d.ts +0 -11
  2204. package/build/providers/prop-value/raffle.js +0 -1
  2205. package/build/providers/prop-value/rich-text.d.ts +0 -6
  2206. package/build/providers/prop-value/rich-text.js +0 -1
  2207. package/build/providers/prop-value/slider.d.ts +0 -11
  2208. package/build/providers/prop-value/slider.js +0 -1
  2209. package/build/providers/prop-value/text.d.ts +0 -6
  2210. package/build/providers/prop-value/text.js +0 -1
  2211. package/build/scripts/generators/api/index.d.ts +0 -5
  2212. package/build/scripts/generators/api/index.js +0 -1
  2213. package/build/scripts/generators/api/info.d.ts +0 -12
  2214. package/build/scripts/generators/api/info.js +0 -1
  2215. package/build/scripts/generators/components/index.d.ts +0 -6
  2216. package/build/scripts/generators/components/index.js +0 -1
  2217. package/build/scripts/generators/config/content.d.ts +0 -42
  2218. package/build/scripts/generators/config/content.js +0 -1
  2219. package/build/scripts/generators/config/index.d.ts +0 -8
  2220. package/build/scripts/generators/config/index.js +0 -1
  2221. package/build/scripts/generators/index.d.ts +0 -7
  2222. package/build/scripts/generators/pages/index.d.ts +0 -7
  2223. package/build/scripts/generators/pages/index.js +0 -1
  2224. package/build/scripts/generators/pages/info.d.ts +0 -14
  2225. package/build/scripts/generators/pages/info.js +0 -1
  2226. package/build/scripts/generators/store/content.d.ts +0 -1
  2227. package/build/scripts/generators/store/content.js +0 -1
  2228. package/build/scripts/generators/store/index.d.ts +0 -3
  2229. package/build/scripts/generators/store/index.js +0 -1
  2230. package/build/scripts/generators/theme/index.d.ts +0 -6
  2231. package/build/scripts/generators/theme/index.js +0 -1
  2232. package/build/scripts/generators/types/index.d.ts +0 -22
  2233. package/build/scripts/generators/types/index.js +0 -1
  2234. package/build/scripts/ikas.d.ts +0 -2
  2235. package/build/store/base.d.ts +0 -29
  2236. package/build/store/base.js +0 -1
  2237. package/build/store/blog/index.d.ts +0 -28
  2238. package/build/store/blog/index.js +0 -1
  2239. package/build/store/brand/index.d.ts +0 -12
  2240. package/build/store/brand/index.js +0 -1
  2241. package/build/store/cart/api.d.ts +0 -14
  2242. package/build/store/cart/api.js +0 -1
  2243. package/build/store/cart/index.d.ts +0 -28
  2244. package/build/store/cart/index.js +0 -1
  2245. package/build/store/category/index.d.ts +0 -12
  2246. package/build/store/category/index.js +0 -1
  2247. package/build/store/checkout/index.d.ts +0 -26
  2248. package/build/store/checkout/index.js +0 -1
  2249. package/build/store/customer/api.d.ts +0 -82
  2250. package/build/store/customer/api.js +0 -1
  2251. package/build/store/customer/index.d.ts +0 -79
  2252. package/build/store/customer/index.js +0 -1
  2253. package/build/store/html-meta-data/index.d.ts +0 -6
  2254. package/build/store/html-meta-data/index.js +0 -1
  2255. package/build/store/index.d.ts +0 -1
  2256. package/build/store/location/index.d.ts +0 -13
  2257. package/build/store/location/index.js +0 -1
  2258. package/build/store/merchant/index.d.ts +0 -6
  2259. package/build/store/merchant/index.js +0 -1
  2260. package/build/store/product/index.d.ts +0 -45
  2261. package/build/store/product/index.js +0 -1
  2262. package/build/store/raffle/index.d.ts +0 -18
  2263. package/build/store/raffle/index.js +0 -1
  2264. package/build/store/storefront/index.d.ts +0 -6
  2265. package/build/store/storefront/index.js +0 -1
  2266. package/build/storefront/index.d.ts +0 -67
  2267. package/build/storefront/index.js +0 -1
  2268. package/build/utils/constants.d.ts +0 -2
  2269. package/build/utils/constants.js +0 -1
  2270. package/build/utils/currency.d.ts +0 -7
  2271. package/build/utils/currency.js +0 -1
  2272. package/build/utils/fs.d.ts +0 -28
  2273. package/build/utils/fs.js +0 -1
  2274. package/build/utils/google-fonts.d.ts +0 -2
  2275. package/build/utils/google-fonts.js +0 -1
  2276. package/build/utils/helper.d.ts +0 -11
  2277. package/build/utils/helper.js +0 -1
  2278. package/build/utils/i18n.d.ts +0 -20
  2279. package/build/utils/i18n.js +0 -1
  2280. package/build/utils/index.d.ts +0 -3
@@ -0,0 +1,1466 @@
1
+ import { makeAutoObservable } from "mobx";
2
+ import { NextRouter } from "next/router.js";
3
+ import _cloneDeep from "lodash/cloneDeep";
4
+ import _sortBy from "lodash/sortBy";
5
+
6
+ import {
7
+ IkasCustomerAddress,
8
+ IkasMerchantSettings,
9
+ IkasAvailableShippingMethod,
10
+ IkasOrderLineItem,
11
+ IkasOrderTransaction,
12
+ IkasOrderCustomer,
13
+ IkasCartCampaignOfferStatus,
14
+ IkasProduct,
15
+ IkasCartCampaignOffer,
16
+ IkasCheckout,
17
+ IkasStockLocation,
18
+ IkasAvailableStockLocation,
19
+ IkasTransactionStatus,
20
+ IkasCampaignOfferTargetPageType,
21
+ IkasCampaignOfferProduct,
22
+ } from "../../models";
23
+ import { IkasOrderAddress } from "../../models/data/order/address";
24
+ import {
25
+ IkasPaymentGateway,
26
+ IkasPaymentGatewayType,
27
+ IkasPaymentMethodType,
28
+ } from "../../models/data/payment-gateway";
29
+ import { IkasOrderLineVariant } from "../../models/data/order/line-item/variant";
30
+ import { IkasStorefront } from "../../models/data/storefront";
31
+ import CreditCardData from "./components/credit-card-form/model";
32
+ import { IkasCheckoutSettings } from "../../models/data/checkout-settings";
33
+ import { TFunction } from "../../utils/i18n";
34
+ import CustomerStoreAPI from "../../store/customer/api";
35
+ import CheckoutStore from "../../store/checkout";
36
+ import CartStoreAPI from "../../store/cart/api";
37
+ import { IkasCheckoutCustomizationProps } from ".";
38
+
39
+ import MasterPassModel from "./modelMasterPass";
40
+ import { APIResponse } from "@ikas/fe-api-client";
41
+ import ProductStoreAPI from "../../store/product";
42
+ import {
43
+ CreateStripePaymentIntentResponse,
44
+ RetrieveInstallmentInfoResponse,
45
+ TransactionResponse,
46
+ UpdateCartCampaignOfferInput,
47
+ } from "@ikas/storefront-api";
48
+ import { IkasBaseStore } from "../../store";
49
+ import { IkasStorefrontConfig } from "@ikas/storefront-config";
50
+ import { Analytics } from "../../analytics";
51
+ import {
52
+ CheckStocksLineInput,
53
+ RetrieveInstallmentInfoQueryParams,
54
+ SaveCartInput,
55
+ } from "@ikas/storefront-api";
56
+
57
+ const NUMBER_ONLY_REGEX = /^\d+$/;
58
+ const MAX_CARD_NUMBER_LENGTH = 16;
59
+ const MAX_CVC_LENGTH = 4;
60
+ const USE_DIFFERENT_ADDRESS_KEY = "sAddr";
61
+ const isServer = typeof localStorage === "undefined";
62
+
63
+ export default class CheckoutViewModel {
64
+ checkout: IkasCheckout;
65
+ checkoutSettings: IkasCheckoutSettings;
66
+ storefront?: IkasStorefront | null = null;
67
+ router: NextRouter;
68
+ isCheckoutLoaded = false;
69
+ isErrorsVisible = false;
70
+ isStepLoading = false;
71
+ isTermsAndConditionsChecked = false;
72
+ isChangingShippingMethod = false;
73
+ isContactModalVisible = false;
74
+ step: CheckoutStep = CheckoutStep.INFO;
75
+ customizationProps?: IkasCheckoutCustomizationProps | null = null;
76
+
77
+ cardData?: CreditCardData | null = null;
78
+ paymentGateways: IkasPaymentGateway[] = [];
79
+ installmentInfo?: RetrieveInstallmentInfoResponse | null = null;
80
+ useDifferentAddress = false;
81
+ shouldSaveAddress = true;
82
+ addressTitle = "";
83
+
84
+ shippingCountryIds?: string[] | null = null;
85
+ selectedShippingAddressId?: string = "-1";
86
+ selectedBillingAddressId?: string = "-1";
87
+
88
+ stockLocations: IkasStockLocation[] = [];
89
+ availableStockLocations: IkasAvailableStockLocation[] = [];
90
+ deliveryMethod: "address" | "in-store" = "address";
91
+
92
+ stripeResponse: CreateStripePaymentIntentResponse | null = null;
93
+
94
+ checkoutCampaignOffer: CampaignOfferType | undefined;
95
+ postCheckoutCampaignOffer: CampaignOfferType | undefined;
96
+
97
+ returnPolicy: string;
98
+ privacyPolicy: string;
99
+ termsOfService: string;
100
+
101
+ policyModalTitle = "";
102
+ policyModalText = "";
103
+
104
+ error?: CheckoutError | null = null;
105
+
106
+ // For success step
107
+ successTransaction?: IkasOrderTransaction;
108
+
109
+ // For MasterPass Model
110
+ mpVM: MasterPassModel;
111
+ showTestModal = false;
112
+
113
+ t: TFunction;
114
+
115
+ constructor(
116
+ checkout: IkasCheckout,
117
+ checkoutSettings: IkasCheckoutSettings,
118
+ router: NextRouter,
119
+ returnPolicy: string,
120
+ privacyPolicy: string,
121
+ termsOfService: string,
122
+ t: TFunction,
123
+ customizationProps: IkasCheckoutCustomizationProps
124
+ ) {
125
+ this.checkout = checkout;
126
+ this.checkoutSettings = checkoutSettings;
127
+ this.router = router;
128
+ this.returnPolicy = returnPolicy;
129
+ this.privacyPolicy = privacyPolicy;
130
+ this.termsOfService = termsOfService;
131
+ this.t = t;
132
+ this.customizationProps = customizationProps;
133
+ this.mpVM = new MasterPassModel();
134
+
135
+ this.isTermsAndConditionsChecked =
136
+ this.checkoutSettings.isTermsAndConditionsDefaultChecked || false;
137
+
138
+ this.init();
139
+ makeAutoObservable(this);
140
+ }
141
+
142
+ init = async () => {
143
+ await IkasBaseStore.getInstance().customerStore.waitUntilInitialized();
144
+ this.createCustomer();
145
+ this.createShippingAddress();
146
+ this.createBillingAddress();
147
+ await this.getCampaignOffer();
148
+ await this.initStep();
149
+ };
150
+
151
+ initStep = async () => {
152
+ if (IkasStorefrontConfig.getIsEditor()) {
153
+ this.step = CheckoutStep.INFO;
154
+ this.isCheckoutLoaded = true;
155
+ return;
156
+ }
157
+ const queryParams = new URLSearchParams(window.location.search);
158
+ const queryStep = queryParams.get("step");
159
+ const queryFailed = queryParams.get("failed");
160
+ const queryError = queryParams.get("error");
161
+
162
+ if (queryStep) {
163
+ this.step = queryStep as CheckoutStep;
164
+
165
+ if (this.step === CheckoutStep.SHIPPING && !this.canProceedToShipping) {
166
+ return this.changeStep(CheckoutStep.INFO);
167
+ } else if (
168
+ this.step === CheckoutStep.PAYMENT &&
169
+ !this.canProceedToPayment
170
+ ) {
171
+ if (this.isInStoreDelivery) {
172
+ this.deliveryMethod = "in-store";
173
+ } else {
174
+ return this.changeStep(CheckoutStep.INFO);
175
+ }
176
+ } else if (
177
+ ![
178
+ CheckoutStep.INFO,
179
+ CheckoutStep.SUCCESS,
180
+ CheckoutStep.SHIPPING,
181
+ CheckoutStep.PAYMENT,
182
+ ].includes(this.step)
183
+ ) {
184
+ return this.changeStep(CheckoutStep.INFO);
185
+ }
186
+ }
187
+
188
+ if (queryFailed) {
189
+ this.error = {
190
+ type: ErrorType.PAYMENT_ERROR,
191
+ data: queryError || null,
192
+ };
193
+ }
194
+
195
+ if (this.step === CheckoutStep.INFO) {
196
+ await this.getShippingCountries();
197
+ this.checkShippingCountries();
198
+ await this.getStockLocations();
199
+ await this.getAvailableStockLocations();
200
+ if (this.isInStoreDelivery) {
201
+ this.deliveryMethod = "in-store";
202
+ }
203
+ }
204
+
205
+ // Skip shipping if there is only 1 shipping method
206
+ if (
207
+ this.step === CheckoutStep.SHIPPING &&
208
+ this.checkout.availableShippingMethods?.length === 1 &&
209
+ !this.checkoutSettings.isGiftPackageEnabled
210
+ ) {
211
+ this.step = CheckoutStep.PAYMENT;
212
+ this.router.replace(
213
+ `/checkout?id=${this.checkout.id}&step=${this.step}`,
214
+ undefined,
215
+ {
216
+ shallow: true,
217
+ }
218
+ );
219
+ }
220
+
221
+ // Check if there are available shipping methods for the shipping address
222
+ if (
223
+ this.step === CheckoutStep.SHIPPING &&
224
+ !this.checkout.availableShippingMethods?.length
225
+ ) {
226
+ this.error = {
227
+ type: ErrorType.NO_SHIPPING_ERROR,
228
+ };
229
+ this.isCheckoutLoaded = true;
230
+ return;
231
+ }
232
+
233
+ if (
234
+ this.step === CheckoutStep.PAYMENT ||
235
+ this.step === CheckoutStep.SUCCESS
236
+ ) {
237
+ await this.listPaymentGateways();
238
+ if (this.isInStoreDelivery) {
239
+ this.deliveryMethod = "in-store";
240
+ await this.getStockLocations();
241
+ }
242
+
243
+ if (!this.paymentGateways.length) {
244
+ this.error = {
245
+ type: ErrorType.NO_SHIPPING_ERROR,
246
+ };
247
+ this.isCheckoutLoaded = true;
248
+ return;
249
+ }
250
+ }
251
+
252
+ if (this.step === CheckoutStep.PAYMENT) {
253
+ if (this.isInStoreDelivery) {
254
+ this.checkout.billingAddress = new IkasOrderAddress();
255
+ }
256
+ }
257
+
258
+ if (this.step !== CheckoutStep.SUCCESS) {
259
+ if (this.checkout.isComplete) {
260
+ return this.changeStep(CheckoutStep.SUCCESS);
261
+ } else {
262
+ await this.initialStockCheck();
263
+ }
264
+ } else {
265
+ await this.getSuccessTransaction();
266
+
267
+ if (this.successTransaction) {
268
+ const paymentGatewayId = this.successTransaction.paymentGatewayId;
269
+ this.checkout.selectedPaymentGateway = this.paymentGateways.find(
270
+ (pg) => pg.id === paymentGatewayId
271
+ );
272
+ }
273
+ }
274
+
275
+ this.isCheckoutLoaded = true;
276
+ Analytics.checkoutStep(this.checkout, this.step as any);
277
+ };
278
+
279
+ getSuccessTransaction = async () => {
280
+ const transactionsResponse = await CustomerStoreAPI.listOrderTransactions({
281
+ orderId: { eq: this.checkout.id },
282
+ });
283
+
284
+ this.successTransaction =
285
+ transactionsResponse.isSuccess && transactionsResponse.data?.length
286
+ ? transactionsResponse.data[0]
287
+ : undefined;
288
+ };
289
+
290
+ get merchantSettings() {
291
+ return new IkasMerchantSettings(
292
+ IkasStorefrontConfig.getMerchantSettings()!
293
+ );
294
+ }
295
+
296
+ get selectedPaymentGatewayIndex() {
297
+ return this.paymentGateways.findIndex(
298
+ (pg) => pg.id === this.checkout.selectedPaymentGateway?.id
299
+ );
300
+ }
301
+
302
+ get selectedInstallmentIndex() {
303
+ return (
304
+ this.installmentInfo?.installmentPrices?.findIndex(
305
+ (ip) => ip.installmentCount === this.cardData?.installmentCount
306
+ ) || 0
307
+ );
308
+ }
309
+
310
+ get checkoutUrl() {
311
+ return `/checkout?id=${this.checkout.id}&step=info`;
312
+ }
313
+
314
+ get customerAddressOptions() {
315
+ const defaultOption = {
316
+ label: this.t("checkout-page:newAddress"),
317
+ value: "-1",
318
+ };
319
+
320
+ const addressOptions =
321
+ IkasBaseStore.getInstance().customerStore.customer?.addresses?.map(
322
+ (a) => ({
323
+ label: a.title + " - " + a.addressText,
324
+ value: a.id!,
325
+ })
326
+ ) || [];
327
+
328
+ return [defaultOption].concat(addressOptions);
329
+ }
330
+
331
+ get installmentPrice() {
332
+ if (this.installmentInfo && this.cardData?.installmentCount) {
333
+ return this.installmentInfo.installmentPrices?.find(
334
+ (ip) => ip.installmentCount === this.cardData?.installmentCount
335
+ )?.totalPrice;
336
+ }
337
+ }
338
+
339
+ get installmentExtraPrice() {
340
+ if (this.installmentPrice && this.checkout.totalFinalPrice) {
341
+ return this.installmentPrice - this.checkout.totalFinalPrice;
342
+ }
343
+ }
344
+
345
+ get finalPrice() {
346
+ if (this.step === CheckoutStep.SUCCESS)
347
+ return this.checkout.totalFinalPrice;
348
+ return this.installmentPrice || this.checkout.$totalFinalPrice;
349
+ }
350
+
351
+ get hasStockError() {
352
+ return this.error?.type === ErrorType.STOCK_ERROR;
353
+ }
354
+
355
+ // MasterPass PaymentGateway Control
356
+ get isPaymentGatewayHasMasterPass() {
357
+ if (this.selectedPaymentGatewayIndex === -1) return false;
358
+ if (!this.paymentGateways.length) return false;
359
+
360
+ return !!this.paymentGateways[this.selectedPaymentGatewayIndex]
361
+ .masterPassClientId;
362
+ }
363
+
364
+ // VALIDATIONS
365
+
366
+ get canProceedToShipping() {
367
+ return (
368
+ this.checkout.shippingAddress?.isValid &&
369
+ this.checkout.hasValidCustomerEmail &&
370
+ this.error?.type !== ErrorType.NO_SHIPPING_ERROR
371
+ );
372
+ }
373
+
374
+ get canProceedToInStoreDelivery() {
375
+ return (
376
+ !!this.checkout.shippingAddress?.firstName &&
377
+ !!this.checkout.shippingAddress?.lastName &&
378
+ !!this.checkout.customer?.email &&
379
+ !!this.checkout.stockLocationId
380
+ );
381
+ }
382
+
383
+ get canProceedToPayment() {
384
+ return this.canProceedToShipping;
385
+ }
386
+
387
+ get isInStoreDelivery() {
388
+ return !!this.checkout.stockLocationId;
389
+ }
390
+
391
+ get isCustomFlowStripe() {
392
+ const pg = this.checkout.selectedPaymentGateway;
393
+ return (
394
+ pg &&
395
+ pg.code === "STRIPE" &&
396
+ pg.settings?.find(
397
+ (setting) =>
398
+ setting.label === "allow_custom_flow" && setting.value === "true"
399
+ )
400
+ );
401
+ }
402
+
403
+ get store() {
404
+ return IkasBaseStore.getInstance();
405
+ }
406
+
407
+ get canPerformPayment() {
408
+ if (
409
+ this.checkoutSettings.showTermsAndConditionsCheckbox &&
410
+ !this.isTermsAndConditionsChecked
411
+ )
412
+ return false;
413
+
414
+ const pg = this.checkout.selectedPaymentGateway;
415
+ const isInStoreDelivery = this.deliveryMethod === "in-store";
416
+ const canProceedToShipping = isInStoreDelivery
417
+ ? true
418
+ : !!this.canProceedToShipping;
419
+ const isBillingAddressValid = !!this.checkout.billingAddress?.isValid;
420
+ const isPaymentGatewayValid = this.mpVM.selectedCard
421
+ ? true
422
+ : pg?.paymentMethodType === IkasPaymentMethodType.CREDIT_CARD &&
423
+ pg.type === IkasPaymentGatewayType.INTERNAL
424
+ ? this.isCustomFlowStripe
425
+ ? true
426
+ : this.cardData?.isValid
427
+ : !!pg;
428
+
429
+ return (
430
+ canProceedToShipping && isBillingAddressValid && isPaymentGatewayValid
431
+ );
432
+ }
433
+
434
+ // VALIDATIONS END
435
+
436
+ saveCart = async () => {
437
+ let input = new SaveCartInput(this.checkout as unknown as SaveCartInput);
438
+
439
+ if (this.deliveryMethod === "in-store") {
440
+ input = await this.inStockDeliveryInputData(input);
441
+ }
442
+
443
+ if (this.step === CheckoutStep.INFO) {
444
+ input.billingAddress = null;
445
+ }
446
+
447
+ const response = await CartStoreAPI.saveCart({ input });
448
+
449
+ if (response?.graphQLErrors && response.graphQLErrors.length) {
450
+ const firstError = response.graphQLErrors[0];
451
+
452
+ if (firstError.extensions?.code === "CUSTOMER_LOGIN_REQUIRED") {
453
+ throw {
454
+ type: ErrorType.CUSTOMER_LOGIN_REQUIRED_ERROR,
455
+ };
456
+ } else {
457
+ throw {
458
+ type: ErrorType.API_ERROR,
459
+ };
460
+ }
461
+ }
462
+
463
+ return response.data;
464
+ };
465
+
466
+ inStockDeliveryInputData = async (input: SaveCartInput) => {
467
+ const inputData = input;
468
+
469
+ const inStoreLocation = this.stockLocations.find(
470
+ (location) => location.id === this.checkout.stockLocationId
471
+ );
472
+
473
+ if (
474
+ inStoreLocation &&
475
+ inputData.shippingAddress &&
476
+ inStoreLocation.address
477
+ ) {
478
+ inputData.shippingAddress.country = inStoreLocation.address
479
+ .country as any;
480
+ inputData.shippingAddress.city = inStoreLocation.address.city as any;
481
+ inputData.shippingAddress.state = inStoreLocation.address.state as any;
482
+ inputData.shippingAddress.district = inStoreLocation.address
483
+ .district as any;
484
+ inputData.shippingAddress.postalCode = inStoreLocation.address.postalCode;
485
+ inputData.shippingAddress.addressLine1 =
486
+ inStoreLocation.address.address || "";
487
+ inputData.shippingAddress.addressLine2 = null;
488
+ }
489
+
490
+ return inputData;
491
+ };
492
+
493
+ checkStocks = async () => {
494
+ const lines = this.checkout.items.map((i) => ({
495
+ quantity: i.quantity,
496
+ variantId: i.variant.id,
497
+ productId: i.variant.productId,
498
+ }));
499
+
500
+ const checkStocksResponse = await CheckoutStore.checkStocks({
501
+ lines: lines.map(
502
+ (l) => new CheckStocksLineInput(l as CheckStocksLineInput)
503
+ ),
504
+ stockLocationIdList: IkasStorefrontConfig.getStockLocationIds()?.length
505
+ ? IkasStorefrontConfig.getStockLocationIds()
506
+ : null,
507
+ //stockLocationIdList: IkasStorefrontConfig.pickUpStockLocationIds || [], // REMOVE ME
508
+ });
509
+
510
+ if (!checkStocksResponse.isSuccess) {
511
+ throw {
512
+ type: ErrorType.API_ERROR,
513
+ };
514
+ }
515
+
516
+ const unavailableItems = checkStocksResponse.data?.lines?.filter(
517
+ (i) => !i.isAvailable
518
+ );
519
+
520
+ if (unavailableItems?.length) {
521
+ const _unavailableItems: IkasOrderLineItem[] = [];
522
+
523
+ for (const item of unavailableItems) {
524
+ const cartItem = IkasBaseStore.getInstance().cartStore.cart?.items.find(
525
+ (i) => i.variant.id === item.variantId
526
+ );
527
+ if (cartItem) _unavailableItems.push(cartItem);
528
+ }
529
+
530
+ throw {
531
+ type: ErrorType.STOCK_ERROR,
532
+ data: _unavailableItems,
533
+ };
534
+ }
535
+ };
536
+
537
+ removeUnavailableItems = async (items: IkasOrderLineItem[]) => {
538
+ for (const item of items) {
539
+ await IkasBaseStore.getInstance().cartStore.removeItem(item);
540
+ }
541
+ };
542
+
543
+ getShippingCountries = async () => {
544
+ const response = await CheckoutStore.getAvailableShippingCountries({
545
+ salesChannelId: IkasStorefrontConfig.getSalesChannelId(),
546
+ });
547
+ this.shippingCountryIds = response.data;
548
+ };
549
+
550
+ getStockLocations = async () => {
551
+ if (IkasStorefrontConfig.getPickupStockLocationIds()) {
552
+ const response = await CheckoutStore.listStockLocation({
553
+ id: { in: IkasStorefrontConfig.getPickupStockLocationIds() },
554
+ });
555
+ if (!response.isSuccess || !response.data?.length) {
556
+ this.error = {
557
+ type: ErrorType.API_ERROR,
558
+ };
559
+ return;
560
+ }
561
+
562
+ this.stockLocations = response.data;
563
+ }
564
+ };
565
+
566
+ getAvailableStockLocations = async () => {
567
+ if (IkasStorefrontConfig.getPickupStockLocationIds()) {
568
+ const lines = this.checkout.items.map((i) => ({
569
+ quantity: i.quantity,
570
+ variantId: i.variant.id,
571
+ productId: i.variant.productId,
572
+ }));
573
+
574
+ const response = await CheckoutStore.getAvailableStockLocations({
575
+ lines: lines.map(
576
+ (l) => new CheckStocksLineInput(l as CheckStocksLineInput)
577
+ ),
578
+ stockLocationIdList: IkasStorefrontConfig.getPickupStockLocationIds(),
579
+ });
580
+ if (!response.isSuccess) {
581
+ this.error = {
582
+ type: ErrorType.API_ERROR,
583
+ };
584
+ return;
585
+ }
586
+
587
+ this.availableStockLocations = response.data || [];
588
+ }
589
+ };
590
+
591
+ checkShippingCountries = () => {
592
+ if (!this.shippingCountryIds?.length) {
593
+ this.error = {
594
+ type: ErrorType.NO_SHIPPING_ERROR,
595
+ };
596
+ }
597
+ };
598
+
599
+ onDeliveryMethodChange = (deliveryMethod: "address" | "in-store") => {
600
+ if (deliveryMethod === "address") {
601
+ this.checkout.stockLocationId = null;
602
+ }
603
+ this.deliveryMethod = deliveryMethod;
604
+ this.isErrorsVisible = false;
605
+ };
606
+
607
+ initialStockCheck = async () => {
608
+ try {
609
+ await this.checkStocks();
610
+ } catch (err) {
611
+ if (err.type) {
612
+ this.error = err;
613
+ } else {
614
+ console.log(err);
615
+ this.error = {
616
+ type: ErrorType.UNKNOWN,
617
+ };
618
+ }
619
+ }
620
+ };
621
+
622
+ listPaymentGateways = async () => {
623
+ const isLocal = process.env.NEXT_PUBLIC_ENV === "local";
624
+ const idList = IkasStorefrontConfig.getPaymentGateways().map((pg) => pg.id);
625
+ const paymentGatewaysResponse = await CheckoutStore.listPaymentGateway({
626
+ id: isLocal ? undefined : { in: idList },
627
+ });
628
+
629
+ if (
630
+ !paymentGatewaysResponse.isSuccess ||
631
+ !paymentGatewaysResponse.data?.length
632
+ ) {
633
+ this.error = {
634
+ type: ErrorType.API_ERROR,
635
+ };
636
+ return;
637
+ }
638
+
639
+ let paymentGateways = paymentGatewaysResponse.data;
640
+
641
+ if (this.step === CheckoutStep.PAYMENT) {
642
+ paymentGateways = paymentGateways.filter((pg) =>
643
+ pg.supportedCurrencies?.length
644
+ ? pg.supportedCurrencies.includes(this.checkout.currencyCode)
645
+ : true
646
+ );
647
+
648
+ const shippingCountry = this.checkout.shippingAddress?.country;
649
+ if (shippingCountry && shippingCountry.iso2) {
650
+ paymentGateways = paymentGateways.filter((pg) =>
651
+ pg.availableCountries?.length
652
+ ? pg.availableCountries.includes(shippingCountry.iso2 || "")
653
+ : true
654
+ );
655
+ }
656
+ }
657
+
658
+ const orderedPaymentGateways: IkasPaymentGateway[] = [];
659
+
660
+ _sortBy(IkasStorefrontConfig.getPaymentGateways(), "order").forEach(
661
+ (pg) => {
662
+ const _pg = paymentGateways?.find((p) => p.id === pg.id);
663
+ if (_pg) orderedPaymentGateways.push(_pg);
664
+ }
665
+ );
666
+
667
+ this.paymentGateways = isLocal ? paymentGateways : orderedPaymentGateways;
668
+ if (!this.checkout.selectedPaymentGateway) this.setPaymentGateway(0);
669
+
670
+ if (this.step === CheckoutStep.PAYMENT) {
671
+ const masterPassPG = paymentGateways.find(
672
+ (pG) => !!pG.masterPassClientId
673
+ );
674
+ if (masterPassPG) {
675
+ this.checkout.masterPassPaymentGateway = masterPassPG;
676
+ this.mpVM.checkMasterPass({
677
+ checkout: this.checkout,
678
+ store: IkasBaseStore.getInstance(),
679
+ });
680
+ }
681
+ }
682
+ };
683
+
684
+ retrieveInstallmentInfo = async (
685
+ params: RetrieveInstallmentInfoQueryParams
686
+ ) => {
687
+ const installmentInfoResponse = await CheckoutStore.retrieveInstallmentInfo(
688
+ params
689
+ );
690
+
691
+ const installmentInfo = installmentInfoResponse.data;
692
+
693
+ installmentInfo?.installmentPrices?.sort((a, b) =>
694
+ (a.installmentCount || -1) > (b.installmentCount || -1) ? 1 : -1
695
+ );
696
+ this.installmentInfo = installmentInfo;
697
+ };
698
+
699
+ createCustomer = () => {
700
+ if (this.store.customerStore.customer) {
701
+ this.store.customerStore.customer.addresses?.forEach(
702
+ (address) => (address.checkoutSettings = this.checkoutSettings)
703
+ );
704
+ this.checkout.customer = new IkasOrderCustomer(
705
+ this.store.customerStore.customer as any
706
+ );
707
+ } else if (!this.checkout.customer)
708
+ this.checkout.customer = new IkasOrderCustomer({});
709
+ };
710
+
711
+ createShippingAddress = () => {
712
+ if (!this.checkout.shippingAddress) {
713
+ const customerAddresses = this.store.customerStore.customer?.addresses;
714
+ this.onSelectedShippingAddressIdChange(
715
+ customerAddresses?.length ? customerAddresses[0].id! : "-1"
716
+ );
717
+ } else {
718
+ this.selectedShippingAddressId = this.checkout.shippingAddress.id || "-1";
719
+ this.checkout.shippingAddress.checkoutSettings = this.checkoutSettings;
720
+ }
721
+ };
722
+
723
+ createBillingAddress = () => {
724
+ if (typeof localStorage !== "undefined") {
725
+ this.useDifferentAddress = !!localStorage.getItem(
726
+ USE_DIFFERENT_ADDRESS_KEY
727
+ );
728
+
729
+ if (this.useDifferentAddress) {
730
+ if (this.checkout.billingAddress) {
731
+ this.selectedBillingAddressId =
732
+ this.checkout.billingAddress.id || "-1";
733
+ }
734
+ this.checkout.billingAddress =
735
+ this.checkout.billingAddress || new IkasOrderAddress();
736
+ } else {
737
+ if (this.isInStoreDelivery) {
738
+ this.checkout.billingAddress = new IkasOrderAddress(
739
+ _cloneDeep(this.checkout.billingAddress) || {}
740
+ );
741
+ } else {
742
+ this.checkout.billingAddress = new IkasOrderAddress(
743
+ _cloneDeep(this.checkout.shippingAddress) || {}
744
+ );
745
+ }
746
+ }
747
+ this.checkout.billingAddress.checkoutSettings = this.checkoutSettings;
748
+ }
749
+ };
750
+
751
+ onShippingMethodChange = async (
752
+ shippingMethod: IkasAvailableShippingMethod
753
+ ) => {
754
+ if (this.isChangingShippingMethod) return;
755
+
756
+ this.isChangingShippingMethod = true;
757
+ this.checkout.shippingSettingsId = shippingMethod.shippingSettingsId;
758
+ this.checkout.shippingZoneRateId = shippingMethod.shippingZoneRateId;
759
+ const newCart = await this.saveCart();
760
+
761
+ if (newCart) this.checkout = new IkasCheckout(newCart);
762
+ this.isChangingShippingMethod = false;
763
+ };
764
+
765
+ onStockLocationChange = async (location: IkasStockLocation) => {
766
+ this.checkout.stockLocationId = location.id;
767
+ };
768
+
769
+ onCouponCodeApply = async () => {
770
+ try {
771
+ const saveCouponCodeResponse = await CartStoreAPI.saveCartCouponCode({
772
+ cartId: this.checkout.id!,
773
+ couponCode: this.checkout.couponCode || null,
774
+ });
775
+
776
+ if (saveCouponCodeResponse.isSuccess && saveCouponCodeResponse.data) {
777
+ const newCart = saveCouponCodeResponse.data;
778
+ const cardNumber = this.cardData?.cardNumber?.split(" ").join("");
779
+
780
+ if (
781
+ this.step === CheckoutStep.PAYMENT &&
782
+ cardNumber?.length &&
783
+ cardNumber.length >= 6
784
+ ) {
785
+ this.retrieveInstallmentInfo({
786
+ input: {
787
+ binNumber: cardNumber.slice(0, 6),
788
+ paymentGatewayId: this.checkout.selectedPaymentGateway!.id!,
789
+ price: newCart.totalFinalPrice!,
790
+ },
791
+ });
792
+ }
793
+
794
+ if (newCart) {
795
+ const oldCheckout = this.checkout;
796
+
797
+ this.checkout = new IkasCheckout({
798
+ ...newCart,
799
+ shippingAddress: oldCheckout.shippingAddress,
800
+ billingAddress: oldCheckout.billingAddress,
801
+ customer: oldCheckout.customer,
802
+ selectedPaymentGateway: oldCheckout.selectedPaymentGateway,
803
+ });
804
+ }
805
+ }
806
+ } catch (err) {}
807
+ };
808
+
809
+ onSelectedShippingAddressIdChange = (value: string) => {
810
+ this.selectedShippingAddressId = value;
811
+ if (value === "-1") {
812
+ this.checkout.shippingAddress = new IkasOrderAddress();
813
+ } else {
814
+ const address = this.store.customerStore.customer?.addresses?.find(
815
+ (a) => a.id === value
816
+ );
817
+ if (address)
818
+ this.checkout.shippingAddress = new IkasOrderAddress(address as any);
819
+ }
820
+
821
+ if (this.checkout.shippingAddress)
822
+ this.checkout.shippingAddress.checkoutSettings = this.checkoutSettings;
823
+ };
824
+
825
+ onSelectedBillingAddressIdChange = (value: string) => {
826
+ this.selectedBillingAddressId = value;
827
+ if (value === "-1") {
828
+ this.checkout.billingAddress = new IkasOrderAddress();
829
+ } else {
830
+ const address = this.store.customerStore.customer?.addresses?.find(
831
+ (a) => a.id === value
832
+ );
833
+ if (address)
834
+ this.checkout.billingAddress = new IkasOrderAddress(address as any);
835
+ }
836
+
837
+ if (this.checkout.billingAddress)
838
+ this.checkout.billingAddress.checkoutSettings = this.checkoutSettings;
839
+ };
840
+
841
+ onTermsAndConditionsCheckedChange = (value: boolean) => {
842
+ this.isTermsAndConditionsChecked = value;
843
+ };
844
+
845
+ // CREDIT CARD START
846
+
847
+ onCardNumberChange = (value: string) => {
848
+ if (!this.cardData) return;
849
+ if (
850
+ value.length > this.cardData.cardNumber!.length &&
851
+ !isLastCharNumber(value)
852
+ )
853
+ return;
854
+
855
+ const oldOriginalValue = (this.cardData.cardNumber || "")
856
+ .split(" ")
857
+ .join("");
858
+ const originalValue = value.split(" ").join("");
859
+
860
+ if (originalValue.length > MAX_CARD_NUMBER_LENGTH) return;
861
+ if (
862
+ oldOriginalValue.length < 6 &&
863
+ originalValue.length >= 6 &&
864
+ !this.installmentInfo
865
+ ) {
866
+ this.retrieveInstallmentInfo({
867
+ input: {
868
+ binNumber: originalValue.slice(0, 6),
869
+ paymentGatewayId: this.checkout.selectedPaymentGateway!.id!,
870
+ price: this.checkout.totalFinalPrice!,
871
+ },
872
+ });
873
+ }
874
+ // Deleting characters below 6
875
+ else if (
876
+ originalValue.length < 6 &&
877
+ oldOriginalValue.length > originalValue.length
878
+ ) {
879
+ this.cardData.installmentCount = 1;
880
+ this.installmentInfo = undefined;
881
+ }
882
+
883
+ this.cardData.cardNumber = chunkString(originalValue, 4).join(" ");
884
+ };
885
+
886
+ onCardHolderNameChange = (value: string) => {
887
+ if (!this.cardData) return;
888
+ this.cardData.cardHolderName = value;
889
+ };
890
+
891
+ onExpirationDateChange = (value: string) => {
892
+ if (!this.cardData) return;
893
+ if (
894
+ value.length > this.cardData.expirationDate!.length &&
895
+ !isLastCharNumber(value)
896
+ ) {
897
+ return;
898
+ }
899
+
900
+ // Check autocomplete
901
+ if (this.cardData.expirationDate?.length === 0) {
902
+ const splitValues = value.split("/");
903
+
904
+ if (splitValues.length === 2) {
905
+ const firstPart = splitValues[0].trim();
906
+ const lastPart = splitValues[1].trim();
907
+
908
+ // YYYY-MM format
909
+ if (firstPart.length === 4 && lastPart.length === 2) {
910
+ const year = parseInt(firstPart.slice(2));
911
+ const month = parseInt(lastPart);
912
+
913
+ if (!isNaN(year) && !isNaN(month)) {
914
+ this.cardData.expirationDate = `${
915
+ month < 10 ? "0" + month : month
916
+ } / ${year < 10 ? "0" + year : year}`;
917
+ return;
918
+ }
919
+ }
920
+
921
+ // MM-YYYY format
922
+ if (firstPart.length === 2 && lastPart.length === 4) {
923
+ const month = parseInt(firstPart);
924
+ const year = parseInt(lastPart.slice(2));
925
+
926
+ if (!isNaN(year) && !isNaN(month)) {
927
+ this.cardData.expirationDate = `${
928
+ month < 10 ? "0" + month : month
929
+ } / ${year < 10 ? "0" + year : year}`;
930
+ return;
931
+ }
932
+ }
933
+ }
934
+
935
+ // const autoCompleteValue = value.split("/").join("");
936
+ // if (
937
+ // autoCompleteValue.length === 4 &&
938
+ // !isNaN(parseInt(autoCompleteValue))
939
+ // ) {
940
+ // this.cardData.expirationDate = chunkString(autoCompleteValue, 2).join(
941
+ // " / "
942
+ // );
943
+ // return;
944
+ // }
945
+ }
946
+
947
+ const originalValue = value.split(" / ").join("");
948
+ if (originalValue.length > 4) return;
949
+
950
+ this.cardData.expirationDate = chunkString(originalValue, 2).join(" / ");
951
+ };
952
+
953
+ onCvcChange = (value: string) => {
954
+ if (!this.cardData) return;
955
+ if (value.length > this.cardData.cvv!.length && !isLastCharNumber(value))
956
+ return;
957
+ if (value.length > MAX_CVC_LENGTH) return;
958
+ this.cardData.cvv = value;
959
+ };
960
+
961
+ // CREDIT CARD END
962
+
963
+ saveAddress = async (type: "billing" | "shipping") => {
964
+ try {
965
+ if (this.shouldSaveAddress && this.store.customerStore.customer) {
966
+ const address =
967
+ type === "shipping"
968
+ ? this.checkout.shippingAddress
969
+ : this.checkout.billingAddress;
970
+
971
+ const existingAddress =
972
+ this.store.customerStore.customer.addresses?.find(
973
+ (a) => a.id === address?.id
974
+ );
975
+ if (existingAddress) return;
976
+
977
+ const newAddress = new IkasCustomerAddress({
978
+ ...address,
979
+ title: this.addressTitle || this.t("checkout-page:newAddress"),
980
+ } as any);
981
+ const customer = _cloneDeep(this.store.customerStore.customer);
982
+ if (!customer.addresses) customer.addresses = [];
983
+ customer.addresses.push(newAddress);
984
+
985
+ await this.store.customerStore.saveCustomer(customer);
986
+
987
+ if (type === "shipping") {
988
+ this.checkout.shippingAddress!.id = newAddress.id;
989
+ this.selectedShippingAddressId = newAddress.id || "-1";
990
+ } else {
991
+ this.checkout.billingAddress!.id = newAddress.id;
992
+ this.selectedBillingAddressId = newAddress.id || "-1";
993
+ }
994
+ }
995
+ } catch (err) {
996
+ console.error(err);
997
+ }
998
+ };
999
+
1000
+ onGoToCartClick = () => {
1001
+ this.router.push("/cart");
1002
+ };
1003
+
1004
+ onBackToShoppingClick = () => {
1005
+ this.router.push("/");
1006
+ };
1007
+
1008
+ onProceedToShippingClick = async () => {
1009
+ if (this.deliveryMethod === "address") {
1010
+ if (!this.canProceedToShipping) {
1011
+ this.isErrorsVisible = true;
1012
+ return;
1013
+ }
1014
+ } else {
1015
+ if (!this.canProceedToInStoreDelivery) {
1016
+ this.isErrorsVisible = true;
1017
+ return;
1018
+ }
1019
+ }
1020
+
1021
+ this.isErrorsVisible = false;
1022
+
1023
+ try {
1024
+ this.isStepLoading = true;
1025
+
1026
+ if (this.deliveryMethod === "address") {
1027
+ await this.saveAddress("shipping");
1028
+ }
1029
+
1030
+ await this.checkStocks();
1031
+ await this.saveCart();
1032
+
1033
+ if (this.deliveryMethod === "address") {
1034
+ this.changeStep(CheckoutStep.SHIPPING);
1035
+ } else {
1036
+ this.changeStep(CheckoutStep.PAYMENT);
1037
+ }
1038
+ } catch (err) {
1039
+ if (err.type) {
1040
+ this.error = err;
1041
+ } else {
1042
+ console.log(err);
1043
+ this.error = {
1044
+ type: ErrorType.UNKNOWN,
1045
+ };
1046
+ }
1047
+ this.isStepLoading = false;
1048
+ }
1049
+ };
1050
+
1051
+ onProceedToPaymentClick = async () => {
1052
+ if (!this.canProceedToPayment) {
1053
+ this.isErrorsVisible = true;
1054
+ return;
1055
+ }
1056
+ this.isErrorsVisible = false;
1057
+
1058
+ try {
1059
+ this.isStepLoading = true;
1060
+ await this.checkStocks();
1061
+ await this.saveCart();
1062
+
1063
+ this.error = undefined;
1064
+ this.changeStep(CheckoutStep.PAYMENT);
1065
+ } catch (err) {
1066
+ if (err.type) {
1067
+ this.error = err;
1068
+ } else {
1069
+ console.log(err);
1070
+ this.error = {
1071
+ type: ErrorType.UNKNOWN,
1072
+ };
1073
+ }
1074
+ this.isStepLoading = false;
1075
+ }
1076
+ };
1077
+
1078
+ onCompletePaymentClick = async () => {
1079
+ if (!this.canPerformPayment) {
1080
+ this.isErrorsVisible = true;
1081
+ return;
1082
+ }
1083
+
1084
+ if (!this.useDifferentAddress) {
1085
+ this.checkout.billingAddress = this.checkout.shippingAddress;
1086
+ }
1087
+
1088
+ try {
1089
+ this.isErrorsVisible = false;
1090
+ this.isStepLoading = true;
1091
+
1092
+ await this.checkStocks();
1093
+ if (this.deliveryMethod === "address") {
1094
+ await this.saveAddress("billing");
1095
+ }
1096
+ await this.saveCart();
1097
+
1098
+ if (this.isCustomFlowStripe) {
1099
+ const stripeFromBtn = document.querySelector("#stripe-form-btn");
1100
+ if (stripeFromBtn) {
1101
+ //@ts-ignore
1102
+ stripeFromBtn.click();
1103
+ }
1104
+
1105
+ return;
1106
+ }
1107
+
1108
+ await this.createSaleTransaction();
1109
+ } catch (err) {
1110
+ if (err.type) {
1111
+ this.error = err;
1112
+ } else {
1113
+ this.error = {
1114
+ type: ErrorType.UNKNOWN,
1115
+ };
1116
+ }
1117
+ this.isStepLoading = false;
1118
+ }
1119
+ };
1120
+
1121
+ createSaleTransaction = async () => {
1122
+ let phoneNumber;
1123
+ const isMasterPass = this.mpVM.selectedCard;
1124
+
1125
+ let response: APIResponse<TransactionResponse> | APIResponse<undefined>;
1126
+ if (isMasterPass && this.mpVM.selectedCard?.Name) {
1127
+ const _phoneNumber = this.mpVM.phoneNumber({
1128
+ store: this.store,
1129
+ checkout: this.checkout,
1130
+ });
1131
+ if (_phoneNumber) phoneNumber = _phoneNumber;
1132
+ if (typeof this.cardData?.installmentCount === "undefined") return;
1133
+ response = await CheckoutStore.createSaleTransactionWithCart({
1134
+ input: {
1135
+ cartId: this.checkout.id!,
1136
+ masterPassDetail: {
1137
+ phoneNumber,
1138
+ savedCardName: this.mpVM.selectedCard?.Name,
1139
+ },
1140
+ paymentGatewayId: this.mpVM.selectedCard?.paymentGatewayId,
1141
+ paymentMethodDetail: {
1142
+ cardNumber: this.mpVM.selectedCard.Value1,
1143
+ cardHolderName: this.mpVM.selectedCard.Name!,
1144
+ cvv: this.mpVM.selectedCard.Value2,
1145
+ expiredMonth: 11,
1146
+ expiredYear: 11,
1147
+ installmentCount: this.cardData.installmentCount,
1148
+ threeDSecure: !!this.cardData?.threeDSecure,
1149
+ },
1150
+ },
1151
+ });
1152
+ } else {
1153
+ if (!this.checkout.selectedPaymentGateway) return;
1154
+ response = await CheckoutStore.createSaleTransactionWithCart({
1155
+ input: {
1156
+ cartId: this.checkout.id!,
1157
+ masterPassDetail:
1158
+ isMasterPass && phoneNumber
1159
+ ? { phoneNumber, savedCardName: this.mpVM.selectedCard?.Name }
1160
+ : undefined,
1161
+ paymentGatewayId: this.checkout.selectedPaymentGateway.id!,
1162
+ paymentMethodDetail: isMasterPass
1163
+ ? undefined
1164
+ : this.checkout.selectedPaymentGateway.paymentMethodType ===
1165
+ IkasPaymentMethodType.CREDIT_CARD &&
1166
+ this.checkout.selectedPaymentGateway.type ===
1167
+ IkasPaymentGatewayType.INTERNAL &&
1168
+ this.cardData
1169
+ ? this.cardData.toInput()
1170
+ : undefined,
1171
+ },
1172
+ });
1173
+ }
1174
+
1175
+ const transactionStatus = response?.data?.transactionStatus as unknown as
1176
+ | IkasTransactionStatus
1177
+ | undefined;
1178
+
1179
+ const transactionSuccess =
1180
+ transactionStatus &&
1181
+ [
1182
+ IkasTransactionStatus.SUCCESS,
1183
+ IkasTransactionStatus.AUTHORIZED,
1184
+ ].includes(transactionStatus);
1185
+
1186
+ const transactionPending =
1187
+ transactionStatus === IkasTransactionStatus.PENDING;
1188
+
1189
+ if (transactionSuccess) {
1190
+ await this.getSuccessTransaction();
1191
+ await this.onCheckoutTransactionSuccess();
1192
+ } else if (transactionPending && !!response?.data?.returnSlug) {
1193
+ window.location.href =
1194
+ process.env.NEXT_PUBLIC_BASE_URL + response.data.returnSlug;
1195
+ } else {
1196
+ throw {
1197
+ type: ErrorType.UNKNOWN,
1198
+ };
1199
+ }
1200
+ };
1201
+
1202
+ onCheckoutTransactionSuccess = async () => {
1203
+ localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
1204
+
1205
+ if (this.checkout.customer?.notificationsAccepted) {
1206
+ await this.store.customerStore.createEmailSubscription(
1207
+ this.checkout.customer?.email || ""
1208
+ );
1209
+ }
1210
+
1211
+ this.changeStep(CheckoutStep.SUCCESS);
1212
+ };
1213
+
1214
+ onBackToInfoClick = () => {
1215
+ this.changeStep(CheckoutStep.INFO);
1216
+ };
1217
+
1218
+ onBackToShippingClick = () => {
1219
+ this.changeStep(CheckoutStep.SHIPPING);
1220
+ };
1221
+
1222
+ setCustomerConsentGranted = (value: boolean) => {
1223
+ if (this.checkout.customer)
1224
+ this.checkout.customer.notificationsAccepted = value;
1225
+ };
1226
+
1227
+ setUseDifferentAddress = (value: boolean) => {
1228
+ this.useDifferentAddress = value;
1229
+ if (this.useDifferentAddress) {
1230
+ localStorage.setItem(USE_DIFFERENT_ADDRESS_KEY, "1");
1231
+ this.checkout.billingAddress =
1232
+ this.checkout.billingAddress || new IkasOrderAddress();
1233
+ } else {
1234
+ localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
1235
+ this.checkout.billingAddress = this.checkout.shippingAddress;
1236
+ }
1237
+ };
1238
+
1239
+ setShouldSaveAddress = (value: boolean) => {
1240
+ this.shouldSaveAddress = value;
1241
+ };
1242
+
1243
+ setAddressTitle = (value: string) => {
1244
+ this.addressTitle = value;
1245
+ };
1246
+
1247
+ setPaymentGateway = async (index: number) => {
1248
+ if (!this.paymentGateways.length) return;
1249
+
1250
+ const paymentGateway = this.paymentGateways[index];
1251
+
1252
+ if (
1253
+ paymentGateway.code === "STRIPE" &&
1254
+ paymentGateway.settings?.find(
1255
+ (setting) =>
1256
+ setting.label === "allow_custom_flow" && setting.value === "true"
1257
+ ) &&
1258
+ !this.stripeResponse
1259
+ ) {
1260
+ const response = await CheckoutStore.createStripePaymentIntent({
1261
+ input: {
1262
+ cartId: this.checkout.id,
1263
+ paymentGatewayId: paymentGateway.id || "",
1264
+ },
1265
+ });
1266
+ if (response.isSuccess && response.data) {
1267
+ this.stripeResponse = response.data;
1268
+ }
1269
+ }
1270
+
1271
+ this.checkout.selectedPaymentGateway = paymentGateway;
1272
+
1273
+ if (this.step !== CheckoutStep.SUCCESS) {
1274
+ if (
1275
+ paymentGateway.paymentMethodType ===
1276
+ IkasPaymentMethodType.CREDIT_CARD &&
1277
+ paymentGateway.type === IkasPaymentGatewayType.INTERNAL
1278
+ ) {
1279
+ this.cardData = new CreditCardData();
1280
+ // const masterpass = paymentGateway.masterPassClientId;
1281
+ // if (masterpass) {
1282
+ // this.mpVM.checkMasterPass({
1283
+ // checkout: this.checkout,
1284
+ // store: this.store,
1285
+ // });
1286
+ // }
1287
+ }
1288
+
1289
+ this.installmentInfo = undefined;
1290
+ }
1291
+ };
1292
+
1293
+ setInstallmentCount = (count: number) => {
1294
+ if (!this.cardData) return;
1295
+ this.cardData.installmentCount = count;
1296
+ };
1297
+
1298
+ changeStep = async (step: CheckoutStep) => {
1299
+ if (!isServer) {
1300
+ window.location.replace(
1301
+ `${window.location.pathname}?id=${this.checkout.id}&step=${step}`
1302
+ );
1303
+ }
1304
+ };
1305
+
1306
+ logout = async () => {
1307
+ this.checkout.customer = null;
1308
+ this.store.customerStore.logout();
1309
+ try {
1310
+ await this.saveCart();
1311
+ } catch (err) {}
1312
+ this.createCustomer();
1313
+ };
1314
+
1315
+ setContactModalVisible = (value: boolean) => {
1316
+ this.isContactModalVisible = value;
1317
+ };
1318
+
1319
+ getWaitingForActionCampaignOffer = (
1320
+ targetPage: IkasCampaignOfferTargetPageType
1321
+ ) => {
1322
+ if (this.checkout.campaignOffers && this.checkout.campaignOffers.length) {
1323
+ const filteredCampaignOffer = this.checkout.campaignOffers.filter(
1324
+ (co) =>
1325
+ co.status === IkasCartCampaignOfferStatus.WAITING_FOR_ACTION &&
1326
+ co.campaignOffer?.targetPageTypes.some((tpt) => tpt === targetPage)
1327
+ );
1328
+
1329
+ if (filteredCampaignOffer.length) {
1330
+ return filteredCampaignOffer[0];
1331
+ }
1332
+ }
1333
+
1334
+ return null;
1335
+ };
1336
+
1337
+ getOffer = (waitingForActionCampaignOffer: IkasCartCampaignOffer) => {
1338
+ if (waitingForActionCampaignOffer.campaignOffer) {
1339
+ return waitingForActionCampaignOffer.campaignOffer.offers.find(
1340
+ (o) => o.id === waitingForActionCampaignOffer.campaignOfferProductId
1341
+ );
1342
+ }
1343
+
1344
+ return null;
1345
+ };
1346
+
1347
+ getProduct = async (productId: string) => {
1348
+ const productsResponse = await ProductStoreAPI.searchProducts({
1349
+ input: {
1350
+ productIdList: [productId],
1351
+ },
1352
+ });
1353
+
1354
+ if (
1355
+ productsResponse.isSuccess &&
1356
+ productsResponse.data &&
1357
+ productsResponse.data.data &&
1358
+ productsResponse.data.data.length
1359
+ ) {
1360
+ const product = productsResponse.data.data[0];
1361
+ const selectedVariant = product.variants.find((v) => v.isActive);
1362
+ const productDetail = new IkasProduct({
1363
+ ...product,
1364
+ selectedVariantValues: (selectedVariant || product.variants[0])
1365
+ .variantValues,
1366
+ });
1367
+
1368
+ return productDetail;
1369
+ }
1370
+
1371
+ return null;
1372
+ };
1373
+
1374
+ getCampaignOfferProducts = async (
1375
+ targetPage: IkasCampaignOfferTargetPageType
1376
+ ) => {
1377
+ const waitingForActionCampaignOffer =
1378
+ this.getWaitingForActionCampaignOffer(targetPage);
1379
+
1380
+ if (
1381
+ waitingForActionCampaignOffer &&
1382
+ waitingForActionCampaignOffer.campaignOffer
1383
+ ) {
1384
+ const offer = this.getOffer(waitingForActionCampaignOffer);
1385
+
1386
+ if (offer) {
1387
+ const productDetail = await this.getProduct(offer.productId);
1388
+
1389
+ if (productDetail) {
1390
+ return {
1391
+ productDetail,
1392
+ campaignOffer: waitingForActionCampaignOffer,
1393
+ offer,
1394
+ };
1395
+ }
1396
+ }
1397
+ }
1398
+
1399
+ return undefined;
1400
+ };
1401
+
1402
+ getCampaignOffer = async () => {
1403
+ this.checkoutCampaignOffer = (await this.getCampaignOfferProducts(
1404
+ IkasCampaignOfferTargetPageType.CHECKOUT
1405
+ )) as any;
1406
+ this.postCheckoutCampaignOffer = (await this.getCampaignOfferProducts(
1407
+ IkasCampaignOfferTargetPageType.POST_CHECKOUT
1408
+ )) as any;
1409
+ };
1410
+
1411
+ updateCartCampaignOffer = async (props: UpdateCartCampaignOfferInput) => {
1412
+ this.isCheckoutLoaded = false;
1413
+
1414
+ const getCartResponse = await CartStoreAPI.updateCartCampaignOffer({
1415
+ input: props,
1416
+ });
1417
+
1418
+ if (getCartResponse && getCartResponse.isSuccess && getCartResponse.data) {
1419
+ this.checkout = new IkasCheckout(getCartResponse.data);
1420
+
1421
+ await this.init();
1422
+ }
1423
+
1424
+ this.isCheckoutLoaded = true;
1425
+ };
1426
+ }
1427
+
1428
+ function chunkString(str: string, length: number) {
1429
+ return str.match(new RegExp(".{1," + length + "}", "g")) || [];
1430
+ }
1431
+
1432
+ function isLastCharNumber(str: string) {
1433
+ return str && NUMBER_ONLY_REGEX.test(str.charAt(str.length - 1));
1434
+ }
1435
+
1436
+ export enum CheckoutStep {
1437
+ INFO = "info",
1438
+ SHIPPING = "shipping",
1439
+ PAYMENT = "payment",
1440
+ SUCCESS = "success",
1441
+ }
1442
+
1443
+ export enum ErrorType {
1444
+ UNKNOWN,
1445
+ API_ERROR,
1446
+ STOCK_ERROR,
1447
+ PAYMENT_ERROR,
1448
+ NO_SHIPPING_ERROR,
1449
+ CUSTOMER_LOGIN_REQUIRED_ERROR,
1450
+ }
1451
+
1452
+ export type CheckoutError = {
1453
+ type: ErrorType;
1454
+ data?: any;
1455
+ };
1456
+
1457
+ export type StockErrorData = {
1458
+ variant: IkasOrderLineVariant;
1459
+ availableQuantity: number;
1460
+ };
1461
+
1462
+ export type CampaignOfferType = {
1463
+ product: IkasProduct;
1464
+ campaignOffer: IkasCartCampaignOffer;
1465
+ offer: IkasCampaignOfferProduct;
1466
+ };