@soltech/fluid-common 0.10.56 → 0.10.58
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 +19 -0
- package/package.json +1 -1
- package/src/index.ts +23 -1
package/lib/index.d.ts
CHANGED
|
@@ -303,3 +303,22 @@ export interface UserData {
|
|
|
303
303
|
tags?: string[];
|
|
304
304
|
timeOfDay?: string;
|
|
305
305
|
}
|
|
306
|
+
export interface TrackingEventData {
|
|
307
|
+
id: string;
|
|
308
|
+
event: string;
|
|
309
|
+
operatorId?: string;
|
|
310
|
+
timestamp?: string | number | Date;
|
|
311
|
+
activityId?: string;
|
|
312
|
+
originalActivityId?: string;
|
|
313
|
+
bonusesOffered?: boolean;
|
|
314
|
+
country?: string;
|
|
315
|
+
sessionId?: string;
|
|
316
|
+
userAgent?: string;
|
|
317
|
+
userId?: string;
|
|
318
|
+
[key: string]: unknown;
|
|
319
|
+
}
|
|
320
|
+
export type TrackingEventDataEnvelope = {
|
|
321
|
+
id: string;
|
|
322
|
+
environment: 'production' | 'staging' | 'demo';
|
|
323
|
+
body: TrackingEventData;
|
|
324
|
+
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -303,7 +303,7 @@ export enum WithdrawalState {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
export interface AvailableBonusWithPaymentMethods {
|
|
306
|
-
|
|
306
|
+
code: string;
|
|
307
307
|
paymentMethodFilter?: {
|
|
308
308
|
applyTo?: BonusPaymentMethod[];
|
|
309
309
|
excludeFrom?: BonusPaymentMethod[];
|
|
@@ -343,3 +343,25 @@ export interface UserData {
|
|
|
343
343
|
tags?: string[];
|
|
344
344
|
timeOfDay?: string;
|
|
345
345
|
}
|
|
346
|
+
|
|
347
|
+
export interface TrackingEventData {
|
|
348
|
+
id: string;
|
|
349
|
+
event: string;
|
|
350
|
+
operatorId?: string;
|
|
351
|
+
timestamp?: string | number | Date;
|
|
352
|
+
activityId?: string;
|
|
353
|
+
originalActivityId?: string;
|
|
354
|
+
bonusesOffered?: boolean;
|
|
355
|
+
country?: string;
|
|
356
|
+
sessionId?: string;
|
|
357
|
+
userAgent?: string;
|
|
358
|
+
userId?: string;
|
|
359
|
+
|
|
360
|
+
[key: string]: unknown;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export type TrackingEventDataEnvelope = {
|
|
364
|
+
id: string;
|
|
365
|
+
environment: 'production' | 'staging' | 'demo';
|
|
366
|
+
body: TrackingEventData;
|
|
367
|
+
};
|