@ikas/storefront 0.0.16-0.alpha-1 → 0.0.16

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 (196) hide show
  1. package/build/__generated__/global-types.d.ts +8 -214
  2. package/build/api/brand/__generated__/listProductBrand.d.ts +2 -3
  3. package/build/api/brand/index.d.ts +0 -1
  4. package/build/api/cart/__generated__/getCart.d.ts +3 -7
  5. package/build/api/cart/__generated__/saveItemToCart.d.ts +3 -6
  6. package/build/api/category/__generated__/listCategory.d.ts +2 -4
  7. package/build/api/category/index.d.ts +0 -3
  8. package/build/api/checkout/__generated__/checkStocks.d.ts +3 -3
  9. package/build/api/checkout/__generated__/getCheckoutByCartId.d.ts +1 -1
  10. package/build/api/checkout/__generated__/getCheckoutById.d.ts +4 -5
  11. package/build/api/checkout/__generated__/listPaymentGateway.d.ts +2 -14
  12. package/build/api/checkout/__generated__/saveCheckout.d.ts +1 -1
  13. package/build/api/checkout/index.d.ts +3 -11
  14. package/build/api/city/__generated__/listCity.d.ts +1 -1
  15. package/build/api/country/__generated__/getAvailableShippingCountries.d.ts +0 -3
  16. package/build/api/country/__generated__/listCountry.d.ts +1 -8
  17. package/build/api/country/index.d.ts +2 -3
  18. package/build/api/customer/__generated__/customerLogin.d.ts +3 -5
  19. package/build/api/customer/__generated__/getCustomerOrders.d.ts +4 -3
  20. package/build/api/customer/__generated__/getMyCustomer.d.ts +2 -3
  21. package/build/api/customer/__generated__/listOrderTransactions.d.ts +1 -1
  22. package/build/api/customer/__generated__/registerCustomer.d.ts +2 -2
  23. package/build/api/customer/__generated__/saveMyCustomer.d.ts +2 -3
  24. package/build/api/customer/index.d.ts +0 -15
  25. package/build/api/district/__generated__/listDistrict.d.ts +1 -1
  26. package/build/api/html-meta-data/__generated__/listHTMLMetaData.d.ts +1 -2
  27. package/build/api/html-meta-data/index.d.ts +1 -1
  28. package/build/api/index.d.ts +3 -4
  29. package/build/api/merchant/__generated__/listMerchantSettings.d.ts +1 -1
  30. package/build/api/product/__generated__/listProduct.d.ts +90 -0
  31. package/build/api/product/index.d.ts +15 -0
  32. package/build/api/product-attribute/__generated__/listProductAttribute.d.ts +2 -2
  33. package/build/api/product-stock-location/__generated__/listProductStockLocation.d.ts +13 -0
  34. package/build/api/product-stock-location/index.d.ts +4 -0
  35. package/build/api/state/__generated__/listState.d.ts +1 -1
  36. package/build/api/stock-location/__generated__/listStockLocation.d.ts +1 -1
  37. package/build/api/storefront/__generated__/getStorefront.d.ts +12 -41
  38. package/build/api/storefront/index.d.ts +1 -1
  39. package/build/api/theme/index.d.ts +4 -0
  40. package/build/api/variant-type/__generated__/listVariantType.d.ts +2 -2
  41. package/build/components/checkout/components/address-form/index.d.ts +0 -3
  42. package/build/components/checkout/components/address-form/model.d.ts +0 -11
  43. package/build/components/checkout/components/button/index.d.ts +1 -4
  44. package/build/components/checkout/components/checkbox/index.d.ts +1 -2
  45. package/build/components/checkout/components/error-container/payment-error/index.d.ts +0 -2
  46. package/build/components/checkout/components/form-item/model.d.ts +2 -11
  47. package/build/components/checkout/index.d.ts +0 -5
  48. package/build/components/checkout/model.d.ts +5 -18
  49. package/build/components/gtm/functions.d.ts +164 -0
  50. package/build/components/gtm/index.d.ts +7 -0
  51. package/build/components/hoc/ThemeComponent.d.ts +2 -2
  52. package/build/components/index.d.ts +2 -1
  53. package/build/components/page/head.d.ts +0 -5
  54. package/build/components/page/index.d.ts +1 -6
  55. package/build/components/page-editor/model.d.ts +2 -6
  56. package/build/index.d.ts +0 -1
  57. package/build/index.es.js +10449 -18854
  58. package/build/index.js +10441 -18882
  59. package/build/models/data/brand/index.d.ts +1 -1
  60. package/build/models/data/cart/index.d.ts +0 -9
  61. package/build/models/data/category/index.d.ts +1 -22
  62. package/build/models/data/checkout/index.d.ts +0 -5
  63. package/build/models/data/country/index.d.ts +0 -2
  64. package/build/models/data/customer/index.d.ts +0 -7
  65. package/build/models/data/image/index.d.ts +0 -1
  66. package/build/models/data/index.d.ts +1 -5
  67. package/build/models/data/order/address/index.d.ts +0 -6
  68. package/build/models/data/order/index.d.ts +1 -19
  69. package/build/models/data/order/line-item/index.d.ts +0 -18
  70. package/build/models/data/payment-gateway/index.d.ts +2 -26
  71. package/build/models/data/product/attribute-value/index.d.ts +1 -15
  72. package/build/models/data/product/index.d.ts +1 -2
  73. package/build/models/data/product/variant/index.d.ts +0 -1
  74. package/build/models/data/product/variant/price/index.d.ts +0 -2
  75. package/build/models/data/product-attribute/index.d.ts +2 -5
  76. package/build/models/data/storefront/index.d.ts +6 -17
  77. package/build/models/data/storefront/stockfront-location/index.d.ts +5 -0
  78. package/build/models/data/storefront/stockfront-route/index.d.ts +5 -0
  79. package/build/models/data/storefront/{domain → storefront-domain}/index.d.ts +0 -1
  80. package/build/models/data/storefront/storefront-region/index.d.ts +18 -0
  81. package/build/models/data/variant-type/variant-value/index.d.ts +1 -1
  82. package/build/models/theme/component/prop/index.d.ts +1 -17
  83. package/build/models/theme/index.d.ts +0 -4
  84. package/build/models/theme/page/component/prop-value/product-list.d.ts +0 -2
  85. package/build/models/theme/page/index.d.ts +1 -14
  86. package/build/models/theme/theme.d.ts +0 -4
  87. package/build/models/ui/brand-list/index.d.ts +0 -3
  88. package/build/models/ui/category-list/index.d.ts +0 -3
  89. package/build/models/ui/index.d.ts +2 -12
  90. package/build/models/ui/product-detail/index.d.ts +3 -14
  91. package/build/models/ui/product-list/filter.d.ts +18 -0
  92. package/build/models/ui/product-list/index.d.ts +14 -62
  93. package/build/pages/{pages/[slug].d.ts → [slug]/[secondSlug].d.ts} +0 -2
  94. package/build/pages/[slug]/index.d.ts +3 -9
  95. package/build/pages/account/addresses.d.ts +0 -2
  96. package/build/pages/account/forgot-password.d.ts +0 -3
  97. package/build/pages/account/index.d.ts +0 -2
  98. package/build/pages/account/login.d.ts +0 -3
  99. package/build/pages/account/orders/[id].d.ts +0 -2
  100. package/build/pages/account/orders/index.d.ts +0 -2
  101. package/build/pages/account/recover-password.d.ts +0 -3
  102. package/build/pages/account/register.d.ts +0 -3
  103. package/build/pages/checkout/[id].d.ts +0 -5
  104. package/build/pages/home.d.ts +0 -3
  105. package/build/pages/index.d.ts +2 -8
  106. package/build/store/base.d.ts +0 -17
  107. package/build/store/customer.d.ts +1 -31
  108. package/build/storefront/index.d.ts +3 -29
  109. package/build/utils/helper.d.ts +0 -1
  110. package/build/utils/index.d.ts +0 -1
  111. package/build/utils/providers/page-data.d.ts +5 -60
  112. package/build/utils/providers/prop-value/boolean.d.ts +1 -1
  113. package/build/utils/providers/prop-value/category.d.ts +2 -2
  114. package/build/utils/providers/prop-value/product-detail.d.ts +2 -2
  115. package/build/utils/providers/prop-value/product-list.d.ts +3 -1
  116. package/package.json +3 -3
  117. package/build/analytics/analytics.d.ts +0 -22
  118. package/build/analytics/facebookPixel.d.ts +0 -15
  119. package/build/analytics/googleTagManager.d.ts +0 -201
  120. package/build/analytics/head/index.d.ts +0 -7
  121. package/build/analytics/index.d.ts +0 -2
  122. package/build/api/blog/__generated__/getBlog.d.ts +0 -83
  123. package/build/api/blog/__generated__/listBlog.d.ts +0 -86
  124. package/build/api/blog/__generated__/listBlogCategory.d.ts +0 -38
  125. package/build/api/blog/__generated__/listBlogMetaData.d.ts +0 -29
  126. package/build/api/blog/index.d.ts +0 -32
  127. package/build/api/category/__generated__/listCategoryPaths.d.ts +0 -23
  128. package/build/api/checkout/__generated__/listCheckoutSettings.d.ts +0 -26
  129. package/build/api/contact-form/__generated__/sendContactFormToMerchant.d.ts +0 -9
  130. package/build/api/contact-form/index.d.ts +0 -10
  131. package/build/api/country/__generated__/getMyCountry.d.ts +0 -3
  132. package/build/api/customer/__generated__/createCustomerEmailSubscription.d.ts +0 -11
  133. package/build/api/customer/__generated__/createOrderRefundRequest.d.ts +0 -215
  134. package/build/api/customer/__generated__/getLastViewedProducts.d.ts +0 -15
  135. package/build/api/customer/__generated__/saveLastViewedProducts.d.ts +0 -11
  136. package/build/api/favorite-product/__generated__/isFavoriteProduct.d.ts +0 -6
  137. package/build/api/favorite-product/__generated__/listFavoriteProducts.d.ts +0 -12
  138. package/build/api/favorite-product/__generated__/saveFavoriteProduct.d.ts +0 -7
  139. package/build/api/favorite-product/index.d.ts +0 -6
  140. package/build/api/product-search/__generated__/getProductFilterData.d.ts +0 -50
  141. package/build/api/product-search/__generated__/searchProducts.d.ts +0 -26
  142. package/build/api/product-search/index.d.ts +0 -20
  143. package/build/components/checkout/components/cart-summary/cross.d.ts +0 -6
  144. package/build/components/checkout/components/cart-summary/tag.d.ts +0 -6
  145. package/build/components/checkout/components/error-container/customer-login-required-error/index.d.ts +0 -6
  146. package/build/components/image/index.d.ts +0 -35
  147. package/build/models/data/blog/index.d.ts +0 -67
  148. package/build/models/data/checkout-settings/index.d.ts +0 -18
  149. package/build/models/data/contact-form/index.d.ts +0 -7
  150. package/build/models/data/favorite-product/index.d.ts +0 -6
  151. package/build/models/data/order/refund/index.d.ts +0 -6
  152. package/build/models/data/order/refund/refund-line-item/index.d.ts +0 -5
  153. package/build/models/data/product-attribute/product-attribute-table-cell/index.d.ts +0 -5
  154. package/build/models/data/product-attribute/product-attribute-table-template/index.d.ts +0 -6
  155. package/build/models/data/product-filter/index.d.ts +0 -102
  156. package/build/models/data/product-tag/index.d.ts +0 -5
  157. package/build/models/data/sales-channel/index.d.ts +0 -18
  158. package/build/models/data/simple-product/index.d.ts +0 -135
  159. package/build/models/data/storefront/localization/index.d.ts +0 -7
  160. package/build/models/data/storefront/routing/index.d.ts +0 -9
  161. package/build/models/data/storefront/theme/index.d.ts +0 -13
  162. package/build/models/data/storefront/theme-localization/index.d.ts +0 -12
  163. package/build/models/theme/custom-data/index.d.ts +0 -24
  164. package/build/models/theme/page/component/prop-value/attribute-list.d.ts +0 -7
  165. package/build/models/theme/page/component/prop-value/attribute.d.ts +0 -7
  166. package/build/models/theme/page/component/prop-value/blog-list.d.ts +0 -9
  167. package/build/models/theme/page/component/prop-value/blog.d.ts +0 -5
  168. package/build/models/theme/settings/index.d.ts +0 -7
  169. package/build/models/theme/settings/prop/color/index.d.ts +0 -7
  170. package/build/models/theme/settings/prop/favicon/index.d.ts +0 -4
  171. package/build/models/ui/blog-list/index.d.ts +0 -56
  172. package/build/models/ui/component-renderer/index.d.ts +0 -7
  173. package/build/models/ui/validator/form/account-info.d.ts +0 -40
  174. package/build/models/ui/validator/form/address.d.ts +0 -75
  175. package/build/models/ui/validator/form/contact-form.d.ts +0 -45
  176. package/build/models/ui/validator/form/forgot-password.d.ts +0 -29
  177. package/build/models/ui/validator/form/login.d.ts +0 -35
  178. package/build/models/ui/validator/form/recover-password.d.ts +0 -36
  179. package/build/models/ui/validator/form/register.d.ts +0 -45
  180. package/build/models/ui/validator/index.d.ts +0 -27
  181. package/build/models/ui/validator/rules/index.d.ts +0 -87
  182. package/build/pages/404.d.ts +0 -13
  183. package/build/pages/account/favorite-products.d.ts +0 -12
  184. package/build/pages/blog/[slug].d.ts +0 -18
  185. package/build/pages/blog/index.d.ts +0 -13
  186. package/build/pages/cart.d.ts +0 -12
  187. package/build/pages/search.d.ts +0 -13
  188. package/build/utils/providers/placeholders.d.ts +0 -5
  189. package/build/utils/providers/prop-value/attribute-list.d.ts +0 -9
  190. package/build/utils/providers/prop-value/attribute.d.ts +0 -9
  191. package/build/utils/providers/prop-value/blog-list.d.ts +0 -9
  192. package/build/utils/providers/prop-value/blog.d.ts +0 -8
  193. package/build/utils/providers/prop-value/color.d.ts +0 -6
  194. package/build/utils/providers/prop-value/custom.d.ts +0 -40
  195. package/build/utils/providers/prop-value/rich-text.d.ts +0 -6
  196. package/build/utils/settings.d.ts +0 -168
