@chevre/factory 4.371.0-alpha.5 → 4.371.0-alpha.6
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.
|
@@ -29,7 +29,7 @@ export interface IObject extends Pick<IObjectWithoutDetail<Identifier.COA>, 'acc
|
|
|
29
29
|
flgMember: FlgMember;
|
|
30
30
|
typeOf: OfferType.AggregateOffer;
|
|
31
31
|
}
|
|
32
|
-
export type IAuthorizeCOAOfferResult = Pick<IAuthorizeOfferResult<Identifier.COA>, '
|
|
32
|
+
export type IAuthorizeCOAOfferResult = Pick<IAuthorizeOfferResult<Identifier.COA>, 'responseBody'>;
|
|
33
33
|
export interface IResult {
|
|
34
34
|
/**
|
|
35
35
|
* 承認アクションID
|
|
@@ -57,12 +57,20 @@ export interface IPotentialActions {
|
|
|
57
57
|
id?: string;
|
|
58
58
|
typeOf: IAuthorizeOfferAction<Identifier.COA>['typeOf'];
|
|
59
59
|
}
|
|
60
|
+
export interface IInstrument {
|
|
61
|
+
typeOf: 'COAReserveTransaction';
|
|
62
|
+
/**
|
|
63
|
+
* 仮予約実行時は存在する
|
|
64
|
+
*/
|
|
65
|
+
requestBody?: IAuthorizeOfferResult<Identifier.COA>['requestBody'];
|
|
66
|
+
}
|
|
60
67
|
export interface IAttributes extends AcceptActionFactory.IAttributes<IObject, IResult> {
|
|
61
|
-
typeOf: ActionType.AcceptAction;
|
|
62
|
-
object: IObject;
|
|
63
68
|
agent: IAgent;
|
|
69
|
+
instrument: IInstrument;
|
|
70
|
+
object: IObject;
|
|
64
71
|
purpose: IPurpose;
|
|
65
72
|
potentialActions: IPotentialActions;
|
|
73
|
+
typeOf: ActionType.AcceptAction;
|
|
66
74
|
}
|
|
67
75
|
/**
|
|
68
76
|
* COA興行オファー採用アクション
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IAcceptCOAOfferActionAttributes } from '../action/accept
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export type IData = IAcceptCOAOfferActionAttributes
|
|
5
|
+
export type IData = Pick<IAcceptCOAOfferActionAttributes, 'agent' | 'object' | 'potentialActions' | 'purpose' | 'typeOf'>;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.AcceptCOAOffer;
|
|
8
8
|
data: IData;
|