@ikas/storefront-models 4.0.0-alpha.58 → 4.0.0-alpha.6

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 (505) hide show
  1. package/build-cjs/_virtual/_tslib.js +1 -0
  2. package/build-cjs/index.d.ts +0 -14
  3. package/build-cjs/index.js +2 -1
  4. package/build-cjs/models/base/init.js +1 -0
  5. package/build-cjs/models/blog/category/init.js +1 -0
  6. package/build-cjs/models/blog/init.js +1 -0
  7. package/build-cjs/models/blog/meta-data/index.js +1 -0
  8. package/build-cjs/models/brand/index.js +1 -0
  9. package/build-cjs/models/brand/init.js +1 -0
  10. package/build-cjs/models/campaign-offer/index.js +1 -0
  11. package/build-cjs/models/campaign-offer/product/index.js +1 -0
  12. package/build-cjs/models/cart/available-shipping-method/index.js +1 -0
  13. package/build-cjs/models/cart/campaign-offer/index.js +1 -0
  14. package/build-cjs/models/category/index.js +1 -0
  15. package/build-cjs/models/category/init.js +2 -1
  16. package/build-cjs/models/category/init.js.map +1 -1
  17. package/build-cjs/models/category/path-item/index.d.ts +0 -2
  18. package/build-cjs/models/checkout-settings/index.js +1 -0
  19. package/build-cjs/models/checkout-settings/price/index.d.ts +0 -1
  20. package/build-cjs/models/country/index.d.ts +0 -2
  21. package/build-cjs/models/customer/attribute/index.js +1 -0
  22. package/build-cjs/models/customer/attribute/init.js +1 -0
  23. package/build-cjs/models/customer/attribute/sales-channel/index.js +1 -0
  24. package/build-cjs/models/customer/index.js +1 -0
  25. package/build-cjs/models/customer/review/index.js +1 -0
  26. package/build-cjs/models/customer/review/init.js +1 -0
  27. package/build-cjs/models/html-meta-data/index.js +1 -0
  28. package/build-cjs/models/html-meta-data/init.js +1 -0
  29. package/build-cjs/models/merchant-settings/index.d.ts +0 -3
  30. package/build-cjs/models/merchant-settings/index.js +1 -0
  31. package/build-cjs/models/merchant-settings/index.js.map +1 -1
  32. package/build-cjs/models/merchant-settings/init.js +1 -0
  33. package/build-cjs/models/order/adjustment/index.js +1 -0
  34. package/build-cjs/models/order/index.d.ts +1 -3
  35. package/build-cjs/models/order/index.js +2 -1
  36. package/build-cjs/models/order/index.js.map +1 -1
  37. package/build-cjs/models/order/invoice/index.js +1 -0
  38. package/build-cjs/models/order/line-item/index.d.ts +0 -3
  39. package/build-cjs/models/order/line-item/index.js +1 -0
  40. package/build-cjs/models/order/line-item/index.js.map +1 -1
  41. package/build-cjs/models/order/line-item/variant/index.d.ts +0 -4
  42. package/build-cjs/models/order/line-item/variant/price/index.d.ts +0 -1
  43. package/build-cjs/models/order/package/index.js +1 -0
  44. package/build-cjs/models/order/transaction/index.d.ts +1 -1
  45. package/build-cjs/models/order/transaction/index.js +1 -0
  46. package/build-cjs/models/order/transaction/index.js.map +1 -1
  47. package/build-cjs/models/order/transaction/payment-method-detail/index.js +1 -0
  48. package/build-cjs/models/payment-gateway/additional-price/index.js +1 -0
  49. package/build-cjs/models/payment-gateway/index.js +1 -0
  50. package/build-cjs/models/payment-gateway/init.js +1 -0
  51. package/build-cjs/models/payment-gateway/settings/index.js +1 -0
  52. package/build-cjs/models/product/attribute/index.d.ts +1 -3
  53. package/build-cjs/models/product/attribute/index.js +2 -1
  54. package/build-cjs/models/product/attribute/index.js.map +1 -1
  55. package/build-cjs/models/product/attribute/init.js +1 -0
  56. package/build-cjs/models/product/attribute-value/init.js +1 -0
  57. package/build-cjs/models/product/campaign/data/index.js +1 -0
  58. package/build-cjs/models/product/campaign/filter/index.js +1 -0
  59. package/build-cjs/models/product/filter/index.d.ts +1 -3
  60. package/build-cjs/models/product/filter/index.js +2 -1
  61. package/build-cjs/models/product/filter/index.js.map +1 -1
  62. package/build-cjs/models/product/image/init.js +1 -0
  63. package/build-cjs/models/product/index.d.ts +0 -2
  64. package/build-cjs/models/product/index.js +1 -0
  65. package/build-cjs/models/product/index.js.map +1 -1
  66. package/build-cjs/models/product/init.js +1 -0
  67. package/build-cjs/models/product/option-set/init.js +1 -0
  68. package/build-cjs/models/product/option-set/option/index.js +1 -0
  69. package/build-cjs/models/product/option-set/option/init.js +1 -0
  70. package/build-cjs/models/product/variant/index.d.ts +0 -2
  71. package/build-cjs/models/product/variant/init.js +1 -0
  72. package/build-cjs/models/product/variant/price/index.d.ts +0 -2
  73. package/build-cjs/models/product/variant-type/index.d.ts +0 -1
  74. package/build-cjs/models/product/variant-type/init.js +1 -0
  75. package/build-cjs/models/raffle/index.d.ts +3 -9
  76. package/build-cjs/models/raffle/index.js +2 -1
  77. package/build-cjs/models/raffle/index.js.map +1 -1
  78. package/build-cjs/models/raffle/init.js +1 -0
  79. package/build-cjs/models/stock-location/index.js +1 -0
  80. package/build-cjs/models/storefront/index.d.ts +0 -1
  81. package/build-cjs/models/storefront/index.js +1 -0
  82. package/build-cjs/models/storefront/index.js.map +1 -1
  83. package/build-cjs/models/storefront/routing/index.d.ts +0 -2
  84. package/build-cjs/models/storefront/theme/index.js +1 -0
  85. package/build-cjs/models/theme-json/component/prop/index.js +1 -0
  86. package/build-cjs/models/theme-json/page/index.js +1 -0
  87. package/build-cjs/models/theme-json/settings/index.js +1 -0
  88. package/build-cjs/models/variant-type/index.js +1 -0
  89. package/build-cjs/models/variant-type/init.js +1 -0
  90. package/build-cjs/models/variant-type/variant-value/init.js +1 -0
  91. package/package.json +3 -9
  92. package/{build/index.d.ts → src/index.ts} +213 -170
  93. package/src/models/base/index.ts +6 -0
  94. package/src/models/base/init.ts +14 -0
  95. package/{build/models/blog/category/index.d.ts → src/models/blog/category/index.ts} +11 -9
  96. package/src/models/blog/category/init.ts +33 -0
  97. package/{build/models/blog/tag/index.d.ts → src/models/blog/content/index.ts} +5 -4
  98. package/src/models/blog/index.ts +26 -0
  99. package/src/models/blog/init.ts +7 -0
  100. package/src/models/blog/meta-data/index.ts +16 -0
  101. package/src/models/blog/tag/index.ts +5 -0
  102. package/src/models/blog/writer/index.ts +4 -0
  103. package/src/models/brand/index.ts +26 -0
  104. package/src/models/brand/init.ts +27 -0
  105. package/src/models/brand/translation/index.ts +5 -0
  106. package/src/models/campaign-offer/index.ts +43 -0
  107. package/src/models/campaign-offer/product/index.ts +27 -0
  108. package/src/models/cart/available-shipping-method/index.ts +13 -0
  109. package/src/models/cart/campaign-offer/index.ts +24 -0
  110. package/src/models/cart/index.ts +12 -0
  111. package/src/models/category/index.ts +30 -0
  112. package/src/models/category/init.ts +33 -0
  113. package/src/models/category/path-item/index.ts +9 -0
  114. package/src/models/category/translations/index.ts +5 -0
  115. package/src/models/checkout/index.ts +3 -0
  116. package/src/models/checkout-settings/index.ts +24 -0
  117. package/src/models/checkout-settings/option/index.ts +4 -0
  118. package/src/models/checkout-settings/price/index.ts +4 -0
  119. package/src/models/city/index.ts +11 -0
  120. package/src/models/contact-form/index.ts +7 -0
  121. package/src/models/country/index.ts +15 -0
  122. package/src/models/customer/address/city/index.ts +5 -0
  123. package/src/models/customer/address/country/index.ts +7 -0
  124. package/src/models/customer/address/district/index.ts +5 -0
  125. package/src/models/customer/address/index.tsx +27 -0
  126. package/src/models/customer/address/state/index.ts +5 -0
  127. package/src/models/customer/attribute/index.ts +22 -0
  128. package/src/models/customer/attribute/init.ts +34 -0
  129. package/src/models/customer/attribute/option/index.ts +7 -0
  130. package/src/models/customer/attribute/sales-channel/index.ts +18 -0
  131. package/src/models/customer/attribute/translation/index.ts +8 -0
  132. package/src/models/customer/attribute/translation/option/index.ts +4 -0
  133. package/src/models/customer/attribute/value/index.ts +12 -0
  134. package/src/models/customer/index.ts +48 -0
  135. package/src/models/customer/review/index.ts +28 -0
  136. package/src/models/customer/review/init.ts +7 -0
  137. package/src/models/customer/review/settings/index.ts +4 -0
  138. package/src/models/customer/review/summary/index.ts +9 -0
  139. package/src/models/customer/review/summary/star/index.ts +4 -0
  140. package/src/models/district/index.ts +11 -0
  141. package/src/models/favorite-product/index.ts +6 -0
  142. package/src/models/filter-category/index.ts +9 -0
  143. package/src/models/html-meta-data/index.ts +28 -0
  144. package/src/models/html-meta-data/init.ts +27 -0
  145. package/src/models/html-meta-data/translations/index.ts +5 -0
  146. package/src/models/image/index.ts +4 -0
  147. package/src/models/last-viewed-product/index.ts +4 -0
  148. package/src/models/merchant-settings/index.ts +25 -0
  149. package/src/models/merchant-settings/init.ts +7 -0
  150. package/src/models/order/address/city/index.ts +5 -0
  151. package/src/models/order/address/country/index.ts +7 -0
  152. package/src/models/order/address/district/index.ts +5 -0
  153. package/src/models/order/address/index.ts +25 -0
  154. package/src/models/order/address/state/index.ts +5 -0
  155. package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
  156. package/src/models/order/adjustment/index.ts +24 -0
  157. package/src/models/order/customer/index.ts +9 -0
  158. package/src/models/order/gift-line/index.ts +4 -0
  159. package/src/models/order/index.ts +90 -0
  160. package/src/models/order/invoice/index.ts +15 -0
  161. package/src/models/order/line-item/discount/index.ts +10 -0
  162. package/src/models/order/line-item/index.ts +34 -0
  163. package/src/models/order/line-item/option/index.ts +10 -0
  164. package/src/models/order/line-item/option/value/index.ts +5 -0
  165. package/src/models/order/line-item/variant/brand/index.ts +4 -0
  166. package/src/models/order/line-item/variant/category/index.ts +10 -0
  167. package/src/models/order/line-item/variant/index.ts +26 -0
  168. package/src/models/order/line-item/variant/price/index.ts +7 -0
  169. package/src/models/order/line-item/variant/value/index.ts +7 -0
  170. package/src/models/order/package/index.ts +28 -0
  171. package/src/models/order/package/tracking-info/index.ts +7 -0
  172. package/src/models/order/payment-method/index.ts +9 -0
  173. package/src/models/order/refund/index.ts +6 -0
  174. package/src/models/order/refund/line-item/index.ts +4 -0
  175. package/src/models/order/refund/settings/index.ts +5 -0
  176. package/src/models/order/shipping-line/index.ts +12 -0
  177. package/src/models/order/tax-line/index.ts +4 -0
  178. package/src/models/order/transaction/error/index.ts +5 -0
  179. package/src/models/order/transaction/index.ts +39 -0
  180. package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
  181. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
  182. package/src/models/payment-gateway/additional-price/index.ts +16 -0
  183. package/src/models/payment-gateway/index.ts +47 -0
  184. package/src/models/payment-gateway/init.ts +26 -0
  185. package/src/models/payment-gateway/settings/index.ts +12 -0
  186. package/src/models/payment-gateway/translation/index.ts +5 -0
  187. package/src/models/product/attribute/index.ts +24 -0
  188. package/src/models/product/attribute/init.ts +34 -0
  189. package/src/models/product/attribute/option/index.ts +4 -0
  190. package/src/models/product/attribute/table-cell/index.ts +4 -0
  191. package/src/models/product/attribute/table-template/index.ts +6 -0
  192. package/src/models/product/attribute/translation/index.ts +11 -0
  193. package/src/models/product/attribute-value/index.ts +26 -0
  194. package/src/models/product/attribute-value/init.ts +7 -0
  195. package/src/models/product/back-in-stock-settings/index.ts +3 -0
  196. package/src/models/product/campaign/data/index.ts +43 -0
  197. package/src/models/product/campaign/filter/index.ts +12 -0
  198. package/src/models/product/campaign/index.ts +6 -0
  199. package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
  200. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
  201. package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
  202. package/src/models/product/filter/index.ts +96 -0
  203. package/src/models/product/image/index.ts +10 -0
  204. package/src/models/product/image/init.ts +7 -0
  205. package/src/models/product/index.ts +43 -0
  206. package/src/models/product/init.ts +16 -0
  207. package/src/models/product/option-set/index.ts +25 -0
  208. package/src/models/product/option-set/init.ts +77 -0
  209. package/src/models/product/option-set/option/index.ts +81 -0
  210. package/src/models/product/option-set/option/init.ts +13 -0
  211. package/src/models/product/tag/index.ts +4 -0
  212. package/src/models/product/variant/index.ts +20 -0
  213. package/src/models/product/variant/init.ts +10 -0
  214. package/src/models/product/variant/price/index.ts +7 -0
  215. package/src/models/product/variant-type/index.ts +6 -0
  216. package/src/models/product/variant-type/init.ts +15 -0
  217. package/src/models/raffle/index.ts +70 -0
  218. package/src/models/raffle/init.ts +6 -0
  219. package/src/models/sales-channel/index.ts +17 -0
  220. package/src/models/state/index.ts +7 -0
  221. package/src/models/stock-location/address/city/index.ts +5 -0
  222. package/src/models/stock-location/address/country/index.ts +5 -0
  223. package/src/models/stock-location/address/district/index.ts +5 -0
  224. package/src/models/stock-location/address/index.ts +14 -0
  225. package/src/models/stock-location/address/state/index.ts +5 -0
  226. package/src/models/stock-location/available/index.ts +9 -0
  227. package/src/models/stock-location/index.ts +26 -0
  228. package/src/models/storefront/domain/index.ts +7 -0
  229. package/src/models/storefront/index.ts +30 -0
  230. package/src/models/storefront/localization/index.tsx +6 -0
  231. package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
  232. package/src/models/storefront/routing/index.tsx +11 -0
  233. package/src/models/storefront/theme/index.tsx +13 -0
  234. package/src/models/storefront/theme-localization/index.tsx +13 -0
  235. package/src/models/theme-json/component/index.ts +19 -0
  236. package/src/models/theme-json/component/prop/index.ts +65 -0
  237. package/src/models/theme-json/custom-data/index.ts +46 -0
  238. package/src/models/theme-json/index.ts +12 -0
  239. package/src/models/theme-json/page/component/index.ts +11 -0
  240. package/src/models/theme-json/page/index.ts +46 -0
  241. package/src/models/theme-json/settings/color/index.ts +13 -0
  242. package/src/models/theme-json/settings/favicon/index.ts +3 -0
  243. package/src/models/theme-json/settings/font-family/index.ts +4 -0
  244. package/src/models/theme-json/settings/index.ts +16 -0
  245. package/src/models/variant-type/index.ts +25 -0
  246. package/src/models/variant-type/init.ts +37 -0
  247. package/src/models/variant-type/variant-value/index.ts +12 -0
  248. package/src/models/variant-type/variant-value/init.ts +5 -0
  249. package/build/_virtual/_tslib.js +0 -1
  250. package/build/index.js +0 -1
  251. package/build/models/base/index.d.ts +0 -6
  252. package/build/models/base/init.d.ts +0 -6
  253. package/build/models/base/init.js +0 -1
  254. package/build/models/blog/category/init.d.ts +0 -11
  255. package/build/models/blog/category/init.js +0 -1
  256. package/build/models/blog/content/index.d.ts +0 -4
  257. package/build/models/blog/index.d.ts +0 -24
  258. package/build/models/blog/init.d.ts +0 -2
  259. package/build/models/blog/init.js +0 -1
  260. package/build/models/blog/meta-data/index.d.ts +0 -14
  261. package/build/models/blog/meta-data/index.js +0 -1
  262. package/build/models/blog/writer/index.d.ts +0 -4
  263. package/build/models/brand/index.d.ts +0 -23
  264. package/build/models/brand/index.js +0 -1
  265. package/build/models/brand/init.d.ts +0 -2
  266. package/build/models/brand/init.js +0 -1
  267. package/build/models/brand/translation/index.d.ts +0 -5
  268. package/build/models/campaign-offer/index.d.ts +0 -37
  269. package/build/models/campaign-offer/index.js +0 -1
  270. package/build/models/campaign-offer/product/index.d.ts +0 -24
  271. package/build/models/campaign-offer/product/index.js +0 -1
  272. package/build/models/cart/available-shipping-method/index.d.ts +0 -12
  273. package/build/models/cart/available-shipping-method/index.js +0 -1
  274. package/build/models/cart/campaign-offer/index.d.ts +0 -19
  275. package/build/models/cart/campaign-offer/index.js +0 -1
  276. package/build/models/cart/index.d.ts +0 -11
  277. package/build/models/category/index.d.ts +0 -27
  278. package/build/models/category/index.js +0 -1
  279. package/build/models/category/init.d.ts +0 -2
  280. package/build/models/category/init.js +0 -1
  281. package/build/models/category/path-item/index.d.ts +0 -10
  282. package/build/models/category/path-item/init.d.ts +0 -2
  283. package/build/models/category/path-item/init.js +0 -1
  284. package/build/models/category/translations/index.d.ts +0 -5
  285. package/build/models/checkout/index.d.ts +0 -2
  286. package/build/models/checkout-settings/index.d.ts +0 -22
  287. package/build/models/checkout-settings/index.js +0 -1
  288. package/build/models/checkout-settings/option/index.d.ts +0 -4
  289. package/build/models/checkout-settings/price/index.d.ts +0 -5
  290. package/build/models/city/index.d.ts +0 -10
  291. package/build/models/contact-form/index.d.ts +0 -7
  292. package/build/models/country/index.d.ts +0 -16
  293. package/build/models/country/init.d.ts +0 -2
  294. package/build/models/country/init.js +0 -1
  295. package/build/models/country/location-translations/index.d.ts +0 -5
  296. package/build/models/customer/address/city/index.d.ts +0 -5
  297. package/build/models/customer/address/country/index.d.ts +0 -7
  298. package/build/models/customer/address/district/index.d.ts +0 -5
  299. package/build/models/customer/address/index.d.ts +0 -25
  300. package/build/models/customer/address/state/index.d.ts +0 -5
  301. package/build/models/customer/attribute/index.d.ts +0 -20
  302. package/build/models/customer/attribute/index.js +0 -1
  303. package/build/models/customer/attribute/init.d.ts +0 -2
  304. package/build/models/customer/attribute/init.js +0 -1
  305. package/build/models/customer/attribute/option/index.d.ts +0 -7
  306. package/build/models/customer/attribute/sales-channel/index.d.ts +0 -16
  307. package/build/models/customer/attribute/sales-channel/index.js +0 -1
  308. package/build/models/customer/attribute/translation/index.d.ts +0 -7
  309. package/build/models/customer/attribute/translation/option/index.d.ts +0 -4
  310. package/build/models/customer/attribute/value/index.d.ts +0 -9
  311. package/build/models/customer/index.d.ts +0 -43
  312. package/build/models/customer/index.js +0 -1
  313. package/build/models/customer/review/index.d.ts +0 -24
  314. package/build/models/customer/review/index.js +0 -1
  315. package/build/models/customer/review/init.d.ts +0 -2
  316. package/build/models/customer/review/init.js +0 -1
  317. package/build/models/customer/review/settings/index.d.ts +0 -4
  318. package/build/models/customer/review/summary/index.d.ts +0 -8
  319. package/build/models/customer/review/summary/star/index.d.ts +0 -4
  320. package/build/models/district/index.d.ts +0 -10
  321. package/build/models/favorite-product/index.d.ts +0 -5
  322. package/build/models/filter-category/index.d.ts +0 -8
  323. package/build/models/html-meta-data/index.d.ts +0 -25
  324. package/build/models/html-meta-data/index.js +0 -1
  325. package/build/models/html-meta-data/init.d.ts +0 -3
  326. package/build/models/html-meta-data/init.js +0 -1
  327. package/build/models/html-meta-data/translations/index.d.ts +0 -5
  328. package/build/models/image/index.d.ts +0 -4
  329. package/build/models/last-viewed-product/index.d.ts +0 -4
  330. package/build/models/merchant-settings/address/city/index.d.ts +0 -5
  331. package/build/models/merchant-settings/address/country/index.d.ts +0 -7
  332. package/build/models/merchant-settings/address/district/index.d.ts +0 -5
  333. package/build/models/merchant-settings/address/index.d.ts +0 -21
  334. package/build/models/merchant-settings/address/state/index.d.ts +0 -5
  335. package/build/models/merchant-settings/address/type/index.d.ts +0 -4
  336. package/build/models/merchant-settings/address/type/index.js +0 -1
  337. package/build/models/merchant-settings/index.d.ts +0 -24
  338. package/build/models/merchant-settings/index.js +0 -1
  339. package/build/models/merchant-settings/init.d.ts +0 -2
  340. package/build/models/merchant-settings/init.js +0 -1
  341. package/build/models/order/address/city/index.d.ts +0 -5
  342. package/build/models/order/address/country/index.d.ts +0 -7
  343. package/build/models/order/address/district/index.d.ts +0 -5
  344. package/build/models/order/address/index.d.ts +0 -22
  345. package/build/models/order/address/state/index.d.ts +0 -5
  346. package/build/models/order/adjustment/applied-order-line/index.d.ts +0 -6
  347. package/build/models/order/adjustment/index.d.ts +0 -21
  348. package/build/models/order/adjustment/index.js +0 -1
  349. package/build/models/order/customer/index.d.ts +0 -9
  350. package/build/models/order/gift-line/index.d.ts +0 -4
  351. package/build/models/order/index.d.ts +0 -86
  352. package/build/models/order/index.js +0 -1
  353. package/build/models/order/invoice/index.d.ts +0 -14
  354. package/build/models/order/invoice/index.js +0 -1
  355. package/build/models/order/line-item/base-unit/index.d.ts +0 -20
  356. package/build/models/order/line-item/base-unit/index.js +0 -1
  357. package/build/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
  358. package/build/models/order/line-item/discount/index.d.ts +0 -9
  359. package/build/models/order/line-item/index.d.ts +0 -35
  360. package/build/models/order/line-item/index.js +0 -1
  361. package/build/models/order/line-item/option/index.d.ts +0 -9
  362. package/build/models/order/line-item/option/value/index.d.ts +0 -5
  363. package/build/models/order/line-item/variant/brand/index.d.ts +0 -4
  364. package/build/models/order/line-item/variant/category/index.d.ts +0 -9
  365. package/build/models/order/line-item/variant/index.d.ts +0 -27
  366. package/build/models/order/line-item/variant/price/index.d.ts +0 -8
  367. package/build/models/order/line-item/variant/unit/index.d.ts +0 -5
  368. package/build/models/order/line-item/variant/value/index.d.ts +0 -7
  369. package/build/models/order/package/index.d.ts +0 -26
  370. package/build/models/order/package/index.js +0 -1
  371. package/build/models/order/package/tracking-info/index.d.ts +0 -7
  372. package/build/models/order/payment-method/index.d.ts +0 -8
  373. package/build/models/order/refund/index.d.ts +0 -5
  374. package/build/models/order/refund/line-item/index.d.ts +0 -4
  375. package/build/models/order/refund/settings/index.d.ts +0 -5
  376. package/build/models/order/shipping-line/index.d.ts +0 -11
  377. package/build/models/order/tax-line/index.d.ts +0 -4
  378. package/build/models/order/transaction/error/index.d.ts +0 -5
  379. package/build/models/order/transaction/index.d.ts +0 -34
  380. package/build/models/order/transaction/index.js +0 -1
  381. package/build/models/order/transaction/payment-method-detail/index.d.ts +0 -22
  382. package/build/models/order/transaction/payment-method-detail/index.js +0 -1
  383. package/build/models/order/transaction/payment-method-detail/installment-price/index.d.ts +0 -7
  384. package/build/models/payment-gateway/additional-price/index.d.ts +0 -14
  385. package/build/models/payment-gateway/additional-price/index.js +0 -1
  386. package/build/models/payment-gateway/index.d.ts +0 -42
  387. package/build/models/payment-gateway/index.js +0 -1
  388. package/build/models/payment-gateway/init.d.ts +0 -2
  389. package/build/models/payment-gateway/init.js +0 -1
  390. package/build/models/payment-gateway/settings/index.d.ts +0 -11
  391. package/build/models/payment-gateway/settings/index.js +0 -1
  392. package/build/models/payment-gateway/translation/index.d.ts +0 -5
  393. package/build/models/product/attribute/index.d.ts +0 -24
  394. package/build/models/product/attribute/index.js +0 -1
  395. package/build/models/product/attribute/init.d.ts +0 -2
  396. package/build/models/product/attribute/init.js +0 -1
  397. package/build/models/product/attribute/option/index.d.ts +0 -4
  398. package/build/models/product/attribute/table-cell/index.d.ts +0 -4
  399. package/build/models/product/attribute/table-template/index.d.ts +0 -5
  400. package/build/models/product/attribute/translation/index.d.ts +0 -10
  401. package/build/models/product/attribute-value/index.d.ts +0 -21
  402. package/build/models/product/attribute-value/init.d.ts +0 -2
  403. package/build/models/product/attribute-value/init.js +0 -1
  404. package/build/models/product/back-in-stock-settings/index.d.ts +0 -3
  405. package/build/models/product/base-unit/index.d.ts +0 -10
  406. package/build/models/product/campaign/data/index.d.ts +0 -39
  407. package/build/models/product/campaign/data/index.js +0 -1
  408. package/build/models/product/campaign/filter/index.d.ts +0 -11
  409. package/build/models/product/campaign/filter/index.js +0 -1
  410. package/build/models/product/campaign/index.d.ts +0 -5
  411. package/build/models/product/campaign/product-buyx-then-gety/index.d.ts +0 -16
  412. package/build/models/product/campaign/product-campaign-date-range-field/index.d.ts +0 -4
  413. package/build/models/product/campaign/product-fixed-discount/index.d.ts +0 -11
  414. package/build/models/product/filter/index.d.ts +0 -83
  415. package/build/models/product/filter/index.js +0 -1
  416. package/build/models/product/image/index.d.ts +0 -8
  417. package/build/models/product/image/init.d.ts +0 -2
  418. package/build/models/product/image/init.js +0 -1
  419. package/build/models/product/index.d.ts +0 -41
  420. package/build/models/product/index.js +0 -1
  421. package/build/models/product/init.d.ts +0 -2
  422. package/build/models/product/init.js +0 -1
  423. package/build/models/product/option-set/index.d.ts +0 -21
  424. package/build/models/product/option-set/init.d.ts +0 -6
  425. package/build/models/product/option-set/init.js +0 -1
  426. package/build/models/product/option-set/option/index.d.ts +0 -70
  427. package/build/models/product/option-set/option/index.js +0 -1
  428. package/build/models/product/option-set/option/init.d.ts +0 -2
  429. package/build/models/product/option-set/option/init.js +0 -1
  430. package/build/models/product/tag/index.d.ts +0 -4
  431. package/build/models/product/variant/index.d.ts +0 -21
  432. package/build/models/product/variant/init.d.ts +0 -2
  433. package/build/models/product/variant/init.js +0 -1
  434. package/build/models/product/variant/price/index.d.ts +0 -9
  435. package/build/models/product/variant/unit/index.d.ts +0 -5
  436. package/build/models/product/variant-type/index.d.ts +0 -6
  437. package/build/models/product/variant-type/init.d.ts +0 -2
  438. package/build/models/product/variant-type/init.js +0 -1
  439. package/build/models/product-option-file/index.d.ts +0 -5
  440. package/build/models/raffle/index.d.ts +0 -68
  441. package/build/models/raffle/index.js +0 -1
  442. package/build/models/raffle/init.d.ts +0 -2
  443. package/build/models/raffle/init.js +0 -1
  444. package/build/models/sales-channel/index.d.ts +0 -15
  445. package/build/models/state/index.d.ts +0 -6
  446. package/build/models/stock-location/address/city/index.d.ts +0 -5
  447. package/build/models/stock-location/address/country/index.d.ts +0 -5
  448. package/build/models/stock-location/address/district/index.d.ts +0 -5
  449. package/build/models/stock-location/address/index.d.ts +0 -13
  450. package/build/models/stock-location/address/state/index.d.ts +0 -5
  451. package/build/models/stock-location/available/index.d.ts +0 -8
  452. package/build/models/stock-location/index.d.ts +0 -23
  453. package/build/models/stock-location/index.js +0 -1
  454. package/build/models/storefront/domain/index.d.ts +0 -7
  455. package/build/models/storefront/index.d.ts +0 -27
  456. package/build/models/storefront/index.js +0 -1
  457. package/build/models/storefront/localization/index.d.ts +0 -6
  458. package/build/models/storefront/routing/dynamic-currency/index.d.ts +0 -4
  459. package/build/models/storefront/routing/index.d.ts +0 -12
  460. package/build/models/storefront/theme/index.d.ts +0 -12
  461. package/build/models/storefront/theme/index.js +0 -1
  462. package/build/models/storefront/theme-localization/index.d.ts +0 -11
  463. package/build/models/theme-json/component/index.d.ts +0 -17
  464. package/build/models/theme-json/component/prop/index.d.ts +0 -60
  465. package/build/models/theme-json/component/prop/index.js +0 -1
  466. package/build/models/theme-json/custom-data/index.d.ts +0 -37
  467. package/build/models/theme-json/index.d.ts +0 -11
  468. package/build/models/theme-json/page/component/index.d.ts +0 -5
  469. package/build/models/theme-json/page/index.d.ts +0 -43
  470. package/build/models/theme-json/page/index.js +0 -1
  471. package/build/models/theme-json/settings/color/index.d.ts +0 -12
  472. package/build/models/theme-json/settings/favicon/index.d.ts +0 -3
  473. package/build/models/theme-json/settings/font-family/index.d.ts +0 -4
  474. package/build/models/theme-json/settings/index.d.ts +0 -14
  475. package/build/models/theme-json/settings/index.js +0 -1
  476. package/build/models/variant-type/index.d.ts +0 -21
  477. package/build/models/variant-type/index.js +0 -1
  478. package/build/models/variant-type/init.d.ts +0 -2
  479. package/build/models/variant-type/init.js +0 -1
  480. package/build/models/variant-type/variant-value/index.d.ts +0 -9
  481. package/build/models/variant-type/variant-value/init.d.ts +0 -2
  482. package/build/models/variant-type/variant-value/init.js +0 -1
  483. package/build-cjs/models/category/path-item/init.d.ts +0 -2
  484. package/build-cjs/models/category/path-item/init.js +0 -1
  485. package/build-cjs/models/category/path-item/init.js.map +0 -1
  486. package/build-cjs/models/country/init.d.ts +0 -2
  487. package/build-cjs/models/country/init.js +0 -1
  488. package/build-cjs/models/country/init.js.map +0 -1
  489. package/build-cjs/models/country/location-translations/index.d.ts +0 -5
  490. package/build-cjs/models/merchant-settings/address/city/index.d.ts +0 -5
  491. package/build-cjs/models/merchant-settings/address/country/index.d.ts +0 -7
  492. package/build-cjs/models/merchant-settings/address/district/index.d.ts +0 -5
  493. package/build-cjs/models/merchant-settings/address/index.d.ts +0 -21
  494. package/build-cjs/models/merchant-settings/address/state/index.d.ts +0 -5
  495. package/build-cjs/models/merchant-settings/address/type/index.d.ts +0 -4
  496. package/build-cjs/models/merchant-settings/address/type/index.js +0 -1
  497. package/build-cjs/models/merchant-settings/address/type/index.js.map +0 -1
  498. package/build-cjs/models/order/line-item/base-unit/index.d.ts +0 -20
  499. package/build-cjs/models/order/line-item/base-unit/index.js +0 -1
  500. package/build-cjs/models/order/line-item/base-unit/index.js.map +0 -1
  501. package/build-cjs/models/order/line-item/base-unit/unit-type/index.d.ts +0 -4
  502. package/build-cjs/models/order/line-item/variant/unit/index.d.ts +0 -5
  503. package/build-cjs/models/product/base-unit/index.d.ts +0 -10
  504. package/build-cjs/models/product/variant/unit/index.d.ts +0 -5
  505. package/build-cjs/models/product-option-file/index.d.ts +0 -5
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},exports.__assign.apply(this,arguments)};
2
+ //# sourceMappingURL=_tslib.js.map
@@ -27,8 +27,6 @@ export * from "./models/checkout-settings";
27
27
  export * from "./models/city";