@@ -5,6 +5,6 @@ export declare class IkasBrand {
5
5
  name: string;
6
6
  metaData?: IkasHTMLMetaData | null;
7
7
  image?: IkasImage | null;
8
- constructor(data?: Partial<IkasBrand>);
8
+ constructor(data: Partial<IkasBrand>);
9
9
  get href(): string;
10
10
  }
@@ -10,10 +10,6 @@ export declare class IkasCart {
10
10
  items: IkasOrderLineItem[];
11
11
  merchantId: string;
12
12
  totalPrice: number;
13
- salesChannelId: string;
14
- storefrontId: string | null;
15
- storefrontRoutingId: string | null;
16
- storefrontThemeId: string | null;
17
13
  constructor(data: Partial<IkasCart>);
18
14
  get totalTax(): number;
19
15
  }
@@ -30,10 +26,5 @@ export declare type IkasSaveItemToCartInput = {
30
26
  cartId: string | null;
31
27
  customerId: string | null;
32
28
  item: IkasCartLineItemInput;
33
- priceListId: string | null;
34
- salesChannelId: string;
35
- storefrontId: string;
36
- storefrontRoutingId: string;
37
- storefrontThemeId: string;
38
29
  };
39
30
  export {};
@@ -6,27 +6,6 @@ export declare class IkasCategory {
6
6
  parentId: string | null;
7
7
  metaData?: IkasHTMLMetaData | null;
8
8
  image?: IkasImage | null;
9
- path: IkasCategoryPath[];
10
- constructor(data?: Partial<IkasCategory>);
9
+ constructor(data: Partial<IkasCategory>);
11
10
  get href(): string;
12
11
  }
