@chevre/factory 5.4.0-alpha.26 → 5.4.0-alpha.28
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.
|
@@ -168,15 +168,17 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
|
|
|
168
168
|
* 施設コンテンツ
|
|
169
169
|
*/
|
|
170
170
|
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
171
|
+
/**
|
|
172
|
+
* 施設コンテンツ追加時の利用不可決済方法区分指定
|
|
173
|
+
* offerType:AggregateOfferの場合、指定は無視される
|
|
174
|
+
*/
|
|
171
175
|
export type IOffers4create = Pick<ISingleOffer, 'unacceptedPaymentMethod'> & {
|
|
172
176
|
typeOf?: never;
|
|
173
|
-
} | Pick<IAggregateOffer, 'typeOf'> & {
|
|
174
|
-
unacceptedPaymentMethod?: never;
|
|
175
177
|
};
|
|
176
178
|
/**
|
|
177
179
|
* 施設コンテンツ作成パラメータ
|
|
178
180
|
*/
|
|
179
|
-
export type ICreateParams = Pick<IAttributes, '
|
|
181
|
+
export type ICreateParams = Pick<IAttributes, 'name' | 'duration' | 'endDate' | 'headline' | 'startDate' | 'additionalProperty' | 'kanaName' | 'description'> & {
|
|
180
182
|
subtitleLanguage?: Pick<ILanguage, 'name'>;
|
|
181
183
|
dubLanguage?: Pick<ILanguage, 'name'>;
|
|
182
184
|
location?: never;
|