@medusajs/order 0.1.3-snapshot-20240704130951 → 0.1.3-snapshot-20240711051411

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +4 -23
  4. package/dist/index.js.map +1 -1
  5. package/dist/migrations/Migration20240219102530.d.ts +1 -0
  6. package/dist/migrations/Migration20240219102530.d.ts.map +1 -0
  7. package/dist/migrations/Migration20240604100512.d.ts +1 -0
  8. package/dist/migrations/Migration20240604100512.d.ts.map +1 -0
  9. package/dist/models/address.d.ts +2 -1
  10. package/dist/models/address.d.ts.map +1 -0
  11. package/dist/models/adjustment-line.d.ts +2 -1
  12. package/dist/models/adjustment-line.d.ts.map +1 -0
  13. package/dist/models/claim-item-image.d.ts +2 -1
  14. package/dist/models/claim-item-image.d.ts.map +1 -0
  15. package/dist/models/claim-item.d.ts +2 -1
  16. package/dist/models/claim-item.d.ts.map +1 -0
  17. package/dist/models/claim.d.ts +2 -1
  18. package/dist/models/claim.d.ts.map +1 -0
  19. package/dist/models/exchange-item.d.ts +2 -1
  20. package/dist/models/exchange-item.d.ts.map +1 -0
  21. package/dist/models/exchange.d.ts +2 -1
  22. package/dist/models/exchange.d.ts.map +1 -0
  23. package/dist/models/index.d.ts +1 -0
  24. package/dist/models/index.d.ts.map +1 -0
  25. package/dist/models/line-item-adjustment.d.ts +1 -0
  26. package/dist/models/line-item-adjustment.d.ts.map +1 -0
  27. package/dist/models/line-item-tax-line.d.ts +1 -0
  28. package/dist/models/line-item-tax-line.d.ts.map +1 -0
  29. package/dist/models/line-item.d.ts +2 -1
  30. package/dist/models/line-item.d.ts.map +1 -0
  31. package/dist/models/order-change-action.d.ts +2 -1
  32. package/dist/models/order-change-action.d.ts.map +1 -0
  33. package/dist/models/order-change.d.ts +3 -2
  34. package/dist/models/order-change.d.ts.map +1 -0
  35. package/dist/models/order-change.js +2 -1
  36. package/dist/models/order-change.js.map +1 -1
  37. package/dist/models/order-item.d.ts +2 -1
  38. package/dist/models/order-item.d.ts.map +1 -0
  39. package/dist/models/order-shipping-method.d.ts +2 -1
  40. package/dist/models/order-shipping-method.d.ts.map +1 -0
  41. package/dist/models/order-summary.d.ts +1 -0
  42. package/dist/models/order-summary.d.ts.map +1 -0
  43. package/dist/models/order.d.ts +2 -1
  44. package/dist/models/order.d.ts.map +1 -0
  45. package/dist/models/return-item.d.ts +2 -1
  46. package/dist/models/return-item.d.ts.map +1 -0
  47. package/dist/models/return-reason.d.ts +2 -1
  48. package/dist/models/return-reason.d.ts.map +1 -0
  49. package/dist/models/return.d.ts +2 -1
  50. package/dist/models/return.d.ts.map +1 -0
  51. package/dist/models/shipping-method-adjustment.d.ts +1 -0
  52. package/dist/models/shipping-method-adjustment.d.ts.map +1 -0
  53. package/dist/models/shipping-method-tax-line.d.ts +1 -0
  54. package/dist/models/shipping-method-tax-line.d.ts.map +1 -0
  55. package/dist/models/shipping-method.d.ts +1 -0
  56. package/dist/models/shipping-method.d.ts.map +1 -0
  57. package/dist/models/tax-line.d.ts +1 -0
  58. package/dist/models/tax-line.d.ts.map +1 -0
  59. package/dist/models/transaction.d.ts +2 -1
  60. package/dist/models/transaction.d.ts.map +1 -0
  61. package/dist/repositories/claim.d.ts +1 -0
  62. package/dist/repositories/claim.d.ts.map +1 -0
  63. package/dist/repositories/exchange.d.ts +1 -0
  64. package/dist/repositories/exchange.d.ts.map +1 -0
  65. package/dist/repositories/index.d.ts +1 -0
  66. package/dist/repositories/index.d.ts.map +1 -0
  67. package/dist/repositories/order.d.ts +1 -0
  68. package/dist/repositories/order.d.ts.map +1 -0
  69. package/dist/repositories/return.d.ts +1 -0
  70. package/dist/repositories/return.d.ts.map +1 -0
  71. package/dist/services/actions/cancel-claim.d.ts +1 -0
  72. package/dist/services/actions/cancel-claim.d.ts.map +1 -0
  73. package/dist/services/actions/cancel-claim.js +4 -5
  74. package/dist/services/actions/cancel-claim.js.map +1 -1
  75. package/dist/services/actions/cancel-exchange.d.ts +1 -0
  76. package/dist/services/actions/cancel-exchange.d.ts.map +1 -0
  77. package/dist/services/actions/cancel-exchange.js +3 -4
  78. package/dist/services/actions/cancel-exchange.js.map +1 -1
  79. package/dist/services/actions/cancel-fulfillment.d.ts +1 -0
  80. package/dist/services/actions/cancel-fulfillment.d.ts.map +1 -0
  81. package/dist/services/actions/cancel-fulfillment.js +1 -1
  82. package/dist/services/actions/cancel-fulfillment.js.map +1 -1
  83. package/dist/services/actions/cancel-return.d.ts +1 -0
  84. package/dist/services/actions/cancel-return.d.ts.map +1 -0
  85. package/dist/services/actions/cancel-return.js +2 -3
  86. package/dist/services/actions/cancel-return.js.map +1 -1
  87. package/dist/services/actions/create-claim.d.ts +1 -0
  88. package/dist/services/actions/create-claim.d.ts.map +1 -0
  89. package/dist/services/actions/create-claim.js +7 -7
  90. package/dist/services/actions/create-claim.js.map +1 -1
  91. package/dist/services/actions/create-exchange.d.ts +1 -0
  92. package/dist/services/actions/create-exchange.d.ts.map +1 -0
  93. package/dist/services/actions/create-exchange.js +6 -6
  94. package/dist/services/actions/create-exchange.js.map +1 -1
  95. package/dist/services/actions/create-return.d.ts +1 -0
  96. package/dist/services/actions/create-return.d.ts.map +1 -0
  97. package/dist/services/actions/create-return.js +2 -3
  98. package/dist/services/actions/create-return.js.map +1 -1
  99. package/dist/services/actions/index.d.ts +1 -0
  100. package/dist/services/actions/index.d.ts.map +1 -0
  101. package/dist/services/actions/receive-return.d.ts +1 -0
  102. package/dist/services/actions/receive-return.d.ts.map +1 -0
  103. package/dist/services/actions/receive-return.js +1 -2
  104. package/dist/services/actions/receive-return.js.map +1 -1
  105. package/dist/services/actions/register-fulfillment.d.ts +1 -0
  106. package/dist/services/actions/register-fulfillment.d.ts.map +1 -0
  107. package/dist/services/actions/register-fulfillment.js +1 -1
  108. package/dist/services/actions/register-fulfillment.js.map +1 -1
  109. package/dist/services/actions/register-shipment.d.ts +1 -0
  110. package/dist/services/actions/register-shipment.d.ts.map +1 -0
  111. package/dist/services/actions/register-shipment.js +1 -1
  112. package/dist/services/actions/register-shipment.js.map +1 -1
  113. package/dist/services/index.d.ts +1 -1
  114. package/dist/services/index.d.ts.map +1 -0
  115. package/dist/services/index.js +1 -3
  116. package/dist/services/index.js.map +1 -1
  117. package/dist/services/order-module-service.d.ts +6 -5
  118. package/dist/services/order-module-service.d.ts.map +1 -0
  119. package/dist/services/order-module-service.js +81 -9
  120. package/dist/services/order-module-service.js.map +1 -1
  121. package/dist/services/order-service.d.ts +1 -0
  122. package/dist/services/order-service.d.ts.map +1 -0
  123. package/dist/types/address.d.ts +1 -0
  124. package/dist/types/address.d.ts.map +1 -0
  125. package/dist/types/index.d.ts +1 -0
  126. package/dist/types/index.d.ts.map +1 -0
  127. package/dist/types/line-item-adjustment.d.ts +1 -0
  128. package/dist/types/line-item-adjustment.d.ts.map +1 -0
  129. package/dist/types/line-item-tax-line.d.ts +1 -0
  130. package/dist/types/line-item-tax-line.d.ts.map +1 -0
  131. package/dist/types/line-item.d.ts +1 -0
  132. package/dist/types/line-item.d.ts.map +1 -0
  133. package/dist/types/order-change.d.ts +1 -0
  134. package/dist/types/order-change.d.ts.map +1 -0
  135. package/dist/types/order-detail.d.ts +1 -0
  136. package/dist/types/order-detail.d.ts.map +1 -0
  137. package/dist/types/order.d.ts +1 -0
  138. package/dist/types/order.d.ts.map +1 -0
  139. package/dist/types/shipping-method-adjustment.d.ts +1 -0
  140. package/dist/types/shipping-method-adjustment.d.ts.map +1 -0
  141. package/dist/types/shipping-method-tax-line.d.ts +1 -0
  142. package/dist/types/shipping-method-tax-line.d.ts.map +1 -0
  143. package/dist/types/shipping-method.d.ts +1 -0
  144. package/dist/types/shipping-method.d.ts.map +1 -0
  145. package/dist/types/tax-line.d.ts +1 -0
  146. package/dist/types/tax-line.d.ts.map +1 -0
  147. package/dist/types/transaction.d.ts +1 -0
  148. package/dist/types/transaction.d.ts.map +1 -0
  149. package/dist/types/utils/index.d.ts +6 -0
  150. package/dist/types/utils/index.d.ts.map +1 -0
  151. package/dist/types/utils/index.js.map +1 -1
  152. package/dist/utils/actions/cancel-item-fulfillment.d.ts +1 -0
  153. package/dist/utils/actions/cancel-item-fulfillment.d.ts.map +1 -0
  154. package/dist/utils/actions/cancel-item-fulfillment.js +4 -4
  155. package/dist/utils/actions/cancel-item-fulfillment.js.map +1 -1
  156. package/dist/utils/actions/cancel-return.d.ts +1 -0
  157. package/dist/utils/actions/cancel-return.d.ts.map +1 -0
  158. package/dist/utils/actions/cancel-return.js +4 -4
  159. package/dist/utils/actions/cancel-return.js.map +1 -1
  160. package/dist/utils/actions/cancel.d.ts +1 -0
  161. package/dist/utils/actions/cancel.d.ts.map +1 -0
  162. package/dist/utils/actions/cancel.js +2 -2
  163. package/dist/utils/actions/cancel.js.map +1 -1
  164. package/dist/utils/actions/fulfill-item.d.ts +1 -0
  165. package/dist/utils/actions/fulfill-item.d.ts.map +1 -0
  166. package/dist/utils/actions/fulfill-item.js +4 -4
  167. package/dist/utils/actions/fulfill-item.js.map +1 -1
  168. package/dist/utils/actions/index.d.ts +1 -0
  169. package/dist/utils/actions/index.d.ts.map +1 -0
  170. package/dist/utils/actions/item-add.d.ts +1 -0
  171. package/dist/utils/actions/item-add.d.ts.map +1 -0
  172. package/dist/utils/actions/item-add.js +8 -7
  173. package/dist/utils/actions/item-add.js.map +1 -1
  174. package/dist/utils/actions/item-remove.d.ts +1 -0
  175. package/dist/utils/actions/item-remove.d.ts.map +1 -0
  176. package/dist/utils/actions/item-remove.js +4 -4
  177. package/dist/utils/actions/item-remove.js.map +1 -1
  178. package/dist/utils/actions/receive-damaged-return-item.d.ts +1 -0
  179. package/dist/utils/actions/receive-damaged-return-item.d.ts.map +1 -0
  180. package/dist/utils/actions/receive-damaged-return-item.js +4 -4
  181. package/dist/utils/actions/receive-damaged-return-item.js.map +1 -1
  182. package/dist/utils/actions/receive-return-item.d.ts +1 -0
  183. package/dist/utils/actions/receive-return-item.d.ts.map +1 -0
  184. package/dist/utils/actions/receive-return-item.js +4 -4
  185. package/dist/utils/actions/receive-return-item.js.map +1 -1
  186. package/dist/utils/actions/reinstate-item.d.ts +1 -0
  187. package/dist/utils/actions/reinstate-item.d.ts.map +1 -0
  188. package/dist/utils/actions/reinstate-item.js +4 -4
  189. package/dist/utils/actions/reinstate-item.js.map +1 -1
  190. package/dist/utils/actions/return-item.d.ts +1 -0
  191. package/dist/utils/actions/return-item.d.ts.map +1 -0
  192. package/dist/utils/actions/return-item.js +4 -4
  193. package/dist/utils/actions/return-item.js.map +1 -1
  194. package/dist/utils/actions/ship-item.d.ts +1 -0
  195. package/dist/utils/actions/ship-item.d.ts.map +1 -0
  196. package/dist/utils/actions/ship-item.js +4 -4
  197. package/dist/utils/actions/ship-item.js.map +1 -1
  198. package/dist/utils/actions/shipping-add.d.ts +1 -0
  199. package/dist/utils/actions/shipping-add.d.ts.map +1 -0
  200. package/dist/utils/actions/shipping-add.js +8 -10
  201. package/dist/utils/actions/shipping-add.js.map +1 -1
  202. package/dist/utils/actions/shipping-remove.d.ts +1 -0
  203. package/dist/utils/actions/shipping-remove.d.ts.map +1 -0
  204. package/dist/utils/actions/shipping-remove.js +2 -3
  205. package/dist/utils/actions/shipping-remove.js.map +1 -1
  206. package/dist/utils/actions/write-off-item.d.ts +1 -0
  207. package/dist/utils/actions/write-off-item.d.ts.map +1 -0
  208. package/dist/utils/actions/write-off-item.js +4 -4
  209. package/dist/utils/actions/write-off-item.js.map +1 -1
  210. package/dist/utils/apply-order-changes.d.ts +1 -0
  211. package/dist/utils/apply-order-changes.d.ts.map +1 -0
  212. package/dist/utils/apply-order-changes.js +3 -2
  213. package/dist/utils/apply-order-changes.js.map +1 -1
  214. package/dist/utils/base-repository-find.d.ts +1 -0
  215. package/dist/utils/base-repository-find.d.ts.map +1 -0
  216. package/dist/utils/calculate-order-change.d.ts +11 -2
  217. package/dist/utils/calculate-order-change.d.ts.map +1 -0
  218. package/dist/utils/calculate-order-change.js +11 -3
  219. package/dist/utils/calculate-order-change.js.map +1 -1
  220. package/dist/utils/index.d.ts +1 -1
  221. package/dist/utils/index.d.ts.map +1 -0
  222. package/dist/utils/index.js +0 -1
  223. package/dist/utils/index.js.map +1 -1
  224. package/dist/utils/set-action-reference.d.ts +3 -1
  225. package/dist/utils/set-action-reference.d.ts.map +1 -0
  226. package/dist/utils/set-action-reference.js +13 -2
  227. package/dist/utils/set-action-reference.js.map +1 -1
  228. package/dist/utils/transform-order.d.ts +1 -0
  229. package/dist/utils/transform-order.d.ts.map +1 -0
  230. package/package.json +6 -8
  231. package/dist/joiner-config.d.ts +0 -1
  232. package/dist/joiner-config.js +0 -7
  233. package/dist/joiner-config.js.map +0 -1
  234. package/dist/services/order-change-service.d.ts +0 -15
  235. package/dist/services/order-change-service.js +0 -97
  236. package/dist/services/order-change-service.js.map +0 -1
  237. package/dist/utils/action-key.d.ts +0 -16
  238. package/dist/utils/action-key.js +0 -21
  239. package/dist/utils/action-key.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { ModuleExports } from "@medusajs/types";
