@smartico/public-api 0.0.205 → 0.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.
@@ -160,6 +160,15 @@ Flag indicating that the prize is surcharged (available all the time, despite po
160
160
 
161
161
  ___
162
162
 
163
+
164
+ ### is\_deleted
165
+
166
+ • `Optional` **is\_deleted**: `boolean`
167
+
168
+ Flag indicating the state of the prize
169
+
170
+ ___
171
+
163
172
  ### custom\_data
164
173
 
165
174
  • **custom\_data**: `any`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.205",
3
+ "version": "0.0.207",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -66,6 +66,7 @@ export const SAWTemplatesTransform = (items: SAWTemplate[]): TMiniGameTemplate[]
66
66
  active_till_ts: p.active_till_ts,
67
67
  relative_period_timezone: p.relative_period_timezone,
68
68
  is_surcharge: p.is_surcharge,
69
+ is_deleted: p.is_deleted,
69
70
  custom_data: IntUtils.JsonOrText(r.saw_template_ui_definition.custom_data),
70
71
  prize_modifiers: p.saw_prize_ui_definition.prize_modifiers,
71
72
  allow_split_decimal: p.saw_prize_ui_definition.allow_split_decimal,
@@ -17,4 +17,5 @@ export interface SAWPrize {
17
17
  active_till_ts?: number;
18
18
  relative_period_timezone?: number;
19
19
  is_surcharge?: boolean;
20
+ is_deleted?: boolean;
20
21
  }
@@ -41,6 +41,7 @@ import {
41
41
  } from '../Jackpots';
42
42
  import { GetTournamentsResponse } from '../Tournaments';
43
43
  import { GetAchievementMapResponse } from '../Missions';
44
+ import { GetRelatedAchTourResponse } from 'src/Missions/GetRelatedAchTourResponse';
44
45
 
45
46
  /** @hidden */
46
47
  const CACHE_DATA_SEC = 30;
@@ -1004,7 +1005,7 @@ export class WSAPI {
1004
1005
  * });
1005
1006
  * ```
1006
1007
  */
1007
- public async getRelatedItemsForGame(related_game_id: string): Promise<GetAchievementMapResponse> {
1008
+ public async getRelatedItemsForGame(related_game_id: string): Promise<GetRelatedAchTourResponse> {
1008
1009
 
1009
1010
  const result = await this.api.getRelatedItemsForGame(null, related_game_id);
1010
1011
  return result;
@@ -60,6 +60,8 @@ export interface TMiniGamePrize {
60
60
  relative_period_timezone?: number;
61
61
  /* Flag indicating that the prize is surcharged (available all the time, despite pool numbers) */
62
62
  is_surcharge?: boolean;
63
+ /* Flag indicating the state of the prize */
64
+ is_deleted?: boolean;
63
65
  /** The custom data of the mini-game defined by operator in the BackOffice. Can be a JSON object, string or number */
64
66
  custom_data?: any;
65
67
  /** Prize modifiers that will multiply by 2x, 5x or 10x the current total. This will not affect the final Prize Amount that will be awarded. */