@medusajs/types 1.12.0-snapshot-20240812125058 → 1.12.0-snapshot-20240821132459

Sign up to get free protection for your applications and to get access to all the features.
Files changed (468) hide show
  1. package/dist/auth/common/auth-identity.d.ts +1 -0
  2. package/dist/auth/common/auth-identity.d.ts.map +1 -1
  3. package/dist/auth/service.d.ts +39 -2
  4. package/dist/auth/service.d.ts.map +1 -1
  5. package/dist/http/claim/admin/responses.d.ts +17 -0
  6. package/dist/http/claim/admin/responses.d.ts.map +1 -1
  7. package/dist/http/currency/admin/entities.d.ts +2 -12
  8. package/dist/http/currency/admin/entities.d.ts.map +1 -1
  9. package/dist/http/currency/common.d.ts +14 -0
  10. package/dist/http/currency/common.d.ts.map +1 -0
  11. package/dist/http/{customer/store.js → currency/common.js} +1 -1
  12. package/dist/http/currency/common.js.map +1 -0
  13. package/dist/http/currency/index.d.ts +2 -0
  14. package/dist/http/currency/index.d.ts.map +1 -1
  15. package/dist/http/currency/index.js +2 -0
  16. package/dist/http/currency/index.js.map +1 -1
  17. package/dist/http/currency/store/entities.d.ts +4 -0
  18. package/dist/http/currency/store/entities.d.ts.map +1 -0
  19. package/dist/http/currency/store/entities.js +3 -0
  20. package/dist/http/currency/store/entities.js.map +1 -0
  21. package/dist/http/currency/store/index.d.ts +3 -0
  22. package/dist/http/currency/store/index.d.ts.map +1 -0
  23. package/dist/http/currency/store/index.js +19 -0
  24. package/dist/http/currency/store/index.js.map +1 -0
  25. package/dist/http/currency/store/responses.d.ts +10 -0
  26. package/dist/http/currency/store/responses.d.ts.map +1 -0
  27. package/dist/http/currency/store/responses.js +3 -0
  28. package/dist/http/currency/store/responses.js.map +1 -0
  29. package/dist/http/customer/admin/entities.d.ts +10 -0
  30. package/dist/http/customer/admin/entities.d.ts.map +1 -0
  31. package/dist/http/customer/admin/entities.js +3 -0
  32. package/dist/http/customer/admin/entities.js.map +1 -0
  33. package/dist/http/customer/admin/index.d.ts +5 -0
  34. package/dist/http/customer/admin/index.d.ts.map +1 -0
  35. package/dist/http/customer/admin/index.js +21 -0
  36. package/dist/http/customer/admin/index.js.map +1 -0
  37. package/dist/http/customer/admin/payloads.d.ts +10 -0
  38. package/dist/http/customer/admin/payloads.d.ts.map +1 -0
  39. package/dist/http/customer/admin/payloads.js +3 -0
  40. package/dist/http/customer/admin/payloads.js.map +1 -0
  41. package/dist/http/customer/admin/queries.d.ts +7 -0
  42. package/dist/http/customer/admin/queries.d.ts.map +1 -0
  43. package/dist/http/customer/admin/queries.js +3 -0
  44. package/dist/http/customer/admin/queries.js.map +1 -0
  45. package/dist/http/customer/admin/responses.d.ts +21 -0
  46. package/dist/http/customer/admin/responses.d.ts.map +1 -0
  47. package/dist/http/customer/admin/responses.js +3 -0
  48. package/dist/http/customer/admin/responses.js.map +1 -0
  49. package/dist/http/customer/store/entities.d.ts +6 -0
  50. package/dist/http/customer/store/entities.d.ts.map +1 -0
  51. package/dist/http/customer/store/entities.js +3 -0
  52. package/dist/http/customer/store/entities.js.map +1 -0
  53. package/dist/http/customer/store/index.d.ts +5 -0
  54. package/dist/http/customer/store/index.d.ts.map +1 -0
  55. package/dist/http/customer/store/index.js +21 -0
  56. package/dist/http/customer/store/index.js.map +1 -0
  57. package/dist/http/customer/store/payloads.d.ts +10 -0
  58. package/dist/http/customer/store/payloads.d.ts.map +1 -0
  59. package/dist/http/customer/store/payloads.js +3 -0
  60. package/dist/http/customer/store/payloads.js.map +1 -0
  61. package/dist/http/customer/store/queries.d.ts +6 -0
  62. package/dist/http/customer/store/queries.d.ts.map +1 -0
  63. package/dist/http/customer/store/queries.js +3 -0
  64. package/dist/http/customer/store/queries.js.map +1 -0
  65. package/dist/http/customer/store/responses.d.ts +13 -0
  66. package/dist/http/customer/store/responses.d.ts.map +1 -0
  67. package/dist/http/customer/store/responses.js +3 -0
  68. package/dist/http/customer/store/responses.js.map +1 -0
  69. package/dist/http/exchange/admin/entities.d.ts +4 -0
  70. package/dist/http/exchange/admin/entities.d.ts.map +1 -0
  71. package/dist/http/exchange/admin/entities.js +3 -0
  72. package/dist/http/exchange/admin/entities.js.map +1 -0
  73. package/dist/http/exchange/admin/index.d.ts +5 -0
  74. package/dist/http/exchange/admin/index.d.ts.map +1 -0
  75. package/dist/http/exchange/admin/index.js +21 -0
  76. package/dist/http/exchange/admin/index.js.map +1 -0
  77. package/dist/http/exchange/admin/payloads.d.ts +68 -0
  78. package/dist/http/exchange/admin/payloads.d.ts.map +1 -0
  79. package/dist/http/exchange/admin/payloads.js +10 -0
  80. package/dist/http/exchange/admin/payloads.js.map +1 -0
  81. package/dist/http/exchange/admin/queries.d.ts +14 -0
  82. package/dist/http/exchange/admin/queries.d.ts.map +1 -0
  83. package/dist/http/exchange/admin/queries.js +3 -0
  84. package/dist/http/exchange/admin/queries.js.map +1 -0
  85. package/dist/http/exchange/admin/responses.d.ts +28 -0
  86. package/dist/http/exchange/admin/responses.d.ts.map +1 -0
  87. package/dist/http/exchange/admin/responses.js +3 -0
  88. package/dist/http/exchange/admin/responses.js.map +1 -0
  89. package/dist/http/exchange/common.d.ts +33 -0
  90. package/dist/http/exchange/common.d.ts.map +1 -0
  91. package/dist/http/{file/admin.js → exchange/common.js} +1 -1
  92. package/dist/http/exchange/common.js.map +1 -0
  93. package/dist/http/exchange/index.d.ts +2 -0
  94. package/dist/http/exchange/index.d.ts.map +1 -0
  95. package/dist/http/exchange/index.js +18 -0
  96. package/dist/http/exchange/index.js.map +1 -0
  97. package/dist/http/file/admin/entities.d.ts +4 -0
  98. package/dist/http/file/admin/entities.d.ts.map +1 -0
  99. package/dist/http/file/admin/entities.js +3 -0
  100. package/dist/http/file/admin/entities.js.map +1 -0
  101. package/dist/http/file/admin/index.d.ts +4 -0
  102. package/dist/http/file/admin/index.d.ts.map +1 -0
  103. package/dist/http/file/admin/index.js +20 -0
  104. package/dist/http/file/admin/index.js.map +1 -0
  105. package/dist/http/file/admin/payloads.d.ts +3 -0
  106. package/dist/http/file/admin/payloads.d.ts.map +1 -0
  107. package/dist/http/file/admin/payloads.js +3 -0
  108. package/dist/http/file/admin/payloads.js.map +1 -0
  109. package/dist/http/file/admin/responses.d.ts +8 -0
  110. package/dist/http/file/admin/responses.d.ts.map +1 -0
  111. package/dist/http/file/admin/responses.js +3 -0
  112. package/dist/http/file/admin/responses.js.map +1 -0
  113. package/dist/http/fulfillment-provider/admin/entities.d.ts +2 -3
  114. package/dist/http/fulfillment-provider/admin/entities.d.ts.map +1 -1
  115. package/dist/http/fulfillment-provider/common.d.ts +5 -0
  116. package/dist/http/fulfillment-provider/common.d.ts.map +1 -0
  117. package/dist/http/{customer/admin.js → fulfillment-provider/common.js} +1 -1
  118. package/dist/http/fulfillment-provider/common.js.map +1 -0
  119. package/dist/http/index.d.ts +3 -0
  120. package/dist/http/index.d.ts.map +1 -1
  121. package/dist/http/index.js +3 -0
  122. package/dist/http/index.js.map +1 -1
  123. package/dist/http/invite/admin/entities.d.ts +11 -0
  124. package/dist/http/invite/admin/entities.d.ts.map +1 -0
  125. package/dist/http/invite/admin/entities.js +3 -0
  126. package/dist/http/invite/admin/entities.js.map +1 -0
  127. package/dist/http/invite/admin/index.d.ts +4 -0
  128. package/dist/http/invite/admin/index.d.ts.map +1 -0
  129. package/dist/http/invite/admin/index.js +20 -0
  130. package/dist/http/invite/admin/index.js.map +1 -0
  131. package/dist/http/invite/admin/payloads.d.ts +9 -0
  132. package/dist/http/invite/admin/payloads.d.ts.map +1 -0
  133. package/dist/http/invite/admin/payloads.js +3 -0
  134. package/dist/http/invite/admin/payloads.js.map +1 -0
  135. package/dist/http/invite/admin/responses.d.ts +15 -0
  136. package/dist/http/invite/admin/responses.d.ts.map +1 -0
  137. package/dist/http/invite/admin/responses.js +3 -0
  138. package/dist/http/invite/admin/responses.js.map +1 -0
  139. package/dist/http/order/admin/entities.d.ts +25 -0
  140. package/dist/http/order/admin/entities.d.ts.map +1 -0
  141. package/dist/http/order/admin/entities.js +3 -0
  142. package/dist/http/order/admin/entities.js.map +1 -0
  143. package/dist/http/order/admin/index.d.ts +5 -0
  144. package/dist/http/order/admin/index.d.ts.map +1 -0
  145. package/dist/http/order/admin/index.js +21 -0
  146. package/dist/http/order/admin/index.js.map +1 -0
  147. package/dist/http/order/admin/payload.d.ts +26 -0
  148. package/dist/http/order/admin/payload.d.ts.map +1 -0
  149. package/dist/http/order/admin/payload.js +3 -0
  150. package/dist/http/order/admin/payload.js.map +1 -0
  151. package/dist/http/order/admin/queries.d.ts +4 -0
  152. package/dist/http/order/admin/queries.d.ts.map +1 -0
  153. package/dist/http/order/admin/queries.js +3 -0
  154. package/dist/http/order/admin/queries.js.map +1 -0
  155. package/dist/http/order/admin/responses.d.ts +18 -0
  156. package/dist/http/order/admin/responses.d.ts.map +1 -0
  157. package/dist/http/order/admin/responses.js +3 -0
  158. package/dist/http/order/admin/responses.js.map +1 -0
  159. package/dist/http/order/{store.d.ts → store/entities.d.ts} +2 -4
  160. package/dist/http/order/store/entities.d.ts.map +1 -0
  161. package/dist/http/order/store/entities.js +3 -0
  162. package/dist/http/order/store/entities.js.map +1 -0
  163. package/dist/http/order/store/index.d.ts +4 -0
  164. package/dist/http/order/store/index.d.ts.map +1 -0
  165. package/dist/http/order/store/index.js +20 -0
  166. package/dist/http/order/store/index.js.map +1 -0
  167. package/dist/http/order/store/queries.d.ts +4 -0
  168. package/dist/http/order/store/queries.d.ts.map +1 -0
  169. package/dist/http/order/store/queries.js +3 -0
  170. package/dist/http/order/store/queries.js.map +1 -0
  171. package/dist/http/order/store/responses.d.ts +9 -0
  172. package/dist/http/order/store/responses.d.ts.map +1 -0
  173. package/dist/http/order/store/responses.js +3 -0
  174. package/dist/http/order/store/responses.js.map +1 -0
  175. package/dist/http/order-edit/admin/index.d.ts +2 -0
  176. package/dist/http/order-edit/admin/index.d.ts.map +1 -0
  177. package/dist/http/order-edit/admin/index.js +18 -0
  178. package/dist/http/order-edit/admin/index.js.map +1 -0
  179. package/dist/http/order-edit/admin/responses.d.ts +8 -0
  180. package/dist/http/order-edit/admin/responses.d.ts.map +1 -0
  181. package/dist/http/order-edit/admin/responses.js +3 -0
  182. package/dist/http/order-edit/admin/responses.js.map +1 -0
  183. package/dist/http/order-edit/common.d.ts +10 -0
  184. package/dist/http/order-edit/common.d.ts.map +1 -0
  185. package/dist/http/{invite/admin.js → order-edit/common.js} +1 -1
  186. package/dist/http/order-edit/common.js.map +1 -0
  187. package/dist/http/order-edit/index.d.ts +3 -0
  188. package/dist/http/order-edit/index.d.ts.map +1 -0
  189. package/dist/http/order-edit/index.js +19 -0
  190. package/dist/http/order-edit/index.js.map +1 -0
  191. package/dist/http/payment/admin/entities.d.ts +15 -0
  192. package/dist/http/payment/admin/entities.d.ts.map +1 -0
  193. package/dist/http/payment/admin/entities.js +3 -0
  194. package/dist/http/payment/admin/entities.js.map +1 -0
  195. package/dist/http/payment/admin/index.d.ts +5 -0
  196. package/dist/http/payment/admin/index.d.ts.map +1 -0
  197. package/dist/http/payment/admin/index.js +21 -0
  198. package/dist/http/payment/admin/index.js.map +1 -0
  199. package/dist/http/payment/admin/payloads.d.ts +20 -0
  200. package/dist/http/payment/admin/payloads.d.ts.map +1 -0
  201. package/dist/http/payment/admin/payloads.js +3 -0
  202. package/dist/http/payment/admin/payloads.js.map +1 -0
  203. package/dist/http/payment/admin/queries.d.ts +19 -0
  204. package/dist/http/payment/admin/queries.d.ts.map +1 -0
  205. package/dist/http/payment/admin/queries.js +3 -0
  206. package/dist/http/payment/admin/queries.js.map +1 -0
  207. package/dist/http/payment/admin/responses.d.ts +32 -0
  208. package/dist/http/payment/admin/responses.d.ts.map +1 -0
  209. package/dist/http/payment/admin/responses.js +3 -0
  210. package/dist/http/payment/admin/responses.js.map +1 -0
  211. package/dist/http/payment/common.d.ts +5 -1
  212. package/dist/http/payment/common.d.ts.map +1 -1
  213. package/dist/http/payment/store/entities.d.ts +8 -0
  214. package/dist/http/payment/store/entities.d.ts.map +1 -0
  215. package/dist/http/payment/store/entities.js +3 -0
  216. package/dist/http/payment/store/entities.js.map +1 -0
  217. package/dist/http/payment/store/index.d.ts +4 -0
  218. package/dist/http/payment/store/index.d.ts.map +1 -0
  219. package/dist/http/payment/store/index.js +20 -0
  220. package/dist/http/payment/store/index.js.map +1 -0
  221. package/dist/http/payment/store/queries.d.ts +8 -0
  222. package/dist/http/payment/store/queries.d.ts.map +1 -0
  223. package/dist/http/payment/store/queries.js +3 -0
  224. package/dist/http/payment/store/queries.js.map +1 -0
  225. package/dist/http/payment/store/responses.d.ts +9 -0
  226. package/dist/http/payment/store/responses.d.ts.map +1 -0
  227. package/dist/http/payment/store/responses.js +3 -0
  228. package/dist/http/payment/store/responses.js.map +1 -0
  229. package/dist/http/price-list/admin/responses.d.ts +10 -0
  230. package/dist/http/price-list/admin/responses.d.ts.map +1 -1
  231. package/dist/http/product/admin/entitites.d.ts +8 -0
  232. package/dist/http/product/admin/entitites.d.ts.map +1 -1
  233. package/dist/http/product/admin/responses.d.ts +13 -1
  234. package/dist/http/product/admin/responses.d.ts.map +1 -1
  235. package/dist/http/promotion/admin/entities.d.ts +12 -0
  236. package/dist/http/promotion/admin/entities.d.ts.map +1 -0
  237. package/dist/http/promotion/admin/entities.js +3 -0
  238. package/dist/http/promotion/admin/entities.js.map +1 -0
  239. package/dist/http/promotion/admin/index.d.ts +2 -4
  240. package/dist/http/promotion/admin/index.d.ts.map +1 -1
  241. package/dist/http/promotion/admin/index.js +2 -4
  242. package/dist/http/promotion/admin/index.js.map +1 -1
  243. package/dist/http/promotion/admin/responses.d.ts +41 -0
  244. package/dist/http/promotion/admin/responses.d.ts.map +1 -0
  245. package/dist/http/promotion/admin/responses.js +3 -0
  246. package/dist/http/promotion/admin/responses.js.map +1 -0
  247. package/dist/http/promotion/common.d.ts +51 -6
  248. package/dist/http/promotion/common.d.ts.map +1 -1
  249. package/dist/http/region/admin/entities.d.ts +6 -0
  250. package/dist/http/region/admin/entities.d.ts.map +1 -0
  251. package/dist/http/region/admin/entities.js +3 -0
  252. package/dist/http/region/admin/entities.js.map +1 -0
  253. package/dist/http/region/admin/index.d.ts +5 -0
  254. package/dist/http/region/admin/index.d.ts.map +1 -0
  255. package/dist/http/region/admin/index.js +21 -0
  256. package/dist/http/region/admin/index.js.map +1 -0
  257. package/dist/http/region/{admin.d.ts → admin/payloads.d.ts} +1 -10
  258. package/dist/http/region/admin/payloads.d.ts.map +1 -0
  259. package/dist/http/region/admin/payloads.js +3 -0
  260. package/dist/http/region/admin/payloads.js.map +1 -0
  261. package/dist/http/region/admin/queries.d.ts +6 -0
  262. package/dist/http/region/admin/queries.d.ts.map +1 -0
  263. package/dist/http/region/admin/queries.js +3 -0
  264. package/dist/http/region/admin/queries.js.map +1 -0
  265. package/dist/http/region/admin/responses.d.ts +9 -0
  266. package/dist/http/region/admin/responses.d.ts.map +1 -0
  267. package/dist/http/region/admin/responses.js +3 -0
  268. package/dist/http/region/admin/responses.js.map +1 -0
  269. package/dist/http/region/store/entities.d.ts +6 -0
  270. package/dist/http/region/store/entities.d.ts.map +1 -0
  271. package/dist/http/region/store/entities.js +3 -0
  272. package/dist/http/region/store/entities.js.map +1 -0
  273. package/dist/http/region/store/index.d.ts +4 -0
  274. package/dist/http/region/store/index.d.ts.map +1 -0
  275. package/dist/http/region/store/index.js +20 -0
  276. package/dist/http/region/store/index.js.map +1 -0
  277. package/dist/http/region/store/queries.d.ts +6 -0
  278. package/dist/http/region/store/queries.d.ts.map +1 -0
  279. package/dist/http/region/store/queries.js +3 -0
  280. package/dist/http/region/store/queries.js.map +1 -0
  281. package/dist/http/region/store/responses.d.ts +9 -0
  282. package/dist/http/region/store/responses.d.ts.map +1 -0
  283. package/dist/http/region/store/responses.js +3 -0
  284. package/dist/http/region/store/responses.js.map +1 -0
  285. package/dist/http/reservation/admin/{reservation.d.ts → entities.d.ts} +2 -10
  286. package/dist/http/reservation/admin/entities.d.ts.map +1 -0
  287. package/dist/http/reservation/admin/entities.js +3 -0
  288. package/dist/http/reservation/admin/entities.js.map +1 -0
  289. package/dist/http/reservation/admin/index.d.ts +2 -1
  290. package/dist/http/reservation/admin/index.d.ts.map +1 -1
  291. package/dist/http/reservation/admin/index.js +2 -1
  292. package/dist/http/reservation/admin/index.js.map +1 -1
  293. package/dist/http/reservation/admin/responses.d.ts +9 -0
  294. package/dist/http/reservation/admin/responses.d.ts.map +1 -0
  295. package/dist/http/reservation/admin/responses.js +3 -0
  296. package/dist/http/reservation/admin/responses.js.map +1 -0
  297. package/dist/http/return/admin/entities.d.ts +6 -0
  298. package/dist/http/return/admin/entities.d.ts.map +1 -0
  299. package/dist/http/return/admin/entities.js +3 -0
  300. package/dist/http/return/admin/entities.js.map +1 -0
  301. package/dist/http/return/admin/index.d.ts +5 -0
  302. package/dist/http/return/admin/index.d.ts.map +1 -0
  303. package/dist/http/return/admin/index.js +21 -0
  304. package/dist/http/return/admin/index.js.map +1 -0
  305. package/dist/http/return/{admin.d.ts → admin/payloads.d.ts} +1 -39
  306. package/dist/http/return/admin/payloads.d.ts.map +1 -0
  307. package/dist/http/return/admin/payloads.js +3 -0
  308. package/dist/http/return/admin/payloads.js.map +1 -0
  309. package/dist/http/return/admin/queries.d.ts +10 -0
  310. package/dist/http/return/admin/queries.d.ts.map +1 -0
  311. package/dist/http/return/admin/queries.js +3 -0
  312. package/dist/http/return/admin/queries.js.map +1 -0
  313. package/dist/http/return/admin/responses.d.ts +19 -0
  314. package/dist/http/return/admin/responses.d.ts.map +1 -0
  315. package/dist/http/return/admin/responses.js +3 -0
  316. package/dist/http/return/admin/responses.js.map +1 -0
  317. package/dist/http/return/common.d.ts +26 -0
  318. package/dist/http/return/common.d.ts.map +1 -0
  319. package/dist/http/return/common.js +3 -0
  320. package/dist/http/return/common.js.map +1 -0
  321. package/dist/http/return/index.d.ts +1 -0
  322. package/dist/http/return/index.d.ts.map +1 -1
  323. package/dist/http/return/index.js +1 -0
  324. package/dist/http/return/index.js.map +1 -1
  325. package/dist/http/return/store/entities.d.ts +4 -0
  326. package/dist/http/return/store/entities.d.ts.map +1 -0
  327. package/dist/http/return/store/entities.js +3 -0
  328. package/dist/http/return/store/entities.js.map +1 -0
  329. package/dist/http/return/store/index.d.ts +3 -0
  330. package/dist/http/return/store/index.d.ts.map +1 -0
  331. package/dist/http/return/store/index.js +19 -0
  332. package/dist/http/return/store/index.js.map +1 -0
  333. package/dist/http/return/store/responses.d.ts +5 -0
  334. package/dist/http/return/store/responses.d.ts.map +1 -0
  335. package/dist/http/return/store/responses.js +3 -0
  336. package/dist/http/return/store/responses.js.map +1 -0
  337. package/dist/http/return-reason/index.d.ts +1 -0
  338. package/dist/http/return-reason/index.d.ts.map +1 -1
  339. package/dist/http/return-reason/index.js +1 -0
  340. package/dist/http/return-reason/index.js.map +1 -1
  341. package/dist/http/return-reason/store/entities.d.ts +4 -0
  342. package/dist/http/return-reason/store/entities.d.ts.map +1 -0
  343. package/dist/http/return-reason/store/entities.js +3 -0
  344. package/dist/http/return-reason/store/entities.js.map +1 -0
  345. package/dist/http/return-reason/store/index.d.ts +3 -0
  346. package/dist/http/return-reason/store/index.d.ts.map +1 -0
  347. package/dist/http/return-reason/store/index.js +19 -0
  348. package/dist/http/return-reason/store/index.js.map +1 -0
  349. package/dist/http/return-reason/store/responses.d.ts +9 -0
  350. package/dist/http/return-reason/store/responses.d.ts.map +1 -0
  351. package/dist/http/return-reason/store/responses.js +3 -0
  352. package/dist/http/return-reason/store/responses.js.map +1 -0
  353. package/dist/http/sales-channel/admin/responses.d.ts +1 -1
  354. package/dist/http/shipping-option/admin/responses.d.ts +2 -9
  355. package/dist/http/shipping-option/admin/responses.d.ts.map +1 -1
  356. package/dist/http/shipping-option/index.d.ts +1 -0
  357. package/dist/http/shipping-option/index.d.ts.map +1 -1
  358. package/dist/http/shipping-option/index.js +1 -0
  359. package/dist/http/shipping-option/index.js.map +1 -1
  360. package/dist/http/shipping-option/store/entities.d.ts +28 -0
  361. package/dist/http/shipping-option/store/entities.d.ts.map +1 -0
  362. package/dist/http/shipping-option/store/entities.js +3 -0
  363. package/dist/http/shipping-option/store/entities.js.map +1 -0
  364. package/dist/http/shipping-option/store/index.d.ts +3 -0
  365. package/dist/http/shipping-option/store/index.d.ts.map +1 -0
  366. package/dist/http/shipping-option/store/index.js +19 -0
  367. package/dist/http/shipping-option/store/index.js.map +1 -0
  368. package/dist/http/shipping-option/store/responses.d.ts +5 -0
  369. package/dist/http/shipping-option/store/responses.d.ts.map +1 -0
  370. package/dist/http/shipping-option/store/responses.js +3 -0
  371. package/dist/http/shipping-option/store/responses.js.map +1 -0
  372. package/dist/http/workflow-execution/admin/entities.d.ts +12 -0
  373. package/dist/http/workflow-execution/admin/entities.d.ts.map +1 -0
  374. package/dist/http/workflow-execution/admin/entities.js +3 -0
  375. package/dist/http/workflow-execution/admin/entities.js.map +1 -0
  376. package/dist/http/workflow-execution/admin/index.d.ts +3 -0
  377. package/dist/http/workflow-execution/admin/index.d.ts.map +1 -0
  378. package/dist/http/workflow-execution/admin/index.js +19 -0
  379. package/dist/http/workflow-execution/admin/index.js.map +1 -0
  380. package/dist/http/workflow-execution/admin/responses.d.ts +9 -0
  381. package/dist/http/workflow-execution/admin/responses.d.ts.map +1 -0
  382. package/dist/http/workflow-execution/admin/responses.js +3 -0
  383. package/dist/http/workflow-execution/admin/responses.js.map +1 -0
  384. package/dist/http/workflow-execution/index.d.ts +2 -0
  385. package/dist/http/workflow-execution/index.d.ts.map +1 -0
  386. package/dist/http/workflow-execution/index.js +18 -0
  387. package/dist/http/workflow-execution/index.js.map +1 -0
  388. package/dist/order/common.d.ts +9 -0
  389. package/dist/order/common.d.ts.map +1 -1
  390. package/dist/order/mutations.d.ts +10 -15
  391. package/dist/order/mutations.d.ts.map +1 -1
  392. package/dist/order/service.d.ts +2 -2
  393. package/dist/order/service.d.ts.map +1 -1
  394. package/dist/payment/common.d.ts +24 -0
  395. package/dist/payment/common.d.ts.map +1 -1
  396. package/dist/payment/service.d.ts +27 -0
  397. package/dist/payment/service.d.ts.map +1 -1
  398. package/dist/workflow/order/begin-order-edit.d.ts +8 -0
  399. package/dist/workflow/order/begin-order-edit.d.ts.map +1 -0
  400. package/dist/workflow/order/begin-order-edit.js +3 -0
  401. package/dist/workflow/order/begin-order-edit.js.map +1 -0
  402. package/dist/workflow/order/index.d.ts +1 -0
  403. package/dist/workflow/order/index.d.ts.map +1 -1
  404. package/dist/workflow/order/index.js +1 -0
  405. package/dist/workflow/order/index.js.map +1 -1
  406. package/dist/workflow/order/items.d.ts +18 -4
  407. package/dist/workflow/order/items.d.ts.map +1 -1
  408. package/dist/workflow/order/shipping-method.d.ts +13 -0
  409. package/dist/workflow/order/shipping-method.d.ts.map +1 -1
  410. package/dist/workflows-sdk/service.d.ts +1 -0
  411. package/dist/workflows-sdk/service.d.ts.map +1 -1
  412. package/package.json +1 -1
  413. package/dist/http/customer/admin.d.ts +0 -23
  414. package/dist/http/customer/admin.d.ts.map +0 -1
  415. package/dist/http/customer/admin.js.map +0 -1
  416. package/dist/http/customer/store.d.ts +0 -18
  417. package/dist/http/customer/store.d.ts.map +0 -1
  418. package/dist/http/customer/store.js.map +0 -1
  419. package/dist/http/file/admin.d.ts +0 -5
  420. package/dist/http/file/admin.d.ts.map +0 -1
  421. package/dist/http/file/admin.js.map +0 -1
  422. package/dist/http/invite/admin.d.ts +0 -19
  423. package/dist/http/invite/admin.d.ts.map +0 -1
  424. package/dist/http/invite/admin.js.map +0 -1
  425. package/dist/http/order/admin.d.ts +0 -58
  426. package/dist/http/order/admin.d.ts.map +0 -1
  427. package/dist/http/order/admin.js +0 -3
  428. package/dist/http/order/admin.js.map +0 -1
  429. package/dist/http/order/store.d.ts.map +0 -1
  430. package/dist/http/order/store.js +0 -3
  431. package/dist/http/order/store.js.map +0 -1
  432. package/dist/http/payment/admin.d.ts +0 -61
  433. package/dist/http/payment/admin.d.ts.map +0 -1
  434. package/dist/http/payment/admin.js +0 -3
  435. package/dist/http/payment/admin.js.map +0 -1
  436. package/dist/http/payment/store.d.ts +0 -14
  437. package/dist/http/payment/store.d.ts.map +0 -1
  438. package/dist/http/payment/store.js +0 -3
  439. package/dist/http/payment/store.js.map +0 -1
  440. package/dist/http/promotion/admin/promotion-rule.d.ts +0 -17
  441. package/dist/http/promotion/admin/promotion-rule.d.ts.map +0 -1
  442. package/dist/http/promotion/admin/promotion-rule.js +0 -3
  443. package/dist/http/promotion/admin/promotion-rule.js.map +0 -1
  444. package/dist/http/promotion/admin/rule-attribute-options.d.ts +0 -17
  445. package/dist/http/promotion/admin/rule-attribute-options.d.ts.map +0 -1
  446. package/dist/http/promotion/admin/rule-attribute-options.js +0 -3
  447. package/dist/http/promotion/admin/rule-attribute-options.js.map +0 -1
  448. package/dist/http/promotion/admin/rule-operator-options.d.ts +0 -9
  449. package/dist/http/promotion/admin/rule-operator-options.d.ts.map +0 -1
  450. package/dist/http/promotion/admin/rule-operator-options.js +0 -3
  451. package/dist/http/promotion/admin/rule-operator-options.js.map +0 -1
  452. package/dist/http/promotion/admin/rule-value-options.d.ts +0 -15
  453. package/dist/http/promotion/admin/rule-value-options.d.ts.map +0 -1
  454. package/dist/http/promotion/admin/rule-value-options.js +0 -3
  455. package/dist/http/promotion/admin/rule-value-options.js.map +0 -1
  456. package/dist/http/region/admin.d.ts.map +0 -1
  457. package/dist/http/region/admin.js +0 -3
  458. package/dist/http/region/admin.js.map +0 -1
  459. package/dist/http/region/store.d.ts +0 -10
  460. package/dist/http/region/store.d.ts.map +0 -1
  461. package/dist/http/region/store.js +0 -3
  462. package/dist/http/region/store.js.map +0 -1
  463. package/dist/http/reservation/admin/reservation.d.ts.map +0 -1
  464. package/dist/http/reservation/admin/reservation.js +0 -3
  465. package/dist/http/reservation/admin/reservation.js.map +0 -1
  466. package/dist/http/return/admin.d.ts.map +0 -1
  467. package/dist/http/return/admin.js +0 -3
  468. package/dist/http/return/admin.js.map +0 -1
