@cinerino/sdk 12.13.0-alpha.9 → 12.13.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 (42) hide show
  1. package/example/src/chevre/admin/adminEntranceGates.ts +73 -0
  2. package/example/src/chevre/admin/adminEventSeries.ts +16 -6
  3. package/example/src/chevre/admin/adminFindEvents.ts +9 -6
  4. package/example/src/chevre/admin/adminRooms.ts +54 -0
  5. package/example/src/chevre/admin/adminSeatSections.ts +52 -0
  6. package/example/src/chevre/admin/deleteSeats.ts +52 -0
  7. package/example/src/chevre/admin/findRooms.ts +45 -0
  8. package/example/src/chevre/default/findMovieTheaters.ts +44 -0
  9. package/example/src/cloud/admin/adminEventsByIdentifier.ts +39 -26
  10. package/example/src/cloud/transaction/processPlaceOrder4ttts.ts +1 -1
  11. package/example/src/cloud/transaction/processPlaceOrderCOAEventByCreditCard.ts +1 -1
  12. package/example/src/cloud/transaction/processPlaceOrderCOAEventByMovieTicket.ts +1 -1
  13. package/example/src/{searchHasPOS.ts → findMovieTheaters.ts} +11 -11
  14. package/example/src/st/v2/findMovieTheaters.ts +51 -0
  15. package/lib/abstract/chevre/place.d.ts +14 -0
  16. package/lib/abstract/chevre/place.js +21 -0
  17. package/lib/abstract/chevreAdmin/eventSeries.d.ts +1 -1
  18. package/lib/abstract/chevreAdmin/movieTheater.d.ts +63 -0
  19. package/lib/abstract/chevreAdmin/movieTheater.js +170 -0
  20. package/lib/abstract/chevreAdmin/room.d.ts +42 -0
  21. package/lib/abstract/chevreAdmin/room.js +117 -0
  22. package/lib/abstract/chevreAdmin/seat.d.ts +26 -1
  23. package/lib/abstract/chevreAdmin/seat.js +66 -1
  24. package/lib/abstract/chevreAdmin/seatSection.d.ts +43 -0
  25. package/lib/abstract/chevreAdmin/seatSection.js +117 -0
  26. package/lib/abstract/chevreAdmin.d.ts +39 -0
  27. package/lib/abstract/chevreAdmin.js +72 -0
  28. package/lib/abstract/chevreConsole/aggregateReservation.d.ts +1 -2
  29. package/lib/abstract/chevreConsole/creativeWork.d.ts +0 -7
  30. package/lib/abstract/chevreConsole/creativeWork.js +26 -19
  31. package/lib/abstract/chevreConsole/eventSeries.d.ts +0 -22
  32. package/lib/abstract/chevreConsole/eventSeries.js +0 -20
  33. package/lib/abstract/chevreConsole/place.d.ts +12 -73
  34. package/lib/abstract/chevreConsole/place.js +239 -263
  35. package/lib/abstract/cinerino/service/event.d.ts +7 -3
  36. package/lib/abstract/cinerino/service/event.js +0 -1
  37. package/lib/abstract/cinerino/service/seller.d.ts +5 -1
  38. package/lib/abstract/cinerino/service/seller.js +11 -0
  39. package/lib/abstract/service.d.ts +3 -1
  40. package/lib/abstract/service.js +4 -2
  41. package/lib/bundle.js +1600 -1053
  42. package/package.json +2 -2
@@ -55,6 +55,11 @@ exports.PlaceService = void 0;
55
55
  var http_status_1 = require("http-status");
56
56
  var factory = require("../factory");
57
57
  var service_1 = require("../service");
58
+ // interface IFixSectionQuery {
59
+ // movieTheaterCode: string;
60
+ // roomCode: string;
61
+ // sectionCode: string;
62
+ // }
58
63
  /**
59
64
  * 施設サービス
60
65
  */
@@ -82,34 +87,27 @@ var PlaceService = /** @class */ (function (_super) {
82
87
  });
83
88
  });
84
89
  };
