@wrcb/cb-common 1.0.305 → 1.0.307
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/build/events/betMadeEvent.d.ts +2 -0
- package/build/events/callFinishedEvent.d.ts +2 -0
- package/build/events/callStartedEvent.d.ts +2 -0
- package/build/events/commentCreatedEvent.d.ts +2 -0
- package/build/events/commentRepliedEvent.d.ts +2 -0
- package/build/events/couponUsedOnUserSignup.d.ts +2 -0
- package/build/events/linkToVerifyEmailCreatedEvent.d.ts +2 -0
- package/build/events/linkToVerifyWhatsappCreatedEvent.d.ts +2 -0
- package/build/events/newPasswordGeneratedEvent.d.ts +2 -0
- package/build/events/paymentMadeEvent.d.ts +2 -0
- package/build/events/predictionDeletedEvent.d.ts +2 -0
- package/build/events/predictionFinishedEvent.d.ts +2 -0
- package/build/events/predictionPausedEvent.d.ts +2 -0
- package/build/events/predictionStartedEvent.d.ts +2 -0
- package/build/events/predictionUpdatedEvent.d.ts +2 -0
- package/build/events/toggledBlockUserEvent.d.ts +2 -0
- package/build/events/userCreatedEvent.d.ts +2 -0
- package/build/events/userUpdatedEvent.d.ts +2 -0
- package/build/events/withdrawalMadeEvent.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { CallFinishReason } from 'src/types/callFinishReason';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface CallFinishedEvent {
|
|
4
5
|
subject: Subjects.CallFinished;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
targetId: string;
|
|
7
9
|
userId: string;
|
|
8
10
|
callId: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { UserRole } from 'src/types/userRole';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface CouponUsedOnUserSignupEvent {
|
|
4
5
|
subject: Subjects.CouponUsedOnUserSignup;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
userId: string;
|
|
7
9
|
userRole: UserRole;
|
|
8
10
|
email: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Language } from 'src/types/country';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface LinkToVerifyEmailCreatedEvent {
|
|
4
5
|
subject: Subjects.LinkToVerifyEmailCreated;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
userId: string;
|
|
7
9
|
email: string;
|
|
8
10
|
verificationEmailLink: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Language } from 'src/types/country';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface LinkToVerifyWhatsappCreatedEvent {
|
|
4
5
|
subject: Subjects.LinkToVerifyWhatsappCreated;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
userId: string;
|
|
7
9
|
whatsapp: string;
|
|
8
10
|
verificationWhatsappLink: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Language } from 'src/types/country';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface NewPasswordGeneratedEvent {
|
|
4
5
|
subject: Subjects.NewPasswordGenerated;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
userId: string;
|
|
7
9
|
email: string;
|
|
8
10
|
nickName: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TransactionOperation } from 'src/types/transactionOperation';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
3
|
import { TransactionOperationMode } from 'src/types/transactionOperationMode';
|
|
4
|
+
import { Tenant } from 'src/types/tenant';
|
|
4
5
|
export interface PaymentMadeEvent {
|
|
5
6
|
subject: Subjects.PaymentMade;
|
|
6
7
|
data: {
|
|
8
|
+
tenant: Tenant;
|
|
7
9
|
userId: string;
|
|
8
10
|
transactionId: string;
|
|
9
11
|
targetId: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Subjects } from './subjects';
|
|
2
2
|
import { OddType } from '../types/oddType';
|
|
3
3
|
import { PredictionOptions } from '../types/predictions';
|
|
4
|
+
import { Tenant } from 'src/types/tenant';
|
|
4
5
|
export interface PredictionStartedEvent {
|
|
5
6
|
subject: Subjects.PredictionStarted;
|
|
6
7
|
data: {
|
|
8
|
+
tenant: Tenant;
|
|
7
9
|
userId: string;
|
|
8
10
|
id: string;
|
|
9
11
|
title: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Subjects } from './subjects';
|
|
2
2
|
import { OddType } from '../types/oddType';
|
|
3
3
|
import { PredictionOptions } from '../types/predictions';
|
|
4
|
+
import { Tenant } from 'src/types/tenant';
|
|
4
5
|
export interface PredictionUpdatedEvent {
|
|
5
6
|
subject: Subjects.PredictionUpdated;
|
|
6
7
|
data: {
|
|
8
|
+
tenant: Tenant;
|
|
7
9
|
userId: string;
|
|
8
10
|
id: string;
|
|
9
11
|
title: string;
|
|
@@ -2,9 +2,11 @@ import { UserRole } from 'src/types/userRole';
|
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
3
|
import { UserProvider } from 'src/types/userProvider';
|
|
4
4
|
import { Country, Language } from 'src/types/country';
|
|
5
|
+
import { Tenant } from 'src/types/tenant';
|
|
5
6
|
export interface UserCreatedEvent {
|
|
6
7
|
subject: Subjects.UserCreated;
|
|
7
8
|
data: {
|
|
9
|
+
tenant: Tenant;
|
|
8
10
|
userId: string;
|
|
9
11
|
email: string;
|
|
10
12
|
nickName: string;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { UserRole } from 'src/types/userRole';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
|
+
import { Tenant } from 'src/types/tenant';
|
|
3
4
|
export interface UserUpdatedEvent {
|
|
4
5
|
subject: Subjects.UserUpdated;
|
|
5
6
|
data: {
|
|
7
|
+
tenant: Tenant;
|
|
6
8
|
route: string;
|
|
7
9
|
userId: string;
|
|
8
10
|
email: string;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { TransactionOperation } from 'src/types/transactionOperation';
|
|
2
2
|
import { Subjects } from './subjects';
|
|
3
3
|
import { TransactionOperationMode } from 'src/types/transactionOperationMode';
|
|
4
|
+
import { Tenant } from 'src/types/tenant';
|
|
4
5
|
export interface WithdrawalMadeEvent {
|
|
5
6
|
subject: Subjects.WithdrawalMade;
|
|
6
7
|
data: {
|
|
8
|
+
tenant: Tenant;
|
|
7
9
|
userId: string;
|
|
8
10
|
transactionId: string;
|
|
9
11
|
value: number;
|