@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.
- package/dist/CustomSections/AchCustomSection.d.ts +3 -1
- package/dist/CustomSections/UICustomSection.d.ts +1 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +3 -0
- package/dist/index.modern.mjs.map +1 -1
- package/docs/enums/LiquidEntityData.md +12 -0
- package/package.json +1 -1
- package/src/CustomSections/AchCustomSection.ts +2 -0
- package/src/CustomSections/UICustomSection.ts +2 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
package/package.json
CHANGED
|
@@ -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
|
}
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -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 {
|