@medusajs/order 0.1.3-snapshot-20240718073308 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) hide show
  1. package/dist/index.d.ts +8 -6
  2. package/dist/index.js +26 -4
  3. package/dist/index.js.map +1 -1
  4. package/dist/joiner-config.d.ts +5 -0
  5. package/dist/joiner-config.js +36 -0
  6. package/dist/joiner-config.js.map +1 -0
  7. package/dist/migrations/Migration20240219102530.d.ts +0 -1
  8. package/dist/migrations/Migration20240219102530.js +4 -38
  9. package/dist/migrations/Migration20240219102530.js.map +1 -1
  10. package/dist/models/address.d.ts +1 -2
  11. package/dist/models/adjustment-line.d.ts +1 -3
  12. package/dist/models/adjustment-line.js +0 -5
  13. package/dist/models/adjustment-line.js.map +1 -1
  14. package/dist/models/index.d.ts +0 -9
  15. package/dist/models/index.js +1 -17
  16. package/dist/models/index.js.map +1 -1
  17. package/dist/models/line-item-adjustment.d.ts +1 -3
  18. package/dist/models/line-item-adjustment.js +3 -3
  19. package/dist/models/line-item-adjustment.js.map +1 -1
  20. package/dist/models/line-item-tax-line.d.ts +1 -3
  21. package/dist/models/line-item-tax-line.js +3 -3
  22. package/dist/models/line-item-tax-line.js.map +1 -1
  23. package/dist/models/line-item.d.ts +1 -3
  24. package/dist/models/line-item.js +4 -18
  25. package/dist/models/line-item.js.map +1 -1
  26. package/dist/models/order-change-action.d.ts +4 -15
  27. package/dist/models/order-change-action.js +7 -102
  28. package/dist/models/order-change-action.js.map +1 -1
  29. package/dist/models/order-change.d.ts +5 -17
  30. package/dist/models/order-change.js +4 -109
  31. package/dist/models/order-change.js.map +1 -1
  32. package/dist/models/order-item.d.ts +4 -5
  33. package/dist/models/order-item.js +13 -13
  34. package/dist/models/order-item.js.map +1 -1
  35. package/dist/models/order-shipping-method.d.ts +4 -14
  36. package/dist/models/order-shipping-method.js +13 -89
  37. package/dist/models/order-shipping-method.js.map +1 -1
  38. package/dist/models/order-summary.d.ts +2 -6
  39. package/dist/models/order-summary.js +6 -9
  40. package/dist/models/order-summary.js.map +1 -1
  41. package/dist/models/order.d.ts +4 -6
  42. package/dist/models/order.js +1 -11
  43. package/dist/models/order.js.map +1 -1
  44. package/dist/models/shipping-method-adjustment.d.ts +1 -3
  45. package/dist/models/shipping-method-adjustment.js +3 -3
  46. package/dist/models/shipping-method-adjustment.js.map +1 -1
  47. package/dist/models/shipping-method-tax-line.d.ts +1 -3
  48. package/dist/models/shipping-method-tax-line.js +3 -3
  49. package/dist/models/shipping-method-tax-line.js.map +1 -1
  50. package/dist/models/shipping-method.d.ts +0 -2
  51. package/dist/models/shipping-method.js +4 -17
  52. package/dist/models/shipping-method.js.map +1 -1
  53. package/dist/models/tax-line.d.ts +0 -2
  54. package/dist/models/tax-line.js +0 -7
  55. package/dist/models/tax-line.js.map +1 -1
  56. package/dist/models/transaction.d.ts +3 -15
  57. package/dist/models/transaction.js +4 -109
  58. package/dist/models/transaction.js.map +1 -1
  59. package/dist/module-definition.d.ts +2 -0
  60. package/dist/module-definition.js +59 -0
  61. package/dist/module-definition.js.map +1 -0
  62. package/dist/repositories/index.d.ts +1 -4
  63. package/dist/repositories/index.js +16 -7
  64. package/dist/repositories/index.js.map +1 -1
  65. package/dist/repositories/order.d.ts +3 -1
  66. package/dist/repositories/order.js +85 -2
  67. package/dist/repositories/order.js.map +1 -1
  68. package/dist/scripts/bin/run-seed.d.ts +3 -0
  69. package/dist/scripts/bin/run-seed.js +49 -0
  70. package/dist/scripts/bin/run-seed.js.map +1 -0
  71. package/dist/services/index.d.ts +1 -1
  72. package/dist/services/index.js +3 -1
  73. package/dist/services/index.js.map +1 -1
  74. package/dist/services/order-change-service.d.ts +15 -0
  75. package/dist/services/order-change-service.js +96 -0
  76. package/dist/services/order-change-service.js.map +1 -0
  77. package/dist/services/order-module-service.d.ts +67 -138
  78. package/dist/services/order-module-service.js +240 -990
  79. package/dist/services/order-module-service.js.map +1 -1
  80. package/dist/services/order-service.d.ts +4 -5
  81. package/dist/services/order-service.js +1 -1
  82. package/dist/services/order-service.js.map +1 -1
  83. package/dist/types/address.d.ts +0 -1
  84. package/dist/types/index.d.ts +1 -3
  85. package/dist/types/index.js +0 -1
  86. package/dist/types/index.js.map +1 -1
  87. package/dist/types/line-item-adjustment.d.ts +0 -1
  88. package/dist/types/line-item-tax-line.d.ts +0 -1
  89. package/dist/types/line-item.d.ts +0 -1
  90. package/dist/types/order-detail.d.ts +1 -2
  91. package/dist/types/order.d.ts +2 -3
  92. package/dist/types/shipping-method-adjustment.d.ts +0 -1
  93. package/dist/types/shipping-method-tax-line.d.ts +0 -1
  94. package/dist/types/shipping-method.d.ts +0 -4
  95. package/dist/types/tax-line.d.ts +0 -1
  96. package/dist/types/transaction.d.ts +0 -1
  97. package/dist/types/utils/index.d.ts +11 -43
  98. package/dist/types/utils/index.js.map +1 -1
  99. package/dist/utils/action-key.d.ts +13 -0
  100. package/dist/utils/action-key.js +18 -0
  101. package/dist/utils/action-key.js.map +1 -0
  102. package/dist/utils/actions/cancel-return.d.ts +0 -1
  103. package/dist/utils/actions/cancel-return.js +6 -7
  104. package/dist/utils/actions/cancel-return.js.map +1 -1
  105. package/dist/utils/actions/cancel.d.ts +0 -1
  106. package/dist/utils/actions/cancel.js +2 -2
  107. package/dist/utils/actions/cancel.js.map +1 -1
  108. package/dist/utils/actions/fulfill-item.d.ts +0 -1
  109. package/dist/utils/actions/fulfill-item.js +6 -7
  110. package/dist/utils/actions/fulfill-item.js.map +1 -1
  111. package/dist/utils/actions/index.d.ts +0 -4
  112. package/dist/utils/actions/index.js +0 -3
  113. package/dist/utils/actions/index.js.map +1 -1
  114. package/dist/utils/actions/item-add.d.ts +0 -1
  115. package/dist/utils/actions/item-add.js +14 -17
  116. package/dist/utils/actions/item-add.js.map +1 -1
  117. package/dist/utils/actions/item-remove.d.ts +0 -1
  118. package/dist/utils/actions/item-remove.js +10 -11
  119. package/dist/utils/actions/item-remove.js.map +1 -1
  120. package/dist/utils/actions/receive-damaged-return-item.d.ts +0 -1
  121. package/dist/utils/actions/receive-damaged-return-item.js +7 -8
  122. package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
  123. package/dist/utils/actions/receive-return-item.d.ts +0 -1
  124. package/dist/utils/actions/receive-return-item.js +7 -8
  125. package/dist/utils/actions/receive-return-item.js.map +1 -1
  126. package/dist/utils/actions/return-item.d.ts +0 -1
  127. package/dist/utils/actions/return-item.js +8 -9
  128. package/dist/utils/actions/return-item.js.map +1 -1
  129. package/dist/utils/actions/ship-item.d.ts +0 -1
  130. package/dist/utils/actions/ship-item.js +6 -7
  131. package/dist/utils/actions/ship-item.js.map +1 -1
  132. package/dist/utils/actions/shipping-add.d.ts +0 -1
  133. package/dist/utils/actions/shipping-add.js +7 -16
  134. package/dist/utils/actions/shipping-add.js.map +1 -1
  135. package/dist/utils/actions/write-off-item.d.ts +0 -1
  136. package/dist/utils/actions/write-off-item.js +6 -7
  137. package/dist/utils/actions/write-off-item.js.map +1 -1
  138. package/dist/utils/calculate-order-change.d.ts +2 -11
  139. package/dist/utils/calculate-order-change.js +70 -68
  140. package/dist/utils/calculate-order-change.js.map +1 -1
  141. package/dist/utils/index.d.ts +1 -4
  142. package/dist/utils/index.js +1 -3
  143. package/dist/utils/index.js.map +1 -1
  144. package/dist/utils/transform-order.d.ts +2 -4
  145. package/dist/utils/transform-order.js +17 -131
  146. package/dist/utils/transform-order.js.map +1 -1
  147. package/package.json +14 -8
  148. package/dist/index.d.ts.map +0 -1
  149. package/dist/migrations/Migration20240219102530.d.ts.map +0 -1
  150. package/dist/migrations/Migration20240604100512.d.ts +0 -5
  151. package/dist/migrations/Migration20240604100512.d.ts.map +0 -1
  152. package/dist/migrations/Migration20240604100512.js +0 -364
  153. package/dist/migrations/Migration20240604100512.js.map +0 -1
  154. package/dist/migrations/Migration20240715102100.d.ts +0 -5
  155. package/dist/migrations/Migration20240715102100.d.ts.map +0 -1
  156. package/dist/migrations/Migration20240715102100.js +0 -15
  157. package/dist/migrations/Migration20240715102100.js.map +0 -1
  158. package/dist/migrations/Migration20240715174100.d.ts +0 -5
  159. package/dist/migrations/Migration20240715174100.d.ts.map +0 -1
  160. package/dist/migrations/Migration20240715174100.js +0 -21
  161. package/dist/migrations/Migration20240715174100.js.map +0 -1
  162. package/dist/migrations/Migration20240716081800.d.ts +0 -5
  163. package/dist/migrations/Migration20240716081800.d.ts.map +0 -1
  164. package/dist/migrations/Migration20240716081800.js +0 -67
  165. package/dist/migrations/Migration20240716081800.js.map +0 -1
  166. package/dist/models/address.d.ts.map +0 -1
  167. package/dist/models/adjustment-line.d.ts.map +0 -1
  168. package/dist/models/claim-item-image.d.ts +0 -19
  169. package/dist/models/claim-item-image.d.ts.map +0 -1
  170. package/dist/models/claim-item-image.js +0 -109
  171. package/dist/models/claim-item-image.js.map +0 -1
  172. package/dist/models/claim-item.d.ts +0 -29
  173. package/dist/models/claim-item.d.ts.map +0 -1
  174. package/dist/models/claim-item.js +0 -156
  175. package/dist/models/claim-item.js.map +0 -1
  176. package/dist/models/claim.d.ts +0 -36
  177. package/dist/models/claim.d.ts.map +0 -1
  178. package/dist/models/claim.js +0 -195
  179. package/dist/models/claim.js.map +0 -1
  180. package/dist/models/exchange-item.d.ts +0 -24
  181. package/dist/models/exchange-item.d.ts.map +0 -1
  182. package/dist/models/exchange-item.js +0 -138
  183. package/dist/models/exchange-item.js.map +0 -1
  184. package/dist/models/exchange.d.ts +0 -34
  185. package/dist/models/exchange.d.ts.map +0 -1
  186. package/dist/models/exchange.js +0 -188
  187. package/dist/models/exchange.js.map +0 -1
  188. package/dist/models/index.d.ts.map +0 -1
  189. package/dist/models/line-item-adjustment.d.ts.map +0 -1
  190. package/dist/models/line-item-tax-line.d.ts.map +0 -1
  191. package/dist/models/line-item.d.ts.map +0 -1
  192. package/dist/models/order-change-action.d.ts.map +0 -1
  193. package/dist/models/order-change.d.ts.map +0 -1
  194. package/dist/models/order-item.d.ts.map +0 -1
  195. package/dist/models/order-shipping-method.d.ts.map +0 -1
  196. package/dist/models/order-summary.d.ts.map +0 -1
  197. package/dist/models/order.d.ts.map +0 -1
  198. package/dist/models/return-item.d.ts +0 -29
  199. package/dist/models/return-item.d.ts.map +0 -1
  200. package/dist/models/return-item.js +0 -170
  201. package/dist/models/return-item.js.map +0 -1
  202. package/dist/models/return-reason.d.ts +0 -21
  203. package/dist/models/return-reason.d.ts.map +0 -1
  204. package/dist/models/return-reason.js +0 -120
  205. package/dist/models/return-reason.js.map +0 -1
  206. package/dist/models/return.d.ts +0 -39
  207. package/dist/models/return.d.ts.map +0 -1
  208. package/dist/models/return.js +0 -216
  209. package/dist/models/return.js.map +0 -1
  210. package/dist/models/shipping-method-adjustment.d.ts.map +0 -1
  211. package/dist/models/shipping-method-tax-line.d.ts.map +0 -1
  212. package/dist/models/shipping-method.d.ts.map +0 -1
  213. package/dist/models/tax-line.d.ts.map +0 -1
  214. package/dist/models/transaction.d.ts.map +0 -1
  215. package/dist/repositories/claim.d.ts +0 -9
  216. package/dist/repositories/claim.d.ts.map +0 -1
  217. package/dist/repositories/claim.js +0 -11
  218. package/dist/repositories/claim.js.map +0 -1
  219. package/dist/repositories/exchange.d.ts +0 -9
  220. package/dist/repositories/exchange.d.ts.map +0 -1
  221. package/dist/repositories/exchange.js +0 -11
  222. package/dist/repositories/exchange.js.map +0 -1
  223. package/dist/repositories/index.d.ts.map +0 -1
  224. package/dist/repositories/order.d.ts.map +0 -1
  225. package/dist/repositories/return.d.ts +0 -9
  226. package/dist/repositories/return.d.ts.map +0 -1
  227. package/dist/repositories/return.js +0 -11
  228. package/dist/repositories/return.js.map +0 -1
  229. package/dist/services/actions/cancel-claim.d.ts +0 -3
  230. package/dist/services/actions/cancel-claim.d.ts.map +0 -1
  231. package/dist/services/actions/cancel-claim.js +0 -107
  232. package/dist/services/actions/cancel-claim.js.map +0 -1
  233. package/dist/services/actions/cancel-exchange.d.ts +0 -3
  234. package/dist/services/actions/cancel-exchange.d.ts.map +0 -1
  235. package/dist/services/actions/cancel-exchange.js +0 -92
  236. package/dist/services/actions/cancel-exchange.js.map +0 -1
  237. package/dist/services/actions/cancel-fulfillment.d.ts +0 -3
  238. package/dist/services/actions/cancel-fulfillment.d.ts.map +0 -1
  239. package/dist/services/actions/cancel-fulfillment.js +0 -32
  240. package/dist/services/actions/cancel-fulfillment.js.map +0 -1
  241. package/dist/services/actions/cancel-return.d.ts +0 -3
  242. package/dist/services/actions/cancel-return.d.ts.map +0 -1
  243. package/dist/services/actions/cancel-return.js +0 -72
  244. package/dist/services/actions/cancel-return.js.map +0 -1
  245. package/dist/services/actions/create-claim.d.ts +0 -3
  246. package/dist/services/actions/create-claim.d.ts.map +0 -1
  247. package/dist/services/actions/create-claim.js +0 -228
  248. package/dist/services/actions/create-claim.js.map +0 -1
  249. package/dist/services/actions/create-exchange.d.ts +0 -3
  250. package/dist/services/actions/create-exchange.d.ts.map +0 -1
  251. package/dist/services/actions/create-exchange.js +0 -193
  252. package/dist/services/actions/create-exchange.js.map +0 -1
  253. package/dist/services/actions/create-return.d.ts +0 -3
  254. package/dist/services/actions/create-return.d.ts.map +0 -1
  255. package/dist/services/actions/create-return.js +0 -102
  256. package/dist/services/actions/create-return.js.map +0 -1
  257. package/dist/services/actions/index.d.ts +0 -11
  258. package/dist/services/actions/index.d.ts.map +0 -1
  259. package/dist/services/actions/index.js +0 -27
  260. package/dist/services/actions/index.js.map +0 -1
  261. package/dist/services/actions/receive-return.d.ts +0 -3
  262. package/dist/services/actions/receive-return.d.ts.map +0 -1
  263. package/dist/services/actions/receive-return.js +0 -73
  264. package/dist/services/actions/receive-return.js.map +0 -1
  265. package/dist/services/actions/register-fulfillment.d.ts +0 -3
  266. package/dist/services/actions/register-fulfillment.d.ts.map +0 -1
  267. package/dist/services/actions/register-fulfillment.js +0 -30
  268. package/dist/services/actions/register-fulfillment.js.map +0 -1
  269. package/dist/services/actions/register-shipment.d.ts +0 -3
  270. package/dist/services/actions/register-shipment.d.ts.map +0 -1
  271. package/dist/services/actions/register-shipment.js +0 -38
  272. package/dist/services/actions/register-shipment.js.map +0 -1
  273. package/dist/services/index.d.ts.map +0 -1
  274. package/dist/services/order-module-service.d.ts.map +0 -1
  275. package/dist/services/order-service.d.ts.map +0 -1
  276. package/dist/types/address.d.ts.map +0 -1
  277. package/dist/types/index.d.ts.map +0 -1
  278. package/dist/types/line-item-adjustment.d.ts.map +0 -1
  279. package/dist/types/line-item-tax-line.d.ts.map +0 -1
  280. package/dist/types/line-item.d.ts.map +0 -1
  281. package/dist/types/order-change.d.ts +0 -6
  282. package/dist/types/order-change.d.ts.map +0 -1
  283. package/dist/types/order-change.js +0 -3
  284. package/dist/types/order-change.js.map +0 -1
  285. package/dist/types/order-detail.d.ts.map +0 -1
  286. package/dist/types/order.d.ts.map +0 -1
  287. package/dist/types/shipping-method-adjustment.d.ts.map +0 -1
  288. package/dist/types/shipping-method-tax-line.d.ts.map +0 -1
  289. package/dist/types/shipping-method.d.ts.map +0 -1
  290. package/dist/types/tax-line.d.ts.map +0 -1
  291. package/dist/types/transaction.d.ts.map +0 -1
  292. package/dist/types/utils/index.d.ts.map +0 -1
  293. package/dist/utils/actions/cancel-item-fulfillment.d.ts +0 -2
  294. package/dist/utils/actions/cancel-item-fulfillment.d.ts.map +0 -1
  295. package/dist/utils/actions/cancel-item-fulfillment.js +0 -39
  296. package/dist/utils/actions/cancel-item-fulfillment.js.map +0 -1
  297. package/dist/utils/actions/cancel-return.d.ts.map +0 -1
  298. package/dist/utils/actions/cancel.d.ts.map +0 -1
  299. package/dist/utils/actions/fulfill-item.d.ts.map +0 -1
  300. package/dist/utils/actions/index.d.ts.map +0 -1
  301. package/dist/utils/actions/item-add.d.ts.map +0 -1
  302. package/dist/utils/actions/item-remove.d.ts.map +0 -1
  303. package/dist/utils/actions/receive-damaged-return-item.d.ts.map +0 -1
  304. package/dist/utils/actions/receive-return-item.d.ts.map +0 -1
  305. package/dist/utils/actions/reinstate-item.d.ts +0 -2
  306. package/dist/utils/actions/reinstate-item.d.ts.map +0 -1
  307. package/dist/utils/actions/reinstate-item.js +0 -37
  308. package/dist/utils/actions/reinstate-item.js.map +0 -1
  309. package/dist/utils/actions/return-item.d.ts.map +0 -1
  310. package/dist/utils/actions/ship-item.d.ts.map +0 -1
  311. package/dist/utils/actions/shipping-add.d.ts.map +0 -1
  312. package/dist/utils/actions/shipping-remove.d.ts +0 -2
  313. package/dist/utils/actions/shipping-remove.d.ts.map +0 -1
  314. package/dist/utils/actions/shipping-remove.js +0 -41
  315. package/dist/utils/actions/shipping-remove.js.map +0 -1
  316. package/dist/utils/actions/write-off-item.d.ts.map +0 -1
  317. package/dist/utils/apply-order-changes.d.ts +0 -18
  318. package/dist/utils/apply-order-changes.d.ts.map +0 -1
  319. package/dist/utils/apply-order-changes.js +0 -95
  320. package/dist/utils/apply-order-changes.js.map +0 -1
  321. package/dist/utils/base-repository-find.d.ts +0 -3
  322. package/dist/utils/base-repository-find.d.ts.map +0 -1
  323. package/dist/utils/base-repository-find.js +0 -142
  324. package/dist/utils/base-repository-find.js.map +0 -1
  325. package/dist/utils/calculate-order-change.d.ts.map +0 -1
  326. package/dist/utils/index.d.ts.map +0 -1
  327. package/dist/utils/set-action-reference.d.ts +0 -3
  328. package/dist/utils/set-action-reference.d.ts.map +0 -1
  329. package/dist/utils/set-action-reference.js +0 -17
  330. package/dist/utils/set-action-reference.js.map +0 -1
  331. package/dist/utils/transform-order.d.ts.map +0 -1