28
28
  export * from "./models/contact-form";
29
29
  export * from "./models/country";
30
- export * from "./models/country/location-translations";
31
- export * from "./models/country/init";
32
30
  export * from "./models/customer/address/city";
33
31
  export * from "./models/customer/address/country";
34
32
  export * from "./models/customer/address/district";
@@ -57,12 +55,6 @@ export * from "./models/image";
57
55
  export * from "./models/last-viewed-product";
58
56
  export * from "./models/merchant-settings/init";
59
57
  export * from "./models/merchant-settings";
60
- export * from "./models/merchant-settings/address";
61
- export * from "./models/merchant-settings/address/city";
62
- export * from "./models/merchant-settings/address/country";
63
- export * from "./models/merchant-settings/address/district";
64
- export * from "./models/merchant-settings/address/state";
65
- export * from "./models/merchant-settings/address/type";
66
58
  export * from "./models/order/address/city";
67
59
  export * from "./models/order/address/country";
68
60
  export * from "./models/order/address/district";
@@ -73,15 +65,12 @@ export * from "./models/order/adjustment";
73
65
  export * from "./models/order/customer";
74
66
  export * from "./models/order/gift-line";
75
67
  export * from "./models/order/invoice";
76
- export * from "./models/order/line-item/base-unit/unit-type";
77
- export * from "./models/order/line-item/base-unit";
78
68
  export * from "./models/order/line-item/discount";
