@soltech/fluid-common 1.3.1 → 1.3.2

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
@@ -67,7 +67,6 @@ export interface WalletConfig {
67
67
  threshold: number;
68
68
  };
69
69
  withdrawalInFiatCurrency: boolean;
70
- banner?: Banner;
71
70
  }
72
71
  export interface Promotion {
73
72
  title: string;
@@ -263,7 +262,8 @@ export declare enum TransactionState {
263
262
  PROCESSING = "PROCESSING",
264
263
  WAITING_APPROVAL = "WAITING_APPROVAL",
265
264
  WAITING_INPUT = "WAITING_INPUT",
266
- CANCELLED = "CANCELLED"
265
+ CANCELLED = "CANCELLED",
266
+ BLACKLISTED = "BLACKLISTED"
267
267
  }
268
268
  export interface ProviderTransactionError {
269
269
  action: Action;
@@ -319,21 +319,23 @@ export declare enum KycStatus {
319
319
  PROCESSING = "processing"
320
320
  }
321
321
  export interface UserData {
322
- fullName?: string;
322
+ affiliateId?: string;
323
323
  age?: number;
324
+ email?: string;
324
325
  dayOfMonth?: number;
325
326
  dayOfWeek?: string;
326
327
  depositLimit?: number;
327
- minimumDeposit?: number;
328
- maximumDeposit?: number;
329
- previousDeposit?: number;
330
- timeOfDay?: string;
331
- lifetimeDeposit?: number;
328
+ fullName?: string;
332
329
  depositCount?: number;
333
330
  daysSinceRegistration?: number;
334
331
  kycStatus?: KycStatus;
335
- affiliateId?: string;
332
+ lifetimeDeposit?: number;
333
+ maximumDeposit?: number;
334
+ minimumDeposit?: number;
335
+ phoneNumber?: string;
336
+ previousDeposit?: number;
336
337
  tags?: string[];
338
+ timeOfDay?: string;
337
339
  }
338
340
  export interface TrackingEventData {
339
341
  id: string;
@@ -354,9 +356,3 @@ export type TrackingEventDataEnvelope = {
354
356
  environment: 'production' | 'staging' | 'demo';
355
357
  body: TrackingEventData;
356
358
  };
357
- export interface Banner {
358
- title: string;
359
- body: string;
360
- ctaLabel: string;
361
- iconUrl: string;
362
- }
package/lib/index.js CHANGED
@@ -52,6 +52,7 @@ export var TransactionState;
52
52
  TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
53
53
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
54
54
  TransactionState["CANCELLED"] = "CANCELLED";
55
+ TransactionState["BLACKLISTED"] = "BLACKLISTED";
55
56
  })(TransactionState || (TransactionState = {}));
56
57
  export var HttpVerb;
57
58
  (function (HttpVerb) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
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
@@ -74,7 +74,6 @@ export interface WalletConfig {
74
74
  threshold: number;
75
75
  },
76
76
  withdrawalInFiatCurrency: boolean;
77
- banner?: Banner;
78
77
  }
79
78
 
80
79
  export interface Promotion {
@@ -296,7 +295,8 @@ export enum TransactionState {
296
295
  PROCESSING = 'PROCESSING',
297
296
  WAITING_APPROVAL = 'WAITING_APPROVAL',
298
297
  WAITING_INPUT = 'WAITING_INPUT',
299
- CANCELLED = 'CANCELLED'
298
+ CANCELLED = 'CANCELLED',
299
+ BLACKLISTED = 'BLACKLISTED'
300
300
  }
301
301
 
302
302
  export interface ProviderTransactionError {
@@ -362,21 +362,23 @@ export enum KycStatus {
362
362
  }
363
363
 
364
364
  export interface UserData {
365
- fullName?: string;
365
+ affiliateId?: string;
366
366
  age?: number;
367
+ email?: string;
367
368
  dayOfMonth?: number;
368
369
  dayOfWeek?: string;
369
370
  depositLimit?: number;
370
- minimumDeposit?: number;
371
- maximumDeposit?: number;
372
- previousDeposit?: number;
373
- timeOfDay?: string;
374
- lifetimeDeposit?: number;
371
+ fullName?: string;
375
372
  depositCount?: number;
376
373
  daysSinceRegistration?: number;
377
374
  kycStatus?: KycStatus;
378
- affiliateId?: string;
375
+ lifetimeDeposit?: number;
376
+ maximumDeposit?: number;
377
+ minimumDeposit?: number;
378
+ phoneNumber?: string;
379
+ previousDeposit?: number;
379
380
  tags?: string[];
381
+ timeOfDay?: string;
380
382
  }
381
383
 
382
384
  export interface TrackingEventData {
@@ -400,10 +402,3 @@ export type TrackingEventDataEnvelope = {
400
402
  environment: 'production' | 'staging' | 'demo';
401
403
  body: TrackingEventData;
402
404
  };
403
-
404
- export interface Banner {
405
- title: string;
406
- body: string;
407
- ctaLabel: string;
408
- iconUrl: string;
409
- }