@@ -1,138 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const utils_1 = require("@medusajs/utils");
16
- const core_1 = require("@mikro-orm/core");
17
- const exchange_1 = __importDefault(require("./exchange"));
18
- const line_item_1 = __importDefault(require("./line-item"));
19
- const ExchangeIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
20
- tableName: "order_exchange_item",
21
- columns: "exchange_id",
22
- where: "deleted_at IS NOT NULL",
23
- });
24
- const ItemIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
25
- tableName: "order_exchange_item",
26
- columns: "item_id",
27
- where: "deleted_at IS NOT NULL",
28
- });
29
- const DeletedAtIndex = (0, utils_1.createPsqlIndexStatementHelper)({
30
- tableName: "order_claim_item_image",
31
- columns: "deleted_at",
32
- where: "deleted_at IS NOT NULL",
33
- });
34
- let OrderExchangeItem = class OrderExchangeItem {
35
- constructor() {
36
- this.metadata = null;
37
- this.deleted_at = null;
38
- }
39
- onCreate() {
40
- this.id = (0, utils_1.generateEntityId)(this.id, "oexcitem");
41
- this.exchange_id = this.exchange?.id;
42
- }
43
- onInit() {
44
- this.id = (0, utils_1.generateEntityId)(this.id, "oexcitem");
45
- this.exchange_id = this.exchange?.id;
46
- }
47
- };
48
- __decorate([
49
- (0, core_1.PrimaryKey)({ columnType: "text" }),
50
- __metadata("design:type", String)
51
- ], OrderExchangeItem.prototype, "id", void 0);
52
- __decorate([
53
- (0, utils_1.MikroOrmBigNumberProperty)(),
54
- __metadata("design:type", Number)
55
- ], OrderExchangeItem.prototype, "quantity", void 0);
56
- __decorate([
57
- (0, core_1.Property)({ columnType: "jsonb" }),
58
- __metadata("design:type", Object)
59
- ], OrderExchangeItem.prototype, "raw_quantity", void 0);
60
- __decorate([
61
- (0, core_1.ManyToOne)(() => exchange_1.default, {
62
- columnType: "text",
63
- fieldName: "exchange_id",
64
- mapToPk: true,
65
- onDelete: "cascade",
66
- }),
67
- ExchangeIdIndex.MikroORMIndex(),
68
- __metadata("design:type", String)
69
- ], OrderExchangeItem.prototype, "exchange_id", void 0);
70
- __decorate([
71
- (0, core_1.ManyToOne)(() => exchange_1.default, {
72
- persist: false,
73
- }),
74
- __metadata("design:type", exchange_1.default)
75
- ], OrderExchangeItem.prototype, "exchange", void 0);
76
- __decorate([
77
- (0, core_1.ManyToOne)({
78
- entity: () => line_item_1.default,
79
- fieldName: "item_id",
80
- mapToPk: true,
81
- columnType: "text",
82
- }),
83
- ItemIdIndex.MikroORMIndex(),
84
- __metadata("design:type", String)
85
- ], OrderExchangeItem.prototype, "item_id", void 0);
86
- __decorate([
87
- (0, core_1.ManyToOne)(() => line_item_1.default, {
88
- persist: false,
89
- }),
90
- __metadata("design:type", line_item_1.default)
91
- ], OrderExchangeItem.prototype, "item", void 0);
92
- __decorate([
93
- (0, core_1.Property)({ columnType: "text", nullable: true }),
94
- __metadata("design:type", String)
95
- ], OrderExchangeItem.prototype, "note", void 0);
96
- __decorate([
97
- (0, core_1.Property)({ columnType: "jsonb", nullable: true }),
98
- __metadata("design:type", Object)
99
- ], OrderExchangeItem.prototype, "metadata", void 0);
100
- __decorate([
101
- (0, core_1.Property)({
102
- onCreate: () => new Date(),
103
- columnType: "timestamptz",
104
- defaultRaw: "now()",
105
- }),
106
- __metadata("design:type", Date)
107
- ], OrderExchangeItem.prototype, "created_at", void 0);
108
- __decorate([
109
- (0, core_1.Property)({
110
- onCreate: () => new Date(),
111
- onUpdate: () => new Date(),
112
- columnType: "timestamptz",
113
- defaultRaw: "now()",
114
- }),
115
- __metadata("design:type", Date)
116
- ], OrderExchangeItem.prototype, "updated_at", void 0);
117
- __decorate([
118
- (0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
119
- DeletedAtIndex.MikroORMIndex(),
120
- __metadata("design:type", Object)
121
- ], OrderExchangeItem.prototype, "deleted_at", void 0);
122
- __decorate([
123
- (0, core_1.BeforeCreate)(),
124
- __metadata("design:type", Function),
125
- __metadata("design:paramtypes", []),
126
- __metadata("design:returntype", void 0)
127
- ], OrderExchangeItem.prototype, "onCreate", null);
128
- __decorate([
129
- (0, core_1.OnInit)(),
130
- __metadata("design:type", Function),
131
- __metadata("design:paramtypes", []),
132
- __metadata("design:returntype", void 0)
133
- ], OrderExchangeItem.prototype, "onInit", null);
134
- OrderExchangeItem = __decorate([
135
- (0, core_1.Entity)({ tableName: "order_exchange_item" })
136
- ], OrderExchangeItem);
137
- exports.default = OrderExchangeItem;
138
- //# sourceMappingURL=exchange-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exchange-item.js","sourceRoot":"","sources":["../../src/models/exchange-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAQwB;AACxB,0DAAiC;AACjC,4DAAkC;AAIlC,MAAM,eAAe,GAAG,IAAA,sCAA8B,EAAC;IACrD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,qBAAqB;IAChC,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAA,sCAA8B,EAAC;IACpD,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAGa,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAAvB;QA4Cb,aAAQ,GAAmC,IAAI,CAAA;QAmB/C,eAAU,GAAgB,IAAI,CAAA;IAahC,CAAC;IAVC,QAAQ;QACN,IAAI,CAAC,EAAE,GAAG,IAAA,wBAAgB,EAAC,IAAI,CAAC,EAAE,EAAE,UAAU,CAAC,CAAA;QAC/C,IAAI,CAAC,WAAW,GA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E,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACH;AAO/C;IALC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;qDAAA;AAQhB;IANC,IAAA,eAAQ,EAAC;QACR,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,QAAQ,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE;QAC1B,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,OAAO;KACpB,CAAC;8BACU,IAAI;qDAAA;AAIhB;IAFC,IAAA,eAAQ,EAAC,EAAE,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvD,cAAc,CAAC,aAAa,EAAE;;qDACD;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;iDAId;AAGD;IADC,IAAA,aAAM,GAAE;;;;+CAIR;AA3EkB,iBAAiB;IADrC,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,qBAAqB,EAAE,CAAC;GACxB,iBAAiB,CA4ErC;kBA5EoB,iBAAiB"}
@@ -1,34 +0,0 @@
1
- import { BigNumberRawValue, DAL } from "@medusajs/types";
2
- import { BigNumber } from "@medusajs/utils";
3
- import { Collection, OptionalProps, Rel } from "@mikro-orm/core";
4
- import { ExchangeItem, Transaction } from ".";
5
- import Order from "./order";
6
- import OrderShippingMethod from "./order-shipping-method";
7
- import Return from "./return";
8
- type OptionalOrderExchangeProps = DAL.ModelDateColumns;
9
- export default class OrderExchange {
10
- [OptionalProps]?: OptionalOrderExchangeProps;
11
- id: string;
12
- order_id: string;
13
- order: Rel<Order>;
14
- return: Rel<Return>;
15
- return_id: string | null;
16
- order_version: number;
17
- display_id: number;
18
- no_notification: boolean | null;
19
- difference_due: BigNumber | number;
20
- raw_difference_due: BigNumberRawValue;
21
- allow_backorder: boolean;
22
- additional_items: Collection<ExchangeItem, object>;
23
- shipping_methods: Collection<OrderShippingMethod, object>;
24
- transactions: Collection<Transaction, object>;
25
- metadata: Record<string, unknown> | null;
26
- created_at: Date;
27
- updated_at: Date;
28
- deleted_at: Date | null;
29
- canceled_at: Date | null;
30
- onCreate(): void;
31
- onInit(): void;
32
- }
33
- export {};
34
- //# sourceMappingURL=exchange.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exchange.d.ts","sourceRoot":"","sources":["../../src/models/exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,SAAS,EAIV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAGL,UAAU,EAMV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,mBAAmB,MAAM,yBAAyB,CAAA;AACzD,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,KAAK,0BAA0B,GAAG,GAAG,CAAC,gBAAgB,CAAA;AA2BtD,MAAM,CAAC,OAAO,OAAO,aAAa;IAChC,CAAC,aAAa,CAAC,CAAC,EAAE,0BAA0B,CAAA;IAG5C,EAAE,EAAE,MAAM,CAAA;IASV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IASjB,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAInB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAK/B,aAAa,EAAE,MAAM,CAAA;IAIrB,UAAU,EAAE,MAAM,CAAA;IAGlB,eAAe,EAAE,OAAO,GAAG,IAAI,CAAO;IAKtC,cAAc,EAAE,SAAS,GAAG,MAAM,CAAA;IAGlC,kBAAkB,EAAE,iBAAiB,CAAA;IAGrC,eAAe,EAAE,OAAO,CAAQ;IAKhC,gBAAgB,mCAA0C;IAS1D,gBAAgB,0CAAiD;IAKjE,YAAY,kCAAoC;IAGhD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAO/C,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,WAAW,EAAE,IAAI,GAAG,IAAI,CAAO;IAG/B,QAAQ;IAKR,MAAM;CAGP"}
@@ -1,188 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const utils_1 = require("@medusajs/utils");
16
- const core_1 = require("@mikro-orm/core");
17
- const _models_1 = require(".");
18
- const order_1 = __importDefault(require("./order"));
19
- const order_shipping_method_1 = __importDefault(require("./order-shipping-method"));
20
- const return_1 = __importDefault(require("./return"));
21
- const DisplayIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
22
- tableName: "order_exchange",
23
- columns: "display_id",
24
- where: "deleted_at IS NOT NULL",
25
- });
26
- const OrderExchangeDeletedAtIndex = (0, utils_1.createPsqlIndexStatementHelper)({
27
- tableName: "order_exchange",
28
- columns: "deleted_at",
29
- where: "deleted_at IS NOT NULL",
30
- });
31
- const OrderIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
32
- tableName: "order_exchange",
33
- columns: ["order_id"],
34
- where: "deleted_at IS NOT NULL",
35
- });
36
- const ReturnIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
37
- tableName: "order_exchange",
38
- columns: "return_id",
39
- where: "return_id IS NOT NULL AND deleted_at IS NOT NULL",
40
- });
41
- let OrderExchange = class OrderExchange {
42
- constructor() {
43
- this.return_id = null;
44
- this.no_notification = null;
45
- this.allow_backorder = false;
46
- this.additional_items = new core_1.Collection(this);
47
- this.shipping_methods = new core_1.Collection(this);
48
- this.transactions = new core_1.Collection(this);
49
- this.metadata = null;
50
- this.deleted_at = null;
51
- this.canceled_at = null;
52
- }
53
- onCreate() {
54
- this.id = (0, utils_1.generateEntityId)(this.id, "oexc");
55
- }
56
- onInit() {
57
- this.id = (0, utils_1.generateEntityId)(this.id, "oexc");
58
- }
59
- };
60
- __decorate([
61
- (0, core_1.PrimaryKey)({ columnType: "text" }),
62
- __metadata("design:type", String)
63
- ], OrderExchange.prototype, "id", void 0);
64
- __decorate([
65
- (0, core_1.ManyToOne)({
66
- entity: () => order_1.default,
67
- mapToPk: true,
68
- fieldName: "order_id",
69
- columnType: "text",
70
- }),
71
- OrderIdIndex.MikroORMIndex(),
72
- __metadata("design:type", String)
73
- ], OrderExchange.prototype, "order_id", void 0);
74
- __decorate([
75
- (0, core_1.ManyToOne)(() => order_1.default, {
76
- persist: false,
77
- }),
78
- __metadata("design:type", Object)
79
- ], OrderExchange.prototype, "order", void 0);
80
- __decorate([
81
- (0, core_1.OneToOne)({
82
- entity: () => return_1.default,
83
- mappedBy: (ret) => ret.exchange,
84
- fieldName: "return_id",
85
- nullable: true,
86
- owner: true,
87
- }),
88
- __metadata("design:type", Object)
89
- ], OrderExchange.prototype, "return", void 0);
90
- __decorate([
91
- (0, core_1.Property)({ columnType: "text", nullable: true }),
92
- ReturnIdIndex.MikroORMIndex(),
93
- __metadata("design:type", Object)
94
- ], OrderExchange.prototype, "return_id", void 0);
95
- __decorate([
96
- (0, core_1.Property)({
97
- columnType: "integer",
98
- }),
99
- __metadata("design:type", Number)
100
- ], OrderExchange.prototype, "order_version", void 0);
101
- __decorate([
102
- (0, core_1.Property)({ autoincrement: true, primary: false }),
103
- DisplayIdIndex.MikroORMIndex(),
104
- __metadata("design:type", Number)
105
- ], OrderExchange.prototype, "display_id", void 0);
106
- __decorate([
107
- (0, core_1.Property)({ columnType: "boolean", nullable: true }),
108
- __metadata("design:type", Object)
109
- ], OrderExchange.prototype, "no_notification", void 0);
110
- __decorate([
111
- (0, utils_1.MikroOrmBigNumberProperty)({
112
- nullable: true,
113
- }),
114
- __metadata("design:type", Object)
115
- ], OrderExchange.prototype, "difference_due", void 0);
116
- __decorate([
117
- (0, core_1.Property)({ columnType: "jsonb", nullable: true }),
118
- __metadata("design:type", Object)
119
- ], OrderExchange.prototype, "raw_difference_due", void 0);
120
- __decorate([
121
- (0, core_1.Property)({ columnType: "boolean", default: false }),
122
- __metadata("design:type", Boolean)
123
- ], OrderExchange.prototype, "allow_backorder", void 0);
124
- __decorate([
125
- (0, core_1.OneToMany)(() => _models_1.ExchangeItem, (item) => item.exchange, {
126
- cascade: [core_1.Cascade.PERSIST],
127
- }),
128
- __metadata("design:type", Object)
129
- ], OrderExchange.prototype, "additional_items", void 0);
130
- __decorate([
131
- (0, core_1.OneToMany)(() => order_shipping_method_1.default, (shippingMethod) => shippingMethod.exchange, {
132
- cascade: [core_1.Cascade.PERSIST],
133
- }),
134
- __metadata("design:type", Object)
135
- ], OrderExchange.prototype, "shipping_methods", void 0);
136
- __decorate([
137
- (0, core_1.OneToMany)(() => _models_1.Transaction, (transaction) => transaction.exchange, {
138
- cascade: [core_1.Cascade.PERSIST],
139
- }),
140
- __metadata("design:type", Object)
141
- ], OrderExchange.prototype, "transactions", void 0);
142
- __decorate([
143
- (0, core_1.Property)({ columnType: "jsonb", nullable: true }),
144
- __metadata("design:type", Object)
145
- ], OrderExchange.prototype, "metadata", void 0);
146
- __decorate([
147
- (0, core_1.Property)({
148
- onCreate: () => new Date(),
149
- columnType: "timestamptz",
150
- defaultRaw: "now()",
151
- }),
152
- __metadata("design:type", Date)
153
- ], OrderExchange.prototype, "created_at", void 0);
154
- __decorate([
155
- (0, core_1.Property)({
156
- onCreate: () => new Date(),
157
- onUpdate: () => new Date(),
158
- columnType: "timestamptz",
159
- defaultRaw: "now()",
160
- }),
161
- __metadata("design:type", Date)
162
- ], OrderExchange.prototype, "updated_at", void 0);
163
- __decorate([
164
- (0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
165
- OrderExchangeDeletedAtIndex.MikroORMIndex(),
166
- __metadata("design:type", Object)
167
- ], OrderExchange.prototype, "deleted_at", void 0);
168
- __decorate([
169
- (0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
170
- __metadata("design:type", Object)
171
- ], OrderExchange.prototype, "canceled_at", void 0);
172
- __decorate([
173
- (0, core_1.BeforeCreate)(),
174
- __metadata("design:type", Function),
175
- __metadata("design:paramtypes", []),
176
- __metadata("design:returntype", void 0)
177
- ], OrderExchange.prototype, "onCreate", null);
178
- __decorate([
179
- (0, core_1.OnInit)(),
180
- __metadata("design:type", Function),
181
- __metadata("design:paramtypes", []),
182
- __metadata("design:returntype", void 0)
183
- ], OrderExchange.prototype, "onInit", null);
184
- OrderExchange = __decorate([
185
- (0, core_1.Entity)({ tableName: "order_exchange" })
186
- ], OrderExchange);
187
- exports.default = OrderExchange;
188
- //# sourceMappingURL=exchange.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"exchange.js","sourceRoot":"","sources":["../../src/models/exchange.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAKwB;AACxB,0CAawB;AACxB,qCAAmD;AACnD,oDAA2B;AAC3B,oFAAyD;AACzD,sDA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,IAAI,SAAS,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AACxE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAA;AAC5C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAC7D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,8BAA8B,CAAA;AAClF,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"line-item-adjustment.d.ts","sourceRoot":"","sources":["../../src/models/line-item-adjustment.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,QAAQ,MAAM,aAAa,CAAA;AAQlC,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,cAAc;IAI5D,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAUnB,OAAO,EAAE,MAAM,CAAA;IAGf,QAAQ;IAMR,MAAM;CAIP"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"line-item-tax-line.d.ts","sourceRoot":"","sources":["../../src/models/line-item-tax-line.ts"],"names":[],"mappings":"AAIA,OAAO,EAML,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,OAAO,MAAM,YAAY,CAAA;AA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OAAO,KAAK;IACxB,CAAC,aAAa,CAAC,CAAC,EAAE,kBAAkB,CAAA;IAGpC,EAAE,EAAE,MAAM,CAAA;IAIV,UAAU,EAAE,MAAM,CAAA;IAOlB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAO/B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAMjC,OAAO,EAAE,MAAM,CAAI;IAOnB,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAO;IAGtC,MAAM,EAAE,WAAW,CAAA;IAMnB,cAAc,EAAE,OAAO,CAAQ;IAG/B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAI3B,aAAa,EAAE,MAAM,CAAA;IAIrB,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAQnC,gBAAgB,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;IAItC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAQlC,eAAe,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;IAGrC,eAAe,EAAE,OAAO,GAAG,IAAI,CAAO;IAKtC,OAAO,mCAA0C;IAGjD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAK/C,KAAK,gCAAuC;IAS5C,gBAAgB,0CAAiD;IAKjE,YAAY,kCAAyC;IAOrD,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,WAAW,EAAE,IAAI,GAAG,IAAI,CAAO;IAG/B,QAAQ;IAKR,MAAM;CAGP"}
@@ -1,29 +0,0 @@
1
- import { BigNumberRawValue, DAL } from "@medusajs/types";
2
- import { OptionalProps } from "@mikro-orm/core";
3
- import LineItem from "./line-item";
4
- import Return from "./return";
5
- import ReturnReason from "./return-reason";
6
- type OptionalLineItemProps = DAL.ModelDateColumns;
7
- export default class ReturnItem {
8
- [OptionalProps]?: OptionalLineItemProps;
9
- id: string;
10
- reason_id: string | null;
11
- reason: ReturnReason;
12
- quantity: Number | number;
13
- raw_quantity: BigNumberRawValue;
14
- received_quantity: Number | number;
15
- raw_received_quantity: BigNumberRawValue;
16
- return_id: string;
17
- return: Return;
18
- item_id: string;
19
- item: LineItem;
20
- note: string;
21
- metadata: Record<string, unknown> | null;
22
- created_at: Date;
23
- updated_at: Date;
24
- deleted_at: Date | null;
25
- onCreate(): void;
26
- onInit(): void;
27
- }
28
- export {};
29
- //# sourceMappingURL=return-item.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"return-item.d.ts","sourceRoot":"","sources":["../../src/models/return-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAMxD,OAAO,EAKL,aAAa,EAGd,MAAM,iBAAiB,CAAA;AACxB,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,KAAK,qBAAqB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AA2BjD,MAAM,CAAC,OAAO,OAAO,UAAU;IAC7B,CAAC,aAAa,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAGvC,EAAE,EAAE,MAAM,CAAA;IASV,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAK/B,MAAM,EAAE,YAAY,CAAA;IAGpB,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;IAGzB,YAAY,EAAE,iBAAiB,CAAA;IAG/B,iBAAiB,EAAE,MAAM,GAAG,MAAM,CAAI;IAGtC,qBAAqB,EAAE,iBAAiB,CAAA;IASxC,SAAS,EAAE,MAAM,CAAA;IAKjB,MAAM,EAAE,MAAM,CAAA;IASd,OAAO,EAAE,MAAM,CAAA;IAKf,IAAI,EAAE,QAAQ,CAAA;IAGd,IAAI,EAAE,MAAM,CAAA;IAGZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAO/C,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAMR,MAAM;CAIP"}
@@ -1,170 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- const utils_1 = require("@medusajs/utils");
16
- const core_1 = require("@mikro-orm/core");
17
- const line_item_1 = __importDefault(require("./line-item"));
18
- const return_1 = __importDefault(require("./return"));
19
- const return_reason_1 = __importDefault(require("./return-reason"));
20
- const ReturnIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
21
- tableName: "return_item",
22
- columns: "return_id",
23
- where: "deleted_at IS NOT NULL",
24
- });
25
- const ReturnReasonIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
26
- tableName: "return_item",
27
- columns: "reason_id",
28
- where: "deleted_at IS NOT NULL",
29
- });
30
- const ItemIdIndex = (0, utils_1.createPsqlIndexStatementHelper)({
31
- tableName: "return_item",
32
- columns: "item_id",
33
- where: "deleted_at IS NOT NULL",
34
- });
35
- const DeletedAtIndex = (0, utils_1.createPsqlIndexStatementHelper)({
36
- tableName: "order_claim_item_image",
37
- columns: "deleted_at",
38
- where: "deleted_at IS NOT NULL",
39
- });
40
- let ReturnItem = class ReturnItem {
41
- constructor() {
42
- this.reason_id = null;
43
- this.received_quantity = 0;
44
- this.metadata = null;
45
- this.deleted_at = null;
46
- }
47
- onCreate() {
48
- this.id = (0, utils_1.generateEntityId)(this.id, "retitem");
49
- this.return_id = this.return?.id;
50
- }
51
- onInit() {
52
- this.id = (0, utils_1.generateEntityId)(this.id, "retitem");
53
- this.return_id = this.return?.id;
54
- }
55
- };
56
- __decorate([
57
- (0, core_1.PrimaryKey)({ columnType: "text" }),
58
- __metadata("design:type", String)
59
- ], ReturnItem.prototype, "id", void 0);
60
- __decorate([
61
- (0, core_1.ManyToOne)(() => return_reason_1.default, {
62
- columnType: "text",
63
- fieldName: "reason_id",
64
- mapToPk: true,
65
- nullable: true,
66
- }),
67
- ReturnReasonIdIndex.MikroORMIndex(),
68
- __metadata("design:type", Object)
69
- ], ReturnItem.prototype, "reason_id", void 0);
70
- __decorate([
71
- (0, core_1.ManyToOne)(() => return_reason_1.default, {
72
- persist: false,
73
- }),
74
- __metadata("design:type", return_reason_1.default)
75
- ], ReturnItem.prototype, "reason", void 0);
76
- __decorate([
77
- (0, utils_1.MikroOrmBigNumberProperty)(),
78
- __metadata("design:type", Number)
79
- ], ReturnItem.prototype, "quantity", void 0);
80
- __decorate([
81
- (0, core_1.Property)({ columnType: "jsonb" }),
82
- __metadata("design:type", Object)
83
- ], ReturnItem.prototype, "raw_quantity", void 0);
84
- __decorate([
85
- (0, utils_1.MikroOrmBigNumberProperty)(),
86
- __metadata("design:type", Number)
87
- ], ReturnItem.prototype, "received_quantity", void 0);
88
- __decorate([
89
- (0, core_1.Property)({ columnType: "jsonb" }),
90
- __metadata("design:type", Object)
91
- ], ReturnItem.prototype, "raw_received_quantity", void 0);
92
- __decorate([
93
- (0, core_1.ManyToOne)(() => return_1.default, {
94
- columnType: "text",
95
- fieldName: "return_id",
96
- mapToPk: true,
97
- onDelete: "cascade",
98
- }),
99
- ReturnIdIndex.MikroORMIndex(),
100
- __metadata("design:type", String)
101
- ], ReturnItem.prototype, "return_id", void 0);
102
- __decorate([
103
- (0, core_1.ManyToOne)(() => return_1.default, {
104
- persist: false,
105
- }),
106
- __metadata("design:type", return_1.default)
107
- ], ReturnItem.prototype, "return", void 0);
108
- __decorate([
109
- (0, core_1.ManyToOne)({
110
- entity: () => line_item_1.default,
111
- fieldName: "item_id",
112
- mapToPk: true,
113
- columnType: "text",
114
- }),
115
- ItemIdIndex.MikroORMIndex(),
116
- __metadata("design:type", String)
117
- ], ReturnItem.prototype, "item_id", void 0);
118
- __decorate([
119
- (0, core_1.ManyToOne)(() => line_item_1.default, {
120
- persist: false,
121
- }),
122
- __metadata("design:type", line_item_1.default)
123
- ], ReturnItem.prototype, "item", void 0);
124
- __decorate([
125
- (0, core_1.Property)({ columnType: "text", nullable: true }),
126
- __metadata("design:type", String)
127
- ], ReturnItem.prototype, "note", void 0);
128
- __decorate([
129
- (0, core_1.Property)({ columnType: "jsonb", nullable: true }),
130
- __metadata("design:type", Object)
131
- ], ReturnItem.prototype, "metadata", void 0);
132
- __decorate([
133
- (0, core_1.Property)({
134
- onCreate: () => new Date(),
135
- columnType: "timestamptz",
136
- defaultRaw: "now()",
137
- }),
138
- __metadata("design:type", Date)
139
- ], ReturnItem.prototype, "created_at", void 0);
140
- __decorate([
141
- (0, core_1.Property)({
142
- onCreate: () => new Date(),
143
- onUpdate: () => new Date(),
144
- columnType: "timestamptz",
145
- defaultRaw: "now()",
146
- }),
147
- __metadata("design:type", Date)
148
- ], ReturnItem.prototype, "updated_at", void 0);
149
- __decorate([
150
- (0, core_1.Property)({ columnType: "timestamptz", nullable: true }),
151
- DeletedAtIndex.MikroORMIndex(),
152
- __metadata("design:type", Object)
153
- ], ReturnItem.prototype, "deleted_at", void 0);
154
- __decorate([
155
- (0, core_1.BeforeCreate)(),
156
- __metadata("design:type", Function),
157
- __metadata("design:paramtypes", []),
158
- __metadata("design:returntype", void 0)
159
- ], ReturnItem.prototype, "onCreate", null);
160
- __decorate([
161
- (0, core_1.OnInit)(),
162
- __metadata("design:type", Function),
163
- __metadata("design:paramtypes", []),
164
- __metadata("design:returntype", void 0)
165
- ], ReturnItem.prototype, "onInit", null);
166
- ReturnItem = __decorate([
167
- (0, core_1.Entity)({ tableName: "return_item" })
168
- ], ReturnItem);
169
- exports.default = ReturnItem;
170
- //# sourceMappingURL=return-item.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"return-item.js","sourceRoot":"","sources":["../../src/models/return-item.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAIwB;AACxB,0CAQwB;AACxB,4DAAkC;AAClC,sDAA6B;AAC7B,oEAA0C;AAI1C,MAAM,aAAa,GAAG,IAAA,sCAA8B,EAAC;IACnD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,mBAAmB,GAAG,IAAA,sCAA8B,EAAC;IACzD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,WAAW,GAAG,IAAA,sCAA8B,EAAC;IACjD,SAAS,EAAE,aAAa;IACxB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,cAAc,GAAG,IAAA,sCAA8B,EAAC;IACpD,SAAS,EAAE,wBAAwB;IACnC,OAAO,EAAE,YAAY;IACrB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAGa,IAAM,UAAU,GAAhB,MAAM,UAAU;IAAhB;QAab,cAAS,GAAkB,IAAI,CAAA;QAc/B,sBAAiB,GAAoB,CAAC,CAAA;QAqCtC,aAAQ,GAAmC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