@medusajs/medusa 2.0.5-preview-20241119060203 → 2.0.5-preview-20241119120217

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. package/dist/api/admin/orders/[id]/transfer/route.d.ts +5 -0
  2. package/dist/api/admin/orders/[id]/transfer/route.d.ts.map +1 -0
  3. package/dist/api/admin/orders/[id]/transfer/route.js +27 -0
  4. package/dist/api/admin/orders/[id]/transfer/route.js.map +1 -0
  5. package/dist/api/admin/orders/middlewares.d.ts.map +1 -1
  6. package/dist/api/admin/orders/middlewares.js +8 -0
  7. package/dist/api/admin/orders/middlewares.js.map +1 -1
  8. package/dist/api/admin/orders/validators.d.ts +14 -0
  9. package/dist/api/admin/orders/validators.d.ts.map +1 -1
  10. package/dist/api/admin/orders/validators.js +6 -1
  11. package/dist/api/admin/orders/validators.js.map +1 -1
  12. package/dist/api/store/carts/[id]/customer/route.d.ts +4 -0
  13. package/dist/api/store/carts/[id]/customer/route.d.ts.map +1 -0
  14. package/dist/api/store/carts/[id]/customer/route.js +18 -0
  15. package/dist/api/store/carts/[id]/customer/route.js.map +1 -0
  16. package/dist/api/store/carts/middlewares.d.ts.map +1 -1
  17. package/dist/api/store/carts/middlewares.js +22 -13
  18. package/dist/api/store/carts/middlewares.js.map +1 -1
  19. package/dist/api/store/carts/validators.d.ts +2 -0
  20. package/dist/api/store/carts/validators.d.ts.map +1 -1
  21. package/dist/api/store/carts/validators.js +2 -1
  22. package/dist/api/store/carts/validators.js.map +1 -1
  23. package/dist/api/store/orders/[id]/transfer/accept/route.d.ts +5 -0
  24. package/dist/api/store/orders/[id]/transfer/accept/route.d.ts.map +1 -0
  25. package/dist/api/store/orders/[id]/transfer/accept/route.js +21 -0
  26. package/dist/api/store/orders/[id]/transfer/accept/route.js.map +1 -0
  27. package/dist/api/store/orders/middlewares.d.ts.map +1 -1
  28. package/dist/api/store/orders/middlewares.js +9 -0
  29. package/dist/api/store/orders/middlewares.js.map +1 -1
  30. package/dist/api/store/orders/validators.d.ts +8 -0
  31. package/dist/api/store/orders/validators.d.ts.map +1 -1
  32. package/dist/api/store/orders/validators.js +4 -1
  33. package/dist/api/store/orders/validators.js.map +1 -1
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +46 -46
@@ -0,0 +1,5 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from "@medusajs/framework/http";
2
+ import { HttpTypes } from "@medusajs/framework/types";
3
+ import { AdminTransferOrderType } from "../../validators";
4
+ export declare const POST: (req: AuthenticatedMedusaRequest<AdminTransferOrderType>, res: MedusaResponse<HttpTypes.AdminOrderResponse>) => Promise<void>;
5
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/admin/orders/[id]/transfer/route.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAKrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,eAAO,MAAM,IAAI,QACV,0BAA0B,CAAC,sBAAsB,CAAC,OAClD,cAAc,CAAC,SAAS,CAAC,kBAAkB,CAAC,kBAwBlD,CAAA"}
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.POST = void 0;
4
+ const core_flows_1 = require("@medusajs/core-flows");
5
+ const utils_1 = require("@medusajs/framework/utils");
6
+ const POST = async (req, res) => {
7
+ const remoteQuery = req.scope.resolve(utils_1.ContainerRegistrationKeys.REMOTE_QUERY);
8
+ const variables = { id: req.params.id };
9
+ await (0, core_flows_1.requestOrderTransferWorkflow)(req.scope).run({
10
+ input: {
11
+ order_id: req.params.id,
12
+ customer_id: req.validatedBody.customer_id,
13
+ logged_in_user: req.auth_context.actor_id,
14
+ description: req.validatedBody.description,
15
+ internal_note: req.validatedBody.internal_note,
16
+ },
17
+ });
18
+ const queryObject = (0, utils_1.remoteQueryObjectFromString)({
19
+ entryPoint: "order",
20
+ variables,
21
+ fields: req.remoteQueryConfig.fields,
22
+ });
23
+ const [order] = await remoteQuery(queryObject);
24
+ res.status(200).json({ order });
25
+ };
26
+ exports.POST = POST;
27
+ //# sourceMappingURL=route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../src/api/admin/orders/[id]/transfer/route.ts"],"names":[],"mappings":";;;AAAA,qDAAmE;AAMnE,qDAGkC;AAG3B,MAAM,IAAI,GAAG,KAAK,EACvB,GAAuD,EACvD,GAAiD,EACjD,EAAE;IACF,MAAM,WAAW,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,iCAAyB,CAAC,YAAY,CAAC,CAAA;IAE7E,MAAM,SAAS,GAAG,EAAE,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE,EAAE,CAAA;IAEvC,MAAM,IAAA,yCAA4B,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QAChD,KAAK,EAAE;YACL,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE;YACvB,WAAW,EAAE,GAAG,CAAC,aAAa,CAAC,WAAW;YAC1C,cAAc,EAAE,GAAG,CAAC,YAAY,CAAC,QAAQ;YACzC,WAAW,EAAE,GAAG,CAAC,aAAa,CAAC,WAAW;YAC1C,aAAa,EAAE,GAAG,CAAC,aAAa,CAAC,aAAa;SAC/C;KACF,CAAC,CAAA;IAEF,MAAM,WAAW,GAAG,IAAA,mCAA2B,EAAC;QAC9C,UAAU,EAAE,OAAO;QACnB,SAAS;QACT,MAAM,EAAE,GAAG,CAAC,iBAAiB,CAAC,MAAM;KACrC,CAAC,CAAA;IAEF,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,WAAW,CAAC,WAAW,CAAC,CAAA;IAC9C,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;AACjC,CAAC,CAAA;AA1BY,QAAA,IAAI,QA0BhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/orders/middlewares.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAc1D,eAAO,MAAM,2BAA2B,EAAE,eAAe,EAgIxD,CAAA"}
1
+ {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/orders/middlewares.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAe1D,eAAO,MAAM,2BAA2B,EAAE,eAAe,EA2IxD,CAAA"}
@@ -118,5 +118,13 @@ exports.adminOrderRoutesMiddlewares = [
118
118
  (0, framework_1.validateAndTransformQuery)(validators_1.AdminGetOrdersOrderParams, QueryConfig.retrieveTransformQueryConfig),
119
119
  ],
120
120
  },
121
+ {
122
+ method: ["POST"],
123
+ matcher: "/admin/orders/:id/transfer",
124
+ middlewares: [
125
+ (0, framework_1.validateAndTransformBody)(validators_1.AdminTransferOrder),
126
+ (0, framework_1.validateAndTransformQuery)(validators_1.AdminGetOrdersOrderParams, QueryConfig.retrieveTransformQueryConfig),
127
+ ],
128
+ },
121
129
  ];
122
130
  //# sourceMappingURL=middlewares.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/admin/orders/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAG4B;AAE5B,4DAA6C;AAC7C,6CAUqB;AAER,QAAA,2BAA2B,GAAsB;IAC5D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,iCAAoB,EACpB,WAAW,CAAC,wBAAwB,CACrC;SACF;KACF;IACD;QACE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;QACzC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,wCAA2B,CAAC;YACrD,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,uDAAuD;QAChE,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,wCAA2B,CAAC;YACrD,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,0DAA0D;QACnE,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,qCAAwB,CAAC;YAClD,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,kEAAkE;QAC3E,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,+CAAkC,CAAC;YAC5D,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/admin/orders/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAG4B;AAE5B,4DAA6C;AAC7C,6CAWqB;AAER,QAAA,2BAA2B,GAAsB;IAC5D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,iCAAoB,EACpB,WAAW,CAAC,wBAAwB,CACrC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,mBAAmB;QAC5B,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC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SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,uDAAuD;QAChE,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,wCAA2B,CAAC;YACrD,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,0DAA0D;QACnE,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,qCAAwB,CAAC;YAClD,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,kEAAkE;QAC3E,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,+CAAkC,CAAC;YAC5D,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,4BAA4B;QACrC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,+BAAkB,CAAC;YAC5C,IAAA,qCAAyB,EACvB,sCAAyB,EACzB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;CACF,CAAA"}
