@chevre/factory 4.386.0-alpha.8 → 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.
- package/lib/event/anyEvent.d.ts +6 -22
- package/lib/event/screeningEvent.d.ts +1 -20
- package/package.json +1 -1
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -135,32 +135,12 @@ export import IEligibleQuantity = OfferFactory.IEligibleQuantity;
|
|
|
135
135
|
*/
|
|
136
136
|
export interface IOffer {
|
|
137
137
|
typeOf: OfferType.Offer;
|
|
138
|
-
/**
|
|
139
|
-
* 情報提供終了日時(オンライン取引アプリケーションの設定)
|
|
140
|
-
* @deprecated Use seller.makesOffer
|
|
141
|
-
*/
|
|
142
|
-
availabilityEnds?: Date;
|
|
143
|
-
/**
|
|
144
|
-
* 情報提供開始日時(オンライン取引アプリケーションの設定)
|
|
145
|
-
* @deprecated Use seller.makesOffer
|
|
146
|
-
*/
|
|
147
|
-
availabilityStarts?: Date;
|
|
148
138
|
eligibleQuantity: IEligibleQuantity;
|
|
149
139
|
itemOffered: IItemOffered;
|
|
150
140
|
/**
|
|
151
141
|
* オファー供給サービス
|
|
152
142
|
*/
|
|
153
143
|
offeredThrough?: IOfferedThrough;
|
|
154
|
-
/**
|
|
155
|
-
* 販売可能期間from(オンライン取引アプリケーションの設定)
|
|
156
|
-
* @deprecated Use seller.makesOffer
|
|
157
|
-
*/
|
|
158
|
-
validFrom?: Date;
|
|
159
|
-
/**
|
|
160
|
-
* 販売可能期間through(オンライン取引アプリケーションの設定)
|
|
161
|
-
* @deprecated Use seller.makesOffer
|
|
162
|
-
*/
|
|
163
|
-
validThrough?: Date;
|
|
164
144
|
unacceptedPaymentMethod?: EventFactory.IUnacceptedPaymentMethodType[];
|
|
165
145
|
seller: ISeller;
|
|
166
146
|
}
|
|
@@ -243,12 +223,16 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
243
223
|
*/
|
|
244
224
|
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
245
225
|
export type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
246
|
-
export type
|
|
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[];
|
|
247
231
|
/**
|
|
248
232
|
* POS以外のアプリケーションの共通設定
|
|
249
233
|
*/
|
|
250
234
|
makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
|
|
251
|
-
}
|
|
235
|
+
}
|
|
252
236
|
export interface IAvailableChannel4create {
|
|
253
237
|
serviceLocation: {
|
|
254
238
|
/**
|
|
@@ -54,32 +54,12 @@ export import IEligibleQuantity = AnyEventFactory.IEligibleQuantity;
|
|
|
54
54
|
*/
|
|
55
55
|
export interface IOffer {
|
|
56
56
|
typeOf: OfferType.Offer;
|
|
57
|
-
/**
|
|
58
|
-
* 情報提供終了日時(オンライン取引アプリケーションの設定)
|
|
59
|
-
* @deprecated Use seller.makesOffer
|
|
60
|
-
*/
|
|
61
|
-
availabilityEnds: Date;
|
|
62
|
-
/**
|
|
63
|
-
* 情報提供開始日時(オンライン取引アプリケーションの設定)
|
|
64
|
-
* @deprecated Use seller.makesOffer
|
|
65
|
-
*/
|
|
66
|
-
availabilityStarts: Date;
|
|
67
57
|
eligibleQuantity: IEligibleQuantity;
|
|
68
58
|
itemOffered: IItemOffered;
|
|
69
59
|
/**
|
|
70
60
|
* オファー供給サービス
|
|
71
61
|
*/
|
|
72
62
|
offeredThrough?: IOfferedThrough;
|
|
73
|
-
/**
|
|
74
|
-
* 販売可能期間from(オンライン取引アプリケーションの設定)
|
|
75
|
-
* @deprecated Use seller.makesOffer
|
|
76
|
-
*/
|
|
77
|
-
validFrom: Date;
|
|
78
|
-
/**
|
|
79
|
-
* 販売可能期間through(オンライン取引アプリケーションの設定)
|
|
80
|
-
* @deprecated Use seller.makesOffer
|
|
81
|
-
*/
|
|
82
|
-
validThrough: Date;
|
|
83
63
|
unacceptedPaymentMethod?: EventFactory.IUnacceptedPaymentMethodType[];
|
|
84
64
|
seller: ISeller;
|
|
85
65
|
}
|
|
@@ -158,6 +138,7 @@ export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'addition
|
|
|
158
138
|
*/
|
|
159
139
|
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
160
140
|
export import ILocation4create = AnyEventFactory.ILocation4create;
|
|
141
|
+
export import ISellerMakesOffer4create = AnyEventFactory.ISellerMakesOffer4create;
|
|
161
142
|
export import ISeller4create = AnyEventFactory.ISeller4create;
|
|
162
143
|
export type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
163
144
|
export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|