@ikas/storefront-models 4.0.0-alpha.79 → 4.0.0-alpha.8

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 (514) hide show
  1. package/build-cjs/_virtual/_tslib.js +1 -0
  2. package/build-cjs/index.d.ts +0 -16
  3. package/build-cjs/index.js +2 -1
  4. package/build-cjs/models/base/init.js +1 -0
  5. package/build-cjs/models/blog/category/init.js +1 -0
  6. package/build-cjs/models/blog/init.js +1 -0
  7. package/build-cjs/models/blog/meta-data/index.js +1 -0
  8. package/build-cjs/models/brand/index.js +1 -0
  9. package/build-cjs/models/brand/init.js +1 -0
  10. package/build-cjs/models/campaign-offer/index.js +1 -0
  11. package/build-cjs/models/campaign-offer/product/index.js +1 -0
  12. package/build-cjs/models/cart/available-shipping-method/index.js +1 -0
  13. package/build-cjs/models/cart/campaign-offer/index.js +1 -0
  14. package/build-cjs/models/category/index.js +1 -0
  15. package/build-cjs/models/category/init.js +2 -1
  16. package/build-cjs/models/category/init.js.map +1 -1
  17. package/build-cjs/models/category/path-item/index.d.ts +0 -2
  18. package/build-cjs/models/checkout-settings/index.js +1 -0
  19. package/build-cjs/models/checkout-settings/price/index.d.ts +0 -1
  20. package/build-cjs/models/country/index.d.ts +0 -2
  21. package/build-cjs/models/customer/attribute/index.js +1 -0
  22. package/build-cjs/models/customer/attribute/init.js +1 -0
  23. package/build-cjs/models/customer/attribute/sales-channel/index.js +1 -0
  24. package/build-cjs/models/customer/index.js +1 -0
  25. package/build-cjs/models/customer/review/index.js +1 -0
  26. package/build-cjs/models/customer/review/init.js +1 -0
  27. package/build-cjs/models/html-meta-data/index.js +1 -0
  28. package/build-cjs/models/html-meta-data/init.js +1 -0
  29. package/build-cjs/models/merchant-settings/index.d.ts +0 -3
  30. package/build-cjs/models/merchant-settings/index.js +1 -0
  31. package/build-cjs/models/merchant-settings/index.js.map +1 -1
  32. package/build-cjs/models/merchant-settings/init.js +1 -0
  33. package/build-cjs/models/order/adjustment/index.js +1 -0
  34. package/build-cjs/models/order/index.d.ts +1 -3
  35. package/build-cjs/models/order/index.js +2 -1
  36. package/build-cjs/models/order/index.js.map +1 -1
  37. package/build-cjs/models/order/invoice/index.js +1 -0
  38. package/build-cjs/models/order/line-item/index.d.ts +0 -3
  39. package/build-cjs/models/order/line-item/index.js +1 -0
  40. package/build-cjs/models/order/line-item/index.js.map +1 -1
  41. package/build-cjs/models/order/line-item/variant/index.d.ts +0 -4
  42. package/build-cjs/models/order/line-item/variant/price/index.d.ts +0 -1
  43. package/build-cjs/models/order/package/index.js +1 -0
  44. package/build-cjs/models/order/transaction/index.d.ts +1 -1
  45. package/build-cjs/models/order/transaction/index.js +1 -0
  46. package/build-cjs/models/order/transaction/index.js.map +1 -1
  47. package/build-cjs/models/order/transaction/payment-method-detail/index.js +1 -0
  48. package/build-cjs/models/payment-gateway/additional-price/index.js +1 -0
  49. package/build-cjs/models/payment-gateway/index.js +1 -0
  50. package/build-cjs/models/payment-gateway/init.js +1 -0
  51. package/build-cjs/models/payment-gateway/settings/index.js +1 -0
  52. package/build-cjs/models/product/attribute/index.d.ts +1 -3
  53. package/build-cjs/models/product/attribute/index.js +2 -1
  54. package/build-cjs/models/product/attribute/index.js.map +1 -1
  55. package/build-cjs/models/product/attribute/init.js +1 -0
  56. package/build-cjs/models/product/attribute-value/init.js +1 -0
  57. package/build-cjs/models/product/campaign/data/index.js +1 -0
  58. package/build-cjs/models/product/campaign/filter/index.js +1 -0
  59. package/build-cjs/models/product/filter/index.d.ts +1 -3
  60. package/build-cjs/models/product/filter/index.js +2 -1
  61. package/build-cjs/models/product/filter/index.js.map +1 -1
  62. package/build-cjs/models/product/image/init.js +1 -0
  63. package/build-cjs/models/product/index.d.ts +0 -2
  64. package/build-cjs/models/product/index.js +1 -0
  65. package/build-cjs/models/product/index.js.map +1 -1
  66. package/build-cjs/models/product/init.js +1 -0
  67. package/build-cjs/models/product/option-set/init.js +1 -0
  68. package/build-cjs/models/product/option-set/option/index.js +1 -0
  69. package/build-cjs/models/product/option-set/option/init.js +1 -0
  70. package/build-cjs/models/product/variant/index.d.ts +0 -2
  71. package/build-cjs/models/product/variant/init.js +1 -0
  72. package/build-cjs/models/product/variant/price/index.d.ts +0 -2
  73. package/build-cjs/models/product/variant-type/index.d.ts +0 -1
  74. package/build-cjs/models/product/variant-type/init.js +1 -0
  75. package/build-cjs/models/raffle/index.d.ts +3 -9
  76. package/build-cjs/models/raffle/index.js +2 -1
  77. package/build-cjs/models/raffle/index.js.map +1 -1
  78. package/build-cjs/models/raffle/init.js +1 -0
  79. package/build-cjs/models/stock-location/index.js +1 -0
  80. package/build-cjs/models/storefront/index.d.ts +0 -4
  81. package/build-cjs/models/storefront/index.js +1 -0
  82. package/build-cjs/models/storefront/index.js.map +1 -1
  83. package/build-cjs/models/storefront/routing/index.d.ts +0 -2
  84. package/build-cjs/models/storefront/theme/index.js +1 -0
  85. package/build-cjs/models/storefront/theme-localization/index.d.ts +0 -2
  86. package/build-cjs/models/theme-json/component/index.d.ts +3 -4
  87. package/build-cjs/models/theme-json/component/prop/index.d.ts +3 -4
  88. package/build-cjs/models/theme-json/component/prop/index.js +1 -0
  89. package/build-cjs/models/theme-json/page/index.js +1 -0
  90. package/build-cjs/models/theme-json/settings/index.js +1 -0
  91. package/build-cjs/models/variant-type/index.js +1 -0
  92. package/build-cjs/models/variant-type/init.js +1 -0
  93. package/build-cjs/models/variant-type/variant-value/init.js +1 -0
  94. package/package.json +3 -9
  95. package/{build/index.d.ts → src/index.ts} +213 -172
  96. package/src/models/base/index.ts +6 -0
  97. package/src/models/base/init.ts +14 -0
  98. package/{build/models/blog/category/index.d.ts → src/models/blog/category/index.ts} +11 -9
  99. package/src/models/blog/category/init.ts +33 -0
  100. package/{build/models/blog/tag/index.d.ts → src/models/blog/content/index.ts} +5 -4
  101. package/src/models/blog/index.ts +26 -0
  102. package/src/models/blog/init.ts +7 -0
  103. package/src/models/blog/meta-data/index.ts +16 -0
  104. package/src/models/blog/tag/index.ts +5 -0
  105. package/src/models/blog/writer/index.ts +4 -0
  106. package/src/models/brand/index.ts +26 -0
  107. package/src/models/brand/init.ts +27 -0
  108. package/src/models/brand/translation/index.ts +5 -0
  109. package/src/models/campaign-offer/index.ts +43 -0
  110. package/src/models/campaign-offer/product/index.ts +27 -0
  111. package/src/models/cart/available-shipping-method/index.ts +13 -0
  112. package/src/models/cart/campaign-offer/index.ts +24 -0
  113. package/src/models/cart/index.ts +12 -0
  114. package/src/models/category/index.ts +30 -0
  115. package/src/models/category/init.ts +33 -0
  116. package/src/models/category/path-item/index.ts +9 -0
  117. package/src/models/category/translations/index.ts +5 -0
  118. package/src/models/checkout/index.ts +3 -0
  119. package/src/models/checkout-settings/index.ts +24 -0
  120. package/src/models/checkout-settings/option/index.ts +4 -0
  121. package/src/models/checkout-settings/price/index.ts +4 -0
  122. package/src/models/city/index.ts +11 -0
  123. package/src/models/contact-form/index.ts +7 -0
  124. package/src/models/country/index.ts +15 -0
  125. package/src/models/customer/address/city/index.ts +5 -0
  126. package/src/models/customer/address/country/index.ts +7 -0
  127. package/src/models/customer/address/district/index.ts +5 -0
  128. package/src/models/customer/address/index.tsx +27 -0
  129. package/src/models/customer/address/state/index.ts +5 -0
  130. package/src/models/customer/attribute/index.ts +22 -0
  131. package/src/models/customer/attribute/init.ts +34 -0
  132. package/src/models/customer/attribute/option/index.ts +7 -0
  133. package/src/models/customer/attribute/sales-channel/index.ts +18 -0
  134. package/src/models/customer/attribute/translation/index.ts +8 -0
  135. package/src/models/customer/attribute/translation/option/index.ts +4 -0
  136. package/src/models/customer/attribute/value/index.ts +12 -0
  137. package/src/models/customer/index.ts +48 -0
  138. package/src/models/customer/review/index.ts +28 -0
  139. package/src/models/customer/review/init.ts +7 -0
  140. package/src/models/customer/review/settings/index.ts +4 -0
  141. package/src/models/customer/review/summary/index.ts +9 -0
  142. package/src/models/customer/review/summary/star/index.ts +4 -0
  143. package/src/models/district/index.ts +11 -0
  144. package/src/models/favorite-product/index.ts +6 -0
  145. package/src/models/filter-category/index.ts +9 -0
  146. package/src/models/html-meta-data/index.ts +28 -0
  147. package/src/models/html-meta-data/init.ts +27 -0
  148. package/src/models/html-meta-data/translations/index.ts +5 -0
  149. package/src/models/image/index.ts +4 -0
  150. package/src/models/last-viewed-product/index.ts +4 -0
  151. package/src/models/merchant-settings/index.ts +25 -0
  152. package/src/models/merchant-settings/init.ts +7 -0
  153. package/src/models/order/address/city/index.ts +5 -0
  154. package/src/models/order/address/country/index.ts +7 -0
  155. package/src/models/order/address/district/index.ts +5 -0
  156. package/src/models/order/address/index.ts +25 -0
  157. package/src/models/order/address/state/index.ts +5 -0
  158. package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
  159. package/src/models/order/adjustment/index.ts +24 -0
  160. package/src/models/order/customer/index.ts +9 -0
  161. package/src/models/order/gift-line/index.ts +4 -0
  162. package/src/models/order/index.ts +90 -0
  163. package/src/models/order/invoice/index.ts +15 -0
  164. package/src/models/order/line-item/discount/index.ts +10 -0
  165. package/src/models/order/line-item/index.ts +34 -0
  166. package/src/models/order/line-item/option/index.ts +10 -0
  167. package/src/models/order/line-item/option/value/index.ts +5 -0
  168. package/src/models/order/line-item/variant/brand/index.ts +4 -0
  169. package/src/models/order/line-item/variant/category/index.ts +10 -0
  170. package/src/models/order/line-item/variant/index.ts +26 -0
  171. package/src/models/order/line-item/variant/price/index.ts +7 -0
  172. package/src/models/order/line-item/variant/value/index.ts +7 -0
  173. package/src/models/order/package/index.ts +28 -0
  174. package/src/models/order/package/tracking-info/index.ts +7 -0
  175. package/src/models/order/payment-method/index.ts +9 -0
  176. package/src/models/order/refund/index.ts +6 -0
  177. package/src/models/order/refund/line-item/index.ts +4 -0
  178. package/src/models/order/refund/settings/index.ts +5 -0
  179. package/src/models/order/shipping-line/index.ts +12 -0
  180. package/src/models/order/tax-line/index.ts +4 -0
  181. package/src/models/order/transaction/error/index.ts +5 -0
  182. package/src/models/order/transaction/index.ts +39 -0
  183. package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
  184. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
  185. package/src/models/payment-gateway/additional-price/index.ts +16 -0
  186. package/src/models/payment-gateway/index.ts +47 -0
  187. package/src/models/payment-gateway/init.ts +26 -0
  188. package/src/models/payment-gateway/settings/index.ts +12 -0
  189. package/src/models/payment-gateway/translation/index.ts +5 -0
  190. package/src/models/product/attribute/index.ts +24 -0
  191. package/src/models/product/attribute/init.ts +34 -0
  192. package/src/models/product/attribute/option/index.ts +4 -0
  193. package/src/models/product/attribute/table-cell/index.ts +4 -0
  194. package/src/models/product/attribute/table-template/index.ts +6 -0
  195. package/src/models/product/attribute/translation/index.ts +11 -0
  196. package/src/models/product/attribute-value/index.ts +26 -0
  197. package/src/models/product/attribute-value/init.ts +7 -0
  198. package/src/models/product/back-in-stock-settings/index.ts +3 -0
  199. package/src/models/product/campaign/data/index.ts +43 -0
  200. package/src/models/product/campaign/filter/index.ts +12 -0
  201. package/src/models/product/campaign/index.ts +6 -0
  202. package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
  203. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
  204. package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
  205. package/src/models/product/filter/index.ts +96 -0
  206. package/src/models/product/image/index.ts +10 -0
  207. package/src/models/product/image/init.ts +7 -0
  208. package/src/models/product/index.ts +43 -0
  209. package/src/models/product/init.ts +16 -0
  210. package/src/models/product/option-set/index.ts +25 -0
  211. package/src/models/product/option-set/init.ts +77 -0
  212. package/src/models/product/option-set/option/index.ts +81 -0
  213. package/src/models/product/option-set/option/init.ts +13 -0
  214. package/src/models/product/tag/index.ts +4 -0
  215. package/src/models/product/variant/index.ts +20 -0
  216. package/src/models/product/variant/init.ts +10 -0
  217. package/src/models/product/variant/price/index.ts +7 -0
  218. package/src/models/product/variant-type/index.ts +6 -0
  219. package/src/models/product/variant-type/init.ts +15 -0
  220. package/src/models/raffle/index.ts +70 -0
  221. package/src/models/raffle/init.ts +6 -0
  222. package/src/models/sales-channel/index.ts +17 -0
  223. package/src/models/state/index.ts +7 -0
  224. package/src/models/stock-location/address/city/index.ts +5 -0
  225. package/src/models/stock-location/address/country/index.ts +5 -0
  226. package/src/models/stock-location/address/district/index.ts +5 -0
  227. package/src/models/stock-location/address/index.ts +14 -0
  228. package/src/models/stock-location/address/state/index.ts +5 -0
  229. package/src/models/stock-location/available/index.ts +9 -0
  230. package/src/models/stock-location/index.ts +26 -0
  231. package/src/models/storefront/domain/index.ts +7 -0
  232. package/src/models/storefront/index.ts +30 -0
  233. package/src/models/storefront/localization/index.tsx +6 -0
  234. package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
  235. package/src/models/storefront/routing/index.tsx +11 -0
  236. package/src/models/storefront/theme/index.tsx +13 -0
  237. package/src/models/storefront/theme-localization/index.tsx +13 -0
  238. package/src/models/theme-json/component/index.ts +19 -0
  239. package/src/models/theme-json/component/prop/index.ts +65 -0
  240. package/src/models/theme-json/custom-data/index.ts +46 -0
  241. package/src/models/theme-json/index.ts +12 -0
  242. package/src/models/theme-json/page/component/index.ts +11 -0
  243. package/src/models/theme-json/page/index.ts +46 -0
  244. package/src/models/theme-json/settings/color/index.ts +13 -0
  245. package/src/models/theme-json/settings/favicon/index.ts +3 -0
  246. package/src/models/theme-json/settings/font-family/index.ts +4 -0
  247. package/src/models/theme-json/settings/index.ts +16 -0
  248. package/src/models/variant-type/index.ts +25 -0
  249. package/src/models/variant-type/init.ts +37 -0
  250. package/src/models/variant-type/variant-value/index.ts +12 -0
  251. package/src/models/variant-type/variant-value/init.ts +5 -0
  252. package/build/_virtual/_tslib.js +0 -1
  253. package/build/index.js +0 -1
  254. package/build/models/base/index.d.ts +0 -6
  255. package/build/models/base/init.d.ts +0 -6
  256. package/build/models/base/init.js +0 -1
  257. package/build/models/blog/category/init.d.ts +0 -11
  258. package/build/models/blog/category/init.js +0 -1
  259. package/build/models/blog/content/index.d.ts +0 -4
  260. package/build/models/blog/index.d.ts +0 -24
  261. package/build/models/blog/init.d.ts +0 -2
  262. package/build/models/blog/init.js +0 -1
  263. package/build/models/blog/meta-data/index.d.ts +0 -14
  264. package/build/models/blog/meta-data/index.js +0 -1
  265. package/build/models/blog/writer/index.d.ts +0 -4
  266. package/build/models/brand/index.d.ts +0 -23
  267. package/build/models/brand/index.js +0 -1
  268. package/build/models/brand/init.d.ts +0 -2
  269. package/build/models/brand/init.js +0 -1
  270. package/build/models/brand/translation/index.d.ts +0 -5
  271. package/build/models/campaign-offer/index.d.ts +0 -37
  272. package/build/models/campaign-offer/index.js +0 -1
  273. package/build/models/campaign-offer/product/index.d.ts +0 -24
  274. package/build/models/campaign-offer/product/index.js +0 -1
  275. package/build/models/cart/available-shipping-method/index.d.ts +0 -12
  276. package/build/models/cart/available-shipping-method/index.js +0 -1
  277. package/build/models/cart/campaign-offer/index.d.ts +0 -19
  278. package/build/models/cart/campaign-offer/index.js +0 -1
  279. package/build/models/cart/index.d.ts +0 -11
  280. package/build/models/category/index.d.ts +0 -27
  281. package/build/models/category/index.js +0 -1
  282. package/build/models/category/init.d.ts +0 -2
  283. package/build/models/category/init.js +0 -1
  284. package/build/models/category/path-item/index.d.ts +0 -10
  285. package/build/models/category/path-item/init.d.ts +0 -2
  286. package/build/models/category/path-item/init.js +0 -1
  287. package/build/models/category/translations/index.d.ts +0 -5
  288. package/build/models/checkout/index.d.ts +0 -2
  289. package/build/models/checkout-settings/index.d.ts +0 -22
  290. package/build/models/checkout-settings/index.js +0 -1
  291. package/build/models/checkout-settings/option/index.d.ts +0 -4
  292. package/build/models/checkout-settings/price/index.d.ts +0 -5
  293. package/build/models/city/index.d.ts +0 -10
  294. package/build/models/contact-form/index.d.ts +0 -7
  295. package/build/models/country/index.d.ts +0 -16
  296. package/build/models/country/init.d.ts +0 -2
  297. package/build/models/country/init.js +0 -1
  298. package/build/models/country/location-translations/index.d.ts +0 -5
  299. package/build/models/customer/address/city/index.d.ts +0 -5
  300. package/build/models/customer/address/country/index.d.ts +0 -7
  301. package/build/models/customer/address/district/index.d.ts +0 -5
  302. package/build/models/customer/address/index.d.ts +0 -25
  303. package/build/models/customer/address/state/index.d.ts +0 -5
  304. package/build/models/customer/attribute/index.d.ts +0 -20
  305. package/build/models/customer/attribute/index.js +0 -1
  306. package/build/models/customer/attribute/init.d.ts +0 -2
  307. package/build/models/customer/attribute/init.js +0 -1
  308. package/build/models/customer/attribute/option/index.d.ts +0 -7
  309. package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
  310. package/build/models/customer/attribute/sales-channel/index.js +0 -1
  311. package/build/models/customer/attribute/translation/index.d.ts +0 -7
  312. package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
  313. package/build/models/customer/attribute/value/index.d.ts +0 -9
  314. package/build/models/customer/index.d.ts +0 -43
  315. package/build/models/customer/index.js +0 -1
  316. package/build/models/customer/review/index.d.ts +0 -24
  317. package/build/models/customer/review/index.js +0 -1
  318. package/build/models/customer/review/init.d.ts +0 -2
  319. package/build/models/customer/review/init.js +0 -1
  320. package/build/models/customer/review/settings/index.d.ts +0 -4
  321. package/build/models/customer/review/summary/index.d.ts +0 -8
  322. package/build/models/customer/review/summary/star/index.d.ts +0 -4
  323. package/build/models/customer-settings/index.d.ts +0 -7
  324. package/build/models/district/index.d.ts +0 -10
  325. package/build/models/favorite-product/index.d.ts +0 -5
  326. package/build/models/filter-category/index.d.ts +0 -8
  327. package/build/models/html-meta-data/index.d.ts +0 -25
  328. package/build/models/html-meta-data/index.js +0 -1
  329. package/build/models/html-meta-data/init.d.ts +0 -3
  330. package/build/models/html-meta-data/init.js +0 -1
  331. package/build/models/html-meta-data/translations/index.d.ts +0 -5
  332. package/build/models/image/index.d.ts +0 -4
  333. package/build/models/last-viewed-product/index.d.ts +0 -4
  334. package/build/models/merchant-settings/address/city/index.d.ts +0 -5
  335. package/build/models/merchant-settings/address/country/index.d.ts +0 -7
  336. package/build/models/merchant-settings/address/district/index.d.ts +0 -5
  337. package/build/models/merchant-settings/address/index.d.ts +0 -21
  338. package/build/models/merchant-settings/address/state/index.d.ts +0 -5
  339. package/build/models/merchant-settings/address/type/index.d.ts +0 -4
  340. package/build/models/merchant-settings/address/type/index.js +0 -1
  341. package/build/models/merchant-settings/index.d.ts +0 -24
  342. package/build/models/merchant-settings/index.js +0 -1
  343. package/build/models/merchant-settings/init.d.ts +0 -2
  344. package/build/models/merchant-settings/init.js +0 -1
  345. package/build/models/order/address/city/index.d.ts +0 -5
  346. package/build/models/order/address/country/index.d.ts +0 -7
  347. package/build/models/order/address/district/index.d.ts +0 -5
  348. package/build/models/order/address/index.d.ts +0 -22
  349. package/build/models/order/address/state/index.d.ts +0 -5
  350. package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
  351. package/build/models/order/adjustment/index.d.ts +0 -21
  352. package/build/models/order/adjustment/index.js +0 -1
  353. package/build/models/order/customer/index.d.ts +0 -9
  354. package/build/models/order/gift-line/index.d.ts +0 -4
  355. package/build/models/order/index.d.ts +0 -86
  356. package/build/models/order/index.js +0 -1
  357. package/build/models/order/invoice/index.d.ts +0 -14
  358. package/build/models/order/invoice/index.js +0 -1
  359. package/build/models/order/line-item/base-unit/index.d.ts +0 -20
  360. package/build/models/order/line-item/base-unit/index.js +0 -1
  361. package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
  362. package/build/models/order/line-item/discount/index.d.ts +0 -9
  363. package/build/models/order/line-item/index.d.ts +0 -35
  364. package/build/models/order/line-item/index.js +0 -1
  365. package/build/models/order/line-item/option/index.d.ts +0 -9
  366. package/build/models/order/line-item/option/value/index.d.ts +0 -5
  367. package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
  368. package/build/models/order/line-item/variant/category/index.d.ts +0 -9
  369. package/build/models/order/line-item/variant/index.d.ts +0 -27
  370. package/build/models/order/line-item/variant/price/index.d.ts +0 -8
  371. package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
  372. package/build/models/order/line-item/variant/value/index.d.ts +0 -7
  373. package/build/models/order/package/index.d.ts +0 -26
  374. package/build/models/order/package/index.js +0 -1
  375. package/build/models/order/package/tracking-info/index.d.ts +0 -7
  376. package/build/models/order/payment-method/index.d.ts +0 -8
  377. package/build/models/order/refund/index.d.ts +0 -5
  378. package/build/models/order/refund/line-item/index.d.ts +0 -4
  379. package/build/models/order/refund/settings/index.d.ts +0 -5
  380. package/build/models/order/shipping-line/index.d.ts +0 -11
  381. package/build/models/order/tax-line/index.d.ts +0 -4
  382. package/build/models/order/transaction/error/index.d.ts +0 -5
  383. package/build/models/order/transaction/index.d.ts +0 -34
  384. package/build/models/order/transaction/index.js +0 -1
  385. package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
  386. package/build/models/order/transaction/payment-method-detail/index.js +0 -1
  387. package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
  388. package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
  389. package/build/models/payment-gateway/additional-price/index.js +0 -1
  390. package/build/models/payment-gateway/index.d.ts +0 -42
  391. package/build/models/payment-gateway/index.js +0 -1
  392. package/build/models/payment-gateway/init.d.ts +0 -2
  393. package/build/models/payment-gateway/init.js +0 -1
  394. package/build/models/payment-gateway/settings/index.d.ts +0 -11
  395. package/build/models/payment-gateway/settings/index.js +0 -1
  396. package/build/models/payment-gateway/translation/index.d.ts +0 -5
  397. package/build/models/product/attribute/index.d.ts +0 -24
  398. package/build/models/product/attribute/index.js +0 -1
  399. package/build/models/product/attribute/init.d.ts +0 -2
  400. package/build/models/product/attribute/init.js +0 -1
  401. package/build/models/product/attribute/option/index.d.ts +0 -4
  402. package/build/models/product/attribute/table-cell/index.d.ts +0 -4
  403. package/build/models/product/attribute/table-template/index.d.ts +0 -5
  404. package/build/models/product/attribute/translation/index.d.ts +0 -10
  405. package/build/models/product/attribute-value/index.d.ts +0 -21
  406. package/build/models/product/attribute-value/init.d.ts +0 -2
  407. package/build/models/product/attribute-value/init.js +0 -1
  408. package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
  409. package/build/models/product/base-unit/index.d.ts +0 -10
  410. package/build/models/product/campaign/data/index.d.ts +0 -39
  411. package/build/models/product/campaign/data/index.js +0 -1
  412. package/build/models/product/campaign/filter/index.d.ts +0 -11
  413. package/build/models/product/campaign/filter/index.js +0 -1
  414. package/build/models/product/campaign/index.d.ts +0 -5
  415. package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
  416. package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
  417. package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
  418. package/build/models/product/filter/index.d.ts +0 -83
  419. package/build/models/product/filter/index.js +0 -1
  420. package/build/models/product/image/index.d.ts +0 -8
  421. package/build/models/product/image/init.d.ts +0 -2
  422. package/build/models/product/image/init.js +0 -1
  423. package/build/models/product/index.d.ts +0 -41
  424. package/build/models/product/index.js +0 -1
  425. package/build/models/product/init.d.ts +0 -2
  426. package/build/models/product/init.js +0 -1
  427. package/build/models/product/option-set/index.d.ts +0 -21
  428. package/build/models/product/option-set/init.d.ts +0 -6
  429. package/build/models/product/option-set/init.js +0 -1
  430. package/build/models/product/option-set/option/index.d.ts +0 -70
  431. package/build/models/product/option-set/option/index.js +0 -1
  432. package/build/models/product/option-set/option/init.d.ts +0 -2
  433. package/build/models/product/option-set/option/init.js +0 -1
  434. package/build/models/product/tag/index.d.ts +0 -4
  435. package/build/models/product/variant/index.d.ts +0 -21
  436. package/build/models/product/variant/init.d.ts +0 -2
  437. package/build/models/product/variant/init.js +0 -1
  438. package/build/models/product/variant/price/index.d.ts +0 -9
  439. package/build/models/product/variant/unit/index.d.ts +0 -5
  440. package/build/models/product/variant-type/index.d.ts +0 -6
  441. package/build/models/product/variant-type/init.d.ts +0 -2
  442. package/build/models/product/variant-type/init.js +0 -1
  443. package/build/models/product-option-file/index.d.ts +0 -5
  444. package/build/models/raffle/index.d.ts +0 -68
  445. package/build/models/raffle/index.js +0 -1
  446. package/build/models/raffle/init.d.ts +0 -2
  447. package/build/models/raffle/init.js +0 -1
  448. package/build/models/sales-channel/index.d.ts +0 -15
  449. package/build/models/state/index.d.ts +0 -6
  450. package/build/models/stock-location/address/city/index.d.ts +0 -5
  451. package/build/models/stock-location/address/country/index.d.ts +0 -5
  452. package/build/models/stock-location/address/district/index.d.ts +0 -5
  453. package/build/models/stock-location/address/index.d.ts +0 -13
  454. package/build/models/stock-location/address/state/index.d.ts +0 -5
  455. package/build/models/stock-location/available/index.d.ts +0 -8
  456. package/build/models/stock-location/index.d.ts +0 -23
  457. package/build/models/stock-location/index.js +0 -1
  458. package/build/models/storefront/domain/index.d.ts +0 -7
  459. package/build/models/storefront/index.d.ts +0 -30
  460. package/build/models/storefront/index.js +0 -1
  461. package/build/models/storefront/localization/index.d.ts +0 -6
  462. package/build/models/storefront/meta-templates/index.d.ts +0 -14
  463. package/build/models/storefront/meta-templates/index.js +0 -1
  464. package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
  465. package/build/models/storefront/routing/index.d.ts +0 -12
  466. package/build/models/storefront/theme/index.d.ts +0 -12
  467. package/build/models/storefront/theme/index.js +0 -1
  468. package/build/models/storefront/theme-localization/index.d.ts +0 -13
  469. package/build/models/theme-json/component/index.d.ts +0 -18
  470. package/build/models/theme-json/component/prop/index.d.ts +0 -61
  471. package/build/models/theme-json/component/prop/index.js +0 -1
  472. package/build/models/theme-json/custom-data/index.d.ts +0 -37
  473. package/build/models/theme-json/index.d.ts +0 -11
  474. package/build/models/theme-json/page/component/index.d.ts +0 -5
  475. package/build/models/theme-json/page/index.d.ts +0 -43
  476. package/build/models/theme-json/page/index.js +0 -1
  477. package/build/models/theme-json/settings/color/index.d.ts +0 -12
  478. package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
  479. package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
  480. package/build/models/theme-json/settings/index.d.ts +0 -14
  481. package/build/models/theme-json/settings/index.js +0 -1
  482. package/build/models/variant-type/index.d.ts +0 -21
  483. package/build/models/variant-type/index.js +0 -1
  484. package/build/models/variant-type/init.d.ts +0 -2
  485. package/build/models/variant-type/init.js +0 -1
  486. package/build/models/variant-type/variant-value/index.d.ts +0 -9
  487. package/build/models/variant-type/variant-value/init.d.ts +0 -2
  488. package/build/models/variant-type/variant-value/init.js +0 -1
  489. package/build-cjs/models/category/path-item/init.d.ts +0 -2
  490. package/build-cjs/models/category/path-item/init.js +0 -1
  491. package/build-cjs/models/category/path-item/init.js.map +0 -1
  492. package/build-cjs/models/country/init.d.ts +0 -2
  493. package/build-cjs/models/country/init.js +0 -1
  494. package/build-cjs/models/country/init.js.map +0 -1
  495. package/build-cjs/models/country/location-translations/index.d.ts +0 -5
  496. package/build-cjs/models/customer-settings/index.d.ts +0 -7
  497. package/build-cjs/models/merchant-settings/address/city/index.d.ts +0 -5
  498. package/build-cjs/models/merchant-settings/address/country/index.d.ts +0 -7
  499. package/build-cjs/models/merchant-settings/address/district/index.d.ts +0 -5
  500. package/build-cjs/models/merchant-settings/address/index.d.ts +0 -21
  501. package/build-cjs/models/merchant-settings/address/state/index.d.ts +0 -5
  502. package/build-cjs/models/merchant-settings/address/type/index.d.ts +0 -4
  503. package/build-cjs/models/merchant-settings/address/type/index.js +0 -1
  504. package/build-cjs/models/merchant-settings/address/type/index.js.map +0 -1
  505. package/build-cjs/models/order/line-item/base-unit/index.d.ts +0 -20
  506. package/build-cjs/models/order/line-item/base-unit/index.js +0 -1
  507. package/build-cjs/models/order/line-item/base-unit/index.js.map +0 -1
  508. package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
  509. package/build-cjs/models/order/line-item/variant/unit/index.d.ts +0 -5
  510. package/build-cjs/models/product/base-unit/index.d.ts +0 -10
  511. package/build-cjs/models/product/variant/unit/index.d.ts +0 -5
  512. package/build-cjs/models/product-option-file/index.d.ts +0 -5
  513. package/build-cjs/models/storefront/meta-templates/index.d.ts +0 -14
  514. package/build-cjs/models/storefront/meta-templates/index.js +0 -1
