@chevre/factory 4.360.0-alpha.2 → 4.360.0-alpha.3

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
@@ -218,17 +218,12 @@ export type IBroker = Pick<IPerson, 'id' | 'typeOf'>;
218
218
  export type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
219
219
  export type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
220
220
  export type IIdentifier = IPropertyValue<string>[];
221
- export type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
222
221
  export type ISimpleSeller = Pick<ISeller, 'id' | 'typeOf' | 'name'>;
223
222
  export interface ISimpleOrder {
224
223
  /**
225
224
  * object type
226
225
  */
227
226
  typeOf: OrderType;
228
- /**
229
- * Party placing the order.
230
- */
231
- customer: ISimpleCustomer;
232
227
  /**
233
228
  * The merchant- specific identifier for the transaction.
234
229
  */
@@ -266,6 +261,7 @@ export interface IEventServiceAsOrderedItem {
266
261
  reservationFor: IReservationFor4EventServiceOrderedItem;
267
262
  };
268
263
  serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
264
+ id: string;
269
265
  }
270
266
  export type IReservationFor4TransportationOrderedItem = Pick<ITripAsReservationFor, 'typeOf' | 'id' | 'arrivalTime' | 'departureTime'>;
271
267
  export interface ITransportationAsOrderedItem {
@@ -275,8 +271,11 @@ export interface ITransportationAsOrderedItem {
275
271
  reservationFor: IReservationFor4TransportationOrderedItem;
276
272
  };
277
273
  serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
274
+ id: string;
278
275
  }
279
- export type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
276
+ export type IProductAsOrderedItem = Pick<IProduct, 'serviceType' | 'typeOf'> & {
277
+ id: string;
278
+ };
280
279
  /**
281
280
  * 注文アイテム
282
281
  * {@link https://schema.org/OrderItem}
@@ -4,7 +4,9 @@ import * as ReservationFactory from '../reservation';
4
4
  import { ReservationType } from '../reservationType';
5
5
  import { ITripWithDetails as IBusTrip } from '../trip/busTrip';
6
6
  import { TripType } from '../tripType';
7
- export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'id' | 'identifier' | 'name' | 'typeOf'>;
7
+ export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'id' | 'identifier' | 'name' | 'typeOf'> & {
8
+ id: string;
9
+ };
8
10
  export type IPriceComponentSpecification = ITicketPriceComponent;
9
11
  export type IPriceSpecification = ITicketPriceSpecification;
10
12
  export interface ISubReservation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.360.0-alpha.2",
3
+ "version": "4.360.0-alpha.3",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@aws-sdk/client-cognito-identity-provider": "3.438.0",
57
- "@motionpicture/coa-service": "9.4.0-alpha.0",
57
+ "@motionpicture/coa-service": "9.4.0",
58
58
  "@motionpicture/gmo-service": "5.3.0",
59
59
  "@surfrock/sdk": "1.1.0",
60
60
  "@waiter/factory": "2.2.0",