jp.ui.app.toolkit 1.0.72 → 1.0.75

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.
Files changed (124) hide show
  1. package/dist/index.d.ts +262 -196
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/src/base-app/base-application-widget.d.ts +1 -1
  5. package/dist/src/base-app/base-application.d.ts +6 -8
  6. package/dist/src/blocks/raise-bottom-sheet/raise-bottom-sheet-block.d.ts +1 -2
  7. package/dist/src/blocks/reaction-bottom-sheet/reaction-bottom-sheet-block.d.ts +1 -2
  8. package/dist/src/data/hooks.d.ts +2 -0
  9. package/dist/src/data/middleware/app/utils.d.ts +3 -0
  10. package/dist/src/data/middleware/shop/index.d.ts +2 -0
  11. package/dist/src/data/middleware/shop/shop-screen-back-click-middleware.d.ts +1 -1
  12. package/dist/src/data/middleware/shop/shop-screen-dialog-primary-button-click-middleware.d.ts +1 -0
  13. package/dist/src/data/middleware/shop/shop-screen-dialog-secondary-button-click-middleware.d.ts +1 -0
  14. package/dist/src/data/middleware/shop/shop-screen-init-middleware.d.ts +1 -0
  15. package/dist/src/data/middleware/shop/shop-screen-item-click-middleware.d.ts +1 -0
  16. package/dist/src/data/middleware/tables/tables-screen-dialog-primary-button-click-middleware.d.ts +0 -2
  17. package/dist/src/data/requests/auth/auth-ok-request.d.ts +2 -3
  18. package/dist/src/data/requests/auth/auth-request.d.ts +2 -2
  19. package/dist/src/data/requests/auth/auth-tg-request.d.ts +2 -3
  20. package/dist/src/data/requests/auth/auth-vk-request.d.ts +2 -3
  21. package/dist/src/data/requests/auth/auth-web-request.d.ts +2 -3
  22. package/dist/src/data/requests/auth/auth-ya-login-request.d.ts +3 -0
  23. package/dist/src/data/requests/auth/auth-ya-request.d.ts +2 -3
  24. package/dist/src/data/requests/daily-bonus/daily-bonus-request.d.ts +2 -2
  25. package/dist/src/data/requests/find-free-table/find-free-table-request.d.ts +2 -6
  26. package/dist/src/data/requests/friends/friends-request.d.ts +2 -2
  27. package/dist/src/data/requests/index.d.ts +3 -0
  28. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-buy-ticket-request.d.ts +2 -2
  29. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-join-tournament-request.d.ts +2 -6
  30. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-status-request.d.ts +2 -2
  31. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-status-subscribe-request.d.ts +2 -2
  32. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-status-unsubscribe-request.d.ts +2 -2
  33. package/dist/src/data/requests/many-tables-tournament/many-tables-tournament-table-list-request.d.ts +2 -2
  34. package/dist/src/data/requests/menu/menu-request.d.ts +2 -2
  35. package/dist/src/data/requests/one-table-tournament/one-table-tournament-join-tournament-request.d.ts +2 -2
  36. package/dist/src/data/requests/one-table-tournament/one-table-tournament-status-request.d.ts +2 -2
  37. package/dist/src/data/requests/one-table-tournament/one-table-tournament-status-subscribe-request.d.ts +2 -2
  38. package/dist/src/data/requests/one-table-tournament/one-table-tournament-status-unsubscribe-request.d.ts +2 -2
  39. package/dist/src/data/requests/payments/ya-process-unprocessed-purchases-request.d.ts +2 -0
  40. package/dist/src/data/requests/payments/ya-purchase-request.d.ts +2 -0
  41. package/dist/src/data/requests/player-check-state/player-check-state-request.d.ts +2 -6
  42. package/dist/src/data/requests/players-profile/players-profile-request.d.ts +2 -2
  43. package/dist/src/data/requests/premium/premium-request.d.ts +2 -2
  44. package/dist/src/data/requests/rating/rating-request.d.ts +2 -2
  45. package/dist/src/data/requests/request.d.ts +1 -1
  46. package/dist/src/data/requests/rules/rules-request.d.ts +2 -2
  47. package/dist/src/data/requests/settings/save-settings-request.d.ts +2 -2
  48. package/dist/src/data/requests/settings/settings-request.d.ts +2 -2
  49. package/dist/src/data/requests/shop/shop-request.d.ts +2 -2
  50. package/dist/src/data/requests/tables/tables-request.d.ts +2 -2
  51. package/dist/src/data/requests/welcome/welcome-request.d.ts +2 -2
  52. package/dist/src/data/slices/auth-slice.d.ts +33 -0
  53. package/dist/src/data/slices/index.d.ts +81 -49
  54. package/dist/src/data/slices/many-tables-tournament-table-list-screen-slice.d.ts +2 -2
  55. package/dist/src/data/slices/menu-screen-slice.d.ts +2 -2
  56. package/dist/src/data/slices/settings-screen-slice.d.ts +6 -11
  57. package/dist/src/data/slices/shop-screen-slice.d.ts +8 -1
  58. package/dist/src/data/slices/tables-screen-slice.d.ts +3 -6
  59. package/dist/src/data/store.d.ts +2 -0
  60. package/dist/src/index-build.d.ts +1 -1
  61. package/dist/src/integration/index.d.ts +2 -0
  62. package/dist/src/integration/init-adv-banner.d.ts +1 -0
  63. package/dist/src/integration/vk/vk-adv-banner-hide.d.ts +1 -0
  64. package/dist/src/integration/vk/vk-adv-banner-show.d.ts +1 -0
  65. package/dist/src/integration/vk/vk-purchase.d.ts +7 -0
  66. package/dist/src/integration/ya/ya-adv-banner-hide.d.ts +1 -0
  67. package/dist/src/integration/ya/ya-adv-banner-show.d.ts +1 -0
  68. package/dist/src/integration/ya/ya-auth.d.ts +1 -0
  69. package/dist/src/integration/ya/ya-get-products.d.ts +3 -0
  70. package/dist/src/integration/ya/ya-get-purchases.d.ts +1 -0
  71. package/dist/src/integration/ya/ya-purchase.d.ts +1 -0
  72. package/dist/src/screens/daily-bonus/daily-bonus-screen.d.ts +1 -2
  73. package/dist/src/screens/friends/friends-screen.d.ts +1 -2
  74. package/dist/src/screens/many-tables-tournament-status/many-tables-tournament-status-screen.d.ts +1 -2
  75. package/dist/src/screens/many-tables-tournament-table-list/many-tables-tournament-table-list-screen.d.ts +1 -2
  76. package/dist/src/screens/menu/menu-screen.d.ts +1 -2
  77. package/dist/src/screens/one-table-tournament-status/one-table-tournament-status-screen.d.ts +1 -2
  78. package/dist/src/screens/players-profile/players-profile-screen.d.ts +1 -2
  79. package/dist/src/screens/premium/premium-screen.d.ts +1 -2
  80. package/dist/src/screens/rating/rating-screen.d.ts +1 -2
  81. package/dist/src/screens/rules/rules-screen.d.ts +1 -2
  82. package/dist/src/screens/settings/settings-screen.d.ts +1 -2
  83. package/dist/src/screens/shop/shop-screen.d.ts +1 -2
  84. package/dist/src/screens/tables/tables-screen.d.ts +1 -2
  85. package/dist/src/screens/welcome/welcome-screen.d.ts +1 -2
  86. package/dist/src/utils/client-logger.d.ts +1 -0
  87. package/dist/src/utils/config.d.ts +6 -1
  88. package/dist/src/utils/global-storage.enum.d.ts +4 -1
  89. package/dist/src/ws-events/many-tables-tournament/base-many-tables-tournament-update-table-state.ws.server.event.d.ts +2 -2
  90. package/dist/src/ws-events/many-tables-tournament/base-many-tables-tournament.ws.server.event.d.ts +1 -1
  91. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-move-to-the-finish.ws.server.event.d.ts +1 -1
  92. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-move-to-the-table.ws.server.event.d.ts +2 -2
  93. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-player-kicked-out.ws.server.event.d.ts +2 -2
  94. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-player-made-move.ws.server.event.d.ts +2 -2
  95. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-update-status.ws.server.event.d.ts +2 -2
  96. package/dist/src/ws-events/many-tables-tournament/many-tables-tournament-update-table-state.ws.server.event.d.ts +2 -2
  97. package/dist/src/ws-events/no-event.ws.server.event.d.ts +1 -1
  98. package/dist/src/ws-events/one-table-tournament/base-one-table-tournament-update-table-state.ws.server.event.d.ts +2 -2
  99. package/dist/src/ws-events/one-table-tournament/base-one-table-tournament.ws.server.event.d.ts +1 -1
  100. package/dist/src/ws-events/one-table-tournament/one-table-tournament-move-to-the-finish.ws.server.event.d.ts +1 -1
  101. package/dist/src/ws-events/one-table-tournament/one-table-tournament-move-to-the-table.ws.server.event.d.ts +2 -2
  102. package/dist/src/ws-events/one-table-tournament/one-table-tournament-player-kicked-out.ws.server.event.d.ts +2 -2
  103. package/dist/src/ws-events/one-table-tournament/one-table-tournament-player-made-move.ws.server.event.d.ts +2 -2
  104. package/dist/src/ws-events/one-table-tournament/one-table-tournament-update-status.ws.server.event.d.ts +2 -2
  105. package/dist/src/ws-events/one-table-tournament/one-table-tournament-update-table-state.ws.server.event.d.ts +2 -2
  106. package/dist/src/ws-events/other/main-tables-update-list.ws.server.event.ts.d.ts +2 -2
  107. package/dist/src/ws-events/other/snackbar-send-to-player.ws.server.event.d.ts +1 -1
  108. package/dist/src/ws-events/simple-room/base-simple-room-update-table-state.ws.server.event.d.ts +2 -2
  109. package/dist/src/ws-events/simple-room/base-simple-room.ws.server.event.d.ts +1 -1
  110. package/dist/src/ws-events/simple-room/simple-room-player-kicked-out.ws.server.event.d.ts +2 -2
  111. package/dist/src/ws-events/simple-room/simple-room-player-made-move.ws.server.event.d.ts +2 -2
  112. package/dist/src/ws-events/simple-room/simple-room-update-table-state.ws.server.event.d.ts +2 -2
  113. package/dist/src/ws-events/ws-events-factory.d.ts +2 -2
  114. package/package.json +14 -6
  115. package/dist/src/data/middleware/menu/menu-screen-item-type.d.ts +0 -10
  116. package/dist/src/data/middleware/one-table-tournament-status/one-table-tournament-status-screen-middleware.d.ts +0 -1
  117. package/dist/src/data/middleware/shop/shop-screen-middleware.d.ts +0 -1
  118. package/dist/src/data/middleware/tables/server-error-response.d.ts +0 -6
  119. package/dist/src/data/requests/auth/auth-response.d.ts +0 -8
  120. package/dist/src/events/one-table-tournament/one-table-tournament-player-kicked-out.ws.server.event.d.ts +0 -4
  121. package/dist/src/events/one-table-tournament/one-table-tournament-player-made-move.ws.server.event.d.ts +0 -6
  122. package/dist/src/events/one-table-tournament/one-table-tournament-update-table-state.ws.server.event.d.ts +0 -4
  123. package/dist/src/types/channel-types.d.ts +0 -9
  124. package/dist/src/types/ws-event.enum.d.ts +0 -5
