@chevre/factory 4.364.0-alpha.2 → 4.364.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/event/anyEvent.d.ts +17 -17
- package/lib/event/screeningEvent.d.ts +1 -6
- package/package.json +1 -1
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import { IServiceType as IProductServiceType, ProductType } from '../product';
|
|
|
9
9
|
import * as ReservationFactory from '../reservation';
|
|
10
10
|
import { ReservationType } from '../reservationType';
|
|
11
11
|
import * as WebAPIFactory from '../service/webAPI';
|
|
12
|
-
import { IThing } from '../thing';
|
|
13
12
|
import { ITripWithDetails as IBusTrip } from '../trip/busTrip';
|
|
14
13
|
/**
|
|
15
14
|
* 予約集計
|
|
@@ -25,11 +24,11 @@ export interface IAggregateReservation {
|
|
|
25
24
|
/**
|
|
26
25
|
* 予約集計つきオファー
|
|
27
26
|
*/
|
|
28
|
-
export interface IOfferWithAggregateReservation
|
|
27
|
+
export interface IOfferWithAggregateReservation {
|
|
29
28
|
typeOf: OfferType.Offer;
|
|
30
|
-
id
|
|
31
|
-
identifier
|
|
32
|
-
aggregateReservation?: IAggregateReservation
|
|
29
|
+
id: string;
|
|
30
|
+
identifier: string;
|
|
31
|
+
aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'attendeeCount' | 'checkInCount' | 'reservationCount'>;
|
|
33
32
|
category?: OfferFactory.ICategory;
|
|
34
33
|
maximumAttendeeCapacity?: number;
|
|
35
34
|
remainingAttendeeCapacity?: number;
|
|
@@ -39,28 +38,31 @@ export interface IOfferWithAggregateReservation extends Pick<IThing, 'name'> {
|
|
|
39
38
|
*/
|
|
40
39
|
export interface IAggregateOffer {
|
|
41
40
|
typeOf: OfferType.AggregateOffer;
|
|
41
|
+
aggregateDate: Date;
|
|
42
42
|
offerCount?: number;
|
|
43
43
|
offers?: IOfferWithAggregateReservation[];
|
|
44
44
|
}
|
|
45
|
+
export interface IAggregateOfferOfPlace {
|
|
46
|
+
typeOf: OfferType.AggregateOffer;
|
|
47
|
+
offers?: {
|
|
48
|
+
typeOf: OfferType.Offer;
|
|
49
|
+
id: string;
|
|
50
|
+
identifier?: string;
|
|
51
|
+
category?: OfferFactory.ICategory;
|
|
52
|
+
aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'useActionCount'>;
|
|
53
|
+
}[];
|
|
54
|
+
}
|
|
45
55
|
export interface IPlaceWithAggregateOffer {
|
|
46
56
|
typeOf: PlaceType;
|
|
47
57
|
identifier?: string;
|
|
48
|
-
aggregateOffer?:
|
|
49
|
-
typeOf: OfferType.AggregateOffer;
|
|
50
|
-
offers?: {
|
|
51
|
-
typeOf: OfferType.Offer;
|
|
52
|
-
id?: string;
|
|
53
|
-
identifier?: string;
|
|
54
|
-
category?: OfferFactory.ICategory;
|
|
55
|
-
aggregateReservation?: IAggregateReservation;
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
|
+
aggregateOffer?: IAggregateOfferOfPlace;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* 入場ゲート集計
|
|
61
62
|
*/
|
|
62
63
|
export interface IAggregateEntranceGate {
|
|
63
64
|
typeOf: PlaceType.AggregatePlace;
|
|
65
|
+
aggregateDate: Date;
|
|
64
66
|
places: IPlaceWithAggregateOffer[];
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
@@ -223,7 +225,6 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
223
225
|
/**
|
|
224
226
|
* 入場ゲート集計
|
|
225
227
|
*/
|
|
226
|
-
aggregateEntranceGate?: IAggregateEntranceGate;
|
|
227
228
|
/**
|
|
228
229
|
* 予約集計
|
|
229
230
|
*/
|
|
@@ -231,7 +232,6 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
231
232
|
/**
|
|
232
233
|
* オファー集計
|
|
233
234
|
*/
|
|
234
|
-
aggregateOffer?: IAggregateOffer;
|
|
235
235
|
organizer: IOrganizer;
|
|
236
236
|
}
|
|
237
237
|
/**
|
|
@@ -9,11 +9,6 @@ import * as ReservationFactory from '../reservation';
|
|
|
9
9
|
import { ReservationType } from '../reservationType';
|
|
10
10
|
import * as WebAPIFactory from '../service/webAPI';
|
|
11
11
|
import * as AnyEventFactory from './anyEvent';
|
|
12
|
-
export import IAggregateReservation = AnyEventFactory.IAggregateReservation;
|
|
13
|
-
export import IOfferWithAggregateReservation = AnyEventFactory.IOfferWithAggregateReservation;
|
|
14
|
-
export import IAggregateOffer = AnyEventFactory.IAggregateOffer;
|
|
15
|
-
export import IPlaceWithAggregateOffer = AnyEventFactory.IPlaceWithAggregateOffer;
|
|
16
|
-
export import IAggregateEntranceGate = AnyEventFactory.IAggregateEntranceGate;
|
|
17
12
|
export interface IServiceOutput {
|
|
18
13
|
typeOf: ReservationType.EventReservation;
|
|
19
14
|
reservedTicket?: {
|
|
@@ -170,7 +165,7 @@ export import IName = AnyEventFactory.IName;
|
|
|
170
165
|
/**
|
|
171
166
|
* イベント属性
|
|
172
167
|
*/
|
|
173
|
-
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | '
|
|
168
|
+
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
|
|
174
169
|
/**
|
|
175
170
|
* 親イベント
|
|
176
171
|
* 施設コンテンツに相当
|