@ikas/storefront-models 4.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/build-cjs/_virtual/_tslib.js +2 -0
  2. package/build-cjs/_virtual/_tslib.js.map +1 -0
  3. package/build-cjs/index.d.ts +156 -0
  4. package/build-cjs/index.js +2 -0
  5. package/build-cjs/index.js.map +1 -0
  6. package/build-cjs/models/base/index.d.ts +6 -0
  7. package/build-cjs/models/base/init.d.ts +6 -0
  8. package/build-cjs/models/base/init.js +2 -0
  9. package/build-cjs/models/base/init.js.map +1 -0
  10. package/build-cjs/models/blog/category/index.d.ts +9 -0
  11. package/build-cjs/models/blog/category/init.d.ts +11 -0
  12. package/build-cjs/models/blog/category/init.js +2 -0
  13. package/build-cjs/models/blog/category/init.js.map +1 -0
  14. package/build-cjs/models/blog/content/index.d.ts +4 -0
  15. package/build-cjs/models/blog/index.d.ts +24 -0
  16. package/build-cjs/models/blog/init.d.ts +2 -0
  17. package/build-cjs/models/blog/init.js +2 -0
  18. package/build-cjs/models/blog/init.js.map +1 -0
  19. package/build-cjs/models/blog/meta-data/index.d.ts +14 -0
  20. package/build-cjs/models/blog/meta-data/index.js +2 -0
  21. package/build-cjs/models/blog/meta-data/index.js.map +1 -0
  22. package/build-cjs/models/blog/tag/index.d.ts +4 -0
  23. package/build-cjs/models/blog/writer/index.d.ts +4 -0
  24. package/build-cjs/models/brand/index.d.ts +23 -0
  25. package/build-cjs/models/brand/index.js +2 -0
  26. package/build-cjs/models/brand/index.js.map +1 -0
  27. package/build-cjs/models/brand/init.d.ts +2 -0
  28. package/build-cjs/models/brand/init.js +2 -0
  29. package/build-cjs/models/brand/init.js.map +1 -0
  30. package/build-cjs/models/brand/translation/index.d.ts +5 -0
  31. package/build-cjs/models/campaign-offer/index.d.ts +37 -0
  32. package/build-cjs/models/campaign-offer/index.js +2 -0
  33. package/build-cjs/models/campaign-offer/index.js.map +1 -0
  34. package/build-cjs/models/campaign-offer/product/index.d.ts +24 -0
  35. package/build-cjs/models/campaign-offer/product/index.js +2 -0
  36. package/build-cjs/models/campaign-offer/product/index.js.map +1 -0
  37. package/build-cjs/models/cart/available-shipping-method/index.d.ts +12 -0
  38. package/build-cjs/models/cart/available-shipping-method/index.js +2 -0
  39. package/build-cjs/models/cart/available-shipping-method/index.js.map +1 -0
  40. package/build-cjs/models/cart/campaign-offer/index.d.ts +19 -0
  41. package/build-cjs/models/cart/campaign-offer/index.js +2 -0
  42. package/build-cjs/models/cart/campaign-offer/index.js.map +1 -0
  43. package/build-cjs/models/cart/index.d.ts +11 -0
  44. package/build-cjs/models/category/index.d.ts +27 -0
  45. package/build-cjs/models/category/index.js +2 -0
  46. package/build-cjs/models/category/index.js.map +1 -0
  47. package/build-cjs/models/category/init.d.ts +2 -0
  48. package/build-cjs/models/category/init.js +2 -0
  49. package/build-cjs/models/category/init.js.map +1 -0
  50. package/build-cjs/models/category/path-item/index.d.ts +8 -0
  51. package/build-cjs/models/category/translations/index.d.ts +5 -0
  52. package/build-cjs/models/checkout/index.d.ts +2 -0
  53. package/build-cjs/models/checkout-settings/index.d.ts +22 -0
  54. package/build-cjs/models/checkout-settings/index.js +2 -0
  55. package/build-cjs/models/checkout-settings/index.js.map +1 -0
  56. package/build-cjs/models/checkout-settings/option/index.d.ts +4 -0
  57. package/build-cjs/models/checkout-settings/price/index.d.ts +4 -0
  58. package/build-cjs/models/city/index.d.ts +10 -0
  59. package/build-cjs/models/contact-form/index.d.ts +7 -0
  60. package/build-cjs/models/country/index.d.ts +14 -0
  61. package/build-cjs/models/customer/address/city/index.d.ts +5 -0
  62. package/build-cjs/models/customer/address/country/index.d.ts +7 -0
  63. package/build-cjs/models/customer/address/district/index.d.ts +5 -0
  64. package/build-cjs/models/customer/address/index.d.ts +25 -0
  65. package/build-cjs/models/customer/address/state/index.d.ts +5 -0
  66. package/build-cjs/models/customer/attribute/index.d.ts +20 -0
  67. package/build-cjs/models/customer/attribute/index.js +2 -0
  68. package/build-cjs/models/customer/attribute/index.js.map +1 -0
  69. package/build-cjs/models/customer/attribute/init.d.ts +2 -0
  70. package/build-cjs/models/customer/attribute/init.js +2 -0
  71. package/build-cjs/models/customer/attribute/init.js.map +1 -0
  72. package/build-cjs/models/customer/attribute/option/index.d.ts +7 -0
  73. package/build-cjs/models/customer/attribute/sales-channel/index.d.ts +16 -0
  74. package/build-cjs/models/customer/attribute/sales-channel/index.js +2 -0
  75. package/build-cjs/models/customer/attribute/sales-channel/index.js.map +1 -0
  76. package/build-cjs/models/customer/attribute/translation/index.d.ts +7 -0
  77. package/build-cjs/models/customer/attribute/translation/option/index.d.ts +4 -0
  78. package/build-cjs/models/customer/attribute/value/index.d.ts +9 -0
  79. package/build-cjs/models/customer/index.d.ts +43 -0
  80. package/build-cjs/models/customer/index.js +2 -0
  81. package/build-cjs/models/customer/index.js.map +1 -0
  82. package/build-cjs/models/customer/review/index.d.ts +24 -0
  83. package/build-cjs/models/customer/review/index.js +2 -0
  84. package/build-cjs/models/customer/review/index.js.map +1 -0
  85. package/build-cjs/models/customer/review/init.d.ts +2 -0
  86. package/build-cjs/models/customer/review/init.js +2 -0
  87. package/build-cjs/models/customer/review/init.js.map +1 -0
  88. package/build-cjs/models/customer/review/settings/index.d.ts +4 -0
  89. package/build-cjs/models/customer/review/summary/index.d.ts +8 -0
  90. package/build-cjs/models/customer/review/summary/star/index.d.ts +4 -0
  91. package/build-cjs/models/district/index.d.ts +10 -0
  92. package/build-cjs/models/favorite-product/index.d.ts +5 -0
  93. package/build-cjs/models/filter-category/index.d.ts +8 -0
  94. package/build-cjs/models/html-meta-data/index.d.ts +25 -0
  95. package/build-cjs/models/html-meta-data/index.js +2 -0
  96. package/build-cjs/models/html-meta-data/index.js.map +1 -0
  97. package/build-cjs/models/html-meta-data/init.d.ts +3 -0
  98. package/build-cjs/models/html-meta-data/init.js +2 -0
  99. package/build-cjs/models/html-meta-data/init.js.map +1 -0
  100. package/build-cjs/models/html-meta-data/translations/index.d.ts +5 -0
  101. package/build-cjs/models/image/index.d.ts +4 -0
  102. package/build-cjs/models/last-viewed-product/index.d.ts +4 -0
  103. package/build-cjs/models/merchant-settings/index.d.ts +21 -0
  104. package/build-cjs/models/merchant-settings/index.js +2 -0
  105. package/build-cjs/models/merchant-settings/index.js.map +1 -0
  106. package/build-cjs/models/merchant-settings/init.d.ts +2 -0
  107. package/build-cjs/models/merchant-settings/init.js +2 -0
  108. package/build-cjs/models/merchant-settings/init.js.map +1 -0
  109. package/build-cjs/models/order/address/city/index.d.ts +5 -0
  110. package/build-cjs/models/order/address/country/index.d.ts +7 -0
  111. package/build-cjs/models/order/address/district/index.d.ts +5 -0
  112. package/build-cjs/models/order/address/index.d.ts +22 -0
  113. package/build-cjs/models/order/address/state/index.d.ts +5 -0
  114. package/build-cjs/models/order/adjustment/applied-order-line/index.d.ts +6 -0
  115. package/build-cjs/models/order/adjustment/index.d.ts +21 -0
  116. package/build-cjs/models/order/adjustment/index.js +2 -0
  117. package/build-cjs/models/order/adjustment/index.js.map +1 -0
  118. package/build-cjs/models/order/customer/index.d.ts +9 -0
  119. package/build-cjs/models/order/gift-line/index.d.ts +4 -0
  120. package/build-cjs/models/order/index.d.ts +84 -0
  121. package/build-cjs/models/order/index.js +2 -0
  122. package/build-cjs/models/order/index.js.map +1 -0
  123. package/build-cjs/models/order/invoice/index.d.ts +14 -0
  124. package/build-cjs/models/order/invoice/index.js +2 -0
  125. package/build-cjs/models/order/invoice/index.js.map +1 -0
  126. package/build-cjs/models/order/line-item/discount/index.d.ts +9 -0
  127. package/build-cjs/models/order/line-item/index.d.ts +32 -0
  128. package/build-cjs/models/order/line-item/index.js +2 -0
  129. package/build-cjs/models/order/line-item/index.js.map +1 -0
  130. package/build-cjs/models/order/line-item/option/index.d.ts +9 -0
  131. package/build-cjs/models/order/line-item/option/value/index.d.ts +5 -0
  132. package/build-cjs/models/order/line-item/variant/brand/index.d.ts +4 -0
  133. package/build-cjs/models/order/line-item/variant/category/index.d.ts +9 -0
  134. package/build-cjs/models/order/line-item/variant/index.d.ts +23 -0
  135. package/build-cjs/models/order/line-item/variant/price/index.d.ts +7 -0
  136. package/build-cjs/models/order/line-item/variant/value/index.d.ts +7 -0
  137. package/build-cjs/models/order/package/index.d.ts +26 -0
  138. package/build-cjs/models/order/package/index.js +2 -0
  139. package/build-cjs/models/order/package/index.js.map +1 -0
  140. package/build-cjs/models/order/package/tracking-info/index.d.ts +7 -0
  141. package/build-cjs/models/order/payment-method/index.d.ts +8 -0
  142. package/build-cjs/models/order/refund/index.d.ts +5 -0
  143. package/build-cjs/models/order/refund/line-item/index.d.ts +4 -0
  144. package/build-cjs/models/order/refund/settings/index.d.ts +5 -0
  145. package/build-cjs/models/order/shipping-line/index.d.ts +11 -0
  146. package/build-cjs/models/order/tax-line/index.d.ts +4 -0
  147. package/build-cjs/models/order/transaction/error/index.d.ts +5 -0
  148. package/build-cjs/models/order/transaction/index.d.ts +34 -0
  149. package/build-cjs/models/order/transaction/index.js +2 -0
  150. package/build-cjs/models/order/transaction/index.js.map +1 -0
  151. package/build-cjs/models/order/transaction/payment-method-detail/index.d.ts +22 -0
  152. package/build-cjs/models/order/transaction/payment-method-detail/index.js +2 -0
  153. package/build-cjs/models/order/transaction/payment-method-detail/index.js.map +1 -0
  154. package/build-cjs/models/order/transaction/payment-method-detail/installment-price/index.d.ts +7 -0
  155. package/build-cjs/models/payment-gateway/additional-price/index.d.ts +14 -0
  156. package/build-cjs/models/payment-gateway/additional-price/index.js +2 -0
  157. package/build-cjs/models/payment-gateway/additional-price/index.js.map +1 -0
  158. package/build-cjs/models/payment-gateway/index.d.ts +42 -0
  159. package/build-cjs/models/payment-gateway/index.js +2 -0
  160. package/build-cjs/models/payment-gateway/index.js.map +1 -0
  161. package/build-cjs/models/payment-gateway/init.d.ts +2 -0
  162. package/build-cjs/models/payment-gateway/init.js +2 -0
  163. package/build-cjs/models/payment-gateway/init.js.map +1 -0
  164. package/build-cjs/models/payment-gateway/settings/index.d.ts +11 -0
  165. package/build-cjs/models/payment-gateway/settings/index.js +2 -0
  166. package/build-cjs/models/payment-gateway/settings/index.js.map +1 -0
  167. package/build-cjs/models/payment-gateway/translation/index.d.ts +5 -0
  168. package/build-cjs/models/product/attribute/index.d.ts +22 -0
  169. package/build-cjs/models/product/attribute/index.js +2 -0
  170. package/build-cjs/models/product/attribute/index.js.map +1 -0
  171. package/build-cjs/models/product/attribute/init.d.ts +2 -0
  172. package/build-cjs/models/product/attribute/init.js +2 -0
  173. package/build-cjs/models/product/attribute/init.js.map +1 -0
  174. package/build-cjs/models/product/attribute/option/index.d.ts +4 -0
  175. package/build-cjs/models/product/attribute/table-cell/index.d.ts +4 -0
  176. package/build-cjs/models/product/attribute/table-template/index.d.ts +5 -0
  177. package/build-cjs/models/product/attribute/translation/index.d.ts +10 -0
  178. package/build-cjs/models/product/attribute-value/index.d.ts +21 -0
  179. package/build-cjs/models/product/attribute-value/init.d.ts +2 -0
  180. package/build-cjs/models/product/attribute-value/init.js +2 -0
  181. package/build-cjs/models/product/attribute-value/init.js.map +1 -0
  182. package/build-cjs/models/product/back-in-stock-settings/index.d.ts +3 -0
  183. package/build-cjs/models/product/campaign/data/index.d.ts +39 -0
  184. package/build-cjs/models/product/campaign/data/index.js +2 -0
  185. package/build-cjs/models/product/campaign/data/index.js.map +1 -0
  186. package/build-cjs/models/product/campaign/filter/index.d.ts +11 -0
  187. package/build-cjs/models/product/campaign/filter/index.js +2 -0
  188. package/build-cjs/models/product/campaign/filter/index.js.map +1 -0
  189. package/build-cjs/models/product/campaign/index.d.ts +5 -0
  190. package/build-cjs/models/product/campaign/product-buyx-then-gety/index.d.ts +16 -0
  191. package/build-cjs/models/product/campaign/product-campaign-date-range-field/index.d.ts +4 -0
  192. package/build-cjs/models/product/campaign/product-fixed-discount/index.d.ts +11 -0
  193. package/build-cjs/models/product/filter/index.d.ts +81 -0
  194. package/build-cjs/models/product/filter/index.js +2 -0
  195. package/build-cjs/models/product/filter/index.js.map +1 -0
  196. package/build-cjs/models/product/image/index.d.ts +8 -0
  197. package/build-cjs/models/product/image/init.d.ts +2 -0
  198. package/build-cjs/models/product/image/init.js +2 -0
  199. package/build-cjs/models/product/image/init.js.map +1 -0
  200. package/build-cjs/models/product/index.d.ts +39 -0
  201. package/build-cjs/models/product/index.js +2 -0
  202. package/build-cjs/models/product/index.js.map +1 -0
  203. package/build-cjs/models/product/init.d.ts +2 -0
  204. package/build-cjs/models/product/init.js +2 -0
  205. package/build-cjs/models/product/init.js.map +1 -0
  206. package/build-cjs/models/product/option-set/index.d.ts +21 -0
  207. package/build-cjs/models/product/option-set/init.d.ts +6 -0
  208. package/build-cjs/models/product/option-set/init.js +2 -0
  209. package/build-cjs/models/product/option-set/init.js.map +1 -0
  210. package/build-cjs/models/product/option-set/option/index.d.ts +70 -0
  211. package/build-cjs/models/product/option-set/option/index.js +2 -0
  212. package/build-cjs/models/product/option-set/option/index.js.map +1 -0
  213. package/build-cjs/models/product/option-set/option/init.d.ts +2 -0
  214. package/build-cjs/models/product/option-set/option/init.js +2 -0
  215. package/build-cjs/models/product/option-set/option/init.js.map +1 -0
  216. package/build-cjs/models/product/tag/index.d.ts +4 -0
  217. package/build-cjs/models/product/variant/index.d.ts +19 -0
  218. package/build-cjs/models/product/variant/init.d.ts +2 -0
  219. package/build-cjs/models/product/variant/init.js +2 -0
  220. package/build-cjs/models/product/variant/init.js.map +1 -0
  221. package/build-cjs/models/product/variant/price/index.d.ts +7 -0
  222. package/build-cjs/models/product/variant-type/index.d.ts +5 -0
  223. package/build-cjs/models/product/variant-type/init.d.ts +2 -0
  224. package/build-cjs/models/product/variant-type/init.js +2 -0
  225. package/build-cjs/models/product/variant-type/init.js.map +1 -0
  226. package/build-cjs/models/raffle/index.d.ts +62 -0
  227. package/build-cjs/models/raffle/index.js +2 -0
  228. package/build-cjs/models/raffle/index.js.map +1 -0
  229. package/build-cjs/models/raffle/init.d.ts +2 -0
  230. package/build-cjs/models/raffle/init.js +2 -0
  231. package/build-cjs/models/raffle/init.js.map +1 -0
  232. package/build-cjs/models/sales-channel/index.d.ts +15 -0
  233. package/build-cjs/models/state/index.d.ts +6 -0
  234. package/build-cjs/models/stock-location/address/city/index.d.ts +5 -0
  235. package/build-cjs/models/stock-location/address/country/index.d.ts +5 -0
  236. package/build-cjs/models/stock-location/address/district/index.d.ts +5 -0
  237. package/build-cjs/models/stock-location/address/index.d.ts +13 -0
  238. package/build-cjs/models/stock-location/address/state/index.d.ts +5 -0
  239. package/build-cjs/models/stock-location/available/index.d.ts +8 -0
  240. package/build-cjs/models/stock-location/index.d.ts +23 -0
  241. package/build-cjs/models/stock-location/index.js +2 -0
  242. package/build-cjs/models/stock-location/index.js.map +1 -0
  243. package/build-cjs/models/storefront/domain/index.d.ts +7 -0
  244. package/build-cjs/models/storefront/index.d.ts +26 -0
  245. package/build-cjs/models/storefront/index.js +2 -0
  246. package/build-cjs/models/storefront/index.js.map +1 -0
  247. package/build-cjs/models/storefront/localization/index.d.ts +6 -0
  248. package/build-cjs/models/storefront/routing/dynamic-currency/index.d.ts +4 -0
  249. package/build-cjs/models/storefront/routing/index.d.ts +10 -0
  250. package/build-cjs/models/storefront/theme/index.d.ts +12 -0
  251. package/build-cjs/models/storefront/theme/index.js +2 -0
  252. package/build-cjs/models/storefront/theme/index.js.map +1 -0
  253. package/build-cjs/models/storefront/theme-localization/index.d.ts +11 -0
  254. package/build-cjs/models/theme-json/component/index.d.ts +17 -0
  255. package/build-cjs/models/theme-json/component/prop/index.d.ts +60 -0
  256. package/build-cjs/models/theme-json/component/prop/index.js +2 -0
  257. package/build-cjs/models/theme-json/component/prop/index.js.map +1 -0
  258. package/build-cjs/models/theme-json/custom-data/index.d.ts +37 -0
  259. package/build-cjs/models/theme-json/index.d.ts +11 -0
  260. package/build-cjs/models/theme-json/page/component/index.d.ts +5 -0
  261. package/build-cjs/models/theme-json/page/index.d.ts +43 -0
  262. package/build-cjs/models/theme-json/page/index.js +2 -0
  263. package/build-cjs/models/theme-json/page/index.js.map +1 -0
  264. package/build-cjs/models/theme-json/settings/color/index.d.ts +12 -0
  265. package/build-cjs/models/theme-json/settings/favicon/index.d.ts +3 -0
  266. package/build-cjs/models/theme-json/settings/font-family/index.d.ts +4 -0
  267. package/build-cjs/models/theme-json/settings/index.d.ts +14 -0
  268. package/build-cjs/models/theme-json/settings/index.js +2 -0
  269. package/build-cjs/models/theme-json/settings/index.js.map +1 -0
  270. package/build-cjs/models/variant-type/index.d.ts +21 -0
  271. package/build-cjs/models/variant-type/index.js +2 -0
  272. package/build-cjs/models/variant-type/index.js.map +1 -0
  273. package/build-cjs/models/variant-type/init.d.ts +2 -0
  274. package/build-cjs/models/variant-type/init.js +2 -0
  275. package/build-cjs/models/variant-type/init.js.map +1 -0
  276. package/build-cjs/models/variant-type/variant-value/index.d.ts +9 -0
  277. package/build-cjs/models/variant-type/variant-value/init.d.ts +2 -0
  278. package/build-cjs/models/variant-type/variant-value/init.js +2 -0
  279. package/build-cjs/models/variant-type/variant-value/init.js.map +1 -0
  280. package/package.json +32 -0
  281. package/src/index.ts +213 -0
  282. package/src/models/base/index.ts +6 -0
  283. package/src/models/base/init.ts +14 -0
  284. package/src/models/blog/category/index.ts +11 -0
  285. package/src/models/blog/category/init.ts +33 -0
  286. package/src/models/blog/content/index.ts +5 -0
  287. package/src/models/blog/index.ts +26 -0
  288. package/src/models/blog/init.ts +7 -0
  289. package/src/models/blog/meta-data/index.ts +16 -0
  290. package/src/models/blog/tag/index.ts +5 -0
  291. package/src/models/blog/writer/index.ts +4 -0
  292. package/src/models/brand/index.ts +26 -0
  293. package/src/models/brand/init.ts +27 -0
  294. package/src/models/brand/translation/index.ts +5 -0
  295. package/src/models/campaign-offer/index.ts +43 -0
  296. package/src/models/campaign-offer/product/index.ts +27 -0
  297. package/src/models/cart/available-shipping-method/index.ts +13 -0
  298. package/src/models/cart/campaign-offer/index.ts +24 -0
  299. package/src/models/cart/index.ts +12 -0
  300. package/src/models/category/index.ts +30 -0
  301. package/src/models/category/init.ts +33 -0
  302. package/src/models/category/path-item/index.ts +9 -0
  303. package/src/models/category/translations/index.ts +5 -0
  304. package/src/models/checkout/index.ts +3 -0
  305. package/src/models/checkout-settings/index.ts +24 -0
  306. package/src/models/checkout-settings/option/index.ts +4 -0
  307. package/src/models/checkout-settings/price/index.ts +4 -0
  308. package/src/models/city/index.ts +11 -0
  309. package/src/models/contact-form/index.ts +7 -0
  310. package/src/models/country/index.ts +15 -0
  311. package/src/models/customer/address/city/index.ts +5 -0
  312. package/src/models/customer/address/country/index.ts +7 -0
  313. package/src/models/customer/address/district/index.ts +5 -0
  314. package/src/models/customer/address/index.tsx +27 -0
  315. package/src/models/customer/address/state/index.ts +5 -0
  316. package/src/models/customer/attribute/index.ts +22 -0
  317. package/src/models/customer/attribute/init.ts +34 -0
  318. package/src/models/customer/attribute/option/index.ts +7 -0
  319. package/src/models/customer/attribute/sales-channel/index.ts +18 -0
  320. package/src/models/customer/attribute/translation/index.ts +8 -0
  321. package/src/models/customer/attribute/translation/option/index.ts +4 -0
  322. package/src/models/customer/attribute/value/index.ts +12 -0
  323. package/src/models/customer/index.ts +48 -0
  324. package/src/models/customer/review/index.ts +28 -0
  325. package/src/models/customer/review/init.ts +7 -0
  326. package/src/models/customer/review/settings/index.ts +4 -0
  327. package/src/models/customer/review/summary/index.ts +9 -0
  328. package/src/models/customer/review/summary/star/index.ts +4 -0
  329. package/src/models/district/index.ts +11 -0
  330. package/src/models/favorite-product/index.ts +6 -0
  331. package/src/models/filter-category/index.ts +9 -0
  332. package/src/models/html-meta-data/index.ts +28 -0
  333. package/src/models/html-meta-data/init.ts +27 -0
  334. package/src/models/html-meta-data/translations/index.ts +5 -0
  335. package/src/models/image/index.ts +4 -0
  336. package/src/models/last-viewed-product/index.ts +4 -0
  337. package/src/models/merchant-settings/index.ts +25 -0
  338. package/src/models/merchant-settings/init.ts +7 -0
  339. package/src/models/order/address/city/index.ts +5 -0
  340. package/src/models/order/address/country/index.ts +7 -0
  341. package/src/models/order/address/district/index.ts +5 -0
  342. package/src/models/order/address/index.ts +25 -0
  343. package/src/models/order/address/state/index.ts +5 -0
  344. package/src/models/order/adjustment/applied-order-line/index.ts +6 -0
  345. package/src/models/order/adjustment/index.ts +24 -0
  346. package/src/models/order/customer/index.ts +9 -0
  347. package/src/models/order/gift-line/index.ts +4 -0
  348. package/src/models/order/index.ts +90 -0
  349. package/src/models/order/invoice/index.ts +15 -0
  350. package/src/models/order/line-item/discount/index.ts +10 -0
  351. package/src/models/order/line-item/index.ts +34 -0
  352. package/src/models/order/line-item/option/index.ts +10 -0
  353. package/src/models/order/line-item/option/value/index.ts +5 -0
  354. package/src/models/order/line-item/variant/brand/index.ts +4 -0
  355. package/src/models/order/line-item/variant/category/index.ts +10 -0
  356. package/src/models/order/line-item/variant/index.ts +26 -0
  357. package/src/models/order/line-item/variant/price/index.ts +7 -0
  358. package/src/models/order/line-item/variant/value/index.ts +7 -0
  359. package/src/models/order/package/index.ts +28 -0
  360. package/src/models/order/package/tracking-info/index.ts +7 -0
  361. package/src/models/order/payment-method/index.ts +9 -0
  362. package/src/models/order/refund/index.ts +6 -0
  363. package/src/models/order/refund/line-item/index.ts +4 -0
  364. package/src/models/order/refund/settings/index.ts +5 -0
  365. package/src/models/order/shipping-line/index.ts +12 -0
  366. package/src/models/order/tax-line/index.ts +4 -0
  367. package/src/models/order/transaction/error/index.ts +5 -0
  368. package/src/models/order/transaction/index.ts +39 -0
  369. package/src/models/order/transaction/payment-method-detail/index.ts +25 -0
  370. package/src/models/order/transaction/payment-method-detail/installment-price/index.ts +7 -0
  371. package/src/models/payment-gateway/additional-price/index.ts +16 -0
  372. package/src/models/payment-gateway/index.ts +47 -0
  373. package/src/models/payment-gateway/init.ts +26 -0
  374. package/src/models/payment-gateway/settings/index.ts +12 -0
  375. package/src/models/payment-gateway/translation/index.ts +5 -0
  376. package/src/models/product/attribute/index.ts +24 -0
  377. package/src/models/product/attribute/init.ts +34 -0
  378. package/src/models/product/attribute/option/index.ts +4 -0
  379. package/src/models/product/attribute/table-cell/index.ts +4 -0
  380. package/src/models/product/attribute/table-template/index.ts +6 -0
  381. package/src/models/product/attribute/translation/index.ts +11 -0
  382. package/src/models/product/attribute-value/index.ts +26 -0
  383. package/src/models/product/attribute-value/init.ts +7 -0
  384. package/src/models/product/back-in-stock-settings/index.ts +3 -0
  385. package/src/models/product/campaign/data/index.ts +43 -0
  386. package/src/models/product/campaign/filter/index.ts +12 -0
  387. package/src/models/product/campaign/index.ts +6 -0
  388. package/src/models/product/campaign/product-buyx-then-gety/index.ts +19 -0
  389. package/src/models/product/campaign/product-campaign-date-range-field/index.ts +4 -0
  390. package/src/models/product/campaign/product-fixed-discount/index.ts +13 -0
  391. package/src/models/product/filter/index.ts +96 -0
  392. package/src/models/product/image/index.ts +10 -0
  393. package/src/models/product/image/init.ts +7 -0
  394. package/src/models/product/index.ts +43 -0
  395. package/src/models/product/init.ts +16 -0
  396. package/src/models/product/option-set/index.ts +25 -0
  397. package/src/models/product/option-set/init.ts +77 -0
  398. package/src/models/product/option-set/option/index.ts +81 -0
  399. package/src/models/product/option-set/option/init.ts +13 -0
  400. package/src/models/product/tag/index.ts +4 -0
  401. package/src/models/product/variant/index.ts +20 -0
  402. package/src/models/product/variant/init.ts +10 -0
  403. package/src/models/product/variant/price/index.ts +7 -0
  404. package/src/models/product/variant-type/index.ts +6 -0
  405. package/src/models/product/variant-type/init.ts +15 -0
  406. package/src/models/raffle/index.ts +70 -0
  407. package/src/models/raffle/init.ts +6 -0
  408. package/src/models/sales-channel/index.ts +17 -0
  409. package/src/models/state/index.ts +7 -0
  410. package/src/models/stock-location/address/city/index.ts +5 -0
  411. package/src/models/stock-location/address/country/index.ts +5 -0
  412. package/src/models/stock-location/address/district/index.ts +5 -0
  413. package/src/models/stock-location/address/index.ts +14 -0
  414. package/src/models/stock-location/address/state/index.ts +5 -0
  415. package/src/models/stock-location/available/index.ts +9 -0
  416. package/src/models/stock-location/index.ts +26 -0
  417. package/src/models/storefront/domain/index.ts +7 -0
  418. package/src/models/storefront/index.ts +30 -0
  419. package/src/models/storefront/localization/index.tsx +6 -0
  420. package/src/models/storefront/routing/dynamic-currency/index.ts +4 -0
  421. package/src/models/storefront/routing/index.tsx +11 -0
  422. package/src/models/storefront/theme/index.tsx +13 -0
  423. package/src/models/storefront/theme-localization/index.tsx +13 -0
  424. package/src/models/theme-json/component/index.ts +19 -0
  425. package/src/models/theme-json/component/prop/index.ts +65 -0
  426. package/src/models/theme-json/custom-data/index.ts +46 -0
  427. package/src/models/theme-json/index.ts +12 -0
  428. package/src/models/theme-json/page/component/index.ts +11 -0
  429. package/src/models/theme-json/page/index.ts +46 -0
  430. package/src/models/theme-json/settings/color/index.ts +13 -0
  431. package/src/models/theme-json/settings/favicon/index.ts +3 -0
  432. package/src/models/theme-json/settings/font-family/index.ts +4 -0
  433. package/src/models/theme-json/settings/index.ts +16 -0
  434. package/src/models/variant-type/index.ts +25 -0
  435. package/src/models/variant-type/init.ts +37 -0
  436. package/src/models/variant-type/variant-value/index.ts +12 -0
  437. package/src/models/variant-type/variant-value/init.ts +5 -0
