@sgftech/medusa-plugin-marketplace-v2 0.2.105 → 0.2.106

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.
@@ -3,8 +3,10 @@ import { StoreGetProductsProductParams as MedusaStoreGetProductsProductParams }
3
3
  export declare class StoreGetProductsParams extends MedusaStoreGetProductsParams {
4
4
  shipping_options?: string[];
5
5
  language?: string;
6
+ owner_store_id?: string;
6
7
  }
7
8
  export declare class StoreGetProductsProductParams extends MedusaStoreGetProductsProductParams {
8
9
  shipping_options?: string[];
9
10
  language?: string;
11
+ owner_store_id?: string;
10
12
  }
@@ -29,6 +29,11 @@ __decorate([
29
29
  (0, class_validator_1.IsOptional)(),
30
30
  __metadata("design:type", String)
31
31
  ], StoreGetProductsParams.prototype, "language", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
36
+ ], StoreGetProductsParams.prototype, "owner_store_id", void 0);
32
37
  exports.StoreGetProductsParams = StoreGetProductsParams;
33
38
  class StoreGetProductsProductParams extends get_product_1.StoreGetProductsProductParams {
34
39
  }
@@ -44,5 +49,10 @@ __decorate([
44
49
  (0, class_validator_1.IsOptional)(),
45
50
  __metadata("design:type", String)
46
51
  ], StoreGetProductsProductParams.prototype, "language", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsString)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", String)
56
+ ], StoreGetProductsProductParams.prototype, "owner_store_id", void 0);
47
57
  exports.StoreGetProductsProductParams = StoreGetProductsProductParams;
48
58
  //# sourceMappingURL=get-products-req.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-products-req.js","sourceRoot":"","sources":["../../../../src/api/validators/store/get-products-req.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4BAA4B;AAC5B,iGAAuI;AACvI,6FAAmJ;AACnJ,qDAA2E;AAE3E,MAAa,sBAAuB,SAAQ,sCAA4B;CASvE;AARG;IAAC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,4BAAU,GAAE;;gEACe;AAC5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAA,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;;wDACK;AARtB,wDASC;AAED,MAAa,6BAA8B,SAAQ,2CAAmC;CASrF;AARG;IAAC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,4BAAU,GAAE;;uEACe;AAC5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAA,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;;+DACK;AARtB,sEASC"}
1
+ {"version":3,"file":"get-products-req.js","sourceRoot":"","sources":["../../../../src/api/validators/store/get-products-req.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,4BAA4B;AAC5B,iGAAuI;AACvI,6FAAmJ;AACnJ,qDAA2E;AAE3E,MAAa,sBAAuB,SAAQ,sCAA4B;CAYvE;AAXG;IAAC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,4BAAU,GAAE;;gEACe;AAC5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAA,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;;wDACK;AAClB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8DACW;AAX5B,wDAYC;AAED,MAAa,6BAA8B,SAAQ,2CAAmC;CAYrF;AAXG;IAAC,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,8BAAY,EAAC,EAAE,CAAC;IAChB,IAAA,4BAAU,GAAE;;uEACe;AAC5B;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,MAAA,MAAA,OAAO,CAAC,GAAG,CAAC,mBAAmB,0CAAE,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC;IACvD,IAAA,4BAAU,GAAE;;+DACK;AAClB;IAAC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACW;AAX5B,sEAYC"}
@@ -34,8 +34,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
34
34
  Object.defineProperty(exports, "__esModule", { value: true });
35
35
  function default_1() {
36
36
  return __awaiter(this, void 0, void 0, function* () {
37
- const adminImport = (yield Promise.resolve().then(() => __importStar(require('@medusajs/medusa/dist/api/routes/admin/shipping-options'))));
38
- adminImport.shippingOptionsDefaultFields = [...adminImport.shippingOptionsDefaultFields, 'store_id'];
37
+ const adminImport = (yield Promise.resolve().then(() => __importStar(require("@medusajs/medusa/dist/api/routes/admin/shipping-options"))));
38
+ adminImport.shippingOptionsDefaultFields = [
39
+ ...adminImport.shippingOptionsDefaultFields,
40
+ "store_id"
41
+ ];
39
42
  });
40
43
  }
41
44
  exports.default = default_1;
@@ -1 +1 @@
1
- {"version":3,"file":"extend-shipping-options-config.js","sourceRoot":"","sources":["../../src/loaders/extend-shipping-options-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;QACC,MAAM,WAAW,GAAG,CAAC,wDAAa,yDAAyD,GAAC,CAAQ,CAAC;QAErG,WAAW,CAAC,4BAA4B,GAAG,CAAC,GAAG,WAAW,CAAC,4BAA4B,EAAE,UAAU,CAAC,CAAC;IACtG,CAAC;CAAA;AAJD,4BAIC"}
1
+ {"version":3,"file":"extend-shipping-options-config.js","sourceRoot":"","sources":["../../src/loaders/extend-shipping-options-config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;QACI,MAAM,WAAW,GAAG,CAAC,wDACjB,yDAAyD,GAC5D,CAAQ,CAAC;QAEV,WAAW,CAAC,4BAA4B,GAAG;YACvC,GAAG,WAAW,CAAC,4BAA4B;YAC3C,UAAU;SACb,CAAC;IACN,CAAC;CAAA;AATD,4BASC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sgftech/medusa-plugin-marketplace-v2",
3
- "version": "0.2.105",
3
+ "version": "0.2.106",
4
4
  "description": "A plugin to initiate marketplace",
5
5
  "author": "Govind Diwakar",
6
6
  "license": "MIT",