@chevre/factory 4.352.0-alpha.2 → 4.352.0-alpha.4

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
@@ -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 = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
115
+ export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
116
116
  workPerformed: IWorkPerformed;
117
117
  };
118
118
  export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
@@ -209,7 +209,7 @@ export interface IResult {
209
209
  */
210
210
  export type IError = any;
211
211
  export interface IPotentialActions {
212
- order: IOrderActionAttributes;
212
+ order: Pick<IOrderActionAttributes, 'potentialActions'>;
213
213
  }
214
214
  export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
215
215
  }
@@ -221,7 +221,11 @@ export interface ISearchConditions extends TransactionFactory.ISearchConditions<
221
221
  seller?: {
222
222
  ids?: string[];
223
223
  };
224
- object?: {};
224
+ object?: {
225
+ orderNumber?: {
226
+ $eq?: string;
227
+ };
228
+ };
225
229
  result?: {
226
230
  order?: {
227
231
  confirmationNumber?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.352.0-alpha.2",
3
+ "version": "4.352.0-alpha.4",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",