@medusajs/types 1.12.0-snapshot-20240531090655 → 1.12.0-snapshot-20240531091659

Sign up to get free protection for your applications and to get access to all the features.
package/dist/bundles.d.ts CHANGED
@@ -29,4 +29,5 @@ export * as TaxTypes from "./tax";
29
29
  export * as TransactionBaseTypes from "./transaction-base";
30
30
  export * as UserTypes from "./user";
31
31
  export * as WorkflowTypes from "./workflow";
32
+ export * as WorkflowsSdkTypes from "./workflows-sdk";
32
33
  //# sourceMappingURL=bundles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundles.d.ts","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,WAAW,MAAM,WAAW,CAAA;AACxC,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,GAAG,MAAM,OAAO,CAAA;AAC5B,OAAO,KAAK,aAAa,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,gBAAgB,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,gBAAgB,MAAM,eAAe,CAAA;AACjD,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,cAAc,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,eAAe,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,YAAY,MAAM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,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,eAAe,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,gBAAgB,CAAA;AACnD,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,YAAY,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,YAAY,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,cAAc,MAAM,aAAa,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAA;AACpD,OAAO,KAAK,WAAW,MAAM,UAAU,CAAA;AACvC,OAAO,KAAK,kBAAkB,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,UAAU,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,oBAAoB,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,KAAK,aAAa,MAAM,YAAY,CAAA;AAC3C,OAAO,KAAK,iBAAiB,MAAM,iBAAiB,CAAA"}
package/dist/bundles.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.WorkflowTypes = exports.UserTypes = exports.TransactionBaseTypes = exports.TaxTypes = exports.StoreTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.RegionTypes = exports.PromotionTypes = exports.ProductTypes = exports.PricingTypes = exports.OrderTypes = exports.NotificationTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.HttpTypes = exports.FulfillmentTypes = exports.FileTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CustomerTypes = exports.CurrencyTypes = exports.CommonTypes = exports.CartTypes = exports.CacheTypes = exports.AuthTypes = exports.ApiKeyTypes = exports.AdminTypes = void 0;
26
+ exports.WorkflowsSdkTypes = exports.WorkflowTypes = exports.UserTypes = exports.TransactionBaseTypes = exports.TaxTypes = exports.StoreTypes = exports.StockLocationTypes = exports.SearchTypes = exports.SalesChannelTypes = exports.RegionTypes = exports.PromotionTypes = exports.ProductTypes = exports.PricingTypes = exports.OrderTypes = exports.NotificationTypes = exports.ModulesSdkTypes = exports.LoggerTypes = exports.InventoryTypes = exports.HttpTypes = exports.FulfillmentTypes = exports.FileTypes = exports.FeatureFlagTypes = exports.EventBusTypes = exports.DAL = exports.CustomerTypes = exports.CurrencyTypes = exports.CommonTypes = exports.CartTypes = exports.CacheTypes = exports.AuthTypes = exports.ApiKeyTypes = exports.AdminTypes = void 0;
27
27
  exports.AdminTypes = __importStar(require("./admin"));
28
28
  exports.ApiKeyTypes = __importStar(require("./api-key"));
29
29
  exports.AuthTypes = __importStar(require("./auth"));
@@ -55,4 +55,5 @@ exports.TaxTypes = __importStar(require("./tax"));
55
55
  exports.TransactionBaseTypes = __importStar(require("./transaction-base"));
56
56
  exports.UserTypes = __importStar(require("./user"));
57
57
  exports.WorkflowTypes = __importStar(require("./workflow"));
58
+ exports.WorkflowsSdkTypes = __importStar(require("./workflows-sdk"));
58
59
  //# sourceMappingURL=bundles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,yDAAwC;AACxC,oDAAmC;AACnC,sDAAqC;AACrC,oDAAmC;AACnC,wDAAuC;AACvC,4DAA2C;AAC3C,4DAA2C;AAC3C,6CAA4B;AAC5B,6DAA4C;AAC5C,mEAAkD;AAClD,oDAAmC;AACnC,kEAAiD;AACjD,oDAAmC;AACnC,8DAA6C;AAC7C,wDAAuC;AACvC,iEAAgD;AAChD,oEAAmD;AACnD,sDAAqC;AACrC,0DAAyC;AACzC,0DAAyC;AACzC,8DAA6C;AAC7C,gEAA+C;AAC/C,qEAAoD;AACpD,wDAAuC;AACvC,uEAAsD;AACtD,sDAAqC;AACrC,kDAAiC;AACjC,2EAA0D;AAC1D,oDAAmC;AACnC,4DAA2C"}