@@ -3,5 +3,5 @@ import type { RouteType } from '../types/route.type.ts';
3
3
  type BaseApplicationWidgetProps = {
4
4
  routes: Array<RouteType>;
5
5
  };
6
- export declare const BaseApplicationWidget: ({ routes }: BaseApplicationWidgetProps) => React.JSX.Element;
6
+ export declare const BaseApplicationWidget: ({ routes, }: BaseApplicationWidgetProps) => React.JSX.Element;
7
7
  export {};
@@ -1,10 +1,8 @@
1
- import React, { Component } from 'react';
2
- import type { Store } from '@reduxjs/toolkit';
3
- import type { RouteType } from '../types/route.type.ts';
4
- interface BaseApplicationProps {
5
- }
6
- interface BaseApplicationState {
7
- }
1
+ import { Component } from 'react';
2
+ import { type Store } from '@reduxjs/toolkit';
3
+ import { type RouteType } from '../types/route.type';
4
+ type BaseApplicationProps = object;
5
+ type BaseApplicationState = object;
8
6
  export declare abstract class BaseApplication extends Component<BaseApplicationProps, BaseApplicationState> {
9
7
  private readonly store;
10
8
  init(): void;
@@ -12,6 +10,6 @@ export declare abstract class BaseApplication extends Component<BaseApplicationP
12
10
  componentDidMount(): void;
13
11
  componentWillUnmount(): void;
14
12
  getRoutes(): Array<RouteType>;
15
- render(): React.JSX.Element;
13
+ render(): import("react").JSX.Element;
16
14
  }