@@ -36,7 +36,6 @@ export declare type IkasProductFilterSettings = {
36
36
  showCollapsedOnDesktop: boolean;
37
37
  showCollapsedOnMobile: boolean;
38
38
  sortType: IkasProductFilterSortType;
39
- customSortedValues: string[] | null;
40
39
  };
41
40
  export declare type IkasProductFacetInput = {
42
41
  id: string;
@@ -64,8 +63,7 @@ export declare enum IkasProductFilterSortType {
64
63
  ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
65
64
  ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
66
65
  PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
67
- PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC",
68
- CUSTOM_SORT = "CUSTOM_SORT"
66
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
69
67
  }
70
68
  export declare enum IkasProductStockFilterValue {
71
69
  IN_STOCK = "in-stock",
@@ -1 +1,2 @@
1
- "use strict";var T,t,e,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductFilterType=void 0,(T=exports.IkasProductFilterType||(exports.IkasProductFilterType={})).ATTRIBUTE="ATTRIBUTE",T.BRAND="BRAND",T.DISCOUNT_RATIO="DISCOUNT_RATIO",T.PRICE="PRICE",T.STOCK_STATUS="STOCK_STATUS",T.TAG="TAG",T.VARIANT_TYPE="VARIANT_TYPE",exports.IkasProductFilterDisplayType=void 0,(t=exports.IkasProductFilterDisplayType||(exports.IkasProductFilterDisplayType={})).BOX="BOX",t.DATE_RANGE="DATE_RANGE",t.LIST="LIST",t.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",t.NUMBER_RANGE="NUMBER_RANGE",t.SWATCH="SWATCH",exports.IkasProductFilterSortType=void 0,(e=exports.IkasProductFilterSortType||(exports.IkasProductFilterSortType={})).ALPHABETICAL_ASC="ALPHABETICAL_ASC",e.ALPHABETICAL_DESC="ALPHABETICAL_DESC",e.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",e.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC",e.CUSTOM_SORT="CUSTOM_SORT",exports.IkasProductStockFilterValue=void 0,(r=exports.IkasProductStockFilterValue||(exports.IkasProductStockFilterValue={})).IN_STOCK="in-stock",r.OUT_OF_STOCK="out-of-stock";
1
+ "use strict";var T,t,e,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductFilterType=void 0,(T=exports.IkasProductFilterType||(exports.IkasProductFilterType={})).ATTRIBUTE="ATTRIBUTE",T.BRAND="BRAND",T.DISCOUNT_RATIO="DISCOUNT_RATIO",T.PRICE="PRICE",T.STOCK_STATUS="STOCK_STATUS",T.TAG="TAG",T.VARIANT_TYPE="VARIANT_TYPE",exports.IkasProductFilterDisplayType=void 0,(t=exports.IkasProductFilterDisplayType||(exports.IkasProductFilterDisplayType={})).BOX="BOX",t.DATE_RANGE="DATE_RANGE",t.LIST="LIST",t.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",t.NUMBER_RANGE="NUMBER_RANGE",t.SWATCH="SWATCH",exports.IkasProductFilterSortType=void 0,(e=exports.IkasProductFilterSortType||(exports.IkasProductFilterSortType={})).ALPHABETICAL_ASC="ALPHABETICAL_ASC",e.ALPHABETICAL_DESC="ALPHABETICAL_DESC",e.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",e.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC",exports.IkasProductStockFilterValue=void 0,(r=exports.IkasProductStockFilterValue||(exports.IkasProductStockFilterValue={})).IN_STOCK="in-stock",r.OUT_OF_STOCK="out-of-stock";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/models/product/filter/index.ts"],"sourcesContent":["import { IkasImage } from \"../../image\";\n\nexport type IkasProductFilter = {\n id: string;\n key: string;\n name: string;\n order: number;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n isMultiSelect: boolean;\n isFacetFilter: boolean | null;\n values?: IkasApplicableProductFilterValue[] | null;\n customValues?: string[] | null;\n settings?: IkasProductFilterSettings | null;\n\n // Extra\n numberRange?: IkasFilterRangeValue | null; // Selected range value for the number slider\n numberRangeLimit?: IkasFilterRangeValue | null; // Limits for the number range slider\n numberRangeListOptions?: IkasProductFilterNumberRangeListOption[] | null; // List options for the number range select\n};\n\nexport type IkasApplicableProductFilterValue = {\n id: string;\n key: string;\n name: string;\n colorCode?: string | null;\n thumbnailImageId?: string | null;\n thumbnailImage?: IkasImage | null;\n resultCount?: number | null;\n\n // Extra\n isSelected: boolean;\n};\n\nexport type IkasProductFilterValue = {\n id: string;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n valueList: string[];\n};\n\nexport type IkasProductFilterSettings = {\n useAndFilter?: boolean | null;\n showCollapsedOnDesktop: boolean;\n showCollapsedOnMobile: boolean;\n sortType: IkasProductFilterSortType;\n customSortedValues: string[] | null;\n};\n\nexport type IkasProductFacetInput = {\n id: string;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n};\n\nexport enum IkasProductFilterType {\n ATTRIBUTE = \"ATTRIBUTE\",\n BRAND = \"BRAND\",\n DISCOUNT_RATIO = \"DISCOUNT_RATIO\",\n PRICE = \"PRICE\",\n STOCK_STATUS = \"STOCK_STATUS\",\n TAG = \"TAG\",\n VARIANT_TYPE = \"VARIANT_TYPE\",\n}\n\nexport enum IkasProductFilterDisplayType {\n BOX = \"BOX\",\n DATE_RANGE = \"DATE_RANGE\",\n LIST = \"LIST\",\n NUMBER_RANGE_LIST = \"NUMBER_RANGE_LIST\",\n NUMBER_RANGE = \"NUMBER_RANGE\",\n SWATCH = \"SWATCH\",\n}\n\nexport enum IkasProductFilterSortType {\n ALPHABETICAL_ASC = \"ALPHABETICAL_ASC\",\n ALPHABETICAL_DESC = \"ALPHABETICAL_DESC\",\n PRODUCT_COUNT_ASC = \"PRODUCT_COUNT_ASC\",\n PRODUCT_COUNT_DESC = \"PRODUCT_COUNT_DESC\",\n CUSTOM_SORT = \"CUSTOM_SORT\",\n}\n\nexport enum IkasProductStockFilterValue {\n IN_STOCK = \"in-stock\",\n OUT_OF_STOCK = \"out-of-stock\",\n}\n\nexport type IkasFilterRangeValue = {\n from: number;\n to: number | undefined | null;\n};\n\nexport type IkasProductFilterNumberRangeListOption = {\n from: number;\n to: number | undefined | null;\n key: string;\n isSelected: boolean;\n};\n"],"names":["IkasProductFilterType","IkasProductFilterDisplayType","IkasProductFilterSortType","IkasProductStockFilterValue"],"mappings":"aAuDA,IAAYA,EAUAC,EASAC,EAQAC,yDA3BAH,QAQXA,2BAAA,GARWA,EAAAA,gCAAAA,QAAAA,sBAQX,KAPC,UAAA,YACAA,EAAA,MAAA,QACAA,EAAA,eAAA,iBACAA,EAAA,MAAA,QACAA,EAAA,aAAA,eACAA,EAAA,IAAA,MACAA,EAAA,aAAA,eAGUC,QAOXA,kCAAA,GAPWA,EAAAA,uCAAAA,QAAAA,6BAOX,KANC,IAAA,MACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,kBAAA,oBACAA,EAAA,aAAA,eACAA,EAAA,OAAA,SAGUC,QAMXA,+BAAA,GANWA,EAAAA,oCAAAA,QAAAA,0BAMX,KALC,iBAAA,mBACAA,EAAA,kBAAA,oBACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBACAA,EAAA,YAAA,cAGUC,QAGXA,iCAAA,GAHWA,EAAAA,QAA2BA,8BAA3BA,oCAGX,KAFC,SAAA,WACAA,EAAA,aAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/product/filter/index.ts"],"sourcesContent":["import { IkasImage } from \"../../image\";\n\nexport type IkasProductFilter = {\n id: string;\n key: string;\n name: string;\n order: number;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n isMultiSelect: boolean;\n isFacetFilter: boolean | null;\n values?: IkasApplicableProductFilterValue[] | null;\n customValues?: string[] | null;\n settings?: IkasProductFilterSettings | null;\n\n // Extra\n numberRange?: IkasFilterRangeValue | null; // Selected range value for the number slider\n numberRangeLimit?: IkasFilterRangeValue | null; // Limits for the number range slider\n numberRangeListOptions?: IkasProductFilterNumberRangeListOption[] | null; // List options for the number range select\n};\n\nexport type IkasApplicableProductFilterValue = {\n id: string;\n key: string;\n name: string;\n colorCode?: string | null;\n thumbnailImageId?: string | null;\n thumbnailImage?: IkasImage | null;\n resultCount?: number | null;\n\n // Extra\n isSelected: boolean;\n};\n\nexport type IkasProductFilterValue = {\n id: string;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n valueList: string[];\n};\n\nexport type IkasProductFilterSettings = {\n useAndFilter?: boolean | null;\n showCollapsedOnDesktop: boolean;\n showCollapsedOnMobile: boolean;\n sortType: IkasProductFilterSortType;\n};\n\nexport type IkasProductFacetInput = {\n id: string;\n type: IkasProductFilterType;\n displayType: IkasProductFilterDisplayType;\n};\n\nexport enum IkasProductFilterType {\n ATTRIBUTE = \"ATTRIBUTE\",\n BRAND = \"BRAND\",\n DISCOUNT_RATIO = \"DISCOUNT_RATIO\",\n PRICE = \"PRICE\",\n STOCK_STATUS = \"STOCK_STATUS\",\n TAG = \"TAG\",\n VARIANT_TYPE = \"VARIANT_TYPE\",\n}\n\nexport enum IkasProductFilterDisplayType {\n BOX = \"BOX\",\n DATE_RANGE = \"DATE_RANGE\",\n LIST = \"LIST\",\n NUMBER_RANGE_LIST = \"NUMBER_RANGE_LIST\",\n NUMBER_RANGE = \"NUMBER_RANGE\",\n SWATCH = \"SWATCH\",\n}\n\nexport enum IkasProductFilterSortType {\n ALPHABETICAL_ASC = \"ALPHABETICAL_ASC\",\n ALPHABETICAL_DESC = \"ALPHABETICAL_DESC\",\n PRODUCT_COUNT_ASC = \"PRODUCT_COUNT_ASC\",\n PRODUCT_COUNT_DESC = \"PRODUCT_COUNT_DESC\",\n}\n\nexport enum IkasProductStockFilterValue {\n IN_STOCK = \"in-stock\",\n OUT_OF_STOCK = \"out-of-stock\",\n}\n\nexport type IkasFilterRangeValue = {\n from: number;\n to: number | undefined | null;\n};\n\nexport type IkasProductFilterNumberRangeListOption = {\n from: number;\n to: number | undefined | null;\n key: string;\n isSelected: boolean;\n};\n"],"names":["IkasProductFilterType","IkasProductFilterDisplayType","IkasProductFilterSortType","IkasProductStockFilterValue"],"mappings":"aAsDA,IAAYA,EAUAC,EASAC,EAOAC,yDA1BAH,QAQXA,2BAAA,GARWA,EAAAA,gCAAAA,QAAAA,sBAQX,KAPC,UAAA,YACAA,EAAA,MAAA,QACAA,EAAA,eAAA,iBACAA,EAAA,MAAA,QACAA,EAAA,aAAA,eACAA,EAAA,IAAA,MACAA,EAAA,aAAA,eAGUC,QAOXA,kCAAA,GAPWA,EAAAA,uCAAAA,QAAAA,6BAOX,KANC,IAAA,MACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,kBAAA,oBACAA,EAAA,aAAA,eACAA,EAAA,OAAA,SAGUC,QAKXA,+BAAA,GALWA,EAAAA,oCAAAA,QAAAA,0BAKX,KAJC,iBAAA,mBACAA,EAAA,kBAAA,oBACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBAGUC,QAGXA,iCAAA,GAHWA,EAAAA,QAA2BA,8BAA3BA,oCAGX,KAFC,SAAA,WACAA,EAAA,aAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductImage=function(e){e.image=e.imageId?{id:e.imageId,isVideo:e.isVideo||!1}:null};
2
+ //# sourceMappingURL=init.js.map
@@ -7,7 +7,6 @@ import { IkasHTMLMetaData } from "../html-meta-data";
7
7
  import { IkasProductTag } from "./tag";
