@medusajs/types 1.12.0-snapshot-20240403102614 → 1.12.0-snapshot-20240405070935

Sign up to get free protection for your applications and to get access to all the features.
@@ -384,7 +384,7 @@ export interface FilterablePaymentProviderProps extends BaseFilterable<PaymentPr
384
384
  /**
385
385
  * The IDs to filter the payment collection by.
386
386
  */
387
- id?: string | string[];
387
+ id?: string | string[] | OperatorMap<string | string[]>;
388
388
  /**
389
389
  * Filter by enabled status
390
390
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/payment/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG1C;;;;GAIG;AACH,oBAAY,uBAAuB;IACjC;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,QAAQ,aAAa;IAErB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,oBAAoB,yBAAyB;IAE7C;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;;;GAIG;AACH,oBAAY,oBAAoB;IAC9B;;OAEG;IACH,UAAU,eAAe;IACzB;;OAEG;IACH,OAAO,YAAY;IACnB;;OAEG;IACH,aAAa,kBAAkB;IAC/B;;OAEG;IACH,KAAK,UAAU;IACf;;OAEG;IACH,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;OAEG;IAC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,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,OAAO,EAAE,UAAU,CAAA;CACpB;AAGD,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAA;IAErB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE7B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAEjC;;OAEG;IACH,MAAM,EAAE,oBAAoB,CAAA;IAE5B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,CAAA;IAEpB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,oBAAoB,CAAA;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,8BACf,SAAQ,cAAc,CAAC,kBAAkB,CAAC;IAC1C;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEvD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
@@ -63,7 +63,7 @@ export interface FilterableRegionProps extends BaseFilterable<FilterableRegionPr
63
63
  /**
64
64
  * The IDs to filter the regions by.
65
65
  */
66
- id?: string[] | string;
66
+ id?: string[] | string | OperatorMap<string | string[]>;
67
67
  /**
68
68
  * Filter regions by their name.
69
69
  */
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/region/common.ts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CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAA;CACjC"}
@@ -3,7 +3,7 @@ import { RestoreReturn, SoftDeleteReturn } from "../dal";
3
3
  import { IModuleService } from "../modules-sdk";
4
4
  import { Context } from "../shared-context";
5
5
  import { FilterableRegionCountryProps, FilterableRegionProps, RegionCountryDTO, RegionDTO } from "./common";
6
- import { CreateRegionDTO, UpsertRegionDTO, UpdateRegionDTO } from "./mutations";
6
+ import { CreateRegionDTO, UpdateRegionDTO, UpsertRegionDTO } from "./mutations";
7
7
  /**
8
8
  * The main service interface for the region module.
9
9
  */
@@ -4,5 +4,6 @@ export * as ProductWorkflow from "./product";
4
4
  export * as InventoryWorkflow from "./inventory";
5
5
  export * as PriceListWorkflow from "./price-list";
6
6
  export * as UserWorkflow from "./user";
7
+ export * as RegionWorkflow from "./region";
7
8
  export * as InviteWorkflow from "./invite";
8
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,eAAe,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,iBAAiB,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,YAAY,MAAM,QAAQ,CAAA;AACtC,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA"}
@@ -23,12 +23,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.InviteWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
26
+ exports.InviteWorkflow = exports.RegionWorkflow = exports.UserWorkflow = exports.PriceListWorkflow = exports.InventoryWorkflow = exports.ProductWorkflow = exports.CommonWorkflow = exports.CartWorkflow = void 0;
27
27
  exports.CartWorkflow = __importStar(require("./cart"));
28
28
  exports.CommonWorkflow = __importStar(require("./common"));
29
29
  exports.ProductWorkflow = __importStar(require("./product"));
30
30
  exports.InventoryWorkflow = __importStar(require("./inventory"));
31
31
  exports.PriceListWorkflow = __importStar(require("./price-list"));
32
32
  exports.UserWorkflow = __importStar(require("./user"));
33
+ exports.RegionWorkflow = __importStar(require("./region"));
33
34
  exports.InviteWorkflow = __importStar(require("./invite"));
34
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/workflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAsC;AACtC,2DAA0C;AAC1C,6DAA4C;AAC5C,iEAAgD;AAChD,kEAAiD;AACjD,uDAAsC;AACtC,2DAA0C;AAC1C,2DAA0C"}
@@ -0,0 +1,8 @@
1
+ import { CreateRegionDTO, RegionDTO } from "../../region";
2
+ export interface CreateRegionsWorkflowInput {
3
+ regions: (CreateRegionDTO & {
4
+ payment_providers?: string[];
5
+ })[];
6
+ }
7
+ export type CreateRegionsWorkflowOutput = RegionDTO[];
8
+ //# sourceMappingURL=create-regions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-regions.d.ts","sourceRoot":"","sources":["../../../src/workflow/region/create-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAEzD,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,CAAC,eAAe,GAAG;QAC1B,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;KAC7B,CAAC,EAAE,CAAA;CACL;AAED,MAAM,MAAM,2BAA2B,GAAG,SAAS,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=create-regions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-regions.js","sourceRoot":"","sources":["../../../src/workflow/region/create-regions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export * from "./update-regions";
2
+ export * from "./create-regions";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/workflow/region/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA"}
@@ -0,0 +1,19 @@
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("./update-regions"), exports);
18
+ __exportStar(require("./create-regions"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/workflow/region/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,mDAAgC"}
@@ -0,0 +1,9 @@
1
+ import { FilterableRegionProps, RegionDTO, UpdateRegionDTO } from "../../region";
2
+ export interface UpdateRegionsWorkflowInput {
3
+ selector: FilterableRegionProps;
4
+ update: UpdateRegionDTO & {
5
+ payment_providers?: string[];
6
+ };
7
+ }
8
+ export type UpdateRegionsWorkflowOutput = RegionDTO[];
9
+ //# sourceMappingURL=update-regions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-regions.d.ts","sourceRoot":"","sources":["../../../src/workflow/region/update-regions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEhF,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,MAAM,EAAE,eAAe,GAAG;QACxB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAA;KAC7B,CAAA;CACF;AAED,MAAM,MAAM,2BAA2B,GAAG,SAAS,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=update-regions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-regions.js","sourceRoot":"","sources":["../../../src/workflow/region/update-regions.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "1.12.0-snapshot-20240403102614",
3
+ "version": "1.12.0-snapshot-20240405070935",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",