@chevre/factory 6.2.0-alpha.7 → 6.2.0-alpha.8

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
@@ -84,8 +84,8 @@ export interface IReferencedInvoice {
84
84
  issuedThrough: IOrderPaymentMethodIssuedThrough;
85
85
  referencesOrder?: never;
86
86
  }
87
- export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
88
- export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
87
+ export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformedLegacy, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
88
+ export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEventLegacy, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
89
89
  workPerformed: IWorkPerformed;
90
90
  identifier?: never;
91
91
  alternativeHeadline?: never;
@@ -95,7 +95,7 @@ export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id
95
95
  /**
96
96
  * COAの場合の施設コンテンツ
97
97
  */
98
- export type ICOASuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & Pick<IEventSeries, 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
98
+ export type ICOASuperEvent = Pick<EventReservationFactory.IOptimizedSuperEventLegacy, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & Pick<IEventSeries, 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
99
99
  workPerformed: IWorkPerformed;
100
100
  };
101
101
  export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationForLegacy, 'superEvent' | 'identifier' | 'coaInfo'> & {
@@ -14,14 +14,14 @@ import * as ReservationFactory from '../reservation';
14
14
  import { ReservationStatusType } from '../reservationStatusType';
15
15
  import { ReservationType } from '../reservationType';
16
16
  import { SortType } from '../sortType';
17
- export type IOptimizedWorkPerformed = Pick<IWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'duration' | 'contentRating' | 'version'> & {
17
+ export type IOptimizedWorkPerformedLegacy = Pick<IWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'duration' | 'contentRating' | 'version'> & {
18
18
  name?: string | IMultilingualString;
19
19
  };
20
20
  /**
21
21
  * 予約対象施設コンテンツ
22
22
  */
23
- export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
24
- workPerformed: IOptimizedWorkPerformed;
23
+ export type IOptimizedSuperEventLegacy = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
24
+ workPerformed: IOptimizedWorkPerformedLegacy;
25
25
  /**
26
26
  * COA予約でのみ使用
27
27
  */
@@ -48,7 +48,7 @@ export interface IReservationForLegacy {
48
48
  location: IEventLocation;
49
49
  name: IEventName;
50
50
  startDate: Date;
51
- superEvent: IOptimizedSuperEvent;
51
+ superEvent: IOptimizedSuperEventLegacy;
52
52
  typeOf: EventType.ScreeningEvent;
53
53
  doorTime?: Date;
54
54
  /**
@@ -60,6 +60,22 @@ export interface IReservationForLegacy {
60
60
  */
61
61
  coaInfo?: never;
62
62
  }
63
+ export type IMinimizedWorkPerformed = Pick<IWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'version'> & {
64
+ duration?: never;
65
+ contentRating?: never;
66
+ name?: never;
67
+ };
68
+ /**
69
+ * 予約対象施設コンテンツ
70
+ */
71
+ export type IMinimizedSuperEvent = Pick<ISuperEvent, 'id' | 'location' | 'typeOf'> & {
72
+ workPerformed: IMinimizedWorkPerformed;
73
+ } & {
74
+ additionalProperty?: never;
75
+ name?: never;
76
+ soundFormat?: never;
77
+ headline?: never;
78
+ };
63
79
  /**
64
80
  * 最小化された予約対象イベント
65
81
  * 2026-04-05~
@@ -69,6 +85,10 @@ export interface IReservationForMinimized {
69
85
  startDate: Date;
70
86
  typeOf: EventType.ScreeningEvent;
71
87
  endDate: Date;
88
+ doorTime?: Date;
89
+ location: IEventLocation;
90
+ superEvent: IMinimizedSuperEvent;
91
+ name?: never;
72
92
  }
73
93
  export type ICategoryChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
74
94
  export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "6.2.0-alpha.7",
3
+ "version": "6.2.0-alpha.8",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",