1
+ {"version":3,"file":"bundles.js","sourceRoot":"","sources":["../src/bundles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAqC;AACrC,yDAAwC;AACxC,oDAAmC;AACnC,sDAAqC;AACrC,oDAAmC;AACnC,wDAAuC;AACvC,4DAA2C;AAC3C,4DAA2C;AAC3C,6CAA4B;AAC5B,6DAA4C;AAC5C,mEAAkD;AAClD,oDAAmC;AACnC,kEAAiD;AACjD,oDAAmC;AACnC,8DAA6C;AAC7C,wDAAuC;AACvC,iEAAgD;AAChD,oEAAmD;AACnD,sDAAqC;AACrC,0DAAyC;AACzC,0DAAyC;AACzC,8DAA6C;AAC7C,gEAA+C;AAC/C,qEAAoD;AACpD,wDAAuC;AACvC,uEAAsD;AACtD,sDAAqC;AACrC,kDAAiC;AACjC,2EAA0D;AAC1D,oDAAmC;AACnC,4DAA2C;AAC3C,qEAAoD"}
@@ -1,9 +1,17 @@
1
- import { AwilixContainer } from "awilix";
1
+ import { AwilixContainer, ResolveOptions } from "awilix";
2
+ /**
3
+ * The following interface acts as a bucket that other modules or the
4
+ * utils package can fill using declaration merging
5
+ */
6
+ export interface ModuleImplementations {
7
+ }
2
8
  /**
3
9
  * The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to
4
10
  * provide dependency injection functionalities.
5
11
  */
6
- export type MedusaContainer = AwilixContainer & {
12
+ export type MedusaContainer<Cradle extends object = ModuleImplementations> = Omit<AwilixContainer, "resolve"> & {
13
+ resolve<K extends keyof Cradle>(key: K, resolveOptions?: ResolveOptions): Cradle[K];
14
+ resolve<T>(key: string, resolveOptions?: ResolveOptions): T;
7
15
  /**
8
16
  * @ignore
9
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"medusa-container.d.ts","sourceRoot":"","sources":["../../src/common/medusa-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AAExC;;;GAGG;AACH,MAAM,MAAM,eAAe,GAAG,eAAe,GAAG;IAC9C;;OAEG;IACH,WAAW,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,KAAK,eAAe,CAAA;IAClE;;OAEG;IACH,WAAW,EAAE,MAAM,eAAe,CAAA;CACnC,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;CACrC,CAAA"}
1
+ {"version":3,"file":"medusa-container.d.ts","sourceRoot":"","sources":["../../src/common/medusa-container.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAExD;;;GAGG;AACH,MAAM,WAAW,qBAAqB;CAAG;AAEzC;;;GAGG;AACH,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,MAAM,GAAG,qBAAqB,IACvE,IAAI,CAAC,eAAe,EAAE,SAAS,CAAC,GAAG;IACjC,OAAO,CAAC,CAAC,SAAS,MAAM,MAAM,EAC5B,GAAG,EAAE,CAAC,EACN,cAAc,CAAC,EAAE,cAAc,GAC9B,MAAM,CAAC,CAAC,CAAC,CAAA;IACZ,OAAO,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,cAAc,GAAG,CAAC,CAAA;IAE3D;;OAEG;IACH,WAAW,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,KAAK,eAAe,CAAA;IAClE;;OAEG;IACH,WAAW,EAAE,MAAM,eAAe,CAAA;CACnC,CAAA;AAEH,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,CAAC,CAAA;CACrC,CAAA"}
package/dist/index.d.ts CHANGED
@@ -40,4 +40,5 @@ export * from "./transaction-base";
40
40
  export * from "./user";
41
41
  export * from "./workflow";
42
42
  export * from "./workflows";
43
+ export * from "./workflows-sdk";
43
44
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,QAAQ,CAAA;AACtB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,QAAQ,CAAA;AACtB,cAAc,UAAU,CAAA;AACxB,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA;AAC1B,cAAc,OAAO,CAAA;AACrB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,QAAQ,CAAA;AACtB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,QAAQ,CAAA;AACtB,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,SAAS,CAAA;AACvB,cAAc,OAAO,CAA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,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -56,4 +56,5 @@ __exportStar(require("./transaction-base"), exports);
56
56
  __exportStar(require("./user"), exports);
57
57
  __exportStar(require("./workflow"), exports);
58
58
  __exportStar(require("./workflows"), exports);
59
+ __exportStar(require("./workflows-sdk"), exports);
59
60
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,0CAAuB;AACvB,4CAAyB;AACzB,yCAAsB;AACtB,4CAAyB;AACzB,0CAAuB;AACvB,yCAAsB;AACtB,2CAAwB;AACxB,6CAA0B;AAC1B,6CAA0B;AAC1B,wCAAqB;AACrB,8CAA2B;AAC3B,iDAA8B;AAC9B,yCAAsB;AACtB,iDAA8B;AAC9B,gDAA6B;AAC7B,yCAAsB;AACtB,8CAA2B;AAC3B,2CAAwB;AACxB,iDAA8B;AAC9B,2CAAwB;AACxB,gDAA6B;AAC7B,iDAA8B;AAC9B,0CAAuB;AACvB,4CAAyB;AACzB,4CAAyB;AACzB,4CAAyB;AACzB,qDAAkC;AAClC,8CAA2B;AAC3B,2CAAwB;AACxB,mDAAgC;AAChC,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC;AAChC,mDAAgC;AAChC,0CAAuB;AACvB,wCAAqB;AACrB,2CAAwB;AACxB,qDAAkC;AAClC,yCAAsB;AACtB,6CAA0B;AAC1B,8CAA2B;AAC3B,kDAA+B"}
@@ -234,7 +234,7 @@ export interface IStockLocationServiceNext extends IModuleService {
234
234
  * @example
235
235
  * await stockLocationModuleService.delete("sloc_123")
236
236
  */
237
- delete(id: string, context?: Context): Promise<void>;
237
+ delete(id: string | string[], context?: Context): Promise<void>;
238
238
  /**
239
239
  * This method soft deletes stock locations by their IDs.
240
240
  *
@@ -1 +1 @@
1
- {"version":3,"file":"service-next.d.ts","sourceRoot":"","sources":["../../src/stock-location/service-next.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C;;GAEG;AACH,MAAM,WAAW,yBAA0B,SAAQ,cAAc;IAC/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,IAAI,CACF,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AA;CAC5C"}
@@ -0,0 +1,19 @@
1
+ import { BaseFilterable, OperatorMap } from "../dal";
2
+ export interface WorkflowExecutionDTO {
3
+ id: string;
4
+ workflow_id: string;
5
+ transaction_id: string;
6
+ execution: string;
7
+ context: string;
8
+ state: any;
9
+ created_at: Date;
10
+ updated_at: Date;
11
+ deleted_at: Date;
12
+ }
13
+ export interface FilterableWorkflowExecutionProps extends BaseFilterable<FilterableWorkflowExecutionProps> {
14
+ id?: string | string[] | OperatorMap<string>;
15
+ workflow_id?: string | string[] | OperatorMap<string>;
16
+ transaction_id?: string | string[] | OperatorMap<string>;
17
+ state?: string | string[] | OperatorMap<string>;
18
+ }
19
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpD,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,GAAG,CAAA;IACV,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;IAChB,UAAU,EAAE,IAAI,CAAA;CACjB;AAED,MAAM,WAAW,gCACf,SAAQ,cAAc,CAAC,gCAAgC,CAAC;IACxD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IAC5C,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACrD,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;IACxD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,CAAC,CAAA;CAChD"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/workflows-sdk/common.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export * from "./common";
2
+ export * from "./mutations";
3
+ export * from "./service";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./common"), exports);
18
+ __exportStar(require("./mutations"), exports);
19
+ __exportStar(require("./service"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflows-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,8CAA2B;AAC3B,4CAAyB"}
@@ -0,0 +1,8 @@
1
+ export interface UpsertWorkflowExecutionDTO {
2
+ workflow_id: string;
3
+ transaction_id: string;
4
+ execution: Record<string, unknown>;
5
+ context: Record<string, unknown>;
6
+ state: any;
7
+ }
8
+ //# sourceMappingURL=mutations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/mutations.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,0BAA0B;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAChC,KAAK,EAAE,GAAG,CAAA;CACX"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=mutations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mutations.js","sourceRoot":"","sources":["../../src/workflows-sdk/mutations.ts"],"names":[],"mappings":""}
@@ -0,0 +1,59 @@
1
+ import { ContainerLike, FindConfig } from "../common";
2
+ import { IModuleService } from "../modules-sdk";
3
+ import { Context } from "../shared-context";
4
+ import { FilterableWorkflowExecutionProps, WorkflowExecutionDTO } from "./common";
5
+ type FlowRunOptions<TData = unknown> = {
6
+ input?: TData;
7
+ context?: Context;
8
+ resultFrom?: string | string[] | Symbol;
9
+ throwOnError?: boolean;
10
+ events?: Record<string, Function>;
11
+ };
12
+ export interface WorkflowOrchestratorRunDTO<T = unknown> extends FlowRunOptions<T> {
13
+ transactionId?: string;
14
+ container?: ContainerLike;
15
+ }
16
+ export type IdempotencyKeyParts = {
17
+ workflowId: string;
18
+ transactionId: string;
19
+ stepId: string;
20
+ action: "invoke" | "compensate";
21
+ };
22
+ export interface IWorkflowEngineService extends IModuleService {
23
+ retrieveWorkflowExecution(idOrObject: string | {
24
+ workflow_id: string;
25
+ transaction_id: string;
26
+ }, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<WorkflowExecutionDTO>;
27
+ listWorkflowExecution(filters?: FilterableWorkflowExecutionProps, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<WorkflowExecutionDTO[]>;
28
+ listAndCountWorkflowExecution(filters?: FilterableWorkflowExecutionProps, config?: FindConfig<WorkflowExecutionDTO>, sharedContext?: Context): Promise<[WorkflowExecutionDTO[], number]>;
29
+ run(workflowId: string, options?: WorkflowOrchestratorRunDTO, sharedContext?: Context): Promise<{
30
+ errors: Error[];
31
+ transaction: object;
32
+ result: any;
33
+ acknowledgement: object;
34
+ }>;
35
+ getRunningTransaction(workflowId: string, transactionId: string, options?: Record<string, any>, sharedContext?: Context): Promise<unknown>;
36
+ setStepSuccess({ idempotencyKey, stepResponse, options, }: {
37
+ idempotencyKey: string | IdempotencyKeyParts;
38
+ stepResponse: unknown;
39
+ options?: Record<string, any>;
40
+ }, sharedContext?: Context): any;
41
+ setStepFailure({ idempotencyKey, stepResponse, options, }: {
42
+ idempotencyKey: string | IdempotencyKeyParts;
43
+ stepResponse: unknown;
44
+ options?: Record<string, any>;
45
+ }, sharedContext?: Context): any;
46
+ subscribe(args: {
47
+ workflowId: string;
48
+ transactionId?: string;
49
+ subscriber: Function;
50
+ subscriberId?: string;
51
+ }, sharedContext?: Context): Promise<void>;
52
+ unsubscribe(args: {
53
+ workflowId: string;
54
+ transactionId?: string;
55
+ subscriberOrId: string | Function;
56
+ }, sharedContext?: Context): any;
57
+ }
58
+ export {};
59
+ //# sourceMappingURL=service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/workflows-sdk/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AACrD,OAAO,EAAE,cAAc,E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AU,EAAE,QAAQ,CAAA;QACpB,YAAY,CAAC,EAAE,MAAM,CAAA;KACtB,EACD,aAAa,CAAC,EAAE,OAAO,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,WAAW,CACT,IAAI,EAAE;QACJ,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,CAAC,EAAE,MAAM,CAAA;QACtB,cAAc,EAAE,MAAM,GAAG,QAAQ,CAAA;KAClC,EACD,aAAa,CAAC,EAAE,OAAO,OACxB;CACF"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/workflows-sdk/service.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240531090655",
3
+ "version": "1.12.0-snapshot-20240531091659",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",