@medusajs/order 0.1.3-snapshot-20240805210411 → 0.1.3-snapshot-20240807192059

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/dist/services/actions/cancel-claim.d.ts.map +1 -1
  2. package/dist/services/actions/cancel-claim.js +1 -0
  3. package/dist/services/actions/cancel-claim.js.map +1 -1
  4. package/dist/services/actions/cancel-exchange.d.ts.map +1 -1
  5. package/dist/services/actions/cancel-exchange.js +9 -26
  6. package/dist/services/actions/cancel-exchange.js.map +1 -1
  7. package/dist/services/actions/create-claim.d.ts.map +1 -1
  8. package/dist/services/actions/create-claim.js +2 -0
  9. package/dist/services/actions/create-claim.js.map +1 -1
  10. package/dist/services/actions/create-exchange.d.ts.map +1 -1
  11. package/dist/services/actions/create-exchange.js +2 -0
  12. package/dist/services/actions/create-exchange.js.map +1 -1
  13. package/dist/services/actions/receive-return.d.ts.map +1 -1
  14. package/dist/services/actions/receive-return.js +2 -0
  15. package/dist/services/actions/receive-return.js.map +1 -1
  16. package/dist/services/order-module-service.js +2 -2
  17. package/dist/services/order-module-service.js.map +1 -1
  18. package/dist/utils/actions/cancel-item-fulfillment.js +1 -1
  19. package/dist/utils/actions/cancel-item-fulfillment.js.map +1 -1
  20. package/dist/utils/actions/cancel-return.js +2 -5
  21. package/dist/utils/actions/cancel-return.js.map +1 -1
  22. package/dist/utils/actions/fulfill-item.js +1 -1
  23. package/dist/utils/actions/fulfill-item.js.map +1 -1
  24. package/dist/utils/actions/item-add.js +1 -1
  25. package/dist/utils/actions/item-add.js.map +1 -1
  26. package/dist/utils/actions/item-remove.js +1 -4
  27. package/dist/utils/actions/item-remove.js.map +1 -1
  28. package/dist/utils/actions/receive-damaged-return-item.js +1 -1
  29. package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
  30. package/dist/utils/actions/receive-return-item.js +1 -1
  31. package/dist/utils/actions/receive-return-item.js.map +1 -1
  32. package/dist/utils/actions/reinstate-item.js +1 -1
  33. package/dist/utils/actions/reinstate-item.js.map +1 -1
  34. package/dist/utils/actions/return-item.js +1 -1
  35. package/dist/utils/actions/return-item.js.map +1 -1
  36. package/dist/utils/actions/ship-item.js +1 -1
  37. package/dist/utils/actions/ship-item.js.map +1 -1
  38. package/dist/utils/actions/shipping-add.js +1 -1
  39. package/dist/utils/actions/shipping-add.js.map +1 -1
  40. package/dist/utils/actions/shipping-remove.js +0 -3
  41. package/dist/utils/actions/shipping-remove.js.map +1 -1
  42. package/dist/utils/actions/write-off-item.js +1 -1
  43. package/dist/utils/actions/write-off-item.js.map +1 -1
  44. package/dist/utils/base-repository-find.d.ts.map +1 -1
  45. package/dist/utils/base-repository-find.js +12 -0
  46. package/dist/utils/base-repository-find.js.map +1 -1
  47. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-claim.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,WAAW,CAC/B,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,mBAAmB,EACpC,aAAa,CAAC,EAAE,OAAO,gBAsFxB"}
1
+ {"version":3,"file":"cancel-claim.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,WAAW,CAC/B,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,mBAAmB,EACpC,aAAa,CAAC,EAAE,OAAO,gBAuFxB"}
@@ -24,6 +24,7 @@ async function cancelClaim(data, sharedContext) {
24
24
  "claim_items.is_additional_item",
25
25
  "claim_items.quantity",
26
26
  "additional_items.id",
27
+ "additional_items.item_id",
27
28
  "additional_items.quantity",
28
29
  "additional_items.is_additional_item",
29
30
  ],
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-claim.js","sourceRoot":"","sources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E;oBACR,EAAE,EAAE,UAAU,CAAC,EAAE;iBAClB;aACF;SACF,EACD,aAAa,CACd;QACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO,UAAU,CAAA;AACnB,CAAC;AA1FD,kCA0FC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-exchange.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,cAAc,CAClC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACvC,aAAa,CAAC,EAAE,OAAO,gBA0FxB"}
1
+ {"version":3,"file":"cancel-exchange.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,cAAc,CAClC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACvC,aAAa,CAAC,EAAE,OAAO,gBAwExB"}
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cancelExchange = void 0;
4
4
  const utils_1 = require("@medusajs/utils");
