@cinerino/sdk 3.141.0 → 3.142.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 -0
  2. package/package.json +2 -2
package/lib/bundle.js CHANGED
@@ -8832,6 +8832,31 @@ var OfferCatalogService = /** @class */ (function (_super) {
8832
8832
  });
8833
8833
  });
8834
8834
  };
8835
+ OfferCatalogService.prototype.searchItemListElement = function (params) {
8836
+ return __awaiter(this, void 0, void 0, function () {
8837
+ var _this = this;
8838
+ return __generator(this, function (_a) {
8839
+ return [2 /*return*/, this.fetch({
8840
+ uri: "/offerCatalogs/" + encodeURIComponent(String(params.id)) + "/itemListElement",
8841
+ method: 'GET',
8842
+ qs: params,
8843
+ expectedStatusCodes: [http_status_1.OK]
8844
+ })
8845
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
8846
+ var _a;
8847
+ return __generator(this, function (_b) {
8848
+ switch (_b.label) {
8849
+ case 0:
8850
+ _a = {};
8851
+ return [4 /*yield*/, response.json()];
8852
+ case 1: return [2 /*return*/, (_a.data = _b.sent(),
8853
+ _a)];
8854
+ }
8855
+ });
8856
+ }); })];
8857
+ });
8858
+ });
8859
+ };
8835
8860
  return OfferCatalogService;
8836
8861
  }(service_1.Service));
8837
8862
  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.142.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.142.0",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",