8
8
  import { IkasVariantValue } from "../variant-type/variant-value";
9
9
  import { IkasVariantType } from "../variant-type";
10
- import { IkasProductBaseUnit } from "./base-unit";
11
10
  export declare type IkasProduct = {
12
11
  id: string;
13
12
  name: string;
@@ -22,7 +21,6 @@ export declare type IkasProduct = {
22
21
  attributes: IkasProductAttributeValue[];
23
22
  variantTypes: IkasProductVariantType[];
24
23
  productOptionSetId: string | null;
25
- baseUnit: IkasProductBaseUnit | null;
26
24
  };
27
25
  export declare enum IkasProductType {
28
26
  PHYSICAL = "PHYSICAL",
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductType=void 0,(e=exports.IkasProductType||(exports.IkasProductType={})).PHYSICAL="PHYSICAL",e.DIGITAL="DIGITAL",e.MEMBERSHIP="MEMBERSHIP";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/models/product/index.ts"],"sourcesContent":["import { IkasCategory } from \"../category\";\nimport { IkasProductVariant } from \"./variant\";\nimport { IkasProductAttributeValue } from \"./attribute-value\";\nimport { IkasProductVariantType } from \"./variant-type\";\nimport { IkasBrand } from \"../brand\";\nimport { IkasHTMLMetaData } from \"../html-meta-data\";\nimport { IkasProductTag } from \"./tag\";\nimport { IkasVariantValue } from \"../variant-type/variant-value\";\nimport { IkasVariantType } from \"../variant-type\";\nimport { IkasProductBaseUnit } from \"./base-unit\";\n\nexport type IkasProduct = {\n id: string;\n name: string;\n type: IkasProductType;\n description: string;\n shortDescription: string;\n metaData: IkasHTMLMetaData | null;\n brand: IkasBrand | null;\n categories: IkasCategory[];\n tags: IkasProductTag[] | null;\n variants: IkasProductVariant[];\n attributes: IkasProductAttributeValue[];\n variantTypes: IkasProductVariantType[];\n productOptionSetId: string | null;\n baseUnit: IkasProductBaseUnit | null;\n};\n\nexport enum IkasProductType {\n PHYSICAL = \"PHYSICAL\",\n DIGITAL = \"DIGITAL\",\n MEMBERSHIP = \"MEMBERSHIP\",\n}\n\nexport type IkasDisplayedVariantValue = {\n variant: IkasProductVariant; // TODO remove?\n variantValue: IkasVariantValue;\n hasStock: boolean;\n isSelected: boolean;\n};\n\nexport type IkasDisplayedVariantType = {\n variantType: IkasVariantType;\n displayedVariantValues: IkasDisplayedVariantValue[];\n};\n"],"names":["IkasProductType"],"mappings":"aA4BA,IAAYA,yDAAAA,QAIXA,qBAAA,GAJWA,EAAAA,QAAeA,kBAAfA,wBAIX,KAHC,SAAA,WACAA,EAAA,QAAA,UACAA,EAAA,WAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/product/index.ts"],"sourcesContent":["import { IkasCategory } from \"../category\";\nimport { IkasProductVariant } from \"./variant\";\nimport { IkasProductAttributeValue } from \"./attribute-value\";\nimport { IkasProductVariantType } from \"./variant-type\";\nimport { IkasBrand } from \"../brand\";\nimport { IkasHTMLMetaData } from \"../html-meta-data\";\nimport { IkasProductTag } from \"./tag\";\nimport { IkasVariantValue } from \"../variant-type/variant-value\";\nimport { IkasVariantType } from \"../variant-type\";\n\nexport type IkasProduct = {\n id: string;\n name: string;\n type: IkasProductType;\n description: string;\n shortDescription: string;\n metaData: IkasHTMLMetaData | null;\n brand: IkasBrand | null;\n categories: IkasCategory[];\n tags: IkasProductTag[] | null;\n variants: IkasProductVariant[];\n attributes: IkasProductAttributeValue[];\n variantTypes: IkasProductVariantType[];\n productOptionSetId: string | null;\n};\n\nexport enum IkasProductType {\n PHYSICAL = \"PHYSICAL\",\n DIGITAL = \"DIGITAL\",\n MEMBERSHIP = \"MEMBERSHIP\",\n}\n\nexport type IkasDisplayedVariantValue = {\n variant: IkasProductVariant; // TODO remove?\n variantValue: IkasVariantValue;\n hasStock: boolean;\n isSelected: boolean;\n};\n\nexport type IkasDisplayedVariantType = {\n variantType: IkasVariantType;\n displayedVariantValues: IkasDisplayedVariantValue[];\n};\n"],"names":["IkasProductType"],"mappings":"aA0BA,IAAYA,yDAAAA,QAIXA,qBAAA,GAJWA,EAAAA,QAAeA,kBAAfA,wBAIX,KAHC,SAAA,WACAA,EAAA,QAAA,UACAA,EAAA,WAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("./variant-type/init.js"),a=require("./variant/init.js"),i=require("./attribute-value/init.js"),r=require("../brand/init.js"),e=require("../category/init.js"),n=require("../html-meta-data/init.js");exports.initIkasProduct=function(s,u){s.metaData&&n.initIkasHTMLMetaData(s.metaData,u),s.brand&&r.initIkasBrand(s.brand,u),s.categories.forEach((function(t){return e.initIkasCategory(t,u)})),s.variants.forEach(a.initIkasProductVariant),s.attributes.forEach(i.initIkasProductAttributeValue),s.variantTypes.forEach(t.initIkasProductVariantType)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("./option/index.js"),t=require("./option/init.js");function i(n){n.options.forEach((function(t){var i=n.options.filter((function(n){return n.requiredOptionId===t.id}));i.length&&(t.childOptions=i)}))}function o(n){n.options.forEach((function(n){return e(n)}))}function e(n){n.isOptional||(n.values=[],n.childOptions&&n.childOptions.forEach((function(n){return e(n)})))}exports.initIkasProductOptionSet=function(e,r){e.options.forEach((function(n){n.productOptionSetId=e.id,t.initIkasProductOption(n)})),e.translations&&r&&(!function(t,i,o){var e;if(i&&i.some((function(n){return n.locale===o}))){var r=i.find((function(n){return n.locale===o}));null===(e=null==r?void 0:r.options)||void 0===e||e.forEach((function(i){var o,e=t.options.find((function(n){return n.id===i.id}));e&&(e.name=i.name||e.name,e.optionalText=i.optionalText||e.optionalText,e.type===n.IkasProductOptionType.CHOICE&&(null===(o=i.values)||void 0===o||o.forEach((function(n){var t,i=null===(t=e.selectSettings)||void 0===t?void 0:t.values.find((function(t){return t.id===n.id}));i&&(i.value=n.value||i.value)}))))}))}}(e,e.translations,r),delete e.translations),i(e),o(e)},exports.initOptionValues=o,exports.initValues=e,exports.setChildOptions=i;
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductOptionSelectType=void 0,(e=exports.IkasProductOptionSelectType||(exports.IkasProductOptionSelectType={})).BOX="BOX",e.SELECT="SELECT",e.SWATCH="SWATCH",exports.IkasProductOptionType=void 0,(t=exports.IkasProductOptionType||(exports.IkasProductOptionType={})).CHECKBOX="CHECKBOX",t.CHOICE="CHOICE",t.COLOR_PICKER="COLOR_PICKER",t.DATE_PICKER="DATE_PICKER",t.FILE="FILE",t.IMAGE="IMAGE",t.TEXT="TEXT",t.TEXT_AREA="TEXT_AREA";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("lodash/sortBy"));exports.initIkasProductOption=function(e){var r;e.selectSettings&&((r=e.selectSettings).values=t.default(r.values||[],"order"))};
2
+ //# sourceMappingURL=init.js.map
@@ -3,7 +3,6 @@ import { IkasVariantValue } from "../../variant-type/variant-value";
3
3
  import { IkasProductAttributeValue } from "../attribute-value";
