@ikas/storefront 0.2.0-alpha.5 → 0.2.0-alpha.6

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 (685) hide show
  1. package/build/cjs/[slug]-03fe2246.js +1 -0
  2. package/build/{__generated__ → cjs/__generated__}/global-types.d.ts +0 -0
  3. package/build/{analytics → cjs/analytics}/analytics.d.ts +0 -0
  4. package/build/{analytics → cjs/analytics}/events.d.ts +0 -0
  5. package/build/{analytics → cjs/analytics}/facebookPixel.d.ts +0 -0
  6. package/build/{analytics → cjs/analytics}/googleTagManager.d.ts +0 -0
  7. package/build/{analytics → cjs/analytics}/head/index.d.ts +0 -0
  8. package/build/{analytics → cjs/analytics}/ikas.d.ts +0 -0
  9. package/build/{analytics → cjs/analytics}/index.d.ts +0 -0
  10. package/build/cjs/analytics.js +1 -0
  11. package/build/{api → cjs/api}/apollo.d.ts +0 -0
  12. package/build/{api → cjs/api}/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +0 -0
  13. package/build/{api → cjs/api}/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +0 -0
  14. package/build/{api → cjs/api}/back-in-stock-reminder/index.d.ts +0 -0
  15. package/build/{api → cjs/api}/blog/__generated__/getBlog.d.ts +0 -0
  16. package/build/{api → cjs/api}/blog/__generated__/listBlog.d.ts +0 -0
  17. package/build/{api → cjs/api}/blog/__generated__/listBlogCategory.d.ts +0 -0
  18. package/build/{api → cjs/api}/blog/__generated__/listBlogMetaData.d.ts +0 -0
  19. package/build/{api → cjs/api}/blog/index.d.ts +0 -0
  20. package/build/{api → cjs/api}/brand/__generated__/listProductBrand.d.ts +0 -0
  21. package/build/{api → cjs/api}/brand/index.d.ts +0 -0
  22. package/build/{api → cjs/api}/cart/__generated__/getCart.d.ts +0 -0
  23. package/build/{api → cjs/api}/cart/__generated__/saveItemToCart.d.ts +0 -0
  24. package/build/{api → cjs/api}/cart/index.d.ts +0 -0
  25. package/build/{api → cjs/api}/category/__generated__/listCategory.d.ts +0 -0
  26. package/build/{api → cjs/api}/category/__generated__/listCategoryPaths.d.ts +0 -0
  27. package/build/{api → cjs/api}/category/index.d.ts +0 -0
  28. package/build/{api → cjs/api}/checkout/__generated__/addCouponCodeToCheckout.d.ts +0 -0
  29. package/build/{api → cjs/api}/checkout/__generated__/checkStocks.d.ts +0 -0
  30. package/build/{api → cjs/api}/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +0 -0
  31. package/build/{api → cjs/api}/checkout/__generated__/getCheckoutByCartId.d.ts +0 -0
  32. package/build/{api → cjs/api}/checkout/__generated__/getCheckoutById.d.ts +0 -0
  33. package/build/{api → cjs/api}/checkout/__generated__/getOrder.d.ts +0 -0
  34. package/build/{api → cjs/api}/checkout/__generated__/listCheckoutSettings.d.ts +0 -0
  35. package/build/{api → cjs/api}/checkout/__generated__/listPaymentGateway.d.ts +0 -0
  36. package/build/{api → cjs/api}/checkout/__generated__/retrieveInstallmentInfo.d.ts +0 -0
  37. package/build/{api → cjs/api}/checkout/__generated__/saveCheckout.d.ts +0 -0
  38. package/build/{api → cjs/api}/checkout/index.d.ts +0 -0
  39. package/build/{api → cjs/api}/city/__generated__/listCity.d.ts +0 -0
  40. package/build/{api → cjs/api}/city/index.d.ts +0 -0
  41. package/build/{api → cjs/api}/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -0
  42. package/build/{api → cjs/api}/contact-form/index.d.ts +0 -0
  43. package/build/{api → cjs/api}/country/__generated__/getAvailableShippingCountries.d.ts +0 -0
  44. package/build/{api → cjs/api}/country/__generated__/getMyCountry.d.ts +0 -0
  45. package/build/{api → cjs/api}/country/__generated__/listCountry.d.ts +0 -0
  46. package/build/{api → cjs/api}/country/index.d.ts +0 -0
  47. package/build/{api → cjs/api}/customer/__generated__/checkCustomerEmail.d.ts +0 -0
  48. package/build/{api → cjs/api}/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -0
  49. package/build/{api → cjs/api}/customer/__generated__/createOrderRefundRequest.d.ts +0 -0
  50. package/build/{api → cjs/api}/customer/__generated__/customerForgotPassword.d.ts +0 -0
  51. package/build/{api → cjs/api}/customer/__generated__/customerLogin.d.ts +0 -0
  52. package/build/{api → cjs/api}/customer/__generated__/customerRecoverPassword.d.ts +0 -0
  53. package/build/{api → cjs/api}/customer/__generated__/customerRefreshToken.d.ts +0 -0
  54. package/build/{api → cjs/api}/customer/__generated__/getCustomerOrders.d.ts +0 -0
  55. package/build/{api → cjs/api}/customer/__generated__/getLastViewedProducts.d.ts +0 -0
  56. package/build/{api → cjs/api}/customer/__generated__/getMyCustomer.d.ts +0 -0
  57. package/build/{api → cjs/api}/customer/__generated__/listOrderRefundSettings.d.ts +0 -0
  58. package/build/{api → cjs/api}/customer/__generated__/listOrderTransactions.d.ts +0 -0
  59. package/build/{api → cjs/api}/customer/__generated__/registerCustomer.d.ts +0 -0
  60. package/build/{api → cjs/api}/customer/__generated__/saveLastViewedProducts.d.ts +0 -0
  61. package/build/{api → cjs/api}/customer/__generated__/saveMyCustomer.d.ts +0 -0
  62. package/build/{api → cjs/api}/customer/index.d.ts +0 -0
  63. package/build/{api → cjs/api}/customer-review/__generated__/createCustomerReview.d.ts +0 -0
  64. package/build/{api → cjs/api}/customer-review/__generated__/listCustomerReviews.d.ts +0 -0
  65. package/build/{api → cjs/api}/customer-review/index.d.ts +0 -0
  66. package/build/{api → cjs/api}/district/__generated__/listDistrict.d.ts +0 -0
  67. package/build/{api → cjs/api}/district/index.d.ts +0 -0
  68. package/build/{api → cjs/api}/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -0
  69. package/build/{api → cjs/api}/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -0
  70. package/build/{api → cjs/api}/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -0
  71. package/build/{api → cjs/api}/favorite-product/index.d.ts +0 -0
  72. package/build/{api → cjs/api}/html-meta-data/__generated__/listHTMLMetaData.d.ts +0 -0
  73. package/build/{api → cjs/api}/html-meta-data/index.d.ts +0 -0
  74. package/build/{api → cjs/api}/index.d.ts +0 -0
  75. package/build/{api → cjs/api}/merchant/__generated__/listMerchantSettings.d.ts +0 -0
  76. package/build/{api → cjs/api}/merchant/index.d.ts +0 -0
  77. package/build/{api → cjs/api}/product-attribute/__generated__/listProductAttribute.d.ts +0 -0
  78. package/build/{api → cjs/api}/product-attribute/index.d.ts +0 -0
  79. package/build/{api → cjs/api}/product-option-set/__generated__/ListProductOptionSet.d.ts +0 -0
  80. package/build/{api → cjs/api}/product-option-set/index.d.ts +0 -0
  81. package/build/{api → cjs/api}/product-search/__generated__/getProductFilterData.d.ts +0 -0
  82. package/build/{api → cjs/api}/product-search/__generated__/searchProducts.d.ts +0 -0
  83. package/build/{api → cjs/api}/product-search/index.d.ts +0 -0
  84. package/build/{api → cjs/api}/state/__generated__/listState.d.ts +0 -0
  85. package/build/{api → cjs/api}/state/index.d.ts +0 -0
  86. package/build/{api → cjs/api}/stock-location/__generated__/listStockLocation.d.ts +0 -0
  87. package/build/{api → cjs/api}/stock-location/index.d.ts +0 -0
  88. package/build/{api → cjs/api}/storefront/__generated__/getStorefront.d.ts +0 -0
  89. package/build/{api → cjs/api}/storefront/index.d.ts +0 -0
  90. package/build/{api → cjs/api}/variant-type/__generated__/listVariantType.d.ts +0 -0
  91. package/build/{api → cjs/api}/variant-type/index.d.ts +0 -0
  92. package/build/cjs/api.js +1 -0
  93. package/build/{assets → cjs/assets}/translations/checkout/en.js +0 -0
  94. package/build/{assets → cjs/assets}/translations/checkout/tr.js +0 -0
  95. package/build/cjs/base-87cf6de7.js +1 -0
  96. package/build/cjs/blog-category-list-c0cacf56.js +1 -0
  97. package/build/cjs/cart-f6e4a77c.js +1 -0
  98. package/build/{components → cjs/components}/checkout/components/address-form/index.d.ts +0 -0
  99. package/build/{components → cjs/components}/checkout/components/address-form/model.d.ts +0 -0
  100. package/build/{components → cjs/components}/checkout/components/button/index.d.ts +0 -0
  101. package/build/{components → cjs/components}/checkout/components/cart-summary/cart-item/index.d.ts +0 -0
  102. package/build/{components → cjs/components}/checkout/components/cart-summary/index.d.ts +0 -0
  103. package/build/{components → cjs/components}/checkout/components/checkbox/check.d.ts +0 -0
  104. package/build/{components → cjs/components}/checkout/components/checkbox/index.d.ts +0 -0
  105. package/build/{components → cjs/components}/checkout/components/credit-card-form/index.d.ts +0 -0
  106. package/build/{components → cjs/components}/checkout/components/credit-card-form/model.d.ts +0 -0
  107. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/amex.d.ts +0 -0
  108. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/master-card.d.ts +0 -0
  109. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/troy.d.ts +0 -0
  110. package/build/{components → cjs/components}/checkout/components/credit-card-form/svg/visa.d.ts +0 -0
  111. package/build/{components → cjs/components}/checkout/components/customer-addresses/index.d.ts +0 -0
  112. package/build/{components → cjs/components}/checkout/components/customer-addresses/model.d.ts +0 -0
  113. package/build/{components → cjs/components}/checkout/components/error/customer-login-required-error/index.d.ts +0 -0
  114. package/build/{components → cjs/components}/checkout/components/error/index.d.ts +0 -0
  115. package/build/{components → cjs/components}/checkout/components/error/no-shipping-error/index.d.ts +0 -0
  116. package/build/{components → cjs/components}/checkout/components/error/payment-error/index.d.ts +0 -0
  117. package/build/{components → cjs/components}/checkout/components/error/stock-error/index.d.ts +0 -0
  118. package/build/{components → cjs/components}/checkout/components/error/unknown-error/index.d.ts +0 -0
  119. package/build/{components → cjs/components}/checkout/components/expandable-section/index.d.ts +0 -0
  120. package/build/{components → cjs/components}/checkout/components/form-item/caret-down.d.ts +0 -0
  121. package/build/{components → cjs/components}/checkout/components/form-item/index.d.ts +0 -0
  122. package/build/{components → cjs/components}/checkout/components/form-item/model.d.ts +0 -0
  123. package/build/{components → cjs/components}/checkout/components/fullscreen-loading/index.d.ts +0 -0
  124. package/build/{components → cjs/components}/checkout/components/input-with-button/index.d.ts +0 -0
  125. package/build/{components → cjs/components}/checkout/components/modal/index.d.ts +0 -0
  126. package/build/{components → cjs/components}/checkout/components/notification-box/index.d.ts +0 -0
  127. package/build/{components → cjs/components}/checkout/components/select-box/index.d.ts +0 -0
  128. package/build/{components → cjs/components}/checkout/components/step-container/index.d.ts +0 -0
  129. package/build/{components → cjs/components}/checkout/components/svg/arrow-down.d.ts +0 -0
  130. package/build/{components → cjs/components}/checkout/components/svg/arrow-left.d.ts +0 -0
  131. package/build/{components → cjs/components}/checkout/components/svg/arrow-right.d.ts +0 -0
  132. package/build/{components → cjs/components}/checkout/components/svg/cross.d.ts +0 -0
  133. package/build/{components → cjs/components}/checkout/components/svg/discount.d.ts +0 -0
  134. package/build/{components → cjs/components}/checkout/components/svg/external.d.ts +0 -0
  135. package/build/{components → cjs/components}/checkout/components/svg/gift.d.ts +0 -0
  136. package/build/{components → cjs/components}/checkout/components/svg/ikas.d.ts +0 -0
  137. package/build/{components → cjs/components}/checkout/components/svg/lock.d.ts +0 -0
  138. package/build/{components → cjs/components}/checkout/components/svg/shopping-cart.d.ts +0 -0
  139. package/build/{components → cjs/components}/checkout/components/svg/success-circle.d.ts +0 -0
  140. package/build/{components → cjs/components}/checkout/components/svg/tag.d.ts +0 -0
  141. package/build/{components → cjs/components}/checkout/components/svg/warning.d.ts +0 -0
  142. package/build/{components → cjs/components}/checkout/components/toggle/index.d.ts +0 -0
  143. package/build/{components → cjs/components}/checkout/components/tooltip/index.d.ts +0 -0
  144. package/build/{components → cjs/components}/checkout/index.d.ts +0 -0
  145. package/build/{components → cjs/components}/checkout/model.d.ts +0 -0
  146. package/build/{components → cjs/components}/checkout/steps/step-info/index.d.ts +0 -0
  147. package/build/{components → cjs/components}/checkout/steps/step-payment/billing-address/index.d.ts +0 -0
  148. package/build/{components → cjs/components}/checkout/steps/step-payment/index.d.ts +0 -0
  149. package/build/{components → cjs/components}/checkout/steps/step-payment/payment-gateways/index.d.ts +0 -0
  150. package/build/{components → cjs/components}/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +0 -0
  151. package/build/{components → cjs/components}/checkout/steps/step-shipping/index.d.ts +0 -0
  152. package/build/{components → cjs/components}/checkout/steps/step-success/index.d.ts +0 -0
  153. package/build/{components → cjs/components}/error/index.d.ts +0 -0
  154. package/build/{components → cjs/components}/image/index.d.ts +0 -0
  155. package/build/{components → cjs/components}/index.d.ts +0 -0
  156. package/build/{components → cjs/components}/page/ThemeComponent.d.ts +0 -0
  157. package/build/{components → cjs/components}/page/head.d.ts +0 -0
  158. package/build/{components → cjs/components}/page/index.d.ts +1 -0
  159. package/build/{components → cjs/components}/page-editor/ThemeComponentEditor.d.ts +0 -0
  160. package/build/{components → cjs/components}/page-editor/index.d.ts +0 -0
  161. package/build/{components → cjs/components}/page-editor/model.d.ts +0 -0
  162. package/build/cjs/components.js +1 -0
  163. package/build/cjs/en-23346d2b.js +1 -0
  164. package/build/cjs/get-d8074995.js +15 -0
  165. package/build/cjs/i18n-64322bef.js +1 -0
  166. package/build/cjs/index-0b53d9bd.js +1 -0
  167. package/build/cjs/index-23f8268d.js +1 -0
  168. package/build/cjs/index-2db7c894.js +1 -0
  169. package/build/cjs/index-40ded420.js +1 -0
  170. package/build/cjs/index-9b798e08.js +3 -0
  171. package/build/cjs/index-9c362bcc.js +1 -0
  172. package/build/cjs/index-b0e04fe3.js +1 -0
  173. package/build/cjs/index-e7773270.js +1 -0
  174. package/build/cjs/index-ee4bdd5a.js +1 -0
  175. package/build/{index.css → cjs/index.css} +0 -0
  176. package/build/{index.d.ts → cjs/index.d.ts} +0 -0
  177. package/build/cjs/index.js +1 -0
  178. package/build/{models → cjs/models}/data/blog/index.d.ts +0 -0
  179. package/build/{models → cjs/models}/data/brand/index.d.ts +0 -0
  180. package/build/{models → cjs/models}/data/cart/index.d.ts +0 -0
  181. package/build/{models → cjs/models}/data/category/index.d.ts +0 -0
  182. package/build/{models → cjs/models}/data/checkout/index.d.ts +0 -0
  183. package/build/{models → cjs/models}/data/checkout-settings/index.d.ts +0 -0
  184. package/build/{models → cjs/models}/data/city/index.d.ts +0 -0
  185. package/build/{models → cjs/models}/data/contact-form/index.d.ts +0 -0
  186. package/build/{models → cjs/models}/data/country/index.d.ts +0 -0
  187. package/build/{models → cjs/models}/data/customer/address/index.d.ts +0 -0
  188. package/build/{models → cjs/models}/data/customer/index.d.ts +0 -0
  189. package/build/{models → cjs/models}/data/customer-review/index.d.ts +0 -0
  190. package/build/{models → cjs/models}/data/customer-review-settings/index.d.ts +0 -0
  191. package/build/{models → cjs/models}/data/district/index.d.ts +0 -0
  192. package/build/{models → cjs/models}/data/favorite-product/index.d.ts +0 -0
  193. package/build/{models → cjs/models}/data/html-meta-data/index.d.ts +0 -0
  194. package/build/{models → cjs/models}/data/image/index.d.ts +0 -0
  195. package/build/{models → cjs/models}/data/index.d.ts +1 -1
  196. package/build/{models → cjs/models}/data/installment-info/index.d.ts +0 -0
  197. package/build/{models → cjs/models}/data/merchant-settings/index.d.ts +0 -0
  198. package/build/{models → cjs/models}/data/order/address/index.d.ts +0 -0
  199. package/build/{models → cjs/models}/data/order/adjustment/index.d.ts +0 -0
  200. package/build/{models → cjs/models}/data/order/gift-line/index.d.ts +0 -0
  201. package/build/{models → cjs/models}/data/order/index.d.ts +0 -0
  202. package/build/{models → cjs/models}/data/order/line-item/discount/index.d.ts +0 -0
  203. package/build/{models → cjs/models}/data/order/line-item/index.d.ts +0 -0
  204. package/build/{models → cjs/models}/data/order/line-item/variant/index.d.ts +0 -0
  205. package/build/{models → cjs/models}/data/order/refund/index.d.ts +0 -0
  206. package/build/{models → cjs/models}/data/order/refund/refund-line-item/index.d.ts +0 -0
  207. package/build/{models → cjs/models}/data/order/refund/settings.d.ts +0 -0
  208. package/build/{models → cjs/models}/data/order/shipping-line/index.d.ts +0 -0
  209. package/build/{models → cjs/models}/data/order-transaction/index.d.ts +0 -0
  210. package/build/{models → cjs/models}/data/payment-gateway/index.d.ts +0 -0
  211. package/build/{models → cjs/models}/data/product/attribute-value/index.d.ts +0 -0
  212. package/build/{models → cjs/models}/data/product/index.d.ts +0 -0
  213. package/build/{models → cjs/models}/data/product/variant/index.d.ts +0 -0
  214. package/build/{models → cjs/models}/data/product/variant/price/index.d.ts +0 -0
  215. package/build/{models → cjs/models}/data/product/variant-type/index.d.ts +0 -0
  216. package/build/{models → cjs/models}/data/product-attribute/index.d.ts +0 -0
  217. package/build/{models → cjs/models}/data/product-attribute/product-attribute-option/index.d.ts +0 -0
  218. package/build/{models → cjs/models}/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -0
  219. package/build/{models → cjs/models}/data/product-attribute/product-attribute-table-template/index.d.ts +0 -0
  220. package/build/{models → cjs/models}/data/product-back-in-stock-settings/index.d.ts +0 -0
  221. package/build/{models → cjs/models}/data/product-filter/index.d.ts +0 -0
  222. package/build/{models → cjs/models}/data/product-option-set/index.d.ts +0 -0
  223. package/build/{models → cjs/models}/data/product-tag/index.d.ts +0 -0
  224. package/build/{models → cjs/models}/data/sales-channel/index.d.ts +0 -0
  225. package/build/{models → cjs/models}/data/simple-product/index.d.ts +0 -0
  226. package/build/{models → cjs/models}/data/state/index.d.ts +0 -0
  227. package/build/{models → cjs/models}/data/storefront/domain/index.d.ts +0 -0
  228. package/build/{models → cjs/models}/data/storefront/index.d.ts +0 -0
  229. package/build/{models → cjs/models}/data/storefront/localization/index.d.ts +0 -0
  230. package/build/{models → cjs/models}/data/storefront/routing/index.d.ts +0 -0
  231. package/build/{models → cjs/models}/data/storefront/theme/index.d.ts +0 -0
  232. package/build/{models → cjs/models}/data/storefront/theme-localization/index.d.ts +0 -0
  233. package/build/{models → cjs/models}/data/variant-type/index.d.ts +0 -0
  234. package/build/{models → cjs/models}/data/variant-type/variant-value/index.d.ts +0 -0
  235. package/build/{models → cjs/models}/index.d.ts +0 -0
  236. package/build/{models → cjs/models}/theme/component/index.d.ts +0 -0
  237. package/build/{models → cjs/models}/theme/component/prop/index.d.ts +0 -0
  238. package/build/{models → cjs/models}/theme/custom-data/index.d.ts +0 -0
  239. package/build/{models → cjs/models}/theme/index.d.ts +0 -0
  240. package/build/{models → cjs/models}/theme/page/component/index.d.ts +0 -0
  241. package/build/{models → cjs/models}/theme/page/component/prop-value/attribute-list.d.ts +0 -0
  242. package/build/{models → cjs/models}/theme/page/component/prop-value/attribute.d.ts +0 -0
  243. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-category-list.d.ts +0 -0
  244. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-category.d.ts +0 -0
  245. package/build/{models → cjs/models}/theme/page/component/prop-value/blog-list.d.ts +0 -0
  246. package/build/{models → cjs/models}/theme/page/component/prop-value/blog.d.ts +0 -0
  247. package/build/{models → cjs/models}/theme/page/component/prop-value/brand-list.d.ts +0 -0
  248. package/build/{models → cjs/models}/theme/page/component/prop-value/brand.d.ts +0 -0
  249. package/build/{models → cjs/models}/theme/page/component/prop-value/category-list.d.ts +0 -0
  250. package/build/{models → cjs/models}/theme/page/component/prop-value/category.d.ts +0 -0
  251. package/build/{models → cjs/models}/theme/page/component/prop-value/link.d.ts +0 -0
  252. package/build/{models → cjs/models}/theme/page/component/prop-value/product-detail.d.ts +0 -0
  253. package/build/{models → cjs/models}/theme/page/component/prop-value/product-list.d.ts +0 -0
  254. package/build/{models → cjs/models}/theme/page/index.d.ts +0 -0
  255. package/build/{models → cjs/models}/theme/settings/index.d.ts +0 -0
  256. package/build/{models → cjs/models}/theme/settings/prop/color/index.d.ts +0 -0
  257. package/build/{models → cjs/models}/theme/settings/prop/favicon/index.d.ts +0 -0
  258. package/build/{models → cjs/models}/theme/theme.d.ts +0 -0
  259. package/build/{models → cjs/models}/ui/blog-category-list/index.d.ts +0 -0
  260. package/build/{models → cjs/models}/ui/blog-list/index.d.ts +0 -0
  261. package/build/{models → cjs/models}/ui/brand-list/index.d.ts +0 -0
  262. package/build/{models → cjs/models}/ui/category-list/index.d.ts +0 -0
  263. package/build/{models → cjs/models}/ui/component-renderer/index.d.ts +0 -0
  264. package/build/{models → cjs/models}/ui/customer-review-list/index.d.ts +0 -0
  265. package/build/{models → cjs/models}/ui/index.d.ts +0 -0
  266. package/build/{models → cjs/models}/ui/navigation-link/index.d.ts +0 -0
  267. package/build/{models → cjs/models}/ui/product-attribute-detail/index.d.ts +0 -0
  268. package/build/{models → cjs/models}/ui/product-attribute-list/index.d.ts +0 -0
  269. package/build/{models → cjs/models}/ui/product-detail/index.d.ts +0 -0
  270. package/build/{models → cjs/models}/ui/product-list/index.d.ts +0 -0
  271. package/build/{models → cjs/models}/ui/validator/form/account-info.d.ts +0 -0
  272. package/build/{models → cjs/models}/ui/validator/form/address.d.ts +0 -0
  273. package/build/{models → cjs/models}/ui/validator/form/contact-form.d.ts +0 -0
  274. package/build/{models → cjs/models}/ui/validator/form/customer-review.d.ts +0 -0
  275. package/build/{models → cjs/models}/ui/validator/form/forgot-password.d.ts +0 -0
  276. package/build/{models → cjs/models}/ui/validator/form/login.d.ts +0 -0
  277. package/build/{models → cjs/models}/ui/validator/form/recover-password.d.ts +0 -0
  278. package/build/{models → cjs/models}/ui/validator/form/register.d.ts +0 -0
  279. package/build/{models → cjs/models}/ui/validator/index.d.ts +0 -0
  280. package/build/{models → cjs/models}/ui/validator/rules/index.d.ts +0 -0
  281. package/build/cjs/models.js +1 -0
  282. package/build/{pages → cjs/pages}/404.d.ts +0 -0
  283. package/build/{pages → cjs/pages}/[slug]/index.d.ts +0 -0
  284. package/build/{pages → cjs/pages}/account/addresses.d.ts +0 -0
  285. package/build/{pages → cjs/pages}/account/favorite-products.d.ts +0 -0
  286. package/build/{pages → cjs/pages}/account/forgot-password.d.ts +0 -0
  287. package/build/{pages → cjs/pages}/account/index.d.ts +0 -0
  288. package/build/{pages → cjs/pages}/account/login.d.ts +0 -0
  289. package/build/{pages → cjs/pages}/account/orders/[id].d.ts +0 -0
  290. package/build/{pages → cjs/pages}/account/orders/index.d.ts +0 -0
  291. package/build/{pages → cjs/pages}/account/recover-password.d.ts +0 -0
  292. package/build/{pages → cjs/pages}/account/register.d.ts +0 -0
  293. package/build/{pages → cjs/pages}/blog/[slug].d.ts +0 -0
  294. package/build/{pages → cjs/pages}/blog/index.d.ts +0 -0
  295. package/build/{pages → cjs/pages}/cart.d.ts +0 -0
  296. package/build/{pages → cjs/pages}/checkout.d.ts +0 -0
  297. package/build/{pages → cjs/pages}/editor.d.ts +1 -0
  298. package/build/{pages → cjs/pages}/home.d.ts +0 -0
  299. package/build/cjs/pages/index.d.ts +19 -0
  300. package/build/{pages → cjs/pages}/pages/[slug].d.ts +0 -0
  301. package/build/{pages → cjs/pages}/search.d.ts +0 -0
  302. package/build/cjs/pages.js +1 -0
  303. package/build/{providers → cjs/providers}/page-data-get.d.ts +0 -0
  304. package/build/{providers → cjs/providers}/page-data-init.d.ts +0 -0
  305. package/build/{providers → cjs/providers}/page-data-next.d.ts +0 -0
  306. package/build/{providers → cjs/providers}/placeholders.d.ts +0 -0
  307. package/build/{providers → cjs/providers}/prop-value/attribute-list.d.ts +0 -0
  308. package/build/{providers → cjs/providers}/prop-value/attribute.d.ts +0 -0
  309. package/build/{providers → cjs/providers}/prop-value/blog-category-list.d.ts +0 -0
  310. package/build/{providers → cjs/providers}/prop-value/blog-category.d.ts +0 -0
  311. package/build/{providers → cjs/providers}/prop-value/blog-list.d.ts +0 -0
  312. package/build/{providers → cjs/providers}/prop-value/blog.d.ts +0 -0
  313. package/build/{providers → cjs/providers}/prop-value/boolean.d.ts +0 -0
  314. package/build/{providers → cjs/providers}/prop-value/brand-list.d.ts +0 -0
  315. package/build/{providers → cjs/providers}/prop-value/brand.d.ts +0 -0
  316. package/build/{providers → cjs/providers}/prop-value/category-list.d.ts +0 -0
  317. package/build/{providers → cjs/providers}/prop-value/category.d.ts +0 -0
  318. package/build/{providers → cjs/providers}/prop-value/color.d.ts +0 -0
  319. package/build/{providers → cjs/providers}/prop-value/custom.d.ts +0 -0
  320. package/build/{providers → cjs/providers}/prop-value/image-list.d.ts +0 -0
  321. package/build/{providers → cjs/providers}/prop-value/image.d.ts +0 -0
  322. package/build/{providers → cjs/providers}/prop-value/index.d.ts +0 -0
  323. package/build/{providers → cjs/providers}/prop-value/link.d.ts +0 -0
  324. package/build/{providers → cjs/providers}/prop-value/product-detail.d.ts +0 -0
  325. package/build/{providers → cjs/providers}/prop-value/product-list.d.ts +0 -0
  326. package/build/{providers → cjs/providers}/prop-value/rich-text.d.ts +0 -0
  327. package/build/{providers → cjs/providers}/prop-value/text.d.ts +0 -0
  328. package/build/{store → cjs/store}/base.d.ts +0 -0
  329. package/build/{store → cjs/store}/cart.d.ts +0 -0
  330. package/build/{store → cjs/store}/customer.d.ts +0 -0
  331. package/build/{store → cjs/store}/index.d.ts +0 -0
  332. package/build/cjs/store.js +1 -0
  333. package/build/{storefront → cjs/storefront}/index.d.ts +2 -2
  334. package/build/cjs/storefront.js +1 -0
  335. package/build/cjs/tr-e96d42a2.js +1 -0
  336. package/build/{utils → cjs/utils}/currency.d.ts +0 -0
  337. package/build/{utils → cjs/utils}/helper.d.ts +0 -0
  338. package/build/{utils → cjs/utils}/i18n.d.ts +0 -0
  339. package/build/{utils → cjs/utils}/index.d.ts +0 -0
  340. package/build/cjs/utils.js +1 -0
  341. package/build/esm/[slug]-31f18157.js +1 -0
  342. package/build/esm/__generated__/global-types.d.ts +624 -0
  343. package/build/esm/analytics/analytics.d.ts +37 -0
  344. package/build/esm/analytics/events.d.ts +36 -0
  345. package/build/esm/analytics/facebookPixel.d.ts +15 -0
  346. package/build/esm/analytics/googleTagManager.d.ts +201 -0
  347. package/build/esm/analytics/head/index.d.ts +7 -0
  348. package/build/esm/analytics/ikas.d.ts +133 -0
  349. package/build/esm/analytics/index.d.ts +2 -0
  350. package/build/esm/analytics.js +1 -0
  351. package/build/esm/api/apollo.d.ts +10 -0
  352. package/build/esm/api/back-in-stock-reminder/__generated__/listProductBackInStockRemind.d.ts +24 -0
  353. package/build/esm/api/back-in-stock-reminder/__generated__/saveProductBackInStockRemind.d.ts +19 -0
  354. package/build/esm/api/back-in-stock-reminder/index.d.ts +23 -0
  355. package/build/esm/api/blog/__generated__/getBlog.d.ts +83 -0
  356. package/build/esm/api/blog/__generated__/listBlog.d.ts +86 -0
  357. package/build/esm/api/blog/__generated__/listBlogCategory.d.ts +38 -0
  358. package/build/esm/api/blog/__generated__/listBlogMetaData.d.ts +29 -0
  359. package/build/esm/api/blog/index.d.ts +32 -0
  360. package/build/esm/api/brand/__generated__/listProductBrand.d.ts +47 -0
  361. package/build/esm/api/brand/index.d.ts +16 -0
  362. package/build/esm/api/cart/__generated__/getCart.d.ts +71 -0
  363. package/build/esm/api/cart/__generated__/saveItemToCart.d.ts +74 -0
  364. package/build/esm/api/cart/index.d.ts +5 -0
  365. package/build/esm/api/category/__generated__/listCategory.d.ts +52 -0
  366. package/build/esm/api/category/__generated__/listCategoryPaths.d.ts +23 -0
  367. package/build/esm/api/category/index.d.ts +18 -0
  368. package/build/esm/api/checkout/__generated__/addCouponCodeToCheckout.d.ts +11 -0
  369. package/build/esm/api/checkout/__generated__/checkStocks.d.ts +18 -0
  370. package/build/esm/api/checkout/__generated__/createSaleTransactionWithCheckout.d.ts +22 -0
  371. package/build/esm/api/checkout/__generated__/getCheckoutByCartId.d.ts +10 -0
  372. package/build/esm/api/checkout/__generated__/getCheckoutById.d.ts +232 -0
  373. package/build/esm/api/checkout/__generated__/getOrder.d.ts +215 -0
  374. package/build/esm/api/checkout/__generated__/listCheckoutSettings.d.ts +34 -0
  375. package/build/esm/api/checkout/__generated__/listPaymentGateway.d.ts +40 -0
  376. package/build/esm/api/checkout/__generated__/retrieveInstallmentInfo.d.ts +23 -0
  377. package/build/esm/api/checkout/__generated__/saveCheckout.d.ts +11 -0
  378. package/build/esm/api/checkout/index.d.ts +29 -0
  379. package/build/esm/api/city/__generated__/listCity.d.ts +14 -0
  380. package/build/esm/api/city/index.d.ts +4 -0
  381. package/build/esm/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +9 -0
  382. package/build/esm/api/contact-form/index.d.ts +10 -0
  383. package/build/esm/api/country/__generated__/getAvailableShippingCountries.d.ts +6 -0
  384. package/build/esm/api/country/__generated__/getMyCountry.d.ts +3 -0
  385. package/build/esm/api/country/__generated__/listCountry.d.ts +23 -0
  386. package/build/esm/api/country/index.d.ts +6 -0
  387. package/build/esm/api/customer/__generated__/checkCustomerEmail.d.ts +10 -0
  388. package/build/esm/api/customer/__generated__/createCustomerEmailSubscription.d.ts +11 -0
  389. package/build/esm/api/customer/__generated__/createOrderRefundRequest.d.ts +215 -0
  390. package/build/esm/api/customer/__generated__/customerForgotPassword.d.ts +6 -0
  391. package/build/esm/api/customer/__generated__/customerLogin.d.ts +70 -0
  392. package/build/esm/api/customer/__generated__/customerRecoverPassword.d.ts +8 -0
  393. package/build/esm/api/customer/__generated__/customerRefreshToken.d.ts +11 -0
  394. package/build/esm/api/customer/__generated__/getCustomerOrders.d.ts +215 -0
  395. package/build/esm/api/customer/__generated__/getLastViewedProducts.d.ts +15 -0
  396. package/build/esm/api/customer/__generated__/getMyCustomer.d.ts +59 -0
  397. package/build/esm/api/customer/__generated__/listOrderRefundSettings.d.ts +13 -0
  398. package/build/esm/api/customer/__generated__/listOrderTransactions.d.ts +53 -0
  399. package/build/esm/api/customer/__generated__/registerCustomer.d.ts +71 -0
  400. package/build/esm/api/customer/__generated__/saveLastViewedProducts.d.ts +11 -0
  401. package/build/esm/api/customer/__generated__/saveMyCustomer.d.ts +63 -0
  402. package/build/esm/api/customer/index.d.ts +44 -0
  403. package/build/esm/api/customer-review/__generated__/createCustomerReview.d.ts +11 -0
  404. package/build/esm/api/customer-review/__generated__/listCustomerReviews.d.ts +25 -0
  405. package/build/esm/api/customer-review/index.d.ts +24 -0
  406. package/build/esm/api/district/__generated__/listDistrict.d.ts +13 -0
  407. package/build/esm/api/district/index.d.ts +4 -0
  408. package/build/esm/api/favorite-product/__generated__/isFavoriteProduct.d.ts +6 -0
  409. package/build/esm/api/favorite-product/__generated__/listFavoriteProducts.d.ts +12 -0
  410. package/build/esm/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +7 -0
  411. package/build/esm/api/favorite-product/index.d.ts +6 -0
  412. package/build/esm/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +18 -0
  413. package/build/esm/api/html-meta-data/index.d.ts +4 -0
  414. package/build/esm/api/index.d.ts +21 -0
  415. package/build/esm/api/merchant/__generated__/listMerchantSettings.d.ts +9 -0
  416. package/build/esm/api/merchant/index.d.ts +4 -0
  417. package/build/esm/api/product-attribute/__generated__/listProductAttribute.d.ts +39 -0
  418. package/build/esm/api/product-attribute/index.d.ts +4 -0
  419. package/build/esm/api/product-option-set/__generated__/ListProductOptionSet.d.ts +90 -0
  420. package/build/esm/api/product-option-set/index.d.ts +6 -0
  421. package/build/esm/api/product-search/__generated__/getProductFilterData.d.ts +52 -0
  422. package/build/esm/api/product-search/__generated__/searchProducts.d.ts +26 -0
  423. package/build/esm/api/product-search/index.d.ts +20 -0
  424. package/build/esm/api/state/__generated__/listState.d.ts +13 -0
  425. package/build/esm/api/state/index.d.ts +4 -0
  426. package/build/esm/api/stock-location/__generated__/listStockLocation.d.ts +7 -0
  427. package/build/esm/api/stock-location/index.d.ts +4 -0
  428. package/build/esm/api/storefront/__generated__/getStorefront.d.ts +52 -0
  429. package/build/esm/api/storefront/index.d.ts +4 -0
  430. package/build/esm/api/variant-type/__generated__/listVariantType.d.ts +39 -0
  431. package/build/esm/api/variant-type/index.d.ts +4 -0
  432. package/build/esm/api.js +1 -0
  433. package/build/esm/assets/translations/checkout/en.js +161 -0
  434. package/build/esm/assets/translations/checkout/tr.js +160 -0
  435. package/build/esm/base-af09cf31.js +1 -0
  436. package/build/esm/blog-category-list-f6d3e84b.js +1 -0
  437. package/build/esm/cart-e7ee5904.js +1 -0
  438. package/build/esm/components/checkout/components/address-form/index.d.ts +3 -0
  439. package/build/esm/components/checkout/components/address-form/model.d.ts +123 -0
  440. package/build/esm/components/checkout/components/button/index.d.ts +12 -0
  441. package/build/esm/components/checkout/components/cart-summary/cart-item/index.d.ts +10 -0
  442. package/build/esm/components/checkout/components/cart-summary/index.d.ts +8 -0
  443. package/build/esm/components/checkout/components/checkbox/check.d.ts +6 -0
  444. package/build/esm/components/checkout/components/checkbox/index.d.ts +10 -0
  445. package/build/esm/components/checkout/components/credit-card-form/index.d.ts +7 -0
  446. package/build/esm/components/checkout/components/credit-card-form/model.d.ts +26 -0
  447. package/build/esm/components/checkout/components/credit-card-form/svg/amex.d.ts +6 -0
  448. package/build/esm/components/checkout/components/credit-card-form/svg/master-card.d.ts +6 -0
  449. package/build/esm/components/checkout/components/credit-card-form/svg/troy.d.ts +6 -0
  450. package/build/esm/components/checkout/components/credit-card-form/svg/visa.d.ts +6 -0
  451. package/build/esm/components/checkout/components/customer-addresses/index.d.ts +15 -0
  452. package/build/esm/components/checkout/components/customer-addresses/model.d.ts +21 -0
  453. package/build/esm/components/checkout/components/error/customer-login-required-error/index.d.ts +8 -0
  454. package/build/esm/components/checkout/components/error/index.d.ts +7 -0
  455. package/build/esm/components/checkout/components/error/no-shipping-error/index.d.ts +6 -0
  456. package/build/esm/components/checkout/components/error/payment-error/index.d.ts +8 -0
  457. package/build/esm/components/checkout/components/error/stock-error/index.d.ts +8 -0
  458. package/build/esm/components/checkout/components/error/unknown-error/index.d.ts +6 -0
  459. package/build/esm/components/checkout/components/expandable-section/index.d.ts +6 -0
  460. package/build/esm/components/checkout/components/form-item/caret-down.d.ts +6 -0
  461. package/build/esm/components/checkout/components/form-item/index.d.ts +3 -0
  462. package/build/esm/components/checkout/components/form-item/model.d.ts +59 -0
  463. package/build/esm/components/checkout/components/fullscreen-loading/index.d.ts +2 -0
  464. package/build/esm/components/checkout/components/input-with-button/index.d.ts +11 -0
  465. package/build/esm/components/checkout/components/modal/index.d.ts +8 -0
  466. package/build/esm/components/checkout/components/notification-box/index.d.ts +9 -0
  467. package/build/esm/components/checkout/components/select-box/index.d.ts +13 -0
  468. package/build/esm/components/checkout/components/step-container/index.d.ts +15 -0
  469. package/build/esm/components/checkout/components/svg/arrow-down.d.ts +6 -0
  470. package/build/esm/components/checkout/components/svg/arrow-left.d.ts +6 -0
  471. package/build/esm/components/checkout/components/svg/arrow-right.d.ts +6 -0
  472. package/build/esm/components/checkout/components/svg/cross.d.ts +6 -0
  473. package/build/esm/components/checkout/components/svg/discount.d.ts +6 -0
  474. package/build/esm/components/checkout/components/svg/external.d.ts +6 -0
  475. package/build/esm/components/checkout/components/svg/gift.d.ts +7 -0
  476. package/build/esm/components/checkout/components/svg/ikas.d.ts +6 -0
  477. package/build/esm/components/checkout/components/svg/lock.d.ts +6 -0
  478. package/build/esm/components/checkout/components/svg/shopping-cart.d.ts +6 -0
  479. package/build/esm/components/checkout/components/svg/success-circle.d.ts +6 -0
  480. package/build/esm/components/checkout/components/svg/tag.d.ts +6 -0
  481. package/build/esm/components/checkout/components/svg/warning.d.ts +6 -0
  482. package/build/esm/components/checkout/components/toggle/index.d.ts +10 -0
  483. package/build/esm/components/checkout/components/tooltip/index.d.ts +8 -0
  484. package/build/esm/components/checkout/index.d.ts +32 -0
  485. package/build/esm/components/checkout/model.d.ts +120 -0
  486. package/build/esm/components/checkout/steps/step-info/index.d.ts +7 -0
  487. package/build/esm/components/checkout/steps/step-payment/billing-address/index.d.ts +7 -0
  488. package/build/esm/components/checkout/steps/step-payment/index.d.ts +7 -0
  489. package/build/esm/components/checkout/steps/step-payment/payment-gateways/index.d.ts +7 -0
  490. package/build/esm/components/checkout/steps/step-payment/payment-gateways/installments/index.d.ts +7 -0
  491. package/build/esm/components/checkout/steps/step-shipping/index.d.ts +7 -0
  492. package/build/esm/components/checkout/steps/step-success/index.d.ts +7 -0
  493. package/build/esm/components/error/index.d.ts +5 -0
  494. package/build/esm/components/image/index.d.ts +36 -0
  495. package/build/esm/components/index.d.ts +4 -0
  496. package/build/esm/components/page/ThemeComponent.d.ts +10 -0
  497. package/build/esm/components/page/head.d.ts +12 -0
  498. package/build/esm/components/page/index.d.ts +18 -0
  499. package/build/esm/components/page-editor/ThemeComponentEditor.d.ts +9 -0
  500. package/build/esm/components/page-editor/index.d.ts +2 -0
  501. package/build/esm/components/page-editor/model.d.ts +65 -0
  502. package/build/esm/components.js +1 -0
  503. package/build/esm/en-3c767374.js +1 -0
  504. package/build/esm/get-41aa8e36.js +15 -0
  505. package/build/esm/i18n-bdaf13ed.js +1 -0
  506. package/build/esm/index-05282f31.js +3 -0
  507. package/build/esm/index-271a4063.js +1 -0
  508. package/build/esm/index-4119675c.js +1 -0
  509. package/build/esm/index-84704340.js +1 -0
  510. package/build/esm/index-c9e27f67.js +1 -0
  511. package/build/esm/index-cf81c712.js +1 -0
  512. package/build/esm/index-d26b7878.js +1 -0
  513. package/build/esm/index-d2801a81.js +1 -0
  514. package/build/esm/index-d59c6c67.js +1 -0
  515. package/build/{index.es.css → esm/index.css} +0 -0
  516. package/build/esm/index.d.ts +8 -0
  517. package/build/esm/index.js +1 -0
  518. package/build/esm/models/data/blog/index.d.ts +67 -0
  519. package/build/esm/models/data/brand/index.d.ts +21 -0
  520. package/build/esm/models/data/cart/index.d.ts +44 -0
  521. package/build/esm/models/data/category/index.d.ts +52 -0
  522. package/build/esm/models/data/checkout/index.d.ts +103 -0
  523. package/build/esm/models/data/checkout-settings/index.d.ts +25 -0
  524. package/build/esm/models/data/city/index.d.ts +4 -0
  525. package/build/esm/models/data/contact-form/index.d.ts +7 -0
  526. package/build/esm/models/data/country/index.d.ts +8 -0
  527. package/build/esm/models/data/customer/address/index.d.ts +49 -0
  528. package/build/esm/models/data/customer/index.d.ts +33 -0
  529. package/build/esm/models/data/customer-review/index.d.ts +23 -0
  530. package/build/esm/models/data/customer-review-settings/index.d.ts +4 -0
  531. package/build/esm/models/data/district/index.d.ts +4 -0
  532. package/build/esm/models/data/favorite-product/index.d.ts +6 -0
  533. package/build/esm/models/data/html-meta-data/index.d.ts +23 -0
  534. package/build/esm/models/data/image/index.d.ts +8 -0
  535. package/build/esm/models/data/index.d.ts +33 -0
  536. package/build/esm/models/data/installment-info/index.d.ts +30 -0
  537. package/build/esm/models/data/merchant-settings/index.d.ts +8 -0
  538. package/build/esm/models/data/order/address/index.d.ts +50 -0
  539. package/build/esm/models/data/order/adjustment/index.d.ts +16 -0
  540. package/build/esm/models/data/order/gift-line/index.d.ts +4 -0
  541. package/build/esm/models/data/order/index.d.ts +147 -0
  542. package/build/esm/models/data/order/line-item/discount/index.d.ts +11 -0
  543. package/build/esm/models/data/order/line-item/index.d.ts +40 -0
  544. package/build/esm/models/data/order/line-item/variant/index.d.ts +25 -0
  545. package/build/esm/models/data/order/refund/index.d.ts +6 -0
  546. package/build/esm/models/data/order/refund/refund-line-item/index.d.ts +5 -0
  547. package/build/esm/models/data/order/refund/settings.d.ts +6 -0
  548. package/build/esm/models/data/order/shipping-line/index.d.ts +7 -0
  549. package/build/esm/models/data/order-transaction/index.d.ts +73 -0
  550. package/build/esm/models/data/payment-gateway/index.d.ts +61 -0
  551. package/build/esm/models/data/product/attribute-value/index.d.ts +20 -0
  552. package/build/esm/models/data/product/index.d.ts +34 -0
  553. package/build/esm/models/data/product/variant/index.d.ts +24 -0
  554. package/build/esm/models/data/product/variant/price/index.d.ts +10 -0
  555. package/build/esm/models/data/product/variant-type/index.d.ts +6 -0
  556. package/build/esm/models/data/product-attribute/index.d.ts +34 -0
  557. package/build/esm/models/data/product-attribute/product-attribute-option/index.d.ts +5 -0
  558. package/build/esm/models/data/product-attribute/product-attribute-table-cell/index.d.ts +5 -0
  559. package/build/esm/models/data/product-attribute/product-attribute-table-template/index.d.ts +6 -0
  560. package/build/esm/models/data/product-back-in-stock-settings/index.d.ts +3 -0
  561. package/build/esm/models/data/product-filter/index.d.ts +109 -0
  562. package/build/esm/models/data/product-option-set/index.d.ts +85 -0
  563. package/build/esm/models/data/product-tag/index.d.ts +5 -0
  564. package/build/esm/models/data/sales-channel/index.d.ts +18 -0
  565. package/build/esm/models/data/simple-product/index.d.ts +136 -0
  566. package/build/esm/models/data/state/index.d.ts +5 -0
  567. package/build/esm/models/data/storefront/domain/index.d.ts +8 -0
  568. package/build/esm/models/data/storefront/index.d.ts +23 -0
  569. package/build/esm/models/data/storefront/localization/index.d.ts +7 -0
  570. package/build/esm/models/data/storefront/routing/index.d.ts +9 -0
  571. package/build/esm/models/data/storefront/theme/index.d.ts +13 -0
  572. package/build/esm/models/data/storefront/theme-localization/index.d.ts +12 -0
  573. package/build/esm/models/data/variant-type/index.d.ts +26 -0
  574. package/build/esm/models/data/variant-type/variant-value/index.d.ts +11 -0
  575. package/build/esm/models/index.d.ts +3 -0
  576. package/build/esm/models/theme/component/index.d.ts +10 -0
  577. package/build/esm/models/theme/component/prop/index.d.ts +40 -0
  578. package/build/esm/models/theme/custom-data/index.d.ts +24 -0
  579. package/build/esm/models/theme/index.d.ts +18 -0
  580. package/build/esm/models/theme/page/component/index.d.ts +6 -0
  581. package/build/esm/models/theme/page/component/prop-value/attribute-list.d.ts +7 -0
  582. package/build/esm/models/theme/page/component/prop-value/attribute.d.ts +7 -0
  583. package/build/esm/models/theme/page/component/prop-value/blog-category-list.d.ts +7 -0
  584. package/build/esm/models/theme/page/component/prop-value/blog-category.d.ts +5 -0
  585. package/build/esm/models/theme/page/component/prop-value/blog-list.d.ts +9 -0
  586. package/build/esm/models/theme/page/component/prop-value/blog.d.ts +5 -0
  587. package/build/esm/models/theme/page/component/prop-value/brand-list.d.ts +9 -0
  588. package/build/esm/models/theme/page/component/prop-value/brand.d.ts +5 -0
  589. package/build/esm/models/theme/page/component/prop-value/category-list.d.ts +9 -0
  590. package/build/esm/models/theme/page/component/prop-value/category.d.ts +5 -0
  591. package/build/esm/models/theme/page/component/prop-value/link.d.ts +19 -0
  592. package/build/esm/models/theme/page/component/prop-value/product-detail.d.ts +6 -0
  593. package/build/esm/models/theme/page/component/prop-value/product-list.d.ts +17 -0
  594. package/build/esm/models/theme/page/index.d.ts +40 -0
  595. package/build/esm/models/theme/settings/index.d.ts +13 -0
  596. package/build/esm/models/theme/settings/prop/color/index.d.ts +7 -0
  597. package/build/esm/models/theme/settings/prop/favicon/index.d.ts +4 -0
  598. package/build/esm/models/theme/theme.d.ts +16 -0
  599. package/build/esm/models/ui/blog-category-list/index.d.ts +52 -0
  600. package/build/esm/models/ui/blog-list/index.d.ts +56 -0
  601. package/build/esm/models/ui/brand-list/index.d.ts +61 -0
  602. package/build/esm/models/ui/category-list/index.d.ts +61 -0
  603. package/build/esm/models/ui/component-renderer/index.d.ts +7 -0
  604. package/build/esm/models/ui/customer-review-list/index.d.ts +43 -0
  605. package/build/esm/models/ui/index.d.ts +22 -0
  606. package/build/esm/models/ui/navigation-link/index.d.ts +7 -0
  607. package/build/esm/models/ui/product-attribute-detail/index.d.ts +8 -0
  608. package/build/esm/models/ui/product-attribute-list/index.d.ts +9 -0
  609. package/build/esm/models/ui/product-detail/index.d.ts +28 -0
  610. package/build/esm/models/ui/product-list/index.d.ts +132 -0
  611. package/build/esm/models/ui/validator/form/account-info.d.ts +40 -0
  612. package/build/esm/models/ui/validator/form/address.d.ts +75 -0
  613. package/build/esm/models/ui/validator/form/contact-form.d.ts +45 -0
  614. package/build/esm/models/ui/validator/form/customer-review.d.ts +37 -0
  615. package/build/esm/models/ui/validator/form/forgot-password.d.ts +29 -0
  616. package/build/esm/models/ui/validator/form/login.d.ts +35 -0
  617. package/build/esm/models/ui/validator/form/recover-password.d.ts +36 -0
  618. package/build/esm/models/ui/validator/form/register.d.ts +48 -0
  619. package/build/esm/models/ui/validator/index.d.ts +27 -0
  620. package/build/esm/models/ui/validator/rules/index.d.ts +87 -0
  621. package/build/esm/models.js +1 -0
  622. package/build/esm/pages/404.d.ts +6 -0
  623. package/build/esm/pages/[slug]/index.d.ts +7 -0
  624. package/build/esm/pages/account/addresses.d.ts +6 -0
  625. package/build/esm/pages/account/favorite-products.d.ts +6 -0
  626. package/build/esm/pages/account/forgot-password.d.ts +6 -0
  627. package/build/esm/pages/account/index.d.ts +6 -0
  628. package/build/esm/pages/account/login.d.ts +6 -0
  629. package/build/esm/pages/account/orders/[id].d.ts +6 -0
  630. package/build/esm/pages/account/orders/index.d.ts +6 -0
  631. package/build/esm/pages/account/recover-password.d.ts +6 -0
  632. package/build/esm/pages/account/register.d.ts +6 -0
  633. package/build/esm/pages/blog/[slug].d.ts +7 -0
  634. package/build/esm/pages/blog/index.d.ts +6 -0
  635. package/build/esm/pages/cart.d.ts +6 -0
  636. package/build/esm/pages/checkout.d.ts +18 -0
  637. package/build/esm/pages/editor.d.ts +9 -0
  638. package/build/esm/pages/home.d.ts +6 -0
  639. package/build/esm/pages/index.d.ts +19 -0
  640. package/build/esm/pages/pages/[slug].d.ts +7 -0
  641. package/build/esm/pages/search.d.ts +6 -0
  642. package/build/esm/pages.js +1 -0
  643. package/build/esm/providers/page-data-get.d.ts +57 -0
  644. package/build/esm/providers/page-data-init.d.ts +58 -0
  645. package/build/esm/providers/page-data-next.d.ts +243 -0
  646. package/build/esm/providers/placeholders.d.ts +6 -0
  647. package/build/esm/providers/prop-value/attribute-list.d.ts +12 -0
  648. package/build/esm/providers/prop-value/attribute.d.ts +12 -0
  649. package/build/esm/providers/prop-value/blog-category-list.d.ts +7 -0
  650. package/build/esm/providers/prop-value/blog-category.d.ts +11 -0
  651. package/build/esm/providers/prop-value/blog-list.d.ts +9 -0
  652. package/build/esm/providers/prop-value/blog.d.ts +11 -0
  653. package/build/esm/providers/prop-value/boolean.d.ts +6 -0
  654. package/build/esm/providers/prop-value/brand-list.d.ts +7 -0
  655. package/build/esm/providers/prop-value/brand.d.ts +11 -0
  656. package/build/esm/providers/prop-value/category-list.d.ts +7 -0
  657. package/build/esm/providers/prop-value/category.d.ts +11 -0
  658. package/build/esm/providers/prop-value/color.d.ts +6 -0
  659. package/build/esm/providers/prop-value/custom.d.ts +42 -0
  660. package/build/esm/providers/prop-value/image-list.d.ts +7 -0
  661. package/build/esm/providers/prop-value/image.d.ts +7 -0
  662. package/build/esm/providers/prop-value/index.d.ts +3 -0
  663. package/build/esm/providers/prop-value/link.d.ts +9 -0
  664. package/build/esm/providers/prop-value/product-detail.d.ts +11 -0
  665. package/build/esm/providers/prop-value/product-list.d.ts +9 -0
  666. package/build/esm/providers/prop-value/rich-text.d.ts +6 -0
  667. package/build/esm/providers/prop-value/text.d.ts +6 -0
  668. package/build/esm/store/base.d.ts +25 -0
  669. package/build/esm/store/cart.d.ts +27 -0
  670. package/build/esm/store/customer.d.ts +72 -0
  671. package/build/esm/store/index.d.ts +1 -0
  672. package/build/esm/store.js +1 -0
  673. package/build/esm/storefront/index.d.ts +53 -0
  674. package/build/esm/storefront.js +1 -0
  675. package/build/esm/tr-7d1712d7.js +1 -0
  676. package/build/esm/utils/currency.d.ts +1 -0
  677. package/build/esm/utils/helper.d.ts +8 -0
  678. package/build/esm/utils/i18n.d.ts +20 -0
  679. package/build/esm/utils/index.d.ts +3 -0
  680. package/build/esm/utils.js +1 -0
  681. package/package.json +6 -4
  682. package/build/index.es.js +0 -73521
  683. package/build/index.js +0 -73649
  684. package/build/pages/index.d.ts +0 -20
  685. package/build/providers/prop-value/checkout.d.ts +0 -4
