@ikas/bp-storefront 0.15.0

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 (996) hide show
  1. package/dist/_virtual/URL-impl.js +1 -0
  2. package/dist/_virtual/URL.js +1 -0
  3. package/dist/_virtual/_commonjsHelpers.js +1 -0
  4. package/dist/_virtual/_nodeUtil.js +1 -0
  5. package/dist/_virtual/fetch-npm-node.js +1 -0
  6. package/dist/_virtual/index.js +1 -0
  7. package/dist/_virtual/index.mjs.js +1 -0
  8. package/dist/_virtual/isBuffer.js +1 -0
  9. package/dist/_virtual/public-api.js +1 -0
  10. package/dist/_virtual/url-state-machine.js +1 -0
  11. package/dist/_virtual/utils.js +1 -0
  12. package/dist/analytics/analytics-functions/addToCart.js +1 -0
  13. package/dist/analytics/analytics-functions/addToWishlist.js +1 -0
  14. package/dist/analytics/analytics-functions/completeRegistration.js +1 -0
  15. package/dist/analytics/analytics-functions/contactForm.js +1 -0
  16. package/dist/analytics/analytics-functions/createEmailSubscription.js +1 -0
  17. package/dist/analytics/analytics-functions/customerLogin.js +1 -0
  18. package/dist/analytics/analytics-functions/customerLogout.js +1 -0
  19. package/dist/analytics/analytics-functions/customerVisit.js +1 -0
  20. package/dist/analytics/analytics-functions/helpers.js +1 -0
  21. package/dist/analytics/analytics-functions/pageView.js +1 -0
  22. package/dist/analytics/analytics-functions/productView.js +1 -0
  23. package/dist/analytics/analytics-functions/removeFromCart.js +1 -0
  24. package/dist/analytics/analytics-functions/search.js +1 -0
  25. package/dist/analytics/analytics-functions/viewBrand.js +1 -0
  26. package/dist/analytics/analytics-functions/viewCart.js +1 -0
  27. package/dist/analytics/analytics-functions/viewCategory.js +1 -0
  28. package/dist/analytics/analytics-functions/viewListing.js +1 -0
  29. package/dist/analytics/analytics-functions/viewSearchResults.js +1 -0
  30. package/dist/analytics/analytics-functions/viewStorefrontPopup.js +1 -0
  31. package/dist/analytics/analytics.js +1 -0
  32. package/dist/analytics/events.js +1 -0
  33. package/dist/analytics/facebook/addToCart.js +1 -0
  34. package/dist/analytics/facebook/addToWishlist.js +1 -0
  35. package/dist/analytics/facebook/completeRegistration.js +1 -0
  36. package/dist/analytics/facebook/contactForm.js +1 -0
  37. package/dist/analytics/facebook/pageView.js +1 -0
  38. package/dist/analytics/facebook/productView.js +1 -0
  39. package/dist/analytics/facebook/search.js +1 -0
  40. package/dist/analytics/facebook/utils.js +1 -0
  41. package/dist/analytics/facebook/viewCart.js +1 -0
  42. package/dist/analytics/facebook/viewCategory.js +1 -0
  43. package/dist/analytics/google-analytics/addToCart.js +1 -0
  44. package/dist/analytics/google-analytics/productView.js +1 -0
  45. package/dist/analytics/google-analytics/removeFromCart.js +1 -0
  46. package/dist/analytics/google-analytics/search.js +1 -0
  47. package/dist/analytics/google-analytics/utils.js +1 -0
  48. package/dist/analytics/google-analytics/viewCart.js +1 -0
  49. package/dist/analytics/google-tag-manager/addToCart.js +1 -0
  50. package/dist/analytics/google-tag-manager/completeRegistration.js +1 -0
  51. package/dist/analytics/google-tag-manager/customerLogin.js +1 -0
  52. package/dist/analytics/google-tag-manager/customerLogout.js +1 -0
  53. package/dist/analytics/google-tag-manager/customerVisit.js +1 -0
  54. package/dist/analytics/google-tag-manager/pageView.js +1 -0
  55. package/dist/analytics/google-tag-manager/productView.js +1 -0
  56. package/dist/analytics/google-tag-manager/removeFromCart.js +1 -0
  57. package/dist/analytics/google-tag-manager/search.js +1 -0
  58. package/dist/analytics/google-tag-manager/utils.js +1 -0
  59. package/dist/analytics/google-tag-manager/viewCart.js +1 -0
  60. package/dist/analytics/google-tag-manager/viewCategory.js +1 -0
  61. package/dist/analytics/ikas/analytics.js +1 -0
  62. package/dist/analytics/tiktok/addToCart.js +1 -0
  63. package/dist/analytics/tiktok/addToWishlist.js +1 -0
  64. package/dist/analytics/tiktok/completeRegistration.js +1 -0
  65. package/dist/analytics/tiktok/contactForm.js +1 -0
  66. package/dist/analytics/tiktok/identify.js +1 -0
  67. package/dist/analytics/tiktok/pageView.js +1 -0
  68. package/dist/analytics/tiktok/productView.js +1 -0
  69. package/dist/analytics/tiktok/search.js +1 -0
  70. package/dist/analytics/tiktok/utils.js +1 -0
  71. package/dist/analytics/tiktok/viewCategory.js +1 -0
  72. package/dist/analytics/utils.js +1 -0
  73. package/dist/ext/animejs/lib/anime.esm.js +9 -0
  74. package/dist/ext/isomorphic-fetch/fetch-npm-node.js +1 -0
  75. package/dist/ext/lodash/_DataView.js +1 -0
  76. package/dist/ext/lodash/_Hash.js +1 -0
  77. package/dist/ext/lodash/_ListCache.js +1 -0
  78. package/dist/ext/lodash/_Map.js +1 -0
  79. package/dist/ext/lodash/_MapCache.js +1 -0
  80. package/dist/ext/lodash/_Promise.js +1 -0
  81. package/dist/ext/lodash/_Set.js +1 -0
  82. package/dist/ext/lodash/_SetCache.js +1 -0
  83. package/dist/ext/lodash/_Stack.js +1 -0
  84. package/dist/ext/lodash/_Symbol.js +1 -0
  85. package/dist/ext/lodash/_Uint8Array.js +1 -0
  86. package/dist/ext/lodash/_WeakMap.js +1 -0
  87. package/dist/ext/lodash/_apply.js +1 -0
  88. package/dist/ext/lodash/_arrayFilter.js +1 -0
  89. package/dist/ext/lodash/_arrayLikeKeys.js +1 -0
  90. package/dist/ext/lodash/_arrayMap.js +1 -0
  91. package/dist/ext/lodash/_arrayPush.js +1 -0
  92. package/dist/ext/lodash/_arraySome.js +1 -0
  93. package/dist/ext/lodash/_assocIndexOf.js +1 -0
  94. package/dist/ext/lodash/_baseEach.js +1 -0
  95. package/dist/ext/lodash/_baseFlatten.js +1 -0
  96. package/dist/ext/lodash/_baseFor.js +1 -0
  97. package/dist/ext/lodash/_baseForOwn.js +1 -0
  98. package/dist/ext/lodash/_baseGet.js +1 -0
  99. package/dist/ext/lodash/_baseGetAllKeys.js +1 -0
  100. package/dist/ext/lodash/_baseGetTag.js +1 -0
  101. package/dist/ext/lodash/_baseHasIn.js +1 -0
  102. package/dist/ext/lodash/_baseIsArguments.js +1 -0
  103. package/dist/ext/lodash/_baseIsEqual.js +1 -0
  104. package/dist/ext/lodash/_baseIsEqualDeep.js +1 -0
  105. package/dist/ext/lodash/_baseIsMatch.js +1 -0
  106. package/dist/ext/lodash/_baseIsNative.js +1 -0
  107. package/dist/ext/lodash/_baseIsTypedArray.js +1 -0
  108. package/dist/ext/lodash/_baseIteratee.js +1 -0
  109. package/dist/ext/lodash/_baseKeys.js +1 -0
  110. package/dist/ext/lodash/_baseMap.js +1 -0
  111. package/dist/ext/lodash/_baseMatches.js +1 -0
  112. package/dist/ext/lodash/_baseMatchesProperty.js +1 -0
  113. package/dist/ext/lodash/_baseOrderBy.js +1 -0
  114. package/dist/ext/lodash/_baseProperty.js +1 -0
  115. package/dist/ext/lodash/_basePropertyDeep.js +1 -0
  116. package/dist/ext/lodash/_baseRest.js +1 -0
  117. package/dist/ext/lodash/_baseSetToString.js +1 -0
  118. package/dist/ext/lodash/_baseSortBy.js +1 -0
  119. package/dist/ext/lodash/_baseTimes.js +1 -0
  120. package/dist/ext/lodash/_baseToString.js +1 -0
  121. package/dist/ext/lodash/_baseUnary.js +1 -0
  122. package/dist/ext/lodash/_cacheHas.js +1 -0
  123. package/dist/ext/lodash/_castPath.js +1 -0
  124. package/dist/ext/lodash/_compareAscending.js +1 -0
  125. package/dist/ext/lodash/_compareMultiple.js +1 -0
  126. package/dist/ext/lodash/_coreJsData.js +1 -0
  127. package/dist/ext/lodash/_createBaseEach.js +1 -0
  128. package/dist/ext/lodash/_createBaseFor.js +1 -0
  129. package/dist/ext/lodash/_defineProperty.js +1 -0
  130. package/dist/ext/lodash/_equalArrays.js +1 -0
  131. package/dist/ext/lodash/_equalByTag.js +1 -0
  132. package/dist/ext/lodash/_equalObjects.js +1 -0
  133. package/dist/ext/lodash/_freeGlobal.js +1 -0
  134. package/dist/ext/lodash/_getAllKeys.js +1 -0
  135. package/dist/ext/lodash/_getMapData.js +1 -0
  136. package/dist/ext/lodash/_getMatchData.js +1 -0
  137. package/dist/ext/lodash/_getNative.js +1 -0
  138. package/dist/ext/lodash/_getRawTag.js +1 -0
  139. package/dist/ext/lodash/_getSymbols.js +1 -0
  140. package/dist/ext/lodash/_getTag.js +1 -0
  141. package/dist/ext/lodash/_getValue.js +1 -0
  142. package/dist/ext/lodash/_hasPath.js +1 -0
  143. package/dist/ext/lodash/_hashClear.js +1 -0
  144. package/dist/ext/lodash/_hashDelete.js +1 -0
  145. package/dist/ext/lodash/_hashGet.js +1 -0
  146. package/dist/ext/lodash/_hashHas.js +1 -0
  147. package/dist/ext/lodash/_hashSet.js +1 -0
  148. package/dist/ext/lodash/_isFlattenable.js +1 -0
  149. package/dist/ext/lodash/_isIndex.js +1 -0
  150. package/dist/ext/lodash/_isIterateeCall.js +1 -0
  151. package/dist/ext/lodash/_isKey.js +1 -0
  152. package/dist/ext/lodash/_isKeyable.js +1 -0
  153. package/dist/ext/lodash/_isMasked.js +1 -0
  154. package/dist/ext/lodash/_isPrototype.js +1 -0
  155. package/dist/ext/lodash/_isStrictComparable.js +1 -0
  156. package/dist/ext/lodash/_listCacheClear.js +1 -0
  157. package/dist/ext/lodash/_listCacheDelete.js +1 -0
  158. package/dist/ext/lodash/_listCacheGet.js +1 -0
  159. package/dist/ext/lodash/_listCacheHas.js +1 -0
  160. package/dist/ext/lodash/_listCacheSet.js +1 -0
  161. package/dist/ext/lodash/_mapCacheClear.js +1 -0
  162. package/dist/ext/lodash/_mapCacheDelete.js +1 -0
  163. package/dist/ext/lodash/_mapCacheGet.js +1 -0
  164. package/dist/ext/lodash/_mapCacheHas.js +1 -0
  165. package/dist/ext/lodash/_mapCacheSet.js +1 -0
  166. package/dist/ext/lodash/_mapToArray.js +1 -0
  167. package/dist/ext/lodash/_matchesStrictComparable.js +1 -0
  168. package/dist/ext/lodash/_memoizeCapped.js +1 -0
  169. package/dist/ext/lodash/_nativeCreate.js +1 -0
  170. package/dist/ext/lodash/_nativeKeys.js +1 -0
  171. package/dist/ext/lodash/_nodeUtil.js +1 -0
  172. package/dist/ext/lodash/_objectToString.js +1 -0
  173. package/dist/ext/lodash/_overArg.js +1 -0
  174. package/dist/ext/lodash/_overRest.js +1 -0
  175. package/dist/ext/lodash/_root.js +1 -0
  176. package/dist/ext/lodash/_setCacheAdd.js +1 -0
  177. package/dist/ext/lodash/_setCacheHas.js +1 -0
  178. package/dist/ext/lodash/_setToArray.js +1 -0
  179. package/dist/ext/lodash/_setToString.js +1 -0
  180. package/dist/ext/lodash/_shortOut.js +1 -0
  181. package/dist/ext/lodash/_stackClear.js +1 -0
  182. package/dist/ext/lodash/_stackDelete.js +1 -0
  183. package/dist/ext/lodash/_stackGet.js +1 -0
  184. package/dist/ext/lodash/_stackHas.js +1 -0
  185. package/dist/ext/lodash/_stackSet.js +1 -0
  186. package/dist/ext/lodash/_stringToPath.js +1 -0
  187. package/dist/ext/lodash/_toKey.js +1 -0
  188. package/dist/ext/lodash/_toSource.js +1 -0
  189. package/dist/ext/lodash/constant.js +1 -0
  190. package/dist/ext/lodash/eq.js +1 -0
  191. package/dist/ext/lodash/get.js +1 -0
  192. package/dist/ext/lodash/hasIn.js +1 -0
  193. package/dist/ext/lodash/identity.js +1 -0
  194. package/dist/ext/lodash/isArguments.js +1 -0
  195. package/dist/ext/lodash/isArray.js +1 -0
  196. package/dist/ext/lodash/isArrayLike.js +1 -0
  197. package/dist/ext/lodash/isBuffer.js +1 -0
  198. package/dist/ext/lodash/isFunction.js +1 -0
  199. package/dist/ext/lodash/isLength.js +1 -0
  200. package/dist/ext/lodash/isObject.js +1 -0
  201. package/dist/ext/lodash/isObjectLike.js +1 -0
  202. package/dist/ext/lodash/isSymbol.js +1 -0
  203. package/dist/ext/lodash/isTypedArray.js +1 -0
  204. package/dist/ext/lodash/keys.js +1 -0
  205. package/dist/ext/lodash/memoize.js +1 -0
  206. package/dist/ext/lodash/property.js +1 -0
  207. package/dist/ext/lodash/sortBy.js +1 -0
  208. package/dist/ext/lodash/stubArray.js +1 -0
  209. package/dist/ext/lodash/stubFalse.js +1 -0
  210. package/dist/ext/lodash/toString.js +1 -0
  211. package/dist/ext/mobx/dist/mobx.esm.js +1 -0
  212. package/dist/ext/node-fetch/lib/index.mjs.js +1 -0
  213. package/dist/ext/tr46/index.js +1 -0
  214. package/dist/ext/tr46/lib/mappingTable.json.js +1 -0
  215. package/dist/ext/tslib/tslib.es6.mjs.js +1 -0
  216. package/dist/ext/uuid/dist/esm-browser/md5.js +1 -0
  217. package/dist/ext/uuid/dist/esm-browser/native.js +1 -0
  218. package/dist/ext/uuid/dist/esm-browser/parse.js +1 -0
  219. package/dist/ext/uuid/dist/esm-browser/regex.js +1 -0
  220. package/dist/ext/uuid/dist/esm-browser/rng.js +1 -0
  221. package/dist/ext/uuid/dist/esm-browser/sha1.js +1 -0
  222. package/dist/ext/uuid/dist/esm-browser/stringify.js +1 -0
  223. package/dist/ext/uuid/dist/esm-browser/v3.js +1 -0
  224. package/dist/ext/uuid/dist/esm-browser/v35.js +1 -0
  225. package/dist/ext/uuid/dist/esm-browser/v4.js +1 -0
  226. package/dist/ext/uuid/dist/esm-browser/v5.js +1 -0
  227. package/dist/ext/uuid/dist/esm-browser/validate.js +1 -0
  228. package/dist/ext/webidl-conversions/lib/index.js +1 -0
  229. package/dist/ext/whatwg-url/lib/URL-impl.js +1 -0
  230. package/dist/ext/whatwg-url/lib/URL.js +1 -0
  231. package/dist/ext/whatwg-url/lib/public-api.js +1 -0
  232. package/dist/ext/whatwg-url/lib/url-state-machine.js +1 -0
  233. package/dist/ext/whatwg-url/lib/utils.js +1 -0
  234. package/dist/externals/index.js +1 -0
  235. package/dist/functions/api/blog/index.js +1 -0
  236. package/dist/functions/api/brand/index.js +1 -0
  237. package/dist/functions/api/cart/index.js +1 -0
  238. package/dist/functions/api/category/index.js +1 -0
  239. package/dist/functions/api/checkout/index.js +1 -0
  240. package/dist/functions/api/customer/index.js +1 -0
  241. package/dist/functions/api/file/index.js +1 -0
  242. package/dist/functions/api/location/index.js +1 -0
  243. package/dist/functions/api/loyalty/index.js +1 -0
  244. package/dist/functions/api/popup/index.js +1 -0
  245. package/dist/functions/api/product/index.js +1 -0
  246. package/dist/functions/models/attribute-detail/index.js +1 -0
  247. package/dist/functions/models/attribute-list/index.js +1 -0
  248. package/dist/functions/models/base/index.js +1 -0
  249. package/dist/functions/models/blog/category/index.js +1 -0
  250. package/dist/functions/models/blog/category/init.js +1 -0
  251. package/dist/functions/models/blog/index.js +1 -0
  252. package/dist/functions/models/blog/init.js +1 -0
  253. package/dist/functions/models/blog-category-list/index.js +1 -0
  254. package/dist/functions/models/blog-category-list/init.js +1 -0
  255. package/dist/functions/models/blog-list/index.js +1 -0
  256. package/dist/functions/models/blog-list/init.js +1 -0
  257. package/dist/functions/models/brand/index.js +1 -0
  258. package/dist/functions/models/brand/init.js +1 -0
  259. package/dist/functions/models/brand-list/index.js +1 -0
  260. package/dist/functions/models/brand-list/init.js +1 -0
  261. package/dist/functions/models/campaign-offer/index.js +1 -0
  262. package/dist/functions/models/category/index.js +1 -0
  263. package/dist/functions/models/category/init.js +1 -0
  264. package/dist/functions/models/category/path-item/index.js +1 -0
  265. package/dist/functions/models/category/path-item/init.js +1 -0
  266. package/dist/functions/models/category-list/index.js +1 -0
  267. package/dist/functions/models/category-list/init.js +1 -0
  268. package/dist/functions/models/checkout/index.js +1 -0
  269. package/dist/functions/models/country/init.js +1 -0
  270. package/dist/functions/models/customer/address/index.js +1 -0
  271. package/dist/functions/models/customer/attribute/index.js +1 -0
  272. package/dist/functions/models/customer/attribute/init.js +1 -0
  273. package/dist/functions/models/customer/index.js +1 -0
  274. package/dist/functions/models/customer/review/index.js +1 -0
  275. package/dist/functions/models/customer/review/init.js +1 -0
  276. package/dist/functions/models/customer-review-list/index.js +1 -0
  277. package/dist/functions/models/customer-review-list/init.js +1 -0
  278. package/dist/functions/models/customer-review-summary-list/index.js +1 -0
  279. package/dist/functions/models/customer-review-summary-list/init.js +1 -0
  280. package/dist/functions/models/filter-category/index.js +1 -0
  281. package/dist/functions/models/html-meta-data/init.js +1 -0
  282. package/dist/functions/models/ikas-theme/date-picker.js +1 -0
  283. package/dist/functions/models/image/index.js +1 -0
  284. package/dist/functions/models/merchant-settings/init.js +1 -0
  285. package/dist/functions/models/order/address/index.js +1 -0
  286. package/dist/functions/models/order/adjustment/index.js +1 -0
  287. package/dist/functions/models/order/gift-package/index.js +1 -0
  288. package/dist/functions/models/order/index.js +1 -0
  289. package/dist/functions/models/order/line-item/index.js +1 -0
  290. package/dist/functions/models/order/line-item/variant/bundle-product/bundle-variant/index.js +1 -0
  291. package/dist/functions/models/order/line-item/variant/index.js +1 -0
  292. package/dist/functions/models/order/line-item/variant/value/index.js +1 -0
  293. package/dist/functions/models/order/transaction/index.js +1 -0
  294. package/dist/functions/models/payment-gateway/index.js +1 -0
  295. package/dist/functions/models/payment-gateway/init.js +1 -0
  296. package/dist/functions/models/product/attribute/init.js +1 -0
  297. package/dist/functions/models/product/attribute-value/index.js +1 -0
  298. package/dist/functions/models/product/attribute-value/init.js +1 -0
  299. package/dist/functions/models/product/campaign-offer/index.js +1 -0
  300. package/dist/functions/models/product/campaign-offer/init.js +1 -0
  301. package/dist/functions/models/product/campaign-offer/product/init.js +1 -0
  302. package/dist/functions/models/product/filter/index.js +1 -0
  303. package/dist/functions/models/product/group/init.js +1 -0
  304. package/dist/functions/models/product/image/init.js +1 -0
  305. package/dist/functions/models/product/index.js +1 -0
  306. package/dist/functions/models/product/init.js +1 -0
  307. package/dist/functions/models/product/option-set/index.js +1 -0
  308. package/dist/functions/models/product/option-set/init.js +1 -0
  309. package/dist/functions/models/product/option-set/option/index.js +1 -0
  310. package/dist/functions/models/product/option-set/option/init.js +1 -0
  311. package/dist/functions/models/product/variant/index.js +1 -0
  312. package/dist/functions/models/product/variant/init.js +1 -0
  313. package/dist/functions/models/product/variant/price/index.js +1 -0
  314. package/dist/functions/models/product/variant-type/init.js +1 -0
  315. package/dist/functions/models/product-list/index.js +1 -0
  316. package/dist/functions/models/raffle/index.js +1 -0
  317. package/dist/functions/models/raffle/init.js +1 -0
  318. package/dist/functions/models/state/init.js +1 -0
  319. package/dist/functions/models/validator/account-info/index.js +1 -0
  320. package/dist/functions/models/validator/address/index.js +1 -0
  321. package/dist/functions/models/validator/back-in-stock-notification/index.js +1 -0
  322. package/dist/functions/models/validator/contact-form/index.js +1 -0
  323. package/dist/functions/models/validator/coupon-code-form/index.js +1 -0
  324. package/dist/functions/models/validator/customer-review/index.js +1 -0
  325. package/dist/functions/models/validator/forgot-password/index.js +1 -0
  326. package/dist/functions/models/validator/index.js +1 -0
  327. package/dist/functions/models/validator/login/index.js +1 -0
  328. package/dist/functions/models/validator/newsletter-subscription/index.js +1 -0
  329. package/dist/functions/models/validator/order-tracking/index.js +1 -0
  330. package/dist/functions/models/validator/recover-password/index.js +1 -0
  331. package/dist/functions/models/validator/register/index.js +1 -0
  332. package/dist/functions/models/validator/sms-login/index.js +1 -0
  333. package/dist/functions/models/validator/verify-phone-number/index.js +1 -0
  334. package/dist/functions/models/variant-type/index.js +1 -0
  335. package/dist/functions/models/variant-type/init.js +1 -0
  336. package/dist/functions/models/variant-type/variant-value/index.js +1 -0
  337. package/dist/functions/others/index.js +1 -0
  338. package/dist/functions/stores/base/index.js +1 -0
  339. package/dist/functions/stores/cart/index.js +1 -0
  340. package/dist/functions/stores/customer/index.js +1 -0
  341. package/dist/i18n/index.js +1 -0
  342. package/dist/index.js +1 -0
  343. package/dist/packages/storefront-api/src/__api/mutations/activateCustomer.js +1 -0
  344. package/dist/packages/storefront-api/src/__api/mutations/addItemToCart.js +1 -0
  345. package/dist/packages/storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession.js +1 -0
  346. package/dist/packages/storefront-api/src/__api/mutations/createCustomerReview.js +1 -0
  347. package/dist/packages/storefront-api/src/__api/mutations/createKlarnaClientToken.js +1 -0
  348. package/dist/packages/storefront-api/src/__api/mutations/createOrderRefundRequest.js +1 -0
  349. package/dist/packages/storefront-api/src/__api/mutations/createPayWithIkasSessionUrl.js +1 -0
  350. package/dist/packages/storefront-api/src/__api/mutations/createPaypalOrder.js +1 -0
  351. package/dist/packages/storefront-api/src/__api/mutations/createSaleTransactionWithCart.js +1 -0
  352. package/dist/packages/storefront-api/src/__api/mutations/createStripePaymentIntent.js +1 -0
  353. package/dist/packages/storefront-api/src/__api/mutations/customerDeactivate.js +1 -0
  354. package/dist/packages/storefront-api/src/__api/mutations/customerForgotPassword.js +1 -0
  355. package/dist/packages/storefront-api/src/__api/mutations/customerLogin.js +1 -0
  356. package/dist/packages/storefront-api/src/__api/mutations/customerRecoverPassword.js +1 -0
  357. package/dist/packages/storefront-api/src/__api/mutations/customerRefreshToken.js +1 -0
  358. package/dist/packages/storefront-api/src/__api/mutations/getOrderLineFile.js +1 -0
  359. package/dist/packages/storefront-api/src/__api/mutations/getPaypalClientId.js +1 -0
  360. package/dist/packages/storefront-api/src/__api/mutations/registerCustomer.js +1 -0
  361. package/dist/packages/storefront-api/src/__api/mutations/removeLoyaltyPointsFromCart.js +1 -0
  362. package/dist/packages/storefront-api/src/__api/mutations/resendCustomerActivationMail.js +1 -0
  363. package/dist/packages/storefront-api/src/__api/mutations/resendCustomerPhoneVerificationCode.js +1 -0
  364. package/dist/packages/storefront-api/src/__api/mutations/retrieveInstallmentInfo.js +1 -0
  365. package/dist/packages/storefront-api/src/__api/mutations/saveCart.js +1 -0
  366. package/dist/packages/storefront-api/src/__api/mutations/saveCartCouponCode.js +1 -0
  367. package/dist/packages/storefront-api/src/__api/mutations/saveCustomerFormData.js +1 -0
  368. package/dist/packages/storefront-api/src/__api/mutations/saveFavoriteProduct.js +1 -0
  369. package/dist/packages/storefront-api/src/__api/mutations/saveLastViewedProducts.js +1 -0
  370. package/dist/packages/storefront-api/src/__api/mutations/saveMyCustomer.js +1 -0
  371. package/dist/packages/storefront-api/src/__api/mutations/saveProductBackInStockRemind.js +1 -0
  372. package/dist/packages/storefront-api/src/__api/mutations/sendContactFormToMerchant.js +1 -0
  373. package/dist/packages/storefront-api/src/__api/mutations/subscribeToMarketingNotifications.js +1 -0
  374. package/dist/packages/storefront-api/src/__api/mutations/updateCartCampaignOffer.js +1 -0
  375. package/dist/packages/storefront-api/src/__api/mutations/useLoyaltyPoints.js +1 -0
  376. package/dist/packages/storefront-api/src/__api/mutations/validateCustomerPhoneVerificationCode.js +1 -0
  377. package/dist/packages/storefront-api/src/__api/mutations/validateOTPCode.js +1 -0
  378. package/dist/packages/storefront-api/src/__api/queries/checkCartStocks.js +1 -0
  379. package/dist/packages/storefront-api/src/__api/queries/checkCustomerEmail.js +1 -0
  380. package/dist/packages/storefront-api/src/__api/queries/checkStocks.js +1 -0
  381. package/dist/packages/storefront-api/src/__api/queries/customerSocialLogin.js +1 -0
  382. package/dist/packages/storefront-api/src/__api/queries/exportCustomerPersonalData.js +1 -0
  383. package/dist/packages/storefront-api/src/__api/queries/getAvailableShippingCountries.js +1 -0
  384. package/dist/packages/storefront-api/src/__api/queries/getAvailableShippingZones.js +1 -0
  385. package/dist/packages/storefront-api/src/__api/queries/getAvailableStockLocations.js +1 -0
  386. package/dist/packages/storefront-api/src/__api/queries/getCartById.js +1 -0
  387. package/dist/packages/storefront-api/src/__api/queries/getCustomerOrders.js +1 -0
  388. package/dist/packages/storefront-api/src/__api/queries/getDigitalProductFileDownloadUrl.js +1 -0
  389. package/dist/packages/storefront-api/src/__api/queries/getLastViewedProducts.js +1 -0
  390. package/dist/packages/storefront-api/src/__api/queries/getLoyaltyCustomerInfo.js +1 -0
  391. package/dist/packages/storefront-api/src/__api/queries/getMyCountry.js +1 -0
  392. package/dist/packages/storefront-api/src/__api/queries/getMyCustomer.js +1 -0
  393. package/dist/packages/storefront-api/src/__api/queries/getOrderByEmail.js +1 -0
  394. package/dist/packages/storefront-api/src/__api/queries/getProductCampaigns.js +1 -0
  395. package/dist/packages/storefront-api/src/__api/queries/getProductFilterData.js +1 -0
  396. package/dist/packages/storefront-api/src/__api/queries/getProductOptionFileUrl.js +1 -0
  397. package/dist/packages/storefront-api/src/__api/queries/getRelatedProducts.js +1 -0
  398. package/dist/packages/storefront-api/src/__api/queries/getStorefrontWidgetSettings.js +1 -0
  399. package/dist/packages/storefront-api/src/__api/queries/getSuggestedProducts.js +1 -0
  400. package/dist/packages/storefront-api/src/__api/queries/getVariantStockLocations.js +1 -0
  401. package/dist/packages/storefront-api/src/__api/queries/isFavoriteProduct.js +1 -0
  402. package/dist/packages/storefront-api/src/__api/queries/listBlog.js +1 -0
  403. package/dist/packages/storefront-api/src/__api/queries/listBlogCategory.js +1 -0
  404. package/dist/packages/storefront-api/src/__api/queries/listBlogMetadata.js +1 -0
  405. package/dist/packages/storefront-api/src/__api/queries/listCampaignOffer.js +1 -0
  406. package/dist/packages/storefront-api/src/__api/queries/listCategory.js +1 -0
  407. package/dist/packages/storefront-api/src/__api/queries/listCheckoutSettings.js +1 -0
  408. package/dist/packages/storefront-api/src/__api/queries/listCity.js +1 -0
  409. package/dist/packages/storefront-api/src/__api/queries/listCountry.js +1 -0
  410. package/dist/packages/storefront-api/src/__api/queries/listCustomerAttribute.js +1 -0
  411. package/dist/packages/storefront-api/src/__api/queries/listCustomerReviewSummary.js +1 -0
  412. package/dist/packages/storefront-api/src/__api/queries/listCustomerReviews.js +1 -0
  413. package/dist/packages/storefront-api/src/__api/queries/listCustomerSettings.js +1 -0
  414. package/dist/packages/storefront-api/src/__api/queries/listDistrict.js +1 -0
  415. package/dist/packages/storefront-api/src/__api/queries/listEarningMethods.js +1 -0
  416. package/dist/packages/storefront-api/src/__api/queries/listFavoriteProducts.js +1 -0
  417. package/dist/packages/storefront-api/src/__api/queries/listLoyaltyProgramPointHistory.js +1 -0
  418. package/dist/packages/storefront-api/src/__api/queries/listLoyaltyProgramTiers.js +1 -0
  419. package/dist/packages/storefront-api/src/__api/queries/listOrderRefundSettings.js +1 -0
  420. package/dist/packages/storefront-api/src/__api/queries/listOrderTransactions.js +1 -0
  421. package/dist/packages/storefront-api/src/__api/queries/listPaymentGateway.js +1 -0
  422. package/dist/packages/storefront-api/src/__api/queries/listProductAttribute.js +1 -0
  423. package/dist/packages/storefront-api/src/__api/queries/listProductBackInStockRemind.js +1 -0
  424. package/dist/packages/storefront-api/src/__api/queries/listProductBrand.js +1 -0
  425. package/dist/packages/storefront-api/src/__api/queries/listProductFile.js +1 -0
  426. package/dist/packages/storefront-api/src/__api/queries/listProductOptionSet.js +1 -0
  427. package/dist/packages/storefront-api/src/__api/queries/listSpendingMethodsByCartId.js +1 -0
  428. package/dist/packages/storefront-api/src/__api/queries/listState.js +1 -0
  429. package/dist/packages/storefront-api/src/__api/queries/listStockLocation.js +1 -0
  430. package/dist/packages/storefront-api/src/__api/queries/listStorefrontPopup.js +1 -0
  431. package/dist/packages/storefront-api/src/__api/queries/searchProducts.js +1 -0
  432. package/dist/packages/storefront-api/src/index.js +1 -0
  433. package/dist/packages/storefront-api-client/ext/tslib/tslib.es6.js +15 -0
  434. package/dist/packages/storefront-api-client/src/config/index.js +1 -0
  435. package/dist/packages/storefront-api-client/src/utils/api.js +1 -0
  436. package/dist/packages/storefront-api-client/src/utils/fetch-query.js +1 -0
  437. package/dist/packages/storefront-config/src/index.js +1 -0
  438. package/dist/packages/storefront-models/src/models/merchant-settings/index.js +1 -0
  439. package/dist/router/index.js +1 -0
  440. package/dist/storefront/src/analytics/analytics-functions/addToCart.d.ts +2 -0
  441. package/dist/storefront/src/analytics/analytics-functions/addToWishlist.d.ts +1 -0
  442. package/dist/storefront/src/analytics/analytics-functions/completeRegistration.d.ts +2 -0
  443. package/dist/storefront/src/analytics/analytics-functions/contactForm.d.ts +2 -0
  444. package/dist/storefront/src/analytics/analytics-functions/createEmailSubscription.d.ts +1 -0
  445. package/dist/storefront/src/analytics/analytics-functions/customerLogin.d.ts +1 -0
  446. package/dist/storefront/src/analytics/analytics-functions/customerLogout.d.ts +1 -0
  447. package/dist/storefront/src/analytics/analytics-functions/customerVisit.d.ts +1 -0
  448. package/dist/storefront/src/analytics/analytics-functions/helpers.d.ts +12 -0
  449. package/dist/storefront/src/analytics/analytics-functions/index.d.ts +18 -0
  450. package/dist/storefront/src/analytics/analytics-functions/pageView.d.ts +2 -0
  451. package/dist/storefront/src/analytics/analytics-functions/productView.d.ts +2 -0
  452. package/dist/storefront/src/analytics/analytics-functions/removeFromCart.d.ts +2 -0
  453. package/dist/storefront/src/analytics/analytics-functions/search.d.ts +1 -0
  454. package/dist/storefront/src/analytics/analytics-functions/viewBrand.d.ts +2 -0
  455. package/dist/storefront/src/analytics/analytics-functions/viewCart.d.ts +2 -0
  456. package/dist/storefront/src/analytics/analytics-functions/viewCategory.d.ts +2 -0
  457. package/dist/storefront/src/analytics/analytics-functions/viewListing.d.ts +2 -0
  458. package/dist/storefront/src/analytics/analytics-functions/viewSearchResults.d.ts +2 -0
  459. package/dist/storefront/src/analytics/analytics-functions/viewStorefrontPopup.d.ts +2 -0
  460. package/dist/storefront/src/analytics/analytics.d.ts +5 -0
  461. package/dist/storefront/src/analytics/events.d.ts +15 -0
  462. package/dist/storefront/src/analytics/facebook/addToCart.d.ts +2 -0
  463. package/dist/storefront/src/analytics/facebook/addToWishlist.d.ts +1 -0
  464. package/dist/storefront/src/analytics/facebook/completeRegistration.d.ts +1 -0
  465. package/dist/storefront/src/analytics/facebook/contactForm.d.ts +1 -0
  466. package/dist/storefront/src/analytics/facebook/pageView.d.ts +1 -0
  467. package/dist/storefront/src/analytics/facebook/productView.d.ts +2 -0
  468. package/dist/storefront/src/analytics/facebook/purchase.d.ts +2 -0
  469. package/dist/storefront/src/analytics/facebook/search.d.ts +1 -0
  470. package/dist/storefront/src/analytics/facebook/utils.d.ts +3 -0
  471. package/dist/storefront/src/analytics/facebook/viewCart.d.ts +2 -0
  472. package/dist/storefront/src/analytics/facebook/viewCategory.d.ts +1 -0
  473. package/dist/storefront/src/analytics/google-analytics/addToCart.d.ts +2 -0
  474. package/dist/storefront/src/analytics/google-analytics/productView.d.ts +2 -0
  475. package/dist/storefront/src/analytics/google-analytics/removeFromCart.d.ts +2 -0
  476. package/dist/storefront/src/analytics/google-analytics/search.d.ts +1 -0
  477. package/dist/storefront/src/analytics/google-analytics/utils.d.ts +16 -0
  478. package/dist/storefront/src/analytics/google-analytics/viewCart.d.ts +2 -0
  479. package/dist/storefront/src/analytics/google-tag-manager/addToCart.d.ts +22 -0
  480. package/dist/storefront/src/analytics/google-tag-manager/completeRegistration.d.ts +5 -0
  481. package/dist/storefront/src/analytics/google-tag-manager/customerLogin.d.ts +4 -0
  482. package/dist/storefront/src/analytics/google-tag-manager/customerLogout.d.ts +3 -0
  483. package/dist/storefront/src/analytics/google-tag-manager/customerVisit.d.ts +4 -0
  484. package/dist/storefront/src/analytics/google-tag-manager/disableHTML.d.ts +1 -0
  485. package/dist/storefront/src/analytics/google-tag-manager/pageView.d.ts +4 -0
  486. package/dist/storefront/src/analytics/google-tag-manager/productView.d.ts +30 -0
  487. package/dist/storefront/src/analytics/google-tag-manager/removeFromCart.d.ts +22 -0
  488. package/dist/storefront/src/analytics/google-tag-manager/search.d.ts +4 -0
  489. package/dist/storefront/src/analytics/google-tag-manager/utils.d.ts +16 -0
  490. package/dist/storefront/src/analytics/google-tag-manager/viewCart.d.ts +7 -0
  491. package/dist/storefront/src/analytics/google-tag-manager/viewCategory.d.ts +14 -0
  492. package/dist/storefront/src/analytics/ikas/analytics.d.ts +28 -0
  493. package/dist/storefront/src/analytics/tiktok/addToCart.d.ts +2 -0
  494. package/dist/storefront/src/analytics/tiktok/addToWishlist.d.ts +1 -0
  495. package/dist/storefront/src/analytics/tiktok/completeRegistration.d.ts +1 -0
  496. package/dist/storefront/src/analytics/tiktok/contactForm.d.ts +1 -0
  497. package/dist/storefront/src/analytics/tiktok/identify.d.ts +1 -0
  498. package/dist/storefront/src/analytics/tiktok/pageView.d.ts +1 -0
  499. package/dist/storefront/src/analytics/tiktok/productView.d.ts +2 -0
  500. package/dist/storefront/src/analytics/tiktok/search.d.ts +1 -0
  501. package/dist/storefront/src/analytics/tiktok/utils.d.ts +2 -0
  502. package/dist/storefront/src/analytics/tiktok/viewCategory.d.ts +2 -0
  503. package/dist/storefront/src/analytics/utils.d.ts +43 -0
  504. package/dist/storefront/src/externals/index.d.ts +6 -0
  505. package/dist/storefront/src/functions/api/blog/index.d.ts +26 -0
  506. package/dist/storefront/src/functions/api/brand/index.d.ts +11 -0
  507. package/dist/storefront/src/functions/api/cart/index.d.ts +14 -0
  508. package/dist/storefront/src/functions/api/category/index.d.ts +10 -0
  509. package/dist/storefront/src/functions/api/checkout/index.d.ts +32 -0
  510. package/dist/storefront/src/functions/api/customer/index.d.ts +204 -0
  511. package/dist/storefront/src/functions/api/file/index.d.ts +10 -0
  512. package/dist/storefront/src/functions/api/html-meta-data/index.d.ts +4 -0
  513. package/dist/storefront/src/functions/api/location/index.d.ts +13 -0
  514. package/dist/storefront/src/functions/api/loyalty/index.d.ts +15 -0
  515. package/dist/storefront/src/functions/api/masterpass/index.d.ts +2 -0
  516. package/dist/storefront/src/functions/api/merchant/index.d.ts +4 -0
  517. package/dist/storefront/src/functions/api/popup/index.d.ts +4 -0
  518. package/dist/storefront/src/functions/api/product/index.d.ts +55 -0
  519. package/dist/storefront/src/functions/api/raffle/index.d.ts +15 -0
  520. package/dist/storefront/src/functions/api/storefront/index.d.ts +3 -0
  521. package/dist/storefront/src/functions/models/attribute-detail/index.d.ts +21 -0
  522. package/dist/storefront/src/functions/models/attribute-list/index.d.ts +21 -0
  523. package/dist/storefront/src/functions/models/base/index.d.ts +18 -0
  524. package/dist/storefront/src/functions/models/blog/category/index.d.ts +33 -0
  525. package/dist/storefront/src/functions/models/blog/category/init.d.ts +17 -0
  526. package/dist/storefront/src/functions/models/blog/index.d.ts +35 -0
  527. package/dist/storefront/src/functions/models/blog/init.d.ts +17 -0
  528. package/dist/storefront/src/functions/models/blog-category-list/index.d.ts +149 -0
  529. package/dist/storefront/src/functions/models/blog-category-list/init.d.ts +17 -0
  530. package/dist/storefront/src/functions/models/blog-list/index.d.ts +149 -0
  531. package/dist/storefront/src/functions/models/blog-list/init.d.ts +17 -0
  532. package/dist/storefront/src/functions/models/brand/index.d.ts +18 -0
  533. package/dist/storefront/src/functions/models/brand/init.d.ts +18 -0
  534. package/dist/storefront/src/functions/models/brand-list/index.d.ts +149 -0
  535. package/dist/storefront/src/functions/models/brand-list/init.d.ts +17 -0
  536. package/dist/storefront/src/functions/models/campaign-offer/index.d.ts +55 -0
  537. package/dist/storefront/src/functions/models/category/index.d.ts +35 -0
  538. package/dist/storefront/src/functions/models/category/init.d.ts +18 -0
  539. package/dist/storefront/src/functions/models/category/path-item/index.d.ts +35 -0
  540. package/dist/storefront/src/functions/models/category/path-item/init.d.ts +18 -0
  541. package/dist/storefront/src/functions/models/category-list/index.d.ts +149 -0
  542. package/dist/storefront/src/functions/models/category-list/init.d.ts +17 -0
  543. package/dist/storefront/src/functions/models/checkout/index.d.ts +39 -0
  544. package/dist/storefront/src/functions/models/country/init.d.ts +20 -0
  545. package/dist/storefront/src/functions/models/customer/address/index.d.ts +106 -0
  546. package/dist/storefront/src/functions/models/customer/attribute/index.d.ts +39 -0
  547. package/dist/storefront/src/functions/models/customer/attribute/init.d.ts +19 -0
  548. package/dist/storefront/src/functions/models/customer/index.d.ts +47 -0
  549. package/dist/storefront/src/functions/models/customer/review/index.d.ts +18 -0
  550. package/dist/storefront/src/functions/models/customer/review/init.d.ts +18 -0
  551. package/dist/storefront/src/functions/models/customer-review-list/index.d.ts +141 -0
  552. package/dist/storefront/src/functions/models/customer-review-list/init.d.ts +17 -0
  553. package/dist/storefront/src/functions/models/customer-review-summary-list/index.d.ts +106 -0
  554. package/dist/storefront/src/functions/models/customer-review-summary-list/init.d.ts +17 -0
  555. package/dist/storefront/src/functions/models/filter-category/index.d.ts +35 -0
  556. package/dist/storefront/src/functions/models/html-meta-data/init.d.ts +38 -0
  557. package/dist/storefront/src/functions/models/ikas-theme/date-picker.d.ts +379 -0
  558. package/dist/storefront/src/functions/models/image/index.d.ts +56 -0
  559. package/dist/storefront/src/functions/models/index.d.ts +84 -0
  560. package/dist/storefront/src/functions/models/merchant-settings/init.d.ts +18 -0
  561. package/dist/storefront/src/functions/models/order/address/index.d.ts +93 -0
  562. package/dist/storefront/src/functions/models/order/adjustment/index.d.ts +56 -0
  563. package/dist/storefront/src/functions/models/order/gift-package/index.d.ts +19 -0
  564. package/dist/storefront/src/functions/models/order/index.d.ts +428 -0
  565. package/dist/storefront/src/functions/models/order/line-item/index.d.ts +307 -0
  566. package/dist/storefront/src/functions/models/order/line-item/option/value/index.d.ts +37 -0
  567. package/dist/storefront/src/functions/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +20 -0
  568. package/dist/storefront/src/functions/models/order/line-item/variant/index.d.ts +37 -0
  569. package/dist/storefront/src/functions/models/order/line-item/variant/value/index.d.ts +35 -0
  570. package/dist/storefront/src/functions/models/order/package/index.d.ts +20 -0
  571. package/dist/storefront/src/functions/models/order/transaction/index.d.ts +37 -0
  572. package/dist/storefront/src/functions/models/payment-gateway/index.d.ts +31 -0
  573. package/dist/storefront/src/functions/models/payment-gateway/init.d.ts +20 -0
  574. package/dist/storefront/src/functions/models/product/attribute/init.d.ts +17 -0
  575. package/dist/storefront/src/functions/models/product/attribute-value/index.d.ts +52 -0
  576. package/dist/storefront/src/functions/models/product/attribute-value/init.d.ts +16 -0
  577. package/dist/storefront/src/functions/models/product/campaign-offer/index.d.ts +18 -0
  578. package/dist/storefront/src/functions/models/product/campaign-offer/init.d.ts +18 -0
  579. package/dist/storefront/src/functions/models/product/campaign-offer/product/init.d.ts +17 -0
  580. package/dist/storefront/src/functions/models/product/filter/index.d.ts +344 -0
  581. package/dist/storefront/src/functions/models/product/filter/settings/init.d.ts +22 -0
  582. package/dist/storefront/src/functions/models/product/group/init.d.ts +35 -0
  583. package/dist/storefront/src/functions/models/product/image/init.d.ts +16 -0
  584. package/dist/storefront/src/functions/models/product/index.d.ts +1055 -0
  585. package/dist/storefront/src/functions/models/product/init.d.ts +57 -0
  586. package/dist/storefront/src/functions/models/product/option-set/index.d.ts +84 -0
  587. package/dist/storefront/src/functions/models/product/option-set/init.d.ts +19 -0
  588. package/dist/storefront/src/functions/models/product/option-set/option/index.d.ts +449 -0
  589. package/dist/storefront/src/functions/models/product/option-set/option/init.d.ts +17 -0
  590. package/dist/storefront/src/functions/models/product/stock-location/index.d.ts +17 -0
  591. package/dist/storefront/src/functions/models/product/variant/index.d.ts +868 -0
  592. package/dist/storefront/src/functions/models/product/variant/init.d.ts +16 -0
  593. package/dist/storefront/src/functions/models/product/variant/price/index.d.ts +70 -0
  594. package/dist/storefront/src/functions/models/product/variant-type/init.d.ts +17 -0
  595. package/dist/storefront/src/functions/models/product-list/index.d.ts +669 -0
  596. package/dist/storefront/src/functions/models/raffle/index.d.ts +19 -0
  597. package/dist/storefront/src/functions/models/raffle/init.d.ts +20 -0
  598. package/dist/storefront/src/functions/models/state/init.d.ts +20 -0
  599. package/dist/storefront/src/functions/models/validator/account-info/index.d.ts +87 -0
  600. package/dist/storefront/src/functions/models/validator/address/index.d.ts +333 -0
  601. package/dist/storefront/src/functions/models/validator/back-in-stock-notification/index.d.ts +54 -0
  602. package/dist/storefront/src/functions/models/validator/contact-form/index.d.ts +121 -0
  603. package/dist/storefront/src/functions/models/validator/coupon-code-form/index.d.ts +72 -0
  604. package/dist/storefront/src/functions/models/validator/customer-review/index.d.ts +88 -0
  605. package/dist/storefront/src/functions/models/validator/forgot-password/index.d.ts +53 -0
  606. package/dist/storefront/src/functions/models/validator/index.d.ts +54 -0
  607. package/dist/storefront/src/functions/models/validator/login/index.d.ts +70 -0
  608. package/dist/storefront/src/functions/models/validator/newsletter-subscription/index.d.ts +70 -0
  609. package/dist/storefront/src/functions/models/validator/order-tracking/index.d.ts +70 -0
  610. package/dist/storefront/src/functions/models/validator/recover-password/index.d.ts +70 -0
  611. package/dist/storefront/src/functions/models/validator/register/index.d.ts +297 -0
  612. package/dist/storefront/src/functions/models/validator/sms-login/index.d.ts +171 -0
  613. package/dist/storefront/src/functions/models/validator/verify-phone-number/index.d.ts +69 -0
  614. package/dist/storefront/src/functions/models/variant-type/index.d.ts +37 -0
  615. package/dist/storefront/src/functions/models/variant-type/init.d.ts +18 -0
  616. package/dist/storefront/src/functions/models/variant-type/variant-value/index.d.ts +91 -0
  617. package/dist/storefront/src/functions/others/index.d.ts +18 -0
  618. package/dist/storefront/src/functions/stores/base/index.d.ts +18 -0
  619. package/dist/storefront/src/functions/stores/cart/index.d.ts +547 -0
  620. package/dist/storefront/src/functions/stores/customer/index.d.ts +1919 -0
  621. package/dist/storefront/src/functions/stores/index.d.ts +3 -0
  622. package/dist/storefront/src/i18n/index.d.ts +9 -0
  623. package/dist/storefront/src/index.d.ts +28 -0
  624. package/dist/storefront/src/router/index.d.ts +161 -0
  625. package/dist/storefront/src/stores/base/index.d.ts +11 -0
  626. package/dist/storefront/src/stores/cart/index.d.ts +9 -0
  627. package/dist/storefront/src/stores/customer/index.d.ts +44 -0
  628. package/dist/storefront/src/theme/infinite-scroller/index.d.ts +3 -0
  629. package/dist/storefront/src/theme/overlay/index.d.ts +5 -0
  630. package/dist/storefront/src/theme/slider/index.d.ts +8 -0
  631. package/dist/storefront/src/theme/styles/index.d.ts +7 -0
  632. package/dist/storefront/src/utils/blueprint.d.ts +4 -0
  633. package/dist/storefront/src/utils/currency.d.ts +7 -0
  634. package/dist/storefront/src/utils/fetch.d.ts +7 -0
  635. package/dist/storefront/src/utils/helper.d.ts +21 -0
  636. package/dist/storefront/src/utils/object-wrapper.d.ts +9 -0
  637. package/dist/storefront-api/src/__api/mutations/activateCustomer.d.ts +6 -0
  638. package/dist/storefront-api/src/__api/mutations/addItemToCart.d.ts +6 -0
  639. package/dist/storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession.d.ts +6 -0
  640. package/dist/storefront-api/src/__api/mutations/createCustomerReview.d.ts +6 -0
  641. package/dist/storefront-api/src/__api/mutations/createKlarnaClientToken.d.ts +6 -0
  642. package/dist/storefront-api/src/__api/mutations/createOrderRefundRequest.d.ts +6 -0
  643. package/dist/storefront-api/src/__api/mutations/createPayWithIkasSessionUrl.d.ts +6 -0
  644. package/dist/storefront-api/src/__api/mutations/createPaypalOrder.d.ts +7 -0
  645. package/dist/storefront-api/src/__api/mutations/createSaleTransactionWithCart.d.ts +6 -0
  646. package/dist/storefront-api/src/__api/mutations/createStripePaymentIntent.d.ts +6 -0
  647. package/dist/storefront-api/src/__api/mutations/customerDeactivate.d.ts +5 -0
  648. package/dist/storefront-api/src/__api/mutations/customerForgotPassword.d.ts +7 -0
  649. package/dist/storefront-api/src/__api/mutations/customerLogin.d.ts +9 -0
  650. package/dist/storefront-api/src/__api/mutations/customerRecoverPassword.d.ts +8 -0
  651. package/dist/storefront-api/src/__api/mutations/customerRefreshToken.d.ts +6 -0
  652. package/dist/storefront-api/src/__api/mutations/getOrderLineFile.d.ts +6 -0
  653. package/dist/storefront-api/src/__api/mutations/getPaypalClientId.d.ts +6 -0
  654. package/dist/storefront-api/src/__api/mutations/registerCustomer.d.ts +20 -0
  655. package/dist/storefront-api/src/__api/mutations/removeLoyaltyPointsFromCart.d.ts +7 -0
  656. package/dist/storefront-api/src/__api/mutations/resendCustomerActivationMail.d.ts +6 -0
  657. package/dist/storefront-api/src/__api/mutations/resendCustomerPhoneVerificationCode.d.ts +6 -0
  658. package/dist/storefront-api/src/__api/mutations/retrieveInstallmentInfo.d.ts +6 -0
  659. package/dist/storefront-api/src/__api/mutations/saveCart.d.ts +6 -0
  660. package/dist/storefront-api/src/__api/mutations/saveCartCouponCode.d.ts +7 -0
  661. package/dist/storefront-api/src/__api/mutations/saveCustomerFormData.d.ts +6 -0
  662. package/dist/storefront-api/src/__api/mutations/saveFavoriteProduct.d.ts +8 -0
  663. package/dist/storefront-api/src/__api/mutations/saveLastViewedProducts.d.ts +6 -0
  664. package/dist/storefront-api/src/__api/mutations/saveMyCustomer.d.ts +6 -0
  665. package/dist/storefront-api/src/__api/mutations/saveProductBackInStockRemind.d.ts +6 -0
  666. package/dist/storefront-api/src/__api/mutations/sendContactFormToMerchant.d.ts +12 -0
  667. package/dist/storefront-api/src/__api/mutations/subscribeToMarketingNotifications.d.ts +6 -0
  668. package/dist/storefront-api/src/__api/mutations/updateCartCampaignOffer.d.ts +6 -0
  669. package/dist/storefront-api/src/__api/mutations/useLoyaltyPoints.d.ts +6 -0
  670. package/dist/storefront-api/src/__api/mutations/validateCustomerPhoneVerificationCode.d.ts +7 -0
  671. package/dist/storefront-api/src/__api/mutations/validateOTPCode.d.ts +8 -0
  672. package/dist/storefront-api/src/__api/queries/checkCartStocks.d.ts +7 -0
  673. package/dist/storefront-api/src/__api/queries/checkCustomerEmail.d.ts +8 -0
  674. package/dist/storefront-api/src/__api/queries/checkStocks.d.ts +7 -0
  675. package/dist/storefront-api/src/__api/queries/customerSocialLogin.d.ts +6 -0
  676. package/dist/storefront-api/src/__api/queries/exportCustomerPersonalData.d.ts +2 -0
  677. package/dist/storefront-api/src/__api/queries/getAvailableShippingCountries.d.ts +5 -0
  678. package/dist/storefront-api/src/__api/queries/getAvailableShippingZones.d.ts +6 -0
  679. package/dist/storefront-api/src/__api/queries/getAvailableStockLocations.d.ts +8 -0
  680. package/dist/storefront-api/src/__api/queries/getCartById.d.ts +9 -0
  681. package/dist/storefront-api/src/__api/queries/getCustomerOrders.d.ts +6 -0
  682. package/dist/storefront-api/src/__api/queries/getDigitalProductFileDownloadUrl.d.ts +6 -0
  683. package/dist/storefront-api/src/__api/queries/getLastViewedProducts.d.ts +6 -0
  684. package/dist/storefront-api/src/__api/queries/getLoyaltyCustomerInfo.d.ts +6 -0
  685. package/dist/storefront-api/src/__api/queries/getMyCountry.d.ts +2 -0
  686. package/dist/storefront-api/src/__api/queries/getMyCustomer.d.ts +3 -0
  687. package/dist/storefront-api/src/__api/queries/getOrderByEmail.d.ts +7 -0
  688. package/dist/storefront-api/src/__api/queries/getProductCampaigns.d.ts +6 -0
  689. package/dist/storefront-api/src/__api/queries/getProductFilterData.d.ts +7 -0
  690. package/dist/storefront-api/src/__api/queries/getProductOptionFileUrl.d.ts +8 -0
  691. package/dist/storefront-api/src/__api/queries/getRelatedProducts.d.ts +16 -0
  692. package/dist/storefront-api/src/__api/queries/getStorefrontWidgetSettings.d.ts +3 -0
  693. package/dist/storefront-api/src/__api/queries/getSuggestedProducts.d.ts +16 -0
  694. package/dist/storefront-api/src/__api/queries/getVariantStockLocations.d.ts +7 -0
  695. package/dist/storefront-api/src/__api/queries/isFavoriteProduct.d.ts +5 -0
  696. package/dist/storefront-api/src/__api/queries/listBlog.d.ts +14 -0
  697. package/dist/storefront-api/src/__api/queries/listBlogCategory.d.ts +11 -0
  698. package/dist/storefront-api/src/__api/queries/listBlogMetadata.d.ts +12 -0
  699. package/dist/storefront-api/src/__api/queries/listCampaignOffer.d.ts +6 -0
  700. package/dist/storefront-api/src/__api/queries/listCategory.d.ts +12 -0
  701. package/dist/storefront-api/src/__api/queries/listCheckoutSettings.d.ts +8 -0
  702. package/dist/storefront-api/src/__api/queries/listCity.d.ts +11 -0
  703. package/dist/storefront-api/src/__api/queries/listCountry.d.ts +12 -0
  704. package/dist/storefront-api/src/__api/queries/listCustomerAttribute.d.ts +3 -0
  705. package/dist/storefront-api/src/__api/queries/listCustomerReviewSummary.d.ts +8 -0
  706. package/dist/storefront-api/src/__api/queries/listCustomerReviews.d.ts +15 -0
  707. package/dist/storefront-api/src/__api/queries/listCustomerSettings.d.ts +7 -0
  708. package/dist/storefront-api/src/__api/queries/listDistrict.d.ts +12 -0
  709. package/dist/storefront-api/src/__api/queries/listEarningMethods.d.ts +3 -0
  710. package/dist/storefront-api/src/__api/queries/listFavoriteProducts.d.ts +3 -0
  711. package/dist/storefront-api/src/__api/queries/listLoyaltyProgramPointHistory.d.ts +6 -0
  712. package/dist/storefront-api/src/__api/queries/listLoyaltyProgramTiers.d.ts +3 -0
  713. package/dist/storefront-api/src/__api/queries/listOrderRefundSettings.d.ts +9 -0
  714. package/dist/storefront-api/src/__api/queries/listOrderTransactions.d.ts +8 -0
  715. package/dist/storefront-api/src/__api/queries/listPaymentGateway.d.ts +11 -0
  716. package/dist/storefront-api/src/__api/queries/listProductAttribute.d.ts +9 -0
  717. package/dist/storefront-api/src/__api/queries/listProductBackInStockRemind.d.ts +11 -0
  718. package/dist/storefront-api/src/__api/queries/listProductBrand.d.ts +11 -0
  719. package/dist/storefront-api/src/__api/queries/listProductFile.d.ts +6 -0
  720. package/dist/storefront-api/src/__api/queries/listProductOptionSet.d.ts +8 -0
  721. package/dist/storefront-api/src/__api/queries/listSpendingMethodsByCartId.d.ts +6 -0
  722. package/dist/storefront-api/src/__api/queries/listState.d.ts +11 -0
  723. package/dist/storefront-api/src/__api/queries/listStockLocation.d.ts +7 -0
  724. package/dist/storefront-api/src/__api/queries/listStorefrontPopup.d.ts +6 -0
  725. package/dist/storefront-api/src/__api/queries/searchProducts.d.ts +6 -0
  726. package/dist/storefront-api/src/__api/types/index.d.ts +3532 -0
  727. package/dist/storefront-api/src/index.d.ts +7 -0
  728. package/dist/storefront-api-client/src/config/index.d.ts +32 -0
  729. package/dist/storefront-api-client/src/index.d.ts +4 -0
  730. package/dist/storefront-api-client/src/utils/api.d.ts +40 -0
  731. package/dist/storefront-api-client/src/utils/fetch-query.d.ts +9 -0
  732. package/dist/storefront-config/src/index.d.ts +130 -0
  733. package/dist/storefront-models/src/index.d.ts +220 -0
  734. package/dist/storefront-models/src/models/_theme/styles.d.ts +34 -0
  735. package/dist/storefront-models/src/models/attribute-detail/index.d.ts +6 -0
  736. package/dist/storefront-models/src/models/attribute-list/index.d.ts +6 -0
  737. package/dist/storefront-models/src/models/base/index.d.ts +6 -0
  738. package/dist/storefront-models/src/models/blog/category/index.d.ts +12 -0
  739. package/dist/storefront-models/src/models/blog/content/index.d.ts +7 -0
  740. package/dist/storefront-models/src/models/blog/index.d.ts +27 -0
  741. package/dist/storefront-models/src/models/blog/meta-data/index.d.ts +14 -0
  742. package/dist/storefront-models/src/models/blog/tag/index.d.ts +7 -0
  743. package/dist/storefront-models/src/models/blog/writer/index.d.ts +4 -0
  744. package/dist/storefront-models/src/models/blog-category-list/index.d.ts +14 -0
  745. package/dist/storefront-models/src/models/blog-list/index.d.ts +15 -0
  746. package/dist/storefront-models/src/models/blueprint/prop-value/attribute-list.d.ts +6 -0
  747. package/dist/storefront-models/src/models/blueprint/prop-value/attribute.d.ts +6 -0
  748. package/dist/storefront-models/src/models/blueprint/prop-value/blog-category-list.d.ts +6 -0
  749. package/dist/storefront-models/src/models/blueprint/prop-value/blog-category.d.ts +4 -0
  750. package/dist/storefront-models/src/models/blueprint/prop-value/blog-list.d.ts +8 -0
  751. package/dist/storefront-models/src/models/blueprint/prop-value/blog.d.ts +4 -0
  752. package/dist/storefront-models/src/models/blueprint/prop-value/boolean.d.ts +3 -0
  753. package/dist/storefront-models/src/models/blueprint/prop-value/brand-list.d.ts +8 -0
  754. package/dist/storefront-models/src/models/blueprint/prop-value/brand.d.ts +4 -0
  755. package/dist/storefront-models/src/models/blueprint/prop-value/category-list.d.ts +7 -0
  756. package/dist/storefront-models/src/models/blueprint/prop-value/category.d.ts +4 -0
  757. package/dist/storefront-models/src/models/blueprint/prop-value/color.d.ts +3 -0
  758. package/dist/storefront-models/src/models/blueprint/prop-value/component-list.d.ts +4 -0
  759. package/dist/storefront-models/src/models/blueprint/prop-value/component.d.ts +8 -0
  760. package/dist/storefront-models/src/models/blueprint/prop-value/date.d.ts +3 -0
  761. package/dist/storefront-models/src/models/blueprint/prop-value/enum.d.ts +3 -0
  762. package/dist/storefront-models/src/models/blueprint/prop-value/image-list.d.ts +4 -0
  763. package/dist/storefront-models/src/models/blueprint/prop-value/image.d.ts +5 -0
  764. package/dist/storefront-models/src/models/blueprint/prop-value/index.d.ts +29 -0
  765. package/dist/storefront-models/src/models/blueprint/prop-value/link-list.d.ts +4 -0
  766. package/dist/storefront-models/src/models/blueprint/prop-value/link.d.ts +15 -0
  767. package/dist/storefront-models/src/models/blueprint/prop-value/number-range.d.ts +4 -0
  768. package/dist/storefront-models/src/models/blueprint/prop-value/number.d.ts +3 -0
  769. package/dist/storefront-models/src/models/blueprint/prop-value/product-list.d.ts +16 -0
  770. package/dist/storefront-models/src/models/blueprint/prop-value/product.d.ts +5 -0
  771. package/dist/storefront-models/src/models/blueprint/prop-value/raffle-list.d.ts +5 -0
  772. package/dist/storefront-models/src/models/blueprint/prop-value/raffle.d.ts +4 -0
  773. package/dist/storefront-models/src/models/blueprint/prop-value/rich-text.d.ts +3 -0
  774. package/dist/storefront-models/src/models/blueprint/prop-value/text.d.ts +3 -0
  775. package/dist/storefront-models/src/models/blueprint/prop-value/video.d.ts +9 -0
  776. package/dist/storefront-models/src/models/brand/index.d.ts +17 -0
  777. package/dist/storefront-models/src/models/brand/translation/index.d.ts +5 -0
  778. package/dist/storefront-models/src/models/brand-list/index.d.ts +16 -0
  779. package/dist/storefront-models/src/models/campaign-offer/index.d.ts +21 -0
  780. package/dist/storefront-models/src/models/campaign-offer/product/index.d.ts +23 -0
  781. package/dist/storefront-models/src/models/cart/available-shipping-method/estimated-delivery-time/index.d.ts +5 -0
  782. package/dist/storefront-models/src/models/cart/available-shipping-method/index.d.ts +10 -0
  783. package/dist/storefront-models/src/models/cart/campaign-offer/index.d.ts +17 -0
  784. package/dist/storefront-models/src/models/cart/index.d.ts +13 -0
  785. package/dist/storefront-models/src/models/category/conditions/index.d.ts +9 -0
  786. package/dist/storefront-models/src/models/category/index.d.ts +24 -0
  787. package/dist/storefront-models/src/models/category/path-item/index.d.ts +13 -0
  788. package/dist/storefront-models/src/models/category/translations/index.d.ts +5 -0
  789. package/dist/storefront-models/src/models/category-list/index.d.ts +16 -0
  790. package/dist/storefront-models/src/models/checkout/index.d.ts +10 -0
  791. package/dist/storefront-models/src/models/checkout-settings/index.d.ts +24 -0
  792. package/dist/storefront-models/src/models/checkout-settings/option/index.d.ts +4 -0
  793. package/dist/storefront-models/src/models/checkout-settings/price/index.d.ts +6 -0
  794. package/dist/storefront-models/src/models/city/index.d.ts +13 -0
  795. package/dist/storefront-models/src/models/contact-form/index.d.ts +8 -0
  796. package/dist/storefront-models/src/models/country/index.d.ts +19 -0
  797. package/dist/storefront-models/src/models/customer/address/city/index.d.ts +5 -0
  798. package/dist/storefront-models/src/models/customer/address/country/index.d.ts +7 -0
  799. package/dist/storefront-models/src/models/customer/address/district/index.d.ts +5 -0
  800. package/dist/storefront-models/src/models/customer/address/index.d.ts +30 -0
  801. package/dist/storefront-models/src/models/customer/address/region/index.d.ts +7 -0
  802. package/dist/storefront-models/src/models/customer/address/state/index.d.ts +5 -0
  803. package/dist/storefront-models/src/models/customer/attribute/index.d.ts +17 -0
  804. package/dist/storefront-models/src/models/customer/attribute/option/index.d.ts +7 -0
  805. package/dist/storefront-models/src/models/customer/attribute/sales-channel/index.d.ts +8 -0
  806. package/dist/storefront-models/src/models/customer/attribute/translation/index.d.ts +7 -0
  807. package/dist/storefront-models/src/models/customer/attribute/translation/option/index.d.ts +4 -0
  808. package/dist/storefront-models/src/models/customer/attribute/value/index.d.ts +9 -0
  809. package/dist/storefront-models/src/models/customer/index.d.ts +45 -0
  810. package/dist/storefront-models/src/models/customer/price-list-rule/filter/index.d.ts +5 -0
  811. package/dist/storefront-models/src/models/customer/price-list-rule/index.d.ts +8 -0
  812. package/dist/storefront-models/src/models/customer/review/index.d.ts +26 -0
  813. package/dist/storefront-models/src/models/customer/review/settings/index.d.ts +4 -0
  814. package/dist/storefront-models/src/models/customer/review/summary/index.d.ts +11 -0
  815. package/dist/storefront-models/src/models/customer/review/summary/star/index.d.ts +4 -0
  816. package/dist/storefront-models/src/models/customer-form-data-input/customer-register-subscription-input/index.d.ts +5 -0
  817. package/dist/storefront-models/src/models/customer-form-data-input/index.d.ts +13 -0
  818. package/dist/storefront-models/src/models/customer-review-form/index.d.ts +6 -0
  819. package/dist/storefront-models/src/models/customer-review-list/index.d.ts +13 -0
  820. package/dist/storefront-models/src/models/customer-review-summary-list/index.d.ts +11 -0
  821. package/dist/storefront-models/src/models/customer-settings/index.d.ts +10 -0
  822. package/dist/storefront-models/src/models/district/index.d.ts +13 -0
  823. package/dist/storefront-models/src/models/favorite-product/index.d.ts +10 -0
  824. package/dist/storefront-models/src/models/filter-category/index.d.ts +12 -0
  825. package/dist/storefront-models/src/models/html-meta-data/index.d.ts +23 -0
  826. package/dist/storefront-models/src/models/html-meta-data/translations/index.d.ts +6 -0
  827. package/dist/storefront-models/src/models/ikas-theme/date-picker/index.d.ts +7 -0
  828. package/dist/storefront-models/src/models/image/index.d.ts +6 -0
  829. package/dist/storefront-models/src/models/image-list/index.d.ts +4 -0
  830. package/dist/storefront-models/src/models/language-option/index.d.ts +8 -0
  831. package/dist/storefront-models/src/models/last-viewed-product/index.d.ts +4 -0
  832. package/dist/storefront-models/src/models/locale-option/index.d.ts +9 -0
  833. package/dist/storefront-models/src/models/location-translations/index.d.ts +5 -0
  834. package/dist/storefront-models/src/models/loyalty-program/customer-info/index.d.ts +17 -0
  835. package/dist/storefront-models/src/models/loyalty-program/earning-method/index.d.ts +33 -0
  836. package/dist/storefront-models/src/models/loyalty-program/index.d.ts +25 -0
  837. package/dist/storefront-models/src/models/loyalty-program/point-history/index.d.ts +16 -0
  838. package/dist/storefront-models/src/models/loyalty-program/spending-method/index.d.ts +17 -0
  839. package/dist/storefront-models/src/models/loyalty-program/tier/index.d.ts +15 -0
  840. package/dist/storefront-models/src/models/merchant-settings/address/city/index.d.ts +5 -0
  841. package/dist/storefront-models/src/models/merchant-settings/address/country/index.d.ts +7 -0
  842. package/dist/storefront-models/src/models/merchant-settings/address/district/index.d.ts +5 -0
  843. package/dist/storefront-models/src/models/merchant-settings/address/index.d.ts +21 -0
  844. package/dist/storefront-models/src/models/merchant-settings/address/state/index.d.ts +5 -0
  845. package/dist/storefront-models/src/models/merchant-settings/address/type/index.d.ts +1 -0
  846. package/dist/storefront-models/src/models/merchant-settings/index.d.ts +24 -0
  847. package/dist/storefront-models/src/models/navigation-link/index.d.ts +9 -0
  848. package/dist/storefront-models/src/models/navigation-link-list/index.d.ts +4 -0
  849. package/dist/storefront-models/src/models/number-range/index.d.ts +4 -0
  850. package/dist/storefront-models/src/models/order/address/city/index.d.ts +5 -0
  851. package/dist/storefront-models/src/models/order/address/country/index.d.ts +7 -0
  852. package/dist/storefront-models/src/models/order/address/district/index.d.ts +5 -0
  853. package/dist/storefront-models/src/models/order/address/index.d.ts +24 -0
  854. package/dist/storefront-models/src/models/order/address/region/index.d.ts +7 -0
  855. package/dist/storefront-models/src/models/order/address/state/index.d.ts +5 -0
  856. package/dist/storefront-models/src/models/order/adjustment/applied-order-line/index.d.ts +6 -0
  857. package/dist/storefront-models/src/models/order/adjustment/index.d.ts +17 -0
  858. package/dist/storefront-models/src/models/order/customer/index.d.ts +9 -0
  859. package/dist/storefront-models/src/models/order/gift-line/index.d.ts +6 -0
  860. package/dist/storefront-models/src/models/order/index.d.ts +51 -0
  861. package/dist/storefront-models/src/models/order/invoice/index.d.ts +10 -0
  862. package/dist/storefront-models/src/models/order/line-item/base-unit/index.d.ts +7 -0
  863. package/dist/storefront-models/src/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
  864. package/dist/storefront-models/src/models/order/line-item/discount/index.d.ts +9 -0
  865. package/dist/storefront-models/src/models/order/line-item/index.d.ts +28 -0
  866. package/dist/storefront-models/src/models/order/line-item/option/index.d.ts +9 -0
  867. package/dist/storefront-models/src/models/order/line-item/option/value/index.d.ts +5 -0
  868. package/dist/storefront-models/src/models/order/line-item/variant/brand/index.d.ts +4 -0
  869. package/dist/storefront-models/src/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +29 -0
  870. package/dist/storefront-models/src/models/order/line-item/variant/bundle-product/index.d.ts +13 -0
  871. package/dist/storefront-models/src/models/order/line-item/variant/category/index.d.ts +9 -0
  872. package/dist/storefront-models/src/models/order/line-item/variant/index.d.ts +31 -0
  873. package/dist/storefront-models/src/models/order/line-item/variant/price/index.d.ts +8 -0
  874. package/dist/storefront-models/src/models/order/line-item/variant/tag/index.d.ts +4 -0
  875. package/dist/storefront-models/src/models/order/line-item/variant/unit/index.d.ts +5 -0
  876. package/dist/storefront-models/src/models/order/line-item/variant/value/index.d.ts +7 -0
  877. package/dist/storefront-models/src/models/order/package/index.d.ts +31 -0
  878. package/dist/storefront-models/src/models/order/package/tracking-info/index.d.ts +7 -0
  879. package/dist/storefront-models/src/models/order/payment-method/index.d.ts +8 -0
  880. package/dist/storefront-models/src/models/order/refund/index.d.ts +5 -0
  881. package/dist/storefront-models/src/models/order/refund/line-item/index.d.ts +4 -0
  882. package/dist/storefront-models/src/models/order/refund/settings/index.d.ts +5 -0
  883. package/dist/storefront-models/src/models/order/shipping-line/index.d.ts +11 -0
  884. package/dist/storefront-models/src/models/order/tax-line/index.d.ts +4 -0
  885. package/dist/storefront-models/src/models/order/transaction/error/index.d.ts +5 -0
  886. package/dist/storefront-models/src/models/order/transaction/index.d.ts +26 -0
  887. package/dist/storefront-models/src/models/order/transaction/payment-method-detail/index.d.ts +14 -0
  888. package/dist/storefront-models/src/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
  889. package/dist/storefront-models/src/models/payment-gateway/additional-price/index.d.ts +8 -0
  890. package/dist/storefront-models/src/models/payment-gateway/index.d.ts +30 -0
  891. package/dist/storefront-models/src/models/payment-gateway/settings/index.d.ts +7 -0
  892. package/dist/storefront-models/src/models/payment-gateway/translation/index.d.ts +5 -0
  893. package/dist/storefront-models/src/models/product/attribute/index.d.ts +13 -0
  894. package/dist/storefront-models/src/models/product/attribute/option/index.d.ts +4 -0
  895. package/dist/storefront-models/src/models/product/attribute/table-cell/index.d.ts +4 -0
  896. package/dist/storefront-models/src/models/product/attribute/table-template/index.d.ts +5 -0
  897. package/dist/storefront-models/src/models/product/attribute/translation/index.d.ts +10 -0
  898. package/dist/storefront-models/src/models/product/attribute-value/index.d.ts +21 -0
  899. package/dist/storefront-models/src/models/product/back-in-stock-settings/index.d.ts +3 -0
  900. package/dist/storefront-models/src/models/product/base-unit/index.d.ts +10 -0
  901. package/dist/storefront-models/src/models/product/campaign/data/index.d.ts +27 -0
  902. package/dist/storefront-models/src/models/product/campaign/filter/index.d.ts +5 -0
  903. package/dist/storefront-models/src/models/product/campaign/index.d.ts +5 -0
  904. package/dist/storefront-models/src/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
  905. package/dist/storefront-models/src/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
  906. package/dist/storefront-models/src/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
  907. package/dist/storefront-models/src/models/product/campaign-offer/index.d.ts +11 -0
  908. package/dist/storefront-models/src/models/product/filter/index.d.ts +58 -0
  909. package/dist/storefront-models/src/models/product/group/index.d.ts +11 -0
  910. package/dist/storefront-models/src/models/product/group/order/index.d.ts +4 -0
  911. package/dist/storefront-models/src/models/product/group/translation/index.d.ts +9 -0
  912. package/dist/storefront-models/src/models/product/group/value/index.d.ts +5 -0
  913. package/dist/storefront-models/src/models/product/image/index.d.ts +9 -0
  914. package/dist/storefront-models/src/models/product/index.d.ts +88 -0
  915. package/dist/storefront-models/src/models/product/option-set/index.d.ts +21 -0
  916. package/dist/storefront-models/src/models/product/option-set/option/index.d.ts +67 -0
  917. package/dist/storefront-models/src/models/product/sales-channel/index.d.ts +9 -0
  918. package/dist/storefront-models/src/models/product/star/index.d.ts +4 -0
  919. package/dist/storefront-models/src/models/product/stock-location/index.d.ts +26 -0
  920. package/dist/storefront-models/src/models/product/tag/index.d.ts +4 -0
  921. package/dist/storefront-models/src/models/product/variant/bundle-settings/bundle-product/index.d.ts +14 -0
  922. package/dist/storefront-models/src/models/product/variant/bundle-settings/index.d.ts +6 -0
  923. package/dist/storefront-models/src/models/product/variant/index.d.ts +31 -0
  924. package/dist/storefront-models/src/models/product/variant/price/index.d.ts +11 -0
  925. package/dist/storefront-models/src/models/product/variant/price/product-campaign-price/index.d.ts +4 -0
  926. package/dist/storefront-models/src/models/product/variant/unit/index.d.ts +5 -0
  927. package/dist/storefront-models/src/models/product/variant-type/index.d.ts +6 -0
  928. package/dist/storefront-models/src/models/product-file/index.d.ts +6 -0
  929. package/dist/storefront-models/src/models/product-list/index.d.ts +53 -0
  930. package/dist/storefront-models/src/models/product-list/suggestion/index.d.ts +6 -0
  931. package/dist/storefront-models/src/models/product-option-file/index.d.ts +5 -0
  932. package/dist/storefront-models/src/models/raffle/index.d.ts +58 -0
  933. package/dist/storefront-models/src/models/raffle-list/index.d.ts +16 -0
  934. package/dist/storefront-models/src/models/sales-channel/index.d.ts +15 -0
  935. package/dist/storefront-models/src/models/shipping-zone/index.d.ts +7 -0
  936. package/dist/storefront-models/src/models/shipping-zone/state/city/district/index.d.ts +5 -0
  937. package/dist/storefront-models/src/models/shipping-zone/state/city/district/region/index.d.ts +7 -0
  938. package/dist/storefront-models/src/models/shipping-zone/state/city/index.d.ts +6 -0
  939. package/dist/storefront-models/src/models/shipping-zone/state/index.d.ts +7 -0
  940. package/dist/storefront-models/src/models/state/index.d.ts +12 -0
  941. package/dist/storefront-models/src/models/stock-location/address/city/index.d.ts +5 -0
  942. package/dist/storefront-models/src/models/stock-location/address/country/index.d.ts +7 -0
  943. package/dist/storefront-models/src/models/stock-location/address/district/index.d.ts +5 -0
  944. package/dist/storefront-models/src/models/stock-location/address/index.d.ts +13 -0
  945. package/dist/storefront-models/src/models/stock-location/address/state/index.d.ts +5 -0
  946. package/dist/storefront-models/src/models/stock-location/available/index.d.ts +8 -0
  947. package/dist/storefront-models/src/models/stock-location/index.d.ts +13 -0
  948. package/dist/storefront-models/src/models/storefront/b2b-settings/index.d.ts +7 -0
  949. package/dist/storefront-models/src/models/storefront/domain/index.d.ts +7 -0
  950. package/dist/storefront-models/src/models/storefront/index-page-seo-setting/index.d.ts +15 -0
  951. package/dist/storefront-models/src/models/storefront/index.d.ts +33 -0
  952. package/dist/storefront-models/src/models/storefront/localization/index.d.ts +6 -0
  953. package/dist/storefront-models/src/models/storefront/meta-templates/index.d.ts +7 -0
  954. package/dist/storefront-models/src/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
  955. package/dist/storefront-models/src/models/storefront/routing/index.d.ts +12 -0
  956. package/dist/storefront-models/src/models/storefront/settings/index.d.ts +20 -0
  957. package/dist/storefront-models/src/models/storefront/theme/index.d.ts +9 -0
  958. package/dist/storefront-models/src/models/storefront/theme-localization/index.d.ts +11 -0
  959. package/dist/storefront-models/src/models/storefront-popup/index.d.ts +27 -0
  960. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-analytics/index.d.ts +5 -0
  961. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-date-filter/index.d.ts +4 -0
  962. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-display-filter/index.d.ts +6 -0
  963. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-display-settings/index.d.ts +7 -0
  964. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-page-filter/index.d.ts +6 -0
  965. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-page-filter/storefront-popup-page-filter-data/index.d.ts +5 -0
  966. package/dist/storefront-models/src/models/storefront-popup/storefront-popup-routing/index.d.ts +4 -0
  967. package/dist/storefront-models/src/models/storefront-widget-settings/index.d.ts +10 -0
  968. package/dist/storefront-models/src/models/theme/index.d.ts +2 -0
  969. package/dist/storefront-models/src/models/validator/account-info/index.d.ts +7 -0
  970. package/dist/storefront-models/src/models/validator/address/index.d.ts +42 -0
  971. package/dist/storefront-models/src/models/validator/back-in-stock-notification/index.d.ts +6 -0
  972. package/dist/storefront-models/src/models/validator/contact-form/index.d.ts +8 -0
  973. package/dist/storefront-models/src/models/validator/coupon-code-form/index.d.ts +4 -0
  974. package/dist/storefront-models/src/models/validator/customer-review/index.d.ts +7 -0
  975. package/dist/storefront-models/src/models/validator/forgot-password/index.d.ts +4 -0
  976. package/dist/storefront-models/src/models/validator/index.d.ts +42 -0
  977. package/dist/storefront-models/src/models/validator/login/index.d.ts +5 -0
  978. package/dist/storefront-models/src/models/validator/newsletter-subscription/index.d.ts +5 -0
  979. package/dist/storefront-models/src/models/validator/order-tracking/index.d.ts +5 -0
  980. package/dist/storefront-models/src/models/validator/recover-password/index.d.ts +5 -0
  981. package/dist/storefront-models/src/models/validator/register/index.d.ts +12 -0
  982. package/dist/storefront-models/src/models/validator/sms-login/index.d.ts +15 -0
  983. package/dist/storefront-models/src/models/validator/verify-phone-number/index.d.ts +7 -0
  984. package/dist/storefront-models/src/models/variant-type/index.d.ts +18 -0
  985. package/dist/storefront-models/src/models/variant-type/variant-value/index.d.ts +7 -0
  986. package/dist/storefront-models/src/models/video/index.d.ts +9 -0
  987. package/dist/stores/base/index.js +1 -0
  988. package/dist/stores/cart/index.js +1 -0
  989. package/dist/stores/customer/index.js +1 -0
  990. package/dist/theme/styles/index.js +1 -0
  991. package/dist/utils/blueprint.js +1 -0
  992. package/dist/utils/currency.js +1 -0
  993. package/dist/utils/fetch.js +1 -0
  994. package/dist/utils/helper.js +1 -0
  995. package/dist/utils/object-wrapper.js +1 -0
  996. package/package.json +60 -0
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Converts an HTMLCollection to a standard array of Elements.
3
+ *
4
+ * @ai-category Utilities, Helpers
5
+ *
6
+ * @param collection - The HTMLCollection to convert. If undefined, an empty array is returned.
7
+ * @returns An array of Element objects derived from the given HTMLCollection.
8
+ *
9
+ * @example
10
+ * ```typescript
11
+ * import { collectionToArray } from "@ikas/bp-storefront";
12
+ *
13
+ * const items = document.getElementsByClassName("product-card");
14
+ * const itemsArray = collectionToArray(items);
15
+ * itemsArray.forEach((el) => console.log(el.tagName));
16
+ * ```
17
+ */
18
+ export declare function collectionToArray(collection?: HTMLCollection): Element[];
@@ -0,0 +1,18 @@
1
+ import { IkasThemePageType } from "../../../../../storefront-models/src";
2
+ /**
3
+ * Initializes the base store by setting the current page type.
4
+ *
5
+ * @ai-category BaseStore, Store
6
+ *
7
+ * @param pageType - The page type to assign as the current page type in the base store.
8
+ * @returns void
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * import { initBaseStore } from "@ikas/bp-storefront";
13
+ * import { IkasThemePageType } from "@ikas/bp-storefront-models";
14
+ *
15
+ * initBaseStore(IkasThemePageType.PRODUCT_DETAIL);
16
+ * ```
17
+ */
18
+ export declare function initBaseStore(pageType: IkasThemePageType): void;
@@ -0,0 +1,547 @@
1
+ import { APIResponse } from "../../../../../storefront-api-client/src";
2
+ import { IkasCart, IkasOrderLineItem, IkasProduct, IkasProductOffer, IkasProductVariant } from "../../../../../storefront-models/src";
3
+ import { IkasCartStore } from "../../../stores/cart";
4
+ /**
5
+ * Get the checkout URL for the current cart.
6
+ *
7
+ * @ai-category Cart
8
+ * @ai-related hasCart, waitForCartStoreInit
9
+ *
10
+ * @param cartStore - The cart store instance
11
+ * @returns The checkout URL string, or empty string if no cart exists
12
+ *
13
+ * @example
14
+ * ```typescript
15
+ * import { cartStore, getCheckoutUrlFromCartStore } from "@ikas/bp-storefront";
16
+ *
17
+ * function handleCheckout() {
18
+ * const checkoutUrl = getCheckoutUrlFromCartStore(cartStore);
19
+ * if (checkoutUrl) {
20
+ * window.location.href = checkoutUrl;
21
+ * }
22
+ * }
23
+ * ```
24
+ */
25
+ export declare function getCheckoutUrlFromCartStore(cartStore: IkasCartStore): string;
26
+ /**
27
+ * Add a product variant to the shopping cart.
28
+ *
29
+ * @ai-category ProductDetail, Cart
30
+ * @ai-related getSelectedProductVariant, findExistingCartItem, hasProductVariantStock
31
+ *
32
+ * @param variant - The product variant to add (get via getSelectedProductVariant)
33
+ * @param product - The full product object containing variant selection state
34
+ * @param initialQuantity - Quantity to add (default: 1)
35
+ * @param options - Optional flags like { isPayWithIkas: true }
36
+ * @returns Result with success flag and optional validation errors
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * import { addItemToCart, getSelectedProductVariant } from "@ikas/bp-storefront";
41
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
42
+ *
43
+ * async function handleAddToCart(product: IkasProduct) {
44
+ * const variant = getSelectedProductVariant(product);
45
+ * const result = await addItemToCart(variant, product, 1);
46
+ *
47
+ * if (result.success) {
48
+ * showToast("Added to cart!");
49
+ * } else if (result.validationError === "INSUFFICIENT_STOCK") {
50
+ * showToast("Out of stock");
51
+ * } else if (result.validationError === "INVALID_PRODUCT_OPTION_VALUES") {
52
+ * showToast("Please select all options");
53
+ * }
54
+ * }
55
+ * ```
56
+ */
57
+ export declare function addItemToCart(variant: IkasProductVariant, product: IkasProduct, initialQuantity?: number, options?: AddItemOptions): Promise<IkasCartOperationResult>;
58
+ /**
59
+ * Add the currently selected product variant to cart (simplified version).
60
+ * This is a convenience wrapper that automatically gets the selected variant.
61
+ *
62
+ * @ai-category ProductList, Cart
63
+ * @ai-related addItemToCart, getSelectedProductVariant
64
+ *
65
+ * @param product - The product object with selectedVariantValues set
66
+ * @param initialQuantity - Quantity to add (default: 1)
67
+ * @returns Result with success flag and optional validation errors
68
+ *
69
+ * @example
70
+ * ```typescript
71
+ * import { addSelectedtedVariantToCart } from "@ikas/bp-storefront";
72
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
73
+ *
74
+ * // Quick add button in product list
75
+ * async function handleQuickAdd(product: IkasProduct) {
76
+ * const result = await addSelectedtedVariantToCart(product, 1);
77
+ * if (result.success) {
78
+ * showToast("Added to cart!");
79
+ * }
80
+ * }
81
+ * ```
82
+ */
83
+ export declare function addSelectedtedVariantToCart(product: IkasProduct, initialQuantity?: number): Promise<IkasCartOperationResult>;
84
+ /**
85
+ * Change the quantity of an item in the cart.
86
+ * Use quantity=0 to remove the item.
87
+ *
88
+ * @ai-category Cart
89
+ * @ai-related removeItem, findExistingCartItem
90
+ *
91
+ * @param item - The order line item to update (from cart.orderLineItems)
92
+ * @param quantity - New quantity (0 removes the item)
93
+ * @param offers - Optional product offers for campaign pricing
94
+ * @param product - Optional product for analytics
95
+ * @returns Result with success flag
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * import { cartStore, changeItemQuantity } from "@ikas/bp-storefront";
100
+ *
101
+ * // Increment quantity
102
+ * async function handleIncrement(itemId: string) {
103
+ * const item = cartStore.cart?.orderLineItems.find(i => i.id === itemId);
104
+ * if (item) {
105
+ * const result = await changeItemQuantity(item, item.quantity + 1);
106
+ * if (!result.success) {
107
+ * showToast("Failed to update quantity");
108
+ * }
109
+ * }
110
+ * }
111
+ *
112
+ * // Decrement quantity
113
+ * async function handleDecrement(itemId: string) {
114
+ * const item = cartStore.cart?.orderLineItems.find(i => i.id === itemId);
115
+ * if (item && item.quantity > 1) {
116
+ * await changeItemQuantity(item, item.quantity - 1);
117
+ * }
118
+ * }
119
+ * ```
120
+ */
121
+ export declare function changeItemQuantity(item: IkasOrderLineItem, quantity: number, offers?: IkasProductOffer[], product?: IkasProduct): Promise<IkasCartOperationResult>;
122
+ /**
123
+ * Change the quantity of a cart item (cart-aware wrapper).
124
+ * Delegates to changeItemQuantity — the cart parameter is accepted for API consistency but not used directly.
125
+ *
126
+ * @ai-category Cart
127
+ * @ai-related changeItemQuantity, removeItem, findExistingCartItem
128
+ *
129
+ * @param cart - The cart object (accepted for interface consistency)
130
+ * @param item - The order line item to update (from cart.orderLineItems)
131
+ * @param quantity - New quantity (0 removes the item)
132
+ * @param offers - Optional product offers for campaign pricing
133
+ * @param product - Optional product for analytics
134
+ * @returns Result with success flag
135
+ *
136
+ * @example
137
+ * ```typescript
138
+ * import { cartStore, changeCartItemQuantity } from "@ikas/bp-storefront";
139
+ *
140
+ * async function handleQuantityChange(itemId: string, newQuantity: number) {
141
+ * const item = cartStore.cart?.orderLineItems.find(i => i.id === itemId);
142
+ * if (cartStore.cart && item) {
143
+ * const result = await changeCartItemQuantity(cartStore.cart, item, newQuantity);
144
+ * if (!result.success) {
145
+ * showToast("Failed to update quantity");
146
+ * }
147
+ * }
148
+ * }
149
+ * ```
150
+ */
151
+ export declare function changeCartItemQuantity(cart: IkasCart, item: IkasOrderLineItem, quantity: number, offers?: IkasProductOffer[], product?: IkasProduct): Promise<IkasCartOperationResult>;
152
+ /**
153
+ * Check if a cart line item was automatically created by a campaign adjustment.
154
+ * Auto-created items (e.g. free gifts) are typically non-removable by the customer.
155
+ *
156
+ * @ai-category Cart
157
+ * @ai-related changeItemQuantity, removeItem
158
+ *
159
+ * @param cart - The cart object containing order adjustments
160
+ * @param item - The order line item to check
161
+ * @returns True if the item was auto-created by an adjustment, false otherwise
162
+ *
163
+ * @example
164
+ * ```typescript
165
+ * import { cartStore, isOrderLineItemAutoCreated } from "@ikas/bp-storefront";
166
+ *
167
+ * function renderCartItems() {
168
+ * const items = cartStore.cart?.orderLineItems ?? [];
169
+ * return items.map(item => ({
170
+ * ...item,
171
+ * isGift: isOrderLineItemAutoCreated(cartStore.cart!, item),
172
+ * }));
173
+ * }
174
+ * ```
175
+ */
176
+ export declare function isOrderLineItemAutoCreated(cart: IkasCart, item: IkasOrderLineItem): boolean;
177
+ /**
178
+ * Remove an item from the cart.
179
+ *
180
+ * @ai-category Cart
181
+ * @ai-related changeItemQuantity, findExistingCartItem
182
+ *
183
+ * @param item - The order line item to remove (from cart.orderLineItems)
184
+ * @returns Result with success flag
185
+ *
186
+ * @example
187
+ * ```typescript
188
+ * import { cartStore, removeItem } from "@ikas/bp-storefront";
189
+ *
190
+ * async function handleRemoveItem(itemId: string) {
191
+ * const item = cartStore.cart?.orderLineItems.find(i => i.id === itemId);
192
+ * if (item) {
193
+ * const result = await removeItem(item);
194
+ * if (result.success) {
195
+ * showToast("Item removed");
196
+ * }
197
+ * }
198
+ * }
199
+ * ```
200
+ */
201
+ export declare function removeItem(item: IkasOrderLineItem): Promise<IkasCartOperationResult>;
202
+ /**
203
+ * Clear the cart from localStorage and the cart store.
204
+ * After calling this, the cart will be empty and no cart ID will be persisted.
205
+ *
206
+ * @ai-category Cart
207
+ * @ai-related setCart, getCart, hasCart
208
+ *
209
+ * @param cartStore - The cart store instance to clear
210
+ * @returns void
211
+ *
212
+ * @example
213
+ * ```typescript
214
+ * import { cartStore, removeCart } from "@ikas/bp-storefront";
215
+ *
216
+ * function handleClearCart() {
217
+ * removeCart(cartStore);
218
+ * showToast("Cart cleared");
219
+ * }
220
+ * ```
221
+ */
222
+ export declare function removeCart(cartStore: IkasCartStore): void;
223
+ /**
224
+ * Wait for the cart store to finish initial loading.
225
+ * Use this before accessing cart data to ensure it's loaded.
226
+ *
227
+ * @ai-category Cart
228
+ * @ai-related hasCart, getCart
229
+ *
230
+ * @param cartStore - The cart store instance
231
+ * @returns Promise that resolves when cart is loaded
232
+ *
233
+ * @example
234
+ * ```typescript
235
+ * import { cartStore, waitForCartStoreInit, hasCart } from "@ikas/bp-storefront";
236
+ *
237
+ * async function initializeCartUI() {
238
+ * await waitForCartStoreInit(cartStore);
239
+ *
240
+ * if (hasCart(cartStore)) {
241
+ * // Cart has items, show cart badge
242
+ * updateCartBadge(cartStore.cart!.orderLineItems.length);
243
+ * }
244
+ * }
245
+ * ```
246
+ */
247
+ export declare function waitForCartStoreInit(cartStore: IkasCartStore): Promise<unknown>;
248
+ /**
249
+ * Find an existing cart item for a specific product variant.
250
+ * Useful for showing "Already in cart" state or updating quantities.
251
+ *
252
+ * @ai-category ProductDetail, Cart
253
+ * @ai-related addItemToCart, getSelectedProductVariant
254
+ *
255
+ * @param cart - The cart object
256
+ * @param variant - The product variant to find
257
+ * @param product - The product containing the variant
258
+ * @returns The matching order line item, or undefined if not found
259
+ *
260
+ * @example
261
+ * ```typescript
262
+ * import { cartStore, findExistingCartItem, getSelectedProductVariant } from "@ikas/bp-storefront";
263
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
264
+ *
265
+ * function getCartItemForProduct(product: IkasProduct) {
266
+ * if (!cartStore.cart) return null;
267
+ *
268
+ * const variant = getSelectedProductVariant(product);
269
+ * const existingItem = findExistingCartItem(cartStore.cart, variant, product);
270
+ *
271
+ * if (existingItem) {
272
+ * return {
273
+ * inCart: true,
274
+ * quantity: existingItem.quantity
275
+ * };
276
+ * }
277
+ * return { inCart: false, quantity: 0 };
278
+ * }
279
+ * ```
280
+ */
281
+ export declare function findExistingCartItem(cart: IkasCart, variant: IkasProductVariant, product: IkasProduct): IkasOrderLineItem | undefined;
282
+ /**
283
+ * Find an existing cart item for a product using its currently selected variant.
284
+ * Convenience wrapper around findExistingCartItem that automatically resolves the selected variant.
285
+ *
286
+ * @ai-category ProductDetail, Cart
287
+ * @ai-related findExistingCartItem, getSelectedProductVariant, addSelectedtedVariantToCart
288
+ *
289
+ * @param cart - The cart object
290
+ * @param product - The product with selectedVariantValues set
291
+ * @returns The matching order line item, or undefined if not found
292
+ *
293
+ * @example
294
+ * ```typescript
295
+ * import { cartStore, findExistingCartItemWithProduct } from "@ikas/bp-storefront";
296
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
297
+ *
298
+ * function isProductInCart(product: IkasProduct): boolean {
299
+ * if (!cartStore.cart) return false;
300
+ * return !!findExistingCartItemWithProduct(cartStore.cart, product);
301
+ * }
302
+ * ```
303
+ */
304
+ export declare function findExistingCartItemWithProduct(cart: IkasCart, product: IkasProduct): IkasOrderLineItem | undefined;
305
+ /**
306
+ * Apply a coupon code to the cart.
307
+ *
308
+ * @ai-category Cart
309
+ * @ai-related removeCouponCode
310
+ *
311
+ * @param cart - The cart object
312
+ * @param couponCode - The coupon code to apply (or null to remove)
313
+ * @returns Result with success flag
314
+ *
315
+ * @example
316
+ * ```typescript
317
+ * import { cartStore, saveCouponCode } from "@ikas/bp-storefront";
318
+ *
319
+ * async function handleApplyCoupon(code: string) {
320
+ * if (!cartStore.cart) return;
321
+ *
322
+ * const result = await saveCouponCode(cartStore.cart, code);
323
+ * if (result.success) {
324
+ * showToast("Coupon applied!");
325
+ * } else {
326
+ * showToast("Invalid coupon code");
327
+ * }
328
+ * }
329
+ * ```
330
+ */
331
+ export declare function saveCouponCode(cart: IkasCart, couponCode?: string | null): Promise<IkasCartOperationResult>;
332
+ /**
333
+ * Remove the applied coupon code from the cart.
334
+ *
335
+ * @ai-category Cart
336
+ * @ai-related saveCouponCode
337
+ *
338
+ * @param cart - The cart object
339
+ * @returns Result with success flag
340
+ *
341
+ * @example
342
+ * ```typescript
343
+ * import { cartStore, removeCouponCode } from "@ikas/bp-storefront";
344
+ *
345
+ * async function handleRemoveCoupon() {
346
+ * if (!cartStore.cart) return;
347
+ *
348
+ * const result = await removeCouponCode(cartStore.cart);
349
+ * if (result.success) {
350
+ * showToast("Coupon removed");
351
+ * }
352
+ * }
353
+ * ```
354
+ */
355
+ export declare function removeCouponCode(cart: IkasCart): Promise<IkasCartOperationResult>;
356
+ /**
357
+ * Fetch the cart from the API and persist it to the cart store.
358
+ * Resolves the cart using the localStorage cart ID or the logged-in customer ID.
359
+ * If the API returns no cart, the local cart is removed.
360
+ *
361
+ * @ai-category Cart
362
+ * @ai-related setCart, removeCart, waitForCartStoreInit
363
+ *
364
+ * @returns void (updates cartStore and localStorage as side effects)
365
+ *
366
+ * @example
367
+ * ```typescript
368
+ * import { getCart, cartStore } from "@ikas/bp-storefront";
369
+ *
370
+ * async function refreshCart() {
371
+ * await getCart();
372
+ * console.log("Cart items:", cartStore.cart?.orderLineItems.length ?? 0);
373
+ * }
374
+ * ```
375
+ */
376
+ export declare function getCart(): Promise<void>;
377
+ /**
378
+ * Filter product offers to find those selected by the customer but not yet accepted in the cart.
379
+ * Used internally when adding or updating cart items to include pending campaign offers.
380
+ *
381
+ * @ai-category Cart
382
+ * @ai-related addItemToCart, changeItemQuantity, isProductOfferAccepted
383
+ *
384
+ * @param offers - Array of product offers from the product
385
+ * @returns Array of accepted offer inputs for the cart API, or undefined if none
386
+ *
387
+ * @example
388
+ * ```typescript
389
+ * import { getAcceptedOffers } from "@ikas/bp-storefront";
390
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
391
+ *
392
+ * function getPendingOffers(product: IkasProduct) {
393
+ * const pending = getAcceptedOffers(product.offers);
394
+ * console.log("Offers to apply:", pending?.length ?? 0);
395
+ * return pending;
396
+ * }
397
+ * ```
398
+ */
399
+ export declare function getAcceptedOffers(offers: IkasProductOffer[]): {
400
+ campaignOfferId: string;
401
+ campaignOfferProductId: string;
402
+ productId: string;
403
+ quantity: number | undefined;
404
+ variantId: string;
405
+ }[] | undefined;
406
+ /**
407
+ * Creates a new temporary cart with the given product and initiates a Pay with ikas session.
408
+ * This does not affect the user's current cart in localStorage or the CartStore.
409
+ *
410
+ * @ai-category Cart, Checkout
411
+ * @ai-related addItemToCart, getSelectedProductVariant
412
+ *
413
+ * @param cartStore - The cart store instance (accepted for interface consistency)
414
+ * @param product - The product to purchase via fast checkout
415
+ * @param quantity - The quantity to purchase (defaults to 1)
416
+ * @returns PayWithIkasResult with the session URL or error
417
+ *
418
+ * @example
419
+ * ```typescript
420
+ * import { cartStore, createPayWithIkasSession } from "@ikas/bp-storefront";
421
+ * import { IkasProduct } from "@ikas/bp-storefront-models";
422
+ *
423
+ * async function handleBuyNow(product: IkasProduct) {
424
+ * const result = await createPayWithIkasSession(cartStore, product, 1);
425
+ * if (result.success && result.payUrl) {
426
+ * window.location.href = result.payUrl;
427
+ * } else {
428
+ * showToast(result.error ?? "Checkout failed");
429
+ * }
430
+ * }
431
+ * ```
432
+ */
433
+ export declare function createPayWithIkasSession(cartStore: IkasCartStore, product: IkasProduct, quantity?: number): Promise<{
434
+ success: boolean;
435
+ error: string;
436
+ payUrl?: undefined;
437
+ expiresAt?: undefined;
438
+ } | {
439
+ success: boolean;
440
+ payUrl: string;
441
+ expiresAt: number;
442
+ error?: undefined;
443
+ }>;
444
+ /**
445
+ * Persist a cart to localStorage and update the cart store.
446
+ * Saves the cart ID to localStorage under the cart key and sets the cart on the store.
447
+ *
448
+ * @ai-category Cart
449
+ * @ai-related getCart, removeCart, hasCart
450
+ *
451
+ * @param cart - The cart object returned from the API
452
+ * @returns void
453
+ *
454
+ * @example
455
+ * ```typescript
456
+ * import { setCart } from "@ikas/bp-storefront";
457
+ * import { IkasCart } from "@ikas/bp-storefront-models";
458
+ *
459
+ * async function handleCartResponse(cart: IkasCart) {
460
+ * await setCart(cart);
461
+ * console.log("Cart saved with ID:", cart.id);
462
+ * }
463
+ * ```
464
+ */
465
+ export declare function setCart(cart: IkasCart): Promise<void>;
466
+ /**
467
+ * Add an item to the cart using a variant ID directly.
468
+ * This is the public API intended for external integrations (e.g. custom scripts on the storefront)
469
+ * that don't have access to full product/variant objects.
470
+ *
471
+ * @ai-category Cart
472
+ * @ai-related addItemToCart, addSelectedtedVariantToCart, changeItemQuantity
473
+ *
474
+ * @param input - Object with variantId, quantity, and optional itemId for updating existing items
475
+ * @returns Result with success flag
476
+ *
477
+ * @example
478
+ * ```typescript
479
+ * import { windowAddToCart } from "@ikas/bp-storefront";
480
+ *
481
+ * // Add a new item by variant ID
482
+ * async function addByVariantId(variantId: string) {
483
+ * const result = await windowAddToCart({ variantId, quantity: 1 });
484
+ * if (result.success) {
485
+ * showToast("Added to cart!");
486
+ * }
487
+ * }
488
+ *
489
+ * // Update an existing cart item's quantity
490
+ * async function updateItemQuantity(itemId: string, variantId: string, quantity: number) {
491
+ * const result = await windowAddToCart({ itemId, variantId, quantity });
492
+ * if (!result.success) {
493
+ * showToast("Failed to update item");
494
+ * }
495
+ * }
496
+ * ```
497
+ */
498
+ export declare function windowAddToCart(input: PublicAddToCartInput): Promise<IkasCartOperationResult>;
499
+ /**
500
+ * Check if the cart has any items.
501
+ *
502
+ * @ai-category Cart
503
+ * @ai-related waitForCartStoreInit, getCheckoutUrlFromCartStore
504
+ *
505
+ * @param cartStore - The cart store instance
506
+ * @returns True if cart has items, false otherwise
507
+ *
508
+ * @example
509
+ * ```typescript
510
+ * import { cartStore, hasCart, waitForCartStoreInit } from "@ikas/bp-storefront";
511
+ *
512
+ * async function showCartBadge() {
513
+ * await waitForCartStoreInit(cartStore);
514
+ *
515
+ * if (hasCart(cartStore)) {
516
+ * const itemCount = cartStore.cart!.orderLineItems.length;
517
+ * return itemCount;
518
+ * }
519
+ * return 0;
520
+ * }
521
+ * ```
522
+ */
523
+ export declare function hasCart(cartStore: IkasCartStore): boolean;
524
+ export type IkasCartOperationResult = {
525
+ success: boolean;
526
+ validationError?: IkasCartOperationValidationError;
527
+ response?: APIResponse<IkasCart | null>;
528
+ };
529
+ export type IkasCartOperationValidationError = "INSUFFICIENT_STOCK" | "INVALID_PRODUCT_OPTION_VALUES" | "EMPTY_CART";
530
+ export type PublicAddToCartInput = {
531
+ itemId?: string | null;
532
+ variantId: string;
533
+ quantity: number;
534
+ };
535
+ export type AddItemOptions = {
536
+ /**
537
+ * When true, skips localStorage operations, existing item lookup, and analytics.
538
+ * Used for Pay with ikas flow to create a temporary cart without affecting the user's cart.
539
+ */
540
+ isPayWithIkas?: boolean;
541
+ };
542
+ export type PayWithIkasResult = {
543
+ success: boolean;
544
+ payUrl?: string;
545
+ expiresAt?: number;
546
+ error?: string;
547
+ };