@soltech/fluid-common 0.8.6 → 0.8.7
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 +9 -4
- package/package.json +1 -1
- package/src/index.ts +10 -4
package/lib/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export interface WalletInitParams {
|
|
|
35
35
|
userAgent: string;
|
|
36
36
|
userData?: UserData;
|
|
37
37
|
timestamp: string;
|
|
38
|
+
transactionAttributes: Record<string, string>;
|
|
38
39
|
}
|
|
39
40
|
export interface WalletConfig {
|
|
40
41
|
contentText: Record<string, string>;
|
|
@@ -43,10 +44,10 @@ export interface WalletConfig {
|
|
|
43
44
|
logo: string;
|
|
44
45
|
suggestedDepositAmounts: number[];
|
|
45
46
|
theme: Record<string, string>;
|
|
47
|
+
aiPredictionsEnabled: boolean;
|
|
46
48
|
balanceDisplayed: boolean;
|
|
47
49
|
transactionToggleDisplayed: boolean;
|
|
48
50
|
kycDepositLimit: number | null;
|
|
49
|
-
autofillCreditCardName: boolean;
|
|
50
51
|
}
|
|
51
52
|
export interface WalletConfigParams {
|
|
52
53
|
contentText: Record<string, ContentType>;
|
|
@@ -95,7 +96,6 @@ export interface InputField {
|
|
|
95
96
|
errorText: string;
|
|
96
97
|
options: InputFieldOption[];
|
|
97
98
|
optionsRequired: boolean;
|
|
98
|
-
prefillKey?: string;
|
|
99
99
|
}
|
|
100
100
|
export interface InputFieldOption {
|
|
101
101
|
label: string;
|
|
@@ -238,7 +238,6 @@ export declare enum KycStatus {
|
|
|
238
238
|
PROCESSING = "processing"
|
|
239
239
|
}
|
|
240
240
|
export interface UserData {
|
|
241
|
-
fullName?: string;
|
|
242
241
|
age?: number;
|
|
243
242
|
dayOfMonth?: number;
|
|
244
243
|
dayOfWeek?: string;
|
|
@@ -247,9 +246,15 @@ export interface UserData {
|
|
|
247
246
|
maximumDeposit?: number;
|
|
248
247
|
previousDeposit?: number;
|
|
249
248
|
timeOfDay?: string;
|
|
250
|
-
|
|
249
|
+
lifeTimeDeposit?: number;
|
|
251
250
|
kycStatus?: KycStatus;
|
|
252
251
|
}
|
|
252
|
+
export interface AiModelQueryParams {
|
|
253
|
+
country: string;
|
|
254
|
+
currency?: string;
|
|
255
|
+
operatorId: number;
|
|
256
|
+
userData?: UserData;
|
|
257
|
+
}
|
|
253
258
|
export interface SuggestedAmountsPrediction {
|
|
254
259
|
prefilled: number;
|
|
255
260
|
buttons: number[];
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -40,6 +40,7 @@ export interface WalletInitParams {
|
|
|
40
40
|
userAgent: string;
|
|
41
41
|
userData?: UserData;
|
|
42
42
|
timestamp: string;
|
|
43
|
+
transactionAttributes: Record<string, string>;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
export interface WalletConfig {
|
|
@@ -49,10 +50,10 @@ export interface WalletConfig {
|
|
|
49
50
|
logo: string;
|
|
50
51
|
suggestedDepositAmounts: number[];
|
|
51
52
|
theme: Record<string, string>;
|
|
53
|
+
aiPredictionsEnabled: boolean;
|
|
52
54
|
balanceDisplayed: boolean;
|
|
53
55
|
transactionToggleDisplayed: boolean;
|
|
54
56
|
kycDepositLimit: number | null;
|
|
55
|
-
autofillCreditCardName: boolean;
|
|
56
57
|
}
|
|
57
58
|
|
|
58
59
|
export interface WalletConfigParams {
|
|
@@ -108,7 +109,6 @@ export interface InputField {
|
|
|
108
109
|
errorText: string;
|
|
109
110
|
options: InputFieldOption[];
|
|
110
111
|
optionsRequired: boolean;
|
|
111
|
-
prefillKey?: string;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export interface InputFieldOption {
|
|
@@ -273,7 +273,6 @@ export enum KycStatus {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export interface UserData {
|
|
276
|
-
fullName?: string;
|
|
277
276
|
age?: number;
|
|
278
277
|
dayOfMonth?: number;
|
|
279
278
|
dayOfWeek?: string;
|
|
@@ -282,10 +281,17 @@ export interface UserData {
|
|
|
282
281
|
maximumDeposit?: number;
|
|
283
282
|
previousDeposit?: number;
|
|
284
283
|
timeOfDay?: string;
|
|
285
|
-
|
|
284
|
+
lifeTimeDeposit?: number;
|
|
286
285
|
kycStatus?: KycStatus;
|
|
287
286
|
}
|
|
288
287
|
|
|
288
|
+
export interface AiModelQueryParams {
|
|
289
|
+
country: string;
|
|
290
|
+
currency?: string;
|
|
291
|
+
operatorId: number;
|
|
292
|
+
userData?: UserData;
|
|
293
|
+
}
|
|
294
|
+
|
|
289
295
|
export interface SuggestedAmountsPrediction {
|
|
290
296
|
prefilled: number;
|
|
291
297
|
buttons: number[];
|