85
- /**
86
- * 施設検索
87
- */
88
- PlaceService.prototype.searchMovieTheaters = function (params) {
89
- return __awaiter(this, void 0, void 0, function () {
90
- var _this = this;
91
- return __generator(this, function (_a) {
92
- return [2 /*return*/, this.fetch({
93
- uri: "/places/" + factory.placeType.MovieTheater,
94
- method: 'GET',
95
- qs: params,
96
- expectedStatusCodes: [http_status_1.OK]
97
- })
98
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
99
- var _a;
100
- return __generator(this, function (_b) {
101
- switch (_b.label) {
102
- case 0:
103
- _a = {};
104
- return [4 /*yield*/, response.json()];
105
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
106
- _a)];
107
- }
108
- });
109
- }); })];
110
- });
111
- });
112
- };
90
+ // /**
91
+ // * 施設検索
92
+ // * migrate to chevreAdmin(2026-01-03~)
93
+ // */
94
+ // public async searchMovieTheaters(
95
+ // params: Omit<factory.place.movieTheater.ISearchConditions, 'project'>
96
+ // ): Promise<{
97
+ // data: IMovieTheater[];
98
+ // }> {
99
+ // return this.fetch({
100
+ // uri: `/places/${factory.placeType.MovieTheater}`,
101
+ // method: 'GET',
102
+ // qs: params,
103
+ // expectedStatusCodes: [OK]
104
+ // })
105
+ // .then(async (response) => {
106
+ // return {
107
+ // data: await response.json()
108
+ // };
109
+ // });
110
+ // }
113
111
  /**
114
112
  * 施設更新
115
113
  */
@@ -149,53 +147,44 @@ var PlaceService = /** @class */ (function (_super) {
149
147
  });
150
148
  });
151
149
  };
152
- /**
153
- * ルーム作成
154
- */
155
- PlaceService.prototype.createScreeningRoom = function (params) {
156
- return __awaiter(this, void 0, void 0, function () {
157
- var _this = this;
158
- return __generator(this, function (_a) {
159
- return [2 /*return*/, this.fetch({
160
- uri: "/places/" + factory.placeType.ScreeningRoom,
161
- method: 'POST',
162
- body: params,
163
- expectedStatusCodes: [http_status_1.CREATED]
164
- })
165
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
166
- return [2 /*return*/, response.json()];
167
- }); }); })];
168
- });
169
- });
170
- };
171
- /**
172
- * ルーム検索
173
- */
174
- PlaceService.prototype.searchScreeningRooms = function (params) {
175
- return __awaiter(this, void 0, void 0, function () {
176
- var _this = this;
177
- return __generator(this, function (_a) {
178
- return [2 /*return*/, this.fetch({
179
- uri: "/places/" + factory.placeType.ScreeningRoom,
180
- method: 'GET',
181
- qs: params,
182
- expectedStatusCodes: [http_status_1.OK]
183
- })
184
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
185
- var _a;
186
- return __generator(this, function (_b) {
187
- switch (_b.label) {
188
- case 0:
189
- _a = {};
190
- return [4 /*yield*/, response.json()];
191
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
192
- _a)];
193
- }
194
- });
195
- }); })];
196
- });
197
- });
198
- };
150
+ // /**
151
+ // * ルーム追加
152
+ // * migrate to chevreAdmin(2026-01-12~)
153
+ // */
154
+ // public async createRoom(
155
+ // params: Pick<IScreeningRoom, 'additionalProperty' | 'address' | 'branchCode' | 'name' | 'openSeatingAllowed'>,
156
+ // options: IFixMovieTheaterQuery
157
+ // ): Promise<IScreeningRoom> {
158
+ // const { movieTheaterCode } = options;
159
+ // return this.fetch({
160
+ // uri: `/places/${factory.placeType.ScreeningRoom}`,
161
+ // method: 'POST',
162
+ // qs: { movieTheaterCode },
163
+ // body: params,
164
+ // expectedStatusCodes: [CREATED]
165
+ // })
166
+ // .then(async (response) => response.json());
167
+ // }
168
+ // /**
169
+ // * ルーム検索
170
+ // */
171
+ // public async searchScreeningRooms(
172
+ // params: Omit<factory.place.screeningRoom.ISearchConditions, 'project' | '$projection'>
173
+ // ): Promise<{
174
+ // data: IScreeningRoom[];
175
+ // }> {
176
+ // return this.fetch({
177
+ // uri: `/places/${factory.placeType.ScreeningRoom}`,
178
+ // method: 'GET',
179
+ // qs: params,
180
+ // expectedStatusCodes: [OK]
181
+ // })
182
+ // .then(async (response) => {
183
+ // return {
184
+ // data: await response.json()
185
+ // };
186
+ // });
187
+ // }
199
188
  /**
200
189
  * ルームの座席数参照
201
190
  */
