@medusajs/order 0.1.3-snapshot-20240728083710 → 0.1.3-snapshot-20240730111259

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/dist/models/claim-item-image.d.ts +1 -1
  2. package/dist/models/claim-item-image.d.ts.map +1 -1
  3. package/dist/models/claim-item-image.js +14 -14
  4. package/dist/models/claim-item-image.js.map +1 -1
  5. package/dist/models/claim-item.d.ts +2 -2
  6. package/dist/models/claim-item.d.ts.map +1 -1
  7. package/dist/models/claim-item.js +1 -1
  8. package/dist/models/claim-item.js.map +1 -1
  9. package/dist/models/claim.d.ts.map +1 -1
  10. package/dist/models/claim.js +2 -1
  11. package/dist/models/claim.js.map +1 -1
  12. package/dist/models/exchange.d.ts +2 -2
  13. package/dist/models/exchange.d.ts.map +1 -1
  14. package/dist/models/exchange.js +3 -2
  15. package/dist/models/exchange.js.map +1 -1
  16. package/dist/models/index.d.ts +3 -3
  17. package/dist/models/index.d.ts.map +1 -1
  18. package/dist/models/index.js +4 -4
  19. package/dist/models/index.js.map +1 -1
  20. package/dist/models/order-change-action.d.ts.map +1 -1
  21. package/dist/models/order-change-action.js +3 -0
  22. package/dist/models/order-change-action.js.map +1 -1
  23. package/dist/models/order-change.d.ts.map +1 -1
  24. package/dist/models/order-change.js +3 -0
  25. package/dist/models/order-change.js.map +1 -1
  26. package/dist/models/order-shipping-method.d.ts.map +1 -1
  27. package/dist/models/order-shipping-method.js +3 -0
  28. package/dist/models/order-shipping-method.js.map +1 -1
  29. package/dist/models/return.d.ts.map +1 -1
  30. package/dist/models/return.js +2 -1
  31. package/dist/models/return.js.map +1 -1
  32. package/dist/models/transaction.d.ts.map +1 -1
  33. package/dist/models/transaction.js +3 -0
  34. package/dist/models/transaction.js.map +1 -1
  35. package/dist/services/actions/cancel-claim.d.ts.map +1 -1
  36. package/dist/services/actions/cancel-claim.js +14 -36
  37. package/dist/services/actions/cancel-claim.js.map +1 -1
  38. package/dist/services/actions/cancel-exchange.d.ts.map +1 -1
  39. package/dist/services/actions/cancel-exchange.js +0 -3
  40. package/dist/services/actions/cancel-exchange.js.map +1 -1
  41. package/dist/services/actions/cancel-return.d.ts.map +1 -1
  42. package/dist/services/actions/cancel-return.js +0 -2
  43. package/dist/services/actions/cancel-return.js.map +1 -1
  44. package/dist/services/actions/create-claim.d.ts.map +1 -1
  45. package/dist/services/actions/create-claim.js +3 -7
  46. package/dist/services/actions/create-claim.js.map +1 -1
  47. package/dist/services/actions/create-exchange.d.ts.map +1 -1
  48. package/dist/services/actions/create-exchange.js +2 -5
  49. package/dist/services/actions/create-exchange.js.map +1 -1
  50. package/dist/services/actions/create-return.d.ts.map +1 -1
  51. package/dist/services/actions/create-return.js +0 -1
  52. package/dist/services/actions/create-return.js.map +1 -1
  53. package/dist/services/order-module-service.d.ts +18 -6
  54. package/dist/services/order-module-service.d.ts.map +1 -1
  55. package/dist/services/order-module-service.js +4 -1
  56. package/dist/services/order-module-service.js.map +1 -1
  57. package/dist/utils/actions/index.d.ts +1 -0
  58. package/dist/utils/actions/index.d.ts.map +1 -1
  59. package/dist/utils/actions/index.js +1 -0
  60. package/dist/utils/actions/index.js.map +1 -1
  61. package/package.json +5 -5
