@ikas/bp-storefront 0.15.0 → 0.16.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 (206) hide show
  1. package/dist/{storefront/src/analytics → analytics}/analytics-functions/addToCart.d.ts +1 -1
  2. package/dist/{storefront/src/analytics → analytics}/analytics-functions/completeRegistration.d.ts +1 -1
  3. package/dist/{storefront/src/analytics → analytics}/analytics-functions/contactForm.d.ts +1 -1
  4. package/dist/{storefront/src/analytics → analytics}/analytics-functions/helpers.d.ts +1 -1
  5. package/dist/{storefront/src/analytics → analytics}/analytics-functions/pageView.d.ts +1 -1
  6. package/dist/{storefront/src/analytics → analytics}/analytics-functions/productView.d.ts +1 -1
  7. package/dist/{storefront/src/analytics → analytics}/analytics-functions/removeFromCart.d.ts +1 -1
  8. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewBrand.d.ts +1 -1
  9. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewCart.d.ts +1 -1
  10. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewCategory.d.ts +1 -1
  11. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewListing.d.ts +1 -1
  12. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewSearchResults.d.ts +1 -1
  13. package/dist/{storefront/src/analytics → analytics}/analytics-functions/viewStorefrontPopup.d.ts +1 -1
  14. package/dist/{storefront/src/analytics → analytics}/facebook/addToCart.d.ts +1 -1
  15. package/dist/{storefront/src/analytics → analytics}/facebook/productView.d.ts +1 -1
  16. package/dist/{storefront/src/analytics → analytics}/facebook/purchase.d.ts +1 -1
  17. package/dist/{storefront/src/analytics → analytics}/facebook/viewCart.d.ts +1 -1
  18. package/dist/{storefront/src/analytics → analytics}/google-analytics/addToCart.d.ts +1 -1
  19. package/dist/{storefront/src/analytics → analytics}/google-analytics/productView.d.ts +1 -1
  20. package/dist/{storefront/src/analytics → analytics}/google-analytics/removeFromCart.d.ts +1 -1
  21. package/dist/analytics/google-analytics/viewCart.d.ts +2 -0
  22. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/addToCart.d.ts +2 -2
  23. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/completeRegistration.d.ts +1 -1
  24. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/productView.d.ts +1 -1
  25. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/removeFromCart.d.ts +2 -2
  26. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/viewCart.d.ts +1 -1
  27. package/dist/{storefront/src/analytics → analytics}/google-tag-manager/viewCategory.d.ts +3 -3
  28. package/dist/{storefront/src/analytics → analytics}/ikas/analytics.d.ts +1 -1
  29. package/dist/{storefront/src/analytics → analytics}/tiktok/addToCart.d.ts +1 -1
  30. package/dist/{storefront/src/analytics → analytics}/tiktok/productView.d.ts +1 -1
  31. package/dist/{storefront/src/analytics → analytics}/tiktok/viewCategory.d.ts +1 -1
  32. package/dist/{storefront/src/analytics → analytics}/utils.d.ts +1 -1
  33. package/dist/{storefront/src/functions → functions}/api/blog/index.d.ts +5 -5
  34. package/dist/{storefront/src/functions → functions}/api/brand/index.d.ts +3 -3
  35. package/dist/{storefront/src/functions → functions}/api/cart/index.d.ts +9 -9
  36. package/dist/{storefront/src/functions → functions}/api/category/index.d.ts +3 -3
  37. package/dist/functions/api/checkout/index.d.ts +32 -0
  38. package/dist/functions/api/customer/index.d.ts +204 -0
  39. package/dist/{storefront/src/functions → functions}/api/file/index.d.ts +3 -3
  40. package/dist/functions/api/html-meta-data/index.d.ts +4 -0
  41. package/dist/{storefront/src/functions → functions}/api/location/index.d.ts +7 -7
  42. package/dist/{storefront/src/functions → functions}/api/loyalty/index.d.ts +7 -7
  43. package/dist/functions/api/masterpass/index.d.ts +2 -0
  44. package/dist/functions/api/merchant/index.d.ts +4 -0
  45. package/dist/functions/api/popup/index.d.ts +4 -0
  46. package/dist/{storefront/src/functions → functions}/api/product/index.d.ts +21 -21
  47. package/dist/{storefront/src/functions → functions}/api/raffle/index.d.ts +5 -5
  48. package/dist/functions/api/storefront/index.d.ts +3 -0
  49. package/dist/{storefront/src/functions → functions}/models/attribute-detail/index.d.ts +2 -2
  50. package/dist/{storefront/src/functions → functions}/models/attribute-list/index.d.ts +1 -1
  51. package/dist/{storefront/src/functions → functions}/models/base/index.d.ts +1 -1
  52. package/dist/{storefront/src/functions → functions}/models/blog/category/index.d.ts +1 -1
  53. package/dist/{storefront/src/functions → functions}/models/blog/category/init.d.ts +1 -1
  54. package/dist/{storefront/src/functions → functions}/models/blog/index.d.ts +1 -1
  55. package/dist/{storefront/src/functions → functions}/models/blog/init.d.ts +1 -1
  56. package/dist/{storefront/src/functions → functions}/models/blog-category-list/index.d.ts +1 -1
  57. package/dist/{storefront/src/functions → functions}/models/blog-category-list/init.d.ts +1 -1
  58. package/dist/{storefront/src/functions → functions}/models/blog-list/index.d.ts +1 -1
  59. package/dist/{storefront/src/functions → functions}/models/blog-list/init.d.ts +1 -1
  60. package/dist/{storefront/src/functions → functions}/models/brand/index.d.ts +1 -1
  61. package/dist/{storefront/src/functions → functions}/models/brand/init.d.ts +1 -1
  62. package/dist/{storefront/src/functions → functions}/models/brand-list/index.d.ts +1 -1
  63. package/dist/{storefront/src/functions → functions}/models/brand-list/init.d.ts +1 -1
  64. package/dist/{storefront/src/functions → functions}/models/campaign-offer/index.d.ts +1 -1
  65. package/dist/{storefront/src/functions → functions}/models/category/index.d.ts +1 -1
  66. package/dist/{storefront/src/functions → functions}/models/category/init.d.ts +1 -1
  67. package/dist/{storefront/src/functions → functions}/models/category/path-item/index.d.ts +1 -1
  68. package/dist/{storefront/src/functions → functions}/models/category/path-item/init.d.ts +1 -1
  69. package/dist/{storefront/src/functions → functions}/models/category-list/index.d.ts +1 -1
  70. package/dist/{storefront/src/functions → functions}/models/category-list/init.d.ts +1 -1
  71. package/dist/{storefront/src/functions → functions}/models/checkout/index.d.ts +1 -1
  72. package/dist/{storefront/src/functions → functions}/models/country/init.d.ts +1 -1
  73. package/dist/{storefront/src/functions → functions}/models/customer/address/index.d.ts +1 -1
  74. package/dist/{storefront/src/functions → functions}/models/customer/attribute/index.d.ts +3 -3
  75. package/dist/{storefront/src/functions → functions}/models/customer/attribute/init.d.ts +1 -1
  76. package/dist/{storefront/src/functions → functions}/models/customer/index.d.ts +2 -2
  77. package/dist/{storefront/src/functions → functions}/models/customer/review/index.d.ts +1 -1
  78. package/dist/{storefront/src/functions → functions}/models/customer/review/init.d.ts +1 -1
  79. package/dist/{storefront/src/functions → functions}/models/customer-review-list/index.d.ts +1 -1
  80. package/dist/{storefront/src/functions → functions}/models/customer-review-list/init.d.ts +1 -1
  81. package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/index.d.ts +1 -1
  82. package/dist/{storefront/src/functions → functions}/models/customer-review-summary-list/init.d.ts +1 -1
  83. package/dist/{storefront/src/functions → functions}/models/filter-category/index.d.ts +1 -1
  84. package/dist/{storefront/src/functions → functions}/models/html-meta-data/init.d.ts +1 -1
  85. package/dist/{storefront/src/functions → functions}/models/ikas-theme/date-picker.d.ts +1 -1
  86. package/dist/{storefront/src/functions → functions}/models/image/index.d.ts +1 -1
  87. package/dist/{storefront/src/functions → functions}/models/merchant-settings/init.d.ts +1 -1
  88. package/dist/{storefront/src/functions → functions}/models/order/address/index.d.ts +1 -1
  89. package/dist/{storefront/src/functions → functions}/models/order/adjustment/index.d.ts +1 -1
  90. package/dist/{storefront/src/functions → functions}/models/order/gift-package/index.d.ts +1 -1
  91. package/dist/{storefront/src/functions → functions}/models/order/index.d.ts +7 -7
  92. package/dist/{storefront/src/functions → functions}/models/order/line-item/index.d.ts +1 -1
  93. package/dist/{storefront/src/functions → functions}/models/order/line-item/option/value/index.d.ts +1 -1
  94. package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +1 -1
  95. package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/index.d.ts +1 -1
  96. package/dist/{storefront/src/functions → functions}/models/order/line-item/variant/value/index.d.ts +1 -1
  97. package/dist/{storefront/src/functions → functions}/models/order/package/index.d.ts +2 -2
  98. package/dist/{storefront/src/functions → functions}/models/order/transaction/index.d.ts +1 -1
  99. package/dist/{storefront/src/functions → functions}/models/payment-gateway/index.d.ts +2 -2
  100. package/dist/{storefront/src/functions → functions}/models/payment-gateway/init.d.ts +1 -1
  101. package/dist/{storefront/src/functions → functions}/models/product/attribute/init.d.ts +1 -1
  102. package/dist/{storefront/src/functions → functions}/models/product/attribute-value/index.d.ts +2 -2
  103. package/dist/{storefront/src/functions → functions}/models/product/attribute-value/init.d.ts +1 -1
  104. package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/index.d.ts +1 -1
  105. package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/init.d.ts +1 -1
  106. package/dist/{storefront/src/functions → functions}/models/product/campaign-offer/product/init.d.ts +1 -1
  107. package/dist/{storefront/src/functions → functions}/models/product/filter/index.d.ts +1 -1
  108. package/dist/{storefront/src/functions → functions}/models/product/filter/settings/init.d.ts +2 -2
  109. package/dist/{storefront/src/functions → functions}/models/product/group/init.d.ts +1 -1
  110. package/dist/{storefront/src/functions → functions}/models/product/image/init.d.ts +1 -1
  111. package/dist/{storefront/src/functions → functions}/models/product/index.d.ts +6 -6
  112. package/dist/{storefront/src/functions → functions}/models/product/init.d.ts +1 -1
  113. package/dist/{storefront/src/functions → functions}/models/product/option-set/index.d.ts +1 -1
  114. package/dist/{storefront/src/functions → functions}/models/product/option-set/init.d.ts +1 -1
  115. package/dist/{storefront/src/functions → functions}/models/product/option-set/option/index.d.ts +1 -1
  116. package/dist/{storefront/src/functions → functions}/models/product/option-set/option/init.d.ts +1 -1
  117. package/dist/{storefront/src/functions → functions}/models/product/stock-location/index.d.ts +1 -1
  118. package/dist/{storefront/src/functions → functions}/models/product/variant/index.d.ts +3 -3
  119. package/dist/{storefront/src/functions → functions}/models/product/variant/init.d.ts +1 -1
  120. package/dist/{storefront/src/functions → functions}/models/product/variant/price/index.d.ts +1 -1
  121. package/dist/{storefront/src/functions → functions}/models/product/variant-type/init.d.ts +1 -1
  122. package/dist/{storefront/src/functions → functions}/models/product-list/index.d.ts +1 -1
  123. package/dist/{storefront/src/functions → functions}/models/raffle/index.d.ts +1 -1
  124. package/dist/{storefront/src/functions → functions}/models/raffle/init.d.ts +1 -1
  125. package/dist/{storefront/src/functions → functions}/models/state/init.d.ts +1 -1
  126. package/dist/{storefront/src/functions → functions}/models/validator/account-info/index.d.ts +1 -1
  127. package/dist/{storefront/src/functions → functions}/models/validator/address/index.d.ts +1 -1
  128. package/dist/{storefront/src/functions → functions}/models/validator/back-in-stock-notification/index.d.ts +1 -1
  129. package/dist/{storefront/src/functions → functions}/models/validator/contact-form/index.d.ts +1 -1
  130. package/dist/{storefront/src/functions → functions}/models/validator/coupon-code-form/index.d.ts +1 -1
  131. package/dist/{storefront/src/functions → functions}/models/validator/customer-review/index.d.ts +1 -1
  132. package/dist/{storefront/src/functions → functions}/models/validator/forgot-password/index.d.ts +1 -1
  133. package/dist/{storefront/src/functions → functions}/models/validator/login/index.d.ts +1 -1
  134. package/dist/{storefront/src/functions → functions}/models/validator/newsletter-subscription/index.d.ts +1 -1
  135. package/dist/{storefront/src/functions → functions}/models/validator/order-tracking/index.d.ts +2 -2
  136. package/dist/{storefront/src/functions → functions}/models/validator/recover-password/index.d.ts +1 -1
  137. package/dist/{storefront/src/functions → functions}/models/validator/register/index.d.ts +1 -1
  138. package/dist/{storefront/src/functions → functions}/models/validator/sms-login/index.d.ts +1 -1
  139. package/dist/{storefront/src/functions → functions}/models/validator/verify-phone-number/index.d.ts +1 -1
  140. package/dist/{storefront/src/functions → functions}/models/variant-type/index.d.ts +1 -1
  141. package/dist/{storefront/src/functions → functions}/models/variant-type/init.d.ts +1 -1
  142. package/dist/{storefront/src/functions → functions}/models/variant-type/variant-value/index.d.ts +1 -1
  143. package/dist/{storefront/src/functions → functions}/stores/base/index.d.ts +1 -1
  144. package/dist/{storefront/src/functions → functions}/stores/cart/index.d.ts +2 -2
  145. package/dist/{storefront/src/functions → functions}/stores/customer/index.d.ts +6 -6
  146. package/dist/{storefront/src/index.d.ts → index.d.ts} +4 -4
  147. package/dist/{storefront/src/router → router}/index.d.ts +1 -1
  148. package/dist/{storefront/src/stores → stores}/base/index.d.ts +1 -1
  149. package/dist/{storefront/src/stores → stores}/cart/index.d.ts +1 -1
  150. package/dist/{storefront/src/stores → stores}/customer/index.d.ts +3 -3
  151. package/dist/{storefront/src/theme → theme}/styles/index.d.ts +1 -1
  152. package/package.json +2 -2
  153. package/dist/storefront/src/analytics/google-analytics/viewCart.d.ts +0 -2
  154. package/dist/storefront/src/functions/api/checkout/index.d.ts +0 -32
  155. package/dist/storefront/src/functions/api/customer/index.d.ts +0 -204
  156. package/dist/storefront/src/functions/api/html-meta-data/index.d.ts +0 -4
  157. package/dist/storefront/src/functions/api/masterpass/index.d.ts +0 -2
  158. package/dist/storefront/src/functions/api/merchant/index.d.ts +0 -4
  159. package/dist/storefront/src/functions/api/popup/index.d.ts +0 -4
  160. package/dist/storefront/src/functions/api/storefront/index.d.ts +0 -3
  161. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/addToWishlist.d.ts +0 -0
  162. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/createEmailSubscription.d.ts +0 -0
  163. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerLogin.d.ts +0 -0
  164. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerLogout.d.ts +0 -0
  165. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/customerVisit.d.ts +0 -0
  166. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/index.d.ts +0 -0
  167. /package/dist/{storefront/src/analytics → analytics}/analytics-functions/search.d.ts +0 -0
  168. /package/dist/{storefront/src/analytics → analytics}/analytics.d.ts +0 -0
  169. /package/dist/{storefront/src/analytics → analytics}/events.d.ts +0 -0
  170. /package/dist/{storefront/src/analytics → analytics}/facebook/addToWishlist.d.ts +0 -0
  171. /package/dist/{storefront/src/analytics → analytics}/facebook/completeRegistration.d.ts +0 -0
  172. /package/dist/{storefront/src/analytics → analytics}/facebook/contactForm.d.ts +0 -0
  173. /package/dist/{storefront/src/analytics → analytics}/facebook/pageView.d.ts +0 -0
  174. /package/dist/{storefront/src/analytics → analytics}/facebook/search.d.ts +0 -0
  175. /package/dist/{storefront/src/analytics → analytics}/facebook/utils.d.ts +0 -0
  176. /package/dist/{storefront/src/analytics → analytics}/facebook/viewCategory.d.ts +0 -0
  177. /package/dist/{storefront/src/analytics → analytics}/google-analytics/search.d.ts +0 -0
  178. /package/dist/{storefront/src/analytics → analytics}/google-analytics/utils.d.ts +0 -0
  179. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerLogin.d.ts +0 -0
  180. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerLogout.d.ts +0 -0
  181. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/customerVisit.d.ts +0 -0
  182. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/disableHTML.d.ts +0 -0
  183. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/pageView.d.ts +0 -0
  184. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/search.d.ts +0 -0
  185. /package/dist/{storefront/src/analytics → analytics}/google-tag-manager/utils.d.ts +0 -0
  186. /package/dist/{storefront/src/analytics → analytics}/tiktok/addToWishlist.d.ts +0 -0
  187. /package/dist/{storefront/src/analytics → analytics}/tiktok/completeRegistration.d.ts +0 -0
  188. /package/dist/{storefront/src/analytics → analytics}/tiktok/contactForm.d.ts +0 -0
  189. /package/dist/{storefront/src/analytics → analytics}/tiktok/identify.d.ts +0 -0
  190. /package/dist/{storefront/src/analytics → analytics}/tiktok/pageView.d.ts +0 -0
  191. /package/dist/{storefront/src/analytics → analytics}/tiktok/search.d.ts +0 -0
  192. /package/dist/{storefront/src/analytics → analytics}/tiktok/utils.d.ts +0 -0
  193. /package/dist/{storefront/src/externals → externals}/index.d.ts +0 -0
  194. /package/dist/{storefront/src/functions → functions}/models/index.d.ts +0 -0
  195. /package/dist/{storefront/src/functions → functions}/models/validator/index.d.ts +0 -0
  196. /package/dist/{storefront/src/functions → functions}/others/index.d.ts +0 -0
  197. /package/dist/{storefront/src/functions → functions}/stores/index.d.ts +0 -0
  198. /package/dist/{storefront/src/i18n → i18n}/index.d.ts +0 -0
  199. /package/dist/{storefront/src/theme → theme}/infinite-scroller/index.d.ts +0 -0
  200. /package/dist/{storefront/src/theme → theme}/overlay/index.d.ts +0 -0
  201. /package/dist/{storefront/src/theme → theme}/slider/index.d.ts +0 -0
  202. /package/dist/{storefront/src/utils → utils}/blueprint.d.ts +0 -0
  203. /package/dist/{storefront/src/utils → utils}/currency.d.ts +0 -0
  204. /package/dist/{storefront/src/utils → utils}/fetch.d.ts +0 -0
  205. /package/dist/{storefront/src/utils → utils}/helper.d.ts +0 -0
  206. /package/dist/{storefront/src/utils → utils}/object-wrapper.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { IkasPaymentGateway } from "../../../../../storefront-models/src";
