@chevre/factory 4.280.0-alpha.0 → 4.280.0-alpha.10
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/action/authorize/offer/seatReservation.d.ts +4 -2
- package/lib/action/cancel/reservation.d.ts +15 -2
- package/lib/action/interact/confirm/reservation.d.ts +1 -1
- package/lib/action/reserve.d.ts +17 -14
- package/lib/additionalProperty.d.ts +1 -1
- package/lib/assetTransaction/reserve.d.ts +2 -18
- package/lib/event/screeningEvent.d.ts +6 -5
- package/lib/event/screeningEventSeries.d.ts +1 -2
- package/lib/event.d.ts +3 -2
- package/lib/index.d.ts +2 -0
- package/lib/order.d.ts +1 -5
- package/lib/reservation/event.d.ts +2 -6
- package/lib/reservation.d.ts +7 -8
- package/package.json +1 -1
|
@@ -19,8 +19,8 @@ export declare enum ObjectType {
|
|
|
19
19
|
SeatReservation = "SeatReservation"
|
|
20
20
|
}
|
|
21
21
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
22
|
-
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ?
|
|
23
|
-
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ?
|
|
22
|
+
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
|
|
23
|
+
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? {} : never;
|
|
24
24
|
export declare type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
|
|
25
25
|
/**
|
|
26
26
|
* 承認アクション結果
|
|
@@ -42,10 +42,12 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
|
42
42
|
requestEndpoint?: string;
|
|
43
43
|
/**
|
|
44
44
|
* 外部サービスへのリクエスト
|
|
45
|
+
* COAの場合存在する
|
|
45
46
|
*/
|
|
46
47
|
requestBody: IRequestBody<T>;
|
|
47
48
|
/**
|
|
48
49
|
* 外部サービスからのレスポンス
|
|
50
|
+
* COAの場合存在する
|
|
49
51
|
*/
|
|
50
52
|
responseBody: IResponseBody<T>;
|
|
51
53
|
acceptedOffers?: IResultAcceptedOffer[];
|
|
@@ -6,11 +6,22 @@ import { ProductType } from '../../product';
|
|
|
6
6
|
import { ReservationStatusType } from '../../reservationStatusType';
|
|
7
7
|
import { ReservationType } from '../../reservationType';
|
|
8
8
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
9
|
+
export interface IReservationPackageAsObject {
|
|
10
|
+
reservationFor: {
|
|
11
|
+
typeOf: EventType.ScreeningEvent;
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
reservationNumber: string;
|
|
15
|
+
/**
|
|
16
|
+
* previousReservationStatusを変更時に指定するために必要
|
|
17
|
+
*/
|
|
18
|
+
reservationStatus: ReservationStatusType;
|
|
19
|
+
typeOf: ReservationType.ReservationPackage;
|
|
20
|
+
}
|
|
9
21
|
/**
|
|
10
22
|
* 予約取消対象
|
|
11
23
|
*/
|
|
12
|
-
export interface
|
|
13
|
-
typeOf: ReservationType.EventReservation;
|
|
24
|
+
export interface IEventReservationAsObject {
|
|
14
25
|
id: string;
|
|
15
26
|
issuedThrough?: {
|
|
16
27
|
typeOf?: ProductType.EventService;
|
|
@@ -24,7 +35,9 @@ export interface IObject {
|
|
|
24
35
|
* previousReservationStatusを変更時に指定するために必要
|
|
25
36
|
*/
|
|
26
37
|
reservationStatus: ReservationStatusType;
|
|
38
|
+
typeOf: ReservationType.EventReservation;
|
|
27
39
|
}
|
|
40
|
+
export declare type IObject = IEventReservationAsObject | IReservationPackageAsObject;
|
|
28
41
|
/**
|
|
29
42
|
* 予約取消結果
|
|
30
43
|
*/
|
|
@@ -8,7 +8,7 @@ export declare type IObject4COA = COA.factory.reserve.IUpdReserveArgs & {
|
|
|
8
8
|
transactionNumber: string;
|
|
9
9
|
typeOf: 'COAReserveTransaction';
|
|
10
10
|
};
|
|
11
|
-
export declare type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | '
|
|
11
|
+
export declare type IObject4Chevre = Pick<ReserveTransactionFactory.IConfirmParams, 'transactionNumber' | 'potentialActions'> & {
|
|
12
12
|
transactionNumber: string;
|
|
13
13
|
typeOf: AssetTransactionType.Reserve;
|
|
14
14
|
};
|
package/lib/action/reserve.d.ts
CHANGED
|
@@ -2,18 +2,25 @@ import * as ActionFactory from '../action';
|
|
|
2
2
|
import { ActionType } from '../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { OrderType } from '../order';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { IUnderName } from '../reservation';
|
|
6
|
+
import { IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
7
|
+
import { ReservationStatusType } from '../reservationStatusType';
|
|
8
|
+
import { ReservationType } from '../reservationType';
|
|
7
9
|
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
8
10
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
export declare type ISubReservation = Omit<IEventReservation, 'reservationFor'>;
|
|
12
|
+
export interface IReservationPackageAsObject {
|
|
13
|
+
reservationFor: IReservationFor;
|
|
14
|
+
reservationNumber: string;
|
|
15
|
+
reservationStatus: ReservationStatusType;
|
|
16
|
+
subReservation?: ISubReservation[];
|
|
17
|
+
underName?: IUnderName;
|
|
18
|
+
typeOf: ReservationType.ReservationPackage;
|
|
19
|
+
}
|
|
20
|
+
export declare type IObject = IEventReservation | IReservationPackageAsObject;
|
|
21
|
+
export interface IResult {
|
|
22
|
+
confirmedReservationId?: string;
|
|
23
|
+
}
|
|
17
24
|
export interface IOrderAsReservePurpose {
|
|
18
25
|
typeOf: OrderType.Order;
|
|
19
26
|
confirmationNumber?: string;
|
|
@@ -30,13 +37,9 @@ export interface IAssetTransactionAsReservePurpose {
|
|
|
30
37
|
id: string;
|
|
31
38
|
}
|
|
32
39
|
export declare type IPurpose = IOrderAsReservePurpose | IAssetTransactionAsReservePurpose;
|
|
33
|
-
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
34
40
|
export interface IPotentialActions {
|
|
35
41
|
moneyTransfer?: IMoneyTransferActionAttributes[];
|
|
36
42
|
}
|
|
37
|
-
/**
|
|
38
|
-
* アクション属性
|
|
39
|
-
*/
|
|
40
43
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ReserveAction, IObject, IResult> {
|
|
41
44
|
agent: IAgent;
|
|
42
45
|
potentialActions?: IPotentialActions;
|
|
@@ -3,7 +3,7 @@ import { IMultilingualString } from './multilingualString';
|
|
|
3
3
|
import { IProject } from './project';
|
|
4
4
|
import { SortType } from './sortType';
|
|
5
5
|
import { IThing } from './thing';
|
|
6
|
-
export declare type CategorySetIdentifier = EventType.ScreeningEventSeries;
|
|
6
|
+
export declare type CategorySetIdentifier = EventType.ScreeningEvent | EventType.ScreeningEventSeries;
|
|
7
7
|
/**
|
|
8
8
|
* {@link https://schema.org/CategoryCodeSet}
|
|
9
9
|
*/
|
|
@@ -7,7 +7,7 @@ import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
|
|
|
7
7
|
import { IPointAward } from '../product';
|
|
8
8
|
import { IPropertyValue } from '../propertyValue';
|
|
9
9
|
import * as ReservationFactory from '../reservation';
|
|
10
|
-
import {
|
|
10
|
+
import { IReservationFor as IEventReservationReservationFor, ISubReservation as ISubReservation4eventReservation } from '../reservation/event';
|
|
11
11
|
import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
|
|
12
12
|
import { ReservationType } from '../reservationType';
|
|
13
13
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
@@ -162,16 +162,6 @@ export interface IAcceptedOffer4object {
|
|
|
162
162
|
* 確定時予約
|
|
163
163
|
* 指定することで、予約属性を確定時に上書きすることができる
|
|
164
164
|
*/
|
|
165
|
-
export interface IConfirmingReservation {
|
|
166
|
-
id: string;
|
|
167
|
-
reservedTicket?: {
|
|
168
|
-
/**
|
|
169
|
-
* チケット発行者
|
|
170
|
-
*/
|
|
171
|
-
issuedBy?: ReservationFactory.IUnderName;
|
|
172
|
-
};
|
|
173
|
-
underName?: ReservationFactory.IUnderName;
|
|
174
|
-
}
|
|
175
165
|
export interface IPotentialActionsParams {
|
|
176
166
|
reserve?: {
|
|
177
167
|
purpose?: ReserveActionFactory.IOrderAsReservePurpose;
|
|
@@ -183,12 +173,6 @@ export interface IPotentialActionsParams {
|
|
|
183
173
|
export interface IConfirmParams {
|
|
184
174
|
id?: string;
|
|
185
175
|
transactionNumber?: string;
|
|
186
|
-
object?: {
|
|
187
|
-
/**
|
|
188
|
-
* 最終的な予約の属性を指定
|
|
189
|
-
*/
|
|
190
|
-
reservations: IConfirmingReservation[];
|
|
191
|
-
};
|
|
192
176
|
potentialActions?: IPotentialActionsParams;
|
|
193
177
|
}
|
|
194
178
|
export interface IResult {
|
|
@@ -205,7 +189,7 @@ export interface IObjectWithoutDetail {
|
|
|
205
189
|
};
|
|
206
190
|
}
|
|
207
191
|
export declare type IReservationFor = IEventReservationReservationFor;
|
|
208
|
-
export declare type IObjectSubReservation =
|
|
192
|
+
export declare type IObjectSubReservation = ReserveActionFactory.ISubReservation;
|
|
209
193
|
/**
|
|
210
194
|
* 取引対象物
|
|
211
195
|
*/
|
|
@@ -9,7 +9,6 @@ import { OrganizationType } from '../organizationType';
|
|
|
9
9
|
import { PlaceType } from '../placeType';
|
|
10
10
|
import { PriceCurrency } from '../priceCurrency';
|
|
11
11
|
import { IServiceType as IProductServiceType } from '../product';
|
|
12
|
-
import { IProject } from '../project';
|
|
13
12
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
14
13
|
import * as ReservationFactory from '../reservation';
|
|
15
14
|
import { ReservationType } from '../reservationType';
|
|
@@ -122,7 +121,6 @@ export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, '
|
|
|
122
121
|
* イベントに対するオファー
|
|
123
122
|
*/
|
|
124
123
|
export interface IOffer {
|
|
125
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
126
124
|
typeOf: OfferType.Offer;
|
|
127
125
|
priceCurrency: PriceCurrency.JPY;
|
|
128
126
|
/**
|
|
@@ -150,7 +148,7 @@ export interface IOffer {
|
|
|
150
148
|
unacceptedPaymentMethod?: string[];
|
|
151
149
|
seller: ISeller;
|
|
152
150
|
}
|
|
153
|
-
export declare type IOffer4COA = Pick<IOffer, '
|
|
151
|
+
export declare type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough' | 'priceCurrency'>;
|
|
154
152
|
export interface ICOAInfo {
|
|
155
153
|
theaterCode: string;
|
|
156
154
|
dateJouei: string;
|
|
@@ -221,7 +219,6 @@ export declare type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
|
|
|
221
219
|
};
|
|
222
220
|
export declare type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
|
|
223
221
|
export interface ILocation {
|
|
224
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
225
222
|
/**
|
|
226
223
|
* 場所タイプ
|
|
227
224
|
*/
|
|
@@ -317,7 +314,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
317
314
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
318
315
|
export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
319
316
|
export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
320
|
-
export declare type ISeller4create = Pick<ISeller, '
|
|
317
|
+
export declare type ISeller4create = Pick<ISeller, 'makesOffer'>;
|
|
321
318
|
export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
322
319
|
/**
|
|
323
320
|
* 最大予約数を指定
|
|
@@ -343,6 +340,10 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
|
|
|
343
340
|
superEvent: ISuperEvent4create;
|
|
344
341
|
offers: IOffers4create;
|
|
345
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* イベント更新パラメータ
|
|
345
|
+
*/
|
|
346
|
+
export declare type IUpdateParams = ICreateParams;
|
|
346
347
|
/**
|
|
347
348
|
* ソート条件
|
|
348
349
|
*/
|
|
@@ -30,7 +30,7 @@ export interface ISoundFormat {
|
|
|
30
30
|
* コンテンツ
|
|
31
31
|
* contentRatingはCOAのみ存在
|
|
32
32
|
*/
|
|
33
|
-
export declare type IWorkPerformed = Pick<IMovie, '
|
|
33
|
+
export declare type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'>;
|
|
34
34
|
export interface IOrganizer {
|
|
35
35
|
typeOf: OrganizationType.Corporation;
|
|
36
36
|
identifier: string;
|
|
@@ -67,7 +67,6 @@ export interface ICOAInfo {
|
|
|
67
67
|
dateMvtkBegin: string;
|
|
68
68
|
}
|
|
69
69
|
export interface ILocation {
|
|
70
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
71
70
|
typeOf: PlaceType.MovieTheater;
|
|
72
71
|
/**
|
|
73
72
|
* 施設ID
|
package/lib/event.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as PlaceFactory from './place';
|
|
|
7
7
|
import { IProject } from './project';
|
|
8
8
|
import { IPropertyValue } from './propertyValue';
|
|
9
9
|
import { SortType } from './sortType';
|
|
10
|
+
export declare type IOffer = Omit<OfferFactory.IOffer, 'project'>;
|
|
10
11
|
export interface IAttributes<T extends EventType> {
|
|
11
12
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
12
13
|
/**
|
|
@@ -51,7 +52,7 @@ export interface IAttributes<T extends EventType> {
|
|
|
51
52
|
/**
|
|
52
53
|
* イベントが実行される場所
|
|
53
54
|
*/
|
|
54
|
-
location?: PlaceFactory.IPlace
|
|
55
|
+
location?: Omit<PlaceFactory.IPlace, 'project'>;
|
|
55
56
|
/**
|
|
56
57
|
* 最大収容人数
|
|
57
58
|
*/
|
|
@@ -60,7 +61,7 @@ export interface IAttributes<T extends EventType> {
|
|
|
60
61
|
* An offer to provide this item—for example, an offer to sell a product,
|
|
61
62
|
* rent the DVD of a movie, perform a service, or give away tickets to an event.
|
|
62
63
|
*/
|
|
63
|
-
offers?:
|
|
64
|
+
offers?: IOffer | IOffer[];
|
|
64
65
|
/**
|
|
65
66
|
* 残り収容人数
|
|
66
67
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export declare namespace event {
|
|
|
298
298
|
type IAttributes<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IAttributes : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IAttributes : never;
|
|
299
299
|
type IEvent<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IEvent : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.IEvent : never;
|
|
300
300
|
type ICreateParams<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.ICreateParams : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ICreateParams : never;
|
|
301
|
+
type IUpdateParams<T extends EventType> = T extends EventType.ScreeningEvent ? ScreeningEventFactory.IUpdateParams : T extends EventType.ScreeningEventSeries ? ScreeningEventSeriesFactory.ICreateParams : never;
|
|
301
302
|
export import screeningEvent = ScreeningEventFactory;
|
|
302
303
|
export import screeningEventSeries = ScreeningEventSeriesFactory;
|
|
303
304
|
}
|
|
@@ -374,6 +375,7 @@ export declare namespace reservation {
|
|
|
374
375
|
type ISubReservation<T extends ReservationType> = T extends ReservationType.EventReservation ? EventReservationFactory.ISubReservation : T extends ReservationType.ReservationPackage ? ReservationPackageFactory.ISubReservation : any;
|
|
375
376
|
export import ITicket = ReservationFactory.ITicket;
|
|
376
377
|
type IUnderName<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IUnderName : ReservationFactory.IUnderName;
|
|
378
|
+
type ITicketIssuedBy<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.ITicketIssuedBy : ReservationFactory.ITicketIssuedBy;
|
|
377
379
|
type TicketType<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.TicketType : ReservationFactory.TicketType;
|
|
378
380
|
type ITicketType<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.ITicketType : ReservationFactory.ITicketType;
|
|
379
381
|
}
|
package/lib/order.d.ts
CHANGED
|
@@ -86,14 +86,13 @@ export interface IDiscount {
|
|
|
86
86
|
*/
|
|
87
87
|
discountCurrency: string;
|
|
88
88
|
}
|
|
89
|
-
export declare type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, '
|
|
89
|
+
export declare type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
90
90
|
export declare type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
|
|
91
91
|
workPerformed: IWorkPerformed;
|
|
92
92
|
};
|
|
93
93
|
export declare type IReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
|
|
94
94
|
superEvent: ISuperEvent;
|
|
95
95
|
};
|
|
96
|
-
export declare type IReservedTicketType = Pick<ITicketType, 'additionalProperty' | 'description' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'project' | 'typeOf'>;
|
|
97
96
|
export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
|
|
98
97
|
ticketType: ITicketType;
|
|
99
98
|
};
|
|
@@ -225,10 +224,8 @@ export interface IReservationFor4OrderedItem {
|
|
|
225
224
|
location?: {
|
|
226
225
|
branchCode: string;
|
|
227
226
|
name?: IMultilingualString;
|
|
228
|
-
project: IProject;
|
|
229
227
|
typeOf: PlaceType.ScreeningRoom;
|
|
230
228
|
};
|
|
231
|
-
project: IProject;
|
|
232
229
|
typeOf: EventType.ScreeningEvent;
|
|
233
230
|
id: string;
|
|
234
231
|
name?: IMultilingualString;
|
|
@@ -236,7 +233,6 @@ export interface IReservationFor4OrderedItem {
|
|
|
236
233
|
endDate?: Date;
|
|
237
234
|
}
|
|
238
235
|
export interface IEventServiceAsOrderedItem {
|
|
239
|
-
project: IProject;
|
|
240
236
|
typeOf: ProductType.EventService;
|
|
241
237
|
serviceOutput: {
|
|
242
238
|
typeOf: ReservationType.EventReservation | ReservationType.ReservationPackage;
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent, IWorkPerformed } from '../event/screeningEvent';
|
|
2
|
-
import { EventStatusType } from '../eventStatusType';
|
|
3
2
|
import { EventType } from '../eventType';
|
|
4
3
|
import { IMultilingualString } from '../multilingualString';
|
|
5
4
|
import { ITicketPriceComponent, ITicketPriceSpecification } from '../order';
|
|
6
|
-
import { IProject } from '../project';
|
|
7
5
|
import * as ReservationFactory from '../reservation';
|
|
8
6
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
9
7
|
import { ReservationType } from '../reservationType';
|
|
10
|
-
export declare type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'name'> & {
|
|
8
|
+
export declare type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'project' | 'name'> & {
|
|
11
9
|
name?: string | IMultilingualString;
|
|
12
10
|
};
|
|
13
|
-
export declare type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'kanaName' | 'location' | 'name' | '
|
|
11
|
+
export declare type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'kanaName' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
14
12
|
workPerformed: IOptimizedWorkPerformed;
|
|
15
13
|
};
|
|
16
14
|
export interface IReservationFor {
|
|
17
15
|
endDate: Date;
|
|
18
|
-
eventStatus: EventStatusType;
|
|
19
16
|
id: string;
|
|
20
17
|
/**
|
|
21
18
|
* COA予約でのみ使用されている
|
|
@@ -28,7 +25,6 @@ export interface IReservationFor {
|
|
|
28
25
|
coaInfo?: ICOAInfo;
|
|
29
26
|
location: IEventLocation;
|
|
30
27
|
name: IEventName;
|
|
31
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
32
28
|
startDate: Date;
|
|
33
29
|
superEvent: IOptimizedSuperEvent;
|
|
34
30
|
typeOf: EventType.ScreeningEvent;
|
package/lib/reservation.d.ts
CHANGED
|
@@ -27,9 +27,7 @@ export interface ITicketType {
|
|
|
27
27
|
id?: string;
|
|
28
28
|
identifier: string;
|
|
29
29
|
name?: string | IMultilingualString;
|
|
30
|
-
|
|
31
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
32
|
-
typeOf: OfferType;
|
|
30
|
+
typeOf: OfferType.Offer;
|
|
33
31
|
validRateLimit?: OfferFactory.IValidRateLimit;
|
|
34
32
|
}
|
|
35
33
|
export declare type IPriceSpecification = IGenericPriceSpecification<PriceSpecificationType>;
|
|
@@ -101,6 +99,10 @@ export declare type IReservationFor = any;
|
|
|
101
99
|
/**
|
|
102
100
|
* 予約チケット情報
|
|
103
101
|
*/
|
|
102
|
+
export interface ITicketIssuedBy {
|
|
103
|
+
typeOf: IUnderNameType;
|
|
104
|
+
name: string;
|
|
105
|
+
}
|
|
104
106
|
export interface ITicket {
|
|
105
107
|
typeOf: TicketType;
|
|
106
108
|
/**
|
|
@@ -114,14 +116,13 @@ export interface ITicket {
|
|
|
114
116
|
/**
|
|
115
117
|
* The organization issuing the ticket or permit.
|
|
116
118
|
*/
|
|
117
|
-
issuedBy?:
|
|
119
|
+
issuedBy?: ITicketIssuedBy;
|
|
118
120
|
/**
|
|
119
121
|
* The total price for the reservation or ticket, including applicable taxes, shipping, etc.
|
|
120
122
|
*/
|
|
121
123
|
/**
|
|
122
124
|
* The currency (in 3-letter ISO 4217 format) of the Reservation's price.
|
|
123
125
|
*/
|
|
124
|
-
priceCurrency?: PriceCurrency;
|
|
125
126
|
/**
|
|
126
127
|
* The seat associated with the ticket.
|
|
127
128
|
* 座席指定でない場合、この値は存在しない
|
|
@@ -130,7 +131,6 @@ export interface ITicket {
|
|
|
130
131
|
/**
|
|
131
132
|
* Where the ticket can be downloaded.
|
|
132
133
|
*/
|
|
133
|
-
ticketDownloadUrl?: string;
|
|
134
134
|
/**
|
|
135
135
|
* The number or id of the ticket.
|
|
136
136
|
*/
|
|
@@ -138,7 +138,6 @@ export interface ITicket {
|
|
|
138
138
|
/**
|
|
139
139
|
* Where the ticket can be printed.
|
|
140
140
|
*/
|
|
141
|
-
ticketPrintUrl?: string;
|
|
142
141
|
/**
|
|
143
142
|
* 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,
|
|
144
143
|
* such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes),
|
|
@@ -147,8 +146,8 @@ export interface ITicket {
|
|
|
147
146
|
ticketToken?: string;
|
|
148
147
|
/**
|
|
149
148
|
* The person or organization the reservation is for.
|
|
149
|
+
* ルートのunderNameに統合(2022-12-19~)
|
|
150
150
|
*/
|
|
151
|
-
underName?: IUnderName;
|
|
152
151
|
/**
|
|
153
152
|
* 券種
|
|
154
153
|
*/
|