@soltech/fluid-common 0.7.9 → 0.7.11

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
@@ -46,6 +46,7 @@ export interface WalletConfig {
46
46
  aiPredictionsEnabled: boolean;
47
47
  balanceDisplayed: boolean;
48
48
  transactionToggleDisplayed: boolean;
49
+ kycDepositLimit: number | null;
49
50
  }
50
51
  export interface WalletConfigParams {
51
52
  contentText: Record<string, ContentType>;
@@ -229,6 +230,11 @@ export interface TrackingEvent {
229
230
  eventId: string;
230
231
  data: object;
231
232
  }
233
+ export declare enum KycStatus {
234
+ VERIFIED = "verified",
235
+ UNVERIFIED = "unverified",
236
+ PROCESSING = "processing"
237
+ }
232
238
  export interface UserData {
233
239
  age?: number;
234
240
  dayOfMonth?: number;
@@ -238,10 +244,11 @@ export interface UserData {
238
244
  maximumDeposit?: number;
239
245
  previousDeposit?: number;
240
246
  timeOfDay?: string;
247
+ lifeTimeDeposit?: number;
248
+ kycStatus?: KycStatus;
241
249
  }
242
250
  export interface AiModelQueryParams {
243
251
  country: string;
244
- currency: string;
245
252
  operatorId: number;
246
253
  userData?: UserData;
247
254
  }
package/lib/index.js CHANGED
@@ -53,3 +53,9 @@ export var WithdrawalState;
53
53
  WithdrawalState["REQUESTED"] = "REQUESTED";
54
54
  WithdrawalState["PROCESSING"] = "PROCESSING";
55
55
  })(WithdrawalState || (WithdrawalState = {}));
56
+ export var KycStatus;
57
+ (function (KycStatus) {
58
+ KycStatus["VERIFIED"] = "verified";
59
+ KycStatus["UNVERIFIED"] = "unverified";
60
+ KycStatus["PROCESSING"] = "processing";
61
+ })(KycStatus || (KycStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.7.9",
3
+ "version": "0.7.11",
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
@@ -52,6 +52,7 @@ export interface WalletConfig {
52
52
  aiPredictionsEnabled: boolean;
53
53
  balanceDisplayed: boolean;
54
54
  transactionToggleDisplayed: boolean;
55
+ kycDepositLimit: number | null;
55
56
  }
56
57
 
57
58
  export interface WalletConfigParams {
@@ -263,6 +264,12 @@ export interface TrackingEvent {
263
264
  data: object;
264
265
  }
265
266
 
267
+ export enum KycStatus {
268
+ VERIFIED = 'verified',
269
+ UNVERIFIED = 'unverified',
270
+ PROCESSING = 'processing'
271
+ }
272
+
266
273
  export interface UserData {
267
274
  age?: number;
268
275
  dayOfMonth?: number;
@@ -272,11 +279,12 @@ export interface UserData {
272
279
  maximumDeposit?: number;
273
280
  previousDeposit?: number;
274
281
  timeOfDay?: string;
282
+ lifeTimeDeposit?: number;
283
+ kycStatus?: KycStatus;
275
284
  }
276
285
 
277
286
  export interface AiModelQueryParams {
278
287
  country: string;
279
- currency: string;
280
288
  operatorId: number;
281
289
  userData?: UserData;
282
290
  }