4
4
  import { IkasProductCampaign } from "../campaign";
5
5
  import { IkasProductImage } from "../image";
6
- import { IkasProductVariantUnit } from "./unit";
7
6
  export declare type IkasProductVariant = {
8
7
  id: string;
9
8
  sku: string | null;
@@ -17,5 +16,4 @@ export declare type IkasProductVariant = {
17
16
  sellIfOutOfStock: boolean;
18
17
  images: IkasProductImage[] | null;
19
18
  campaigns?: IkasProductCampaign[];
20
- unit: IkasProductVariantUnit | null;
21
19
  };
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../image/init.js"),t=require("../attribute-value/init.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(require("lodash/sortBy"));exports.initIkasProductVariant=function(r){var a;null===(a=r.images)||void 0===a||a.forEach(e.initIkasProductImage),r.images=i.default(r.images,"order"),r.attributes.forEach(t.initIkasProductAttributeValue)};
2
+ //# sourceMappingURL=init.js.map
@@ -1,9 +1,7 @@
1
1
  export declare type IkasProductPrice = {
2
2
  buyPrice: number | null;
3
3
  currency: string | null;
4
- currencySymbol: string | null;
5
4
  discountPrice: number | null;
6
5
  priceListId: string | null;
7
6
  sellPrice: number;
8
- unitPrice: number | null;
9
7
  };
@@ -1,6 +1,5 @@
1
1
  import { IkasVariantType } from "../../variant-type";
2
2
  export declare type IkasProductVariantType = {
3
- order: number;
4
3
  variantType: IkasVariantType;
5
4
  variantValueIds: string[];
6
5
  };
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductVariantType=function(e){var a=[];e.variantValueIds.forEach((function(t){var r=e.variantType.values.find((function(e){return e.id===t}));r&&a.push(r)})),e.variantType.values=a};
2
+ //# sourceMappingURL=init.js.map
@@ -15,11 +15,13 @@ export declare type IkasRaffle = {
15
15
  dateRange: IkasRaffleDateRangeField | null;
16
16
  metadata: IkasRaffleMetaData | null;
17
17
  name: string;
18
+ participantCount?: number | null;
18
19
  requiredCustomerAccount: boolean;
19
20
  status: boolean;
20
21
  variants: IkasRaffleAppliedProduct[] | null;
21
22
  products: IkasProduct[];
22
23
  verificationType: IkasRaffleVerificationType;
24
+ isCustomerWinner: boolean | null;
23
25
  };
24
26
  export declare enum IkasRaffleMetadataTargetType {
25
27
  RAFFLE = "RAFFLE"
@@ -50,9 +52,7 @@ export declare type IkasRaffleParticipant = {
50
52
  email: string;
51
53
  applicationDate: number;
52
54
  phone: string | null;
53
- isDeliveredCargo: boolean | null;
54
- raffle: IkasRaffle | null;
55
- status: IkasRaffleParticipantStatus | null;
55
+ isWinner: boolean | null;
56
56
  extraData: Record<string, any> | null;
57
57
  appliedProduct: IkasRaffleAppliedProduct;
58
58
  };
@@ -60,9 +60,3 @@ export declare type IkasRaffleAppliedProduct = {
60
60
  productId: string;
61
61
  variantId: string;
62
62
  };
63
- export declare enum IkasRaffleParticipantStatus {
64
- COMPLETED = "COMPLETED",
65
- IN_PROGRESS = "IN_PROGRESS",
66
- LOSER = "LOSER",
67
- WINNER = "WINNER"
68
- }
@@ -1 +1,2 @@
1
- "use strict";var a,e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasRaffleVerificationType=void 0,(a=exports.IkasRaffleVerificationType||(exports.IkasRaffleVerificationType={})).EMAIL="EMAIL",a.MERSIS="MERSIS",exports.IkasRaffleMetadataTargetType=void 0,(exports.IkasRaffleMetadataTargetType||(exports.IkasRaffleMetadataTargetType={})).RAFFLE="RAFFLE",exports.IkasRaffleParticipantStatus=void 0,(e=exports.IkasRaffleParticipantStatus||(exports.IkasRaffleParticipantStatus={})).COMPLETED="COMPLETED",e.IN_PROGRESS="IN_PROGRESS",e.LOSER="LOSER",e.WINNER="WINNER";
1
+ "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasRaffleVerificationType=void 0,(e=exports.IkasRaffleVerificationType||(exports.IkasRaffleVerificationType={})).EMAIL="EMAIL",e.MERSIS="MERSIS",exports.IkasRaffleMetadataTargetType=void 0,(exports.IkasRaffleMetadataTargetType||(exports.IkasRaffleMetadataTargetType={})).RAFFLE="RAFFLE";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/models/raffle/index.ts"],"sourcesContent":["import { IkasProduct } from \"../product\";\n\nexport type IkasRaffleDateRangeField = {\n start: number | null;\n end: number | null;\n};\n\nexport enum IkasRaffleVerificationType {\n EMAIL = \"EMAIL\",\n MERSIS = \"MERSIS\",\n}\n\nexport type IkasRaffle = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n dateRange: IkasRaffleDateRangeField | null;\n metadata: IkasRaffleMetaData | null;\n name: string;\n requiredCustomerAccount: boolean;\n status: boolean;\n variants: IkasRaffleAppliedProduct[] | null;\n products: IkasProduct[];\n verificationType: IkasRaffleVerificationType;\n};\n\nexport enum IkasRaffleMetadataTargetType {\n RAFFLE = \"RAFFLE\",\n}\n\nexport type IkasRaffleMetaData = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n description: string | null;\n pageTitle: string | null;\n slug: string;\n targetId: string | null;\n targetType: IkasRaffleMetadataTargetType | null;\n canonicals: string[] | null;\n disableIndex: boolean | null;\n};\n\nexport type IkasRaffleParticipant = {\n id: string | null;\n createdAt: number | null;\n updatedAt: number | null;\n deleted: boolean | null;\n customerId: string | null;\n raffleId: string;\n firstName: string;\n lastName: string;\n fullName: string | null;\n email: string;\n applicationDate: number;\n phone: string | null;\n isDeliveredCargo: boolean | null;\n\n raffle: IkasRaffle | null;\n status: IkasRaffleParticipantStatus | null;\n extraData: Record<string, any> | null;\n appliedProduct: IkasRaffleAppliedProduct;\n};\n\nexport type IkasRaffleAppliedProduct = {\n productId: string;\n variantId: string;\n};\n\nexport enum IkasRaffleParticipantStatus {\n COMPLETED = \"COMPLETED\",\n IN_PROGRESS = \"IN_PROGRESS\",\n LOSER = \"LOSER\",\n WINNER = \"WINNER\",\n}\n"],"names":["IkasRaffleVerificationType","IkasRaffleParticipantStatus","IkasRaffleMetadataTargetType"],"mappings":"aAOA,IAAYA,EAgEAC,yDAhEAD,QAGXA,gCAAA,GAHWA,EAAAA,qCAAAA,QAAAA,2BAGX,KAFC,MAAA,QACAA,EAAA,OAAA,SAkBUE,QAEXA,kCAAA,GAFWA,uCAAAA,QAAAA,6BAEX,KADC,OAAA,SA2CUD,QAKXA,iCAAA,GALWA,EAAAA,QAA2BA,8BAA3BA,oCAKX,KAJC,UAAA,YACAA,EAAA,YAAA,cACAA,EAAA,MAAA,QACAA,EAAA,OAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/raffle/index.ts"],"sourcesContent":["import { IkasProduct } from \"../product\";\n\nexport type IkasRaffleDateRangeField = {\n start: number | null;\n end: number | null;\n};\n\nexport enum IkasRaffleVerificationType {\n EMAIL = \"EMAIL\",\n MERSIS = \"MERSIS\",\n}\n\nexport type IkasRaffle = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n dateRange: IkasRaffleDateRangeField | null;\n metadata: IkasRaffleMetaData | null;\n name: string;\n participantCount?: number | null;\n requiredCustomerAccount: boolean;\n status: boolean;\n variants: IkasRaffleAppliedProduct[] | null;\n products: IkasProduct[];\n verificationType: IkasRaffleVerificationType;\n isCustomerWinner: boolean | null;\n};\n\nexport enum IkasRaffleMetadataTargetType {\n RAFFLE = \"RAFFLE\",\n}\n\nexport type IkasRaffleMetaData = {\n id: string;\n createdAt: number;\n updatedAt: number;\n deleted: boolean | null;\n description: string | null;\n pageTitle: string | null;\n slug: string;\n targetId: string | null;\n targetType: IkasRaffleMetadataTargetType | null;\n canonicals: string[] | null;\n disableIndex: boolean | null;\n};\n\nexport type IkasRaffleParticipant = {\n id: string | null;\n createdAt: number | null;\n updatedAt: number | null;\n deleted: boolean | null;\n customerId: string | null;\n raffleId: string;\n firstName: string;\n lastName: string;\n fullName: string | null;\n email: string;\n applicationDate: number;\n phone: string | null;\n isWinner: boolean | null;\n\n extraData: Record<string, any> | null;\n appliedProduct: IkasRaffleAppliedProduct;\n};\n\nexport type IkasRaffleAppliedProduct = {\n productId: string;\n variantId: string;\n};\n"],"names":["IkasRaffleVerificationType","IkasRaffleMetadataTargetType"],"mappings":"aAOA,IAAYA,yDAAAA,QAGXA,gCAAA,GAHWA,EAAAA,qCAAAA,QAAAA,2BAGX,KAFC,MAAA,QACAA,EAAA,OAAA,SAoBUC,QAEXA,kCAAA,GAFWA,QAA4BA,+BAA5BA,qCAEX,KADC,OAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../product/init.js");exports.initIkasRaffle=function(e,r){e.products.map((function(e){return t.initIkasProduct(e,r)}))};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var I,_;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStockLocationDeliveryTime=void 0,(I=exports.IkasStockLocationDeliveryTime||(exports.IkasStockLocationDeliveryTime={})).TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",I.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",I.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",I.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",I.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",I.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS",exports.IkasStockLocationType=void 0,(_=exports.IkasStockLocationType||(exports.IkasStockLocationType={})).PHYSICAL="PHYSICAL",_.VIRTUAL="VIRTUAL";
2
+ //# sourceMappingURL=index.js.map
@@ -2,7 +2,6 @@ import { IkasStorefrontLocalization } from "./localization";
2
2
  import { IkasStorefrontDomain } from "./domain";
