@soltech/fluid-common 0.4.35 → 0.4.36

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
@@ -160,7 +160,6 @@ export declare enum TransactionState {
160
160
  }
161
161
  export interface ProviderTransactionError {
162
162
  code: string;
163
- textTitle: string;
164
163
  text: string;
165
164
  action: Action;
166
165
  }
@@ -168,8 +167,7 @@ export declare enum Action {
168
167
  RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
169
168
  RESTART_CLEARING_DETAILS = "RESTART_CLEARING_DETAILS",
170
169
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = "SHOW_DETAILS_STEP_PRESERVING_DETAILS",
171
- SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS",
172
- SHOW_CVC_EDIT = "SHOW_CVC_EDIT"
170
+ SHOW_DETAILS_STEP_CLEARING_DETAILS = "SHOW_DETAILS_STEP_CLEARING_DETAILS"
173
171
  }
174
172
  export interface PendingWithdrawal {
175
173
  amount: string;
@@ -184,7 +182,10 @@ export declare enum WithdrawalState {
184
182
  }
185
183
  export interface AvailableBonusWithPaymentMethods {
186
184
  code: string;
187
- paymentMethodFilter?: BonusPaymentMethod[];
185
+ paymentMethodFilter?: {
186
+ applyTo?: BonusPaymentMethod[];
187
+ excludeFrom?: BonusPaymentMethod[];
188
+ };
188
189
  }
189
190
  export interface BonusPaymentMethod {
190
191
  providerType: string;
package/lib/index.js CHANGED
@@ -36,7 +36,6 @@ export var Action;
36
36
  Action["RESTART_CLEARING_DETAILS"] = "RESTART_CLEARING_DETAILS";
37
37
  Action["SHOW_DETAILS_STEP_PRESERVING_DETAILS"] = "SHOW_DETAILS_STEP_PRESERVING_DETAILS";
38
38
  Action["SHOW_DETAILS_STEP_CLEARING_DETAILS"] = "SHOW_DETAILS_STEP_CLEARING_DETAILS";
39
- Action["SHOW_CVC_EDIT"] = "SHOW_CVC_EDIT";
40
39
  })(Action || (Action = {}));
41
40
  export var WithdrawalState;
42
41
  (function (WithdrawalState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.35",
3
+ "version": "0.4.36",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -185,7 +185,6 @@ export enum TransactionState {
185
185
 
186
186
  export interface ProviderTransactionError {
187
187
  code: string;
188
- textTitle: string;
189
188
  text: string;
190
189
  action: Action;
191
190
  }
@@ -195,7 +194,6 @@ export enum Action {
195
194
  RESTART_CLEARING_DETAILS = 'RESTART_CLEARING_DETAILS',
196
195
  SHOW_DETAILS_STEP_PRESERVING_DETAILS = 'SHOW_DETAILS_STEP_PRESERVING_DETAILS',
197
196
  SHOW_DETAILS_STEP_CLEARING_DETAILS = 'SHOW_DETAILS_STEP_CLEARING_DETAILS',
198
- SHOW_CVC_EDIT = 'SHOW_CVC_EDIT',
199
197
  }
200
198
 
201
199
  export interface PendingWithdrawal {
@@ -213,7 +211,10 @@ export enum WithdrawalState {
213
211
 
214
212
  export interface AvailableBonusWithPaymentMethods {
215
213
  code: string;
216
- paymentMethodFilter?: BonusPaymentMethod[];
214
+ paymentMethodFilter?: {
215
+ applyTo?: BonusPaymentMethod[];
216
+ excludeFrom?: BonusPaymentMethod[];
217
+ }
217
218
  }
218
219
 
219
220
  export interface BonusPaymentMethod {