17
15
  export {};
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import type { DictionaryItem } from 'jp.ui.app.ds/dist/just_poker/bottom-selection-panel/bottom-selection-panel';
3
2
  type RaiseBottomSheetBlockProps = {
4
3
  items: Array<DictionaryItem>;
@@ -6,5 +5,5 @@ type RaiseBottomSheetBlockProps = {
6
5
  title: string;
7
6
  closeTitle?: string;
8
7
  };
9
- export declare const RaiseBottomSheetBlock: ({ items, itemClick, title, closeTitle }: RaiseBottomSheetBlockProps) => React.JSX.Element;
8
+ export declare const RaiseBottomSheetBlock: ({ items, itemClick, title, closeTitle, }: RaiseBottomSheetBlockProps) => import("react").JSX.Element;
10
9
  export {};
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import type { DictionaryItem } from 'jp.ui.app.ds/dist/just_poker/bottom-selection-panel/bottom-selection-panel';
3
2
  type ReactionBottomSheetBlockProps = {
4
3
  items: Array<DictionaryItem>;
@@ -6,5 +5,5 @@ type ReactionBottomSheetBlockProps = {
6
5
  title: string;
7
6
  closeTitle?: string;
8
7
  };
9
- export declare const ReactionBottomSheetBlock: ({ items, itemClick, title, closeTitle }: ReactionBottomSheetBlockProps) => React.JSX.Element;
8
+ export declare const ReactionBottomSheetBlock: ({ items, itemClick, title, closeTitle, }: ReactionBottomSheetBlockProps) => import("react").JSX.Element;
10
9
  export {};
@@ -17,6 +17,7 @@ export declare const useAppDispatch: import("react-redux").UseDispatch<import("r
17
17
  manyTablesTournamentStatusScreenSlice: import("./slices/many-tables-tournament-status-screen-slice").ManyTablesTournamentStatusScreenState;
18
18
  manyTablesTournamentTableListScreenSlice: import("./slices/many-tables-tournament-table-list-screen-slice").ManyTablesTournamentTableListScreenState;
19
19
  wsConnectorSlice: import("./slices/ws-connector-slice").WsConnectorState;
20
+ authSlice: import("./slices/auth-slice").IAuthSliceState;
20
21
  }, undefined, import("redux").UnknownAction> & import("redux").Dispatch<import("redux").UnknownAction>>;
21
22
  export declare const useAppSelector: import("react-redux").UseSelector<{
22
23
  appSlice: import("./slices/app-slice").AppSlice;
@@ -37,4 +38,5 @@ export declare const useAppSelector: import("react-redux").UseSelector<{
37
38
  manyTablesTournamentStatusScreenSlice: import("./slices/many-tables-tournament-status-screen-slice").ManyTablesTournamentStatusScreenState;
38
39
  manyTablesTournamentTableListScreenSlice: import("./slices/many-tables-tournament-table-list-screen-slice").ManyTablesTournamentTableListScreenState;
39
40
  wsConnectorSlice: import("./slices/ws-connector-slice").WsConnectorState;
41
+ authSlice: import("./slices/auth-slice").IAuthSliceState;
40
42
  }>;
@@ -0,0 +1,3 @@
1
+ import type { ListenerEffectAPI } from '@reduxjs/toolkit';
2
+ import type { AuthResponse } from '../../requests/auth/auth-response';
3
+ export declare function authLogic(listenerApi: ListenerEffectAPI<any, any>, authData: AuthResponse): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import type { ListenerMiddleware } from '@reduxjs/toolkit';
2
+ export declare const shopScreenListMiddlewares: Array<ListenerMiddleware>;
@@ -1 +1 @@
1
- export declare const shopGameSliceListenerBackClickMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
1
+ export declare const shopScreenListenerBackClickMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
@@ -0,0 +1 @@
1
+ export declare const shopScreenDialogPrimaryButtonClickListenerMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
@@ -0,0 +1 @@
1
+ export declare const shopScreenDialogSecondaryButtonClickListenerMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
@@ -0,0 +1 @@
1
+ export declare const shopScreenInitListenerMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
@@ -0,0 +1 @@
1
+ export declare const shopScreenItemClickListenerMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
@@ -1,3 +1 @@
1
- import { type IAppScreenDialog } from 'jp.common.models';
2
1
  export declare const tablesScreenDialogPrimaryButtonClickListenerMiddleware: import("@reduxjs/toolkit").ListenerMiddlewareInstance<unknown, import("redux-thunk").ThunkDispatch<unknown, unknown, import("redux").UnknownAction>, unknown>;
3
- export declare function getValueFromDialog(dialogs: Array<IAppScreenDialog>, dialogId: string): any;
@@ -1,4 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { IClientInfo } from 'jp.common.models';
3
- import type { AuthResponse } from './auth-response';
4
- export declare function authOKRequest(clientInfo: IClientInfo): Promise<AxiosResponse<AuthResponse>>;
2
+ import type { IAuthResponse, IClientInfo } from 'jp.common.models';
3
+ export declare function authOKRequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { AuthResponse } from './auth-response';
3
- export declare function authRequest(): Promise<AxiosResponse<AuthResponse>>;
2
+ import { type IAuthResponse } from 'jp.common.models';
3
+ export declare function authRequest(): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,4 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { IClientInfo } from 'jp.common.models';
3
- import type { AuthResponse } from './auth-response';
4
- export declare function authTGRequest(clientInfo: IClientInfo): Promise<AxiosResponse<AuthResponse>>;
2
+ import type { IAuthResponse, IClientInfo } from 'jp.common.models';
3
+ export declare function authTGRequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,4 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { IClientInfo } from 'jp.common.models';
3
- import type { AuthResponse } from './auth-response';
4
- export declare function authVKRequest(clientInfo: IClientInfo): Promise<AxiosResponse<AuthResponse>>;
2
+ import type { IAuthResponse, IClientInfo } from 'jp.common.models';
3
+ export declare function authVKRequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,4 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { IClientInfo } from 'jp.common.models';
3
- import type { AuthResponse } from './auth-response';
4
- export declare function authWEBRequest(clientInfo: IClientInfo): Promise<AxiosResponse<AuthResponse>>;
2
+ import type { IAuthResponse, IClientInfo } from 'jp.common.models';
3
+ export declare function authWEBRequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -0,0 +1,3 @@
1
+ import type { AxiosResponse } from 'axios';
2
+ import type { IAuthResponse, IClientInfo } from 'jp.common.models';
3
+ export declare function authYALoginRequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,4 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { IClientInfo } from 'jp.common.models';
3
- import type { AuthResponse } from './auth-response';
4
- export declare function authYARequest(clientInfo: IClientInfo): Promise<AxiosResponse<AuthResponse>>;
2
+ import type { IClientInfo, IAuthResponse } from 'jp.common.models';
3
+ export declare function authYARequest(clientInfo: IClientInfo): Promise<AxiosResponse<IAuthResponse>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getDailyBonusRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getDailyBonusRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,7 +1,3 @@
1
1
  import { type AxiosResponse } from 'axios';
2
- type FindFreeTableDto = {
3
- playerId?: string;
4
- redirectUrl: string;
5
- };
6
- export declare function findFreeTableRequest(): Promise<AxiosResponse<FindFreeTableDto>>;
7
- export {};
2
+ import type { IRedirectPlayerResponse } from 'jp.common.models';
3
+ export declare function findFreeTableRequest(): Promise<AxiosResponse<IRedirectPlayerResponse>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getFriendsRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getFriendsRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,4 +1,5 @@
1
1
  export { authRequest } from './auth/auth-request';
2
+ export { authYALoginRequest } from './auth/auth-ya-login-request';
2
3
  export { getMenuRequest } from './menu/menu-request';
3
4
  export { getShopRequest } from './shop/shop-request';
4
5
  export { getRulesRequest } from './rules/rules-request';
@@ -17,3 +18,5 @@ export { moveOnTheTableRequest } from './table/move-on-the-table-request';
17
18
  export { playerCheckStateRequest } from './player-check-state/player-check-state-request';
18
19
  export { oneTableTournamentStatusRequest, oneTableTournamentStatusSubscribeRequest, oneTableTournamentStatusUnsubscribeRequest, oneTableTournamentWatchTheTableRequest, oneTableTournamentMoveOnTheTableRequest, oneTableTournamentJoinTournamentRequest, oneTableTournamentLeaveTournamentRequest, } from './one-table-tournament';
19
20
  export { manyTablesTournamentStatusRequest, manyTablesTournamentTableListRequest, manyTablesTournamentWatchTheTableRequest, manyTablesTournamentMoveOnTheTableRequest, manyTablesTournamentJoinTournamentRequest, manyTablesTournamentLeaveTournamentRequest, manyTablesTournamentBuyTicketRequest, manyTablesTournamentStatusSubscribeRequest, manyTableseTournamentStatusUnsubscribeRequest, } from './many-tables-tournament';
21
+ export { yaProcessUnprocessedPurchasesRequest } from './payments/ya-process-unprocessed-purchases-request';
22
+ export { yaPurchaseRequest } from './payments/ya-purchase-request';
@@ -1,3 +1,3 @@
1
1
  import { type AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function manyTablesTournamentBuyTicketRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function manyTablesTournamentBuyTicketRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,7 +1,3 @@
1
1
  import { type AxiosResponse } from 'axios';
2
- type ManyTablesJoinTournamentDto = {
3
- playerId: string;
4
- redirectUrl: string;
5
- };
6
- export declare function manyTablesTournamentJoinTournamentRequest(tournamentId: string): Promise<AxiosResponse<ManyTablesJoinTournamentDto>>;
7
- export {};
2
+ import type { IRedirectPlayerResponse } from 'jp.common.models';
3
+ export declare function manyTablesTournamentJoinTournamentRequest(tournamentId: string): Promise<AxiosResponse<IRedirectPlayerResponse>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function manyTablesTournamentStatusRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function manyTablesTournamentStatusRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function manyTablesTournamentStatusSubscribeRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function manyTablesTournamentStatusSubscribeRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function manyTableseTournamentStatusUnsubscribeRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function manyTableseTournamentStatusUnsubscribeRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function manyTablesTournamentTableListRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function manyTablesTournamentTableListRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getMenuRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getMenuRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import { type AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function oneTableTournamentJoinTournamentRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function oneTableTournamentJoinTournamentRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function oneTableTournamentStatusRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function oneTableTournamentStatusRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function oneTableTournamentStatusSubscribeRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function oneTableTournamentStatusSubscribeRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function oneTableTournamentStatusUnsubscribeRequest(tournamentId: string): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function oneTableTournamentStatusUnsubscribeRequest(tournamentId: string): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -0,0 +1,2 @@
1
+ import { type AxiosResponse } from 'axios';
2
+ export declare function yaProcessUnprocessedPurchasesRequest(purchasesSignature: string): Promise<AxiosResponse<void>>;
@@ -0,0 +1,2 @@
1
+ import { type AxiosResponse } from 'axios';
2
+ export declare function yaPurchaseRequest(purchasesSignature: string): Promise<AxiosResponse<void>>;
@@ -1,7 +1,3 @@
1
1
  import { AxiosResponse } from 'axios';
2
- type PlayerCheckStateDto = {
3
- playerId?: string;
4
- redirectUrl: string;
5
- };
6
- export declare function playerCheckStateRequest(): Promise<AxiosResponse<PlayerCheckStateDto>>;
7
- export {};
2
+ import type { IRedirectPlayerResponse } from 'jp.common.models';
3
+ export declare function playerCheckStateRequest(): Promise<AxiosResponse<IRedirectPlayerResponse>>;
@@ -1,3 +1,3 @@
1
1
  import { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getPlayersProfileRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getPlayersProfileRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getPremiumRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getPremiumRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getRatingRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getRatingRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  export declare function getBaseRequest(url: string): import("axios").AxiosInstance;
2
2
  export declare function getRequest(url: string): Promise<import("axios").AxiosResponse<any, any, {}>>;
3
- export declare function postRequest(url: string, data?: any): Promise<import("axios").AxiosResponse<any, any, {}>>;
3
+ export declare function postRequest(url: string, data?: object): Promise<import("axios").AxiosResponse<any, any, {}>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getRulesRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getRulesRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,5 +1,5 @@
1
1
  import { type AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
3
  export interface ISaveSettigsRequestParams {
4
4
  avatar: string;
5
5
  avatarFrame: string;
@@ -12,4 +12,4 @@ export interface ISaveSettigsRequestParams {
12
12
  colorSchema: string;
13
13
  bgPattern: string;
14
14
  }
15
- export declare function saveSettigsRequest(data: ISaveSettigsRequestParams): Promise<AxiosResponse<BaseAppScreen>>;
15
+ export declare function saveSettigsRequest(data: ISaveSettigsRequestParams): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getSettingsRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getSettingsRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getShopRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getShopRequest(parentId: string | undefined): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getTablesRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getTablesRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -1,3 +1,3 @@
1
1
  import type { AxiosResponse } from 'axios';
2
- import type { BaseAppScreen } from 'jp.common.models';
3
- export declare function getWelcomeRequest(): Promise<AxiosResponse<BaseAppScreen>>;
2
+ import type { IBaseAppScreen } from 'jp.common.models';
3
+ export declare function getWelcomeRequest(): Promise<AxiosResponse<IBaseAppScreen>>;
@@ -0,0 +1,33 @@
1
+ import type { PayloadAction } from '@reduxjs/toolkit';
2
+ import type { IAuthResponse } from 'jp.common.models';
3
+ export interface IAuthSliceState {
4
+ isLoading: boolean;
5
+ isError: boolean;
6
+ data: IAuthResponse | undefined;
7
+ }
8
+ export declare const authSlice: import("@reduxjs/toolkit").Slice<IAuthSliceState, {
9
+ start: (state: IAuthSliceState) => {
10
+ isLoading: boolean;
11
+ isError: boolean;
12
+ data: undefined;
13
+ };
14
+ error: (state: IAuthSliceState) => {
15
+ isLoading: boolean;
16
+ isError: boolean;
17
+ data: IAuthResponse | undefined;
18
+ };
19
+ success: (state: IAuthSliceState, action: PayloadAction<IAuthResponse | undefined>) => {
20
+ isLoading: boolean;
21
+ isError: boolean;
22
+ data: IAuthResponse | undefined;
23
+ };
24
+ init: (state: Map<import("immer").Draft<K>, import("immer").Draft<V>>) => Map<import("immer").Draft<K>, import("immer").Draft<V>>;
25
+ backClick: (state: Map<import("immer").Draft<K>, import("immer").Draft<V>>) => Map<import("immer").Draft<K>, import("immer").Draft<V>>;
26
+ }, "authSlice", "authSlice", {
27
+ getData: (sliceState: IAuthSliceState) => IAuthResponse | undefined;
28
+ getIsGuest: (sliceState: IAuthSliceState) => boolean;
29
+ isLoading: (sliceState: IAuthSliceState) => boolean;
30
+ isError: (sliceState: IAuthSliceState) => boolean;
31
+ }>;
32
+ declare const _default: import("redux").Reducer<IAuthSliceState>;
33
+ export default _default;