@chevre/factory 5.2.0-alpha.3 → 5.2.0-alpha.5
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/authorization.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'type
|
|
|
20
20
|
export type IInvoiceAsObjectTypeOfGood = Pick<IInvoice, 'paymentMethodId' | 'typeOf'> & {
|
|
21
21
|
issuedThrough: {
|
|
22
22
|
id: string;
|
|
23
|
-
typeOf: PaymentServiceType.MovieTicket;
|
|
23
|
+
typeOf: PaymentServiceType.MovieTicket | PaymentServiceType.CreditCard;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
@@ -34,6 +34,9 @@ export import IServiceType = AnyEventFactory.IServiceType;
|
|
|
34
34
|
* 興行
|
|
35
35
|
*/
|
|
36
36
|
export interface IItemOffered {
|
|
37
|
+
/**
|
|
38
|
+
* 興行ID
|
|
39
|
+
*/
|
|
37
40
|
id: string;
|
|
38
41
|
/**
|
|
39
42
|
* プロダクト名称
|
|
@@ -179,6 +182,21 @@ export type ICreateParams = Pick<IAttributes, 'doorTime' | 'startDate' | 'endDat
|
|
|
179
182
|
export type IUpdateParams = Pick<ICreateParams, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'offers' | 'startDate' | 'maximumPhysicalAttendeeCapacity'> & {
|
|
180
183
|
location?: never;
|
|
181
184
|
};
|
|
185
|
+
export type IOffer4update = Pick<IOffers4create, 'eligibleQuantity' | 'identifier' | 'unacceptedPaymentMethod'> & {
|
|
186
|
+
/**
|
|
187
|
+
* 興行IDを指定
|
|
188
|
+
*/
|
|
189
|
+
itemOffered: Pick<IItemOffered, 'id'> & {
|
|
190
|
+
serviceOutput?: never;
|
|
191
|
+
};
|
|
192
|
+
seller?: never;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 単一イベント編集パラメータ
|
|
196
|
+
*/
|
|
197
|
+
export type IUpdateByIdParams = Pick<IUpdateParams, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'startDate' | 'maximumPhysicalAttendeeCapacity' | 'location'> & {
|
|
198
|
+
offers: IOffer4update;
|
|
199
|
+
};
|
|
182
200
|
/**
|
|
183
201
|
* ソート条件
|
|
184
202
|
*/
|