2
- export declare const moduleDefinition: ModuleExports;
3
- export * from "./models";
4
- export * from "./services";
5
- export * from "./types";
6
- export default moduleDefinition;
1
+ import { OrderModuleService } from "./services";
2
+ declare const _default: import("@medusajs/types").ModuleExports<typeof OrderModuleService> & {
3
+ linkable: Record<string, any>;
4
+ };
5
+ export default _default;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;;;;AAG9C,wBAEE"}
package/dist/index.js CHANGED
@@ -1,27 +1,8 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
2
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.moduleDefinition = void 0;
18
3
  const _services_1 = require("./services");
19
- const service = _services_1.OrderModuleService;
20
- exports.moduleDefinition = {
21
- service,
22
- };
23
- __exportStar(require("./models"), exports);
24
- __exportStar(require("./services"), exports);
25
- __exportStar(require("./types"), exports);
26
- exports.default = exports.moduleDefinition;
4
+ const utils_1 = require("@medusajs/utils");
5
+ exports.default = (0, utils_1.Module)(utils_1.Modules.ORDER, {
6
+ service: _services_1.OrderModuleService,
7
+ });
27
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,yCAA8C;AAE9C,MAAM,OAAO,GAAG,8BAAkB,CAAA;AAErB,QAAA,gBAAgB,GAAkB;IAC7C,OAAO;CACR,CAAA;AAED,2CAAwB;AACxB,6CAA0B;AAC1B,0CAAuB;AAEvB,kBAAe,wBAAgB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,yCAA8C;AAC9C,2CAAiD;AAEjD,kBAAe,IAAA,cAAM,EAAC,eAAO,CAAC,KAAK,EAAE;IACnC,OAAO,EAAE,8BAAkB;CAC5B,CAAC,CAAA"}
@@ -2,3 +2,4 @@ import { Migration } from "@mikro-orm/migrations";
2
2
  export declare class Migration20240219102530 extends Migration {
3
3
  up(): Promise<void>;
4
4
  }