@@ -0,0 +1 @@
1
+ import{_ as t,c as e,e as n,i as r,j as o,l as i}from"./get-41aa8e36.js";import{createElement as s,useState as c,useMemo as u,useEffect as a,useCallback as l}from"react";import{observer as d}from"mobx-react-lite";import{e as f,g as p,d as g,I as m,F as h,f as v}from"./index-d2801a81.js";import{i as S,ah as P,ab as b,I as C,av as _,R as y,al as I}from"./index-05282f31.js";import{IkasStorefrontConfig as w}from"./storefront.js";import{useRouter as O}from"next/router";import E from"next/dynamic";import k from"next/error";import T from"fs";import R from"next/config";import{b as F}from"./index-4119675c.js";import"mobx";import{I as L}from"./i18n-bdaf13ed.js";var B,A=function(t){var e,n;void 0===t&&(t={}),this.id=t.id||"",this.name=t.name||"",this.priceListId=t.priceListId||"",this.stockLocations=(null===(e=t.stockLocations)||void 0===e?void 0:e.map((function(t){return new z(t)})))||[],this.paymentGateways=(null===(n=t.paymentGateways)||void 0===n?void 0:n.map((function(t){return new j(t)})))||[]},z=function(t){this.id=t.id||"",this.order=t.order||0},j=function(t){this.id=t.id||"",this.order=t.order||0},D=function(t){this.id=t.id||"",this.locale=t.locale||"",this.storefrontId=t.storefrontId||"",this.storefrontThemeId=t.storefrontThemeId||"",this.themeJson=t.themeJson?new F(t.themeJson):new F,this.privacyPolicy=t.privacyPolicy||null,this.returnPolicy=t.returnPolicy||null,this.termsOfService=t.termsOfService||null},x=function(){function r(){}return r.getStorefront=function(r){return t(this,void 0,void 0,(function(){var t,o,i,s,c;return e(this,(function(e){switch(e.label){case 0:t=P(B||(B=n(["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "],["\n query getStorefront($id: String!) {\n getStorefront(id: $id) {\n createdAt\n emailSettingsId\n fbpId\n gtmId\n id\n localizations {\n createdAt\n id\n isDefault\n locale\n name\n }\n mainStorefrontThemeId\n name\n salesChannelId\n routings {\n countryCodes\n createdAt\n domain\n id\n locale\n path\n priceListId\n updatedAt\n }\n status\n themes {\n createdAt\n id\n isMainTheme\n name\n status\n themeId\n themeVersionId\n updatedAt\n }\n }\n }\n "]))),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,S.getClient().query({query:t,variables:{id:r}})];case 2:return o=e.sent(),i=o.data,(s=o.errors)&&s.length&&console.log(s),i?[2,new f(i.getStorefront)]:[3,4];case 3:return c=e.sent(),console.log(c),[3,4];case 4:return[2]}}))}))},r}(),J=function(){function n(){}return n.readLocalTheme=function(){return new Promise((function(t,e){T.readFile("./src/theme.json",{flag:"a+"},(function(n,r){if(n)return e(n);var o=r.length?JSON.parse(r.toString()):{};t(new F(o))}))}))},n.readSettingsFile=function(){return new Promise((function(t){var e=R().serverRuntimeConfig.SETTINGS;T.readFile(e,{flag:"a+"},(function(e,n){if(e)return console.error("SETTINGS FILE READ ERROR!!!"),console.error(e),t(null);var r=n.length?JSON.parse(n.toString()):{};t(r)}))}))},n.getSettings=function(r){var o=this;return new Promise((function(i){return t(o,void 0,void 0,(function(){var t,o,s,c,u,a,l,d,g,m,h,v,S,P;return e(this,(function(e){switch(e.label){case 0:return"local"===process.env.NEXT_PUBLIC_ENV?w.storefrontId?[4,x.getStorefront(w.storefrontId)]:(console.error("Missing storefrontId in the config.json file!"),[2,i(null)]):[3,3];case 1:return(t=e.sent())?(o=t,[4,n.readLocalTheme()]):[2,i(null)];case 2:return s=e.sent(),c=n.createColorScript(s.settings),i({storefront:o,themeLocalization:new D({themeJson:s}),salesChannel:new A({id:o.salesChannelId}),routing:o.routings.length?o.routings.find((function(t){return t.locale===r||t.id===r}))||o.routings[0]:new p({}),favicon:s.settings.favicon,stockPreference:s.settings.stockPreference,storefrontJSScripts:c?[c]:[],domain:"",productBackInStockSettings:{customerLoginRequired:!0},customerReviewSettings:{customerLoginRequired:!0,customerPurchaseRequired:!1}}),[3,5];case 3:return[4,n.readSettingsFile()];case 4:if(!(u=e.sent())||!u.localizationMap)return[2,i(null)];if(a=new f(u.storefront),l=new A(u.salesChannel),d=u.localizationMap,g=u.storefrontJSScripts||[],m=u.domain,h=u.productBackInStockSettings?{customerLoginRequired:u.productBackInStockSettings.customerLoginRequired}:null,v=u.customerReviewSettings?{customerLoginRequired:u.customerReviewSettings.customerLoginRequired,customerPurchaseRequired:u.customerReviewSettings.customerPurchaseRequired}:null,S=d[r],P=a.routings.find((function(t){return t.id===r||t.path===r})),!S||!P)return console.error("THEME LOCALIZATION PATH OR ROUTING MISSING!!!"),[2,i(null)];T.readFile(S,{flag:"a+"},(function(t,e){if(t)return console.error("THEME LOCALZIATION FILE READ ERROR!!!"),console.error(t),i(null);var r=e.length?JSON.parse(e.toString()):{},o=new D(r),s=o.themeJson.settings.favicon,c=o.themeJson.settings.stockPreference;if(o.themeJson.settings){var u=n.createColorScript(o.themeJson.settings);u&&g.push(u)}i({storefront:a,themeLocalization:o,salesChannel:l,routing:P,favicon:s,stockPreference:c,storefrontJSScripts:g,domain:m,productBackInStockSettings:h,customerReviewSettings:v})})),e.label=5;case 5:return[2]}}))}))}))},n.getPageData=function(i,s,c,u,a){var l,d;return t(this,void 0,void 0,(function(){var t,f,p,m,h,v,S,P,_,y,I,O,E,k,T,F,B,A,z,j,D,x,J,N,V,G;return e(this,(function(e){switch(e.label){case 0:return t="local"===process.env.NEXT_PUBLIC_ENV,f=!t&&a,p=R().serverRuntimeConfig,f?[3,7]:(m=i.locale)?[4,n.getSettings(m)]:[2,{props:{},notFound:!0}];case 1:return(h=e.sent())&&h.storefront.mainStorefrontThemeId&&h.storefront.salesChannelId?(v=h.storefront,S=h.themeLocalization,P=h.salesChannel,_=h.routing,y=h.favicon,I=h.stockPreference,O=h.storefrontJSScripts,E=h.domain,k=h.productBackInStockSettings,T=h.customerReviewSettings,w.storefrontId=v.id,w.storefrontRoutingId=_.id,w.storefrontThemeId=v.mainStorefrontThemeId,w.salesChannelId=v.salesChannelId,w.priceListId=_.priceListId||void 0,w.stockLocationIds=null===(l=P.stockLocations)||void 0===l?void 0:l.map((function(t){return t.id})),w.routings=v.routings,w.paymentGateways=P.paymentGateways||[],w.gtmId=v.gtmId||void 0,w.fbpId=v.fbpId||void 0,w.favicon=y||null,w.stockPreference=I||null,w.storefrontJSScripts=O||[],w.domain=E,w.productBackInStockSettings=k,w.customerReviewSettings=T,(F=new g(S.themeJson,i.params,c)).possiblePageTypes=u,a?[3,3]:[4,F.getPageData()]):[2,{props:{},notFound:!0}];case 2:if(e.sent(),!F.page)return[2,{props:{},notFound:!0}];e.label=3;case 3:return B=a?F.theme.components.map((function(t){return t.id})):F.page.components.map((function(t){return t.componentId})),A=S.themeJson.components.filter((function(t){return a||B.includes(t.id)})),z=o(["common"],A.map((function(t){return t.dir}))),(c===b.CHECKOUT||a)&&z.push("checkout-page"),j=p.nextI18nConf,D=_.locale,[4,new L(D,z,t?void 0:j.localePath).read()];case 4:return x=e.sent(),w.translations=x,J={},c!==b.CHECKOUT?[3,6]:(N=null===(d=F.page)||void 0===d?void 0:d.components[0])?[4,C.listCheckoutSettings()]:[3,6];case 5:V=e.sent(),G={buttonBgColor:N.propValues.buttonBgColor,buttonTextColor:N.propValues.buttonTextColor,buttonDisabledBgColor:N.propValues.buttonDisabledBgColor,buttonDisabledTextColor:N.propValues.buttonDisabledTextColor,primaryTextColor:N.propValues.primaryTextColor,secondaryTextColor:N.propValues.secondaryTextColor,primaryBgColor:N.propValues.primaryBgColor,secondaryBgColor:N.propValues.secondaryBgColor,borderColor:N.propValues.borderColor,cardBgColor:N.propValues.cardBgColor,errorColor:N.propValues.errorColor,errorLightColor:N.propValues.errorLightColor,warningColor:N.propValues.warningColor,warningLightColor:N.propValues.warningLightColor,successColor:N.propValues.successColor,successLightColor:N.propValues.successLightColor},J.customizationProps=G,J.returnPolicy=S.returnPolicy,J.privacyPolicy=S.privacyPolicy,J.termsOfService=S.termsOfService,J.checkoutSettingsStr=(null==V?void 0:V.length)?JSON.stringify(V[0]):null,e.label=6;case 6:return s?[2,{props:r(r({},F.nextPageData.props),J)}]:[2,{props:r(r({},F.nextPageData.props),J),revalidate:60}];case 7:return[2,{props:{}}];case 8:return[2]}}))}))},n.getStaticProps=function(r,o,i,s){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,n.getPageData(r,!1,o,i,s)];case 1:return[2,t.sent()]}}))}))},n.getServerSideProps=function(r,o){return t(this,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,n.getPageData(r,!0,o)];case 1:return[2,t.sent()]}}))}))},n.createColorScript=function(t){if(t.colors)return"<script>"+t.colors.map((function(t){return'document.documentElement.style.setProperty("'+t.key+'","'+t.color+'");'})).join("\r\n")+"<\/script> \n "},n}(),N=d((function(t){return s(m,r({},t))})),V=Object.freeze({__proto__:null,default:N,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.INDEX)];case 1:return[2,t.sent()]}}))}))}}),G=d((function(t){return s(m,r({},t,{addOgpMetas:!0,reInitOnBrowser:!0}))})),M=Object.freeze({__proto__:null,default:G,getStaticPaths:function(){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){return[2,{paths:[],fallback:"blocking"}]}))}))},getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,void 0,[b.BRAND,b.CATEGORY,b.PRODUCT])];case 1:return[2,t.sent()]}}))}))}}),U=d((function(t){return s(m,r({},t))})),q=Object.freeze({__proto__:null,default:U,getStaticPaths:function(n){return t(void 0,void 0,void 0,(function(){var t,r;return e(this,(function(e){switch(e.label){case 0:return n.locales?[4,Promise.all(n.locales.map((function(t){return J.getSettings(t)})))]:[2,{paths:[],fallback:"blocking"}];case 1:return t=e.sent(),r=[],t.forEach((function(t){var e=t.themeLocalization,n=t.routing;e&&e.themeJson.pages.filter((function(t){return t.type===b.CUSTOM})).forEach((function(t){t.slug&&!r.some((function(e){return e.params.slug===t.slug}))&&("local"===process.env.NEXT_PUBLIC_ENV?r.push({params:{slug:t.slug}}):r.push({params:{slug:t.slug},locale:n.path||n.id}))}))})),[2,{paths:r.map((function(t){return{params:t.params,locale:t.locale}})),fallback:"blocking"}]}}))}))},getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.CUSTOM)];case 1:return[2,t.sent()]}}))}))}}),H=d((function(n){var o=n.merchantSettingsStr,d=n.checkoutSettingsStr,f=n.customizationProps,p=n.configJson,g=i(n,["merchantSettingsStr","checkoutSettingsStr","customizationProps","configJson"]),m=O(),S=c(),P=S[0],b=S[1];w.initWithJson(p);var E=w.store,k=u((function(){return d?new _(JSON.parse(d)):new _}),[d]),T=u((function(){return o?new y(JSON.parse(o)):null}),[o]);a((function(){document.documentElement.style.setProperty("--checkout-button-bg-color",(null==f?void 0:f.buttonBgColor)||"#272727"),document.documentElement.style.setProperty("--checkout-button-text-color",(null==f?void 0:f.buttonTextColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-button-disabled-bg-color",(null==f?void 0:f.buttonDisabledBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-button-disabled-text-color",(null==f?void 0:f.buttonDisabledTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-text-color",(null==f?void 0:f.primaryTextColor)||"#272727"),document.documentElement.style.setProperty("--checkout-secondary-text-color",(null==f?void 0:f.secondaryTextColor)||"#8A8B94"),document.documentElement.style.setProperty("--checkout-primary-bg-color",(null==f?void 0:f.primaryBgColor)||"#FFFFFF"),document.documentElement.style.setProperty("--checkout-secondary-bg-color",(null==f?void 0:f.secondaryBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-border-color",(null==f?void 0:f.borderColor)||"#E5E4E9"),document.documentElement.style.setProperty("--checkout-card-bg-color",(null==f?void 0:f.cardBgColor)||"#F7F7F9"),document.documentElement.style.setProperty("--checkout-error-color",(null==f?void 0:f.errorColor)||"#FB4E4E"),document.documentElement.style.setProperty("--checkout-error-light-color",(null==f?void 0:f.errorLightColor)||"#FCF3F4"),document.documentElement.style.setProperty("--checkout-warning-color",(null==f?void 0:f.warningColor)||"#FFBC1F"),document.documentElement.style.setProperty("--checkout-warning-light-color",(null==f?void 0:f.warningLightColor)||"#FFFAEE"),document.documentElement.style.setProperty("--checkout-success-color",(null==f?void 0:f.successColor)||"#2DCA73"),document.documentElement.style.setProperty("--checkout-success-light-color",(null==f?void 0:f.successLightColor)||"#F6FFED")}),[f]),a((function(){E.checkLocalization(),R(),I()}),[]);var R=l((function(){return t(void 0,void 0,void 0,(function(){var t,n,r;return e(this,(function(e){switch(e.label){case 0:return t=new URLSearchParams(window.location.search),(n=t.get("id"))?[4,C.getCheckoutById(n)]:[2,m.replace("/")];case 1:return(r=e.sent())?b(r):m.replace("/"),[2]}}))}))}),[]);return P?s(v,r({checkout:P,merchantSettings:T,checkoutSettings:k,customizationProps:f},g)):s(h,null)})),X=Object.freeze({__proto__:null,default:H,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.CHECKOUT)];case 1:return[2,t.sent()]}}))}))}}),W=d((function(t){return s(m,r({},t))})),$=Object.freeze({__proto__:null,default:W,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.ACCOUNT)];case 1:return[2,t.sent()]}}))}))}}),K=d((function(t){return s(m,r({},t))})),Y=Object.freeze({__proto__:null,default:K,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.ADDRESSES)];case 1:return[2,t.sent()]}}))}))}}),Z=d((function(t){return s(m,r({},t,{addOgpMetas:!0}))})),Q=Object.freeze({__proto__:null,default:Z,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.ORDERS)];case 1:return[2,t.sent()]}}))}))}}),tt=d((function(t){return s(m,r({},t))})),et=Object.freeze({__proto__:null,default:tt,getServerSideProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getServerSideProps(n,b.ORDER_DETAIL)];case 1:return[2,t.sent()]}}))}))}}),nt=d((function(t){return s(m,r({},t))})),rt=Object.freeze({__proto__:null,default:nt,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.LOGIN)];case 1:return[2,t.sent()]}}))}))}}),ot=d((function(t){return s(m,r({},t))})),it=Object.freeze({__proto__:null,default:ot,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.REGISTER)];case 1:return[2,t.sent()]}}))}))}}),st=d((function(t){return s(m,r({},t))})),ct=Object.freeze({__proto__:null,default:st,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.FORGOT_PASSWORD)];case 1:return[2,t.sent()]}}))}))}}),ut=d((function(t){return s(m,r({},t))})),at=Object.freeze({__proto__:null,default:ut,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.RECOVER_PASSWORD)];case 1:return[2,t.sent()]}}))}))}}),lt=d((function(t){return s(m,r({},t))})),dt=Object.freeze({__proto__:null,default:lt,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.CART)];case 1:return[2,t.sent()]}}))}))}}),ft=E((function(){return import("./components.js").then((function(t){return t.IkasPageEditor}))}),{ssr:!1}),pt=d((function(t){var e=t.configJson,n=t.components;return e&&w.initWithJson(e),n&&(w.currentPageComponents=n),s(ft,null)})),gt=Object.freeze({__proto__:null,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,void 0,void 0,!0)];case 1:return[2,t.sent()]}}))}))},default:pt}),mt=d((function(t){return s(m,r({},t))})),ht=Object.freeze({__proto__:null,default:mt,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.FAVORITE_PRODUCTS)];case 1:return[2,t.sent()]}}))}))}}),vt=d((function(t){return s(m,r({},t,{addOgpMetas:!0,reInitOnBrowser:!0}))})),St=Object.freeze({__proto__:null,default:vt,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.SEARCH)];case 1:return[2,t.sent()]}}))}))}}),Pt=Object.freeze({__proto__:null,default:function(t){return t.propValuesStr?s(m,r({},t)):s(k,{statusCode:404})},getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){var t;return e(this,(function(e){switch(e.label){case 0:return[4,J.getStaticProps(n,b.NOT_FOUND)];case 1:return(t=e.sent()).notFound?[2,{props:{},revalidate:60}]:[2,t]}}))}))}}),bt=d((function(t){return s(m,r({},t,{addOgpMetas:!0}))})),Ct=Object.freeze({__proto__:null,default:bt,getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,b.BLOG_INDEX)];case 1:return[2,t.sent()]}}))}))}}),_t=d((function(t){return s(m,r({},t,{addOgpMetas:!0,reInitOnBrowser:!0}))})),yt=Object.freeze({__proto__:null,default:_t,getStaticPaths:function(){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){return[2,{paths:[],fallback:"blocking"}]}))}))},getStaticProps:function(n){return t(void 0,void 0,void 0,(function(){return e(this,(function(t){switch(t.label){case 0:return[4,J.getStaticProps(n,void 0,[b.BLOG,b.BLOG_CATEGORY])];case 1:return[2,t.sent()]}}))}))}});export{q as _,$ as a,Y as b,X as c,Q as d,et as e,ct as f,at as g,V as h,M as i,dt as j,gt as k,rt as l,ht as m,Pt as n,Ct as o,yt as p,it as r,St as s};
@@ -0,0 +1,624 @@
1
+ /**
2
+ * OrderAdjustment Enum
3
+ */
4
+ export declare enum AdjustmentEnum {
5
+ DECREMENT = "DECREMENT",
6
+ INCREMENT = "INCREMENT"
7
+ }
8
+ /**
9
+ * Amount Type Enum
10
+ */
11
+ export declare enum AmountTypeEnum {
12
+ AMOUNT = "AMOUNT",
13
+ RATIO = "RATIO"
14
+ }
15
+ /**
16
+ * Url Slug Target Type Enum Codes
17
+ */
18
+ export declare enum BlogMetadataTargetTypeEnum {
19
+ BLOG = "BLOG",
20
+ BLOG_CATEGORY = "BLOG_CATEGORY"
21
+ }
22
+ /**
23
+ * Cancelled Reason Enum
24
+ */
25
+ export declare enum CancelledReasonEnum {
26
+ CUSTOMER = "CUSTOMER",
27
+ DECLINED = "DECLINED",
28
+ INVENTORY = "INVENTORY",
29
+ OTHER = "OTHER"
30
+ }
31
+ /**
32
+ * Cart Status Enum
33
+ */
34
+ export declare enum CartStatusEnum {
35
+ ACTIVE = "ACTIVE",
36
+ PASSIVE = "PASSIVE"
37
+ }
38
+ /**
39
+ * CategoryProductsOrder Types
40
+ */
41
+ export declare enum CategoryProductsOrderTypeEnum {
42
+ BEST_SELLER = "BEST_SELLER",
43
+ HIGHEST_DISCOUNT_RATIO = "HIGHEST_DISCOUNT_RATIO",
44
+ HIGHEST_PRICE = "HIGHEST_PRICE",
45
+ LOWEST_DISCOUNT_RATIO = "LOWEST_DISCOUNT_RATIO",
46
+ LOWEST_PRICE = "LOWEST_PRICE",
47
+ MANUALLY = "MANUALLY",
48
+ NEWEST = "NEWEST",
49
+ OLDEST = "OLDEST"
50
+ }
51
+ /**
52
+ * Checkout Recovery Email Status Enum
53
+ */
54
+ export declare enum CheckoutRecoveryEmailStatusEnum {
55
+ NOT_SENT = "NOT_SENT",
56
+ SENT = "SENT"
57
+ }
58
+ /**
59
+ * Checkout Recovery Status Enum
60
+ */
61
+ export declare enum CheckoutRecoveryStatusEnum {
62
+ NOT_RECOVERED = "NOT_RECOVERED",
63
+ RECOVERED = "RECOVERED"
64
+ }
65
+ /**
66
+ * Checkout Requirement Enum
67
+ */
68
+ export declare enum CheckoutRequirementEnum {
69
+ INVISIBLE = "INVISIBLE",
70
+ MANDATORY = "MANDATORY",
71
+ OPTIONAL = "OPTIONAL"
72
+ }
73
+ /**
74
+ * Checkout Status Enum
75
+ */
76
+ export declare enum CheckoutStatusEnum {
77
+ COMPLETED = "COMPLETED",
78
+ KILLED = "KILLED",
79
+ OPEN = "OPEN"
80
+ }
81
+ /**
82
+ * Customer Account Statuses
83
+ */
84
+ export declare enum CustomerAccountStatusEnum {
85
+ ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
86
+ DECLINED_ACCOUNT_INVITATION = "DECLINED_ACCOUNT_INVITATION",
87
+ DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
88
+ INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
89
+ }
90
+ /**
91
+ * Customer Email Subscription Statuses
92
+ */
93
+ export declare enum CustomerEmailSubscriptionStatusesEnum {
94
+ NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
95
+ PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
96
+ SUBSCRIBED = "SUBSCRIBED"
97
+ }
98
+ /**
99
+ * Url Slug Target Type Enum Codes
100
+ */
101
+ export declare enum HTMLMetaDataTargetTypeEnum {
102
+ BRAND = "BRAND",
103
+ CATEGORY = "CATEGORY",
104
+ PAGE = "PAGE",
105
+ PRODUCT = "PRODUCT"
106
+ }
107
+ /**
108
+ * Order Line Item Status Enum
109
+ */
110
+ export declare enum OrderLineItemStatusEnum {
111
+ CANCELLED = "CANCELLED",
112
+ CANCEL_REJECTED = "CANCEL_REJECTED",
113
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
114
+ DELIVERED = "DELIVERED",
115
+ FULFILLED = "FULFILLED",
116
+ REFUNDED = "REFUNDED",
117
+ REFUND_REJECTED = "REFUND_REJECTED",
118
+ REFUND_REQUESTED = "REFUND_REQUESTED",
119
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
120
+ UNFULFILLED = "UNFULFILLED"
121
+ }
122
+ /**
123
+ * Order Package Fulfill Status Enum
124
+ */
125
+ export declare enum OrderPackageFulfillStatusEnum {
126
+ CANCELLED = "CANCELLED",
127
+ CANCEL_REJECTED = "CANCEL_REJECTED",
128
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
129
+ DELIVERED = "DELIVERED",
130
+ ERROR = "ERROR",
131
+ FULFILLED = "FULFILLED",
132
+ READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
133
+ REFUNDED = "REFUNDED",
134
+ REFUND_REJECTED = "REFUND_REJECTED",
135
+ REFUND_REQUESTED = "REFUND_REQUESTED",
136
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED"
137
+ }
138
+ /**
139
+ * Order Package Status Enum
140
+ */
141
+ export declare enum OrderPackageStatusEnum {
142
+ CANCELLED = "CANCELLED",
143
+ CANCEL_REJECTED = "CANCEL_REJECTED",
144
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
145
+ DELIVERED = "DELIVERED",
146
+ FULFILLED = "FULFILLED",
147
+ PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
148
+ PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
149
+ PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
150
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
151
+ READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
152
+ REFUNDED = "REFUNDED",
153
+ REFUND_REJECTED = "REFUND_REJECTED",
154
+ REFUND_REQUESTED = "REFUND_REQUESTED",
155
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
156
+ UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
157
+ UNFULFILLED = "UNFULFILLED"
158
+ }
159
+ /**
160
+ * Order Payment Status Enum
161
+ */
162
+ export declare enum OrderPaymentStatusEnum {
163
+ PAID = "PAID",
164
+ PARTIALLY_PAID = "PARTIALLY_PAID",
165
+ WAITING = "WAITING"
166
+ }
167
+ /**
168
+ * Order Status Enum
169
+ */
170
+ export declare enum OrderStatusEnum {
171
+ CANCELLED = "CANCELLED",
172
+ CREATED = "CREATED",
173
+ DRAFT = "DRAFT",
174
+ PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
175
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
176
+ REFUNDED = "REFUNDED",
177
+ REFUND_REJECTED = "REFUND_REJECTED",
178
+ REFUND_REQUESTED = "REFUND_REQUESTED"
179
+ }
180
+ export declare enum PaymentGatewayAdditionalPriceTypeEnum {
181
+ DECREMENT = "DECREMENT",
182
+ INCREMENT = "INCREMENT"
183
+ }
184
+ export declare enum PaymentGatewayTransactionFeeTypeEnum {
185
+ AMOUNT = "AMOUNT",
186
+ RATIO = "RATIO"
187
+ }
188
+ export declare enum PaymentGatewayTypeEnum {
189
+ EXTERNAL = "EXTERNAL",
190
+ INTERNAL = "INTERNAL",
191
+ THIRD_PARTY = "THIRD_PARTY"
192
+ }
193
+ export declare enum PaymentMethodEnum {
194
+ APP_PAYMENT = "APP_PAYMENT",
195
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
196
+ CASH = "CASH",
197
+ CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
198
+ CREDIT_CARD = "CREDIT_CARD",
199
+ CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
200
+ GIFT_CARD = "GIFT_CARD",
201
+ MONEY_ORDER = "MONEY_ORDER",
202
+ OTHER = "OTHER"
203
+ }
204
+ /**
205
+ * ProductAttribute Types
206
+ */
207
+ export declare enum ProductAttributeTypeEnum {
208
+ BOOLEAN = "BOOLEAN",
209
+ CHOICE = "CHOICE",
210
+ DATETIME = "DATETIME",
211
+ HTML = "HTML",
212
+ MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
213
+ NUMERIC = "NUMERIC",
214
+ PRODUCT = "PRODUCT",
215
+ TABLE = "TABLE",
216
+ TEXT = "TEXT"
217
+ }
218
+ /**
219
+ * Product Filter Type Enum Codes
220
+ */
221
+ export declare enum ProductFilterDisplayTypeEnum {
222
+ BOX = "BOX",
223
+ DATE_RANGE = "DATE_RANGE",
224
+ LIST = "LIST",
225
+ NUMBER_RANGE = "NUMBER_RANGE",
226
+ NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
227
+ SWATCH = "SWATCH"
228
+ }
229
+ /**
230
+ * ProductFilter Sort Type Enum
231
+ */
232
+ export declare enum ProductFilterSortTypeEnum {
233
+ ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
234
+ ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
235
+ CUSTOM_SORT = "CUSTOM_SORT",
236
+ PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
237
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
238
+ }
239
+ /**
240
+ * Product Filter Type Enum Codes
241
+ */
242
+ export declare enum ProductFilterTypeEnum {
243
+ ATTRIBUTE = "ATTRIBUTE",
244
+ BRAND = "BRAND",
245
+ DISCOUNT_RATIO = "DISCOUNT_RATIO",
246
+ PRICE = "PRICE",
247
+ STOCK_STATUS = "STOCK_STATUS",
248
+ TAG = "TAG",
249
+ VARIANT_TYPE = "VARIANT_TYPE"
250
+ }
251
+ export declare enum ProductOptionSelectTypeEnum {
252
+ BOX = "BOX",
253
+ SELECT = "SELECT",
254
+ SWATCH = "SWATCH"
255
+ }
256
+ export declare enum ProductOptionTypeEnum {
257
+ CHECKBOX = "CHECKBOX",
258
+ CHOICE = "CHOICE",
259
+ COLOR_PICKER = "COLOR_PICKER",
260
+ DATE_PICKER = "DATE_PICKER",
261
+ FILE = "FILE",
262
+ IMAGE = "IMAGE",
263
+ TEXT = "TEXT",
264
+ TEXT_AREA = "TEXT_AREA"
265
+ }
266
+ export declare enum ProductSearchShowStockOptionEnum {
267
+ HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
268
+ SHOW_ALL = "SHOW_ALL",
269
+ SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
270
+ }
271
+ /**
272
+ * Shipping Method Enum
273
+ */
274
+ export declare enum ShippingMethodEnum {
275
+ CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
276
+ NO_SHIPMENT = "NO_SHIPMENT",
277
+ SHIPMENT = "SHIPMENT"
278
+ }
279
+ /**
280
+ * Sort By Direction Enum Codes
281
+ */
282
+ export declare enum SortByDirectionEnum {
283
+ ASC = "ASC",
284
+ DESC = "DESC"
285
+ }
286
+ /**
287
+ * Sort By Type Enum Codes
288
+ */
289
+ export declare enum SortByTypeEnum {
290
+ CREATED_AT = "CREATED_AT",
291
+ DISCOUNT_RATIO = "DISCOUNT_RATIO",
292
+ MANUAL_SORT = "MANUAL_SORT",
293
+ NAME = "NAME",
294
+ PRICE = "PRICE"
295
+ }
296
+ /**
297
+ * StorefrontStatusEnum
298
+ */
299
+ export declare enum StorefrontStatusTypes {
300
+ FAILED = "FAILED",
301
+ NOT_DEPLOYED = "NOT_DEPLOYED",
302
+ READY = "READY",
303
+ WAITING = "WAITING"
304
+ }
305
+ /**
306
+ * StorefrontThemeStatusEnum
307
+ */
308
+ export declare enum StorefrontThemeStatus {
309
+ FAILED = "FAILED",
310
+ NOT_DEPLOYED = "NOT_DEPLOYED",
311
+ READY = "READY",
312
+ WAITING = "WAITING"
313
+ }
314
+ export declare enum TransactionCardAssociationEnum {
315
+ AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
316
+ MASTER_CARD = "MASTER_CARD",
317
+ TROY = "TROY",
318
+ VISA = "VISA"
319
+ }
320
+ export declare enum TransactionCardTypeEnum {
321
+ CREDIT = "CREDIT",
322
+ DEBIT = "DEBIT",
323
+ PREPAID = "PREPAID"
324
+ }
325
+ export declare enum TransactionStatusEnum {
326
+ AUTHORIZED = "AUTHORIZED",
327
+ FAILED = "FAILED",
328
+ PENDING = "PENDING",
329
+ SUCCESS = "SUCCESS"
330
+ }
331
+ export declare enum TransactionTypeEnum {
332
+ REFUND = "REFUND",
333
+ SALE = "SALE",
334
+ VOID = "VOID"
335
+ }
336
+ /**
337
+ * Variant Selection Types
338
+ */
339
+ export declare enum VariantSelectionTypeEnum {
340
+ CHOICE = "CHOICE",
341
+ COLOR = "COLOR"
342
+ }
343
+ export interface BlogMetadataTargetTypeEnumFilter {
344
+ eq?: BlogMetadataTargetTypeEnum | null;
345
+ in?: BlogMetadataTargetTypeEnum[] | null;
346
+ }
347
+ export interface CartLineItemInput {
348
+ id?: string | null;
349
+ quantity: number;
350
+ variant: CartLineVariantInput;
351
+ }
352
+ export interface CartLineOptionInput {
353
+ productOptionId: string;
354
+ productOptionsSetId: string;
355
+ values: string[];
356
+ }
357
+ export interface CartLineVariantInput {
358
+ id?: string | null;
359
+ name?: string | null;
360
+ }
361
+ export interface CheckStocksLineInput {
362
+ productId: string;
363
+ quantity: number;
364
+ variantId: string;
365
+ }
366
+ export interface CheckoutCustomerInput {
367
+ email?: string | null;
368
+ firstName?: string | null;
369
+ id?: string | null;
370
+ lastName?: string | null;
371
+ notificationsAccepted?: boolean | null;
372
+ }
373
+ export interface CreateCustomerEmailSubscriptionInput {
374
+ createdAt?: any | null;
375
+ deleted?: boolean | null;
376
+ email: string;
377
+ id?: string | null;
378
+ updatedAt?: any | null;
379
+ }
380
+ export interface CreateCustomerReviewInput {
381
+ comment?: string | null;
382
+ createdAt?: any | null;
383
+ customerId?: string | null;
384
+ deleted?: boolean | null;
385
+ id?: string | null;
386
+ orderId?: string | null;
387
+ orderNumber?: string | null;
388
+ productId: string;
389
+ salesChannelId: string;
390
+ star: number;
391
+ title?: string | null;
392
+ updatedAt?: any | null;
393
+ }
394
+ export interface CreateSaleTransactionWithCheckoutInput {
395
+ checkoutId: string;
396
+ paymentGatewayId: string;
397
+ paymentMethodDetail?: PaymentMethodDetailInput | null;
398
+ }
399
+ export interface CustomerAddressCityInput {
400
+ code?: string | null;
401
+ id?: string | null;
402
+ name: string;
403
+ }
404
+ export interface CustomerAddressCountryInput {
405
+ code?: string | null;
406
+ id?: string | null;
407
+ name: string;
408
+ }
409
+ export interface CustomerAddressDistrictInput {
410
+ code?: string | null;
411
+ id?: string | null;
412
+ name?: string | null;
413
+ }
414
+ export interface CustomerAddressStateInput {
415
+ code?: string | null;
416
+ id?: string | null;
417
+ name?: string | null;
418
+ }
419
+ export interface DateFilterInput {
420
+ eq?: any | null;
421
+ gt?: any | null;
422
+ gte?: any | null;
423
+ in?: any[] | null;
424
+ lt?: any | null;
425
+ lte?: any | null;
426
+ }
427
+ export interface HTMLMetaDataTargetTypeEnumFilter {
428
+ eq?: HTMLMetaDataTargetTypeEnum | null;
429
+ in?: HTMLMetaDataTargetTypeEnum[] | null;
430
+ }
431
+ export interface ListCustomerReviewInput {
432
+ salesChannelId: string;
433
+ }
434
+ export interface OrderAddressCityInput {
435
+ code?: string | null;
436
+ id?: string | null;
437
+ name: string;
438
+ }
439
+ export interface OrderAddressCountryInput {
440
+ code?: string | null;
441
+ id?: string | null;
442
+ iso2?: string | null;
443
+ iso3?: string | null;
444
+ name: string;
445
+ }
446
+ export interface OrderAddressDistrictInput {
447
+ code?: string | null;
448
+ id?: string | null;
449
+ name?: string | null;
450
+ }
451
+ export interface OrderAddressInput {
452
+ addressLine1: string;
453
+ addressLine2?: string | null;
454
+ city: OrderAddressCityInput;
455
+ company?: string | null;
456
+ country: OrderAddressCountryInput;
457
+ district?: OrderAddressDistrictInput | null;
458
+ firstName: string;
459
+ id?: string | null;
460
+ identityNumber?: string | null;
461
+ isDefault: boolean;
462
+ lastName: string;
463
+ phone?: string | null;
464
+ postalCode?: string | null;
465
+ state?: OrderAddressStateInput | null;
466
+ taxNumber?: string | null;
467
+ taxOffice?: string | null;
468
+ }
469
+ export interface OrderAddressStateInput {
470
+ code?: string | null;
471
+ id?: string | null;
472
+ name?: string | null;
473
+ }
474
+ export interface OrderAdjustmentInput {
475
+ amount: number;
476
+ amountType: AmountTypeEnum;
477
+ campaignId?: string | null;
478
+ couponId?: string | null;
479
+ name: string;
480
+ order: number;
481
+ type: AdjustmentEnum;
482
+ }
483
+ export interface OrderRefundOrderLineInput {
484
+ orderLineItemId: string;
485
+ quantity: number;
486
+ }
487
+ export interface OrderRefundRequestInput {
488
+ orderId: string;
489
+ orderLineItems: OrderRefundOrderLineInput[];
490
+ reason?: string | null;
491
+ }
492
+ export interface PaginationInput {
493
+ limit?: number | null;
494
+ page?: number | null;
495
+ }
496
+ export interface PaymentMethodDetailInput {
497
+ cardHolderName: string;
498
+ cardNumber: string;
499
+ cvv: string;
500
+ expiredMonth: number;
501
+ expiredYear: number;
502
+ installmentCount: number;
503
+ threeDSecure: boolean;
504
+ }
505
+ export interface ProductBackInStockRemindInput {
506
+ email: string;
507
+ productId: string;
508
+ variantId: string;
509
+ }
510
+ export interface ProductItemInput {
511
+ createdAt?: any | null;
512
+ deleted?: boolean | null;
513
+ id?: string | null;
514
+ productId: string;
515
+ updatedAt?: any | null;
516
+ variantId: string;
517
+ }
518
+ export interface ProductLastViewedInput {
519
+ createdAt?: any | null;
520
+ customerId: string;
521
+ deleted?: boolean | null;
522
+ id?: string | null;
523
+ products: ProductItemInput[];
524
+ updatedAt?: any | null;
525
+ }
526
+ export interface RetrieveInstallmentInfoInput {
527
+ binNumber: string;
528
+ paymentGatewayId: string;
529
+ price: number;
530
+ }
531
+ export interface SaveCheckoutInput {
532
+ adjustments?: OrderAdjustmentInput[] | null;
533
+ billingAddress?: OrderAddressInput | null;
534
+ cartId: string;
535
+ couponCode?: string | null;
536
+ createdAt?: any | null;
537
+ customer?: CheckoutCustomerInput | null;
538
+ deleted?: boolean | null;
539
+ giftPackageNote?: string | null;
540
+ id?: string | null;
541
+ isGiftPackage?: boolean | null;
542
+ note?: string | null;
543
+ shippingAddress?: OrderAddressInput | null;
544
+ shippingMethod: ShippingMethodEnum;
545
+ shippingSettingsId?: string | null;
546
+ shippingZoneRateId?: string | null;
547
+ updatedAt?: any | null;
548
+ }
549
+ export interface SaveItemToCartInput {
550
+ cartId?: string | null;
551
+ customerId?: string | null;
552
+ item: CartLineItemInput;
553
+ options?: CartLineOptionInput[] | null;
554
+ priceListId?: string | null;
555
+ salesChannelId: string;
556
+ storefrontId: string;
557
+ storefrontRoutingId: string;
558
+ storefrontThemeId: string;
559
+ }
560
+ export interface SaveMyCustomerAddressInput {
561
+ addressLine1: string;
562
+ addressLine2?: string | null;
563
+ city: CustomerAddressCityInput;
564
+ company?: string | null;
565
+ country: CustomerAddressCountryInput;
566
+ createdAt?: any | null;
567
+ deleted?: boolean | null;
568
+ district?: CustomerAddressDistrictInput | null;
569
+ firstName: string;
570
+ id?: string | null;
571
+ identityNumber?: string | null;
572
+ isDefault?: boolean | null;
573
+ lastName: string;
574
+ phone?: string | null;
575
+ postalCode?: string | null;
576
+ state?: CustomerAddressStateInput | null;
577
+ taxNumber?: string | null;
578
+ taxOffice?: string | null;
579
+ title: string;
580
+ updatedAt?: any | null;
581
+ }
582
+ export interface SaveMyCustomerInput {
583
+ addresses?: SaveMyCustomerAddressInput[] | null;
584
+ firstName: string;
585
+ lastName: string;
586
+ phone?: string | null;
587
+ }
588
+ export interface SearchInput {
589
+ brandId?: string | null;
590
+ categoryIdList?: string[] | null;
591
+ facetList?: SearchInputFacetListInput[] | null;
592
+ filterList?: SearchInputFilterListInput[] | null;
593
+ locale?: string | null;
594
+ order?: SearchInputOrderByInput[] | null;
595
+ page?: number | null;
596
+ perPage?: number | null;
597
+ priceListId?: string | null;
598
+ productIdList?: string[] | null;
599
+ query?: string | null;
600
+ salesChannelId?: string | null;
601
+ showStockOption?: ProductSearchShowStockOptionEnum | null;
602
+ slug?: string | null;
603
+ }
604
+ export interface SearchInputFacetListInput {
605
+ displayType: ProductFilterDisplayTypeEnum;
606
+ id: string;
607
+ type: ProductFilterTypeEnum;
608
+ }
609
+ export interface SearchInputFilterListInput {
610
+ displayType?: ProductFilterDisplayTypeEnum | null;
611
+ id: string;
612
+ type: ProductFilterTypeEnum;
613
+ useAndFilter?: boolean | null;
614
+ valueList: string[];
615
+ }
616
+ export interface SearchInputOrderByInput {
617
+ direction: SortByDirectionEnum;
618
+ type: SortByTypeEnum;
619
+ }
620
+ export interface StringFilterInput {
621
+ eq?: string | null;
622
+ in?: string[] | null;
623
+ like?: string | null;
624
+ }
@@ -0,0 +1,37 @@
1
+ import { IkasProductDetail, IkasOrderLineItem, IkasCheckout, IkasCategory, IkasThemePageType, IkasOrderTransaction, IkasBrand } from "../models/index";
2
+ import { CheckoutStep } from "../components/checkout/model";
3
+ import { IkasCart } from "../models/data/cart/index";
4
+ import { IkasEventSubscriber } from "./events";
5
+ import { IkasContactForm } from "../store/customer";
6
+ export declare class Analytics {
7
+ static subscribers: IkasEventSubscriber[];
8
+ constructor();
9
+ static getCustomerInfo(): Promise<{
10
+ consentGranted: boolean;
11
+ id: string;
12
+ firstName: string;
13
+ lastName: string;
14
+ email: string;
15
+ phone: string | null | undefined;
16
+ } | null>;
17
+ static pageView(pageType: IkasThemePageType): Promise<void>;
18
+ static productView(productDetail: IkasProductDetail): void;
19
+ static addToCart(item: IkasOrderLineItem, quantity: number, eventId: string, cart: IkasCart): void;
20
+ static removeFromCart(item: IkasProductDetail | IkasOrderLineItem, quantity: number, cart: IkasCart): void;
21
+ static beginCheckout(checkout: IkasCheckout): void;
22
+ static purchase(checkout: IkasCheckout, transaction: IkasOrderTransaction): void;
23
+ static checkoutStep(checkout: IkasCheckout, step: CheckoutStep): void;
24
+ static disableHTML(): void;
25
+ static addToWishlist(productId: string): void;
26
+ static search(searchKeyword: string): void;
27
+ static completeRegistration(email: string, customerId?: string): void;
28
+ static customerLogin(): Promise<void>;
29
+ static customerLogout(): Promise<void>;
30
+ static customerVisit(): Promise<void>;
31
+ static viewCart(cart: IkasCart | null | undefined): void;
32
+ static viewCategory(categoryPath: string, category: IkasCategory): void;
33
+ static viewBrand(brand: IkasBrand): void;
34
+ static viewSearchResults(searchKeyword: string, productDetails: IkasProductDetail[]): void;
35
+ static viewListing(productDetails: IkasProductDetail[]): void;
36
+ static contactForm(form: IkasContactForm): void;
37
+ }