@chevre/factory 4.371.0-alpha.5 → 4.371.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.
|
@@ -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興行オファー採用アクション
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ActionStatusType } from './actionStatusType';
|
|
1
2
|
import { AssetTransactionType } from './assetTransactionType';
|
|
2
3
|
import { IExtendId } from './autoGenerated';
|
|
3
4
|
import { OrganizationType } from './organizationType';
|
|
@@ -36,10 +37,11 @@ export interface IProject {
|
|
|
36
37
|
typeOf: OrganizationType.Project;
|
|
37
38
|
}
|
|
38
39
|
export interface ITasksExportAction {
|
|
40
|
+
actionStatus: ActionStatusType;
|
|
39
41
|
agent?: {
|
|
40
42
|
name: string;
|
|
41
43
|
};
|
|
42
|
-
startDate
|
|
44
|
+
startDate?: Date;
|
|
43
45
|
endDate?: Date;
|
|
44
46
|
}
|
|
45
47
|
/**
|
package/lib/index.d.ts
CHANGED
|
@@ -497,6 +497,7 @@ export declare namespace transaction {
|
|
|
497
497
|
export import IPassportBeforeStart = TransactionFactory.IPassportBeforeStart;
|
|
498
498
|
export import ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
499
499
|
export import ISortOrder = TransactionFactory.ISortOrder;
|
|
500
|
+
export import ITasksExportAction = TransactionFactory.ITasksExportAction;
|
|
500
501
|
type ISearchConditions<T extends TransactionType> = T extends TransactionType.MoneyTransfer ? MoneyTransferTransactionFactory.ISearchConditions : T extends TransactionType.PlaceOrder ? PlaceOrderTransactionFactory.ISearchConditions : T extends TransactionType.ReturnOrder ? ReturnOrderTransactionFactory.ISearchConditions : never;
|
|
501
502
|
type IStartParams<T extends TransactionType> = T extends TransactionType.MoneyTransfer ? MoneyTransferTransactionFactory.IStartParams : T extends TransactionType.PlaceOrder ? PlaceOrderTransactionFactory.IStartParams : T extends TransactionType.ReturnOrder ? ReturnOrderTransactionFactory.IStartParams : never;
|
|
502
503
|
type IResult<T extends TransactionType> = T extends TransactionType.MoneyTransfer ? MoneyTransferTransactionFactory.IResult : T extends TransactionType.PlaceOrder ? PlaceOrderTransactionFactory.IResult : T extends TransactionType.ReturnOrder ? ReturnOrderTransactionFactory.IResult : never;
|
|
@@ -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;
|
package/lib/transaction.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as waiter from '@waiter/factory';
|
|
2
|
+
import { ActionStatusType } from './actionStatusType';
|
|
2
3
|
import { IExtendId } from './autoGenerated';
|
|
3
4
|
import * as EmailFactory from './creativeWork/message/email';
|
|
4
5
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
@@ -56,10 +57,11 @@ export interface IProject {
|
|
|
56
57
|
typeOf: OrganizationType.Project;
|
|
57
58
|
}
|
|
58
59
|
export interface ITasksExportAction {
|
|
60
|
+
actionStatus: ActionStatusType;
|
|
59
61
|
agent?: {
|
|
60
62
|
name: string;
|
|
61
63
|
};
|
|
62
|
-
startDate
|
|
64
|
+
startDate?: Date;
|
|
63
65
|
endDate?: Date;
|
|
64
66
|
}
|
|
65
67
|
/**
|