@chevre/factory 4.352.0-alpha.5 → 4.352.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/reserve.d.ts +3 -1
- package/lib/order.d.ts +1 -1
- package/lib/reservation/event.d.ts +1 -1
- package/package.json +1 -1
package/lib/action/reserve.d.ts
CHANGED
|
@@ -8,7 +8,9 @@ import { IReservationFor as IEventReservationFor } from '../reservation/event';
|
|
|
8
8
|
import { ReservationType } from '../reservationType';
|
|
9
9
|
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
10
10
|
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
11
|
-
export type IReservationFor = IBusReservationFor | IEventReservationFor
|
|
11
|
+
export type IReservationFor = (Pick<IBusReservationFor, 'id' | 'typeOf'> | Pick<IEventReservationFor, 'id' | 'typeOf'>) & {
|
|
12
|
+
optimized: boolean;
|
|
13
|
+
};
|
|
12
14
|
export interface IReservationPackageAsObject {
|
|
13
15
|
reservationFor: IReservationFor;
|
|
14
16
|
reservationNumber: string;
|
package/lib/order.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export interface IDiscount {
|
|
|
112
112
|
discountCurrency: string;
|
|
113
113
|
}
|
|
114
114
|
export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
115
|
-
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | '
|
|
115
|
+
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
116
116
|
workPerformed: IWorkPerformed;
|
|
117
117
|
};
|
|
118
118
|
export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
|
|
@@ -9,7 +9,7 @@ import { ReservationType } from '../reservationType';
|
|
|
9
9
|
export type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'project' | 'name'> & {
|
|
10
10
|
name?: string | IMultilingualString;
|
|
11
11
|
};
|
|
12
|
-
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | '
|
|
12
|
+
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
13
13
|
workPerformed: IOptimizedWorkPerformed;
|
|
14
14
|
};
|
|
15
15
|
export interface IReservationFor {
|