@ikas/storefront-models 4.0.0-alpha.10

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 (437) hide show
  1. package/build-cjs/_virtual/_tslib.js +2 -0
  2. package/build-cjs/_virtual/_tslib.js.map +1 -0
  3. package/build-cjs/index.d.ts +156 -0
  4. package/build-cjs/index.js +2 -0
  5. package/build-cjs/index.js.map +1 -0
  6. package/build-cjs/models/base/index.d.ts +6 -0
  7. package/build-cjs/models/base/init.d.ts +6 -0
  8. package/build-cjs/models/base/init.js +2 -0
  9. package/build-cjs/models/base/init.js.map +1 -0
  10. package/build-cjs/models/blog/category/index.d.ts +9 -0
  11. package/build-cjs/models/blog/category/init.d.ts +11 -0
  12. package/build-cjs/models/blog/category/init.js +2 -0
  13. package/build-cjs/models/blog/category/init.js.map +1 -0
  14. package/build-cjs/models/blog/content/index.d.ts +4 -0
  15. package/build-cjs/models/blog/index.d.ts +24 -0
  16. package/build-cjs/models/blog/init.d.ts +2 -0
  17. package/build-cjs/models/blog/init.js +2 -0
  18. package/build-cjs/models/blog/init.js.map +1 -0
  19. package/build-cjs/models/blog/meta-data/index.d.ts +14 -0
  20. package/build-cjs/models/blog/meta-data/index.js +2 -0
  21. package/build-cjs/models/blog/meta-data/index.js.map +1 -0
  22. package/build-cjs/models/blog/tag/index.d.ts +4 -0
  23. package/build-cjs/models/blog/writer/index.d.ts +4 -0
  24. package/build-cjs/models/brand/index.d.ts +23 -0
  25. package/build-cjs/models/brand/index.js +2 -0
  26. package/build-cjs/models/brand/index.js.map +1 -0
  27. package/build-cjs/models/brand/init.d.ts +2 -0
  28. package/build-cjs/models/brand/init.js +2 -0
  29. package/build-cjs/models/brand/init.js.map +1 -0
  30. package/build-cjs/models/brand/translation/index.d.ts +5 -0
  31. package/build-cjs/models/campaign-offer/index.d.ts +37 -0
  32. package/build-cjs/models/campaign-offer/index.js +2 -0
  33. package/build-cjs/models/campaign-offer/index.js.map +1 -0
  34. package/build-cjs/models/campaign-offer/product/index.d.ts +24 -0
  35. package/build-cjs/models/campaign-offer/product/index.js +2 -0
  36. package/build-cjs/models/campaign-offer/product/index.js.map +1 -0
  37. package/build-cjs/models/cart/available-shipping-method/index.d.ts +12 -0
  38. package/build-cjs/models/cart/available-shipping-method/index.js +2 -0
  39. package/build-cjs/models/cart/available-shipping-method/index.js.map +1 -0
  40. package/build-cjs/models/cart/campaign-offer/index.d.ts +19 -0
  41. package/build-cjs/models/cart/campaign-offer/index.js +2 -0
  42. package/build-cjs/models/cart/campaign-offer/index.js.map +1 -0
  43. package/build-cjs/models/cart/index.d.ts +11 -0
  44. package/build-cjs/models/category/index.d.ts +27 -0
  45. package/build-cjs/models/category/index.js +2 -0
  46. package/build-cjs/models/category/index.js.map +1 -0
  47. package/build-cjs/models/category/init.d.ts +2 -0
  48. package/build-cjs/models/category/init.js +2 -0
  49. package/build-cjs/models/category/init.js.map +1 -0
  50. package/build-cjs/models/category/path-item/index.d.ts +8 -0
  51. package/build-cjs/models/category/translations/index.d.ts +5 -0
  52. package/build-cjs/models/checkout/index.d.ts +2 -0
  53. package/build-cjs/models/checkout-settings/index.d.ts +22 -0
  54. package/build-cjs/models/checkout-settings/index.js +2 -0
  55. package/build-cjs/models/checkout-settings/index.js.map +1 -0
  56. package/build-cjs/models/checkout-settings/option/index.d.ts +4 -0
  57. package/build-cjs/models/checkout-settings/price/index.d.ts +4 -0
  58. package/build-cjs/models/city/index.d.ts +10 -0
  59. package/build-cjs/models/contact-form/index.d.ts +7 -0
  60. package/build-cjs/models/country/index.d.ts +14 -0
  61. package/build-cjs/models/customer/address/city/index.d.ts +5 -0
  62. package/build-cjs/models/customer/address/country/index.d.ts +7 -0
  63. package/build-cjs/models/customer/address/district/index.d.ts +5 -0
  64. package/build-cjs/models/customer/address/index.d.ts +25 -0
  65. package/build-cjs/models/customer/address/state/index.d.ts +5 -0
  66. package/build-cjs/models/customer/attribute/index.d.ts +20 -0
  67. package/build-cjs/models/customer/attribute/index.js +2 -0
  68. package/build-cjs/models/customer/attribute/index.js.map +1 -0
  69. package/build-cjs/models/customer/attribute/init.d.ts +2 -0
  70. package/build-cjs/models/customer/attribute/init.js +2 -0
  71. package/build-cjs/models/customer/attribute/init.js.map +1 -0
  72. package/build-cjs/models/customer/attribute/option/index.d.ts +7 -0
  73. package/build-cjs/models/customer/attribute/sales-channel/index.d.ts +16 -0
  74. package/build-cjs/models/customer/attribute/sales-channel/index.js +2 -0
  75. package/build-cjs/models/customer/attribute/sales-channel/index.js.map +1 -0
  76. package/build-cjs/models/customer/attribute/translation/index.d.ts +7 -0
  77. package/build-cjs/models/customer/attribute/translation/option/index.d.ts +4 -0
  78. package/build-cjs/models/customer/attribute/value/index.d.ts +9 -0
  79. package/build-cjs/models/customer/index.d.ts +43 -0
  80. package/build-cjs/models/customer/index.js +2 -0
  81. package/build-cjs/models/customer/index.js.map +1 -0
  82. package/build-cjs/models/customer/review/index.d.ts +24 -0
  83. package/build-cjs/models/customer/review/index.js +2 -0
  84. package/build-cjs/models/customer/review/index.js.map +1 -0
  85. package/build-cjs/models/customer/review/init.d.ts +2 -0
  86. package/build-cjs/models/customer/review/init.js +2 -0
  87. package/build-cjs/models/customer/review/init.js.map +1 -0
  88. package/build-cjs/models/customer/review/settings/index.d.ts +4 -0
  89. package/build-cjs/models/customer/review/summary/index.d.ts +8 -0
  90. package/build-cjs/models/customer/review/summary/star/index.d.ts +4 -0
  91. package/build-cjs/models/district/index.d.ts +10 -0
  92. package/build-cjs/models/favorite-product/index.d.ts +5 -0
  93. package/build-cjs/models/filter-category/index.d.ts +8 -0
  94. package/build-cjs/models/html-meta-data/index.d.ts +25 -0
  95. package/build-cjs/models/html-meta-data/index.js +2 -0
  96. package/build-cjs/models/html-meta-data/index.js.map +1 -0
  97. package/build-cjs/models/html-meta-data/init.d.ts +3 -0
  98. package/build-cjs/models/html-meta-data/init.js +2 -0
  99. package/build-cjs/models/html-meta-data/init.js.map +1 -0
  100. package/build-cjs/models/html-meta-data/translations/index.d.ts +5 -0
  101. package/build-cjs/models/image/index.d.ts +4 -0
  102. package/build-cjs/models/last-viewed-product/index.d.ts +4 -0
  103. package/build-cjs/models/merchant-settings/index.d.ts +21 -0
  104. package/build-cjs/models/merchant-settings/index.js +2 -0
  105. package/build-cjs/models/merchant-settings/index.js.map +1 -0
  106. package/build-cjs/models/merchant-settings/init.d.ts +2 -0
  107. package/build-cjs/models/merchant-settings/init.js +2 -0
  108. package/build-cjs/models/merchant-settings/init.js.map +1 -0
  109. package/build-cjs/models/order/address/city/index.d.ts +5 -0
  110. package/build-cjs/models/order/address/country/index.d.ts +7 -0
  111. package/build-cjs/models/order/address/district/index.d.ts +5 -0
  112. package/build-cjs/models/order/address/index.d.ts +22 -0
  113. package/build-cjs/models/order/address/state/index.d.ts +5 -0
  114. package/build-cjs/models/order/adjustment/applied-order-line/index.d.ts +6 -0
  115. package/build-cjs/models/order/adjustment/index.d.ts +21 -0
  116. package/build-cjs/models/order/adjustment/index.js +2 -0
  117. package/build-cjs/models/order/adjustment/index.js.map +1 -0
  118. package/build-cjs/models/order/customer/index.d.ts +9 -0
  119. package/build-cjs/models/order/gift-line/index.d.ts +4 -0
  120. package/build-cjs/models/order/index.d.ts +84 -0
  121. package/build-cjs/models/order/index.js +2 -0
  122. package/build-cjs/models/order/index.js.map +1 -0
  123. package/build-cjs/models/order/invoice/index.d.ts +14 -0
  124. package/build-cjs/models/order/invoice/index.js +2 -0
  125. package/build-cjs/models/order/invoice/index.js.map +1 -0
  126. package/build-cjs/models/order/line-item/discount/index.d.ts +9 -0
  127. package/build-cjs/models/order/line-item/index.d.ts +32 -0
  128. package/build-cjs/models/order/line-item/index.js +2 -0
  129. package/build-cjs/models/order/line-item/index.js.map +1 -0
  130. package/build-cjs/models/order/line-item/option/index.d.ts +9 -0
  131. package/build-cjs/models/order/line-item/option/value/index.d.ts +5 -0
  132. package/build-cjs/models/order/line-item/variant/brand/index.d.ts +4 -0
  133. package/build-cjs/models/order/line-item/variant/category/index.d.ts +9 -0
  134. package/build-cjs/models/order/line-item/variant/index.d.ts +23 -0
  135. package/build-cjs/models/order/line-item/variant/price/index.d.ts +7 -0
  136. package/build-cjs/models/order/line-item/variant/value/index.d.ts +7 -0
  137. package/build-cjs/models/order/package/index.d.ts +26 -0
  138. package/build-cjs/models/order/package/index.js +2 -0
  139. package/build-cjs/models/order/package/index.js.map +1 -0
  140. package/build-cjs/models/order/package/tracking-info/index.d.ts +7 -0
  141. package/build-cjs/models/order/payment-method/index.d.ts +8 -0
  142. package/build-cjs/models/order/refund/index.d.ts +5 -0
  143. package/build-cjs/models/order/refund/line-item/index.d.ts +4 -0
  144. package/build-cjs/models/order/refund/settings/index.d.ts +5 -0
  145. package/build-cjs/models/order/shipping-line/index.d.ts +11 -0
  146. package/build-cjs/models/order/tax-line/index.d.ts +4 -0
  147. package/build-cjs/models/order/transaction/error/index.d.ts +5 -0
  148. package/build-cjs/models/order/transaction/index.d.ts +34 -0
  149. package/build-cjs/models/order/transaction/index.js +2 -0
  150. package/build-cjs/models/order/transaction/index.js.map +1 -0
  151. package/build-cjs/models/order/transaction/payment-method-detail/index.d.ts +22 -0
  152. package/build-cjs/models/order/transaction/payment-method-detail/index.js +2 -0
  153. package/build-cjs/models/order/transaction/payment-method-detail/index.js.map +1 -0
  154. package/build-cjs/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
  155. package/build-cjs/models/payment-gateway/additional-price/index.d.ts +14 -0
  156. package/build-cjs/models/payment-gateway/additional-price/index.js +2 -0
  157. package/build-cjs/models/payment-gateway/additional-price/index.js.map +1 -0
  158. package/build-cjs/models/payment-gateway/index.d.ts +42 -0
  159. package/build-cjs/models/payment-gateway/index.js +2 -0
  160. package/build-cjs/models/payment-gateway/index.js.map +1 -0
  161. package/build-cjs/models/payment-gateway/init.d.ts +2 -0
  162. package/build-cjs/models/payment-gateway/init.js +2 -0
  163. package/build-cjs/models/payment-gateway/init.js.map +1 -0
  164. package/build-cjs/models/payment-gateway/settings/index.d.ts +11 -0
  165. package/build-cjs/models/payment-gateway/settings/index.js +2 -0
  166. package/build-cjs/models/payment-gateway/settings/index.js.map +1 -0
  167. package/build-cjs/models/payment-gateway/translation/index.d.ts +5 -0
  168. package/build-cjs/models/product/attribute/index.d.ts +22 -0
  169. package/build-cjs/models/product/attribute/index.js +2 -0
  170. package/build-cjs/models/product/attribute/index.js.map +1 -0
  171. package/build-cjs/models/product/attribute/init.d.ts +2 -0
  172. package/build-cjs/models/product/attribute/init.js +2 -0
  173. package/build-cjs/models/product/attribute/init.js.map +1 -0
  174. package/build-cjs/models/product/attribute/option/index.d.ts +4 -0
  175. package/build-cjs/models/product/attribute/table-cell/index.d.ts +4 -0
  176. package/build-cjs/models/product/attribute/table-template/index.d.ts +5 -0
  177. package/build-cjs/models/product/attribute/translation/index.d.ts +10 -0
  178. package/build-cjs/models/product/attribute-value/index.d.ts +21 -0
  179. package/build-cjs/models/product/attribute-value/init.d.ts +2 -0
  180. package/build-cjs/models/product/attribute-value/init.js +2 -0
  181. package/build-cjs/models/product/attribute-value/init.js.map +1 -0
  182. package/build-cjs/models/product/back-in-stock-settings/index.d.ts +3 -0
  183. package/build-cjs/models/product/campaign/data/index.d.ts +39 -0
  184. package/build-cjs/models/product/campaign/data/index.js +2 -0
  185. package/build-cjs/models/product/campaign/data/index.js.map +1 -0
  186. package/build-cjs/models/product/campaign/filter/index.d.ts +11 -0
  187. package/build-cjs/models/product/campaign/filter/index.js +2 -0
  188. package/build-cjs/models/product/campaign/filter/index.js.map +1 -0
  189. package/build-cjs/models/product/campaign/index.d.ts +5 -0
  190. package/build-cjs/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
  191. package/build-cjs/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
  192. package/build-cjs/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
  193. package/build-cjs/models/product/filter/index.d.ts +81 -0
  194. package/build-cjs/models/product/filter/index.js +2 -0
  195. package/build-cjs/models/product/filter/index.js.map +1 -0
  196. package/build-cjs/models/product/image/index.d.ts +8 -0
  197. package/build-cjs/models/product/image/init.d.ts +2 -0
  198. package/build-cjs/models/product/image/init.js +2 -0
  199. package/build-cjs/models/product/image/init.js.map +1 -0
  200. package/build-cjs/models/product/index.d.ts +39 -0
  201. package/build-cjs/models/product/index.js +2 -0
  202. package/build-cjs/models/product/index.js.map +1 -0
  203. package/build-cjs/models/product/init.d.ts +2 -0
  204. package/build-cjs/models/product/init.js +2 -0
  205. package/build-cjs/models/product/init.js.map +1 -0
  206. package/build-cjs/models/product/option-set/index.d.ts +21 -0
  207. package/build-cjs/models/product/option-set/init.d.ts +6 -0
  208. package/build-cjs/models/product/option-set/init.js +2 -0
  209. package/build-cjs/models/product/option-set/init.js.map +1 -0
  210. package/build-cjs/models/product/option-set/option/index.d.ts +70 -0
  211. package/build-cjs/models/product/option-set/option/index.js +2 -0
  212. package/build-cjs/models/product/option-set/option/index.js.map +1 -0
  213. package/build-cjs/models/product/option-set/option/init.d.ts +2 -0
  214. package/build-cjs/models/product/option-set/option/init.js +2 -0
  215. package/build-cjs/models/product/option-set/option/init.js.map +1 -0
  216. package/build-cjs/models/product/tag/index.d.ts +4 -0
  217. package/build-cjs/models/product/variant/index.d.ts +19 -0
  218. package/build-cjs/models/product/variant/init.d.ts +2 -0
  219. package/build-cjs/models/product/variant/init.js +2 -0
  220. package/build-cjs/models/product/variant/init.js.map +1 -0
  221. package/build-cjs/models/product/variant/price/index.d.ts +7 -0
  222. package/build-cjs/models/product/variant-type/index.d.ts +5 -0
  223. package/build-cjs/models/product/variant-type/init.d.ts +2 -0
  224. package/build-cjs/models/product/variant-type/init.js +2 -0
  225. package/build-cjs/models/product/variant-type/init.js.map +1 -0
  226. package/build-cjs/models/raffle/index.d.ts +62 -0
  227. package/build-cjs/models/raffle/index.js +2 -0
  228. package/build-cjs/models/raffle/index.js.map +1 -0
  229. package/build-cjs/models/raffle/init.d.ts +2 -0
  230. package/build-cjs/models/raffle/init.js +2 -0
  231. package/build-cjs/models/raffle/init.js.map +1 -0
  232. package/build-cjs/models/sales-channel/index.d.ts +15 -0
  233. package/build-cjs/models/state/index.d.ts +6 -0
  234. package/build-cjs/models/stock-location/address/city/index.d.ts +5 -0
  235. package/build-cjs/models/stock-location/address/country/index.d.ts +5 -0
  236. package/build-cjs/models/stock-location/address/district/index.d.ts +5 -0
  237. package/build-cjs/models/stock-location/address/index.d.ts +13 -0
  238. package/build-cjs/models/stock-location/address/state/index.d.ts +5 -0
  239. package/build-cjs/models/stock-location/available/index.d.ts +8 -0
  240. package/build-cjs/models/stock-location/index.d.ts +23 -0
  241. package/build-cjs/models/stock-location/index.js +2 -0
  242. package/build-cjs/models/stock-location/index.js.map +1 -0
  243. package/build-cjs/models/storefront/domain/index.d.ts +7 -0
  244. package/build-cjs/models/storefront/index.d.ts +26 -0
  245. package/build-cjs/models/storefront/index.js +2 -0
  246. package/build-cjs/models/storefront/index.js.map +1 -0
  247. package/build-cjs/models/storefront/localization/index.d.ts +6 -0
  248. package/build-cjs/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
  249. package/build-cjs/models/storefront/routing/index.d.ts +10 -0
  250. package/build-cjs/models/storefront/theme/index.d.ts +12 -0
  251. package/build-cjs/models/storefront/theme/index.js +2 -0
  252. package/build-cjs/models/storefront/theme/index.js.map +1 -0
  253. package/build-cjs/models/storefront/theme-localization/index.d.ts +11 -0
  254. package/build-cjs/models/theme-json/component/index.d.ts +17 -0
  255. package/build-cjs/models/theme-json/component/prop/index.d.ts +60 -0
  256. package/build-cjs/models/theme-json/component/prop/index.js +2 -0
  257. package/build-cjs/models/theme-json/component/prop/index.js.map +1 -0
  258. package/build-cjs/models/theme-json/custom-data/index.d.ts +37 -0
  259. package/build-cjs/models/theme-json/index.d.ts +11 -0
  260. package/build-cjs/models/theme-json/page/component/index.d.ts +5 -0
  261. package/build-cjs/models/theme-json/page/index.d.ts +43 -0
  262. package/build-cjs/models/theme-json/page/index.js +2 -0
  263. package/build-cjs/models/theme-json/page/index.js.map +1 -0
  264. package/build-cjs/models/theme-json/settings/color/index.d.ts +12 -0
  265. package/build-cjs/models/theme-json/settings/favicon/index.d.ts +3 -0
  266. package/build-cjs/models/theme-json/settings/font-family/index.d.ts +4 -0
  267. package/build-cjs/models/theme-json/settings/index.d.ts +14 -0
  268. package/build-cjs/models/theme-json/settings/index.js +2 -0
  269. package/build-cjs/models/theme-json/settings/index.js.map +1 -0
  270. package/build-cjs/models/variant-type/index.d.ts +21 -0
  271. package/build-cjs/models/variant-type/index.js +2 -0
  272. package/build-cjs/models/variant-type/index.js.map +1 -0
  273. package/build-cjs/models/variant-type/init.d.ts +2 -0
  274. package/build-cjs/models/variant-type/init.js +2 -0
  275. package/build-cjs/models/variant-type/init.js.map +1 -0
  276. package/build-cjs/models/variant-type/variant-value/index.d.ts +9 -0
  277. package/build-cjs/models/variant-type/variant-value/init.d.ts +2 -0
  278. package/build-cjs/models/variant-type/variant-value/init.js +2 -0
  279. package/build-cjs/models/variant-type/variant-value/init.js.map +1 -0
  280. package/package.json +32 -0
  281. package/src/index.ts +213 -0
  282. package/src/models/base/index.ts +6 -0
  283. package/src/models/base/init.ts +14 -0
  284. package/src/models/blog/category/index.ts +11 -0
  285. package/src/models/blog/category/init.ts +33 -0
  286. package/src/models/blog/content/index.ts +5 -0
  287. package/src/models/blog/index.ts +26 -0
  288. package/src/models/blog/init.ts +7 -0
  289. package/src/models/blog/meta-data/index.ts +16 -0
  290. package/src/models/blog/tag/index.ts +5 -0
  291. package/src/models/blog/writer/index.ts +4 -0
  292. package/src/models/brand/index.ts +26 -0
  293. package/src/models/brand/init.ts +27 -0
  294. package/src/models/brand/translation/index.ts +5 -0
  295. package/src/models/campaign-offer/index.ts +43 -0
  296. package/src/models/campaign-offer/product/index.ts +27 -0
  297. package/src/models/cart/available-shipping-method/index.ts +13 -0
  298. package/src/models/cart/campaign-offer/index.ts +24 -0
  299. package/src/models/cart/index.ts +12 -0
  300. package/src/models/category/index.ts +30 -0
  301. package/src/models/category/init.ts +33 -0
  302. package/src/models/category/path-item/index.ts +9 -0
  303. package/src/models/category/translations/index.ts +5 -0
  304. package/src/models/checkout/index.ts +3 -0
  305. package/src/models/checkout-settings/index.ts +24 -0
  306. package/src/models/checkout-settings/option/index.ts +4 -0
  307. package/src/models/checkout-settings/price/index.ts +4 -0
  308. package/src/models/city/index.ts +11 -0
  309. package/src/models/contact-form/index.ts +7 -0
  310. package/src/models/country/index.ts +15 -0
  311. package/src/models/customer/address/city/index.ts +5 -0
  312. package/src/models/customer/address/country/index.ts +7 -0
  313. package/src/models/customer/address/district/index.ts +5 -0
  314. package/src/models/customer/address/index.tsx +27 -0
  315. package/src/models/customer/address/state/index.ts +5 -0
  316. package/src/models/customer/attribute/index.ts +22 -0
  317. package/src/models/customer/attribute/init.ts +34 -0
  318. package/src/models/customer/attribute/option/index.ts +7 -0
  319. package/src/models/customer/attribute/sales-channel/index.ts +18 -0
  320. package/src/models/customer/attribute/translation/index.ts +8 -0
  321. package/src/models/customer/attribute/translation/option/index.ts +4 -0
  322. package/src/models/customer/attribute/value/index.ts +12 -0
  323. package/src/models/customer/index.ts +48 -0
  324. package/src/models/customer/review/index.ts +28 -0
  325. package/src/models/customer/review/init.ts +7 -0
  326. package/src/models/customer/review/settings/index.ts +4 -0
  327. package/src/models/customer/review/summary/index.ts +9 -0
  328. package/src/models/customer/review/summary/star/index.ts +4 -0
  329. package/src/models/district/index.ts +11 -0
  330. package/src/models/favorite-product/index.ts +6 -0
  331. package/src/models/filter-category/index.ts +9 -0
  332. package/src/models/html-meta-data/index.ts +28 -0
  333. package/src/models/html-meta-data/init.ts +27 -0
  334. package/src/models/html-meta-data/translations/index.ts +5 -0
  335. package/src/models/image/index.ts +4 -0
  336. package/src/models/last-viewed-product/index.ts +4 -0
  337. package/src/models/merchant-settings/index.ts +25 -0
  338. package/src/models/merchant-settings/init.ts +7 -0
  339. package/src/models/order/address/city/index.ts +5 -0
  340. package/src/models/order/address/country/index.ts +7 -0
  341. package/src/models/order/address/district/index.ts +5 -0
  342. package/src/models/order/address/index.ts +25 -0
  343. package/src/models/order/address/state/index.ts +5 -0
  344. package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
  345. package/src/models/order/adjustment/index.ts +24 -0
  346. package/src/models/order/customer/index.ts +9 -0
  347. package/src/models/order/gift-line/index.ts +4 -0
  348. package/src/models/order/index.ts +90 -0
  349. package/src/models/order/invoice/index.ts +15 -0
  350. package/src/models/order/line-item/discount/index.ts +10 -0
  351. package/src/models/order/line-item/index.ts +34 -0
  352. package/src/models/order/line-item/option/index.ts +10 -0
  353. package/src/models/order/line-item/option/value/index.ts +5 -0
  354. package/src/models/order/line-item/variant/brand/index.ts +4 -0
  355. package/src/models/order/line-item/variant/category/index.ts +10 -0
  356. package/src/models/order/line-item/variant/index.ts +26 -0
  357. package/src/models/order/line-item/variant/price/index.ts +7 -0
  358. package/src/models/order/line-item/variant/value/index.ts +7 -0
  359. package/src/models/order/package/index.ts +28 -0
  360. package/src/models/order/package/tracking-info/index.ts +7 -0
  361. package/src/models/order/payment-method/index.ts +9 -0
  362. package/src/models/order/refund/index.ts +6 -0
  363. package/src/models/order/refund/line-item/index.ts +4 -0
  364. package/src/models/order/refund/settings/index.ts +5 -0
  365. package/src/models/order/shipping-line/index.ts +12 -0
  366. package/src/models/order/tax-line/index.ts +4 -0
  367. package/src/models/order/transaction/error/index.ts +5 -0
  368. package/src/models/order/transaction/index.ts +39 -0
  369. package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
  370. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
  371. package/src/models/payment-gateway/additional-price/index.ts +16 -0
  372. package/src/models/payment-gateway/index.ts +47 -0
  373. package/src/models/payment-gateway/init.ts +26 -0
  374. package/src/models/payment-gateway/settings/index.ts +12 -0
  375. package/src/models/payment-gateway/translation/index.ts +5 -0
  376. package/src/models/product/attribute/index.ts +24 -0
  377. package/src/models/product/attribute/init.ts +34 -0
  378. package/src/models/product/attribute/option/index.ts +4 -0
  379. package/src/models/product/attribute/table-cell/index.ts +4 -0
  380. package/src/models/product/attribute/table-template/index.ts +6 -0
  381. package/src/models/product/attribute/translation/index.ts +11 -0
  382. package/src/models/product/attribute-value/index.ts +26 -0
  383. package/src/models/product/attribute-value/init.ts +7 -0
  384. package/src/models/product/back-in-stock-settings/index.ts +3 -0
  385. package/src/models/product/campaign/data/index.ts +43 -0
  386. package/src/models/product/campaign/filter/index.ts +12 -0
  387. package/src/models/product/campaign/index.ts +6 -0
  388. package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
  389. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
  390. package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
  391. package/src/models/product/filter/index.ts +96 -0
  392. package/src/models/product/image/index.ts +10 -0
  393. package/src/models/product/image/init.ts +7 -0
  394. package/src/models/product/index.ts +43 -0
  395. package/src/models/product/init.ts +16 -0
  396. package/src/models/product/option-set/index.ts +25 -0
  397. package/src/models/product/option-set/init.ts +77 -0
  398. package/src/models/product/option-set/option/index.ts +81 -0
  399. package/src/models/product/option-set/option/init.ts +13 -0
  400. package/src/models/product/tag/index.ts +4 -0
  401. package/src/models/product/variant/index.ts +20 -0
  402. package/src/models/product/variant/init.ts +10 -0
  403. package/src/models/product/variant/price/index.ts +7 -0
  404. package/src/models/product/variant-type/index.ts +6 -0
  405. package/src/models/product/variant-type/init.ts +15 -0
  406. package/src/models/raffle/index.ts +70 -0
  407. package/src/models/raffle/init.ts +6 -0
  408. package/src/models/sales-channel/index.ts +17 -0
  409. package/src/models/state/index.ts +7 -0
  410. package/src/models/stock-location/address/city/index.ts +5 -0
  411. package/src/models/stock-location/address/country/index.ts +5 -0
  412. package/src/models/stock-location/address/district/index.ts +5 -0
  413. package/src/models/stock-location/address/index.ts +14 -0
  414. package/src/models/stock-location/address/state/index.ts +5 -0
  415. package/src/models/stock-location/available/index.ts +9 -0
  416. package/src/models/stock-location/index.ts +26 -0
  417. package/src/models/storefront/domain/index.ts +7 -0
  418. package/src/models/storefront/index.ts +30 -0
  419. package/src/models/storefront/localization/index.tsx +6 -0
  420. package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
  421. package/src/models/storefront/routing/index.tsx +11 -0
  422. package/src/models/storefront/theme/index.tsx +13 -0
  423. package/src/models/storefront/theme-localization/index.tsx +13 -0
  424. package/src/models/theme-json/component/index.ts +19 -0
  425. package/src/models/theme-json/component/prop/index.ts +65 -0
  426. package/src/models/theme-json/custom-data/index.ts +46 -0
  427. package/src/models/theme-json/index.ts +12 -0
  428. package/src/models/theme-json/page/component/index.ts +11 -0
  429. package/src/models/theme-json/page/index.ts +46 -0
  430. package/src/models/theme-json/settings/color/index.ts +13 -0
  431. package/src/models/theme-json/settings/favicon/index.ts +3 -0
  432. package/src/models/theme-json/settings/font-family/index.ts +4 -0
  433. package/src/models/theme-json/settings/index.ts +16 -0
  434. package/src/models/variant-type/index.ts +25 -0
  435. package/src/models/variant-type/init.ts +37 -0
  436. package/src/models/variant-type/variant-value/index.ts +12 -0
  437. package/src/models/variant-type/variant-value/init.ts +5 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.js","sources":["../../../../src/models/product/variant/init.ts"],"sourcesContent":["import { initIkasProductImage } from \"../image/init\";\nimport { initIkasProductAttributeValue } from \"../attribute-value/init\";\nimport _sortBy from \"lodash/sortBy\";\nimport { IkasProductVariant } from \".\";\n\nexport function initIkasProductVariant(variant: IkasProductVariant) {\n variant.images?.forEach(initIkasProductImage);\n variant.images = _sortBy(variant.images, \"order\");\n variant.attributes.forEach(initIkasProductAttributeValue);\n}\n"],"names":["variant","_a","images","forEach","initIkasProductImage","_sortBy","attributes","initIkasProductAttributeValue"],"mappings":"uRAKM,SAAiCA,SACvB,QAAdC,EAAAD,EAAQE,cAAM,IAAAD,GAAAA,EAAEE,QAAQC,EAAoBA,sBAC5CJ,EAAQE,OAASG,EAAO,QAACL,EAAQE,OAAQ,SACzCF,EAAQM,WAAWH,QAAQI,EAAAA"}
