@chevre/factory 6.2.0-alpha.6 → 6.2.0-alpha.7
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/consume/use/reservation.d.ts +2 -2
- package/lib/action/reserve.d.ts +1 -1
- package/lib/assetTransaction/cancelReservation.d.ts +1 -1
- package/lib/assetTransaction/reserve.d.ts +1 -1
- package/lib/notification/reservation.d.ts +2 -2
- package/lib/order.d.ts +2 -2
- package/lib/reservation/event.d.ts +12 -2
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { IParticipantAsPerson, IParticipantAsWebApplication } from '../../../act
|
|
|
2
2
|
import { IOrder } from '../../../order';
|
|
3
3
|
import { PlaceType } from '../../../placeType';
|
|
4
4
|
import { ITicket, TicketType } from '../../../reservation';
|
|
5
|
-
import { IIssuedThrough, IReservation,
|
|
5
|
+
import { IIssuedThrough, IReservation, IReservationForLegacy } from '../../../reservation/event';
|
|
6
6
|
import * as UseActionFactory from '../use';
|
|
7
7
|
export type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
8
8
|
/**
|
|
@@ -11,7 +11,7 @@ export type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
|
11
11
|
*/
|
|
12
12
|
export interface IReservationAsObject extends Pick<IReservation, 'id' | 'reservationNumber' | 'typeOf'> {
|
|
13
13
|
issuedThrough: Pick<IIssuedThrough, 'id' | 'typeOf'>;
|
|
14
|
-
reservationFor: Pick<
|
|
14
|
+
reservationFor: Pick<IReservationForLegacy, 'id' | 'typeOf'>;
|
|
15
15
|
reservedTicket: Pick<ITicket, 'identifier' | 'ticketedSeat' | 'typeOf'> & {
|
|
16
16
|
ticketType?: never;
|
|
17
17
|
};
|
package/lib/action/reserve.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ActionType } from '../actionType';
|
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IOrder } from '../order';
|
|
5
5
|
import { IAvailableReservationStatusType } from '../reservation';
|
|
6
|
-
import {
|
|
6
|
+
import { IReservationForLegacy as IEventReservationFor } from '../reservation/event';
|
|
7
7
|
import { ReservationType } from '../reservationType';
|
|
8
8
|
import { ITransaction as IPlaceOrder } from '../transaction/placeOrder';
|
|
9
9
|
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
@@ -3,7 +3,7 @@ import * as AssetTransactionFactory from '../assetTransaction';
|
|
|
3
3
|
import { ITransaction as IReserveTransaction } from '../assetTransaction/reserve';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
|
-
import { IReservation as IEventReservation,
|
|
6
|
+
import { IReservation as IEventReservation, IReservationForLegacy as IEventReservationFor } from '../reservation/event';
|
|
7
7
|
import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
|
|
8
8
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
9
|
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
@@ -9,7 +9,7 @@ import { PermitType } from '../permit';
|
|
|
9
9
|
import { ProductType } from '../product';
|
|
10
10
|
import { IPropertyValue } from '../propertyValue';
|
|
11
11
|
import * as ReservationFactory from '../reservation';
|
|
12
|
-
import { IIssuedThrough as IEventReservationIssuedThrough, IPrice as IReservationPrice, IReservation as IEventReservation,
|
|
12
|
+
import { IIssuedThrough as IEventReservationIssuedThrough, IPrice as IReservationPrice, IReservation as IEventReservation, IReservationForLegacy as IEventReservationReservationFor, IReservedTicket, ISubReservation as ISubReservation4eventReservation, ITicketType } from '../reservation/event';
|
|
13
13
|
import { IReservation as IReservationPackage } from '../reservation/reservationPackage';
|
|
14
14
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
15
15
|
import { ReservationType } from '../reservationType';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionType } from '../actionType';
|
|
2
2
|
import { IProvider, ITicket, IUnderName } from '../reservation';
|
|
3
|
-
import { IIssuedThrough, IReservation as IEventReservation,
|
|
3
|
+
import { IIssuedThrough, IReservation as IEventReservation, IReservationForLegacy, IPrice } from '../reservation/event';
|
|
4
4
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
5
5
|
import { ReservationType } from '../reservationType';
|
|
6
6
|
import { ISubReservationReservedTicket } from '../assetTransaction/reserve';
|
|
@@ -18,7 +18,7 @@ export interface IReservationPackage4informConfirmed {
|
|
|
18
18
|
issuedThrough: IIssuedThrough;
|
|
19
19
|
project: IProject;
|
|
20
20
|
provider: IProvider;
|
|
21
|
-
reservationFor:
|
|
21
|
+
reservationFor: IReservationForLegacy;
|
|
22
22
|
reservationNumber: string;
|
|
23
23
|
reservationStatus: ReservationStatusType.ReservationConfirmed;
|
|
24
24
|
subReservation: ISubReservation4inform[];
|
package/lib/order.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id
|
|
|
98
98
|
export type ICOASuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & Pick<IEventSeries, 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
99
99
|
workPerformed: IWorkPerformed;
|
|
100
100
|
};
|
|
101
|
-
export type IEventAsReservationFor = Omit<EventReservationFactory.
|
|
101
|
+
export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationForLegacy, 'superEvent' | 'identifier' | 'coaInfo'> & {
|
|
102
102
|
superEvent: ISuperEvent;
|
|
103
103
|
/**
|
|
104
104
|
* COA予約でのみ使用されている
|
|
@@ -113,7 +113,7 @@ export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFo
|
|
|
113
113
|
/**
|
|
114
114
|
* COAの場合のイベント
|
|
115
115
|
*/
|
|
116
|
-
export type ICOAEventAsReservationFor = Omit<EventReservationFactory.
|
|
116
|
+
export type ICOAEventAsReservationFor = Omit<EventReservationFactory.IReservationForLegacy, 'superEvent' | 'identifier' | 'coaInfo'> & {
|
|
117
117
|
superEvent: ICOASuperEvent;
|
|
118
118
|
/**
|
|
119
119
|
* COA予約でのみ使用されている
|
|
@@ -42,7 +42,7 @@ export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id'
|
|
|
42
42
|
/**
|
|
43
43
|
* 予約対象イベント
|
|
44
44
|
*/
|
|
45
|
-
export interface
|
|
45
|
+
export interface IReservationForLegacy {
|
|
46
46
|
endDate: Date;
|
|
47
47
|
id: string;
|
|
48
48
|
location: IEventLocation;
|
|
@@ -60,6 +60,16 @@ export interface IReservationFor {
|
|
|
60
60
|
*/
|
|
61
61
|
coaInfo?: never;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* 最小化された予約対象イベント
|
|
65
|
+
* 2026-04-05~
|
|
66
|
+
*/
|
|
67
|
+
export interface IReservationForMinimized {
|
|
68
|
+
id: string;
|
|
69
|
+
startDate: Date;
|
|
70
|
+
typeOf: EventType.ScreeningEvent;
|
|
71
|
+
endDate: Date;
|
|
72
|
+
}
|
|
63
73
|
export type ICategoryChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
64
74
|
export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
65
75
|
export type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
@@ -105,7 +115,7 @@ export interface IReservation extends ReservationFactory.IReservation<IPriceSpec
|
|
|
105
115
|
bookingTime: Date;
|
|
106
116
|
id: string;
|
|
107
117
|
issuedThrough: IIssuedThrough;
|
|
108
|
-
reservationFor:
|
|
118
|
+
reservationFor: IReservationForMinimized;
|
|
109
119
|
reservationNumber: string;
|
|
110
120
|
reservationStatus: ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed;
|
|
111
121
|
reservedTicket: IReservedTicket;
|