@chevre/factory 10.3.0 → 10.4.0-alpha.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.
|
@@ -5,6 +5,7 @@ import { IMovieTicketPaymentCard, IMovieTicketServiceOutput } from '../../../pay
|
|
|
5
5
|
import { IMkknInfo, IPurchaseNumberAuthIn, IPurchaseNumberAuthResult, IPurchaseNumberInfo, IRecipe, IYkknInfo } from '../../../recipe/checkMovieTicket';
|
|
6
6
|
import { TransactionType } from '../../../transactionType';
|
|
7
7
|
import { IPaymentService as IPaymentServiceAsPayActionObject } from '../../trade/pay';
|
|
8
|
+
import { SortType } from '../../../sortType';
|
|
8
9
|
export { IMkknInfo, IYkknInfo, IPurchaseNumberInfo, IPurchaseNumberAuthIn, IPurchaseNumberAuthResult, IRecipe };
|
|
9
10
|
export type IAgent = IParticipantAsWebApplication | IParticipantAsPerson;
|
|
10
11
|
/**
|
|
@@ -29,15 +30,17 @@ export interface IPaymentService extends Pick<IPaymentServiceAsPayActionObject,
|
|
|
29
30
|
typeOf: string;
|
|
30
31
|
};
|
|
31
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* 認証対象は決済サービス配列(1つのみ)
|
|
35
|
+
*/
|
|
32
36
|
export type IObject = [IPaymentService];
|
|
33
|
-
export
|
|
34
|
-
}
|
|
37
|
+
export type IResult = never;
|
|
35
38
|
export type IError = any;
|
|
36
39
|
export interface IPurpose {
|
|
37
40
|
typeOf: TransactionType.PlaceOrder;
|
|
38
41
|
id: string;
|
|
39
42
|
}
|
|
40
|
-
export interface IAttributes extends Pick<IBaseAttributes<ActionType.CheckAction, IObject, IResult>, '
|
|
43
|
+
export interface IAttributes extends Pick<IBaseAttributes<ActionType.CheckAction, IObject, IResult>, 'error' | 'project' | 'sameAs' | 'typeOf'> {
|
|
41
44
|
agent: IAgent;
|
|
42
45
|
object: IObject;
|
|
43
46
|
purpose?: IPurpose;
|
|
@@ -46,3 +49,30 @@ export interface IAttributes extends Pick<IBaseAttributes<ActionType.CheckAction
|
|
|
46
49
|
* 決済カード認証アクション
|
|
47
50
|
*/
|
|
48
51
|
export type IAction = IBaseAction<IAttributes>;
|
|
52
|
+
export interface IFindParams {
|
|
53
|
+
limit?: number;
|
|
54
|
+
page?: number;
|
|
55
|
+
sort?: {
|
|
56
|
+
startDate?: SortType;
|
|
57
|
+
};
|
|
58
|
+
startFrom?: Date;
|
|
59
|
+
startThrough?: Date;
|
|
60
|
+
project?: {
|
|
61
|
+
id?: {
|
|
62
|
+
$eq?: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
id?: string;
|
|
66
|
+
purpose?: {
|
|
67
|
+
/**
|
|
68
|
+
* 注文取引ID
|
|
69
|
+
*/
|
|
70
|
+
id?: string;
|
|
71
|
+
};
|
|
72
|
+
sameAs?: {
|
|
73
|
+
/**
|
|
74
|
+
* タスクID
|
|
75
|
+
*/
|
|
76
|
+
id?: string;
|
|
77
|
+
};
|
|
78
|
+
}
|