@chevre/factory 4.367.0-alpha.3 → 4.367.0-alpha.5
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.
|
@@ -71,12 +71,16 @@ export interface IBusReservatonAsItemOfferedServiceOutput {
|
|
|
71
71
|
additionalTicketText?: string;
|
|
72
72
|
programMembershipUsed?: IAcceptedProgramMembershipUsed;
|
|
73
73
|
reservedTicket?: {
|
|
74
|
+
/**
|
|
75
|
+
* チケット識別子
|
|
76
|
+
* 指定された場合、決済カードの対象チケット識別子と関連付けされます
|
|
77
|
+
* /^[0-9a-zA-Z]{8,16}$/
|
|
78
|
+
*/
|
|
79
|
+
identifier?: string;
|
|
74
80
|
issuedBy?: ReservationFactory.IUnderName;
|
|
75
81
|
typeOf: ReservationFactory.TicketType;
|
|
76
82
|
/**
|
|
77
|
-
*
|
|
78
|
-
* 指定席イベントの場合、座席を指定
|
|
79
|
-
* 自由席イベントの場合、あるいは、最大収容人数がないイベントの場合は、座席指定不要
|
|
83
|
+
* 座席指定
|
|
80
84
|
*/
|
|
81
85
|
ticketedSeat?: ReservationFactory.ISeat;
|
|
82
86
|
};
|
|
@@ -94,12 +98,16 @@ export interface IEventReservatonAsItemOfferedServiceOutput {
|
|
|
94
98
|
additionalTicketText?: string;
|
|
95
99
|
programMembershipUsed?: IAcceptedProgramMembershipUsed;
|
|
96
100
|
reservedTicket?: {
|
|
101
|
+
/**
|
|
102
|
+
* チケット識別子
|
|
103
|
+
* 指定された場合、決済カードの対象チケット識別子と関連付けされます
|
|
104
|
+
* /^[0-9a-zA-Z]{8,16}$/
|
|
105
|
+
*/
|
|
106
|
+
identifier?: string;
|
|
97
107
|
issuedBy?: ReservationFactory.IUnderName;
|
|
98
108
|
typeOf: ReservationFactory.TicketType;
|
|
99
109
|
/**
|
|
100
|
-
*
|
|
101
|
-
* 指定席イベントの場合、座席を指定
|
|
102
|
-
* 自由席イベントの場合、あるいは、最大収容人数がないイベントの場合は、座席指定不要
|
|
110
|
+
* 座席指定
|
|
103
111
|
*/
|
|
104
112
|
ticketedSeat?: ReservationFactory.ISeat;
|
|
105
113
|
};
|
|
@@ -225,10 +233,6 @@ export interface IObjectWithoutDetail {
|
|
|
225
233
|
export type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
|
|
226
234
|
export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus' | 'project' | 'reservationNumber' | 'bookingTime' | 'modifiedTime' | 'underName' | 'checkedIn' | 'attended';
|
|
227
235
|
export type IObjectSubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
|
|
228
|
-
export type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
|
|
229
|
-
export type IMinimizedObjectSubReservation = Pick<IObjectSubReservation, 'typeOf' | 'id' | 'subReservation'> & {
|
|
230
|
-
reservedTicket: IObjectSubReservationReservedTicket;
|
|
231
|
-
};
|
|
232
236
|
export type IIssuedThrough = IBusReservationIssuedThrough | IEventReservationIssuedThrough;
|
|
233
237
|
/**
|
|
234
238
|
* 取引対象物
|
package/lib/order.d.ts
CHANGED
|
@@ -119,7 +119,8 @@ export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
|
|
|
119
119
|
export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
|
|
120
120
|
superEvent: ISuperEvent;
|
|
121
121
|
};
|
|
122
|
-
export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | '
|
|
122
|
+
export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'identifier' | // 追加(2024-04-15~)
|
|
123
|
+
'ticketNumber' | 'dateIssued' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
|
|
123
124
|
ticketType: ITicketType;
|
|
124
125
|
};
|
|
125
126
|
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
package/lib/reservation.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export interface ITicket {
|
|
|
117
117
|
* The date the ticket was used.
|
|
118
118
|
*/
|
|
119
119
|
dateUsed?: Date;
|
|
120
|
+
/**
|
|
121
|
+
* チケット識別子
|
|
122
|
+
*/
|
|
123
|
+
identifier?: string;
|
|
120
124
|
/**
|
|
121
125
|
* The organization issuing the ticket or permit.
|
|
122
126
|
*/
|
|
@@ -133,7 +137,6 @@ export interface ITicket {
|
|
|
133
137
|
*/
|
|
134
138
|
ticketedSeat?: ISeat;
|
|
135
139
|
/**
|
|
136
|
-
* チケット識別子
|
|
137
140
|
* The unique identifier for the ticket.
|
|
138
141
|
*/
|
|
139
142
|
ticketNumber?: string;
|