@chevre/factory 4.268.0-alpha.2 → 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.
|
@@ -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:
|
|
129
|
+
eligibleQuantity: IEligibleQuantity;
|
|
129
130
|
itemOffered: IItemOffered;
|
|
130
131
|
/**
|
|
131
132
|
* オファー供給サービス
|
|
@@ -317,10 +318,32 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
317
318
|
* イベント
|
|
318
319
|
*/
|
|
319
320
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
320
|
-
export declare type
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
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'> & {
|
|
338
|
+
/**
|
|
339
|
+
* ルームコードとキャパシティを指定
|
|
340
|
+
*/
|
|
341
|
+
location: ILocation4create;
|
|
342
|
+
/**
|
|
343
|
+
* 施設コンテンツIDを指定
|
|
344
|
+
*/
|
|
345
|
+
superEvent: ISuperEvent4create;
|
|
346
|
+
offers: IOffers4create;
|
|
324
347
|
};
|
|
325
348
|
/**
|
|
326
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
|
*/
|