@chevre/factory 6.2.0-alpha.7 → 6.2.0-alpha.9
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 +3 -3
- package/lib/reservation/event.d.ts +33 -4
- package/package.json +1 -1
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.
|
|
88
|
-
export type ISuperEvent = Pick<EventReservationFactory.
|
|
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.
|
|
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
|
|
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
|
|
24
|
-
workPerformed:
|
|
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:
|
|
51
|
+
superEvent: IOptimizedSuperEventLegacy;
|
|
52
52
|
typeOf: EventType.ScreeningEvent;
|
|
53
53
|
doorTime?: Date;
|
|
54
54
|
/**
|
|
@@ -60,6 +60,31 @@ 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
|
+
export type IMinimizedMovieTheater = Pick<ISuperEvent['location'], 'branchCode' | 'id' | 'typeOf'> & {
|
|
69
|
+
name?: never;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* 予約対象施設コンテンツ
|
|
73
|
+
*/
|
|
74
|
+
export type IMinimizedSuperEvent = Pick<ISuperEvent, 'id' | 'typeOf'> & {
|
|
75
|
+
location: IMinimizedMovieTheater;
|
|
76
|
+
workPerformed: IMinimizedWorkPerformed;
|
|
77
|
+
} & {
|
|
78
|
+
additionalProperty?: never;
|
|
79
|
+
name?: never;
|
|
80
|
+
soundFormat?: never;
|
|
81
|
+
headline?: never;
|
|
82
|
+
};
|
|
83
|
+
export type IMinimizedRoom = Pick<IEventLocation, 'branchCode' | 'typeOf'> & {
|
|
84
|
+
name?: never;
|
|
85
|
+
address?: never;
|
|
86
|
+
maximumAttendeeCapacity?: never;
|
|
87
|
+
};
|
|
63
88
|
/**
|
|
64
89
|
* 最小化された予約対象イベント
|
|
65
90
|
* 2026-04-05~
|
|
@@ -69,6 +94,10 @@ export interface IReservationForMinimized {
|
|
|
69
94
|
startDate: Date;
|
|
70
95
|
typeOf: EventType.ScreeningEvent;
|
|
71
96
|
endDate: Date;
|
|
97
|
+
location: IMinimizedRoom;
|
|
98
|
+
superEvent: IMinimizedSuperEvent;
|
|
99
|
+
name?: never;
|
|
100
|
+
doorTime?: never;
|
|
72
101
|
}
|
|
73
102
|
export type ICategoryChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
74
103
|
export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|