@chevre/factory 4.365.0 → 4.366.0-alpha.1

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.
@@ -223,7 +223,7 @@ export interface IObjectWithoutDetail {
223
223
  };
224
224
  }
225
225
  export type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
226
- export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus';
226
+ export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus' | 'project' | 'reservationNumber' | 'bookingTime' | 'modifiedTime' | 'underName' | 'checkedIn' | 'attended';
227
227
  export type IObjectSubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
228
228
  export type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
229
229
  export type IMinimizedObjectSubReservation = Pick<IObjectSubReservation, 'typeOf' | 'id' | 'subReservation'> & {
@@ -237,6 +237,9 @@ export interface IObject extends Pick<IReservationPackage, 'broker' | 'provider'
237
237
  acceptedOffer?: IAcceptedOffer4object[];
238
238
  issuedThrough?: IIssuedThrough;
239
239
  reservationFor?: IReservationFor;
240
+ /**
241
+ * 予約番号
242
+ */
240
243
  reservationNumber: string;
241
244
  subReservation?: IObjectSubReservation[];
242
245
  /**
package/lib/order.d.ts CHANGED
@@ -122,11 +122,11 @@ export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFo
122
122
  export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
123
123
  ticketType: ITicketType;
124
124
  };
125
- export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
125
+ export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
126
126
  reservationFor: ITripAsReservationFor;
127
127
  reservedTicket: IReservedTicket;
128
128
  };
129
- export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
129
+ export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
130
130
  reservationFor: IEventAsReservationFor;
131
131
  reservedTicket: IReservedTicket;
132
132
  };
@@ -22,9 +22,10 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
22
22
  id: string;
23
23
  }
24
24
  /**
25
- * イベント予約
25
+ * トリップ予約
26
26
  */
27
27
  export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
28
+ bookingTime: Date;
28
29
  id: string;
29
30
  issuedThrough: IIssuedThrough;
30
31
  reservationFor: IReservationFor;
@@ -49,6 +49,7 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
49
49
  * イベント予約
50
50
  */
51
51
  export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
52
+ bookingTime: Date;
52
53
  id: string;
53
54
  issuedThrough: IIssuedThrough;
54
55
  reservationFor: IReservationFor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.365.0",
3
+ "version": "4.366.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",