@chevre/factory 4.367.0-alpha.4 → 4.367.0-alpha.6
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
|
@@ -89,28 +89,6 @@ export interface IReferencedInvoice {
|
|
|
89
89
|
additionalProperty: IPropertyValue<string>[];
|
|
90
90
|
issuedThrough: IOrderPaymentMethodIssuedThrough;
|
|
91
91
|
}
|
|
92
|
-
/**
|
|
93
|
-
* ディスカウント
|
|
94
|
-
*/
|
|
95
|
-
export interface IDiscount {
|
|
96
|
-
/**
|
|
97
|
-
* 割引タイプ
|
|
98
|
-
*/
|
|
99
|
-
typeOf: string;
|
|
100
|
-
name: string;
|
|
101
|
-
/**
|
|
102
|
-
* Any discount applied.
|
|
103
|
-
*/
|
|
104
|
-
discount: number;
|
|
105
|
-
/**
|
|
106
|
-
* Code used to redeem a discount.
|
|
107
|
-
*/
|
|
108
|
-
discountCode: string;
|
|
109
|
-
/**
|
|
110
|
-
* The currency (in 3 - letter ISO 4217 format) of the discount.
|
|
111
|
-
*/
|
|
112
|
-
discountCurrency: string;
|
|
113
|
-
}
|
|
114
92
|
export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
115
93
|
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
116
94
|
workPerformed: IWorkPerformed;
|
|
@@ -304,10 +282,6 @@ export interface IOrder extends ISimpleOrder {
|
|
|
304
282
|
* Date order was returned.
|
|
305
283
|
*/
|
|
306
284
|
dateReturned?: Date;
|
|
307
|
-
/**
|
|
308
|
-
* discount infos
|
|
309
|
-
*/
|
|
310
|
-
discounts: IDiscount[];
|
|
311
285
|
/**
|
|
312
286
|
* The identifier property represents any kind of identifier for any kind of Thing
|
|
313
287
|
*/
|