79
69
  export * from "./models/order/line-item/option/value";
80
70
  export * from "./models/order/line-item/option";
81
71
  export * from "./models/order/line-item/variant/brand";
82
72
  export * from "./models/order/line-item/variant/category";
83
73
  export * from "./models/order/line-item/variant/price";
84
- export * from "./models/order/line-item/variant/unit";
85
74
  export * from "./models/order/line-item/variant/value";
86
75
  export * from "./models/order/line-item/variant";
87
76
  export * from "./models/order/line-item";
@@ -112,7 +101,6 @@ export * from "./models/product/attribute";
112
101
  export * from "./models/product/attribute-value/init";
113
102
  export * from "./models/product/attribute-value";
114
103
  export * from "./models/product/back-in-stock-settings";
115
- export * from "./models/product/base-unit";
116
104
  export * from "./models/product/filter";
117
105
  export * from "./models/product/campaign/data";
118
106
  export * from "./models/product/campaign/filter";
@@ -128,14 +116,12 @@ export * from "./models/product/option-set/init";
128
116
  export * from "./models/product/option-set";
129
117
  export * from "./models/product/tag";
130
118
  export * from "./models/product/variant/price";
131
- export * from "./models/product/variant/unit";
132
119
  export * from "./models/product/variant/init";
133
120
  export * from "./models/product/variant";
134
121
  export * from "./models/product/variant-type/init";
135
122
  export * from "./models/product/variant-type";
136
123
  export * from "./models/product/init";
137
124
  export * from "./models/product";
138
- export * from "./models/product-option-file";
139
125
  export * from "./models/raffle/init";
140
126
  export * from "./models/raffle/";