@@ -217,39 +206,40 @@ var PlaceService = /** @class */ (function (_super) {
217
206
  });
218
207
  });
219
208
  };
220
- /**
221
- * ルーム更新
222
- */
223
- PlaceService.prototype.updateScreeningRoom = function (params) {
224
- return __awaiter(this, void 0, void 0, function () {
225
- return __generator(this, function (_a) {
226
- switch (_a.label) {
227
- case 0: return [4 /*yield*/, this.fetch({
228
- uri: "/places/" + factory.placeType.ScreeningRoom + "/" + encodeURIComponent(String(params.branchCode)),
229
- method: 'PUT',
230
- body: params,
231
- expectedStatusCodes: [http_status_1.NO_CONTENT]
232
- })];
233
- case 1:
234
- _a.sent();
235
- return [2 /*return*/];
236
- }
237
- });
238
- });
239
- };
209
+ // /**
210
+ // * ルーム編集
211
+ // * migrate to chevreAdmin(2026-01-12~)
212
+ // */
213
+ // public async updateRoomByBranchCode(
214
+ // params: Pick<IScreeningRoom, 'additionalProperty' | 'address' | 'branchCode' | 'name' | 'openSeatingAllowed'> & IUnset,
215
+ // options: IFixMovieTheaterQuery
216
+ // ): Promise<void> {
217
+ // const { movieTheaterCode } = options;
218
+ // await this.fetch({
219
+ // uri: `/places/${factory.placeType.ScreeningRoom}/${encodeURIComponent(String(params.branchCode))}`,
220
+ // method: 'PUT',
221
+ // qs: { movieTheaterCode },
222
+ // body: params,
223
+ // expectedStatusCodes: [NO_CONTENT]
224
+ // });
225
+ // }
240
226
  /**
241
227
  * ルーム削除
242
228
  */
