@soltech/fluid-common 0.6.29 → 0.6.31
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 +6 -5
- package/package.json +1 -1
- package/src/index.ts +6 -5
package/lib/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export interface WalletRequestBody {
|
|
|
25
25
|
payloadOptions?: TransactionOptions;
|
|
26
26
|
}
|
|
27
27
|
export interface WalletInitParams {
|
|
28
|
+
country: string;
|
|
28
29
|
locale: string;
|
|
29
30
|
operatorId: number;
|
|
30
31
|
sessionId: string;
|
|
@@ -41,7 +42,6 @@ export interface WalletConfig {
|
|
|
41
42
|
suggestedDepositAmounts: number[];
|
|
42
43
|
theme: Record<string, string>;
|
|
43
44
|
enableAiPredictions: boolean;
|
|
44
|
-
balanceDisplayed: boolean;
|
|
45
45
|
}
|
|
46
46
|
export interface WalletConfigParams {
|
|
47
47
|
contentText: Record<string, ContentType>;
|
|
@@ -170,10 +170,11 @@ export declare enum TransactionState {
|
|
|
170
170
|
WAITING_INPUT = "WAITING_INPUT"
|
|
171
171
|
}
|
|
172
172
|
export interface ProviderTransactionError {
|
|
173
|
+
action: Action;
|
|
173
174
|
code: string;
|
|
174
|
-
|
|
175
|
+
providerCode: string;
|
|
175
176
|
text: string;
|
|
176
|
-
|
|
177
|
+
textTitle: string;
|
|
177
178
|
}
|
|
178
179
|
export declare enum Action {
|
|
179
180
|
RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
|
|
@@ -210,15 +211,15 @@ export interface TrackingEvent {
|
|
|
210
211
|
}
|
|
211
212
|
export interface UserData {
|
|
212
213
|
age?: number;
|
|
213
|
-
country?: string;
|
|
214
214
|
dayOfMonth?: string;
|
|
215
215
|
dayOfWeek?: string;
|
|
216
216
|
previousDeposit?: number;
|
|
217
217
|
timeOfDay?: string;
|
|
218
218
|
}
|
|
219
219
|
export interface AiModelQueryParams {
|
|
220
|
+
country: string;
|
|
220
221
|
operatorId: number;
|
|
221
|
-
userData
|
|
222
|
+
userData?: UserData;
|
|
222
223
|
}
|
|
223
224
|
export interface SuggestedAmountsPrediction {
|
|
224
225
|
prefilled: number;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -30,6 +30,7 @@ export interface WalletRequestBody {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export interface WalletInitParams {
|
|
33
|
+
country: string;
|
|
33
34
|
locale: string;
|
|
34
35
|
operatorId: number;
|
|
35
36
|
sessionId: string;
|
|
@@ -47,7 +48,6 @@ export interface WalletConfig {
|
|
|
47
48
|
suggestedDepositAmounts: number[];
|
|
48
49
|
theme: Record<string, string>;
|
|
49
50
|
enableAiPredictions: boolean;
|
|
50
|
-
balanceDisplayed: boolean;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
export interface WalletConfigParams {
|
|
@@ -195,10 +195,11 @@ export enum TransactionState {
|
|
|
195
195
|
}
|
|
196
196
|
|
|
197
197
|
export interface ProviderTransactionError {
|
|
198
|
+
action: Action;
|
|
198
199
|
code: string;
|
|
199
|
-
|
|
200
|
+
providerCode: string;
|
|
200
201
|
text: string;
|
|
201
|
-
|
|
202
|
+
textTitle: string;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
205
|
export enum Action {
|
|
@@ -242,7 +243,6 @@ export interface TrackingEvent {
|
|
|
242
243
|
|
|
243
244
|
export interface UserData {
|
|
244
245
|
age?: number;
|
|
245
|
-
country?: string;
|
|
246
246
|
dayOfMonth?: string;
|
|
247
247
|
dayOfWeek?: string;
|
|
248
248
|
previousDeposit?: number;
|
|
@@ -250,8 +250,9 @@ export interface UserData {
|
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
export interface AiModelQueryParams {
|
|
253
|
+
country: string;
|
|
253
254
|
operatorId: number;
|
|
254
|
-
userData
|
|
255
|
+
userData?: UserData;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
258
|
export interface SuggestedAmountsPrediction {
|