@soltech/fluid-common 1.3.2 → 1.3.3

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