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

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.
@@ -8143,9 +8143,6 @@ var OfferService = /** @class */ (function (_super) {
8143
8143
  method: 'POST',
8144
8144
  expectedStatusCodes: [http_status_1.CREATED],
8145
8145
  body: params
8146
- // qs: {
8147
- // ...(params.expectsMinimalResponse === true) ? { expectsMinimalResponse: '1' } : undefined
8148
- // }
8149
8146
  })
8150
8147
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8151
8148
  return [2 /*return*/, response.json()];
@@ -8172,6 +8169,25 @@ var OfferService = /** @class */ (function (_super) {
8172
8169
  });
8173
8170
  });
8174
8171
  };
8172
+ /**
8173
+ * 興行オファー承認のacceptedOffer参照
8174
+ */
8175
+ OfferService.prototype.findEventServiceByCOAObject = function (params) {
8176
+ return __awaiter(this, void 0, void 0, function () {
8177
+ var _this = this;
8178
+ return __generator(this, function (_a) {
8179
+ return [2 /*return*/, this.fetch({
8180
+ uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id + "/object",
8181
+ method: 'GET',
8182
+ expectedStatusCodes: [http_status_1.CREATED],
8183
+ body: params
8184
+ })
8185
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8186
+ return [2 /*return*/, response.json()];
8187
+ }); }); })];
8188
+ });
8189
+ });
8190
+ };
8175
8191
  /**
8176
8192
  * 興行オファー承認変更
8177
8193
  */
package/lib/bundle.js CHANGED
@@ -8143,9 +8143,6 @@ var OfferService = /** @class */ (function (_super) {
8143
8143
  method: 'POST',
8144
8144
  expectedStatusCodes: [http_status_1.CREATED],
8145
8145
  body: params
8146
- // qs: {
8147
- // ...(params.expectsMinimalResponse === true) ? { expectsMinimalResponse: '1' } : undefined
8148
- // }
8149
8146
  })
8150
8147
  .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8151
8148
  return [2 /*return*/, response.json()];
@@ -8172,6 +8169,25 @@ var OfferService = /** @class */ (function (_super) {
8172
8169
  });
8173
8170
  });
8174
8171
  };
8172
+ /**
8173
+ * 興行オファー承認のacceptedOffer参照
8174
+ */
8175
+ OfferService.prototype.findEventServiceByCOAObject = function (params) {
8176
+ return __awaiter(this, void 0, void 0, function () {
8177
+ var _this = this;
8178
+ return __generator(this, function (_a) {
8179
+ return [2 /*return*/, this.fetch({
8180
+ uri: "/offers/" + factory.product.ProductType.EventService + "ByCOA/authorize/" + params.id + "/object",
8181
+ method: 'GET',
8182
+ expectedStatusCodes: [http_status_1.CREATED],
8183
+ body: params
8184
+ })
8185
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
8186
+ return [2 /*return*/, response.json()];
8187
+ }); }); })];
8188
+ });
8189
+ });
8190
+ };
8175
8191
  /**
8176
8192
  * 興行オファー承認変更
8177
8193
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.121.0-alpha.2",
3
+ "version": "3.121.0-alpha.3",
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.2",
100
+ "@cinerino/api-abstract-client": "3.121.0-alpha.3",
101
101
  "debug": "^3.2.6",
102
102
  "http-status": "^1.4.2",
103
103
  "idtoken-verifier": "^2.0.3",