3
3
  import { IkasStorefrontRouting } from "./routing";
4
4
  import { IkasStorefrontTheme } from "./theme";
5
- import { IkasStorefontMetaTemplates } from "./meta-templates";
6
5
  export declare enum IkasStorefrontStatus {
7
6
  WAITING = "WAITING",
8
7
  READY = "READY"
@@ -20,9 +19,6 @@ export declare type IkasStorefront = {
20
19
  analytics4Id: string | null;
21
20
  universalAnalyticsId: string | null;
22
21
  tiktokPixelId: string | null;
23
- token: string | null;
24
- metaTemplates: IkasStorefontMetaTemplates[] | null;
25
- robotsTxt: string | null;
26
22
  localizations: IkasStorefrontLocalization[];
27
23
  routings: IkasStorefrontRouting[];
28
24
  domains: IkasStorefrontDomain[];
@@ -1 +1,2 @@
1
1
  "use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontStatus=void 0,(t=exports.IkasStorefrontStatus||(exports.IkasStorefrontStatus={})).WAITING="WAITING",t.READY="READY";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/models/storefront/index.ts"],"sourcesContent":["import { IkasStorefrontLocalization } from \"./localization\";\nimport { IkasStorefrontDomain } from \"./domain\";\nimport { IkasStorefrontRouting } from \"./routing\";\nimport { IkasStorefrontTheme } from \"./theme\";\n\nexport enum IkasStorefrontStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefront = {\n id: string;\n name: string;\n status: IkasStorefrontStatus;\n\n mainStorefrontThemeId: string | null;\n pickUpStockLocationIds: string[] | null;\n emailSettingsId: string | null;\n salesChannelId: string | null;\n fbpId: string | null;\n gtmId: string | null;\n analytics4Id: string | null;\n universalAnalyticsId: string | null;\n tiktokPixelId: string | null;\n token: string | null;\n\n localizations: IkasStorefrontLocalization[];\n routings: IkasStorefrontRouting[];\n domains: IkasStorefrontDomain[];\n themes: IkasStorefrontTheme[];\n};\n"],"names":["IkasStorefrontStatus"],"mappings":"aAKA,IAAYA,yDAAAA,QAGXA,0BAAA,GAHWA,EAAAA,QAAoBA,uBAApBA,6BAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/storefront/index.ts"],"sourcesContent":["import { IkasStorefrontLocalization } from \"./localization\";\nimport { IkasStorefrontDomain } from \"./domain\";\nimport { IkasStorefrontRouting } from \"./routing\";\nimport { IkasStorefrontTheme } from \"./theme\";\n\nexport enum IkasStorefrontStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefront = {\n id: string;\n name: string;\n status: IkasStorefrontStatus;\n\n mainStorefrontThemeId: string | null;\n pickUpStockLocationIds: string[] | null;\n emailSettingsId: string | null;\n salesChannelId: string | null;\n fbpId: string | null;\n gtmId: string | null;\n analytics4Id: string | null;\n universalAnalyticsId: string | null;\n tiktokPixelId: string | null;\n\n localizations: IkasStorefrontLocalization[];\n routings: IkasStorefrontRouting[];\n domains: IkasStorefrontDomain[];\n themes: IkasStorefrontTheme[];\n};\n"],"names":["IkasStorefrontStatus"],"mappings":"aAKA,IAAYA,yDAAAA,QAGXA,0BAAA,GAHWA,EAAAA,QAAoBA,uBAApBA,6BAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
