@chevre/factory 4.181.0-alpha.2 → 4.181.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.
- package/CHANGELOG.md +5 -0
- package/lib/factory/action/authorize/paymentMethod/any.d.ts +4 -0
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +6 -0
- package/lib/factory/action/trade/pay.d.ts +4 -0
- package/lib/factory/action/transfer/give/pointAward.d.ts +10 -0
- package/lib/factory/action/transfer/moneyTransfer.d.ts +7 -1
- package/lib/factory/assetTransaction/pay.d.ts +4 -0
- package/lib/factory/assetTransaction/refund.d.ts +8 -0
- package/lib/factory/assetTransaction/registerService.d.ts +7 -1
- package/lib/factory/assetTransaction/reserve.d.ts +19 -2
- package/lib/factory/order.d.ts +4 -0
- package/lib/factory/product.d.ts +7 -1
- package/lib/factory/service/paymentService.d.ts +3 -2
- package/lib/factory/transaction/placeOrder.d.ts +9 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
|
13
13
|
- 決済取引のIPendingTransactionに出金元の口座番号情報を追加
|
|
14
14
|
- プロダクトにavailableChannelを追加
|
|
15
15
|
- サービス登録アクションのIObjectを定義
|
|
16
|
+
- 予約取引の適用メンバーシップ指定に発行サービスIDを必須化
|
|
17
|
+
- 予約取引のポイント特典入金先指定に発行サービスIDを必須化
|
|
18
|
+
- サービス登録取引のポイント特典入金先指定に発行サービスIDを必須化
|
|
19
|
+
- 通貨転送アクションのペイメントカードインターフェースに発行サービスIDを必須化
|
|
20
|
+
- 決済取引オブジェクトに決済サービスIDを追加
|
|
16
21
|
|
|
17
22
|
### Deprecated
|
|
18
23
|
|
|
@@ -12,11 +12,21 @@ export interface IObject {
|
|
|
12
12
|
*/
|
|
13
13
|
identifier?: string;
|
|
14
14
|
amount: number;
|
|
15
|
+
/**
|
|
16
|
+
* 入金先カード
|
|
17
|
+
*/
|
|
15
18
|
toLocation: {
|
|
16
19
|
/**
|
|
17
20
|
* 入金先カード番号
|
|
21
|
+
* 口座番号ではないので注意
|
|
18
22
|
*/
|
|
19
23
|
accountNumber: string;
|
|
24
|
+
issuedThrough: {
|
|
25
|
+
/**
|
|
26
|
+
* カード発行サービスID
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
};
|
|
20
30
|
};
|
|
21
31
|
description: string;
|
|
22
32
|
}
|
|
@@ -20,13 +20,19 @@ export declare type IRecipient = ActionFactory.IParticipant;
|
|
|
20
20
|
*/
|
|
21
21
|
export import IAnonymousLocation = AccountFactory.action.moneyTransfer.IAnonymousLocation;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* ペイメントカードインターフェース
|
|
24
24
|
*/
|
|
25
25
|
export interface IPaymentCard {
|
|
26
26
|
typeOf: PermitType;
|
|
27
27
|
identifier: string;
|
|
28
28
|
accessCode?: string;
|
|
29
29
|
hasNoPermit?: boolean;
|
|
30
|
+
issuedThrough: {
|
|
31
|
+
/**
|
|
32
|
+
* カード発行サービスID
|
|
33
|
+
*/
|
|
34
|
+
id: string;
|
|
35
|
+
};
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* 転送元あるいは転送先の場所インターフェース
|
|
@@ -93,6 +93,10 @@ export interface IPaymentMethod {
|
|
|
93
93
|
*/
|
|
94
94
|
export interface IObject {
|
|
95
95
|
typeOf: PaymentServiceType;
|
|
96
|
+
/**
|
|
97
|
+
* 発行決済サービスID
|
|
98
|
+
*/
|
|
99
|
+
id?: string;
|
|
96
100
|
paymentMethod?: IPaymentMethod;
|
|
97
101
|
pendingTransaction?: IPendingTransaction;
|
|
98
102
|
entryTranArgs?: IEntryTranArgs;
|
|
@@ -9,6 +9,10 @@ export declare type IAgent = any;
|
|
|
9
9
|
export declare type IRecipient = IRefundRecipient;
|
|
10
10
|
export interface IObjectWithoutDetail {
|
|
11
11
|
typeOf: PaymentServiceType;
|
|
12
|
+
/**
|
|
13
|
+
* 発行決済サービスID
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
12
16
|
paymentMethod: IPaymentMethod;
|
|
13
17
|
refundFee?: number;
|
|
14
18
|
}
|
|
@@ -37,6 +41,10 @@ export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
|
|
|
37
41
|
*/
|
|
38
42
|
export interface IObject {
|
|
39
43
|
typeOf: PaymentServiceType;
|
|
44
|
+
/**
|
|
45
|
+
* 発行決済サービスID
|
|
46
|
+
*/
|
|
47
|
+
id: string;
|
|
40
48
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
41
49
|
paymentMethod: IPaymentMethod;
|
|
42
50
|
refundFee?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as ReserveActionFactory from '../action/reserve';
|
|
2
|
+
import ActionType from '../actionType';
|
|
2
3
|
import * as TransactionFactory from '../assetTransaction';
|
|
3
4
|
import AssetTransactionType from '../assetTransactionType';
|
|
4
5
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -24,7 +25,16 @@ export interface IAgent {
|
|
|
24
25
|
}
|
|
25
26
|
export interface IAcceptedProgramMembershipUsedAsObject {
|
|
26
27
|
accessCode?: string;
|
|
27
|
-
|
|
28
|
+
/**
|
|
29
|
+
* メンバーシップコード
|
|
30
|
+
*/
|
|
31
|
+
identifier: string;
|
|
32
|
+
issuedThrough: {
|
|
33
|
+
/**
|
|
34
|
+
* メンバーシップ発行サービスID
|
|
35
|
+
*/
|
|
36
|
+
id: string;
|
|
37
|
+
};
|
|
28
38
|
}
|
|
29
39
|
/**
|
|
30
40
|
* トークン化された適用メンバーシップ
|
|
@@ -36,6 +46,7 @@ export declare type ITokenizedAcceptedProgramMembershipUsed = string;
|
|
|
36
46
|
export declare type IAcceptedProgramMembershipUsed = IAcceptedProgramMembershipUsedAsObject | ITokenizedAcceptedProgramMembershipUsed;
|
|
37
47
|
export declare type IAcceptedSubReservation = ISubReservation4eventReservation;
|
|
38
48
|
export interface IAcceptedPointAward {
|
|
49
|
+
typeOf: ActionType.MoneyTransfer;
|
|
39
50
|
recipient?: any;
|
|
40
51
|
/**
|
|
41
52
|
* 特典付与先
|
|
@@ -44,7 +55,13 @@ export interface IAcceptedPointAward {
|
|
|
44
55
|
/**
|
|
45
56
|
* カード番号
|
|
46
57
|
*/
|
|
47
|
-
identifier
|
|
58
|
+
identifier: string;
|
|
59
|
+
issuedThrough: {
|
|
60
|
+
/**
|
|
61
|
+
* カード発行サービスID
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
};
|
|
48
65
|
};
|
|
49
66
|
}
|
|
50
67
|
/**
|
package/lib/factory/order.d.ts
CHANGED
package/lib/factory/product.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export interface IProvider extends IOrganization {
|
|
|
43
43
|
credentials?: IProviderCredentials;
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* 決済サービスインターフェース
|
|
47
47
|
* {@link https://schema.org/Service}
|
|
48
48
|
*/
|
|
49
49
|
export interface IService extends IThing {
|
|
@@ -53,11 +53,12 @@ export interface IService extends IThing {
|
|
|
53
53
|
availableChannel?: IAvailableChannel;
|
|
54
54
|
productID?: string;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 決済サービス提供者(決済サービスを利用する販売者)
|
|
57
57
|
*/
|
|
58
58
|
provider?: IProvider[];
|
|
59
59
|
/**
|
|
60
60
|
* The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
|
|
61
|
+
* 決済サービスの場合、serviceType.codeValueが決済方法区分
|
|
61
62
|
*/
|
|
62
63
|
serviceType?: IServiceType;
|
|
63
64
|
}
|
|
@@ -17,9 +17,18 @@ export import ISeller = TransactionFactory.ISeller;
|
|
|
17
17
|
*/
|
|
18
18
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
19
19
|
export interface IPaymentMethodByPaymentUrl {
|
|
20
|
+
/**
|
|
21
|
+
* 決済方法区分
|
|
22
|
+
*/
|
|
20
23
|
typeOf: string;
|
|
21
24
|
paymentMethodId: string;
|
|
22
25
|
paymentUrl: string;
|
|
26
|
+
issuedThrough: {
|
|
27
|
+
/**
|
|
28
|
+
* 発行決済サービスID
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
};
|
|
23
32
|
}
|
|
24
33
|
/**
|
|
25
34
|
* 注文特典口座インターフェース
|