@smartico/public-api 0.0.121 → 0.0.122

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 (54) hide show
  1. package/dist/Base/ClassId.d.ts +13 -0
  2. package/dist/Jackpots/GetJackpotsPotsRequest.d.ts +4 -0
  3. package/dist/Jackpots/GetJackpotsPotsResponse.d.ts +5 -0
  4. package/dist/Jackpots/GetJackpotsRequest.d.ts +4 -0
  5. package/dist/Jackpots/GetJackpotsResponse.d.ts +5 -0
  6. package/dist/Jackpots/JackpotContributionType.d.ts +5 -0
  7. package/dist/Jackpots/JackpotDetails.d.ts +17 -0
  8. package/dist/Jackpots/JackpotPot.d.ts +7 -0
  9. package/dist/Jackpots/JackpotPublicMeta.d.ts +6 -0
  10. package/dist/Jackpots/JackpotType.d.ts +4 -0
  11. package/dist/Jackpots/JackpotsOptinRequest.d.ts +4 -0
  12. package/dist/Jackpots/JackpotsOptinResponse.d.ts +3 -0
  13. package/dist/Jackpots/JackpotsOptoutRequest.d.ts +4 -0
  14. package/dist/Jackpots/JackpotsOptoutResponse.d.ts +3 -0
  15. package/dist/MiniGames/SAWGameType.d.ts +3 -1
  16. package/dist/MiniGames/SAWPrizeDropAknowledgeRequest.d.ts +4 -0
  17. package/dist/MiniGames/SAWPrizeDropAknowledgeResponse.d.ts +4 -0
  18. package/dist/MiniGames/SAWPrizeDropWinPush.d.ts +7 -0
  19. package/dist/Quiz/MarketsAnswersType.d.ts +22 -0
  20. package/dist/Quiz/MarketsInfo.d.ts +2 -1
  21. package/dist/Quiz/index.d.ts +1 -0
  22. package/dist/Store/GetStoreHistoryRequest.d.ts +5 -0
  23. package/dist/Store/GetStoreHistoryResponse.d.ts +6 -0
  24. package/dist/Store/StorItemPruchased.d.ts +6 -0
  25. package/dist/index.js +303 -11
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.modern.mjs +305 -12
  28. package/dist/index.modern.mjs.map +1 -1
  29. package/package.json +1 -1
  30. package/src/Base/ClassId.ts +21 -0
  31. package/src/Jackpots/GetJackpotsPotsRequest.ts +5 -0
  32. package/src/Jackpots/GetJackpotsPotsResponse.ts +8 -0
  33. package/src/Jackpots/GetJackpotsRequest.ts +7 -0
  34. package/src/Jackpots/GetJackpotsResponse.ts +9 -0
  35. package/src/Jackpots/JackpotContributionType.ts +7 -0
  36. package/src/Jackpots/JackpotDetails.ts +20 -0
  37. package/src/Jackpots/JackpotPot.ts +10 -0
  38. package/src/Jackpots/JackpotPublicMeta.ts +8 -0
  39. package/src/Jackpots/JackpotType.ts +8 -0
  40. package/src/Jackpots/JackpotsOptinRequest.ts +7 -0
  41. package/src/Jackpots/JackpotsOptinResponse.ts +5 -0
  42. package/src/Jackpots/JackpotsOptoutRequest.ts +7 -0
  43. package/src/Jackpots/JackpotsOptoutResponse.ts +5 -0
  44. package/src/Jackpots/jackpotsWSApi.zip +0 -0
  45. package/src/MiniGames/SAWGameType.ts +5 -2
  46. package/src/MiniGames/SAWPrizeDropAknowledgeRequest.ts +5 -0
  47. package/src/MiniGames/SAWPrizeDropAknowledgeResponse.ts +5 -0
  48. package/src/MiniGames/SAWPrizeDropWinPush.ts +8 -0
  49. package/src/Quiz/MarketsAnswersType.ts +22 -0
  50. package/src/Quiz/MarketsInfo.ts +185 -8
  51. package/src/Quiz/index.ts +2 -1
  52. package/src/Store/GetStoreHistoryRequest.ts +6 -0
  53. package/src/Store/GetStoreHistoryResponse.ts +7 -0
  54. package/src/Store/StorItemPruchased.ts +8 -0
