@chevre/factory 4.268.0-alpha.3 → 4.268.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.
@@ -318,29 +318,32 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
318
318
  * イベント
319
319
  */
320
320
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
321
- export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'name' | 'eventStatus' | 'additionalProperty'> & {
321
+ export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
322
+ export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
323
+ export declare type IOffers4create = Pick<IOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'unacceptedPaymentMethod'> & {
324
+ /**
325
+ * 最大予約数を指定
326
+ */
327
+ eligibleQuantity: Pick<IEligibleQuantity, 'maxValue'>;
328
+ /**
329
+ * 興行IDと座席有無を指定
330
+ */
331
+ itemOffered: Pick<IItemOffered, 'id' | 'serviceOutput'>;
332
+ /**
333
+ * 販売者IDを指定
334
+ */
335
+ seller: Pick<ISeller, 'id'>;
336
+ };
337
+ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
322
338
  /**
323
339
  * ルームコードとキャパシティを指定
324
340
  */
325
- location: Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
341
+ location: ILocation4create;
326
342
  /**
327
343
  * 施設コンテンツIDを指定
328
344
  */
329
- superEvent: Pick<ISuperEvent, 'id'>;
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
- };
345
+ superEvent: ISuperEvent4create;
346
+ offers: IOffers4create;
344
347
  };
345
348
  /**
346
349
  * ソート条件
@@ -144,7 +144,15 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
144
144
  * 施設コンテンツ
145
145
  */
146
146
  export declare type IEvent = EventFactory.IEvent<IAttributes>;
147
- export declare type ICreateParams = IAttributes;
147
+ export declare type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'coaInfo' | 'organizer' | 'duration' | 'videoFormat' | 'alternativeHeadline'> & {
148
+ location: {
149
+ id: string;
150
+ };
151
+ workPerformed: {
152
+ identifier: string;
153
+ };
154
+ videoFormat: IVideoFormat[];
155
+ };
148
156
  /**
149
157
  * ソート条件
150
158
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.268.0-alpha.3",
3
+ "version": "4.268.0-alpha.4",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",