@ikas/storefront-models 4.0.0-alpha.49 → 4.0.0-alpha.50

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 (407) hide show
  1. package/package.json +5 -5
  2. package/{build/index.d.ts → src/index.ts} +229 -170
  3. package/src/models/base/index.ts +6 -0
  4. package/src/models/base/init.ts +14 -0
  5. package/{build/models/blog/category/index.d.ts → src/models/blog/category/index.ts} +11 -9
  6. package/src/models/blog/category/init.ts +33 -0
  7. package/{build/models/blog/tag/index.d.ts → src/models/blog/content/index.ts} +5 -4
  8. package/src/models/blog/index.ts +26 -0
  9. package/src/models/blog/init.ts +7 -0
  10. package/src/models/blog/meta-data/index.ts +16 -0
  11. package/src/models/blog/tag/index.ts +5 -0
  12. package/src/models/blog/writer/index.ts +4 -0
  13. package/src/models/brand/index.ts +26 -0
  14. package/src/models/brand/init.ts +27 -0
  15. package/src/models/brand/translation/index.ts +5 -0
  16. package/src/models/campaign-offer/index.ts +43 -0
  17. package/src/models/campaign-offer/product/index.ts +27 -0
  18. package/src/models/cart/available-shipping-method/index.ts +13 -0
  19. package/src/models/cart/campaign-offer/index.ts +24 -0
  20. package/src/models/cart/index.ts +12 -0
  21. package/src/models/category/index.ts +30 -0
  22. package/src/models/category/init.ts +37 -0
  23. package/src/models/category/path-item/index.ts +11 -0
  24. package/src/models/category/path-item/init.ts +25 -0
  25. package/src/models/category/translations/index.ts +5 -0
  26. package/src/models/checkout/index.ts +3 -0
  27. package/src/models/checkout-settings/index.ts +24 -0
  28. package/src/models/checkout-settings/option/index.ts +4 -0
  29. package/src/models/checkout-settings/price/index.ts +5 -0
  30. package/src/models/city/index.ts +11 -0
  31. package/src/models/contact-form/index.ts +7 -0
  32. package/src/models/country/index.ts +17 -0
  33. package/src/models/country/init.ts +16 -0
  34. package/src/models/country/location-translations/index.ts +5 -0
  35. package/src/models/customer/address/city/index.ts +5 -0
  36. package/src/models/customer/address/country/index.ts +7 -0
  37. package/src/models/customer/address/district/index.ts +5 -0
  38. package/src/models/customer/address/index.ts +27 -0
  39. package/src/models/customer/address/state/index.ts +5 -0
  40. package/src/models/customer/attribute/index.ts +22 -0
  41. package/src/models/customer/attribute/init.ts +34 -0
  42. package/src/models/customer/attribute/option/index.ts +7 -0
  43. package/src/models/customer/attribute/sales-channel/index.ts +18 -0
  44. package/src/models/customer/attribute/translation/index.ts +8 -0
  45. package/src/models/customer/attribute/translation/option/index.ts +4 -0
  46. package/src/models/customer/attribute/value/index.ts +12 -0
  47. package/src/models/customer/index.ts +48 -0
  48. package/src/models/customer/review/index.ts +28 -0
  49. package/src/models/customer/review/init.ts +7 -0
  50. package/src/models/customer/review/settings/index.ts +4 -0
  51. package/src/models/customer/review/summary/index.ts +9 -0
  52. package/src/models/customer/review/summary/star/index.ts +4 -0
  53. package/src/models/district/index.ts +11 -0
  54. package/src/models/favorite-product/index.ts +6 -0
  55. package/src/models/filter-category/index.ts +9 -0
  56. package/src/models/html-meta-data/index.ts +28 -0
  57. package/src/models/html-meta-data/init.ts +27 -0
  58. package/src/models/html-meta-data/translations/index.ts +5 -0
  59. package/src/models/image/index.ts +4 -0
  60. package/src/models/last-viewed-product/index.ts +4 -0
  61. package/src/models/merchant-settings/address/city/index.ts +5 -0
  62. package/src/models/merchant-settings/address/country/index.ts +7 -0
  63. package/src/models/merchant-settings/address/district/index.ts +5 -0
  64. package/src/models/merchant-settings/address/index.ts +22 -0
  65. package/src/models/merchant-settings/address/state/index.ts +5 -0
  66. package/src/models/merchant-settings/address/type/index.ts +4 -0
  67. package/src/models/merchant-settings/index.ts +28 -0
  68. package/src/models/merchant-settings/init.ts +7 -0
  69. package/src/models/order/address/city/index.ts +5 -0
  70. package/src/models/order/address/country/index.ts +7 -0
  71. package/src/models/order/address/district/index.ts +5 -0
  72. package/src/models/order/address/index.ts +25 -0
  73. package/src/models/order/address/state/index.ts +5 -0
  74. package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
  75. package/src/models/order/adjustment/index.ts +24 -0
  76. package/src/models/order/customer/index.ts +9 -0
  77. package/src/models/order/gift-line/index.ts +4 -0
  78. package/src/models/order/index.ts +92 -0
  79. package/src/models/order/invoice/index.ts +15 -0
  80. package/src/models/order/line-item/base-unit/index.ts +22 -0
  81. package/src/models/order/line-item/base-unit/unit-type/index.ts +4 -0
  82. package/src/models/order/line-item/discount/index.ts +10 -0
  83. package/src/models/order/line-item/index.ts +37 -0
  84. package/src/models/order/line-item/option/index.ts +10 -0
  85. package/src/models/order/line-item/option/value/index.ts +5 -0
  86. package/src/models/order/line-item/variant/brand/index.ts +4 -0
  87. package/src/models/order/line-item/variant/category/index.ts +10 -0
  88. package/src/models/order/line-item/variant/index.ts +30 -0
  89. package/src/models/order/line-item/variant/price/index.ts +8 -0
  90. package/src/models/order/line-item/variant/unit/index.ts +6 -0
  91. package/src/models/order/line-item/variant/value/index.ts +7 -0
  92. package/src/models/order/package/index.ts +28 -0
  93. package/src/models/order/package/tracking-info/index.ts +7 -0
  94. package/src/models/order/payment-method/index.ts +9 -0
  95. package/src/models/order/refund/index.ts +6 -0
  96. package/src/models/order/refund/line-item/index.ts +4 -0
  97. package/src/models/order/refund/settings/index.ts +5 -0
  98. package/src/models/order/shipping-line/index.ts +12 -0
  99. package/src/models/order/tax-line/index.ts +4 -0
  100. package/src/models/order/transaction/error/index.ts +5 -0
  101. package/src/models/order/transaction/index.ts +37 -0
  102. package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
  103. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
  104. package/src/models/payment-gateway/additional-price/index.ts +16 -0
  105. package/src/models/payment-gateway/index.ts +47 -0
  106. package/src/models/payment-gateway/init.ts +26 -0
  107. package/src/models/payment-gateway/settings/index.ts +12 -0
  108. package/src/models/payment-gateway/translation/index.ts +5 -0
  109. package/src/models/product/attribute/index.ts +26 -0
  110. package/src/models/product/attribute/init.ts +34 -0
  111. package/src/models/product/attribute/option/index.ts +4 -0
  112. package/src/models/product/attribute/table-cell/index.ts +4 -0
  113. package/src/models/product/attribute/table-template/index.ts +6 -0
  114. package/src/models/product/attribute/translation/index.ts +11 -0
  115. package/src/models/product/attribute-value/index.ts +26 -0
  116. package/src/models/product/attribute-value/init.ts +7 -0
  117. package/src/models/product/back-in-stock-settings/index.ts +3 -0
  118. package/src/models/product/base-unit/index.ts +12 -0
  119. package/src/models/product/campaign/data/index.ts +43 -0
  120. package/src/models/product/campaign/filter/index.ts +12 -0
  121. package/src/models/product/campaign/index.ts +6 -0
  122. package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
  123. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
  124. package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
  125. package/src/models/product/filter/index.ts +98 -0
  126. package/src/models/product/image/index.ts +10 -0
  127. package/src/models/product/image/init.ts +7 -0
  128. package/src/models/product/index.ts +45 -0
  129. package/src/models/product/init.ts +16 -0
  130. package/src/models/product/option-set/index.ts +25 -0
  131. package/src/models/product/option-set/init.ts +77 -0
  132. package/src/models/product/option-set/option/index.ts +81 -0
  133. package/src/models/product/option-set/option/init.ts +13 -0
  134. package/src/models/product/tag/index.ts +4 -0
  135. package/src/models/product/variant/index.ts +22 -0
  136. package/src/models/product/variant/init.ts +10 -0
  137. package/src/models/product/variant/price/index.ts +9 -0
  138. package/src/models/product/variant/unit/index.ts +6 -0
  139. package/src/models/product/variant-type/index.ts +7 -0
  140. package/src/models/product/variant-type/init.ts +15 -0
  141. package/src/models/product-option-file/index.ts +5 -0
  142. package/src/models/raffle/index.ts +77 -0
  143. package/src/models/raffle/init.ts +6 -0
  144. package/src/models/sales-channel/index.ts +17 -0
  145. package/src/models/state/index.ts +7 -0
  146. package/src/models/stock-location/address/city/index.ts +5 -0
  147. package/src/models/stock-location/address/country/index.ts +5 -0
  148. package/src/models/stock-location/address/district/index.ts +5 -0
  149. package/src/models/stock-location/address/index.ts +14 -0
  150. package/src/models/stock-location/address/state/index.ts +5 -0
  151. package/src/models/stock-location/available/index.ts +9 -0
  152. package/src/models/stock-location/index.ts +26 -0
  153. package/src/models/storefront/domain/index.ts +7 -0
  154. package/src/models/storefront/index.ts +31 -0
  155. package/src/models/storefront/localization/index.tsx +6 -0
  156. package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
  157. package/src/models/storefront/routing/index.tsx +13 -0
  158. package/src/models/storefront/theme/index.tsx +13 -0
  159. package/src/models/storefront/theme-localization/index.tsx +13 -0
  160. package/src/models/theme-json/component/index.ts +19 -0
  161. package/src/models/theme-json/component/prop/index.ts +65 -0
  162. package/src/models/theme-json/custom-data/index.ts +46 -0
  163. package/src/models/theme-json/index.ts +12 -0
  164. package/src/models/theme-json/page/component/index.ts +11 -0
  165. package/src/models/theme-json/page/index.ts +46 -0
  166. package/src/models/theme-json/settings/color/index.ts +13 -0
  167. package/src/models/theme-json/settings/favicon/index.ts +3 -0
  168. package/src/models/theme-json/settings/font-family/index.ts +4 -0
  169. package/src/models/theme-json/settings/index.ts +16 -0
  170. package/src/models/variant-type/index.ts +25 -0
  171. package/src/models/variant-type/init.ts +37 -0
  172. package/src/models/variant-type/variant-value/index.ts +12 -0
  173. package/src/models/variant-type/variant-value/init.ts +5 -0
  174. package/build/_virtual/_tslib.js +0 -1
  175. package/build/index.js +0 -1
  176. package/build/models/base/index.d.ts +0 -6
  177. package/build/models/base/init.d.ts +0 -6
  178. package/build/models/base/init.js +0 -1
  179. package/build/models/blog/category/init.d.ts +0 -11
  180. package/build/models/blog/category/init.js +0 -1
  181. package/build/models/blog/content/index.d.ts +0 -4
  182. package/build/models/blog/index.d.ts +0 -24
  183. package/build/models/blog/init.d.ts +0 -2
  184. package/build/models/blog/init.js +0 -1
  185. package/build/models/blog/meta-data/index.d.ts +0 -14
  186. package/build/models/blog/meta-data/index.js +0 -1
  187. package/build/models/blog/writer/index.d.ts +0 -4
  188. package/build/models/brand/index.d.ts +0 -23
  189. package/build/models/brand/index.js +0 -1
  190. package/build/models/brand/init.d.ts +0 -2
  191. package/build/models/brand/init.js +0 -1
  192. package/build/models/brand/translation/index.d.ts +0 -5
  193. package/build/models/campaign-offer/index.d.ts +0 -37
  194. package/build/models/campaign-offer/index.js +0 -1
  195. package/build/models/campaign-offer/product/index.d.ts +0 -24
  196. package/build/models/campaign-offer/product/index.js +0 -1
  197. package/build/models/cart/available-shipping-method/index.d.ts +0 -12
  198. package/build/models/cart/available-shipping-method/index.js +0 -1
  199. package/build/models/cart/campaign-offer/index.d.ts +0 -19
  200. package/build/models/cart/campaign-offer/index.js +0 -1
  201. package/build/models/cart/index.d.ts +0 -11
  202. package/build/models/category/index.d.ts +0 -27
  203. package/build/models/category/index.js +0 -1
  204. package/build/models/category/init.d.ts +0 -2
  205. package/build/models/category/init.js +0 -1
  206. package/build/models/category/path-item/index.d.ts +0 -10
  207. package/build/models/category/path-item/init.d.ts +0 -2
  208. package/build/models/category/path-item/init.js +0 -1
  209. package/build/models/category/translations/index.d.ts +0 -5
  210. package/build/models/checkout/index.d.ts +0 -2
  211. package/build/models/checkout-settings/index.d.ts +0 -22
  212. package/build/models/checkout-settings/index.js +0 -1
  213. package/build/models/checkout-settings/option/index.d.ts +0 -4
  214. package/build/models/checkout-settings/price/index.d.ts +0 -5
  215. package/build/models/city/index.d.ts +0 -10
  216. package/build/models/contact-form/index.d.ts +0 -7
  217. package/build/models/country/index.d.ts +0 -16
  218. package/build/models/country/init.d.ts +0 -2
  219. package/build/models/country/init.js +0 -1
  220. package/build/models/country/location-translations/index.d.ts +0 -5
  221. package/build/models/customer/address/city/index.d.ts +0 -5
  222. package/build/models/customer/address/country/index.d.ts +0 -7
  223. package/build/models/customer/address/district/index.d.ts +0 -5
  224. package/build/models/customer/address/index.d.ts +0 -25
  225. package/build/models/customer/address/state/index.d.ts +0 -5
  226. package/build/models/customer/attribute/index.d.ts +0 -20
  227. package/build/models/customer/attribute/index.js +0 -1
  228. package/build/models/customer/attribute/init.d.ts +0 -2
  229. package/build/models/customer/attribute/init.js +0 -1
  230. package/build/models/customer/attribute/option/index.d.ts +0 -7
  231. package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
  232. package/build/models/customer/attribute/sales-channel/index.js +0 -1
  233. package/build/models/customer/attribute/translation/index.d.ts +0 -7
  234. package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
  235. package/build/models/customer/attribute/value/index.d.ts +0 -9
  236. package/build/models/customer/index.d.ts +0 -43
  237. package/build/models/customer/index.js +0 -1
  238. package/build/models/customer/review/index.d.ts +0 -24
  239. package/build/models/customer/review/index.js +0 -1
  240. package/build/models/customer/review/init.d.ts +0 -2
  241. package/build/models/customer/review/init.js +0 -1
  242. package/build/models/customer/review/settings/index.d.ts +0 -4
  243. package/build/models/customer/review/summary/index.d.ts +0 -8
  244. package/build/models/customer/review/summary/star/index.d.ts +0 -4
  245. package/build/models/district/index.d.ts +0 -10
  246. package/build/models/favorite-product/index.d.ts +0 -5
  247. package/build/models/filter-category/index.d.ts +0 -8
  248. package/build/models/html-meta-data/index.d.ts +0 -25
  249. package/build/models/html-meta-data/index.js +0 -1
  250. package/build/models/html-meta-data/init.d.ts +0 -3
  251. package/build/models/html-meta-data/init.js +0 -1
  252. package/build/models/html-meta-data/translations/index.d.ts +0 -5
  253. package/build/models/image/index.d.ts +0 -4
  254. package/build/models/last-viewed-product/index.d.ts +0 -4
  255. package/build/models/merchant-settings/address/city/index.d.ts +0 -5
  256. package/build/models/merchant-settings/address/country/index.d.ts +0 -7
  257. package/build/models/merchant-settings/address/district/index.d.ts +0 -5
  258. package/build/models/merchant-settings/address/index.d.ts +0 -21
  259. package/build/models/merchant-settings/address/state/index.d.ts +0 -5
  260. package/build/models/merchant-settings/address/type/index.d.ts +0 -4
  261. package/build/models/merchant-settings/address/type/index.js +0 -1
  262. package/build/models/merchant-settings/index.d.ts +0 -24
  263. package/build/models/merchant-settings/index.js +0 -1
  264. package/build/models/merchant-settings/init.d.ts +0 -2
  265. package/build/models/merchant-settings/init.js +0 -1
  266. package/build/models/order/address/city/index.d.ts +0 -5
  267. package/build/models/order/address/country/index.d.ts +0 -7
  268. package/build/models/order/address/district/index.d.ts +0 -5
  269. package/build/models/order/address/index.d.ts +0 -22
  270. package/build/models/order/address/state/index.d.ts +0 -5
  271. package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
  272. package/build/models/order/adjustment/index.d.ts +0 -21
  273. package/build/models/order/adjustment/index.js +0 -1
  274. package/build/models/order/customer/index.d.ts +0 -9
  275. package/build/models/order/gift-line/index.d.ts +0 -4
  276. package/build/models/order/index.d.ts +0 -86
  277. package/build/models/order/index.js +0 -1
  278. package/build/models/order/invoice/index.d.ts +0 -14
  279. package/build/models/order/invoice/index.js +0 -1
  280. package/build/models/order/line-item/base-unit/index.d.ts +0 -20
  281. package/build/models/order/line-item/base-unit/index.js +0 -1
  282. package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
  283. package/build/models/order/line-item/discount/index.d.ts +0 -9
  284. package/build/models/order/line-item/index.d.ts +0 -35
  285. package/build/models/order/line-item/index.js +0 -1
  286. package/build/models/order/line-item/option/index.d.ts +0 -9
  287. package/build/models/order/line-item/option/value/index.d.ts +0 -5
  288. package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
  289. package/build/models/order/line-item/variant/category/index.d.ts +0 -9
  290. package/build/models/order/line-item/variant/index.d.ts +0 -27
  291. package/build/models/order/line-item/variant/price/index.d.ts +0 -8
  292. package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
  293. package/build/models/order/line-item/variant/value/index.d.ts +0 -7
  294. package/build/models/order/package/index.d.ts +0 -26
  295. package/build/models/order/package/index.js +0 -1
  296. package/build/models/order/package/tracking-info/index.d.ts +0 -7
  297. package/build/models/order/payment-method/index.d.ts +0 -8
  298. package/build/models/order/refund/index.d.ts +0 -5
  299. package/build/models/order/refund/line-item/index.d.ts +0 -4
  300. package/build/models/order/refund/settings/index.d.ts +0 -5
  301. package/build/models/order/shipping-line/index.d.ts +0 -11
  302. package/build/models/order/tax-line/index.d.ts +0 -4
  303. package/build/models/order/transaction/error/index.d.ts +0 -5
  304. package/build/models/order/transaction/index.d.ts +0 -34
  305. package/build/models/order/transaction/index.js +0 -1
  306. package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
  307. package/build/models/order/transaction/payment-method-detail/index.js +0 -1
  308. package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
  309. package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
  310. package/build/models/payment-gateway/additional-price/index.js +0 -1
  311. package/build/models/payment-gateway/index.d.ts +0 -42
  312. package/build/models/payment-gateway/index.js +0 -1
  313. package/build/models/payment-gateway/init.d.ts +0 -2
  314. package/build/models/payment-gateway/init.js +0 -1
  315. package/build/models/payment-gateway/settings/index.d.ts +0 -11
  316. package/build/models/payment-gateway/settings/index.js +0 -1
  317. package/build/models/payment-gateway/translation/index.d.ts +0 -5
  318. package/build/models/product/attribute/index.d.ts +0 -24
  319. package/build/models/product/attribute/index.js +0 -1
  320. package/build/models/product/attribute/init.d.ts +0 -2
  321. package/build/models/product/attribute/init.js +0 -1
  322. package/build/models/product/attribute/option/index.d.ts +0 -4
  323. package/build/models/product/attribute/table-cell/index.d.ts +0 -4
  324. package/build/models/product/attribute/table-template/index.d.ts +0 -5
  325. package/build/models/product/attribute/translation/index.d.ts +0 -10
  326. package/build/models/product/attribute-value/index.d.ts +0 -21
  327. package/build/models/product/attribute-value/init.d.ts +0 -2
  328. package/build/models/product/attribute-value/init.js +0 -1
  329. package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
  330. package/build/models/product/base-unit/index.d.ts +0 -10
  331. package/build/models/product/campaign/data/index.d.ts +0 -39
  332. package/build/models/product/campaign/data/index.js +0 -1
  333. package/build/models/product/campaign/filter/index.d.ts +0 -11
  334. package/build/models/product/campaign/filter/index.js +0 -1
  335. package/build/models/product/campaign/index.d.ts +0 -5
  336. package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
  337. package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
  338. package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
  339. package/build/models/product/filter/index.d.ts +0 -83
  340. package/build/models/product/filter/index.js +0 -1
  341. package/build/models/product/image/index.d.ts +0 -8
  342. package/build/models/product/image/init.d.ts +0 -2
  343. package/build/models/product/image/init.js +0 -1
  344. package/build/models/product/index.d.ts +0 -41
  345. package/build/models/product/index.js +0 -1
  346. package/build/models/product/init.d.ts +0 -2
  347. package/build/models/product/init.js +0 -1
  348. package/build/models/product/option-set/index.d.ts +0 -21
  349. package/build/models/product/option-set/init.d.ts +0 -6
  350. package/build/models/product/option-set/init.js +0 -1
  351. package/build/models/product/option-set/option/index.d.ts +0 -70
  352. package/build/models/product/option-set/option/index.js +0 -1
  353. package/build/models/product/option-set/option/init.d.ts +0 -2
  354. package/build/models/product/option-set/option/init.js +0 -1
  355. package/build/models/product/tag/index.d.ts +0 -4
  356. package/build/models/product/variant/index.d.ts +0 -21
  357. package/build/models/product/variant/init.d.ts +0 -2
  358. package/build/models/product/variant/init.js +0 -1
  359. package/build/models/product/variant/price/index.d.ts +0 -9
  360. package/build/models/product/variant/unit/index.d.ts +0 -5
  361. package/build/models/product/variant-type/index.d.ts +0 -6
  362. package/build/models/product/variant-type/init.d.ts +0 -2
  363. package/build/models/product/variant-type/init.js +0 -1
  364. package/build/models/product-option-file/index.d.ts +0 -5
  365. package/build/models/raffle/index.d.ts +0 -68
  366. package/build/models/raffle/index.js +0 -1
  367. package/build/models/raffle/init.d.ts +0 -2
  368. package/build/models/raffle/init.js +0 -1
  369. package/build/models/sales-channel/index.d.ts +0 -15
  370. package/build/models/state/index.d.ts +0 -6
  371. package/build/models/stock-location/address/city/index.d.ts +0 -5
  372. package/build/models/stock-location/address/country/index.d.ts +0 -5
  373. package/build/models/stock-location/address/district/index.d.ts +0 -5
  374. package/build/models/stock-location/address/index.d.ts +0 -13
  375. package/build/models/stock-location/address/state/index.d.ts +0 -5
  376. package/build/models/stock-location/available/index.d.ts +0 -8
  377. package/build/models/stock-location/index.d.ts +0 -23
  378. package/build/models/stock-location/index.js +0 -1
  379. package/build/models/storefront/domain/index.d.ts +0 -7
  380. package/build/models/storefront/index.d.ts +0 -27
  381. package/build/models/storefront/index.js +0 -1
  382. package/build/models/storefront/localization/index.d.ts +0 -6
  383. package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
  384. package/build/models/storefront/routing/index.d.ts +0 -12
  385. package/build/models/storefront/theme/index.d.ts +0 -12
  386. package/build/models/storefront/theme/index.js +0 -1
  387. package/build/models/storefront/theme-localization/index.d.ts +0 -11
  388. package/build/models/theme-json/component/index.d.ts +0 -17
  389. package/build/models/theme-json/component/prop/index.d.ts +0 -60
  390. package/build/models/theme-json/component/prop/index.js +0 -1
  391. package/build/models/theme-json/custom-data/index.d.ts +0 -37
  392. package/build/models/theme-json/index.d.ts +0 -11
  393. package/build/models/theme-json/page/component/index.d.ts +0 -5
  394. package/build/models/theme-json/page/index.d.ts +0 -43
  395. package/build/models/theme-json/page/index.js +0 -1
  396. package/build/models/theme-json/settings/color/index.d.ts +0 -12
  397. package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
  398. package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
  399. package/build/models/theme-json/settings/index.d.ts +0 -14
  400. package/build/models/theme-json/settings/index.js +0 -1
  401. package/build/models/variant-type/index.d.ts +0 -21
  402. package/build/models/variant-type/index.js +0 -1
  403. package/build/models/variant-type/init.d.ts +0 -2
  404. package/build/models/variant-type/init.js +0 -1
  405. package/build/models/variant-type/variant-value/index.d.ts +0 -9
  406. package/build/models/variant-type/variant-value/init.d.ts +0 -2
  407. package/build/models/variant-type/variant-value/init.js +0 -1
