@medusajs/types 2.0.0-rc-20241014170024 → 2.0.0-rc-20241015170251

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,21 +43,6 @@ export interface AdminOptions {
43
43
  * ```
44
44
  */
45
45
  path: `/${string}`;
46
- /**
47
- * The directory where the admin build is outputted when you run the `build` command.
48
- * The default value is `./build`.
49
- *
50
- * @example
51
- * ```js title="medusa-config.js"
52
- * module.exports = defineConfig({
53
- * admin: {
54
- * outDir: process.env.ADMIN_BUILD_DIR || `./build`,
55
- * },
56
- * // ...
57
- * })
58
- * ```
59
- */
60
- outDir: string;
61
46
  /**
62
47
  * The URL of your Medusa application. This is useful to set when you deploy the Medusa application.
63
48
  *
@@ -1 +1 @@
1
- {"version":3,"file":"config-module.d.ts","sourceRoot":"","sources":["../../src/common/config-module.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,gBAAgB,CAAA;AAEvB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAA;AAExC;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI,EAAE,IAAI,MAAM,EAAE,CAAA;IAClB;;;;;;;;;;;;;OAaG;IACH,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;;;;;OAaG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;CAC9C;AAED;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,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;
9
+ promo_codes?: string[];
9
10
  metadata?: Record<string, unknown>;
10
11
  }
11
12
  export interface StoreUpdateCart {
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/cart/store/payloads.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,eAAe,CAAA;IAClC,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,oBAAoB,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,eAAe,GAAG,MAAM,CAAA;IAC3C,eAAe,CAAC,EAAE,eAAe,GAAG,MAAM,CAAA;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,MAAM,CAAA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AY,CAAC,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAA;CAC1C"}
@@ -2,6 +2,7 @@ import { JoinerRelationship, JoinerServiceConfig } from "../joiner";
2
2
  import { MedusaContainer } from "../common";
3
3
  import { RepositoryService } from "../dal";
4
4
  import { Logger } from "../logger";
5
+ import { ModuleProviderExports } from "./module-provider";
5
6
  import { RemoteQueryGraph, RemoteQueryInput, RemoteQueryObjectConfig, RemoteQueryObjectFromStringResult } from "./remote-query-object-from-string";
6
7
  export { RemoteQueryGraph, RemoteQueryInput, RemoteQueryObjectConfig, RemoteQueryObjectFromStringResult, };
7
8
  export type Constructor<T> = new (...args: any[]) => T | (new () => T);
@@ -11,7 +12,6 @@ export * from "./module-provider";
11
12
  export * from "./remote-query";
12
13
  export * from "./remote-query-entry-points";
13
14
  export * from "./to-remote-query";
14
- export * from "./query-filter";
15
15
  export type LogLevel = "query" | "schema" | "error" | "warn" | "info" | "log" | "migration";
16
16
  export type LoggerOptions = boolean | "all" | LogLevel[];
17
17
  export type CustomModuleDefinition = {
@@ -61,7 +61,7 @@ export type ModuleResolution = {
61
61
  options?: Record<string, unknown>;
62
62
  dependencies?: string[];
63
63
  moduleDeclaration?: InternalModuleDeclaration | ExternalModuleDeclaration;
64
- moduleExports?: ModuleExports;
64
+ moduleExports?: ModuleExports | ModuleProviderExports;
65
65
  };
66
66
  export type ModuleDefinition = {
67
67
  key: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAA;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,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AAM,CAAA;QACb,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;YACxC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;SACrC,CAAA;QACD,KAAK,CAAC,EAAE,OAAO,CAAA;QACf,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAC/B,CAAA;CACF;AAED,MAAM,MAAM,6CAA6C,GAAG;IAC1D,OAAO,CAAC,EAAE,GAAG,CAAA;IACb,YAAY,CAAC,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAC,iBAAiB,CAAC,CAAA;KAC9C,CAAA;CACF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAClC,yBAAyB,GACzB,yBAAyB,CAAA;AAK7B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,cAAc,CAAC,IAAI,kBAAkB,CAAA;IAErC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR,kBAAkB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QACxC,qBAAqB,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;QAC3C,4BAA4B,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;KACnD,CAAA;CACF"}
@@ -20,5 +20,4 @@ __exportStar(require("./module-provider"), exports);
20
20
  __exportStar(require("./remote-query"), exports);
21
21
  __exportStar(require("./remote-query-entry-points"), exports);
22
22
  __exportStar(require("./to-remote-query"), exports);
23
- __exportStar(require("./query-filter"), exports);
24
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAqBA,6DAA0C;AAC1C,4DAAyC;AACzC,oDAAiC;AACjC,iDAA8B;AAC9B,8DAA2C;AAC3C,oDAAiC;AACjC,iDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules-sdk/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAsBA,6DAA0C;AAC1C,4DAAyC;AACzC,oDAAiC;AACjC,iDAA8B;AAC9B,8DAA2C;AAC3C,oDAAiC"}
@@ -1,9 +1,27 @@
1
- import { Constructor } from "./index";
2
- export type ModuleProviderExports = {
3
- services: Constructor<any>[];
1
+ import { Logger } from "../logger";
2
+ import { Constructor, InternalModuleDeclaration, MedusaContainer } from "./index";
3
+ export type ProviderLoaderOptions<TOptions = Record<string, unknown>> = {
4
+ container: MedusaContainer;
5
+ options?: TOptions;
6
+ logger?: Logger;
7
+ moduleOptions: Record<string, unknown>;
4
8
  };
9
+ export type ModuleProviderExports<Service = any> = {
10
+ module?: string;
11
+ services: Constructor<Service>[];
12
+ loaders?: ModuleProviderLoaderFunction[];
13
+ runMigrations?(options: ProviderLoaderOptions<Service>, moduleDeclaration?: any): Promise<void>;
14
+ revertMigration?(options: ProviderLoaderOptions<Service>, moduleDeclaration?: any): Promise<void>;
15
+ generateMigration?(options: ProviderLoaderOptions<Service>, moduleDeclaration?: any): Promise<void>;
16
+ /**
17
+ * Explicitly set the the true location of the module resources.
18
+ * Can be used to re-export the module from a different location and specify its original location.
19
+ */
20
+ discoveryPath?: string;
21
+ };
22
+ export type ModuleProviderLoaderFunction = (options: ProviderLoaderOptions, moduleDeclaration?: InternalModuleDeclaration) => Promise<void>;
5
23
  export type ModuleProvider = {
6
- resolve: string | ModuleProviderExports;
24
+ resolve: string | ModuleProviderExports<any>;
7
25
  id: string;
8
26
  options?: Record<string, unknown>;
9
27
  is_default?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"module-provider.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/module-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,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,CAAC,IAAI,CAAC,CAAA;IAChB,iBAAiB,CAAC,CAChB,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC,EACvC,iBAAiB,CAAC,EAAE,GAAG,GACtB,OAAO,CAAC,IAAI,CAAC,CAAA;IAChB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,CACzC,OAAO,EAAE,qBAAqB,EAC9B,iBAAiB,CAAC,EAAE,yBAAyB,KAC1C,OAAO,CAAC,IAAI,CAAC,CAAA;AAElB,MAAM,MAAM,cAAc,GAAG;IAC3B,OAAO,EAAE,MAAM,GAAG,qBAAqB,CAAC,GAAG,CAAC,CAAA;IAC5C,EAAE,EAAE,MAAM,CAAA;IACV,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA"}
@@ -1 +1 @@
1
- {"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/sotrage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/query-filter.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
1
+ {"root":["../src/bundles.ts","../src/index.ts","../src/shared-context.ts","../src/address/common.ts","../src/address/index.ts","../src/admin/extensions.ts","../src/admin/index.ts","../src/api-key/index.ts","../src/api-key/service.ts","../src/api-key/common/api-key.ts","../src/api-key/common/index.ts","../src/api-key/mutations/api-key.ts","../src/api-key/mutations/index.ts","../src/auth/index.ts","../src/auth/provider.ts","../src/auth/service.ts","../src/auth/common/auth-identity.ts","../src/auth/common/index.ts","../src/auth/common/provider.ts","../src/auth/providers/emailpass.ts","../src/auth/providers/github.ts","../src/auth/providers/google.ts","../src/auth/providers/index.ts","../src/cache/index.ts","../src/cache/service.ts","../src/cart/common.ts","../src/cart/index.ts","../src/cart/mutations.ts","../src/cart/service.ts","../src/cart/workflows.ts","../src/common/batch.ts","../src/common/camel-case.ts","../src/common/common.ts","../src/common/config-module.ts","../src/common/index.ts","../src/common/medusa-cli.ts","../src/common/medusa-container.ts","../src/common/rule.ts","../src/common/with-calculated.ts","../src/currency/index.ts","../src/currency/service.ts","../src/currency/common/currency.ts","../src/currency/common/index.ts","../src/customer/common.ts","../src/customer/index.ts","../src/customer/mutations.ts","../src/customer/service.ts","../src/dal/entity.ts","../src/dal/index.ts","../src/dal/repository-service.ts","../src/dal/utils.ts","../src/dml/index.ts","../src/event-bus/common.ts","../src/event-bus/event-bus-module.ts","../src/event-bus/event-bus.ts","../src/event-bus/index.ts","../src/feature-flag/common.ts","../src/feature-flag/index.ts","../src/file/common.ts","../src/file/index.ts","../src/file/mutations.ts","../src/file/provider.ts","../src/file/service.ts","../src/file/providers/index.ts","../src/file/providers/local.ts","../src/file/providers/s3.ts","../src/file-service/index.ts","../src/fulfillment/index.ts","../src/fulfillment/provider.ts","../src/fulfillment/service.ts","../src/fulfillment/workflows.ts","../src/fulfillment/common/address.ts","../src/fulfillment/common/fulfillment-item.ts","../src/fulfillment/common/fulfillment-label.ts","../src/fulfillment/common/fulfillment-provider.ts","../src/fulfillment/common/fulfillment-set.ts","../src/fulfillment/common/fulfillment.ts","../src/fulfillment/common/geo-zone.ts","../src/fulfillment/common/index.ts","../src/fulfillment/common/service-zone.ts","../src/fulfillment/common/shipping-option-rule.ts","../src/fulfillment/common/shipping-option-type.ts","../src/fulfillment/common/shipping-option.ts","../src/fulfillment/common/shipping-profile.ts","../src/fulfillment/mutations/fulfillment-address.ts","../src/fulfillment/mutations/fulfillment-item.ts","../src/fulfillment/mutations/fulfillment-label.ts","../src/fulfillment/mutations/fulfillment-set.ts","../src/fulfillment/mutations/fulfillment.ts","../src/fulfillment/mutations/geo-zone.ts","../src/fulfillment/mutations/index.ts","../src/fulfillment/mutations/service-zone.ts","../src/fulfillment/mutations/shipping-option-rule.ts","../src/fulfillment/mutations/shipping-option-type.ts","../src/fulfillment/mutations/shipping-option.ts","../src/fulfillment/mutations/shipping-profile.ts","../src/http/index.ts","../src/http/address/entities.ts","../src/http/address/index.ts","../src/http/api-key/index.ts","../src/http/api-key/admin/index.ts","../src/http/api-key/admin/payloads.ts","../src/http/api-key/admin/queries.ts","../src/http/api-key/admin/responses.ts","../src/http/auth/index.ts","../src/http/auth/payloads.ts","../src/http/campaign/index.ts","../src/http/campaign/admin/index.ts","../src/http/campaign/admin/payloads.ts","../src/http/campaign/admin/queries.ts","../src/http/campaign/admin/responses.ts","../src/http/cart/common.ts","../src/http/cart/index.ts","../src/http/cart/store/entities.ts","../src/http/cart/store/index.ts","../src/http/cart/store/payloads.ts","../src/http/cart/store/responses.ts","../src/http/claim/common.ts","../src/http/claim/index.ts","../src/http/claim/admin/entities.ts","../src/http/claim/admin/index.ts","../src/http/claim/admin/payloads.ts","../src/http/claim/admin/queries.ts","../src/http/claim/admin/responses.ts","../src/http/collection/common.ts","../src/http/collection/index.ts","../src/http/collection/admin/entities.ts","../src/http/collection/admin/index.ts","../src/http/collection/admin/payloads.ts","../src/http/collection/admin/queries.ts","../src/http/collection/admin/responses.ts","../src/http/collection/store/entities.ts","../src/http/collection/store/index.ts","../src/http/collection/store/queries.ts","../src/http/collection/store/responses.ts","../src/http/common/additional_data.ts","../src/http/common/index.ts","../src/http/common/request.ts","../src/http/common/response.ts","../src/http/currency/common.ts","../src/http/currency/index.ts","../src/http/currency/admin/entities.ts","../src/http/currency/admin/index.ts","../src/http/currency/admin/queries.ts","../src/http/currency/admin/responses.ts","../src/http/currency/store/entities.ts","../src/http/currency/store/index.ts","../src/http/currency/store/queries.ts","../src/http/currency/store/responses.ts","../src/http/customer/common.ts","../src/http/customer/index.ts","../src/http/customer/admin/entities.ts","../src/http/customer/admin/index.ts","../src/http/customer/admin/payloads.ts","../src/http/customer/admin/queries.ts","../src/http/customer/admin/responses.ts","../src/http/customer/store/entities.ts","../src/http/customer/store/index.ts","../src/http/customer/store/payloads.ts","../src/http/customer/store/queries.ts","../src/http/customer/store/responses.ts","../src/http/customer-group/common.ts","../src/http/customer-group/index.ts","../src/http/customer-group/admin/entities.ts","../src/http/customer-group/admin/index.ts","../src/http/customer-group/admin/payloads.ts","../src/http/customer-group/admin/queries.ts","../src/http/customer-group/admin/responses.ts","../src/http/exchange/common.ts","../src/http/exchange/index.ts","../src/http/exchange/admin/entities.ts","../src/http/exchange/admin/index.ts","../src/http/exchange/admin/payloads.ts","../src/http/exchange/admin/queries.ts","../src/http/exchange/admin/responses.ts","../src/http/file/common.ts","../src/http/file/index.ts","../src/http/file/store.ts","../src/http/file/admin/entities.ts","../src/http/file/admin/index.ts","../src/http/file/admin/payloads.ts","../src/http/file/admin/responses.ts","../src/http/fulfillment/index.ts","../src/http/fulfillment/admin/entitites.ts","../src/http/fulfillment/admin/index.ts","../src/http/fulfillment/admin/payloads.ts","../src/http/fulfillment/admin/queries.ts","../src/http/fulfillment/admin/responses.ts","../src/http/fulfillment/store/index.ts","../src/http/fulfillment-provider/common.ts","../src/http/fulfillment-provider/index.ts","../src/http/fulfillment-provider/admin/entities.ts","../src/http/fulfillment-provider/admin/index.ts","../src/http/fulfillment-provider/admin/queries.ts","../src/http/fulfillment-provider/admin/responses.ts","../src/http/fulfillment-set/index.ts","../src/http/fulfillment-set/admin/entities.ts","../src/http/fulfillment-set/admin/index.ts","../src/http/fulfillment-set/admin/payloads.ts","../src/http/fulfillment-set/admin/queries.ts","../src/http/fulfillment-set/admin/responses.ts","../src/http/inventory/index.ts","../src/http/inventory/admin/entities.ts","../src/http/inventory/admin/index.ts","../src/http/inventory/admin/payloads.ts","../src/http/inventory/admin/queries.ts","../src/http/inventory/admin/responses.ts","../src/http/inventory-level/index.ts","../src/http/inventory-level/admin/entities.ts","../src/http/inventory-level/admin/index.ts","../src/http/inventory-level/admin/payloads.ts","../src/http/inventory-level/admin/queries.ts","../src/http/inventory-level/admin/responses.ts","../src/http/invite/index.ts","../src/http/invite/admin/entities.ts","../src/http/invite/admin/index.ts","../src/http/invite/admin/payloads.ts","../src/http/invite/admin/queries.ts","../src/http/invite/admin/responses.ts","../src/http/notification/index.ts","../src/http/notification/admin/entities.ts","../src/http/notification/admin/index.ts","../src/http/notification/admin/queries.ts","../src/http/notification/admin/responses.ts","../src/http/order/common.ts","../src/http/order/index.ts","../src/http/order/admin/entities.ts","../src/http/order/admin/index.ts","../src/http/order/admin/payload.ts","../src/http/order/admin/queries.ts","../src/http/order/admin/responses.ts","../src/http/order/store/entities.ts","../src/http/order/store/index.ts","../src/http/order/store/queries.ts","../src/http/order/store/responses.ts","../src/http/order-edit/common.ts","../src/http/order-edit/index.ts","../src/http/order-edit/admin/index.ts","../src/http/order-edit/admin/payloads.ts","../src/http/order-edit/admin/responses.ts","../src/http/payment/common.ts","../src/http/payment/index.ts","../src/http/payment/admin/entities.ts","../src/http/payment/admin/index.ts","../src/http/payment/admin/payloads.ts","../src/http/payment/admin/queries.ts","../src/http/payment/admin/responses.ts","../src/http/payment/store/entities.ts","../src/http/payment/store/index.ts","../src/http/payment/store/payloads.ts","../src/http/payment/store/queries.ts","../src/http/payment/store/responses.ts","../src/http/price-list/index.ts","../src/http/price-list/admin/entities.ts","../src/http/price-list/admin/index.ts","../src/http/price-list/admin/payloads.ts","../src/http/price-list/admin/queries.ts","../src/http/price-list/admin/responses.ts","../src/http/pricing/common.ts","../src/http/pricing/index.ts","../src/http/pricing/admin/entities.ts","../src/http/pricing/admin/index.ts","../src/http/pricing/admin/payloads.ts","../src/http/pricing/admin/queries.ts","../src/http/pricing/admin/responses.ts","../src/http/product/common.ts","../src/http/product/index.ts","../src/http/product/admin/entitites.ts","../src/http/product/admin/index.ts","../src/http/product/admin/payloads.ts","../src/http/product/admin/queries.ts","../src/http/product/admin/responses.ts","../src/http/product/store/entitites.ts","../src/http/product/store/index.ts","../src/http/product/store/queries.ts","../src/http/product/store/responses.ts","../src/http/product-category/common.ts","../src/http/product-category/index.ts","../src/http/product-category/admin/entities.ts","../src/http/product-category/admin/index.ts","../src/http/product-category/admin/payloads.ts","../src/http/product-category/admin/queries.ts","../src/http/product-category/admin/responses.ts","../src/http/product-category/store/entities.ts","../src/http/product-category/store/index.ts","../src/http/product-category/store/queries.ts","../src/http/product-category/store/responses.ts","../src/http/product-tag/common.ts","../src/http/product-tag/index.ts","../src/http/product-tag/admin/entities.ts","../src/http/product-tag/admin/index.ts","../src/http/product-tag/admin/payloads.ts","../src/http/product-tag/admin/queries.ts","../src/http/product-tag/admin/responses.ts","../src/http/product-tag/store/entities.ts","../src/http/product-tag/store/index.ts","../src/http/product-tag/store/queries.ts","../src/http/product-type/common.ts","../src/http/product-type/index.ts","../src/http/product-type/admin/entities.ts","../src/http/product-type/admin/index.ts","../src/http/product-type/admin/payloads.ts","../src/http/product-type/admin/queries.ts","../src/http/product-type/admin/responses.ts","../src/http/product-type/store/entities.ts","../src/http/product-type/store/index.ts","../src/http/promotion/common.ts","../src/http/promotion/index.ts","../src/http/promotion/store.ts","../src/http/promotion/admin/entities.ts","../src/http/promotion/admin/index.ts","../src/http/promotion/admin/payloads.ts","../src/http/promotion/admin/queries.ts","../src/http/promotion/admin/responses.ts","../src/http/region/common.ts","../src/http/region/index.ts","../src/http/region/admin/entities.ts","../src/http/region/admin/index.ts","../src/http/region/admin/payloads.ts","../src/http/region/admin/queries.ts","../src/http/region/admin/responses.ts","../src/http/region/store/entities.ts","../src/http/region/store/index.ts","../src/http/region/store/queries.ts","../src/http/region/store/responses.ts","../src/http/reservation/index.ts","../src/http/reservation/admin/entities.ts","../src/http/reservation/admin/index.ts","../src/http/reservation/admin/payloads.ts","../src/http/reservation/admin/queries.ts","../src/http/reservation/admin/responses.ts","../src/http/return/common.ts","../src/http/return/index.ts","../src/http/return/admin/entities.ts","../src/http/return/admin/index.ts","../src/http/return/admin/payloads.ts","../src/http/return/admin/queries.ts","../src/http/return/admin/responses.ts","../src/http/return/store/entities.ts","../src/http/return/store/index.ts","../src/http/return/store/payloads.ts","../src/http/return/store/responses.ts","../src/http/return-reason/common.ts","../src/http/return-reason/index.ts","../src/http/return-reason/admin/entities.ts","../src/http/return-reason/admin/index.ts","../src/http/return-reason/admin/payloads.ts","../src/http/return-reason/admin/queries.ts","../src/http/return-reason/admin/responses.ts","../src/http/return-reason/store/entities.ts","../src/http/return-reason/store/index.ts","../src/http/return-reason/store/responses.ts","../src/http/sales-channel/index.ts","../src/http/sales-channel/admin/entities.ts","../src/http/sales-channel/admin/index.ts","../src/http/sales-channel/admin/payloads.ts","../src/http/sales-channel/admin/queries.ts","../src/http/sales-channel/admin/responses.ts","../src/http/shipping-option/index.ts","../src/http/shipping-option/admin/entities.ts","../src/http/shipping-option/admin/index.ts","../src/http/shipping-option/admin/payloads.ts","../src/http/shipping-option/admin/queries.ts","../src/http/shipping-option/admin/responses.ts","../src/http/shipping-option/store/entities.ts","../src/http/shipping-option/store/index.ts","../src/http/shipping-option/store/queries.ts","../src/http/shipping-option/store/responses.ts","../src/http/shipping-profile/index.ts","../src/http/shipping-profile/admin/entities.ts","../src/http/shipping-profile/admin/index.ts","../src/http/shipping-profile/admin/payloads.ts","../src/http/shipping-profile/admin/queries.ts","../src/http/shipping-profile/admin/responses.ts","../src/http/stock-locations/index.ts","../src/http/stock-locations/admin/entities.ts","../src/http/stock-locations/admin/index.ts","../src/http/stock-locations/admin/payloads.ts","../src/http/stock-locations/admin/queries.ts","../src/http/stock-locations/admin/responses.ts","../src/http/store/index.ts","../src/http/store/admin/entities.ts","../src/http/store/admin/index.ts","../src/http/store/admin/payloads.ts","../src/http/store/admin/queries.ts","../src/http/store/admin/responses.ts","../src/http/tax-rate/index.ts","../src/http/tax-rate/admin/entities.ts","../src/http/tax-rate/admin/index.ts","../src/http/tax-rate/admin/payloads.ts","../src/http/tax-rate/admin/queries.ts","../src/http/tax-rate/admin/responses.ts","../src/http/tax-region/index.ts","../src/http/tax-region/admin/entities.ts","../src/http/tax-region/admin/index.ts","../src/http/tax-region/admin/payloads.ts","../src/http/tax-region/admin/queries.ts","../src/http/tax-region/admin/responses.ts","../src/http/user/index.ts","../src/http/user/admin/entities.ts","../src/http/user/admin/index.ts","../src/http/user/admin/payloads.ts","../src/http/user/admin/queries.ts","../src/http/user/admin/responses.ts","../src/http/workflow-execution/index.ts","../src/http/workflow-execution/admin/entities.ts","../src/http/workflow-execution/admin/index.ts","../src/http/workflow-execution/admin/queries.ts","../src/http/workflow-execution/admin/responses.ts","../src/index-data/common.ts","../src/index-data/index-operator-map.ts","../src/index-data/index-service-entry-points.ts","../src/index-data/index.ts","../src/index-data/service.ts","../src/index-data/sotrage-provider.ts","../src/index-data/__fixtures__/index-service-entry-points.ts","../src/index-data/__tests__/index.spec.ts","../src/index-data/query-config/common.ts","../src/index-data/query-config/index.ts","../src/index-data/query-config/query-input-config-fields.ts","../src/index-data/query-config/query-input-config-filters.ts","../src/index-data/query-config/query-input-config-order-by.ts","../src/index-data/query-config/query-input-config.ts","../src/inventory/index.ts","../src/inventory/service.ts","../src/inventory/common/index.ts","../src/inventory/common/inventory-item.ts","../src/inventory/common/inventory-level.ts","../src/inventory/common/reservation-item.ts","../src/inventory/mutations/index.ts","../src/inventory/mutations/inventory-item.ts","../src/inventory/mutations/inventory-level.ts","../src/inventory/mutations/reservation-item.ts","../src/joiner/index.ts","../src/link-modules/index.ts","../src/link-modules/migrations.ts","../src/link-modules/service.ts","../src/locking/index.ts","../src/logger/index.ts","../src/modules-sdk/index.ts","../src/modules-sdk/medusa-internal-service.ts","../src/modules-sdk/module-provider.ts","../src/modules-sdk/object-to-remote-query-fields.ts","../src/modules-sdk/remote-query-entry-points.ts","../src/modules-sdk/remote-query-object-from-string.ts","../src/modules-sdk/remote-query.ts","../src/modules-sdk/to-remote-query.ts","../src/modules-sdk/__fixtures__/remote-query.ts","../src/modules-sdk/__tests__/object-to-remote-query-fields.spec.ts","../src/modules-sdk/__tests__/query.spec.ts","../src/modules-sdk/__tests__/remote-query.spec.ts","../src/notification/common.ts","../src/notification/index.ts","../src/notification/mutations.ts","../src/notification/provider.ts","../src/notification/service.ts","../src/notification/providers/index.ts","../src/notification/providers/logger.ts","../src/notification/providers/sendgrid.ts","../src/order/common.ts","../src/order/index.ts","../src/order/mutations.ts","../src/order/service.ts","../src/order/workflows.ts","../src/payment/common.ts","../src/payment/index.ts","../src/payment/mutations.ts","../src/payment/provider.ts","../src/payment/service.ts","../src/pricing/index.ts","../src/pricing/service.ts","../src/pricing/workflows.ts","../src/pricing/common/index.ts","../src/pricing/common/money-amount.ts","../src/pricing/common/price-list.ts","../src/pricing/common/price-preference.ts","../src/pricing/common/price-rule.ts","../src/pricing/common/price-set.ts","../src/pricing/common/price.ts","../src/pricing/common/pricing-context.ts","../src/product/common.ts","../src/product/index.ts","../src/product/service.ts","../src/product-category/index.ts","../src/product-category/repository.ts","../src/promotion/http.ts","../src/promotion/index.ts","../src/promotion/mutations.ts","../src/promotion/service.ts","../src/promotion/workflows.ts","../src/promotion/common/application-method.ts","../src/promotion/common/campaign-budget.ts","../src/promotion/common/campaign.ts","../src/promotion/common/compute-actions.ts","../src/promotion/common/index.ts","../src/promotion/common/promotion-rule-value.ts","../src/promotion/common/promotion-rule.ts","../src/promotion/common/promotion.ts","../src/region/common.ts","../src/region/index.ts","../src/region/mutations.ts","../src/region/service.ts","../src/sales-channel/common.ts","../src/sales-channel/index.ts","../src/sales-channel/mutations.ts","../src/sales-channel/service.ts","../src/search/index.ts","../src/search/interface.ts","../src/search/settings.ts","../src/stock-location/common.ts","../src/stock-location/index.ts","../src/stock-location/service.ts","../src/store/index.ts","../src/store/service.ts","../src/store/common/index.ts","../src/store/common/store.ts","../src/store/mutations/index.ts","../src/store/mutations/store.ts","../src/tax/common.ts","../src/tax/index.ts","../src/tax/mutations.ts","../src/tax/provider.ts","../src/tax/service.ts","../src/totals/big-number.ts","../src/totals/index.ts","../src/transaction-base/index.ts","../src/transaction-base/transaction-base.ts","../src/user/common.ts","../src/user/index.ts","../src/user/mutations.ts","../src/user/service.ts","../src/workflow/common.ts","../src/workflow/index.ts","../src/workflow/cart/create-cart.ts","../src/workflow/cart/index.ts","../src/workflow/fulfillment/create-fulfillment.ts","../src/workflow/fulfillment/create-shipment.ts","../src/workflow/fulfillment/create-shipping-options.ts","../src/workflow/fulfillment/delete-shipping-options.ts","../src/workflow/fulfillment/index.ts","../src/workflow/fulfillment/service-zones.ts","../src/workflow/fulfillment/shipping-profiles.ts","../src/workflow/fulfillment/update-fulfillment.ts","../src/workflow/fulfillment/update-shipping-options.ts","../src/workflow/inventory/create-inventory-items.ts","../src/workflow/inventory/index.ts","../src/workflow/invite/accept-invite.ts","../src/workflow/invite/create-invite.ts","../src/workflow/invite/delete-invite.ts","../src/workflow/invite/index.ts","../src/workflow/invite/resend-invite.ts","../src/workflow/order/begin-claim-order.ts","../src/workflow/order/begin-exchange-order.ts","../src/workflow/order/begin-order-edit.ts","../src/workflow/order/begin-return-order.ts","../src/workflow/order/cancel-claim.ts","../src/workflow/order/cancel-exchange.ts","../src/workflow/order/cancel-fulfillment.ts","../src/workflow/order/cancel-order.ts","../src/workflow/order/cancel-return.ts","../src/workflow/order/create-fulfillment.ts","../src/workflow/order/create-return-order.ts","../src/workflow/order/create-shipment.ts","../src/workflow/order/index.ts","../src/workflow/order/items.ts","../src/workflow/order/receive-return.ts","../src/workflow/order/request-item-return.ts","../src/workflow/order/shipping-method.ts","../src/workflow/order/update-return.ts","../src/workflow/price-list/create-price-list.ts","../src/workflow/price-list/index.ts","../src/workflow/price-list/remove-price-list.ts","../src/workflow/pricing/index.ts","../src/workflow/product/create-product-variants.ts","../src/workflow/product/create-products.ts","../src/workflow/product/export-products.ts","../src/workflow/product/import-products.ts","../src/workflow/product/index.ts","../src/workflow/product/update-product-variants.ts","../src/workflow/product/update-products.ts","../src/workflow/product-category/index.ts","../src/workflow/region/create-regions.ts","../src/workflow/region/index.ts","../src/workflow/region/update-regions.ts","../src/workflow/reservation/create-reservations.ts","../src/workflow/reservation/index.ts","../src/workflow/reservation/update-reservations.ts","../src/workflow/store/index.ts","../src/workflow/user/create-user.ts","../src/workflow/user/delete-user.ts","../src/workflow/user/index.ts","../src/workflow/user/update-user.ts","../src/workflows/index.ts","../src/workflows/products/index.ts","../src/workflows/products/mutations.ts","../src/workflows/stock-locations/index.ts","../src/workflows/stock-locations/mutations.ts","../src/workflows-sdk/common.ts","../src/workflows-sdk/index.ts","../src/workflows-sdk/mutations.ts","../src/workflows-sdk/service.ts"],"version":"5.6.2"}
@@ -3,14 +3,16 @@ import { BigNumberInput } from "../../totals";
3
3
  interface NewItem {
4
4
  variant_id: string;
5
5
  quantity: BigNumberInput;
6
- unit_price?: BigNumberInput;
6
+ unit_price?: BigNumberInput | null;
7
+ compare_at_unit_price?: BigNumberInput | null;
7
8
  internal_note?: string | null;
8
9
  metadata?: Record<string, any> | null;
9
10
  }
10
11
  interface ExistingItem {
11
12
  id: string;
12
13
  quantity: BigNumberInput;
13
- unit_price?: BigNumberInput;
14
+ unit_price?: BigNumberInput | null;
15
+ compare_at_unit_price?: BigNumberInput | null;
14
16
  internal_note?: string | null;
15
17
  }
16
18
  export interface OrderExchangeAddNewItemWorkflowInput {
@@ -50,7 +52,8 @@ export interface UpdateOrderEditAddNewItemWorkflowInput {
50
52
  action_id: string;
51
53
  data: {
52
54
  quantity?: BigNumberInput;
53
- unit_price?: BigNumberInput;
55
+ unit_price?: BigNumberInput | null;
56
+ compare_at_unit_price?: BigNumberInput | null;
54
57
  internal_note?: string | null;
55
58
  };
56
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"items.d.ts","sourceRoot":"","sources":["../../../src/workflow/order/items.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,UAAU,OAAO;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;CACtC;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,QAAQ,EAAE,cAAc,CAAA;IACxB,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC9B;AAED,MAAM,WAAW,oCAAoC;IACnD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,iCAAiC;IAChD,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,oCAAoC;IACnD,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,OAAO,EAAE,CAAA;CACjB;AAED,MAAM,WAAW,wCAAwC;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AA;IACjB,IAAI,EAAE;QACJ,QAAQ,CAAC,EAAE,cAAc,CAAA;QACzB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;QACzB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAC9B,CAAA;CACF;AAED,MAAM,WAAW,0CAA0C;IACzD,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,uCAAuC;IACtD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,sCAAsC;IACrD,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.0.0-rc-20241014170024",
3
+ "version": "2.0.0-rc-20241015170251",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,8 +0,0 @@
1
- import { RemoteQueryFilters } from "./to-remote-query";
2
- export type QueryFilterType = {
3
- <TEntry extends string>(query: RemoteQueryFilters<TEntry>): RemoteQueryFilters<TEntry> & {
4
- __type: "QueryFilter";
5
- };
6
- isQueryFilter: (obj: any) => boolean;
7
- };
8
- //# sourceMappingURL=query-filter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query-filter.d.ts","sourceRoot":"","sources":["../../src/modules-sdk/query-filter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,MAAM,eAAe,GAAG;IAC5B,CAAC,MAAM,SAAS,MAAM,EACpB,KAAK,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAChC,kBAAkB,CAAC,MAAM,CAAC,GAAG;QAAE,MAAM,EAAE,aAAa,CAAA;KAAE,CAAA;IAEzD,aAAa,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAA;CACrC,CAAA"}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=query-filter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"query-filter.js","sourceRoot":"","sources":["../../src/modules-sdk/query-filter.ts"],"names":[],"mappings":""}