@medusajs/medusa 2.0.5-preview-20241119000259 → 2.0.5-preview-20241119090153
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api/admin/orders/[id]/transfer/route.d.ts +5 -0
- package/dist/api/admin/orders/[id]/transfer/route.d.ts.map +1 -0
- package/dist/api/admin/orders/[id]/transfer/route.js +27 -0
- package/dist/api/admin/orders/[id]/transfer/route.js.map +1 -0
- package/dist/api/admin/orders/middlewares.d.ts.map +1 -1
- package/dist/api/admin/orders/middlewares.js +8 -0
- package/dist/api/admin/orders/middlewares.js.map +1 -1
- package/dist/api/admin/orders/validators.d.ts +14 -0
- package/dist/api/admin/orders/validators.d.ts.map +1 -1
- package/dist/api/admin/orders/validators.js +6 -1
- package/dist/api/admin/orders/validators.js.map +1 -1
- package/dist/api/store/orders/[id]/transfer/accept/route.d.ts +5 -0
- package/dist/api/store/orders/[id]/transfer/accept/route.d.ts.map +1 -0
- package/dist/api/store/orders/[id]/transfer/accept/route.js +21 -0
- package/dist/api/store/orders/[id]/transfer/accept/route.js.map +1 -0
- package/dist/api/store/orders/middlewares.d.ts.map +1 -1
- package/dist/api/store/orders/middlewares.js +9 -0
- package/dist/api/store/orders/middlewares.js.map +1 -1
- package/dist/api/store/orders/validators.d.ts +8 -0
- package/dist/api/store/orders/validators.d.ts.map +1 -1
- package/dist/api/store/orders/validators.js +4 -1
- package/dist/api/store/orders/validators.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- 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;
|
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,
|
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,sCAA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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;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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B;;;;gCAA0C,CAAA;AAE/E,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,sBAAsB,CAC9B,CAAA;AACD,eAAO,MAAM,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,EA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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,
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
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]/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-
|
3
|
+
"version": "2.0.5-preview-20241119090153",
|
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-
|
46
|
+
"@medusajs/framework": "2.0.5-preview-20241119090153",
|
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-
|
66
|
-
"@medusajs/api-key": "2.0.5-preview-
|
67
|
-
"@medusajs/auth": "2.0.5-preview-
|
68
|
-
"@medusajs/auth-emailpass": "2.0.5-preview-
|
69
|
-
"@medusajs/auth-github": "2.0.5-preview-
|
70
|
-
"@medusajs/auth-google": "2.0.5-preview-
|
71
|
-
"@medusajs/cache-inmemory": "2.0.5-preview-
|
72
|
-
"@medusajs/cache-redis": "2.0.5-preview-
|
73
|
-
"@medusajs/cart": "2.0.5-preview-
|
74
|
-
"@medusajs/core-flows": "2.0.5-preview-
|
75
|
-
"@medusajs/currency": "2.0.5-preview-
|
76
|
-
"@medusajs/customer": "2.0.5-preview-
|
77
|
-
"@medusajs/event-bus-local": "2.0.5-preview-
|
78
|
-
"@medusajs/event-bus-redis": "2.0.5-preview-
|
79
|
-
"@medusajs/file": "2.0.5-preview-
|
80
|
-
"@medusajs/file-local": "2.0.5-preview-
|
81
|
-
"@medusajs/file-s3": "2.0.5-preview-
|
82
|
-
"@medusajs/fulfillment": "2.0.5-preview-
|
83
|
-
"@medusajs/fulfillment-manual": "2.0.5-preview-
|
84
|
-
"@medusajs/index": "2.0.5-preview-
|
85
|
-
"@medusajs/inventory": "2.0.5-preview-
|
86
|
-
"@medusajs/link-modules": "2.0.5-preview-
|
87
|
-
"@medusajs/locking": "2.0.5-preview-
|
88
|
-
"@medusajs/locking-postgres": "2.0.5-preview-
|
89
|
-
"@medusajs/locking-redis": "2.0.5-preview-
|
90
|
-
"@medusajs/notification": "2.0.5-preview-
|
91
|
-
"@medusajs/notification-local": "2.0.5-preview-
|
92
|
-
"@medusajs/notification-sendgrid": "2.0.5-preview-
|
93
|
-
"@medusajs/order": "2.0.5-preview-
|
94
|
-
"@medusajs/payment": "2.0.5-preview-
|
95
|
-
"@medusajs/payment-stripe": "2.0.5-preview-
|
96
|
-
"@medusajs/pricing": "2.0.5-preview-
|
97
|
-
"@medusajs/product": "2.0.5-preview-
|
98
|
-
"@medusajs/promotion": "2.0.5-preview-
|
99
|
-
"@medusajs/region": "2.0.5-preview-
|
100
|
-
"@medusajs/sales-channel": "2.0.5-preview-
|
101
|
-
"@medusajs/stock-location": "2.0.5-preview-
|
102
|
-
"@medusajs/store": "2.0.5-preview-
|
103
|
-
"@medusajs/tax": "2.0.5-preview-
|
104
|
-
"@medusajs/telemetry": "2.0.5-preview-
|
105
|
-
"@medusajs/user": "2.0.5-preview-
|
106
|
-
"@medusajs/workflow-engine-inmemory": "2.0.5-preview-
|
107
|
-
"@medusajs/workflow-engine-redis": "2.0.5-preview-
|
65
|
+
"@medusajs/admin-bundler": "2.0.5-preview-20241119090153",
|
66
|
+
"@medusajs/api-key": "2.0.5-preview-20241119090153",
|
67
|
+
"@medusajs/auth": "2.0.5-preview-20241119090153",
|
68
|
+
"@medusajs/auth-emailpass": "2.0.5-preview-20241119090153",
|
69
|
+
"@medusajs/auth-github": "2.0.5-preview-20241119090153",
|
70
|
+
"@medusajs/auth-google": "2.0.5-preview-20241119090153",
|
71
|
+
"@medusajs/cache-inmemory": "2.0.5-preview-20241119090153",
|
72
|
+
"@medusajs/cache-redis": "2.0.5-preview-20241119090153",
|
73
|
+
"@medusajs/cart": "2.0.5-preview-20241119090153",
|
74
|
+
"@medusajs/core-flows": "2.0.5-preview-20241119090153",
|
75
|
+
"@medusajs/currency": "2.0.5-preview-20241119090153",
|
76
|
+
"@medusajs/customer": "2.0.5-preview-20241119090153",
|
77
|
+
"@medusajs/event-bus-local": "2.0.5-preview-20241119090153",
|
78
|
+
"@medusajs/event-bus-redis": "2.0.5-preview-20241119090153",
|
79
|
+
"@medusajs/file": "2.0.5-preview-20241119090153",
|
80
|
+
"@medusajs/file-local": "2.0.5-preview-20241119090153",
|
81
|
+
"@medusajs/file-s3": "2.0.5-preview-20241119090153",
|
82
|
+
"@medusajs/fulfillment": "2.0.5-preview-20241119090153",
|
83
|
+
"@medusajs/fulfillment-manual": "2.0.5-preview-20241119090153",
|
84
|
+
"@medusajs/index": "2.0.5-preview-20241119090153",
|
85
|
+
"@medusajs/inventory": "2.0.5-preview-20241119090153",
|
86
|
+
"@medusajs/link-modules": "2.0.5-preview-20241119090153",
|
87
|
+
"@medusajs/locking": "2.0.5-preview-20241119090153",
|
88
|
+
"@medusajs/locking-postgres": "2.0.5-preview-20241119090153",
|
89
|
+
"@medusajs/locking-redis": "2.0.5-preview-20241119090153",
|
90
|
+
"@medusajs/notification": "2.0.5-preview-20241119090153",
|
91
|
+
"@medusajs/notification-local": "2.0.5-preview-20241119090153",
|
92
|
+
"@medusajs/notification-sendgrid": "2.0.5-preview-20241119090153",
|
93
|
+
"@medusajs/order": "2.0.5-preview-20241119090153",
|
94
|
+
"@medusajs/payment": "2.0.5-preview-20241119090153",
|
95
|
+
"@medusajs/payment-stripe": "2.0.5-preview-20241119090153",
|
96
|
+
"@medusajs/pricing": "2.0.5-preview-20241119090153",
|
97
|
+
"@medusajs/product": "2.0.5-preview-20241119090153",
|
98
|
+
"@medusajs/promotion": "2.0.5-preview-20241119090153",
|
99
|
+
"@medusajs/region": "2.0.5-preview-20241119090153",
|
100
|
+
"@medusajs/sales-channel": "2.0.5-preview-20241119090153",
|
101
|
+
"@medusajs/stock-location": "2.0.5-preview-20241119090153",
|
102
|
+
"@medusajs/store": "2.0.5-preview-20241119090153",
|
103
|
+
"@medusajs/tax": "2.0.5-preview-20241119090153",
|
104
|
+
"@medusajs/telemetry": "2.0.5-preview-20241119090153",
|
105
|
+
"@medusajs/user": "2.0.5-preview-20241119090153",
|
106
|
+
"@medusajs/workflow-engine-inmemory": "2.0.5-preview-20241119090153",
|
107
|
+
"@medusajs/workflow-engine-redis": "2.0.5-preview-20241119090153",
|
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-
|
128
|
+
"@medusajs/framework": "2.0.5-preview-20241119090153",
|
129
129
|
"@mikro-orm/core": "5.9.7",
|
130
130
|
"@mikro-orm/knex": "5.9.7",
|
131
131
|
"@mikro-orm/migrations": "5.9.7",
|