@@ -622,4 +622,18 @@ export declare const AdminOrderChanges: z.ZodObject<{
622
622
  export type AdminOrderChangesType = z.infer<typeof AdminOrderChanges>;
623
623
  export type AdminMarkOrderFulfillmentDeliveredType = z.infer<typeof AdminMarkOrderFulfillmentDelivered>;
624
624
  export declare const AdminMarkOrderFulfillmentDelivered: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
625
+ export type AdminTransferOrderType = z.infer<typeof AdminTransferOrder>;
626
+ export declare const AdminTransferOrder: z.ZodObject<{
627
+ customer_id: z.ZodString;
628
+ description: z.ZodOptional<z.ZodString>;
629
+ internal_note: z.ZodOptional<z.ZodString>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ customer_id: string;
632
+ description?: string | undefined;
633
+ internal_note?: string | undefined;
634
+ }, {
635
+ customer_id: string;
636
+ description?: string | undefined;
637
+ internal_note?: string | undefined;
638
+ }>;
625
639
  //# sourceMappingURL=validators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/admin/orders/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAQvB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASrC,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,yBAAyB,CACjC,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;EAM1C,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,yBAAyB,CACjC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBhC,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE3E,eAAO,MAAM,kBAAkB;;;;gCAAmC,CAAA;AAOlE,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,O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sBAAsB;;;;;;EAEjC,CAAA;AACF,eAAO,MAAM,2BAA2B;;;;gCAEvC,CAAA;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO5B,CAAA;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAErE,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,kCAAkC,CAC1C,CAAA;AACD,eAAO,MAAM,kCAAkC,gDAAe,CAAA;AAE9D,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AACvE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AdminMarkOrderFulfillmentDelivered = exports.AdminOrderChanges = exports.AdminOrderCancelFulfillment = exports.OrderCancelFulfillment = exports.AdminOrderCreateShipment = exports.OrderCreateShipment = exports.AdminOrderCreateFulfillment = exports.OrderCreateFulfillment = exports.AdminCompleteOrder = exports.AdminGetOrdersParams = exports.AdminGetOrdersOrderItemsParams = exports.AdminGetOrdersOrderParams = void 0;
3
+ exports.AdminTransferOrder = exports.AdminMarkOrderFulfillmentDelivered = exports.AdminOrderChanges = exports.AdminOrderCancelFulfillment = exports.OrderCancelFulfillment = exports.AdminOrderCreateShipment = exports.OrderCreateShipment = exports.AdminOrderCreateFulfillment = exports.OrderCreateFulfillment = exports.AdminCompleteOrder = exports.AdminGetOrdersParams = exports.AdminGetOrdersOrderItemsParams = exports.AdminGetOrdersOrderParams = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const validators_1 = require("../../utils/validators");
6
6
  exports.AdminGetOrdersOrderParams = (0, validators_1.createSelectParams)().merge(zod_1.z.object({
@@ -76,4 +76,9 @@ exports.AdminOrderChanges = zod_1.z.object({
76
76
  deleted_at: (0, validators_1.createOperatorMap)().optional(),
77
77
  });
78
78
  exports.AdminMarkOrderFulfillmentDelivered = zod_1.z.object({});
79
+ exports.AdminTransferOrder = zod_1.z.object({
80
+ customer_id: zod_1.z.string(),
81
+ description: zod_1.z.string().optional(),
82
+ internal_note: zod_1.z.string().optional(),
83
+ });
79
84
  //# sourceMappingURL=validators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/admin/orders/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,uDAK+B;AAElB,QAAA,yBAAyB,GAAG,IAAA,+BAAkB,GAAE,CAAC,KAAK,CACjE,OAAC,CAAC,MAAM,CAAC;IACP,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CACH,CAAA;AAMY,QAAA,8BAA8B,GAAG,IAAA,+BAAkB,GAAE,CAAC,KAAK,CACtE,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,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC7D,WAAW,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClE,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;IAC1C,UAAU,EAAE,IAAA,8BAAiB,GAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAA;AAMW,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAGjD,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { HttpTypes } from "@medusajs/framework/types";
2
+ import { AuthenticatedMedusaRequest, MedusaResponse } from "@medusajs/framework/http";
3
+ export declare const POST: (req: AuthenticatedMedusaRequest, res: MedusaResponse<HttpTypes.StoreCartResponse>) => Promise<void>;
4
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../src/api/store/carts/[id]/customer/route.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAErD,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACf,MAAM,0BAA0B,CAAA;AAGjC,eAAO,MAAM,IAAI,QACV,0BAA0B,OAC1B,cAAc,CAAC,SAAS,CAAC,iBAAiB,CAAC,kBAkBjD,CAAA"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.POST = void 0;
4
+ const core_flows_1 = require("@medusajs/core-flows");
5
+ const helpers_1 = require("../../helpers");
6
+ const POST = async (req, res) => {
7
+ const workflow = (0, core_flows_1.updateCartCustomerWorkflow)(req.scope);
8
+ await workflow.run({
9
+ input: {
10
+ id: req.params.id,
11
+ customer_id: req.auth_context?.actor_id,
12
+ },
13
+ });
14
+ const cart = await (0, helpers_1.refetchCart)(req.params.id, req.scope, req.remoteQueryConfig.fields);
15
+ res.status(200).json({ cart });
16
+ };
17
+ exports.POST = POST;
18
+ //# sourceMappingURL=route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../src/api/store/carts/[id]/customer/route.ts"],"names":[],"mappings":";;;AAAA,qDAAiE;AAOjE,2CAA2C;AAEpC,MAAM,IAAI,GAAG,KAAK,EACvB,GAA+B,EAC/B,GAAgD,EAChD,EAAE;IACF,MAAM,QAAQ,GAAG,IAAA,uCAA0B,EAAC,GAAG,CAAC,KAAK,CAAC,CAAA;IAEtD,MAAM,QAAQ,CAAC,GAAG,CAAC;QACjB,KAAK,EAAE;YACL,EAAE,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE;YACjB,WAAW,EAAE,GAAG,CAAC,YAAY,EAAE,QAAQ;SACxC;KACF,CAAC,CAAA;IAEF,MAAM,IAAI,GAAG,MAAM,IAAA,qBAAW,EAC5B,GAAG,CAAC,MAAM,CAAC,EAAE,EACb,GAAG,CAAC,KAAK,EACT,GAAG,CAAC,iBAAiB,CAAC,MAAM,CAC7B,CAAA;IAED,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC,CAAA;AAChC,CAAC,CAAA;AApBY,QAAA,IAAI,QAoBhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/store/carts/middlewares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAoB1D,eAAO,MAAM,0BAA0B,EAAE,eAAe,EAyHvD,CAAA"}
1
+ {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/store/carts/middlewares.ts"],"names":[],"mappings":"AAIA,OAAO,EAAgB,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAmBxE,eAAO,MAAM,0BAA0B,EAAE,eAAe,EAqIvD,CAAA"}
@@ -24,10 +24,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.storeCartRoutesMiddlewares = void 0;
27
+ const framework_1 = require("@medusajs/framework");
28
+ const http_1 = require("@medusajs/framework/http");
27
29
  const ensure_pub_key_sales_channel_match_1 = require("../../utils/middlewares/common/ensure-pub-key-sales-channel-match");
28
30
  const maybe_attach_pub_key_scopes_1 = require("../../utils/middlewares/common/maybe-attach-pub-key-scopes");
29
- const framework_1 = require("@medusajs/framework");
30
- const framework_2 = require("@medusajs/framework");
31
31
  const OrderQueryConfig = __importStar(require("../orders/query-config"));
32
32
  const validators_1 = require("../orders/validators");
33
33
  const QueryConfig = __importStar(require("./query-config"));
@@ -37,7 +37,7 @@ exports.storeCartRoutesMiddlewares = [
37
37
  method: ["GET"],
38
38
  matcher: "/store/carts/:id",
39
39
  middlewares: [
40
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
40
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
41
41
  ],
42
42
  },
43
43
  {
@@ -45,7 +45,7 @@ exports.storeCartRoutesMiddlewares = [
45
45
  matcher: "/store/carts",
46
46
  middlewares: [
47
47
  (0, framework_1.validateAndTransformBody)(validators_2.StoreCreateCart),
48
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
48
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
49
49
  maybe_attach_pub_key_scopes_1.maybeAttachPublishableKeyScopes,
50
50
  ensure_pub_key_sales_channel_match_1.ensurePublishableKeyAndSalesChannelMatch,
51
51
  ],
@@ -55,7 +55,16 @@ exports.storeCartRoutesMiddlewares = [
55
55
  matcher: "/store/carts/:id",
56
56
  middlewares: [
57
57
  (0, framework_1.validateAndTransformBody)(validators_2.StoreUpdateCart),
58
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
58
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
59
+ ],
60
+ },
61
+ {
62
+ method: ["POST"],
63
+ matcher: "/store/carts/:id/customer",
64
+ middlewares: [
65
+ (0, http_1.authenticate)("customer", ["session", "bearer"]),
66
+ (0, framework_1.validateAndTransformBody)(validators_2.StoreUpdateCartCustomer),
67
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
59
68
  ],
60
69
  },
61
70
  {
@@ -63,7 +72,7 @@ exports.storeCartRoutesMiddlewares = [
63
72
  matcher: "/store/carts/:id/line-items",
64
73
  middlewares: [
65
74
  (0, framework_1.validateAndTransformBody)(validators_2.StoreAddCartLineItem),
66
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
75
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
67
76
  ],
68
77
  },
69
78
  {
@@ -71,14 +80,14 @@ exports.storeCartRoutesMiddlewares = [
71
80
  matcher: "/store/carts/:id/line-items/:line_id",
72
81
  middlewares: [
73
82
  (0, framework_1.validateAndTransformBody)(validators_2.StoreUpdateCartLineItem),
74
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
83
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
75
84
  ],
76
85
  },
77
86
  {
78
87
  method: ["DELETE"],
79
88
  matcher: "/store/carts/:id/line-items/:line_id",
80
89
  middlewares: [
81
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
90
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
82
91
  ],
83
92
  },
84
93
  {
@@ -86,7 +95,7 @@ exports.storeCartRoutesMiddlewares = [
86
95
  matcher: "/store/carts/:id/promotions",
87
96
  middlewares: [
88
97
  (0, framework_1.validateAndTransformBody)(validators_2.StoreAddCartPromotions),
89
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
98
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
90
99
  ],
91
100
  },
92
101
  {
@@ -94,7 +103,7 @@ exports.storeCartRoutesMiddlewares = [
94
103
  matcher: "/store/carts/:id/taxes",
95
104
  middlewares: [
96
105
  (0, framework_1.validateAndTransformBody)(validators_2.StoreCalculateCartTaxes),
97
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
106
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
98
107
  ],
99
108
  },
100
109
  {
@@ -102,7 +111,7 @@ exports.storeCartRoutesMiddlewares = [
102
111
  matcher: "/store/carts/:id/shipping-methods",
103
112
  middlewares: [
104
113
  (0, framework_1.validateAndTransformBody)(validators_2.StoreAddCartShippingMethods),
105
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
114
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
106
115
  ],
107
116
  },
108
117
  {
@@ -110,14 +119,14 @@ exports.storeCartRoutesMiddlewares = [
110
119
  matcher: "/store/carts/:id/promotions",
111
120
  middlewares: [
112
121
  (0, framework_1.validateAndTransformBody)(validators_2.StoreRemoveCartPromotions),
113
- (0, framework_2.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
122
+ (0, framework_1.validateAndTransformQuery)(validators_2.StoreGetCartsCart, QueryConfig.retrieveTransformQueryConfig),
114
123
  ],
115
124
  },
116
125
  {
117
126
  method: ["POST"],
118
127
  matcher: "/store/carts/:id/complete",
119
128
  middlewares: [
120
- (0, framework_2.validateAndTransformQuery)(validators_1.StoreGetOrderParams, OrderQueryConfig.retrieveTransformQueryConfig),
129
+ (0, framework_1.validateAndTransformQuery)(validators_1.StoreGetOrderParams, OrderQueryConfig.retrieveTransformQueryConfig),
121
130
  ],
122
131
  },
123
132
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/store/carts/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0HAA4H;AAC5H,4GAA4G;AAC5G,mDAA8D;AAC9D,mDAA+D;AAC/D,yEAA0D;AAC1D,qDAA0D;AAC1D,4DAA6C;AAC7C,6CAUqB;AAER,QAAA,0BAA0B,GAAsB;IAC3D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,kBAAkB;QAC3B,W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8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,wBAAwB;QACjC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,oCAAuB,CAAC;YACjD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,mCAAmC;QAC5C,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,wCAA2B,CAAC;YACrD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,6BAA6B;QACtC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,sCAAyB,CAAC;YACnD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,gCAAmB,EACnB,gBAAgB,CAAC,4BAA4B,CAC9C;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/store/carts/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAG4B;AAC5B,mDAAwE;AACxE,0HAA4H;AAC5H,4GAA4G;AAC5G,yEAA0D;AAC1D,qDAA0D;AAC1D,4DAA6C;AAC7C,6CAWqB;AAER,QAAA,0BAA0B,GAAsB;IAC3D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,kBAAkB;QAC3B,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4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AAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,6BAA6B;QACtC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,mCAAsB,CAAC;YAChD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,wBAAwB;QACjC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,oCAAuB,CAAC;YACjD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,mCAAmC;QAC5C,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,wCAA2B,CAAC;YACrD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,6BAA6B;QACtC,WAAW,EAAE;YACX,IAAA,oCAAwB,EAAC,sCAAyB,CAAC;YACnD,IAAA,qCAAyB,EACvB,8BAAiB,EACjB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,2BAA2B;QACpC,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,gCAAmB,EACnB,gBAAgB,CAAC,4BAA4B,CAC9C;SACF;KACF;CACF,CAAA"}
@@ -397,4 +397,6 @@ export declare const StoreAddCartShippingMethods: z.ZodObject<{
397
397
  }>;
398
398
  export type StoreCreateCartPaymentCollectionType = z.infer<typeof StoreCreateCartPaymentCollection>;
399
399
  export declare const StoreCreateCartPaymentCollection: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
400
+ export type StoreUpdateCartCustomerType = z.infer<typeof StoreUpdateCartCustomer>;
401
+ export declare const StoreUpdateCartCustomer: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
400
402
  //# sourceMappingURL=validators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/store/carts/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AACrE,eAAO,MAAM,iBAAiB;;;;;;EAAuB,CAAA;AAQrD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA;AAC5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYZ,CAAA;AACX,eAAO,MAAM,eAAe;;;;gCAAiC,CAAA;AAE7D,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAC/E,eAAO,MAAM,sBAAsB;;;;;;EAIxB,CAAA;AAEX,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,yBAAyB,CACjC,CAAA;AACD,eAAO,MAAM,yBAAyB;;;;;;EAI3B,CAAA;AAEX,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA;AAC5D,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAC,KAAK,CACnD,OAAO,2BAA2B,CACnC,CAAA;AACD,eAAO,MAAM,2BAA2B;;;;;;;;;EAK7B,CAAA;AAEX,MAAM,MAAM,oCAAoC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,gCAAgC,CACxC,CAAA;AACD,eAAO,MAAM,gCAAgC,iDAAwB,CAAA;AAErE,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,uBAAuB,CAC/B,CAAA;AACD,eAAO,MAAM,uBAAuB,iDAAwB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreCreateCartPaymentCollection = exports.StoreAddCartShippingMethods = exports.StoreUpdateCartLineItem = exports.StoreAddCartLineItem = exports.StoreCalculateCartTaxes = exports.StoreUpdateCart = exports.UpdateCart = exports.StoreRemoveCartPromotions = exports.StoreAddCartPromotions = exports.StoreCreateCart = exports.CreateCart = exports.StoreGetCartsCart = void 0;
3
+ exports.StoreUpdateCartCustomer = exports.StoreCreateCartPaymentCollection = exports.StoreAddCartShippingMethods = exports.StoreUpdateCartLineItem = exports.StoreAddCartLineItem = exports.StoreCalculateCartTaxes = exports.StoreUpdateCart = exports.UpdateCart = exports.StoreRemoveCartPromotions = exports.StoreAddCartPromotions = exports.StoreCreateCart = exports.CreateCart = exports.StoreGetCartsCart = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const common_validators_1 = require("../../utils/common-validators");
6
6
  const validators_1 = require("../../utils/validators");
@@ -63,4 +63,5 @@ exports.StoreAddCartShippingMethods = zod_1.z
63
63
  })
64
64
  .strict();
65
65
  exports.StoreCreateCartPaymentCollection = zod_1.z.object({}).strict();
66
+ exports.StoreUpdateCartCustomer = zod_1.z.object({}).strict();
66
67
  //# sourceMappingURL=validators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/store/carts/validators.ts"],"names":[],"mapp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AI,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvC,CAAC;KACD,MAAM,EAAE,CAAA;AAKE,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAA;AAKxD,QAAA,uBAAuB,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAA"}
@@ -0,0 +1,5 @@
1
+ import { AuthenticatedMedusaRequest, MedusaResponse } from "@medusajs/framework";
2
+ import { HttpTypes } from "@medusajs/framework/types";
3
+ import { StoreAcceptOrderTransferType } from "../../../validators";
4
+ export declare const POST: (req: AuthenticatedMedusaRequest<StoreAcceptOrderTransferType>, res: MedusaResponse<HttpTypes.StoreOrderResponse>) => Promise<void>;
5
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.d.ts","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/accept/route.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAMrD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAA;AAElE,eAAO,MAAM,IAAI,QACV,0BAA0B,CAAC,4BAA4B,CAAC,OACxD,cAAc,CAAC,SAAS,CAAC,kBAAkB,CAAC,kBAiBlD,CAAA"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.POST = void 0;
4
+ const core_flows_1 = require("@medusajs/core-flows");
5
+ const POST = async (req, res) => {
6
+ await (0, core_flows_1.acceptOrderTransferWorkflow)(req.scope).run({
7
+ input: {
8
+ order_id: req.params.id,
9
+ token: req.validatedBody.token,
10
+ },
11
+ });
12
+ const { result } = await (0, core_flows_1.getOrderDetailWorkflow)(req.scope).run({
13
+ input: {
14
+ fields: req.remoteQueryConfig.fields,
15
+ order_id: req.params.id,
16
+ },
17
+ });
18
+ res.status(200).json({ order: result });
19
+ };
20
+ exports.POST = POST;
21
+ //# sourceMappingURL=route.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route.js","sourceRoot":"","sources":["../../../../../../../src/api/store/orders/[id]/transfer/accept/route.ts"],"names":[],"mappings":";;;AAEA,qDAG6B;AAItB,MAAM,IAAI,GAAG,KAAK,EACvB,GAA6D,EAC7D,GAAiD,EACjD,EAAE;IACF,MAAM,IAAA,wCAA2B,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QAC/C,KAAK,EAAE;YACL,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE;YACvB,KAAK,EAAE,GAAG,CAAC,aAAa,CAAC,KAAK;SAC/B;KACF,CAAC,CAAA;IAEF,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,IAAA,mCAAsB,EAAC,GAAG,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;QAC7D,KAAK,EAAE;YACL,MAAM,EAAE,GAAG,CAAC,iBAAiB,CAAC,MAAM;YACpC,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EAAE;SACxB;KACF,CAAC,CAAA;IAEF,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,MAA8B,EAAE,CAAC,CAAA;AACjE,CAAC,CAAA;AAnBY,QAAA,IAAI,QAmBhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/store/orders/middlewares.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAM1D,eAAO,MAAM,2BAA2B,EAAE,eAAe,EAsBxD,CAAA"}
1
+ {"version":3,"file":"middlewares.d.ts","sourceRoot":"","sources":["../../../../src/api/store/orders/middlewares.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEhB,MAAM,0BAA0B,CAAA;AAUjC,eAAO,MAAM,2BAA2B,EAAE,eAAe,EAiCxD,CAAA"}
@@ -24,6 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.storeOrderRoutesMiddlewares = void 0;
27
+ const http_1 = require("@medusajs/framework/http");
27
28
  const authenticate_middleware_1 = require("../../../utils/middlewares/authenticate-middleware");
28
29
  const framework_1 = require("@medusajs/framework");
29
30
  const QueryConfig = __importStar(require("./query-config"));
@@ -44,5 +45,13 @@ exports.storeOrderRoutesMiddlewares = [
44
45
  (0, framework_1.validateAndTransformQuery)(validators_1.StoreGetOrderParams, QueryConfig.retrieveTransformQueryConfig),
45
46
  ],
46
47
  },
48
+ {
49
+ method: ["POST"],
50
+ matcher: "/store/orders/:id/transfer/accept",
51
+ middlewares: [
52
+ (0, http_1.validateAndTransformBody)(validators_1.StoreAcceptOrderTransfer),
53
+ (0, framework_1.validateAndTransformQuery)(validators_1.StoreGetOrderParams, QueryConfig.retrieveTransformQueryConfig),
54
+ ],
55
+ },
47
56
  ];
48
57
  //# sourceMappingURL=middlewares.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/store/orders/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,gGAAiF;AACjF,mDAA+D;AAC/D,4DAA6C;AAC7C,6CAAwE;AAE3D,QAAA,2BAA2B,GAAsB;IAC5D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE;YACX,IAAA,sCAAY,EAAC,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YAC/C,IAAA,qCAAyB,EACvB,iCAAoB,EACpB,WAAW,CAAC,wBAAwB,CACrC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,mBAAmB;QAC5B,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,gCAAmB,EACnB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;CACF,CAAA"}
1
+ {"version":3,"file":"middlewares.js","sourceRoot":"","sources":["../../../../src/api/store/orders/middlewares.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAGiC;AACjC,gGAAiF;AACjF,mDAA+D;AAC/D,4DAA6C;AAC7C,6CAIqB;AAER,QAAA,2BAA2B,GAAsB;IAC5D;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE;YACX,IAAA,sCAAY,EAAC,UAAU,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;YAC/C,IAAA,qCAAyB,EACvB,iCAAoB,EACpB,WAAW,CAAC,wBAAwB,CACrC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,KAAK,CAAC;QACf,OAAO,EAAE,mBAAmB;QAC5B,WAAW,EAAE;YACX,IAAA,qCAAyB,EACvB,gCAAmB,EACnB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;IACD;QACE,MAAM,EAAE,CAAC,MAAM,CAAC;QAChB,OAAO,EAAE,mCAAmC;QAC5C,WAAW,EAAE;YACX,IAAA,+BAAwB,EAAC,qCAAwB,CAAC;YAClD,IAAA,qCAAyB,EACvB,gCAAmB,EACnB,WAAW,CAAC,4BAA4B,CACzC;SACF;KACF;CACF,CAAA"}
@@ -53,4 +53,12 @@ export declare const StoreGetOrdersParams: z.ZodObject<{
53
53
  }[] | undefined;
54
54
  }>;
55
55
  export type StoreGetOrdersParamsType = z.infer<typeof StoreGetOrdersParams>;
56
+ export declare const StoreAcceptOrderTransfer: z.ZodObject<{
57
+ token: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ token: string;
60
+ }, {
61
+ token: string;
62
+ }>;
63
+ export type StoreAcceptOrderTransferType = z.infer<typeof StoreAcceptOrderTransfer>;
56
64
  //# sourceMappingURL=validators.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/store/orders/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;;;;;;EAAuB,CAAA;AACvD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEzE,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK2B,CAAA;AAE5D,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
1
+ {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../../src/api/store/orders/validators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB,eAAO,MAAM,mBAAmB;;;;;;EAAuB,CAAA;AACvD,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAEzE,eAAO,MAAM,0BAA0B;;;;;;;;;EAGrC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK2B,CAAA;AAE5D,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE3E,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,wBAAwB,CAChC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StoreGetOrdersParams = exports.StoreGetOrdersParamsFields = exports.StoreGetOrderParams = void 0;
3
+ exports.StoreAcceptOrderTransfer = exports.StoreGetOrdersParams = exports.StoreGetOrdersParamsFields = exports.StoreGetOrderParams = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const validators_1 = require("../../utils/validators");
6
6
  const common_validators_1 = require("../../utils/common-validators");
@@ -15,4 +15,7 @@ exports.StoreGetOrdersParams = (0, validators_1.createFindParams)({
15
15
  })
16
16
  .merge(exports.StoreGetOrdersParamsFields)
17
17
  .merge((0, common_validators_1.applyAndAndOrOperators)(exports.StoreGetOrdersParamsFields));
18
+ exports.StoreAcceptOrderTransfer = zod_1.z.object({
19
+ token: zod_1.z.string().min(1),
20
+ });
18
21
  //# sourceMappingURL=validators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/store/orders/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,uDAA6E;AAC7E,qEAAsE;AAEzD,QAAA,mBAAmB,GAAG,IAAA,+BAAkB,GAAE,CAAA;AAG1C,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,IAAA,6BAAgB,EAAC;IACnD,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,EAAE;CACV,CAAC;KACC,KAAK,CAAC,kCAA0B,CAAC;KACjC,KAAK,CAAC,IAAA,0CAAsB,EAAC,kCAA0B,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../../src/api/store/orders/validators.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AACvB,uDAA6E;AAC7E,qEAAsE;AAEzD,QAAA,mBAAmB,GAAG,IAAA,+BAAkB,GAAE,CAAA;AAG1C,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACzD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAA;AAEW,QAAA,oBAAoB,GAAG,IAAA,6BAAgB,EAAC;IACnD,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,EAAE;CACV,CAAC;KACC,KAAK,CAAC,kCAA0B,CAAC;KACjC,KAAK,CAAC,IAAA,0CAAsB,EAAC,kCAA0B,CAAC,CAAC,CAAA;AAI/C,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACzB,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/api/middlewares.ts","../src/api/admin/api-keys/helpers.ts","../src/api/admin/api-keys/middlewares.ts","../src/api/admin/api-keys/query-config.ts","../src/api/admin/api-keys/route.ts","../src/api/admin/api-keys/validators.ts","../src/api/admin/api-keys/[id]/route.ts","../src/api/admin/api-keys/[id]/revoke/route.ts","../src/api/admin/api-keys/[id]/sales-channels/route.ts","../src/api/admin/campaigns/helpers.ts","../src/api/admin/campaigns/middlewares.ts","../src/api/admin/campaigns/query-config.ts","../src/api/admin/campaigns/route.ts","../src/api/admin/campaigns/validators.ts","../src/api/admin/campaigns/[id]/route.ts","../src/api/admin/campaigns/[id]/promotions/route.ts","../src/api/admin/claims/middlewares.ts","../src/api/admin/claims/query-config.ts","../src/api/admin/claims/route.ts","../src/api/admin/claims/validators.ts","../src/api/admin/claims/[id]/route.ts","../src/api/admin/claims/[id]/cancel/route.ts","../src/api/admin/claims/[id]/claim-items/route.ts","../src/api/admin/claims/[id]/claim-items/[action_id]/route.ts","../src/api/admin/claims/[id]/inbound/items/route.ts","../src/api/admin/claims/[id]/inbound/items/[action_id]/route.ts","../src/api/admin/claims/[id]/inbound/shipping-method/route.ts","../src/api/admin/claims/[id]/inbound/shipping-method/[action_id]/route.ts","../src/api/admin/claims/[id]/outbound/items/route.ts","../src/api/admin/claims/[id]/outbound/items/[action_id]/route.ts","../src/api/admin/claims/[id]/outbound/shipping-method/route.ts","../src/api/admin/claims/[id]/outbound/shipping-method/[action_id]/route.ts","../src/api/admin/claims/[id]/request/route.ts","../src/api/admin/collections/helpers.ts","../src/api/admin/collections/middlewares.ts","../src/api/admin/collections/query-config.ts","../src/api/admin/collections/route.ts","../src/api/admin/collections/validators.ts","../src/api/admin/collections/[id]/route.ts","../src/api/admin/collections/[id]/products/route.ts","../src/api/admin/currencies/middlewares.ts","../src/api/admin/currencies/query-config.ts","../src/api/admin/currencies/route.ts","../src/api/admin/currencies/validators.ts","../src/api/admin/currencies/[code]/route.ts","../src/api/admin/customer-groups/helpers.ts","../src/api/admin/customer-groups/middlewares.ts","../src/api/admin/customer-groups/query-config.ts","../src/api/admin/customer-groups/route.ts","../src/api/admin/customer-groups/validators.ts","../src/api/admin/customer-groups/[id]/route.ts","../src/api/admin/customer-groups/[id]/customers/route.ts","../src/api/admin/customers/helpers.ts","../src/api/admin/customers/middlewares.ts","../src/api/admin/customers/query-config.ts","../src/api/admin/customers/route.ts","../src/api/admin/customers/validators.ts","../src/api/admin/customers/[id]/route.ts","../src/api/admin/customers/[id]/addresses/route.ts","../src/api/admin/customers/[id]/addresses/[address_id]/route.ts","../src/api/admin/customers/[id]/customer-groups/route.ts","../src/api/admin/draft-orders/helpers.ts","../src/api/admin/draft-orders/middlewares.ts","../src/api/admin/draft-orders/query-config.ts","../src/api/admin/draft-orders/route.ts","../src/api/admin/draft-orders/validators.ts","../src/api/admin/draft-orders/[id]/route.ts","../src/api/admin/exchanges/middlewares.ts","../src/api/admin/exchanges/query-config.ts","../src/api/admin/exchanges/route.ts","../src/api/admin/exchanges/validators.ts","../src/api/admin/exchanges/[id]/route.ts","../src/api/admin/exchanges/[id]/cancel/route.ts","../src/api/admin/exchanges/[id]/inbound/items/route.ts","../src/api/admin/exchanges/[id]/inbound/items/[action_id]/route.ts","../src/api/admin/exchanges/[id]/inbound/shipping-method/route.ts","../src/api/admin/exchanges/[id]/inbound/shipping-method/[action_id]/route.ts","../src/api/admin/exchanges/[id]/outbound/items/route.ts","../src/api/admin/exchanges/[id]/outbound/items/[action_id]/route.ts","../src/api/admin/exchanges/[id]/outbound/shipping-method/route.ts","../src/api/admin/exchanges/[id]/outbound/shipping-method/[action_id]/route.ts","../src/api/admin/exchanges/[id]/request/route.ts","../src/api/admin/fulfillment-providers/middlewares.ts","../src/api/admin/fulfillment-providers/query-config.ts","../src/api/admin/fulfillment-providers/route.ts","../src/api/admin/fulfillment-providers/validators.ts","../src/api/admin/fulfillment-sets/helpers.ts","../src/api/admin/fulfillment-sets/middlewares.ts","../src/api/admin/fulfillment-sets/query-config.ts","../src/api/admin/fulfillment-sets/validators.ts","../src/api/admin/fulfillment-sets/[id]/route.ts","../src/api/admin/fulfillment-sets/[id]/service-zones/route.ts","../src/api/admin/fulfillment-sets/[id]/service-zones/[zone_id]/route.ts","../src/api/admin/fulfillment-sets/validators/geo-zone.ts","../src/api/admin/fulfillments/helpers.ts","../src/api/admin/fulfillments/middlewares.ts","../src/api/admin/fulfillments/query-config.ts","../src/api/admin/fulfillments/route.ts","../src/api/admin/fulfillments/validators.ts","../src/api/admin/fulfillments/[id]/cancel/route.ts","../src/api/admin/fulfillments/[id]/shipment/route.ts","../src/api/admin/inventory-items/helpers.ts","../src/api/admin/inventory-items/middlewares.ts","../src/api/admin/inventory-items/query-config.ts","../src/api/admin/inventory-items/route.ts","../src/api/admin/inventory-items/validators.ts","../src/api/admin/inventory-items/[id]/route.ts","../src/api/admin/inventory-items/[id]/location-levels/route.ts","../src/api/admin/inventory-items/[id]/location-levels/[location_id]/route.ts","../src/api/admin/inventory-items/[id]/location-levels/batch/route.ts","../src/api/admin/invites/helpers.ts","../src/api/admin/invites/middlewares.ts","../src/api/admin/invites/query-config.ts","../src/api/admin/invites/route.ts","../src/api/admin/invites/validators.ts","../src/api/admin/invites/[id]/route.ts","../src/api/admin/invites/[id]/resend/route.ts","../src/api/admin/invites/accept/route.ts","../src/api/admin/notifications/middlewares.ts","../src/api/admin/notifications/query-config.ts","../src/api/admin/notifications/route.ts","../src/api/admin/notifications/validators.ts","../src/api/admin/notifications/[id]/route.ts","../src/api/admin/order-edits/middlewares.ts","../src/api/admin/order-edits/query-config.ts","../src/api/admin/order-edits/route.ts","../src/api/admin/order-edits/validators.ts","../src/api/admin/order-edits/[id]/route.ts","../src/api/admin/order-edits/[id]/confirm/route.ts","../src/api/admin/order-edits/[id]/items/route.ts","../src/api/admin/order-edits/[id]/items/[action_id]/route.ts","../src/api/admin/order-edits/[id]/items/item/[item_id]/route.ts","../src/api/admin/order-edits/[id]/request/route.ts","../src/api/admin/order-edits/[id]/shipping-method/route.ts","../src/api/admin/order-edits/[id]/shipping-method/[action_id]/route.ts","../src/api/admin/orders/middlewares.ts","../src/api/admin/orders/query-config.ts","../src/api/admin/orders/route.ts","../src/api/admin/orders/validators.ts","../src/api/admin/orders/[id]/route.ts","../src/api/admin/orders/[id]/archive/route.ts","../src/api/admin/orders/[id]/cancel/route.ts","../src/api/admin/orders/[id]/changes/route.ts","../src/api/admin/orders/[id]/complete/route.ts","../src/api/admin/orders/[id]/fulfillments/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.ts","../src/api/admin/orders/[id]/line-items/route.ts","../src/api/admin/orders/[id]/preview/route.ts","../src/api/admin/payment-collections/middlewares.ts","../src/api/admin/payment-collections/query-config.ts","../src/api/admin/payment-collections/route.ts","../src/api/admin/payment-collections/validators.ts","../src/api/admin/payment-collections/[id]/route.ts","../src/api/admin/payment-collections/[id]/mark-as-paid/route.ts","../src/api/admin/payments/helpers.ts","../src/api/admin/payments/middlewares.ts","../src/api/admin/payments/query-config.ts","../src/api/admin/payments/route.ts","../src/api/admin/payments/validators.ts","../src/api/admin/payments/[id]/route.ts","../src/api/admin/payments/[id]/capture/route.ts","../src/api/admin/payments/[id]/refund/route.ts","../src/api/admin/payments/payment-providers/route.ts","../src/api/admin/price-lists/helpers.ts","../src/api/admin/price-lists/middlewares.ts","../src/api/admin/price-lists/query-config.ts","../src/api/admin/price-lists/route.ts","../src/api/admin/price-lists/types.ts","../src/api/admin/price-lists/validators.ts","../src/api/admin/price-lists/[id]/route.ts","../src/api/admin/price-lists/[id]/prices/batch/route.ts","../src/api/admin/price-lists/[id]/products/route.ts","../src/api/admin/price-lists/queries/get-price-list.ts","../src/api/admin/price-lists/queries/index.ts","../src/api/admin/price-lists/queries/list-price-lists.ts","../src/api/admin/price-lists/queries/list-prices.ts","../src/api/admin/price-preferences/middlewares.ts","../src/api/admin/price-preferences/query-config.ts","../src/api/admin/price-preferences/route.ts","../src/api/admin/price-preferences/validators.ts","../src/api/admin/price-preferences/[id]/route.ts","../src/api/admin/product-categories/middlewares.ts","../src/api/admin/product-categories/query-config.ts","../src/api/admin/product-categories/route.ts","../src/api/admin/product-categories/validators.ts","../src/api/admin/product-categories/[id]/route.ts","../src/api/admin/product-categories/[id]/products/route.ts","../src/api/admin/product-tags/middlewares.ts","../src/api/admin/product-tags/query-config.ts","../src/api/admin/product-tags/route.ts","../src/api/admin/product-tags/validators.ts","../src/api/admin/product-tags/[id]/route.ts","../src/api/admin/product-types/helpers.ts","../src/api/admin/product-types/middlewares.ts","../src/api/admin/product-types/query-config.ts","../src/api/admin/product-types/route.ts","../src/api/admin/product-types/validators.ts","../src/api/admin/product-types/[id]/route.ts","../src/api/admin/product-variants/middlewares.ts","../src/api/admin/product-variants/query-config.ts","../src/api/admin/product-variants/route.ts","../src/api/admin/product-variants/validators.ts","../src/api/admin/products/helpers.ts","../src/api/admin/products/middlewares.ts","../src/api/admin/products/query-config.ts","../src/api/admin/products/route.ts","../src/api/admin/products/validators.ts","../src/api/admin/products/[id]/route.ts","../src/api/admin/products/[id]/options/route.ts","../src/api/admin/products/[id]/options/[option_id]/route.ts","../src/api/admin/products/[id]/variants/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/inventory-items/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/inventory-items/[inventory_item_id]/route.ts","../src/api/admin/products/[id]/variants/batch/route.ts","../src/api/admin/products/[id]/variants/inventory-items/batch/route.ts","../src/api/admin/products/batch/route.ts","../src/api/admin/products/export/route.ts","../src/api/admin/products/import/route.ts","../src/api/admin/products/import/[transaction_id]/confirm/route.ts","../src/api/admin/products/utils/index.ts","../src/api/admin/products/utils/maybe-apply-price-lists-filter.ts","../src/api/admin/promotions/helpers.ts","../src/api/admin/promotions/middlewares.ts","../src/api/admin/promotions/query-config.ts","../src/api/admin/promotions/route.ts","../src/api/admin/promotions/validators.ts","../src/api/admin/promotions/[id]/route.ts","../src/api/admin/promotions/[id]/[rule_type]/route.ts","../src/api/admin/promotions/[id]/buy-rules/batch/route.ts","../src/api/admin/promotions/[id]/rules/batch/route.ts","../src/api/admin/promotions/[id]/target-rules/batch/route.ts","../src/api/admin/promotions/rule-attribute-options/[rule_type]/route.ts","../src/api/admin/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.ts","../src/api/admin/promotions/utils/index.ts","../src/api/admin/promotions/utils/operators-map.ts","../src/api/admin/promotions/utils/rule-attributes-map.ts","../src/api/admin/promotions/utils/rule-query-configuration.ts","../src/api/admin/promotions/utils/validate-rule-attribute.ts","../src/api/admin/promotions/utils/validate-rule-type.ts","../src/api/admin/refund-reasons/middlewares.ts","../src/api/admin/refund-reasons/query-config.ts","../src/api/admin/refund-reasons/route.ts","../src/api/admin/refund-reasons/validators.ts","../src/api/admin/refund-reasons/[id]/route.ts","../src/api/admin/regions/helpers.ts","../src/api/admin/regions/middlewares.ts","../src/api/admin/regions/query-config.ts","../src/api/admin/regions/route.ts","../src/api/admin/regions/validators.ts","../src/api/admin/regions/[id]/route.ts","../src/api/admin/reservations/helpers.ts","../src/api/admin/reservations/middlewares.ts","../src/api/admin/reservations/query-config.ts","../src/api/admin/reservations/route.ts","../src/api/admin/reservations/validators.ts","../src/api/admin/reservations/[id]/route.ts","../src/api/admin/return-reasons/middlewares.ts","../src/api/admin/return-reasons/query-config.ts","../src/api/admin/return-reasons/route.ts","../src/api/admin/return-reasons/validators.ts","../src/api/admin/return-reasons/[id]/route.ts","../src/api/admin/returns/middlewares.ts","../src/api/admin/returns/query-config.ts","../src/api/admin/returns/route.ts","../src/api/admin/returns/validators.ts","../src/api/admin/returns/[id]/route.ts","../src/api/admin/returns/[id]/cancel/route.ts","../src/api/admin/returns/[id]/dismiss-items/route.ts","../src/api/admin/returns/[id]/dismiss-items/[action_id]/route.ts","../src/api/admin/returns/[id]/receive/route.ts","../src/api/admin/returns/[id]/receive/confirm/route.ts","../src/api/admin/returns/[id]/receive-items/route.ts","../src/api/admin/returns/[id]/receive-items/[action_id]/route.ts","../src/api/admin/returns/[id]/request/route.ts","../src/api/admin/returns/[id]/request-items/route.ts","../src/api/admin/returns/[id]/request-items/[action_id]/route.ts","../src/api/admin/returns/[id]/shipping-method/route.ts","../src/api/admin/returns/[id]/shipping-method/[action_id]/route.ts","../src/api/admin/sales-channels/helpers.ts","../src/api/admin/sales-channels/middlewares.ts","../src/api/admin/sales-channels/query-config.ts","../src/api/admin/sales-channels/route.ts","../src/api/admin/sales-channels/validators.ts","../src/api/admin/sales-channels/[id]/route.ts","../src/api/admin/sales-channels/[id]/products/route.ts","../src/api/admin/shipping-options/helpers.ts","../src/api/admin/shipping-options/middlewares.ts","../src/api/admin/shipping-options/query-config.ts","../src/api/admin/shipping-options/route.ts","../src/api/admin/shipping-options/validators.ts","../src/api/admin/shipping-options/[id]/route.ts","../src/api/admin/shipping-options/[id]/rules/batch/route.ts","../src/api/admin/shipping-profiles/helpers.ts","../src/api/admin/shipping-profiles/middlewares.ts","../src/api/admin/shipping-profiles/query-config.ts","../src/api/admin/shipping-profiles/route.ts","../src/api/admin/shipping-profiles/validators.ts","../src/api/admin/shipping-profiles/[id]/route.ts","../src/api/admin/stock-locations/helpers.ts","../src/api/admin/stock-locations/middlewares.ts","../src/api/admin/stock-locations/query-config.ts","../src/api/admin/stock-locations/route.ts","../src/api/admin/stock-locations/validators.ts","../src/api/admin/stock-locations/[id]/route.ts","../src/api/admin/stock-locations/[id]/fulfillment-providers/route.ts","../src/api/admin/stock-locations/[id]/fulfillment-sets/route.ts","../src/api/admin/stock-locations/[id]/sales-channels/route.ts","../src/api/admin/stores/helpers.ts","../src/api/admin/stores/middlewares.ts","../src/api/admin/stores/query-config.ts","../src/api/admin/stores/route.ts","../src/api/admin/stores/validators.ts","../src/api/admin/stores/[id]/route.ts","../src/api/admin/tax-rates/helpers.ts","../src/api/admin/tax-rates/middlewares.ts","../src/api/admin/tax-rates/query-config.ts","../src/api/admin/tax-rates/route.ts","../src/api/admin/tax-rates/validators.ts","../src/api/admin/tax-rates/[id]/route.ts","../src/api/admin/tax-rates/[id]/rules/route.ts","../src/api/admin/tax-rates/[id]/rules/[rule_id]/route.ts","../src/api/admin/tax-regions/helpers.ts","../src/api/admin/tax-regions/middlewares.ts","../src/api/admin/tax-regions/query-config.ts","../src/api/admin/tax-regions/route.ts","../src/api/admin/tax-regions/validators.ts","../src/api/admin/tax-regions/[id]/route.ts","../src/api/admin/uploads/middlewares.ts","../src/api/admin/uploads/query-config.ts","../src/api/admin/uploads/route.ts","../src/api/admin/uploads/validators.ts","../src/api/admin/uploads/[id]/route.ts","../src/api/admin/users/helpers.ts","../src/api/admin/users/middlewares.ts","../src/api/admin/users/query-config.ts","../src/api/admin/users/route.ts","../src/api/admin/users/validators.ts","../src/api/admin/users/[id]/route.ts","../src/api/admin/users/me/route.ts","../src/api/admin/workflows-executions/middlewares.ts","../src/api/admin/workflows-executions/query-config.ts","../src/api/admin/workflows-executions/route.ts","../src/api/admin/workflows-executions/validators.ts","../src/api/admin/workflows-executions/[id]/route.ts","../src/api/admin/workflows-executions/[workflow_id]/[transaction_id]/route.ts","../src/api/admin/workflows-executions/[workflow_id]/[transaction_id]/[step_id]/subscribe/route.ts","../src/api/admin/workflows-executions/[workflow_id]/run/route.ts","../src/api/admin/workflows-executions/[workflow_id]/steps/failure/route.ts","../src/api/admin/workflows-executions/[workflow_id]/steps/success/route.ts","../src/api/admin/workflows-executions/[workflow_id]/subscribe/route.ts","../src/api/auth/middlewares.ts","../src/api/auth/validators.ts","../src/api/auth/[actor_type]/[auth_provider]/route.ts","../src/api/auth/[actor_type]/[auth_provider]/callback/route.ts","../src/api/auth/[actor_type]/[auth_provider]/register/route.ts","../src/api/auth/[actor_type]/[auth_provider]/reset-password/route.ts","../src/api/auth/[actor_type]/[auth_provider]/update/route.ts","../src/api/auth/session/route.ts","../src/api/auth/token/refresh/route.ts","../src/api/auth/utils/generate-jwt-token.ts","../src/api/auth/utils/validate-scope-provider-association.ts","../src/api/auth/utils/validate-token.ts","../src/api/hooks/middlewares.ts","../src/api/hooks/payment/[provider]/route.ts","../src/api/store/middlewares.ts","../src/api/store/carts/helpers.ts","../src/api/store/carts/middlewares.ts","../src/api/store/carts/query-config.ts","../src/api/store/carts/route.ts","../src/api/store/carts/validators.ts","../src/api/store/carts/[id]/route.ts","../src/api/store/carts/[id]/complete/route.ts","../src/api/store/carts/[id]/line-items/route.ts","../src/api/store/carts/[id]/line-items/[line_id]/route.ts","../src/api/store/carts/[id]/promotions/route.ts","../src/api/store/carts/[id]/shipping-methods/route.ts","../src/api/store/carts/[id]/taxes/route.ts","../src/api/store/collections/helpers.ts","../src/api/store/collections/middlewares.ts","../src/api/store/collections/query-config.ts","../src/api/store/collections/route.ts","../src/api/store/collections/validators.ts","../src/api/store/collections/[id]/route.ts","../src/api/store/currencies/middlewares.ts","../src/api/store/currencies/query-config.ts","../src/api/store/currencies/route.ts","../src/api/store/currencies/validators.ts","../src/api/store/currencies/[code]/route.ts","../src/api/store/customers/helpers.ts","../src/api/store/customers/middlewares.ts","../src/api/store/customers/query-config.ts","../src/api/store/customers/route.ts","../src/api/store/customers/validators.ts","../src/api/store/customers/me/route.ts","../src/api/store/customers/me/addresses/route.ts","../src/api/store/customers/me/addresses/[address_id]/route.ts","../src/api/store/orders/helpers.ts","../src/api/store/orders/middlewares.ts","../src/api/store/orders/query-config.ts","../src/api/store/orders/route.ts","../src/api/store/orders/validators.ts","../src/api/store/orders/[id]/route.ts","../src/api/store/payment-collections/helpers.ts","../src/api/store/payment-collections/middlewares.ts","../src/api/store/payment-collections/query-config.ts","../src/api/store/payment-collections/route.ts","../src/api/store/payment-collections/validators.ts","../src/api/store/payment-collections/[id]/payment-sessions/route.ts","../src/api/store/payment-providers/middlewares.ts","../src/api/store/payment-providers/query-config.ts","../src/api/store/payment-providers/route.ts","../src/api/store/payment-providers/validators.ts","../src/api/store/product-categories/helpers.ts","../src/api/store/product-categories/middlewares.ts","../src/api/store/product-categories/query-config.ts","../src/api/store/product-categories/route.ts","../src/api/store/product-categories/validators.ts","../src/api/store/product-categories/[id]/route.ts","../src/api/store/products/helpers.ts","../src/api/store/products/middlewares.ts","../src/api/store/products/query-config.ts","../src/api/store/products/route.ts","../src/api/store/products/validators.ts","../src/api/store/products/[id]/route.ts","../src/api/store/regions/middlewares.ts","../src/api/store/regions/query-config.ts","../src/api/store/regions/route.ts","../src/api/store/regions/validators.ts","../src/api/store/regions/[id]/route.ts","../src/api/store/return/middlewares.ts","../src/api/store/return/query-config.ts","../src/api/store/return/route.ts","../src/api/store/return/validators.ts","../src/api/store/return-reasons/middlewares.ts","../src/api/store/return-reasons/query-config.ts","../src/api/store/return-reasons/route.ts","../src/api/store/return-reasons/validators.ts","../src/api/store/return-reasons/[id]/route.ts","../src/api/store/shipping-options/middlewares.ts","../src/api/store/shipping-options/query-config.ts","../src/api/store/shipping-options/route.ts","../src/api/store/shipping-options/validators.ts","../src/api/utils/validators.ts","../src/api/utils/common-validators/common.ts","../src/api/utils/common-validators/index.ts","../src/api/utils/common-validators/products/index.ts","../src/api/utils/middlewares/index.ts","../src/api/utils/middlewares/common/ensure-pub-key-sales-channel-match.ts","../src/api/utils/middlewares/common/maybe-attach-pub-key-scopes.ts","../src/api/utils/middlewares/products/filter-by-valid-sales-channels.ts","../src/api/utils/middlewares/products/index.ts","../src/api/utils/middlewares/products/normalize-data-for-context.ts","../src/api/utils/middlewares/products/set-pricing-context.ts","../src/api/utils/middlewares/products/set-tax-context.ts","../src/api/utils/middlewares/products/variant-inventory-quantity.ts","../src/commands/build.ts","../src/commands/develop.ts","../src/commands/exec.ts","../src/commands/index.ts","../src/commands/start.ts","../src/commands/user.ts","../src/commands/__fixtures__/instrumentation.js","../src/commands/__fixtures__/instrumentation-failure/instrumentation.js","../src/commands/__fixtures__/instrumentation-no-register/instrumentation.js","../src/commands/__tests__/start.spec.ts","../src/commands/db/create.ts","../src/commands/db/generate.ts","../src/commands/db/migrate.ts","../src/commands/db/rollback.ts","../src/commands/db/setup.ts","../src/commands/db/sync-links.ts","../src/commands/utils/index.ts","../src/core-flows/index.ts","../src/instrumentation/index.ts","../src/loaders/admin.ts","../src/loaders/api.ts","../src/loaders/index.ts","../src/loaders/feature-flags/analytics.ts","../src/loaders/feature-flags/medusa-v2.ts","../src/loaders/feature-flags/order-editing.ts","../src/loaders/feature-flags/product-categories.ts","../src/loaders/feature-flags/publishable-api-keys.ts","../src/loaders/feature-flags/sales-channels.ts","../src/loaders/feature-flags/tax-inclusive-pricing.ts","../src/loaders/feature-flags/workflows.ts","../src/loaders/helpers/resolve-plugins.ts","../src/modules/api-key.ts","../src/modules/auth-emailpass.ts","../src/modules/auth-github.ts","../src/modules/auth-google.ts","../src/modules/auth.ts","../src/modules/cache-inmemory.ts","../src/modules/cache-redis.ts","../src/modules/cart.ts","../src/modules/currency.ts","../src/modules/customer.ts","../src/modules/event-bus-local.ts","../src/modules/event-bus-redis.ts","../src/modules/file-local.ts","../src/modules/file-s3.ts","../src/modules/file.ts","../src/modules/fulfillment-manual.ts","../src/modules/fulfillment.ts","../src/modules/index-module.ts","../src/modules/inventory.ts","../src/modules/link-modules.ts","../src/modules/locking-postgres.ts","../src/modules/locking-redis.ts","../src/modules/locking.ts","../src/modules/notification-local.ts","../src/modules/notification-sendgrid.ts","../src/modules/notification.ts","../src/modules/order.ts","../src/modules/payment-stripe.ts","../src/modules/payment.ts","../src/modules/pricing.ts","../src/modules/product.ts","../src/modules/promotion.ts","../src/modules/region.ts","../src/modules/sales-channel.ts","../src/modules/stock-location.ts","../src/modules/store.ts","../src/modules/tax.ts","../src/modules/user.ts","../src/modules/workflow-engine-inmemory.ts","../src/modules/workflow-engine-redis.ts","../src/subscribers/configurable-notifications.ts","../src/subscribers/payment-webhook.ts","../src/types/global.ts","../src/types/index.ts","../src/types/middlewares.ts","../src/types/subscribers.ts","../src/utils/admin-consts.ts","../src/utils/clean-response-data.ts","../src/utils/define-middlewares.ts","../src/utils/diff-set.ts","../src/utils/exception-formatter.ts","../src/utils/format-registration-name.ts","../src/utils/index.ts","../src/utils/__tests__/define-routes-config.spec.ts","../src/utils/__tests__/format-registration-name.js","../src/utils/middlewares/authenticate-middleware.ts","../src/utils/middlewares/error-handler.ts","../src/utils/middlewares/index.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/api/middlewares.ts","../src/api/admin/api-keys/helpers.ts","../src/api/admin/api-keys/middlewares.ts","../src/api/admin/api-keys/query-config.ts","../src/api/admin/api-keys/route.ts","../src/api/admin/api-keys/validators.ts","../src/api/admin/api-keys/[id]/route.ts","../src/api/admin/api-keys/[id]/revoke/route.ts","../src/api/admin/api-keys/[id]/sales-channels/route.ts","../src/api/admin/campaigns/helpers.ts","../src/api/admin/campaigns/middlewares.ts","../src/api/admin/campaigns/query-config.ts","../src/api/admin/campaigns/route.ts","../src/api/admin/campaigns/validators.ts","../src/api/admin/campaigns/[id]/route.ts","../src/api/admin/campaigns/[id]/promotions/route.ts","../src/api/admin/claims/middlewares.ts","../src/api/admin/claims/query-config.ts","../src/api/admin/claims/route.ts","../src/api/admin/claims/validators.ts","../src/api/admin/claims/[id]/route.ts","../src/api/admin/claims/[id]/cancel/route.ts","../src/api/admin/claims/[id]/claim-items/route.ts","../src/api/admin/claims/[id]/claim-items/[action_id]/route.ts","../src/api/admin/claims/[id]/inbound/items/route.ts","../src/api/admin/claims/[id]/inbound/items/[action_id]/route.ts","../src/api/admin/claims/[id]/inbound/shipping-method/route.ts","../src/api/admin/claims/[id]/inbound/shipping-method/[action_id]/route.ts","../src/api/admin/claims/[id]/outbound/items/route.ts","../src/api/admin/claims/[id]/outbound/items/[action_id]/route.ts","../src/api/admin/claims/[id]/outbound/shipping-method/route.ts","../src/api/admin/claims/[id]/outbound/shipping-method/[action_id]/route.ts","../src/api/admin/claims/[id]/request/route.ts","../src/api/admin/collections/helpers.ts","../src/api/admin/collections/middlewares.ts","../src/api/admin/collections/query-config.ts","../src/api/admin/collections/route.ts","../src/api/admin/collections/validators.ts","../src/api/admin/collections/[id]/route.ts","../src/api/admin/collections/[id]/products/route.ts","../src/api/admin/currencies/middlewares.ts","../src/api/admin/currencies/query-config.ts","../src/api/admin/currencies/route.ts","../src/api/admin/currencies/validators.ts","../src/api/admin/currencies/[code]/route.ts","../src/api/admin/customer-groups/helpers.ts","../src/api/admin/customer-groups/middlewares.ts","../src/api/admin/customer-groups/query-config.ts","../src/api/admin/customer-groups/route.ts","../src/api/admin/customer-groups/validators.ts","../src/api/admin/customer-groups/[id]/route.ts","../src/api/admin/customer-groups/[id]/customers/route.ts","../src/api/admin/customers/helpers.ts","../src/api/admin/customers/middlewares.ts","../src/api/admin/customers/query-config.ts","../src/api/admin/customers/route.ts","../src/api/admin/customers/validators.ts","../src/api/admin/customers/[id]/route.ts","../src/api/admin/customers/[id]/addresses/route.ts","../src/api/admin/customers/[id]/addresses/[address_id]/route.ts","../src/api/admin/customers/[id]/customer-groups/route.ts","../src/api/admin/draft-orders/helpers.ts","../src/api/admin/draft-orders/middlewares.ts","../src/api/admin/draft-orders/query-config.ts","../src/api/admin/draft-orders/route.ts","../src/api/admin/draft-orders/validators.ts","../src/api/admin/draft-orders/[id]/route.ts","../src/api/admin/exchanges/middlewares.ts","../src/api/admin/exchanges/query-config.ts","../src/api/admin/exchanges/route.ts","../src/api/admin/exchanges/validators.ts","../src/api/admin/exchanges/[id]/route.ts","../src/api/admin/exchanges/[id]/cancel/route.ts","../src/api/admin/exchanges/[id]/inbound/items/route.ts","../src/api/admin/exchanges/[id]/inbound/items/[action_id]/route.ts","../src/api/admin/exchanges/[id]/inbound/shipping-method/route.ts","../src/api/admin/exchanges/[id]/inbound/shipping-method/[action_id]/route.ts","../src/api/admin/exchanges/[id]/outbound/items/route.ts","../src/api/admin/exchanges/[id]/outbound/items/[action_id]/route.ts","../src/api/admin/exchanges/[id]/outbound/shipping-method/route.ts","../src/api/admin/exchanges/[id]/outbound/shipping-method/[action_id]/route.ts","../src/api/admin/exchanges/[id]/request/route.ts","../src/api/admin/fulfillment-providers/middlewares.ts","../src/api/admin/fulfillment-providers/query-config.ts","../src/api/admin/fulfillment-providers/route.ts","../src/api/admin/fulfillment-providers/validators.ts","../src/api/admin/fulfillment-sets/helpers.ts","../src/api/admin/fulfillment-sets/middlewares.ts","../src/api/admin/fulfillment-sets/query-config.ts","../src/api/admin/fulfillment-sets/validators.ts","../src/api/admin/fulfillment-sets/[id]/route.ts","../src/api/admin/fulfillment-sets/[id]/service-zones/route.ts","../src/api/admin/fulfillment-sets/[id]/service-zones/[zone_id]/route.ts","../src/api/admin/fulfillment-sets/validators/geo-zone.ts","../src/api/admin/fulfillments/helpers.ts","../src/api/admin/fulfillments/middlewares.ts","../src/api/admin/fulfillments/query-config.ts","../src/api/admin/fulfillments/route.ts","../src/api/admin/fulfillments/validators.ts","../src/api/admin/fulfillments/[id]/cancel/route.ts","../src/api/admin/fulfillments/[id]/shipment/route.ts","../src/api/admin/inventory-items/helpers.ts","../src/api/admin/inventory-items/middlewares.ts","../src/api/admin/inventory-items/query-config.ts","../src/api/admin/inventory-items/route.ts","../src/api/admin/inventory-items/validators.ts","../src/api/admin/inventory-items/[id]/route.ts","../src/api/admin/inventory-items/[id]/location-levels/route.ts","../src/api/admin/inventory-items/[id]/location-levels/[location_id]/route.ts","../src/api/admin/inventory-items/[id]/location-levels/batch/route.ts","../src/api/admin/invites/helpers.ts","../src/api/admin/invites/middlewares.ts","../src/api/admin/invites/query-config.ts","../src/api/admin/invites/route.ts","../src/api/admin/invites/validators.ts","../src/api/admin/invites/[id]/route.ts","../src/api/admin/invites/[id]/resend/route.ts","../src/api/admin/invites/accept/route.ts","../src/api/admin/notifications/middlewares.ts","../src/api/admin/notifications/query-config.ts","../src/api/admin/notifications/route.ts","../src/api/admin/notifications/validators.ts","../src/api/admin/notifications/[id]/route.ts","../src/api/admin/order-edits/middlewares.ts","../src/api/admin/order-edits/query-config.ts","../src/api/admin/order-edits/route.ts","../src/api/admin/order-edits/validators.ts","../src/api/admin/order-edits/[id]/route.ts","../src/api/admin/order-edits/[id]/confirm/route.ts","../src/api/admin/order-edits/[id]/items/route.ts","../src/api/admin/order-edits/[id]/items/[action_id]/route.ts","../src/api/admin/order-edits/[id]/items/item/[item_id]/route.ts","../src/api/admin/order-edits/[id]/request/route.ts","../src/api/admin/order-edits/[id]/shipping-method/route.ts","../src/api/admin/order-edits/[id]/shipping-method/[action_id]/route.ts","../src/api/admin/orders/middlewares.ts","../src/api/admin/orders/query-config.ts","../src/api/admin/orders/route.ts","../src/api/admin/orders/validators.ts","../src/api/admin/orders/[id]/route.ts","../src/api/admin/orders/[id]/archive/route.ts","../src/api/admin/orders/[id]/cancel/route.ts","../src/api/admin/orders/[id]/changes/route.ts","../src/api/admin/orders/[id]/complete/route.ts","../src/api/admin/orders/[id]/fulfillments/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/cancel/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/mark-as-delivered/route.ts","../src/api/admin/orders/[id]/fulfillments/[fulfillment_id]/shipments/route.ts","../src/api/admin/orders/[id]/line-items/route.ts","../src/api/admin/orders/[id]/preview/route.ts","../src/api/admin/orders/[id]/transfer/route.ts","../src/api/admin/payment-collections/middlewares.ts","../src/api/admin/payment-collections/query-config.ts","../src/api/admin/payment-collections/route.ts","../src/api/admin/payment-collections/validators.ts","../src/api/admin/payment-collections/[id]/route.ts","../src/api/admin/payment-collections/[id]/mark-as-paid/route.ts","../src/api/admin/payments/helpers.ts","../src/api/admin/payments/middlewares.ts","../src/api/admin/payments/query-config.ts","../src/api/admin/payments/route.ts","../src/api/admin/payments/validators.ts","../src/api/admin/payments/[id]/route.ts","../src/api/admin/payments/[id]/capture/route.ts","../src/api/admin/payments/[id]/refund/route.ts","../src/api/admin/payments/payment-providers/route.ts","../src/api/admin/price-lists/helpers.ts","../src/api/admin/price-lists/middlewares.ts","../src/api/admin/price-lists/query-config.ts","../src/api/admin/price-lists/route.ts","../src/api/admin/price-lists/types.ts","../src/api/admin/price-lists/validators.ts","../src/api/admin/price-lists/[id]/route.ts","../src/api/admin/price-lists/[id]/prices/batch/route.ts","../src/api/admin/price-lists/[id]/products/route.ts","../src/api/admin/price-lists/queries/get-price-list.ts","../src/api/admin/price-lists/queries/index.ts","../src/api/admin/price-lists/queries/list-price-lists.ts","../src/api/admin/price-lists/queries/list-prices.ts","../src/api/admin/price-preferences/middlewares.ts","../src/api/admin/price-preferences/query-config.ts","../src/api/admin/price-preferences/route.ts","../src/api/admin/price-preferences/validators.ts","../src/api/admin/price-preferences/[id]/route.ts","../src/api/admin/product-categories/middlewares.ts","../src/api/admin/product-categories/query-config.ts","../src/api/admin/product-categories/route.ts","../src/api/admin/product-categories/validators.ts","../src/api/admin/product-categories/[id]/route.ts","../src/api/admin/product-categories/[id]/products/route.ts","../src/api/admin/product-tags/middlewares.ts","../src/api/admin/product-tags/query-config.ts","../src/api/admin/product-tags/route.ts","../src/api/admin/product-tags/validators.ts","../src/api/admin/product-tags/[id]/route.ts","../src/api/admin/product-types/helpers.ts","../src/api/admin/product-types/middlewares.ts","../src/api/admin/product-types/query-config.ts","../src/api/admin/product-types/route.ts","../src/api/admin/product-types/validators.ts","../src/api/admin/product-types/[id]/route.ts","../src/api/admin/product-variants/middlewares.ts","../src/api/admin/product-variants/query-config.ts","../src/api/admin/product-variants/route.ts","../src/api/admin/product-variants/validators.ts","../src/api/admin/products/helpers.ts","../src/api/admin/products/middlewares.ts","../src/api/admin/products/query-config.ts","../src/api/admin/products/route.ts","../src/api/admin/products/validators.ts","../src/api/admin/products/[id]/route.ts","../src/api/admin/products/[id]/options/route.ts","../src/api/admin/products/[id]/options/[option_id]/route.ts","../src/api/admin/products/[id]/variants/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/inventory-items/route.ts","../src/api/admin/products/[id]/variants/[variant_id]/inventory-items/[inventory_item_id]/route.ts","../src/api/admin/products/[id]/variants/batch/route.ts","../src/api/admin/products/[id]/variants/inventory-items/batch/route.ts","../src/api/admin/products/batch/route.ts","../src/api/admin/products/export/route.ts","../src/api/admin/products/import/route.ts","../src/api/admin/products/import/[transaction_id]/confirm/route.ts","../src/api/admin/products/utils/index.ts","../src/api/admin/products/utils/maybe-apply-price-lists-filter.ts","../src/api/admin/promotions/helpers.ts","../src/api/admin/promotions/middlewares.ts","../src/api/admin/promotions/query-config.ts","../src/api/admin/promotions/route.ts","../src/api/admin/promotions/validators.ts","../src/api/admin/promotions/[id]/route.ts","../src/api/admin/promotions/[id]/[rule_type]/route.ts","../src/api/admin/promotions/[id]/buy-rules/batch/route.ts","../src/api/admin/promotions/[id]/rules/batch/route.ts","../src/api/admin/promotions/[id]/target-rules/batch/route.ts","../src/api/admin/promotions/rule-attribute-options/[rule_type]/route.ts","../src/api/admin/promotions/rule-value-options/[rule_type]/[rule_attribute_id]/route.ts","../src/api/admin/promotions/utils/index.ts","../src/api/admin/promotions/utils/operators-map.ts","../src/api/admin/promotions/utils/rule-attributes-map.ts","../src/api/admin/promotions/utils/rule-query-configuration.ts","../src/api/admin/promotions/utils/validate-rule-attribute.ts","../src/api/admin/promotions/utils/validate-rule-type.ts","../src/api/admin/refund-reasons/middlewares.ts","../src/api/admin/refund-reasons/query-config.ts","../src/api/admin/refund-reasons/route.ts","../src/api/admin/refund-reasons/validators.ts","../src/api/admin/refund-reasons/[id]/route.ts","../src/api/admin/regions/helpers.ts","../src/api/admin/regions/middlewares.ts","../src/api/admin/regions/query-config.ts","../src/api/admin/regions/route.ts","../src/api/admin/regions/validators.ts","../src/api/admin/regions/[id]/route.ts","../src/api/admin/reservations/helpers.ts","../src/api/admin/reservations/middlewares.ts","../src/api/admin/reservations/query-config.ts","../src/api/admin/reservations/route.ts","../src/api/admin/reservations/validators.ts","../src/api/admin/reservations/[id]/route.ts","../src/api/admin/return-reasons/middlewares.ts","../src/api/admin/return-reasons/query-config.ts","../src/api/admin/return-reasons/route.ts","../src/api/admin/return-reasons/validators.ts","../src/api/admin/return-reasons/[id]/route.ts","../src/api/admin/returns/middlewares.ts","../src/api/admin/returns/query-config.ts","../src/api/admin/returns/route.ts","../src/api/admin/returns/validators.ts","../src/api/admin/returns/[id]/route.ts","../src/api/admin/returns/[id]/cancel/route.ts","../src/api/admin/returns/[id]/dismiss-items/route.ts","../src/api/admin/returns/[id]/dismiss-items/[action_id]/route.ts","../src/api/admin/returns/[id]/receive/route.ts","../src/api/admin/returns/[id]/receive/confirm/route.ts","../src/api/admin/returns/[id]/receive-items/route.ts","../src/api/admin/returns/[id]/receive-items/[action_id]/route.ts","../src/api/admin/returns/[id]/request/route.ts","../src/api/admin/returns/[id]/request-items/route.ts","../src/api/admin/returns/[id]/request-items/[action_id]/route.ts","../src/api/admin/returns/[id]/shipping-method/route.ts","../src/api/admin/returns/[id]/shipping-method/[action_id]/route.ts","../src/api/admin/sales-channels/helpers.ts","../src/api/admin/sales-channels/middlewares.ts","../src/api/admin/sales-channels/query-config.ts","../src/api/admin/sales-channels/route.ts","../src/api/admin/sales-channels/validators.ts","../src/api/admin/sales-channels/[id]/route.ts","../src/api/admin/sales-channels/[id]/products/route.ts","../src/api/admin/shipping-options/helpers.ts","../src/api/admin/shipping-options/middlewares.ts","../src/api/admin/shipping-options/query-config.ts","../src/api/admin/shipping-options/route.ts","../src/api/admin/shipping-options/validators.ts","../src/api/admin/shipping-options/[id]/route.ts","../src/api/admin/shipping-options/[id]/rules/batch/route.ts","../src/api/admin/shipping-profiles/helpers.ts","../src/api/admin/shipping-profiles/middlewares.ts","../src/api/admin/shipping-profiles/query-config.ts","../src/api/admin/shipping-profiles/route.ts","../src/api/admin/shipping-profiles/validators.ts","../src/api/admin/shipping-profiles/[id]/route.ts","../src/api/admin/stock-locations/helpers.ts","../src/api/admin/stock-locations/middlewares.ts","../src/api/admin/stock-locations/query-config.ts","../src/api/admin/stock-locations/route.ts","../src/api/admin/stock-locations/validators.ts","../src/api/admin/stock-locations/[id]/route.ts","../src/api/admin/stock-locations/[id]/fulfillment-providers/route.ts","../src/api/admin/stock-locations/[id]/fulfillment-sets/route.ts","../src/api/admin/stock-locations/[id]/sales-channels/route.ts","../src/api/admin/stores/helpers.ts","../src/api/admin/stores/middlewares.ts","../src/api/admin/stores/query-config.ts","../src/api/admin/stores/route.ts","../src/api/admin/stores/validators.ts","../src/api/admin/stores/[id]/route.ts","../src/api/admin/tax-rates/helpers.ts","../src/api/admin/tax-rates/middlewares.ts","../src/api/admin/tax-rates/query-config.ts","../src/api/admin/tax-rates/route.ts","../src/api/admin/tax-rates/validators.ts","../src/api/admin/tax-rates/[id]/route.ts","../src/api/admin/tax-rates/[id]/rules/route.ts","../src/api/admin/tax-rates/[id]/rules/[rule_id]/route.ts","../src/api/admin/tax-regions/helpers.ts","../src/api/admin/tax-regions/middlewares.ts","../src/api/admin/tax-regions/query-config.ts","../src/api/admin/tax-regions/route.ts","../src/api/admin/tax-regions/validators.ts","../src/api/admin/tax-regions/[id]/route.ts","../src/api/admin/uploads/middlewares.ts","../src/api/admin/uploads/query-config.ts","../src/api/admin/uploads/route.ts","../src/api/admin/uploads/validators.ts","../src/api/admin/uploads/[id]/route.ts","../src/api/admin/users/helpers.ts","../src/api/admin/users/middlewares.ts","../src/api/admin/users/query-config.ts","../src/api/admin/users/route.ts","../src/api/admin/users/validators.ts","../src/api/admin/users/[id]/route.ts","../src/api/admin/users/me/route.ts","../src/api/admin/workflows-executions/middlewares.ts","../src/api/admin/workflows-executions/query-config.ts","../src/api/admin/workflows-executions/route.ts","../src/api/admin/workflows-executions/validators.ts","../src/api/admin/workflows-executions/[id]/route.ts","../src/api/admin/workflows-executions/[workflow_id]/[transaction_id]/route.ts","../src/api/admin/workflows-executions/[workflow_id]/[transaction_id]/[step_id]/subscribe/route.ts","../src/api/admin/workflows-executions/[workflow_id]/run/route.ts","../src/api/admin/workflows-executions/[workflow_id]/steps/failure/route.ts","../src/api/admin/workflows-executions/[workflow_id]/steps/success/route.ts","../src/api/admin/workflows-executions/[workflow_id]/subscribe/route.ts","../src/api/auth/middlewares.ts","../src/api/auth/validators.ts","../src/api/auth/[actor_type]/[auth_provider]/route.ts","../src/api/auth/[actor_type]/[auth_provider]/callback/route.ts","../src/api/auth/[actor_type]/[auth_provider]/register/route.ts","../src/api/auth/[actor_type]/[auth_provider]/reset-password/route.ts","../src/api/auth/[actor_type]/[auth_provider]/update/route.ts","../src/api/auth/session/route.ts","../src/api/auth/token/refresh/route.ts","../src/api/auth/utils/generate-jwt-token.ts","../src/api/auth/utils/validate-scope-provider-association.ts","../src/api/auth/utils/validate-token.ts","../src/api/hooks/middlewares.ts","../src/api/hooks/payment/[provider]/route.ts","../src/api/store/middlewares.ts","../src/api/store/carts/helpers.ts","../src/api/store/carts/middlewares.ts","../src/api/store/carts/query-config.ts","../src/api/store/carts/route.ts","../src/api/store/carts/validators.ts","../src/api/store/carts/[id]/route.ts","../src/api/store/carts/[id]/complete/route.ts","../src/api/store/carts/[id]/customer/route.ts","../src/api/store/carts/[id]/line-items/route.ts","../src/api/store/carts/[id]/line-items/[line_id]/route.ts","../src/api/store/carts/[id]/promotions/route.ts","../src/api/store/carts/[id]/shipping-methods/route.ts","../src/api/store/carts/[id]/taxes/route.ts","../src/api/store/collections/helpers.ts","../src/api/store/collections/middlewares.ts","../src/api/store/collections/query-config.ts","../src/api/store/collections/route.ts","../src/api/store/collections/validators.ts","../src/api/store/collections/[id]/route.ts","../src/api/store/currencies/middlewares.ts","../src/api/store/currencies/query-config.ts","../src/api/store/currencies/route.ts","../src/api/store/currencies/validators.ts","../src/api/store/currencies/[code]/route.ts","../src/api/store/customers/helpers.ts","../src/api/store/customers/middlewares.ts","../src/api/store/customers/query-config.ts","../src/api/store/customers/route.ts","../src/api/store/customers/validators.ts","../src/api/store/customers/me/route.ts","../src/api/store/customers/me/addresses/route.ts","../src/api/store/customers/me/addresses/[address_id]/route.ts","../src/api/store/orders/helpers.ts","../src/api/store/orders/middlewares.ts","../src/api/store/orders/query-config.ts","../src/api/store/orders/route.ts","../src/api/store/orders/validators.ts","../src/api/store/orders/[id]/route.ts","../src/api/store/orders/[id]/transfer/accept/route.ts","../src/api/store/payment-collections/helpers.ts","../src/api/store/payment-collections/middlewares.ts","../src/api/store/payment-collections/query-config.ts","../src/api/store/payment-collections/route.ts","../src/api/store/payment-collections/validators.ts","../src/api/store/payment-collections/[id]/payment-sessions/route.ts","../src/api/store/payment-providers/middlewares.ts","../src/api/store/payment-providers/query-config.ts","../src/api/store/payment-providers/route.ts","../src/api/store/payment-providers/validators.ts","../src/api/store/product-categories/helpers.ts","../src/api/store/product-categories/middlewares.ts","../src/api/store/product-categories/query-config.ts","../src/api/store/product-categories/route.ts","../src/api/store/product-categories/validators.ts","../src/api/store/product-categories/[id]/route.ts","../src/api/store/products/helpers.ts","../src/api/store/products/middlewares.ts","../src/api/store/products/query-config.ts","../src/api/store/products/route.ts","../src/api/store/products/validators.ts","../src/api/store/products/[id]/route.ts","../src/api/store/regions/middlewares.ts","../src/api/store/regions/query-config.ts","../src/api/store/regions/route.ts","../src/api/store/regions/validators.ts","../src/api/store/regions/[id]/route.ts","../src/api/store/return/middlewares.ts","../src/api/store/return/query-config.ts","../src/api/store/return/route.ts","../src/api/store/return/validators.ts","../src/api/store/return-reasons/middlewares.ts","../src/api/store/return-reasons/query-config.ts","../src/api/store/return-reasons/route.ts","../src/api/store/return-reasons/validators.ts","../src/api/store/return-reasons/[id]/route.ts","../src/api/store/shipping-options/middlewares.ts","../src/api/store/shipping-options/query-config.ts","../src/api/store/shipping-options/route.ts","../src/api/store/shipping-options/validators.ts","../src/api/utils/validators.ts","../src/api/utils/common-validators/common.ts","../src/api/utils/common-validators/index.ts","../src/api/utils/common-validators/products/index.ts","../src/api/utils/middlewares/index.ts","../src/api/utils/middlewares/common/ensure-pub-key-sales-channel-match.ts","../src/api/utils/middlewares/common/maybe-attach-pub-key-scopes.ts","../src/api/utils/middlewares/products/filter-by-valid-sales-channels.ts","../src/api/utils/middlewares/products/index.ts","../src/api/utils/middlewares/products/normalize-data-for-context.ts","../src/api/utils/middlewares/products/set-pricing-context.ts","../src/api/utils/middlewares/products/set-tax-context.ts","../src/api/utils/middlewares/products/variant-inventory-quantity.ts","../src/commands/build.ts","../src/commands/develop.ts","../src/commands/exec.ts","../src/commands/index.ts","../src/commands/start.ts","../src/commands/user.ts","../src/commands/__fixtures__/instrumentation.js","../src/commands/__fixtures__/instrumentation-failure/instrumentation.js","../src/commands/__fixtures__/instrumentation-no-register/instrumentation.js","../src/commands/__tests__/start.spec.ts","../src/commands/db/create.ts","../src/commands/db/generate.ts","../src/commands/db/migrate.ts","../src/commands/db/rollback.ts","../src/commands/db/setup.ts","../src/commands/db/sync-links.ts","../src/commands/utils/index.ts","../src/core-flows/index.ts","../src/instrumentation/index.ts","../src/loaders/admin.ts","../src/loaders/api.ts","../src/loaders/index.ts","../src/loaders/feature-flags/analytics.ts","../src/loaders/feature-flags/medusa-v2.ts","../src/loaders/feature-flags/order-editing.ts","../src/loaders/feature-flags/product-categories.ts","../src/loaders/feature-flags/publishable-api-keys.ts","../src/loaders/feature-flags/sales-channels.ts","../src/loaders/feature-flags/tax-inclusive-pricing.ts","../src/loaders/feature-flags/workflows.ts","../src/loaders/helpers/resolve-plugins.ts","../src/modules/api-key.ts","../src/modules/auth-emailpass.ts","../src/modules/auth-github.ts","../src/modules/auth-google.ts","../src/modules/auth.ts","../src/modules/cache-inmemory.ts","../src/modules/cache-redis.ts","../src/modules/cart.ts","../src/modules/currency.ts","../src/modules/customer.ts","../src/modules/event-bus-local.ts","../src/modules/event-bus-redis.ts","../src/modules/file-local.ts","../src/modules/file-s3.ts","../src/modules/file.ts","../src/modules/fulfillment-manual.ts","../src/modules/fulfillment.ts","../src/modules/index-module.ts","../src/modules/inventory.ts","../src/modules/link-modules.ts","../src/modules/locking-postgres.ts","../src/modules/locking-redis.ts","../src/modules/locking.ts","../src/modules/notification-local.ts","../src/modules/notification-sendgrid.ts","../src/modules/notification.ts","../src/modules/order.ts","../src/modules/payment-stripe.ts","../src/modules/payment.ts","../src/modules/pricing.ts","../src/modules/product.ts","../src/modules/promotion.ts","../src/modules/region.ts","../src/modules/sales-channel.ts","../src/modules/stock-location.ts","../src/modules/store.ts","../src/modules/tax.ts","../src/modules/user.ts","../src/modules/workflow-engine-inmemory.ts","../src/modules/workflow-engine-redis.ts","../src/subscribers/configurable-notifications.ts","../src/subscribers/payment-webhook.ts","../src/types/global.ts","../src/types/index.ts","../src/types/middlewares.ts","../src/types/subscribers.ts","../src/utils/admin-consts.ts","../src/utils/clean-response-data.ts","../src/utils/define-middlewares.ts","../src/utils/diff-set.ts","../src/utils/exception-formatter.ts","../src/utils/format-registration-name.ts","../src/utils/index.ts","../src/utils/__tests__/define-routes-config.spec.ts","../src/utils/__tests__/format-registration-name.js","../src/utils/middlewares/authenticate-middleware.ts","../src/utils/middlewares/error-handler.ts","../src/utils/middlewares/index.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/medusa",
3
- "version": "2.0.5-preview-20241119060203",
3
+ "version": "2.0.5-preview-20241119120217",
4
4
  "description": "Building blocks for digital commerce",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -43,7 +43,7 @@
43
43
  "test": "jest --silent --bail --maxWorkers=50% --forceExit"
44
44
  },
45
45
  "devDependencies": {
46
- "@medusajs/framework": "2.0.5-preview-20241119060203",
46
+ "@medusajs/framework": "2.0.5-preview-20241119120217",
47
47
  "@opentelemetry/api": "^1.9.0",
48
48
  "@opentelemetry/instrumentation": "^0.53.0",
49
49
  "@opentelemetry/instrumentation-pg": "^0.44.0",
@@ -62,49 +62,49 @@
62
62
  "dependencies": {
63
63
  "@inquirer/checkbox": "^2.3.11",
64
64
  "@inquirer/input": "^2.2.9",
65
- "@medusajs/admin-bundler": "2.0.5-preview-20241119060203",
66
- "@medusajs/api-key": "2.0.5-preview-20241119060203",
67
- "@medusajs/auth": "2.0.5-preview-20241119060203",
68
- "@medusajs/auth-emailpass": "2.0.5-preview-20241119060203",
69
- "@medusajs/auth-github": "2.0.5-preview-20241119060203",
70
- "@medusajs/auth-google": "2.0.5-preview-20241119060203",
71
- "@medusajs/cache-inmemory": "2.0.5-preview-20241119060203",
72
- "@medusajs/cache-redis": "2.0.5-preview-20241119060203",
73
- "@medusajs/cart": "2.0.5-preview-20241119060203",
74
- "@medusajs/core-flows": "2.0.5-preview-20241119060203",
75
- "@medusajs/currency": "2.0.5-preview-20241119060203",
76
- "@medusajs/customer": "2.0.5-preview-20241119060203",
77
- "@medusajs/event-bus-local": "2.0.5-preview-20241119060203",
78
- "@medusajs/event-bus-redis": "2.0.5-preview-20241119060203",
79
- "@medusajs/file": "2.0.5-preview-20241119060203",
80
- "@medusajs/file-local": "2.0.5-preview-20241119060203",
81
- "@medusajs/file-s3": "2.0.5-preview-20241119060203",
82
- "@medusajs/fulfillment": "2.0.5-preview-20241119060203",
83
- "@medusajs/fulfillment-manual": "2.0.5-preview-20241119060203",
84
- "@medusajs/index": "2.0.5-preview-20241119060203",
85
- "@medusajs/inventory": "2.0.5-preview-20241119060203",
86
- "@medusajs/link-modules": "2.0.5-preview-20241119060203",
87
- "@medusajs/locking": "2.0.5-preview-20241119060203",
88
- "@medusajs/locking-postgres": "2.0.5-preview-20241119060203",
89
- "@medusajs/locking-redis": "2.0.5-preview-20241119060203",
90
- "@medusajs/notification": "2.0.5-preview-20241119060203",
91
- "@medusajs/notification-local": "2.0.5-preview-20241119060203",
92
- "@medusajs/notification-sendgrid": "2.0.5-preview-20241119060203",
93
- "@medusajs/order": "2.0.5-preview-20241119060203",
94
- "@medusajs/payment": "2.0.5-preview-20241119060203",
95
- "@medusajs/payment-stripe": "2.0.5-preview-20241119060203",
96
- "@medusajs/pricing": "2.0.5-preview-20241119060203",
97
- "@medusajs/product": "2.0.5-preview-20241119060203",
98
- "@medusajs/promotion": "2.0.5-preview-20241119060203",
99
- "@medusajs/region": "2.0.5-preview-20241119060203",
100
- "@medusajs/sales-channel": "2.0.5-preview-20241119060203",
101
- "@medusajs/stock-location": "2.0.5-preview-20241119060203",
102
- "@medusajs/store": "2.0.5-preview-20241119060203",
103
- "@medusajs/tax": "2.0.5-preview-20241119060203",
104
- "@medusajs/telemetry": "2.0.5-preview-20241119060203",
105
- "@medusajs/user": "2.0.5-preview-20241119060203",
106
- "@medusajs/workflow-engine-inmemory": "2.0.5-preview-20241119060203",
107
- "@medusajs/workflow-engine-redis": "2.0.5-preview-20241119060203",
65
+ "@medusajs/admin-bundler": "2.0.5-preview-20241119120217",
66
+ "@medusajs/api-key": "2.0.5-preview-20241119120217",
67
+ "@medusajs/auth": "2.0.5-preview-20241119120217",
68
+ "@medusajs/auth-emailpass": "2.0.5-preview-20241119120217",
69
+ "@medusajs/auth-github": "2.0.5-preview-20241119120217",
70
+ "@medusajs/auth-google": "2.0.5-preview-20241119120217",
71
+ "@medusajs/cache-inmemory": "2.0.5-preview-20241119120217",
72
+ "@medusajs/cache-redis": "2.0.5-preview-20241119120217",
73
+ "@medusajs/cart": "2.0.5-preview-20241119120217",
74
+ "@medusajs/core-flows": "2.0.5-preview-20241119120217",
75
+ "@medusajs/currency": "2.0.5-preview-20241119120217",
76
+ "@medusajs/customer": "2.0.5-preview-20241119120217",
77
+ "@medusajs/event-bus-local": "2.0.5-preview-20241119120217",
78
+ "@medusajs/event-bus-redis": "2.0.5-preview-20241119120217",
79
+ "@medusajs/file": "2.0.5-preview-20241119120217",
80
+ "@medusajs/file-local": "2.0.5-preview-20241119120217",
81
+ "@medusajs/file-s3": "2.0.5-preview-20241119120217",
82
+ "@medusajs/fulfillment": "2.0.5-preview-20241119120217",
83
+ "@medusajs/fulfillment-manual": "2.0.5-preview-20241119120217",
84
+ "@medusajs/index": "2.0.5-preview-20241119120217",
85
+ "@medusajs/inventory": "2.0.5-preview-20241119120217",
86
+ "@medusajs/link-modules": "2.0.5-preview-20241119120217",
87
+ "@medusajs/locking": "2.0.5-preview-20241119120217",
88
+ "@medusajs/locking-postgres": "2.0.5-preview-20241119120217",
89
+ "@medusajs/locking-redis": "2.0.5-preview-20241119120217",
90
+ "@medusajs/notification": "2.0.5-preview-20241119120217",
91
+ "@medusajs/notification-local": "2.0.5-preview-20241119120217",
92
+ "@medusajs/notification-sendgrid": "2.0.5-preview-20241119120217",
93
+ "@medusajs/order": "2.0.5-preview-20241119120217",
94
+ "@medusajs/payment": "2.0.5-preview-20241119120217",
95
+ "@medusajs/payment-stripe": "2.0.5-preview-20241119120217",
96
+ "@medusajs/pricing": "2.0.5-preview-20241119120217",
97
+ "@medusajs/product": "2.0.5-preview-20241119120217",
98
+ "@medusajs/promotion": "2.0.5-preview-20241119120217",
99
+ "@medusajs/region": "2.0.5-preview-20241119120217",
100
+ "@medusajs/sales-channel": "2.0.5-preview-20241119120217",
101
+ "@medusajs/stock-location": "2.0.5-preview-20241119120217",
102
+ "@medusajs/store": "2.0.5-preview-20241119120217",
103
+ "@medusajs/tax": "2.0.5-preview-20241119120217",
104
+ "@medusajs/telemetry": "2.0.5-preview-20241119120217",
105
+ "@medusajs/user": "2.0.5-preview-20241119120217",
106
+ "@medusajs/workflow-engine-inmemory": "2.0.5-preview-20241119120217",
107
+ "@medusajs/workflow-engine-redis": "2.0.5-preview-20241119120217",
108
108
  "@swc/core": "1.5.7",
109
109
  "@swc/helpers": "^0.5.11",
110
110
  "@types/express": "^4.17.17",
@@ -125,7 +125,7 @@
125
125
  "zod": "3.22.4"
126
126
  },
127
127
  "peerDependencies": {
128
- "@medusajs/framework": "2.0.5-preview-20241119060203",
128
+ "@medusajs/framework": "2.0.5-preview-20241119120217",
129
129
  "@mikro-orm/core": "5.9.7",
130
130
  "@mikro-orm/knex": "5.9.7",
131
131
  "@mikro-orm/migrations": "5.9.7",