@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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,4CAAyB;AACzB,8CAA2B"}
@@ -0,0 +1,68 @@
1
+ declare enum ExchangeReason {
2
+ MISSING_ITEM = "missing_item",
3
+ WRONG_ITEM = "wrong_item",
4
+ PRODUCTION_FAILURE = "production_failure",
5
+ OTHER = "other"
6
+ }
7
+ interface AdminExchangeAddItems {
8
+ items: {
9
+ id: string;
10
+ quantity: number;
11
+ reason?: ExchangeReason;
12
+ description?: string;
13
+ internal_note?: string;
14
+ }[];
15
+ }
16
+ interface AdminExchangeUpdateItem {
17
+ quantity?: number;
18
+ reason_id?: string | null;
19
+ description?: string;
20
+ internal_note?: string | null;
21
+ }
22
+ interface AdminExchangeAddShippingMethod {
23
+ shipping_option_id: string;
24
+ custom_price?: number;
25
+ description?: string;
26
+ internal_note?: string;
27
+ metadata?: Record<string, unknown> | null;
28
+ }
29
+ interface AdminExchangeUpdateShippingMethod {
30
+ custom_price?: number | null;
31
+ internal_note?: string;
32
+ metadata?: Record<string, unknown> | null;
33
+ }
34
+ export interface AdminCreateExchange {
35
+ type: "refund" | "replace";
36
+ order_id: string;
37
+ description?: string;
38
+ internal_note?: string;
39
+ metadata?: Record<string, unknown> | null;
40
+ }
41
+ export interface AdminAddExchangeItems extends AdminExchangeAddItems {
42
+ }
43
+ export interface AdminUpdateExchangeItem extends AdminExchangeUpdateItem {
44
+ }
45
+ export interface AdminAddExchangeInboundItems extends AdminExchangeAddItems {
46
+ }
47
+ export interface AdminUpdateExchangeInboundItem extends AdminExchangeUpdateItem {
48
+ }
49
+ export interface AdminAddExchangeOutboundItems extends AdminExchangeAddItems {
50
+ }
51
+ export interface AdminUpdateExchangeOutboundItem extends AdminExchangeUpdateItem {
52
+ }
53
+ export interface AdminExchangeAddInboundShipping extends AdminExchangeAddShippingMethod {
54
+ }
55
+ export interface AdminExchangeUpdateInboundShipping extends AdminExchangeUpdateShippingMethod {
56
+ }
57
+ export interface AdminExchangeAddOutboundShipping extends AdminExchangeAddShippingMethod {
58
+ }
59
+ export interface AdminExchangeUpdateOutboundShipping extends AdminExchangeUpdateShippingMethod {
60
+ }
61
+ export interface AdminRequestExchange {
62
+ no_notification?: boolean;
63
+ }
64
+ export interface AdminCancelExchange {
65
+ no_notification?: boolean;
66
+ }
67
+ export {};
68
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/payloads.ts"],"names":[],"mappings":"AAAA,aAAK,cAAc;IACjB,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,kBAAkB,uBAAuB;IACzC,KAAK,UAAU;CAChB;AAED,UAAU,qBAAqB;IAC7B,KAAK,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAA;QAChB,MAAM,CAAC,EAAE,cAAc,CAAA;QACvB,WAAW,CAAC,EAAE,MAAM,CAAA;QACpB,aAAa,CAAC,EAAE,MAAM,CAAA;KACvB,EAAE,CAAA;CACJ;AAED,UAAU,uBAAuB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED,UAAU,8BAA8B;IACtC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,UAAU,iCAAiC;IACzC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC1B,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C;AAED,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;CAAG;AACvE,MAAM,WAAW,uBAAwB,SAAQ,uBAAuB;CAAG;AAE3E,MAAM,WAAW,4BAA6B,SAAQ,qBAAqB;CAAG;AAC9E,MAAM,WAAW,8BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,6BAA8B,SAAQ,qBAAqB;CAAG;AAC/E,MAAM,WAAW,+BACf,SAAQ,uBAAuB;CAAG;AAEpC,MAAM,WAAW,+BACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,kCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,gCACf,SAAQ,8BAA8B;CAAG;AAC3C,MAAM,WAAW,mCACf,SAAQ,iCAAiC;CAAG;AAE9C,MAAM,WAAW,oBAAoB;IACnC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,mBAAmB;IAClC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var ExchangeReason;
4
+ (function (ExchangeReason) {
5
+ ExchangeReason["MISSING_ITEM"] = "missing_item";
6
+ ExchangeReason["WRONG_ITEM"] = "wrong_item";
7
+ ExchangeReason["PRODUCTION_FAILURE"] = "production_failure";
8
+ ExchangeReason["OTHER"] = "other";
9
+ })(ExchangeReason || (ExchangeReason = {}));
10
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/payloads.ts"],"names":[],"mappings":";;AAAA,IAAK,cAKJ;AALD,WAAK,cAAc;IACjB,+CAA6B,CAAA;IAC7B,2CAAyB,CAAA;IACzB,2DAAyC,CAAA;IACzC,iCAAe,CAAA;AACjB,CAAC,EALI,cAAc,KAAd,cAAc,QAKlB"}
@@ -0,0 +1,14 @@
1
+ import { BaseFilterable, OperatorMap } from "../../../dal";
2
+ import { SelectParams } from "../../common";
3
+ import { BaseExchangeListParams } from "../common";
4
+ export interface AdminExchangeListParams extends BaseExchangeListParams, BaseFilterable<AdminExchangeListParams> {
5
+ deleted_at?: OperatorMap<string>;
6
+ }
7
+ export interface AdminExchangeParams extends SelectParams {
8
+ id?: string | string[];
9
+ status?: string | string[];
10
+ created_at?: OperatorMap<string>;
11
+ updated_at?: OperatorMap<string>;
12
+ deleted_at?: OperatorMap<string>;
13
+ }
14
+ //# sourceMappingURL=queries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/queries.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,WAAW,CAAA;AAElD,MAAM,WAAW,uBACf,SAAQ,sBAAsB,EAC5B,cAAc,CAAC,uBAAuB,CAAC;IACzC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC;AAED,MAAM,WAAW,mBAAoB,SAAQ,YAAY;IACvD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=queries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/queries.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import { OrderDTO, OrderPreviewDTO } from "../../../order";
2
+ import { DeleteResponse, PaginatedResponse } from "../../common";
3
+ import { AdminReturn } from "../../return";
4
+ import { AdminExchange } from "./entities";
5
+ export interface AdminExchangeResponse {
6
+ exchange: AdminExchange;
7
+ }
8
+ export type AdminExchangeListResponse = PaginatedResponse<{
9
+ exchanges: AdminExchange[];
10
+ }>;
11
+ export interface AdminExchangeOrderResponse {
12
+ order: OrderDTO;
13
+ exchange: AdminExchange;
14
+ }
15
+ export interface AdminExchangePreviewResponse {
16
+ order_preview: OrderPreviewDTO;
17
+ exchange: AdminExchange;
18
+ }
19
+ export interface AdminExchangeRequestResponse extends AdminExchangePreviewResponse {
20
+ return: AdminReturn;
21
+ }
22
+ export interface AdminExchangeReturnResponse {
23
+ order_preview: OrderPreviewDTO;
24
+ return: AdminReturn;
25
+ }
26
+ export interface AdminExchangeDeleteResponse extends DeleteResponse<"exchange"> {
27
+ }
28
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/exchange/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE1C,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,MAAM,yBAAyB,GAAG,iBAAiB,CAAC;IACxD,SAAS,EAAE,aAAa,EAAE,CAAA;CAC3B,CAAC,CAAA;AAEF,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,QAAQ,CAAA;IACf,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BAA4B;IAC3C,aAAa,EAAE,eAAe,CAAA;IAC9B,QAAQ,EAAE,aAAa,CAAA;CACxB;AAED,MAAM,WAAW,4BACf,SAAQ,4BAA4B;IACpC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,2BAA2B;IAC1C,aAAa,EAAE,eAAe,CAAA;IAC9B,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,WAAW,2BACf,SAAQ,cAAc,CAAC,UAAU,CAAC;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/exchange/admin/responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,33 @@
1
+ import { OperatorMap } from "../../dal";
2
+ import { FindParams } from "../common";
3
+ import { BaseOrder } from "../order/common";
4
+ import { AdminReturn, AdminReturnItem } from "../return";
5
+ export interface BaseExchangeItem {
6
+ id: string;
7
+ exchange_id: string;
8
+ order_id: string;
9
+ item_id: string;
10
+ quantity: number;
11
+ metadata?: Record<string, unknown>;
12
+ created_at: string | null;
13
+ updated_at: string | null;
14
+ }
15
+ export interface BaseExchange extends Omit<BaseOrder, "status" | "version" | "items"> {
16
+ order_id: string;
17
+ return_items: AdminReturnItem[];
18
+ additional_items: BaseExchangeItem[];
19
+ no_notification?: boolean;
20
+ difference_due?: number;
21
+ return?: AdminReturn;
22
+ return_id?: string;
23
+ }
24
+ export interface BaseExchangeListParams extends FindParams {
25
+ q?: string;
26
+ id?: string | string[];
27
+ order_id?: string | string[];
28
+ status?: string | string[];
29
+ created_at?: OperatorMap<string>;
30
+ updated_at?: OperatorMap<string>;
31
+ deleted_at?: OperatorMap<string>;
32
+ }
33
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/exchange/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAExD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B;AAED,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,eAAe,EAAE,CAAA;IAC/B,gBAAgB,EAAE,gBAAgB,EAAE,CAAA;IACpC,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,sBAAuB,SAAQ,UAAU;IACxD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACtB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=admin.js.map
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/exchange/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./admin";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/exchange/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./admin"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/exchange/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
@@ -0,0 +1,4 @@
1
+ import { BaseFile } from "../common";
2
+ export interface AdminFile extends BaseFile {
3
+ }
4
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAEpC,MAAM,WAAW,SAAU,SAAQ,QAAQ;CAAG"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/file/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./responses";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./responses"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/file/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B"}
@@ -0,0 +1,3 @@
1
+ import { BaseUploadFile } from "../common";
2
+ export type AdminUploadFile = BaseUploadFile;
3
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/payloads.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,cAAc,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/file/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { AdminFile } from "./entities";
2
+ export interface AdminFileResponse {
3
+ file: AdminFile;
4
+ }
5
+ export interface AdminFileListResponse {
6
+ files: AdminFile[];
7
+ }
8
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/file/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,EAAE,CAAA;CACnB"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/file/admin/responses.ts"],"names":[],"mappings":""}
@@ -1,5 +1,4 @@
1
- export interface AdminFulfillmentProvider {
2
- id: string;
3
- is_enabled: boolean;
1
+ import { BaseFulfillmentProvider } from "../common";
2
+ export interface AdminFulfillmentProvider extends BaseFulfillmentProvider {
4
3
  }
5
4
  //# sourceMappingURL=entities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,OAAO,CAAA;CACpB"}
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/fulfillment-provider/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEpD,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG"}
@@ -0,0 +1,5 @@
1
+ export interface BaseFulfillmentProvider {
2
+ id: string;
3
+ is_enabled: boolean;
4
+ }
5
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/fulfillment-provider/common.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,OAAO,CAAA;CACpB"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=admin.js.map
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/fulfillment-provider/common.ts"],"names":[],"mappings":""}
@@ -6,6 +6,7 @@ export * from "./collection";
6
6
  export * from "./common";
7
7
  export * from "./currency";
8
8
  export * from "./customer";
9
+ export * from "./exchange";
9
10
  export * from "./file";
10
11
  export * from "./fulfillment";
11
12
  export * from "./fulfillment-provider";
@@ -15,6 +16,7 @@ export * from "./inventory-level";
15
16
  export * from "./invite";
16
17
  export * from "./notification";
17
18
  export * from "./order";
19
+ export * from "./order-edit";
18
20
  export * from "./payment";
19
21
  export * from "./price-list";
20
22
  export * from "./pricing";
@@ -35,4 +37,5 @@ export * from "./store";
35
37
  export * from "./tax-rate";
36
38
  export * from "./tax-region";
37
39
  export * from "./user";
40
+ export * from "./workflow-execution";
38
41
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA;AAC5B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,QAAQ,CAAA;AACtB,cAAc,sBAAsB,CAAA"}
@@ -22,6 +22,7 @@ __exportStar(require("./collection"), exports);
22
22
  __exportStar(require("./common"), exports);
23
23
  __exportStar(require("./currency"), exports);
24
24
  __exportStar(require("./customer"), exports);
25
+ __exportStar(require("./exchange"), exports);
25
26
  __exportStar(require("./file"), exports);
26
27
  __exportStar(require("./fulfillment"), exports);
27
28
  __exportStar(require("./fulfillment-provider"), exports);
@@ -31,6 +32,7 @@ __exportStar(require("./inventory-level"), exports);
31
32
  __exportStar(require("./invite"), exports);
32
33
  __exportStar(require("./notification"), exports);
33
34
  __exportStar(require("./order"), exports);
35
+ __exportStar(require("./order-edit"), exports);
34
36
  __exportStar(require("./payment"), exports);
35
37
  __exportStar(require("./price-list"), exports);
36
38
  __exportStar(require("./pricing"), exports);
@@ -51,4 +53,5 @@ __exportStar(require("./store"), exports);
51
53
  __exportStar(require("./tax-rate"), exports);
52
54
  __exportStar(require("./tax-region"), exports);
53
55
  __exportStar(require("./user"), exports);
56
+ __exportStar(require("./workflow-execution"), exports);
54
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/http/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,6CAA0B;AAC1B,yCAAsB;AACtB,0CAAuB;AACvB,+CAA4B;AAC5B,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,6CAA0B;AAC1B,yCAAsB;AACtB,gDAA6B;AAC7B,yDAAsC;AACtC,oDAAiC;AACjC,8CAA2B;AAC3B,oDAAiC;AACjC,2CAAwB;AACxB,iDAA8B;AAC9B,0CAAuB;AACvB,+CAA4B;AAC5B,4CAAyB;AACzB,+CAA4B;AAC5B,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,gDAA6B;AAC7B,iDAA8B;AAC9B,8CAA2B;AAC3B,2CAAwB;AACxB,gDAA6B;AAC7B,2CAAwB;AACxB,kDAA+B;AAC/B,kDAA+B;AAC/B,oDAAiC;AACjC,qDAAkC;AAClC,oDAAiC;AACjC,0CAAuB;AACvB,6CAA0B;AAC1B,+CAA4B;AAC5B,yCAAsB;AACtB,uDAAoC"}
@@ -0,0 +1,11 @@
1
+ export interface AdminInvite {
2
+ id: string;
3
+ email: string;
4
+ accepted: boolean;
5
+ token: string;
6
+ expires_at?: Date;
7
+ metadata?: Record<string, unknown>;
8
+ created_at?: Date;
9
+ updated_at?: Date;
10
+ }
11
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from "./entities";
2
+ export * from "./payloads";
3
+ export * from "./responses";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./payloads"), exports);
19
+ __exportStar(require("./responses"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA0B;AAC1B,6CAA0B;AAC1B,8CAA2B"}
@@ -0,0 +1,9 @@
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
+ //# sourceMappingURL=payloads.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/payloads.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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=payloads.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/payloads.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import { PaginatedResponse } from "../../common";
2
+ import { AdminUser } from "../../user";
3
+ import { AdminInvite } from "./entities";
4
+ export interface AdminInviteResponse {
5
+ invite: AdminInvite;
6
+ }
7
+ export type AdminInviteListResponse = PaginatedResponse<{
8
+ invites: AdminInvite[];
9
+ }>;
10
+ export type AdminAcceptInviteResponse = {
11
+ user: AdminUser;
12
+ } | {
13
+ message: string;
14
+ };
15
+ //# sourceMappingURL=responses.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,WAAW,CAAA;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;IACtD,OAAO,EAAE,WAAW,EAAE,CAAA;CACvB,CAAC,CAAA;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,SAAS,CAAA;CAChB,GAAG;IACF,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=responses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/invite/admin/responses.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { AdminPaymentCollection } from "../../payment/admin";
2
+ import { BaseOrder, BaseOrderAddress, BaseOrderChange, BaseOrderChangeAction, BaseOrderFulfillment, BaseOrderLineItem, BaseOrderShippingMethod } from "../common";
3
+ export interface AdminOrder extends BaseOrder {
4
+ payment_collections: AdminPaymentCollection[];
5
+ fulfillments?: BaseOrderFulfillment[];
6
+ }
7
+ export interface AdminOrderFulfillment extends BaseOrderFulfillment {
8
+ }
9
+ export interface AdminOrderLineItem extends BaseOrderLineItem {
10
+ }
11
+ export interface AdminOrderAddress extends BaseOrderAddress {
12
+ }
13
+ export interface AdminOrderShippingMethod extends BaseOrderShippingMethod {
14
+ }
15
+ export interface AdminOrderPreview extends Omit<AdminOrder, "items" | "shipping_methods"> {
16
+ return_requested_total: number;
17
+ order_change: BaseOrderChange;
18
+ items: (BaseOrderLineItem & {
19
+ actions?: BaseOrderChangeAction[];
20
+ })[];
21
+ shipping_methods: (BaseOrderShippingMethod & {
22
+ actions?: BaseOrderChangeAction[];
23
+ })[];
24
+ }
25
+ //# sourceMappingURL=entities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACxB,MAAM,WAAW,CAAA;AAElB,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,mBAAmB,EAAE,sBAAsB,EAAE,CAAA;IAC7C,YAAY,CAAC,EAAE,oBAAoB,EAAE,CAAA;CACtC;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;CAAG;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,iBAAiB;CAAG;AAChE,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;CAAG;AAC9D,MAAM,WAAW,wBAAyB,SAAQ,uBAAuB;CAAG;AAC5E,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"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=entities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/order/admin/entities.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export * from "./entities";
2
+ export * from "./payload";
3
+ export * from "./queries";
4
+ export * from "./responses";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/order/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA"}