front-back-poker-types 5.0.206 → 5.0.207

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.
@@ -98,7 +98,10 @@ export type UserTransaction = {
98
98
  } & (WithdrawUserTransaction | RoomUserTransaction | TournamentTransaction | {
99
99
  type: Exclude<TransactionType, TransactionType.Withdraw | TransactionType.BuyIn | TransactionType.CashOut | TransactionType.TournamentBuyIn | TransactionType.TournamentPrize | TransactionType.TournamentCancel>;
100
100
  });
101
- export type GetUserTransactionsResponse = UserTransaction[];
101
+ export type GetUserTransactionsResponse = {
102
+ totalCount: number;
103
+ data: UserTransaction[];
104
+ };
102
105
  export declare const PROMO_CODE_PATHNAME = "/promo-code";
103
106
  export declare const USER_PROMO_CODE_PATHNAME = "/user/promo-code";
104
107
  export type PostActivePromoCodeRequest = {
@@ -98,7 +98,10 @@ export type UserTransaction = {
98
98
  } & (WithdrawUserTransaction | RoomUserTransaction | TournamentTransaction | {
99
99
  type: Exclude<TransactionType, TransactionType.Withdraw | TransactionType.BuyIn | TransactionType.CashOut | TransactionType.TournamentBuyIn | TransactionType.TournamentPrize | TransactionType.TournamentCancel>;
100
100
  });
101
- export type GetUserTransactionsResponse = UserTransaction[];
101
+ export type GetUserTransactionsResponse = {
102
+ totalCount: number;
103
+ data: UserTransaction[];
104
+ };
102
105
  export declare const PROMO_CODE_PATHNAME = "/promo-code";
103
106
  export declare const USER_PROMO_CODE_PATHNAME = "/user/promo-code";
104
107
  export type PostActivePromoCodeRequest = {
package/dist/index.d.ts CHANGED
@@ -141,7 +141,10 @@ type UserTransaction = {
141
141
  } & (WithdrawUserTransaction | RoomUserTransaction | TournamentTransaction | {
142
142
  type: Exclude<TransactionType, TransactionType.Withdraw | TransactionType.BuyIn | TransactionType.CashOut | TransactionType.TournamentBuyIn | TransactionType.TournamentPrize | TransactionType.TournamentCancel>;
143
143
  });
144
- type GetUserTransactionsResponse = UserTransaction[];
144
+ type GetUserTransactionsResponse = {
145
+ totalCount: number;
146
+ data: UserTransaction[];
147
+ };
145
148
  declare const PROMO_CODE_PATHNAME = "/promo-code";
146
149
  declare const USER_PROMO_CODE_PATHNAME = "/user/promo-code";
147
150
  type PostActivePromoCodeRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "front-back-poker-types",
3
- "version": "5.0.206",
3
+ "version": "5.0.207",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "files": [