@soltech/fluid-common 0.9.14 → 0.9.16

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 CHANGED
@@ -38,28 +38,41 @@ export interface WalletInitParams {
38
38
  transactionAttributes?: Record<string, string>;
39
39
  }
40
40
  export interface WalletConfig {
41
+ aiPredictionsForDepositMethodsOrderEnabled: boolean;
42
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
43
+ autofillCreditCardName: boolean;
44
+ balanceDisplayed: boolean;
45
+ contactSupportLink: string;
41
46
  contentText: Record<string, string>;
42
47
  defaultDepositAmount: number;
43
48
  integration: Integration;
49
+ kycDepositLimit: number | null;
44
50
  logo: string;
51
+ numberCharactersHolderName: number | null;
52
+ successScreen: {
53
+ promotion: Promotion;
54
+ };
45
55
  suggestedDepositAmounts: number[];
46
56
  theme: Record<string, string>;
47
- balanceDisplayed: boolean;
48
57
  transactionToggleDisplayed: boolean;
49
- kycDepositLimit: number | null;
50
- autofillCreditCardName: boolean;
51
- contactSupportLink: string;
52
- numberCharactersHolderName: number | null;
53
- aiPredictionsForSuggestedAmountsEnabled: boolean;
54
- aiPredictionsForDepositMethodsOrderEnabled: boolean;
55
- promotion: Promotion;
58
+ }
59
+ export interface Promotion {
60
+ title: string;
61
+ description: string;
62
+ tag: string;
63
+ ctaLinkLabel: string;
64
+ ctaLinkUrl: string;
65
+ thumbnail: string;
56
66
  }
57
67
  export interface WalletConfigParams {
58
68
  contentText: Record<string, ContentType>;
59
69
  theme: Record<string, TraitType>;
60
70
  }
61
71
  export interface DepositAmountsSettings {
72
+ id?: string;
73
+ aiCreationDate?: string;
62
74
  defaultDepositAmount: number;
75
+ generatedBy?: string;
63
76
  suggestedDepositAmounts: number[];
64
77
  }
65
78
  export interface AllPaymentMethods {
@@ -270,12 +283,3 @@ export interface UserData {
270
283
  lifetimeDeposit?: number;
271
284
  kycStatus?: KycStatus;
272
285
  }
273
- export interface Promotion {
274
- promotionSuccessScreen: boolean;
275
- tag: string;
276
- title: string;
277
- description: string;
278
- thumbnail: string;
279
- ctaLinkLabel: string;
280
- ctaLinkUrl: string;
281
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.9.14",
3
+ "version": "0.9.16",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -44,21 +44,32 @@ export interface WalletInitParams {
44
44
  }
45
45
 
46
46
  export interface WalletConfig {
47
+ aiPredictionsForDepositMethodsOrderEnabled: boolean;
48
+ aiPredictionsForSuggestedAmountsEnabled: boolean;
49
+ autofillCreditCardName: boolean;
50
+ balanceDisplayed: boolean;
51
+ contactSupportLink: string;
47
52
  contentText: Record<string, string>;
48
53
  defaultDepositAmount: number;
49
54
  integration: Integration;
55
+ kycDepositLimit: number | null;
50
56
  logo: string;
57
+ numberCharactersHolderName: number | null;
58
+ successScreen: {
59
+ promotion: Promotion;
60
+ };
51
61
  suggestedDepositAmounts: number[];
52
62
  theme: Record<string, string>;
53
- balanceDisplayed: boolean;
54
63
  transactionToggleDisplayed: boolean;
55
- kycDepositLimit: number | null;
56
- autofillCreditCardName: boolean;
57
- contactSupportLink: string;
58
- numberCharactersHolderName: number | null;
59
- aiPredictionsForSuggestedAmountsEnabled: boolean;
60
- aiPredictionsForDepositMethodsOrderEnabled: boolean;
61
- promotion: Promotion;
64
+ }
65
+
66
+ export interface Promotion {
67
+ title: string;
68
+ description: string;
69
+ tag: string;
70
+ ctaLinkLabel: string;
71
+ ctaLinkUrl: string;
72
+ thumbnail: string;
62
73
  }
63
74
 
64
75
  export interface WalletConfigParams {
@@ -67,7 +78,10 @@ export interface WalletConfigParams {
67
78
  }
68
79
 
69
80
  export interface DepositAmountsSettings {
81
+ id?: string;
82
+ aiCreationDate?: string;
70
83
  defaultDepositAmount: number;
84
+ generatedBy?: string;
71
85
  suggestedDepositAmounts: number[];
72
86
  }
73
87
 
@@ -307,13 +321,3 @@ export interface UserData {
307
321
  lifetimeDeposit?: number;
308
322
  kycStatus?: KycStatus;
309
323
  }
310
-
311
- export interface Promotion {
312
- promotionSuccessScreen: boolean;
313
- tag: string;
314
- title: string;
315
- description: string;
316
- thumbnail: string;
317
- ctaLinkLabel: string;
318
- ctaLinkUrl: string;
319
- }