1
+ import { IkasPaymentGateway } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes an IkasPaymentGateway by applying locale-specific translations to its name and description, then removing raw translation data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductAttribute } from "../../../../../../storefront-models/src";
1
+ import { IkasProductAttribute } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product attribute by applying locale-specific translations for name, description, and options, then removes the raw translations data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasAttributeTableCellValue, IkasProductAttributeValue } from "../../../../../../storefront-models/src";
1
+ import { IkasAttributeTableCellValue, IkasProductAttributeValue } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Parses and returns the table cell values from a product attribute value's JSON string.
4
4
  *
@@ -49,4 +49,4 @@ export declare function getIkasProductAttrributeProductIds(value: IkasProductAtt
49
49
  * products.forEach(product => console.log(product.name));
50
50
  * ```
51
51
  */
52
- export declare function getIkasProductAttributeProducts(value: IkasProductAttributeValue): Promise<import("../../../../../../storefront-models/src").IkasProduct[]>;
52
+ export declare function getIkasProductAttributeProducts(value: IkasProductAttributeValue): Promise<import("../../../../storefront-models/src").IkasProduct[]>;
@@ -1,4 +1,4 @@
1
- import { IkasProductAttributeValue } from "../../../../../../storefront-models/src";
1
+ import { IkasProductAttributeValue } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product attribute value by converting its image IDs into image objects with default non-video flags.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductOffer } from "../../../../../../storefront-models/src";
1
+ import { IkasProductOffer } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Checks whether a product campaign offer has been accepted in the current cart by matching offer and product IDs with a PRODUCT target page type and ACCEPTED status.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasCampaignOffer } from "../../../../../../storefront-models/src";
1
+ import { IkasCampaignOffer } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a campaign offer by delegating initialization of each individual offer product with locale-specific translations.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasCampaignOfferProduct } from "../../../../../../../storefront-models/src";
1
+ import { IkasCampaignOfferProduct } from "../../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a campaign offer product by applying locale-specific translations for title and description, then removes the raw translations data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasApplicableProductFilterValue, IkasFilterRangeValue, IkasImage, IkasProductFilter, IkasProductFilterDisplayType, IkasProductFilterNumberRangeListOption, IkasProductFilterType } from "../../../../../../storefront-models/src";
1
+ import { IkasApplicableProductFilterValue, IkasFilterRangeValue, IkasImage, IkasProductFilter, IkasProductFilterDisplayType, IkasProductFilterNumberRangeListOption, IkasProductFilterType } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product filter by resetting all selected states and parsing custom range values.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductFilterSettings } from "../../../../../../../storefront-models/src";
1
+ import { IkasProductFilterSettings } from "../../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes product filter settings by creating a shallow copy of the provided partial settings data.
4
4
  *
@@ -17,6 +17,6 @@ export declare function initProductFilterSettings(data: Partial<IkasProductFilte
17
17
  useAndFilter?: (boolean | null) | undefined;
18
18
  showCollapsedOnDesktop?: boolean | undefined;
19
19
  showCollapsedOnMobile?: boolean | undefined;
20
- sortType?: import("../../../../../../../storefront-models/src").IkasProductFilterSortType | undefined;
20
+ sortType?: import("../../../../../storefront-models/src").IkasProductFilterSortType | undefined;
21
21
  customSortedValues?: string[] | null | undefined;
22
22
  };
@@ -1,4 +1,4 @@
1
- import { IkasProductGroup } from "../../../../../../storefront-models/src";
1
+ import { IkasProductGroup } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product group by applying locale-specific translations to group values and then removing the raw translations data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductImage } from "../../../../../../storefront-models/src";
1
+ import { IkasProductImage } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product image by converting its image ID into an image object with a video flag, or setting it to null if no image ID exists.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { CustomerReviewForm, IkasBundleProduct, IkasDisplayedProductGroup, IkasDisplayedVariantType, IkasProduct, IkasProductAttributeMap, IkasProductVariant, IkasVariantValue } from "../../../../../storefront-models/src";
1
+ import { CustomerReviewForm, IkasBundleProduct, IkasDisplayedProductGroup, IkasDisplayedVariantType, IkasProduct, IkasProductAttributeMap, IkasProductVariant, IkasVariantValue } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initialize product state on the browser by reading variant selections from URL parameters.
4
4
  * Sets the selected variant values based on `vid` query param or variant type slugs in the URL.
@@ -178,7 +178,7 @@ export declare function getMainProductVariantValue(product: IkasProduct): IkasVa
178
178
  * }
179
179
  * ```
180
180
  */
181
- export declare function getMainProductVariantType(product: IkasProduct): import("../../../../../storefront-models/src").IkasVariantType | undefined;
181
+ export declare function getMainProductVariantType(product: IkasProduct): import("../../../storefront-models/src").IkasVariantType | undefined;
182
182
  /**
183
183
  * Get the URL for the currently selected product variant.
184
184
  * Includes variant selection parameters in the URL.
@@ -474,7 +474,7 @@ export declare function selectVariantValue(product: IkasProduct, variantValue: I
474
474
  * }
475
475
  * ```
476
476
  */
477
- export declare function getProductCampaigns(product: IkasProduct): Promise<import("../../../../../storefront-models/src").IkasProductCampaign[] | undefined>;
477
+ export declare function getProductCampaigns(product: IkasProduct): Promise<import("../../../storefront-models/src").IkasProductCampaign[] | undefined>;
478
478
  /**
479
479
  * Fetch available stock locations for a product's variants.
480
480
  * Queries the API using configured pickup stock location IDs and the product's variant IDs.
@@ -498,7 +498,7 @@ export declare function getProductCampaigns(product: IkasProduct): Promise<impor
498
498
  * }
499
499
  * ```
500
500
  */
501
- export declare function getProductAvailableStockLocations(product: IkasProduct): Promise<import("../../../../../storefront-models/src").IkasProductStockLocations[]>;
501
+ export declare function getProductAvailableStockLocations(product: IkasProduct): Promise<import("../../../storefront-models/src").IkasProductStockLocations[]>;
502
502
  /**
503
503
  * Fetch and attach the product option set if not already loaded.
504
504
  * Loads option set data from the API and sets currency-specific prices for each option.
@@ -899,7 +899,7 @@ export declare function setOptionRealPrices(product: IkasProduct): void;
899
899
  * }
900
900
  * ```
901
901
  */
902
- export declare function getProductCategoryPath(product: IkasProduct): import("../../../../../storefront-models/src").IkasCategoryPathItem[];
902
+ export declare function getProductCategoryPath(product: IkasProduct): import("../../../storefront-models/src").IkasCategoryPathItem[];
903
903
  /**
904
904
  * Get the first category assigned to a product.
905
905
  * Returns null if the product has no categories.
@@ -921,7 +921,7 @@ export declare function getProductCategoryPath(product: IkasProduct): import("..
921
921
  * }
922
922
  * ```
923
923
  */
924
- export declare function getProductFirstCategory(product: IkasProduct): import("../../../../../storefront-models/src").IkasCategory | null;
924
+ export declare function getProductFirstCategory(product: IkasProduct): import("../../../storefront-models/src").IkasCategory | null;
925
925
  /**
926
926
  * Get or create the customer review form for a product.
927
927
  * Lazily initializes the form on first access and caches it in the customer store.
@@ -1,4 +1,4 @@
1
- import { IkasProduct } from "../../../../../storefront-models/src";
1
+ import { IkasProduct } from "../../../storefront-models/src";
2
2
  /**
3
3
  * In-memory store mapping variant IDs to their parent product instances.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductOption, IkasProductOptionSet } from "../../../../../../storefront-models/src";
1
+ import { IkasProductOption, IkasProductOptionSet } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Sets child options for each option in the option set by linking options that have a required parent option.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProduct, IkasProductOptionSet } from "../../../../../../storefront-models/src";
1
+ import { IkasProduct, IkasProductOptionSet } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product option set by linking each option to its parent set, initializing individual options, applying locale-specific translations, setting up child options, and initializing option values.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductOption, IkasProductOptionSelectValue } from "../../../../../../../storefront-models/src";
1
+ import { IkasProductOption, IkasProductOptionSelectValue } from "../../../../../storefront-models/src";
2
2
  /**
3
3
  * Returns the visible child options of a product option, filtered by selection state and sorted by order.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProduct, IkasProductOption } from "../../../../../../../storefront-models/src";
1
+ import { IkasProduct, IkasProductOption } from "../../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product option by setting its currency and currency symbol from the first variant's price, and sorting select settings values by order.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductStockLocations } from "../../../../../../storefront-models/src";
1
+ import { IkasProductStockLocations } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Builds a comma-separated full address string from a stock location's address components including street address, postal code, district, city, state, and country.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { BackInStockNotificationForm, IkasAppliedCampaignAmount, IkasProductAttributeMap, IkasProductPrice, IkasProductVariant } from "../../../../../../storefront-models/src";
1
+ import { BackInStockNotificationForm, IkasAppliedCampaignAmount, IkasProductAttributeMap, IkasProductPrice, IkasProductVariant } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Get the main/primary image for a product variant.
4
4
  *
@@ -25,7 +25,7 @@ import { BackInStockNotificationForm, IkasAppliedCampaignAmount, IkasProductAttr
25
25
  * }
26
26
  * ```
27
27
  */
28
- export declare function getProductVariantMainImage(variant: IkasProductVariant): import("../../../../../../storefront-models/src").IkasProductImage | undefined;
28
+ export declare function getProductVariantMainImage(variant: IkasProductVariant): import("../../../../storefront-models/src").IkasProductImage | undefined;
29
29
  /**
30
30
  * Check if a specific product variant has stock available.
31
31
  *
@@ -107,7 +107,7 @@ export declare function getGroupedAttributeValuesForVariant(variant: IkasProduct
107
107
  * }
108
108
  * ```
109
109
  */
110
- export declare function getProductVariantB2bPriceRule(variant: IkasProductVariant): import("../../../../../../storefront-models/src").IkasCustomerPriceListRule | null;
110
+ export declare function getProductVariantB2bPriceRule(variant: IkasProductVariant): import("../../../../storefront-models/src").IkasCustomerPriceListRule | null;
111
111
  /**
112
112
  * Get the applicable price object for a product variant based on the storefront or B2B customer price list.
113
113
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductVariant } from "../../../../../../storefront-models/src";
1
+ import { IkasProductVariant } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product variant by initializing its images, sorting them by order, and initializing its attribute values.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductPrice } from "../../../../../../../storefront-models/src";
1
+ import { IkasProductPrice } from "../../../../../storefront-models/src";
2
2
  /**
3
3
  * Returns the final effective price for a product, using the discount price if available or falling back to the sell price.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasProductVariantType } from "../../../../../../storefront-models/src";
1
+ import { IkasProductVariantType } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a product variant type by reordering its variant values to match the specified variant value IDs order, then delegating to the variant type initializer for locale translations.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasApplicableProductFilterValue, IkasFilterCategory, IkasProductFilter, IkasProductFilterNumberRangeListOption, IkasProductList, IkasProductListSortType, IkasSearchSuggestion } from "../../../../../storefront-models/src";
1
+ import { IkasApplicableProductFilterValue, IkasFilterCategory, IkasProductFilter, IkasProductFilterNumberRangeListOption, IkasProductList, IkasProductListSortType, IkasSearchSuggestion } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a new product list with default values merged with the provided partial data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasRaffle } from "../../../../../storefront-models/src";
1
+ import { IkasRaffle } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Checks whether a raffle is currently available based on its status and date range.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasRaffle } from "../../../../../storefront-models/src";
1
+ import { IkasRaffle } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes an IkasRaffle by delegating initialization of each associated product via initIkasProduct.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasState } from "../../../../../storefront-models/src";
1
+ import { IkasState } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes an IkasState by applying locale-specific translations to the state name and cleaning up raw translation data.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { AccountInfoForm } from "../../../../../../storefront-models/src";
1
+ import { AccountInfoForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the account info form by loading the current customer's first name, last name, and phone from the store and setting default field states.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { AddressForm, IkasCustomerAddress } from "../../../../../../storefront-models/src";
1
+ import { AddressForm, IkasCustomerAddress } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes an address form with default or existing address values, loads location data, and configures field settings.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { BackInStockNotificationForm, IkasProductVariant } from "../../../../../../storefront-models/src";
1
+ import { BackInStockNotificationForm, IkasProductVariant } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the back-in-stock notification form by associating it with a product variant and setting up the email field with localized label and placeholder.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ContactForm } from "../../../../../../storefront-models/src";
1
+ import { ContactForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the contact form with default field states for first name, last name, email, phone, and message, including localized labels and placeholders.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { CouponCodeForm } from "../../../../../../storefront-models/src";
1
+ import { CouponCodeForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the coupon code form with default values, labels, and placeholders.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { CustomerReviewForm } from "../../../../../../storefront-models/src";
1
+ import { CustomerReviewForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the customer review form with default field values, labels, and placeholders for title, comment, and star rating.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ForgotPasswordForm } from "../../../../../../storefront-models/src";
1
+ import { ForgotPasswordForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the forgot password form with default email field values, labels, and placeholders.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { LoginForm } from "../../../../../../storefront-models/src";
1
+ import { LoginForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the login form with default email and password field values, labels, and placeholders.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { NewsletterSubscriptionForm } from "../../../../../../storefront-models/src";
1
+ import { NewsletterSubscriptionForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the newsletter subscription form with default field values and resets submission state.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { OrderTrackingForm } from "../../../../../../storefront-models/src";
1
+ import { OrderTrackingForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the order tracking form with default field values for email and order number, and resets submission state.
4
4
  *
@@ -67,4 +67,4 @@ export declare function setOrderTrackingFormOrderNumber(orderTrackingForm: Order
67
67
  * }
68
68
  * ```
69
69
  */
70
- export declare function submitOrderTrackingForm(orderTrackingForm: OrderTrackingForm): Promise<import("../../../../../../storefront-models/src").IkasOrder | null>;
70
+ export declare function submitOrderTrackingForm(orderTrackingForm: OrderTrackingForm): Promise<import("../../../../storefront-models/src").IkasOrder | null>;
@@ -1,4 +1,4 @@
1
- import { RecoverPasswordForm } from "../../../../../../storefront-models/src";
1
+ import { RecoverPasswordForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the recover password form with default field values for password and password confirmation, and resets submission state.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasFormAttributeItem, RegisterForm } from "../../../../../../storefront-models/src";
1
+ import { IkasFormAttributeItem, RegisterForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the registration form with default field values, labels, placeholders, and customer attributes.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { SmsLoginForm } from "../../../../../../storefront-models/src";
1
+ import { SmsLoginForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the SMS login form with default field values, labels, placeholders, and resets all state.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { VerifyPhoneNumberForm } from "../../../../../../storefront-models/src";
1
+ import { VerifyPhoneNumberForm } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the phone number verification form with default field values and sets the step to "Enter Phone Number".
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasVariantType } from "../../../../../storefront-models/src";
1
+ import { IkasVariantType } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Checks whether the given variant type uses color-based selection.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasVariantType } from "../../../../../storefront-models/src";
1
+ import { IkasVariantType } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes a variant type by linking each variant value back to its parent variant type and applying locale-specific translations.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasImage, IkasVariantValue } from "../../../../../../storefront-models/src";
1
+ import { IkasImage, IkasVariantValue } from "../../../../storefront-models/src";
2
2
  /**
3
3
  * Generates a URL-friendly slug from the variant value's name.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { IkasThemePageType } from "../../../../../storefront-models/src";
1
+ import { IkasThemePageType } from "../../../storefront-models/src";
2
2
  /**
3
3
  * Initializes the base store by setting the current page type.
4
4
  *
@@ -1,5 +1,5 @@
1
- import { APIResponse } from "../../../../../storefront-api-client/src";
2
- import { IkasCart, IkasOrderLineItem, IkasProduct, IkasProductOffer, IkasProductVariant } from "../../../../../storefront-models/src";
1
+ import { APIResponse } from "../../../storefront-api-client/src";
2
+ import { IkasCart, IkasOrderLineItem, IkasProduct, IkasProductOffer, IkasProductVariant } from "../../../storefront-models/src";
3
3
  import { IkasCartStore } from "../../../stores/cart";
4
4
  /**
5
5
  * Get the checkout URL for the current cart.
@@ -1,6 +1,6 @@
1
- import type { SaveCustomerFormDataInput } from "../../../../../storefront-api/src";
2
- import { APIResponse } from "../../../../../storefront-api-client/src";
3
- import { AccountInfoForm, AddressForm, ContactForm, CouponCodeForm, ForgotPasswordForm, IkasContactForm, IkasCustomer, IkasCustomerAddress, IkasCustomerAttributeValue, IkasCustomerReviewForm, IkasFavoriteProduct, IkasOrder, IkasOrderTransaction, IkasProduct, IkasProductFile, LoginForm, NewsletterSubscriptionForm, OrderTrackingForm, RecoverPasswordForm, RegisterForm, SmsLoginForm, VerifyPhoneNumberForm } from "../../../../../storefront-models/src";
1
+ import type { SaveCustomerFormDataInput } from "../../../storefront-api/src";
2
+ import { APIResponse } from "../../../storefront-api-client/src";
3
+ import { AccountInfoForm, AddressForm, ContactForm, CouponCodeForm, ForgotPasswordForm, IkasContactForm, IkasCustomer, IkasCustomerAddress, IkasCustomerAttributeValue, IkasCustomerReviewForm, IkasFavoriteProduct, IkasOrder, IkasOrderTransaction, IkasProduct, IkasProductFile, LoginForm, NewsletterSubscriptionForm, OrderTrackingForm, RecoverPasswordForm, RegisterForm, SmsLoginForm, VerifyPhoneNumberForm } from "../../../storefront-models/src";
4
4
  import { IkasCustomerStore } from "../../../stores/customer";
5
5
  import { IkasLoginError, IkasRegisterError } from "../../api/customer";
6
6
  export type SocialLoginProvider = "facebook" | "google" | "twitch";
@@ -903,7 +903,7 @@ export declare function saveCustomerFormData(customerStore: IkasCustomerStore, i
903
903
  * }
904
904
  * ```
905
905
  */