@@ -0,0 +1,7 @@
1
+ export declare type IkasProductPrice = {
2
+ buyPrice: number | null;
3
+ currency: string | null;
4
+ discountPrice: number | null;
5
+ priceListId: string | null;
6
+ sellPrice: number;
7
+ };
@@ -0,0 +1,5 @@
1
+ import { IkasVariantType } from "../../variant-type";
2
+ export declare type IkasProductVariantType = {
3
+ variantType: IkasVariantType;
4
+ variantValueIds: string[];
5
+ };
@@ -0,0 +1,2 @@
1
+ import { IkasProductVariantType } from ".";
2
+ export declare function initIkasProductVariantType(variantType: IkasProductVariantType): void;
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.js","sources":["../../../../src/models/product/variant-type/init.ts"],"sourcesContent":["import { IkasProductVariantType } from \".\";\nimport { IkasVariantValue } from \"../../variant-type/variant-value\";\n\nexport function initIkasProductVariantType(\n variantType: IkasProductVariantType\n) {\n const orderedVariantValues: IkasVariantValue[] = [];\n variantType.variantValueIds.forEach((vvId) => {\n const variantValue = variantType.variantType.values.find(\n (vv) => vv.id === vvId\n );\n if (variantValue) orderedVariantValues.push(variantValue);\n });\n variantType.variantType.values = orderedVariantValues;\n}\n"],"names":["variantType","orderedVariantValues","variantValueIds","forEach","vvId","variantValue","values","find","vv","id","push"],"mappings":"uGAGM,SACJA,GAEA,IAAMC,EAA2C,GACjDD,EAAYE,gBAAgBC,SAAQ,SAACC,GACnC,IAAMC,EAAeL,EAAYA,YAAYM,OAAOC,MAClD,SAACC,GAAO,OAAAA,EAAGC,KAAOL,KAEhBC,GAAcJ,EAAqBS,KAAKL,MAE9CL,EAAYA,YAAYM,OAASL"}
@@ -0,0 +1,62 @@
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
+ participantCount?: number | null;
19
+ requiredCustomerAccount: boolean;
20
+ status: boolean;
21
+ variants: IkasRaffleAppliedProduct[] | null;
22
+ products: IkasProduct[];
23
+ verificationType: IkasRaffleVerificationType;
24
+ isCustomerWinner: boolean | null;
25
+ };
26
+ export declare enum IkasRaffleMetadataTargetType {
27
+ RAFFLE = "RAFFLE"
28
+ }
29
+ export declare type IkasRaffleMetaData = {
30
+ id: string;
31
+ createdAt: number;
32
+ updatedAt: number;
33
+ deleted: boolean | null;
34
+ description: string | null;
35
+ pageTitle: string | null;
36
+ slug: string;
37
+ targetId: string | null;
38
+ targetType: IkasRaffleMetadataTargetType | null;
39
+ canonicals: string[] | null;
40
+ disableIndex: boolean | null;
41
+ };
42
+ export declare type IkasRaffleParticipant = {
43
+ id: string | null;
44
+ createdAt: number | null;
45
+ updatedAt: number | null;
46
+ deleted: boolean | null;
47
+ customerId: string | null;
48
+ raffleId: string;
49
+ firstName: string;
50
+ lastName: string;
51
+ fullName: string | null;
52
+ email: string;
53
+ applicationDate: number;
54
+ phone: string | null;
55
+ isWinner: boolean | null;
56
+ extraData: Record<string, any> | null;
57
+ appliedProduct: IkasRaffleAppliedProduct;
58
+ };
59
+ export declare type IkasRaffleAppliedProduct = {
60
+ productId: string;
61
+ variantId: string;
62
+ };
@@ -0,0 +1,2 @@
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
@@ -0,0 +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 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"}
@@ -0,0 +1,2 @@
1
+ import { IkasRaffle } from ".";
2
+ export declare function initIkasRaffle(raffle: IkasRaffle, locale: string | null): void;
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.js","sources":["../../../src/models/raffle/init.ts"],"sourcesContent":["import { IkasRaffle } from \".\";\nimport { initIkasProduct } from \"../product/init\";\n\nexport function initIkasRaffle(raffle: IkasRaffle, locale: string | null) {\n raffle.products.map((p) => initIkasProduct(p, locale));\n}\n"],"names":["raffle","locale","products","map","p","initIkasProduct"],"mappings":"+HAGgB,SAAeA,EAAoBC,GACjDD,EAAOE,SAASC,KAAI,SAACC,GAAM,OAAAC,EAAeA,gBAACD,EAAGH"}
@@ -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,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/stock-location/index.ts"],"sourcesContent":["import { IkasStockLocationAddress } from \"./address\";\n\nexport type IkasStockLocation = {\n address: IkasStockLocationAddress | null;\n deliveryTime: IkasStockLocationDeliveryTime | null;\n description: string | null;\n isRemindOutOfStockEnabled: boolean | null;\n name: string;\n outOfStockMailList: string[] | null;\n type: IkasStockLocationType | null;\n id: string;\n};\n\nexport enum IkasStockLocationDeliveryTime {\n TWO_IN_FOUR_DAYS = \"TWO_IN_FOUR_DAYS\",\n WITHIN_FOUR_HOURS = \"WITHIN_FOUR_HOURS\",\n WITHIN_ONE_HOUR = \"WITHIN_ONE_HOUR\",\n WITHIN_PLUS_FIVE_DAYS = \"WITHIN_PLUS_FIVE_DAYS\",\n WITHIN_TWENTY_FOUR_HOURS = \"WITHIN_TWENTY_FOUR_HOURS\",\n WITHIN_TWO_HOURS = \"WITHIN_TWO_HOURS\",\n}\n\nexport enum IkasStockLocationType {\n PHYSICAL = \"PHYSICAL\",\n VIRTUAL = \"VIRTUAL\",\n}\n"],"names":["IkasStockLocationDeliveryTime","IkasStockLocationType"],"mappings":"aAaA,IAAYA,EASAC,yDATAD,QAOXA,mCAAA,GAPWA,EAAAA,wCAAAA,QAAAA,8BAOX,KANC,iBAAA,mBACAA,EAAA,kBAAA,oBACAA,EAAA,gBAAA,kBACAA,EAAA,sBAAA,wBACAA,EAAA,yBAAA,2BACAA,EAAA,iBAAA,mBAGUC,QAGXA,2BAAA,GAHWA,EAAAA,QAAqBA,wBAArBA,8BAGX,KAFC,SAAA,WACAA,EAAA,QAAA"}
@@ -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,26 @@
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
+ localizations: IkasStorefrontLocalization[];
23
+ routings: IkasStorefrontRouting[];
24
+ domains: IkasStorefrontDomain[];
25
+ themes: IkasStorefrontTheme[];
26
+ };
@@ -0,0 +1,2 @@
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
@@ -0,0 +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\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"}
@@ -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,10 @@
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
+ };
@@ -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,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/storefront/theme/index.tsx"],"sourcesContent":["export enum IkasStorefrontThemeStatus {\n WAITING = \"WAITING\",\n READY = \"READY\",\n}\n\nexport type IkasStorefrontTheme = {\n id: string;\n isMainTheme: boolean;\n name: string;\n status: IkasStorefrontThemeStatus;\n themeId: string;\n themeVersionId: string;\n};\n"],"names":["IkasStorefrontThemeStatus"],"mappings":"aAAA,IAAYA,yDAAAA,QAGXA,+BAAA,GAHWA,EAAAA,QAAyBA,4BAAzBA,kCAGX,KAFC,QAAA,UACAA,EAAA,MAAA"}
@@ -0,0 +1,11 @@
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
+ };
@@ -0,0 +1,17 @@
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
+ };
14
+ export declare type IkasThemeJsonComponentTranslation = {
15
+ displayName: string | null;
16
+ description: string | null;
17
+ };
@@ -0,0 +1,60 @@
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
+ requiredPropId?: string;
11
+ requiredEnumOptionId?: string;
12
+ requiredEnumOptionValue?: string;
13
+ attributeTypes?: IkasProductAttributeType[] | null;
14
+ sliderData: IkasThemeJsonSliderData;
15
+ translations: {
16
+ [locale: string]: IkasPropTranslation;
17
+ };
18
+ };
19
+ export declare type IkasThemeJsonSliderData = {
20
+ min?: number;
21
+ max?: number;
22
+ interval?: number;
23
+ unit?: string;
24
+ };
25
+ export declare enum IkasThemeJsonComponentPropType {
26
+ TEXT = "TEXT",
27
+ RICH_TEXT = "RICH_TEXT",
28
+ BOOLEAN = "BOOLEAN",
29
+ IMAGE = "IMAGE",
30
+ IMAGE_LIST = "IMAGE_LIST",
31
+ LINK = "LINK",
32
+ LIST_OF_LINK = "LIST_OF_LINK",
33
+ PRODUCT_DETAIL = "PRODUCT_DETAIL",
34
+ PRODUCT_LIST = "PRODUCT_LIST",
35
+ PRODUCT_ATTRIBUTE = "PRODUCT_ATTRIBUTE",
36
+ PRODUCT_ATTRIBUTE_LIST = "PRODUCT_ATTRIBUTE_LIST",
37
+ BRAND = "BRAND",
38
+ BRAND_LIST = "BRAND_LIST",
39
+ CATEGORY = "CATEGORY",
40
+ CATEGORY_LIST = "CATEGORY_LIST",
41
+ COLOR = "COLOR",
42
+ CUSTOM = "CUSTOM",
43
+ COMPONENT = "COMPONENT",
44
+ COMPONENT_LIST = "COMPONENT_LIST",
45
+ BLOG = "BLOG",
46
+ BLOG_LIST = "BLOG_LIST",
47
+ BLOG_CATEGORY = "BLOG_CATEGORY",
48
+ BLOG_CATEGORY_LIST = "BLOG_CATEGORY_LIST",
49
+ RAFFLE = "RAFFLE",
50
+ RAFFLE_LIST = "RAFFLE_LIST",
51
+ SLIDER = "SLIDER",
52
+ OBJECT = "OBJECT",
53
+ STATIC_LIST = "STATIC_LIST",
54
+ DYNAMIC_LIST = "DYNAMIC_LIST",
55
+ ENUM = "ENUM"
56
+ }
57
+ export declare type IkasPropTranslation = {
58
+ displayName: string | null;
59
+ description: string | null;
60
+ };
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/models/theme-json/component/prop/index.ts"],"sourcesContent":["import { IkasProductAttributeType } from \"../../../..\";\n\nexport type IkasThemeJsonComponentProp = {\n id: string;\n name: string;\n displayName: string;\n description: string;\n type: IkasThemeJsonComponentPropType;\n isRequired: boolean;\n customDataId?: string | null;\n requiredPropId?: string;\n requiredEnumOptionId?: string;\n requiredEnumOptionValue?: string;\n attributeTypes?: IkasProductAttributeType[] | null;\n sliderData: IkasThemeJsonSliderData;\n translations: {\n [locale: string]: IkasPropTranslation;\n };\n};\n\nexport type IkasThemeJsonSliderData = {\n min?: number;\n max?: number;\n interval?: number;\n unit?: string;\n};\n\nexport enum IkasThemeJsonComponentPropType {\n TEXT = \"TEXT\",\n RICH_TEXT = \"RICH_TEXT\",\n BOOLEAN = \"BOOLEAN\",\n IMAGE = \"IMAGE\",\n IMAGE_LIST = \"IMAGE_LIST\",\n LINK = \"LINK\",\n LIST_OF_LINK = \"LIST_OF_LINK\",\n PRODUCT_DETAIL = \"PRODUCT_DETAIL\",\n PRODUCT_LIST = \"PRODUCT_LIST\",\n PRODUCT_ATTRIBUTE = \"PRODUCT_ATTRIBUTE\",\n PRODUCT_ATTRIBUTE_LIST = \"PRODUCT_ATTRIBUTE_LIST\",\n BRAND = \"BRAND\",\n BRAND_LIST = \"BRAND_LIST\",\n CATEGORY = \"CATEGORY\",\n CATEGORY_LIST = \"CATEGORY_LIST\",\n COLOR = \"COLOR\",\n CUSTOM = \"CUSTOM\",\n COMPONENT = \"COMPONENT\",\n COMPONENT_LIST = \"COMPONENT_LIST\",\n BLOG = \"BLOG\",\n BLOG_LIST = \"BLOG_LIST\",\n BLOG_CATEGORY = \"BLOG_CATEGORY\",\n BLOG_CATEGORY_LIST = \"BLOG_CATEGORY_LIST\",\n RAFFLE = \"RAFFLE\",\n RAFFLE_LIST = \"RAFFLE_LIST\",\n SLIDER = \"SLIDER\",\n\n OBJECT = \"OBJECT\",\n STATIC_LIST = \"STATIC_LIST\",\n DYNAMIC_LIST = \"DYNAMIC_LIST\",\n ENUM = \"ENUM\",\n}\n\nexport type IkasPropTranslation = {\n displayName: string | null;\n description: string | null;\n};\n"],"names":["IkasThemeJsonComponentPropType"],"mappings":"aA2BA,IAAYA,yDAAAA,QAgCXA,oCAAA,GAhCWA,EAAAA,QAA8BA,iCAA9BA,uCAgCX,KA/BC,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,WAAA,aACAA,EAAA,KAAA,OACAA,EAAA,aAAA,eACAA,EAAA,eAAA,iBACAA,EAAA,aAAA,eACAA,EAAA,kBAAA,oBACAA,EAAA,uBAAA,yBACAA,EAAA,MAAA,QACAA,EAAA,WAAA,aACAA,EAAA,SAAA,WACAA,EAAA,cAAA,gBACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,eAAA,iBACAA,EAAA,KAAA,OACAA,EAAA,UAAA,YACAA,EAAA,cAAA,gBACAA,EAAA,mBAAA,qBACAA,EAAA,OAAA,SACAA,EAAA,YAAA,cACAA,EAAA,OAAA,SAEAA,EAAA,OAAA,SACAA,EAAA,YAAA,cACAA,EAAA,aAAA,eACAA,EAAA,KAAA"}
@@ -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,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/theme-json/page/index.ts"],"sourcesContent":["import { IkasThemeJsonPageComponent } from \"./component\";\n\nexport type IkasThemeJsonPage = {\n id: string;\n name: string | null;\n type: IkasThemeJsonPageType;\n slug: string | null;\n pageTitle: string | null;\n description: string | null;\n components: IkasThemeJsonPageComponent[];\n specifications: IkasThemeJsonPageSpecification[] | null;\n canonicals: string[] | null;\n disableIndex: boolean | null;\n};\n\nexport type IkasThemeJsonPageSpecification = {\n id: string;\n components: IkasThemeJsonPageComponent[];\n};\n\nexport enum IkasThemeJsonPageType {\n INDEX = \"INDEX\",\n CATEGORY = \"CATEGORY\",\n BRAND = \"BRAND\",\n PRODUCT = \"PRODUCT\",\n CUSTOM = \"CUSTOM\",\n ACCOUNT = \"ACCOUNT\",\n ADDRESSES = \"ADDRESSES\",\n ORDERS = \"ORDERS\",\n ORDER_DETAIL = \"ORDER_DETAIL\",\n LOGIN = \"LOGIN\",\n REGISTER = \"REGISTER\",\n FORGOT_PASSWORD = \"FORGOT_PASSWORD\",\n RECOVER_PASSWORD = \"RECOVER_PASSWORD\",\n CART = \"CART\",\n FAVORITE_PRODUCTS = \"FAVORITE_PRODUCTS\",\n SEARCH = \"SEARCH\",\n NOT_FOUND = \"NOT_FOUND\",\n BLOG = \"BLOG\",\n BLOG_INDEX = \"BLOG_INDEX\",\n BLOG_CATEGORY = \"BLOG_CATEGORY\",\n CHECKOUT = \"CHECKOUT\",\n RAFFLE = \"RAFFLE\",\n RAFFLE_DETAIL = \"RAFFLE_DETAIL\",\n RAFFLE_ACCOUNT = \"RAFFLE_ACCOUNT\",\n}\n"],"names":["IkasThemeJsonPageType"],"mappings":"aAoBA,IAAYA,yDAAAA,QAyBXA,2BAAA,GAzBWA,EAAAA,QAAqBA,wBAArBA,8BAyBX,KAxBC,MAAA,QACAA,EAAA,SAAA,WACAA,EAAA,MAAA,QACAA,EAAA,QAAA,UACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,UAAA,YACAA,EAAA,OAAA,SACAA,EAAA,aAAA,eACAA,EAAA,MAAA,QACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,KAAA,OACAA,EAAA,kBAAA,oBACAA,EAAA,OAAA,SACAA,EAAA,UAAA,YACAA,EAAA,KAAA,OACAA,EAAA,WAAA,aACAA,EAAA,cAAA,gBACAA,EAAA,SAAA,WACAA,EAAA,OAAA,SACAA,EAAA,cAAA,gBACAA,EAAA,eAAA"}
@@ -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,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/theme-json/settings/index.ts"],"sourcesContent":["import { IkasThemeJsonColor } from \"./color\";\nimport { IkasThemeJsonFavicon } from \"./favicon\";\nimport { IkasThemeJsonFontFamily } from \"./font-family\";\n\nexport type IkasThemeJsonSettings = {\n colors: IkasThemeJsonColor[];\n favicon: IkasThemeJsonFavicon;\n stockPreference: IkasThemeJsonStockPreference;\n fontFamily: IkasThemeJsonFontFamily;\n};\n\nexport enum IkasThemeJsonStockPreference {\n HIDE_OUT_OF_STOCK = \"HIDE_OUT_OF_STOCK\",\n SHOW_ALL = \"SHOW_ALL\",\n SHOW_OUT_OF_STOCK_AT_END = \"SHOW_OUT_OF_STOCK_AT_END\",\n}\n"],"names":["IkasThemeJsonStockPreference"],"mappings":"aAWA,IAAYA,yDAAAA,QAIXA,kCAAA,GAJWA,EAAAA,QAA4BA,+BAA5BA,qCAIX,KAHC,kBAAA,oBACAA,EAAA,SAAA,WACAA,EAAA,yBAAA"}
@@ -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,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/variant-type/index.ts"],"sourcesContent":["import { IkasVariantValue } from \"./variant-value\";\n\nexport type IkasVariantType = {\n id: string;\n name: string;\n selectionType: IkasVariantSelectionType;\n values: IkasVariantValue[];\n translations?: IkasVariantTypeTranslation[] | null;\n};\n\nexport enum IkasVariantSelectionType {\n CHOICE = \"CHOICE\",\n COLOR = \"COLOR\",\n}\n\nexport type IkasVariantTypeTranslation = {\n locale: string;\n name: string | null;\n values: IkasVariantValueTranslation[] | null;\n};\n\nexport type IkasVariantValueTranslation = {\n id: string;\n name: string | null;\n};\n"],"names":["IkasVariantSelectionType"],"mappings":"aAUA,IAAYA,yDAAAA,QAGXA,8BAAA,GAHWA,EAAAA,QAAwBA,2BAAxBA,iCAGX,KAFC,OAAA,SACAA,EAAA,MAAA"}