@soltech/fluid-common 0.9.6 → 0.9.8
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/lib/index.d.ts +7 -0
- package/lib/index.js +7 -0
- package/package.json +1 -1
- package/src/index.ts +8 -0
package/lib/index.d.ts
CHANGED
|
@@ -111,11 +111,18 @@ export interface InputFieldOption {
|
|
|
111
111
|
label: string;
|
|
112
112
|
code: string;
|
|
113
113
|
}
|
|
114
|
+
export declare enum RecentMethodMaskedAccountFormat {
|
|
115
|
+
DEFAULT = "Default",
|
|
116
|
+
LAST_8_DIGITS = "Last8Digits",
|
|
117
|
+
FULL_VALUE = "FullValue",
|
|
118
|
+
NOTHING = "Nothing"
|
|
119
|
+
}
|
|
114
120
|
export interface RecentMethod extends PaymentMethod {
|
|
115
121
|
accountId: string;
|
|
116
122
|
maskedAccount: string;
|
|
117
123
|
lastSuccess: string;
|
|
118
124
|
expiryDate: string;
|
|
125
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
119
126
|
}
|
|
120
127
|
export interface TransactionParams {
|
|
121
128
|
accountId?: string;
|
package/lib/index.js
CHANGED
|
@@ -24,6 +24,13 @@ export var PaymentType;
|
|
|
24
24
|
PaymentType["CRYPTO"] = "Crypto";
|
|
25
25
|
PaymentType["EWALLET"] = "EWallet";
|
|
26
26
|
})(PaymentType || (PaymentType = {}));
|
|
27
|
+
export var RecentMethodMaskedAccountFormat;
|
|
28
|
+
(function (RecentMethodMaskedAccountFormat) {
|
|
29
|
+
RecentMethodMaskedAccountFormat["DEFAULT"] = "Default";
|
|
30
|
+
RecentMethodMaskedAccountFormat["LAST_8_DIGITS"] = "Last8Digits";
|
|
31
|
+
RecentMethodMaskedAccountFormat["FULL_VALUE"] = "FullValue";
|
|
32
|
+
RecentMethodMaskedAccountFormat["NOTHING"] = "Nothing";
|
|
33
|
+
})(RecentMethodMaskedAccountFormat || (RecentMethodMaskedAccountFormat = {}));
|
|
27
34
|
export var TransactionState;
|
|
28
35
|
(function (TransactionState) {
|
|
29
36
|
TransactionState["SUCCESS"] = "SUCCESS";
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -127,11 +127,19 @@ export interface InputFieldOption {
|
|
|
127
127
|
code: string;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
+
export enum RecentMethodMaskedAccountFormat {
|
|
131
|
+
DEFAULT = 'Default',
|
|
132
|
+
LAST_8_DIGITS = 'Last8Digits',
|
|
133
|
+
FULL_VALUE = 'FullValue',
|
|
134
|
+
NOTHING = 'Nothing'
|
|
135
|
+
}
|
|
136
|
+
|
|
130
137
|
export interface RecentMethod extends PaymentMethod {
|
|
131
138
|
accountId: string;
|
|
132
139
|
maskedAccount: string;
|
|
133
140
|
lastSuccess: string;
|
|
134
141
|
expiryDate: string;
|
|
142
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
135
143
|
}
|
|
136
144
|
|
|
137
145
|
export interface TransactionParams {
|