243
- PlaceService.prototype.deleteScreeningRoom = function (params) {
229
+ PlaceService.prototype.deleteRoomByBranchCode = function (params, options) {
244
230
  return __awaiter(this, void 0, void 0, function () {
231
+ var movieTheaterCode;
245
232
  return __generator(this, function (_a) {
246
233
  switch (_a.label) {
247
- case 0: return [4 /*yield*/, this.fetch({
248
- uri: "/places/" + factory.placeType.ScreeningRoom + "/" + encodeURIComponent(String(params.branchCode)),
249
- method: 'DELETE',
250
- body: params,
251
- expectedStatusCodes: [http_status_1.NO_CONTENT]
252
- })];
234
+ case 0:
235
+ movieTheaterCode = options.movieTheaterCode;
236
+ return [4 /*yield*/, this.fetch({
237
+ uri: "/places/" + factory.placeType.ScreeningRoom + "/" + encodeURIComponent(String(params.branchCode)),
238
+ method: 'DELETE',
239
+ qs: { movieTheaterCode: movieTheaterCode },
240
+ body: params,
241
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
242
+ })];
253
243
  case 1:
254
244
  _a.sent();
255
245
  return [2 /*return*/];
@@ -257,53 +247,45 @@ var PlaceService = /** @class */ (function (_super) {
257
247
  });
258
248
  });
259
249
  };
260
- /**
261
- * セクション作成
262
- */
263
- PlaceService.prototype.createScreeningRoomSection = function (params) {
264
- return __awaiter(this, void 0, void 0, function () {
265
- var _this = this;
266
- return __generator(this, function (_a) {
267
- return [2 /*return*/, this.fetch({
268
- uri: "/places/" + factory.placeType.ScreeningRoomSection,
269
- method: 'POST',
270
- body: params,
271
- expectedStatusCodes: [http_status_1.CREATED]
272
- })
273
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
274
- return [2 /*return*/, response.json()];
275
- }); }); })];
276
- });
277
- });
278
- };
279
- /**
280
- * セクション検索
281
- */
282
- PlaceService.prototype.searchScreeningRoomSections = function (params) {
283
- return __awaiter(this, void 0, void 0, function () {
284
- var _this = this;
285
- return __generator(this, function (_a) {
286
- return [2 /*return*/, this.fetch({
287
- uri: "/places/" + factory.placeType.ScreeningRoomSection,
288
- method: 'GET',
289
- qs: params,
290
- expectedStatusCodes: [http_status_1.OK]
291
- })
292
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
293
- var _a;
294
- return __generator(this, function (_b) {
295
- switch (_b.label) {
296
- case 0:
297
- _a = {};
298
- return [4 /*yield*/, response.json()];
299
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
300
- _a)];
301
- }
302
- });
303
- }); })];
304
- });
305
- });
306
- };
250
+ // /**
251
+ // * セクション作成
252
+ // */
253
+ // public async createSection(
254
+ // params: Pick<factory.place.screeningRoomSection.IPlace, 'additionalProperty' | 'branchCode' | 'name'> & {
255
+ // $unset?: never;
256
+ // },
257
+ // options: IFixRoomQuery
258
+ // ): Promise<IScreeningRoomSection> {
259
+ // const { movieTheaterCode, roomCode } = options;
260
+ // return this.fetch({
261
+ // uri: `/places/${factory.placeType.ScreeningRoomSection}`,
262
+ // method: 'POST',
263
+ // qs: { movieTheaterCode, roomCode },
264
+ // body: params,
265
+ // expectedStatusCodes: [CREATED]
266
+ // })
267
+ // .then(async (response) => response.json());
268
+ // }
269
+ // /**
270
+ // * セクション検索
271
+ // */
272
+ // public async searchScreeningRoomSections(
273
+ // params: Omit<factory.place.screeningRoomSection.ISearchConditions, 'project' | '$projection'>
274
+ // ): Promise<{
275
+ // data: IScreeningRoomSection[];
276
+ // }> {
277
+ // return this.fetch({
278
+ // uri: `/places/${factory.placeType.ScreeningRoomSection}`,
279
+ // method: 'GET',
280
+ // qs: params,
281
+ // expectedStatusCodes: [OK]
282
+ // })
283
+ // .then(async (response) => {
284
+ // return {
285
+ // data: await response.json()
286
+ // };
287
+ // });
288
+ // }
307
289
  /**
308
290
  * セクションの座席数参照
309
291
  */
@@ -325,126 +307,55 @@ var PlaceService = /** @class */ (function (_super) {
325
307
  });
326
308
  });
327
309
  };
328
- /**
329
- * セクション更新
330
- */
331
- PlaceService.prototype.updateScreeningRoomSection = function (params) {
332
- return __awaiter(this, void 0, void 0, function () {
333
- return __generator(this, function (_a) {
334
- switch (_a.label) {
335
- case 0: return [4 /*yield*/, this.fetch({
336
- uri: "/places/" + factory.placeType.ScreeningRoomSection + "/" + encodeURIComponent(String(params.branchCode)),
337
- method: 'PUT',
338
- body: params,
339
- expectedStatusCodes: [http_status_1.NO_CONTENT]
340
- })];
341
- case 1:
342
- _a.sent();
343
- return [2 /*return*/];
344
- }
345
- });
346
- });
347
- };
310
+ // /**
311
+ // * セクションの名称と追加特性を編集する
312
+ // */
313
+ // public async updateSectionByBranchCode(
314
+ // params: Pick<factory.place.screeningRoomSection.IPlace, 'additionalProperty' | 'branchCode' | 'name'> & IUnset,
315
+ // options: IFixRoomQuery
316
+ // ): Promise<void> {
317
+ // const { movieTheaterCode, roomCode } = options;
318
+ // await this.fetch({
319
+ // uri: `/places/${factory.placeType.ScreeningRoomSection}/${encodeURIComponent(String(params.branchCode))}`,
320
+ // method: 'PUT',
321
+ // qs: { movieTheaterCode, roomCode },
322
+ // body: params,
323
+ // expectedStatusCodes: [NO_CONTENT]
324
+ // });
325
+ // }
326
+ // /**
327
+ // * セクションの座席を上書きする
328
+ // */
329
+ // public async overwriteSectionSeats(
330
+ // params: Pick<factory.place.screeningRoomSection.IPlace, 'branchCode' | 'containsPlace'>,
331
+ // options: IFixRoomQuery
332
+ // ): Promise<void> {
333
+ // const { movieTheaterCode, roomCode } = options;
334
+ // await this.fetch({
335
+ // uri: `/places/${factory.placeType.ScreeningRoomSection}/${encodeURIComponent(String(params.branchCode))}/containsPlace`,
336
+ // method: 'PUT',
337
+ // qs: { movieTheaterCode, roomCode },
338
+ // body: params,
339
+ // expectedStatusCodes: [NO_CONTENT]
340
+ // });
341
+ // }
348
342
  /**
349
343
  * セクション削除
350
344
  */