906
- export declare function sendReview(customerStore: IkasCustomerStore, input: IkasCustomerReviewForm): Promise<import("../../../../../storefront-models/src").IkasCustomerReview | undefined>;
906
+ export declare function sendReview(customerStore: IkasCustomerStore, input: IkasCustomerReviewForm): Promise<import("../../../storefront-models/src").IkasCustomerReview | undefined>;
907
907
  /**
908
908
  * Deactivate (delete) the current customer's account after password verification.
909
909
  *
@@ -1045,7 +1045,7 @@ export declare function waitForCaptchaTokenInit(customerStore: IkasCustomerStore
1045
1045
  * }
1046
1046
  * ```
1047
1047
  */
1048
- export declare function getCustomerAttributes(customerStore: IkasCustomerStore): Promise<import("../../../../../storefront-models/src").IkasCustomerAttribute[]>;
1048
+ export declare function getCustomerAttributes(customerStore: IkasCustomerStore): Promise<import("../../../storefront-models/src").IkasCustomerAttribute[]>;
1049
1049
  /**
1050
1050
  * Get digital product files associated with an order by their file IDs.
1051
1051
  *
@@ -1172,7 +1172,7 @@ export declare function setSavedLastViewedProductsResponse(customerStore: IkasCu
1172
1172
  * }
1173
1173
  * ```
1174
1174
  */
