@medusajs/core-flows 2.8.3-snapshot-20250520080555 → 2.8.3-snapshot-20250521091311

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,4 +26,6 @@ export * from "./parse-product-csv";
26
26
  export * from "./wait-confirmation-product-import";
27
27
  export * from "./get-variant-availability";
28
28
  export * from "./normalize-products";
29
+ export * from "./normalize-products-to-chunks";
30
+ export * from "./process-import-chunks";
29
31
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/steps/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/steps/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,0BAA0B,CAAA;AACxC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,kCAAkC,CAAA;AAChD,cAAc,mCAAmC,CAAA;AACjD,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oCAAoC,CAAA;AAClD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,yBAAyB,CAAA"}
@@ -42,4 +42,6 @@ __exportStar(require("./parse-product-csv"), exports);
42
42
  __exportStar(require("./wait-confirmation-product-import"), exports);
43
43
  __exportStar(require("./get-variant-availability"), exports);
44
44
  __exportStar(require("./normalize-products"), exports);
45
+ __exportStar(require("./normalize-products-to-chunks"), exports);
46
+ __exportStar(require("./process-import-chunks"), exports);
45
47
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/steps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC;AAClC,gEAA6C;AAC7C,2DAAwC;AACxC,2DAAwC;AACxC,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AACzC,4DAAyC;AACzC,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,mEAAgD;AAChD,oEAAiD;AACjD,yDAAsC;AACtC,yDAAsC;AACtC,yDAAsC;AACtC,wDAAqC;AACrC,wDAAqC;AACrC,wDAAqC;AACrC,yDAAsC;AACtC,sDAAmC;AACnC,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/steps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,iDAA8B;AAC9B,qDAAkC;AAClC,gEAA6C;AAC7C,2DAAwC;AACxC,2DAAwC;AACxC,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AACzC,4DAAyC;AACzC,uDAAoC;AACpC,uDAAoC;AACpC,uDAAoC;AACpC,mEAAgD;AAChD,oEAAiD;AACjD,yDAAsC;AACtC,yDAAsC;AACtC,yDAAsC;AACtC,wDAAqC;AACrC,wDAAqC;AACrC,wDAAqC;AACrC,yDAAsC;AACtC,sDAAmC;AACnC,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,iEAA8C;AAC9C,0DAAuC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * The CSV file content to parse.
3
+ */
4
+ export type NormalizeProductCsvV1StepInput = string;
5
+ export declare const normalizeCsvToChunksStepId = "normalize-product-csv-to-chunks";
6
+ /**
7
+ * This step parses a CSV file holding products to import, returning the chunks
8
+ * to be processed. Each chunk is written to a file using the file provider.
9
+ *
10
+ * @example
11
+ * const data = normalizeCsvToChunksStep("products.csv")
12
+ */
13
+ export declare const normalizeCsvToChunksStep: import("@medusajs/framework/workflows-sdk").StepFunction<string, {
14
+ chunks: string[];
15
+ summary: {
16
+ toCreate: number;
17
+ toUpdate: number;
18
+ };
19
+ }>;
20
+ //# sourceMappingURL=normalize-products-to-chunks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize-products-to-chunks.d.ts","sourceRoot":"","sources":["../../../src/product/steps/normalize-products-to-chunks.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,MAAM,CAAA;AAEnD,eAAO,MAAM,0BAA0B,oCAAoC,CAAA;AAE3E;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;;;;;EA+CpC,CAAA"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.normalizeCsvToChunksStep = exports.normalizeCsvToChunksStepId = void 0;
4
+ const utils_1 = require("@medusajs/framework/utils");
5
+ const workflows_sdk_1 = require("@medusajs/framework/workflows-sdk");
6
+ const utils_2 = require("../utils");
7
+ exports.normalizeCsvToChunksStepId = "normalize-product-csv-to-chunks";
8
+ /**
9
+ * This step parses a CSV file holding products to import, returning the chunks
10
+ * to be processed. Each chunk is written to a file using the file provider.
11
+ *
12
+ * @example
13
+ * const data = normalizeCsvToChunksStep("products.csv")
14
+ */
15
+ exports.normalizeCsvToChunksStep = (0, workflows_sdk_1.createStep)(exports.normalizeCsvToChunksStepId, async (fileKey, { container }) => {
16
+ const file = container.resolve(utils_1.Modules.FILE);
17
+ const contents = await file.getAsBuffer(fileKey);
18
+ const csvProducts = (0, utils_2.convertCsvToJson)(contents.toString("utf-8"));
19
+ const normalizer = new utils_1.CSVNormalizer(csvProducts);
20
+ const products = normalizer.proccess();
21
+ const create = Object.keys(products.toCreate).reduce((result, toCreateHandle) => {
22
+ result.push(utils_1.productValidators.CreateProduct.parse(products.toCreate[toCreateHandle]));
23
+ return result;
24
+ }, []);
25
+ const update = Object.keys(products.toUpdate).reduce((result, toUpdateId) => {
26
+ result.push(utils_1.productValidators.UpdateProduct.parse(products.toUpdate[toUpdateId]));
27
+ return result;
28
+ }, []);
29
+ const { id } = await file.createFiles({
30
+ filename: `${fileKey}.json`,
31
+ content: JSON.stringify({ create, update }),
32
+ mimeType: "application/json",
33
+ });
34
+ return new workflows_sdk_1.StepResponse({
35
+ chunks: [id],
36
+ summary: {
37
+ toCreate: create.length,
38
+ toUpdate: update.length,
39
+ },
40
+ });
41
+ });
42
+ //# sourceMappingURL=normalize-products-to-chunks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"normalize-products-to-chunks.js","sourceRoot":"","sources":["../../../src/product/steps/normalize-products-to-chunks.ts"],"names":[],"mappings":";;;AACA,qDAIkC;AAClC,qEAA4E;AAC5E,oCAA2C;AAO9B,QAAA,0BAA0B,GAAG,iCAAiC,CAAA;AAE3E;;;;;;GAMG;AACU,QAAA,wBAAwB,GAAG,IAAA,0BAAU,EAChD,kCAA0B,EAC1B,KAAK,EAAE,OAAuC,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IAC/D,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAC5C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAA;IAEhD,MAAM,WAAW,GAAG,IAAA,wBAAgB,EAElC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAA;IAE7B,MAAM,UAAU,GAAG,IAAI,qBAAa,CAAC,WAAW,CAAC,CAAA;IACjD,MAAM,QAAQ,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAA;IAEtC,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,CAElD,CAAC,MAAM,EAAE,cAAc,EAAE,EAAE;QAC3B,MAAM,CAAC,IAAI,CACT,yBAAiB,CAAC,aAAa,CAAC,KAAK,CACnC,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,CACF,CAClC,CAAA;QACD,OAAO,MAAM,CAAA;IACf,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,CAElD,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;QACvB,MAAM,CAAC,IAAI,CACT,yBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC,CACrE,CAAA;QACD,OAAO,MAAM,CAAA;IACf,CAAC,EAAE,EAAE,CAAC,CAAA;IAEN,MAAM,EAAE,EAAE,EAAE,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC;QACpC,QAAQ,EAAE,GAAG,OAAO,OAAO;QAC3B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAC3C,QAAQ,EAAE,kBAAkB;KAC7B,CAAC,CAAA;IAEF,OAAO,IAAI,4BAAY,CAAC;QACtB,MAAM,EAAE,CAAC,EAAE,CAAC;QACZ,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC,MAAM;YACvB,QAAQ,EAAE,MAAM,CAAC,MAAM;SACxB;KACF,CAAC,CAAA;AACJ,CAAC,CACF,CAAA"}
@@ -0,0 +1,14 @@
1
+ export declare const processImportChunksStepId = "process-import-chunks";
2
+ /**
3
+ * This step parses a CSV file holding products to import, returning the products as
4
+ * objects that can be imported.
5
+ *
6
+ * @example
7
+ * const data = parseProductCsvStep("products.csv")
8
+ */
9
+ export declare const processImportChunksStep: import("@medusajs/framework/workflows-sdk").StepFunction<{
10
+ chunks: string[];
11
+ }, {
12
+ completed: boolean;
13
+ }>;
14
+ //# sourceMappingURL=process-import-chunks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-import-chunks.d.ts","sourceRoot":"","sources":["../../../src/product/steps/process-import-chunks.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,yBAAyB,0BAA0B,CAAA;AAEhE;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;YAEV,MAAM,EAAE;;;EAYjC,CAAA"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.processImportChunksStep = exports.processImportChunksStepId = void 0;
4
+ const utils_1 = require("@medusajs/framework/utils");
5
+ const workflows_sdk_1 = require("@medusajs/framework/workflows-sdk");
6
+ const batch_products_1 = require("../workflows/batch-products");
7
+ exports.processImportChunksStepId = "process-import-chunks";
8
+ /**
9
+ * This step parses a CSV file holding products to import, returning the products as
10
+ * objects that can be imported.
11
+ *
12
+ * @example
13
+ * const data = parseProductCsvStep("products.csv")
14
+ */
15
+ exports.processImportChunksStep = (0, workflows_sdk_1.createStep)(exports.processImportChunksStepId, async (input, { container }) => {
16
+ const file = container.resolve(utils_1.Modules.FILE);
17
+ for (let chunk of input.chunks) {
18
+ const contents = await file.getAsBuffer(chunk);
19
+ await (0, batch_products_1.batchProductsWorkflow)(container).run({
20
+ input: JSON.parse(contents.toString("utf-8")),
21
+ });
22
+ }
23
+ return new workflows_sdk_1.StepResponse({ completed: true });
24
+ });
25
+ //# sourceMappingURL=process-import-chunks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"process-import-chunks.js","sourceRoot":"","sources":["../../../src/product/steps/process-import-chunks.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AACnD,qEAA4E;AAC5E,gEAAmE;AAEtD,QAAA,yBAAyB,GAAG,uBAAuB,CAAA;AAEhE;;;;;;GAMG;AACU,QAAA,uBAAuB,GAAG,IAAA,0BAAU,EAC/C,iCAAyB,EACzB,KAAK,EAAE,KAA2B,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACnD,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,eAAO,CAAC,IAAI,CAAC,CAAA;IAE5C,KAAK,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,EAAE,CAAC;QAC/B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;QAC9C,MAAM,IAAA,sCAAqB,EAAC,SAAS,CAAC,CAAC,GAAG,CAAC;YACzC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;SAC9C,CAAC,CAAA;IACJ,CAAC;IAED,OAAO,IAAI,4BAAY,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAA;AAC9C,CAAC,CACF,CAAA"}
@@ -0,0 +1,81 @@
1
+ import { WorkflowTypes } from "@medusajs/framework/types";
2
+ export declare const importProductsAsChunksWorkflowId = "import-products-as-chunks";
3
+ /**
4
+ * This workflow starts a product import from a CSV file in the background. It's used by the
5
+ * [Import Products Admin API Route](https://docs.medusajs.com/api/admin#products_postproductsimport).
6
+ *
7
+ * You can use this workflow within your custom workflows, allowing you to wrap custom logic around product import.
8
+ * For example, you can import products from another system.
9
+ *
10
+ * The workflow only starts the import, but you'll have to confirm it using the [Workflow Engine](https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine).
11
+ * The below example shows how to confirm the import.
12
+ *
13
+ * @example
14
+ * To start the import of a CSV file:
15
+ *
16
+ * ```ts
17
+ * const { result, transaction } = await importProductsAsChunksWorkflow(container)
18
+ * .run({
19
+ * input: {
20
+ * filename: "products.csv",
21
+ * fileKey: "products.csv",
22
+ * }
23
+ * })
24
+ * ```
25
+ *
26
+ * Notice that the workflow returns a `transaction.transactionId`. You'll use this ID to confirm the import afterwards.
27
+ *
28
+ * You confirm the import using the [Workflow Engine](https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine).
29
+ * For example, in an API route:
30
+ *
31
+ * ```ts workflow={false}
32
+ * import {
33
+ * AuthenticatedMedusaRequest,
34
+ * MedusaResponse,
35
+ * } from "@medusajs/framework/http"
36
+ * import {
37
+ * importProductsAsChunksWorkflowId,
38
+ * waitConfirmationProductImportStepId,
39
+ * } from "@medusajs/core-flows"
40
+ * import { IWorkflowEngineService } from "@medusajs/framework/types"
41
+ * import { Modules, TransactionHandlerType } from "@medusajs/framework/utils"
42
+ * import { StepResponse } from "@medusajs/framework/workflows-sdk"
43
+ *
44
+ * export const POST = async (
45
+ * req: AuthenticatedMedusaRequest,
46
+ * res: MedusaResponse
47
+ * ) => {
48
+ * const workflowEngineService: IWorkflowEngineService = req.scope.resolve(
49
+ * Modules.WORKFLOW_ENGINE
50
+ * )
51
+ * const transactionId = req.params.transaction_id
52
+ *
53
+ * await workflowEngineService.setStepSuccess({
54
+ * idempotencyKey: {
55
+ * action: TransactionHandlerType.INVOKE,
56
+ * transactionId,
57
+ * stepId: waitConfirmationProductImportStepId,
58
+ * workflowId: importProductsAsChunksWorkflowId,
59
+ * },
60
+ * stepResponse: new StepResponse(true),
61
+ * })
62
+ *
63
+ * res.status(202).json({})
64
+ * }
65
+ * ```
66
+ *
67
+ * :::tip
68
+ *
69
+ * This example API route uses the same implementation as the [Confirm Product Import Admin API Route](https://docs.medusajs.com/api/admin#products_postproductsimportstransaction_idconfirm).
70
+ *
71
+ * :::
72
+ *
73
+ * @summary
74
+ *
75
+ * Import products from a CSV file.
76
+ */
77
+ export declare const importProductsAsChunksWorkflow: import("@medusajs/framework/workflows-sdk").ReturnWorkflow<{
78
+ fileKey: string;
79
+ filename: string;
80
+ }, WorkflowTypes.ProductWorkflow.ImportProductsSummary, []>;
81
+ //# sourceMappingURL=import-products-as-chunks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-products-as-chunks.d.ts","sourceRoot":"","sources":["../../../src/product/workflows/import-products-as-chunks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAczD,eAAO,MAAM,gCAAgC,8BAA8B,CAAA;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACH,eAAO,MAAM,8BAA8B;aAGR,MAAM;cAAY,MAAM;2DA2C1D,CAAA"}
@@ -0,0 +1,119 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.importProductsAsChunksWorkflow = exports.importProductsAsChunksWorkflowId = void 0;
4
+ const workflows_sdk_1 = require("@medusajs/framework/workflows-sdk");
5
+ const notification_1 = require("../../notification");
6
+ const steps_1 = require("../steps");
7
+ exports.importProductsAsChunksWorkflowId = "import-products-as-chunks";
8
+ /**
9
+ * This workflow starts a product import from a CSV file in the background. It's used by the
10
+ * [Import Products Admin API Route](https://docs.medusajs.com/api/admin#products_postproductsimport).
11
+ *
12
+ * You can use this workflow within your custom workflows, allowing you to wrap custom logic around product import.
13
+ * For example, you can import products from another system.
14
+ *
15
+ * The workflow only starts the import, but you'll have to confirm it using the [Workflow Engine](https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine).
16
+ * The below example shows how to confirm the import.
17
+ *
18
+ * @example
19
+ * To start the import of a CSV file:
20
+ *
21
+ * ```ts
22
+ * const { result, transaction } = await importProductsAsChunksWorkflow(container)
23
+ * .run({
24
+ * input: {
25
+ * filename: "products.csv",
26
+ * fileKey: "products.csv",
27
+ * }
28
+ * })
29
+ * ```
30
+ *
31
+ * Notice that the workflow returns a `transaction.transactionId`. You'll use this ID to confirm the import afterwards.
32
+ *
33
+ * You confirm the import using the [Workflow Engine](https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine).
34
+ * For example, in an API route:
35
+ *
36
+ * ```ts workflow={false}
37
+ * import {
38
+ * AuthenticatedMedusaRequest,
39
+ * MedusaResponse,
40
+ * } from "@medusajs/framework/http"
41
+ * import {
42
+ * importProductsAsChunksWorkflowId,
43
+ * waitConfirmationProductImportStepId,
44
+ * } from "@medusajs/core-flows"
45
+ * import { IWorkflowEngineService } from "@medusajs/framework/types"
46
+ * import { Modules, TransactionHandlerType } from "@medusajs/framework/utils"
47
+ * import { StepResponse } from "@medusajs/framework/workflows-sdk"
48
+ *
49
+ * export const POST = async (
50
+ * req: AuthenticatedMedusaRequest,
51
+ * res: MedusaResponse
52
+ * ) => {
53
+ * const workflowEngineService: IWorkflowEngineService = req.scope.resolve(
54
+ * Modules.WORKFLOW_ENGINE
55
+ * )
56
+ * const transactionId = req.params.transaction_id
57
+ *
58
+ * await workflowEngineService.setStepSuccess({
59
+ * idempotencyKey: {
60
+ * action: TransactionHandlerType.INVOKE,
61
+ * transactionId,
62
+ * stepId: waitConfirmationProductImportStepId,
63
+ * workflowId: importProductsAsChunksWorkflowId,
64
+ * },
65
+ * stepResponse: new StepResponse(true),
66
+ * })
67
+ *
68
+ * res.status(202).json({})
69
+ * }
70
+ * ```
71
+ *
72
+ * :::tip
73
+ *
74
+ * This example API route uses the same implementation as the [Confirm Product Import Admin API Route](https://docs.medusajs.com/api/admin#products_postproductsimportstransaction_idconfirm).
75
+ *
76
+ * :::
77
+ *
78
+ * @summary
79
+ *
80
+ * Import products from a CSV file.
81
+ */
82
+ exports.importProductsAsChunksWorkflow = (0, workflows_sdk_1.createWorkflow)(exports.importProductsAsChunksWorkflowId, (input) => {
83
+ const batchRequest = (0, steps_1.normalizeCsvToChunksStep)(input.fileKey);
84
+ (0, steps_1.waitConfirmationProductImportStep)();
85
+ // Q: Can we somehow access the error from the step that threw here? Or in a compensate step at least?
86
+ const failureNotification = (0, workflows_sdk_1.transform)({ input }, (data) => {
87
+ return [
88
+ {
89
+ // We don't need the recipient here for now, but if we want to push feed notifications to a specific user we could add it.
90
+ to: "",
91
+ channel: "feed",
92
+ template: "admin-ui",
93
+ data: {
94
+ title: "Product import",
95
+ description: `Failed to import products from file ${data.input.filename}`,
96
+ },
97
+ },
98
+ ];
99
+ });
100
+ (0, notification_1.notifyOnFailureStep)(failureNotification);
101
+ (0, steps_1.processImportChunksStep)(batchRequest);
102
+ const notifications = (0, workflows_sdk_1.transform)({ input }, (data) => {
103
+ return [
104
+ {
105
+ // We don't need the recipient here for now, but if we want to push feed notifications to a specific user we could add it.
106
+ to: "",
107
+ channel: "feed",
108
+ template: "admin-ui",
109
+ data: {
110
+ title: "Product import",
111
+ description: `Product import of file ${data.input.filename} completed successfully!`,
112
+ },
113
+ },
114
+ ];
115
+ });
116
+ (0, notification_1.sendNotificationsStep)(notifications);
117
+ return new workflows_sdk_1.WorkflowResponse(batchRequest.summary);
118
+ });
119
+ //# sourceMappingURL=import-products-as-chunks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-products-as-chunks.js","sourceRoot":"","sources":["../../../src/product/workflows/import-products-as-chunks.ts"],"names":[],"mappings":";;;AACA,qEAK0C;AAC1C,qDAA+E;AAC/E,oCAIiB;AAEJ,QAAA,gCAAgC,GAAG,2BAA2B,CAAA;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyEG;AACU,QAAA,8BAA8B,GAAG,IAAA,8BAAc,EAC1D,wCAAgC,EAChC,CACE,KAA0D,EACa,EAAE;IACzE,MAAM,YAAY,GAAG,IAAA,gCAAwB,EAAC,KAAK,CAAC,OAAO,CAAC,CAAA;IAE5D,IAAA,yCAAiC,GAAE,CAAA;IAEnC,sGAAsG;IACtG,MAAM,mBAAmB,GAAG,IAAA,yBAAS,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;QACxD,OAAO;YACL;gBACE,0HAA0H;gBAC1H,EAAE,EAAE,EAAE;gBACN,OAAO,EAAE,MAAM;gBACf,QAAQ,EAAE,UAAU;gBACpB,IAAI,EAAE;oBACJ,KAAK,EAAE,gBAAgB;oBACvB,WAAW,EAAE,uCAAuC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;iBAC1E;aACF;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAA,kCAAmB,EAAC,mBAAmB,CAAC,CAAA;IACxC,IAAA,+BAAuB,EAAC,YAAY,CAAC,CAAA;IAErC,MAAM,aAAa,GAAG,IAAA,yBAAS,EAAC,EAAE,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;QAClD,OAAO;YACL;gBACE,0HAA0H;gBAC1H,EAAE,EAAE,EAAE;gBACN,OAAO,EAAE,MAAM;gBACf,QAAQ,EAAE,UAAU;gBACpB,IAAI,EAAE;oBACJ,KAAK,EAAE,gBAAgB;oBACvB,WAAW,EAAE,0BAA0B,IAAI,CAAC,KAAK,CAAC,QAAQ,0BAA0B;iBACrF;aACF;SACF,CAAA;IACH,CAAC,CAAC,CAAA;IAEF,IAAA,oCAAqB,EAAC,aAAa,CAAC,CAAA;IACpC,OAAO,IAAI,gCAAgB,CAAC,YAAY,CAAC,OAAO,CAAC,CAAA;AACnD,CAAC,CACF,CAAA"}
@@ -22,5 +22,6 @@ export * from "./update-product-variants";
22
22
  export * from "./update-products";