@@ -211,10 +211,18 @@ export interface PaymentDTO {
211
211
  * The payment's total amount.
212
212
  */
213
213
  amount: BigNumberValue;
214
+ /**
215
+ * The raw amount of the payment.
216
+ */
217
+ raw_amount?: BigNumberValue;
214
218
  /**
215
219
  * The authorized amount of the payment.
216
220
  */
217
221
  authorized_amount?: BigNumberValue;
222
+ /**
223
+ * The raw authorized amount of the payment.
224
+ */
225
+ raw_authorized_amount?: BigNumberValue;
218
226
  /**
219
227
  * The ISO 3 character currency code of the payment.
220
228
  */
@@ -263,10 +271,18 @@ export interface PaymentDTO {
263
271
  * The sum of the associated captures' amounts.
264
272
  */
265
273
  captured_amount?: BigNumberValue;
274
+ /**
275
+ * The sum of the associated captures' raw amounts.
276
+ */
277
+ raw_captured_amount?: BigNumberValue;
266
278
  /**
267
279
  * The sum of the associated refunds' amounts.
268
280
  */
269
281
  refunded_amount?: BigNumberValue;
282
+ /**
283
+ * The sum of the associated refunds' raw amounts.
284
+ */
285
+ raw_refunded_amount?: BigNumberValue;
270
286
  /**
271
287
  * The associated captures.
272
288
  *
@@ -279,6 +295,10 @@ export interface PaymentDTO {
279
295
  * @expandable
280
296
  */
281
297
  refunds?: RefundDTO[];
298
+ /**
299
+ * The ID of the associated payment collection.
300
+ */
301
+ payment_collection_id: string;
282
302
  /**
283
303
  * The associated payment collection.
284
304
  *
@@ -441,6 +461,10 @@ export interface PaymentSessionDTO {
441
461
  * When the payment session was authorized.
442
462
  */
443
463
  authorized_at?: Date;
464
+ /**
465
+ * The ID of the associated payment collection.
466
+ */
467
+ payment_collection_id: string;
444
468
  /**
445
469
  * The payment collection the session is associated with.
446
470
  *
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAG1C,MAAM,MAAM,uBAAuB,GAC/B,UAAU,GACV,UAAU,GACV,YAAY,GACZ,sBAAsB,GACtB,UAAU,CAAA;AAEd,MAAM,MAAM,oBAAoB,GAC5B,YAAY,GACZ,UAAU,GACV,SAAS,GACT,eAAe,G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A2B,CAAC;IACnD;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;IACxC;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;CAC1B"}
@@ -289,6 +289,33 @@ export interface IPaymentModuleService extends IModuleService {
289
289
  * )
290
290
  */
291
291
  deletePaymentCollections(paymentCollectionId: string, sharedContext?: Context): Promise<void>;
292
+ /**
293
+ * This method soft deletes payment collections by their IDs.
294
+ *
295
+ * @param {string[]} id - The IDs of payment collections.
296
+ * @param {SoftDeleteReturn<TReturnableLinkableKeys>} config - An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
297
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
298
+ * @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were also soft deleted.
299
+ * If there are no related records, the promise resolves to `void`.
300
+ *
301
+ * @example
302
+ * await paymentModule.softDeletePaymentCollections(["paycol_123"])
303
+ */
304
+ softDeletePaymentCollections<TReturnableLinkableKeys extends string = string>(id: string[], config?: SoftDeleteReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
305
+ /**
306
+ * This method restores soft deleted payment collection by their IDs.
307
+ *
308
+ * @param {string[]} id - The IDs of payment collections.
309
+ * @param {RestoreReturn<TReturnableLinkableKeys>} config - Configurations determining which relations to restore along with each of the payment collection. You can pass to its `returnLinkableKeys`
310
+ * property any of the payment collection's relation attribute names.
311
+ * @param {Context} sharedContext - A context used to share resources, such as transaction manager, between the application and the module.
312
+ * @returns {Promise<void | Record<TReturnableLinkableKeys, string[]>>} An object that includes the IDs of related records that were restored.
313
+ * If there are no related records restored, the promise resolves to `void`.
314
+ *
315
+ * @example
316
+ * await paymentModule.restorePaymentCollections(["paycol_123"])
317
+ */
318
+ restorePaymentCollections<TReturnableLinkableKeys extends string = string>(id: string[], config?: RestoreReturn<TReturnableLinkableKeys>, sharedContext?: Context): Promise<Record<TReturnableLinkableKeys, string[]> | void>;
292
319
  /**
293
320
  * This method marks a payment collection as completed by settings its `completed_at` field to the current date and time.
294
321
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/payment/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,UAAU,EACV,sBAAsB,EACtB,gCAAgC,EAChC,sBAAsB,EACtB,8BAA8B,EAC9B,6BAA6B,EAC7B,qBAAqB,EACrB,2BAA2B,EAC3B,oBAAoB,EACpB,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,SAAS,EACT,eAAe,EAChB,MAAM,UAAU,CAAA;AACjB,OAAO,EACL,gBAAgB,EAChB,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC3B,MAAM,aAAa,CAAA;AAEpB;;GAEG;AACH,MAAM,WAAW,qBAAsB,SAAQ,cAAc;IAG3D;;;;;;;;;;;;;;;;;;;;;OAqBG;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orkflowInput {
2
+ order_id: string;
3
+ created_by?: string;
4
+ internal_note?: string;
5
+ description?: string;
6
+ metadata?: Record<string, unknown> | null;
7
+ }
8
+ //# sourceMappingURL=begin-order-edit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"begin-order-edit.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/begin-order-edit.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=begin-order-edit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"begin-order-edit.js","sourceRoot":"","sources":["../../../src/workflow/order/begin-order-edit.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  export * from "./begin-claim-order";
2
2
  export * from "./begin-exchange-order";
3
+ export * from "./begin-order-edit";
3
4
  export * from "./begin-return-order";
4
5
  export * from "./cancel-claim";
5
6
  export * from "./cancel-exchange";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA"}
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./begin-claim-order"), exports);
18
18
  __exportStar(require("./begin-exchange-order"), exports);
19
+ __exportStar(require("./begin-order-edit"), exports);
19
20
  __exportStar(require("./begin-return-order"), exports);
20
21
  __exportStar(require("./cancel-claim"), exports);
21
22
  __exportStar(require("./cancel-exchange"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,yDAAsC;AACtC,uDAAoC;AACpC,iDAA8B;AAC9B,oDAAiC;AACjC,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,uDAAoC;AACpC,wDAAqC;AACrC,oDAAiC;AACjC,0CAAuB;AACvB,mDAAgC;AAChC,wDAAqC;AACrC,oDAAiC;AACjC,kDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/order/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAmC;AACnC,yDAAsC;AACtC,qDAAkC;AAClC,uDAAoC;AACpC,iDAA8B;AAC9B,oDAAiC;AACjC,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,uDAAoC;AACpC,wDAAqC;AACrC,oDAAiC;AACjC,0CAAuB;AACvB,mDAAgC;AAChC,wDAAqC;AACrC,oDAAiC;AACjC,kDAA+B"}
@@ -4,13 +4,13 @@ interface NewItem {
4
4
  variant_id: string;
5
5
  quantity: BigNumberInput;
6
6
  unit_price?: BigNumberInput;
7
- internal_note?: string;
7
+ internal_note?: string | null;
8
8
  metadata?: Record<string, any> | null;
9
9
  }
10
10
  interface ExistingItem {
11
11
  id: string;
12
12
  quantity: BigNumberInput;
13
- internal_note?: string;
13
+ internal_note?: string | null;
14
14
  }
15
15
  export interface OrderExchangeAddNewItemWorkflowInput {
16
16
  exchange_id: string;
@@ -28,6 +28,10 @@ export interface OrderEditAddNewItemWorkflowInput {
28
28
  order_id: string;
29
29
  items: NewItem[];
30
30
  }
31
+ export interface OrderEditUpdateItemQuantityWorkflowInput {
32
+ order_id: string;
33
+ items: ExistingItem[];
34
+ }
31
35
  export interface OrderAddLineItemWorkflowInput {
32
36
  order_id: string;
33
37
  items: NewItem[];
@@ -40,6 +44,16 @@ export interface UpdateExchangeAddNewItemWorkflowInput {
40
44
  internal_note?: string | null;
41
45
  };
42
46
  }
47
+ export interface UpdateOrderEditAddNewItemWorkflowInput {
48
+ order_id: string;
49
+ action_id: string;
50
+ data: {
51
+ quantity?: BigNumberInput;
52
+ internal_note?: string | null;
53
+ };
54
+ }
55
+ export interface UpdateOrderEditItemQuantityWorkflowInput extends UpdateOrderEditAddNewItemWorkflowInput {
56
+ }
43
57
  export interface UpdateClaimAddNewItemWorkflowInput {
44
58
  claim_id: string;
45
59
  action_id: string;
@@ -91,8 +105,8 @@ export interface DeleteOrderClaimItemActionWorkflowInput {
91
105
  claim_id: string;
92
106
  action_id: string;
93
107
  }
94
- export interface DeleteOrderExchangeItemActionWorkflowInput {
95
- exchange_id: string;
108
+ export interface DeleteOrderEditItemActionWorkflowInput {
109
+ order_id: string;
96
110
  action_id: string;
97
111
  }
98
112
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,OAAO;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,MAAM,WAAW,oCAAoC;IACnD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC;IACnD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,6BAA6B;IAC5C,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A;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,8BAA8B;IAC7C,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,YAAY,EAAE,CAAA;CACtB;AAED,MAAM,WAAW,kCAAkC;IACjD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,QAAQ,CAAC,EAAE,cAAc,CAAA;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,CAAC,YAAY,GAAG;QAAE,MAAM,CAAC,EAAE,WAAW,CAAA;KAAE,CAAC,EAAE,CAAA;CACnD;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,QAAQ,CAAC,EAAE,cAAc,CAAA;QACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,0CAA0C;IACzD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,uCAAuC;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
@@ -34,8 +34,21 @@ export interface UpdateExchangeShippingMethodWorkflowInput {
34
34
  metadata?: Record<string, any> | null;
35
35
  };
36
36
  }
37
+ export interface UpdateOrderEditShippingMethodWorkflowInput {
38
+ order_id: string;
39
+ action_id: string;
40
+ data: {
41
+ custom_price?: BigNumberInput;
42
+ internal_note?: string | null;
43
+ metadata?: Record<string, any> | null;
44
+ };
45
+ }
37
46
  export interface DeleteExchangeShippingMethodWorkflowInput {
38
47
  exchange_id: string;
39
48
  action_id: string;
40
49
  }
50
+ export interface DeleteOrderEditShippingMethodWorkflowInput {
51
+ order_id: string;
52
+ action_id: string;
53
+ }
41
54
  //# sourceMappingURL=shipping-method.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-method.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,yCAAyC;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ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,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,0CAA0C;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE;QACJ,YAAY,CAAC,EAAE,cAAc,CAAA;QAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;KACtC,CAAA;CACF;AAED,MAAM,WAAW,yCAAyC;IACxD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,0CAA0C;IACzD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
@@ -7,6 +7,7 @@ type FlowRunOptions<TData = unknown> = {
7
7
  context?: Context;
8
8
  resultFrom?: string | string[] | Symbol;
9
9
  throwOnError?: boolean;
10
+ logOnError?: boolean;
10
11
  events?: Record<string, Function>;
11
12
  };
12
13
  export interface WorkflowOrchestratorRunDTO<T = unknown> extends FlowRunOptions<T> {
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EACL,gCAAgC,EAChC,oBAAoB,EACrB,MAAM,UAAU,CAAA;AAEjB,KAAK,cAAc,CAA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,GAAG,mBAAmB,CAAA;QAC5C,YAAY,EAAE,OAAO,CAAA;QACrB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;KAC9B,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;IAED,SAAS,CACP,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,UAAU,EAAE,QAAQ,CAAA;QACpB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,WAAW,CACT,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAA;KAClC,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240812125058",
3
+ "version": "1.12.0-snapshot-20240821132459",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,23 +0,0 @@
1
- import { BaseCreateCustomer, BaseCreateCustomerAddress, BaseCustomer, BaseCustomerAddress, BaseCustomerAddressFilters, BaseCustomerFilters, BaseCustomerGroup, BaseUpdateCustomer, BaseUpdateCustomerAddress, CustomerGroupInCustomerFilters } from "./common";
2
- export interface AdminCustomerGroup extends BaseCustomerGroup {
3
- }
4
- export interface AdminCustomer extends BaseCustomer {
5
- has_account: boolean;
6
- groups?: AdminCustomerGroup[];
7
- }
8
- export interface AdminCustomerAddress extends BaseCustomerAddress {
9
- }
10
- export interface AdminCustomerFilters extends BaseCustomerFilters {
11
- groups: CustomerGroupInCustomerFilters | string[] | string;
12
- }
13
- export interface AdminCustomerAddressFilters extends BaseCustomerAddressFilters {
14
- }
15
- export interface AdminCreateCustomer extends BaseCreateCustomer {
16
- }
17
- export interface AdminUpdateCustomer extends BaseUpdateCustomer {
18
- }
19
- export interface AdminCreateCustomerAddress extends BaseCreateCustomerAddress {
20
- }
21
- export interface AdminUpdateCustomerAddress extends BaseUpdateCustomerAddress {
22
- }
23
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/customer/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,yBAAyB,EACzB,8BAA8B,EAC/B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,aAAc,SAAQ,YAAY;IACjD,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,CAAC,EAAE,kBAAkB,EAAE,CAAA;CAC9B;AACD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,MAAM,EAAE,8BAA8B,GAAG,MAAM,EAAE,GAAG,MAAM,CAAA;CAC3D;AACD,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AAEvC,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/customer/admin.ts"],"names":[],"mappings":""}
@@ -1,18 +0,0 @@
1
- import { BaseCreateCustomer, BaseCreateCustomerAddress, BaseCustomer, BaseCustomerAddress, BaseCustomerAddressFilters, BaseCustomerFilters, BaseUpdateCustomer, BaseUpdateCustomerAddress } from "./common";
2
- export interface StoreCustomer extends BaseCustomer {
3
- }
4
- export interface StoreCustomerAddress extends BaseCustomerAddress {
5
- }
6
- export interface StoreCustomerFilters extends BaseCustomerFilters {
7
- }
8
- export interface StoreCustomerAddressFilters extends BaseCustomerAddressFilters {
9
- }
10
- export interface StoreCreateCustomer extends BaseCreateCustomer {
11
- }
12
- export interface StoreUpdateCustomer extends BaseUpdateCustomer {
13
- }
14
- export interface StoreCreateCustomerAddress extends BaseCreateCustomerAddress {
15
- }
16
- export interface StoreUpdateCustomerAddress extends BaseUpdateCustomerAddress {
17
- }
18
- //# sourceMappingURL=store.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/customer/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,0BAA0B,EAC1B,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EAC1B,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,aAAc,SAAQ,YAAY;CAAG;AACtD,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;CAAG;AACpE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;CAAG;AAEvC,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAClE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAChF,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/customer/store.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { BaseFile, BaseUploadFile } from "./common";
2
- export interface AdminFile extends BaseFile {
3
- }
4
- export type AdminUploadFile = BaseUploadFile;
5
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/file/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEnD,MAAM,WAAW,SAAU,SAAQ,QAAQ;CAAG;AAE9C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/file/admin.ts"],"names":[],"mappings":""}
@@ -1,19 +0,0 @@
1
- export type AdminAcceptInvite = {
2
- first_name: string;
3
- last_name: string;
4
- };
5
- export type AdminCreateInvite = {
6
- email: string;
7
- metadata?: Record<string, unknown>;
8
- };
9
- export type AdminInviteResponse = {
10
- id: string;
11
- email: string;
12
- accepted: boolean;
13
- token: string;
14
- expires_at?: Date;
15
- metadata?: Record<string, unknown>;
16
- created_at?: Date;
17
- updated_at?: Date;
18
- };
19
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/invite/admin.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,CAAC,EAAE,IAAI,CAAA;IACjB,UAAU,CAAC,EAAE,IAAI,CAAA;CAClB,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/invite/admin.ts"],"names":[],"mappings":""}
@@ -1,58 +0,0 @@
1
- import { AdminPaymentCollection } from "../payment/admin";
2
- import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFilters, BaseOrderLineItem, BaseOrderShippingMethod } from "./common";
3
- export interface AdminOrder extends BaseOrder {
4
- payment_collections: AdminPaymentCollection[];
5
- }
6
- export interface AdminOrderLineItem extends BaseOrderLineItem {
7
- }
8
- export interface AdminOrderFilters extends BaseOrderFilters {
9
- }
10
- export interface AdminOrderAddress extends BaseOrderAddress {
11
- }
12
- export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
13
- }
14
- export interface AdminOrderResponse {
15
- order: AdminOrder;
16
- }
17
- export interface AdminOrdersResponse {
18
- orders: AdminOrder[];
19
- }
20
- export interface AdminCreateOrderFulfillment {
21
- items: {
22
- id: string;
23
- quantity: number;
24
- }[];
25
- location_id?: string;
26
- no_notification?: boolean;
27
- metadata?: Record<string, any>;
28
- }
29
- export interface AdminCreateOrderShipment {
30
- items: {
31
- id: string;
32
- quantity: number;
33
- }[];
34
- labels?: {
35
- tracking_number: string;
36
- tracking_url: string;
37
- label_url: string;
38
- }[];
39
- no_notification?: boolean;
40
- metadata?: Record<string, any>;
41
- }
42
- export interface AdminCancelOrderFulfillment {
43
- no_notification?: boolean;
44
- }
45
- export interface AdminOrderPreview extends Omit<AdminOrder, "items" | "shipping_methods"> {
46
- return_requested_total: number;
47
- order_change: BaseOrderChange;
48
- items: (BaseOrderLineItem & {
49
- actions?: BaseOrderChangeAction[];
50
- })[];
51
- shipping_methods: (BaseOrderShippingMethod & {
52
- actions?: BaseOrderChangeAction[];
53
- })[];
54
- }
55
- export interface AdminOrderPreviewResponse {
56
- order: AdminOrderPreview;
57
- }
58
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,UAAU,CAAA;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,UAAU,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACzC,MAAM,CAAC,EAAE;QACP,eAAe,EAAE,MAAM,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,MAAM,CAAA;KAClB,EAAE,CAAA;IACH,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAED,MAAM,WAAW,2BAA2B;IAC1C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAID,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,kBAAkB,CAAC;IACtD,sBAAsB,EAAE,MAAM,CAAA;IAC9B,YAAY,EAAE,eAAe,CAAA;IAC7B,KAAK,EAAE,CAAC,iBAAiB,GAAG;QAAE,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,EAAE,CAAA;IACpE,gBAAgB,EAAE,CAAC,uBAAuB,GAAG;QAC3C,OAAO,CAAC,EAAE,qBAAqB,EAAE,CAAA;KAClC,CAAC,EAAE,CAAA;CACL;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,iBAAiB,CAAA;CACzB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=admin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/order/admin.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,UAAW,SAAQ,SAAS;CAAG;AAChD,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAE5E,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=store.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/http/order/store.ts"],"names":[],"mappings":""}
@@ -1,61 +0,0 @@
1
- import { BaseFilterable } from "../../dal";
2
- import { BasePayment, BasePaymentCollection, BasePaymentCollectionFilters, BasePaymentFilters, BasePaymentProvider, BasePaymentProviderFilters, BasePaymentSession, BasePaymentSessionFilters, BaseRefund, RefundReason } from "./common";
3
- export interface AdminPaymentProvider extends BasePaymentProvider {
4
- is_enabled: boolean;
5
- }
6
- export interface AdminPayment extends BasePayment {
7
- }
8
- export interface AdminPaymentCollection extends BasePaymentCollection {
9
- }
10
- export interface AdminPaymentSession extends BasePaymentSession {
11
- }
12
- export interface AdminPaymentProviderFilters extends BasePaymentProviderFilters {
13
- is_enabled?: boolean;
14
- }
15
- export interface AdminPaymentCollectionFilters extends BasePaymentCollectionFilters {
16
- }
17
- export interface AdminPaymentSessionFilters extends BasePaymentSessionFilters {
18
- }
19
- export interface AdminCapturePayment {
20
- amount?: number;
21
- }
22
- export interface AdminRefundPayment {
23
- amount?: number;
24
- refund_reason_id?: string | null;
25
- note?: string | null;
26
- }
27
- export interface AdminPaymentResponse {
28
- payment: AdminPayment;
29
- }
30
- export interface AdminPaymentsResponse {
31
- payments: AdminPayment[];
32
- }
33
- export interface AdminPaymentFilters extends BasePaymentFilters {
34
- }
35
- export interface AdminRefund extends BaseRefund {
36
- }
37
- export interface RefundFilters extends BaseFilterable<AdminRefund> {
38
- id?: string | string[];
39
- }
40
- export interface AdminRefundResponse {
41
- refund_reason: AdminRefund;
42
- }
43
- export interface AdminRefundsResponse {
44
- refund_reasons: AdminRefund[];
45
- }
46
- export interface AdminRefundReason extends RefundReason {
47
- }
48
- export interface RefundReasonFilters extends BaseFilterable<AdminRefundReason> {
49
- id?: string | string[];
50
- }
51
- export interface RefundReasonResponse {
52
- refund_reason: AdminRefundReason;
53
- }
54
- export interface RefundReasonsResponse {
55
- refund_reasons: AdminRefundReason[];
56
- }
57
- export interface AdminCreateRefundReason {
58
- label: string;
59
- description?: string;
60
- }
61
- //# sourceMappingURL=admin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.d.ts","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;AAC1C,OAAO,EACL,WAAW,EACX,qBAAqB,EACrB,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,0BAA0B,EAC1B,kBAAkB,EAClB,yBAAyB,EACzB,UAAU,EACV,YAAY,EACb,MAAM,UAAU,CAAA;AAEjB,MAAM,WAAW,oBAAqB,SAAQ,mBAAmB;IAC/D,UAAU,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,YAAa,SAAQ,WAAW;CAAG;AACpD,MAAM,WAAW,sBAAuB,SAAQ,qBAAqB;CAAG;AACxE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAElE,MAAM,WAAW,2BACf,SAAQ,0BAA0B;IAClC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AACD,MAAM,WAAW,6BACf,SAAQ,4BAA4B;CAAG;AACzC,MAAM,WAAW,0BAA2B,SAAQ,yBAAyB;CAAG;AAEhF,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACrB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,YAAY,CAAA;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,YAAY,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;CAAG;AAIlE,MAAM,WAAW,WAAY,SAAQ,UAAU;CAAG;AAClD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,WAAW,CAAC;IAChE,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,WAAW,CAAA;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,WAAW,EAAE,CAAA;CAC9B;AAID,MAAM,WAAW,iBAAkB,SAAQ,YAAY;CAAG;AAC1D,MAAM,WAAW,mBAAoB,SAAQ,cAAc,CAAC,iBAAiB,CAAC;IAC5E,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC;AAED,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=admin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"admin.js","sourceRoot":"","sources":["../../../src/http/payment/admin.ts"],"names":[],"mappings":""}