@chevre/factory 4.367.0-alpha.2 → 4.367.0-alpha.4
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.
package/lib/order.d.ts
CHANGED
|
@@ -119,16 +119,15 @@ 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
|
-
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | '
|
|
126
|
-
'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
126
|
+
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
127
127
|
reservationFor: ITripAsReservationFor;
|
|
128
128
|
reservedTicket: IReservedTicket;
|
|
129
129
|
};
|
|
130
|
-
export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | '
|
|
131
|
-
'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
130
|
+
export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
132
131
|
reservationFor: IEventAsReservationFor;
|
|
133
132
|
reservedTicket: IReservedTicket;
|
|
134
133
|
};
|
|
@@ -6,10 +6,6 @@ export interface IMovieTicketReservationFor {
|
|
|
6
6
|
id: string;
|
|
7
7
|
}
|
|
8
8
|
export interface IMovieTicketServiceOutput {
|
|
9
|
-
/**
|
|
10
|
-
* 予約識別子
|
|
11
|
-
*/
|
|
12
|
-
identifier?: string;
|
|
13
9
|
/**
|
|
14
10
|
* 予約対象イベント
|
|
15
11
|
*/
|
|
@@ -18,6 +14,11 @@ export interface IMovieTicketServiceOutput {
|
|
|
18
14
|
* 予約チケット
|
|
19
15
|
*/
|
|
20
16
|
reservedTicket: {
|
|
17
|
+
/**
|
|
18
|
+
* チケット識別子
|
|
19
|
+
* 指定された場合、予約のチケット識別子と関連付けされます
|
|
20
|
+
*/
|
|
21
|
+
identifier?: string;
|
|
21
22
|
ticketedSeat: ISeat;
|
|
22
23
|
};
|
|
23
24
|
}
|
|
@@ -27,10 +27,6 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
|
27
27
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
28
28
|
bookingTime: Date;
|
|
29
29
|
id: string;
|
|
30
|
-
/**
|
|
31
|
-
* 予約識別子
|
|
32
|
-
*/
|
|
33
|
-
identifier?: string;
|
|
34
30
|
issuedThrough: IIssuedThrough;
|
|
35
31
|
reservationFor: IReservationFor;
|
|
36
32
|
reservationNumber: string;
|
|
@@ -51,10 +51,6 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
|
|
|
51
51
|
export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
|
|
52
52
|
bookingTime: Date;
|
|
53
53
|
id: string;
|
|
54
|
-
/**
|
|
55
|
-
* 予約識別子
|
|
56
|
-
*/
|
|
57
|
-
identifier?: string;
|
|
58
54
|
issuedThrough: IIssuedThrough;
|
|
59
55
|
reservationFor: IReservationFor;
|
|
60
56
|
reservationNumber: string;
|
package/lib/reservation.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ import { IPropertyValue } from './propertyValue';
|
|
|
19
19
|
import { ReservationStatusType } from './reservationStatusType';
|
|
20
20
|
import { ReservationType } from './reservationType';
|
|
21
21
|
import { SortType } from './sortType';
|
|
22
|
-
import { IThing } from './thing';
|
|
23
22
|
export type TicketType = 'Ticket';
|
|
24
23
|
export interface ITicketType {
|
|
25
24
|
additionalProperty?: IPropertyValue<string>[];
|
|
@@ -118,6 +117,10 @@ export interface ITicket {
|
|
|
118
117
|
* The date the ticket was used.
|
|
119
118
|
*/
|
|
120
119
|
dateUsed?: Date;
|
|
120
|
+
/**
|
|
121
|
+
* チケット識別子
|
|
122
|
+
*/
|
|
123
|
+
identifier?: string;
|
|
121
124
|
/**
|
|
122
125
|
* The organization issuing the ticket or permit.
|
|
123
126
|
*/
|
|
@@ -134,15 +137,9 @@ export interface ITicket {
|
|
|
134
137
|
*/
|
|
135
138
|
ticketedSeat?: ISeat;
|
|
136
139
|
/**
|
|
137
|
-
*
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* The number or id of the ticket.
|
|
140
|
+
* The unique identifier for the ticket.
|
|
141
141
|
*/
|
|
142
142
|
ticketNumber?: string;
|
|
143
|
-
/**
|
|
144
|
-
* Where the ticket can be printed.
|
|
145
|
-
*/
|
|
146
143
|
/**
|
|
147
144
|
* If the barcode image is hosted on your site, the value of the field is URL of the image, or a barcode or QR URI,
|
|
148
145
|
* such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes),
|
|
@@ -150,11 +147,7 @@ export interface ITicket {
|
|
|
150
147
|
*/
|
|
151
148
|
ticketToken?: string;
|
|
152
149
|
/**
|
|
153
|
-
*
|
|
154
|
-
* ルートのunderNameに統合(2022-12-19~)
|
|
155
|
-
*/
|
|
156
|
-
/**
|
|
157
|
-
* 券種
|
|
150
|
+
* オファー
|
|
158
151
|
*/
|
|
159
152
|
ticketType: ITicketType;
|
|
160
153
|
/**
|
|
@@ -204,7 +197,7 @@ export interface IProvider {
|
|
|
204
197
|
* For offers of tickets, restaurant reservations, flights, or rental cars, use Offer.
|
|
205
198
|
* {@link https://schema.org/Reservation}
|
|
206
199
|
*/
|
|
207
|
-
export interface IReservation<T extends Omit<IPriceSpecification, 'project'>>
|
|
200
|
+
export interface IReservation<T extends Omit<IPriceSpecification, 'project'>> {
|
|
208
201
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
209
202
|
/**
|
|
210
203
|
* type of object
|