@@ -1,2 +0,0 @@
1
- import { IkasProductAttributeValue } from ".";
2
- export declare function initIkasProductAttributeValue(value: IkasProductAttributeValue): void;
@@ -1 +0,0 @@
1
- function i(i){var n;i.images=null===(n=i.imageIds)||void 0===n?void 0:n.map((function(i){return{id:i,isVideo:!1}}))}export{i as initIkasProductAttributeValue};
@@ -1,3 +0,0 @@
1
- export declare type IkasProductBackInStockSettings = {
2
- customerLoginRequired: boolean;
3
- };
@@ -1,10 +0,0 @@
1
- import { IkasProductUnitType } from "../../order/line-item/base-unit";
2
- export declare type IkasProductBaseUnit = {
3
- baseAmount: number | null;
4
- type: IkasProductUnitType;
5
- unit: IkasProductUnit;
6
- };
7
- export declare type IkasProductUnit = {
8
- id: string;
9
- name: string;
10
- };
@@ -1,39 +0,0 @@
1
- import { IkasProductBuyXThenGetY } from "../product-buyx-then-gety";
2
- import { IkasProductCampaignDateRangeField } from "../product-campaign-date-range-field";
3
- import { IkasProductFixedDiscount } from "../product-fixed-discount";
4
- export declare type IkasProductCampaignData = {
5
- applicableCustomerGroupIds: string[] | null;
6
- applicableCustomerIds: string[] | null;
7
- applicablePrice: IkasCampaignApplicablePrice;
8
- buyXThenGetY: IkasProductBuyXThenGetY;
9
- canCombineWithOtherCampaigns: boolean;
10
- createdFor: IkasCampaignCreatedFor | null;
11
- currencyCodes: [string] | null;
12
- dateRange: IkasProductCampaignDateRangeField | null;
13
- deleted: boolean;
14
- fixedDiscount: IkasProductFixedDiscount | null;
15
- hasCoupon: boolean;
16
- id: string;
17
- includeDiscountedProducts: boolean | null;
18
- salesChannelIds: string[] | null;
19
- title: string;
20
- type: IkasCampaignType;
21
- usageCount: number;
22
- usageLimit: number | null;
23
- usageLimitPerCustomer: number | null;
24
- };
25
- export declare enum IkasCampaignApplicablePrice {
26
- DISCOUNT_PRICE = "DISCOUNT_PRICE",
27
- SELL_PRICE = "SELL_PRICE"
28
- }
29
- export declare enum IkasCampaignCreatedFor {
30
- ABANDONED_CHECKOUT = "ABANDONED_CHECKOUT",
31
- CART = "CART",
32
- CUSTOMER_REVIEW = "CUSTOMER_REVIEW"
33
- }
34
- export declare enum IkasCampaignType {
35
- BUY_X_THEN_GET_Y = "BUY_X_THEN_GET_Y",
36
- FIXED_AMOUNT = "FIXED_AMOUNT",
37
- FREE_SHIPPING = "FREE_SHIPPING",
38
- RATIO = "FREE_SHIPPING"
39
- }
@@ -1 +0,0 @@
1
- var E,_,I;!function(E){E.DISCOUNT_PRICE="DISCOUNT_PRICE",E.SELL_PRICE="SELL_PRICE"}(E||(E={})),function(E){E.ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",E.CART="CART",E.CUSTOMER_REVIEW="CUSTOMER_REVIEW"}(_||(_={})),function(E){E.BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",E.FIXED_AMOUNT="FIXED_AMOUNT",E.FREE_SHIPPING="FREE_SHIPPING",E.RATIO="FREE_SHIPPING"}(I||(I={}));export{E as IkasCampaignApplicablePrice,_ as IkasCampaignCreatedFor,I as IkasCampaignType};
@@ -1,11 +0,0 @@
1
- export declare type IkasProductCampaignFilter = {
2
- idList: string[];
3
- type: IkasCampaignFilterType;
4
- };
5
- export declare enum IkasCampaignFilterType {
6
- CATEGORY = "CATEGORY",
7
- PRODUCT = "PRODUCT",
8
- PRODUCT_BRAND = "PRODUCT_BRAND",
9
- PRODUCT_TAG = "PRODUCT_TAG",
10
- VARIANT = "VARIANT"
11
- }
@@ -1 +0,0 @@
1
- var R;!function(R){R.CATEGORY="CATEGORY",R.PRODUCT="PRODUCT",R.PRODUCT_BRAND="PRODUCT_BRAND",R.PRODUCT_TAG="PRODUCT_TAG",R.VARIANT="VARIANT"}(R||(R={}));export{R as IkasCampaignFilterType};
@@ -1,5 +0,0 @@
1
- import { IkasProductCampaignData } from "./data";
2
- export declare type IkasProductCampaign = {
3
- campaign: IkasProductCampaignData;
4
- variantIds: string[];
5
- };
@@ -1,16 +0,0 @@
1
- import { IkasProductCampaignFilter } from "../filter";
2
- export declare type IkasProductBuyX = {
3
- amount: number;
4
- applyByQuantity: boolean;
5
- filter: IkasProductCampaignFilter;
6
- };
7
- export declare type IkasProductGetY = {
8
- amount: number;
9
- discountRatio: number;
10
- filter: IkasProductCampaignFilter;
11
- };
12
- export declare type IkasProductBuyXThenGetY = {
13
- buyX: IkasProductBuyX;
14
- getY: IkasProductGetY;
15
- maxUsagePerOrder: number;
16
- };
@@ -1,4 +0,0 @@
1
- export declare type IkasProductCampaignDateRangeField = {
2
- start: number | null;
3
- end: number | null;
4
- };
@@ -1,11 +0,0 @@
1
- import { IkasProductCampaignFilter } from "../filter";
2
- export declare type IkasCampaignMinMaxRangeField = {
3
- min: number | null;
4
- max: number | null;
5
- };
6
- export declare type IkasProductFixedDiscount = {
7
- amount: number | null;
8
- filters: IkasProductCampaignFilter | null;
9
- lineItemQuantityRange: IkasCampaignMinMaxRangeField | null;
10
- priceRange: IkasCampaignMinMaxRangeField | null;
11
- };
@@ -1,83 +0,0 @@
1
- import { IkasImage } from "../../image";
2
- export declare type IkasProductFilter = {
3
- id: string;
4
- key: string;
5
- name: string;
6
- order: number;
7
- type: IkasProductFilterType;
8
- displayType: IkasProductFilterDisplayType;
9
- isMultiSelect: boolean;
10
- isFacetFilter: boolean | null;
11
- values?: IkasApplicableProductFilterValue[] | null;
12
- customValues?: string[] | null;
13
- settings?: IkasProductFilterSettings | null;
14
- numberRange?: IkasFilterRangeValue | null;
15
- numberRangeLimit?: IkasFilterRangeValue | null;
16
- numberRangeListOptions?: IkasProductFilterNumberRangeListOption[] | null;
17
- };
18
- export declare type IkasApplicableProductFilterValue = {
19
- id: string;
20
- key: string;
21
- name: string;
22
- colorCode?: string | null;
23
- thumbnailImageId?: string | null;
24
- thumbnailImage?: IkasImage | null;
25
- resultCount?: number | null;
26
- isSelected: boolean;
27
- };
28
- export declare type IkasProductFilterValue = {
29
- id: string;
30
- type: IkasProductFilterType;
31
- displayType: IkasProductFilterDisplayType;
32
- valueList: string[];
33
- };
34
- export declare type IkasProductFilterSettings = {
35
- useAndFilter?: boolean | null;
36
- showCollapsedOnDesktop: boolean;
37
- showCollapsedOnMobile: boolean;
38
- sortType: IkasProductFilterSortType;
39
- customSortedValues: string[] | null;
40
- };
41
- export declare type IkasProductFacetInput = {
42
- id: string;
43
- type: IkasProductFilterType;
44
- displayType: IkasProductFilterDisplayType;
45
- };
46
- export declare enum IkasProductFilterType {
47
- ATTRIBUTE = "ATTRIBUTE",
48
- BRAND = "BRAND",
49
- DISCOUNT_RATIO = "DISCOUNT_RATIO",
50
- PRICE = "PRICE",
51
- STOCK_STATUS = "STOCK_STATUS",
52
- TAG = "TAG",
53
- VARIANT_TYPE = "VARIANT_TYPE"
54
- }
55
- export declare enum IkasProductFilterDisplayType {
56
- BOX = "BOX",
57
- DATE_RANGE = "DATE_RANGE",
58
- LIST = "LIST",
59
- NUMBER_RANGE_LIST = "NUMBER_RANGE_LIST",
60
- NUMBER_RANGE = "NUMBER_RANGE",
61
- SWATCH = "SWATCH"
62
- }
63
- export declare enum IkasProductFilterSortType {
64
- ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
65
- ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
66
- PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
67
- PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC",
68
- CUSTOM_SORT = "CUSTOM_SORT"
69
- }
70
- export declare enum IkasProductStockFilterValue {
71
- IN_STOCK = "in-stock",
72
- OUT_OF_STOCK = "out-of-stock"
73
- }
74
- export declare type IkasFilterRangeValue = {
75
- from: number;
76
- to: number | undefined | null;
77
- };
78
- export declare type IkasProductFilterNumberRangeListOption = {
79
- from: number;
80
- to: number | undefined | null;
81
- key: string;
82
- isSelected: boolean;
83
- };
@@ -1 +0,0 @@
1
- var T,A,C,_;!function(T){T.ATTRIBUTE="ATTRIBUTE",T.BRAND="BRAND",T.DISCOUNT_RATIO="DISCOUNT_RATIO",T.PRICE="PRICE",T.STOCK_STATUS="STOCK_STATUS",T.TAG="TAG",T.VARIANT_TYPE="VARIANT_TYPE"}(T||(T={})),function(T){T.BOX="BOX",T.DATE_RANGE="DATE_RANGE",T.LIST="LIST",T.NUMBER_RANGE_LIST="NUMBER_RANGE_LIST",T.NUMBER_RANGE="NUMBER_RANGE",T.SWATCH="SWATCH"}(A||(A={})),function(T){T.ALPHABETICAL_ASC="ALPHABETICAL_ASC",T.ALPHABETICAL_DESC="ALPHABETICAL_DESC",T.PRODUCT_COUNT_ASC="PRODUCT_COUNT_ASC",T.PRODUCT_COUNT_DESC="PRODUCT_COUNT_DESC",T.CUSTOM_SORT="CUSTOM_SORT"}(C||(C={})),function(T){T.IN_STOCK="in-stock",T.OUT_OF_STOCK="out-of-stock"}(_||(_={}));export{A as IkasProductFilterDisplayType,C as IkasProductFilterSortType,T as IkasProductFilterType,_ as IkasProductStockFilterValue};
@@ -1,8 +0,0 @@
1
- import { IkasImage } from "../../image";
2
- export declare type IkasProductImage = {
3
- imageId: string | null;
4
- isMain: boolean;
5
- isVideo: boolean | null;
6
- order: number;
7
- image?: IkasImage | null;
8
- };
@@ -1,2 +0,0 @@
1
- import { IkasProductImage } from ".";
2
- export declare function initIkasProductImage(productImage: IkasProductImage): void;
@@ -1 +0,0 @@
1
- function i(i){i.image=i.imageId?{id:i.imageId,isVideo:i.isVideo||!1}:null}export{i as initIkasProductImage};
@@ -1,41 +0,0 @@
1
- import { IkasCategory } from "../category";
2
- import { IkasProductVariant } from "./variant";
3
- import { IkasProductAttributeValue } from "./attribute-value";
4
- import { IkasProductVariantType } from "./variant-type";
5
- import { IkasBrand } from "../brand";
6
- import { IkasHTMLMetaData } from "../html-meta-data";
7
- import { IkasProductTag } from "./tag";
8
- import { IkasVariantValue } from "../variant-type/variant-value";
9
- import { IkasVariantType } from "../variant-type";
10
- import { IkasProductBaseUnit } from "./base-unit";
11
- export declare type IkasProduct = {
12
- id: string;
13
- name: string;
14
- type: IkasProductType;
15
- description: string;
16
- shortDescription: string;
17
- metaData: IkasHTMLMetaData | null;
18
- brand: IkasBrand | null;
19
- categories: IkasCategory[];
20
- tags: IkasProductTag[] | null;
21
- variants: IkasProductVariant[];
22
- attributes: IkasProductAttributeValue[];
23
- variantTypes: IkasProductVariantType[];
24
- productOptionSetId: string | null;
25
- baseUnit: IkasProductBaseUnit | null;
26
- };
27
- export declare enum IkasProductType {
28
- PHYSICAL = "PHYSICAL",
29
- DIGITAL = "DIGITAL",
30
- MEMBERSHIP = "MEMBERSHIP"
31
- }
32
- export declare type IkasDisplayedVariantValue = {
33
- variant: IkasProductVariant;
34
- variantValue: IkasVariantValue;
35
- hasStock: boolean;
36
- isSelected: boolean;
37
- };
38
- export declare type IkasDisplayedVariantType = {
39
- variantType: IkasVariantType;
40
- displayedVariantValues: IkasDisplayedVariantValue[];
41
- };
@@ -1 +0,0 @@
1
- var I;!function(I){I.PHYSICAL="PHYSICAL",I.DIGITAL="DIGITAL",I.MEMBERSHIP="MEMBERSHIP"}(I||(I={}));export{I as IkasProductType};
@@ -1,2 +0,0 @@
1
- import type { IkasProduct } from ".";
2
- export declare function initIkasProduct(product: IkasProduct, locale: string | null): void;
@@ -1 +0,0 @@
1
- import{initIkasProductVariantType as t}from"./variant-type/init.js";import{initIkasProductVariant as r}from"./variant/init.js";import{initIkasProductAttributeValue as a}from"./attribute-value/init.js";import{initIkasBrand as i}from"../brand/init.js";import{initIkasCategory as o}from"../category/init.js";import{initIkasHTMLMetaData as n}from"../html-meta-data/init.js";function m(m,e){m.metaData&&n(m.metaData,e),m.brand&&i(m.brand,e),m.categories.forEach((function(t){return o(t,e)})),m.variants.forEach(r),m.attributes.forEach(a),m.variantTypes.forEach(t)}export{m as initIkasProduct};
@@ -1,21 +0,0 @@
1
- import { IkasProductOption } from "./option";
2
- export declare type IkasProductOptionSelectValueTranslations = {
3
- id: string;
4
- value: string | null;
5
- };
6
- export declare type IkasProductOptionTranslations = {
7
- id: string;
8
- name: string | null;
9
- optionalText: string | null;
10
- values: IkasProductOptionSelectValueTranslations[] | null;
11
- };
12
- export declare type IkasProductOptionSetTranslations = {
13
- locale: string;
14
- options: IkasProductOptionTranslations[] | null;
15
- };
16
- export declare type IkasProductOptionSet = {
17
- id: string;
18
- name: string;
19
- options: IkasProductOption[];
20
- translations?: IkasProductOptionSetTranslations[] | null;
21
- };
@@ -1,6 +0,0 @@
1
- import { IkasProductOptionSet } from ".";
2
- import { IkasProductOption } from "./option";
3
- export declare function initIkasProductOptionSet(optionSet: IkasProductOptionSet, locale: string | null): void;
4
- export declare function setChildOptions(optionSet: IkasProductOptionSet): void;
5
- export declare function initOptionValues(optionSet: IkasProductOptionSet): void;
6
- export declare function initValues(option: IkasProductOption): void;
@@ -1 +0,0 @@
1
- import{IkasProductOptionType as n}from"./option/index.js";import{initIkasProductOption as o}from"./option/init.js";function i(i,e){i.options.forEach((function(n){n.productOptionSetId=i.id,o(n)})),i.translations&&e&&(!function(o,i,t){var r;if(i&&i.some((function(n){return n.locale===t}))){var e=i.find((function(n){return n.locale===t}));null===(r=null==e?void 0:e.options)||void 0===r||r.forEach((function(i){var t,r=o.options.find((function(n){return n.id===i.id}));r&&(r.name=i.name||r.name,r.optionalText=i.optionalText||r.optionalText,r.type===n.CHOICE&&(null===(t=i.values)||void 0===t||t.forEach((function(n){var o,i=null===(o=r.selectSettings)||void 0===o?void 0:o.values.find((function(o){return o.id===n.id}));i&&(i.value=n.value||i.value)}))))}))}}(i,i.translations,e),delete i.translations),t(i),r(i)}function t(n){n.options.forEach((function(o){var i=n.options.filter((function(n){return n.requiredOptionId===o.id}));i.length&&(o.childOptions=i)}))}function r(n){n.options.forEach((function(n){return e(n)}))}function e(n){n.isOptional||(n.values=[],n.childOptions&&n.childOptions.forEach((function(n){return e(n)})))}export{i as initIkasProductOptionSet,r as initOptionValues,e as initValues,t as setChildOptions};
@@ -1,70 +0,0 @@
1
- import { IkasImage } from "../../../image";
2
- export declare enum IkasProductOptionSelectType {
3
- BOX = "BOX",
4
- SELECT = "SELECT",
5
- SWATCH = "SWATCH"
6
- }
7
- export declare enum IkasProductOptionType {
8
- CHECKBOX = "CHECKBOX",
9
- CHOICE = "CHOICE",
10
- COLOR_PICKER = "COLOR_PICKER",
11
- DATE_PICKER = "DATE_PICKER",
12
- FILE = "FILE",
13
- IMAGE = "IMAGE",
14
- TEXT = "TEXT",
15
- TEXT_AREA = "TEXT_AREA"
16
- }
17
- export declare type IkasProductOptionOtherPrice = {
18
- currencyCode: string;
19
- price: number;
20
- };
21
- export declare type IkasProductOptionSelectValue = {
22
- id: string;
23
- order: number;
24
- value: string;
25
- price: number | null;
26
- otherPrices: IkasProductOptionOtherPrice[] | null;
27
- thumbnailImageId: string | null;
28
- colorCode: string | null;
29
- thumbnailImage: IkasImage | null;
30
- };
31
- export declare type IkasProductOptionSelectSettings = {
32
- type: IkasProductOptionSelectType;
33
- minSelect: number | null;
34
- maxSelect: number | null;
35
- values: IkasProductOptionSelectValue[];
36
- };
37
- export declare type IkasProductOptionDateSettings = {
38
- min: Date | null;
39
- max: Date | null;
40
- minRelativeNextDate: number | null;
41
- maxRelativeNextDate: number | null;
42
- };
43
- export declare type IkasProductOptionTextSettings = {
44
- min: number | null;
45
- max: number | null;
46
- };
47
- export declare type IkasProductOptionFileSettings = {
48
- allowedExtensions: string[] | null;
49
- minQuantity: number | null;
50
- maxQuantity: number | null;
51
- };
52
- export declare type IkasProductOption = {
53
- id: string;
54
- productOptionSetId: string;
55
- name: string;
56
- order: number;
57
- type: IkasProductOptionType;
58
- selectSettings: IkasProductOptionSelectSettings | null;
59
- textSettings: IkasProductOptionTextSettings | null;
60
- fileSettings: IkasProductOptionFileSettings | null;
61
- dateSettings: IkasProductOptionDateSettings | null;
62
- price: number | null;
63
- otherPrices: IkasProductOptionOtherPrice[] | null;
64
- isOptional: boolean;
65
- optionalText: string | null;
66
- requiredOptionId: string | null;
67
- requiredOptionValueIds: string[] | null;
68
- values: string[];
69
- childOptions: IkasProductOption[];
70
- };
@@ -1 +0,0 @@
1
- var E,C;!function(E){E.BOX="BOX",E.SELECT="SELECT",E.SWATCH="SWATCH"}(E||(E={})),function(E){E.CHECKBOX="CHECKBOX",E.CHOICE="CHOICE",E.COLOR_PICKER="COLOR_PICKER",E.DATE_PICKER="DATE_PICKER",E.FILE="FILE",E.IMAGE="IMAGE",E.TEXT="TEXT",E.TEXT_AREA="TEXT_AREA"}(C||(C={}));export{E as IkasProductOptionSelectType,C as IkasProductOptionType};
@@ -1,2 +0,0 @@
1
- import { IkasProductOption } from ".";
2
- export declare function initIkasProductOption(option: IkasProductOption): void;
@@ -1 +0,0 @@
1
- import e from"lodash/sortBy";function t(t){var s;t.selectSettings&&((s=t.selectSettings).values=e(s.values||[],"order"))}export{t as initIkasProductOption};
@@ -1,4 +0,0 @@
1
- export declare type IkasProductTag = {
2
- id: string;
3
- name: string;
4
- };
@@ -1,21 +0,0 @@
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
- };
@@ -1,2 +0,0 @@
1
- import { IkasProductVariant } from ".";
2
- export declare function initIkasProductVariant(variant: IkasProductVariant): void;
@@ -1 +0,0 @@
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};
@@ -1,9 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
1
- import { IkasProductUnitType } from "../../../order/line-item/base-unit";
2
- export declare type IkasProductVariantUnit = {
3
- amount: number | null;
4
- type: IkasProductUnitType;
5
- };
@@ -1,6 +0,0 @@
1
- import { IkasVariantType } from "../../variant-type";
2
- export declare type IkasProductVariantType = {
3
- order: number;
4
- variantType: IkasVariantType;
5
- variantValueIds: string[];
6
- };
@@ -1,2 +0,0 @@
1
- import { IkasProductVariantType } from ".";
2
- export declare function initIkasProductVariantType(variantType: IkasProductVariantType): void;
@@ -1 +0,0 @@
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};
@@ -1,5 +0,0 @@
1
- export declare type IkasProductOptionFileUrl = {
2
- fields: any;
3
- optionUrl: string;
4
- url: string;
5
- };
@@ -1,68 +0,0 @@
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
- }
@@ -1 +0,0 @@
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};
@@ -1,2 +0,0 @@
1
- import { IkasRaffle } from ".";
2
- export declare function initIkasRaffle(raffle: IkasRaffle, locale: string | null): void;
@@ -1 +0,0 @@
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};
@@ -1,15 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
1
- import { IkasBaseModel } from "../base";
2
- export declare type IkasState = {
3
- countryId: string;
4
- name: string;
5
- stateCode: string | null;
6
- } & IkasBaseModel;
@@ -1,5 +0,0 @@
1
- export declare type IkasStockLocationAddressCity = {
2
- code: string | null;
3
- id: string | null;
4
- name: string;
5
- };
@@ -1,5 +0,0 @@
1
- export declare type IkasStockLocationAddressCountry = {
2
- code: string | null;
3
- id: string | null;
4
- name: string;
5
- };
@@ -1,5 +0,0 @@
1
- export declare type IkasStockLocationAddressDistrict = {
2
- code: string | null;
3
- id: string | null;
4
- name: string | null;
5
- };
@@ -1,13 +0,0 @@
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
- };
@@ -1,5 +0,0 @@
1
- export declare type IkasStockLocationAddressState = {
2
- code: string | null;
3
- id: string | null;
4
- name: string | null;
5
- };
@@ -1,8 +0,0 @@
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
- };