@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
|
@@ -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 ? {
|