@chevre/factory 4.389.0-alpha.10 → 4.389.0-alpha.12

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.
@@ -28,13 +28,16 @@ export interface IOfferWithAggregateReservation {
28
28
  typeOf: OfferType.Offer;
29
29
  id: string;
30
30
  identifier: string;
31
- aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'attendeeCount' | 'checkInCount' | 'reservationCount'>;
31
+ aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'reservationCount'> & {
32
+ attendeeCount?: never;
33
+ checkInCount?: never;
34
+ };
32
35
  category?: OfferFactory.ICategory;
33
36
  maximumAttendeeCapacity?: number;
34
37
  remainingAttendeeCapacity?: number;
35
38
  }
36
39
  /**
37
- * オファー集計
40
+ * オファー集計(オファーカテゴリーごと)
38
41
  */
39
42
  export interface IAggregateOffer {
40
43
  typeOf: OfferType.AggregateOffer;
@@ -42,6 +45,9 @@ export interface IAggregateOffer {
42
45
  offerCount?: number;
43
46
  offers?: IOfferWithAggregateReservation[];
44
47
  }
48
+ /**
49
+ * 入場ゲートにおけるオファー集計(オファーカテゴリーごと)
50
+ */
45
51
  export interface IAggregateOfferOfPlace {
46
52
  typeOf: OfferType.AggregateOffer;
47
53
  offers?: {
@@ -206,16 +212,10 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
206
212
  * 参加数
207
213
  */
208
214
  attendeeCount?: Number;
209
- /**
210
- * 入場ゲート集計
211
- */
212
215
  /**
213
216
  * 予約集計
214
217
  */
215
218
  aggregateReservation?: IAggregateReservation;
216
- /**
217
- * オファー集計
218
- */
219
219
  organizer: IOrganizer;
220
220
  }
221
221
  /**
package/lib/schedule.d.ts CHANGED
@@ -5,6 +5,9 @@ export interface ISchedule4ttts {
5
5
  id: string;
6
6
  typeOf: OrganizationType.Project;
7
7
  };
8
+ /**
9
+ * スケジュールID
10
+ */
8
11
  id?: string;
9
12
  offers?: {
10
13
  itemOffered?: {
@@ -22,12 +25,12 @@ export interface ISchedule4ttts {
22
25
  }[];
23
26
  };
24
27
  };
25
- film: string;
26
- theater: string;
27
- /**
28
- * 興行プロダクトID
29
- * @deprecated use offers.itemOffered.id
30
- */
28
+ superEvent?: {
29
+ /**
30
+ * 施設コンテンツID
31
+ */
32
+ id?: string;
33
+ };
31
34
  duration: number;
32
35
  noPerformanceTimes: string[];
33
36
  /**
@@ -16,6 +16,10 @@ export interface IActionInstrument {
16
16
  createScreeningEventSeriesOnAllLocation?: boolean;
17
17
  }
18
18
  export interface IEventBySchedule {
19
+ /**
20
+ * スケジュールを作成し始める日(Asia/Tokyoでこの日から作成される)
21
+ */
22
+ startDate?: Date;
19
23
  eventSchedule: {
20
24
  id: string;
21
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.389.0-alpha.10",
3
+ "version": "4.389.0-alpha.12",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",