@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
@@ -12,13 +12,6 @@ export declare enum AmountTypeEnum {
12
12
  AMOUNT = "AMOUNT",
13
13
  RATIO = "RATIO"
14
14
  }
15
- /**
16
- * Url Slug Target Type Enum Codes
17
- */
18
- export declare enum BlogMetadataTargetTypeEnum {
19
- BLOG = "BLOG",
20
- BLOG_CATEGORY = "BLOG_CATEGORY"
21
- }
22
15
  /**
23
16
  * Cancelled Reason Enum
24
17
  */
@@ -49,14 +42,6 @@ export declare enum CheckoutRecoveryStatusEnum {
49
42
  NOT_RECOVERED = "NOT_RECOVERED",
50
43
  RECOVERED = "RECOVERED"
51
44
  }
52
- /**
53
- * Checkout Requirement Enum
54
- */
55
- export declare enum CheckoutRequirementEnum {
56
- INVISIBLE = "INVISIBLE",
57
- MANDATORY = "MANDATORY",
58
- OPTIONAL = "OPTIONAL"
59
- }
60
45
  /**
61
46
  * Checkout Status Enum
62
47
  */
@@ -73,14 +58,6 @@ export declare enum CustomerAccountStatusesEnum {
73
58
  DISABLED_ACCOUNT = "DISABLED_ACCOUNT",
74
59
  INVITED_TO_CREATE_ACCOUNT = "INVITED_TO_CREATE_ACCOUNT"
75
60
  }
76
- /**
77
- * Customer Email Subscription Statuses
78
- */
79
- export declare enum CustomerEmailSubscriptionStatusesEnum {
80
- NOT_SUBSCRIBED = "NOT_SUBSCRIBED",
81
- PENDING_CONFIRMATION = "PENDING_CONFIRMATION",
82
- SUBSCRIBED = "SUBSCRIBED"
83
- }
84
61
  /**
85
62
  * Url Slug Target Type Enum Codes
86
63
  */
