@smartico/public-api 0.0.123 → 0.0.124

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.
@@ -91,6 +91,7 @@ export declare enum ClassId {
91
91
  JP_OPTIN_RESPONSE = 805,
92
92
  JP_OPTOUT_REQUEST = 806,
93
93
  JP_OPTOUT_RESPONSE = 807,
94
+ JP_WIN_PUSH = 808,
94
95
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
95
96
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
96
97
  CLIENT_DEBUG_REQUEST = 77777,
@@ -1,4 +1,4 @@
1
1
  import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
  export interface GetJackpotsPotsRequest extends ProtocolMessage {
3
- pot_ids: number[];
3
+ jp_template_ids: number[];
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { ProtocolResponse } from "../Base/ProtocolResponse";
2
2
  import { JackpotPot } from "./JackpotPot";
3
3
  export interface GetJackpotsPotsResponse extends ProtocolResponse {
4
- pots: JackpotPot[];
4
+ items: JackpotPot[];
5
5
  }
@@ -1,4 +1,4 @@
1
1
  import { ProtocolMessage } from "../Base/ProtocolMessage";
2
2
  export interface GetJackpotsRequest extends ProtocolMessage {
3
- related_game_id?: string[];
3
+ related_game_id?: string;
4
4
  }
@@ -0,0 +1,8 @@
1
+ interface JackPotWinner {
2
+ is_me: boolean;
3
+ public_username: string;
4
+ winning_amount_jp_currency: number;
5
+ winning_amount_wallet_currency: number;
6
+ winning_position: number;
7
+ }
8
+ export { JackPotWinner };
@@ -0,0 +1,7 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ import { JackPotWinner } from "./JackPotWinner";
3
+ import { JackpotDetails } from "./JackpotDetails";
4
+ export interface JackpotWinPush extends ProtocolMessage {
5
+ jackpot: JackpotDetails;
6
+ winners: JackPotWinner[];
7
+ }
@@ -36,4 +36,10 @@ export interface SAWTemplateUI {
36
36
  custom_section_id?: number;
37
37
  only_in_custom_section?: boolean;
38
38
  custom_data: any;
39
+ placeholder_1?: string;
40
+ placeholder_2?: string;
41
+ prize_drop_template?: {
42
+ id: string;
43
+ content: string;
44
+ };
39
45
  }
@@ -17,3 +17,4 @@ export * from "./SAWWinSoundType";
17
17
  export * from "./SAWDoAknowledgeRequest";
18
18
  export * from "./SAWDoAknowledgeResponse";
19
19
  export * from "./SAWSpinsCountPush";
20
+ export * from "./SAWPrizeDropWinPush";
package/dist/index.js CHANGED
@@ -95,7 +95,7 @@ exports.ClassId = void 0;
95
95
  ClassId[ClassId["JP_OPTIN_RESPONSE"] = 805] = "JP_OPTIN_RESPONSE";
96
96
  ClassId[ClassId["JP_OPTOUT_REQUEST"] = 806] = "JP_OPTOUT_REQUEST";
97
97
  ClassId[ClassId["JP_OPTOUT_RESPONSE"] = 807] = "JP_OPTOUT_RESPONSE";
98
- // JP_WIN_PUSH = 808,
98
+ ClassId[ClassId["JP_WIN_PUSH"] = 808] = "JP_WIN_PUSH";
99
99
  ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ"] = 1003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ";
100
100
  ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP"] = 2003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP";
101
101
  ClassId[ClassId["CLIENT_DEBUG_REQUEST"] = 77777] = "CLIENT_DEBUG_REQUEST";