@chevre/factory 4.278.0-alpha.0 → 4.278.0-alpha.1

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.
@@ -105,10 +105,17 @@ export interface IItemOffered {
105
105
  serviceOutput?: IServiceOutput;
106
106
  }
107
107
  export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
108
+ export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
109
+ availabilityEnds: Date;
110
+ availabilityStarts: Date;
111
+ validFrom: Date;
112
+ validThrough: Date;
113
+ }
108
114
  export interface ISeller {
109
115
  typeOf: OrganizationType.Corporation;
110
116
  id: string;
111
117
  name?: string | IMultilingualString;
118
+ makesOffer: ISellerMakesOffer[];
112
119
  }
113
120
  export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
114
121
  /**
@@ -310,6 +317,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
310
317
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
311
318
  export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
312
319
  export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
320
+ export declare type ISeller4create = Pick<ISeller, 'id' | 'makesOffer'>;
313
321
  export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod'> & {
314
322
  /**
315
323
  * 最大予約数を指定
@@ -320,9 +328,9 @@ export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabi
320
328
  */
321
329
  itemOffered: Pick<IItemOffered, 'id' | 'serviceOutput'>;
322
330
  /**
323
- * 販売者IDを指定
331
+ * 販売者IDとアプリケーション設定
324
332
  */
325
- seller: Pick<ISeller, 'id'>;
333
+ seller: ISeller4create;
326
334
  };
327
335
  export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
328
336
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.278.0-alpha.0",
3
+ "version": "4.278.0-alpha.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",