@cinerino/sdk 3.167.0-alpha.10 → 3.167.0-alpha.11

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.
@@ -108,4 +108,16 @@ export declare class EventService extends Service {
108
108
  searchSeats(params: {
109
109
  id: string;
110
110
  } & Omit<factory.place.seat.ISearchConditions, 'project'>): Promise<ISearchResult<factory.place.seat.IPlaceWithOffer[]>>;
111
+ /**
112
+ * オファーで利用可能な適用決済カード条件を検索する
113
+ */
114
+ searchOfferAppliesToMovieTicket(params: {
115
+ limit?: number;
116
+ page?: number;
117
+ id: string;
118
+ availableAt?: {
119
+ id?: string;
120
+ };
121
+ onlyValid?: boolean;
122
+ }): Promise<Pick<factory.priceSpecification.unitPrice.IAppliesToMovieTicket, 'serviceOutput'>[]>;
111
123
  }
@@ -325,6 +325,27 @@ var EventService = /** @class */ (function (_super) {
325
325
  });
326
326
  });
327
327
  };
328
+ /**
329
+ * オファーで利用可能な適用決済カード条件を検索する
330
+ */
331
+ EventService.prototype.searchOfferAppliesToMovieTicket = function (params) {
332
+ return __awaiter(this, void 0, void 0, function () {
333
+ var id, query;
334
+ var _this = this;
335
+ return __generator(this, function (_a) {
336
+ id = params.id, query = __rest(params, ["id"]);
337
+ return [2 /*return*/, this.fetch({
338
+ uri: "/events/" + encodeURIComponent(String(id)) + "/offers/appliesToMovieTicket",
339
+ method: 'GET',
340
+ qs: query,
341
+ expectedStatusCodes: [http_status_1.OK]
342
+ })
343
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
344
+ return [2 /*return*/, response.json()];
345
+ }); }); })];
346
+ });
347
+ });
348
+ };
328
349
  return EventService;
329
350
  }(service_1.Service));
330
351
  exports.EventService = EventService;
@@ -198,4 +198,17 @@ export declare class EventService extends Service {
198
198
  kbnEisyahousiki: string;
199
199
  };
200
200
  }): Promise<ICOATicketOffer[]>;
201
+ /**
202
+ * オファーで利用可能な適用決済カード条件を検索する
203
+ */
204
+ searchOfferAppliesToMovieTicket(params: {
205
+ limit?: number;
206
+ page?: number;
207
+ /**
208
+ * イベント
209
+ */
210
+ event: {
211
+ id: string;
212
+ };
213
+ }): Promise<Pick<factory.priceSpecification.unitPrice.IAppliesToMovieTicket, 'serviceOutput'>[]>;
201
214
  }
@@ -215,6 +215,25 @@ var EventService = /** @class */ (function (_super) {
215
215
  });
216
216
  });
217
217
  };
218
+ /**
219
+ * オファーで利用可能な適用決済カード条件を検索する
220
+ */
221
+ EventService.prototype.searchOfferAppliesToMovieTicket = function (params) {
222
+ return __awaiter(this, void 0, void 0, function () {
223
+ var _this = this;
224
+ return __generator(this, function (_a) {
225
+ return [2 /*return*/, this.fetch({
226
+ uri: "/events/" + params.event.id + "/offers/appliesToMovieTicket",
227
+ method: 'GET',
228
+ expectedStatusCodes: [http_status_1.OK],
229
+ qs: params
230
+ })
231
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
232
+ return [2 /*return*/, response.json()];
233
+ }); }); })];
234
+ });
235
+ });
236
+ };
218
237
  return EventService;
219
238
  }(service_1.Service));
220
239
  exports.EventService = EventService;
package/lib/bundle.js CHANGED
@@ -4381,6 +4381,27 @@ var EventService = /** @class */ (function (_super) {
4381
4381
  });
4382
4382
  });
4383
4383
  };
4384
+ /**
4385
+ * オファーで利用可能な適用決済カード条件を検索する
4386
+ */
4387
+ EventService.prototype.searchOfferAppliesToMovieTicket = function (params) {
4388
+ return __awaiter(this, void 0, void 0, function () {
4389
+ var id, query;
4390
+ var _this = this;
4391
+ return __generator(this, function (_a) {
4392
+ id = params.id, query = __rest(params, ["id"]);
4393
+ return [2 /*return*/, this.fetch({
4394
+ uri: "/events/" + encodeURIComponent(String(id)) + "/offers/appliesToMovieTicket",
4395
+ method: 'GET',
4396
+ qs: query,
4397
+ expectedStatusCodes: [http_status_1.OK]
4398
+ })
4399
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
4400
+ return [2 /*return*/, response.json()];
4401
+ }); }); })];
4402
+ });
4403
+ });
4404
+ };
4384
4405
  return EventService;
4385
4406
  }(service_1.Service));
4386
4407
  exports.EventService = EventService;
@@ -12101,6 +12122,25 @@ var EventService = /** @class */ (function (_super) {
12101
12122
  });
12102
12123
  });
12103
12124
  };
12125
+ /**
12126
+ * オファーで利用可能な適用決済カード条件を検索する
12127
+ */
12128
+ EventService.prototype.searchOfferAppliesToMovieTicket = function (params) {
12129
+ return __awaiter(this, void 0, void 0, function () {
12130
+ var _this = this;
12131
+ return __generator(this, function (_a) {
12132
+ return [2 /*return*/, this.fetch({
12133
+ uri: "/events/" + params.event.id + "/offers/appliesToMovieTicket",
12134
+ method: 'GET',
12135
+ expectedStatusCodes: [http_status_1.OK],
12136
+ qs: params
12137
+ })
12138
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
12139
+ return [2 /*return*/, response.json()];
12140
+ }); }); })];
12141
+ });
12142
+ });
12143
+ };
12104
12144
  return EventService;
12105
12145
  }(service_1.Service));
12106
12146
  exports.EventService = EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.167.0-alpha.10",
3
+ "version": "3.167.0-alpha.11",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {