@soltech/fluid-common 0.4.8 → 0.4.10

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
@@ -62,6 +62,7 @@ export interface PaymentMethod {
62
62
  paymentType: PaymentType;
63
63
  providerType: string;
64
64
  inputFields?: InputField[];
65
+ bonusCodes?: string[];
65
66
  }
66
67
  export interface PaymentMethodLogo {
67
68
  height: number;
@@ -178,3 +179,11 @@ export declare enum WithdrawalState {
178
179
  REQUESTED = "REQUESTED",
179
180
  PROCESSING = "PROCESSING"
180
181
  }
182
+ export interface AvailableBonusWithPaymentMethods {
183
+ code: string;
184
+ paymentMethods: BonusPaymentMethod[];
185
+ }
186
+ export interface BonusPaymentMethod {
187
+ providerType: string;
188
+ service?: string;
189
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -73,6 +73,7 @@ export interface PaymentMethod {
73
73
  paymentType: PaymentType;
74
74
  providerType: string;
75
75
  inputFields?: InputField[];
76
+ bonusCodes?: string[];
76
77
  }
77
78
 
78
79
  export interface PaymentMethodLogo {
@@ -206,3 +207,13 @@ export enum WithdrawalState {
206
207
  REQUESTED = 'REQUESTED',
207
208
  PROCESSING = 'PROCESSING'
208
209
  }
210
+
211
+ export interface AvailableBonusWithPaymentMethods {
212
+ code: string;
213
+ paymentMethods: BonusPaymentMethod[];
214
+ }
215
+
216
+ export interface BonusPaymentMethod {
217
+ providerType: string;
218
+ service?: string;
219
+ }