@@ -116,6 +116,7 @@ __decorate([
116
116
  __decorate([
117
117
  (0, core_1.ManyToOne)(() => return_1.default, {
118
118
  persist: false,
119
+ nullable: true,
119
120
  }),
120
121
  __metadata("design:type", Object)
121
122
  ], Transaction.prototype, "return", void 0);
@@ -133,6 +134,7 @@ __decorate([
133
134
  __decorate([
134
135
  (0, core_1.ManyToOne)(() => exchange_1.default, {
135
136
  persist: false,
137
+ nullable: true,
136
138
  }),
137
139
  __metadata("design:type", Object)
138
140
  ], Transaction.prototype, "exchange", void 0);
@@ -150,6 +152,7 @@ __decorate([
150
152
  __decorate([
151
153
  (0, core_1.ManyToOne)(() => claim_1.default, {
152
154
  persist: false,
155
+ nullable: true,
153
156
  }),
154
157
  __metadata("design:type", Object)
155
158
  ], Transaction.prototype, "claim", void 0);
@@ -1 +1 @@
1
- {"version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E,UAAU,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;IACvD,cAAc,CAAC,aAAa,EAAE;;+CACD;AAG9B;IADC,IAAA,mBAAY,GAAE;;;;2CAOd;AAGD;IADC,IAAA,aAAM,GAAE;;;;yCAOR;AArIkB,WAAW;IAH/B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAC1C,IAAA,aAAM,EAAC,gBAAQ,CAAC,kCAAkC,CAAC;IACnD,mBAAmB,CAAC,aAAa,EAAE;GACf,WAAW,CAsI/B;kBAtIoB,WAAW"}
@@ -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,gBA6GxB"}
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"}
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.cancelClaim = 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, claimOrder, actions, sharedContext) {
6
6
  return await service.createOrderChange_({
7
- order_id: returnRef.order_id,
8
- claim_id: returnRef.id,
9
- reference: "return",
10
- reference_id: returnRef.id,
7
+ order_id: claimOrder.order_id,
8
+ claim_id: claimOrder.id,
9
+ reference: "claim",
10
+ reference_id: claimOrder.id,
11
11
  description: data.description,
12
12
  internal_note: data.internal_note,
13
13
  created_by: data.created_by,
@@ -16,52 +16,33 @@ async function createOrderChange(service, data, returnRef, actions, sharedContex
16
16
  }, sharedContext);
17
17
  }
18
18
  async function cancelClaim(data, sharedContext) {
19
- const claimOrder = await this.retrieveClaim(data.claim_id, {
19
+ const claimOrder = await this.retrieveOrderClaim(data.claim_id, {
20
20
  select: [
21
21
  "id",
22
22
  "order_id",
23
- "return.id",
24
- "return.items.id",
25
- "return.items.quantity",
26
23
  "claim_items.item_id",
24
+ "claim_items.is_additional_item",
27
25
  "claim_items.quantity",
28
26
  "additional_items.id",
29
27
  "additional_items.quantity",
28
+ "additional_items.is_additional_item",
30
29
  ],
31
- relations: ["return.items", "additional_items", "shipping_methods"],
30
+ relations: ["claim_items", "additional_items", "shipping_methods"],
32
31
  }, sharedContext);
33
32
  const actions = [];
34
- claimOrder.return.items.forEach((item) => {
35
- actions.push({
36
- action: utils_1.ChangeActionType.CANCEL_RETURN_ITEM,
37
- order_id: claimOrder.order_id,
38
- claim_id: claimOrder.id,
39
- return_id: claimOrder.return.id,
40
- reference: "return",
41
- reference_id: claimOrder.return.id,
42
- details: {
43
- reference_id: item.id,
44
- order_id: claimOrder.order_id,
45
- claim_id: claimOrder.id,
46
- return_id: claimOrder.return.id,
47
- quantity: item.quantity,
48
- },
49
- });
50
- });
51
- claimOrder.claim_items.forEach((item) => {
33
+ claimOrder.claim_items?.forEach((item) => {
52
34
  actions.push({
53
35
  action: utils_1.ChangeActionType.REINSTATE_ITEM,
54
36
  claim_id: claimOrder.id,
55
37
  reference: "claim",
56
38
  reference_id: claimOrder.id,
57
39
  details: {
58
- reference_id: item.id,
59
- claim_id: claimOrder.id,
40
+ reference_id: item.item_id,
60
41
  quantity: item.quantity,
61
42
  },
62
43
  });
63
44
  });
64
- claimOrder.additional_items.forEach((item) => {
45
+ claimOrder.additional_items?.forEach((item) => {
65
46
  actions.push({
66
47
  action: utils_1.ChangeActionType.ITEM_REMOVE,
67
48
  order_id: claimOrder.order_id,
@@ -69,9 +50,7 @@ async function cancelClaim(data, sharedContext) {
69
50
  reference: "claim",
70
51
  reference_id: claimOrder.id,
71
52
  details: {
72
- reference_id: item.id,
73
- order_id: claimOrder.order_id,
74
- claim_id: claimOrder.id,
53
+ reference_id: item.item_id,
75
54
  quantity: item.quantity,
76
55
  },
77
56
  });
@@ -81,7 +60,6 @@ async function cancelClaim(data, sharedContext) {
81
60
  action: utils_1.ChangeActionType.SHIPPING_REMOVE,
82
61
  order_id: claimOrder.order_id,
83
62
  claim_id: claimOrder.id,
84
- return_id: claimOrder.return.id,
85
63
  reference: "claim",
86
64
  reference_id: shipping.id,
87
65
  amount: shipping.price,
@@ -89,7 +67,7 @@ async function cancelClaim(data, sharedContext) {
89
67
  });
90
68
  const [change] = await createOrderChange(this, data, claimOrder, actions, sharedContext);
91
69
  await (0, utils_1.promiseAll)([
92
- this.updateClaims([
70
+ this.updateOrderClaims([
93
71
  {
94
72
  data: {
95
73
  canceled_at: new Date(),
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-claim.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":";;;AAKA,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,SAAS,EACT,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,QAAQ,EAAE,SAAS,CAAC,EAAE;QACtB,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,SAAS,CAAC,EAAE;QAC1B,WAAW,EAAE,IAAI,CAAC,WAAW;QAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;QACjC,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB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,EACV,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,YAAY,CACf;YACE;gBACE,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;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;AAhHD,kCAgHC"}
1
+ {"version":3,"file":"cancel-claim.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-claim.ts"],"names":[],"mappings":";;;AAKA,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,UAAU,EACV,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,UAAU,CAAC,QAAQ;QAC7B,QAAQ,EAAE,UAAU,CAAC,EAAE;QACvB,SAAS,EAAE,OAAO;QAClB,YAAY,EAAE,UAAU,CAAC,EAAE;QAC3B,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,WAAW,CAE/B,IAAoC,EACpC,aAAuB;IAEvB,MAAM,UAAU,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC9C,IAAI,CAAC,QAAQ,EACb;QACE,MAAM,EAAE;YACN,IAAI;YACJ,UAAU;YACV,qBAAqB;YACrB,gCAAgC;YAChC,sBAAsB;YACtB,qBAAqB;YACrB,2BAA2B;YAC3B,qCAAqC;SACtC;QACD,SAAS,EAA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AAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,iBAAiB,CACpB;YACE;gBACE,IAAI,EAAE;oBACJ,WAAW,EAAE,IAAI,IAAI,EAAE;iBACxB;gBACD,QAAQ,EAAE;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;AAzFD,kCAyFC"}
@@ -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,gBA6FxB"}
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"}
@@ -39,9 +39,6 @@ async function cancelExchange(data, sharedContext) {
39
39
  reference_id: exchangeOrder.return.id,
40
40
  details: {
41
41
  reference_id: item.item_id,
42
- order_id: exchangeOrder.order_id,
43
- exchange_id: exchangeOrder.id,
44
- return_id: exchangeOrder.return.id,
45
42
  quantity: item.quantity,
46
43
  },
47
44
  });
@@ -1 +1 @@
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,SAAS,EACT,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,WAAW,EAAE,SAAS,CAAC,EAAE;QACzB,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,SAAS,CAAC,EAAE;QAC1B,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,gBAAgB,CAC/C,IAAI,CAAC,WAAW,EAChB;QACE,MAAM,EAAE;YACN,IAAI;YACJ,UAAU;YACV,WAAW;YACX,sBAAsB;YACtB,uBAAuB;YACvB,qBAAqB;YACrB,2BAA2B;SAC5B;QACD,SAAS,EAAE,CAAC,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,CAAC;KACpE,EACD,aAAa,CACd,CAAA;IAED,MAAM,OAAO,GAAiC,EAAE,CAAA;IAEhD,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC1C,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,kBAAkB;YAC3C,QAAQ,EAAE,aAAa,CAAC,QAAQ;YAChC,WAAW,EAAE,aAAa,CAAC,EAAE;YAC7B,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,KAAK;SACvB,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,eAAe,CAClB;YACE;gBACE,IAAI,EAAE;oBACJ,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;AAhGD,wCAgGC"}
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,SAAS,EACT,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,WAAW,EAAE,SAAS,CAAC,EAAE;QACzB,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,SAAS,CAAC,EAAE;QAC1B,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,gBAAgB,CAC/C,IAAI,CAAC,WAAW,EAChB;QACE,MAAM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AC,gBAAgB,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;QACnD,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,eAAe;YACxC,QAAQ,EAAE,aAAa,CAAC,QAAQ;YAChC,WAAW,EAAE,aAAa,CAAC,EAAE;YAC7B,SAAS,EAAE,aAAa,CAAC,MAAM,CAAC,EAAE;YAClC,SAAS,EAAE,UAAU;YACrB,YAAY,EAAE,QAAQ,CAAC,EAAE;YACzB,MAAM,EAAE,QAAQ,CAAC,KAAK;SACvB,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,iBAAiB,CACtC,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,eAAe,CAClB;YACE;gBACE,IAAI,EAAE;oBACJ,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 +1 @@
1
- {"version":3,"file":"cancel-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-return.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,YAAY,CAChC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,oBAAoB,EACrC,aAAa,CAAC,EAAE,OAAO,gBAwExB"}
1
+ {"version":3,"file":"cancel-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/cancel-return.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA0BxB,wBAAsB,YAAY,CAChC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,oBAAoB,EACrC,aAAa,CAAC,EAAE,OAAO,gBAsExB"}
@@ -36,8 +36,6 @@ async function cancelReturn(data, sharedContext) {
36
36
  reference_id: returnOrder.id,
37
37
  details: {
38
38
  reference_id: item.item_id,
39
- order_id: returnOrder.order_id,
40
- return_id: returnOrder.id,
41
39
  quantity: item.quantity,
42
40
  },
43
41
  });
@@ -1 +1 @@
1
- {"version":3,"file":"cancel-return.js","sourceRoot":"","sources":["../../../src/services/actions/cancel-return.ts"],"names":[],"mappings":";;;AAKA,2CAA8D;AAE9D,KAAK,UAAU,iBAAiB,CAC9B,OAAO,EACP,IAAI,EACJ,SAAS,EACT,OAAO,EACP,aAAa;IAEb,OAAO,MAAM,OAAO,CAAC,kBAAkB,CACrC;QACE,QAAQ,EAAE,SAAS,CAAC,QAAQ;QAC5B,SAAS,EAAE,SAAS,CAAC,EAAE;QACvB,SAAS,EAAE,QAAQ;QACnB,YAAY,EAAE,SAAS,CAAC,EAAE;QAC1B,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,YAAY,CAEhC,IAAqC,EACrC,aAAuB;IAEvB,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,cAAc,CAC3C,IAAI,CAAC,SAAS,EACd;QACE,MAAM,EAAE;YACN,IAAI;YACJ,UAAU;YACV,eAAe;YACf,gBAAgB;YAChB,yBAAyB;SAC1B;QACD,SAAS,EAAE,CAAC,OAAO,EAAE,kBAAkB,CAAC;KACzC,EACD,aAAa,CACd,CAAA;IAED,MAAM,O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I,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;AAoRxB,wBAAsB,WAAW,CAC/B,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,mBAAmB,EACpC,aAAa,CAAC,EAAE,OAAO,gBA8ExB"}
@@ -30,8 +30,6 @@ function createReturnItem(em, item, claimReference, returnReference, actions) {
30
30
  reference_id: returnReference.id,
31
31
  details: {
32
32
  reference_id: item.id,
33
- return_id: returnReference.id,
34
- claim_id: claimReference.id,
35
33
  quantity: item.quantity,
36
34
  metadata: item.metadata,
37
35
  },
@@ -53,7 +51,6 @@ function createClaimAndReturnItems(em, data, claimReference, returnReference, ac
53
51
  reference_id: claimReference.id,
54
52
  details: {
55
53
  reference_id: item.id,
56
- claim_id: claimReference.id,
57
54
  quantity: item.quantity,
58
55
  metadata: item.metadata,
59
56
  },
@@ -61,7 +58,7 @@ function createClaimAndReturnItems(em, data, claimReference, returnReference, ac
61
58
  returnItems.push(returnReference
62
59
  ? createReturnItem(em, item, claimReference, returnReference, actions)
63
60
  : undefined);
64
- return em.create(_models_1.ClaimItem, {
61
+ return em.create(_models_1.OrderClaimItem, {
65
62
  item_id: item.id,
66
63
  reason: item.reason,
67
64
  quantity: item.quantity,
@@ -88,12 +85,11 @@ async function processAdditionalItems(em, service, data, order, claimReference,
88
85
  reference_id: claimReference.id,
89
86
  details: {
90
87
  reference_id: item.id,
91
- claim_id: claimReference.id,
92
88
  quantity: item.quantity,
93
89
  metadata: item.metadata,
94
90
  },
95
91
  });
96
- additionalItems.push(em.create(_models_1.ClaimItem, {
92
+ additionalItems.push(em.create(_models_1.OrderClaimItem, {
97
93
  item_id: item.id,
98
94
  quantity: item.quantity,
99
95
  note: item.note,
@@ -103,7 +99,7 @@ async function processAdditionalItems(em, service, data, order, claimReference,
103
99
  }
104
100
  else {
105
101
  itemsToAdd.push(item);
106
- additionalNewItems.push(em.create(_models_1.ClaimItem, {
102
+ additionalNewItems.push(em.create(_models_1.OrderClaimItem, {
107
103
  quantity: item.quantity,
108
104
  note: item.note,
109
105
  metadata: item.metadata,
@@ -1 +1 @@
1
- {"version":3,"file":"create-claim.js","sourceRoot":"","sources":["../../../src/services/actions/create-claim.ts"],"names":[],"mappings":";;;AAKA,2CAQwB;AACxB,qCAAmE;AAEnE,SAAS,4BAA4B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACnD,MAAM,cAAc,GAAG,EAAE,CAAC,MAAM,CAAC,oBAAU,EAAE;QAC3C,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,IAAI,EAAE,IAAI,CAAC,IAAiB;QAC5B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,aAAa,EAAG,IAAI,CAAC,aAAyB,IAAI,IAAI;KACvD,CAAC,CAAA;IAEF,MAAM,eAAe,GACnB,IAAI,CAAC,IAAI,KAAK,iBAAS,CAAC,OAAO;QAC7B,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,gBAAM,EAAE;YAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,aAAa,EAAE,KAAK,CAAC,OAAO;YAC5B,MAAM,EAAE,oBAAY,CAAC,SAAS;YAC9B,QAAQ,EAAE,cAAc,CAAC,EAAE;YAC3B,aAAa,EAAG,IAAI,CAAC,aAAyB,IAAI,IAAI;SACvD,CAAC;QACJ,CAAC,CAAC,SAAS,CAAA;IAEf,cAAc,CAAC,SAAS,GAAG,eAAe,EAAE,EAAE,CAAA;IAE9C,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA;AAC5C,CAAC;AAED,SAAS,gBAAgB,CAAC,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,eAAe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,EACP,aAAa,CACd,CAAA;IACD,MAAM,sBAAsB,CAC1B,IAAI,EACJ,IAAI,EACJ,cAAc,EACd,OAAO,EACP,aAAa,CACd,CAAA;IACD,MAAM,qBAAqB,CACzB,IAAI,EACJ,IAAI,EACJ,cAAc,EACd,eAAe,EACf,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAC1C;QACE,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,QAAQ,EAAE,cAAc,CAAC,EAAE;QAC3B,SAAS,EAAE,eAAe,CAAC,EAAE;QAC7B,WAAW,EAAE,uBAAe,CAAC,KAAK;QAClC,SAAS,EAAE,OAAO;QAClB,YAAY,EAAE,cAAc,CAAC,EAAE;QAC/B,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,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;AAkPxB,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;AA+OxB,wBAAsB,cAAc,CAClC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACvC,aAAa,CAAC,EAAE,OAAO,gBAqExB"}
@@ -29,8 +29,6 @@ function createReturnItems(em, data, exchangeReference, returnReference, actions
29
29
  reference_id: returnReference.id,
30
30
  details: {
31
31
  reference_id: item.id,
32
- return_id: returnReference.id,
33
- exchange_id: exchangeReference.id,
34
32
  quantity: item.quantity,
35
33
  metadata: item.metadata,
36
34
  },
@@ -62,12 +60,11 @@ async function processAdditionalItems(em, service, data, order, exchangeReferenc
62
60
  reference_id: exchangeReference.id,
63
61
  details: {
64
62
  reference_id: item.id,
65
- exchange_id: exchangeReference.id,
66
63
  quantity: item.quantity,
67
64
  metadata: item.metadata,
68
65
  },
69
66
  });
70
- additionalItems.push(em.create(_models_1.ExchangeItem, {
67
+ additionalItems.push(em.create(_models_1.OrderExchangeItem, {
71
68
  item_id: item.id,
72
69
  quantity: item.quantity,
73
70
  note: item.note,
@@ -77,7 +74,7 @@ async function processAdditionalItems(em, service, data, order, exchangeReferenc
77
74
  }
78
75
  else {
79
76
  itemsToAdd.push(item);
80
- additionalNewItems.push(em.create(_models_1.ExchangeItem, {
77
+ additionalNewItems.push(em.create(_models_1.OrderExchangeItem, {
81
78
  quantity: item.quantity,
82
79
  note: item.note,
83
80
  metadata: item.metadata,
@@ -1 +1 @@
1
- {"version":3,"file":"create-exchange.js","sourceRoot":"","sources":["../../../src/services/actions/create-exchange.ts"],"names":[],"mappings":";;;AAKA,2CAOwB;AACxB,qCAAyE;AAEzE,SAAS,+BAA+B,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IACtD,MAAM,iBAA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,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":"create-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-return.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA8HxB,wBAAsB,YAAY,CAChC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,oBAAoB,EACrC,aAAa,CAAC,EAAE,OAAO,gBA8BxB"}
1
+ {"version":3,"file":"create-return.d.ts","sourceRoot":"","sources":["../../../src/services/actions/create-return.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACX,MAAM,iBAAiB,CAAA;AA6HxB,wBAAsB,YAAY,CAChC,IAAI,EAAE,GAAG,EACT,IAAI,EAAE,UAAU,CAAC,oBAAoB,EACrC,aAAa,CAAC,EAAE,OAAO,gBA8BxB"}
@@ -22,7 +22,6 @@ function createReturnItems(em, data, returnRef, actions) {
22
22
  reference_id: returnRef.id,
23
23
  details: {
24
24
  reference_id: item.id,
25
- return_id: returnRef.id,
26
25
  quantity: item.quantity,
27
26
  metadata: item.metadata,
28
27
  },
@@ -1 +1 @@
1
- {"version":3,"file":"create-return.js","sourceRoot":"","sources":["../../../src/services/actions/create-return.ts"],"names":[],"mappings":";;;AAKA,2CAQwB;AACxB,qCAA4C;AAE5C,SAAS,qBAAqB,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK;IAC5C,OAAO,EAAE,CAAC,MAAM,CAAC,gBAAM,EAAE;QACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,aAAa,EAAE,KAAK,CAAC,OAAO;QAC5B,MAAM,EAAE,oBAAY,CAAC,SAAS;QAC9B,eAAe,EAAE,IAAI,CAAC,eAAe;QACrC,aAAa,EAAG,IAAI,CAAC,aAAyB,IAAI,IAAI;KACvD,CAAC,CAAA;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO;IACrD,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QAC7B,OAAO,CAAC,IAAI,CAAC;YACX,MAAM,EAAE,wBAAgB,CAAC,WAAW;YACpC,SAAS,EAAE,SAAS,CAAC,EAAE;YACvB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,SAAS,CAAC,EAAE;YAC1B,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI,CAAC,EAAE;gBACrB,SAAS,EAAE,SAAS,CAAC,EAAE;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACxB;SACF,CAAC,CAAA;QAEF,OAAO,EAAE,CAAC,MAAM,CAAC,oBAAU,EAAE;YAC3B,SAAS,EA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ACnD,MAAM,SAAS,GAAG,qBAAqB,CAAC,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,CAAA;IACxD,MAAM,OAAO,GAAiC,EAAE,CAAA;IAEhD,SAAS,CAAC,KAAK,GAAG,iBAAiB,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,CAAC,CAAA;IAEjE,MAAM,qBAAqB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,CAAA;IAE1E,MAAM,MAAM,GAAG,MAAM,iBAAiB,CACpC,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,OAAO,EACP,aAAa,CACd,CAAA;IAED,MAAM,IAAA,kBAAU,EAAC;QACf,IAAI,CAAC,aAAa,CAAC,CAAC,SAAS,CAAC,EAAE,aAAa,CAAC;QAC9C,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,aAAa,CAAC;KACrD,CAAC,CAAA;IAEF,OAAO,SAAS,CAAA;AAClB,CAAC;AAjCD,oCAiCC"}
@@ -1,5 +1,5 @@
1
1
  import { Context, DAL, FindConfig, InternalModuleDeclaration, IOrderModuleService, ModulesSdkTypes, OrderDTO, OrderTypes, RestoreReturn, SoftDeleteReturn } from "@medusajs/types";
2
- import { Address, LineItem, LineItemAdjustment, LineItemTaxLine, Order, OrderChange, OrderChangeAction, OrderClaim, OrderExchange, OrderItem, OrderShippingMethod, OrderSummary, Return, ReturnItem, ReturnReason, ShippingMethod, ShippingMethodAdjustment, ShippingMethodTaxLine, Transaction } from "../models";
2
+ import { Address, LineItem, LineItemAdjustment, LineItemTaxLine, Order, OrderChange, OrderChangeAction, OrderClaim, OrderClaimItem, OrderClaimItemImage, OrderExchange, OrderExchangeItem, OrderItem, OrderShippingMethod, OrderSummary, Return, ReturnItem, ReturnReason, ShippingMethod, ShippingMethodAdjustment, ShippingMethodTaxLine, Transaction } from "../models";
3
3
  import { CreateOrderChangeDTO, CreateOrderLineItemDTO, CreateOrderShippingMethodDTO } from "../types";
4
4
  import OrderService from "./order-service";
5
5
  type InjectedDependencies = {
@@ -71,19 +71,28 @@ declare const OrderModuleService_base: import("@medusajs/utils/dist/modules-sdk/
71
71
  dto: OrderTypes.OrderTransactionDTO;
72
72
  };
73
73
  Return: {
74
- dto: any;
74
+ dto: OrderTypes.ReturnDTO;
75
75
  };
76
76
  ReturnItem: {
77
- dto: any;
77
+ dto: OrderTypes.OrderReturnItemDTO;
78
78
  };
79
79
  OrderClaim: {
80
- dto: any;
80
+ dto: OrderTypes.OrderClaimDTO;
81
+ };
82
+ OrderClaimItem: {
83
+ dto: OrderTypes.OrderClaimItemDTO;
84
+ };
85
+ OrderClaimItemImage: {
86
+ dto: OrderTypes.OrderClaimItemImageDTO;
81
87
  };
82
88
  OrderExchange: {
83
- dto: any;
89
+ dto: OrderTypes.OrderExchangeDTO;
90
+ };
91
+ OrderExchangeItem: {
92
+ dto: OrderTypes.OrderExchangeItemDTO;
84
93
  };
85
94
  }>;
86
- export default class OrderModuleService<TOrder extends Order = Order, TAddress extends Address = Address, TLineItem extends LineItem = LineItem, TLineItemAdjustment extends LineItemAdjustment = LineItemAdjustment, TLineItemTaxLine extends LineItemTaxLine = LineItemTaxLine, TShippingMethodAdjustment extends ShippingMethodAdjustment = ShippingMethodAdjustment, TShippingMethodTaxLine extends ShippingMethodTaxLine = ShippingMethodTaxLine, TShippingMethod extends ShippingMethod = ShippingMethod, TTransaction extends Transaction = Transaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod, TReturnReason extends ReturnReason = ReturnReason, TReturn extends Return = Return, TReturnItem extends ReturnItem = ReturnItem, TClaim extends OrderClaim = OrderClaim, TExchange extends OrderExchange = OrderExchange> extends OrderModuleService_base implements IOrderModuleService {
95
+ export default class OrderModuleService<TOrder extends Order = Order, TAddress extends Address = Address, TLineItem extends LineItem = LineItem, TLineItemAdjustment extends LineItemAdjustment = LineItemAdjustment, TLineItemTaxLine extends LineItemTaxLine = LineItemTaxLine, TShippingMethodAdjustment extends ShippingMethodAdjustment = ShippingMethodAdjustment, TShippingMethodTaxLine extends ShippingMethodTaxLine = ShippingMethodTaxLine, TShippingMethod extends ShippingMethod = ShippingMethod, TTransaction extends Transaction = Transaction, TOrderChange extends OrderChange = OrderChange, TOrderChangeAction extends OrderChangeAction = OrderChangeAction, TOrderItem extends OrderItem = OrderItem, TOrderSummary extends OrderSummary = OrderSummary, TOrderShippingMethod extends OrderShippingMethod = OrderShippingMethod, TReturnReason extends ReturnReason = ReturnReason, TReturn extends Return = Return, TReturnItem extends ReturnItem = ReturnItem, TClaim extends OrderClaim = OrderClaim, TClaimItem extends OrderClaimItem = OrderClaimItem, TClaimItemImage extends OrderClaimItemImage = OrderClaimItemImage, TExchange extends OrderExchange = OrderExchange, TExchangeItem extends OrderExchangeItem = OrderExchangeItem> extends OrderModuleService_base implements IOrderModuleService {
87
96
  protected readonly moduleDeclaration: InternalModuleDeclaration;
88
97
  protected baseRepository_: DAL.RepositoryService;
89
98
  protected orderService_: OrderService;
@@ -104,7 +113,10 @@ export default class OrderModuleService<TOrder extends Order = Order, TAddress e
104
113
  protected returnService_: ModulesSdkTypes.IMedusaInternalService<TReturn>;
105
114
  protected returnItemService_: ModulesSdkTypes.IMedusaInternalService<TReturnItem>;
106
115
  protected orderClaimService_: ModulesSdkTypes.IMedusaInternalService<TClaim>;
116
+ protected orderClaimItemService_: ModulesSdkTypes.IMedusaInternalService<TClaimItem>;
117
+ protected orderClaimItemImageService_: ModulesSdkTypes.IMedusaInternalService<TClaimItemImage>;
107
118
  protected orderExchangeService_: ModulesSdkTypes.IMedusaInternalService<TExchange>;
119
+ protected orderExchangeItemService_: ModulesSdkTypes.IMedusaInternalService<TExchangeItem>;
108
120
  constructor({ baseRepository, orderService, addressService, lineItemService, shippingMethodAdjustmentService, shippingMethodService, lineItemAdjustmentService, shippingMethodTaxLineService, lineItemTaxLineService, transactionService, orderChangeService, orderChangeActionService, orderItemService, orderSummaryService, orderShippingMethodService, returnReasonService, returnService, returnItemService, orderClaimService, orderExchangeService, }: InjectedDependencies, moduleDeclaration: InternalModuleDeclaration);
109
121
  private shouldIncludeTotals;
110
122
  private addRelationsToCalculateTotals;
@@ -1 +1 @@
1
- {"version":3,"file":"order-module-service.d.ts","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EACP,GAAG,EACH,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,aAAa,EACb,gBAAgB,EAEjB,MAAM,iBAAiB,CAAA;AAqBxB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,SAAS,EACT,mBAAmB,EACnB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,cAAc,EACd,wBAAwB,EACxB,qBAAqB,EACrB,WAAW,EACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EACL,oBAAoB,EAEpB,sBAAsB,EAEtB,4BAA4B,EAM7B,MAAM,QAAQ,CAAA;AAQf,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,KAAK,oBAAoB,GAAG;IAC1B,cAAc,EAAE,GAAG,CAAC,iBAAiB,CAAA;IACrC,YAAY,EAAE,YAAY,CAAA;IAC1B,cAAc,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC3D,eAAe,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC5D,+BAA+B,EAAE,eAAe,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAA;IAC5E,qBAAqB,EAAE,eAAe,CAAC,sBAAsB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C;YAStB,YAAY;IAQpB,cAAc,CAClB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;IA6BjC,eAAe,CACnB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,GAAG,CAAC;IAKT,cAAc,CAClB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;YASzB,eAAe;IAQvB,mBAAmB,CACvB,IAAI,EAAE,UAAU,CAAC,2BAA2B,EAC3B,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,iBAAiB,CACrB,IAAI,EAAE,UAAU,CAAC,yBAAyB,EACzB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;CAGjB"}
1
+ {"version":3,"file":"order-module-service.d.ts","sourceRoot":"","sources":["../../src/services/order-module-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,OAAO,EACP,GAAG,EACH,UAAU,EACV,yBAAyB,EACzB,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,UAAU,EACV,aAAa,EACb,gBAAgB,EAEjB,MAAM,iBAAiB,CAAA;AAqBxB,OAAO,EACL,OAAO,EACP,QAAQ,EACR,kBAAkB,EAClB,eAAe,EACf,KAAK,EACL,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,cAAc,EACd,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACnB,YAAY,EACZ,MAAM,EACN,UAAU,EACV,YAAY,EACZ,cAAc,EACd,wBAA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CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,GAAG,CAAC;IAKT,cAAc,CAClB,IAAI,EAAE,UAAU,CAAC,sBAAsB,EACtB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,UAAU,CAAC,gBAAgB,CAAC;YASzB,eAAe;IAQvB,mBAAmB,CACvB,IAAI,EAAE,UAAU,CAAC,2BAA2B,EAC3B,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,iBAAiB,CACrB,IAAI,EAAE,UAAU,CAAC,yBAAyB,EACzB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;IAQV,gBAAgB,CACpB,IAAI,EAAE,UAAU,CAAC,wBAAwB,EACxB,aAAa,CAAC,EAAE,OAAO,GACvC,OAAO,CAAC,IAAI,CAAC;CAGjB"}
@@ -59,7 +59,10 @@ const generateMethodForModels = {
59
59
  Return: _models_1.Return,
60
60
  ReturnItem: _models_1.ReturnItem,
61
61
  OrderClaim: _models_1.OrderClaim,
62
+ OrderClaimItem: _models_1.OrderClaimItem,
63
+ OrderClaimItemImage: _models_1.OrderClaimItemImage,
62
64
  OrderExchange: _models_1.OrderExchange,
65
+ OrderExchangeItem: _models_1.OrderExchangeItem,
63
66
  };
64
67
  // TODO: rm template args here, keep it for later to not collide with carlos work at least as little as possible
65
68
  class OrderModuleService extends utils_1.ModulesSdkUtils.MedusaService(generateMethodForModels) {
@@ -1495,7 +1498,7 @@ class OrderModuleService extends utils_1.ModulesSdkUtils.MedusaService(generateM
1495
1498
  async cancelClaim(data, sharedContext) {
1496
1499
  const ret = await this.cancelClaim_(data, sharedContext);
1497
1500
  return await this.retrieveOrderClaim(ret.id, {
1498
- relations: ["items"],
1501
+ relations: ["additional_items", "claim_items"],
1499
1502
  });
1500
1503
  }
1501
1504
  async cancelClaim_(data, sharedContext) {