@cinerino/sdk 10.18.0 → 10.19.0-alpha.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.
@@ -15471,6 +15471,22 @@ var ProductService = /** @class */ (function (_super) {
15471
15471
  });
15472
15472
  });
15473
15473
  };
15474
+ ProductService.prototype.searchProductModels = function (params) {
15475
+ return __awaiter(this, void 0, void 0, function () {
15476
+ var _this = this;
15477
+ return __generator(this, function (_a) {
15478
+ return [2 /*return*/, this.fetch({
15479
+ uri: '/productModels',
15480
+ method: 'GET',
15481
+ qs: params,
15482
+ expectedStatusCodes: [http_status_1.OK]
15483
+ })
15484
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
15485
+ return [2 /*return*/, response.json()];
15486
+ }); }); })];
15487
+ });
15488
+ });
15489
+ };
15474
15490
  return ProductService;
15475
15491
  }(service_1.Service));
15476
15492
  exports.ProductService = ProductService;
@@ -16287,17 +16303,6 @@ var EventService = /** @class */ (function (_super) {
16287
16303
  // separate ScreeningEventSeries(2024-10-21~)
16288
16304
  if ((params === null || params === void 0 ? void 0 : params.typeOf) === factory.eventType.ScreeningEventSeries) {
16289
16305
  throw new factory.errors.Argument('typeOf', "typeOf must be " + factory.eventType.Event + " or " + factory.eventType.ScreeningEvent);
16290
- // return this.fetch({
16291
- // uri: '/eventSeries',
16292
- // method: 'GET',
16293
- // qs: params,
16294
- // expectedStatusCodes: [OK]
16295
- // })
16296
- // .then(async (response) => {
16297
- // return {
16298
- // data: await response.json()
16299
- // };
16300
- // });
16301
16306
  }
16302
16307
  else {
16303
16308
  return [2 /*return*/, this.fetch({
@@ -16413,8 +16418,8 @@ var EventService = /** @class */ (function (_super) {
16413
16418
  id = params.id, typeOf = params.typeOf;
16414
16419
  if (![
16415
16420
  factory.eventType.Event,
16416
- factory.eventType.ScreeningEvent,
16417
- factory.eventType.ScreeningEventSeries
16421
+ factory.eventType.ScreeningEvent
16422
+ // factory.eventType.ScreeningEventSeries
16418
16423
  ].includes(typeOf)) {
16419
16424
  throw new factory.errors.Argument('typeOf', 'invalid event type');
16420
16425
  }
@@ -17011,6 +17016,25 @@ var ProductService = /** @class */ (function (_super) {
17011
17016
  });
17012
17017
  });
17013
17018
  };
17019
+ /**
17020
+ * 座席モデル検索
17021
+ */
17022
+ ProductService.prototype.searchProductModels = function (params) {
17023
+ return __awaiter(this, void 0, void 0, function () {
17024
+ var _this = this;
17025
+ return __generator(this, function (_a) {
17026
+ return [2 /*return*/, this.fetch({
17027
+ uri: '/productModels',
17028
+ method: 'GET',
17029
+ qs: params,
17030
+ expectedStatusCodes: [http_status_1.OK]
17031
+ })
17032
+ .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
17033
+ return [2 /*return*/, response.json()];
17034
+ }); }); })];
17035
+ });
17036
+ });
17037
+ };
17014
17038
  return ProductService;
17015
17039
  }(service_1.Service));
17016
17040
  exports.ProductService = ProductService;
@@ -20407,11 +20431,12 @@ var PaymentService = /** @class */ (function (_super) {
20407
20431
  */
20408
20432
  PaymentService.prototype.authorizeMovieTicketAsync = function (params, options) {
20409
20433
  return __awaiter(this, void 0, void 0, function () {
20410
- var object, purpose, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevrePay, ticketToken, paymentService;
20434
+ var object, purpose, checkedActionId, _a, auth, endpoint, project, seller, disableAutoRetry, retryableStatusCodes, chevrePay, ticketToken, paymentService;
20411
20435
  return __generator(this, function (_b) {
20412
20436
  switch (_b.label) {
20413
20437
  case 0:
20414
20438
  object = params.object, purpose = params.purpose;
20439
+ checkedActionId = options.checkedActionId;
20415
20440
  _a = this.options, auth = _a.auth, endpoint = _a.endpoint, project = _a.project, seller = _a.seller, disableAutoRetry = _a.disableAutoRetry, retryableStatusCodes = _a.retryableStatusCodes;
20416
20441
  return [4 /*yield*/, index_1.loadChevrePay({ auth: auth, endpoint: endpoint, disableAutoRetry: disableAutoRetry })];
20417
20442
  case 1:
@@ -20432,7 +20457,7 @@ var PaymentService = /** @class */ (function (_super) {
20432
20457
  return [2 /*return*/, paymentService.authorizeMovieTicket({
20433
20458
  object: __assign(__assign({}, object), { ticketToken: ticketToken }),
20434
20459
  purpose: purpose
20435
- }, { async: true })];
20460
+ }, { async: true, checkedActionId: checkedActionId })];
20436
20461
  }
20437
20462
  });
20438
20463
  });
@@ -27086,8 +27111,35 @@ arguments[4][68][0].apply(exports,arguments)
27086
27111
  },{"dup":68}],285:[function(require,module,exports){
27087
27112
  arguments[4][68][0].apply(exports,arguments)
27088
27113
  },{"dup":68}],286:[function(require,module,exports){
27089
- arguments[4][68][0].apply(exports,arguments)
27090
- },{"dup":68}],287:[function(require,module,exports){
27114
+ "use strict";
27115
+ Object.defineProperty(exports, "__esModule", { value: true });
27116
+ // export interface ISchedule4ttts extends Pick<IEventWithSchedule, 'id' | 'offers' | 'project' | 'superEvent'> {
27117
+ // eventSchedule?: never;
27118
+ // duration: number;
27119
+ // noPerformanceTimes: string[];
27120
+ // /**
27121
+ // * 作成対象時間: 9,10,11など
27122
+ // */
27123
+ // hours: string[];
27124
+ // /**
27125
+ // * ['00', '15', '30', '45']
27126
+ // */
27127
+ // minutes: string[];
27128
+ // /**
27129
+ // * ['1', '2', '3', '4']
27130
+ // */
27131
+ // tours: string[];
27132
+ // /**
27133
+ // * 作成開始が今日から何日後か
27134
+ // */
27135
+ // // start: number;
27136
+ // /**
27137
+ // * 何日分作成するか
27138
+ // */
27139
+ // days: number;
27140
+ // }
27141
+
27142
+ },{}],287:[function(require,module,exports){
27091
27143
  arguments[4][68][0].apply(exports,arguments)
27092
27144
  },{"dup":68}],288:[function(require,module,exports){
27093
27145
  "use strict";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "10.18.0",
3
+ "version": "10.19.0-alpha.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -92,7 +92,7 @@
92
92
  "watchify": "^3.11.1"
93
93
  },
94
94
  "dependencies": {
95
- "@chevre/factory": "4.390.0-alpha.1",
95
+ "@chevre/factory": "4.390.0-alpha.3",
96
96
  "debug": "3.2.7",
97
97
  "http-status": "1.7.4",
98
98
  "idtoken-verifier": "2.0.3",