@chevre/factory 4.280.0-alpha.8 → 4.280.0-alpha.9
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/action/reserve.d.ts +17 -12
- package/package.json +1 -1
package/lib/action/reserve.d.ts
CHANGED
|
@@ -2,17 +2,25 @@ import * as ActionFactory from '../action';
|
|
|
2
2
|
import { ActionType } from '../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { OrderType } from '../order';
|
|
5
|
-
import {
|
|
5
|
+
import { IUnderName } from '../reservation';
|
|
6
|
+
import { IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
7
|
+
import { ReservationStatusType } from '../reservationStatusType';
|
|
8
|
+
import { ReservationType } from '../reservationType';
|
|
6
9
|
import { IAttributes as IMoneyTransferActionAttributes } from './transfer/moneyTransfer';
|
|
7
10
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
export declare type ISubReservation = Omit<IEventReservation, 'reservationFor'>;
|
|
12
|
+
export interface IReservationPackageAsObject {
|
|
13
|
+
reservationFor: IReservationFor;
|
|
14
|
+
reservationNumber: string;
|
|
15
|
+
reservationStatus: ReservationStatusType;
|
|
16
|
+
subReservation: ISubReservation[];
|
|
17
|
+
underName?: IUnderName;
|
|
18
|
+
typeOf: ReservationType.ReservationPackage;
|
|
19
|
+
}
|
|
20
|
+
export declare type IObject = IEventReservation | IReservationPackageAsObject;
|
|
21
|
+
export interface IResult {
|
|
22
|
+
confirmedReservationId?: string;
|
|
23
|
+
}
|
|
16
24
|
export interface IOrderAsReservePurpose {
|
|
17
25
|
typeOf: OrderType.Order;
|
|
18
26
|
confirmationNumber?: string;
|
|
@@ -32,9 +40,6 @@ export declare type IPurpose = IOrderAsReservePurpose | IAssetTransactionAsReser
|
|
|
32
40
|
export interface IPotentialActions {
|
|
33
41
|
moneyTransfer?: IMoneyTransferActionAttributes[];
|
|
34
42
|
}
|
|
35
|
-
/**
|
|
36
|
-
* アクション属性
|
|
37
|
-
*/
|
|
38
43
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ReserveAction, IObject, IResult> {
|
|
39
44
|
agent: IAgent;
|
|
40
45
|
potentialActions?: IPotentialActions;
|