@ikas/storefront 5.0.0-beta.9 → 5.0.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 (244) hide show
  1. package/build/analytics/analytics.d.ts +4 -0
  2. package/build/analytics/analytics.js +1 -1
  3. package/build/analytics/facebookPixel.d.ts +1 -0
  4. package/build/analytics/facebookPixel.js +1 -1
  5. package/build/analytics/googleAnalytics.d.ts +1 -0
  6. package/build/analytics/googleAnalytics.js +1 -1
  7. package/build/analytics/googleTagManager.d.ts +12 -21
  8. package/build/analytics/googleTagManager.js +1 -1
  9. package/build/analytics/head/index.js +1 -1
  10. package/build/analytics/ikas.d.ts +2 -1
  11. package/build/analytics/ikas.js +1 -1
  12. package/build/analytics/tiktokPixel.d.ts +1 -0
  13. package/build/analytics/tiktokPixel.js +1 -1
  14. package/build/components/checkout/components/address-form/index.js +1 -1
  15. package/build/components/checkout/components/address-form/model.d.ts +13 -2
  16. package/build/components/checkout/components/address-form/model.js +1 -1
  17. package/build/components/checkout/components/cart-summary/cart-item/bundle-product-item/index.d.ts +7 -0
  18. package/build/components/checkout/components/cart-summary/cart-item/bundle-product-item/index.js +1 -0
  19. package/build/components/checkout/components/cart-summary/cart-item/bundle-product-item/style.module.scss.js +1 -0
  20. package/build/components/checkout/components/cart-summary/cart-item/index.d.ts +1 -0
  21. package/build/components/checkout/components/cart-summary/cart-item/index.js +1 -1
  22. package/build/components/checkout/components/cart-summary/cart-item/style.module.scss.js +1 -1
  23. package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-down.d.ts +2 -0
  24. package/build/components/checkout/components/cart-summary/cart-item/svg/arrow-down.js +1 -0
  25. package/build/components/checkout/components/cart-summary/index.d.ts +11 -0
  26. package/build/components/checkout/components/cart-summary/index.js +1 -1
  27. package/build/components/checkout/components/cart-summary/style.module.scss.js +1 -1
  28. package/build/components/checkout/components/credit-card-form/model.js +1 -1
  29. package/build/components/checkout/components/customer-addresses/index.js +1 -1
  30. package/build/components/checkout/components/customer-addresses/model.js +1 -1
  31. package/build/components/checkout/components/customer-addresses/style.module.scss.js +1 -1
  32. package/build/components/checkout/components/epaykolay-button/index.d.ts +5 -0
  33. package/build/components/checkout/components/epaykolay-button/index.js +1 -0
  34. package/build/components/checkout/components/epaykolay-button/style.module.scss.js +1 -0
  35. package/build/components/checkout/components/error/customer-account-disabled-error/index.d.ts +8 -0
  36. package/build/components/checkout/components/error/customer-account-disabled-error/index.js +1 -0
  37. package/build/components/checkout/components/error/customer-login-required-error/index.js +1 -1
  38. package/build/components/checkout/components/error/index.js +1 -1
  39. package/build/components/checkout/components/form-item/index.js +1 -1
  40. package/build/components/checkout/components/form-item/model.js +1 -1
  41. package/build/components/checkout/components/notification-box/index.d.ts +2 -0
  42. package/build/components/checkout/components/notification-box/index.js +1 -1
  43. package/build/components/checkout/components/offer-product/index.js +1 -1
  44. package/build/components/checkout/components/paypal/index.d.ts +7 -0
  45. package/build/components/checkout/components/paypal/index.js +1 -0
  46. package/build/components/checkout/components/paypal/style.module.scss.js +1 -0
  47. package/build/components/checkout/components/product-files/index.d.ts +7 -0
  48. package/build/components/checkout/components/product-files/index.js +1 -0
  49. package/build/components/checkout/components/product-files/style.module.scss.js +1 -0
  50. package/build/components/checkout/components/quick-registration/model.js +1 -1
  51. package/build/components/checkout/components/select-box/index.d.ts +1 -0
  52. package/build/components/checkout/components/select-box/index.js +1 -1
  53. package/build/components/checkout/components/stripe/index.js +1 -1
  54. package/build/components/checkout/components/svg/epaykolay.d.ts +6 -0
  55. package/build/components/checkout/components/svg/epaykolay.js +1 -0
  56. package/build/components/checkout/components/toggle/index.d.ts +1 -0
  57. package/build/components/checkout/components/toggle/index.js +1 -1
  58. package/build/components/checkout/components/toggle/style.module.scss.js +1 -1
  59. package/build/components/checkout/index.d.ts +2 -0
  60. package/build/components/checkout/index.js +1 -1
  61. package/build/components/checkout/model.d.ts +44 -17
  62. package/build/components/checkout/model.js +1 -1
  63. package/build/components/checkout/steps/step-payment/index.js +1 -1
  64. package/build/components/checkout/steps/step-payment/payment-gateways/index.js +1 -1
  65. package/build/components/checkout/steps/step-payment/style.module.scss.js +1 -1
  66. package/build/components/checkout/steps/step-shipping/index.js +1 -1
  67. package/build/components/checkout/steps/step-success/index.js +1 -1
  68. package/build/components/checkout/steps/step-success/style.module.scss.js +1 -1
  69. package/build/components/checkout/style.module.scss.js +1 -1
  70. package/build/components/google-captcha/index.js +1 -1
  71. package/build/components/link/index.js +1 -1
  72. package/build/components/page/head.js +1 -1
  73. package/build/components/page/index.js +1 -1
  74. package/build/components/page-editor/ThemeComponentEditor.js +1 -1
  75. package/build/components/page-editor/model.d.ts +1 -0
  76. package/build/components/page-editor/model.js +1 -1
  77. package/build/hooks/useCustomerReviews.js +1 -1
  78. package/build/hooks/useStore.js +1 -1
  79. package/build/index.js +1 -1
  80. package/build/models/data/cart/available-shipping-method/estimated-delivery-time/index.d.ts +6 -0
  81. package/build/models/data/cart/available-shipping-method/estimated-delivery-time/index.js +1 -0
  82. package/build/models/data/cart/available-shipping-method/index.d.ts +2 -0
  83. package/build/models/data/cart/available-shipping-method/index.js +1 -1
  84. package/build/models/data/category/conditions/index.d.ts +21 -0
  85. package/build/models/data/category/conditions/index.js +1 -0
  86. package/build/models/data/category/index.d.ts +3 -0
  87. package/build/models/data/category/index.js +1 -1
  88. package/build/models/data/checkout/index.d.ts +2 -2
  89. package/build/models/data/checkout-settings/index.d.ts +2 -1
  90. package/build/models/data/checkout-settings/index.js +1 -1
  91. package/build/models/data/checkout-settings/price/index.d.ts +2 -1
  92. package/build/models/data/checkout-settings/price/index.js +1 -1
  93. package/build/models/data/contact-form/index.d.ts +1 -0
  94. package/build/models/data/contact-form/index.js +1 -1
  95. package/build/models/data/customer/address/ikas-localized-customer-address.d.ts +26 -12
  96. package/build/models/data/customer/address/ikas-localized-customer-address.js +1 -1
  97. package/build/models/data/customer/address/index.d.ts +5 -0
  98. package/build/models/data/customer/address/index.js +1 -1
  99. package/build/models/data/customer/address/region/index.d.ts +6 -0
  100. package/build/models/data/customer/address/region/index.js +1 -0
  101. package/build/models/data/customer/index.d.ts +7 -0
  102. package/build/models/data/customer/index.js +1 -1
  103. package/build/models/data/customer/price-list-rule/filter/index.d.ts +7 -0
  104. package/build/models/data/customer/price-list-rule/filter/index.js +1 -0
  105. package/build/models/data/customer/price-list-rule/index.d.ts +10 -0
  106. package/build/models/data/customer/price-list-rule/index.js +1 -0
  107. package/build/models/data/customer/review/index.d.ts +1 -0
  108. package/build/models/data/customer/review/index.js +1 -1
  109. package/build/models/data/favorite-product/index.d.ts +2 -0
  110. package/build/models/data/favorite-product/index.js +1 -1
  111. package/build/models/data/filter-category/index.d.ts +4 -0
  112. package/build/models/data/filter-category/index.js +1 -1
  113. package/build/models/data/html-meta-data/translations/index.d.ts +1 -0
  114. package/build/models/data/html-meta-data/translations/index.js +1 -1
  115. package/build/models/data/image/index.d.ts +1 -0
  116. package/build/models/data/image/index.js +1 -1
  117. package/build/models/data/index.d.ts +15 -1
  118. package/build/models/data/order/address/ikas-localized-order-address.d.ts +48 -18
  119. package/build/models/data/order/address/ikas-localized-order-address.js +1 -1
  120. package/build/models/data/order/address/index.d.ts +5 -0
  121. package/build/models/data/order/address/index.js +1 -1
  122. package/build/models/data/order/address/region/index.d.ts +6 -0
  123. package/build/models/data/order/address/region/index.js +1 -0
  124. package/build/models/data/order/index.d.ts +3 -0
  125. package/build/models/data/order/index.js +1 -1
  126. package/build/models/data/order/line-item/index.d.ts +5 -0
  127. package/build/models/data/order/line-item/index.js +1 -1
  128. package/build/models/data/order/line-item/variant/bundle-product/bundle-variant/index.d.ts +33 -0
  129. package/build/models/data/order/line-item/variant/bundle-product/bundle-variant/index.js +1 -0
  130. package/build/models/data/order/line-item/variant/bundle-product/index.d.ts +15 -0
  131. package/build/models/data/order/line-item/variant/bundle-product/index.js +1 -0
  132. package/build/models/data/order/line-item/variant/index.d.ts +4 -0
  133. package/build/models/data/order/line-item/variant/index.js +1 -1
  134. package/build/models/data/order/transaction/index.d.ts +1 -0
  135. package/build/models/data/order/transaction/index.js +1 -1
  136. package/build/models/data/order/transaction/payment-method-detail/index.d.ts +1 -0
  137. package/build/models/data/order/transaction/payment-method-detail/index.js +1 -1
  138. package/build/models/data/product/campaign-offer/index.d.ts +15 -0
  139. package/build/models/data/product/campaign-offer/index.js +1 -0
  140. package/build/models/data/product/filter/index.d.ts +2 -0
  141. package/build/models/data/product/filter/index.js +1 -1
  142. package/build/models/data/product/group/index.d.ts +11 -0
  143. package/build/models/data/product/group/index.js +1 -0
  144. package/build/models/data/product/group/translation/index.d.ts +13 -0
  145. package/build/models/data/product/group/translation/index.js +1 -0
  146. package/build/models/data/product/group/value/index.d.ts +7 -0
  147. package/build/models/data/product/group/value/index.js +1 -0
  148. package/build/models/data/product/image/index.d.ts +1 -0
  149. package/build/models/data/product/image/index.js +1 -1
  150. package/build/models/data/product/index.d.ts +34 -1
  151. package/build/models/data/product/index.js +1 -1
  152. package/build/models/data/product/variant/bundle-settings/bundle-product/index.d.ts +28 -0
  153. package/build/models/data/product/variant/bundle-settings/bundle-product/index.js +1 -0
  154. package/build/models/data/product/variant/bundle-settings/index.d.ts +8 -0
  155. package/build/models/data/product/variant/bundle-settings/index.js +1 -0
  156. package/build/models/data/product/variant/index.d.ts +35 -3
  157. package/build/models/data/product/variant/index.js +1 -1
  158. package/build/models/data/product/variant/price/index.d.ts +26 -0
  159. package/build/models/data/product/variant/price/index.js +1 -1
  160. package/build/models/data/product/variant/price/product-campaign-price/index.d.ts +6 -0
  161. package/build/models/data/product/variant/price/product-campaign-price/index.js +1 -0
  162. package/build/models/data/product-file/index.d.ts +8 -0
  163. package/build/models/data/product-file/index.js +1 -0
  164. package/build/models/data/shipping-zone/index.d.ts +9 -0
  165. package/build/models/data/shipping-zone/index.js +1 -0
  166. package/build/models/data/shipping-zone/state/city/district/index.d.ts +7 -0
  167. package/build/models/data/shipping-zone/state/city/district/index.js +1 -0
  168. package/build/models/data/shipping-zone/state/city/district/region/index.d.ts +6 -0
  169. package/build/models/data/shipping-zone/state/city/district/region/index.js +1 -0
  170. package/build/models/data/shipping-zone/state/city/index.d.ts +8 -0
  171. package/build/models/data/shipping-zone/state/city/index.js +1 -0
  172. package/build/models/data/shipping-zone/state/index.d.ts +9 -0
  173. package/build/models/data/shipping-zone/state/index.js +1 -0
  174. package/build/models/data/storefront/b2b-settings/index.d.ts +8 -0
  175. package/build/models/data/storefront/b2b-settings/index.js +1 -0
  176. package/build/models/data/storefront/index-page-seo-setting/index.d.ts +17 -0
  177. package/build/models/data/storefront/index-page-seo-setting/index.js +1 -0
  178. package/build/models/data/storefront/index.d.ts +6 -1
  179. package/build/models/data/storefront/index.js +1 -1
  180. package/build/models/data/theme-json/component/index.d.ts +2 -0
  181. package/build/models/data/theme-json/component/index.js +1 -1
  182. package/build/models/data/theme-json/component/prop/index.d.ts +2 -0
  183. package/build/models/data/theme-json/component/prop/index.js +1 -1
  184. package/build/models/data/theme-json/custom-data/index.d.ts +2 -0
  185. package/build/models/data/theme-json/custom-data/index.js +1 -1
  186. package/build/models/data/theme-json/index.js +1 -1
  187. package/build/models/data/video/index.d.ts +11 -0
  188. package/build/models/data/video/index.js +1 -0
  189. package/build/models/ui/blog-category-list/index.js +1 -1
  190. package/build/models/ui/brand-list/index.js +1 -1
  191. package/build/models/ui/category-list/index.js +1 -1
  192. package/build/models/ui/customer-review-list/index.js +1 -1
  193. package/build/models/ui/customer-review-summary-list/index.js +1 -1
  194. package/build/models/ui/index.d.ts +1 -1
  195. package/build/models/ui/product-attribute-list/index.js +1 -1
  196. package/build/models/ui/product-list/index.d.ts +25 -3
  197. package/build/models/ui/product-list/index.js +1 -1
  198. package/build/models/ui/raffle-list/index.js +1 -1
  199. package/build/models/ui/validator/form/account-info.js +1 -1
  200. package/build/models/ui/validator/form/address.js +1 -1
  201. package/build/models/ui/validator/form/contact-form.d.ts +6 -0
  202. package/build/models/ui/validator/form/contact-form.js +1 -1
  203. package/build/models/ui/validator/form/ikas-address.d.ts +46 -20
  204. package/build/models/ui/validator/form/ikas-address.js +1 -1
  205. package/build/models/ui/validator/form/login.d.ts +7 -4
  206. package/build/models/ui/validator/form/login.js +1 -1
  207. package/build/models/ui/validator/form/register.d.ts +10 -1
  208. package/build/models/ui/validator/form/register.js +1 -1
  209. package/build/page-data-init/index.d.ts +9 -1
  210. package/build/page-data-init/index.js +1 -1
  211. package/build/pages/account/activate.d.ts +4 -0
  212. package/build/pages/account/activate.js +1 -0
  213. package/build/pages/checkout.js +1 -1
  214. package/build/pages/home.js +1 -1
  215. package/build/pages/index.d.ts +1 -0
  216. package/build/store/base.d.ts +1 -0
  217. package/build/store/base.js +1 -1
  218. package/build/store/blog/index.js +1 -1
  219. package/build/store/brand/index.js +1 -1
  220. package/build/store/cart/index.d.ts +6 -2
  221. package/build/store/cart/index.js +1 -1
  222. package/build/store/category/index.js +1 -1
  223. package/build/store/checkout/index.d.ts +7 -2
  224. package/build/store/checkout/index.js +1 -1
  225. package/build/store/customer/api.d.ts +5 -1
  226. package/build/store/customer/api.js +1 -1
  227. package/build/store/customer/index.d.ts +25 -5
  228. package/build/store/customer/index.js +1 -1
  229. package/build/store/html-meta-data/index.js +1 -1
  230. package/build/store/index.d.ts +1 -1
  231. package/build/store/location/index.d.ts +2 -1
  232. package/build/store/location/index.js +1 -1
  233. package/build/store/product/index.d.ts +4 -1
  234. package/build/store/product/index.js +1 -1
  235. package/build/utils/constants.js +1 -1
  236. package/build/utils/helper.d.ts +1 -0
  237. package/build/utils/helper.js +1 -1
  238. package/package.json +18 -14
  239. package/build/analytics/googleUniversal.d.ts +0 -9
  240. package/build/analytics/googleUniversal.js +0 -1
  241. package/build/ext/@builder.io/partytown/integration/index.mjs.js +0 -1
  242. package/build/ext/@builder.io/partytown/react/index.mjs.js +0 -1
  243. package/build/models/data/checkout/country-settings-model.d.ts +0 -141
  244. package/build/models/data/checkout/country-settings-model.js +0 -1
