@smartico/public-api 0.0.340 → 0.0.341

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.
@@ -41,5 +41,7 @@ export declare enum LiquidEntityData {
41
41
  Bonus = 7,
42
42
  Leaderboard = 8,
43
43
  Badges = 9,
44
- Tournament = 10
44
+ Tournament = 10,
45
+ Raffles = 11,
46
+ SingleRaffle = 12
45
47
  }
@@ -14,6 +14,7 @@ export interface UICustomSection {
14
14
  overview_missions_count?: number;
15
15
  liquid_entity_data?: LiquidEntityData[];
16
16
  ach_tournament_id?: number;
17
+ raffle_id?: number;
17
18
  show_raw_data?: boolean;
18
19
  liquid_template?: number;
19
20
  ach_category_ids?: number[];
@@ -846,6 +846,8 @@ export interface TUICustomSection {
846
846
  ach_category_ids?: number[];
847
847
  /** List of IDs of the categories where the store item is assigned, information about categories can be retrieved with getShopCategories method */
848
848
  shop_category_ids?: number[];
849
+ /** ID of the raffle to be used for Liquid templates */
850
+ raffle_id?: number;
849
851
  }
850
852
  export interface TBonus {
851
853
  /** ID of the bonus */
package/dist/index.js CHANGED
@@ -3834,6 +3834,8 @@ exports.LiquidEntityData = void 0;
3834
3834
  LiquidEntityData[LiquidEntityData["Leaderboard"] = 8] = "Leaderboard";
3835
3835
  LiquidEntityData[LiquidEntityData["Badges"] = 9] = "Badges";
3836
3836
  LiquidEntityData[LiquidEntityData["Tournament"] = 10] = "Tournament";
3837
+ LiquidEntityData[LiquidEntityData["Raffles"] = 11] = "Raffles";
3838
+ LiquidEntityData[LiquidEntityData["SingleRaffle"] = 12] = "SingleRaffle";
3837
3839
  })(exports.LiquidEntityData || (exports.LiquidEntityData = {}));
3838
3840
 
3839
3841
  var UICustomSectionTransform = function UICustomSectionTransform(response) {
@@ -3857,6 +3859,7 @@ var UICustomSectionTransform = function UICustomSectionTransform(response) {
3857
3859
  }, r.section_type_id === exports.AchCustomSectionType.LEVELS ? {
3858
3860
  liquid_entity_data: r.liquid_entity_data,
3859
3861
  ach_tournament_id: r.ach_tournament_id,
3862
+ raffle_id: r.raffle_id,
3860
3863
  show_raw_data: r.show_raw_data,
3861
3864
  liquid_template: r.liquid_template
3862
3865
  } : {}, r.section_type_id === exports.AchCustomSectionType.BADGES ? {