@soltech/fluid-common 0.9.2 → 0.9.3
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 +8 -3
- package/lib/index.js +7 -0
- package/package.json +1 -1
- package/src/index.ts +9 -3
package/lib/index.d.ts
CHANGED
|
@@ -103,11 +103,18 @@ export interface InputFieldOption {
|
|
|
103
103
|
label: string;
|
|
104
104
|
code: string;
|
|
105
105
|
}
|
|
106
|
+
export declare enum RecentMethodMaskedAccountFormat {
|
|
107
|
+
DEFAULT = "Default",
|
|
108
|
+
LAST_8_DIGITS = "Last8Digits",
|
|
109
|
+
FULL_VALUE = "FullValue",
|
|
110
|
+
NOTHING = "Nothing"
|
|
111
|
+
}
|
|
106
112
|
export interface RecentMethod extends PaymentMethod {
|
|
107
113
|
accountId: string;
|
|
108
114
|
maskedAccount: string;
|
|
109
115
|
lastSuccess: string;
|
|
110
116
|
expiryDate: string;
|
|
117
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
111
118
|
}
|
|
112
119
|
export interface TransactionParams {
|
|
113
120
|
accountId?: string;
|
|
@@ -257,8 +264,6 @@ export interface UserData {
|
|
|
257
264
|
kycStatus?: KycStatus;
|
|
258
265
|
}
|
|
259
266
|
export interface SuggestedAmountsPrediction {
|
|
260
|
-
buttons: number[];
|
|
261
|
-
aiCreationDate: string;
|
|
262
|
-
generatedBy: string;
|
|
263
267
|
prefilled: number;
|
|
268
|
+
buttons: number[];
|
|
264
269
|
}
|
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
|
@@ -118,11 +118,19 @@ export interface InputFieldOption {
|
|
|
118
118
|
code: string;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
export enum RecentMethodMaskedAccountFormat {
|
|
122
|
+
DEFAULT = 'Default',
|
|
123
|
+
LAST_8_DIGITS = 'Last8Digits',
|
|
124
|
+
FULL_VALUE = 'FullValue',
|
|
125
|
+
NOTHING = 'Nothing'
|
|
126
|
+
}
|
|
127
|
+
|
|
121
128
|
export interface RecentMethod extends PaymentMethod {
|
|
122
129
|
accountId: string;
|
|
123
130
|
maskedAccount: string;
|
|
124
131
|
lastSuccess: string;
|
|
125
132
|
expiryDate: string;
|
|
133
|
+
maskedAccountFormat: RecentMethodMaskedAccountFormat;
|
|
126
134
|
}
|
|
127
135
|
|
|
128
136
|
export interface TransactionParams {
|
|
@@ -293,8 +301,6 @@ export interface UserData {
|
|
|
293
301
|
}
|
|
294
302
|
|
|
295
303
|
export interface SuggestedAmountsPrediction {
|
|
304
|
+
prefilled: number;
|
|
296
305
|
buttons: number[];
|
|
297
|
-
aiCreationDate: string;
|
|
298
|
-
generatedBy: string;
|
|
299
|
-
prefilled: number;
|
|
300
306
|
}
|