13
- export declare class IkasCategoryPath {
14
- id: string;
15
- name: string;
16
- slug?: string | null;
17
- constructor(data: Partial<IkasCategoryPath>);
18
- get href(): string;
19
- }
20
- export declare class IkasFilterCategory {
21
- id: string;
22
- name: string;
23
- slug?: string | null;
24
- resultCount?: number | null;
25
- private _isSelected;
26
- constructor(data: Partial<IkasFilterCategory>);
27
- get isSelected(): boolean;
28
- get href(): string;
29
- toJSON(): this & {
30
- isSelected: boolean;
31
- };
32
- }
@@ -2,7 +2,6 @@ import { IkasOrderAddress } from "../order/address/index";
2
2
  import { IkasOrderShippingLine } from "../order/shipping-line/index";
3
3
  import { IkasCart } from "../cart/index";
4
4
  import { IkasOrderAdjustment } from "../order/index";
5
- import { IkasPaymentGateway } from "../payment-gateway/index";
6
5
  export declare class IkasCheckout {
7
6
  id?: string | null;
8
7
  createdAt?: string | null;
@@ -26,16 +25,12 @@ export declare class IkasCheckout {
26
25
  recoveryStatus?: IkasCheckoutRecoveryStatus | null;
27
26
  totalFinalPrice?: number | null;
28
27
  adjustments?: IkasOrderAdjustment[] | null;
29
- note: string | null;
30
- appliedCouponCode?: string | null;
31
- selectedPaymentGateway?: IkasPaymentGateway | null;
32
28
  constructor(data?: Partial<IkasCheckout>);
33
29
  get shippingTotal(): number;
34
30
  get hasCustomer(): boolean;
35
31
  get hasValidCustomer(): boolean;
36
32
  get customerText(): string;
37
33
  get dateStr(): string;
38
- get $totalFinalPrice(): number;
39
34
  }
40
35
  export declare type IkasCheckoutCustomer = {
41
36
  id?: string;
@@ -1,8 +1,6 @@
1
1
  export declare type IkasCountry = {
2
2
  id: string;
3
3
  name: string;
4
- native: string;
5
- iso2?: string;
6
4
  iso3?: string;
7
5
  phoneCode?: string;
8
6
  };
@@ -9,9 +9,7 @@ export declare class IkasCustomer {
9
9
  isPhoneVerified: boolean;
10
10
  accountStatus: IkasCustomerAccountStatus;
11
11
  addresses: IkasCustomerAddress[];
12
- subscriptionStatus: IkasCustomerEmailSubscriptionStatus | null;
13
12
  constructor(data: Partial<IkasCustomer>);
14
- get isSubscribed(): boolean;
15
13
  }
16
14
  export declare enum IkasCustomerAccountStatus {
17
15
  ACTIVE_ACCOUNT = "ACTIVE_ACCOUNT",
@@ -19,8 +17,3 @@ export declare enum IkasCustomerAccountStatus {
19
17
  DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
20
18
  INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
21
19
  }
22
- export declare enum IkasCustomerEmailSubscriptionStatus {
23
- NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
24
- PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
25
- SUBSCRIBED = "SUBSCRIBED"
26
- }
@@ -4,5 +4,4 @@ export declare class IkasImage {
4
4
  get editorApiKey(): any;
5
5
  get src(): string;
6
6
  get thumbnailSrc(): string;
7
- getSrc(size: number): string;
8
7
  }
@@ -1,4 +1,3 @@
1
- export * from "./blog/index";
2
1
  export { IkasBrand } from "./brand/index";
3
2
  export { IkasCategory } from "./category/index";
4
3
  export * from "./checkout/index";
@@ -19,10 +18,7 @@ export { IkasProductVariantType } from "./product/variant-type/index";
19
18
  export { IkasProductVariant } from "./product/variant/index";
20
19
  export { IkasProductPrice } from "./product/variant/price/index";
21
20
  export { IkasProductAttribute } from "./product-attribute/index";
22
- export { IkasProductAttributeValue, IkasAttributeTableCellValue, IkasProductAttributeMap, } from "./product/attribute-value/index";
23
- export * from "./product-filter/index";
24
- export { IkasFavoriteProduct } from "./favorite-product/index";
25
- export { IkasContactForm } from "./contact-form/index";
21
+ export { IkasProductAttributeValue } from "./product/attribute-value/index";
26
22
  export type { IkasState } from "./state/index";
27
23
  export * from "./variant-type/index";
28
24
  export { IkasVariantValue } from "./variant-type/variant-value/index";
@@ -1,4 +1,3 @@
1
- import { IkasCheckoutSettings } from "../../checkout-settings/index";
2
1
  export declare class IkasOrderAddress {
3
2
  addressLine1?: string | null;
4
3
  addressLine2?: string | null;
@@ -15,13 +14,10 @@ export declare class IkasOrderAddress {
15
14
  identityNumber?: string | null;
16
15
  taxNumber?: string | null;
17
16
  taxOffice?: string | null;
18
- checkoutSettings?: IkasCheckoutSettings;
19
- isDistrictRequired?: boolean;
20
17
  constructor(data?: Partial<IkasOrderAddress>);
21
18
  get addressText(): string;
22
19
  get validationResult(): IkasAddressValidationResult;
23
20
  get isValid(): boolean;
24
- toJSON(): this;
25
21
  }
26
22
  declare type IkasOrderAddressLocation = {
27
23
  id?: string;
@@ -40,8 +36,6 @@ export declare type IkasAddressValidationResult = {
40
36
  country: boolean;
41
37
  state: boolean;
42
38
  city: boolean;
43
- district: boolean;
44
39
  phone: boolean;
45
- identityNumber: boolean;
46
40
  };
47
41
  export {};
@@ -1,7 +1,6 @@
1
1
  import { IkasOrderAddress } from "./address/index";
2
2
  import { IkasOrderShippingLine } from "./shipping-line/index";
3
3
  import { IkasOrderLineItem } from "./line-item/index";
4
- import { IkasCustomerStore } from "../../../store/customer";
5
4
  export declare class IkasOrder {
6
5
  id: string;
7
6
  orderNumber: string;
@@ -25,12 +24,8 @@ export declare class IkasOrder {
25
24
  taxLines: IkasOrderTaxLine[] | null;
26
25
  orderPackages: IkasOrderPackage[] | null;
27
26
  currencyRates: IkasOrderCurrencyRate[] | null;
28
- customerStore: IkasCustomerStore;
29
27
  constructor(data: IkasOrder);
30
- get refundableItems(): IkasOrderLineItem[];
31
- get unfullfilledItems(): IkasOrderLineItem[];
32
- get refundedItems(): IkasOrderLineItem[];
33
- refund: () => Promise<boolean>;
28
+ get unfullfilledOrderLineItems(): IkasOrderLineItem[];
34
29
  }
35
30
  export declare type IkasOrderAdjustment = {
36
31
  amount: number;
@@ -38,7 +33,6 @@ export declare type IkasOrderAdjustment = {
38
33
  name: string;
39
34
  order: number;
40
35
  type: IkasAdjustmentEnum;
41
- couponId: string | null;
42
36
  };
43
37
  export declare type IkasOrderCustomer = {
44
38
  id: string;
@@ -112,16 +106,4 @@ export declare type IkasOrderCurrencyRate = {
112
106
  originalRate: number;
113
107
  rate: number;
114
108
  };
115
- export declare enum OrderLineItemStatusEnum {
116
- FULFILLED = "FULFILLED",
117
- UNFULFILLED = "UNFULFILLED",
118
- DELIVERED = "DELIVERED",
119
- CANCELLED = "CANCELLED",
120
- CANCEL_REQUESTED = "CANCEL_REQUESTED",
121
- CANCEL_REJECTED = "CANCEL_REJECTED",
122
- REFUND_REQUESTED = "REFUND_REQUESTED",
123
- REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
124
- REFUNDED = "REFUNDED",
125
- REFUND_REJECTED = "REFUND_REJECTED"
126
- }
127
109
  export {};
@@ -13,25 +13,7 @@ export declare class IkasOrderLineItem {
13
13
  price: number;
14
14
  quantity: number;
15
15
  taxValue?: number | null;
16
- private _refundQuantity?;
17
16
  variant: IkasOrderLineVariant;
18
- status: OrderLineItemStatusEnum;
19
17
  constructor(data: Partial<IkasOrderLineItem>);
20
- get priceWithQuantity(): number;
21
- get finalPriceWithQuantity(): number;
22
18
  get tax(): number;
23
- get refundQuantity(): number | null | undefined;
24
- set refundQuantity(value: number | null | undefined);
25
- }
26
- export declare enum OrderLineItemStatusEnum {
27
- FULFILLED = "FULFILLED",
28
- UNFULFILLED = "UNFULFILLED",
29
- DELIVERED = "DELIVERED",
30
- CANCELLED = "CANCELLED",
31
- CANCEL_REQUESTED = "CANCEL_REQUESTED",
32
- CANCEL_REJECTED = "CANCEL_REJECTED",
33
- REFUND_REQUESTED = "REFUND_REQUESTED",
34
- REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
35
- REFUNDED = "REFUNDED",
36
- REFUND_REJECTED = "REFUND_REJECTED"
37
19
  }
@@ -1,30 +1,14 @@
1
- import { IkasOrderShippingLine } from "../order/shipping-line/index";
2
- export declare class IkasPaymentGateway {
1
+ export declare type IkasPaymentGateway = {
3
2
  paymentMethods: IkasPaymentMethod[];
4
3
  paymentMethodType: IkasPaymentMethodType;
5
4
  id: string | null;
6
5
  name: string;
7
6
  testMode: boolean | null;
8
- description: string | null;
9
- additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;
10
- constructor(data: Partial<IkasPaymentGateway>);
11
- getCalculatedAdditionalPrices(totalFinalPrice: number, shippingLines: IkasOrderShippingLine[] | null): {
12
- name: string;
13
- amount: number;
14
- type: IkasPaymentMethodAdditionalPriceType;
15
- }[] | undefined;
16
- }
7
+ };
17
8
  export declare type IkasPaymentMethod = {
18
9
  name: string;
19
10
  logoUrl: string | null;
20
11
  };
21
- export declare class IkasPaymentGatewayAdditionalPrice {
22
- amount: number;
23
- amountType: IkasPaymentGatewayAdditionalPriceAmountType;
24
- name: string;
25
- type: IkasPaymentMethodAdditionalPriceType;
26
- constructor(data: Partial<IkasPaymentGatewayAdditionalPrice>);
27
- }
28
12
  export declare enum IkasPaymentMethodType {
29
13
  BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
30
14
  CASH = "CASH",
@@ -34,11 +18,3 @@ export declare enum IkasPaymentMethodType {
34
18
  MONEY_ORDER = "MONEY_ORDER",
35
19
  OTHER = "OTHER"
36
20
  }
37
- export declare enum IkasPaymentMethodAdditionalPriceType {
38
- DECREMENT = "DECREMENT",
39
- INCREMENT = "INCREMENT"
40
- }
41
- export declare enum IkasPaymentGatewayAdditionalPriceAmountType {
42
- AMOUNT = "AMOUNT",
43
- RATIO = "RATIO"
44
- }
@@ -1,20 +1,6 @@
1
- import { IkasProductAttribute } from "../../product-attribute/index";
2
- import IkasProductAttributeOption from "../../product-attribute/product-attribute-option/index";
3
1
  export declare class IkasProductAttributeValue {
4
- value: any;
2
+ value: string | null;
5
3
  productAttributeId: string | null;
6
4
  productAttributeOptionId: string | null;
7
- productAttribute?: IkasProductAttribute | null;
8
- productAttributeOption?: IkasProductAttributeOption | null;
9
5
  constructor(data: Partial<IkasProductAttributeValue>);
10
- get tableValue(): IkasAttributeTableCellValue[] | undefined;
11
6
  }
12
- export declare type IkasAttributeTableCellValue = {
13
- colId: string;
14
- rowId: string;
15
- value: string | null;
16
- };
17
- export declare type IkasProductAttributeMap = {
18
- attribute: IkasProductAttribute;
19
- values: IkasProductAttributeValue[];
20
- };
@@ -4,17 +4,16 @@ import { IkasProductAttributeValue } from "./attribute-value/index";
4
4
  import { IkasProductVariantType } from "./variant-type/index";
5
5
  import { IkasBrand } from "../brand/index";
6
6
  import { IkasHTMLMetaData } from "../html-meta-data/index";
7
- import { IkasProductTag } from "../product-tag/index";
8
7
  export declare class IkasProduct {
9
8
  id: string;
10
9
  name: string;
11
10
  type: IkasProductType;
12
11
  description: string;
13
12
  shortDescription: string;
13
+ taxValue: number | null;
14
14
  metaData?: IkasHTMLMetaData;
15
15
  brand: IkasBrand | null;
16
16
  categories: IkasCategory[];
17
- tags: IkasProductTag[] | null;
18
17
  variants: IkasProductVariant[];
19
18
  attributes: IkasProductAttributeValue[];
20
19
  variantTypes: IkasProductVariantType[];
@@ -11,7 +11,6 @@ export declare class IkasProductVariant {
11
11
  attributes: IkasProductAttributeValue[];
12
12
  price: IkasProductPrice;
13
13
  stock: number;
14
- isActive: boolean;
15
14
  constructor(data?: Partial<IkasProductVariant>);
16
15
  get mainImage(): IkasImage | undefined;
17
16
  }
@@ -5,6 +5,4 @@ export declare class IkasProductPrice {
5
5
  constructor(data?: Partial<IkasProductPrice>);
6
6
  get finalPrice(): number;
7
7
  get hasDiscount(): boolean;
8
- get discountAmount(): number;
9
- get discountPercentage(): string | 0;
10
8
  }
@@ -1,11 +1,9 @@
1
1
  import IkasProductAttributeOption from "./product-attribute-option/index";
2
- import { IkasProductAttributeTableTemplate } from "./product-attribute-table-template/index";
3
2
  export declare class IkasProductAttribute {
4
3
  id: string;
5
4
  name: string;
6
5
  type: IkasProductAttributeType;
7
- options?: IkasProductAttributeOption[] | null;
8
- tableTemplate?: IkasProductAttributeTableTemplate | null;
6
+ options: IkasProductAttributeOption[] | null;
9
7
  constructor(data: Partial<IkasProductAttribute>);
10
8
  }
11
9
  export declare enum IkasProductAttributeType {
@@ -15,6 +13,5 @@ export declare enum IkasProductAttributeType {
15
13
  BOOLEAN = "BOOLEAN",
16
14
  NUMERIC = "NUMERIC",
17
15
  DATETIME = "DATETIME",
18
- HTML = "HTML",
19
- TABLE = "TABLE"
16
+ HTML = "HTML"
20
17
  }
@@ -1,23 +1,12 @@
1
- import { IkasStorefrontLocalization } from "./localization/index";
2
- import { IkasStorefrontDomain } from "./domain/index";
3
- import { IkasStorefrontRouting } from "./routing/index";
4
- import { IkasStorefrontTheme } from "./theme/index";
5
- export declare enum StorefrontStatus {
6
- WAITING = "WAITING",
7
- READY = "READY"
8
- }
1
+ import { IkasStorefrontDomain } from "./storefront-domain/index";
2
+ import { IkasStorefrontRegion } from "./storefront-region/index";
9
3
  export declare class IkasStorefront {
10
4
  id: string;
11
5
  name: string;
12
- status: StorefrontStatus;
13
- mainStorefrontThemeId: string | null;
14
- emailSettingsId: string | null;
15
- salesChannelId: string | null;
16
- fbpId: string | null;
17
- gtmId: string | null;
18
- localizations: IkasStorefrontLocalization[];
19
- routings: IkasStorefrontRouting[];
6
+ themeId: string;
7
+ themeVersionId: string;
8
+ userId: string;
20
9
  domains: IkasStorefrontDomain[];
21
- themes: IkasStorefrontTheme[];
10
+ regions: IkasStorefrontRegion[];
22
11
  constructor(data?: Partial<IkasStorefront>);
23
12
  }
@@ -0,0 +1,5 @@
1
+ export declare class IkasStorefrontLocation {
2
+ countryId: string;
3
+ stateId: string | null;
4
+ constructor(data?: Partial<IkasStorefrontLocation>);
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare class IkasStorefrontRoute {
2
+ domainId: string;
3
+ useSubPath: boolean;
4
+ constructor(data?: Partial<IkasStorefrontRoute>);
5
+ }
@@ -3,6 +3,5 @@ export declare class IkasStorefrontDomain {
3
3
  merchantDomainId: string;
4
4
  name: string;
5
5
  redirectDomainName: string | null;
6
- isDefault?: boolean | false;
7
6
  constructor(data?: Partial<IkasStorefrontDomain>);
8
7
  }
@@ -0,0 +1,18 @@
1
+ import { IkasStorefrontLocation } from "../stockfront-location/index";
2
+ import { IkasStorefrontRoute } from "../stockfront-route/index";
3
+ import { IkasTheme } from "../../../theme/index";
4
+ export declare class IkasStorefrontRegion {
5
+ id: string;
6
+ locale: string;
7
+ themeJSON: string | null;
8
+ shipping: string | null;
9
+ paymentSettingsId: string | null;
10
+ priceListId: string | null;
11
+ locations: IkasStorefrontLocation[] | null;
12
+ routes: IkasStorefrontRoute[] | null;
13
+ termsOfService: string;
14
+ privacyPolicy: string;
15
+ returnPolicy: string;
16
+ theme: IkasTheme;
17
+ constructor(data?: Partial<IkasStorefrontRegion>);
18
+ }
@@ -3,7 +3,7 @@ export declare class IkasVariantValue {
3
3
  id: string;
4
4
  name: string;
5
5
  colorCode: string | null;
6
- thumbnailImageId: string | null;
6
+ thumbnilImageId: string | null;
7
7
  variantTypeId: string;
8
8
  constructor(data: Partial<IkasVariantValue>);
9
9
  get slug(): string;
@@ -1,17 +1,13 @@
1
- import { IkasProductAttributeType } from "../../../data/product-attribute/index";
2
1
  export declare class IkasThemeComponentProp {
3
2
  id: string;
4
3
  name: string;
5
4
  displayName: string;
6
5
  type: IkasThemeComponentPropType;
7
6
  isRequired: boolean;
8
- customDataId?: string | null;
9
- attributeTypes?: IkasProductAttributeType[] | null;
10
7
  constructor(data: Partial<IkasThemeComponentProp>);
11
8
  }
12
9
  export declare enum IkasThemeComponentPropType {
13
10
  TEXT = "TEXT",
14
- RICH_TEXT = "RICH_TEXT",
15
11
  BOOLEAN = "BOOLEAN",
16
12
  IMAGE = "IMAGE",
17
13
  IMAGE_LIST = "IMAGE_LIST",
@@ -19,20 +15,8 @@ export declare enum IkasThemeComponentPropType {
19
15
  LIST_OF_LINK = "LIST_OF_LINK",
20
16
  PRODUCT_DETAIL = "PRODUCT_DETAIL",
21
17
  PRODUCT_LIST = "PRODUCT_LIST",
22
- PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
23
- PRODUCT_ATTRIBUTE_LIST = "PRODUCT_ATTRIBUTE_LIST",
24
18
  BRAND = "BRAND",
25
19
  BRAND_LIST = "BRAND_LIST",
26
20
  CATEGORY = "CATEGORY",
27
- CATEGORY_LIST = "CATEGORY_LIST",
28
- COLOR = "COLOR",
29
- CUSTOM = "CUSTOM",
30
- COMPONENT = "COMPONENT",
31
- COMPONENT_LIST = "COMPONENT_LIST",
32
- BLOG = "BLOG",
33
- BLOG_LIST = "BLOG_LIST",
34
- OBJECT = "OBJECT",
35
- STATIC_LIST = "STATIC_LIST",
36
- DYNAMIC_LIST = "DYNAMIC_LIST",
37
- ENUM = "ENUM"
21
+ CATEGORY_LIST = "CATEGORY_LIST"
38
22
  }
@@ -10,7 +10,3 @@ export { IkasProductListPropValue } from "./page/component/prop-value/product-li
10
10
  export { IkasProductDetailPropValue } from "./page/component/prop-value/product-detail";
11
11
  export { IkasCategoryPropValue } from "./page/component/prop-value/category";
12
12
  export { IkasCategoryListPropValue } from "./page/component/prop-value/category-list";
13
- export { IkasThemeSettings } from "./settings/index";
14
- export { IkasThemeCustomData } from "./custom-data/index";
15
- export { IkasBlogPropValue } from "./page/component/prop-value/blog";
16
- export { IkasBlogListPropValue } from "./page/component/prop-value/blog-list";
@@ -1,13 +1,11 @@
1
1
  import { IkasProductListSortType, IkasProductListType } from "../../../../ui/index";
2
2
  export declare class IkasProductListPropValue {
3
- id: string;
4
3
  productListType: IkasProductListType;
5
4
  initialSort?: IkasProductListSortType | null;
6
5
  initialLimit?: number | null;
7
6
  productCount?: number | null;
8
7
  productIds?: IkasProductVariantId[] | null;
9
8
  usePageFilter?: boolean | null;
10
- category?: string | null;
11
9
  constructor(data: Partial<IkasProductListPropValue>);
12
10
  }
13
11
  declare type IkasProductVariantId = {
@@ -7,14 +7,8 @@ export declare class IkasThemePage {
7
7
  pageTitle: string | null;
8
8
  description: string | null;
9
9
  components: IkasThemePageComponent[];
10
- specifications: IkasThemePageSpecification[] | null;
11
10
  constructor(data: Partial<IkasThemePage>);
12
11
  }
13
- export declare class IkasThemePageSpecification {
14
- id: string;
15
- components: IkasThemePageComponent[];
16
- constructor(data: Partial<IkasThemePageSpecification>);
17
- }
18
12
  export declare enum IkasThemePageType {
19
13
  INDEX = "INDEX",
20
14
  CATEGORY = "CATEGORY",
@@ -28,12 +22,5 @@ export declare enum IkasThemePageType {
28
22
  LOGIN = "LOGIN",
29
23
  REGISTER = "REGISTER",
30
24
  FORGOT_PASSWORD = "FORGOT_PASSWORD",
31
- RECOVER_PASSWORD = "RECOVER_PASSWORD",
32
- CART = "CART",
33
- FAVORITE_PRODUCTS = "FAVORITE_PRODUCTS",
34
- SEARCH = "SEARCH",
35
- NOT_FOUND = "NOT_FOUND",
36
- BLOG = "BLOG",
37
- BLOG_INDEX = "BLOG_INDEX",
38
- BLOG_CATEGORY = "BLOG_CATEGORY"
25
+ RECOVER_PASSWORD = "RECOVER_PASSWORD"
39
26
  }
@@ -1,13 +1,9 @@
1
1
  import { IkasThemeComponent } from "./component/index";
2
- import { IkasThemeCustomData } from "./custom-data/index";
3
2
  import { IkasThemePage } from "./page/index";
4
- import { IkasThemeSettings } from "./settings/index";
5
3
  export declare class IkasTheme {
6
4
  name: string;
7
5
  components: IkasThemeComponent[];
8
6
  pages: IkasThemePage[];
9
- settings: IkasThemeSettings;
10
- customData: IkasThemeCustomData[];
11
7
  constructor(data?: Partial<IkasTheme>);
12
8
  get headerComponent(): IkasThemeComponent | undefined;
13
9
  get footerComponent(): IkasThemeComponent | undefined;
@@ -16,18 +16,15 @@ export declare class IkasBrandList {
16
16
  get limit(): number;
17
17
  get page(): number;
18
18
  get count(): number;
19
- get pageCount(): number;
20
19
  get isInitialized(): boolean;
21
20
  get isStatic(): boolean;
22
21
  get hasPrev(): boolean;
23
22
  get hasNext(): boolean;
24
23
  get isLoading(): boolean;
25
- private getSortParams;
26
24
  getInitial: () => Promise<void>;
27
25
  getPrev: () => Promise<void>;
28
26
  getNext: () => Promise<void>;
29
27
  getPage: (page: number) => Promise<void>;
30
- setSortType(sortType: IkasBrandListSortType): Promise<void>;
31
28
  toJSON(): {
32
29
  data: IkasBrand[];
33
30
  type: IkasBrandListType;
@@ -16,18 +16,15 @@ export declare class IkasCategoryList {
16
16
  get limit(): number;
17
17
  get page(): number;
18
18
  get count(): number;
19
- get pageCount(): number;
20
19
  get isInitialized(): boolean;
21
20
  get isStatic(): boolean;
22
21
  get hasPrev(): boolean;
23
22
  get hasNext(): boolean;
24
23
  get isLoading(): boolean;
25
- private getSortParams;
26
24
  getInitial: () => Promise<void>;
27
25
  getPrev: () => Promise<void>;
28
26
  getNext: () => Promise<void>;
29
27
  getPage: (page: number) => Promise<void>;
30
- setSortType(sortType: IkasCategoryListSortType): Promise<void>;
31
28
  toJSON(): {
32
29
  data: IkasCategory[];
33
30
  type: IkasCategoryListType;
@@ -1,17 +1,7 @@
1
- export * from "./blog-list/index";
2
1
  export { IkasBrandList, IkasBrandListType, IkasBrandListSortType, } from "./brand-list/index";
3
2
  export { IkasCategoryList, IkasCategoryListType, IkasCategoryListSortType, } from "./category-list/index";
4
3
  export type { IkasBrandListParams } from "./brand-list/index";
5
4
  export { IkasNavigationLink } from "./navigation-link/index";
6
- export { IkasProductDetail, IkasDisplayedVariantType, IkasDisplayedVariantValue, } from "./product-detail/index";
5
+ export { IkasProductDetail } from "./product-detail/index";
7
6
  export { IkasProductList, IkasProductListType, IkasProductListSortType, } from "./product-list/index";
8
- export { Validator, ValidationStatus } from "./validator/index";
9
- export * from "./validator/rules/index";
10
- export { LoginForm } from "./validator/form/login";
11
- export { AddressForm } from "./validator/form/address";
12
- export { RegisterForm } from "./validator/form/register";
13
- export { ContactForm } from "./validator/form/contact-form";
14
- export { ForgotPasswordForm } from "./validator/form/forgot-password";
15
- export { RecoverPasswordForm } from "./validator/form/recover-password";
16
- export { AccountInfoForm } from "./validator/form/account-info";
17
- export * from "./component-renderer/index";
7
+ export { IkasProductListFilter } from "./product-list/filter";
@@ -1,24 +1,13 @@
1
1
  import { IkasProduct, IkasVariantValue } from "../../index";
2
2
  import { NextRouter } from "next/router";
3
- import { IkasProductVariant, IkasVariantType } from "../../data/index";
4
3
  export declare class IkasProductDetail {
5
4
  product: IkasProduct;
6
5
  selectedVariantValues: IkasVariantValue[];
6
+ private usePageData?;
7
7
  private router?;
8
- constructor(product: IkasProduct, selectedVariantValues: IkasVariantValue[], router?: NextRouter);
8
+ constructor(product: IkasProduct, selectedVariantValues: IkasVariantValue[], usePageData?: boolean, router?: NextRouter);
9
9
  get mainVariantValue(): IkasVariantValue | undefined;
10
- get selectedVariant(): IkasProductVariant;
10
+ get selectedVariant(): import("../../index").IkasProductVariant;
11
11
  get href(): string;
12
- get displayedVariantTypes(): IkasDisplayedVariantType[];
13
12
  selectVariantValue(variantValue: IkasVariantValue): void;
14
13
  }
15
- export declare type IkasDisplayedVariantValue = {
16
- variant: IkasProductVariant;
17
- variantValue: IkasVariantValue;
18
- hasStock: boolean;
19
- isSelected: boolean;
20
- };
21
- export declare type IkasDisplayedVariantType = {
22
- variantType: IkasVariantType;
23
- displayedVariantValues: IkasDisplayedVariantValue[];
24
- };