@chevre/factory 4.268.0-alpha.2 → 4.268.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.
@@ -110,6 +110,7 @@ export interface ISeller {
110
110
  id: string;
111
111
  name?: string | IMultilingualString;
112
112
  }
113
+ export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
113
114
  /**
114
115
  * イベントに対するオファー
115
116
  */
@@ -125,7 +126,7 @@ export interface IOffer {
125
126
  * 情報提供開始日時
126
127
  */
127
128
  availabilityStarts: Date;
128
- eligibleQuantity: IQuantitativeValue<UnitCode.C62>;
129
+ eligibleQuantity: IEligibleQuantity;
129
130
  itemOffered: IItemOffered;
130
131
  /**
131
132
  * オファー供給サービス
@@ -318,9 +319,28 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
318
319
  */
319
320
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
320
321
  export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'name' | 'eventStatus' | 'additionalProperty'> & {
322
+ /**
323
+ * ルームコードとキャパシティを指定
324
+ */
321
325
  location: Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
326
+ /**
327
+ * 施設コンテンツIDを指定
328
+ */
322
329
  superEvent: Pick<ISuperEvent, 'id'>;
323
- offers: Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'eligibleQuantity' | 'itemOffered' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod' | 'seller'>;
330
+ offers: Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod'> & {
331
+ /**
332
+ * 最大予約数を指定
333
+ */
334
+ eligibleQuantity: Pick<IEligibleQuantity, 'maxValue'>;
335
+ /**
336
+ * 興行IDと座席有無を指定
337
+ */
338
+ itemOffered: Pick<IItemOffered, 'id' | 'serviceOutput'>;
339
+ /**
340
+ * 販売者IDを指定
341
+ */
342
+ seller: Pick<ISeller, 'id'>;
343
+ };
324
344
  };
325
345
  /**
326
346
  * ソート条件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.268.0-alpha.2",
3
+ "version": "4.268.0-alpha.3",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",