@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.
@@ -59,3 +59,15 @@ ___
59
59
  ### Tournament
60
60
 
61
61
  • **Tournament** = ``10``
62
+
63
+ ___
64
+
65
+ ### Raffles
66
+
67
+ • **Raffles** = ``11``
68
+
69
+ ___
70
+
71
+ ### SingleRaffle
72
+
73
+ • **SingleRaffle** = ``12``
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.340",
3
+ "version": "0.0.341",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -46,4 +46,6 @@ export enum LiquidEntityData {
46
46
  Leaderboard = 8,
47
47
  Badges = 9,
48
48
  Tournament = 10,
49
+ Raffles = 11,
50
+ SingleRaffle = 12,
49
51
  }
@@ -21,6 +21,7 @@ export interface UICustomSection {
21
21
  overview_missions_count?: number;
22
22
  liquid_entity_data?: LiquidEntityData[];
23
23
  ach_tournament_id?: number;
24
+ raffle_id?: number;
24
25
  show_raw_data?: boolean;
25
26
  liquid_template?: number;
26
27
  ach_category_ids?: number[];
@@ -51,6 +52,7 @@ export const UICustomSectionTransform = (response: GetCustomSectionsResponse): T
51
52
  ? {
52
53
  liquid_entity_data: r.liquid_entity_data,
53
54
  ach_tournament_id: r.ach_tournament_id,
55
+ raffle_id: r.raffle_id,
54
56
  show_raw_data: r.show_raw_data,
55
57
  liquid_template: r.liquid_template,
56
58
  }
@@ -926,6 +926,8 @@ export interface TUICustomSection {
926
926
  ach_category_ids?: number[];
927
927
  /** List of IDs of the categories where the store item is assigned, information about categories can be retrieved with getShopCategories method */
928
928
  shop_category_ids?: number[];
929
+ /** ID of the raffle to be used for Liquid templates */
930
+ raffle_id?: number;
929
931
  }
930
932
 
931
933
  export interface TBonus {