1175
- export declare function getLastViewedProducts(customerStore: IkasCustomerStore): Promise<import("../../../../../storefront-models/src").IkasLastViewedProduct[]>;
1175
+ export declare function getLastViewedProducts(customerStore: IkasCustomerStore): Promise<import("../../../storefront-models/src").IkasLastViewedProduct[]>;
1176
1176
  /**
1177
1177
  * Record a product view event, saving it to the API for logged-in users or local storage for guests.
1178
1178
  *
@@ -21,8 +21,8 @@ export * from "./theme/styles";
21
21
  export * from "./utils/blueprint";
22
22
  export * from "./utils/fetch";
23
23
  export * from "./utils/object-wrapper";
24
- export type { APIErrorCode, APIResponse } from "../../storefront-api/src";
25
- export * from "../../storefront-api/src";
26
- export * from "../../storefront-config/src";
27
- export * from "../../storefront-models/src";
24
+ export type { APIErrorCode, APIResponse } from "./storefront-api/src";
25
+ export * from "./storefront-api/src";
26
+ export * from "./storefront-config/src";
27
+ export * from "./storefront-models/src";
28
28
  export declare function testSetup(): void;
@@ -1,4 +1,4 @@
1
- import { IkasThemePageType } from "../../../storefront-models/src";
1
+ import { IkasThemePageType } from "../storefront-models/src";
2
2
  /**
3
3
  * Router class for client-side navigation in ikas storefronts.
4
4
  * Provides methods for programmatic navigation and URL management.
@@ -1,4 +1,4 @@
1
- import { IkasLanguageOption, IkasLocaleOption, IkasThemePageType } from "../../../../storefront-models/src";
1
+ import { IkasLanguageOption, IkasLocaleOption, IkasThemePageType } from "../../storefront-models/src";
2
2
  export type BaseStore = {
3
3
  currentPageType: IkasThemePageType | null;
4
4
  localeOptions: IkasLocaleOption[];
@@ -1,4 +1,4 @@
1
- import { IkasCart } from "../../../../storefront-models/src";
1
+ import { IkasCart } from "../../storefront-models/src";
2
2
  export type IkasCartStore = {
3
3
  cart: IkasCart | null;
4
4
  isCartLoading: boolean;
@@ -1,6 +1,6 @@
1
- import { ProductFacetCount, SearchProduct } from "../../../../storefront-api/src";
2
- import { APIResponse } from "../../../../storefront-api-client/src";
3
- import { AccountInfoForm, AddressForm, BackInStockNotificationForm, ContactForm, CouponCodeForm, CustomerReviewForm, ForgotPasswordForm, IkasCustomer, IkasFavoriteProduct, IkasLastViewedProduct, IkasOrderRefundSettings, IkasProduct, LoginForm, NewsletterSubscriptionForm, OrderTrackingForm, RecoverPasswordForm, RegisterForm, SmsLoginForm, VerifyPhoneNumberForm } from "../../../../storefront-models/src";
1
+ import { ProductFacetCount, SearchProduct } from "../../storefront-api/src";
2
+ import { APIResponse } from "../../storefront-api-client/src";
3
+ import { AccountInfoForm, AddressForm, BackInStockNotificationForm, ContactForm, CouponCodeForm, CustomerReviewForm, ForgotPasswordForm, IkasCustomer, IkasFavoriteProduct, IkasLastViewedProduct, IkasOrderRefundSettings, IkasProduct, LoginForm, NewsletterSubscriptionForm, OrderTrackingForm, RecoverPasswordForm, RegisterForm, SmsLoginForm, VerifyPhoneNumberForm } from "../../storefront-models/src";
4
4
  export type IkasCustomerStore = {
5
5
  customer: IkasCustomer | null;
6
6
  _token: string | null;
@@ -1,4 +1,4 @@
1
- import { BorderStyleType, BoxShadowStyleType, GridTemplateColumnsStyleType, SizeStyleType } from "../../../../storefront-models/src";
1
+ import { BorderStyleType, BoxShadowStyleType, GridTemplateColumnsStyleType, SizeStyleType } from "../../storefront-models/src";
2
2
  export declare const getFormattedStyleVariable: (property: "border" | "shadow" | "justify-content" | "align-items" | "flex-direction" | "grid-template-columns" | "object-fit" | (typeof SIZE_PROPERTIES)[number], value: any) => any;
3
3
  export declare const getFormattedShadow: (shadow: BoxShadowStyleType) => string;
4
4
  export declare const getFormattedGridTemplateColumns: (gridTemplateColumns?: GridTemplateColumnsStyleType) => string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/bp-storefront",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "A framework for the ikas blueprint storefronts.",
5
5
  "author": "ikas",
6
6
  "license": "ISC",
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "type": "module",
13
13
  "scripts": {
14
- "build:npm": "rm -rf dist && rollup -c",
14
+ "build:npm": "rm -rf dist && rollup -c && bash scripts/fix-dts.sh",
15
15
  "prepack": "npm run build:npm && node -e \"const p=JSON.parse(require('fs').readFileSync('./package.json','utf8'));p.main='./dist/index.js';p.module='./dist/index.js';p.types='./dist/index.d.ts';p.files=['dist'];require('fs').writeFileSync('./package.json',JSON.stringify(p,null,2)+'\\n')\"",
16
16
  "postpack": "node -e \"const p=JSON.parse(require('fs').readFileSync('./package.json','utf8'));p.main='./src/index.ts';p.module='./src/index.ts';p.types='./src/index.ts';p.files=['src'];require('fs').writeFileSync('./package.json',JSON.stringify(p,null,2)+'\\n')\"",
17
17
  "release": "npm publish",
@@ -1,2 +0,0 @@
1
- import { IkasCart } from "../../../../storefront-models/src";
2
- export declare function ga_viewCart(cart: IkasCart): void;
@@ -1,32 +0,0 @@
1
- import type { CreateAdyenBalancePlatformPaymentSessionQueryParams } from "../../../../../storefront-api/src/__api/mutations/createAdyenBalancePlatformPaymentSession";
2
- import type { CreateKlarnaClientTokenQueryParams } from "../../../../../storefront-api/src/__api/mutations/createKlarnaClientToken";
3
- import type { CreatePaypalOrderQueryParams } from "../../../../../storefront-api/src/__api/mutations/createPaypalOrder";
4
- import type { CreateSaleTransactionWithCartQueryParams } from "../../../../../storefront-api/src/__api/mutations/createSaleTransactionWithCart";
5
- import type { CreateStripePaymentIntentQueryParams } from "../../../../../storefront-api/src/__api/mutations/createStripePaymentIntent";
6
- import type { GetPaypalClientIdQueryParams } from "../../../../../storefront-api/src/__api/mutations/getPaypalClientId";
7
- import type { RetrieveInstallmentInfoQueryParams } from "../../../../../storefront-api/src/__api/mutations/retrieveInstallmentInfo";
8
- import type { CheckCartStocksQueryParams } from "../../../../../storefront-api/src/__api/queries/checkCartStocks";
9
- import type { CheckStocksQueryParams } from "../../../../../storefront-api/src/__api/queries/checkStocks";
10
- import type { GetAvailableShippingCountriesQueryParams } from "../../../../../storefront-api/src/__api/queries/getAvailableShippingCountries";
11
- import type { GetAvailableStockLocationsQueryParams } from "../../../../../storefront-api/src/__api/queries/getAvailableStockLocations";
12
- import type { ListCheckoutSettingsQueryParams } from "../../../../../storefront-api/src/__api/queries/listCheckoutSettings";
13
- import type { ListPaymentGatewayQueryParams } from "../../../../../storefront-api/src/__api/queries/listPaymentGateway";
14
- import type { ListProductFileQueryParams } from "../../../../../storefront-api/src/__api/queries/listProductFile";
15
- import type { ListStockLocationQueryParams } from "../../../../../storefront-api/src/__api/queries/listStockLocation";
16
- import { APIResponse } from "../../../../../storefront-api-client/src";
17
- import { IkasAvailableStockLocation, IkasCheckoutSettings, IkasPaymentGateway, IkasStockLocation } from "../../../../../storefront-models/src";
18
- export declare function apiCreateSaleTransactionWithCart(params: CreateSaleTransactionWithCartQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").TransactionResponse> | APIResponse<undefined>>;
19
- export declare function apiListPaymentGateway(params: ListPaymentGatewayQueryParams): Promise<APIResponse<IkasPaymentGateway[]>>;
20
- export declare function apiListProductFile(params: ListProductFileQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../../../storefront-api/src").ProductFile[]>>;
21
- export declare function apiRetrieveInstallmentInfo(params: RetrieveInstallmentInfoQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../../../storefront-api/src").RetrieveInstallmentInfoResponse>>;
22
- export declare function apiCheckStocks(params: CheckStocksQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../../../storefront-api/src").CheckStocksResponse>>;
23
- export declare function apiCheckCartStocks(params: CheckCartStocksQueryParams): Promise<APIResponse<undefined> | APIResponse<import("../../../../../storefront-api/src").CheckStocksResponse>>;
24
- export declare function apiListCheckoutSettings(params: ListCheckoutSettingsQueryParams): Promise<APIResponse<IkasCheckoutSettings[]>>;
25
- export declare function apiGetAvailableShippingCountries(params: GetAvailableShippingCountriesQueryParams): Promise<APIResponse<undefined> | APIResponse<string[]>>;
26
- export declare function apiListStockLocations(params: ListStockLocationQueryParams): Promise<APIResponse<IkasStockLocation[]>>;
27
- export declare function apiGetAvailableStockLocations(params: GetAvailableStockLocationsQueryParams): Promise<APIResponse<IkasAvailableStockLocation[]>>;
28
- export declare function apiCreateStripePaymentIntent(params: CreateStripePaymentIntentQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").CreateStripePaymentIntentResponse>>;
29
- export declare function apiCreateKlarnaClientToken(params: CreateKlarnaClientTokenQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").CreateKlarnaTokenResponse>>;
30
- export declare function apiCreateAdyenBalancePlatformPaymentSession(params: CreateAdyenBalancePlatformPaymentSessionQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").CreateAdyenPlatformSessionResponse>>;
31
- export declare function apiGetPayPalClientId(params: GetPaypalClientIdQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").GetPaypalClientIdResponse>>;
32
- export declare function apiCreatePayPalOrder(params: CreatePaypalOrderQueryParams): Promise<APIResponse<import("../../../../../storefront-api/src").CreatePaypalOrderResponse>>;