@@ -0,0 +1,21 @@
1
+ import { IkasCampaignType } from "../../../models/product/campaign/data";
2
+ import { IkasOrderAdjustmentAppliedOrderLine } from "./applied-order-line";
3
+ export declare type IkasOrderAdjustment = {
4
+ amount: number;
5
+ appliedOrderLines: IkasOrderAdjustmentAppliedOrderLine[] | null;
6
+ campaignId: string | null;
7
+ couponId: string | null;
8
+ name: string;
9
+ order: number;
10
+ amountType: IkasAmountType;
11
+ type: IkasAdjustmentType;
12
+ campaignType: IkasCampaignType | null;
13
+ };
14
+ export declare enum IkasAmountType {
15
+ AMOUNT = "AMOUNT",
16
+ RATIO = "RATIO"
17
+ }
18
+ export declare enum IkasAdjustmentType {
19
+ DECREMENT = "DECREMENT",
20
+ INCREMENT = "INCREMENT"
21
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/order/adjustment/index.ts"],"sourcesContent":["import { IkasCampaignType } from \"../../../models/product/campaign/data\";\nimport { IkasOrderAdjustmentAppliedOrderLine } from \"./applied-order-line\";\n\nexport type IkasOrderAdjustment = {\n amount: number;\n appliedOrderLines: IkasOrderAdjustmentAppliedOrderLine[] | null;\n campaignId: string | null;\n couponId: string | null;\n name: string;\n order: number;\n amountType: IkasAmountType;\n type: IkasAdjustmentType;\n campaignType: IkasCampaignType | null;\n};\n\nexport enum IkasAmountType {\n AMOUNT = \"AMOUNT\",\n RATIO = \"RATIO\",\n}\n\nexport enum IkasAdjustmentType {\n DECREMENT = \"DECREMENT\",\n INCREMENT = \"INCREMENT\",\n}\n"],"names":["IkasAmountType","IkasAdjustmentType"],"mappings":"aAeA,IAAYA,EAKAC,yDALAD,QAGXA,oBAAA,GAHWA,EAAAA,yBAAAA,QAAAA,eAGX,KAFC,OAAA,SACAA,EAAA,MAAA,QAGUC,QAGXA,wBAAA,GAHWA,EAAAA,QAAkBA,qBAAlBA,2BAGX,KAFC,UAAA,YACAA,EAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ export declare type IkasOrderCustomer = {
2
+ email: string | null;
3
+ firstName: string | null;
4
+ fullName: string | null;
5
+ id: string | null;
6
+ isGuestCheckout: boolean | null;
7
+ lastName: string | null;
8
+ notificationsAccepted: boolean | null;
9
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasOrderGiftPackageLine = {
2
+ price: number;
3
+ taxValue: number | null;
4
+ };
@@ -0,0 +1,84 @@
1
+ import { IkasOrderAddress } from "./address";
2
+ import { IkasOrderShippingLine } from "./shipping-line";
3
+ import { IkasOrderLineItem } from "./line-item";
4
+ import { IkasOrderCustomer } from "./customer";
5
+ import { IkasOrderGiftPackageLine } from "./gift-line";
6
+ import { IkasInvoice } from "./invoice";
7
+ import { IkasOrderPaymentMethod } from "./payment-method";
8
+ import { IkasOrderAdjustment } from "./adjustment";
9
+ import { IkasOrderPackage } from "./package";
10
+ import { IkasOrderTaxLine } from "./tax-line";
11
+ import { IkasBaseModel } from "../base";
12
+ export declare type IkasOrder = {
13
+ billingAddress: IkasOrderAddress | null;
14
+ cancelReason: IkasOrderCancelReason | null;
15
+ cancelledAt: number | null;
16
+ currencyCode: string;
17
+ customer: IkasOrderCustomer | null;
18
+ customerId: string | null;
19
+ giftPackageLines: IkasOrderGiftPackageLine[] | null;
20
+ giftPackageNote: string | null;
21
+ invoices: IkasInvoice[] | null;
22
+ isGiftPackage: boolean | null;
23
+ note: string | null;
24
+ orderAdjustments: IkasOrderAdjustment[] | null;
25
+ orderLineItems: IkasOrderLineItem[];
26
+ orderNumber: string | null;
27
+ orderPackageStatus: IkasOrderPackageStatus | null;
28
+ orderPackages: IkasOrderPackage[] | null;
29
+ orderPaymentStatus: IkasOrderPaymentStatus | null;
30
+ orderedAt: number | null;
31
+ paymentMethods: IkasOrderPaymentMethod[] | null;
32
+ shippingAddress: IkasOrderAddress | null;
33
+ shippingLines: IkasOrderShippingLine[] | null;
34
+ shippingMethod: IkasOrderShippingMethod;
35
+ status: IkasOrderStatus;
36
+ taxLines: IkasOrderTaxLine[] | null;
37
+ totalFinalPrice: number;
38
+ totalPrice: number;
39
+ } & IkasBaseModel;
40
+ export declare enum IkasOrderCancelReason {
41
+ CUSTOMER = "CUSTOMER",
42
+ DECLINED = "DECLINED",
43
+ INVENTORY = "INVENTORY",
44
+ OTHER = "OTHER"
45
+ }
46
+ export declare enum IkasOrderPackageStatus {
47
+ CANCELLED = "CANCELLED",
48
+ CANCEL_REJECTED = "CANCEL_REJECTED",
49
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
50
+ DELIVERED = "DELIVERED",
51
+ FULFILLED = "FULFILLED",
52
+ PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
53
+ PARTIALLY_DELIVERED = "PARTIALLY_DELIVERED",
54
+ PARTIALLY_FULFILLED = "PARTIALLY_FULFILLED",
55
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
56
+ READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
57
+ READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
58
+ REFUNDED = "REFUNDED",
59
+ REFUND_REJECTED = "REFUND_REJECTED",
60
+ REFUND_REQUESTED = "REFUND_REQUESTED",
61
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
62
+ UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER",
63
+ UNFULFILLED = "UNFULFILLED"
64
+ }
65
+ export declare enum IkasOrderPaymentStatus {
66
+ PAID = "PAID",
67
+ PARTIALLY_PAID = "PARTIALLY_PAID",
68
+ WAITING = "WAITING"
69
+ }
70
+ export declare enum IkasOrderStatus {
71
+ CANCELLED = "CANCELLED",
72
+ CREATED = "CREATED",
73
+ DRAFT = "DRAFT",
74
+ PARTIALLY_CANCELLED = "PARTIALLY_CANCELLED",
75
+ PARTIALLY_REFUNDED = "PARTIALLY_REFUNDED",
76
+ REFUNDED = "REFUNDED",
77
+ REFUND_REJECTED = "REFUND_REJECTED",
78
+ REFUND_REQUESTED = "REFUND_REQUESTED"
79
+ }
80
+ export declare enum IkasOrderShippingMethod {
81
+ CLICK_AND_COLLECT = "CLICK_AND_COLLECT",
82
+ NO_SHIPMENT = "NO_SHIPMENT",
83
+ SHIPMENT = "SHIPMENT"
84
+ }
@@ -0,0 +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";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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 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"}
@@ -0,0 +1,14 @@
1
+ export declare type IkasInvoice = {
2
+ appId: string;
3
+ appName: string;
4
+ createdAt: number | null;
5
+ id: string;
6
+ invoiceNumber: string;
7
+ storeAppId: string;
8
+ type: IkasInvoiceType;
9
+ };
10
+ export declare enum IkasInvoiceType {
11
+ COMPANY = "COMPANY",
12
+ INDIVIDUAL = "INDIVIDUAL",
13
+ OTHER = "OTHER"
14
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/order/invoice/index.ts"],"sourcesContent":["export type IkasInvoice = {\n appId: string;\n appName: string;\n createdAt: number | null;\n id: string;\n invoiceNumber: string;\n storeAppId: string;\n type: IkasInvoiceType;\n};\n\nexport enum IkasInvoiceType {\n COMPANY = \"COMPANY\",\n INDIVIDUAL = \"INDIVIDUAL\",\n OTHER = \"OTHER\",\n}\n"],"names":["IkasInvoiceType"],"mappings":"aAUA,IAAYA,yDAAAA,QAIXA,qBAAA,GAJWA,EAAAA,QAAeA,kBAAfA,wBAIX,KAHC,QAAA,UACAA,EAAA,WAAA,aACAA,EAAA,MAAA"}
@@ -0,0 +1,9 @@
1
+ import { IkasAmountType } from "../../adjustment";
2
+ export declare type IkasOrderLineDiscount = {
3
+ amount: number;
4
+ amountType: IkasAmountType;
5
+ campaignOfferId: string | null;
6
+ campaignOfferProductId: string | null;
7
+ maxApplicableQuantity: number | null;
8
+ reason: string | null;
9
+ };
@@ -0,0 +1,32 @@
1
+ import { IkasOrderLineDiscount } from "./discount";
2
+ import { IkasOrderLineVariant } from "./variant";
3
+ import { IkasOrderLineItemOption } from "./option";
4
+ import { IkasBaseModel } from "../../base";
5
+ export declare type IkasOrderLineItem = {
6
+ currencyCode: string | null;
7
+ discount: IkasOrderLineDiscount | null;
8
+ discountPrice: number | null;
9
+ finalPrice: number | null;
10
+ options: IkasOrderLineItemOption[] | null;
11
+ originalOrderLineItemId: string | null;
12
+ price: number;
13
+ quantity: number;
14
+ status: IkasOrderLineItemStatus;
15
+ statusUpdatedAt: number | null;
16
+ stockLocationId: string | null;
17
+ taxValue: number | null;
18
+ variant: IkasOrderLineVariant;
19
+ orderedAt: number;
20
+ } & IkasBaseModel;
21
+ export declare enum IkasOrderLineItemStatus {
22
+ CANCELLED = "CANCELLED",
23
+ CANCEL_REJECTED = "CANCEL_REJECTED",
24
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
25
+ DELIVERED = "DELIVERED",
26
+ FULFILLED = "FULFILLED",
27
+ REFUNDED = "REFUNDED",
28
+ REFUND_REJECTED = "REFUND_REJECTED",
29
+ REFUND_REQUESTED = "REFUND_REQUESTED",
30
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
31
+ UNFULFILLED = "UNFULFILLED"
32
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +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 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"}
@@ -0,0 +1,9 @@
1
+ import { IkasProductOptionType } from "../../../product/option-set/option";
2
+ import { IkasOrderLineItemOptionValue } from "./value";
3
+ export declare type IkasOrderLineItemOption = {
4
+ name: string;
5
+ productOptionId: string;
6
+ productOptionsSetId: string;
7
+ type: IkasProductOptionType;
8
+ values: IkasOrderLineItemOptionValue[];
9
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasOrderLineItemOptionValue = {
2
+ name: string | null;
3
+ price: number | null;
4
+ value: string;
5
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasOrderLineVariantBrand = {
2
+ id: string;
3
+ name: string;
4
+ };
@@ -0,0 +1,9 @@
1
+ export declare type IkasOrderLineVariantCategory = {
2
+ categoryPath: IkasOrderLineVariantCategoryPath[] | null;
3
+ id: string;
4
+ name: string;
5
+ };
6
+ export declare type IkasOrderLineVariantCategoryPath = {
7
+ id: string;
8
+ name: string;
9
+ };
@@ -0,0 +1,23 @@
1
+ import { IkasOrderLineVariantVariantValue } from "./value";
2
+ import { IkasOrderLineVariantBrand } from "./brand";
3
+ import { IkasOrderLineVariantCategory } from "./category";
4
+ import { IkasOrderLineVariantPrice } from "./price";
5
+ import { IkasImage } from "../../../image";
6
+ export declare type IkasOrderLineVariant = {
7
+ barcodeList: string[] | null;
8
+ brand: IkasOrderLineVariantBrand | null;
9
+ categories: IkasOrderLineVariantCategory[] | null;
10
+ id: string | null;
11
+ mainImageId: string | null;
12
+ name: string;
13
+ prices: IkasOrderLineVariantPrice[] | null;
14
+ productId: string | null;
15
+ sku: string | null;
16
+ slug: string | null;
17
+ tagIds: string[] | null;
18
+ taxValue: number | null;
19
+ type: number | null;
20
+ weight: number | null;
21
+ variantValues: IkasOrderLineVariantVariantValue[] | null;
22
+ mainImage?: IkasImage | null;
23
+ };
@@ -0,0 +1,7 @@
1
+ export declare type IkasOrderLineVariantPrice = {
2
+ buyPrice: number | null;
3
+ currency: string | null;
4
+ discountPrice: number | null;
5
+ priceListId: string | null;
6
+ sellPrice: number;
7
+ };
@@ -0,0 +1,7 @@
1
+ export declare type IkasOrderLineVariantVariantValue = {
2
+ order: number;
3
+ variantTypeId: string;
4
+ variantTypeName: string | null;
5
+ variantValueId: string;
6
+ variantValueName: string | null;
7
+ };
@@ -0,0 +1,26 @@
1
+ import { IkasBaseModel } from "../../base";
2
+ import { IkasTrackingInfo } from "./tracking-info";
3
+ export declare type IkasOrderPackage = {
4
+ errorMessage: string | null;
5
+ note: string | null;
6
+ orderLineItemIds: string[];
7
+ orderPackageFulfillStatus: IkasOrderPackageFullfillStatus;
8
+ orderPackageNumber: string;
9
+ stockLocationId: string;
10
+ trackingInfo: IkasTrackingInfo | null;
11
+ } & IkasBaseModel;
12
+ export declare enum IkasOrderPackageFullfillStatus {
13
+ CANCELLED = "CANCELLED",
14
+ CANCEL_REJECTED = "CANCEL_REJECTED",
15
+ CANCEL_REQUESTED = "CANCEL_REQUESTED",
16
+ DELIVERED = "DELIVERED",
17
+ ERROR = "ERROR",
18
+ FULFILLED = "FULFILLED",
19
+ READY_FOR_PICK_UP = "READY_FOR_PICK_UP",
20
+ READY_FOR_SHIPMENT = "READY_FOR_SHIPMENT",
21
+ REFUNDED = "REFUNDED",
22
+ REFUND_REJECTED = "REFUND_REJECTED",
23
+ REFUND_REQUESTED = "REFUND_REQUESTED",
24
+ REFUND_REQUEST_ACCEPTED = "REFUND_REQUEST_ACCEPTED",
25
+ UNABLE_TO_DELIVER = "UNABLE_TO_DELIVER"
26
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/order/package/index.ts"],"sourcesContent":["import { IkasBaseModel } from \"../../base\";\nimport { IkasTrackingInfo } from \"./tracking-info\";\n\nexport type IkasOrderPackage = {\n errorMessage: string | null;\n note: string | null;\n orderLineItemIds: string[];\n orderPackageFulfillStatus: IkasOrderPackageFullfillStatus;\n orderPackageNumber: string;\n stockLocationId: string;\n trackingInfo: IkasTrackingInfo | null;\n} & IkasBaseModel;\n\nexport enum IkasOrderPackageFullfillStatus {\n CANCELLED = \"CANCELLED\",\n CANCEL_REJECTED = \"CANCEL_REJECTED\",\n CANCEL_REQUESTED = \"CANCEL_REQUESTED\",\n DELIVERED = \"DELIVERED\",\n ERROR = \"ERROR\",\n FULFILLED = \"FULFILLED\",\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}\n"],"names":["IkasOrderPackageFullfillStatus"],"mappings":"aAaA,IAAYA,yDAAAA,QAcXA,oCAAA,GAdWA,EAAAA,QAA8BA,iCAA9BA,uCAcX,KAbC,UAAA,YACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,UAAA,YACAA,EAAA,MAAA,QACAA,EAAA,UAAA,YACAA,EAAA,kBAAA,oBACAA,EAAA,mBAAA,qBACAA,EAAA,SAAA,WACAA,EAAA,gBAAA,kBACAA,EAAA,iBAAA,mBACAA,EAAA,wBAAA,0BACAA,EAAA,kBAAA"}
@@ -0,0 +1,7 @@
1
+ export declare type IkasTrackingInfo = {
2
+ barcode: string | null;
3
+ cargoCompany: string | null;
4
+ isSendNotification: boolean | null;
5
+ trackingLink: string | null;
6
+ trackingNumber: string | null;
7
+ };
@@ -0,0 +1,8 @@
1
+ import { IkasPaymentMethodType } from "../../payment-gateway";
2
+ export declare type IkasOrderPaymentMethod = {
3
+ paymentGatewayCode: string | null;
4
+ paymentGatewayId: string | null;
5
+ paymentGatewayName: string | null;
6
+ price: number;
7
+ type: IkasPaymentMethodType;
8
+ };
@@ -0,0 +1,5 @@
1
+ import { IkasOrderRefundOrderLineInput } from "./line-item";
2
+ export declare type IkasRefund = {
3
+ orderId: string;
4
+ orderLineItems: IkasOrderRefundOrderLineInput[];
5
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasOrderRefundOrderLineInput = {
2
+ orderLineItemId: string;
3
+ quantity: number;
4
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasOrderRefundSettings = {
2
+ isActiveRefundSection: boolean;
3
+ orderRefundDayLimit: number | null;
4
+ refundDesc: string;
5
+ };
@@ -0,0 +1,11 @@
1
+ import { IkasPaymentMethodType } from "../../payment-gateway";
2
+ export declare type IkasOrderShippingLine = {
3
+ finalPrice: number;
4
+ isRefunded: boolean | null;
5
+ paymentMethod: IkasPaymentMethodType | null;
6
+ price: number;
7
+ shippingSettingsId: string | null;
8
+ shippingZoneRateId: string | null;
9
+ taxValue: number | null;
10
+ title: string;
11
+ };
@@ -0,0 +1,4 @@
1
+ export declare type IkasOrderTaxLine = {
2
+ price: number;
3
+ rate: number;
4
+ };
@@ -0,0 +1,5 @@
1
+ export declare type IkasTransactionError = {
2
+ code: string | null;
3
+ declineCode: string | null;
4
+ message: string | null;
5
+ };
@@ -0,0 +1,34 @@
1
+ import { IkasPaymentMethodType } from "../../payment-gateway";
2
+ import { IkasTransactionError } from "./error";
3
+ import { IkasTransactionPaymentMethodDetail } from "./payment-method-detail";
4
+ export declare type IkasOrderTransaction = {
5
+ amount: number | null;
6
+ checkoutId: string | null;
7
+ createdAt: number | null;
8
+ currencyCode: string | null;
9
+ customerId: string | null;
10
+ error: IkasTransactionError | null;
11
+ id: string | null;
12
+ orderId: string | null;
13
+ paymentGatewayId: string | null;
14
+ paymentGatewayName: string | null;
15
+ paymentMethod: IkasPaymentMethodType | null;
16
+ paymentMethodDetail: IkasTransactionPaymentMethodDetail | null;
17
+ processedAt: number | null;
18
+ refundReason: string | null;
19
+ status: IkasTransactionStatus | null;
20
+ type: IkasTransactionType | null;
21
+ updatedAt: number | null;
22
+ currencySymbol?: string | null;
23
+ };
24
+ export declare enum IkasTransactionStatus {
25
+ AUTHORIZED = "AUTHORIZED",
26
+ FAILED = "FAILED",
27
+ PENDING = "PENDING",
28
+ SUCCESS = "SUCCESS"
29
+ }
30
+ export declare enum IkasTransactionType {
31
+ REFUND = "REFUND",
32
+ SALE = "SALE",
33
+ VOID = "VOID"
34
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +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 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"}
@@ -0,0 +1,22 @@
1
+ import { IkasTransactionInstallmentPrice } from "./installment-price";
2
+ export declare type IkasTransactionPaymentMethodDetail = {
3
+ bankName: string | null;
4
+ binNumber: string;
5
+ cardAssociation: IkasTransactionCardAssociation | null;
6
+ cardFamily: string | null;
7
+ cardType: IkasTransactionCardType | null;
8
+ installment: IkasTransactionInstallmentPrice | null;
9
+ lastFourDigits: string;
10
+ threeDSecure: boolean | null;
11
+ };
12
+ export declare enum IkasTransactionCardAssociation {
13
+ AMERICAN_EXPRESS = "AMERICAN_EXPRESS",
14
+ MASTER_CARD = "MASTER_CARD",
15
+ TROY = "TROY",
16
+ VISA = "VISA"
17
+ }
18
+ export declare enum IkasTransactionCardType {
19
+ CREDIT = "CREDIT",
20
+ DEBIT = "DEBIT",
21
+ PREPAID = "PREPAID"
22
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../src/models/order/transaction/payment-method-detail/index.ts"],"sourcesContent":["import { IkasTransactionInstallmentPrice } from \"./installment-price\";\n\nexport type IkasTransactionPaymentMethodDetail = {\n bankName: string | null;\n binNumber: string;\n cardAssociation: IkasTransactionCardAssociation | null;\n cardFamily: string | null;\n cardType: IkasTransactionCardType | null;\n installment: IkasTransactionInstallmentPrice | null;\n lastFourDigits: string;\n threeDSecure: boolean | null;\n};\n\nexport enum IkasTransactionCardAssociation {\n AMERICAN_EXPRESS = \"AMERICAN_EXPRESS\",\n MASTER_CARD = \"MASTER_CARD\",\n TROY = \"TROY\",\n VISA = \"VISA\",\n}\n\nexport enum IkasTransactionCardType {\n CREDIT = \"CREDIT\",\n DEBIT = \"DEBIT\",\n PREPAID = \"PREPAID\",\n}\n"],"names":["IkasTransactionCardAssociation","IkasTransactionCardType"],"mappings":"aAaA,IAAYA,EAOAC,yDAPAD,QAKXA,oCAAA,GALWA,EAAAA,yCAAAA,QAAAA,+BAKX,KAJC,iBAAA,mBACAA,EAAA,YAAA,cACAA,EAAA,KAAA,OACAA,EAAA,KAAA,OAGUC,QAIXA,6BAAA,GAJWA,EAAAA,QAAuBA,0BAAvBA,gCAIX,KAHC,OAAA,SACAA,EAAA,MAAA,QACAA,EAAA,QAAA"}
@@ -0,0 +1,7 @@
1
+ export declare type IkasTransactionInstallmentPrice = {
2
+ installmentCount: number | null;
3
+ installmentPrice: number | null;
4
+ originalRate: number | null;
5
+ rate: number | null;
6
+ totalPrice: number | null;
7
+ };
@@ -0,0 +1,14 @@
1
+ export declare type IkasPaymentGatewayAdditionalPrice = {
2
+ amount: number;
3
+ amountType: IkasPaymentGatewayTransactionFeeType;
4
+ name: string;
5
+ type: IkasPaymentGatewayAdditionalPriceType;
6
+ };
7
+ export declare enum IkasPaymentGatewayTransactionFeeType {
8
+ AMOUNT = "AMOUNT",
9
+ RATIO = "RATIO"
10
+ }
11
+ export declare enum IkasPaymentGatewayAdditionalPriceType {
12
+ DECREMENT = "DECREMENT",
13
+ INCREMENT = "INCREMENT"
14
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/payment-gateway/additional-price/index.ts"],"sourcesContent":["export type IkasPaymentGatewayAdditionalPrice = {\n amount: number;\n amountType: IkasPaymentGatewayTransactionFeeType;\n name: string;\n type: IkasPaymentGatewayAdditionalPriceType;\n};\n\nexport enum IkasPaymentGatewayTransactionFeeType {\n AMOUNT = \"AMOUNT\",\n RATIO = \"RATIO\",\n}\n\nexport enum IkasPaymentGatewayAdditionalPriceType {\n DECREMENT = \"DECREMENT\",\n INCREMENT = \"INCREMENT\",\n}\n"],"names":["IkasPaymentGatewayTransactionFeeType","IkasPaymentGatewayAdditionalPriceType"],"mappings":"aAOA,IAAYA,EAKAC,yDALAD,QAGXA,0CAAA,GAHWA,EAAAA,+CAAAA,QAAAA,qCAGX,KAFC,OAAA,SACAA,EAAA,MAAA,QAGUC,QAGXA,2CAAA,GAHWA,EAAAA,QAAqCA,wCAArCA,8CAGX,KAFC,UAAA,YACAA,EAAA,UAAA"}
@@ -0,0 +1,42 @@
1
+ import { IkasPaymentGatewayAdditionalPrice } from "./additional-price";
2
+ import { IkasBaseModel } from "../base";
3
+ import { IkasPaymentGatewayTranslation } from "./translation";
4
+ import { IkasPaymentGatewaySettings } from "./settings";
5
+ export declare type IkasPaymentGateway = {
6
+ additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;
7
+ availableCountries: string[] | null;
8
+ code: string;
9
+ description: string | null;
10
+ logoUrl: string | null;
11
+ masterPassClientId: string | null;
12
+ name: string;
13
+ paymentGatewayProviderId: string | null;
14
+ supportedCurrencies: string[] | null;
15
+ testMode: boolean | null;
16
+ type: IkasPaymentGatewayType;
17
+ paymentMethods: IkasPaymentMethod[];
18
+ paymentMethodType: IkasPaymentMethodType;
19
+ settings?: IkasPaymentGatewaySettings[] | null;
20
+ translations?: IkasPaymentGatewayTranslation[] | null;
21
+ } & IkasBaseModel;
22
+ export declare enum IkasPaymentMethodType {
23
+ APP_PAYMENT = "APP_PAYMENT",
24
+ BUY_ONLINE_PAY_AT_STORE = "BUY_ONLINE_PAY_AT_STORE",
25
+ CASH = "CASH",
26
+ CASH_ON_DELIVERY = "CASH_ON_DELIVERY",
27
+ CREDIT_CARD = "CREDIT_CARD",
28
+ CREDIT_CARD_ON_DELIVERY = "CREDIT_CARD_ON_DELIVERY",
29
+ GIFT_CARD = "GIFT_CARD",
30
+ MONEY_ORDER = "MONEY_ORDER",
31
+ OTHER = "OTHER",
32
+ WALLET = "WALLET"
33
+ }
34
+ export declare type IkasPaymentMethod = {
35
+ name: string;
36
+ logoUrl: string | null;
37
+ };
38
+ export declare enum IkasPaymentGatewayType {
39
+ EXTERNAL = "EXTERNAL",
40
+ INTERNAL = "INTERNAL",
41
+ THIRD_PARTY = "THIRD_PARTY"
42
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/models/payment-gateway/index.ts"],"sourcesContent":["import { IkasPaymentGatewayAdditionalPrice } from \"./additional-price\";\nimport { IkasBaseModel } from \"../base\";\nimport { IkasPaymentGatewayTranslation } from \"./translation\";\nimport { IkasPaymentGatewaySettings } from \"./settings\";\n\nexport type IkasPaymentGateway = {\n additionalPrices: IkasPaymentGatewayAdditionalPrice[] | null;\n availableCountries: string[] | null;\n code: string;\n description: string | null;\n logoUrl: string | null;\n masterPassClientId: string | null;\n name: string;\n paymentGatewayProviderId: string | null;\n supportedCurrencies: string[] | null;\n testMode: boolean | null;\n type: IkasPaymentGatewayType;\n paymentMethods: IkasPaymentMethod[];\n paymentMethodType: IkasPaymentMethodType;\n settings?: IkasPaymentGatewaySettings[] | null;\n\n translations?: IkasPaymentGatewayTranslation[] | null;\n} & IkasBaseModel;\n\nexport enum IkasPaymentMethodType {\n APP_PAYMENT = \"APP_PAYMENT\",\n BUY_ONLINE_PAY_AT_STORE = \"BUY_ONLINE_PAY_AT_STORE\",\n CASH = \"CASH\",\n CASH_ON_DELIVERY = \"CASH_ON_DELIVERY\",\n CREDIT_CARD = \"CREDIT_CARD\",\n CREDIT_CARD_ON_DELIVERY = \"CREDIT_CARD_ON_DELIVERY\",\n GIFT_CARD = \"GIFT_CARD\",\n MONEY_ORDER = \"MONEY_ORDER\",\n OTHER = \"OTHER\",\n WALLET = \"WALLET\",\n}\n\nexport type IkasPaymentMethod = {\n name: string;\n logoUrl: string | null;\n};\n\nexport enum IkasPaymentGatewayType {\n EXTERNAL = \"EXTERNAL\",\n INTERNAL = \"INTERNAL\",\n THIRD_PARTY = \"THIRD_PARTY\",\n}\n"],"names":["IkasPaymentMethodType","IkasPaymentGatewayType"],"mappings":"aAwBA,IAAYA,EAkBAC,yDAlBAD,QAWXA,2BAAA,GAXWA,EAAAA,gCAAAA,QAAAA,sBAWX,KAVC,YAAA,cACAA,EAAA,wBAAA,0BACAA,EAAA,KAAA,OACAA,EAAA,iBAAA,mBACAA,EAAA,YAAA,cACAA,EAAA,wBAAA,0BACAA,EAAA,UAAA,YACAA,EAAA,YAAA,cACAA,EAAA,MAAA,QACAA,EAAA,OAAA,SAQUC,QAIXA,4BAAA,GAJWA,EAAAA,QAAsBA,yBAAtBA,+BAIX,KAHC,SAAA,WACAA,EAAA,SAAA,WACAA,EAAA,YAAA"}
@@ -0,0 +1,2 @@
1
+ import { IkasPaymentGateway } from ".";
2
+ export declare function initIkasPaymentGateway(paymentGateway: IkasPaymentGateway, locale: string | null): void;
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.js","sources":["../../../src/models/payment-gateway/init.ts"],"sourcesContent":["import { IkasPaymentGateway } from \".\";\nimport { IkasPaymentGatewayTranslation } from \"./translation\";\n\nexport function initIkasPaymentGateway(\n paymentGateway: IkasPaymentGateway,\n locale: string | null\n) {\n if (paymentGateway.translations && locale) {\n setTranslations(paymentGateway, paymentGateway.translations, locale);\n delete paymentGateway.translations;\n }\n}\n\nfunction setTranslations(\n paymentGateway: IkasPaymentGateway,\n translations: IkasPaymentGatewayTranslation[],\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) paymentGateway.name = localeTranslations.name;\n if (localeTranslations?.description)\n paymentGateway.description = localeTranslations.description;\n }\n}\n"],"names":["paymentGateway","locale","translations","some","t","localeTranslations","find","name","description","setTranslations"],"mappings":"mGAGgB,SACdA,EACAC,GAEID,EAAeE,cAAgBD,KAMrC,SACED,EACAE,EACAD,GAEA,GAAIC,GAAgBA,EAAaC,MAAK,SAACC,GAAM,OAAAA,EAAEH,SAAWA,KAAS,CACjE,IAAMI,EAAqBH,EAAaI,MAAK,SAACF,GAAM,OAAAA,EAAEH,SAAWA,MAE7DI,aAAA,EAAAA,EAAoBE,QAAMP,EAAeO,KAAOF,EAAmBE,OACnEF,aAAA,EAAAA,EAAoBG,eACtBR,EAAeQ,YAAcH,EAAmBG,cAflDC,CAAgBT,EAAgBA,EAAeE,aAAcD,UACtDD,EAAeE"}
@@ -0,0 +1,11 @@
1
+ export declare type IkasPaymentGatewaySettings = {
2
+ label: string;
3
+ order: number;
4
+ type: IkasPaymentGatewaySettingsType;
5
+ value: string | null;
6
+ };
7
+ export declare enum IkasPaymentGatewaySettingsType {
8
+ NUMBER = "NUMBER",
9
+ PASSWORD = "PASSWORD",
10
+ TEXT = "TEXT"
11
+ }
@@ -0,0 +1,2 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/models/payment-gateway/settings/index.ts"],"sourcesContent":["export type IkasPaymentGatewaySettings = {\n label: string;\n order: number;\n type: IkasPaymentGatewaySettingsType;\n value: string | null;\n};\n\nexport enum IkasPaymentGatewaySettingsType {\n NUMBER = \"NUMBER\",\n PASSWORD = \"PASSWORD\",\n TEXT = \"TEXT\",\n}\n"],"names":["IkasPaymentGatewaySettingsType"],"mappings":"aAOA,IAAYA,yDAAAA,QAIXA,oCAAA,GAJWA,EAAAA,QAA8BA,iCAA9BA,uCAIX,KAHC,OAAA,SACAA,EAAA,SAAA,WACAA,EAAA,KAAA"}