@@ -95,51 +72,24 @@ export declare enum HTMLMetaDataTargetTypeEnum {
95
72
  */
96
73
  export declare enum OrderLineItemStatusEnum {
97
74
  CANCELLED = "CANCELLED",
98
- CANCEL_REJECTED = "CANCEL_REJECTED",
99
- CANCEL_REQUESTED = "CANCEL_REQUESTED",
100
- DELIVERED = "DELIVERED",
101
75
  FULFILLED = "FULFILLED",
102
76
  REFUNDED = "REFUNDED",
103
- REFUND_REJECTED = "REFUND_REJECTED",
104
- REFUND_REQUESTED = "REFUND_REQUESTED",
105
- REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
106
77
  UNFULFILLED = "UNFULFILLED"
107
78
  }
108
79
  /**
109
80
  * Order Package Fulfill Status Enum
110
81
  */
111
82
  export declare enum OrderPackageFulfillStatusEnum {
112
- CANCELLED = "CANCELLED",
113
- CANCEL_REJECTED = "CANCEL_REJECTED",
114
- CANCEL_REQUESTED = "CANCEL_REQUESTED",
115
83
  DELIVERED = "DELIVERED",
116
- ERROR = "ERROR",
117
84
  FULFILLED = "FULFILLED",
118
- READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
119
- REFUNDED = "REFUNDED",
120
- REFUND_REJECTED = "REFUND_REJECTED",
121
- REFUND_REQUESTED = "REFUND_REQUESTED",
122
- REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED"
85
+ SHIPPED = "SHIPPED"
123
86
  }
124
87
  /**
125
88
  * Order Package Status Enum
126
89
  */
127
90
  export declare enum OrderPackageStatusEnum {
128
- CANCELLED = "CANCELLED",
129
- CANCEL_REJECTED = "CANCEL_REJECTED",
130
- CANCEL_REQUESTED = "CANCEL_REQUESTED",
131
- DELIVERED = "DELIVERED",
132
91
  FULFILLED = "FULFILLED",
133
- PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
134
- PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
135
92
  PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
136
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
137
- READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
138
- REFUNDED = "REFUNDED",
139
- REFUND_REJECTED = "REFUND_REJECTED",
140
- REFUND_REQUESTED = "REFUND_REQUESTED",
141
- REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
142
- UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
143
93
  UNFULFILLED = "UNFULFILLED"
144
94
  }
145
95
  /**
@@ -149,25 +99,7 @@ export declare enum OrderStatusEnum {
149
99
  CANCELLED = "CANCELLED",
150
100
  CREATED = "CREATED",
151
101
  DRAFT = "DRAFT",
152
- PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
153
- PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
154
- REFUNDED = "REFUNDED",
155
- REFUND_REJECTED = "REFUND_REJECTED",
156
- REFUND_REQUESTED = "REFUND_REQUESTED"
157
- }
158
- /**
159
- * Payment Gateway Additional Price Type Enum
160
- */
161
- export declare enum PaymentGatewayAdditionalPriceTypeEnum {
162
- DECREMENT = "DECREMENT",
163
- INCREMENT = "INCREMENT"
164
- }
165
- /**
166
- * Payment Gateway Transaction Fee Type Enum
167
- */
168
- export declare enum PaymentGatewayTransactionFeeTypeEnum {
169
- AMOUNT = "AMOUNT",
170
- RATIO = "RATIO"
102
+ REFUNDED = "REFUNDED"
171
103
  }
172
104
  /**
173
105
  * Payment Method Enum
@@ -177,7 +109,6 @@ export declare enum PaymentMethodEnum {
177
109
  CASH = "CASH",
178
110
  CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
179
111
  CREDIT_CARD = "CREDIT_CARD",
180
- CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
181
112
  GIFT_CARD = "GIFT_CARD",
182
113
  MONEY_ORDER = "MONEY_ORDER",
183
114
  OTHER = "OTHER"
@@ -200,45 +131,15 @@ export declare enum ProductAttributeTypeEnum {
200
131
  HTML = "HTML",
201
132
  MULTIPLE_CHOICE = "MULTIPLE_CHOICE",
202
133
  NUMERIC = "NUMERIC",
203
- TABLE = "TABLE",
204
134
  TEXT = "TEXT"
205
135
  }
206
136
  /**
207
- * Product Filter Type Enum Codes
137
+ * Product Types
208
138
  */
209
- export declare enum ProductFilterDisplayTypeEnum {
210
- BOX = "BOX",
211
- DATE_RANGE = "DATE_RANGE",
212
- LIST = "LIST",
213
- NUMBER_RANGE = "NUMBER_RANGE",
214
- NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
215
- SWATCH = "SWATCH"
216
- }
217
- /**
218
- * ProductFilter Sort Type Enum
219
- */
220
- export declare enum ProductFilterSortTypeEnum {
221
- ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
222
- ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
223
- PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
224
- PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
225
- }
226
- /**
227
- * Product Filter Type Enum Codes
228
- */
229
- export declare enum ProductFilterTypeEnum {
230
- ATTRIBUTE = "ATTRIBUTE",
231
- BRAND = "BRAND",
232
- DISCOUNT_RATIO = "DISCOUNT_RATIO",
233
- PRICE = "PRICE",
234
- STOCK_STATUS = "STOCK_STATUS",
235
- TAG = "TAG",
236
- VARIANT_TYPE = "VARIANT_TYPE"
237
- }
238
- export declare enum ProductSearchShowStockOptionEnum {
239
- HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
240
- SHOW_ALL = "SHOW_ALL",
241
- SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
139
+ export declare enum ProductTypeEnum {
140
+ DIGITAL = "DIGITAL",
141
+ MEMBERSHIP = "MEMBERSHIP",
142
+ PHYSICAL = "PHYSICAL"
242
143
  }
243
144
  /**
244
145
  * Shipping Method Enum
@@ -248,40 +149,6 @@ export declare enum ShippingMethodEnum {
248
149
  NO_SHIPMENT = "NO_SHIPMENT",
249
150
  SHIPMENT = "SHIPMENT"
250
151
  }
251
- /**
252
- * Sort By Direction Enum Codes
253
- */
254
- export declare enum SortByDirectionEnum {
255
- ASC = "ASC",
256
- DESC = "DESC"
257
- }
258
- /**
259
- * Sort By Type Enum Codes
260
- */
261
- export declare enum SortByTypeEnum {
262
- CREATED_AT = "CREATED_AT",
263
- DISCOUNT_RATIO = "DISCOUNT_RATIO",
264
- NAME = "NAME",
265
- PRICE = "PRICE"
266
- }
267
- /**
268
- * StorefrontStatusEnum
269
- */
270
- export declare enum StorefrontStatusTypes {
271
- FAILED = "FAILED",
272
- NOT_DEPLOYED = "NOT_DEPLOYED",
273
- READY = "READY",
274
- WAITING = "WAITING"
275
- }
276
- /**
277
- * StorefrontThemeStatusEnum
278
- */
279
- export declare enum StorefrontThemeStatus {
280
- FAILED = "FAILED",
281
- NOT_DEPLOYED = "NOT_DEPLOYED",
282
- READY = "READY",
283
- WAITING = "WAITING"
284
- }
285
152
  /**
286
153
  * Transaction Card Association Enum
287
154
  */
@@ -323,10 +190,6 @@ export declare enum VariantSelectionTypeEnum {
323
190
  CHOICE = "CHOICE",
324
191
  COLOR = "COLOR"
325
192
  }
326
- export interface BlogMetadataTargetTypeEnumFilter {
327
- eq?: BlogMetadataTargetTypeEnum | null;
328
- in?: BlogMetadataTargetTypeEnum[] | null;
329
- }
330
193
  export interface CartLineItemInput {
331
194
  id?: string | null;
332
195
  quantity: number;
@@ -337,8 +200,8 @@ export interface CartLineVariantInput {
337
200
  name?: string | null;
338
201
  }
339
202
  export interface CheckStocksLineInput {
340
- productId: string;
341
203
  quantity: number;
204
+ stockLocationId?: string | null;
342
205
  variantId: string;
343
206
  }
344
207
  export interface CheckoutCustomerInput {
@@ -347,13 +210,6 @@ export interface CheckoutCustomerInput {
347
210
  id?: string | null;
348
211
  lastName?: string | null;
349
212
  }
350
- export interface CreateCustomerEmailSubscriptionInput {
351
- createdAt?: any | null;
352
- deleted?: boolean | null;
353
- email: string;
354
- id?: string | null;
355
- updatedAt?: any | null;
356
- }
357
213
  export interface CreateSaleTransactionWithCheckoutInput {
358
214
  checkoutId: string;
359
215
  paymentGatewayId: string;
@@ -401,10 +257,6 @@ export interface CustomerAddressStateInput {
401
257
  id?: string | null;
402
258
  name?: string | null;
403
259
  }
404
- export interface HTMLMetaDataTargetTypeEnumFilter {
405
- eq?: HTMLMetaDataTargetTypeEnum | null;
406
- in?: HTMLMetaDataTargetTypeEnum[] | null;
407
- }
408
260
  export interface OrderAddressCityInput {
409
261
  code?: string | null;
410
262
  id?: string | null;
@@ -428,7 +280,6 @@ export interface OrderAddressInput {
428
280
  country: OrderAddressCountryInput;
429
281
  district?: OrderAddressDistrictInput | null;
430
282
  firstName: string;
431
- identityNumber?: string | null;
432
283
  isDefault: boolean;
433
284
  lastName: string;
434
285
  phone?: string | null;
@@ -445,21 +296,10 @@ export interface OrderAddressStateInput {
445
296
  export interface OrderAdjustmentInput {
446
297
  amount: number;
447
298
  amountType: AmountTypeEnum;
448
- campaignId?: string | null;
449
- couponId?: string | null;
450
299
  name: string;
451
300
  order: number;
452
301
  type: AdjustmentEnum;
453
302
  }
454
- export interface OrderRefundOrderLineInput {
455
- orderLineItemId: string;
456
- quantity: number;
457
- }
458
- export interface OrderRefundRequestInput {
459
- orderId: string;
460
- orderLineItems: OrderRefundOrderLineInput[];
461
- reason?: string | null;
462
- }
463
303
  export interface PaginationInput {
464
304
  limit?: number | null;
465
305
  page?: number | null;
@@ -473,22 +313,6 @@ export interface PaymentMethodDetailInput {
473
313
  installmentCount: number;
474
314
  threeDSecure: boolean;
475
315
  }
476
- export interface ProductItemInput {
477
- createdAt?: any | null;
478
- deleted?: boolean | null;
479
- id?: string | null;
480
- productId: string;
481
- updatedAt?: any | null;
482
- variantId: string;
483
- }
484
- export interface ProductLastViewedInput {
485
- createdAt?: any | null;
486
- customerId: string;
487
- deleted?: boolean | null;
488
- id?: string | null;
489
- products: ProductItemInput[];
490
- updatedAt?: any | null;
491
- }
492
316
  export interface RetrieveInstallmentInfoInput {
493
317
  binNumber: string;
494
318
  paymentGatewayId: string;
@@ -503,7 +327,6 @@ export interface SaveCheckoutInput {
503
327
  customer?: CheckoutCustomerInput | null;
504
328
  deleted?: boolean | null;
505
329
  id?: string | null;
506
- note?: string | null;
507
330
  shippingAddress?: OrderAddressInput | null;
508
331
  shippingMethod: ShippingMethodEnum;
509
332
  shippingSettingsId?: string | null;
@@ -514,11 +337,6 @@ export interface SaveItemToCartInput {
514
337
  cartId?: string | null;
515
338
  customerId?: string | null;
516
339
  item: CartLineItemInput;
517
- priceListId?: string | null;
518
- salesChannelId: string;
519
- storefrontId: string;
520
- storefrontRoutingId: string;
521
- storefrontThemeId: string;
522
340
  }
523
341
  export interface SaveMyCustomerInput {
524
342
  addresses?: CustomerAddressInput[] | null;
@@ -526,30 +344,6 @@ export interface SaveMyCustomerInput {
526
344
  lastName: string;
527
345
  phone?: string | null;
528
346
  }
529
- export interface SearchInput {
530
- brandId?: string | null;
531
- categoryIdList?: string[] | null;
532
- filterList?: SearchInputFilterListInput[] | null;
533
- order?: SearchInputOrderByInput[] | null;
534
- page?: number | null;
535
- perPage?: number | null;
536
- priceListId?: string | null;
537
- productIdList?: string[] | null;
538
- query?: string | null;
539
- salesChannelId?: string | null;
540
- showStockOption?: ProductSearchShowStockOptionEnum | null;
541
- slug?: string | null;
542
- }
543
- export interface SearchInputFilterListInput {
544
- id: string;
545
- type: ProductFilterTypeEnum;
546
- useAndFilter?: boolean | null;
547
- valueList: string[];
548
- }
549
- export interface SearchInputOrderByInput {
550
- direction: SortByDirectionEnum;
551
- type: SortByTypeEnum;
552
- }
553
347
  export interface StringFilterInput {
554
348
  eq?: string | null;
555
349
  in?: string[] | null;
@@ -10,7 +10,7 @@ export interface listProductBrand_listProductBrand_data_metaData {
10
10
  }
11
11
  export interface listProductBrand_listProductBrand_data {
12
12
  __typename: "ProductBrand";
13
- id: string;
13
+ id: string | null;
14
14
  name: string;
15
15
  imageId: string | null;
16
16
  metaData: listProductBrand_listProductBrand_data_metaData | null;
@@ -25,7 +25,6 @@ export interface listProductBrand {
25
25
  }
26
26
  export interface listProductBrandVariables {
27
27
  id?: StringFilterInput | null;
28
- pagination?: PaginationInput | null;
28
+ paginationInput?: PaginationInput | null;
29
29
  name?: StringFilterInput | null;
30
- sort?: string | null;
31
30
  }
@@ -7,7 +7,6 @@ declare type ListBrandsParams = {
7
7
  page?: number;
8
8
  limit?: number;
9
9
  search?: string;
10
- sort?: string;
11
10
  };
12
11
  declare type ListBrandsResponse = {
13
12
  brands: IkasBrand[];
@@ -22,6 +22,7 @@ export interface getCart_getCart_items_variant {
22
22
  name: string;
23
23
  productId: string | null;
24
24
  sku: string | null;
25
+ taxValue: number | null;
25
26
  variantValues: getCart_getCart_items_variant_variantValues[] | null;
26
27
  }
27
28
  export interface getCart_getCart_items {
@@ -31,7 +32,7 @@ export interface getCart_getCart_items {
31
32
  discount: getCart_getCart_items_discount | null;
32
33
  discountPrice: number | null;
33
34
  finalPrice: number | null;
34
- id: string;
35
+ id: string | null;
35
36
  originalOrderLineItemId: string | null;
36
37
  price: number;
37
38
  quantity: number;
@@ -49,12 +50,8 @@ export interface getCart_getCart {
49
50
  currencyCode: string | null;
50
51
  customerId: string | null;
51
52
  dueDate: any;
52
- id: string;
53
+ id: string | null;
53
54
  itemCount: number;
54
- salesChannelId: string;
55
- storefrontId: string | null;
56
- storefrontRoutingId: string | null;
57
- storefrontThemeId: string | null;
58
55
  items: getCart_getCart_items[];
59
56
  merchantId: string;
60
57
  status: CartStatusEnum;
@@ -67,5 +64,4 @@ export interface getCart {
67
64
  export interface getCartVariables {
68
65
  cartId?: string | null;
69
66
  customerId?: string | null;
70
- storefrontRoutingId?: string | null;
71
67
  }
@@ -22,6 +22,7 @@ export interface saveItemToCart_saveItemToCart_items_variant {
22
22
  barcodeList: string[] | null;
23
23
  mainImageId: string | null;
24
24
  productId: string | null;
25
+ taxValue: number | null;
25
26
  variantValues: saveItemToCart_saveItemToCart_items_variant_variantValues[] | null;
26
27
  }
27
28
  export interface saveItemToCart_saveItemToCart_items {
@@ -32,7 +33,7 @@ export interface saveItemToCart_saveItemToCart_items {
32
33
  discount: saveItemToCart_saveItemToCart_items_discount | null;
33
34
  discountPrice: number | null;
34
35
  finalPrice: number | null;
35
- id: string;
36
+ id: string | null;
36
37
  originalOrderLineItemId: string | null;
37
38
  price: number;
38
39
  quantity: number;
@@ -45,7 +46,7 @@ export interface saveItemToCart_saveItemToCart_items {
45
46
  }
46
47
  export interface saveItemToCart_saveItemToCart {
47
48
  __typename: "Cart";
48
- id: string;
49
+ id: string | null;
49
50
  createdAt: any | null;
50
51
  updatedAt: any | null;
51
52
  dueDate: any;
@@ -54,10 +55,6 @@ export interface saveItemToCart_saveItemToCart {
54
55
  merchantId: string;
55
56
  itemCount: number;
56
57
  totalPrice: number;
57
- salesChannelId: string;
58
- storefrontId: string | null;
59
- storefrontRoutingId: string | null;
60
- storefrontThemeId: string | null;
61
58
  items: saveItemToCart_saveItemToCart_items[];
62
59
  }
63
60
  export interface saveItemToCart {
@@ -10,7 +10,7 @@ export interface listCategory_listCategory_data_metaData {
10
10
  }
11
11
  export interface listCategory_listCategory_data {
12
12
  __typename: "Category";
13
- id: string;
13
+ id: string | null;
14
14
  createdAt: any | null;
15
15
  updatedAt: any | null;
16
16
  deleted: boolean | null;
@@ -18,7 +18,6 @@ export interface listCategory_listCategory_data {
18
18
  parentId: string | null;
19
19
  imageId: string | null;
20
20
  metaData: listCategory_listCategory_data_metaData | null;
21
- categoryPath: string[] | null;
22
21
  }
23
22
  export interface listCategory_listCategory {
24
23
  __typename: "CategoryPaginationResponse";
@@ -30,7 +29,6 @@ export interface listCategory {
30
29
  }
31
30
  export interface listCategoryVariables {
32
31
  id?: StringFilterInput | null;
33
- pagination?: PaginationInput | null;
32
+ paginationInput?: PaginationInput | null;
34
33
  name?: StringFilterInput | null;
35
- sort?: string | null;
36
34
  }
@@ -1,15 +1,12 @@
1
1
  import { IkasCategory } from "../../models/index";
2
- import { IkasCategoryPath } from "../../models/data/category/index";
3
2
  export declare class IkasCategoryAPI {
4
3
  static listCategories(params?: ListCategoriesParams): Promise<ListCategoriesResponse>;
5
- static listCategoryPaths(params?: ListCategoriesParams): Promise<IkasCategoryPath[]>;
6
4
  }
7
5
  declare type ListCategoriesParams = {
8
6
  idList?: string[];
9
7
  page?: number;
10
8
  limit?: number;
11
9
  search?: string;
12
- sort?: string;
13
10
  };
14
11
  declare type ListCategoriesResponse = {
15
12
  categories: IkasCategory[];
@@ -1,18 +1,18 @@
1
1
  import { CheckStocksLineInput } from "../../../__generated__/global-types";
2
2
  export interface checkStocks_checkStocks_lines {
3
3
  __typename: "CheckStocksLineResponse";
4
- stockCount: number;
4
+ availableQuantity: number;
5
5
  isAvailable: boolean;
6
+ stockLocationId: string | null;
6
7
  variantId: string;
7
8
  }
8
9
  export interface checkStocks_checkStocks {
9
10
  __typename: "CheckStocksResponse";
10
- lines: checkStocks_checkStocks_lines[];
11
+ lines: checkStocks_checkStocks_lines[] | null;
11
12
  }
12
13
  export interface checkStocks {
13
14
  checkStocks: checkStocks_checkStocks;
14
15
  }
15
16
  export interface checkStocksVariables {
16
17
  lines: CheckStocksLineInput[];
17
- stockLocationIdList?: string[] | null;
18
18
  }
@@ -1,6 +1,6 @@
1
1
  export interface getCheckoutByCartId_getCheckoutByCartId {
2
2
  __typename: "Checkout";
3
- id: string;
3
+ id: string | null;
4
4
  }
5
5
  export interface getCheckoutByCartId {
6
6
  getCheckoutByCartId: getCheckoutByCartId_getCheckoutByCartId;
@@ -128,6 +128,7 @@ export interface getCheckoutById_getCheckoutById_cart_items_variant {
128
128
  name: string;
129
129
  productId: string | null;
130
130
  sku: string | null;
131
+ taxValue: number | null;
131
132
  variantValues: getCheckoutById_getCheckoutById_cart_items_variant_variantValues[] | null;
132
133
  }
133
134
  export interface getCheckoutById_getCheckoutById_cart_items {
@@ -137,7 +138,7 @@ export interface getCheckoutById_getCheckoutById_cart_items {
137
138
  discount: getCheckoutById_getCheckoutById_cart_items_discount | null;
138
139
  discountPrice: number | null;
139
140
  finalPrice: number | null;
140
- id: string;
141
+ id: string | null;
141
142
  originalOrderLineItemId: string | null;
142
143
  price: number;
143
144
  quantity: number;
@@ -155,7 +156,7 @@ export interface getCheckoutById_getCheckoutById_cart {
155
156
  currencyCode: string | null;
156
157
  customerId: string | null;
157
158
  dueDate: any;
158
- id: string;
159
+ id: string | null;
159
160
  itemCount: number;
160
161
  items: getCheckoutById_getCheckoutById_cart_items[];
161
162
  merchantId: string;
@@ -170,12 +171,10 @@ export interface getCheckoutById_getCheckoutById_adjustments {
170
171
  name: string;
171
172
  order: number;
172
173
  type: AdjustmentEnum;
173
- couponId: string | null;
174
174
  }
175
175
  export interface getCheckoutById_getCheckoutById {
176
176
  __typename: "Checkout";
177
177
  totalFinalPrice: number;
178
- note: string | null;
179
178
  availableShippingMethods: getCheckoutById_getCheckoutById_availableShippingMethods[] | null;
180
179
  billingAddress: getCheckoutById_getCheckoutById_billingAddress | null;
181
180
  cartId: string;
@@ -183,7 +182,7 @@ export interface getCheckoutById_getCheckoutById {
183
182
  createdAt: any | null;
184
183
  customer: getCheckoutById_getCheckoutById_customer | null;
185
184
  deleted: boolean | null;
186
- id: string;
185
+ id: string | null;
187
186
  merchantId: string;
188
187
  orderId: string | null;
189
188
  orderNumber: string | null;
@@ -1,29 +1,17 @@
1
- import { StringFilterInput, PaymentMethodEnum, PaymentGatewayTransactionFeeTypeEnum, PaymentGatewayAdditionalPriceTypeEnum } from "../../../__generated__/global-types";
1
+ import { PaymentMethodEnum } from "../../../__generated__/global-types";
2
2
  export interface listPaymentGateway_listPaymentGateway_paymentMethods {
3
3
  __typename: "PaymentGatewayPaymentMethod";
4
4
  name: string;
5
5
  logoUrl: string | null;
6
6
  }
7
- export interface listPaymentGateway_listPaymentGateway_additionalPrices {
8
- __typename: "AdditionalPrice";
9
- amount: number;
10
- amountType: PaymentGatewayTransactionFeeTypeEnum;
11
- name: string;
12
- type: PaymentGatewayAdditionalPriceTypeEnum;
13
- }
14
7
  export interface listPaymentGateway_listPaymentGateway {
15
8
  __typename: "PaymentGateway";
16
9
  paymentMethods: listPaymentGateway_listPaymentGateway_paymentMethods[];
17
10
  paymentMethodType: PaymentMethodEnum;
18
- id: string;
11
+ id: string | null;
19
12
  name: string;
20
- description: string | null;
21
13
  testMode: boolean | null;
22
- additionalPrices: listPaymentGateway_listPaymentGateway_additionalPrices[] | null;
23
14
  }
24
15
  export interface listPaymentGateway {
25
16
  listPaymentGateway: listPaymentGateway_listPaymentGateway[];
26
17
  }
27
- export interface listPaymentGatewayVariables {
28
- id?: StringFilterInput | null;
29
- }
@@ -1,7 +1,7 @@
1
1
  import { SaveCheckoutInput } from "../../../__generated__/global-types";
2
2
  export interface saveCheckout_saveCheckout {
3
3
  __typename: "Checkout";
4
- id: string;
4
+ id: string | null;
5
5
  }
6
6
  export interface saveCheckout {
7
7
  saveCheckout: saveCheckout_saveCheckout;
@@ -2,26 +2,18 @@ import { IkasCheckout, IkasPaymentMethodDetail, IkasInstallmentInfo, IkasInstall
2
2
  import * as SaleTransactionTypes from "./__generated__/createSaleTransactionWithCheckout";
3
3
  import * as CheckStocksTypes from "./__generated__/checkStocks";
4
4
  import { IkasPaymentGateway } from "../../models/data/payment-gateway/index";
5
- import { IkasCheckoutSettings } from "../../models/data/checkout-settings/index";
6
- import { GraphQLError } from "graphql";
7
5
  export declare class IkasCheckoutAPI {
8
6
  static getCheckoutId(cartId: string): Promise<string | undefined>;
9
7
  static getCheckoutById(id: string): Promise<IkasCheckout | undefined>;
10
- static saveCheckout(checkout: IkasCheckout): Promise<SaveCheckoutResponse | undefined>;
8
+ static saveCheckout(checkout: IkasCheckout): Promise<string | undefined>;
11
9
  static createSaleTransactionWithCheckout(checkoutId: string, paymentGatewayId: string, paymentMethodDetail?: IkasPaymentMethodDetail): Promise<SaleTransactionTypes.createSaleTransactionWithCheckout_createSaleTransactionWithCheckout | undefined>;
12
- static listPaymentGateway(idList?: string[]): Promise<IkasPaymentGateway[] | undefined>;
10
+ static listPaymentGateway(): Promise<IkasPaymentGateway[] | undefined>;
13
11
  static retrieveInstallmentInfo(input: IkasInstallmentInfoInput): Promise<IkasInstallmentInfo | undefined>;
14
- static checkStocks(lines: CheckStocksLineInput[], stockLocationIdList: string[]): Promise<CheckStocksTypes.checkStocks_checkStocks | undefined>;
15
- static listCheckoutSettings(): Promise<IkasCheckoutSettings[] | undefined>;
12
+ static checkStocks(lines: CheckStocksLineInput[]): Promise<CheckStocksTypes.checkStocks_checkStocks | undefined>;
16
13
  }
17
14
  declare type CheckStocksLineInput = {
18
15
  quantity: number;
19
16
  stockLocationId?: string | null;
20
17
  variantId: string;
21
- productId: string;
22
- };
23
- declare type SaveCheckoutResponse = {
24
- data: string | undefined;
25
- errors: readonly GraphQLError[] | undefined;
26
18
  };
27
19
  export {};
@@ -1,7 +1,7 @@
1
1
  import { StringFilterInput } from "../../../__generated__/global-types";
2
2
  export interface listCity_listCity {
3
3
  __typename: "City";
4
- id: string;
4
+ id: string | null;
5
5
  name: string;
6
6
  order: number | null;
7
7
  }
@@ -1,6 +1,3 @@
1
1
  export interface getAvailableShippingCountries {
2
2
  getAvailableShippingCountries: string[];
3
3
  }
4
- export interface getAvailableShippingCountriesVariables {
5
- salesChannelId: string;
6
- }