@cinerino/sdk 16.3.0-alpha.1 → 16.3.0-alpha.2

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.
@@ -1,5 +1,5 @@
1
1
  import { factory } from '../factory';
2
- import { ITicket, IUseAction } from '../chevreConsole/reservation/factory';
2
+ import { ITicket, IUseAction, IReservationAsFindResult } from '../chevreConsole/reservation/factory';
3
3
  import { Service } from '../service';
4
4
  export interface IUseActionResult {
5
5
  id: string;
@@ -64,7 +64,7 @@ export declare class ReservationService extends Service {
64
64
  * min: 1
65
65
  */
66
66
  page: number;
67
- }): Promise<factory.reservation.eventReservation.IReservation[]>;
67
+ }): Promise<IReservationAsFindResult[]>;
68
68
  /**
69
69
  * 予約を使用する(入場する)
70
70
  */
@@ -18,4 +18,8 @@ interface ITicketAsCode {
18
18
  * 予約使用チケット
19
19
  */
20
20
  export type ITicket = ITicketAsCode;
21
+ /**
22
+ * 予約検索結果としての予約
23
+ */
24
+ export type IReservationAsFindResult = Pick<factory.reservation.eventReservation.IReservation, 'additionalTicketText' | 'attended' | 'bookingTime' | 'checkedIn' | 'id' | 'reservationFor' | 'reservationNumber' | 'reservationStatus' | 'reservedTicket'>;
21
25
  export {};
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // export type ITicket = ITicketAsJWT | ITicketAsCode;
@@ -1,4 +1,4 @@
1
- import { ITicket, IUseAction } from '../../chevreConsole/reservation/factory';
1
+ import { ITicket, IUseAction, IReservationAsFindResult } from '../../chevreConsole/reservation/factory';
2
2
  import { factory } from '../../factory';
3
3
  import { Service } from '../../service';
4
4
  /**
@@ -35,10 +35,6 @@ type IFindParams = Pick<factory.reservation.eventReservation.ISearchConditions,
35
35
  };
36
36
  };
37
37
  };
38
- /**
39
- * 予約検索結果としての予約
40
- */
41
- type IReservationAsFindResult = Pick<factory.reservation.eventReservation.IReservation, 'additionalTicketText' | 'attended' | 'bookingTime' | 'checkedIn' | 'id' | 'reservationFor' | 'reservationNumber' | 'reservationStatus' | 'reservedTicket'>;
42
38
  /**
43
39
  * 予約サービス
44
40
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "16.3.0-alpha.1",
3
+ "version": "16.3.0-alpha.2",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -72,7 +72,7 @@
72
72
  "watchify": "3.11.1"
73
73
  },
74
74
  "dependencies": {
75
- "@chevre/factory": "8.2.0-alpha.2",
75
+ "@chevre/factory": "8.2.0-alpha.6",
76
76
  "debug": "4.4.3",
77
77
  "http-status": "2.1.0",
78
78
  "idtoken-verifier": "2.2.4",