@soltech/fluid-common 1.3.0 → 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
@@ -262,7 +262,8 @@ export declare enum TransactionState {
262
262
  PROCESSING = "PROCESSING",
263
263
  WAITING_APPROVAL = "WAITING_APPROVAL",
264
264
  WAITING_INPUT = "WAITING_INPUT",
265
- CANCELLED = "CANCELLED"
265
+ CANCELLED = "CANCELLED",
266
+ BLACKLISTED = "BLACKLISTED"
266
267
  }
267
268
  export interface ProviderTransactionError {
268
269
  action: Action;
@@ -318,21 +319,23 @@ export declare enum KycStatus {
318
319
  PROCESSING = "processing"
319
320
  }
320
321
  export interface UserData {
321
- fullName?: string;
322
+ affiliateId?: string;
322
323
  age?: number;
324
+ email?: string;
323
325
  dayOfMonth?: number;
324
326
  dayOfWeek?: string;
325
327
  depositLimit?: number;
326
- minimumDeposit?: number;
327
- maximumDeposit?: number;
328
- previousDeposit?: number;
329
- timeOfDay?: string;
330
- lifetimeDeposit?: number;
328
+ fullName?: string;
331
329
  depositCount?: number;
332
330
  daysSinceRegistration?: number;
333
331
  kycStatus?: KycStatus;
334
- affiliateId?: string;
332
+ lifetimeDeposit?: number;
333
+ maximumDeposit?: number;
334
+ minimumDeposit?: number;
335
+ phoneNumber?: string;
336
+ previousDeposit?: number;
335
337
  tags?: string[];
338
+ timeOfDay?: string;
336
339
  }
337
340
  export interface TrackingEventData {
338
341
  id: string;
@@ -353,9 +356,3 @@ export type TrackingEventDataEnvelope = {
353
356
  environment: 'production' | 'staging' | 'demo';
354
357
  body: TrackingEventData;
355
358
  };
356
- export interface Banner {
357
- title: string;
358
- body: string;
359
- ctaLabel: string;
360
- iconUrl: string;
361
- }
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.0",
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
@@ -295,7 +295,8 @@ export enum TransactionState {
295
295
  PROCESSING = 'PROCESSING',
296
296
  WAITING_APPROVAL = 'WAITING_APPROVAL',
297
297
  WAITING_INPUT = 'WAITING_INPUT',
298
- CANCELLED = 'CANCELLED'
298
+ CANCELLED = 'CANCELLED',
299
+ BLACKLISTED = 'BLACKLISTED'
299
300
  }
300
301
 
301
302
  export interface ProviderTransactionError {
@@ -361,21 +362,23 @@ export enum KycStatus {
361
362
  }
362
363
 
363
364
  export interface UserData {
364
- fullName?: string;
365
+ affiliateId?: string;
365
366
  age?: number;
367
+ email?: string;
366
368
  dayOfMonth?: number;
367
369
  dayOfWeek?: string;
368
370
  depositLimit?: number;
369
- minimumDeposit?: number;
370
- maximumDeposit?: number;
371
- previousDeposit?: number;
372
- timeOfDay?: string;
373
- lifetimeDeposit?: number;
371
+ fullName?: string;
374
372
  depositCount?: number;
375
373
  daysSinceRegistration?: number;
376
374
  kycStatus?: KycStatus;
377
- affiliateId?: string;
375
+ lifetimeDeposit?: number;
376
+ maximumDeposit?: number;
377
+ minimumDeposit?: number;
378
+ phoneNumber?: string;
379
+ previousDeposit?: number;
378
380
  tags?: string[];
381
+ timeOfDay?: string;
379
382
  }
380
383
 
381
384
  export interface TrackingEventData {
@@ -399,10 +402,3 @@ export type TrackingEventDataEnvelope = {
399
402
  environment: 'production' | 'staging' | 'demo';
400
403
  body: TrackingEventData;
401
404
  };
402
-
403
- export interface Banner {
404
- title: string;
405
- body: string;
406
- ctaLabel: string;
407
- iconUrl: string;
408
- }