@@ -7,6 +7,4 @@ export declare type IkasStorefrontRouting = {
7
7
  path: string | null;
8
8
  priceListId: string | null;
9
9
  dynamicCurrencySettings: IkasStorefrontDynamicCurrencySettings | null;
10
- currencyCode: string | null;
11
- currencySymbol: string | null;
12
10
  };
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasStorefrontThemeStatus=void 0,(e=exports.IkasStorefrontThemeStatus||(exports.IkasStorefrontThemeStatus={})).WAITING="WAITING",e.READY="READY";
2
+ //# sourceMappingURL=index.js.map
@@ -8,6 +8,4 @@ export declare type IkasStorefrontThemeLocalization = {
8
8
  privacyPolicy: string | null;
9
9
  returnPolicy: string | null;
10
10
  termsOfService: string | null;
11
- imprint: string | null;
12
- shippingPolicy: string | null;
13
11
  };
@@ -2,15 +2,14 @@ import { IkasThemeJsonComponentProp } from "./prop";
2
2
  export declare type IkasThemeJsonComponent = {
3
3
  id: string;
4
4
  dir: string;
5
- displayName?: string;
6
- description?: string;
5
+ displayName: string;
6
+ description: string;
7
7
  props: IkasThemeJsonComponentProp[];
8
8
  isHeader: boolean;
9
9
  isFooter: boolean;
10
- translations?: {
10
+ translations: {
11
11
  [locale: string]: IkasThemeJsonComponentTranslation;
12
12
  };
13
- defaultPropValues?: Record<string, any>;
14
13
  };
15
14
  export declare type IkasThemeJsonComponentTranslation = {
16
15
  displayName: string | null;
@@ -2,18 +2,17 @@ import { IkasProductAttributeType } from "../../../..";
2
2
  export declare type IkasThemeJsonComponentProp = {
3
3
  id: string;
4
4
  name: string;
5
- displayName?: string;
6
- description?: string;
5
+ displayName: string;
6
+ description: string;
7
7
  type: IkasThemeJsonComponentPropType;
8
8
  isRequired: boolean;
9
9
  customDataId?: string | null;
10
- groupId?: string;
11
10
  requiredPropId?: string;
12
11
  requiredEnumOptionId?: string;
13
12
  requiredEnumOptionValue?: string;
14
13
  attributeTypes?: IkasProductAttributeType[] | null;
15
14
  sliderData: IkasThemeJsonSliderData;
16
- translations?: {
15
+ translations: {
17
16
  [locale: string]: IkasPropTranslation;
18
17
  };
19
18
  };
@@ -1 +1,2 @@
1
1
  "use strict";var T;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasThemeJsonComponentPropType=void 0,(T=exports.IkasThemeJsonComponentPropType||(exports.IkasThemeJsonComponentPropType={})).TEXT="TEXT",T.RICH_TEXT="RICH_TEXT",T.BOOLEAN="BOOLEAN",T.IMAGE="IMAGE",T.IMAGE_LIST="IMAGE_LIST",T.LINK="LINK",T.LIST_OF_LINK="LIST_OF_LINK",T.PRODUCT_DETAIL="PRODUCT_DETAIL",T.PRODUCT_LIST="PRODUCT_LIST",T.PRODUCT_ATTRIBUTE="PRODUCT_ATTRIBUTE",T.PRODUCT_ATTRIBUTE_LIST="PRODUCT_ATTRIBUTE_LIST",T.BRAND="BRAND",T.BRAND_LIST="BRAND_LIST",T.CATEGORY="CATEGORY",T.CATEGORY_LIST="CATEGORY_LIST",T.COLOR="COLOR",T.CUSTOM="CUSTOM",T.COMPONENT="COMPONENT",T.COMPONENT_LIST="COMPONENT_LIST",T.BLOG="BLOG",T.BLOG_LIST="BLOG_LIST",T.BLOG_CATEGORY="BLOG_CATEGORY",T.BLOG_CATEGORY_LIST="BLOG_CATEGORY_LIST",T.RAFFLE="RAFFLE",T.RAFFLE_LIST="RAFFLE_LIST",T.SLIDER="SLIDER",T.OBJECT="OBJECT",T.STATIC_LIST="STATIC_LIST",T.DYNAMIC_LIST="DYNAMIC_LIST",T.ENUM="ENUM";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var R;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasThemeJsonPageType=void 0,(R=exports.IkasThemeJsonPageType||(exports.IkasThemeJsonPageType={})).INDEX="INDEX",R.CATEGORY="CATEGORY",R.BRAND="BRAND",R.PRODUCT="PRODUCT",R.CUSTOM="CUSTOM",R.ACCOUNT="ACCOUNT",R.ADDRESSES="ADDRESSES",R.ORDERS="ORDERS",R.ORDER_DETAIL="ORDER_DETAIL",R.LOGIN="LOGIN",R.REGISTER="REGISTER",R.FORGOT_PASSWORD="FORGOT_PASSWORD",R.RECOVER_PASSWORD="RECOVER_PASSWORD",R.CART="CART",R.FAVORITE_PRODUCTS="FAVORITE_PRODUCTS",R.SEARCH="SEARCH",R.NOT_FOUND="NOT_FOUND",R.BLOG="BLOG",R.BLOG_INDEX="BLOG_INDEX",R.BLOG_CATEGORY="BLOG_CATEGORY",R.CHECKOUT="CHECKOUT",R.RAFFLE="RAFFLE",R.RAFFLE_DETAIL="RAFFLE_DETAIL",R.RAFFLE_ACCOUNT="RAFFLE_ACCOUNT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasThemeJsonStockPreference=void 0,(e=exports.IkasThemeJsonStockPreference||(exports.IkasThemeJsonStockPreference={})).HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",e.SHOW_ALL="SHOW_ALL",e.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasVariantSelectionType=void 0,(e=exports.IkasVariantSelectionType||(exports.IkasVariantSelectionType={})).CHOICE="CHOICE",e.COLOR="COLOR";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("./variant-value/init.js");exports.initIkasVariantType=function(a,e){a.values.forEach((function(e){e.variantTypeId=a.id,n.initIkasVariantValue(e)})),a.translations&&e&&(!function(n,a,e){if(a&&a.some((function(n){return n.locale===e}))){var i=a.find((function(n){return n.locale===e}));(null==i?void 0:i.name)&&(n.name=i.name),(null==i?void 0:i.values)&&n.values.forEach((function(n){var a,e=null===(a=i.values)||void 0===a?void 0:a.find((function(a){return a.id===n.id}));e&&e.name&&(n.name=e.name)}))}}(a,a.translations,e),delete a.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasVariantValue=function(e){e.thumbnailImage={id:e.id,isVideo:!1}};
2
+ //# sourceMappingURL=init.js.map
package/package.json CHANGED
@@ -1,21 +1,15 @@
1
1
  {
2
2
  "name": "@ikas/storefront-models",
3
- "version": "4.0.0-alpha.79",
3
+ "version": "4.0.0-alpha.8",
4
4
  "author": "Umut Ozan Yıldırım",
5
5
  "license": "ISC",
6
6
  "description": "Data models to be used in an ikas storefront application.",
7
7
  "main": "./build-cjs/index.js",
8
- "module": "./build/index.js",
8
+ "module": "./src/index.ts",
9
9
  "files": [
10
- "./build",
10
+ "./src",
11
11
  "./build-cjs"
12
12
  ],
13
- "exports": {
14
- ".": {
15
- "require": "./build-cjs/index.js",
16
- "import": "./build/index.js"
17
- }
18
- },
19
13
  "scripts": {
20
14
  "pack": "npm pack",
21
15
  "release": "npm publish",