@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.
@@ -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' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
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' | 'kanaName' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.352.0-alpha.5",
3
+ "version": "4.352.0-alpha.7",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",