141
127
  export * from "./models/sales-channel";
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),a=require("./models/brand/index.js"),i=require("./models/brand/init.js"),s=require("./models/campaign-offer/product/index.js"),o=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/index.js"),p=require("./models/cart/campaign-offer/index.js"),d=require("./models/category/index.js"),c=require("./models/category/init.js"),m=require("./models/checkout-settings/index.js"),l=require("./models/country/init.js"),y=require("./models/customer/attribute/sales-channel/index.js"),f=require("./models/customer/attribute/init.js"),k=require("./models/customer/attribute/index.js"),I=require("./models/customer/review/init.js"),g=require("./models/customer/review/index.js"),b=require("./models/customer/index.js"),P=require("./models/html-meta-data/init.js"),j=require("./models/html-meta-data/index.js"),x=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var T=require("./models/merchant-settings/address/type/index.js"),O=require("./models/order/adjustment/index.js"),q=require("./models/order/invoice/index.js"),C=require("./models/order/line-item/base-unit/index.js"),S=require("./models/order/line-item/index.js"),h=require("./models/order/package/index.js"),A=require("./models/order/transaction/payment-method-detail/index.js"),M=require("./models/order/transaction/index.js"),w=require("./models/order/index.js"),v=require("./models/payment-gateway/additional-price/index.js"),R=require("./models/payment-gateway/settings/index.js"),V=require("./models/payment-gateway/init.js"),F=require("./models/payment-gateway/index.js"),B=require("./models/product/attribute/init.js"),D=require("./models/product/attribute/index.js"),L=require("./models/product/attribute-value/init.js"),G=require("./models/product/filter/index.js"),H=require("./models/product/campaign/data/index.js"),J=require("./models/product/campaign/filter/index.js"),E=require("./models/product/image/init.js"),U=require("./models/product/option-set/option/init.js"),_=require("./models/product/option-set/option/index.js"),z=require("./models/product/option-set/init.js"),K=require("./models/product/variant/init.js"),N=require("./models/product/variant-type/init.js"),Q=require("./models/product/init.js"),W=require("./models/product/index.js"),X=require("./models/raffle/init.js"),Y=require("./models/raffle/index.js"),Z=require("./models/stock-location/index.js"),$=require("./models/storefront/theme/index.js"),ee=require("./models/storefront/index.js"),te=require("./models/theme-json/component/prop/index.js"),re=require("./models/theme-json/page/index.js"),ne=require("./models/theme-json/settings/index.js"),ae=require("./models/variant-type/variant-value/init.js"),ie=require("./models/variant-type/init.js"),se=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return a.IkasBrandOrderType}}),exports.initIkasBrand=i.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return s.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return o.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return o.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return o.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return o.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return u.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return p.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return d.IkasCategoryProductsOrderType}}),exports.initIkasCategory=c.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return m.IkasCheckoutRequirement}}),exports.initIkasCountry=l.initIkasCountry,Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return y.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return y.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=f.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return k.IkasCustomerAttributeType}}),exports.initIkasCustomerReview=I.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return g.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return b.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return b.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return b.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=P.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=P.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return j.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=x.initIkasMerchantSettings,Object.defineProperty(exports,"IkasMerchantSettingsAddressTypeEnum",{enumerable:!0,get:function(){return T.IkasMerchantSettingsAddressTypeEnum}}),Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return O.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return O.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return q.IkasInvoiceType}}),Object.defineProperty(exports,"IkasProductUnitType",{enumerable:!0,get:function(){return C.IkasProductUnitType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return S.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return h.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return A.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return A.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return M.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return M.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return w.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return w.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return w.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return w.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return w.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return R.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=V.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return F.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return F.IkasPaymentMethodType}}),exports.initIkasProductAttribute=B.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return D.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=L.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return G.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return G.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return G.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return G.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return H.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return H.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return H.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return J.IkasCampaignFilterType}}),exports.initIkasProductImage=E.initIkasProductImage,exports.initIkasProductOption=U.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return _.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return _.IkasProductOptionType}}),exports.initIkasProductOptionSet=z.initIkasProductOptionSet,exports.initOptionValues=z.initOptionValues,exports.initValues=z.initValues,exports.setChildOptions=z.setChildOptions,exports.initIkasProductVariant=K.initIkasProductVariant,exports.initIkasProductVariantType=N.initIkasProductVariantType,exports.initIkasProduct=Q.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return W.IkasProductType}}),exports.initIkasRaffle=X.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return Y.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleParticipantStatus",{enumerable:!0,get:function(){return Y.IkasRaffleParticipantStatus}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return Y.IkasRaffleVerificationType}}),Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return Z.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return Z.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return $.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return ee.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return te.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return re.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ne.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=ae.initIkasVariantValue,exports.initIkasVariantType=ie.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return se.IkasVariantSelectionType}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./models/base/init.js"),t=require("./models/blog/category/init.js"),r=require("./models/blog/meta-data/index.js"),n=require("./models/blog/init.js"),a=require("./models/brand/index.js"),i=require("./models/brand/init.js"),o=require("./models/campaign-offer/product/index.js"),s=require("./models/campaign-offer/index.js"),u=require("./models/cart/available-shipping-method/index.js"),p=require("./models/cart/campaign-offer/index.js"),d=require("./models/category/index.js"),c=require("./models/category/init.js"),m=require("./models/checkout-settings/index.js"),l=require("./models/customer/attribute/sales-channel/index.js"),y=require("./models/customer/attribute/init.js"),f=require("./models/customer/attribute/index.js"),k=require("./models/customer/review/init.js"),I=require("./models/customer/review/index.js"),g=require("./models/customer/index.js"),b=require("./models/html-meta-data/init.js"),P=require("./models/html-meta-data/index.js"),j=require("./models/merchant-settings/init.js");require("./models/merchant-settings/index.js");var x=require("./models/order/adjustment/index.js"),T=require("./models/order/invoice/index.js"),O=require("./models/order/line-item/index.js"),C=require("./models/order/package/index.js"),q=require("./models/order/transaction/payment-method-detail/index.js"),S=require("./models/order/transaction/index.js"),h=require("./models/order/index.js"),A=require("./models/payment-gateway/additional-price/index.js"),M=require("./models/payment-gateway/settings/index.js"),w=require("./models/payment-gateway/init.js"),v=require("./models/payment-gateway/index.js"),V=require("./models/product/attribute/init.js"),F=require("./models/product/attribute/index.js"),R=require("./models/product/attribute-value/init.js"),B=require("./models/product/filter/index.js"),D=require("./models/product/campaign/data/index.js"),L=require("./models/product/campaign/filter/index.js"),G=require("./models/product/image/init.js"),H=require("./models/product/option-set/option/init.js"),J=require("./models/product/option-set/option/index.js"),E=require("./models/product/option-set/init.js"),U=require("./models/product/variant/init.js"),_=require("./models/product/variant-type/init.js"),z=require("./models/product/init.js"),K=require("./models/product/index.js"),N=require("./models/raffle/init.js"),Q=require("./models/raffle/index.js"),W=require("./models/stock-location/index.js"),X=require("./models/storefront/theme/index.js"),Y=require("./models/storefront/index.js"),Z=require("./models/theme-json/component/prop/index.js"),$=require("./models/theme-json/page/index.js"),ee=require("./models/theme-json/settings/index.js"),te=require("./models/variant-type/variant-value/init.js"),re=require("./models/variant-type/init.js"),ne=require("./models/variant-type/index.js");exports.createIkasBaseModel=e.createIkasBaseModel,exports.createIkasBlogCategory=t.createIkasBlogCategory,exports.initIkasBlogCategory=t.initIkasBlogCategory,Object.defineProperty(exports,"IkasBlogMetaDataTargetType",{enumerable:!0,get:function(){return r.IkasBlogMetaDataTargetType}}),exports.initIkasBlog=n.initIkasBlog,Object.defineProperty(exports,"IkasBrandOrderType",{enumerable:!0,get:function(){return a.IkasBrandOrderType}}),exports.initIkasBrand=i.initIkasBrand,Object.defineProperty(exports,"IkasCampaignOfferProductShowCriteria",{enumerable:!0,get:function(){return o.IkasCampaignOfferProductShowCriteria}}),Object.defineProperty(exports,"IkasCampaignOfferFollowUpActionType",{enumerable:!0,get:function(){return s.IkasCampaignOfferFollowUpActionType}}),Object.defineProperty(exports,"IkasCampaignOfferTargetPageType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTargetPageType}}),Object.defineProperty(exports,"IkasCampaignOfferTriggerFilterType",{enumerable:!0,get:function(){return s.IkasCampaignOfferTriggerFilterType}}),Object.defineProperty(exports,"IkasCampaignOfferType",{enumerable:!0,get:function(){return s.IkasCampaignOfferType}}),Object.defineProperty(exports,"IkasShippingMethod",{enumerable:!0,get:function(){return u.IkasShippingMethod}}),Object.defineProperty(exports,"IkasCartCampaignOfferStatus",{enumerable:!0,get:function(){return p.IkasCartCampaignOfferStatus}}),Object.defineProperty(exports,"IkasCategoryProductsOrderType",{enumerable:!0,get:function(){return d.IkasCategoryProductsOrderType}}),exports.initIkasCategory=c.initIkasCategory,Object.defineProperty(exports,"IkasCheckoutRequirement",{enumerable:!0,get:function(){return m.IkasCheckoutRequirement}}),Object.defineProperty(exports,"IkasCustomerAttributePermission",{enumerable:!0,get:function(){return l.IkasCustomerAttributePermission}}),Object.defineProperty(exports,"IkasCustomerAttributeRegisterPageRequirement",{enumerable:!0,get:function(){return l.IkasCustomerAttributeRegisterPageRequirement}}),exports.initIkasCustomerAttribute=y.initIkasCustomerAttribute,Object.defineProperty(exports,"IkasCustomerAttributeType",{enumerable:!0,get:function(){return f.IkasCustomerAttributeType}}),exports.initIkasCustomerReview=k.initIkasCustomerReview,Object.defineProperty(exports,"IkasCustomerReviewStatus",{enumerable:!0,get:function(){return I.IkasCustomerReviewStatus}}),Object.defineProperty(exports,"IkasCustomerAccountStatus",{enumerable:!0,get:function(){return g.IkasCustomerAccountStatus}}),Object.defineProperty(exports,"IkasCustomerEmailSubscriptionStatus",{enumerable:!0,get:function(){return g.IkasCustomerEmailSubscriptionStatus}}),Object.defineProperty(exports,"IkasCustomerRegistrationSource",{enumerable:!0,get:function(){return g.IkasCustomerRegistrationSource}}),exports.initIkasHTMLMetaData=b.initIkasHTMLMetaData,exports.setHTMLMetaDataTranslations=b.setHTMLMetaDataTranslations,Object.defineProperty(exports,"IkasHTMLMetaDataTargetType",{enumerable:!0,get:function(){return P.IkasHTMLMetaDataTargetType}}),exports.initIkasMerchantSettings=j.initIkasMerchantSettings,Object.defineProperty(exports,"IkasAdjustmentType",{enumerable:!0,get:function(){return x.IkasAdjustmentType}}),Object.defineProperty(exports,"IkasAmountType",{enumerable:!0,get:function(){return x.IkasAmountType}}),Object.defineProperty(exports,"IkasInvoiceType",{enumerable:!0,get:function(){return T.IkasInvoiceType}}),Object.defineProperty(exports,"IkasOrderLineItemStatus",{enumerable:!0,get:function(){return O.IkasOrderLineItemStatus}}),Object.defineProperty(exports,"IkasOrderPackageFullfillStatus",{enumerable:!0,get:function(){return C.IkasOrderPackageFullfillStatus}}),Object.defineProperty(exports,"IkasTransactionCardAssociation",{enumerable:!0,get:function(){return q.IkasTransactionCardAssociation}}),Object.defineProperty(exports,"IkasTransactionCardType",{enumerable:!0,get:function(){return q.IkasTransactionCardType}}),Object.defineProperty(exports,"IkasTransactionStatus",{enumerable:!0,get:function(){return S.IkasTransactionStatus}}),Object.defineProperty(exports,"IkasTransactionType",{enumerable:!0,get:function(){return S.IkasTransactionType}}),Object.defineProperty(exports,"IkasOrderCancelReason",{enumerable:!0,get:function(){return h.IkasOrderCancelReason}}),Object.defineProperty(exports,"IkasOrderPackageStatus",{enumerable:!0,get:function(){return h.IkasOrderPackageStatus}}),Object.defineProperty(exports,"IkasOrderPaymentStatus",{enumerable:!0,get:function(){return h.IkasOrderPaymentStatus}}),Object.defineProperty(exports,"IkasOrderShippingMethod",{enumerable:!0,get:function(){return h.IkasOrderShippingMethod}}),Object.defineProperty(exports,"IkasOrderStatus",{enumerable:!0,get:function(){return h.IkasOrderStatus}}),Object.defineProperty(exports,"IkasPaymentGatewayAdditionalPriceType",{enumerable:!0,get:function(){return A.IkasPaymentGatewayAdditionalPriceType}}),Object.defineProperty(exports,"IkasPaymentGatewayTransactionFeeType",{enumerable:!0,get:function(){return A.IkasPaymentGatewayTransactionFeeType}}),Object.defineProperty(exports,"IkasPaymentGatewaySettingsType",{enumerable:!0,get:function(){return M.IkasPaymentGatewaySettingsType}}),exports.initIkasPaymentGateway=w.initIkasPaymentGateway,Object.defineProperty(exports,"IkasPaymentGatewayType",{enumerable:!0,get:function(){return v.IkasPaymentGatewayType}}),Object.defineProperty(exports,"IkasPaymentMethodType",{enumerable:!0,get:function(){return v.IkasPaymentMethodType}}),exports.initIkasProductAttribute=V.initIkasProductAttribute,Object.defineProperty(exports,"IkasProductAttributeType",{enumerable:!0,get:function(){return F.IkasProductAttributeType}}),exports.initIkasProductAttributeValue=R.initIkasProductAttributeValue,Object.defineProperty(exports,"IkasProductFilterDisplayType",{enumerable:!0,get:function(){return B.IkasProductFilterDisplayType}}),Object.defineProperty(exports,"IkasProductFilterSortType",{enumerable:!0,get:function(){return B.IkasProductFilterSortType}}),Object.defineProperty(exports,"IkasProductFilterType",{enumerable:!0,get:function(){return B.IkasProductFilterType}}),Object.defineProperty(exports,"IkasProductStockFilterValue",{enumerable:!0,get:function(){return B.IkasProductStockFilterValue}}),Object.defineProperty(exports,"IkasCampaignApplicablePrice",{enumerable:!0,get:function(){return D.IkasCampaignApplicablePrice}}),Object.defineProperty(exports,"IkasCampaignCreatedFor",{enumerable:!0,get:function(){return D.IkasCampaignCreatedFor}}),Object.defineProperty(exports,"IkasCampaignType",{enumerable:!0,get:function(){return D.IkasCampaignType}}),Object.defineProperty(exports,"IkasCampaignFilterType",{enumerable:!0,get:function(){return L.IkasCampaignFilterType}}),exports.initIkasProductImage=G.initIkasProductImage,exports.initIkasProductOption=H.initIkasProductOption,Object.defineProperty(exports,"IkasProductOptionSelectType",{enumerable:!0,get:function(){return J.IkasProductOptionSelectType}}),Object.defineProperty(exports,"IkasProductOptionType",{enumerable:!0,get:function(){return J.IkasProductOptionType}}),exports.initIkasProductOptionSet=E.initIkasProductOptionSet,exports.initOptionValues=E.initOptionValues,exports.initValues=E.initValues,exports.setChildOptions=E.setChildOptions,exports.initIkasProductVariant=U.initIkasProductVariant,exports.initIkasProductVariantType=_.initIkasProductVariantType,exports.initIkasProduct=z.initIkasProduct,Object.defineProperty(exports,"IkasProductType",{enumerable:!0,get:function(){return K.IkasProductType}}),exports.initIkasRaffle=N.initIkasRaffle,Object.defineProperty(exports,"IkasRaffleMetadataTargetType",{enumerable:!0,get:function(){return Q.IkasRaffleMetadataTargetType}}),Object.defineProperty(exports,"IkasRaffleVerificationType",{enumerable:!0,get:function(){return Q.IkasRaffleVerificationType}}),Object.defineProperty(exports,"IkasStockLocationDeliveryTime",{enumerable:!0,get:function(){return W.IkasStockLocationDeliveryTime}}),Object.defineProperty(exports,"IkasStockLocationType",{enumerable:!0,get:function(){return W.IkasStockLocationType}}),Object.defineProperty(exports,"IkasStorefrontThemeStatus",{enumerable:!0,get:function(){return X.IkasStorefrontThemeStatus}}),Object.defineProperty(exports,"IkasStorefrontStatus",{enumerable:!0,get:function(){return Y.IkasStorefrontStatus}}),Object.defineProperty(exports,"IkasThemeJsonComponentPropType",{enumerable:!0,get:function(){return Z.IkasThemeJsonComponentPropType}}),Object.defineProperty(exports,"IkasThemeJsonPageType",{enumerable:!0,get:function(){return $.IkasThemeJsonPageType}}),Object.defineProperty(exports,"IkasThemeJsonStockPreference",{enumerable:!0,get:function(){return ee.IkasThemeJsonStockPreference}}),exports.initIkasVariantValue=te.initIkasVariantValue,exports.initIkasVariantType=re.initIkasVariantType,Object.defineProperty(exports,"IkasVariantSelectionType",{enumerable:!0,get:function(){return ne.IkasVariantSelectionType}});
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIkasBaseModel=function(){return{id:"",createdAt:Date.now(),updatedAt:Date.now(),deleted:!1}};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../_virtual/_tslib.js"),a=require("../../base/init.js");function s(e){e.image=e.imageId?{id:e.imageId,isVideo:!1}:void 0}exports.createIkasBlogCategory=function(){var i=e.__assign(e.__assign({},a.createIkasBaseModel()),{imageId:"",name:"",metadata:e.__assign(e.__assign({},a.createIkasBaseModel()),{id:"",slug:""})});return s(i),i},exports.initIkasBlogCategory=s;
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./category/init.js");exports.initIkasBlog=function(i){e.initIkasBlogCategory(i.category),i.image=i.imageId?{id:i.imageId,isVideo:!1}:void 0};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasBlogMetaDataTargetType=void 0,(e=exports.IkasBlogMetaDataTargetType||(exports.IkasBlogMetaDataTargetType={})).BLOG="BLOG",e.BLOG_CATEGORY="BLOG_CATEGORY";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var T;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasBrandOrderType=void 0,(T=exports.IkasBrandOrderType||(exports.IkasBrandOrderType={})).BEST_SELLER="BEST_SELLER",T.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",T.HIGHEST_PRICE="HIGHEST_PRICE",T.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",T.LOWEST_PRICE="LOWEST_PRICE",T.MANUALLY="MANUALLY",T.NEWEST="NEWEST",T.OLDEST="OLDEST";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../html-meta-data/init.js");exports.initIkasBrand=function(t,a){t.image=t.imageId?{id:t.imageId,isVideo:!1}:null,t.metaData&&e.initIkasHTMLMetaData(t.metaData,a),t.translations&&a&&(!function(e,t,a){if(t&&t.some((function(e){return e.locale===a}))){var i=t.find((function(e){return e.locale===a}));(null==i?void 0:i.name)&&(e.name=i.name),(null==i?void 0:i.description)&&(e.description=i.description)}}(t,t.translations,a),delete t.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,a,T,p;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignOfferFollowUpActionType=void 0,(e=exports.IkasCampaignOfferFollowUpActionType||(exports.IkasCampaignOfferFollowUpActionType={})).DO_NOTHING="DO_NOTHING",e.OPEN_CART="OPEN_CART",e.OPEN_CHECKOUT="OPEN_CHECKOUT",exports.IkasCampaignOfferTargetPageType=void 0,(a=exports.IkasCampaignOfferTargetPageType||(exports.IkasCampaignOfferTargetPageType={})).CHECKOUT="CHECKOUT",a.POST_CHECKOUT="POST_CHECKOUT",exports.IkasCampaignOfferType=void 0,(T=exports.IkasCampaignOfferType||(exports.IkasCampaignOfferType={})).CROSS_SELL="CROSS_SELL",T.UPSELL="UPSELL",exports.IkasCampaignOfferTriggerFilterType=void 0,(p=exports.IkasCampaignOfferTriggerFilterType||(exports.IkasCampaignOfferTriggerFilterType={})).ALL_PRODUCTS="ALL_PRODUCTS",p.CATEGORY="CATEGORY",p.PRODUCT="PRODUCT",p.PRODUCT_TAG="PRODUCT_TAG",p.VARIANT="VARIANT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignOfferProductShowCriteria=void 0,(r=exports.IkasCampaignOfferProductShowCriteria||(exports.IkasCampaignOfferProductShowCriteria={})).PREVIOUS_ACCEPTED="PREVIOUS_ACCEPTED",r.PREVIOUS_REJECTED="PREVIOUS_REJECTED";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasShippingMethod=void 0,(e=exports.IkasShippingMethod||(exports.IkasShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",e.NO_SHIPMENT="NO_SHIPMENT",e.SHIPMENT="SHIPMENT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCartCampaignOfferStatus=void 0,(a=exports.IkasCartCampaignOfferStatus||(exports.IkasCartCampaignOfferStatus={})).ACCEPTED="ACCEPTED",a.REJECTED="REJECTED",a.REMOVED="REMOVED",a.WAITING_FOR_ACTION="WAITING_FOR_ACTION";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var T;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCategoryProductsOrderType=void 0,(T=exports.IkasCategoryProductsOrderType||(exports.IkasCategoryProductsOrderType={})).BEST_SELLER="BEST_SELLER",T.HIGHEST_DISCOUNT_RATIO="HIGHEST_DISCOUNT_RATIO",T.HIGHEST_PRICE="HIGHEST_PRICE",T.LOWEST_DISCOUNT_RATIO="LOWEST_DISCOUNT_RATIO",T.LOWEST_PRICE="LOWEST_PRICE",T.MANUALLY="MANUALLY",T.NEWEST="NEWEST",T.OLDEST="OLDEST";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../html-meta-data/init.js"),e=require("./path-item/init.js");exports.initIkasCategory=function(i,a){i.image=i.imageId?{id:i.imageId,isVideo:!1}:void 0,i.metaData&&t.initIkasHTMLMetaData(i.metaData,a),i.translations&&a&&(!function(t,e,i){if(e&&e.some((function(t){return t.locale===i}))){var a=e.find((function(t){return t.locale===i}));(null==a?void 0:a.name)&&(t.name=a.name),(null==a?void 0:a.description)&&(t.description=a.description)}}(i,i.translations,a),delete i.translations),i.categoryPathItems.map((function(t){return e.initIkasCategoryPathItem(t,a)}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../html-meta-data/init.js");exports.initIkasCategory=function(t,i){t.image=t.imageId?{id:t.imageId,isVideo:!1}:void 0,t.metaData&&e.initIkasHTMLMetaData(t.metaData,i),t.translations&&i&&(!function(e,t,i){if(t&&t.some((function(e){return e.locale===i}))){var a=t.find((function(e){return e.locale===i}));(null==a?void 0:a.name)&&(e.name=a.name),(null==a?void 0:a.description)&&(e.description=a.description)}}(t,t.translations,i),delete t.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"init.js","sources":["../../../src/models/category/init.ts"],"sourcesContent":["import { IkasCategory } from \".\";\nimport { IkasCategoryTranslation } from \"./translations\";\nimport { initIkasHTMLMetaData } from \"../html-meta-data/init\";\nimport { initIkasCategoryPathItem } from \"./path-item/init\";\n\nexport function initIkasCategory(\n category: IkasCategory,\n locale: string | null\n) {\n category.image = category.imageId\n ? { id: category.imageId, isVideo: false }\n : undefined;\n\n category.metaData && initIkasHTMLMetaData(category.metaData, locale);\n\n if (category.translations && locale) {\n setTranslations(category, category.translations, locale);\n delete category.translations;\n }\n category.categoryPathItems.map((cPI) =>\n initIkasCategoryPathItem(cPI, locale)\n );\n}\n\nfunction setTranslations(\n category: IkasCategory,\n translations: IkasCategoryTranslation[],\n locale: string\n) {\n if (translations && translations.some((t) => t.locale === locale)) {\n const localeTranslations = translations.find((t) => t.locale === locale);\n\n if (localeTranslations?.name) category.name = localeTranslations.name;\n if (localeTranslations?.description)\n category.description = localeTranslations.description;\n }\n}\n"],"names":["category","locale","image","imageId","id","isVideo","undefined","metaData","initIkasHTMLMetaData","translations","some","t","localeTranslations","find","name","description","setTranslations","categoryPathItems","map","cPI","initIkasCategoryPathItem"],"mappings":"yKAKgB,SACdA,EACAC,GAEAD,EAASE,MAAQF,EAASG,QACtB,CAAEC,GAAIJ,EAASG,QAASE,SAAS,QACjCC,EAEJN,EAASO,UAAYC,EAAoBA,qBAACR,EAASO,SAAUN,GAEzDD,EAASS,cAAgBR,KAS/B,SACED,EACAS,EACAR,GAEA,GAAIQ,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEV,SAAWA,KAAS,CACjE,IAAMW,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEV,SAAWA,MAE7DW,aAAA,EAAAA,EAAoBE,QAAMd,EAASc,KAAOF,EAAmBE,OAC7DF,aAAA,EAAAA,EAAoBG,eACtBf,EAASe,YAAcH,EAAmBG,cAlB5CC,CAAgBhB,EAAUA,EAASS,aAAcR,UAC1CD,EAASS,cAElBT,EAASiB,kBAAkBC,KAAI,SAACC,GAC9B,OAAAC,EAAwBA,yBAACD,EAAKlB"}
1
+ {"version":3,"file":"init.js","sources":["../../../src/models/category/init.ts"],"sourcesContent":["import { IkasCategory } from \".\";\nimport { IkasCategoryTranslation } from \"./translations\";\nimport { initIkasHTMLMetaData } from \"../html-meta-data/init\";\n\nexport function initIkasCategory(\n category: IkasCategory,\n locale: string | null\n) {\n category.image = category.imageId\n ? { id: category.imageId, isVideo: false }\n : undefined;\n\n category.metaData && initIkasHTMLMetaData(category.metaData, locale);\n\n if (category.translations && locale) {\n setTranslations(category, category.translations, locale);\n delete category.translations;\n }\n}\n\nfunction setTranslations(\n category: IkasCategory,\n translations: IkasCategoryTranslation[],\n locale: string\n) {\n if (translations && translations.some((t) => t.locale === locale)) {\n const localeTranslations = translations.find((t) => t.locale === locale);\n\n if (localeTranslations?.name) category.name = localeTranslations.name;\n if (localeTranslations?.description)\n category.description = localeTranslations.description;\n }\n}\n"],"names":["category","locale","image","imageId","id","isVideo","undefined","metaData","initIkasHTMLMetaData","translations","some","t","localeTranslations","find","name","description","setTranslations"],"mappings":"wIAIgB,SACdA,EACAC,GAEAD,EAASE,MAAQF,EAASG,QACtB,CAAEC,GAAIJ,EAASG,QAASE,SAAS,QACjCC,EAEJN,EAASO,UAAYC,EAAoBA,qBAACR,EAASO,SAAUN,GAEzDD,EAASS,cAAgBR,KAM/B,SACED,EACAS,EACAR,GAEA,GAAIQ,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEV,SAAWA,KAAS,CACjE,IAAMW,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEV,SAAWA,MAE7DW,aAAA,EAAAA,EAAoBE,QAAMd,EAASc,KAAOF,EAAmBE,OAC7DF,aAAA,EAAAA,EAAoBG,eACtBf,EAASe,YAAcH,EAAmBG,cAf5CC,CAAgBhB,EAAUA,EAASS,aAAcR,UAC1CD,EAASS"}
@@ -1,10 +1,8 @@
1
1
  import { IkasHTMLMetaData } from "../../html-meta-data";
2
2
  import { IkasBaseModel } from "../../base";
3
- import { IkasCategoryTranslation } from "../translations";
4
3
  export declare type IkasCategoryPathItem = {
5
4
  metaData: IkasHTMLMetaData | null;
6
5
  description: string | null;
7
6
  imageId: string | null;
8
7
  name: string;
9
- translations?: IkasCategoryTranslation[] | null;
10
8
  } & IkasBaseModel;
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCheckoutRequirement=void 0,(e=exports.IkasCheckoutRequirement||(exports.IkasCheckoutRequirement={})).INVISIBLE="INVISIBLE",e.MANDATORY="MANDATORY",e.OPTIONAL="OPTIONAL";
2
+ //# sourceMappingURL=index.js.map
@@ -1,5 +1,4 @@
1
1
  export declare type IkasCheckoutSettingsPrice = {
2
2
  currencyCode: string;
3
- currencySymbol: string | null;
4
3
  price: number;
5
4
  };
@@ -1,5 +1,4 @@
1
1
  import { IkasBaseModel } from "../base";
2
- import { IkasLocationTranslations } from "./location-translations";
3
2
  export declare type IkasCountry = {
4
3
  capital: string | null;
5
4
  currency: string | null;
@@ -7,7 +6,6 @@ export declare type IkasCountry = {
7
6
  emojiString: string | null;
8
7
  iso2: string | null;
9
8
  iso3: string | null;
10
- locationTranslations?: IkasLocationTranslations | null;
11
9
  name: string;
12
10
  native: string | null;
13
11
  phoneCode: string | null;
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAttributeType=void 0,(e=exports.IkasCustomerAttributeType||(exports.IkasCustomerAttributeType={})).BOOLEAN="BOOLEAN",e.CHOICE="CHOICE",e.DATETIME="DATETIME",e.MULTIPLE_CHOICE="MULTIPLE_CHOICE",e.NUMERIC="NUMERIC",e.TEXT="TEXT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasCustomerAttribute=function(n,i){n.translations&&i&&(!function(n,i,o){var t;if(i&&i.some((function(n){return n.locale===o}))){var e=i.find((function(n){return n.locale===o}));(null==e?void 0:e.name)&&(n.name=e.name),(null==e?void 0:e.description)&&(n.description=e.description),(null==e?void 0:e.options)&&(null===(t=n.options)||void 0===t||t.forEach((function(n){var i,o=null===(i=e.options)||void 0===i?void 0:i.find((function(i){return i.id===n.id}));o&&o.name&&(n.name=o.name)})))}}(n,n.translations,i),delete n.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAttributePermission=void 0,(e=exports.IkasCustomerAttributePermission||(exports.IkasCustomerAttributePermission={})).INVISIBLE="INVISIBLE",e.READ="READ",e.WRITE="WRITE",exports.IkasCustomerAttributeRegisterPageRequirement=void 0,(t=exports.IkasCustomerAttributeRegisterPageRequirement||(exports.IkasCustomerAttributeRegisterPageRequirement={})).INVISIBLE="INVISIBLE",t.MANDATORY="MANDATORY",t.OPTIONAL="OPTIONAL";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var t,s,o;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerAccountStatus=void 0,(t=exports.IkasCustomerAccountStatus||(exports.IkasCustomerAccountStatus={})).ACTIVE_ACCOUNT="ACTIVE_ACCOUNT",t.DECLINED_ACCOUNT_INVITATION="DECLINED_ACCOUNT_INVITATION",t.DISABLED_ACCOUNT="DISABLED_ACCOUNT",t.INVITED_TO_CREATE_ACCOUNT="INVITED_TO_CREATE_ACCOUNT",exports.IkasCustomerRegistrationSource=void 0,(s=exports.IkasCustomerRegistrationSource||(exports.IkasCustomerRegistrationSource={})).credentials="credentials",s.facebook="facebook",s.google="google",exports.IkasCustomerEmailSubscriptionStatus=void 0,(o=exports.IkasCustomerEmailSubscriptionStatus||(exports.IkasCustomerEmailSubscriptionStatus={})).NOT_SUBSCRIBED="NOT_SUBSCRIBED",o.PENDING_CONFIRMATION="PENDING_CONFIRMATION",o.SUBSCRIBED="SUBSCRIBED";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCustomerReviewStatus=void 0,(e=exports.IkasCustomerReviewStatus||(exports.IkasCustomerReviewStatus={})).APPROVED="APPROVED",e.REJECTED="REJECTED",e.WAITING="WAITING";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasCustomerReview=function(e){e.images=e.imageIds?e.imageIds.map((function(e){return{id:e,isVideo:!1}})):null};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasHTMLMetaDataTargetType=void 0,(e=exports.IkasHTMLMetaDataTargetType||(exports.IkasHTMLMetaDataTargetType={})).BRAND="BRAND",e.CATEGORY="CATEGORY",e.PAGE="PAGE",e.PRODUCT="PRODUCT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";function t(t,e){if(t.translations&&t.translations.some((function(t){return t.locale===e}))){var n=t.translations.find((function(t){return t.locale===e}));(null==n?void 0:n.pageTitle)&&(t.pageTitle=n.pageTitle),(null==n?void 0:n.description)&&(t.description=n.description)}}Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasHTMLMetaData=function(e,n){n&&t(e,n)},exports.setHTMLMetaDataTranslations=t;
2
+ //# sourceMappingURL=init.js.map
@@ -1,12 +1,9 @@
1
1
  import { IkasImage } from "../image";
2
- import { IkasMerchantAddress } from "./address";
3
2
  export declare type IkasMerchantSettings = {
4
- address: IkasMerchantAddress | null;
5
3
  currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;
6
4
  logoId: string | null;
7
5
  merchantId: string;
8
6
  merchantName: string;
9
- phone: string | null;
10
7
  logo?: IkasImage | null;
11
8
  };
12
9
  export declare type IkasMerchantSettingsCurrencyFormat = {
@@ -1 +1,2 @@
1
1
  "use strict";var T;!function(T){T.LEFT="LEFT",T.RIGHT="RIGHT"}(T||(T={}));
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/models/merchant-settings/index.ts"],"sourcesContent":["import { IkasImage } from \"../image\";\nimport { IkasMerchantAddress } from \"./address\";\n\nexport type IkasMerchantSettings = {\n address: IkasMerchantAddress | null;\n currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;\n logoId: string | null;\n merchantId: string;\n merchantName: string;\n phone: string | null;\n\n // Extra\n logo?: IkasImage | null;\n};\n\nexport type IkasMerchantSettingsCurrencyFormat = {\n currencyCode: string;\n decimalSeparator: string;\n symbol: string;\n symbolPosition: IkasMerchantSettingsCurrencyFormatSymbolPosition;\n thousandSeparator: string;\n omitZeroDecimal: boolean;\n};\n\nenum IkasMerchantSettingsCurrencyFormatSymbolPosition {\n LEFT = \"LEFT\",\n RIGHT = \"RIGHT\",\n}\n"],"names":["IkasMerchantSettingsCurrencyFormatSymbolPosition"],"mappings":"aAwBA,IAAKA,GAAL,SAAKA,GACHA,EAAA,KAAA,OACAA,EAAA,MAAA,QAFF,CAAKA,IAAAA,EAGJ"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/merchant-settings/index.ts"],"sourcesContent":["import { IkasImage } from \"../image\";\n\nexport type IkasMerchantSettings = {\n currencyFormats: IkasMerchantSettingsCurrencyFormat[] | null;\n logoId: string | null;\n merchantId: string;\n merchantName: string;\n\n // Extra\n logo?: IkasImage | null;\n};\n\nexport type IkasMerchantSettingsCurrencyFormat = {\n currencyCode: string;\n decimalSeparator: string;\n symbol: string;\n symbolPosition: IkasMerchantSettingsCurrencyFormatSymbolPosition;\n thousandSeparator: string;\n omitZeroDecimal: boolean;\n};\n\nenum IkasMerchantSettingsCurrencyFormatSymbolPosition {\n LEFT = \"LEFT\",\n RIGHT = \"RIGHT\",\n}\n"],"names":["IkasMerchantSettingsCurrencyFormatSymbolPosition"],"mappings":"aAqBA,IAAKA,GAAL,SAAKA,GACHA,EAAA,KAAA,OACAA,EAAA,MAAA,QAFF,CAAKA,IAAAA,EAGJ"}
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasMerchantSettings=function(e){e.logo=e.logoId?{id:e.logoId,isVideo:!1}:null};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasAmountType=void 0,(e=exports.IkasAmountType||(exports.IkasAmountType={})).AMOUNT="AMOUNT",e.RATIO="RATIO",exports.IkasAdjustmentType=void 0,(t=exports.IkasAdjustmentType||(exports.IkasAdjustmentType={})).DECREMENT="DECREMENT",t.INCREMENT="INCREMENT";
2
+ //# sourceMappingURL=index.js.map
@@ -14,7 +14,6 @@ export declare type IkasOrder = {
14
14
  cancelReason: IkasOrderCancelReason | null;
15
15
  cancelledAt: number | null;
16
16
  currencyCode: string;
17
- currencySymbol: string | null;
18
17
  customer: IkasOrderCustomer | null;
19
18
  customerId: string | null;
20
19
  giftPackageLines: IkasOrderGiftPackageLine[] | null;
@@ -81,6 +80,5 @@ export declare enum IkasOrderStatus {
81
80
  export declare enum IkasOrderShippingMethod {
82
81
  CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
83
82
  NO_SHIPMENT = "NO_SHIPMENT",
84
- SHIPMENT = "SHIPMENT",
85
- DIGITAL_DELIVERY = "DIGITAL_DELIVERY"
83
+ SHIPMENT = "SHIPMENT"
86
84
  }
@@ -1 +1,2 @@
1
- "use strict";var E,D,L,R,I;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderCancelReason=void 0,(E=exports.IkasOrderCancelReason||(exports.IkasOrderCancelReason={})).CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER",exports.IkasOrderPackageStatus=void 0,(D=exports.IkasOrderPackageStatus||(exports.IkasOrderPackageStatus={})).CANCELLED="CANCELLED",D.CANCEL_REJECTED="CANCEL_REJECTED",D.CANCEL_REQUESTED="CANCEL_REQUESTED",D.DELIVERED="DELIVERED",D.FULFILLED="FULFILLED",D.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",D.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",D.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",D.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",D.READY_FOR_PICK_UP="READY_FOR_PICK_UP",D.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",D.REFUNDED="REFUNDED",D.REFUND_REJECTED="REFUND_REJECTED",D.REFUND_REQUESTED="REFUND_REQUESTED",D.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",D.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",D.UNFULFILLED="UNFULFILLED",exports.IkasOrderPaymentStatus=void 0,(L=exports.IkasOrderPaymentStatus||(exports.IkasOrderPaymentStatus={})).PAID="PAID",L.PARTIALLY_PAID="PARTIALLY_PAID",L.WAITING="WAITING",exports.IkasOrderStatus=void 0,(R=exports.IkasOrderStatus||(exports.IkasOrderStatus={})).CANCELLED="CANCELLED",R.CREATED="CREATED",R.DRAFT="DRAFT",R.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",R.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",R.REFUNDED="REFUNDED",R.REFUND_REJECTED="REFUND_REJECTED",R.REFUND_REQUESTED="REFUND_REQUESTED",exports.IkasOrderShippingMethod=void 0,(I=exports.IkasOrderShippingMethod||(exports.IkasOrderShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",I.NO_SHIPMENT="NO_SHIPMENT",I.SHIPMENT="SHIPMENT",I.DIGITAL_DELIVERY="DIGITAL_DELIVERY";
1
+ "use strict";var E,D,L,R,I;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderCancelReason=void 0,(E=exports.IkasOrderCancelReason||(exports.IkasOrderCancelReason={})).CUSTOMER="CUSTOMER",E.DECLINED="DECLINED",E.INVENTORY="INVENTORY",E.OTHER="OTHER",exports.IkasOrderPackageStatus=void 0,(D=exports.IkasOrderPackageStatus||(exports.IkasOrderPackageStatus={})).CANCELLED="CANCELLED",D.CANCEL_REJECTED="CANCEL_REJECTED",D.CANCEL_REQUESTED="CANCEL_REQUESTED",D.DELIVERED="DELIVERED",D.FULFILLED="FULFILLED",D.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",D.PARTIALLY_DELIVERED="PARTIALLY_DELIVERED",D.PARTIALLY_FULFILLED="PARTIALLY_FULFILLED",D.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",D.READY_FOR_PICK_UP="READY_FOR_PICK_UP",D.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",D.REFUNDED="REFUNDED",D.REFUND_REJECTED="REFUND_REJECTED",D.REFUND_REQUESTED="REFUND_REQUESTED",D.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",D.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER",D.UNFULFILLED="UNFULFILLED",exports.IkasOrderPaymentStatus=void 0,(L=exports.IkasOrderPaymentStatus||(exports.IkasOrderPaymentStatus={})).PAID="PAID",L.PARTIALLY_PAID="PARTIALLY_PAID",L.WAITING="WAITING",exports.IkasOrderStatus=void 0,(R=exports.IkasOrderStatus||(exports.IkasOrderStatus={})).CANCELLED="CANCELLED",R.CREATED="CREATED",R.DRAFT="DRAFT",R.PARTIALLY_CANCELLED="PARTIALLY_CANCELLED",R.PARTIALLY_REFUNDED="PARTIALLY_REFUNDED",R.REFUNDED="REFUNDED",R.REFUND_REJECTED="REFUND_REJECTED",R.REFUND_REQUESTED="REFUND_REQUESTED",exports.IkasOrderShippingMethod=void 0,(I=exports.IkasOrderShippingMethod||(exports.IkasOrderShippingMethod={})).CLICK_AND_COLLECT="CLICK_AND_COLLECT",I.NO_SHIPMENT="NO_SHIPMENT",I.SHIPMENT="SHIPMENT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/models/order/index.ts"],"sourcesContent":["import { IkasOrderAddress } from \"./address\";\nimport { IkasOrderShippingLine } from \"./shipping-line\";\nimport { IkasOrderLineItem } from \"./line-item\";\nimport { IkasOrderCustomer } from \"./customer\";\nimport { IkasOrderGiftPackageLine } from \"./gift-line\";\nimport { IkasInvoice } from \"./invoice\";\nimport { IkasOrderPaymentMethod } from \"./payment-method\";\nimport { IkasOrderAdjustment } from \"./adjustment\";\nimport { IkasOrderPackage } from \"./package\";\nimport { IkasOrderTaxLine } from \"./tax-line\";\nimport { IkasBaseModel } from \"../base\";\n\nexport type IkasOrder = {\n billingAddress: IkasOrderAddress | null;\n cancelReason: IkasOrderCancelReason | null;\n cancelledAt: number | null;\n currencyCode: string;\n currencySymbol: string | null;\n customer: IkasOrderCustomer | null;\n customerId: string | null;\n giftPackageLines: IkasOrderGiftPackageLine[] | null;\n giftPackageNote: string | null;\n invoices: IkasInvoice[] | null;\n isGiftPackage: boolean | null;\n note: string | null;\n orderAdjustments: IkasOrderAdjustment[] | null;\n orderLineItems: IkasOrderLineItem[];\n orderNumber: string | null;\n orderPackageStatus: IkasOrderPackageStatus | null;\n orderPackages: IkasOrderPackage[] | null;\n orderPaymentStatus: IkasOrderPaymentStatus | null;\n orderedAt: number | null;\n paymentMethods: IkasOrderPaymentMethod[] | null;\n shippingAddress: IkasOrderAddress | null;\n shippingLines: IkasOrderShippingLine[] | null;\n shippingMethod: IkasOrderShippingMethod;\n status: IkasOrderStatus;\n taxLines: IkasOrderTaxLine[] | null;\n totalFinalPrice: number;\n totalPrice: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderCancelReason {\n CUSTOMER = \"CUSTOMER\",\n DECLINED = \"DECLINED\",\n INVENTORY = \"INVENTORY\",\n OTHER = \"OTHER\",\n}\n\nexport enum IkasOrderPackageStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_DELIVERED = \"PARTIALLY_DELIVERED\",\n PARTIALLY_FULFILLED = \"PARTIALLY_FULFILLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n READY_FOR_PICK_UP = \"READY_FOR_PICK_UP\",\n READY_FOR_SHIPMENT = \"READY_FOR_SHIPMENT\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNABLE_TO_DELIVER = \"UNABLE_TO_DELIVER\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n\nexport enum IkasOrderPaymentStatus {\n PAID = \"PAID\",\n PARTIALLY_PAID = \"PARTIALLY_PAID\",\n WAITING = \"WAITING\",\n}\n\nexport enum IkasOrderStatus {\n CANCELLED = \"CANCELLED\",\n CREATED = \"CREATED\",\n DRAFT = \"DRAFT\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n}\n\nexport enum IkasOrderShippingMethod {\n CLICK_AND_COLLECT = \"CLICK_AND_COLLECT\",\n NO_SHIPMENT = \"NO_SHIPMENT\",\n SHIPMENT = \"SHIPMENT\",\n DIGITAL_DELIVERY = \"DIGITAL_DELIVERY\",\n}\n"],"names":["IkasOrderCancelReason","IkasOrderPackageStatus","IkasOrderPaymentStatus","IkasOrderStatus","IkasOrderShippingMethod"],"mappings":"aA0CA,IAAYA,EAOAC,EAoBAC,EAMAC,EAWAC,yDA5CAJ,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,MAAA,QAGUC,QAkBXA,4BAAA,GAlBWA,EAAAA,iCAAAA,QAAAA,uBAkBX,KAjBC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,kBAAA,oBACAA,EAAA,YAAA,cAGUC,QAIXA,4BAAA,GAJWA,EAAAA,iCAAAA,QAAAA,uBAIX,KAHC,KAAA,OACAA,EAAA,eAAA,iBACAA,EAAA,QAAA,UAGUC,QASXA,qBAAA,GATWA,EAAAA,0BAAAA,QAAAA,gBASX,KARC,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBAGUC,QAKXA,6BAAA,GALWA,EAAAA,QAAuBA,0BAAvBA,gCAKX,KAJC,kBAAA,oBACAA,EAAA,YAAA,cACAA,EAAA,SAAA,WACAA,EAAA,iBAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/order/index.ts"],"sourcesContent":["import { IkasOrderAddress } from \"./address\";\nimport { IkasOrderShippingLine } from \"./shipping-line\";\nimport { IkasOrderLineItem } from \"./line-item\";\nimport { IkasOrderCustomer } from \"./customer\";\nimport { IkasOrderGiftPackageLine } from \"./gift-line\";\nimport { IkasInvoice } from \"./invoice\";\nimport { IkasOrderPaymentMethod } from \"./payment-method\";\nimport { IkasOrderAdjustment } from \"./adjustment\";\nimport { IkasOrderPackage } from \"./package\";\nimport { IkasOrderTaxLine } from \"./tax-line\";\nimport { IkasBaseModel } from \"../base\";\n\nexport type IkasOrder = {\n billingAddress: IkasOrderAddress | null;\n cancelReason: IkasOrderCancelReason | null;\n cancelledAt: number | null;\n currencyCode: string;\n customer: IkasOrderCustomer | null;\n customerId: string | null;\n giftPackageLines: IkasOrderGiftPackageLine[] | null;\n giftPackageNote: string | null;\n invoices: IkasInvoice[] | null;\n isGiftPackage: boolean | null;\n note: string | null;\n orderAdjustments: IkasOrderAdjustment[] | null;\n orderLineItems: IkasOrderLineItem[];\n orderNumber: string | null;\n orderPackageStatus: IkasOrderPackageStatus | null;\n orderPackages: IkasOrderPackage[] | null;\n orderPaymentStatus: IkasOrderPaymentStatus | null;\n orderedAt: number | null;\n paymentMethods: IkasOrderPaymentMethod[] | null;\n shippingAddress: IkasOrderAddress | null;\n shippingLines: IkasOrderShippingLine[] | null;\n shippingMethod: IkasOrderShippingMethod;\n status: IkasOrderStatus;\n taxLines: IkasOrderTaxLine[] | null;\n totalFinalPrice: number;\n totalPrice: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderCancelReason {\n CUSTOMER = \"CUSTOMER\",\n DECLINED = \"DECLINED\",\n INVENTORY = \"INVENTORY\",\n OTHER = \"OTHER\",\n}\n\nexport enum IkasOrderPackageStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_DELIVERED = \"PARTIALLY_DELIVERED\",\n PARTIALLY_FULFILLED = \"PARTIALLY_FULFILLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n READY_FOR_PICK_UP = \"READY_FOR_PICK_UP\",\n READY_FOR_SHIPMENT = \"READY_FOR_SHIPMENT\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNABLE_TO_DELIVER = \"UNABLE_TO_DELIVER\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n\nexport enum IkasOrderPaymentStatus {\n PAID = \"PAID\",\n PARTIALLY_PAID = \"PARTIALLY_PAID\",\n WAITING = \"WAITING\",\n}\n\nexport enum IkasOrderStatus {\n CANCELLED = \"CANCELLED\",\n CREATED = \"CREATED\",\n DRAFT = \"DRAFT\",\n PARTIALLY_CANCELLED = \"PARTIALLY_CANCELLED\",\n PARTIALLY_REFUNDED = \"PARTIALLY_REFUNDED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n}\n\nexport enum IkasOrderShippingMethod {\n CLICK_AND_COLLECT = \"CLICK_AND_COLLECT\",\n NO_SHIPMENT = \"NO_SHIPMENT\",\n SHIPMENT = \"SHIPMENT\",\n}\n"],"names":["IkasOrderCancelReason","IkasOrderPackageStatus","IkasOrderPaymentStatus","IkasOrderStatus","IkasOrderShippingMethod"],"mappings":"aAyCA,IAAYA,EAOAC,EAoBAC,EAMAC,EAWAC,yDA5CAJ,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YACAA,EAAA,MAAA,QAGUC,QAkBXA,4BAAA,GAlBWA,EAAAA,iCAAAA,QAAAA,uBAkBX,KAjBC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,kBAAA,oBACAA,EAAA,YAAA,cAGUC,QAIXA,4BAAA,GAJWA,EAAAA,iCAAAA,QAAAA,uBAIX,KAHC,KAAA,OACAA,EAAA,eAAA,iBACAA,EAAA,QAAA,UAGUC,QASXA,qBAAA,GATWA,EAAAA,0BAAAA,QAAAA,gBASX,KARC,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,oBAAA,sBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBAGUC,QAIXA,6BAAA,GAJWA,EAAAA,QAAuBA,0BAAvBA,gCAIX,KAHC,kBAAA,oBACAA,EAAA,YAAA,cACAA,EAAA,SAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasInvoiceType=void 0,(e=exports.IkasInvoiceType||(exports.IkasInvoiceType={})).COMPANY="COMPANY",e.INDIVIDUAL="INDIVIDUAL",e.OTHER="OTHER";
2
+ //# sourceMappingURL=index.js.map
@@ -4,11 +4,9 @@ import { IkasOrderLineItemOption } from "./option";
4
4
  import { IkasBaseModel } from "../../base";
5
5
  export declare type IkasOrderLineItem = {
6
6
  currencyCode: string | null;
7
- currencySymbol: string | null;
8
7
  discount: IkasOrderLineDiscount | null;
9
8
  discountPrice: number | null;
10
9
  finalPrice: number | null;
11
- finalUnitPrice: number | null;
12
10
  options: IkasOrderLineItemOption[] | null;
13
11
  originalOrderLineItemId: string | null;
14
12
  price: number;
@@ -17,7 +15,6 @@ export declare type IkasOrderLineItem = {
17
15
  statusUpdatedAt: number | null;
18
16
  stockLocationId: string | null;
19
17
  taxValue: number | null;
20
- unitPrice: number | null;
21
18
  variant: IkasOrderLineVariant;
22
19
  orderedAt: number;
23
20
  } & IkasBaseModel;
@@ -1 +1,2 @@
1
1
  "use strict";var E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderLineItemStatus=void 0,(E=exports.IkasOrderLineItemStatus||(exports.IkasOrderLineItemStatus={})).CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.FULFILLED="FULFILLED",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNFULFILLED="UNFULFILLED";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/models/order/line-item/index.ts"],"sourcesContent":["import { IkasOrderLineDiscount } from \"./discount\";\nimport { IkasOrderLineVariant } from \"./variant\";\nimport { IkasOrderLineItemOption } from \"./option\";\nimport { IkasBaseModel } from \"../../base\";\n\nexport type IkasOrderLineItem = {\n currencyCode: string | null;\n currencySymbol: string | null;\n discount: IkasOrderLineDiscount | null;\n discountPrice: number | null;\n finalPrice: number | null;\n finalUnitPrice: number | null;\n options: IkasOrderLineItemOption[] | null;\n originalOrderLineItemId: string | null;\n price: number;\n quantity: number;\n status: IkasOrderLineItemStatus;\n statusUpdatedAt: number | null;\n stockLocationId: string | null;\n taxValue: number | null;\n unitPrice: number | null;\n variant: IkasOrderLineVariant;\n orderedAt: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderLineItemStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n"],"names":["IkasOrderLineItemStatus"],"mappings":"aAyBA,IAAYA,yDAAAA,QAWXA,6BAAA,GAXWA,EAAAA,QAAuBA,0BAAvBA,gCAWX,KAVC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,YAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/order/line-item/index.ts"],"sourcesContent":["import { IkasOrderLineDiscount } from \"./discount\";\nimport { IkasOrderLineVariant } from \"./variant\";\nimport { IkasOrderLineItemOption } from \"./option\";\nimport { IkasBaseModel } from \"../../base\";\n\nexport type IkasOrderLineItem = {\n currencyCode: string | null;\n discount: IkasOrderLineDiscount | null;\n discountPrice: number | null;\n finalPrice: number | null;\n options: IkasOrderLineItemOption[] | null;\n originalOrderLineItemId: string | null;\n price: number;\n quantity: number;\n status: IkasOrderLineItemStatus;\n statusUpdatedAt: number | null;\n stockLocationId: string | null;\n taxValue: number | null;\n variant: IkasOrderLineVariant;\n orderedAt: number;\n} & IkasBaseModel;\n\nexport enum IkasOrderLineItemStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n FULFILLED = \"FULFILLED\",\n REFUNDED = \"REFUNDED\",\n REFUND_REJECTED = \"REFUND_REJECTED\",\n REFUND_REQUESTED = \"REFUND_REQUESTED\",\n REFUND_REQUEST_ACCEPTED = \"REFUND_REQUEST_ACCEPTED\",\n UNFULFILLED = \"UNFULFILLED\",\n}\n"],"names":["IkasOrderLineItemStatus"],"mappings":"aAsBA,IAAYA,yDAAAA,QAWXA,6BAAA,GAXWA,EAAAA,QAAuBA,0BAAvBA,gCAWX,KAVC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,UAAA,YACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,YAAA"}
@@ -3,11 +3,8 @@ import { IkasOrderLineVariantBrand } from "./brand";
3
3
  import { IkasOrderLineVariantCategory } from "./category";
4
4
  import { IkasOrderLineVariantPrice } from "./price";
5
5
  import { IkasImage } from "../../../image";
6
- import { IkasOrderLineBaseUnit } from "../base-unit";
7
- import { IkasOrderLineVariantUnit } from "./unit";
8
6
  export declare type IkasOrderLineVariant = {
9
7
  barcodeList: string[] | null;
10
- baseUnit: IkasOrderLineBaseUnit | null;
11
8
  brand: IkasOrderLineVariantBrand | null;
12
9
  categories: IkasOrderLineVariantCategory[] | null;
13
10
  id: string | null;
@@ -20,7 +17,6 @@ export declare type IkasOrderLineVariant = {
20
17
  tagIds: string[] | null;
21
18
  taxValue: number | null;
22
19
  type: number | null;
23
- unit: IkasOrderLineVariantUnit | null;
24
20
  weight: number | null;
25
21
  variantValues: IkasOrderLineVariantVariantValue[] | null;
26
22
  mainImage?: IkasImage | null;
@@ -4,5 +4,4 @@ export declare type IkasOrderLineVariantPrice = {
4
4
  discountPrice: number | null;
5
5
  priceListId: string | null;
6
6
  sellPrice: number;
7
- unitPrice: number | null;
8
7
  };
@@ -1 +1,2 @@
1
1
  "use strict";var E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasOrderPackageFullfillStatus=void 0,(E=exports.IkasOrderPackageFullfillStatus||(exports.IkasOrderPackageFullfillStatus={})).CANCELLED="CANCELLED",E.CANCEL_REJECTED="CANCEL_REJECTED",E.CANCEL_REQUESTED="CANCEL_REQUESTED",E.DELIVERED="DELIVERED",E.ERROR="ERROR",E.FULFILLED="FULFILLED",E.READY_FOR_PICK_UP="READY_FOR_PICK_UP",E.READY_FOR_SHIPMENT="READY_FOR_SHIPMENT",E.REFUNDED="REFUNDED",E.REFUND_REJECTED="REFUND_REJECTED",E.REFUND_REQUESTED="REFUND_REQUESTED",E.REFUND_REQUEST_ACCEPTED="REFUND_REQUEST_ACCEPTED",E.UNABLE_TO_DELIVER="UNABLE_TO_DELIVER";
2
+ //# sourceMappingURL=index.js.map
@@ -6,7 +6,6 @@ export declare type IkasOrderTransaction = {
6
6
  checkoutId: string | null;
7
7
  createdAt: number | null;
8
8
  currencyCode: string | null;
9
- currencySymbol: string | null;
10
9
  customerId: string | null;
11
10
  error: IkasTransactionError | null;
12
11
  id: string | null;
@@ -20,6 +19,7 @@ export declare type IkasOrderTransaction = {
20
19
  status: IkasTransactionStatus | null;
21
20
  type: IkasTransactionType | null;
22
21
  updatedAt: number | null;
22
+ currencySymbol?: string | null;
23
23
  };
24
24
  export declare enum IkasTransactionStatus {
25
25
  AUTHORIZED = "AUTHORIZED",
@@ -1 +1,2 @@
1
1
  "use strict";var s,a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasTransactionStatus=void 0,(s=exports.IkasTransactionStatus||(exports.IkasTransactionStatus={})).AUTHORIZED="AUTHORIZED",s.FAILED="FAILED",s.PENDING="PENDING",s.SUCCESS="SUCCESS",exports.IkasTransactionType=void 0,(a=exports.IkasTransactionType||(exports.IkasTransactionType={})).REFUND="REFUND",a.SALE="SALE",a.VOID="VOID";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/models/order/transaction/index.ts"],"sourcesContent":["import { IkasPaymentMethodType } from \"../../payment-gateway\";\nimport { IkasTransactionError } from \"./error\";\nimport { IkasTransactionPaymentMethodDetail } from \"./payment-method-detail\";\n\nexport type IkasOrderTransaction = {\n amount: number | null;\n checkoutId: string | null;\n createdAt: number | null;\n currencyCode: string | null;\n currencySymbol: string | null;\n customerId: string | null;\n error: IkasTransactionError | null;\n id: string | null;\n orderId: string | null;\n paymentGatewayId: string | null;\n paymentGatewayName: string | null;\n paymentMethod: IkasPaymentMethodType | null;\n paymentMethodDetail: IkasTransactionPaymentMethodDetail | null;\n processedAt: number | null;\n refundReason: string | null;\n status: IkasTransactionStatus | null;\n type: IkasTransactionType | null;\n updatedAt: number | null;\n};\n\nexport enum IkasTransactionStatus {\n AUTHORIZED = \"AUTHORIZED\",\n FAILED = \"FAILED\",\n PENDING = \"PENDING\",\n SUCCESS = \"SUCCESS\",\n}\n\nexport enum IkasTransactionType {\n REFUND = \"REFUND\",\n SALE = \"SALE\",\n VOID = \"VOID\",\n}\n"],"names":["IkasTransactionStatus","IkasTransactionType"],"mappings":"aAyBA,IAAYA,EAOAC,yDAPAD,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,WAAA,aACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UAGUC,QAIXA,yBAAA,GAJWA,EAAAA,QAAmBA,sBAAnBA,4BAIX,KAHC,OAAA,SACAA,EAAA,KAAA,OACAA,EAAA,KAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/order/transaction/index.ts"],"sourcesContent":["import { IkasPaymentMethodType } from \"../../payment-gateway\";\nimport { IkasTransactionError } from \"./error\";\nimport { IkasTransactionPaymentMethodDetail } from \"./payment-method-detail\";\n\nexport type IkasOrderTransaction = {\n amount: number | null;\n checkoutId: string | null;\n createdAt: number | null;\n currencyCode: string | null;\n customerId: string | null;\n error: IkasTransactionError | null;\n id: string | null;\n orderId: string | null;\n paymentGatewayId: string | null;\n paymentGatewayName: string | null;\n paymentMethod: IkasPaymentMethodType | null;\n paymentMethodDetail: IkasTransactionPaymentMethodDetail | null;\n processedAt: number | null;\n refundReason: string | null;\n status: IkasTransactionStatus | null;\n type: IkasTransactionType | null;\n updatedAt: number | null;\n\n // Extra\n currencySymbol?: string | null;\n};\n\nexport enum IkasTransactionStatus {\n AUTHORIZED = \"AUTHORIZED\",\n FAILED = \"FAILED\",\n PENDING = \"PENDING\",\n SUCCESS = \"SUCCESS\",\n}\n\nexport enum IkasTransactionType {\n REFUND = \"REFUND\",\n SALE = \"SALE\",\n VOID = \"VOID\",\n}\n"],"names":["IkasTransactionStatus","IkasTransactionType"],"mappings":"aA2BA,IAAYA,EAOAC,yDAPAD,QAKXA,2BAAA,GALWA,EAAAA,gCAAAA,QAAAA,sBAKX,KAJC,WAAA,aACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UAGUC,QAIXA,yBAAA,GAJWA,EAAAA,QAAmBA,sBAAnBA,4BAIX,KAHC,OAAA,SACAA,EAAA,KAAA,OACAA,EAAA,KAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";var a,s;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasTransactionCardAssociation=void 0,(a=exports.IkasTransactionCardAssociation||(exports.IkasTransactionCardAssociation={})).AMERICAN_EXPRESS="AMERICAN_EXPRESS",a.MASTER_CARD="MASTER_CARD",a.TROY="TROY",a.VISA="VISA",exports.IkasTransactionCardType=void 0,(s=exports.IkasTransactionCardType||(exports.IkasTransactionCardType={})).CREDIT="CREDIT",s.DEBIT="DEBIT",s.PREPAID="PREPAID";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentGatewayTransactionFeeType=void 0,(e=exports.IkasPaymentGatewayTransactionFeeType||(exports.IkasPaymentGatewayTransactionFeeType={})).AMOUNT="AMOUNT",e.RATIO="RATIO",exports.IkasPaymentGatewayAdditionalPriceType=void 0,(a=exports.IkasPaymentGatewayAdditionalPriceType||(exports.IkasPaymentGatewayAdditionalPriceType={})).DECREMENT="DECREMENT",a.INCREMENT="INCREMENT";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e,E;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentMethodType=void 0,(e=exports.IkasPaymentMethodType||(exports.IkasPaymentMethodType={})).APP_PAYMENT="APP_PAYMENT",e.BUY_ONLINE_PAY_AT_STORE="BUY_ONLINE_PAY_AT_STORE",e.CASH="CASH",e.CASH_ON_DELIVERY="CASH_ON_DELIVERY",e.CREDIT_CARD="CREDIT_CARD",e.CREDIT_CARD_ON_DELIVERY="CREDIT_CARD_ON_DELIVERY",e.GIFT_CARD="GIFT_CARD",e.MONEY_ORDER="MONEY_ORDER",e.OTHER="OTHER",e.WALLET="WALLET",exports.IkasPaymentGatewayType=void 0,(E=exports.IkasPaymentGatewayType||(exports.IkasPaymentGatewayType={})).EXTERNAL="EXTERNAL",E.INTERNAL="INTERNAL",E.THIRD_PARTY="THIRD_PARTY";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasPaymentGateway=function(n,e){n.translations&&e&&(!function(n,e,t){if(e&&e.some((function(n){return n.locale===t}))){var i=e.find((function(n){return n.locale===t}));(null==i?void 0:i.name)&&(n.name=i.name),(null==i?void 0:i.description)&&(n.description=i.description)}}(n,n.translations,e),delete n.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasPaymentGatewaySettingsType=void 0,(e=exports.IkasPaymentGatewaySettingsType||(exports.IkasPaymentGatewaySettingsType={})).NUMBER="NUMBER",e.PASSWORD="PASSWORD",e.TEXT="TEXT";
2
+ //# sourceMappingURL=index.js.map
@@ -18,7 +18,5 @@ export declare enum IkasProductAttributeType {
18
18
  NUMERIC = "NUMERIC",
19
19
  DATETIME = "DATETIME",
20
20
  HTML = "HTML",
21
- TABLE = "TABLE",
22
- IMAGE = "IMAGE",
23
- PRODUCT = "PRODUCT"
21
+ TABLE = "TABLE"
24
22
  }
@@ -1 +1,2 @@
1
- "use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE",t.IMAGE="IMAGE",t.PRODUCT="PRODUCT";
1
+ "use strict";var t;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasProductAttributeType=void 0,(t=exports.IkasProductAttributeType||(exports.IkasProductAttributeType={})).CHOICE="CHOICE",t.MULTIPLE_CHOICE="MULTIPLE_CHOICE",t.TEXT="TEXT",t.BOOLEAN="BOOLEAN",t.NUMERIC="NUMERIC",t.DATETIME="DATETIME",t.HTML="HTML",t.TABLE="TABLE";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n IMAGE = \"IMAGE\",\n PRODUCT = \"PRODUCT\",\n}\n"],"names":["IkasProductAttributeType"],"mappings":"aAcA,IAAYA,yDAAAA,QAWXA,8BAAA,GAXWA,EAAAA,QAAwBA,2BAAxBA,iCAWX,KAVC,OAAA,SACAA,EAAA,gBAAA,kBACAA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,KAAA,OACAA,EAAA,MAAA,QACAA,EAAA,MAAA,QACAA,EAAA,QAAA"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/product/attribute/index.ts"],"sourcesContent":["import { IkasProductAttributeTableTemplate } from \"./table-template\";\nimport { IkasProductAttributeOption } from \"./option\";\nimport { IkasProductAttributeTranslation } from \"./translation\";\n\nexport type IkasProductAttribute = {\n id: string;\n name: string;\n description: string | null;\n type: IkasProductAttributeType;\n options: IkasProductAttributeOption[] | null;\n tableTemplate: IkasProductAttributeTableTemplate | null;\n translations?: IkasProductAttributeTranslation[] | null;\n};\n\nexport enum IkasProductAttributeType {\n CHOICE = \"CHOICE\",\n MULTIPLE_CHOICE = \"MULTIPLE_CHOICE\",\n TEXT = \"TEXT\",\n BOOLEAN = \"BOOLEAN\",\n NUMERIC = \"NUMERIC\",\n DATETIME = \"DATETIME\",\n HTML = \"HTML\",\n TABLE = \"TABLE\",\n}\n"],"names":["IkasProductAttributeType"],"mappings":"aAcA,IAAYA,yDAAAA,QASXA,8BAAA,GATWA,EAAAA,QAAwBA,2BAAxBA,iCASX,KARC,OAAA,SACAA,EAAA,gBAAA,kBACAA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,KAAA,OACAA,EAAA,MAAA"}
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductAttribute=function(n,i){n.translations&&i&&(!function(n,i,o){var t;if(i&&i.some((function(n){return n.locale===o}))){var e=i.find((function(n){return n.locale===o}));(null==e?void 0:e.name)&&(n.name=e.name),(null==e?void 0:e.description)&&(n.description=e.description),(null==e?void 0:e.options)&&(null===(t=n.options)||void 0===t||t.forEach((function(n){var i,o=null===(i=e.options)||void 0===i?void 0:i.find((function(i){return i.id===n.id}));o&&o.name&&(n.name=o.name)})))}}(n,n.translations,i),delete n.translations)};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initIkasProductAttributeValue=function(e){var i;e.images=null===(i=e.imageIds)||void 0===i?void 0:i.map((function(e){return{id:e,isVideo:!1}}))};
2
+ //# sourceMappingURL=init.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var a,e,p;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignApplicablePrice=void 0,(a=exports.IkasCampaignApplicablePrice||(exports.IkasCampaignApplicablePrice={})).DISCOUNT_PRICE="DISCOUNT_PRICE",a.SELL_PRICE="SELL_PRICE",exports.IkasCampaignCreatedFor=void 0,(e=exports.IkasCampaignCreatedFor||(exports.IkasCampaignCreatedFor={})).ABANDONED_CHECKOUT="ABANDONED_CHECKOUT",e.CART="CART",e.CUSTOMER_REVIEW="CUSTOMER_REVIEW",exports.IkasCampaignType=void 0,(p=exports.IkasCampaignType||(exports.IkasCampaignType={})).BUY_X_THEN_GET_Y="BUY_X_THEN_GET_Y",p.FIXED_AMOUNT="FIXED_AMOUNT",p.FREE_SHIPPING="FREE_SHIPPING",p.RATIO="FREE_SHIPPING";
2
+ //# sourceMappingURL=index.js.map
@@ -1 +1,2 @@
1
1
  "use strict";var e;Object.defineProperty(exports,"__esModule",{value:!0}),exports.IkasCampaignFilterType=void 0,(e=exports.IkasCampaignFilterType||(exports.IkasCampaignFilterType={})).CATEGORY="CATEGORY",e.PRODUCT="PRODUCT",e.PRODUCT_BRAND="PRODUCT_BRAND",e.PRODUCT_TAG="PRODUCT_TAG",e.VARIANT="VARIANT";
2
+ //# sourceMappingURL=index.js.map
@@ -36,7 +36,6 @@ export declare type IkasProductFilterSettings = {
36
36
  showCollapsedOnDesktop: boolean;
37
37
  showCollapsedOnMobile: boolean;
38
38
  sortType: IkasProductFilterSortType;
39
- customSortedValues: string[] | null;
40
39
  };
41
40
  export declare type IkasProductFacetInput = {
42
41
  id: string;
@@ -64,8 +63,7 @@ export declare enum IkasProductFilterSortType {
64
63
  ALPHABETICAL_ASC = "ALPHABETICAL_ASC",
65
64
  ALPHABETICAL_DESC = "ALPHABETICAL_DESC",
66
65
  PRODUCT_COUNT_ASC = "PRODUCT_COUNT_ASC",
67
- PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC",
68
- CUSTOM_SORT = "CUSTOM_SORT"
66
+ PRODUCT_COUNT_DESC = "PRODUCT_COUNT_DESC"
69
67
  }
70
68
  export declare enum IkasProductStockFilterValue {
71
69
  IN_STOCK = "in-stock",