5
+ //# sourceMappingURL=Migration20240219102530.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Migration20240219102530.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20240219102530.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,qBAAa,uBAAwB,SAAQ,SAAS;IAC9C,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;CAijB1B"}
@@ -2,3 +2,4 @@ import { Migration } from "@mikro-orm/migrations";
2
2
  export declare class Migration20240604100512 extends Migration {
3
3
  up(): Promise<void>;
4
4
  }
5
+ //# sourceMappingURL=Migration20240604100512.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Migration20240604100512.d.ts","sourceRoot":"","sources":["../../src/migrations/Migration20240604100512.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,qBAAa,uBAAwB,SAAQ,SAAS;IAC9C,EAAE,IAAI,OAAO,CAAC,IAAI,CAAC;CAoW1B"}
@@ -1,6 +1,6 @@
1
1
  import { DAL } from "@medusajs/types";
2
2
  import { OptionalProps } from "@mikro-orm/core";
3
- type OptionalAddressProps = DAL.EntityDateColumns;
3
+ type OptionalAddressProps = DAL.ModelDateColumns;
4
4
  export default class Address {
5
5
  [OptionalProps]: OptionalAddressProps;
6
6
  id: string;
@@ -22,3 +22,4 @@ export default class Address {
22
22
  onInit(): void;
23
23
  }
24
24
  export {};
25
+ //# sourceMappingURL=address.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../src/models/address.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAKrC,OAAO,EAIL,aAAa,EAGd,MAAM,iBAAiB,CAAA;AAExB,KAAK,oBAAoB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAQhD,MAAM,CAAC,OAAO,OAAO,OAAO;IAC1B,CAAC,aAAa,CAAC,EAAE,oBAAoB,CAAA;IAGrC,EAAE,EAAG,MAAM,CAAA;IAIX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAGjC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAO;IAG7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAO;IAGhC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAG/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAG/B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAG/B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAO;IAG1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAGlC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAO;IAG9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAGjC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAO;IAG3B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAO/C,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,QAAQ;IAKR,MAAM;CAGP"}
@@ -1,7 +1,7 @@
1
1
  import { BigNumberRawValue, DAL } from "@medusajs/types";
2
2
  import { BigNumber } from "@medusajs/utils";
3
3
  import { OptionalProps } from "@mikro-orm/core";
4
- type OptionalAdjustmentLineProps = DAL.EntityDateColumns;
4
+ type OptionalAdjustmentLineProps = DAL.ModelDateColumns;
5
5
  /**
6
6
  * As per the Mikro ORM docs, superclasses should use the abstract class definition
7
7
  * Source: https://mikro-orm.io/docs/inheritance-mapping
@@ -19,3 +19,4 @@ export default abstract class AdjustmentLine {
19
19
  updated_at: Date;
20
20
  }
21
21
  export {};
22
+ //# sourceMappingURL=adjustment-line.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"adjustment-line.d.ts","sourceRoot":"","sources":["../../src/models/adjustment-line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EAAE,SAAS,EAA6B,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,aAAa,EAAwB,MAAM,iBAAiB,CAAA;AAErE,KAAK,2BAA2B,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAEvD;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,cAAc;IAC1C,CAAC,aAAa,CAAC,EAAE,2BAA2B,CAAA;IAG5C,EAAE,EAAE,MAAM,CAAA;IAGV,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAMjC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAGlC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAO;IAG1B,MAAM,EAAE,SAAS,GAAG,MAAM,CAAA;IAG1B,UAAU,EAAE,iBAAiB,CAAA;IAG7B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAOjC,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;CACjB"}
@@ -1,7 +1,7 @@
1
1
  import { DAL } from "@medusajs/types";
2
2
  import { OptionalProps, Rel } from "@mikro-orm/core";
3
3
  import ClaimItem from "./claim-item";
4
- type OptionalClaimItemImageProps = DAL.EntityDateColumns;
4
+ type OptionalClaimItemImageProps = DAL.ModelDateColumns;
5
5
  export default class ClaimItemImage {
6
6
  [OptionalProps]?: OptionalClaimItemImageProps;
7
7
  id: string;
@@ -16,3 +16,4 @@ export default class ClaimItemImage {
16
16
  onInit(): void;
17
17
  }
18
18
  export {};
19
+ //# sourceMappingURL=claim-item-image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim-item-image.d.ts","sourceRoot":"","sources":["../../src/models/claim-item-image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAKrC,OAAO,EAKL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,SAAS,MAAM,cAAc,CAAA;AAEpC,KAAK,2BAA2B,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAevD,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,2BAA2B,CAAA;IAG7C,EAAE,EAAE,MAAM,CAAA;IASV,aAAa,EAAE,MAAM,CAAA;IAKrB,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,CAAA;IAGpB,GAAG,EAAE,MAAM,CAAA;IAGX,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"}
@@ -4,7 +4,7 @@ import { Collection, OptionalProps, Rel } from "@mikro-orm/core";
4
4
  import Claim from "./claim";
5
5
  import ClaimItemImage from "./claim-item-image";
6
6
  import LineItem from "./line-item";
7
- type OptionalLineItemProps = DAL.EntityDateColumns;
7
+ type OptionalLineItemProps = DAL.ModelDateColumns;
8
8
  export default class OrderClaimItem {
9
9
  [OptionalProps]?: OptionalLineItemProps;
10
10
  id: string;
@@ -26,3 +26,4 @@ export default class OrderClaimItem {
26
26
  onInit(): void;
27
27
  }
28
28
  export {};
29
+ //# sourceMappingURL=claim-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim-item.d.ts","sourceRoot":"","sources":["../../src/models/claim-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,WAAW,EAIZ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAGL,UAAU,EAMV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,cAAc,MAAM,oBAAoB,CAAA;AAC/C,OAAO,QAAQ,MAAM,aAAa,CAAA;AAElC,KAAK,qBAAqB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAqBjD,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,CAAC,aAAa,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAGvC,EAAE,EAAE,MAAM,CAAA;IAKV,MAAM,qCAA4C;IAGlD,MAAM,EAAE,GAAG,CAAC,WAAW,CAAC,GAAG,IAAI,CAAO;IAGtC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;IAGzB,YAAY,EAAE,iBAAiB,CAAA;IAS/B,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IASjB,OAAO,EAAE,MAAM,CAAA;IAKf,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAGnB,kBAAkB,EAAE,OAAO,CAAQ;IAGnC,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"}
@@ -6,7 +6,7 @@ import Order from "./order";
6
6
  import OrderShippingMethod from "./order-shipping-method";
7
7
  import Return from "./return";
8
8
  import Transaction from "./transaction";
9
- type OptionalOrderClaimProps = DAL.EntityDateColumns;
9
+ type OptionalOrderClaimProps = DAL.ModelDateColumns;
10
10
  export default class OrderClaim {
11
11
  [OptionalProps]?: OptionalOrderClaimProps;
12
12
  id: string;
@@ -33,3 +33,4 @@ export default class OrderClaim {
33
33
  onInit(): void;
34
34
  }
35
35
  export {};
36
+ //# sourceMappingURL=claim.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim.d.ts","sourceRoot":"","sources":["../../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AU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,WAAW,EAAE,IAAI,GAAG,IAAI,CAAO;IAG/B,QAAQ;IAKR,MAAM;CAGP"}
@@ -2,7 +2,7 @@ import { BigNumberRawValue, DAL } from "@medusajs/types";
2
2
  import { OptionalProps } from "@mikro-orm/core";
3
3
  import Exchange from "./exchange";
4
4
  import LineItem from "./line-item";
5
- type OptionalLineItemProps = DAL.EntityDateColumns;
5
+ type OptionalLineItemProps = DAL.ModelDateColumns;
6
6
  export default class OrderExchangeItem {
7
7
  [OptionalProps]?: OptionalLineItemProps;
8
8
  id: string;
@@ -21,3 +21,4 @@ export default class OrderExchangeItem {
21
21
  onInit(): void;
22
22
  }
23
23
  export {};
24
+ //# sourceMappingURL=exchange-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exchange-item.d.ts","sourceRoot":"","sources":["../../src/models/exchange-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,YAAY,CAAA;AACjC,OAAO,QAAQ,MAAM,aAAa,CAAA;AAElC,KAAK,qBAAqB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAqBjD,MAAM,CAAC,OAAO,OAAO,iBAAiB;IACpC,CAAC,aAAa,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAGvC,EAAE,EAAE,MAAM,CAAA;IAGV,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;IAGzB,YAAY,EAAE,iBAAiB,CAAA;IAS/B,WAAW,EAAE,MAAM,CAAA;IAKnB,QAAQ,EAAE,QAAQ,CAAA;IASlB,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"}
@@ -5,7 +5,7 @@ import { ExchangeItem, Transaction } from ".";
5
5
  import Order from "./order";
6
6
  import OrderShippingMethod from "./order-shipping-method";
7
7
  import Return from "./return";
8
- type OptionalOrderExchangeProps = DAL.EntityDateColumns;
8
+ type OptionalOrderExchangeProps = DAL.ModelDateColumns;
9
9
  export default class OrderExchange {
10
10
  [OptionalProps]?: OptionalOrderExchangeProps;
11
11
  id: string;
@@ -31,3 +31,4 @@ export default class OrderExchange {
31
31
  onInit(): void;
32
32
  }
33
33
  export {};
34
+ //# sourceMappingURL=exchange.d.ts.map
@@ -0,0 +1 @@
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;IAUjB,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"}
@@ -20,3 +20,4 @@ export { default as ShippingMethod } from "./shipping-method";
20
20
  export { default as ShippingMethodAdjustment } from "./shipping-method-adjustment";
21
21
  export { default as ShippingMethodTaxLine } from "./shipping-method-tax-line";
22
22
  export { default as Transaction } from "./transaction";
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAA;AAC9C,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,cAAc,CAAA;AACnD,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AACtE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACpE,OAAO,EAAE,OAAO,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"}
@@ -7,3 +7,4 @@ export default class LineItemAdjustment extends AdjustmentLine {
7
7
  onCreate(): void;
8
8
  onInit(): void;
9
9
  }
10
+ //# sourceMappingURL=line-item-adjustment.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -7,3 +7,4 @@ export default class LineItemTaxLine extends TaxLine {
7
7
  onCreate(): void;
8
8
  onInit(): void;
9
9
  }
10
+ //# sourceMappingURL=line-item-tax-line.d.ts.map
@@ -0,0 +1 @@
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;AAQhC,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,OAAO;IAKlD,IAAI,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAUnB,OAAO,EAAE,MAAM,CAAA;IAGf,QAAQ;IAMR,MAAM;CAIP"}
@@ -3,7 +3,7 @@ import { BigNumber } from "@medusajs/utils";
3
3
  import { Collection, OptionalProps } from "@mikro-orm/core";
4
4
  import LineItemAdjustment from "./line-item-adjustment";
5
5
  import LineItemTaxLine from "./line-item-tax-line";
6
- type OptionalLineItemProps = DAL.EntityDateColumns;
6
+ type OptionalLineItemProps = DAL.ModelDateColumns;
7
7
  export default class LineItem {
8
8
  [OptionalProps]?: OptionalLineItemProps;
9
9
  id: string;
@@ -38,3 +38,4 @@ export default class LineItem {
38
38
  onInit(): void;
39
39
  }
40
40
  export {};
41
+ //# sourceMappingURL=line-item.d.ts.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AGjC,eAAe,EAAE,OAAO,CAAO;IAG/B,gBAAgB,EAAE,OAAO,CAAQ;IAKjC,qBAAqB,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,IAAI,CAAO;IAGxD,yBAAyB,EAAE,iBAAiB,GAAG,IAAI,CAAO;IAK1D,UAAU,EAAE,SAAS,GAAG,MAAM,CAAA;IAG9B,cAAc,EAAE,iBAAiB,CAAA;IAKjC,SAAS,sCAA6C;IAKtD,WAAW,yCAAgD;IAG3D,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAO/C,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,QAAQ;IAKR,MAAM;CAGP"}
@@ -6,7 +6,7 @@ import OrderExchange from "./exchange";
6
6
  import Order from "./order";
7
7
  import OrderChange from "./order-change";
8
8
  import Return from "./return";
9
- type OptionalLineItemProps = DAL.EntityDateColumns;
9
+ type OptionalLineItemProps = DAL.ModelDateColumns;
10
10
  export default class OrderChangeAction {
11
11
  [OptionalProps]?: OptionalLineItemProps;
12
12
  id: string;
@@ -37,3 +37,4 @@ export default class OrderChangeAction {
37
37
  onInit(): void;
38
38
  }
39
39
  export {};
40
+ //# sourceMappingURL=order-change-action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-change-action.d.ts","sourceRoot":"","sources":["../../src/models/order-change-action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,SAAS,EAIV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAKL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,UAAU,MAAM,SAAS,CAAA;AAChC,OAAO,aAAa,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,WAAW,MAAM,gBAAgB,CAAA;AACxC,OA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rderExchange from "./exchange";
6
6
  import Order from "./order";
7
7
  import OrderChangeAction from "./order-change-action";
8
8
  import Return from "./return";
9
- type OptionalLineItemProps = DAL.EntityDateColumns;
9
+ type OptionalLineItemProps = DAL.ModelDateColumns;
10
10
  export default class OrderChange {
11
11
  [OptionalProps]?: OptionalLineItemProps;
12
12
  id: string;
@@ -34,7 +34,7 @@ export default class OrderChange {
34
34
  metadata: Record<string, unknown> | null;
35
35
  declined_at?: Date;
36
36
  canceled_by: string | null;
37
- canceled_at?: Date;
37
+ canceled_at?: Date | null;
38
38
  created_at: Date;
39
39
  updated_at: Date;
40
40
  deleted_at: Date | null;
@@ -42,3 +42,4 @@ export default class OrderChange {
42
42
  onInit(): void;
43
43
  }
44
44
  export {};
45
+ //# sourceMappingURL=order-change.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-change.d.ts","sourceRoot":"","sources":["../../src/models/order-change.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAKrC,OAAO,EAGL,UAAU,EAMV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAC3D,OAAO,UAAU,MAAM,SAAS,CAAA;AAChC,OAAO,aAAa,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,iBAAiB,MAAM,uBAAuB,CAAA;AACrD,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,KAAK,qBAAqB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAoDjD,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,CAAC,aAAa,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAGvC,EAAE,EAAE,MAAM,CAAA;IAUV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAUjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAK/B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAUnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAO;IAK9B,KAAK,EAAE,UAAU,CAAA;IAUjB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAKjC,QAAQ,EAAE,aAAa,CAAA;IAIvB,OAAO,EAAE,MAAM,CAAA;IAIf,WAAW,EAAE,eAAe,GAAG,IAAI,CAAO;IAK1C,OAAO,wCAA+C;IAMtD,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAIjC,MAAM,EAAE,iBAAiB,CAA4B;IAGrD,aAAa,EAAE,MAAM,GAAG,IAAI,CAAO;IAGnC,UAAU,EAAE,MAAM,CAAA;IAGlB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAMlC,YAAY,EAAE,IAAI,GAAG,IAAI,CAAO;IAGhC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAMlC,YAAY,EAAE,IAAI,GAAG,IAAI,CAAO;IAGhC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAGjC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAO;IAGrC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAM/C,WAAW,CAAC,EAAE,IAAI,CAAA;IAGlB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAMjC,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAO;IAOhC,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IASR,MAAM;CAOP"}
@@ -78,6 +78,7 @@ let OrderChange = class OrderChange {
78
78
  this.declined_reason = null;
79
79
  this.metadata = null;
80
80
  this.canceled_by = null;
81
+ this.canceled_at = null;
81
82
  this.deleted_at = null;
82
83
  }
83
84
  onCreate() {
@@ -253,7 +254,7 @@ __decorate([
253
254
  columnType: "timestamptz",
254
255
  nullable: true,
255
256
  }),
256
- __metadata("design:type", Date)
257
+ __metadata("design:type", Object)
257
258
  ], OrderChange.prototype, "canceled_at", void 0);
258
259
  __decorate([
259
260
  (0, core_1.Property)({
@@ -1 +1 @@
1
- {"version":3,"file":"order-change.js","sourceRoot":"","sources":["../../src/models/order-change.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,2CAGwB;AACxB,0CAawB;AACxB,mCAA2D;AAC3D,oDAAgC;AAChC,0DAAsC;AACtC,oDAA2B;AAC3B,gFAAqD;AACrD,sDAA6B;AAI7B,MAAM,YAAY,GAAG,IAAA,sCAA8B,EAAC;IAClD,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,IAAA,sCAA8B,EAAC;IACnD,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,kDAAkD;CAC1D,CAAC,CAAA;AAEF,MAAM,iBAAiB,GAAG,IAAA,sCAA8B,EAAC;IACvD,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,UAAU;IACnB,KAAK,EAAE,iDAAiD;CACzD,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,IAAA,sCAA8B,EAAC;IAC1D,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,oDAAoD;CAC5D,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAAG,IAAA,sCAA8B,EAAC;IAC5D,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,QAAQ;IACjB,KAAK,EAAE,wBAAwB;CAChC,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,IAAA,sCAA8B,EAAC;IAC1D,SAAS,EAAE,cAAc;IACzB,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,wBAAwB;CAChC,CAAC,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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;+CAAA;AAIhB;IAFC,IAAA,eAAQ,EAAC,EAAE,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;AA5KkB,WAAW;IAF/B,IAAA,aAAM,EAAC,EAAE,SAAS,EAAE,cAAc,EAAE,CAAC;IACrC,YAAY,CAAC,aAAa,EAAE;GACR,WAAW,CA6K/B;kBA7KoB,WAAW"}
@@ -3,7 +3,7 @@ import { BigNumber } from "@medusajs/utils";
3
3
  import { OptionalProps, Rel } from "@mikro-orm/core";
4
4
  import LineItem from "./line-item";
5
5
  import Order from "./order";
6
- type OptionalLineItemProps = DAL.EntityDateColumns;
6
+ type OptionalLineItemProps = DAL.ModelDateColumns;
7
7
  export default class OrderItem {
8
8
  [OptionalProps]?: OptionalLineItemProps;
9
9
  id: string;
@@ -34,3 +34,4 @@ export default class OrderItem {
34
34
  onInit(): void;
35
35
  }
36
36
  export {};
37
+ //# sourceMappingURL=order-item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-item.d.ts","sourceRoot":"","sources":["../../src/models/order-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,SAAS,EAIV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAKL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,QAAQ,MAAM,aAAa,CAAA;AAClC,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B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ipping-method";
8
- type OptionalShippingMethodProps = DAL.EntityDateColumns;
8
+ type OptionalShippingMethodProps = DAL.ModelDateColumns;
9
9
  export default class OrderShippingMethod {
10
10
  [OptionalProps]?: OptionalShippingMethodProps;
11
11
  id: string;
@@ -27,3 +27,4 @@ export default class OrderShippingMethod {
27
27
  onInit(): void;
28
28
  }
29
29
  export {};
30
+ //# sourceMappingURL=order-shipping-method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-shipping-method.d.ts","sourceRoot":"","sources":["../../src/models/order-shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAKrC,OAAO,EAKL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAE9C,KAAK,2BAA2B,GAAG,GAAG,CAAC,gBAAgB,CAAA;AA6CvD,MAAM,CAAC,OAAO,OAAO,mBAAmB;IACtC,CAAC,aAAa,CAAC,CAAC,EAAE,2BAA2B,CAAA;IAG7C,EAAE,EAAE,MAAM,CAAA;IASV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAUjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAK/B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAUnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAK1B,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAUvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAKvB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAIjB,OAAO,EAAE,MAAM,CAAA;IASf,kBAAkB,EAAE,MAAM,CAAA;IAK1B,eAAe,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAOpC,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAWR,MAAM;CASP"}
@@ -36,3 +36,4 @@ export default class OrderSummary {
36
36
  onInit(): void;
37
37
  }
38
38
  export {};
39
+ //# sourceMappingURL=order-summary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-summary.d.ts","sourceRoot":"","sources":["../../src/models/order-summary.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAOL,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,MAAM,SAAS,CAAA;AAE3B,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,EAAE,SAAS,CAAA;IAEpB,aAAa,EAAE,SAAS,CAAA;IACxB,eAAe,EAAE,SAAS,CAAA;IAC1B,cAAc,EAAE,SAAS,CAAA;IACzB,oBAAoB,EAAE,SAAS,CAAA;IAC/B,eAAe,EAAE,SAAS,CAAA;IAC1B,eAAe,EAAE,SAAS,CAAA;IAE1B,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,EAAE,SAAS,CAAA;IACvB,aAAa,EAAE,SAAS,CAAA;IAExB,YAAY,EAAE,SAAS,CAAA;IACvB,eAAe,EAAE,SAAS,CAAA;IAC1B,gBAAgB,EAAE,SAAS,CAAA;IAC3B,sBAAsB,EAAE,SAAS,CAAA;IAEjC,OAAO,EAAE,SAAS,CAAA;IAClB,cAAc,EAAE,SAAS,CAAA;IAEzB,UAAU,EAAE,SAAS,CAAA;IACrB,cAAc,EAAE,SAAS,CAAA;CAC1B,CAAA;AAgBD,MAAM,CAAC,OAAO,OAAO,YAAY;IAE/B,EAAE,EAAE,MAAM,CAAA;IASV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAMjB,OAAO,EAAE,MAAM,CAAI;IAGnB,MAAM,EAAE,kBAAkB,GAAG,IAAI,CAA2B;IAO5D,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IAMR,MAAM;CAIP"}
@@ -6,7 +6,7 @@ import OrderItem from "./order-item";
6
6
  import OrderShippingMethod from "./order-shipping-method";
7
7
  import OrderSummary from "./order-summary";
8
8
  import Transaction from "./transaction";
9
- type OptionalOrderProps = "shipping_address" | "billing_address" | DAL.EntityDateColumns;
9
+ type OptionalOrderProps = "shipping_address" | "billing_address" | DAL.ModelDateColumns;
10
10
  export default class Order {
11
11
  [OptionalProps]?: OptionalOrderProps;
12
12
  id: string;
@@ -37,3 +37,4 @@ export default class Order {
37
37
  onInit(): void;
38
38
  }
39
39
  export {};
40
+ //# sourceMappingURL=order.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../src/models/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,OAAO,EACL,WAAW,EAGZ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAGL,UAAU,EAMV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,mBAAmB,MAAM,yBAAyB,CAAA;AACzD,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAC1C,OAAO,WAAW,MAAM,eAAe,CAAA;AAEvC,KAAK,kBAAkB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,GAAG,CAAC,gBAAgB,CAAA;AAyDxB,MAAM,CAAC,OAAO,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"}
@@ -3,7 +3,7 @@ import { OptionalProps } from "@mikro-orm/core";
3
3
  import LineItem from "./line-item";
4
4
  import Return from "./return";
5
5
  import ReturnReason from "./return-reason";
6
- type OptionalLineItemProps = DAL.EntityDateColumns;
6
+ type OptionalLineItemProps = DAL.ModelDateColumns;
7
7
  export default class ReturnItem {
8
8
  [OptionalProps]?: OptionalLineItemProps;
9
9
  id: string;
@@ -26,3 +26,4 @@ export default class ReturnItem {
26
26
  onInit(): void;
27
27
  }
28
28
  export {};
29
+ //# sourceMappingURL=return-item.d.ts.map
@@ -0,0 +1 @@
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,6 +1,6 @@
1
1
  import { DAL } from "@medusajs/types";
2
2
  import { OptionalProps, Rel } from "@mikro-orm/core";
3
- type OptionalOrderProps = "parent_return_reason" | DAL.EntityDateColumns;
3
+ type OptionalOrderProps = "parent_return_reason" | DAL.ModelDateColumns;
4
4
  export default class ReturnReason {
5
5
  [OptionalProps]?: OptionalOrderProps;
6
6
  id: string;
@@ -18,3 +18,4 @@ export default class ReturnReason {
18
18
  onInit(): void;
19
19
  }
20
20
  export {};
21
+ //# sourceMappingURL=return-reason.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"return-reason.d.ts","sourceRoot":"","sources":["../../src/models/return-reason.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAKrC,OAAO,EAOL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AAoBxB,KAAK,kBAAkB,GAAG,sBAAsB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAGvE,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,CAAC,aAAa,CAAC,CAAC,EAAE,kBAAkB,CAAA;IAGpC,EAAE,EAAE,MAAM,CAAA;IAIV,KAAK,EAAE,MAAM,CAAA;IAGb,KAAK,EAAE,MAAM,CAAA;IAGb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAIjC,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAQvC,oBAAoB,CAAC,EAAE,GAAG,CAAC,YAAY,CAAC,GAAG,IAAI,CAAA;IAO/C,sBAAsB,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,CAAA;IAG3C,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;IAKR,MAAM;CAGP"}
@@ -6,7 +6,7 @@ import Claim from "./claim";
6
6
  import Exchange from "./exchange";
7
7
  import Order from "./order";
8
8
  import OrderShippingMethod from "./order-shipping-method";
9
- type OptionalReturnProps = DAL.EntityDateColumns;
9
+ type OptionalReturnProps = DAL.ModelDateColumns;
10
10
  export default class Return {
11
11
  [OptionalProps]?: OptionalReturnProps;
12
12
  id: string;
@@ -35,3 +35,4 @@ export default class Return {
35
35
  onInit(): void;
36
36
  }
37
37
  export {};
38
+ //# sourceMappingURL=return.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"return.d.ts","sourceRoot":"","sources":["../../src/models/return.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,SAAS,EAET,YAAY,EAGb,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAGL,UAAU,EAOV,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACjD,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,mBAAmB,MAAM,yBAAyB,CAAA;AAEzD,KAAK,mBAAmB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAiC/C,MAAM,CAAC,OAAO,OAAO,MAAM;IACzB,CAAC,aAAa,CAAC,CAAC,EAAE,mBAAmB,CAAA;IAGrC,EAAE,EAAE,MAAM,CAAA;IASV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAQjB,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAIvB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAQjC,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAIjB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAO;IAK9B,aAAa,EAAE,MAAM,CAAA;IAIrB,UAAU,EAAE,MAAM,CAAA;IAGlB,MAAM,EAAE,YAAY,CAAyB;IAG7C,eAAe,EAAE,OAAO,GAAG,IAAI,CAAO;IAKtC,aAAa,EAAE,SAAS,GAAG,MAAM,CAAA;IAGjC,iBAAiB,EAAE,iBAAiB,CAAA;IAKpC,KAAK,iCAAwC;IAS7C,gBAAgB,0CAA4C;IAK5D,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,WAAW,EAAE,IAAI,GAAG,IAAI,CAAO;IAG/B,QAAQ;IAKR,MAAM;CAGP"}
@@ -7,3 +7,4 @@ export default class ShippingMethodAdjustment extends AdjustmentLine {
7
7
  onCreate(): void;
8
8
  onInit(): void;
9
9
  }
10
+ //# sourceMappingURL=shipping-method-adjustment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-method-adjustment.d.ts","sourceRoot":"","sources":["../../src/models/shipping-method-adjustment.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAQ9C,MAAM,CAAC,OAAO,OAAO,wBAAyB,SAAQ,cAAc;IAIlE,eAAe,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAUpC,kBAAkB,EAAE,MAAM,CAAA;IAG1B,QAAQ;IAMR,MAAM;CAIP"}
@@ -7,3 +7,4 @@ export default class ShippingMethodTaxLine extends TaxLine {
7
7
  onCreate(): void;
8
8
  onInit(): void;
9
9
  }
10
+ //# sourceMappingURL=shipping-method-tax-line.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-method-tax-line.d.ts","sourceRoot":"","sources":["../../src/models/shipping-method-tax-line.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2C,GAAG,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAC9C,OAAO,OAAO,MAAM,YAAY,CAAA;AAQhC,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,OAAO;IAIxD,eAAe,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;IAUpC,kBAAkB,EAAE,MAAM,CAAA;IAG1B,QAAQ;IAMR,MAAM;CAIP"}
@@ -20,3 +20,4 @@ export default class ShippingMethod {
20
20
  onCreate(): void;
21
21
  onInit(): void;
22
22
  }
23
+ //# sourceMappingURL=shipping-method.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shipping-method.d.ts","sourceRoot":"","sources":["../../src/models/shipping-method.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EACL,SAAS,EAIV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAGL,UAAU,EAOX,MAAM,iBAAiB,CAAA;AACxB,OAAO,wBAAwB,MAAM,8BAA8B,CAAA;AACnE,OAAO,qBAAqB,MAAM,4BAA4B,CAAA;AAQ9D,MAAM,CAAC,OAAO,OAAO,cAAc;IAEjC,EAAE,EAAE,MAAM,CAAA;IAGV,IAAI,EAAE,MAAM,CAAA;IAGZ,WAAW,EAAE,MAAM,GAAG,IAAI,CAAO;IAGjC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAA;IAG1B,UAAU,EAAE,iBAAiB,CAAA;IAG7B,gBAAgB,EAAE,OAAO,CAAQ;IAOjC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAO;IAGxC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAG3C,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAO;IAS/C,SAAS,4CAAmD;IAS5D,WAAW,+CAAsD;IAOjE,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAGhB,QAAQ;IAIR,MAAM;CAGP"}
@@ -15,3 +15,4 @@ export default abstract class TaxLine {
15
15
  created_at: Date;
16
16
  updated_at: Date;
17
17
  }
18
+ //# sourceMappingURL=tax-line.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tax-line.d.ts","sourceRoot":"","sources":["../../src/models/tax-line.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,SAAS,EAA6B,MAAM,iBAAiB,CAAA;AAGtE;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,OAAO;IAEnC,EAAE,EAAE,MAAM,CAAA;IAGV,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAM3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAG3B,IAAI,EAAE,MAAM,CAAA;IAGZ,IAAI,EAAE,SAAS,GAAG,MAAM,CAAA;IAGxB,QAAQ,EAAE,iBAAiB,CAAA;IAG3B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAO3B,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;CACjB"}
@@ -5,7 +5,7 @@ import Claim from "./claim";
5
5
  import Exchange from "./exchange";
6
6
  import Order from "./order";
7
7
  import Return from "./return";
8
- type OptionalLineItemProps = DAL.EntityDateColumns;
8
+ type OptionalLineItemProps = DAL.ModelDateColumns;
9
9
  export default class Transaction {
10
10
  [OptionalProps]?: OptionalLineItemProps;
11
11
  id: string;
@@ -30,3 +30,4 @@ export default class Transaction {
30
30
  onInit(): void;
31
31
  }
32
32
  export {};
33
+ //# sourceMappingURL=transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../src/models/transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACxD,OAAO,EACL,SAAS,EAIV,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAKL,aAAa,EAGb,GAAG,EACJ,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,KAAK,qBAAqB,GAAG,GAAG,CAAC,gBAAgB,CAAA;AAoDjD,MAAM,CAAC,OAAO,OAAO,WAAW;IAC9B,CAAC,aAAa,CAAC,CAAC,EAAE,qBAAqB,CAAA;IAGvC,EAAE,EAAE,MAAM,CAAA;IAUV,QAAQ,EAAE,MAAM,CAAA;IAKhB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAUjB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAK/B,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IAUnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAK1B,QAAQ,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAA;IAUvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IAKvB,KAAK,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;IAMjB,OAAO,EAAE,MAAM,CAAI;IAGnB,MAAM,EAAE,SAAS,GAAG,MAAM,CAAA;IAG1B,UAAU,EAAE,iBAAiB,CAAA;IAI7B,aAAa,EAAE,MAAM,CAAA;IAMrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAO;IAO/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAO;IAOlC,UAAU,EAAE,IAAI,CAAA;IAQhB,UAAU,EAAE,IAAI,CAAA;IAIhB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAO;IAG9B,QAAQ;IASR,MAAM;CAOP"}
@@ -6,3 +6,4 @@ declare const OrderClaimRepository_base: new ({ manager }: {
6
6
  export declare class OrderClaimRepository extends OrderClaimRepository_base {
7
7
  }
8
8
  export {};
9
+ //# sourceMappingURL=claim.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"claim.d.ts","sourceRoot":"","sources":["../../src/repositories/claim.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;;;;AAGpC,qBAAa,oBAAqB,SAAQ,yBAEzC;CAAG"}
@@ -6,3 +6,4 @@ declare const OrderExchangeRepository_base: new ({ manager }: {
6
6
  export declare class OrderExchangeRepository extends OrderExchangeRepository_base {
7
7
  }
8
8
  export {};
9
+ //# sourceMappingURL=exchange.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exchange.d.ts","sourceRoot":"","sources":["../../src/repositories/exchange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;;;;AAGvC,qBAAa,uBAAwB,SAAQ,4BAE5C;CAAG"}
@@ -2,3 +2,4 @@ export { MikroOrmBaseRepository as BaseRepository } from "@medusajs/utils";
2
2
  export { OrderClaimRepository } from "./claim";
3
3
  export { OrderRepository } from "./order";
4
4
  export { ReturnRepository } from "./return";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,IAAI,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA"}
@@ -6,3 +6,4 @@ declare const OrderRepository_base: new ({ manager }: {
6
6
  export declare class OrderRepository extends OrderRepository_base {
7
7
  }
8
8
  export {};
9
+ //# sourceMappingURL=order.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../src/repositories/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;;;;AAG/B,qBAAa,eAAgB,SAAQ,oBAEpC;CAAG"}