@ikas/storefront-models 4.0.0-alpha.7 → 4.0.0-alpha.71

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 (510) hide show
  1. package/build/_virtual/_tslib.js +1 -0
  2. package/{src/index.ts → build/index.d.ts} +171 -213
  3. package/build/index.js +1 -0
  4. package/build/models/base/index.d.ts +6 -0
  5. package/build/models/base/init.d.ts +6 -0
  6. package/build/models/base/init.js +1 -0
  7. package/{src/models/blog/category/index.ts → build/models/blog/category/index.d.ts} +9 -11
  8. package/build/models/blog/category/init.d.ts +11 -0
  9. package/build/models/blog/category/init.js +1 -0
  10. package/build/models/blog/content/index.d.ts +4 -0
  11. package/build/models/blog/index.d.ts +24 -0
  12. package/build/models/blog/init.d.ts +2 -0
  13. package/build/models/blog/init.js +1 -0
  14. package/build/models/blog/meta-data/index.d.ts +14 -0
  15. package/build/models/blog/meta-data/index.js +1 -0
  16. package/{src/models/blog/content/index.ts → build/models/blog/tag/index.d.ts} +4 -5
  17. package/build/models/blog/writer/index.d.ts +4 -0
  18. package/build/models/brand/index.d.ts +23 -0
  19. package/build/models/brand/index.js +1 -0
  20. package/build/models/brand/init.d.ts +2 -0
  21. package/build/models/brand/init.js +1 -0
  22. package/build/models/brand/translation/index.d.ts +5 -0
  23. package/build/models/campaign-offer/index.d.ts +37 -0
  24. package/build/models/campaign-offer/index.js +1 -0
  25. package/build/models/campaign-offer/product/index.d.ts +24 -0
  26. package/build/models/campaign-offer/product/index.js +1 -0
  27. package/build/models/cart/available-shipping-method/index.d.ts +12 -0
  28. package/build/models/cart/available-shipping-method/index.js +1 -0
  29. package/build/models/cart/campaign-offer/index.d.ts +19 -0
  30. package/build/models/cart/campaign-offer/index.js +1 -0
  31. package/build/models/cart/index.d.ts +11 -0
  32. package/build/models/category/index.d.ts +27 -0
  33. package/build/models/category/index.js +1 -0
  34. package/build/models/category/init.d.ts +2 -0
  35. package/build/models/category/init.js +1 -0
  36. package/build/models/category/path-item/index.d.ts +10 -0
  37. package/build/models/category/path-item/init.d.ts +2 -0
  38. package/build/models/category/path-item/init.js +1 -0
  39. package/build/models/category/translations/index.d.ts +5 -0
  40. package/build/models/checkout/index.d.ts +2 -0
  41. package/build/models/checkout-settings/index.d.ts +22 -0
  42. package/build/models/checkout-settings/index.js +1 -0
  43. package/build/models/checkout-settings/option/index.d.ts +4 -0
  44. package/build/models/checkout-settings/price/index.d.ts +5 -0
  45. package/build/models/city/index.d.ts +10 -0
  46. package/build/models/contact-form/index.d.ts +7 -0
  47. package/build/models/country/index.d.ts +16 -0
  48. package/build/models/country/init.d.ts +2 -0
  49. package/build/models/country/init.js +1 -0
  50. package/build/models/country/location-translations/index.d.ts +5 -0
  51. package/build/models/customer/address/city/index.d.ts +5 -0
  52. package/build/models/customer/address/country/index.d.ts +7 -0
  53. package/build/models/customer/address/district/index.d.ts +5 -0
  54. package/build/models/customer/address/index.d.ts +25 -0
  55. package/build/models/customer/address/state/index.d.ts +5 -0
  56. package/build/models/customer/attribute/index.d.ts +20 -0
  57. package/build/models/customer/attribute/index.js +1 -0
  58. package/build/models/customer/attribute/init.d.ts +2 -0
  59. package/build/models/customer/attribute/init.js +1 -0
  60. package/build/models/customer/attribute/option/index.d.ts +7 -0
  61. package/build/models/customer/attribute/sales-channel/index.d.ts +16 -0
  62. package/build/models/customer/attribute/sales-channel/index.js +1 -0
  63. package/build/models/customer/attribute/translation/index.d.ts +7 -0
  64. package/build/models/customer/attribute/translation/option/index.d.ts +4 -0
  65. package/build/models/customer/attribute/value/index.d.ts +9 -0
  66. package/build/models/customer/index.d.ts +43 -0
  67. package/build/models/customer/index.js +1 -0
  68. package/build/models/customer/review/index.d.ts +24 -0
  69. package/build/models/customer/review/index.js +1 -0
  70. package/build/models/customer/review/init.d.ts +2 -0
  71. package/build/models/customer/review/init.js +1 -0
  72. package/build/models/customer/review/settings/index.d.ts +4 -0
  73. package/build/models/customer/review/summary/index.d.ts +8 -0
  74. package/build/models/customer/review/summary/star/index.d.ts +4 -0
  75. package/build/models/customer-settings/index.d.ts +7 -0
  76. package/build/models/district/index.d.ts +10 -0
  77. package/build/models/favorite-product/index.d.ts +5 -0
  78. package/build/models/filter-category/index.d.ts +8 -0
  79. package/build/models/html-meta-data/index.d.ts +25 -0
  80. package/build/models/html-meta-data/index.js +1 -0
  81. package/build/models/html-meta-data/init.d.ts +3 -0
  82. package/build/models/html-meta-data/init.js +1 -0
  83. package/build/models/html-meta-data/translations/index.d.ts +5 -0
  84. package/build/models/image/index.d.ts +4 -0
  85. package/build/models/last-viewed-product/index.d.ts +4 -0
  86. package/build/models/merchant-settings/address/city/index.d.ts +5 -0
  87. package/build/models/merchant-settings/address/country/index.d.ts +7 -0
  88. package/build/models/merchant-settings/address/district/index.d.ts +5 -0
  89. package/build/models/merchant-settings/address/index.d.ts +21 -0
  90. package/build/models/merchant-settings/address/state/index.d.ts +5 -0
  91. package/build/models/merchant-settings/address/type/index.d.ts +4 -0
  92. package/build/models/merchant-settings/address/type/index.js +1 -0
  93. package/build/models/merchant-settings/index.d.ts +24 -0
  94. package/build/models/merchant-settings/index.js +1 -0
  95. package/build/models/merchant-settings/init.d.ts +2 -0
  96. package/build/models/merchant-settings/init.js +1 -0
  97. package/build/models/order/address/city/index.d.ts +5 -0
  98. package/build/models/order/address/country/index.d.ts +7 -0
  99. package/build/models/order/address/district/index.d.ts +5 -0
  100. package/build/models/order/address/index.d.ts +22 -0
  101. package/build/models/order/address/state/index.d.ts +5 -0
  102. package/build/models/order/adjustment/applied-order-line/index.d.ts +6 -0
  103. package/build/models/order/adjustment/index.d.ts +21 -0
  104. package/build/models/order/adjustment/index.js +1 -0
  105. package/build/models/order/customer/index.d.ts +9 -0
  106. package/build/models/order/gift-line/index.d.ts +4 -0
  107. package/build/models/order/index.d.ts +86 -0
  108. package/build/models/order/index.js +1 -0
  109. package/build/models/order/invoice/index.d.ts +14 -0
  110. package/build/models/order/invoice/index.js +1 -0
  111. package/build/models/order/line-item/base-unit/index.d.ts +20 -0
  112. package/build/models/order/line-item/base-unit/index.js +1 -0
  113. package/build/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
  114. package/build/models/order/line-item/discount/index.d.ts +9 -0
  115. package/build/models/order/line-item/index.d.ts +35 -0
  116. package/build/models/order/line-item/index.js +1 -0
  117. package/build/models/order/line-item/option/index.d.ts +9 -0
  118. package/build/models/order/line-item/option/value/index.d.ts +5 -0
  119. package/build/models/order/line-item/variant/brand/index.d.ts +4 -0
  120. package/build/models/order/line-item/variant/category/index.d.ts +9 -0
  121. package/build/models/order/line-item/variant/index.d.ts +27 -0
  122. package/build/models/order/line-item/variant/price/index.d.ts +8 -0
  123. package/build/models/order/line-item/variant/unit/index.d.ts +5 -0
  124. package/build/models/order/line-item/variant/value/index.d.ts +7 -0
  125. package/build/models/order/package/index.d.ts +26 -0
  126. package/build/models/order/package/index.js +1 -0
  127. package/build/models/order/package/tracking-info/index.d.ts +7 -0
  128. package/build/models/order/payment-method/index.d.ts +8 -0
  129. package/build/models/order/refund/index.d.ts +5 -0
  130. package/build/models/order/refund/line-item/index.d.ts +4 -0
  131. package/build/models/order/refund/settings/index.d.ts +5 -0
  132. package/build/models/order/shipping-line/index.d.ts +11 -0
  133. package/build/models/order/tax-line/index.d.ts +4 -0
  134. package/build/models/order/transaction/error/index.d.ts +5 -0
  135. package/build/models/order/transaction/index.d.ts +34 -0
  136. package/build/models/order/transaction/index.js +1 -0
  137. package/build/models/order/transaction/payment-method-detail/index.d.ts +22 -0
  138. package/build/models/order/transaction/payment-method-detail/index.js +1 -0
  139. package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
  140. package/build/models/payment-gateway/additional-price/index.d.ts +14 -0
  141. package/build/models/payment-gateway/additional-price/index.js +1 -0
  142. package/build/models/payment-gateway/index.d.ts +42 -0
  143. package/build/models/payment-gateway/index.js +1 -0
  144. package/build/models/payment-gateway/init.d.ts +2 -0
  145. package/build/models/payment-gateway/init.js +1 -0
  146. package/build/models/payment-gateway/settings/index.d.ts +11 -0
  147. package/build/models/payment-gateway/settings/index.js +1 -0
  148. package/build/models/payment-gateway/translation/index.d.ts +5 -0
  149. package/build/models/product/attribute/index.d.ts +24 -0
  150. package/build/models/product/attribute/index.js +1 -0
  151. package/build/models/product/attribute/init.d.ts +2 -0
  152. package/build/models/product/attribute/init.js +1 -0
  153. package/build/models/product/attribute/option/index.d.ts +4 -0
  154. package/build/models/product/attribute/table-cell/index.d.ts +4 -0
  155. package/build/models/product/attribute/table-template/index.d.ts +5 -0
  156. package/build/models/product/attribute/translation/index.d.ts +10 -0
  157. package/build/models/product/attribute-value/index.d.ts +21 -0
  158. package/build/models/product/attribute-value/init.d.ts +2 -0
  159. package/build/models/product/attribute-value/init.js +1 -0
  160. package/build/models/product/back-in-stock-settings/index.d.ts +3 -0
  161. package/build/models/product/base-unit/index.d.ts +10 -0
  162. package/build/models/product/campaign/data/index.d.ts +39 -0
  163. package/build/models/product/campaign/data/index.js +1 -0
  164. package/build/models/product/campaign/filter/index.d.ts +11 -0
  165. package/build/models/product/campaign/filter/index.js +1 -0
  166. package/build/models/product/campaign/index.d.ts +5 -0
  167. package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
  168. package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
  169. package/build/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
  170. package/build/models/product/filter/index.d.ts +83 -0
  171. package/build/models/product/filter/index.js +1 -0
  172. package/build/models/product/image/index.d.ts +8 -0
  173. package/build/models/product/image/init.d.ts +2 -0
  174. package/build/models/product/image/init.js +1 -0
  175. package/build/models/product/index.d.ts +41 -0
  176. package/build/models/product/index.js +1 -0
  177. package/build/models/product/init.d.ts +2 -0
  178. package/build/models/product/init.js +1 -0
  179. package/build/models/product/option-set/index.d.ts +21 -0
  180. package/build/models/product/option-set/init.d.ts +6 -0
  181. package/build/models/product/option-set/init.js +1 -0
  182. package/build/models/product/option-set/option/index.d.ts +70 -0
  183. package/build/models/product/option-set/option/index.js +1 -0
  184. package/build/models/product/option-set/option/init.d.ts +2 -0
  185. package/build/models/product/option-set/option/init.js +1 -0
  186. package/build/models/product/tag/index.d.ts +4 -0
  187. package/build/models/product/variant/index.d.ts +21 -0
  188. package/build/models/product/variant/init.d.ts +2 -0
  189. package/build/models/product/variant/init.js +1 -0
  190. package/build/models/product/variant/price/index.d.ts +9 -0
  191. package/build/models/product/variant/unit/index.d.ts +5 -0
  192. package/build/models/product/variant-type/index.d.ts +6 -0
  193. package/build/models/product/variant-type/init.d.ts +2 -0
  194. package/build/models/product/variant-type/init.js +1 -0
  195. package/build/models/product-option-file/index.d.ts +5 -0
  196. package/build/models/raffle/index.d.ts +68 -0
  197. package/build/models/raffle/index.js +1 -0
  198. package/build/models/raffle/init.d.ts +2 -0
  199. package/build/models/raffle/init.js +1 -0
  200. package/build/models/sales-channel/index.d.ts +15 -0
  201. package/build/models/state/index.d.ts +6 -0
  202. package/build/models/stock-location/address/city/index.d.ts +5 -0
  203. package/build/models/stock-location/address/country/index.d.ts +5 -0
  204. package/build/models/stock-location/address/district/index.d.ts +5 -0
  205. package/build/models/stock-location/address/index.d.ts +13 -0
  206. package/build/models/stock-location/address/state/index.d.ts +5 -0
  207. package/build/models/stock-location/available/index.d.ts +8 -0
  208. package/build/models/stock-location/index.d.ts +23 -0
  209. package/build/models/stock-location/index.js +1 -0
  210. package/build/models/storefront/domain/index.d.ts +7 -0
  211. package/build/models/storefront/index.d.ts +27 -0
  212. package/build/models/storefront/index.js +1 -0
  213. package/build/models/storefront/localization/index.d.ts +6 -0
  214. package/build/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
  215. package/build/models/storefront/routing/index.d.ts +12 -0
  216. package/build/models/storefront/theme/index.d.ts +12 -0
  217. package/build/models/storefront/theme/index.js +1 -0
  218. package/build/models/storefront/theme-localization/index.d.ts +13 -0
  219. package/build/models/theme-json/component/index.d.ts +18 -0
  220. package/build/models/theme-json/component/prop/index.d.ts +61 -0
  221. package/build/models/theme-json/component/prop/index.js +1 -0
  222. package/build/models/theme-json/custom-data/index.d.ts +37 -0
  223. package/build/models/theme-json/index.d.ts +11 -0
  224. package/build/models/theme-json/page/component/index.d.ts +5 -0
  225. package/build/models/theme-json/page/index.d.ts +43 -0
  226. package/build/models/theme-json/page/index.js +1 -0
  227. package/build/models/theme-json/settings/color/index.d.ts +12 -0
  228. package/build/models/theme-json/settings/favicon/index.d.ts +3 -0
  229. package/build/models/theme-json/settings/font-family/index.d.ts +4 -0
  230. package/build/models/theme-json/settings/index.d.ts +14 -0
  231. package/build/models/theme-json/settings/index.js +1 -0
  232. package/build/models/variant-type/index.d.ts +21 -0
  233. package/build/models/variant-type/index.js +1 -0
  234. package/build/models/variant-type/init.d.ts +2 -0
  235. package/build/models/variant-type/init.js +1 -0
  236. package/build/models/variant-type/variant-value/index.d.ts +9 -0
  237. package/build/models/variant-type/variant-value/init.d.ts +2 -0
  238. package/build/models/variant-type/variant-value/init.js +1 -0
  239. package/build-cjs/_virtual/_tslib.js +0 -1
  240. package/build-cjs/index.d.ts +15 -0
  241. package/build-cjs/index.js +1 -2
  242. package/build-cjs/models/base/init.js +0 -1
  243. package/build-cjs/models/blog/category/init.js +0 -1
  244. package/build-cjs/models/blog/init.js +0 -1
  245. package/build-cjs/models/blog/meta-data/index.js +0 -1
  246. package/build-cjs/models/brand/index.js +0 -1
  247. package/build-cjs/models/brand/init.js +0 -1
  248. package/build-cjs/models/campaign-offer/index.js +0 -1
  249. package/build-cjs/models/campaign-offer/product/index.js +0 -1
  250. package/build-cjs/models/cart/available-shipping-method/index.js +0 -1
  251. package/build-cjs/models/cart/campaign-offer/index.js +0 -1
  252. package/build-cjs/models/category/index.js +0 -1
  253. package/build-cjs/models/category/init.js +1 -2
  254. package/build-cjs/models/category/init.js.map +1 -1
  255. package/build-cjs/models/category/path-item/index.d.ts +2 -0
  256. package/build-cjs/models/category/path-item/init.d.ts +2 -0
  257. package/build-cjs/models/category/path-item/init.js +1 -0
  258. package/build-cjs/models/category/path-item/init.js.map +1 -0
  259. package/build-cjs/models/checkout-settings/index.js +0 -1
  260. package/build-cjs/models/checkout-settings/price/index.d.ts +1 -0
  261. package/build-cjs/models/country/index.d.ts +2 -0
  262. package/build-cjs/models/country/init.d.ts +2 -0
  263. package/build-cjs/models/country/init.js +1 -0
  264. package/build-cjs/models/country/init.js.map +1 -0
  265. package/build-cjs/models/country/location-translations/index.d.ts +5 -0
  266. package/build-cjs/models/customer/attribute/index.js +0 -1
  267. package/build-cjs/models/customer/attribute/init.js +0 -1
  268. package/build-cjs/models/customer/attribute/sales-channel/index.js +0 -1
  269. package/build-cjs/models/customer/index.js +0 -1
  270. package/build-cjs/models/customer/review/index.js +0 -1
  271. package/build-cjs/models/customer/review/init.js +0 -1
  272. package/build-cjs/models/customer-settings/index.d.ts +7 -0
  273. package/build-cjs/models/html-meta-data/index.js +0 -1
  274. package/build-cjs/models/html-meta-data/init.js +0 -1
  275. package/build-cjs/models/merchant-settings/address/city/index.d.ts +5 -0
  276. package/build-cjs/models/merchant-settings/address/country/index.d.ts +7 -0
  277. package/build-cjs/models/merchant-settings/address/district/index.d.ts +5 -0
  278. package/build-cjs/models/merchant-settings/address/index.d.ts +21 -0
  279. package/build-cjs/models/merchant-settings/address/state/index.d.ts +5 -0
  280. package/build-cjs/models/merchant-settings/address/type/index.d.ts +4 -0
  281. package/build-cjs/models/merchant-settings/address/type/index.js +1 -0
  282. package/build-cjs/models/merchant-settings/address/type/index.js.map +1 -0
  283. package/build-cjs/models/merchant-settings/index.d.ts +3 -0
  284. package/build-cjs/models/merchant-settings/index.js +0 -1
  285. package/build-cjs/models/merchant-settings/index.js.map +1 -1
  286. package/build-cjs/models/merchant-settings/init.js +0 -1
  287. package/build-cjs/models/order/adjustment/index.js +0 -1
  288. package/build-cjs/models/order/index.d.ts +3 -1
  289. package/build-cjs/models/order/index.js +1 -2
  290. package/build-cjs/models/order/index.js.map +1 -1
  291. package/build-cjs/models/order/invoice/index.js +0 -1
  292. package/build-cjs/models/order/line-item/base-unit/index.d.ts +20 -0
  293. package/build-cjs/models/order/line-item/base-unit/index.js +1 -0
  294. package/build-cjs/models/order/line-item/base-unit/index.js.map +1 -0
  295. package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +4 -0
  296. package/build-cjs/models/order/line-item/index.d.ts +3 -0
  297. package/build-cjs/models/order/line-item/index.js +0 -1
  298. package/build-cjs/models/order/line-item/index.js.map +1 -1
  299. package/build-cjs/models/order/line-item/variant/index.d.ts +4 -0
  300. package/build-cjs/models/order/line-item/variant/price/index.d.ts +1 -0
  301. package/build-cjs/models/order/line-item/variant/unit/index.d.ts +5 -0
  302. package/build-cjs/models/order/package/index.js +0 -1
  303. package/build-cjs/models/order/transaction/index.d.ts +1 -1
  304. package/build-cjs/models/order/transaction/index.js +0 -1
  305. package/build-cjs/models/order/transaction/index.js.map +1 -1
  306. package/build-cjs/models/order/transaction/payment-method-detail/index.js +0 -1
  307. package/build-cjs/models/payment-gateway/additional-price/index.js +0 -1
  308. package/build-cjs/models/payment-gateway/index.js +0 -1
  309. package/build-cjs/models/payment-gateway/init.js +0 -1
  310. package/build-cjs/models/payment-gateway/settings/index.js +0 -1
  311. package/build-cjs/models/product/attribute/index.d.ts +3 -1
  312. package/build-cjs/models/product/attribute/index.js +1 -2
  313. package/build-cjs/models/product/attribute/index.js.map +1 -1
  314. package/build-cjs/models/product/attribute/init.js +0 -1
  315. package/build-cjs/models/product/attribute-value/init.js +0 -1
  316. package/build-cjs/models/product/base-unit/index.d.ts +10 -0
  317. package/build-cjs/models/product/campaign/data/index.js +0 -1
  318. package/build-cjs/models/product/campaign/filter/index.js +0 -1
  319. package/build-cjs/models/product/filter/index.d.ts +3 -1
  320. package/build-cjs/models/product/filter/index.js +1 -2
  321. package/build-cjs/models/product/filter/index.js.map +1 -1
  322. package/build-cjs/models/product/image/init.js +0 -1
  323. package/build-cjs/models/product/index.d.ts +2 -0
  324. package/build-cjs/models/product/index.js +0 -1
  325. package/build-cjs/models/product/index.js.map +1 -1
  326. package/build-cjs/models/product/init.js +0 -1
  327. package/build-cjs/models/product/option-set/init.js +0 -1
  328. package/build-cjs/models/product/option-set/option/index.js +0 -1
  329. package/build-cjs/models/product/option-set/option/init.js +0 -1
  330. package/build-cjs/models/product/variant/index.d.ts +2 -0
  331. package/build-cjs/models/product/variant/init.js +0 -1
  332. package/build-cjs/models/product/variant/price/index.d.ts +2 -0
  333. package/build-cjs/models/product/variant/unit/index.d.ts +5 -0
  334. package/build-cjs/models/product/variant-type/index.d.ts +1 -0
  335. package/build-cjs/models/product/variant-type/init.js +0 -1
  336. package/build-cjs/models/product-option-file/index.d.ts +5 -0
  337. package/build-cjs/models/raffle/index.d.ts +9 -3
  338. package/build-cjs/models/raffle/index.js +1 -2
  339. package/build-cjs/models/raffle/index.js.map +1 -1
  340. package/build-cjs/models/raffle/init.js +0 -1
  341. package/build-cjs/models/stock-location/index.js +0 -1
  342. package/build-cjs/models/storefront/index.d.ts +1 -0
  343. package/build-cjs/models/storefront/index.js +0 -1
  344. package/build-cjs/models/storefront/index.js.map +1 -1
  345. package/build-cjs/models/storefront/routing/index.d.ts +2 -0
  346. package/build-cjs/models/storefront/theme/index.js +0 -1
  347. package/build-cjs/models/storefront/theme-localization/index.d.ts +2 -0
  348. package/build-cjs/models/theme-json/component/index.d.ts +4 -3
  349. package/build-cjs/models/theme-json/component/prop/index.d.ts +4 -3
  350. package/build-cjs/models/theme-json/component/prop/index.js +0 -1
  351. package/build-cjs/models/theme-json/page/index.js +0 -1
  352. package/build-cjs/models/theme-json/settings/index.js +0 -1
  353. package/build-cjs/models/variant-type/index.js +0 -1
  354. package/build-cjs/models/variant-type/init.js +0 -1
  355. package/build-cjs/models/variant-type/variant-value/init.js +0 -1
  356. package/package.json +9 -3
  357. package/src/models/base/index.ts +0 -6
  358. package/src/models/base/init.ts +0 -14
  359. package/src/models/blog/category/init.ts +0 -33
  360. package/src/models/blog/index.ts +0 -26
  361. package/src/models/blog/init.ts +0 -7
  362. package/src/models/blog/meta-data/index.ts +0 -16
  363. package/src/models/blog/tag/index.ts +0 -5
  364. package/src/models/blog/writer/index.ts +0 -4
  365. package/src/models/brand/index.ts +0 -26
  366. package/src/models/brand/init.ts +0 -27
  367. package/src/models/brand/translation/index.ts +0 -5
  368. package/src/models/campaign-offer/index.ts +0 -43
  369. package/src/models/campaign-offer/product/index.ts +0 -27
  370. package/src/models/cart/available-shipping-method/index.ts +0 -13
  371. package/src/models/cart/campaign-offer/index.ts +0 -24
  372. package/src/models/cart/index.ts +0 -12
  373. package/src/models/category/index.ts +0 -30
  374. package/src/models/category/init.ts +0 -33
  375. package/src/models/category/path-item/index.ts +0 -9
  376. package/src/models/category/translations/index.ts +0 -5
  377. package/src/models/checkout/index.ts +0 -3
  378. package/src/models/checkout-settings/index.ts +0 -24
  379. package/src/models/checkout-settings/option/index.ts +0 -4
  380. package/src/models/checkout-settings/price/index.ts +0 -4
  381. package/src/models/city/index.ts +0 -11
  382. package/src/models/contact-form/index.ts +0 -7
  383. package/src/models/country/index.ts +0 -15
  384. package/src/models/customer/address/city/index.ts +0 -5
  385. package/src/models/customer/address/country/index.ts +0 -7
  386. package/src/models/customer/address/district/index.ts +0 -5
  387. package/src/models/customer/address/index.tsx +0 -27
  388. package/src/models/customer/address/state/index.ts +0 -5
  389. package/src/models/customer/attribute/index.ts +0 -22
  390. package/src/models/customer/attribute/init.ts +0 -34
  391. package/src/models/customer/attribute/option/index.ts +0 -7
  392. package/src/models/customer/attribute/sales-channel/index.ts +0 -18
  393. package/src/models/customer/attribute/translation/index.ts +0 -8
  394. package/src/models/customer/attribute/translation/option/index.ts +0 -4
  395. package/src/models/customer/attribute/value/index.ts +0 -12
  396. package/src/models/customer/index.ts +0 -48
  397. package/src/models/customer/review/index.ts +0 -28
  398. package/src/models/customer/review/init.ts +0 -7
  399. package/src/models/customer/review/settings/index.ts +0 -4
  400. package/src/models/customer/review/summary/index.ts +0 -9
  401. package/src/models/customer/review/summary/star/index.ts +0 -4
  402. package/src/models/district/index.ts +0 -11
  403. package/src/models/favorite-product/index.ts +0 -6
  404. package/src/models/filter-category/index.ts +0 -9
  405. package/src/models/html-meta-data/index.ts +0 -28
  406. package/src/models/html-meta-data/init.ts +0 -27
  407. package/src/models/html-meta-data/translations/index.ts +0 -5
  408. package/src/models/image/index.ts +0 -4
  409. package/src/models/last-viewed-product/index.ts +0 -4
  410. package/src/models/merchant-settings/index.ts +0 -25
  411. package/src/models/merchant-settings/init.ts +0 -7
  412. package/src/models/order/address/city/index.ts +0 -5
  413. package/src/models/order/address/country/index.ts +0 -7
  414. package/src/models/order/address/district/index.ts +0 -5
  415. package/src/models/order/address/index.ts +0 -25
  416. package/src/models/order/address/state/index.ts +0 -5
  417. package/src/models/order/adjustment/applied-order-line/index.ts +0 -6
  418. package/src/models/order/adjustment/index.ts +0 -24
  419. package/src/models/order/customer/index.ts +0 -9
  420. package/src/models/order/gift-line/index.ts +0 -4
  421. package/src/models/order/index.ts +0 -90
  422. package/src/models/order/invoice/index.ts +0 -15
  423. package/src/models/order/line-item/discount/index.ts +0 -10
  424. package/src/models/order/line-item/index.ts +0 -34
  425. package/src/models/order/line-item/option/index.ts +0 -10
  426. package/src/models/order/line-item/option/value/index.ts +0 -5
  427. package/src/models/order/line-item/variant/brand/index.ts +0 -4
  428. package/src/models/order/line-item/variant/category/index.ts +0 -10
  429. package/src/models/order/line-item/variant/index.ts +0 -26
  430. package/src/models/order/line-item/variant/price/index.ts +0 -7
  431. package/src/models/order/line-item/variant/value/index.ts +0 -7
  432. package/src/models/order/package/index.ts +0 -28
  433. package/src/models/order/package/tracking-info/index.ts +0 -7
  434. package/src/models/order/payment-method/index.ts +0 -9
  435. package/src/models/order/refund/index.ts +0 -6
  436. package/src/models/order/refund/line-item/index.ts +0 -4
  437. package/src/models/order/refund/settings/index.ts +0 -5
  438. package/src/models/order/shipping-line/index.ts +0 -12
  439. package/src/models/order/tax-line/index.ts +0 -4
  440. package/src/models/order/transaction/error/index.ts +0 -5
  441. package/src/models/order/transaction/index.ts +0 -39
  442. package/src/models/order/transaction/payment-method-detail/index.ts +0 -25
  443. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +0 -7
  444. package/src/models/payment-gateway/additional-price/index.ts +0 -16
  445. package/src/models/payment-gateway/index.ts +0 -47
  446. package/src/models/payment-gateway/init.ts +0 -26
  447. package/src/models/payment-gateway/settings/index.ts +0 -12
  448. package/src/models/payment-gateway/translation/index.ts +0 -5
  449. package/src/models/product/attribute/index.ts +0 -24
  450. package/src/models/product/attribute/init.ts +0 -34
  451. package/src/models/product/attribute/option/index.ts +0 -4
  452. package/src/models/product/attribute/table-cell/index.ts +0 -4
  453. package/src/models/product/attribute/table-template/index.ts +0 -6
  454. package/src/models/product/attribute/translation/index.ts +0 -11
  455. package/src/models/product/attribute-value/index.ts +0 -26
  456. package/src/models/product/attribute-value/init.ts +0 -7
  457. package/src/models/product/back-in-stock-settings/index.ts +0 -3
  458. package/src/models/product/campaign/data/index.ts +0 -43
  459. package/src/models/product/campaign/filter/index.ts +0 -12
  460. package/src/models/product/campaign/index.ts +0 -6
  461. package/src/models/product/campaign/product-buyx-then-gety/index.ts +0 -19
  462. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +0 -4
  463. package/src/models/product/campaign/product-fixed-discount/index.ts +0 -13
  464. package/src/models/product/filter/index.ts +0 -96
  465. package/src/models/product/image/index.ts +0 -10
  466. package/src/models/product/image/init.ts +0 -7
  467. package/src/models/product/index.ts +0 -43
  468. package/src/models/product/init.ts +0 -16
  469. package/src/models/product/option-set/index.ts +0 -25
  470. package/src/models/product/option-set/init.ts +0 -77
  471. package/src/models/product/option-set/option/index.ts +0 -81
  472. package/src/models/product/option-set/option/init.ts +0 -13
  473. package/src/models/product/tag/index.ts +0 -4
  474. package/src/models/product/variant/index.ts +0 -20
  475. package/src/models/product/variant/init.ts +0 -10
  476. package/src/models/product/variant/price/index.ts +0 -7
  477. package/src/models/product/variant-type/index.ts +0 -6
  478. package/src/models/product/variant-type/init.ts +0 -15
  479. package/src/models/raffle/index.ts +0 -70
  480. package/src/models/raffle/init.ts +0 -6
  481. package/src/models/sales-channel/index.ts +0 -17
  482. package/src/models/state/index.ts +0 -7
  483. package/src/models/stock-location/address/city/index.ts +0 -5
  484. package/src/models/stock-location/address/country/index.ts +0 -5
  485. package/src/models/stock-location/address/district/index.ts +0 -5
  486. package/src/models/stock-location/address/index.ts +0 -14
  487. package/src/models/stock-location/address/state/index.ts +0 -5
  488. package/src/models/stock-location/available/index.ts +0 -9
  489. package/src/models/stock-location/index.ts +0 -26
  490. package/src/models/storefront/domain/index.ts +0 -7
  491. package/src/models/storefront/index.ts +0 -30
  492. package/src/models/storefront/localization/index.tsx +0 -6
  493. package/src/models/storefront/routing/dynamic-currency/index.ts +0 -4
  494. package/src/models/storefront/routing/index.tsx +0 -11
  495. package/src/models/storefront/theme/index.tsx +0 -13
  496. package/src/models/storefront/theme-localization/index.tsx +0 -13
  497. package/src/models/theme-json/component/index.ts +0 -19
  498. package/src/models/theme-json/component/prop/index.ts +0 -65
  499. package/src/models/theme-json/custom-data/index.ts +0 -46
  500. package/src/models/theme-json/index.ts +0 -12
  501. package/src/models/theme-json/page/component/index.ts +0 -11
  502. package/src/models/theme-json/page/index.ts +0 -46
  503. package/src/models/theme-json/settings/color/index.ts +0 -13
  504. package/src/models/theme-json/settings/favicon/index.ts +0 -3
  505. package/src/models/theme-json/settings/font-family/index.ts +0 -4
  506. package/src/models/theme-json/settings/index.ts +0 -16
  507. package/src/models/variant-type/index.ts +0 -25
  508. package/src/models/variant-type/init.ts +0 -37
  509. package/src/models/variant-type/variant-value/index.ts +0 -12
  510. package/src/models/variant-type/variant-value/init.ts +0 -5
