@cinerino/sdk 3.121.0-alpha.3 → 3.121.0-alpha.6

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.
@@ -8179,8 +8179,7 @@ var OfferService = /** @class */ (function (_super) {
8179
8179
  return [2 /*return*/, this.fetch({
8180
8180
  uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id + "/object",
8181
8181
  method: 'GET',
8182
- expectedStatusCodes: [http_status_1.CREATED],
8183
- body: params
8182
+ expectedStatusCodes: [http_status_1.OK]
8184
8183
  })
8185
8184
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8186
8185
  return [2 /*return*/, response.json()];
@@ -8198,7 +8197,7 @@ var OfferService = /** @class */ (function (_super) {
8198
8197
  return [2 /*return*/, this.fetch({
8199
8198
  uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id,
8200
8199
  method: 'PATCH',
8201
- expectedStatusCodes: [http_status_1.CREATED],
8200
+ expectedStatusCodes: [http_status_1.OK],
8202
8201
  body: params
8203
8202
  })
8204
8203
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
package/lib/bundle.js CHANGED
@@ -8179,8 +8179,7 @@ var OfferService = /** @class */ (function (_super) {
8179
8179
  return [2 /*return*/, this.fetch({
8180
8180
  uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id + "/object",
8181
8181
  method: 'GET',
8182
- expectedStatusCodes: [http_status_1.CREATED],
8183
- body: params
8182
+ expectedStatusCodes: [http_status_1.OK]
8184
8183
  })
8185
8184
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8186
8185
  return [2 /*return*/, response.json()];
@@ -8198,7 +8197,7 @@ var OfferService = /** @class */ (function (_super) {
8198
8197
  return [2 /*return*/, this.fetch({
8199
8198
  uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id,
8200
8199
  method: 'PATCH',
8201
- expectedStatusCodes: [http_status_1.CREATED],
8200
+ expectedStatusCodes: [http_status_1.OK],
8202
8201
  body: params
8203
8202
  })
8204
8203
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.121.0-alpha.3",
3
+ "version": "3.121.0-alpha.6",
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.121.0-alpha.3",
100
+ "@cinerino/api-abstract-client": "3.121.0-alpha.6",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",