351
- PlaceService.prototype.deleteScreeningRoomSection = function (params) {
345
+ PlaceService.prototype.deleteSectionByBranchCode = function (params, options) {
352
346
  return __awaiter(this, void 0, void 0, function () {
347
+ var movieTheaterCode, roomCode;
353
348
  return __generator(this, function (_a) {
354
349
  switch (_a.label) {
355
- case 0: return [4 /*yield*/, this.fetch({
356
- uri: "/places/" + factory.placeType.ScreeningRoomSection + "/" + encodeURIComponent(String(params.branchCode)),
357
- method: 'DELETE',
358
- body: params,
359
- expectedStatusCodes: [http_status_1.NO_CONTENT]
360
- })];
361
- case 1:
362
- _a.sent();
363
- return [2 /*return*/];
364
- }
365
- });
366
- });
367
- };
368
- /**
369
- * 座席作成
370
- */
371
- PlaceService.prototype.createSeat = function (params) {
372
- return __awaiter(this, void 0, void 0, function () {
373
- var _this = this;
374
- return __generator(this, function (_a) {
375
- return [2 /*return*/, this.fetch({
376
- uri: "/places/" + factory.placeType.Seat,
377
- method: 'POST',
378
- body: params,
379
- expectedStatusCodes: [http_status_1.CREATED]
380
- })
381
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
382
- return [2 /*return*/, response.json()];
383
- }); }); })];
384
- });
385
- });
386
- };
387
- /**
388
- * 座席検索
389
- */
390
- PlaceService.prototype.searchSeats = function (params) {
391
- return __awaiter(this, void 0, void 0, function () {
392
- var _this = this;
393
- return __generator(this, function (_a) {
394
- return [2 /*return*/, this.fetch({
395
- uri: "/places/" + factory.placeType.Seat,
396
- method: 'GET',
397
- qs: params,
398
- expectedStatusCodes: [http_status_1.OK]
399
- })
400
- .then(function (response) { return __awaiter(_this, void 0, void 0, function () {
401
- var _a;
402
- return __generator(this, function (_b) {
403
- switch (_b.label) {
404
- case 0:
405
- _a = {};
406
- return [4 /*yield*/, response.json()];
407
- case 1: return [2 /*return*/, (_a.data = _b.sent(),
408
- _a)];
409
- }
410
- });
411
- }); })];
412
- });
413
- });
414
- };
415
- /**
416
- * 座席更新
417
- */
418
- PlaceService.prototype.updateSeat = function (params) {
419
- return __awaiter(this, void 0, void 0, function () {
420
- return __generator(this, function (_a) {
421
- switch (_a.label) {
422
- case 0: return [4 /*yield*/, this.fetch({
423
- uri: "/places/" + factory.placeType.Seat + "/" + encodeURIComponent(String(params.branchCode)),
424
- method: 'PUT',
425
- body: params,
426
- expectedStatusCodes: [http_status_1.NO_CONTENT]
427
- })];
428
- case 1:
429
- _a.sent();
430
- return [2 /*return*/];
431
- }
432
- });
433
- });
434
- };
435
- /**
436
- * 座席削除
437
- */
438
- PlaceService.prototype.deleteSeat = function (params) {
439
- return __awaiter(this, void 0, void 0, function () {
440
- return __generator(this, function (_a) {
441
- switch (_a.label) {
442
- case 0: return [4 /*yield*/, this.fetch({
443
- uri: "/places/" + factory.placeType.Seat + "/" + encodeURIComponent(String(params.branchCode)),
444
- method: 'DELETE',
445
- body: params,
446
- expectedStatusCodes: [http_status_1.NO_CONTENT]
447
- })];
350
+ case 0:
351
+ movieTheaterCode = options.movieTheaterCode, roomCode = options.roomCode;
352
+ return [4 /*yield*/, this.fetch({
353
+ uri: "/places/" + factory.placeType.ScreeningRoomSection + "/" + encodeURIComponent(String(params.branchCode)),
354
+ method: 'DELETE',
355
+ qs: { movieTheaterCode: movieTheaterCode, roomCode: roomCode },
356
+ body: params,
357
+ expectedStatusCodes: [http_status_1.NO_CONTENT]
358
+ })];
448
359
  case 1:
449
360
  _a.sent();
450
361
  return [2 /*return*/];
@@ -452,6 +363,71 @@ var PlaceService = /** @class */ (function (_super) {
452
363
  });
453
364
  });
454
365
  };
366
+ // /**
367
+ // * 座席作成
368
+ // */
369
+ // public async createSeat(
370
+ // params: Pick<ISeat, 'additionalProperty' | 'branchCode' | 'maximumAttendeeCapacity' | 'name' | 'seatingType'> & {
371
+ // $unset?: never;
372
+ // },
373
+ // options: IFixSectionQuery
374
+ // ): Promise<ISeat> {
375
+ // const { movieTheaterCode, roomCode, sectionCode } = options;
376
+ // return this.fetch({
377
+ // uri: `/places/${factory.placeType.Seat}`,
378
+ // method: 'POST',
379
+ // qs: { movieTheaterCode, roomCode, sectionCode },
380
+ // body: params,
381
+ // expectedStatusCodes: [CREATED]
382
+ // })
383
+ // .then(async (response) => response.json());
384
+ // }
385
+ // /**
386
+ // * 座席検索
387
+ // */
388
+ // public async findSeatsDeprecated(params: Omit<factory.place.seat.ISearchConditions, 'project'>): Promise<ISeat[]> {
389
+ // return this.fetch({
390
+ // uri: `/places/${factory.placeType.Seat}`,
391
+ // method: 'GET',
392
+ // qs: params,
393
+ // expectedStatusCodes: [OK]
394
+ // })
395
+ // .then(async (response) => response.json());
396
+ // }
397
+ // /**
398
+ // * 座席更新
399
+ // */
400
+ // public async updateSeatByBranchCode(
401
+ // params: Pick<ISeat, 'additionalProperty' | 'branchCode' | 'maximumAttendeeCapacity' | 'name' | 'seatingType'> & IUnset,
402
+ // options: IFixSectionQuery
403
+ // ): Promise<void> {
404
+ // const { movieTheaterCode, roomCode, sectionCode } = options;
405
+ // await this.fetch({
406
+ // uri: `/places/${factory.placeType.Seat}/${encodeURIComponent(String(params.branchCode))}`,
407
+ // method: 'PUT',
408
+ // qs: { movieTheaterCode, roomCode, sectionCode },
409
+ // body: params,
410
+ // expectedStatusCodes: [NO_CONTENT]
411
+ // });
412
+ // }
413
+ // /**
414
+ // * 座席削除
415
+ // */
416
+ // public async deleteSeatByBranchCode(
417
+ // params: {
418
+ // branchCode: string;
419
+ // },
420
+ // options: IFixSectionQuery
421
+ // ): Promise<void> {
422
+ // const { movieTheaterCode, roomCode, sectionCode } = options;
423
+ // await this.fetch({
424
+ // uri: `/places/${factory.placeType.Seat}/${encodeURIComponent(String(params.branchCode))}`,
425
+ // method: 'DELETE',
426
+ // qs: { movieTheaterCode, roomCode, sectionCode },
427
+ // body: params,
428
+ // expectedStatusCodes: [NO_CONTENT]
429
+ // });
430
+ // }
455
431
  /**
456
432
  * ターミナル作成
457
433
  */
@@ -24,10 +24,14 @@ declare type IScreeningEventOffer4COA = Omit<factory.event.screeningEvent.IOffer
24
24
  declare type IScreeningEventExtensibleOffer = Omit<factory.event.screeningEvent.IExtensibleEventOffer, 'seller'> & {
25
25
  seller: ISeller;
26
26
  };
27
- export declare type IEvent = Omit<factory.event.screeningEvent.IEvent, 'offers'> & {
27
+ declare type IEvent = Omit<factory.event.screeningEvent.IEvent, 'offers' | 'superEvent'> & {
28
28
  offers?: IScreeningEventOffer | IScreeningEventOffer4COA | IScreeningEventExtensibleOffer;
29
+ superEvent: Omit<factory.event.screeningEvent.ISuperEvent, 'videoFormat' | 'soundFormat'>;
29
30
  };
30
- export declare type IMinimizedEvent = Pick<factory.event.screeningEvent.IEvent, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'id' | 'location' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'startDate' | 'superEvent'>;
31
+ declare type IMinimizedEvent = Pick<factory.event.screeningEvent.IEvent, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'id' | 'location' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'startDate'> & {
32
+ superEvent: Omit<factory.event.screeningEvent.ISuperEvent, 'videoFormat' | 'soundFormat'>;
33
+ };
34
+ declare type IEventSeriesAsFindResult = Pick<factory.eventSeries.IEvent, 'additionalProperty' | 'alternativeHeadline' | 'coaInfo' | 'description' | 'dubLanguage' | 'duration' | 'endDate' | 'eventStatus' | 'headline' | 'identifier' | 'kanaName' | 'location' | 'name' | 'offers' | 'organizer' | 'project' | 'soundFormat' | 'startDate' | 'subtitleLanguage' | 'typeOf' | 'workPerformed' | 'subEvent' | 'id'>;
31
35
  /**
32
36
  * COA券種オファーインターフェース
33
37
  */
@@ -137,7 +141,7 @@ export declare class EventService extends Service {
137
141
  $projection?: {
138
142
  [key in keyof factory.eventSeries.IEvent]?: 0;
139
143
  };
140
- }): Promise<factory.eventSeries.IEvent[]>;
144
+ }): Promise<IEventSeriesAsFindResult[]>;
141
145
  /**
142
146
  * イベント検索(最小限の属性)
143
147
  */
@@ -127,7 +127,6 @@ var EventService = /** @class */ (function (_super) {
127
127
  return __awaiter(this, void 0, void 0, function () {
128
128
  var _this = this;
129
129
  return __generator(this, function (_a) {
130
- // separate ScreeningEventSeries(2024-10-21~)
131
130
  return [2 /*return*/, this.fetch({
132
131
  uri: '/eventSeries',
133
132
  method: 'GET',
@@ -1,6 +1,6 @@
1
1
  import { IPaymentAccepted, IPaymentServiceByProvider, ISearchPaymentServiceConditions } from '../../chevre/seller/factory';
2
2
  import * as factory from '../../factory';
3
- import { IOptions, ISearchResult, Service } from '../../service';
3
+ import { IFetchOptions, IOptions, ISearchResult, Service } from '../../service';
4
4
  declare type IKeyOfProjection = keyof Omit<factory.seller.ISeller, 'makesOffer' | 'paymentAccepted'>;
5
5
  declare type IProjection = {
6
6
  [key in IKeyOfProjection]?: 0;
@@ -10,6 +10,10 @@ declare type IProjection = {
10
10
  */
11
11
  export declare class SellerService extends Service<IOptions> {
12
12
  constructor(options: Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath'>);
13
+ /**
14
+ * for examples
15
+ */
16
+ fetch(options: IFetchOptions): Promise<Response>;
13
17
  /**
14
18
  * 販売者取得
15
19
  */
@@ -73,6 +73,17 @@ var SellerService = /** @class */ (function (_super) {
73
73
  function SellerService(options) {
74
74
  return _super.call(this, __assign(__assign({}, options), { retryableStatusCodes: [http_status_1.BAD_GATEWAY, http_status_1.FORBIDDEN, http_status_1.UNAUTHORIZED] })) || this;
75
75
  }
76
+ /**
77
+ * for examples
78
+ */
79
+ // tslint:disable-next-line:no-unnecessary-override
80
+ SellerService.prototype.fetch = function (options) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ return __generator(this, function (_a) {
83
+ return [2 /*return*/, _super.prototype.fetch.call(this, options)];
84
+ });
85
+ });
86
+ };
76
87
  /**
77
88
  * 販売者取得
78
89
  */