@chevre/factory 10.3.0 → 10.4.0-alpha.1
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
|
+
}
|
package/lib/chevre/action.d.ts
CHANGED
|
@@ -182,18 +182,7 @@ export interface ISearchConditions {
|
|
|
182
182
|
$eq?: string;
|
|
183
183
|
$in?: string[];
|
|
184
184
|
};
|
|
185
|
-
movieTickets?:
|
|
186
|
-
identifier?: {
|
|
187
|
-
$eq?: string;
|
|
188
|
-
};
|
|
189
|
-
serviceOutput?: {
|
|
190
|
-
reservationFor?: {
|
|
191
|
-
id?: {
|
|
192
|
-
$eq?: string;
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
};
|
|
185
|
+
movieTickets?: never;
|
|
197
186
|
object?: {
|
|
198
187
|
/**
|
|
199
188
|
* 通知アクション(決済、返金)の決済方法ID
|
|
@@ -225,9 +214,7 @@ export interface ISearchConditions {
|
|
|
225
214
|
$eq?: string;
|
|
226
215
|
$in?: string[];
|
|
227
216
|
};
|
|
228
|
-
typeOf?:
|
|
229
|
-
$eq?: string;
|
|
230
|
-
};
|
|
217
|
+
typeOf?: never;
|
|
231
218
|
};
|
|
232
219
|
/**
|
|
233
220
|
* 承認アクションの決済方法ID
|