@chevre/factory 4.386.0-alpha.9 → 4.386.0

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.
@@ -223,12 +223,16 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
223
223
  */
224
224
  export type IEvent = EventFactory.IEvent<IAttributes>;
225
225
  export type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
226
- export type ISeller4create = Pick<ISeller, 'makesOffer'> & {
226
+ export type ISellerMakesOffer4create = Pick<ISellerMakesOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'typeOf'> & {
227
+ availableAtOrFrom: Pick<OfferFactory.IAvailableAtOrFrom, 'id'>;
228
+ };
229
+ export interface ISeller4create {
230
+ makesOffer: ISellerMakesOffer4create[];
227
231
  /**
228
232
  * POS以外のアプリケーションの共通設定
229
233
  */
230
234
  makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
231
- };
235
+ }
232
236
  export interface IAvailableChannel4create {
233
237
  serviceLocation: {
234
238
  /**
@@ -138,6 +138,7 @@ export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'addition
138
138
  */
139
139
  export type IEvent = EventFactory.IEvent<IAttributes>;
140
140
  export import ILocation4create = AnyEventFactory.ILocation4create;
141
+ export import ISellerMakesOffer4create = AnyEventFactory.ISellerMakesOffer4create;
141
142
  export import ISeller4create = AnyEventFactory.ISeller4create;
142
143
  export type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
143
144
  export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.386.0-alpha.9",
3
+ "version": "4.386.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",