@cinerino/sdk 3.141.0 → 3.143.0

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.
Files changed (2) hide show
  1. package/lib/bundle.js +25 -15
  2. package/package.json +2 -2
package/lib/bundle.js CHANGED
@@ -8758,21 +8758,6 @@ var OfferCatalogService = /** @class */ (function (_super) {
8758
8758
  });
8759
8759
  });
8760
8760
  };
8761
- OfferCatalogService.prototype.findById = function (params) {
8762
- return __awaiter(this, void 0, void 0, function () {
8763
- var _this = this;
8764
- return __generator(this, function (_a) {
8765
- return [2 /*return*/, this.fetch({
8766
- uri: "/offerCatalogs/" + encodeURIComponent(String(params.id)),
8767
- method: 'GET',
8768
- expectedStatusCodes: [http_status_1.OK]
8769
- })
8770
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8771
- return [2 /*return*/, response.json()];
8772
- }); }); })];
8773
- });
8774
- });
8775
- };
8776
8761
  /**
8777
8762
  * オファーカタログ更新
8778
8763
  */
@@ -8832,6 +8817,31 @@ var OfferCatalogService = /** @class */ (function (_super) {
8832
8817
  });
8833
8818
  });
8834
8819
  };
8820
+ OfferCatalogService.prototype.searchItemListElement = function (params) {
8821
+ return __awaiter(this, void 0, void 0, function () {
8822
+ var _this = this;
8823
+ return __generator(this, function (_a) {
8824
+ return [2 /*return*/, this.fetch({
8825
+ uri: "/offerCatalogs/" + encodeURIComponent(String(params.id)) + "/itemListElement",
8826
+ method: 'GET',
8827
+ qs: params,
8828
+ expectedStatusCodes: [http_status_1.OK]
8829
+ })
8830
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
8831
+ var _a;
8832
+ return __generator(this, function (_b) {
8833
+ switch (_b.label) {
8834
+ case 0:
8835
+ _a = {};
8836
+ return [4 /*yield*/, response.json()];
8837
+ case 1: return [2 /*return*/, (_a.data = _b.sent(),
8838
+ _a)];
8839
+ }
8840
+ });
8841
+ }); })];
8842
+ });
8843
+ });
8844
+ };
8835
8845
  return OfferCatalogService;
8836
8846
  }(service_1.Service));
8837
8847
  exports.OfferCatalogService = OfferCatalogService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.141.0",
3
+ "version": "3.143.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -97,7 +97,7 @@
97
97
  "watchify": "^3.11.1"
98
98
  },
99
99
  "dependencies": {
100
- "@cinerino/api-abstract-client": "3.141.0",
100
+ "@cinerino/api-abstract-client": "3.143.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",