@@ -0,0 +1,21 @@
1
+ import { IkasProductPrice } from "./price";
2
+ import { IkasVariantValue } from "../../variant-type/variant-value";
3
+ import { IkasProductAttributeValue } from "../attribute-value";
4
+ import { IkasProductCampaign } from "../campaign";
5
+ import { IkasProductImage } from "../image";
6
+ import { IkasProductVariantUnit } from "./unit";
7
+ export declare type IkasProductVariant = {
8
+ id: string;
9
+ sku: string | null;
10
+ barcodeList: string[] | null;
11
+ variantValues: IkasVariantValue[];
12
+ attributes: IkasProductAttributeValue[];
13
+ price: IkasProductPrice;
14
+ stock: number;
15
+ isActive: boolean;
16
+ productId: string;
17
+ sellIfOutOfStock: boolean;
18
+ images: IkasProductImage[] | null;
19
+ campaigns?: IkasProductCampaign[];
20
+ unit: IkasProductVariantUnit | null;
21
+ };
@@ -0,0 +1,2 @@
1
+ import { IkasProductVariant } from ".";
2
+ export declare function initIkasProductVariant(variant: IkasProductVariant): void;
@@ -0,0 +1 @@
1
+ import{initIkasProductImage as i}from"../image/init.js";import{initIkasProductAttributeValue as r}from"../attribute-value/init.js";import o from"lodash/sortBy";function t(t){var a;null===(a=t.images)||void 0===a||a.forEach(i),t.images=o(t.images,"order"),t.attributes.forEach(r)}export{t as initIkasProductVariant};
@@ -0,0 +1,9 @@
1
+ export declare type IkasProductPrice = {
2
+ buyPrice: number | null;
3
+ currency: string | null;
4
+ currencySymbol: string | null;
5
+ discountPrice: number | null;
6
+ priceListId: string | null;
7
+ sellPrice: number;
8
+ unitPrice: number | null;
9
+ };
@@ -0,0 +1,5 @@
1
+ import { IkasProductUnitType } from "../../../order/line-item/base-unit";
2
+ export declare type IkasProductVariantUnit = {
3
+ amount: number | null;
4
+ type: IkasProductUnitType;
5
+ };
@@ -0,0 +1,6 @@
1
+ import { IkasVariantType } from "../../variant-type";
2
+ export declare type IkasProductVariantType = {
3
+ order: number;
4
+ variantType: IkasVariantType;
5
+ variantValueIds: string[];
6
+ };
@@ -0,0 +1,2 @@
1
+ import { IkasProductVariantType } from ".";
2
+ export declare function initIkasProductVariantType(variantType: IkasProductVariantType): void;
@@ -0,0 +1 @@
1
+ function a(a){var n=[];a.variantValueIds.forEach((function(r){var i=a.variantType.values.find((function(a){return a.id===r}));i&&n.push(i)})),a.variantType.values=n}export{a as initIkasProductVariantType};
@@ -0,0 +1,5 @@
1
+ export declare type IkasProductOptionFileUrl = {
2
+ fields: any;
3
+ optionUrl: string;
4
+ url: string;
5
+ };
@@ -0,0 +1,68 @@
1
+ import { IkasProduct } from "../product";
2
+ export declare type IkasRaffleDateRangeField = {
3
+ start: number | null;
4
+ end: number | null;
5
+ };
6
+ export declare enum IkasRaffleVerificationType {
7
+ EMAIL = "EMAIL",
8
+ MERSIS = "MERSIS"
9
+ }
10
+ export declare type IkasRaffle = {
11
+ id: string;
12
+ createdAt: number;
13
+ updatedAt: number;
14
+ deleted: boolean | null;
15
+ dateRange: IkasRaffleDateRangeField | null;
16
+ metadata: IkasRaffleMetaData | null;
17
+ name: string;
18
+ requiredCustomerAccount: boolean;
19
+ status: boolean;
20
+ variants: IkasRaffleAppliedProduct[] | null;
21
+ products: IkasProduct[];
22
+ verificationType: IkasRaffleVerificationType;
23
+ };
24
+ export declare enum IkasRaffleMetadataTargetType {
25
+ RAFFLE = "RAFFLE"
26
+ }
27
+ export declare type IkasRaffleMetaData = {
28
+ id: string;
29
+ createdAt: number;
30
+ updatedAt: number;
31
+ deleted: boolean | null;
32
+ description: string | null;
33
+ pageTitle: string | null;
34
+ slug: string;
35
+ targetId: string | null;
36
+ targetType: IkasRaffleMetadataTargetType | null;
37
+ canonicals: string[] | null;
38
+ disableIndex: boolean | null;
39
+ };
40
+ export declare type IkasRaffleParticipant = {
41
+ id: string | null;
42
+ createdAt: number | null;
43
+ updatedAt: number | null;
44
+ deleted: boolean | null;
45
+ customerId: string | null;
46
+ raffleId: string;
47
+ firstName: string;
48
+ lastName: string;
49
+ fullName: string | null;
50
+ email: string;
51
+ applicationDate: number;
52
+ phone: string | null;
53
+ isDeliveredCargo: boolean | null;
54
+ raffle: IkasRaffle | null;
55
+ status: IkasRaffleParticipantStatus | null;
56
+ extraData: Record<string, any> | null;
57
+ appliedProduct: IkasRaffleAppliedProduct;
58
+ };
59
+ export declare type IkasRaffleAppliedProduct = {
60
+ productId: string;
61
+ variantId: string;
62
+ };
63
+ export declare enum IkasRaffleParticipantStatus {
64
+ COMPLETED = "COMPLETED",
65
+ IN_PROGRESS = "IN_PROGRESS",
66
+ LOSER = "LOSER",
67
+ WINNER = "WINNER"
68
+ }
@@ -0,0 +1 @@
1
+ var E,R,S;!function(E){E.EMAIL="EMAIL",E.MERSIS="MERSIS"}(E||(E={})),function(E){E.RAFFLE="RAFFLE"}(R||(R={})),function(E){E.COMPLETED="COMPLETED",E.IN_PROGRESS="IN_PROGRESS",E.LOSER="LOSER",E.WINNER="WINNER"}(S||(S={}));export{R as IkasRaffleMetadataTargetType,S as IkasRaffleParticipantStatus,E as IkasRaffleVerificationType};
@@ -0,0 +1,2 @@
1
+ import { IkasRaffle } from ".";
2
+ export declare function initIkasRaffle(raffle: IkasRaffle, locale: string | null): void;
@@ -0,0 +1 @@
1
+ import{initIkasProduct as t}from"../product/init.js";function o(o,r){o.products.map((function(o){return t(o,r)}))}export{o as initIkasRaffle};
@@ -0,0 +1,15 @@
1
+ export declare type IkasSalesChannel = {
2
+ id: string;
3
+ name: string;
4
+ priceListId: string | null;
5
+ stockLocations: IkasSalesChannelStockLocation[] | null;
6
+ paymentGateways: IkasSalesChannelPaymentGateway[] | null;
7
+ };
8
+ export declare type IkasSalesChannelStockLocation = {
9
+ id: string;
10
+ order: number;
11
+ };
12
+ export declare type IkasSalesChannelPaymentGateway = {
13
+ id: string;
14
+ order: number;
15
+ };
@@ -0,0 +1,6 @@
1
+ import { IkasBaseModel } from "../base";
2
+ export declare type IkasState = {
3
+ countryId: string;
4
+ name: string;
5
+ stateCode: string | null;
6
+ } & IkasBaseModel;
@@ -0,0 +1,5 @@
1
+ export declare type IkasStockLocationAddressCity = {
2
+ code: string | null;
3
+ id: string | null;
4
+ name: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasStockLocationAddressCountry = {
2
+ code: string | null;
3
+ id: string | null;
4
+ name: string;
5
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasStockLocationAddressDistrict = {
2
+ code: string | null;
3
+ id: string | null;
4
+ name: string | null;
5
+ };
@@ -0,0 +1,13 @@
1
+ import { IkasStockLocationAddressCity } from "./city";
2
+ import { IkasStockLocationAddressCountry } from "./country";
3
+ import { IkasStockLocationAddressDistrict } from "./district";
4
+ import { IkasStockLocationAddressState } from "./state";
5
+ export declare type IkasStockLocationAddress = {
6
+ address: string | null;
7
+ city: IkasStockLocationAddressCity | null;
8
+ country: IkasStockLocationAddressCountry | null;
9
+ district: IkasStockLocationAddressDistrict | null;
10
+ phone: string | null;
11
+ postalCode: string | null;
12
+ state: IkasStockLocationAddressState | null;
13
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasStockLocationAddressState = {
2
+ code: string | null;
3
+ id: string | null;
4
+ name: string | null;
5
+ };
@@ -0,0 +1,8 @@
1
+ import { IkasStockLocationType } from "..";
2
+ import { IkasStockLocationAddress } from "../address";
3
+ export declare type IkasAvailableStockLocation = {
4
+ address: IkasStockLocationAddress | null;
5
+ id: string;
6
+ name: string;
7
+ type: IkasStockLocationType | null;
8
+ };
@@ -0,0 +1,23 @@
1
+ import { IkasStockLocationAddress } from "./address";
2
+ export declare type IkasStockLocation = {
3
+ address: IkasStockLocationAddress | null;
4
+ deliveryTime: IkasStockLocationDeliveryTime | null;
5
+ description: string | null;
6
+ isRemindOutOfStockEnabled: boolean | null;
7
+ name: string;
8
+ outOfStockMailList: string[] | null;
9
+ type: IkasStockLocationType | null;
10
+ id: string;
11
+ };
12
+ export declare enum IkasStockLocationDeliveryTime {
13
+ TWO_IN_FOUR_DAYS = "TWO_IN_FOUR_DAYS",
14
+ WITHIN_FOUR_HOURS = "WITHIN_FOUR_HOURS",
15
+ WITHIN_ONE_HOUR = "WITHIN_ONE_HOUR",
16
+ WITHIN_PLUS_FIVE_DAYS = "WITHIN_PLUS_FIVE_DAYS",
17
+ WITHIN_TWENTY_FOUR_HOURS = "WITHIN_TWENTY_FOUR_HOURS",
18
+ WITHIN_TWO_HOURS = "WITHIN_TWO_HOURS"
19
+ }
20
+ export declare enum IkasStockLocationType {
21
+ PHYSICAL = "PHYSICAL",
22
+ VIRTUAL = "VIRTUAL"
23
+ }
@@ -0,0 +1 @@
1
+ var _,I;!function(_){_.TWO_IN_FOUR_DAYS="TWO_IN_FOUR_DAYS",_.WITHIN_FOUR_HOURS="WITHIN_FOUR_HOURS",_.WITHIN_ONE_HOUR="WITHIN_ONE_HOUR",_.WITHIN_PLUS_FIVE_DAYS="WITHIN_PLUS_FIVE_DAYS",_.WITHIN_TWENTY_FOUR_HOURS="WITHIN_TWENTY_FOUR_HOURS",_.WITHIN_TWO_HOURS="WITHIN_TWO_HOURS"}(_||(_={})),function(_){_.PHYSICAL="PHYSICAL",_.VIRTUAL="VIRTUAL"}(I||(I={}));export{_ as IkasStockLocationDeliveryTime,I as IkasStockLocationType};
@@ -0,0 +1,7 @@
1
+ export declare type IkasStorefrontDomain = {
2
+ id: string;
3
+ merchantDomainId: string;
4
+ name: string;
5
+ redirectDomainName: string | null;
6
+ isDefault: boolean | null;
7
+ };
@@ -0,0 +1,27 @@
1
+ import { IkasStorefrontLocalization } from "./localization";
2
+ import { IkasStorefrontDomain } from "./domain";
3
+ import { IkasStorefrontRouting } from "./routing";
4
+ import { IkasStorefrontTheme } from "./theme";
5
+ export declare enum IkasStorefrontStatus {
6
+ WAITING = "WAITING",
7
+ READY = "READY"
8
+ }
9
+ export declare type IkasStorefront = {
10
+ id: string;
11
+ name: string;
12
+ status: IkasStorefrontStatus;
13
+ mainStorefrontThemeId: string | null;
14
+ pickUpStockLocationIds: string[] | null;
15
+ emailSettingsId: string | null;
16
+ salesChannelId: string | null;
17
+ fbpId: string | null;
18
+ gtmId: string | null;
19
+ analytics4Id: string | null;
20
+ universalAnalyticsId: string | null;
21
+ tiktokPixelId: string | null;
22
+ token: string | null;
23
+ localizations: IkasStorefrontLocalization[];
24
+ routings: IkasStorefrontRouting[];
25
+ domains: IkasStorefrontDomain[];
26
+ themes: IkasStorefrontTheme[];
27
+ };
@@ -0,0 +1 @@
1
+ var A;!function(A){A.WAITING="WAITING",A.READY="READY"}(A||(A={}));export{A as IkasStorefrontStatus};
@@ -0,0 +1,6 @@
1
+ export declare type IkasStorefrontLocalization = {
2
+ id: string;
3
+ isDefault: boolean;
4
+ locale: string;
5
+ name: string;
6
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasStorefrontDynamicCurrencySettings = {
2
+ roundingFormat: string | null;
3
+ targetCurrencyCode: string;
4
+ };
@@ -0,0 +1,12 @@
1
+ import { IkasStorefrontDynamicCurrencySettings } from "./dynamic-currency";
2
+ export declare type IkasStorefrontRouting = {
3
+ id: string;
4
+ countryCodes: string[] | null;
5
+ domain: string | null;
6
+ locale: string;
7
+ path: string | null;
8
+ priceListId: string | null;
9
+ dynamicCurrencySettings: IkasStorefrontDynamicCurrencySettings | null;
10
+ currencyCode: string | null;
11
+ currencySymbol: string | null;
12
+ };
@@ -0,0 +1,12 @@
1
+ export declare enum IkasStorefrontThemeStatus {
2
+ WAITING = "WAITING",
3
+ READY = "READY"
4
+ }
5
+ export declare type IkasStorefrontTheme = {
6
+ id: string;
7
+ isMainTheme: boolean;
8
+ name: string;
9
+ status: IkasStorefrontThemeStatus;
10
+ themeId: string;
11
+ themeVersionId: string;
12
+ };
@@ -0,0 +1 @@
1
+ var A;!function(A){A.WAITING="WAITING",A.READY="READY"}(A||(A={}));export{A as IkasStorefrontThemeStatus};
@@ -0,0 +1,13 @@
1
+ import { IkasThemeJson } from "../../theme-json";
2
+ export declare type IkasStorefrontThemeLocalization = {
3
+ id: string;
4
+ locale: string;
5
+ storefrontId: string;
6
+ storefrontThemeId: string;
7
+ themeJson: IkasThemeJson;
8
+ privacyPolicy: string | null;
9
+ returnPolicy: string | null;
10
+ termsOfService: string | null;
11
+ imprint: string | null;
12
+ shippingPolicy: string | null;
13
+ };
@@ -0,0 +1,18 @@
1
+ import { IkasThemeJsonComponentProp } from "./prop";
2
+ export declare type IkasThemeJsonComponent = {
3
+ id: string;
4
+ dir: string;
5
+ displayName?: string;
6
+ description?: string;
7
+ props: IkasThemeJsonComponentProp[];
8
+ isHeader: boolean;
9
+ isFooter: boolean;
10
+ translations?: {
11
+ [locale: string]: IkasThemeJsonComponentTranslation;
12
+ };
13
+ defaultPropValues?: Record<string, any>;
14
+ };
15
+ export declare type IkasThemeJsonComponentTranslation = {
16
+ displayName: string | null;
17
+ description: string | null;
18
+ };
@@ -0,0 +1,61 @@
1
+ import { IkasProductAttributeType } from "../../../..";
2
+ export declare type IkasThemeJsonComponentProp = {
3
+ id: string;
4
+ name: string;
5
+ displayName?: string;
6
+ description?: string;
7
+ type: IkasThemeJsonComponentPropType;
8
+ isRequired: boolean;
9
+ customDataId?: string | null;
10
+ groupId?: string;
11
+ requiredPropId?: string;
12
+ requiredEnumOptionId?: string;
13
+ requiredEnumOptionValue?: string;
14
+ attributeTypes?: IkasProductAttributeType[] | null;
15
+ sliderData: IkasThemeJsonSliderData;
16
+ translations?: {
17
+ [locale: string]: IkasPropTranslation;
18
+ };
19
+ };
20
+ export declare type IkasThemeJsonSliderData = {
21
+ min?: number;
22
+ max?: number;
23
+ interval?: number;
24
+ unit?: string;
25
+ };
26
+ export declare enum IkasThemeJsonComponentPropType {
27
+ TEXT = "TEXT",
28
+ RICH_TEXT = "RICH_TEXT",
29
+ BOOLEAN = "BOOLEAN",
30
+ IMAGE = "IMAGE",
31
+ IMAGE_LIST = "IMAGE_LIST",
32
+ LINK = "LINK",
33
+ LIST_OF_LINK = "LIST_OF_LINK",
34
+ PRODUCT_DETAIL = "PRODUCT_DETAIL",
35
+ PRODUCT_LIST = "PRODUCT_LIST",
36
+ PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
37
+ PRODUCT_ATTRIBUTE_LIST = "PRODUCT_ATTRIBUTE_LIST",
38
+ BRAND = "BRAND",
39
+ BRAND_LIST = "BRAND_LIST",
40
+ CATEGORY = "CATEGORY",
41
+ CATEGORY_LIST = "CATEGORY_LIST",
42
+ COLOR = "COLOR",
43
+ CUSTOM = "CUSTOM",
44
+ COMPONENT = "COMPONENT",
45
+ COMPONENT_LIST = "COMPONENT_LIST",
46
+ BLOG = "BLOG",
47
+ BLOG_LIST = "BLOG_LIST",
48
+ BLOG_CATEGORY = "BLOG_CATEGORY",
49
+ BLOG_CATEGORY_LIST = "BLOG_CATEGORY_LIST",
50
+ RAFFLE = "RAFFLE",
51
+ RAFFLE_LIST = "RAFFLE_LIST",
52
+ SLIDER = "SLIDER",
53
+ OBJECT = "OBJECT",
54
+ STATIC_LIST = "STATIC_LIST",
55
+ DYNAMIC_LIST = "DYNAMIC_LIST",
56
+ ENUM = "ENUM"
57
+ }
58
+ export declare type IkasPropTranslation = {
59
+ displayName: string | null;
60
+ description: string | null;
61
+ };
@@ -0,0 +1 @@
1
+ var T;!function(T){T.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"}(T||(T={}));export{T as IkasThemeJsonComponentPropType};
@@ -0,0 +1,37 @@
1
+ import { IkasProductAttributeType } from "../../..";
2
+ import { IkasThemeJsonSliderData, IkasThemeJsonComponentPropType } from "../component/prop";
3
+ export declare type IkasThemeJsonCustomData = {
4
+ id: string;
5
+ name?: string | null;
6
+ description?: string | null;
7
+ typescriptName?: string | null;
8
+ type: IkasThemeJsonComponentPropType;
9
+ isRequired: boolean;
10
+ translations: {
11
+ [locale: string]: IkasThemeJsonCustomDataTranslation;
12
+ };
13
+ key?: string | null;
14
+ nestedData?: IkasThemeJsonCustomData[] | null;
15
+ itemCount?: number | null;
16
+ attributeTypes?: IkasProductAttributeType[] | null;
17
+ enumOptions?: IkasThemeJsonEnumOption[] | null;
18
+ customDataId?: string | null;
19
+ sliderData: IkasThemeJsonSliderData;
20
+ isRoot: boolean;
21
+ parent?: IkasThemeJsonCustomData | null;
22
+ };
23
+ export declare type IkasThemeJsonEnumOption = {
24
+ id: string;
25
+ displayName: string;
26
+ value: string;
27
+ translations: {
28
+ [locale: string]: IkasThemeJsonCustomDataEnumOptionTranslation;
29
+ };
30
+ };
31
+ export declare type IkasThemeJsonCustomDataTranslation = {
32
+ name: string | null;
33
+ description: string | null;
34
+ };
35
+ export declare type IkasThemeJsonCustomDataEnumOptionTranslation = {
36
+ displayName: string | null;
37
+ };
@@ -0,0 +1,11 @@
1
+ import { IkasThemeJsonComponent } from "./component";
2
+ import { IkasThemeJsonCustomData } from "./custom-data";
3
+ import { IkasThemeJsonPage } from "./page";
4
+ import { IkasThemeJsonSettings } from "./settings";
5
+ export declare type IkasThemeJson = {
6
+ name: string;
7
+ components: IkasThemeJsonComponent[];
8
+ pages: IkasThemeJsonPage[];
9
+ settings: IkasThemeJsonSettings;
10
+ customData: IkasThemeJsonCustomData[];
11
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasThemeJsonPageComponent = {
2
+ id: string;
3
+ componentId: string;
4
+ propValues: Record<string, any>;
5
+ };
@@ -0,0 +1,43 @@
1
+ import { IkasThemeJsonPageComponent } from "./component";
2
+ export declare type IkasThemeJsonPage = {
3
+ id: string;
4
+ name: string | null;
5
+ type: IkasThemeJsonPageType;
6
+ slug: string | null;
7
+ pageTitle: string | null;
8
+ description: string | null;
9
+ components: IkasThemeJsonPageComponent[];
10
+ specifications: IkasThemeJsonPageSpecification[] | null;
11
+ canonicals: string[] | null;
12
+ disableIndex: boolean | null;
13
+ };
14
+ export declare type IkasThemeJsonPageSpecification = {
15
+ id: string;
16
+ components: IkasThemeJsonPageComponent[];
17
+ };
18
+ export declare enum IkasThemeJsonPageType {
19
+ INDEX = "INDEX",
20
+ CATEGORY = "CATEGORY",
21
+ BRAND = "BRAND",
22
+ PRODUCT = "PRODUCT",
23
+ CUSTOM = "CUSTOM",
24
+ ACCOUNT = "ACCOUNT",
25
+ ADDRESSES = "ADDRESSES",
26
+ ORDERS = "ORDERS",
27
+ ORDER_DETAIL = "ORDER_DETAIL",
28
+ LOGIN = "LOGIN",
29
+ REGISTER = "REGISTER",
30
+ FORGOT_PASSWORD = "FORGOT_PASSWORD",
31
+ RECOVER_PASSWORD = "RECOVER_PASSWORD",
32
+ CART = "CART",
33
+ FAVORITE_PRODUCTS = "FAVORITE_PRODUCTS",
34
+ SEARCH = "SEARCH",
35
+ NOT_FOUND = "NOT_FOUND",
36
+ BLOG = "BLOG",
37
+ BLOG_INDEX = "BLOG_INDEX",
38
+ BLOG_CATEGORY = "BLOG_CATEGORY",
39
+ CHECKOUT = "CHECKOUT",
40
+ RAFFLE = "RAFFLE",
41
+ RAFFLE_DETAIL = "RAFFLE_DETAIL",
42
+ RAFFLE_ACCOUNT = "RAFFLE_ACCOUNT"
43
+ }
@@ -0,0 +1 @@
1
+ var R;!function(R){R.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"}(R||(R={}));export{R as IkasThemeJsonPageType};
@@ -0,0 +1,12 @@
1
+ export declare type IkasThemeJsonColor = {
2
+ id: string;
3
+ displayName: string;
4
+ key: string;
5
+ color: string;
6
+ translations: {
7
+ [locale: string]: IkasThemeJsonColorTranslation;
8
+ };
9
+ };
10
+ export declare type IkasThemeJsonColorTranslation = {
11
+ displayName: string | null;
12
+ };
@@ -0,0 +1,3 @@
1
+ export declare type IkasThemeJsonFavicon = {
2
+ id: string | null;
3
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasThemeJsonFontFamily = {
2
+ name: string | null;
3
+ variants: string[] | null;
4
+ };
@@ -0,0 +1,14 @@
1
+ import { IkasThemeJsonColor } from "./color";
2
+ import { IkasThemeJsonFavicon } from "./favicon";
3
+ import { IkasThemeJsonFontFamily } from "./font-family";
4
+ export declare type IkasThemeJsonSettings = {
5
+ colors: IkasThemeJsonColor[];
6
+ favicon: IkasThemeJsonFavicon;
7
+ stockPreference: IkasThemeJsonStockPreference;
8
+ fontFamily: IkasThemeJsonFontFamily;
9
+ };
10
+ export declare enum IkasThemeJsonStockPreference {
11
+ HIDE_OUT_OF_STOCK = "HIDE_OUT_OF_STOCK",
12
+ SHOW_ALL = "SHOW_ALL",
13
+ SHOW_OUT_OF_STOCK_AT_END = "SHOW_OUT_OF_STOCK_AT_END"
14
+ }
@@ -0,0 +1 @@
1
+ var _;!function(_){_.HIDE_OUT_OF_STOCK="HIDE_OUT_OF_STOCK",_.SHOW_ALL="SHOW_ALL",_.SHOW_OUT_OF_STOCK_AT_END="SHOW_OUT_OF_STOCK_AT_END"}(_||(_={}));export{_ as IkasThemeJsonStockPreference};
@@ -0,0 +1,21 @@
1
+ import { IkasVariantValue } from "./variant-value";
2
+ export declare type IkasVariantType = {
3
+ id: string;
4
+ name: string;
5
+ selectionType: IkasVariantSelectionType;
6
+ values: IkasVariantValue[];
7
+ translations?: IkasVariantTypeTranslation[] | null;
8
+ };
9
+ export declare enum IkasVariantSelectionType {
10
+ CHOICE = "CHOICE",
11
+ COLOR = "COLOR"
12
+ }
13
+ export declare type IkasVariantTypeTranslation = {
14
+ locale: string;
15
+ name: string | null;
16
+ values: IkasVariantValueTranslation[] | null;
17
+ };
18
+ export declare type IkasVariantValueTranslation = {
19
+ id: string;
20
+ name: string | null;
21
+ };
@@ -0,0 +1 @@
1
+ var C;!function(C){C.CHOICE="CHOICE",C.COLOR="COLOR"}(C||(C={}));export{C as IkasVariantSelectionType};
@@ -0,0 +1,2 @@
1
+ import { IkasVariantType } from ".";
2
+ export declare function initIkasVariantType(variantType: IkasVariantType, locale: string | null): void;
@@ -0,0 +1 @@
1
+ import{initIkasVariantValue as n}from"./variant-value/init.js";function a(a,i){a.values.forEach((function(i){i.variantTypeId=a.id,n(i)})),a.translations&&i&&(!function(n,a,i){if(a&&a.some((function(n){return n.locale===i}))){var e=a.find((function(n){return n.locale===i}));(null==e?void 0:e.name)&&(n.name=e.name),(null==e?void 0:e.values)&&n.values.forEach((function(n){var a,i=null===(a=e.values)||void 0===a?void 0:a.find((function(a){return a.id===n.id}));i&&i.name&&(n.name=i.name)}))}}(a,a.translations,i),delete a.translations)}export{a as initIkasVariantType};
@@ -0,0 +1,9 @@
1
+ import { IkasImage } from "../../image";
2
+ export declare type IkasVariantValue = {
3
+ id: string;
4
+ name: string;
5
+ colorCode: string | null;
6
+ thumbnailImageId: string | null;
7
+ variantTypeId: string;
8
+ thumbnailImage?: IkasImage;
9
+ };
@@ -0,0 +1,2 @@
1
+ import { IkasVariantValue } from ".";
2
+ export declare function initIkasVariantValue(variantValue: IkasVariantValue): void;
@@ -0,0 +1 @@
1
+ function i(i){i.thumbnailImage={id:i.id,isVideo:!1}}export{i as initIkasVariantValue};
@@ -1,2 +1 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},exports.__assign.apply(this,arguments)};
2
- //# sourceMappingURL=_tslib.js.map