@chevre/factory 4.280.0-alpha.10 → 4.280.0-alpha.12
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.
|
@@ -4,7 +4,7 @@ import { ITransaction as IReserveTransaction } from '../assetTransaction/reserve
|
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IClientUser } from '../clientUser';
|
|
7
|
-
import { IReservation as IEventReservation } from '../reservation/event';
|
|
7
|
+
import { IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
8
8
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
9
|
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
10
10
|
/**
|
|
@@ -23,20 +23,28 @@ export interface IObjectWithoutDetail {
|
|
|
23
23
|
/**
|
|
24
24
|
* 予約IDをキーに取消
|
|
25
25
|
*/
|
|
26
|
-
id?: string
|
|
26
|
+
id?: string;
|
|
27
27
|
/**
|
|
28
28
|
* 予約番号をキーに取消
|
|
29
29
|
*/
|
|
30
30
|
reservationNumber?: string;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
+
export declare type IReserveTransactionAsObject = Pick<IReserveTransaction, 'typeOf' | 'id' | 'transactionNumber'> & {
|
|
34
|
+
object: {
|
|
35
|
+
reservationFor: Pick<IReservationFor, 'id' | 'typeOf'>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare type IEventReservationAsObject = Pick<IEventReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
|
|
39
|
+
reservationFor: Pick<IReservationFor, 'id' | 'typeOf'>;
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* 取引対象物
|
|
35
43
|
*/
|
|
36
44
|
export interface IObject {
|
|
37
45
|
clientUser?: IClientUser;
|
|
38
|
-
transaction?:
|
|
39
|
-
reservations?:
|
|
46
|
+
transaction?: IReserveTransactionAsObject;
|
|
47
|
+
reservations?: IEventReservationAsObject[];
|
|
40
48
|
}
|
|
41
49
|
/**
|
|
42
50
|
* 取引確定パラメータ
|
|
@@ -314,7 +314,12 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
314
314
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
315
315
|
export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
316
316
|
export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
317
|
-
export declare type ISeller4create = Pick<ISeller, 'makesOffer'
|
|
317
|
+
export declare type ISeller4create = Pick<ISeller, 'makesOffer'> & {
|
|
318
|
+
/**
|
|
319
|
+
* POS以外のアプリケーションの共通設定
|
|
320
|
+
*/
|
|
321
|
+
makesOfferDefault?: ISellerMakesOffer;
|
|
322
|
+
};
|
|
318
323
|
export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
319
324
|
/**
|
|
320
325
|
* 最大予約数を指定
|