@chevre/factory 4.237.0 → 4.238.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.
|
@@ -66,12 +66,17 @@ export interface IPendingTransaction {
|
|
|
66
66
|
typeOf: AssetTransactionType.Reserve;
|
|
67
67
|
transactionNumber: string;
|
|
68
68
|
}
|
|
69
|
+
export declare type IEvent = Omit<ScreeningEventFactory.IEvent, 'offers' | 'aggregateEntranceGate' | 'aggregateReservation' | 'aggregateOffer' | 'workPerformed'> & {
|
|
70
|
+
offers: {
|
|
71
|
+
offeredThrough: ScreeningEventFactory.IOfferedThrough;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
69
74
|
/**
|
|
70
75
|
* 承認アクション対象
|
|
71
76
|
*/
|
|
72
77
|
export declare type IObject<T extends WebAPIFactory.Identifier> = {
|
|
73
78
|
typeOf: ObjectType;
|
|
74
|
-
event?:
|
|
79
|
+
event?: IEvent;
|
|
75
80
|
acceptedOffer: IAcceptedOffer<T>[];
|
|
76
81
|
/**
|
|
77
82
|
* Chevre進行中取引
|
|
@@ -1,18 +1,38 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
3
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
4
|
+
import { EventType } from '../../eventType';
|
|
5
|
+
import { ProductType } from '../../product';
|
|
4
6
|
import { IReservation as IEventReservation } from '../../reservation/event';
|
|
7
|
+
import { ReservationStatusType } from '../../reservationStatusType';
|
|
8
|
+
import { ReservationType } from '../../reservationType';
|
|
5
9
|
export declare type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
10
|
/**
|
|
7
|
-
*
|
|
11
|
+
* 予約取消対象
|
|
8
12
|
*/
|
|
9
13
|
export declare type IObject = IEventReservation;
|
|
14
|
+
export interface IObject4future {
|
|
15
|
+
typeOf: ReservationType.EventReservation;
|
|
16
|
+
id: string;
|
|
17
|
+
issuedThrough: {
|
|
18
|
+
typeOf: ProductType.EventService;
|
|
19
|
+
};
|
|
20
|
+
reservationFor: {
|
|
21
|
+
typeOf: EventType.ScreeningEvent;
|
|
22
|
+
id: string;
|
|
23
|
+
};
|
|
24
|
+
reservationNumber: string;
|
|
25
|
+
/**
|
|
26
|
+
* previousReservationStatusを変更時に指定するために必要
|
|
27
|
+
*/
|
|
28
|
+
reservationStatus: ReservationStatusType;
|
|
29
|
+
}
|
|
10
30
|
/**
|
|
11
|
-
*
|
|
31
|
+
* 予約取消結果
|
|
12
32
|
*/
|
|
13
33
|
export declare type IResult = any;
|
|
14
34
|
/**
|
|
15
|
-
*
|
|
35
|
+
* 予約取消目的
|
|
16
36
|
*/
|
|
17
37
|
export interface IPurpose {
|
|
18
38
|
/**
|
|
@@ -24,17 +44,14 @@ export interface IPurpose {
|
|
|
24
44
|
*/
|
|
25
45
|
id: string;
|
|
26
46
|
}
|
|
27
|
-
export interface IPotentialActions {
|
|
28
|
-
}
|
|
29
47
|
/**
|
|
30
48
|
* アクション属性
|
|
31
49
|
*/
|
|
32
50
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.CancelAction, IObject, IResult> {
|
|
33
51
|
agent: IAgent;
|
|
34
|
-
potentialActions?: IPotentialActions;
|
|
35
52
|
purpose: IPurpose;
|
|
36
53
|
}
|
|
37
54
|
/**
|
|
38
|
-
*
|
|
55
|
+
* 予約取消アクション
|
|
39
56
|
*/
|
|
40
57
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|