@@ -64,6 +64,8 @@ export declare enum ClassId {
64
64
  GET_ACH_CATEGORIES_RESPONSE = 538,
65
65
  ACHIEVEMENT_CLAIM_PRIZE_REQUEST = 539,
66
66
  ACHIEVEMENT_CLAIM_PRIZE_RESPONSE = 540,
67
+ ACH_SHOP_ITEM_HISTORY_REQUEST = 541,
68
+ ACH_SHOP_ITEM_HISTORY_RESPONSE = 542,
67
69
  GET_BONUSES_REQUEST = 600,
68
70
  GET_BONUSES_RESPONSE = 601,
69
71
  CLAIM_BONUS_REQUEST = 602,
@@ -76,6 +78,17 @@ export declare enum ClassId {
76
78
  SAW_AKNOWLEDGE_RESPONSE = 705,
77
79
  SAW_SPINS_COUNT_PUSH = 706,
78
80
  SAW_SHOW_SPIN_PUSH = 707,
81
+ SAW_PRIZE_DROP_WIN_PUSH = 708,
82
+ SAW_PRIZE_DROP_WIN_AKNOWLEDGE_REQUEST = 709,
83
+ SAW_PRIZE_DROP_WIN_AKNOWLEDGE_RESPONSE = 710,
84
+ JP_GET_JACKPOTS_REQUEST = 800,
85
+ JP_GET_JACKPOTS_RESPONSE = 801,
86
+ JP_GET_LATEST_POTS_REQUEST = 802,
87
+ JP_GET_LATEST_POTS_RESPONSE = 803,
88
+ JP_OPTIN_REQUEST = 804,
89
+ JP_OPTIN_RESPONSE = 805,
90
+ JP_OPTOUT_REQUEST = 806,
91
+ JP_OPTOUT_RESPONSE = 807,
79
92
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ = 1003,
80
93
  REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP = 2003,
81
94
  CLIENT_DEBUG_REQUEST = 77777,
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface GetJackpotsPotsRequest extends ProtocolMessage {
3
+ pot_ids: number[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ import { JackpotPot } from "./JackpotPot";
3
+ export interface GetJackpotsPotsResponse extends ProtocolResponse {
4
+ pots: JackpotPot[];
5
+ }
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface GetJackpotsRequest extends ProtocolMessage {
3
+ related_game_id?: string[];
4
+ }
@@ -0,0 +1,5 @@
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ import { JackpotDetails } from "./JackpotDetails";
3
+ export interface GetJackpotsResponse extends ProtocolResponse {
4
+ jackpots: JackpotDetails[];
5
+ }
@@ -0,0 +1,5 @@
1
+ declare enum JackpotContributionType {
2
+ Fixed = 1,
3
+ Percentage = 2
4
+ }
5
+ export { JackpotContributionType };
@@ -0,0 +1,17 @@
1
+ import { AchRelatedGame } from "../Base/AchRelatedGame";
2
+ import { JackpotContributionType } from "./JackpotContributionType";
3
+ import { JackpotPot } from "./JackpotPot";
4
+ import { JackpotPublicMeta } from "./JackpotPublicMeta";
5
+ import { JackpotType } from "./JackpotType";
6
+ interface JackpotDetails {
7
+ jp_template_id: number;
8
+ jp_type_id: JackpotType;
9
+ jp_public_meta: JackpotPublicMeta;
10
+ jp_currency: string;
11
+ related_games?: AchRelatedGame[];
12
+ contribution_type: JackpotContributionType;
13
+ contribution_value: number;
14
+ pot: JackpotPot;
15
+ is_opted_in: boolean;
16
+ }
17
+ export { JackpotDetails };
@@ -0,0 +1,7 @@
1
+ interface JackpotPot {
2
+ jp_template_id: number;
3
+ jp_pot_id: number;
4
+ current_pot_amount: number;
5
+ explode_date_ts: number;
6
+ }
7
+ export { JackpotPot };
@@ -0,0 +1,6 @@
1
+ interface JackpotPublicMeta {
2
+ name: string;
3
+ description: string;
4
+ image_url: string;
5
+ }
6
+ export { JackpotPublicMeta };
@@ -0,0 +1,4 @@
1
+ declare enum JackpotType {
2
+ Main = 1
3
+ }
4
+ export { JackpotType };
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface JackpotsOptinRequest extends ProtocolMessage {
3
+ jp_template_id: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface JackpotsOptinResponse extends ProtocolResponse {
3
+ }
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface JackpotsOptoutRequest extends ProtocolMessage {
3
+ jp_template_id: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ import { ProtocolResponse } from "../Base/ProtocolResponse";
2
+ export interface JackpotsOptoutResponse extends ProtocolResponse {
3
+ }
@@ -3,13 +3,15 @@ export declare enum SAWGameType {
3
3
  SpinAWheel = 1,
4
4
  ScratchCard = 2,
5
5
  MatchX = 3,
6
- GiftBox = 4
6
+ GiftBox = 4,
7
+ PrizeDrop = 5
7
8
  }
8
9
  export declare enum SAWGameTypeName {
9
10
  SpinAWheel = "wheel",
10
11
  ScratchCard = "scratch",
11
12
  MatchX = "matchx",
12
13
  GiftBox = "giftbox",
14
+ PrizeDrop = "prizedrop",
13
15
  Unknown = "unknown"
14
16
  }
15
17
  /** @hidden */
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface SAWPrizeDropAknowledgeRequest extends ProtocolMessage {
3
+ request_id: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface SAWPrizeDropAknowledgeResponse extends ProtocolMessage {
3
+ request_id: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { ProtocolMessage } from ".././Base/ProtocolMessage";
2
+ import { SAWPrize } from "./SAWPrize";
3
+ export interface SAWPrizeDropWinPush extends ProtocolMessage {
4
+ request_id: string;
5
+ saw_template_id: number;
6
+ saw_prize: SAWPrize;
7
+ }
@@ -0,0 +1,22 @@
1
+ export declare enum MarketsValueType {
2
+ HomeTeam = "1",
3
+ AwayTeam = "2",
4
+ Draw = "x",
5
+ HomeTeamHomeTeam = "1/1",
6
+ HomeTeamDraw = "1/x",
7
+ HomeTeamAwayTeam = "1/2",
8
+ DrawHomeTeam = "x/1",
9
+ DrawDraw = "x/x",
10
+ DrawAwayTeam = "x/2",
11
+ AwayTeamHomeTeam = "2/1",
12
+ AwayTeamDraw = "2/x",
13
+ AwayTeamAwayTeam = "2/2",
14
+ Yes = "yes",
15
+ No = "no",
16
+ Odd = "odd",
17
+ Even = "even",
18
+ HomeOdd = "1/odd",
19
+ HomeEven = "1/even",
20
+ AwayOdd = "2/odd",
21
+ AwayEven = "2/even"
22
+ }
@@ -1,3 +1,4 @@
1
+ import { MarketsValueType } from "./MarketsAnswersType";
1
2
  import { QuizMarketType } from "./MarketsType";
2
3
  export declare const marketsInfo: {
3
4
  type: QuizMarketType;
@@ -8,6 +9,6 @@ export declare const marketsInfo: {
8
9
  };
9
10
  answers: {
10
11
  text: string;
11
- trKey: string;
12
+ value: MarketsValueType;
12
13
  }[];
13
14
  }[];
@@ -3,3 +3,4 @@ export * from './MarketsType';
3
3
  export * from './ScoreResultTypes';
4
4
  export * from './MarketsInfo';
5
5
  export * from './MarketsPerSport';
6
+ export * from './MarketsAnswersType';
@@ -0,0 +1,5 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ export interface GetStoreHistoryRequest extends ProtocolMessage {
3
+ offset: number;
4
+ limit: number;
5
+ }
@@ -0,0 +1,6 @@
1
+ import { ProtocolMessage } from "../Base/ProtocolMessage";
2
+ import { StorItemPruchased } from "./StorItemPruchased";
3
+ export interface GetStoreHistoryResponse extends ProtocolMessage {
4
+ items: StorItemPruchased[];
5
+ hasMore: boolean;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { StoreItem } from "./StoreItem";
2
+ interface StorItemPruchased extends StoreItem {
3
+ purchase_ts: number;
4
+ purchase_points_amount: number;
5
+ }
6
+ export { StorItemPruchased };
package/dist/index.js CHANGED
@@ -68,6 +68,8 @@ exports.ClassId = void 0;
68
68
  ClassId[ClassId["GET_ACH_CATEGORIES_RESPONSE"] = 538] = "GET_ACH_CATEGORIES_RESPONSE";
69
69
  ClassId[ClassId["ACHIEVEMENT_CLAIM_PRIZE_REQUEST"] = 539] = "ACHIEVEMENT_CLAIM_PRIZE_REQUEST";
70
70
  ClassId[ClassId["ACHIEVEMENT_CLAIM_PRIZE_RESPONSE"] = 540] = "ACHIEVEMENT_CLAIM_PRIZE_RESPONSE";
71
+ ClassId[ClassId["ACH_SHOP_ITEM_HISTORY_REQUEST"] = 541] = "ACH_SHOP_ITEM_HISTORY_REQUEST";
72
+ ClassId[ClassId["ACH_SHOP_ITEM_HISTORY_RESPONSE"] = 542] = "ACH_SHOP_ITEM_HISTORY_RESPONSE";
71
73
  ClassId[ClassId["GET_BONUSES_REQUEST"] = 600] = "GET_BONUSES_REQUEST";
72
74
  ClassId[ClassId["GET_BONUSES_RESPONSE"] = 601] = "GET_BONUSES_RESPONSE";
73
75
  ClassId[ClassId["CLAIM_BONUS_REQUEST"] = 602] = "CLAIM_BONUS_REQUEST";
@@ -80,6 +82,18 @@ exports.ClassId = void 0;
80
82
  ClassId[ClassId["SAW_AKNOWLEDGE_RESPONSE"] = 705] = "SAW_AKNOWLEDGE_RESPONSE";
81
83
  ClassId[ClassId["SAW_SPINS_COUNT_PUSH"] = 706] = "SAW_SPINS_COUNT_PUSH";
82
84
  ClassId[ClassId["SAW_SHOW_SPIN_PUSH"] = 707] = "SAW_SHOW_SPIN_PUSH";
85
+ ClassId[ClassId["SAW_PRIZE_DROP_WIN_PUSH"] = 708] = "SAW_PRIZE_DROP_WIN_PUSH";
86
+ ClassId[ClassId["SAW_PRIZE_DROP_WIN_AKNOWLEDGE_REQUEST"] = 709] = "SAW_PRIZE_DROP_WIN_AKNOWLEDGE_REQUEST";
87
+ ClassId[ClassId["SAW_PRIZE_DROP_WIN_AKNOWLEDGE_RESPONSE"] = 710] = "SAW_PRIZE_DROP_WIN_AKNOWLEDGE_RESPONSE";
88
+ ClassId[ClassId["JP_GET_JACKPOTS_REQUEST"] = 800] = "JP_GET_JACKPOTS_REQUEST";
89
+ ClassId[ClassId["JP_GET_JACKPOTS_RESPONSE"] = 801] = "JP_GET_JACKPOTS_RESPONSE";
90
+ ClassId[ClassId["JP_GET_LATEST_POTS_REQUEST"] = 802] = "JP_GET_LATEST_POTS_REQUEST";
91
+ ClassId[ClassId["JP_GET_LATEST_POTS_RESPONSE"] = 803] = "JP_GET_LATEST_POTS_RESPONSE";
92
+ ClassId[ClassId["JP_OPTIN_REQUEST"] = 804] = "JP_OPTIN_REQUEST";
93
+ ClassId[ClassId["JP_OPTIN_RESPONSE"] = 805] = "JP_OPTIN_RESPONSE";
94
+ ClassId[ClassId["JP_OPTOUT_REQUEST"] = 806] = "JP_OPTOUT_REQUEST";
95
+ ClassId[ClassId["JP_OPTOUT_RESPONSE"] = 807] = "JP_OPTOUT_RESPONSE";
96
+ // JP_WIN_PUSH = 808,
83
97
  ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ"] = 1003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_REQ";
84
98
  ClassId[ClassId["REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP"] = 2003] = "REGISTER_PUSH_NOTIFICATIONS_TOKEN_RESP";
85
99
  ClassId[ClassId["CLIENT_DEBUG_REQUEST"] = 77777] = "CLIENT_DEBUG_REQUEST";
@@ -237,6 +251,7 @@ exports.SAWGameType = void 0;
237
251
  SAWGameType[SAWGameType["ScratchCard"] = 2] = "ScratchCard";
238
252
  SAWGameType[SAWGameType["MatchX"] = 3] = "MatchX";
239
253
  SAWGameType[SAWGameType["GiftBox"] = 4] = "GiftBox";
254
+ SAWGameType[SAWGameType["PrizeDrop"] = 5] = "PrizeDrop";
240
255
  })(exports.SAWGameType || (exports.SAWGameType = {}));
241
256
  exports.SAWGameTypeName = void 0;
242
257
  (function (SAWGameTypeName) {
@@ -244,12 +259,13 @@ exports.SAWGameTypeName = void 0;
244
259
  SAWGameTypeName["ScratchCard"] = "scratch";
245
260
  SAWGameTypeName["MatchX"] = "matchx";
246
261
  SAWGameTypeName["GiftBox"] = "giftbox";
262
+ SAWGameTypeName["PrizeDrop"] = "prizedrop";
247
263
  SAWGameTypeName["Unknown"] = "unknown";
248
264
  })(exports.SAWGameTypeName || (exports.SAWGameTypeName = {}));
249
265
  /** @hidden */
250
266
  var SAWGameTypeNamed = function SAWGameTypeNamed(type) {
251
267
  var _SAWGameType$SpinAWhe;
252
- return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
268
+ return (_SAWGameType$SpinAWhe = {}, _SAWGameType$SpinAWhe[exports.SAWGameType.SpinAWheel] = exports.SAWGameTypeName.SpinAWheel, _SAWGameType$SpinAWhe[exports.SAWGameType.ScratchCard] = exports.SAWGameTypeName.ScratchCard, _SAWGameType$SpinAWhe[exports.SAWGameType.MatchX] = exports.SAWGameTypeName.MatchX, _SAWGameType$SpinAWhe[exports.SAWGameType.GiftBox] = exports.SAWGameTypeName.GiftBox, _SAWGameType$SpinAWhe[exports.SAWGameType.PrizeDrop] = exports.SAWGameTypeName.PrizeDrop, _SAWGameType$SpinAWhe)[type] || exports.SAWGameTypeName.Unknown;
253
269
  };
254
270
 
255
271
  /** @hidden */
@@ -2381,25 +2397,301 @@ exports.QuizMarketType = void 0;
2381
2397
  QuizMarketType[QuizMarketType["LastGoal"] = 25] = "LastGoal";
2382
2398
  })(exports.QuizMarketType || (exports.QuizMarketType = {}));
2383
2399
 
2384
- var quizAnswerHomeTeamReplacementText = '%HomeTeam%';
2385
- var quizAnswerAwayTeamReplacementText = '%AwayTeam%';
2400
+ exports.MarketsValueType = void 0;
2401
+ (function (MarketsValueType) {
2402
+ MarketsValueType["HomeTeam"] = "1";
2403
+ MarketsValueType["AwayTeam"] = "2";
2404
+ MarketsValueType["Draw"] = "x";
2405
+ MarketsValueType["HomeTeamHomeTeam"] = "1/1";
2406
+ MarketsValueType["HomeTeamDraw"] = "1/x";
2407
+ MarketsValueType["HomeTeamAwayTeam"] = "1/2";
2408
+ MarketsValueType["DrawHomeTeam"] = "x/1";
2409
+ MarketsValueType["DrawDraw"] = "x/x";
2410
+ MarketsValueType["DrawAwayTeam"] = "x/2";
2411
+ MarketsValueType["AwayTeamHomeTeam"] = "2/1";
2412
+ MarketsValueType["AwayTeamDraw"] = "2/x";
2413
+ MarketsValueType["AwayTeamAwayTeam"] = "2/2";
2414
+ MarketsValueType["Yes"] = "yes";
2415
+ MarketsValueType["No"] = "no";
2416
+ MarketsValueType["Odd"] = "odd";
2417
+ MarketsValueType["Even"] = "even";
2418
+ MarketsValueType["HomeOdd"] = "1/odd";
2419
+ MarketsValueType["HomeEven"] = "1/even";
2420
+ MarketsValueType["AwayOdd"] = "2/odd";
2421
+ MarketsValueType["AwayEven"] = "2/even";
2422
+ })(exports.MarketsValueType || (exports.MarketsValueType = {}));
2423
+
2424
+ var quizAnswerHomeTeamReplacementText = '{quiz_home_team}';
2425
+ var quizAnswerAwayTeamReplacementText = '{quiz_away_team}';
2426
+ var drawReplacementText = '{quiz_draw}';
2427
+ var quizYesReplacementText = '{yes}';
2428
+ var quizNoReplacementText = '{no}';
2429
+ var quizOddReplacementText = '{odd}';
2430
+ var quizEvenReplacementText = '{even}';
2431
+ var yesNoAnswers = [{
2432
+ text: quizYesReplacementText,
2433
+ value: exports.MarketsValueType.Yes
2434
+ }, {
2435
+ text: quizNoReplacementText,
2436
+ value: exports.MarketsValueType.No
2437
+ }];
2438
+ var homeAwayAnswers = [{
2439
+ text: quizAnswerHomeTeamReplacementText,
2440
+ value: exports.MarketsValueType.HomeTeam
2441
+ }, {
2442
+ text: quizAnswerAwayTeamReplacementText,
2443
+ value: exports.MarketsValueType.AwayTeam
2444
+ }];
2445
+ var homeAwayDrawAnswers = [].concat(homeAwayAnswers, [{
2446
+ text: drawReplacementText,
2447
+ value: exports.MarketsValueType.Draw
2448
+ }]);
2386
2449
  var marketsInfo = [{
2387
2450
  type: exports.QuizMarketType.OneXTwo,
2388
- name: '1X2',
2451
+ name: '1x2',
2452
+ question: {
2453
+ text: 'Who will win the match ?',
2454
+ trKey: 'quizQuestion_1x2'
2455
+ },
2456
+ answers: homeAwayDrawAnswers
2457
+ }, {
2458
+ type: exports.QuizMarketType.OneXTwoHalftime,
2459
+ name: '1x2 Halftime',
2460
+ question: {
2461
+ text: 'Who will lead the first half of the match ?',
2462
+ trKey: 'quizQuestion_x2half'
2463
+ },
2464
+ answers: homeAwayDrawAnswers
2465
+ }, {
2466
+ type: exports.QuizMarketType.HalftimeFulltime,
2467
+ name: 'Halftime / Fulltime',
2468
+ question: {
2469
+ text: 'Who will lead the first half and who will win the match ?',
2470
+ trKey: 'quizQuestion__HalftimeFulltime'
2471
+ },
2472
+ answers: [{
2473
+ text: quizAnswerHomeTeamReplacementText + " / " + quizAnswerHomeTeamReplacementText,
2474
+ value: exports.MarketsValueType.HomeTeamHomeTeam
2475
+ }, {
2476
+ text: quizAnswerHomeTeamReplacementText + " / " + drawReplacementText,
2477
+ value: exports.MarketsValueType.HomeTeamDraw
2478
+ }, {
2479
+ text: quizAnswerHomeTeamReplacementText + " / " + quizAnswerAwayTeamReplacementText,
2480
+ value: exports.MarketsValueType.HomeTeamAwayTeam
2481
+ }, {
2482
+ text: drawReplacementText + " / " + quizAnswerHomeTeamReplacementText,
2483
+ value: exports.MarketsValueType.DrawHomeTeam
2484
+ }, {
2485
+ text: drawReplacementText + " / " + drawReplacementText,
2486
+ value: exports.MarketsValueType.DrawDraw
2487
+ }, {
2488
+ text: drawReplacementText + " / " + quizAnswerAwayTeamReplacementText,
2489
+ value: exports.MarketsValueType.DrawAwayTeam
2490
+ }, {
2491
+ text: quizAnswerAwayTeamReplacementText + " / " + quizAnswerHomeTeamReplacementText,
2492
+ value: exports.MarketsValueType.AwayTeamHomeTeam
2493
+ }, {
2494
+ text: quizAnswerAwayTeamReplacementText + " / " + drawReplacementText,
2495
+ value: exports.MarketsValueType.AwayTeamDraw
2496
+ }, {
2497
+ text: quizAnswerAwayTeamReplacementText + " / " + quizAnswerAwayTeamReplacementText,
2498
+ value: exports.MarketsValueType.AwayTeamAwayTeam
2499
+ }]
2500
+ }, {
2501
+ type: exports.QuizMarketType.FirstGoal,
2502
+ name: 'First Goal',
2503
+ question: {
2504
+ text: 'Who will score the first goal ?',
2505
+ trKey: 'quizQuestion_firstGoal'
2506
+ },
2507
+ answers: homeAwayDrawAnswers
2508
+ }, {
2509
+ type: exports.QuizMarketType.LastGoal,
2510
+ name: 'Last Goal',
2511
+ question: {
2512
+ text: 'Who will score the last goal ?',
2513
+ trKey: 'quizQuestion_lastGoal'
2514
+ },
2515
+ answers: homeAwayAnswers
2516
+ }, {
2517
+ type: exports.QuizMarketType.DoubleChance,
2518
+ name: 'Double Chance',
2519
+ question: {
2520
+ text: 'Who will win the match? Choose a combination: ?',
2521
+ trKey: 'quizQuestion_doubleChance'
2522
+ },
2523
+ answers: [{
2524
+ text: drawReplacementText + " or " + quizAnswerHomeTeamReplacementText,
2525
+ value: exports.MarketsValueType.HomeTeamDraw
2526
+ }, {
2527
+ text: quizAnswerHomeTeamReplacementText + " or " + quizAnswerAwayTeamReplacementText,
2528
+ value: exports.MarketsValueType.HomeTeamAwayTeam
2529
+ }, {
2530
+ text: drawReplacementText + " or " + quizAnswerAwayTeamReplacementText,
2531
+ value: exports.MarketsValueType.AwayTeamDraw
2532
+ }]
2533
+ }, {
2534
+ type: exports.QuizMarketType.OverUnder2_5,
2535
+ name: 'Over/Under 2.5',
2536
+ question: {
2537
+ text: 'Will there be 3 or more goals in the match?',
2538
+ trKey: 'quizQuestion_overUnder2_5'
2539
+ },
2540
+ answers: yesNoAnswers
2541
+ }, {
2542
+ type: exports.QuizMarketType.OverUnder1_5Halftime,
2543
+ name: 'Over/Under 1.5 Halftime',
2544
+ question: {
2545
+ text: 'Will there be 2 or more goals in the first half?',
2546
+ trKey: 'quizQuestion_overUnder1_5Halftime'
2547
+ },
2548
+ answers: yesNoAnswers
2549
+ }, {
2550
+ type: exports.QuizMarketType.OverUnder1_5__2ndHalf,
2551
+ name: 'Over/Under 1.5 2nd Half',
2552
+ question: {
2553
+ text: 'Will there be 2 or more goals in the second half?',
2554
+ trKey: 'quizQuestion_overUnder1_5__2ndHalf'
2555
+ },
2556
+ answers: yesNoAnswers
2557
+ }, {
2558
+ type: exports.QuizMarketType.RedCard,
2559
+ name: 'Red Card',
2560
+ question: {
2561
+ text: 'Will there be a red card in the match?',
2562
+ trKey: 'quizQuestion_redCard'
2563
+ },
2564
+ answers: yesNoAnswers
2565
+ }, {
2566
+ type: exports.QuizMarketType.TotalCorners8_5,
2567
+ name: 'Total Corners 8.5',
2568
+ question: {
2569
+ text: 'Will there be 9 or more corners in the match?',
2570
+ trKey: 'quizQuestion_totalCorners8_5'
2571
+ },
2572
+ answers: yesNoAnswers
2573
+ }, {
2574
+ type: exports.QuizMarketType.TotalCorners9_5,
2575
+ name: 'Total Corners 9.5',
2576
+ question: {
2577
+ text: 'Will there be 10 or more corners in the match?',
2578
+ trKey: 'quizQuestion_totalCorners9_5'
2579
+ },
2580
+ answers: yesNoAnswers
2581
+ }, {
2582
+ type: exports.QuizMarketType.Corners1x2,
2583
+ name: 'Corners 1x2',
2584
+ question: {
2585
+ text: 'Which team will have more corners in the match?',
2586
+ trKey: 'quizQuestion_corners1x2'
2587
+ },
2588
+ answers: homeAwayAnswers
2589
+ }, {
2590
+ type: exports.QuizMarketType.One_Two,
2591
+ name: '1-2',
2389
2592
  question: {
2390
2593
  text: 'Who will win the match ?',
2391
- trKey: 'quiz_answer_1x2'
2594
+ trKey: 'quizQuestion_1-2'
2595
+ },
2596
+ answers: homeAwayAnswers
2597
+ }, {
2598
+ type: exports.QuizMarketType.Overtime,
2599
+ name: 'Overtime',
2600
+ question: {
2601
+ text: 'Will there be overtime in the match?',
2602
+ trKey: 'quizQuestion_overtime'
2603
+ },
2604
+ answers: yesNoAnswers
2605
+ }, {
2606
+ type: exports.QuizMarketType.OddEven,
2607
+ name: 'Odd/Even',
2608
+ question: {
2609
+ text: 'Is the sum of all points scored in the game going to be an odd number or even?',
2610
+ trKey: 'quizQuestion_oddEven'
2611
+ },
2612
+ answers: [{
2613
+ text: quizOddReplacementText,
2614
+ value: exports.MarketsValueType.Odd
2615
+ }, {
2616
+ text: quizEvenReplacementText,
2617
+ value: exports.MarketsValueType.Even
2618
+ }]
2619
+ }, {
2620
+ type: exports.QuizMarketType.OddEvenHomeAway,
2621
+ name: 'Odd/Even Home/Away',
2622
+ question: {
2623
+ text: 'Which team will win and what will be the sum of the points (Odd or Even)?',
2624
+ trKey: 'quizQuestion_oddEvenHomeAway'
2392
2625
  },
2393
2626
  answers: [{
2394
- text: quizAnswerHomeTeamReplacementText,
2395
- trKey: 'quiz_answer_1x2_home'
2627
+ text: quizAnswerHomeTeamReplacementText + " - " + quizOddReplacementText,
2628
+ value: exports.MarketsValueType.HomeOdd
2629
+ }, {
2630
+ text: quizAnswerHomeTeamReplacementText + " - " + quizEvenReplacementText,
2631
+ value: exports.MarketsValueType.HomeEven
2396
2632
  }, {
2397
- text: 'Draw',
2398
- trKey: 'quiz_answer_1x2_draw'
2633
+ text: quizAnswerAwayTeamReplacementText + " - " + quizOddReplacementText,
2634
+ value: exports.MarketsValueType.AwayOdd
2399
2635
  }, {
2400
- text: quizAnswerAwayTeamReplacementText,
2401
- trKey: 'quiz_answer_1x2_away'
2636
+ text: quizAnswerAwayTeamReplacementText + " - " + quizEvenReplacementText,
2637
+ value: exports.MarketsValueType.AwayEven
2402
2638
  }]
2639
+ }, {
2640
+ type: exports.QuizMarketType.FirstSet,
2641
+ name: 'First Set',
2642
+ question: {
2643
+ text: 'Who will win the first set ?',
2644
+ trKey: 'quizQuestion_firstSet'
2645
+ },
2646
+ answers: homeAwayAnswers
2647
+ }, {
2648
+ type: exports.QuizMarketType.SecondSet,
2649
+ name: 'Second Set',
2650
+ question: {
2651
+ text: 'Who will win the second set ?',
2652
+ trKey: 'quizQuestion_secondSet'
2653
+ },
2654
+ answers: homeAwayAnswers
2655
+ }, {
2656
+ type: exports.QuizMarketType.ThirdSet,
2657
+ name: 'Third Set',
2658
+ question: {
2659
+ text: 'Who will win the third set ?',
2660
+ trKey: 'quizQuestion_thirdSet'
2661
+ },
2662
+ answers: homeAwayAnswers
2663
+ }, {
2664
+ type: exports.QuizMarketType.FourthSet,
2665
+ name: 'Fourth Set',
2666
+ question: {
2667
+ text: 'Who will win the fourth set ?',
2668
+ trKey: 'quizQuestion_fourthSet'
2669
+ },
2670
+ answers: homeAwayAnswers
2671
+ }, {
2672
+ type: exports.QuizMarketType.FifthSet,
2673
+ name: 'Fifth Set',
2674
+ question: {
2675
+ text: 'Who will win the fifth set ?',
2676
+ trKey: 'quizQuestion_fifthSet'
2677
+ },
2678
+ answers: homeAwayAnswers
2679
+ }, {
2680
+ type: exports.QuizMarketType.PlayerOneWinsOneSet,
2681
+ name: 'Player One Wins One Set',
2682
+ question: {
2683
+ text: 'Will Player One win at least one set?',
2684
+ trKey: 'quizQuestion_playerOneWinsOneSet'
2685
+ },
2686
+ answers: yesNoAnswers
2687
+ }, {
2688
+ type: exports.QuizMarketType.PlayerTwoWinsOneSet,
2689
+ name: 'Player Two Wins One Set',
2690
+ question: {
2691
+ text: 'Will Player Two win at least one set?',
2692
+ trKey: 'quizQuestion_playerTwoWinsOneSet'
2693
+ },
2694
+ answers: yesNoAnswers
2403
2695
  }];
2404
2696
 
2405
2697
  var _QuizMarketPerSport;