23
23
  export * from "./export-products";
24
24
  export * from "./import-products";
25
+ export * from "./import-products-as-chunks";
25
26
  export * from "./upsert-variant-prices";
26
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAA;AAChD,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,yBAAyB,CAAA"}
@@ -38,5 +38,6 @@ __exportStar(require("./update-product-variants"), exports);
38
38
  __exportStar(require("./update-products"), exports);
39
39
  __exportStar(require("./export-products"), exports);
40
40
  __exportStar(require("./import-products"), exports);
41
+ __exportStar(require("./import-products-as-chunks"), exports);
41
42
  __exportStar(require("./upsert-variant-prices"), exports);
42
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,2DAAwC;AACxC,mDAAgC;AAChC,+DAA4C;AAC5C,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/product/workflows/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAgD;AAChD,2DAAwC;AACxC,mDAAgC;AAChC,+DAA4C;AAC5C,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,uDAAoC;AACpC,2DAAwC;AACxC,yDAAsC;AACtC,wDAAqC;AACrC,4DAAyC;AACzC,oDAAiC;AACjC,oDAAiC;AACjC,oDAAiC;AACjC,8DAA2C;AAC3C,0DAAuC"}
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/api-key/index.ts","../src/api-key/steps/create-api-keys.ts","../src/api-key/steps/delete-api-keys.ts","../src/api-key/steps/index.ts","../src/api-key/steps/link-sales-channels-to-publishable-key.ts","../src/api-key/steps/revoke-api-keys.ts","../src/api-key/steps/update-api-keys.ts","../src/api-key/steps/validate-sales-channel-exists.ts","../src/api-key/workflows/create-api-keys.ts","../src/api-key/workflows/delete-api-keys.ts","../src/api-key/workflows/index.ts","../src/api-key/workflows/link-sales-channels-to-publishable-key.ts","../src/api-key/workflows/revoke-api-keys.ts","../src/api-key/workflows/update-api-keys.ts","../src/auth/index.ts","../src/auth/steps/index.ts","../src/auth/steps/set-auth-app-metadata.ts","../src/auth/workflows/generate-reset-password-token.ts","../src/auth/workflows/index.ts","../src/cart/index.ts","../src/cart/steps/add-shipping-method-to-cart.ts","../src/cart/steps/compensate-payment-if-needed.ts","../src/cart/steps/confirm-inventory.ts","../src/cart/steps/create-carts.ts","../src/cart/steps/create-line-item-adjustments.ts","../src/cart/steps/create-line-items.ts","../src/cart/steps/create-payment-collection.ts","../src/cart/steps/create-shipping-method-adjustments.ts","../src/cart/steps/find-one-or-any-region.ts","../src/cart/steps/find-or-create-customer.ts","../src/cart/steps/find-sales-channel.ts","../src/cart/steps/get-actions-to-compute-from-promotions.ts","../src/cart/steps/get-line-item-actions.ts","../src/cart/steps/get-promotion-codes-to-apply.ts","../src/cart/steps/get-variant-price-sets.ts","../src/cart/steps/get-variants.ts","../src/cart/steps/index.ts","../src/cart/steps/prepare-adjustments-from-promotion-actions.ts","../src/cart/steps/remove-line-item-adjustments.ts","../src/cart/steps/remove-shipping-method-adjustments.ts","../src/cart/steps/remove-shipping-method-from-cart.ts","../src/cart/steps/reserve-inventory.ts","../src/cart/steps/retrieve-cart.ts","../src/cart/steps/set-tax-lines-for-items.ts","../src/cart/steps/update-cart-promotions.ts","../src/cart/steps/update-carts.ts","../src/cart/steps/update-line-items.ts","../src/cart/steps/update-shipping-methods.ts","../src/cart/steps/upsert-tax-lines-for-items.ts","../src/cart/steps/validate-cart-payments.ts","../src/cart/steps/validate-cart-shipping-options.ts","../src/cart/steps/validate-cart.ts","../src/cart/steps/validate-line-item-prices.ts","../src/cart/steps/validate-sales-channel.ts","../src/cart/steps/validate-shipping-methods-data.ts","../src/cart/steps/validate-shipping-options-price.ts","../src/cart/steps/validate-shipping.ts","../src/cart/steps/validate-variant-prices.ts","../src/cart/utils/fields.ts","../src/cart/utils/prepare-confirm-inventory-input.ts","../src/cart/utils/prepare-line-item-data.ts","../src/cart/utils/schemas.ts","../src/cart/utils/__tests__/prepare-confirm-inventory-input.spec.ts","../src/cart/workflows/add-shipping-method-to-cart.ts","../src/cart/workflows/add-to-cart.ts","../src/cart/workflows/complete-cart.ts","../src/cart/workflows/confirm-variant-inventory.ts","../src/cart/workflows/create-cart-credit-lines.ts","../src/cart/workflows/create-carts.ts","../src/cart/workflows/create-payment-collection-for-cart.ts","../src/cart/workflows/delete-cart-credit-lines.ts","../src/cart/workflows/index.ts","../src/cart/workflows/list-shipping-options-for-cart-with-pricing.ts","../src/cart/workflows/list-shipping-options-for-cart.ts","../src/cart/workflows/refresh-cart-items.ts","../src/cart/workflows/refresh-cart-shipping-methods.ts","../src/cart/workflows/refresh-payment-collection.ts","../src/cart/workflows/refund-payment-recreate-payment-session.ts","../src/cart/workflows/transfer-cart-customer.ts","../src/cart/workflows/update-cart-promotions.ts","../src/cart/workflows/update-cart.ts","../src/cart/workflows/update-line-item-in-cart.ts","../src/cart/workflows/update-tax-lines.ts","../src/cart/workflows/upsert-tax-lines.ts","../src/common/index.ts","../src/common/steps/create-entities.ts","../src/common/steps/create-remote-links.ts","../src/common/steps/delete-entities.ts","../src/common/steps/dismiss-remote-links.ts","../src/common/steps/emit-event.ts","../src/common/steps/release-event.ts","../src/common/steps/remove-remote-links.ts","../src/common/steps/update-remote-links.ts","../src/common/steps/use-query-graph.ts","../src/common/steps/use-remote-query.ts","../src/common/steps/validate-presence-of.ts","../src/common/workflows/batch-links.ts","../src/common/workflows/create-links.ts","../src/common/workflows/dismiss-links.ts","../src/common/workflows/update-links.ts","../src/customer/index.ts","../src/customer/steps/create-addresses.ts","../src/customer/steps/create-customers.ts","../src/customer/steps/delete-addresses.ts","../src/customer/steps/delete-customers.ts","../src/customer/steps/index.ts","../src/customer/steps/maybe-unset-default-billing-addresses.ts","../src/customer/steps/maybe-unset-default-shipping-addresses.ts","../src/customer/steps/update-addresses.ts","../src/customer/steps/update-customers.ts","../src/customer/steps/validate-customer-account-creation.ts","../src/customer/steps/utils/index.ts","../src/customer/steps/utils/unset-address-for-create.ts","../src/customer/steps/utils/unset-address-for-update.ts","../src/customer/workflows/create-addresses.ts","../src/customer/workflows/create-customer-account.ts","../src/customer/workflows/create-customers.ts","../src/customer/workflows/delete-addresses.ts","../src/customer/workflows/delete-customers.ts","../src/customer/workflows/index.ts","../src/customer/workflows/remove-customer-account.ts","../src/customer/workflows/update-addresses.ts","../src/customer/workflows/update-customers.ts","../src/customer-group/index.ts","../src/customer-group/steps/create-customer-groups.ts","../src/customer-group/steps/delete-customer-group-customers.ts","../src/customer-group/steps/delete-customer-groups.ts","../src/customer-group/steps/index.ts","../src/customer-group/steps/link-customer-groups-customer.ts","../src/customer-group/steps/link-customers-customer-group.ts","../src/customer-group/steps/update-customer-groups.ts","../src/customer-group/workflows/create-customer-groups.ts","../src/customer-group/workflows/delete-customer-groups.ts","../src/customer-group/workflows/index.ts","../src/customer-group/workflows/link-customer-groups-customer.ts","../src/customer-group/workflows/link-customers-customer-group.ts","../src/customer-group/workflows/update-customer-groups.ts","../src/defaults/index.ts","../src/defaults/steps/create-default-store.ts","../src/defaults/steps/index.ts","../src/defaults/workflows/create-defaults.ts","../src/defaults/workflows/index.ts","../src/draft-order/index.ts","../src/draft-order/steps/create-draft-order-line-item-adjustments.ts","../src/draft-order/steps/create-draft-order-shipping-method-adjustments.ts","../src/draft-order/steps/get-draft-order-promotion-context.ts","../src/draft-order/steps/index.ts","../src/draft-order/steps/remove-draft-order-line-item-adjustments.ts","../src/draft-order/steps/remove-draft-order-shipping-method-adjustments.ts","../src/draft-order/steps/restore-draft-order-shipping-methods.ts","../src/draft-order/steps/update-draft-order-promotions.ts","../src/draft-order/steps/update-draft-order-shipping-metod.ts","../src/draft-order/steps/validate-draft-order-change.ts","../src/draft-order/steps/validate-draft-order-remove-action-item.ts","../src/draft-order/steps/validate-draft-order-shipping-method-action.ts","../src/draft-order/steps/validate-draft-order-update-action-item.ts","../src/draft-order/steps/validate-draft-order.ts","../src/draft-order/steps/validate-promo-codes-to-add.ts","../src/draft-order/steps/validate-promo-codes-to-remove.ts","../src/draft-order/utils/fields.ts","../src/draft-order/utils/validation.ts","../src/draft-order/workflows/add-draft-order-items.ts","../src/draft-order/workflows/add-draft-order-promotions.ts","../src/draft-order/workflows/add-draft-order-shipping-methods.ts","../src/draft-order/workflows/begin-draft-order-edit.ts","../src/draft-order/workflows/cancel-draft-order-edit.ts","../src/draft-order/workflows/confirm-draft-order-edit.ts","../src/draft-order/workflows/convert-draft-order.ts","../src/draft-order/workflows/index.ts","../src/draft-order/workflows/refresh-draft-order-adjustments.ts","../src/draft-order/workflows/remove-draft-order-action-item.ts","../src/draft-order/workflows/remove-draft-order-action-shipping-method.ts","../src/draft-order/workflows/remove-draft-order-promotions.ts","../src/draft-order/workflows/remove-draft-order-shipping-method.ts","../src/draft-order/workflows/request-draft-order-edit.ts","../src/draft-order/workflows/update-draft-order-action-item.ts","../src/draft-order/workflows/update-draft-order-action-shipping-method.ts","../src/draft-order/workflows/update-draft-order-item.ts","../src/draft-order/workflows/update-draft-order-shipping-method.ts","../src/draft-order/workflows/update-draft-order.ts","../src/file/index.ts","../src/file/steps/delete-files.ts","../src/file/steps/index.ts","../src/file/steps/upload-files.ts","../src/file/workflows/delete-files.ts","../src/file/workflows/index.ts","../src/file/workflows/upload-files.ts","../src/fulfillment/index.ts","../src/fulfillment/steps/add-shipping-options-prices.ts","../src/fulfillment/steps/calculate-shipping-options-prices.ts","../src/fulfillment/steps/cancel-fulfillment.ts","../src/fulfillment/steps/create-fulfillment-set.ts","../src/fulfillment/steps/create-fulfillment.ts","../src/fulfillment/steps/create-return-fulfillment.ts","../src/fulfillment/steps/create-service-zones.ts","../src/fulfillment/steps/create-shipping-option-rules.ts","../src/fulfillment/steps/create-shipping-profiles.ts","../src/fulfillment/steps/delete-fulfillment-sets.ts","../src/fulfillment/steps/delete-service-zones.ts","../src/fulfillment/steps/delete-shipping-option-rules.ts","../src/fulfillment/steps/delete-shipping-options.ts","../src/fulfillment/steps/index.ts","../src/fulfillment/steps/set-shipping-options-price-sets.ts","../src/fulfillment/steps/set-shipping-options-prices.ts","../src/fulfillment/steps/update-fulfillment.ts","../src/fulfillment/steps/update-service-zones.ts","../src/fulfillment/steps/update-shipping-option-rules.ts","../src/fulfillment/steps/update-shipping-profiles.ts","../src/fulfillment/steps/upsert-shipping-options.ts","../src/fulfillment/steps/validate-fulfillment-providers.ts","../src/fulfillment/steps/validate-shipment.ts","../src/fulfillment/steps/validate-shipping-option-prices.ts","../src/fulfillment/workflows/batch-shipping-option-rules.ts","../src/fulfillment/workflows/calculate-shipping-options-prices.ts","../src/fulfillment/workflows/cancel-fulfillment.ts","../src/fulfillment/workflows/create-fulfillment.ts","../src/fulfillment/workflows/create-return-fulfillment.ts","../src/fulfillment/workflows/create-service-zones.ts","../src/fulfillment/workflows/create-shipment.ts","../src/fulfillment/workflows/create-shipping-options.ts","../src/fulfillment/workflows/create-shipping-profiles.ts","../src/fulfillment/workflows/delete-fulfillment-sets.ts","../src/fulfillment/workflows/delete-service-zones.ts","../src/fulfillment/workflows/delete-shipping-options.ts","../src/fulfillment/workflows/index.ts","../src/fulfillment/workflows/mark-fulfillment-as-delivered.ts","../src/fulfillment/workflows/update-fulfillment.ts","../src/fulfillment/workflows/update-service-zones.ts","../src/fulfillment/workflows/update-shipping-options.ts","../src/fulfillment/workflows/update-shipping-profiles.ts","../src/inventory/index.ts","../src/inventory/steps/adjust-inventory-levels.ts","../src/inventory/steps/attach-inventory-items.ts","../src/inventory/steps/create-inventory-items.ts","../src/inventory/steps/create-inventory-levels.ts","../src/inventory/steps/delete-inventory-items.ts","../src/inventory/steps/delete-inventory-levels.ts","../src/inventory/steps/index.ts","../src/inventory/steps/update-inventory-items.ts","../src/inventory/steps/update-inventory-levels.ts","../src/inventory/steps/validate-inventory-items.ts","../src/inventory/steps/validate-inventory-locations.ts","../src/inventory/steps/validate-singular-inventory-items-for-tags.ts","../src/inventory/workflows/batch-inventory-item-levels.ts","../src/inventory/workflows/bulk-create-delete-levels.ts","../src/inventory/workflows/create-inventory-items.ts","../src/inventory/workflows/create-inventory-levels.ts","../src/inventory/workflows/delete-inventory-items.ts","../src/inventory/workflows/delete-inventory-levels.ts","../src/inventory/workflows/index.ts","../src/inventory/workflows/update-inventory-items.ts","../src/inventory/workflows/update-inventory-levels.ts","../src/invite/index.ts","../src/invite/steps/create-invites.ts","../src/invite/steps/delete-invites.ts","../src/invite/steps/index.ts","../src/invite/steps/refresh-invite-tokens.ts","../src/invite/steps/validate-token.ts","../src/invite/workflows/accept-invite.ts","../src/invite/workflows/create-invites.ts","../src/invite/workflows/delete-invites.ts","../src/invite/workflows/index.ts","../src/invite/workflows/refresh-invite-tokens.ts","../src/line-item/index.ts","../src/line-item/steps/delete-line-items.ts","../src/line-item/steps/index.ts","../src/line-item/steps/list-line-items.ts","../src/line-item/steps/update-line-items.ts","../src/line-item/workflows/delete-line-items.ts","../src/line-item/workflows/index.ts","../src/notification/index.ts","../src/notification/steps/index.ts","../src/notification/steps/notify-on-failure.ts","../src/notification/steps/send-notifications.ts","../src/order/index.ts","../src/order/steps/add-order-transaction.ts","../src/order/steps/archive-orders.ts","../src/order/steps/cancel-fulfillment.ts","../src/order/steps/cancel-order-change.ts","../src/order/steps/cancel-orders.ts","../src/order/steps/complete-orders.ts","../src/order/steps/confirm-order-changes.ts","../src/order/steps/create-line-items.ts","../src/order/steps/create-order-change.ts","../src/order/steps/create-order-shipping-methods.ts","../src/order/steps/create-orders.ts","../src/order/steps/decline-order-change.ts","../src/order/steps/delete-line-items.ts","../src/order/steps/delete-order-change-actions.ts","../src/order/steps/delete-order-changes.ts","../src/order/steps/delete-order-shipping-methods.ts","../src/order/steps/index.ts","../src/order/steps/preview-order-change.ts","../src/order/steps/register-delivery.ts","../src/order/steps/register-fulfillment.ts","../src/order/steps/register-order-changes.ts","../src/order/steps/register-shipment.ts","../src/order/steps/set-tax-lines-for-items.ts","../src/order/steps/update-order-change-actions.ts","../src/order/steps/update-order-changes.ts","../src/order/steps/update-orders.ts","../src/order/steps/update-shipping-methods.ts","../src/order/steps/claim/cancel-claim.ts","../src/order/steps/claim/create-claim-items-from-actions.ts","../src/order/steps/claim/create-claims.ts","../src/order/steps/claim/delete-claims.ts","../src/order/steps/claim/update-order-claims.ts","../src/order/steps/exchange/cancel-exchange.ts","../src/order/steps/exchange/create-exchange-items-from-actions.ts","../src/order/steps/exchange/create-exchange.ts","../src/order/steps/exchange/delete-exchanges.ts","../src/order/steps/exchange/update-order-exchanges.ts","../src/order/steps/return/cancel-return.ts","../src/order/steps/return/create-complete-return.ts","../src/order/steps/return/create-return-items-from-actions.ts","../src/order/steps/return/create-returns.ts","../src/order/steps/return/delete-returns.ts","../src/order/steps/return/receive-return.ts","../src/order/steps/return/update-return-items.ts","../src/order/steps/return/update-returns.ts","../src/order/utils/aggregate-status.ts","../src/order/utils/build-reservations-map.ts","../src/order/utils/fields.ts","../src/order/utils/order-validation.ts","../src/order/utils/prepare-shipping-method.ts","../src/order/utils/validate-return-reason.ts","../src/order/utils/__tests__/aggregate-status.spec.ts","../src/order/workflows/add-line-items.ts","../src/order/workflows/archive-orders.ts","../src/order/workflows/cancel-order-change.ts","../src/order/workflows/cancel-order-fulfillment.ts","../src/order/workflows/cancel-order.ts","../src/order/workflows/complete-orders.ts","../src/order/workflows/create-fulfillment.ts","../src/order/workflows/create-or-update-order-payment-collection.ts","../src/order/workflows/create-order-change-actions.ts","../src/order/workflows/create-order-change.ts","../src/order/workflows/create-order-credit-lines.ts","../src/order/workflows/create-order-payment-collection.ts","../src/order/workflows/create-order.ts","../src/order/workflows/create-shipment.ts","../src/order/workflows/decline-order-change.ts","../src/order/workflows/delete-order-change-actions.ts","../src/order/workflows/delete-order-change.ts","../src/order/workflows/delete-order-payment-collection.ts","../src/order/workflows/fetch-shipping-option.ts","../src/order/workflows/get-order-detail.ts","../src/order/workflows/get-orders-list.ts","../src/order/workflows/index.ts","../src/order/workflows/mark-order-fulfillment-as-delivered.ts","../src/order/workflows/mark-payment-collection-as-paid.ts","../src/order/workflows/maybe-refresh-shipping-methods.ts","../src/order/workflows/update-order-change-actions.ts","../src/order/workflows/update-order-changes.ts","../src/order/workflows/update-order.ts","../src/order/workflows/update-tax-lines.ts","../src/order/workflows/claim/begin-order-claim.ts","../src/order/workflows/claim/cancel-begin-order-claim.ts","../src/order/workflows/claim/cancel-claim.ts","../src/order/workflows/claim/claim-add-new-item.ts","../src/order/workflows/claim/claim-item.ts","../src/order/workflows/claim/claim-request-item-return.ts","../src/order/workflows/claim/confirm-claim-request.ts","../src/order/workflows/claim/create-claim-shipping-method.ts","../src/order/workflows/claim/refresh-shipping.ts","../src/order/workflows/claim/remove-claim-add-item-action.ts","../src/order/workflows/claim/remove-claim-item-action.ts","../src/order/workflows/claim/remove-claim-shipping-method.ts","../src/order/workflows/claim/update-claim-add-item.ts","../src/order/workflows/claim/update-claim-item.ts","../src/order/workflows/claim/update-claim-shipping-method.ts","../src/order/workflows/exchange/begin-order-exchange.ts","../src/order/workflows/exchange/cancel-begin-order-exchange.ts","../src/order/workflows/exchange/cancel-exchange.ts","../src/order/workflows/exchange/confirm-exchange-request.ts","../src/order/workflows/exchange/create-exchange-shipping-method.ts","../src/order/workflows/exchange/exchange-add-new-item.ts","../src/order/workflows/exchange/exchange-request-item-return.ts","../src/order/workflows/exchange/refresh-shipping.ts","../src/order/workflows/exchange/remove-exchange-item-action.ts","../src/order/workflows/exchange/remove-exchange-shipping-method.ts","../src/order/workflows/exchange/update-exchange-add-item.ts","../src/order/workflows/exchange/update-exchange-shipping-method.ts","../src/order/workflows/order-edit/begin-order-edit.ts","../src/order/workflows/order-edit/cancel-begin-order-edit.ts","../src/order/workflows/order-edit/confirm-order-edit-request.ts","../src/order/workflows/order-edit/create-order-edit-shipping-method.ts","../src/order/workflows/order-edit/order-edit-add-new-item.ts","../src/order/workflows/order-edit/order-edit-update-item-quantity.ts","../src/order/workflows/order-edit/remove-order-edit-item-action.ts","../src/order/workflows/order-edit/remove-order-edit-shipping-method.ts","../src/order/workflows/order-edit/request-order-edit.ts","../src/order/workflows/order-edit/update-order-edit-add-item.ts","../src/order/workflows/order-edit/update-order-edit-item-quantity.ts","../src/order/workflows/order-edit/update-order-edit-shipping-method.ts","../src/order/workflows/payments/create-order-refund-credit-lines.ts","../src/order/workflows/payments/refund-captured-payments.ts","../src/order/workflows/return/begin-receive-return.ts","../src/order/workflows/return/begin-return.ts","../src/order/workflows/return/cancel-receive-return.ts","../src/order/workflows/return/cancel-request-return.ts","../src/order/workflows/return/cancel-return.ts","../src/order/workflows/return/confirm-receive-return-request.ts","../src/order/workflows/return/confirm-return-request.ts","../src/order/workflows/return/create-complete-return.ts","../src/order/workflows/return/create-return-shipping-method.ts","../src/order/workflows/return/dismiss-item-return-request.ts","../src/order/workflows/return/receive-complete-return.ts","../src/order/workflows/return/receive-item-return-request.ts","../src/order/workflows/return/refresh-shipping.ts","../src/order/workflows/return/remove-item-receive-return-action.ts","../src/order/workflows/return/remove-item-return-action.ts","../src/order/workflows/return/remove-return-shipping-method.ts","../src/order/workflows/return/request-item-return.ts","../src/order/workflows/return/update-receive-item-return-request.ts","../src/order/workflows/return/update-request-item-return.ts","../src/order/workflows/return/update-return-shipping-method.ts","../src/order/workflows/return/update-return.ts","../src/order/workflows/transfer/accept-order-transfer.ts","../src/order/workflows/transfer/cancel-order-transfer.ts","../src/order/workflows/transfer/decline-order-transfer.ts","../src/order/workflows/transfer/request-order-transfer.ts","../src/payment/index.ts","../src/payment/steps/authorize-payment-session.ts","../src/payment/steps/cancel-payment.ts","../src/payment/steps/capture-payment.ts","../src/payment/steps/index.ts","../src/payment/steps/refund-payment.ts","../src/payment/steps/refund-payments.ts","../src/payment/workflows/capture-payment.ts","../src/payment/workflows/index.ts","../src/payment/workflows/process-payment.ts","../src/payment/workflows/refund-payment.ts","../src/payment/workflows/refund-payments.ts","../src/payment-collection/index.ts","../src/payment-collection/steps/cancel-payment.ts","../src/payment-collection/steps/create-payment-account-holder.ts","../src/payment-collection/steps/create-payment-session.ts","../src/payment-collection/steps/create-refund-reasons.ts","../src/payment-collection/steps/delete-payment-sessions.ts","../src/payment-collection/steps/delete-refund-reasons.ts","../src/payment-collection/steps/index.ts","../src/payment-collection/steps/update-payment-collection.ts","../src/payment-collection/steps/update-refund-reasons.ts","../src/payment-collection/steps/validate-deleted-payment-sessions.ts","../src/payment-collection/workflows/cancel-payment-collection.ts","../src/payment-collection/workflows/create-payment-session.ts","../src/payment-collection/workflows/create-refund-reasons.ts","../src/payment-collection/workflows/delete-payment-sessions.ts","../src/payment-collection/workflows/delete-refund-reasons.ts","../src/payment-collection/workflows/index.ts","../src/payment-collection/workflows/update-refund-reasons.ts","../src/price-list/index.ts","../src/price-list/steps/create-price-list-prices.ts","../src/price-list/steps/create-price-lists.ts","../src/price-list/steps/delete-price-lists.ts","../src/price-list/steps/get-existing-price-lists-price-ids.ts","../src/price-list/steps/index.ts","../src/price-list/steps/remove-price-list-prices.ts","../src/price-list/steps/update-price-list-prices.ts","../src/price-list/steps/update-price-lists.ts","../src/price-list/steps/validate-price-lists.ts","../src/price-list/steps/validate-variant-price-links.ts","../src/price-list/workflows/batch-price-list-prices.ts","../src/price-list/workflows/create-price-list-prices.ts","../src/price-list/workflows/create-price-lists.ts","../src/price-list/workflows/delete-price-lists.ts","../src/price-list/workflows/index.ts","../src/price-list/workflows/remove-price-list-prices.ts","../src/price-list/workflows/update-price-list-prices.ts","../src/price-list/workflows/update-price-lists.ts","../src/pricing/index.ts","../src/pricing/steps/create-price-preferences.ts","../src/pricing/steps/create-price-sets.ts","../src/pricing/steps/delete-price-preferences.ts","../src/pricing/steps/index.ts","../src/pricing/steps/update-price-preferences-as-array.ts","../src/pricing/steps/update-price-preferences.ts","../src/pricing/steps/update-price-sets.ts","../src/pricing/workflows/create-price-preferences.ts","../src/pricing/workflows/delete-price-preferences.ts","../src/pricing/workflows/index.ts","../src/pricing/workflows/update-price-preferences.ts","../src/product/index.ts","../src/product/helpers/normalize-for-export.ts","../src/product/helpers/normalize-for-import.ts","../src/product/helpers/normalize-v1-import.ts","../src/product/steps/batch-link-products-collection.ts","../src/product/steps/batch-link-products-in-category.ts","../src/product/steps/create-collections.ts","../src/product/steps/create-product-options.ts","../src/product/steps/create-product-tags.ts","../src/product/steps/create-product-types.ts","../src/product/steps/create-product-variants.ts","../src/product/steps/create-products.ts","../src/product/steps/create-variant-pricing-link.ts","../src/product/steps/delete-collections.ts","../src/product/steps/delete-product-options.ts","../src/product/steps/delete-product-tags.ts","../src/product/steps/delete-product-types.ts","../src/product/steps/delete-product-variants.ts","../src/product/steps/delete-products.ts","../src/product/steps/generate-product-csv.ts","../src/product/steps/get-all-products.ts","../src/product/steps/get-products.ts","../src/product/steps/get-variant-availability.ts","../src/product/steps/get-variant-pricing-link.ts","../src/product/steps/index.ts","../src/product/steps/normalize-products.ts","../src/product/steps/parse-product-csv.ts","../src/product/steps/update-collections.ts","../src/product/steps/update-product-options.ts","../src/product/steps/update-product-tags.ts","../src/product/steps/update-product-types.ts","../src/product/steps/update-product-variants.ts","../src/product/steps/update-products.ts","../src/product/steps/wait-confirmation-product-import.ts","../src/product/utils/csvtojson.ts","../src/product/utils/index.ts","../src/product/utils/jsontocsv.ts","../src/product/workflows/batch-link-products-collection.ts","../src/product/workflows/batch-product-variants.ts","../src/product/workflows/batch-products-in-category.ts","../src/product/workflows/batch-products.ts","../src/product/workflows/create-collections.ts","../src/product/workflows/create-product-options.ts","../src/product/workflows/create-product-tags.ts","../src/product/workflows/create-product-types.ts","../src/product/workflows/create-product-variants.ts","../src/product/workflows/create-products.ts","../src/product/workflows/delete-collections.ts","../src/product/workflows/delete-product-options.ts","../src/product/workflows/delete-product-tags.ts","../src/product/workflows/delete-product-types.ts","../src/product/workflows/delete-product-variants.ts","../src/product/workflows/delete-products.ts","../src/product/workflows/export-products.ts","../src/product/workflows/import-products.ts","../src/product/workflows/index.ts","../src/product/workflows/update-collections.ts","../src/product/workflows/update-product-options.ts","../src/product/workflows/update-product-tags.ts","../src/product/workflows/update-product-types.ts","../src/product/workflows/update-product-variants.ts","../src/product/workflows/update-products.ts","../src/product/workflows/upsert-variant-prices.ts","../src/product-category/index.ts","../src/product-category/steps/create-product-categories.ts","../src/product-category/steps/delete-product-categories.ts","../src/product-category/steps/index.ts","../src/product-category/steps/update-product-categories.ts","../src/product-category/workflows/create-product-categories.ts","../src/product-category/workflows/delete-product-categories.ts","../src/product-category/workflows/index.ts","../src/product-category/workflows/update-product-categories.ts","../src/promotion/index.ts","../src/promotion/steps/add-campaign-promotions.ts","../src/promotion/steps/add-or-remove-campaign-promotions.ts","../src/promotion/steps/add-rules-to-promotions.ts","../src/promotion/steps/create-campaigns.ts","../src/promotion/steps/create-promotions.ts","../src/promotion/steps/delete-campaigns.ts","../src/promotion/steps/delete-promotion-rules-workflow.ts","../src/promotion/steps/delete-promotions.ts","../src/promotion/steps/index.ts","../src/promotion/steps/register-usage.ts","../src/promotion/steps/remove-campaign-promotions.ts","../src/promotion/steps/remove-rules-from-promotions.ts","../src/promotion/steps/update-campaigns.ts","../src/promotion/steps/update-promotion-rules.ts","../src/promotion/steps/update-promotions.ts","../src/promotion/workflows/add-or-remove-campaign-promotions.ts","../src/promotion/workflows/batch-promotion-rules.ts","../src/promotion/workflows/create-campaigns.ts","../src/promotion/workflows/create-promotion-rules.ts","../src/promotion/workflows/create-promotions.ts","../src/promotion/workflows/delete-campaigns.ts","../src/promotion/workflows/delete-promotion-rules.ts","../src/promotion/workflows/delete-promotions.ts","../src/promotion/workflows/index.ts","../src/promotion/workflows/update-campaigns.ts","../src/promotion/workflows/update-promotion-rules.ts","../src/promotion/workflows/update-promotions-status.ts","../src/promotion/workflows/update-promotions.ts","../src/region/index.ts","../src/region/steps/create-regions.ts","../src/region/steps/delete-regions.ts","../src/region/steps/index.ts","../src/region/steps/set-regions-payment-providers.ts","../src/region/steps/update-regions.ts","../src/region/workflows/create-regions.ts","../src/region/workflows/delete-regions.ts","../src/region/workflows/index.ts","../src/region/workflows/update-regions.ts","../src/reservation/index.ts","../src/reservation/steps/create-reservations.ts","../src/reservation/steps/delete-reservations-by-line-items.ts","../src/reservation/steps/delete-reservations.ts","../src/reservation/steps/index.ts","../src/reservation/steps/update-reservations.ts","../src/reservation/workflows/create-reservations.ts","../src/reservation/workflows/delete-reservations-by-line-items.ts","../src/reservation/workflows/delete-reservations.ts","../src/reservation/workflows/index.ts","../src/reservation/workflows/update-reservations.ts","../src/return-reason/index.ts","../src/return-reason/steps/create-return-reasons.ts","../src/return-reason/steps/delete-return-reasons.ts","../src/return-reason/steps/index.ts","../src/return-reason/steps/update-return-reasons.ts","../src/return-reason/workflows/create-return-reasons.ts","../src/return-reason/workflows/delete-return-reasons.ts","../src/return-reason/workflows/index.ts","../src/return-reason/workflows/update-return-reasons.ts","../src/sales-channel/index.ts","../src/sales-channel/steps/associate-locations-with-channels.ts","../src/sales-channel/steps/associate-products-with-channels.ts","../src/sales-channel/steps/can-delete-sales-channels.ts","../src/sales-channel/steps/create-default-sales-channel.ts","../src/sales-channel/steps/create-sales-channels.ts","../src/sales-channel/steps/delete-sales-channels.ts","../src/sales-channel/steps/detach-locations-from-channels.ts","../src/sales-channel/steps/detach-products-from-sales-channels.ts","../src/sales-channel/steps/index.ts","../src/sales-channel/steps/update-sales-channels.ts","../src/sales-channel/workflows/create-sales-channels.ts","../src/sales-channel/workflows/delete-sales-channels.ts","../src/sales-channel/workflows/index.ts","../src/sales-channel/workflows/link-products-to-sales-channel.ts","../src/sales-channel/workflows/update-sales-channels.ts","../src/shipping-options/index.ts","../src/shipping-options/steps/index.ts","../src/shipping-options/steps/list-shipping-options-for-context.ts","../src/shipping-profile/index.ts","../src/shipping-profile/steps/delete-shipping-profile.ts","../src/shipping-profile/steps/index.ts","../src/shipping-profile/workflows/delete-shipping-profile.ts","../src/shipping-profile/workflows/index.ts","../src/stock-location/index.ts","../src/stock-location/steps/associate-locations-with-fulfillment-sets.ts","../src/stock-location/steps/create-stock-locations.ts","../src/stock-location/steps/delete-stock-locations.ts","../src/stock-location/steps/index.ts","../src/stock-location/steps/update-stock-locations.ts","../src/stock-location/steps/upsert-stock-location-addresses.ts","../src/stock-location/workflows/create-location-fulfillment-set.ts","../src/stock-location/workflows/create-stock-locations.ts","../src/stock-location/workflows/delete-stock-locations.ts","../src/stock-location/workflows/index.ts","../src/stock-location/workflows/link-sales-channels-to-stock-location.ts","../src/stock-location/workflows/update-stock-locations.ts","../src/store/index.ts","../src/store/steps/create-stores.ts","../src/store/steps/delete-stores.ts","../src/store/steps/index.ts","../src/store/steps/update-stores.ts","../src/store/workflows/create-stores.ts","../src/store/workflows/delete-stores.ts","../src/store/workflows/index.ts","../src/store/workflows/update-stores.ts","../src/tax/index.ts","../src/tax/steps/create-tax-rate-rules.ts","../src/tax/steps/create-tax-rates.ts","../src/tax/steps/create-tax-regions.ts","../src/tax/steps/delete-tax-rate-rules.ts","../src/tax/steps/delete-tax-rates.ts","../src/tax/steps/delete-tax-regions.ts","../src/tax/steps/get-item-tax-lines.ts","../src/tax/steps/index.ts","../src/tax/steps/list-tax-rate-ids.ts","../src/tax/steps/list-tax-rate-rule-ids.ts","../src/tax/steps/update-tax-rates.ts","../src/tax/steps/update-tax-regions.ts","../src/tax/workflows/create-tax-rate-rules.ts","../src/tax/workflows/create-tax-rates.ts","../src/tax/workflows/create-tax-regions.ts","../src/tax/workflows/delete-tax-rate-rules.ts","../src/tax/workflows/delete-tax-rates.ts","../src/tax/workflows/delete-tax-regions.ts","../src/tax/workflows/index.ts","../src/tax/workflows/set-tax-rate-rules.ts","../src/tax/workflows/update-tax-rates.ts","../src/tax/workflows/update-tax-regions.ts","../src/user/index.ts","../src/user/steps/create-users.ts","../src/user/steps/delete-users.ts","../src/user/steps/index.ts","../src/user/steps/update-users.ts","../src/user/workflows/create-user-account.ts","../src/user/workflows/create-users.ts","../src/user/workflows/delete-users.ts","../src/user/workflows/index.ts","../src/user/workflows/remove-user-account.ts","../src/user/workflows/update-users.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/api-key/index.ts","../src/api-key/steps/create-api-keys.ts","../src/api-key/steps/delete-api-keys.ts","../src/api-key/steps/index.ts","../src/api-key/steps/link-sales-channels-to-publishable-key.ts","../src/api-key/steps/revoke-api-keys.ts","../src/api-key/steps/update-api-keys.ts","../src/api-key/steps/validate-sales-channel-exists.ts","../src/api-key/workflows/create-api-keys.ts","../src/api-key/workflows/delete-api-keys.ts","../src/api-key/workflows/index.ts","../src/api-key/workflows/link-sales-channels-to-publishable-key.ts","../src/api-key/workflows/revoke-api-keys.ts","../src/api-key/workflows/update-api-keys.ts","../src/auth/index.ts","../src/auth/steps/index.ts","../src/auth/steps/set-auth-app-metadata.ts","../src/auth/workflows/generate-reset-password-token.ts","../src/auth/workflows/index.ts","../src/cart/index.ts","../src/cart/steps/add-shipping-method-to-cart.ts","../src/cart/steps/compensate-payment-if-needed.ts","../src/cart/steps/confirm-inventory.ts","../src/cart/steps/create-carts.ts","../src/cart/steps/create-line-item-adjustments.ts","../src/cart/steps/create-line-items.ts","../src/cart/steps/create-payment-collection.ts","../src/cart/steps/create-shipping-method-adjustments.ts","../src/cart/steps/find-one-or-any-region.ts","../src/cart/steps/find-or-create-customer.ts","../src/cart/steps/find-sales-channel.ts","../src/cart/steps/get-actions-to-compute-from-promotions.ts","../src/cart/steps/get-line-item-actions.ts","../src/cart/steps/get-promotion-codes-to-apply.ts","../src/cart/steps/get-variant-price-sets.ts","../src/cart/steps/get-variants.ts","../src/cart/steps/index.ts","../src/cart/steps/prepare-adjustments-from-promotion-actions.ts","../src/cart/steps/remove-line-item-adjustments.ts","../src/cart/steps/remove-shipping-method-adjustments.ts","../src/cart/steps/remove-shipping-method-from-cart.ts","../src/cart/steps/reserve-inventory.ts","../src/cart/steps/retrieve-cart.ts","../src/cart/steps/set-tax-lines-for-items.ts","../src/cart/steps/update-cart-promotions.ts","../src/cart/steps/update-carts.ts","../src/cart/steps/update-line-items.ts","../src/cart/steps/update-shipping-methods.ts","../src/cart/steps/upsert-tax-lines-for-items.ts","../src/cart/steps/validate-cart-payments.ts","../src/cart/steps/validate-cart-shipping-options.ts","../src/cart/steps/validate-cart.ts","../src/cart/steps/validate-line-item-prices.ts","../src/cart/steps/validate-sales-channel.ts","../src/cart/steps/validate-shipping-methods-data.ts","../src/cart/steps/validate-shipping-options-price.ts","../src/cart/steps/validate-shipping.ts","../src/cart/steps/validate-variant-prices.ts","../src/cart/utils/fields.ts","../src/cart/utils/prepare-confirm-inventory-input.ts","../src/cart/utils/prepare-line-item-data.ts","../src/cart/utils/schemas.ts","../src/cart/utils/__tests__/prepare-confirm-inventory-input.spec.ts","../src/cart/workflows/add-shipping-method-to-cart.ts","../src/cart/workflows/add-to-cart.ts","../src/cart/workflows/complete-cart.ts","../src/cart/workflows/confirm-variant-inventory.ts","../src/cart/workflows/create-cart-credit-lines.ts","../src/cart/workflows/create-carts.ts","../src/cart/workflows/create-payment-collection-for-cart.ts","../src/cart/workflows/delete-cart-credit-lines.ts","../src/cart/workflows/index.ts","../src/cart/workflows/list-shipping-options-for-cart-with-pricing.ts","../src/cart/workflows/list-shipping-options-for-cart.ts","../src/cart/workflows/refresh-cart-items.ts","../src/cart/workflows/refresh-cart-shipping-methods.ts","../src/cart/workflows/refresh-payment-collection.ts","../src/cart/workflows/refund-payment-recreate-payment-session.ts","../src/cart/workflows/transfer-cart-customer.ts","../src/cart/workflows/update-cart-promotions.ts","../src/cart/workflows/update-cart.ts","../src/cart/workflows/update-line-item-in-cart.ts","../src/cart/workflows/update-tax-lines.ts","../src/cart/workflows/upsert-tax-lines.ts","../src/common/index.ts","../src/common/steps/create-entities.ts","../src/common/steps/create-remote-links.ts","../src/common/steps/delete-entities.ts","../src/common/steps/dismiss-remote-links.ts","../src/common/steps/emit-event.ts","../src/common/steps/release-event.ts","../src/common/steps/remove-remote-links.ts","../src/common/steps/update-remote-links.ts","../src/common/steps/use-query-graph.ts","../src/common/steps/use-remote-query.ts","../src/common/steps/validate-presence-of.ts","../src/common/workflows/batch-links.ts","../src/common/workflows/create-links.ts","../src/common/workflows/dismiss-links.ts","../src/common/workflows/update-links.ts","../src/customer/index.ts","../src/customer/steps/create-addresses.ts","../src/customer/steps/create-customers.ts","../src/customer/steps/delete-addresses.ts","../src/customer/steps/delete-customers.ts","../src/customer/steps/index.ts","../src/customer/steps/maybe-unset-default-billing-addresses.ts","../src/customer/steps/maybe-unset-default-shipping-addresses.ts","../src/customer/steps/update-addresses.ts","../src/customer/steps/update-customers.ts","../src/customer/steps/validate-customer-account-creation.ts","../src/customer/steps/utils/index.ts","../src/customer/steps/utils/unset-address-for-create.ts","../src/customer/steps/utils/unset-address-for-update.ts","../src/customer/workflows/create-addresses.ts","../src/customer/workflows/create-customer-account.ts","../src/customer/workflows/create-customers.ts","../src/customer/workflows/delete-addresses.ts","../src/customer/workflows/delete-customers.ts","../src/customer/workflows/index.ts","../src/customer/workflows/remove-customer-account.ts","../src/customer/workflows/update-addresses.ts","../src/customer/workflows/update-customers.ts","../src/customer-group/index.ts","../src/customer-group/steps/create-customer-groups.ts","../src/customer-group/steps/delete-customer-group-customers.ts","../src/customer-group/steps/delete-customer-groups.ts","../src/customer-group/steps/index.ts","../src/customer-group/steps/link-customer-groups-customer.ts","../src/customer-group/steps/link-customers-customer-group.ts","../src/customer-group/steps/update-customer-groups.ts","../src/customer-group/workflows/create-customer-groups.ts","../src/customer-group/workflows/delete-customer-groups.ts","../src/customer-group/workflows/index.ts","../src/customer-group/workflows/link-customer-groups-customer.ts","../src/customer-group/workflows/link-customers-customer-group.ts","../src/customer-group/workflows/update-customer-groups.ts","../src/defaults/index.ts","../src/defaults/steps/create-default-store.ts","../src/defaults/steps/index.ts","../src/defaults/workflows/create-defaults.ts","../src/defaults/workflows/index.ts","../src/draft-order/index.ts","../src/draft-order/steps/create-draft-order-line-item-adjustments.ts","../src/draft-order/steps/create-draft-order-shipping-method-adjustments.ts","../src/draft-order/steps/get-draft-order-promotion-context.ts","../src/draft-order/steps/index.ts","../src/draft-order/steps/remove-draft-order-line-item-adjustments.ts","../src/draft-order/steps/remove-draft-order-shipping-method-adjustments.ts","../src/draft-order/steps/restore-draft-order-shipping-methods.ts","../src/draft-order/steps/update-draft-order-promotions.ts","../src/draft-order/steps/update-draft-order-shipping-metod.ts","../src/draft-order/steps/validate-draft-order-change.ts","../src/draft-order/steps/validate-draft-order-remove-action-item.ts","../src/draft-order/steps/validate-draft-order-shipping-method-action.ts","../src/draft-order/steps/validate-draft-order-update-action-item.ts","../src/draft-order/steps/validate-draft-order.ts","../src/draft-order/steps/validate-promo-codes-to-add.ts","../src/draft-order/steps/validate-promo-codes-to-remove.ts","../src/draft-order/utils/fields.ts","../src/draft-order/utils/validation.ts","../src/draft-order/workflows/add-draft-order-items.ts","../src/draft-order/workflows/add-draft-order-promotions.ts","../src/draft-order/workflows/add-draft-order-shipping-methods.ts","../src/draft-order/workflows/begin-draft-order-edit.ts","../src/draft-order/workflows/cancel-draft-order-edit.ts","../src/draft-order/workflows/confirm-draft-order-edit.ts","../src/draft-order/workflows/convert-draft-order.ts","../src/draft-order/workflows/index.ts","../src/draft-order/workflows/refresh-draft-order-adjustments.ts","../src/draft-order/workflows/remove-draft-order-action-item.ts","../src/draft-order/workflows/remove-draft-order-action-shipping-method.ts","../src/draft-order/workflows/remove-draft-order-promotions.ts","../src/draft-order/workflows/remove-draft-order-shipping-method.ts","../src/draft-order/workflows/request-draft-order-edit.ts","../src/draft-order/workflows/update-draft-order-action-item.ts","../src/draft-order/workflows/update-draft-order-action-shipping-method.ts","../src/draft-order/workflows/update-draft-order-item.ts","../src/draft-order/workflows/update-draft-order-shipping-method.ts","../src/draft-order/workflows/update-draft-order.ts","../src/file/index.ts","../src/file/steps/delete-files.ts","../src/file/steps/index.ts","../src/file/steps/upload-files.ts","../src/file/workflows/delete-files.ts","../src/file/workflows/index.ts","../src/file/workflows/upload-files.ts","../src/fulfillment/index.ts","../src/fulfillment/steps/add-shipping-options-prices.ts","../src/fulfillment/steps/calculate-shipping-options-prices.ts","../src/fulfillment/steps/cancel-fulfillment.ts","../src/fulfillment/steps/create-fulfillment-set.ts","../src/fulfillment/steps/create-fulfillment.ts","../src/fulfillment/steps/create-return-fulfillment.ts","../src/fulfillment/steps/create-service-zones.ts","../src/fulfillment/steps/create-shipping-option-rules.ts","../src/fulfillment/steps/create-shipping-profiles.ts","../src/fulfillment/steps/delete-fulfillment-sets.ts","../src/fulfillment/steps/delete-service-zones.ts","../src/fulfillment/steps/delete-shipping-option-rules.ts","../src/fulfillment/steps/delete-shipping-options.ts","../src/fulfillment/steps/index.ts","../src/fulfillment/steps/set-shipping-options-price-sets.ts","../src/fulfillment/steps/set-shipping-options-prices.ts","../src/fulfillment/steps/update-fulfillment.ts","../src/fulfillment/steps/update-service-zones.ts","../src/fulfillment/steps/update-shipping-option-rules.ts","../src/fulfillment/steps/update-shipping-profiles.ts","../src/fulfillment/steps/upsert-shipping-options.ts","../src/fulfillment/steps/validate-fulfillment-providers.ts","../src/fulfillment/steps/validate-shipment.ts","../src/fulfillment/steps/validate-shipping-option-prices.ts","../src/fulfillment/workflows/batch-shipping-option-rules.ts","../src/fulfillment/workflows/calculate-shipping-options-prices.ts","../src/fulfillment/workflows/cancel-fulfillment.ts","../src/fulfillment/workflows/create-fulfillment.ts","../src/fulfillment/workflows/create-return-fulfillment.ts","../src/fulfillment/workflows/create-service-zones.ts","../src/fulfillment/workflows/create-shipment.ts","../src/fulfillment/workflows/create-shipping-options.ts","../src/fulfillment/workflows/create-shipping-profiles.ts","../src/fulfillment/workflows/delete-fulfillment-sets.ts","../src/fulfillment/workflows/delete-service-zones.ts","../src/fulfillment/workflows/delete-shipping-options.ts","../src/fulfillment/workflows/index.ts","../src/fulfillment/workflows/mark-fulfillment-as-delivered.ts","../src/fulfillment/workflows/update-fulfillment.ts","../src/fulfillment/workflows/update-service-zones.ts","../src/fulfillment/workflows/update-shipping-options.ts","../src/fulfillment/workflows/update-shipping-profiles.ts","../src/inventory/index.ts","../src/inventory/steps/adjust-inventory-levels.ts","../src/inventory/steps/attach-inventory-items.ts","../src/inventory/steps/create-inventory-items.ts","../src/inventory/steps/create-inventory-levels.ts","../src/inventory/steps/delete-inventory-items.ts","../src/inventory/steps/delete-inventory-levels.ts","../src/inventory/steps/index.ts","../src/inventory/steps/update-inventory-items.ts","../src/inventory/steps/update-inventory-levels.ts","../src/inventory/steps/validate-inventory-items.ts","../src/inventory/steps/validate-inventory-locations.ts","../src/inventory/steps/validate-singular-inventory-items-for-tags.ts","../src/inventory/workflows/batch-inventory-item-levels.ts","../src/inventory/workflows/bulk-create-delete-levels.ts","../src/inventory/workflows/create-inventory-items.ts","../src/inventory/workflows/create-inventory-levels.ts","../src/inventory/workflows/delete-inventory-items.ts","../src/inventory/workflows/delete-inventory-levels.ts","../src/inventory/workflows/index.ts","../src/inventory/workflows/update-inventory-items.ts","../src/inventory/workflows/update-inventory-levels.ts","../src/invite/index.ts","../src/invite/steps/create-invites.ts","../src/invite/steps/delete-invites.ts","../src/invite/steps/index.ts","../src/invite/steps/refresh-invite-tokens.ts","../src/invite/steps/validate-token.ts","../src/invite/workflows/accept-invite.ts","../src/invite/workflows/create-invites.ts","../src/invite/workflows/delete-invites.ts","../src/invite/workflows/index.ts","../src/invite/workflows/refresh-invite-tokens.ts","../src/line-item/index.ts","../src/line-item/steps/delete-line-items.ts","../src/line-item/steps/index.ts","../src/line-item/steps/list-line-items.ts","../src/line-item/steps/update-line-items.ts","../src/line-item/workflows/delete-line-items.ts","../src/line-item/workflows/index.ts","../src/notification/index.ts","../src/notification/steps/index.ts","../src/notification/steps/notify-on-failure.ts","../src/notification/steps/send-notifications.ts","../src/order/index.ts","../src/order/steps/add-order-transaction.ts","../src/order/steps/archive-orders.ts","../src/order/steps/cancel-fulfillment.ts","../src/order/steps/cancel-order-change.ts","../src/order/steps/cancel-orders.ts","../src/order/steps/complete-orders.ts","../src/order/steps/confirm-order-changes.ts","../src/order/steps/create-line-items.ts","../src/order/steps/create-order-change.ts","../src/order/steps/create-order-shipping-methods.ts","../src/order/steps/create-orders.ts","../src/order/steps/decline-order-change.ts","../src/order/steps/delete-line-items.ts","../src/order/steps/delete-order-change-actions.ts","../src/order/steps/delete-order-changes.ts","../src/order/steps/delete-order-shipping-methods.ts","../src/order/steps/index.ts","../src/order/steps/preview-order-change.ts","../src/order/steps/register-delivery.ts","../src/order/steps/register-fulfillment.ts","../src/order/steps/register-order-changes.ts","../src/order/steps/register-shipment.ts","../src/order/steps/set-tax-lines-for-items.ts","../src/order/steps/update-order-change-actions.ts","../src/order/steps/update-order-changes.ts","../src/order/steps/update-orders.ts","../src/order/steps/update-shipping-methods.ts","../src/order/steps/claim/cancel-claim.ts","../src/order/steps/claim/create-claim-items-from-actions.ts","../src/order/steps/claim/create-claims.ts","../src/order/steps/claim/delete-claims.ts","../src/order/steps/claim/update-order-claims.ts","../src/order/steps/exchange/cancel-exchange.ts","../src/order/steps/exchange/create-exchange-items-from-actions.ts","../src/order/steps/exchange/create-exchange.ts","../src/order/steps/exchange/delete-exchanges.ts","../src/order/steps/exchange/update-order-exchanges.ts","../src/order/steps/return/cancel-return.ts","../src/order/steps/return/create-complete-return.ts","../src/order/steps/return/create-return-items-from-actions.ts","../src/order/steps/return/create-returns.ts","../src/order/steps/return/delete-returns.ts","../src/order/steps/return/receive-return.ts","../src/order/steps/return/update-return-items.ts","../src/order/steps/return/update-returns.ts","../src/order/utils/aggregate-status.ts","../src/order/utils/build-reservations-map.ts","../src/order/utils/fields.ts","../src/order/utils/order-validation.ts","../src/order/utils/prepare-shipping-method.ts","../src/order/utils/validate-return-reason.ts","../src/order/utils/__tests__/aggregate-status.spec.ts","../src/order/workflows/add-line-items.ts","../src/order/workflows/archive-orders.ts","../src/order/workflows/cancel-order-change.ts","../src/order/workflows/cancel-order-fulfillment.ts","../src/order/workflows/cancel-order.ts","../src/order/workflows/complete-orders.ts","../src/order/workflows/create-fulfillment.ts","../src/order/workflows/create-or-update-order-payment-collection.ts","../src/order/workflows/create-order-change-actions.ts","../src/order/workflows/create-order-change.ts","../src/order/workflows/create-order-credit-lines.ts","../src/order/workflows/create-order-payment-collection.ts","../src/order/workflows/create-order.ts","../src/order/workflows/create-shipment.ts","../src/order/workflows/decline-order-change.ts","../src/order/workflows/delete-order-change-actions.ts","../src/order/workflows/delete-order-change.ts","../src/order/workflows/delete-order-payment-collection.ts","../src/order/workflows/fetch-shipping-option.ts","../src/order/workflows/get-order-detail.ts","../src/order/workflows/get-orders-list.ts","../src/order/workflows/index.ts","../src/order/workflows/mark-order-fulfillment-as-delivered.ts","../src/order/workflows/mark-payment-collection-as-paid.ts","../src/order/workflows/maybe-refresh-shipping-methods.ts","../src/order/workflows/update-order-change-actions.ts","../src/order/workflows/update-order-changes.ts","../src/order/workflows/update-order.ts","../src/order/workflows/update-tax-lines.ts","../src/order/workflows/claim/begin-order-claim.ts","../src/order/workflows/claim/cancel-begin-order-claim.ts","../src/order/workflows/claim/cancel-claim.ts","../src/order/workflows/claim/claim-add-new-item.ts","../src/order/workflows/claim/claim-item.ts","../src/order/workflows/claim/claim-request-item-return.ts","../src/order/workflows/claim/confirm-claim-request.ts","../src/order/workflows/claim/create-claim-shipping-method.ts","../src/order/workflows/claim/refresh-shipping.ts","../src/order/workflows/claim/remove-claim-add-item-action.ts","../src/order/workflows/claim/remove-claim-item-action.ts","../src/order/workflows/claim/remove-claim-shipping-method.ts","../src/order/workflows/claim/update-claim-add-item.ts","../src/order/workflows/claim/update-claim-item.ts","../src/order/workflows/claim/update-claim-shipping-method.ts","../src/order/workflows/exchange/begin-order-exchange.ts","../src/order/workflows/exchange/cancel-begin-order-exchange.ts","../src/order/workflows/exchange/cancel-exchange.ts","../src/order/workflows/exchange/confirm-exchange-request.ts","../src/order/workflows/exchange/create-exchange-shipping-method.ts","../src/order/workflows/exchange/exchange-add-new-item.ts","../src/order/workflows/exchange/exchange-request-item-return.ts","../src/order/workflows/exchange/refresh-shipping.ts","../src/order/workflows/exchange/remove-exchange-item-action.ts","../src/order/workflows/exchange/remove-exchange-shipping-method.ts","../src/order/workflows/exchange/update-exchange-add-item.ts","../src/order/workflows/exchange/update-exchange-shipping-method.ts","../src/order/workflows/order-edit/begin-order-edit.ts","../src/order/workflows/order-edit/cancel-begin-order-edit.ts","../src/order/workflows/order-edit/confirm-order-edit-request.ts","../src/order/workflows/order-edit/create-order-edit-shipping-method.ts","../src/order/workflows/order-edit/order-edit-add-new-item.ts","../src/order/workflows/order-edit/order-edit-update-item-quantity.ts","../src/order/workflows/order-edit/remove-order-edit-item-action.ts","../src/order/workflows/order-edit/remove-order-edit-shipping-method.ts","../src/order/workflows/order-edit/request-order-edit.ts","../src/order/workflows/order-edit/update-order-edit-add-item.ts","../src/order/workflows/order-edit/update-order-edit-item-quantity.ts","../src/order/workflows/order-edit/update-order-edit-shipping-method.ts","../src/order/workflows/payments/create-order-refund-credit-lines.ts","../src/order/workflows/payments/refund-captured-payments.ts","../src/order/workflows/return/begin-receive-return.ts","../src/order/workflows/return/begin-return.ts","../src/order/workflows/return/cancel-receive-return.ts","../src/order/workflows/return/cancel-request-return.ts","../src/order/workflows/return/cancel-return.ts","../src/order/workflows/return/confirm-receive-return-request.ts","../src/order/workflows/return/confirm-return-request.ts","../src/order/workflows/return/create-complete-return.ts","../src/order/workflows/return/create-return-shipping-method.ts","../src/order/workflows/return/dismiss-item-return-request.ts","../src/order/workflows/return/receive-complete-return.ts","../src/order/workflows/return/receive-item-return-request.ts","../src/order/workflows/return/refresh-shipping.ts","../src/order/workflows/return/remove-item-receive-return-action.ts","../src/order/workflows/return/remove-item-return-action.ts","../src/order/workflows/return/remove-return-shipping-method.ts","../src/order/workflows/return/request-item-return.ts","../src/order/workflows/return/update-receive-item-return-request.ts","../src/order/workflows/return/update-request-item-return.ts","../src/order/workflows/return/update-return-shipping-method.ts","../src/order/workflows/return/update-return.ts","../src/order/workflows/transfer/accept-order-transfer.ts","../src/order/workflows/transfer/cancel-order-transfer.ts","../src/order/workflows/transfer/decline-order-transfer.ts","../src/order/workflows/transfer/request-order-transfer.ts","../src/payment/index.ts","../src/payment/steps/authorize-payment-session.ts","../src/payment/steps/cancel-payment.ts","../src/payment/steps/capture-payment.ts","../src/payment/steps/index.ts","../src/payment/steps/refund-payment.ts","../src/payment/steps/refund-payments.ts","../src/payment/workflows/capture-payment.ts","../src/payment/workflows/index.ts","../src/payment/workflows/process-payment.ts","../src/payment/workflows/refund-payment.ts","../src/payment/workflows/refund-payments.ts","../src/payment-collection/index.ts","../src/payment-collection/steps/cancel-payment.ts","../src/payment-collection/steps/create-payment-account-holder.ts","../src/payment-collection/steps/create-payment-session.ts","../src/payment-collection/steps/create-refund-reasons.ts","../src/payment-collection/steps/delete-payment-sessions.ts","../src/payment-collection/steps/delete-refund-reasons.ts","../src/payment-collection/steps/index.ts","../src/payment-collection/steps/update-payment-collection.ts","../src/payment-collection/steps/update-refund-reasons.ts","../src/payment-collection/steps/validate-deleted-payment-sessions.ts","../src/payment-collection/workflows/cancel-payment-collection.ts","../src/payment-collection/workflows/create-payment-session.ts","../src/payment-collection/workflows/create-refund-reasons.ts","../src/payment-collection/workflows/delete-payment-sessions.ts","../src/payment-collection/workflows/delete-refund-reasons.ts","../src/payment-collection/workflows/index.ts","../src/payment-collection/workflows/update-refund-reasons.ts","../src/price-list/index.ts","../src/price-list/steps/create-price-list-prices.ts","../src/price-list/steps/create-price-lists.ts","../src/price-list/steps/delete-price-lists.ts","../src/price-list/steps/get-existing-price-lists-price-ids.ts","../src/price-list/steps/index.ts","../src/price-list/steps/remove-price-list-prices.ts","../src/price-list/steps/update-price-list-prices.ts","../src/price-list/steps/update-price-lists.ts","../src/price-list/steps/validate-price-lists.ts","../src/price-list/steps/validate-variant-price-links.ts","../src/price-list/workflows/batch-price-list-prices.ts","../src/price-list/workflows/create-price-list-prices.ts","../src/price-list/workflows/create-price-lists.ts","../src/price-list/workflows/delete-price-lists.ts","../src/price-list/workflows/index.ts","../src/price-list/workflows/remove-price-list-prices.ts","../src/price-list/workflows/update-price-list-prices.ts","../src/price-list/workflows/update-price-lists.ts","../src/pricing/index.ts","../src/pricing/steps/create-price-preferences.ts","../src/pricing/steps/create-price-sets.ts","../src/pricing/steps/delete-price-preferences.ts","../src/pricing/steps/index.ts","../src/pricing/steps/update-price-preferences-as-array.ts","../src/pricing/steps/update-price-preferences.ts","../src/pricing/steps/update-price-sets.ts","../src/pricing/workflows/create-price-preferences.ts","../src/pricing/workflows/delete-price-preferences.ts","../src/pricing/workflows/index.ts","../src/pricing/workflows/update-price-preferences.ts","../src/product/index.ts","../src/product/helpers/normalize-for-export.ts","../src/product/helpers/normalize-for-import.ts","../src/product/helpers/normalize-v1-import.ts","../src/product/steps/batch-link-products-collection.ts","../src/product/steps/batch-link-products-in-category.ts","../src/product/steps/create-collections.ts","../src/product/steps/create-product-options.ts","../src/product/steps/create-product-tags.ts","../src/product/steps/create-product-types.ts","../src/product/steps/create-product-variants.ts","../src/product/steps/create-products.ts","../src/product/steps/create-variant-pricing-link.ts","../src/product/steps/delete-collections.ts","../src/product/steps/delete-product-options.ts","../src/product/steps/delete-product-tags.ts","../src/product/steps/delete-product-types.ts","../src/product/steps/delete-product-variants.ts","../src/product/steps/delete-products.ts","../src/product/steps/generate-product-csv.ts","../src/product/steps/get-all-products.ts","../src/product/steps/get-products.ts","../src/product/steps/get-variant-availability.ts","../src/product/steps/get-variant-pricing-link.ts","../src/product/steps/index.ts","../src/product/steps/normalize-products-to-chunks.ts","../src/product/steps/normalize-products.ts","../src/product/steps/parse-product-csv.ts","../src/product/steps/process-import-chunks.ts","../src/product/steps/update-collections.ts","../src/product/steps/update-product-options.ts","../src/product/steps/update-product-tags.ts","../src/product/steps/update-product-types.ts","../src/product/steps/update-product-variants.ts","../src/product/steps/update-products.ts","../src/product/steps/wait-confirmation-product-import.ts","../src/product/utils/csvtojson.ts","../src/product/utils/index.ts","../src/product/utils/jsontocsv.ts","../src/product/workflows/batch-link-products-collection.ts","../src/product/workflows/batch-product-variants.ts","../src/product/workflows/batch-products-in-category.ts","../src/product/workflows/batch-products.ts","../src/product/workflows/create-collections.ts","../src/product/workflows/create-product-options.ts","../src/product/workflows/create-product-tags.ts","../src/product/workflows/create-product-types.ts","../src/product/workflows/create-product-variants.ts","../src/product/workflows/create-products.ts","../src/product/workflows/delete-collections.ts","../src/product/workflows/delete-product-options.ts","../src/product/workflows/delete-product-tags.ts","../src/product/workflows/delete-product-types.ts","../src/product/workflows/delete-product-variants.ts","../src/product/workflows/delete-products.ts","../src/product/workflows/export-products.ts","../src/product/workflows/import-products-as-chunks.ts","../src/product/workflows/import-products.ts","../src/product/workflows/index.ts","../src/product/workflows/update-collections.ts","../src/product/workflows/update-product-options.ts","../src/product/workflows/update-product-tags.ts","../src/product/workflows/update-product-types.ts","../src/product/workflows/update-product-variants.ts","../src/product/workflows/update-products.ts","../src/product/workflows/upsert-variant-prices.ts","../src/product-category/index.ts","../src/product-category/steps/create-product-categories.ts","../src/product-category/steps/delete-product-categories.ts","../src/product-category/steps/index.ts","../src/product-category/steps/update-product-categories.ts","../src/product-category/workflows/create-product-categories.ts","../src/product-category/workflows/delete-product-categories.ts","../src/product-category/workflows/index.ts","../src/product-category/workflows/update-product-categories.ts","../src/promotion/index.ts","../src/promotion/steps/add-campaign-promotions.ts","../src/promotion/steps/add-or-remove-campaign-promotions.ts","../src/promotion/steps/add-rules-to-promotions.ts","../src/promotion/steps/create-campaigns.ts","../src/promotion/steps/create-promotions.ts","../src/promotion/steps/delete-campaigns.ts","../src/promotion/steps/delete-promotion-rules-workflow.ts","../src/promotion/steps/delete-promotions.ts","../src/promotion/steps/index.ts","../src/promotion/steps/register-usage.ts","../src/promotion/steps/remove-campaign-promotions.ts","../src/promotion/steps/remove-rules-from-promotions.ts","../src/promotion/steps/update-campaigns.ts","../src/promotion/steps/update-promotion-rules.ts","../src/promotion/steps/update-promotions.ts","../src/promotion/workflows/add-or-remove-campaign-promotions.ts","../src/promotion/workflows/batch-promotion-rules.ts","../src/promotion/workflows/create-campaigns.ts","../src/promotion/workflows/create-promotion-rules.ts","../src/promotion/workflows/create-promotions.ts","../src/promotion/workflows/delete-campaigns.ts","../src/promotion/workflows/delete-promotion-rules.ts","../src/promotion/workflows/delete-promotions.ts","../src/promotion/workflows/index.ts","../src/promotion/workflows/update-campaigns.ts","../src/promotion/workflows/update-promotion-rules.ts","../src/promotion/workflows/update-promotions-status.ts","../src/promotion/workflows/update-promotions.ts","../src/region/index.ts","../src/region/steps/create-regions.ts","../src/region/steps/delete-regions.ts","../src/region/steps/index.ts","../src/region/steps/set-regions-payment-providers.ts","../src/region/steps/update-regions.ts","../src/region/workflows/create-regions.ts","../src/region/workflows/delete-regions.ts","../src/region/workflows/index.ts","../src/region/workflows/update-regions.ts","../src/reservation/index.ts","../src/reservation/steps/create-reservations.ts","../src/reservation/steps/delete-reservations-by-line-items.ts","../src/reservation/steps/delete-reservations.ts","../src/reservation/steps/index.ts","../src/reservation/steps/update-reservations.ts","../src/reservation/workflows/create-reservations.ts","../src/reservation/workflows/delete-reservations-by-line-items.ts","../src/reservation/workflows/delete-reservations.ts","../src/reservation/workflows/index.ts","../src/reservation/workflows/update-reservations.ts","../src/return-reason/index.ts","../src/return-reason/steps/create-return-reasons.ts","../src/return-reason/steps/delete-return-reasons.ts","../src/return-reason/steps/index.ts","../src/return-reason/steps/update-return-reasons.ts","../src/return-reason/workflows/create-return-reasons.ts","../src/return-reason/workflows/delete-return-reasons.ts","../src/return-reason/workflows/index.ts","../src/return-reason/workflows/update-return-reasons.ts","../src/sales-channel/index.ts","../src/sales-channel/steps/associate-locations-with-channels.ts","../src/sales-channel/steps/associate-products-with-channels.ts","../src/sales-channel/steps/can-delete-sales-channels.ts","../src/sales-channel/steps/create-default-sales-channel.ts","../src/sales-channel/steps/create-sales-channels.ts","../src/sales-channel/steps/delete-sales-channels.ts","../src/sales-channel/steps/detach-locations-from-channels.ts","../src/sales-channel/steps/detach-products-from-sales-channels.ts","../src/sales-channel/steps/index.ts","../src/sales-channel/steps/update-sales-channels.ts","../src/sales-channel/workflows/create-sales-channels.ts","../src/sales-channel/workflows/delete-sales-channels.ts","../src/sales-channel/workflows/index.ts","../src/sales-channel/workflows/link-products-to-sales-channel.ts","../src/sales-channel/workflows/update-sales-channels.ts","../src/shipping-options/index.ts","../src/shipping-options/steps/index.ts","../src/shipping-options/steps/list-shipping-options-for-context.ts","../src/shipping-profile/index.ts","../src/shipping-profile/steps/delete-shipping-profile.ts","../src/shipping-profile/steps/index.ts","../src/shipping-profile/workflows/delete-shipping-profile.ts","../src/shipping-profile/workflows/index.ts","../src/stock-location/index.ts","../src/stock-location/steps/associate-locations-with-fulfillment-sets.ts","../src/stock-location/steps/create-stock-locations.ts","../src/stock-location/steps/delete-stock-locations.ts","../src/stock-location/steps/index.ts","../src/stock-location/steps/update-stock-locations.ts","../src/stock-location/steps/upsert-stock-location-addresses.ts","../src/stock-location/workflows/create-location-fulfillment-set.ts","../src/stock-location/workflows/create-stock-locations.ts","../src/stock-location/workflows/delete-stock-locations.ts","../src/stock-location/workflows/index.ts","../src/stock-location/workflows/link-sales-channels-to-stock-location.ts","../src/stock-location/workflows/update-stock-locations.ts","../src/store/index.ts","../src/store/steps/create-stores.ts","../src/store/steps/delete-stores.ts","../src/store/steps/index.ts","../src/store/steps/update-stores.ts","../src/store/workflows/create-stores.ts","../src/store/workflows/delete-stores.ts","../src/store/workflows/index.ts","../src/store/workflows/update-stores.ts","../src/tax/index.ts","../src/tax/steps/create-tax-rate-rules.ts","../src/tax/steps/create-tax-rates.ts","../src/tax/steps/create-tax-regions.ts","../src/tax/steps/delete-tax-rate-rules.ts","../src/tax/steps/delete-tax-rates.ts","../src/tax/steps/delete-tax-regions.ts","../src/tax/steps/get-item-tax-lines.ts","../src/tax/steps/index.ts","../src/tax/steps/list-tax-rate-ids.ts","../src/tax/steps/list-tax-rate-rule-ids.ts","../src/tax/steps/update-tax-rates.ts","../src/tax/steps/update-tax-regions.ts","../src/tax/workflows/create-tax-rate-rules.ts","../src/tax/workflows/create-tax-rates.ts","../src/tax/workflows/create-tax-regions.ts","../src/tax/workflows/delete-tax-rate-rules.ts","../src/tax/workflows/delete-tax-rates.ts","../src/tax/workflows/delete-tax-regions.ts","../src/tax/workflows/index.ts","../src/tax/workflows/set-tax-rate-rules.ts","../src/tax/workflows/update-tax-rates.ts","../src/tax/workflows/update-tax-regions.ts","../src/user/index.ts","../src/user/steps/create-users.ts","../src/user/steps/delete-users.ts","../src/user/steps/index.ts","../src/user/steps/update-users.ts","../src/user/workflows/create-user-account.ts","../src/user/workflows/create-users.ts","../src/user/workflows/delete-users.ts","../src/user/workflows/index.ts","../src/user/workflows/remove-user-account.ts","../src/user/workflows/update-users.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/core-flows",
3
- "version": "2.8.3-snapshot-20250520080555",
3
+ "version": "2.8.3-snapshot-20250521091311",
4
4
  "description": "Set of workflow definitions for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -26,7 +26,7 @@
26
26
  "author": "Medusa",
27
27
  "license": "MIT",
28
28
  "devDependencies": {
29
- "@medusajs/framework": "2.8.3-snapshot-20250520080555",
29
+ "@medusajs/framework": "2.8.3-snapshot-20250521091311",
30
30
  "@mikro-orm/core": "6.4.3",
31
31
  "@mikro-orm/knex": "6.4.3",
32
32
  "@mikro-orm/migrations": "6.4.3",
@@ -44,7 +44,7 @@
44
44
  "json-2-csv": "^5.5.4"
45
45
  },
46
46
  "peerDependencies": {
47
- "@medusajs/framework": "2.8.3-snapshot-20250520080555",
47
+ "@medusajs/framework": "2.8.3-snapshot-20250521091311",
48
48
  "awilix": "^8.0.1"
49
49
  },
50
50
  "scripts": {