@@ -1,5 +1,7 @@
1
1
  import { IkasAvailableShippingMethod as IAvailableShippingMethod, IkasShippingMethod } from "@ikas/storefront-models";
2
+ import { IkasLocalDeliverySettingsDayEstimatedDeliveryTime } from "./estimated-delivery-time";
2
3
  export declare class IkasAvailableShippingMethod implements IAvailableShippingMethod {
4
+ estimatedDeliveryTime: IkasLocalDeliverySettingsDayEstimatedDeliveryTime | null;
3
5
  price: number;
4
6
  rateName: string;
5
7
  shippingMethod: IkasShippingMethod;
@@ -1 +1 @@
1
- export{IkasShippingMethod}from"@ikas/storefront-models";import{makeAutoObservable as i}from"mobx";var t=function(t){this.price=t.price,this.rateName=t.rateName,this.shippingMethod=t.shippingMethod,this.shippingSettingsId=t.shippingSettingsId,this.shippingZoneRateId=t.shippingZoneRateId,i(this)};export{t as IkasAvailableShippingMethod};
1
+ import{__assign as i}from'./../../../../ext/tslib/tslib.es6.js';export{IkasShippingMethod}from"@ikas/storefront-models";import{makeAutoObservable as e}from"mobx";import{IkasLocalDeliverySettingsDayEstimatedDeliveryTime as t}from"./estimated-delivery-time/index.js";var s=function(s){this.estimatedDeliveryTime=s.estimatedDeliveryTime?new t(i({},s.estimatedDeliveryTime)):null,this.price=s.price,this.rateName=s.rateName,this.shippingMethod=s.shippingMethod,this.shippingSettingsId=s.shippingSettingsId,this.shippingZoneRateId=s.shippingZoneRateId,e(this)};export{s as IkasAvailableShippingMethod};
@@ -0,0 +1,21 @@
1
+ import { IkasBrand, IkasCategoryConditions as ICategoryConditions, IkasCategoryConditionValues as ICategoryConditionValues } from "@ikas/storefront-models";
2
+ export declare class IkasCategoryConditions implements ICategoryConditions {
3
+ conditionType: IkasCategoryConditionTypeEnum;
4
+ valueList: string[];
5
+ constructor(data: ICategoryConditions);
6
+ }
7
+ export declare class IkasCategoryConditionValues implements ICategoryConditionValues {
8
+ brand: IkasBrand | null;
9
+ constructor(data: ICategoryConditionValues);
10
+ }
11
+ export declare enum IkasCategoryConditionTypeEnum {
12
+ CAMPAIGN = "CAMPAIGN",
13
+ CATEGORY = "CATEGORY",
14
+ CREATED_AT = "CREATED_AT",
15
+ DISCOUNTED_PRODUCTS = "DISCOUNTED_PRODUCTS",
16
+ PRICE_RANGE = "PRICE_RANGE",
17
+ PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
18
+ PRODUCT_BRAND = "PRODUCT_BRAND",
19
+ PRODUCT_TAG = "PRODUCT_TAG",
20
+ VARIANT_VALUE = "VARIANT_VALUE"
21
+ }
@@ -0,0 +1 @@
1
+ var T,A=function(T){this.conditionType=T.conditionType,this.valueList=T.valueList};!function(T){T.CAMPAIGN="CAMPAIGN",T.CATEGORY="CATEGORY",T.CREATED_AT="CREATED_AT",T.DISCOUNTED_PRODUCTS="DISCOUNTED_PRODUCTS",T.PRICE_RANGE="PRICE_RANGE",T.PRODUCT_ATTRIBUTE="PRODUCT_ATTRIBUTE",T.PRODUCT_BRAND="PRODUCT_BRAND",T.PRODUCT_TAG="PRODUCT_TAG",T.VARIANT_VALUE="VARIANT_VALUE"}(T||(T={}));export{T as IkasCategoryConditionTypeEnum,A as IkasCategoryConditions};
@@ -4,6 +4,7 @@ import { IkasBaseModel } from "../base";
4
4
  import { IkasCategoryPathItem } from "./path-item";
5
5
  import { IkasCategoryTranslation } from "./translations";
6
6
  import { IkasCategory as ICategory, IkasCategoryProductsOrderType } from "@ikas/storefront-models";
7
+ import { IkasCategoryConditions, IkasCategoryConditionValues } from "./conditions";
7
8
  export declare class IkasCategory extends IkasBaseModel implements ICategory {
8
9
  categoryPath: string[] | null;
9
10
  description: string | null;
@@ -13,8 +14,10 @@ export declare class IkasCategory extends IkasBaseModel implements ICategory {
13
14
  metaData: IkasHTMLMetaData | null;
14
15
  categoryPathItems: IkasCategoryPathItem[];
15
16
  orderType: IkasCategoryProductsOrderType | null;
17
+ conditions: IkasCategoryConditions[] | null;
16
18
  image?: IkasImage | null;
17
19
  translations?: IkasCategoryTranslation[] | null;
20
+ conditionValues: IkasCategoryConditionValues | null;
18
21
  constructor(data: ICategory);
19
22
  get href(): string;
20
23
  get path(): IkasCategoryPathItem[];
@@ -1 +1 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasImage as t}from"../image/index.js";import{IkasBaseModel as r}from"../base/index.js";import{IkasCategoryPathItem as n}from"./path-item/index.js";import{IkasCategoryTranslation as a}from"./translations/index.js";export{IkasCategoryProductsOrderType as IkasCategoryOrderType}from"@ikas/storefront-models";import{IkasCategoryFunctions as o}from"@ikas/storefront-model-functions";var i=function(r){function i(e){var o,i,l=this;return(l=r.call(this,e)||this).categoryPath=null,l.description=null,l.imageId=null,l.parentId=null,l.metaData=null,l.orderType=null,l.image=null,l.translations=null,l.categoryPath=e.categoryPath||null,l.description=e.description||null,l.imageId=e.imageId||null,l.name=e.name,l.parentId=e.parentId||null,l.metaData=e.metaData||null,l.categoryPathItems=(null===(o=e.categoryPathItems)||void 0===o?void 0:o.map((function(e){return new n(e)})))||[],l.orderType=e.orderType,l.image=e.image?new t(e.image):null,l.translations=(null===(i=e.translations)||void 0===i?void 0:i.map((function(e){return new a(e)})))||null,l}return e(i,r),Object.defineProperty(i.prototype,"href",{get:function(){return o.getIkasCategoryHref(this)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"path",{get:function(){return this.categoryPathItems},enumerable:!1,configurable:!0}),i}(r);export{i as IkasCategory};
1
+ import{__extends as t}from'./../../../ext/tslib/tslib.es6.js';import{IkasImage as n}from"../image/index.js";import{IkasBaseModel as e}from"../base/index.js";import{IkasCategoryPathItem as o}from"./path-item/index.js";import{IkasCategoryTranslation as r}from"./translations/index.js";export{IkasCategoryProductsOrderType as IkasCategoryOrderType}from"@ikas/storefront-models";import{IkasCategoryFunctions as i}from"@ikas/storefront-model-functions";import{IkasCategoryConditions as a}from"./conditions/index.js";var l=function(e){function l(t){var i,l,s=this;return(s=e.call(this,t)||this).categoryPath=null,s.description=null,s.imageId=null,s.parentId=null,s.metaData=null,s.orderType=null,s.conditions=null,s.image=null,s.translations=null,s.conditionValues=null,s.categoryPath=t.categoryPath||null,s.description=t.description||null,s.imageId=t.imageId||null,s.name=t.name,s.parentId=t.parentId||null,s.metaData=t.metaData||null,s.categoryPathItems=(null===(i=t.categoryPathItems)||void 0===i?void 0:i.map((function(t){return new o(t)})))||[],s.orderType=t.orderType,s.conditions=t.conditions?t.conditions.map((function(t){return new a(t)})):null,s.conditionValues=t.conditionValues||null,s.image=t.image?new n(t.image):null,s.translations=(null===(l=t.translations)||void 0===l?void 0:l.map((function(t){return new r(t)})))||null,s}return t(l,e),Object.defineProperty(l.prototype,"href",{get:function(){return i.getIkasCategoryHref(this)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){var t=new o(this);return this.categoryPathItems.concat(t)},enumerable:!1,configurable:!0}),l}(e);export{l as IkasCategory};
@@ -2,7 +2,7 @@ import { IkasCart } from "../cart";
2
2
  import { IkasCheckout as ICheckout } from "@ikas/storefront-models";
3
3
  import { IkasPaymentGateway } from "../payment-gateway";
4
4
  import IkasLocalizedOrderAddress from "../order/address/ikas-localized-order-address";
5
- import CountrySettingsModel from "./country-settings-model";
5
+ import { LocalizedAddressModel } from "@ikas/localized-address";
6
6
  declare type IkasCheckoutConstructorData = {
7
7
  appliedCouponCode?: string | null;
8
8
  selectedPaymentGateway?: IkasPaymentGateway | null;
@@ -14,7 +14,7 @@ export declare class IkasCheckout extends IkasCart implements ICheckout {
14
14
  masterPassPaymentGateway?: IkasPaymentGateway | null;
15
15
  billingAddress: IkasLocalizedOrderAddress | null;
16
16
  shippingAddress: IkasLocalizedOrderAddress | null;
17
- constructor(data: Partial<IkasCheckoutConstructorData>, countrySettings?: CountrySettingsModel);
17
+ constructor(data: Partial<IkasCheckoutConstructorData>, countrySettings?: LocalizedAddressModel);
18
18
  get isComplete(): boolean;
19
19
  get $totalFinalPrice(): number;
20
20
  get $totalFinalPriceTaxModifier(): number;
@@ -1,4 +1,4 @@
1
- import { IkasCheckoutSettings as ICheckoutSettings, IkasCheckoutRequirement } from "@ikas/storefront-models";
1
+ import { IkasCheckoutSettings as ICheckoutSettings, IkasCheckoutRequirement, IkasCouponCodeRequirement } from "@ikas/storefront-models";
2
2
  import { IkasBaseModel } from "../base";
3
3
  import { IkasCheckoutOption } from "./option";
4
4
  import { IkasCheckoutSettingsPrice } from "./price";
@@ -13,6 +13,7 @@ export declare class IkasCheckoutSettings extends IkasBaseModel implements IChec
13
13
  options: IkasCheckoutOption[] | null;
14
14
  phoneRequirement: IkasCheckoutRequirement;
15
15
  postalCodeRequirement: IkasCheckoutRequirement | null;
16
+ couponCodeRequirement: IkasCouponCodeRequirement | null;
16
17
  showCheckoutNote: boolean | null;
17
18
  showTermsAndConditionsCheckbox: boolean;
18
19
  storefrontId: string;
@@ -1 +1 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as i}from"../base/index.js";import{IkasCheckoutOption as o}from"./option/index.js";import{IkasCheckoutSettingsPrice as t}from"./price/index.js";var n=function(i){function n(e){var n,s,r=this;return(r=i.call(this,e)||this).giftPackagePriceList=null,r.identityNumberRequirement=null,r.isGiftPackageEnabled=null,r.isShowPostalCode=null,r.isTermsAndConditionsDefaultChecked=null,r.options=null,r.postalCodeRequirement=null,r.showCheckoutNote=null,r.giftPackagePriceList=(null===(n=e.giftPackagePriceList)||void 0===n?void 0:n.map((function(e){return new t(e)})))||null,r.identityNumberRequirement=e.identityNumberRequirement,r.isAccountRequired=e.isAccountRequired,r.isGiftPackageEnabled=e.isGiftPackageEnabled,r.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,r.isShowPostalCode=e.isShowPostalCode,r.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,r.options=(null===(s=e.options)||void 0===s?void 0:s.map((function(e){return new o(e)})))||null,r.phoneRequirement=e.phoneRequirement,r.postalCodeRequirement=e.postalCodeRequirement||null,r.showCheckoutNote=e.showCheckoutNote||null,r.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,r.storefrontId=e.storefrontId,r}return e(n,i),n}(i);export{n as IkasCheckoutSettings};
1
+ import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCouponCodeRequirement as o}from"@ikas/storefront-models";export{IkasCheckoutRequirement}from"@ikas/storefront-models";import{IkasBaseModel as i}from"../base/index.js";import{IkasCheckoutOption as t}from"./option/index.js";import{IkasCheckoutSettingsPrice as n}from"./price/index.js";var s=function(i){function s(e){var s,r,u=this;return(u=i.call(this,e)||this).giftPackagePriceList=null,u.identityNumberRequirement=null,u.isGiftPackageEnabled=null,u.isShowPostalCode=null,u.isTermsAndConditionsDefaultChecked=null,u.options=null,u.postalCodeRequirement=null,u.couponCodeRequirement=null,u.showCheckoutNote=null,u.giftPackagePriceList=(null===(s=e.giftPackagePriceList)||void 0===s?void 0:s.map((function(e){return new n(e)})))||null,u.identityNumberRequirement=e.identityNumberRequirement,u.isAccountRequired=e.isAccountRequired,u.isGiftPackageEnabled=e.isGiftPackageEnabled,u.isQuickRegistrationEnabled=e.isQuickRegistrationEnabled,u.isShowPostalCode=e.isShowPostalCode,u.isTermsAndConditionsDefaultChecked=e.isTermsAndConditionsDefaultChecked,u.options=(null===(r=e.options)||void 0===r?void 0:r.map((function(e){return new t(e)})))||null,u.phoneRequirement=e.phoneRequirement,u.postalCodeRequirement=e.postalCodeRequirement||null,u.couponCodeRequirement=e.couponCodeRequirement||o.DEFAULT,u.showCheckoutNote=e.showCheckoutNote||null,u.showTermsAndConditionsCheckbox=e.showTermsAndConditionsCheckbox,u.storefrontId=e.storefrontId,u}return e(s,i),s}(i);export{s as IkasCheckoutSettings};
@@ -1,7 +1,8 @@
1
1
  import { IkasCheckoutSettingsPrice as ICheckoutSettingsPrice } from "@ikas/storefront-models";
2
2
  export declare class IkasCheckoutSettingsPrice implements ICheckoutSettingsPrice {
3
- currencyCode: string;
3
+ currencyCode: string | null;
4
4
  currencySymbol: string | null;
5
5
  price: number;
6
+ priceListId: string | null;
6
7
  constructor(data: ICheckoutSettingsPrice);
7
8
  }
@@ -1 +1 @@
1
- var r=function(r){this.currencyCode=r.currencyCode,this.currencySymbol=r.currencySymbol||null,this.price=r.price};export{r as IkasCheckoutSettingsPrice};
1
+ var r=function(r){this.currencyCode=r.currencyCode||null,this.currencySymbol=r.currencySymbol||null,this.price=r.price,this.priceListId=r.priceListId||null};export{r as IkasCheckoutSettingsPrice};
@@ -5,5 +5,6 @@ export declare class IkasContactForm implements IContactForm {
5
5
  lastName: string;
6
6
  message: string;
7
7
  referer: string;
8
+ phone?: string | null;
8
9
  constructor(data: IContactForm);
9
10
  }
@@ -1 +1 @@
1
- import{makeAutoObservable as e}from"mobx";var s=function(s){this.email=s.email,this.firstName=s.firstName,this.lastName=s.lastName,this.message=s.message,this.referer=s.referer,e(this)};export{s as IkasContactForm};
1
+ import{makeAutoObservable as e}from"mobx";var s=function(s){this.email=s.email,this.firstName=s.firstName,this.lastName=s.lastName,this.message=s.message,this.referer=s.referer,this.phone=s.phone,e(this)};export{s as IkasContactForm};
@@ -1,17 +1,16 @@
1
1
  import { IkasCustomerAddress } from ".";
2
2
  import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
3
- import CountrySettingsModel, { AddressFormField, ErrorType, IkasAddressFormLabels } from "../../checkout/country-settings-model";
3
+ import { LocalizedAddressModel, AddressFormField, ErrorType, IkasAddressFormLabels, AddressFormItem } from "@ikas/localized-address";
4
4
  declare type IkasLocalizedCustomerAddressConstructorData = {
5
- countrySettings?: CountrySettingsModel | null;
5
+ countrySettings?: LocalizedAddressModel | null;
6
6
  } & ICustomerAddress;
7
7
  export declare class IkasLocalizedCustomerAddress extends IkasCustomerAddress {
8
- countrySettings: CountrySettingsModel | null;
8
+ countrySettings: LocalizedAddressModel | null;
9
9
  constructor(data?: Partial<IkasLocalizedCustomerAddressConstructorData>);
10
10
  get fieldSettings(): {
11
11
  firstName: AddressFormField;
12
12
  lastName: AddressFormField;
13
13
  identityNumber: AddressFormField;
14
- phone: AddressFormField;
15
14
  addressLine1: AddressFormField;
16
15
  addressLine2: AddressFormField;
17
16
  postalCode: AddressFormField;
@@ -19,32 +18,47 @@ export declare class IkasLocalizedCustomerAddress extends IkasCustomerAddress {
19
18
  state: AddressFormField;
20
19
  city: AddressFormField;
21
20
  district: AddressFormField;
22
- company?: AddressFormField | undefined;
23
- taxOffice?: AddressFormField | undefined;
24
- taxNumber?: AddressFormField | undefined;
21
+ region: AddressFormField;
22
+ phone: AddressFormField;
23
+ company: AddressFormField;
24
+ taxOffice: AddressFormField;
25
+ taxNumber: AddressFormField;
25
26
  title: AddressFormField;
26
27
  } | undefined;
27
- get addressFormat(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
28
- get addressFormatIgnoreCountry(): import("../../checkout/country-settings-model").AddressFormItem[][] | undefined;
29
- get billingFormat(): import("../../checkout/country-settings-model").BillingAddressFormItem[][] | undefined;
28
+ get addressFormat(): AddressFormItem[][] | undefined;
29
+ get addressFormatIgnoreCountry(): AddressFormItem[][] | undefined;
30
+ get billingFormat(): import("@ikas/localized-address").BillingFormItem[][] | undefined;
30
31
  get countryCode(): string;
31
32
  get validationResults(): {
32
33
  firstName: ErrorType;
33
34
  lastName: ErrorType;
35
+ identityNumber: ErrorType;
34
36
  addressLine1: ErrorType;
35
37
  addressLine2: ErrorType;
38
+ postalCode: ErrorType;
36
39
  country: ErrorType;
37
40
  state: ErrorType;
38
41
  city: ErrorType;
39
42
  district: ErrorType;
43
+ region: ErrorType;
40
44
  phone: ErrorType;
41
- postalCode: ErrorType;
42
- identityNumber: ErrorType;
45
+ company: ErrorType;
46
+ taxOffice: ErrorType;
47
+ taxNumber: ErrorType;
43
48
  title: ErrorType;
44
49
  } | undefined;
45
50
  get isValidAddress(): boolean | undefined;
46
51
  get fieldLabels(): IkasAddressFormLabels | undefined;
47
52
  get isFreeTextCity(): boolean | undefined;
48
53
  get isFreeTextDistrict(): boolean | undefined;
54
+ private get shippingZone();
55
+ private get shippingZoneState();
56
+ private get shippingZoneCity();
57
+ private get shippingZoneDistrict();
58
+ private get shippingZoneRegion();
59
+ private get isRequiredRegion();
60
+ private get invisibleFields();
61
+ private get customAddressFormSettings();
62
+ private getValidatedCustomerAddress;
49
63
  }
50
64
  export {};
@@ -1 +1 @@
1
- import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{makeObservable as i,observable as r}from"mobx";import{IkasCustomerAddress as n}from"./index.js";var o=function(n){function o(t){void 0===t&&(t={});var e=n.call(this,t)||this;return e.countrySettings=t.countrySettings||null,i(e,{countrySettings:r}),e}return t(o,n),Object.defineProperty(o.prototype,"fieldSettings",{get:function(){if(this.countrySettings){var t=this.countrySettings.getFieldSettings(this.countryCode);if(t)return e({title:{required:!0}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"addressFormatIgnoreCountry",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormatIgnoreCountry(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"billingFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getBillingFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"countryCode",{get:function(){var t;return(null===(t=this.country)||void 0===t?void 0:t.iso2)||"TR"},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"validationResults",{get:function(){if(this.countrySettings){var t=this.countrySettings.getValidationResult(this);if(t)return e({title:{hasError:!this.title,isInvalid:!1,isEmpty:!this.title}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isValidAddress",{get:function(){if(this.countrySettings)return!!this.title&&this.countrySettings.isValidAddress(this)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"fieldLabels",{get:function(){if(this.countrySettings)return this.countrySettings.getFieldLabels(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextCity",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextCity(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"isFreeTextDistrict",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextDistrict(this.countryCode)},enumerable:!1,configurable:!0}),o}(n);export{o as IkasLocalizedCustomerAddress};
1
+ import{__extends as t,__assign as i}from'./../../../../ext/tslib/tslib.es6.js';import{makeObservable as e,observable as n}from"mobx";import{IkasCustomerAddress as o}from"./index.js";import{IkasCheckoutRequirement as r}from"@ikas/storefront-models";import{AddressFormItem as s}from"@ikas/localized-address";var u=function(o){function u(t){void 0===t&&(t={});var i=o.call(this,t)||this;return i.countrySettings=t.countrySettings||null,e(i,{countrySettings:n}),i}return t(u,o),Object.defineProperty(u.prototype,"fieldSettings",{get:function(){if(this.countrySettings){var t=this.countrySettings.getFieldSettings({country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings});if(t)return i({title:{required:!0}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"addressFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormat(this.countryCode,this.invisibleFields)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"addressFormatIgnoreCountry",{get:function(){if(this.countrySettings)return this.countrySettings.getAddressFormatIgnoreCountry(this.countryCode,this.invisibleFields)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"billingFormat",{get:function(){if(this.countrySettings)return this.countrySettings.getBillingFormat(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"countryCode",{get:function(){var t;return(null===(t=this.country)||void 0===t?void 0:t.iso2)||"TR"},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"validationResults",{get:function(){if(this.countrySettings){var t=this.countrySettings.getValidationResult({address:d(this),country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings});if(t)return i({title:{hasError:!this.title,isInvalid:!1,isEmpty:!this.title}},t)}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isValidAddress",{get:function(){if(this.countrySettings)return!!this.title&&this.countrySettings.isValidAddress({address:d(this),country:this.countryCode,invisibleAddressFields:this.invisibleFields,customAddressFormSettings:this.customAddressFormSettings})},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"fieldLabels",{get:function(){if(this.countrySettings)return this.countrySettings.getFieldLabels(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isFreeTextCity",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextCity(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isFreeTextDistrict",{get:function(){if(this.countrySettings)return this.countrySettings.isFreeTextDistrict(this.countryCode)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"shippingZone",{get:function(){var t,i=this;return null===(t=this.shippingZones)||void 0===t?void 0:t.find((function(t){var e;return t.countryId===(null===(e=i.country)||void 0===e?void 0:e.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"shippingZoneState",{get:function(){var t,i,e=this;return null===(i=null===(t=this.shippingZone)||void 0===t?void 0:t.states)||void 0===i?void 0:i.find((function(t){var i;return t.id===(null===(i=e.state)||void 0===i?void 0:i.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"shippingZoneCity",{get:function(){var t,i,e=this;return null===(i=null===(t=this.shippingZoneState)||void 0===t?void 0:t.cities)||void 0===i?void 0:i.find((function(t){var i;return t.id===(null===(i=e.city)||void 0===i?void 0:i.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"shippingZoneDistrict",{get:function(){var t,i,e=this;return null===(i=null===(t=this.shippingZoneCity)||void 0===t?void 0:t.districts)||void 0===i?void 0:i.find((function(t){var i;return t.id===(null===(i=e.district)||void 0===i?void 0:i.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"shippingZoneRegion",{get:function(){var t,i,e=this;return null===(i=null===(t=this.shippingZoneDistrict)||void 0===t?void 0:t.regions)||void 0===i?void 0:i.find((function(t){var i;return t.id===(null===(i=e.region)||void 0===i?void 0:i.id)}))},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"isRequiredRegion",{get:function(){var t,i;return!!this.district&&(null===(i=null===(t=this.shippingZoneDistrict)||void 0===t?void 0:t.regions)||void 0===i?void 0:i.length)},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"invisibleFields",{get:function(){if(this.checkoutSettings){var t=[];return this.checkoutSettings.identityNumberRequirement===r.INVISIBLE&&t.push(s.IDENTITY_NUMBER),this.checkoutSettings.postalCodeRequirement===r.INVISIBLE&&t.push(s.POSTAL_CODE),this.checkoutSettings.phoneRequirement===r.INVISIBLE&&t.push(s.PHONE),this.isRequiredRegion||t.push(s.REGION),t}},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"customAddressFormSettings",{get:function(){if(this.checkoutSettings){var t={};return this.checkoutSettings.phoneRequirement&&(t.phone={required:this.checkoutSettings.phoneRequirement===r.MANDATORY}),this.checkoutSettings.postalCodeRequirement&&(t.postalCode={required:this.checkoutSettings.postalCodeRequirement===r.MANDATORY}),this.checkoutSettings.identityNumberRequirement&&(t.identityNumber={required:this.checkoutSettings.identityNumberRequirement===r.MANDATORY}),this.isRequiredRegion&&(t.region={required:!0}),t}},enumerable:!1,configurable:!0}),u.prototype.getValidatedCustomerAddress=function(){var t,i,e,n,o,r,s;(null===(t=this.shippingZones)||void 0===t?void 0:t.length)&&(this.shippingZone||(this.country=null,this.state=null,this.city=null,this.district=null,this.region=null),this.shippingZoneState||void 0===(null===(i=this.shippingZone)||void 0===i?void 0:i.showAllStates)||(null===(e=this.shippingZone)||void 0===e?void 0:e.showAllStates)||(this.state=null,this.city=null,this.district=null,this.region=null),this.shippingZoneCity||void 0===(null===(n=this.shippingZoneState)||void 0===n?void 0:n.showAllCities)||(null===(o=this.shippingZoneState)||void 0===o?void 0:o.showAllCities)||(this.city=null,this.district=null,this.region=null),this.shippingZoneDistrict||void 0===(null===(r=this.shippingZoneCity)||void 0===r?void 0:r.showAllDistricts)||(null===(s=this.shippingZoneCity)||void 0===s?void 0:s.showAllDistricts)||(this.district=null,this.region=null),this.shippingZoneRegion||(this.region=null))},u}(o),d=function(t){var i,e,n,o,r;return{firstName:t.firstName||"",lastName:t.lastName||"",identityNumber:t.identityNumber||"",addressLine1:t.addressLine1||"",addressLine2:t.addressLine2||"",postalCode:t.postalCode||"",country:(null===(i=t.country)||void 0===i?void 0:i.name)||"",state:(null===(e=t.state)||void 0===e?void 0:e.name)||"",city:(null===(n=t.city)||void 0===n?void 0:n.name)||"",district:(null===(o=t.district)||void 0===o?void 0:o.name)||"",region:(null===(r=t.region)||void 0===r?void 0:r.name)||"",phone:t.phone||"",company:t.company||"",taxOffice:t.taxOffice||"",taxNumber:t.taxNumber||""}};export{u as IkasLocalizedCustomerAddress};
@@ -2,13 +2,16 @@ import { IkasCustomerAddressFunctions } from "@ikas/storefront-model-functions";
2
2
  import { IkasCustomerAddress as ICustomerAddress } from "@ikas/storefront-models";
3
3
  import { IkasBaseModel } from "../../base";
4
4
  import { IkasCheckoutSettings } from "../../checkout-settings";
5
+ import { IkasShippingZone } from "../../shipping-zone";
5
6
  import { IkasCustomerAttributeValue } from "../attribute/value";
6
7
  import { IkasCustomerAddressCity } from "./city";
7
8
  import { IkasCustomerAddressCountry } from "./country";
8
9
  import { IkasCustomerAddressDistrict } from "./district";
10
+ import { IkasCustomerAddressRegion } from "./region";
9
11
  import { IkasCustomerAddressState } from "./state";
10
12
  declare type IkasCustomerAddressConstructorData = {
11
13
  checkoutSettings?: IkasCheckoutSettings | null;
14
+ shippingZones?: IkasShippingZone[] | null;
12
15
  isDistrictRequired?: boolean;
13
16
  } & ICustomerAddress;
14
17
  export declare class IkasCustomerAddress extends IkasBaseModel implements ICustomerAddress {
@@ -29,7 +32,9 @@ export declare class IkasCustomerAddress extends IkasBaseModel implements ICusto
29
32
  state: IkasCustomerAddressState | null;
30
33
  city: IkasCustomerAddressCity | null;
31
34
  district: IkasCustomerAddressDistrict | null;
35
+ region: IkasCustomerAddressRegion | null;
32
36
  checkoutSettings?: IkasCheckoutSettings | null;
37
+ shippingZones?: IkasShippingZone[] | null;
33
38
  isDistrictRequired?: boolean;
34
39
  constructor(data?: Partial<IkasCustomerAddressConstructorData>);
35
40
  get addressText(): string;
@@ -1 +1 @@
1
- import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddressFunctions as i}from"@ikas/storefront-model-functions";import{makeObservable as n,observable as s,computed as r}from"mobx";import{IkasBaseModel as l}from"../../base/index.js";import{IkasCheckoutSettings as u}from"../../checkout-settings/index.js";import{IkasCustomerAttributeValue as o}from"../attribute/value/index.js";var d=function(l){function d(t){void 0===t&&(t={});var e,i,d=this;return(d=l.call(this,{id:t.id||"",createdAt:t.createdAt||Date.now(),updatedAt:t.updatedAt||Date.now(),deleted:null!==(e=t.deleted)&&void 0!==e&&e})||this).addressLine2=null,d.company=null,d.identityNumber=null,d.phone=null,d.postalCode=null,d.taxNumber=null,d.taxOffice=null,d.country=null,d.state=null,d.city=null,d.district=null,d.checkoutSettings=null,d.addressLine1=t.addressLine1||"",d.addressLine2=t.addressLine2||null,d.company=t.company||null,d.firstName=t.firstName||"",d.id=t.id||"",d.identityNumber=t.identityNumber||null,d.isDefault=t.isDefault||!1,d.lastName=t.lastName||"",d.phone=t.phone||null,d.postalCode=t.postalCode||null,d.taxNumber=t.taxNumber||null,d.taxOffice=t.taxOffice||null,d.title=t.title||"",d.attributes=(null===(i=t.attributes)||void 0===i?void 0:i.map((function(t){return new o(t)})))||null,d.country=t.country||null,d.state=t.state||null,d.city=t.city||null,d.district=t.district||null,d.checkoutSettings=t.checkoutSettings?new u(t.checkoutSettings):null,d.isDistrictRequired=t.isDistrictRequired||!1,n(d,{addressLine1:s,addressLine2:s,attributes:s,city:s,company:s,country:s,district:s,firstName:s,identityNumber:s,isDefault:s,lastName:s,phone:s,postalCode:s,state:s,taxNumber:s,taxOffice:s,title:s,checkoutSettings:s,isDistrictRequired:s,addressText:r,validationResult:r,isValid:r}),d}return t(d,l),Object.defineProperty(d.prototype,"addressText",{get:function(){return i.getAddressText(this)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"validationResult",{get:function(){if(this.checkoutSettings)return i.getValidationResult(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),Object.defineProperty(d.prototype,"isValid",{get:function(){return!!this.checkoutSettings&&i.isValidAddress(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),d.prototype.toJSON=function(){var t=e({},this);return delete t.checkoutSettings,delete t.isDistrictRequired,t},d}(l);export{d as IkasCustomerAddress};
1
+ import{__extends as t,__assign as e}from'./../../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddressFunctions as i}from"@ikas/storefront-model-functions";import{makeObservable as n,observable as s,computed as r}from"mobx";import{IkasBaseModel as l}from"../../base/index.js";import{IkasCheckoutSettings as u}from"../../checkout-settings/index.js";import{IkasShippingZone as o}from"../../shipping-zone/index.js";import{IkasCustomerAttributeValue as d}from"../attribute/value/index.js";var a=function(l){function a(t){void 0===t&&(t={});var e,i,a=this;return(a=l.call(this,{id:t.id||"",createdAt:t.createdAt||Date.now(),updatedAt:t.updatedAt||Date.now(),deleted:null!==(e=t.deleted)&&void 0!==e&&e})||this).addressLine2=null,a.company=null,a.identityNumber=null,a.phone=null,a.postalCode=null,a.taxNumber=null,a.taxOffice=null,a.country=null,a.state=null,a.city=null,a.district=null,a.region=null,a.checkoutSettings=null,a.shippingZones=null,a.addressLine1=t.addressLine1||"",a.addressLine2=t.addressLine2||null,a.company=t.company||null,a.firstName=t.firstName||"",a.id=t.id||"",a.identityNumber=t.identityNumber||null,a.isDefault=t.isDefault||!1,a.lastName=t.lastName||"",a.phone=t.phone||null,a.postalCode=t.postalCode||null,a.taxNumber=t.taxNumber||null,a.taxOffice=t.taxOffice||null,a.title=t.title||"",a.attributes=(null===(i=t.attributes)||void 0===i?void 0:i.map((function(t){return new d(t)})))||null,a.country=t.country||null,a.state=t.state||null,a.city=t.city||null,a.district=t.district||null,a.region=t.region||null,a.checkoutSettings=t.checkoutSettings?new u(t.checkoutSettings):null,a.shippingZones=t.shippingZones?t.shippingZones.map((function(t){return new o(t)})):null,a.isDistrictRequired=t.isDistrictRequired||!1,n(a,{addressLine1:s,addressLine2:s,attributes:s,city:s,company:s,country:s,district:s,region:s,firstName:s,identityNumber:s,isDefault:s,lastName:s,phone:s,postalCode:s,state:s,taxNumber:s,taxOffice:s,title:s,checkoutSettings:s,isDistrictRequired:s,addressText:r,validationResult:r,isValid:r}),a}return t(a,l),Object.defineProperty(a.prototype,"addressText",{get:function(){return i.getAddressText(this)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"validationResult",{get:function(){if(this.checkoutSettings)return i.getValidationResult(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isValid",{get:function(){return!!this.checkoutSettings&&i.isValidAddress(this,this.checkoutSettings,this.isDistrictRequired||!1)},enumerable:!1,configurable:!0}),a.prototype.toJSON=function(){var t=e({},this);return delete t.checkoutSettings,delete t.shippingZones,delete t.isDistrictRequired,t},a}(l);export{a as IkasCustomerAddress};
@@ -0,0 +1,6 @@
1
+ import { IkasCustomerAddressRegion as ICustomerAddressRegion } from "@ikas/storefront-models";
2
+ import { IkasBaseModel } from "../../../base";
3
+ export declare class IkasCustomerAddressRegion extends IkasBaseModel implements ICustomerAddressRegion {
4
+ name: string;
5
+ constructor(data: Partial<ICustomerAddressRegion>);
6
+ }
@@ -0,0 +1 @@
1
+ import{__extends as r}from'./../../../../../ext/tslib/tslib.es6.js';import{makeObservable as o,observable as t}from"mobx";import{IkasBaseModel as e}from"../../../base/index.js";var m=function(e){function m(r){var m=e.call(this,r)||this;return m.name=r.name||"",o(m,{name:t}),m}return r(m,e),m}(e);export{m as IkasCustomerAddressRegion};
@@ -2,6 +2,7 @@ import { IkasCustomerAddress } from "./address";
2
2
  import { IkasCustomerAttributeValue } from "./attribute/value";
3
3
  import { IkasBaseModel } from "../base";
4
4
  import { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, IkasCustomer as ICustomer } from "@ikas/storefront-models";
5
+ import { IkasCustomerPriceListRule } from "./price-list-rule";
5
6
  export declare class IkasCustomer extends IkasBaseModel implements ICustomer {
6
7
  accountStatusUpdatedAt: number | null;
7
8
  customerGroupIds: string[] | null;
@@ -20,6 +21,8 @@ export declare class IkasCustomer extends IkasBaseModel implements ICustomer {
20
21
  phoneVerifiedDate: number | null;
21
22
  subscriptionStatusUpdatedAt: number | null;
22
23
  tagIds: string[] | null;
24
+ priceListId: string | null;
25
+ priceListRules: IkasCustomerPriceListRule[] | null;
23
26
  registrationSource: IkasCustomerRegistrationSource | null;
24
27
  accountStatus: IkasCustomerAccountStatus | null;
25
28
  addresses: IkasCustomerAddress[] | null;
@@ -33,6 +36,10 @@ export declare class IkasCustomer extends IkasBaseModel implements ICustomer {
33
36
  lastName: string | null;
34
37
  email: string | null;
35
38
  phone: string | null;
39
+ isEmailVerified: boolean | null;
40
+ isPhoneVerified: boolean | null;
41
+ orderCount: number | null;
42
+ subscriptionStatus: IkasCustomerEmailSubscriptionStatus | null;
36
43
  };
37
44
  }
38
45
  export { IkasCustomerAccountStatus, IkasCustomerEmailSubscriptionStatus, IkasCustomerRegistrationSource, };
@@ -1 +1 @@
1
- import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddress as t}from"./address/index.js";import{IkasCustomerAttributeValue as i}from"./attribute/value/index.js";import{IkasBaseModel as r}from"../base/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"@ikas/storefront-models";import{makeObservable as s,observable as u,computed as o}from"mobx";import{IkasCustomerFunctions as n}from"@ikas/storefront-model-functions";var a=function(r){function a(e){var n=r.call(this,e)||this;return n.accountStatus=e.accountStatus||null,n.accountStatusUpdatedAt=e.accountStatusUpdatedAt||null,n.addresses=e.addresses?e.addresses.map((function(e){return new t(e)})):null,n.attributes=e.attributes?e.attributes.map((function(e){return new i(e)})):null,n.customerGroupIds=e.customerGroupIds||null,n.customerSequence=void 0!==e.customerSequence&&null!==e.customerSequence?e.customerSequence:null,n.email=e.email||null,n.emailVerifiedDate=e.emailVerifiedDate||null,n.firstName=e.firstName||"",n.fullName=e.fullName||null,n.isEmailVerified=void 0!==e.isEmailVerified&&null!==e.isEmailVerified?e.isEmailVerified:null,n.isPhoneVerified=void 0!==e.isPhoneVerified&&null!==e.isPhoneVerified?e.isPhoneVerified:null,n.lastName=e.lastName||null,n.note=e.note||null,n.orderCount=void 0!==e.orderCount&&null!==e.orderCount?e.orderCount:null,n.passwordUpdateDate=e.passwordUpdateDate||null,n.phone=e.phone||null,n.phoneVerifiedDate=e.phoneVerifiedDate||null,n.registrationSource=e.registrationSource||null,n.subscriptionStatus=e.subscriptionStatus||null,n.subscriptionStatusUpdatedAt=e.subscriptionStatusUpdatedAt||null,n.tagIds=e.tagIds||null,s(n,{accountStatus:u,accountStatusUpdatedAt:u,addresses:u,attributes:u,customerGroupIds:u,customerSequence:u,email:u,emailVerifiedDate:u,firstName:u,fullName:u,isEmailVerified:u,isPhoneVerified:u,lastName:u,note:u,orderCount:u,passwordUpdateDate:u,phone:u,phoneVerifiedDate:u,registrationSource:u,subscriptionStatus:u,subscriptionStatusUpdatedAt:u,tagIds:u,isSubscribed:o,basicInfo:o}),n}return e(a,r),Object.defineProperty(a.prototype,"isSubscribed",{get:function(){return n.isSubscribed(this)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"basicInfo",{get:function(){return n.getBasicInfo(this)},enumerable:!1,configurable:!0}),a}(r);export{a as IkasCustomer};
1
+ import{__extends as e}from'./../../../ext/tslib/tslib.es6.js';import{IkasCustomerAddress as t}from"./address/index.js";import{IkasCustomerAttributeValue as i}from"./attribute/value/index.js";import{IkasBaseModel as r}from"../base/index.js";export{IkasCustomerAccountStatus,IkasCustomerEmailSubscriptionStatus,IkasCustomerRegistrationSource}from"@ikas/storefront-models";import{makeObservable as s,observable as u,computed as o}from"mobx";import{IkasCustomerFunctions as n}from"@ikas/storefront-model-functions";import{IkasCustomerPriceListRule as a}from"./price-list-rule/index.js";var l=function(r){function l(e){var n=r.call(this,e)||this;return n.accountStatus=e.accountStatus||null,n.accountStatusUpdatedAt=e.accountStatusUpdatedAt||null,n.addresses=e.addresses?e.addresses.map((function(e){return new t(e)})):null,n.attributes=e.attributes?e.attributes.map((function(e){return new i(e)})):null,n.customerGroupIds=e.customerGroupIds||null,n.customerSequence=void 0!==e.customerSequence&&null!==e.customerSequence?e.customerSequence:null,n.email=e.email||null,n.emailVerifiedDate=e.emailVerifiedDate||null,n.firstName=e.firstName||"",n.fullName=e.fullName||null,n.isEmailVerified=void 0!==e.isEmailVerified&&null!==e.isEmailVerified?e.isEmailVerified:null,n.isPhoneVerified=void 0!==e.isPhoneVerified&&null!==e.isPhoneVerified?e.isPhoneVerified:null,n.lastName=e.lastName||null,n.note=e.note||null,n.orderCount=void 0!==e.orderCount&&null!==e.orderCount?e.orderCount:null,n.passwordUpdateDate=e.passwordUpdateDate||null,n.phone=e.phone||null,n.phoneVerifiedDate=e.phoneVerifiedDate||null,n.registrationSource=e.registrationSource||null,n.subscriptionStatus=e.subscriptionStatus||null,n.subscriptionStatusUpdatedAt=e.subscriptionStatusUpdatedAt||null,n.tagIds=e.tagIds||null,n.priceListId=e.priceListId||null,n.priceListRules=e.priceListRules?e.priceListRules.map((function(e){return new a(e)})):null,s(n,{accountStatus:u,accountStatusUpdatedAt:u,addresses:u,attributes:u,customerGroupIds:u,customerSequence:u,email:u,emailVerifiedDate:u,firstName:u,fullName:u,isEmailVerified:u,isPhoneVerified:u,lastName:u,note:u,orderCount:u,passwordUpdateDate:u,phone:u,phoneVerifiedDate:u,registrationSource:u,subscriptionStatus:u,subscriptionStatusUpdatedAt:u,tagIds:u,isSubscribed:o,basicInfo:o}),n}return e(l,r),Object.defineProperty(l.prototype,"isSubscribed",{get:function(){return n.isSubscribed(this)},enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype,"basicInfo",{get:function(){return n.getBasicInfo(this)},enumerable:!1,configurable:!0}),l}(r);export{l as IkasCustomer};
@@ -0,0 +1,7 @@
1
+ import { IkasCustomerPriceListRuleFilter as ICustomerPriceListRuleFilter, IkasCustomerPriceListRuleFilterType } from "@ikas/storefront-models";
2
+ export declare class IkasCustomerPriceListRuleFilter implements ICustomerPriceListRuleFilter {
3
+ type: IkasCustomerPriceListRuleFilterType;
4
+ valueList: string[];
5
+ constructor(data: ICustomerPriceListRuleFilter);
6
+ }
7
+ export { IkasCustomerPriceListRuleFilterType };
@@ -0,0 +1 @@
1
+ export{IkasCustomerPriceListRuleFilterType}from"@ikas/storefront-models";var t=function(t){this.type=t.type,this.valueList=t.valueList};export{t as IkasCustomerPriceListRuleFilter};
@@ -0,0 +1,10 @@
1
+ import { IkasCustomerPriceListRuleFilter } from "./filter";
2
+ import { IkasCustomerPriceListRule as ICustomerPriceListRule, IkasCustomerPriceListRuleValueType } from "@ikas/storefront-models";
3
+ export declare class IkasCustomerPriceListRule implements ICustomerPriceListRule {
4
+ filters: IkasCustomerPriceListRuleFilter[] | null;
5
+ shouldMatchAllFilters: boolean | null;
6
+ value: number;
7
+ valueType: IkasCustomerPriceListRuleValueType;
8
+ constructor(data: ICustomerPriceListRule);
9
+ }
10
+ export { IkasCustomerPriceListRuleValueType };
@@ -0,0 +1 @@
1
+ import{IkasCustomerPriceListRuleFilter as e}from"./filter/index.js";export{IkasCustomerPriceListRuleValueType}from"@ikas/storefront-models";var t=function(t){this.filters=t.filters?t.filters.map((function(t){return new e(t)})):null,this.shouldMatchAllFilters=t.shouldMatchAllFilters,this.value=t.value,this.valueType=t.valueType};export{t as IkasCustomerPriceListRule};
@@ -12,6 +12,7 @@ export declare class IkasCustomerReview extends IkasBaseModel implements ICustom
12
12
  orderId: string | null;
13
13
  orderNumber: string | null;
14
14
  productId: string;
15
+ reply: string | null;
15
16
  salesChannelId: string | null;
16
17
  star: number;
17
18
  status: IkasCustomerReviewStatus | null;
@@ -1 +1 @@
1
- import{__extends as l}from'./../../../../ext/tslib/tslib.es6.js';export{IkasCustomerReviewStatus}from"@ikas/storefront-models";import{makeObservable as e,observable as t}from"mobx";import{IkasBaseModel as r}from"../../base/index.js";import{IkasImage as n}from"../../image/index.js";import{IkasProduct as s}from"../../product/index.js";var o=function(r){function o(l){var o,u=this;return(u=r.call(this,l)||this).comment=null,u.customerId=null,u.email=null,u.firstName=null,u.imageIds=null,u.lastName=null,u.orderId=null,u.orderNumber=null,u.salesChannelId=null,u.status=null,u.storefrontId=null,u.title=null,u.product=null,u.comment=l.comment||null,u.customerId=l.customerId||null,u.email=l.email||null,u.firstName=l.firstName||null,u.imageIds=l.imageIds||null,u.lastName=l.lastName||null,u.orderId=l.orderId||null,u.orderNumber=l.orderNumber||null,u.productId=l.productId||"",u.salesChannelId=l.salesChannelId||null,u.star=l.star||0,u.status=l.status||null,u.storefrontId=l.storefrontId||null,u.title=l.title||null,u.images=(null===(o=l.images)||void 0===o?void 0:o.map((function(l){return new n(l)})))||null,u.product=l.product?new s(l.product):null,e(u,{comment:t,customerId:t,email:t,firstName:t,imageIds:t,lastName:t,orderId:t,orderNumber:t,productId:t,salesChannelId:t,star:t,status:t,storefrontId:t,title:t,images:t,product:t}),u}return l(o,r),o}(r);export{o as IkasCustomerReview};
1
+ import{__extends as l}from'./../../../../ext/tslib/tslib.es6.js';export{IkasCustomerReviewStatus}from"@ikas/storefront-models";import{makeObservable as e,observable as r}from"mobx";import{IkasBaseModel as t}from"../../base/index.js";import{IkasImage as n}from"../../image/index.js";import{IkasProduct as s}from"../../product/index.js";var u=function(t){function u(l){var u,o=this;return(o=t.call(this,l)||this).comment=null,o.customerId=null,o.email=null,o.firstName=null,o.imageIds=null,o.lastName=null,o.orderId=null,o.orderNumber=null,o.reply=null,o.salesChannelId=null,o.status=null,o.storefrontId=null,o.title=null,o.product=null,o.comment=l.comment||null,o.customerId=l.customerId||null,o.email=l.email||null,o.firstName=l.firstName||null,o.imageIds=l.imageIds||null,o.lastName=l.lastName||null,o.orderId=l.orderId||null,o.orderNumber=l.orderNumber||null,o.productId=l.productId||"",o.reply=l.reply||null,o.salesChannelId=l.salesChannelId||null,o.star=l.star||0,o.status=l.status||null,o.storefrontId=l.storefrontId||null,o.title=l.title||null,o.images=(null===(u=l.images)||void 0===u?void 0:u.map((function(l){return new n(l)})))||null,o.product=l.product?new s(l.product):null,e(o,{comment:r,customerId:r,email:r,firstName:r,imageIds:r,lastName:r,orderId:r,orderNumber:r,productId:r,salesChannelId:r,star:r,status:r,storefrontId:r,title:r,images:r,product:r}),o}return l(u,t),u}(t);export{u as IkasCustomerReview};
@@ -3,5 +3,7 @@ import { IkasFavoriteProduct as IFavoriteProduct } from "@ikas/storefront-models
3
3
  export declare class IkasFavoriteProduct extends IkasBaseModel implements IFavoriteProduct {
4
4
  customerId: string;
5
5
  productId: string;
6
+ price: number | null;
7
+ priceListId: string | null;
6
8
  constructor(data: IFavoriteProduct);
7
9
  }
@@ -1 +1 @@
1
- import{__extends as r}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as o}from"../base/index.js";import{makeObservable as t,observable as d}from"mobx";var s=function(o){function s(r){var s=o.call(this,r)||this;return s.customerId=r.customerId,s.productId=r.productId,t(s,{customerId:d,productId:d}),s}return r(s,o),s}(o);export{s as IkasFavoriteProduct};
1
+ import{__extends as r}from'./../../../ext/tslib/tslib.es6.js';import{IkasBaseModel as t}from"../base/index.js";import{makeObservable as o,observable as i}from"mobx";var d=function(t){function d(r){var d=t.call(this,r)||this;return d.customerId=r.customerId,d.productId=r.productId,d.price=r.price||null,d.priceListId=r.productId||null,o(d,{customerId:i,productId:i,price:i,priceListId:i}),d}return r(d,t),d}(t);export{d as IkasFavoriteProduct};
@@ -1,11 +1,15 @@
1
1
  import { IkasFilterCategory as IFilterCategory } from "@ikas/storefront-models";
2
2
  import { IkasHTMLMetaData } from "../html-meta-data";
3
+ import { IkasImage } from "../image";
3
4
  export declare class IkasFilterCategory implements IFilterCategory {
4
5
  id: string;
5
6
  name: string;
6
7
  metaData: IkasHTMLMetaData | null;
8
+ isAutomated: boolean | null;
7
9
  resultCount: number | null;
8
10
  isSelected: boolean;
11
+ imageId: string | null;
12
+ image?: IkasImage | null;
9
13
  constructor(data: IFilterCategory);
10
14
  get slug(): string | undefined;
11
15
  get href(): string;
@@ -1 +1 @@
1
- import{IkasFilterCategoryFunctions as t}from"@ikas/storefront-model-functions";import{makeAutoObservable as e}from"mobx";import{IkasHTMLMetaData as r}from"../html-meta-data/index.js";var i=function(){function i(t){this.id=t.id,this.name=t.name,this.metaData=t.metaData?new r(t.metaData):null,this.resultCount=t.resultCount,this.isSelected=t.isSelected,e(this)}return Object.defineProperty(i.prototype,"slug",{get:function(){var t;return null===(t=this.metaData)||void 0===t?void 0:t.slug},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"href",{get:function(){return t.getIkasFilterCategoryHref(this)},enumerable:!1,configurable:!0}),i}();export{i as IkasFilterCategory};
1
+ import{IkasFilterCategoryFunctions as t}from"@ikas/storefront-model-functions";import{makeAutoObservable as e}from"mobx";import{IkasHTMLMetaData as i}from"../html-meta-data/index.js";import{IkasImage as r}from"../image/index.js";var a=function(){function a(t){this.id=t.id,this.name=t.name,this.metaData=t.metaData?new i(t.metaData):null,this.isAutomated=t.isAutomated,this.resultCount=t.resultCount,this.isSelected=t.isSelected,this.imageId=t.imageId,this.image=t.imageId?new r({id:t.imageId,isVideo:!1}):null,e(this)}return Object.defineProperty(a.prototype,"slug",{get:function(){var t;return null===(t=this.metaData)||void 0===t?void 0:t.slug},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"href",{get:function(){return t.getIkasFilterCategoryHref(this)},enumerable:!1,configurable:!0}),a}();export{a as IkasFilterCategory};
@@ -3,5 +3,6 @@ export declare class IkasHTMLMetaDataTranslations implements IHTMLMetaDataTransl
3
3
  description: string | null;
4
4
  locale: string;
5
5
  pageTitle: string | null;
6
+ slug: string | null;
6
7
  constructor(data: IHTMLMetaDataTranslations);
7
8
  }
@@ -1 +1 @@
1
- var i=function(i){this.description=null,this.pageTitle=null,this.description=i.description||null,this.locale=i.locale,this.pageTitle=i.pageTitle||null};export{i as IkasHTMLMetaDataTranslations};
1
+ var l=function(l){this.description=null,this.pageTitle=null,this.slug=null,this.description=l.description||null,this.locale=l.locale,this.pageTitle=l.pageTitle||null,this.slug=l.slug||null};export{l as IkasHTMLMetaDataTranslations};
@@ -3,6 +3,7 @@ export declare class IkasImage implements IImage {
3
3
  id: string;
4
4
  isVideo: boolean;
5
5
  altText?: string | null;
6
+ fileName?: string | null;
6
7
  constructor(data: IImage);
7
8
  get src(): string;
8
9
  get thumbnailSrc(): string;
@@ -1 +1 @@
1
- import{IkasImageFunctions as t}from"@ikas/storefront-model-functions";import{makeObservable as e,observable as r,computed as i}from"mobx";var n=function(){function n(n){var o=this;this.getSrc=function(e){return t.getSrc(o,e)},this.id=n.id,this.isVideo=n.isVideo,this.altText=n.altText,e(this,{id:r,isVideo:r,altText:r,src:i,thumbnailSrc:i})}return Object.defineProperty(n.prototype,"src",{get:function(){return t.getDefaultSrc(this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbnailSrc",{get:function(){return t.getThumbnailSrc(this)},enumerable:!1,configurable:!0}),n}();export{n as IkasImage};
1
+ import{IkasImageFunctions as t}from"@ikas/storefront-model-functions";import{makeObservable as e,observable as i,computed as r}from"mobx";var n=function(){function n(n){var o=this;this.getSrc=function(e){return t.getSrc(o,e)},this.id=n.id,this.isVideo=n.isVideo,this.altText=n.altText,this.fileName=n.fileName,e(this,{id:i,isVideo:i,altText:i,src:r,thumbnailSrc:r})}return Object.defineProperty(n.prototype,"src",{get:function(){return t.getDefaultSrc(this)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"thumbnailSrc",{get:function(){return t.getThumbnailSrc(this)},enumerable:!1,configurable:!0}),n}();export{n as IkasImage};
@@ -16,7 +16,6 @@ export * from "./category/path-item";
16
16
  export * from "./category/translations";
17
17
  export * from "./category";
18
18
  export * from "./checkout";
19
- export * from "./checkout/country-settings-model";
20
19
  export * from "./checkout-settings/option";
21
20
  export * from "./checkout-settings/price";
22
21
  export * from "./checkout-settings";
@@ -26,6 +25,7 @@ export * from "./country";
26
25
  export * from "./customer/address/city";
27
26
  export * from "./customer/address/country";
28
27
  export * from "./customer/address/district";
28
+ export * from "./customer/address/region";
29
29
  export * from "./customer/address/state";
30
30
  export * from "./customer/address";
31
31
  export * from "./customer/address/ikas-localized-customer-address";
@@ -35,6 +35,8 @@ export * from "./customer/attribute/translation/option";
35
35
  export * from "./customer/attribute/translation";
36
36
  export * from "./customer/attribute/value";
37
37
  export * from "./customer/attribute";
38
+ export * from "./customer/price-list-rule/filter";
39
+ export * from "./customer/price-list-rule";
38
40
  export * from "./customer/review/settings";
39
41
  export * from "./customer/review/summary/star";
40
42
  export * from "./customer/review/summary";
@@ -51,6 +53,7 @@ export * from "./merchant-settings";
51
53
  export * from "./order/address/city";
52
54
  export * from "./order/address/country";
53
55
  export * from "./order/address/district";
56
+ export * from "./order/address/region";
54
57
  export * from "./order/address/state";
55
58
  export * from "./order/address";
56
59
  export * from "./order/adjustment/applied-order-line";
@@ -98,6 +101,7 @@ export * from "./product/campaign/product-buyx-then-gety";
98
101
  export * from "./product/campaign/product-campaign-date-range-field";
99
102
  export * from "./product/campaign/product-fixed-discount";
100
103
  export * from "./product/campaign";
104
+ export * from "./product/campaign-offer";
101
105
  export * from "./product/image";
102
106
  export * from "./product/option-set/option";
103
107
  export * from "./product/option-set";
@@ -107,8 +111,14 @@ export * from "./product/variant/price";
107
111
  export * from "./product/variant";
108
112
  export * from "./product/variant-type";
109
113
  export * from "./product";
114
+ export * from "./product-file";
110
115
  export * from "./raffle/";
111
116
  export * from "./sales-channel";
117
+ export * from "./shipping-zone/state/city/district/region";
118
+ export * from "./shipping-zone/state/city/district";
119
+ export * from "./shipping-zone/state/city";
120
+ export * from "./shipping-zone/state";
121
+ export * from "./shipping-zone";
112
122
  export * from "./state";
113
123
  export * from "./stock-location/address/city";
114
124
  export * from "./stock-location/address/country";
@@ -117,7 +127,9 @@ export * from "./stock-location/address/state";
117
127
  export * from "./stock-location/address";
118
128
  export * from "./stock-location/available";
119
129
  export * from "./stock-location";
130
+ export * from "./storefront/b2b-settings";
120
131
  export * from "./storefront/domain";
132
+ export * from "./storefront/index-page-seo-setting";
121
133
  export * from "./storefront/localization";
122
134
  export * from "./storefront/routing/dynamic-currency";
123
135
  export * from "./storefront/routing";
@@ -136,4 +148,6 @@ export * from "./theme-json/settings";
136
148
  export * from "./theme-json";
137
149
  export * from "./variant-type/variant-value";
138
150
  export * from "./variant-type";
151
+ export * from "./video";
139
152
  export type { IkasSliderPropValueData as IkasSlider } from "@ikas/storefront-providers";
153
+ export { AddressFormItem, BillingFormItem } from "@ikas/localized-address";