@chevre/factory 4.181.0-alpha.1 → 4.181.0-alpha.5
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 +4 -0
- package/lib/factory/action/interact/confirm/moneyTransfer.d.ts +6 -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/registerService.d.ts +11 -2
- package/lib/factory/assetTransaction/reserve.d.ts +19 -2
- package/lib/factory/permit.d.ts +1 -0
- package/lib/factory/product.d.ts +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,10 @@ 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を必須化
|
|
16
20
|
|
|
17
21
|
### Deprecated
|
|
18
22
|
|
|
@@ -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
|
* 転送元あるいは転送先の場所インターフェース
|
|
@@ -53,7 +53,13 @@ export interface IAcceptedPointAward {
|
|
|
53
53
|
/**
|
|
54
54
|
* カード番号
|
|
55
55
|
*/
|
|
56
|
-
identifier
|
|
56
|
+
identifier: string;
|
|
57
|
+
issuedThrough: {
|
|
58
|
+
/**
|
|
59
|
+
* カード発行サービスID
|
|
60
|
+
*/
|
|
61
|
+
id: string;
|
|
62
|
+
};
|
|
57
63
|
};
|
|
58
64
|
}
|
|
59
65
|
export interface IAcceptedItemOffered {
|
|
@@ -66,10 +72,13 @@ export interface IAcceptedOfferWithoutDetail {
|
|
|
66
72
|
id: string;
|
|
67
73
|
itemOffered: IAcceptedItemOffered;
|
|
68
74
|
}
|
|
75
|
+
export interface IItemOffered extends IProduct {
|
|
76
|
+
serviceOutput: IServiceOutput;
|
|
77
|
+
}
|
|
69
78
|
export interface IAcceptedOffer {
|
|
70
79
|
typeOf: OfferType.Offer;
|
|
71
80
|
id: string;
|
|
72
|
-
itemOffered:
|
|
81
|
+
itemOffered: IItemOffered;
|
|
73
82
|
}
|
|
74
83
|
export declare type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
75
84
|
export declare type IObject = IAcceptedOffer[];
|
|
@@ -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/permit.d.ts
CHANGED
package/lib/factory/product.d.ts
CHANGED