@soltech/fluid-common 0.9.20 → 0.9.22
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 +16 -10
- package/package.json +1 -1
- package/src/index.ts +17 -10
package/lib/index.d.ts
CHANGED
|
@@ -38,20 +38,29 @@ export interface WalletInitParams {
|
|
|
38
38
|
transactionAttributes?: Record<string, string>;
|
|
39
39
|
}
|
|
40
40
|
export interface WalletConfig {
|
|
41
|
+
autofillCreditCardName: boolean;
|
|
42
|
+
balanceDisplayed: boolean;
|
|
43
|
+
contactSupportLink: string;
|
|
41
44
|
contentText: Record<string, string>;
|
|
42
45
|
defaultDepositAmount: number;
|
|
43
46
|
integration: Integration;
|
|
47
|
+
kycDepositLimit: number | null;
|
|
44
48
|
logo: string;
|
|
49
|
+
numberCharactersHolderName: number | null;
|
|
50
|
+
successScreen: {
|
|
51
|
+
promotion: Promotion | null;
|
|
52
|
+
};
|
|
45
53
|
suggestedDepositAmounts: number[];
|
|
46
54
|
theme: Record<string, string>;
|
|
47
|
-
balanceDisplayed: boolean;
|
|
48
55
|
transactionToggleDisplayed: boolean;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
56
|
+
}
|
|
57
|
+
export interface Promotion {
|
|
58
|
+
title: string;
|
|
59
|
+
description: string;
|
|
60
|
+
tag: string;
|
|
61
|
+
ctaLinkLabel: string;
|
|
62
|
+
ctaLinkUrl: string;
|
|
63
|
+
thumbnail: string;
|
|
55
64
|
}
|
|
56
65
|
export interface WalletConfigParams {
|
|
57
66
|
contentText: Record<string, ContentType>;
|
|
@@ -59,9 +68,7 @@ export interface WalletConfigParams {
|
|
|
59
68
|
}
|
|
60
69
|
export interface DepositAmountsSettings {
|
|
61
70
|
id?: string;
|
|
62
|
-
aiCreationDate?: string;
|
|
63
71
|
defaultDepositAmount: number;
|
|
64
|
-
generatedBy?: string;
|
|
65
72
|
suggestedDepositAmounts: number[];
|
|
66
73
|
}
|
|
67
74
|
export interface AllPaymentMethods {
|
|
@@ -214,7 +221,6 @@ export interface ProviderTransactionError {
|
|
|
214
221
|
providerCode: string;
|
|
215
222
|
text: string;
|
|
216
223
|
textTitle: string;
|
|
217
|
-
iconSelection: string;
|
|
218
224
|
}
|
|
219
225
|
export declare enum HttpVerb {
|
|
220
226
|
DELETE = "DELETE",
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -44,20 +44,30 @@ export interface WalletInitParams {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export interface WalletConfig {
|
|
47
|
+
autofillCreditCardName: boolean;
|
|
48
|
+
balanceDisplayed: boolean;
|
|
49
|
+
contactSupportLink: string;
|
|
47
50
|
contentText: Record<string, string>;
|
|
48
51
|
defaultDepositAmount: number;
|
|
49
52
|
integration: Integration;
|
|
53
|
+
kycDepositLimit: number | null;
|
|
50
54
|
logo: string;
|
|
55
|
+
numberCharactersHolderName: number | null;
|
|
56
|
+
successScreen: {
|
|
57
|
+
promotion: Promotion | null;
|
|
58
|
+
};
|
|
51
59
|
suggestedDepositAmounts: number[];
|
|
52
60
|
theme: Record<string, string>;
|
|
53
|
-
balanceDisplayed: boolean;
|
|
54
61
|
transactionToggleDisplayed: boolean;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface Promotion {
|
|
65
|
+
title: string;
|
|
66
|
+
description: string;
|
|
67
|
+
tag: string;
|
|
68
|
+
ctaLinkLabel: string;
|
|
69
|
+
ctaLinkUrl: string;
|
|
70
|
+
thumbnail: string;
|
|
61
71
|
}
|
|
62
72
|
|
|
63
73
|
export interface WalletConfigParams {
|
|
@@ -67,9 +77,7 @@ export interface WalletConfigParams {
|
|
|
67
77
|
|
|
68
78
|
export interface DepositAmountsSettings {
|
|
69
79
|
id?: string;
|
|
70
|
-
aiCreationDate?: string;
|
|
71
80
|
defaultDepositAmount: number;
|
|
72
|
-
generatedBy?: string;
|
|
73
81
|
suggestedDepositAmounts: number[];
|
|
74
82
|
}
|
|
75
83
|
|
|
@@ -242,7 +250,6 @@ export interface ProviderTransactionError {
|
|
|
242
250
|
providerCode: string;
|
|
243
251
|
text: string;
|
|
244
252
|
textTitle: string;
|
|
245
|
-
iconSelection: string;
|
|
246
253
|
}
|
|
247
254
|
|
|
248
255
|
export enum HttpVerb {
|