5
- async function createOrderChange(service, data, returnRef, actions, sharedContext) {
5
+ async function createOrderChange(service, data, exchangeOrder, actions, sharedContext) {
6
6
  return await service.createOrderChange_({
7
- order_id: returnRef.order_id,
8
- exchange_id: returnRef.id,
9
- reference: "return",
10
- reference_id: returnRef.id,
7
+ order_id: exchangeOrder.order_id,
8
+ exchange_id: exchangeOrder.id,
9
+ reference: "exchange",
10
+ reference_id: exchangeOrder.id,
11
11
  description: data.description,
12
12
  internal_note: data.internal_note,
13
13
  created_by: data.created_by,
@@ -16,33 +16,17 @@ async function createOrderChange(service, data, returnRef, actions, sharedContex
16
16
  }, sharedContext);
17
17
  }
18
18
  async function cancelExchange(data, sharedContext) {
19
- const exchangeOrder = await this.retrieveExchange(data.exchange_id, {
19
+ const exchangeOrder = await this.retrieveOrderExchange(data.exchange_id, {
20
20
  select: [
21
21
  "id",
22
22
  "order_id",
23
- "return.id",
24
- "return.items.item_id",
25
- "return.items.quantity",
26
23
  "additional_items.id",
24
+ "additional_items.item_id",
27
25
  "additional_items.quantity",
28
26
  ],
29
- relations: ["return.items", "additional_items", "shipping_methods"],
27
+ relations: ["additional_items", "shipping_methods"],
30
28
  }, sharedContext);
31
29
  const actions = [];
32
- exchangeOrder.return.items.forEach((item) => {
33
- actions.push({
34
- action: utils_1.ChangeActionType.CANCEL_RETURN_ITEM,
35
- order_id: exchangeOrder.order_id,
36
- exchange_id: exchangeOrder.id,
37
- return_id: exchangeOrder.return.id,
38
- reference: "return",
39
- reference_id: exchangeOrder.return.id,
40
- details: {
41
- reference_id: item.item_id,
42
- quantity: item.quantity,
43
- },
44
- });
45
- });
46
30
  exchangeOrder.additional_items.forEach((item) => {
47
31
  actions.push({
48
32
  action: utils_1.ChangeActionType.ITEM_REMOVE,
@@ -63,7 +47,6 @@ async function cancelExchange(data, sharedContext) {
63
47
  action: utils_1.ChangeActionType.SHIPPING_REMOVE,
64
48
  order_id: exchangeOrder.order_id,
65
49
  exchange_id: exchangeOrder.id,
66
- return_id: exchangeOrder.return.id,
67
50
  reference: "exchange",
68
51
  reference_id: shipping.id,
69
52
  amount: shipping.price,
@@ -71,7 +54,7 @@ async function cancelExchange(data, sharedContext) {
71
54
  });
72
55
  const [change] = await createOrderChange(this, data, exchangeOrder, actions, sharedContext);
73
56
  await (0, utils_1.promiseAll)([
74
- this.updateExchanges([
57
+ this.updateOrderExchanges([
75
58
  {
76
59
  data: {
77
60
  canceled_at: new Date(),
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-exchange.ts"],"names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WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;oBACR,EAAE,EAAE,aAAa,CAAC,EAAE;iBACrB;aACF;SACF,EACD,aAAa,CACd;QACD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,EAAE,aAAa,CAAC;KAClD,CAAC,CAAA;IAEF,OAAO,aAAa,CAAA;AACtB,CAAC;AA7FD,wCA6FC"}
1
+ {"version":3,"file":"cancel-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-exchange.ts"],"names":[],"mappings":";;;AAKA,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,aAAa,EACb,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,aAAa,CAAC,QAAQ;QAChC,WAAW,EAAE,aAAa,CAAC,EAAE;QAC7B,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,aAAa,CAAC,EAAE;QAC9B,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;AACH,CAAC;AAEM,KAAK,UAAU,cAAc,CAElC,IAAuC,EACvC,aAAuB;IAEvB,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC,qBAAqB,CACpD,IAAI,CAAC,WAAW,EAChB;QACE,MAAM,EAAE;YACN,IAAI;YACJ,UAAU;YACV,qBAAqB;YACrB,0BAA0B;YAC1B,2BAA2B;SAC5B;QACD,SAAS,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;KACpD,EACD,aAAa,CACd,CAAA;IAED,MAAM,OAAO,GAAiC,EAAE,CAAA;IAEhD,aAAa,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,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ACtB,CAAC;AA3ED,wCA2EC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-claim.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AAoRxB,wBAAsB,WAAW,CAC/B,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,mBAAmB,EACpC,aAAa,CAAC,EAAE,OAAO,gBA8ExB"}
1
+ {"version":3,"file":"create-claim.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AAsRxB,wBAAsB,WAAW,CAC/B,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,mBAAmB,EACpC,aAAa,CAAC,EAAE,OAAO,gBA8ExB"}
@@ -86,6 +86,7 @@ async function processAdditionalItems(em, service, data, order, claimReference,
86
86
  details: {
87
87
  reference_id: item.id,
88
88
  quantity: item.quantity,
89
+ unit_price: item.unit_price ?? hasItem.item.unit_price,
89
90
  metadata: item.metadata,
90
91
  },
91
92
  });
@@ -101,6 +102,7 @@ async function processAdditionalItems(em, service, data, order, claimReference,
101
102
  itemsToAdd.push(item);
102
103
  additionalNewItems.push(em.create(_models_1.OrderClaimItem, {
103
104
  quantity: item.quantity,
105
+ unit_price: item.unit_price,
104
106
  note: item.note,
105
107
  metadata: item.metadata,
106
108
  is_additional_item: true,
@@ -1 +1 @@
1
- {"version":3,"file":"create-claim.js","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":";;;AAKA,2CAQwB;AACxB,qCAAwE;AAExE,SAAS,4BAA4B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACnD,MAAM,cAAc,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAU,EAAE;QAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ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AC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,EAAE,aAAa,CAAC;QACpD,IAAI,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,EAAE,aAAa,CAAC;QACvD,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO,cAAc,CAAA;AACvB,CAAC;AAjFD,kCAiFC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-exchange.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA+OxB,wBAAsB,cAAc,CAClC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACvC,aAAa,CAAC,EAAE,OAAO,gBAqExB"}
1
+ {"version":3,"file":"create-exchange.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AAiPxB,wBAAsB,cAAc,CAClC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACvC,aAAa,CAAC,EAAE,OAAO,gBAqExB"}
@@ -61,6 +61,7 @@ async function processAdditionalItems(em, service, data, order, exchangeReferenc
61
61
  details: {
62
62
  reference_id: item.id,
63
63
  quantity: item.quantity,
64
+ unit_price: item.unit_price ?? hasItem.item.unit_price,
64
65
  metadata: item.metadata,
65
66
  },
66
67
  });
@@ -76,6 +77,7 @@ async function processAdditionalItems(em, service, data, order, exchangeReferenc
76
77
  itemsToAdd.push(item);
77
78
  additionalNewItems.push(em.create(_models_1.OrderExchangeItem, {
78
79
  quantity: item.quantity,
80
+ unit_price: item.unit_price,
79
81
  note: item.note,
80
82
  metadata: item.metadata,
81
83
  is_additional_item: true,
@@ -1 +1 @@
1
- {"version":3,"file":"create-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":";;;AAKA,2CAOwB;AACxB,qCAA8E;AAE9E,SAAS,+BAA+B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACtD,MAAM,iBAAiB,GAAG,EAAE,CAAC,MAAM,CAAC,uBAAa,EAAE;QACjD,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,cAAc,EAAE,IAAI,CAAC,cAAc;KACpC,CAAC,CAAA;IAEF,MAAM,eAAe,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAM,EAAE;QACxC,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,MAAM,EAAE,oBAAY,CAAC,SAAS;QAC9B,WAAW,EAAE,iBAAiB,CAAC,EAAE;QACjC,aAAa,EAAG,IAAI,CAAC,aAAyB,IAAI,IAAI;KACvD,CAAC,CAAA;IAEF,iBAAiB,CAAC,SAAS,GAAG,eAAe,CAAC,EAAE,CAAA;IAEhD,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,CAAA;AAC/C,CAAC;AAED,SAAS,iBAAiB,CACxB,EAAE,EACF,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,OAAO;IAEP,OAAO,IAAI,CAAC,YAAY,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACrC,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,WAAW;YACpC,SAAS,EA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AAI,EACJ,KAAK,EACL,iBAAiB,EACjB,OAAO,EACP,aAAa,CACd,CAAA;IACD,MAAM,sBAAsB,CAC1B,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,OAAO,EACP,aAAa,CACd,CAAA;IACD,MAAM,qBAAqB,CACzB,IAAI,EACJ,IAAI,EACJ,iBAAiB,EACjB,eAAe,EACf,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,WAAW,EAAE,iBAAiB,CAAC,EAAE;QACjC,SAAS,EAAE,eAAe,CAAC,EAAE;QAC7B,WAAW,EAAE,uBAAe,CAAC,QAAQ;QACrC,SAAS,EAAE,UAAU;QACrB,YAAY,EAAE,iBAAiB,CAAC,EAAE;QAClC,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,OAAO;KACR,EACD,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,EAAE,aAAa,CAAC;QACpD,IAAI,CAAC,oBAAoB,CAAC,CAAC,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAC7D,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO,iBAAiB,CAAA;AAC1B,CAAC;AAxED,wCAwEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"receive-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/receive-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AA8ErD,wBAAsB,aAAa,CACjC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,qBAAqB,EACtC,aAAa,CAAC,EAAE,OAAO,gBAmCxB"}
1
+ {"version":3,"file":"receive-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/receive-return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAiFrD,wBAAsB,aAAa,CACjC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,qBAAqB,EACtC,aAAa,CAAC,EAAE,OAAO,gBAmCxB"}
@@ -34,6 +34,8 @@ function updateReturnItems(returnEntry, items) {
34
34
  const data = items.find((i) => i.details.reference_id === item.item_id);
35
35
  if (!data)
36
36
  return;
37
+ console.log("ITEM: ", item);
38
+ console.log("DATA: ", data);
37
39
  const receivedQuantity = utils_1.MathBN.add(item.received_quantity || 0, data.details.quantity);
38
40
  item.received_quantity = receivedQuantity;
39
41
  return {
@@ -1 +1 @@
1
- {"version":3,"file":"receive-return.js","sourceRoot":"","sources":["../../../src/services/actions/receive-return.ts"],"names":[],"mappings":";;;AACA,2CAMwB;AAExB,SAAS,iBAAiB,CAAC,IAAI;IAC7B,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/B,MAAM,EAAE,wBAAgB,CAAC,mBAAmB;QAC5C,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,OAAO,EAAE;YACP,YAAY,EAAE,IAAI,CAAC,EAAE;YACrB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACxB;KACF,CAAC,CAAC,CAAA;AACL,CAAC;AAED,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,WAAW,EACX,KAAK,EACL,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,C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a,CACd,CAAA;IAED,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA;IACrC,MAAM,MAAM,GAAG,MAAM,iBAAiB,CACpC,IAAI,EACJ,IAAI,EACJ,WAAW,EACX,KAAK,EACL,aAAa,CACd,CAAA;IAED,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC,CAAA;IAE1D,MAAM,gBAAgB,GAAG,iBAAiB,CAAC,WAAW,EAAE,KAAK,CAAC,CAAA;IAC9D,MAAM,mBAAmB,GAAG,qBAAqB,CAAC,WAAW,CAAC,CAAA;IAC9D,MAAM,OAAO,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;IAExD,MAAM,CAAC,SAAS,CAAC,GAAG,MAAM,IAAA,kBAAU,EAAC;QACnC,IAAI,CAAC,aAAa,CAChB,EAAE,QAAQ,EAAE,EAAE,EAAE,EAAE,WAAW,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,EACnD,aAAa,CACd;QACD,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,EAAE,aAAa,CAAC;KACxD,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AAClB,CAAC;AAtCD,sCAsCC"}
@@ -1498,7 +1498,7 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.MedusaService(generateM
1498
1498
  async cancelClaim(data, sharedContext) {
1499
1499
  const ret = await this.cancelClaim_(data, sharedContext);
1500
1500
  return await this.retrieveOrderClaim(ret.id, {
1501
- relations: ["additional_items", "claim_items"],
1501
+ relations: ["additional_items", "claim_items", "return", "return.items"],
1502
1502
  });
1503
1503
  }
1504
1504
  async cancelClaim_(data, sharedContext) {
@@ -1528,7 +1528,7 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.MedusaService(generateM
1528
1528
  async cancelExchange(data, sharedContext) {
1529
1529
  const ret = await this.cancelExchange_(data, sharedContext);
1530
1530
  return await this.retrieveOrderExchange(ret.id, {
1531
- relations: ["items"],
1531
+ relations: ["additional_items", "return", "return.items"],
1532
1532
  });
1533
1533
  }
1534
1534
  async cancelExchange_(data, sharedContext) {
@@ -1 +1 @@
1
- {"version":3,"file":"order-module-service.js","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAawB;AACxB,2CAmBwB;AACxB,qCAuBgB;AAahB,oCAKiB;AACjB,0DAA2C;AA0B3C,MAAM,uBAAuB,GAAG;IAC9B,KAAK,EAAL,eAAK;IACL,OAAO,EAAP,iBAAO;IACP,QAAQ,EAAR,kBAAQ;IACR,kBAAkB,EAAlB,4BAAkB;IAClB,eAAe,EAAf,yBAAe;IACf,cAAc,EAAd,wBAAc;IACd,wBAAwB,EAAxB,kCAAwB;IACxB,qBAAqB,EAArB,+BAAqB;IACrB,WAAW,EAAX,qBAAW;IACX,WAAW,EAAX,qBAAW;IACX,iBAAiB,EAAjB,2BAAiB;IACjB,SAAS,EAAT,mBAAS;IACT,YAAY,EAAZ,sBAAY;IACZ,mBAAmB,EAAnB,6BAAmB;IACnB,YAAY,EAAZ,sBAAY;IACZ,MAAM,EAAN,gBAAM;IACN,UAAU,EAAV,oBAAU;IACV,UAAU,EAAV,oBAAU;IACV,cAAc,EAAd,wBAAc;IACd,mBAAmB,EAAnB,6BAAmB;IACnB,aAAa,EAAb,uBAAa;IACb,iBAAiB,EAAjB,2BAAiB;CAClB,CAAA;AAED,gHAAgH;AAChH,MAAqB,kBAwBnB,SAAQ,uBAAe,CAAC,aAAa,CAyBlC,uBAAuB,CAAC;IA2B3B,YACE,EACE,cAAc,EACd,YAAY,EACZ,cAAc,EACd,eAAe,EACf,+BAA+B,EAC/B,qBAAqB,EACrB,yBAAyB,EACzB,4BAA4B,EAC5B,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,wBAAwB,EACxB,gBAAgB,EAChB,mBAAmB,EACnB,0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AA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yDAGjB;AAGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAG9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;wDAOjB;AAGa;IADb,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yDAGjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAMjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;2DAMjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0DAGjB"}
1
+ {"version":3,"file":"order-module-service.js","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAawB;AACxB,2CAmBwB;AACxB,qCAuBgB;AAahB,oCAKiB;AACjB,0DAA2C;AA0B3C,MAAM,uBAAuB,GAAG;IAC9B,KAAK,EAAL,eAAK;IACL,OAAO,EAAP,iBAAO;IACP,QAAQ,EAAR,kBAAQ;IACR,kBAAkB,EAAlB,4BAAkB;IAClB,eAAe,EAAf,yBAAe;IACf,cAAc,EAAd,wBAAc;IACd,wBAAwB,EAAxB,kCAAwB;IACxB,qBAAqB,EAArB,+BAAqB;IACrB,WAAW,EAAX,qBAAW;IACX,WAAW,EAAX,qBAAW;IACX,iBAAiB,EAAjB,2BAAiB;IACjB,SAAS,EAAT,mBAAS;IACT,YAAY,EAAZ,sBAAY;IACZ,mBAAmB,EAAnB,6BAAmB;IACnB,YAAY,EAAZ,sBAAY;IACZ,MAAM,EAAN,gBAAM;IACN,UAAU,EAAV,oBAAU;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AGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAG9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;qDA6BjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;sDAGjB;AAGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAG9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;qDAOjB;AAGa;IADb,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;sDAGjB;AAGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAG9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;wDA2BjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yDAGjB;AAGK;IADL,IAAA,qBAAa,EAAC,iBAAiB,CAAC;IAG9B,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;wDAOjB;AAGa;IADb,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;yDAGjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;6DAMjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;2DAMjB;AAGK;IADL,IAAA,gCAAwB,EAAC,iBAAiB,CAAC;IAGzC,WAAA,IAAA,qBAAa,GAAE,CAAA;;;;0DAGjB"}
@@ -12,7 +12,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
12
12
  },
13
13
  validate({ action, currentOrder }) {
14
14
  const refId = action.details?.reference_id;
15
- if (!(0, utils_1.isDefined)(refId)) {
15
+ if (refId == null) {
16
16
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
17
17
  }
18
18
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-item-fulfillment.js","sourceRoot":"","sources":["../../../src/utils/actions/cancel-item-fulfillment.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CACtC,wBAAgB,CAAC,uBAAuB,EACxC;IACE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,kBAAkB,KAAK,CAAC,CAAA;QAExC,QAAQ,CAAC,MAAM,CAAC,kBAAkB,GAAG,cAAM,CAAC,GAAG,CAC7C,QAAQ,CAAC,MAAM,CAAC,kBAAkB,EAClC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAAA;QAED,IAAA,yCAAkB,EAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/C,CAAC;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,EAAE,YAAY,CAAA;QAC1C,IAAI,CAAC,IAAA,iBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,CAC5B,CAAA;QACH,CAAC;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,CAAA;QAErE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,uCAAuC,KAAK,eAAe,CAC5D,CAAA;QACH,CAAC;QAED,IAAI,MAAM,CAAC,OAAO,EAAE,QAAQ,GAAG,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,KAAK,0BAA0B,CAC3D,CAAA;QACH,CAAC;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CACvB,MAAM,CAAC,OAAO,EAAE,QAAQ,EACxB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QACD,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6DAA6D,KAAK,GAAG,CACtE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CACF,CAAA"}
1
+ {"version":3,"file":"cancel-item-fulfillment.js","sourceRoot":"","sources":["../../../src/utils/actions/cancel-item-fulfillment.ts"],"names":[],"mappings":";;AAAA,2CAAuE;AACvE,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CACtC,wBAAgB,CAAC,uBAAuB,EACxC;IACE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAE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AM,CAAC,OAAO,EAAE,QAAQ,EACxB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QACD,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6DAA6D,KAAK,GAAG,CACtE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CACF,CAAA"}
@@ -9,16 +9,13 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
9
9
  existing.detail.return_requested_quantity ??= 0;
10
10
  existing.detail.return_requested_quantity = utils_1.MathBN.sub(existing.detail.return_requested_quantity, action.details.quantity);
11
11
  (0, set_action_reference_1.setActionReference)(existing, action, options);
12
- return action.details.unit_price * action.details.quantity;
12
+ return utils_1.MathBN.mult(existing.unit_price, action.details.quantity);
13
13
  },
14
14
  validate({ action, currentOrder }) {
15
15
  const refId = action.details?.reference_id;
16
- if (!(0, utils_1.isDefined)(refId)) {
16
+ if (refId == null) {
17
17
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
18
18
  }
19
- if (!(0, utils_1.isDefined)(action.amount) && !(0, utils_1.isDefined)(action.details?.unit_price)) {
20
- throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Unit price of item ${action.reference_id} is required if no action.amount is provided.`);
21
- }
22
19
  const existing = currentOrder.items.find((item) => item.id === refId);
23
20
  if (!existing) {
24
21
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-return.js","sourceRoot":"","sources":["../../../src/utils/actions/cancel-return.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,kBAAkB,EAAE;IAC5E,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAA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rderChangeProcessing.registerActionType(utils_1.Change
12
12
  },
13
13
  validate({ action, currentOrder }) {
14
14
  const refId = action.details?.reference_id;
15
- if (!(0, utils_1.isDefined)(refId)) {
15
+ if (refId == null) {
16
16
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
17
17
  }
18
18
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"fulfill-item.js","sourceRoot":"","sources":["../../../src/utils/actions/fulfill-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,YAAY,EAAE;IACtE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,kBAAkB,KAAK,CAAC,CAAA;QAExC,QAAQ,CAAC,MAAM,CAAC,kBAAkB,GAAG,cAAM,CAAC,GAAG,CAC7C,QAAQ,CAAC,MAAM,CAAC,kBAAkB,EAClC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAAA;QAED,IAAA,yCAAkB,EAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IAC/C,CAAC;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE;QAC/B,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,EAAE,YAAY,CAAA;QAC1C,IAAI,CAAC,IAAA,iBAAS,EAAC,KAAK,CAAC,EAAE,CAAC;YACtB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,CAC5B,CAAA;QACH,CAAC;QA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AO,EAAE,QAAQ,GAAG,CAAC,EAAE,CAAC;YACjC,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,oBAAoB,KAAK,0BAA0B,CACpD,CAAA;QACH,CAAC;QAED,MAAM,YAAY,GAAG,cAAM,CAAC,GAAG,CAC7B,QAAQ,CAAC,QAAQ,EACjB,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CACpC,CAAA;QACD,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAA;QACjE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,4DAA4D,KAAK,GAAG,CACrE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -28,7 +28,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
28
28
  },
29
29
  validate({ action }) {
30
30
  const refId = action.details?.reference_id;
31
- if (!(0, utils_1.isDefined)(action.amount) && !(0, utils_1.isDefined)(action.details?.unit_price)) {
31
+ if (action.amount == null && action.details?.unit_price == null) {
32
32
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Unit price of item ${refId} is required if no action.amount is provided.`);
33
33
  }
34
34
  if (!action.details?.quantity) {
@@ -1 +1 @@
1
- {"version":3,"file":"item-add.js","sourceRoot":"","sources":["../../../src/utils/actions/item-add.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AAExB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,QAAQ,EAAE;IAClE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,IAAI,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACpC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CA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A;QACH,CAAC;QAED,IAAI,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC;YAC3C,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,oBAAoB,KAAK,0BAA0B,CACpD,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -19,16 +19,13 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
19
19
  },
20
20
  validate({ action, currentOrder }) {
21
21
  const refId = action.details?.reference_id;
22
- if (!(0, utils_1.isDefined)(refId)) {
22
+ if (refId == null) {
23
23
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
24
24
  }
25
25
  const existing = currentOrder.items.find((item) => item.id === refId);
26
26
  if (!existing) {
27
27
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Item ID "${refId}" not found.`);
28
28
  }
29
- if (!(0, utils_1.isDefined)(action.amount) && !(0, utils_1.isDefined)(action.details?.unit_price)) {
30
- throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Unit price of item ${refId} is required if no action.amount is provided.`);
31
- }
32
29
  if (!action.details?.quantity) {
33
30
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, `Quantity of item ${refId} is required.`);
34
31
  }
@@ -1 +1 @@
1
- {"version":3,"file":"item-remove.js","sourceRoot":"","sources":["../../../src/utils/actions/item-remove.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,WAAW,EAAE;IACrE,WAAW,EAAE,IAAI;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,aAAa,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAChD,CAAC,IAA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,CAAC,CAAA"}
@@ -19,7 +19,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
19
19
  },
20
20
  validate({ action, currentOrder }) {
21
21
  const refId = action.details?.reference_id;
22
- if (!(0, utils_1.isDefined)(refId)) {
22
+ if (refId == null) {
23
23
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
24
24
  }
25
25
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"receive-damaged-return-item.js","sourceRoot":"","sources":["../../../src/utils/actions/receive-damaged-return-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CACtC,wBAAgB,CAAC,2BAA2B,EAC5C;IACE,WAAW,EAAE,IAAI;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE;QACzD,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAA;QAEtC,QAAQ,CAAC,MAAM,CAAC,yBAAyB,KAAK,CAAC,CAAA;QAC/C,QAAQ,CAAC,MAAM,CAAC,yBAAyB,KAAK,CAAC,CAAA;QAE/C,QAAQ,CAAC,MAAM,CAAC,yBAAyB,GAAG,cAAM,CAAC,GAAG,CACpD,QAAQ,CAAC,MAAM,CAAC,yBAAyB,EACzC,QAAQ,CACT,CAAA;QACD,QAAQ,CAAC,MAAM,CAAC,yBAAyB,GAAG,cAAM,CAAC,GAAG,CACpD,QAAQ,CAAC,MAAM,CAAC,yBAAyB,EACzC,QAAQ,CACT,CAAA;QAED,QAAQ,CAAC,MAAM,CAAC,oBAAoB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derChangeProcessing.registerActionType(utils_1.Change
17
17
  },
18
18
  validate({ action, currentOrder }) {
19
19
  const refId = action.details?.reference_id;
20
- if (!(0, utils_1.isDefined)(refId)) {
20
+ if (refId == null) {
21
21
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
22
22
  }
23
23
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"receive-return-item.js","sourceRoot":"","sources":["../../../src/utils/actions/receive-return-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,mBAAmB,EAAE;IAC7E,WAAW,EAAE,IAAI;IACjB,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE;QACzD,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,IAAI,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAA;QAEtC,QAAQ,CAAC,MAAM,CAAC,wBAAwB,KAAK,CAAC,CAAA;QAC9C,QAAQ,CAAC,MAAM,CAAC,yBAAyB,KAAK,CAAC,CAAA;QAE/C,QAAQ,CAAC,MAAM,CAAC,wBAAwB,GAAG,cAAM,CAAC,GAAG,CACnD,QAAQ,CAAC,MAAM,CAAC,wBAAwB,EACxC,QAAQ,CACT,CAAA;QACD,QAAQ,CAAC,MAAM,CAAC,yBAAyB,GAAG,cAAM,CAAC,GAAG,CACpD,QAAQ,CAAC,MAAM,CAAC,yBAAyB,EACzC,QAAQ,CACT,CAAA;QAED,IAAA,yCAAkB,EAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;QAE7C,OAAO,cAAM,CAAC,I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C9B,mCAAmC,CACpC,CAAA;QACH,CAAC;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,CAAA;QAErE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,sCAAsC,KAAK,eAAe,CAC3D,CAAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAQ,EAAE,MAAM,EAAE,yBAAyB,IAAI,CAAC,CAAA;QAE1E,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,6EAA6E,KAAK,GAAG,CACtF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -12,7 +12,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
12
12
  },
13
13
  validate({ action, currentOrder }) {
14
14
  const refId = action.details?.reference_id;
15
- if (!(0, utils_1.isDefined)(refId)) {
15
+ if (refId == null) {
16
16
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
17
17
  }
18
18
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"reinstate-item.js","sourceRoot":"","sources":["../../../src/utils/actions/reinstate-item.ts"],"names":[],"mappings":";;AAAA,2CAKw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AAY,CAAA;QAC1C,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAClB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,mCAAmC,CACpC,CAAA;QACH,CAAC;QAED,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,KAAK,CAAC,CAAA;QAErE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,8BAA8B,KAAK,eAAe,CACnD,CAAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAS,CAAC,QAAQ,IAAI,CAAC,CAAA;QACjD,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,kDAAkD,CACnD,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -15,7 +15,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
15
15
  },
16
16
  validate({ action, currentOrder }) {
17
17
  const refId = action.details?.reference_id;
18
- if (!(0, utils_1.isDefined)(refId)) {
18
+ if (refId == null) {
19
19
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
20
20
  }
21
21
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {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AAC,CACjD,CAAA;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,wEAAwE,KAAK,GAAG,CACjF,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -12,7 +12,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
12
12
  },
13
13
  validate({ action, currentOrder }) {
14
14
  const refId = action.details?.reference_id;
15
- if (!(0, utils_1.isDefined)(refId)) {
15
+ if (refId == null) {
16
16
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
17
17
  }
18
18
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"ship-item.js","sourceRoot":"","sources":["../../../src/utils/actions/ship-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,SAAS,EAAE;IACnE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,gBAAgB,KAAK,CAAC,CAAA;QAEtC,QAAQ,CAAC,MAAM,CAAC,gBAAgB,GAAG,cAAM,CAAC,GAAG,CAC3C,QAAQ,CAAC,MAAM,CAAC,gBAAgB,EAChC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAAA;QAED,IAAA,yCAAkB,EAAC,QAAQ,EA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,KAAK,CAAC,CAAA;QACrE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,YAAY,KAAK,cAAc,CAChC,CAAA;QACH,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC;YAC9B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,4BAA4B,KAAK,eAAe,CACjD,CAAA;QACH,CAAC;QAED,IAAI,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC;YAC3C,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,oBAAoB,KAAK,0BAA0B,CACpD,CAAA;QACH,CAAC;QAED,MAAM,UAAU,GAAG,cAAM,CAAC,GAAG,CAC3B,QAAQ,CAAC,MAAM,EAAE,kBAAkB,EACnC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAClC,CAAA;QAED,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAA;QAC/D,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2DAA2D,KAAK,GAAG,CACpE,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -27,7 +27,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
27
27
  if (!action.reference_id) {
28
28
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
29
29
  }
30
- if (!(0, utils_1.isDefined)(action.amount)) {
30
+ if (action.amount == null) {
31
31
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Amount is required.");
32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Y,CAAC,gBAAgB,GAAG,QAAQ,CAAA;IAC1C,CAAC;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE;QACjB,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;YACzB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,CAC5B,CAAA;QACH,CAAC;QAED,IAAI,MAAM,CAAC,MAAM,IAAI,IAAI,EAAE,CAAC;YAC1B,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,qBAAqB,CACtB,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -17,9 +17,6 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
17
17
  if (!action.reference_id) {
18
18
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Reference ID is required.");
19
19
  }
20
- if (!(0, utils_1.isDefined)(action.amount)) {
21
- throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Amount is required.");
22
- }
23
20
  },
24
21
  });
25
22
  //# sourceMappingURL=shipping-remove.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-remove.js","sourceRoot":"","sources":["../../../src/utils/actions/shipping-remove.ts"],"names":[],"mappings":";;AAAA,2CAA0E;AAC1E,sEAAiE;AAEjE,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,eAAe,EAAE;IACzE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,gBAAgB,CAAC;YAC3D,CAAC,CAAC,YAAY,CAAC,gBAAgB;YAC/B,CAAC,CAAC,CAAC,YAAY,CAAC,gBAAgB,CAAC,CAAA;QAEnC,MAAM,aAAa,GAAG,QAAQ,CAAC,SAAS,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI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MAAM,CAAC,aAAa,EAAE,CAAC,CAAC,CAAA;QACnC,CAAC;QAED,YAAY,CAAC,gBAAgB,GAAG,QAAQ,CAAA;IAC1C,CAAC;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE;QACjB,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;YACzB,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,2BAA2B,CAC5B,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -12,7 +12,7 @@ calculate_order_change_1.OrderChangeProcessing.registerActionType(utils_1.Change
12
12
  },
13
13
  validate({ action, currentOrder }) {
14
14
  const refId = action.details?.reference_id;
15
- if (!(0, utils_1.isDefined)(refId)) {
15
+ if (refId == null) {
16
16
  throw new utils_1.MedusaError(utils_1.MedusaError.Types.INVALID_DATA, "Details reference ID is required.");
17
17
  }
18
18
  const existing = currentOrder.items.find((item) => item.id === refId);
@@ -1 +1 @@
1
- {"version":3,"file":"write-off-item.js","sourceRoot":"","sources":["../../../src/utils/actions/write-off-item.ts"],"names":[],"mappings":";;AAAA,2CAKwB;AACxB,sEAAiE;AACjE,kEAA4D;AAE5D,8CAAqB,CAAC,kBAAkB,CAAC,wBAAgB,CAAC,cAAc,EAAE;IACxE,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,EAAE;QACzC,MAAM,QAAQ,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CACtC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,MAAM,CAAC,OAAO,CAAC,YAAY,CACjD,CAAA;QAEF,QAAQ,CAAC,MAAM,CAAC,oBAAoB,KAAK,CAAC,CAAA;QAC1C,QAAQ,CAAC,MAAM,CAAC,oBAAoB,GAAG,cAAM,CAAC,GAAG,CAC/C,QAAQ,CAAC,MAAM,CAAC,oBAAoB,EACpC,MAAM,CAAC,OAAO,CAAC,QAAQ,CACxB,CAA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B,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,8BAA8B,KAAK,eAAe,CACnD,CAAA;QACH,CAAC;QAED,MAAM,iBAAiB,GAAG,QAAS,CAAC,QAAQ,IAAI,CAAC,CAAA;QACjD,MAAM,OAAO,GAAG,cAAM,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,iBAAiB,CAAC,CAAA;QACtE,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,IAAI,mBAAW,CACnB,mBAAW,CAAC,KAAK,CAAC,YAAY,EAC9B,gDAAgD,CACjD,CAAA;QACH,CAAC;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"base-repository-find.d.ts","sourceRoot":"","sources":["../../src/utils/base-repository-find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,iBAAiB,CAAA;AAK3D,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,QAkLnE"}
1
+ {"version":3,"file":"base-repository-find.d.ts","sourceRoot":"","sources":["../../src/utils/base-repository-find.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgB,MAAM,iBAAiB,CAAA;AAK3D,wBAAgB,cAAc,CAAC,CAAC,EAAE,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,QAoMnE"}
@@ -30,6 +30,12 @@ function setFindMethods(klass, entity) {
30
30
  config.options.populate ??= [];
31
31
  let orderAlias = "o0";
32
32
  if (isRelatedEntity) {
33
+ if (entity === _models_1.OrderClaim) {
34
+ if (config.options.populate.includes("additional_items") &&
35
+ !config.options.populate.includes("claim_items")) {
36
+ config.options.populate.push("claim_items");
37
+ }
38
+ }
33
39
  if (!config.options.populate.includes("order.items")) {
34
40
  config.options.populate.unshift("order.items");
35
41
  }
@@ -97,6 +103,12 @@ function setFindMethods(klass, entity) {
97
103
  const config = (0, _1.mapRepositoryToOrderModel)(findOptions_, isRelatedEntity);
98
104
  let orderAlias = "o0";
99
105
  if (isRelatedEntity) {
106
+ if (entity === _models_1.OrderClaim) {
107
+ if (config.options.populate.includes("additional_items") &&
108
+ !config.options.populate.includes("claim_items")) {
109
+ config.options.populate.push("claim_items");
110
+ }
111
+ }
100
112
  // first relation is always order if the entity is not Order
101
113
  const index = config.options.populate.findIndex((p) => p === "order");
102
114
  if (index > -1) {
@@ -1 +1 @@
1
- {"version":3,"file":"base-repository-find.js","sourceRoot":"","sources":["../../src/utils/base-repository-find.ts"],"names":[],"mappings":";;;AACA,0CAA8C;AAC9C,qCAA+B;AAC/B,wBAA6C;AAE7C,SAAgB,cAAc,CAAI,KAAqB,EAAE,MAAW;IAClE,KAAK,CAAC,SAAS,CAAC,IAAI,GAAG,KAAK,UAAU,IAAI,CAExC,OAA4B,EAC5B,OAAiB;QAEjB,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAA;QAC9C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,EAAE,CAAA;QAE9B,MAAM,YAAY,GAAG,EAAE,GAAG,OAAO,EAAS,CAAA;QAC1C,YAAY,CAAC,OAAO,KAAK,EAAE,CAAA;QAC3B,YAAY,CAAC,KAAK,KAAK,EAAE,CAAA;QACzB,YAAY,CAAC,QAAQ,KAAK,EAAE,CAAA;QAE5B,IAAI,CAAC,CAAC,UAAU,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,CAAC;YAC1C,IAAI,YAAY,CAAC,OAAO,CAAC,KAAK,IAAI,IAAI,IAAI,YAAY,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;gBACtE,MAAM,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,EAAE;oBAClC,QAAQ,EAAE,mBAAY,CAAC,SAAS;iBACjC,CAAC,CAAA;YACJ,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,MAAM,CAAC,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AC,CAAA;IACzE,CAAC,CAAA;AACH,CAAC;AApMD,wCAoMC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/order",
3
- "version": "0.1.3-snapshot-20240805210411",
3
+ "version": "0.1.3-snapshot-20240807192059",
4
4
  "description": "Medusa Order module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,19 +34,19 @@
34
34
  "orm:cache:clear": " MIKRO_ORM_CLI=./mikro-orm.config.dev.ts mikro-orm cache:clear"
35
35
  },
36
36
  "devDependencies": {
37
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240805210411",
38
- "@medusajs/types": "1.12.0-snapshot-20240805210411",
37
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240807192059",
38
+ "@medusajs/types": "1.12.0-snapshot-20240807192059",
39
39
  "@mikro-orm/cli": "5.9.7",
40
40
  "cross-env": "^5.2.1",
41
41
  "jest": "^29.7.0",
42
- "medusa-test-utils": "1.1.45-snapshot-20240805210411",
42
+ "medusa-test-utils": "1.1.45-snapshot-20240807192059",
43
43
  "rimraf": "^3.0.2",
44
44
  "ts-node": "^10.9.1",
45
45
  "tsc-alias": "^1.8.6",
46
46
  "typescript": "^5.1.6"
47
47
  },
48
48
  "dependencies": {
49
- "@medusajs/utils": "1.12.0-snapshot-20240805210411",
49
+ "@medusajs/utils": "1.12.0-snapshot-20240807192059",
50
50
  "@mikro-orm/core": "5.9.7",
51
51
  "@mikro-orm/migrations": "5.9.7",
52
52
  "@mikro-orm/postgresql": "5.9.7",