@smartico/public-api 0.0.370 → 0.0.374
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/Clans/JoinClanErrorCode.d.ts +20 -0
- package/dist/Clans/JoinClanResponse.d.ts +2 -1
- package/dist/Clans/index.d.ts +1 -0
- package/dist/CustomSections/UICustomSection.d.ts +1 -0
- package/dist/MiniGames/SAWTemplateUI.d.ts +9 -0
- package/dist/Quiz/MarketsAnswersType.d.ts +22 -0
- package/dist/Raffle/GetDrawResponse.d.ts +5 -0
- package/dist/SmarticoPublicAPI.d.ts +23 -0
- package/dist/Store/BuyShopItemErrorCode.d.ts +10 -0
- package/dist/Store/BuyShopItemRequest.d.ts +4 -0
- package/dist/Store/BuyShopItemResponse.d.ts +4 -0
- package/dist/Store/GetCategoriesShopResponse.d.ts +5 -0
- package/dist/Store/GetShopItemsResponse.d.ts +5 -0
- package/dist/Store/ShopCategory.d.ts +5 -0
- package/dist/Store/ShopCategoryPublicMeta.d.ts +4 -0
- package/dist/Store/ShopItem.d.ts +9 -0
- package/dist/Store/ShopItemPublicMeta.d.ts +10 -0
- package/dist/Store/ShopItemType.d.ts +4 -0
- package/dist/Store/StorItemPruchased.d.ts +6 -0
- package/dist/WSAPI/WSAPITypes.d.ts +2 -0
- package/dist/index.js +544 -510
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +45 -13
- package/dist/index.modern.mjs.map +1 -1
- package/dist/service/index.d.ts +5 -0
- package/dist/service/types/ErrorCodes.d.ts +13 -0
- package/dist/service/types/GRequest.d.ts +16 -0
- package/dist/service/types/GResponse.d.ts +10 -0
- package/dist/service/types/Game/GameAttemptType.d.ts +6 -0
- package/dist/service/types/Game/GameCanPlayType.d.ts +10 -0
- package/dist/service/types/Game/GameExternalStatus.d.ts +6 -0
- package/dist/service/types/Game/GameInfo.d.ts +9 -0
- package/dist/service/types/Game/GamePick.d.ts +90 -0
- package/dist/service/types/Game/GameUtil.d.ts +7 -0
- package/dist/service/types/SmarticoProto/GetTranslationsRequest.d.ts +7 -0
- package/dist/service/types/SmarticoProto/GetTranslationsResponse.d.ts +7 -0
- package/dist/service/types/SmarticoProto/ProtocolMessage.d.ts +5 -0
- package/dist/service/types/SmarticoProto/ProtocolRequest.d.ts +6 -0
- package/dist/service/types/SmarticoProto/ProtocolResponse.d.ts +5 -0
- package/dist/service/types/SmarticoProto/PublicLabelInfo.d.ts +34 -0
- package/dist/service/types/SmarticoProto/PublicProperties.d.ts +11 -0
- package/dist/service/types/SmarticoProto/ResponseIdentify.d.ts +12 -0
- package/dist/service/types/SmarticoProto/SAW/SAWAcknowledgeType.d.ts +5 -0
- package/dist/service/types/SmarticoProto/SAW/SAWBuyInType.d.ts +5 -0
- package/dist/service/types/SmarticoProto/SAW/SAWDoSpinRequest.d.ts +5 -0
- package/dist/service/types/SmarticoProto/SAW/SAWDoSpinResponse.d.ts +15 -0
- package/dist/service/types/SmarticoProto/SAW/SAWGameType.d.ts +10 -0
- package/dist/service/types/SmarticoProto/SAW/SAWGetTemplatesRequest.d.ts +3 -0
- package/dist/service/types/SmarticoProto/SAW/SAWGetTemplatesResponse.d.ts +5 -0
- package/dist/service/types/SmarticoProto/SAW/SAWPrize.d.ts +11 -0
- package/dist/service/types/SmarticoProto/SAW/SAWPrizeType.d.ts +8 -0
- package/dist/service/types/SmarticoProto/SAW/SAWPrizeUI.d.ts +13 -0
- package/dist/service/types/SmarticoProto/SAW/SAWTemplate.d.ts +21 -0
- package/dist/service/types/SmarticoProto/SAW/SAWTemplateUI.d.ts +31 -0
- package/dist/service/types/SmarticoProto/SAW/SAWWinSoundType.d.ts +12 -0
- package/dist/service/types/SmarticoProto/TranslationArea.d.ts +9 -0
- package/dist/service/types/User/UserInfo.d.ts +10 -0
- package/dist/util/Util.d.ts +51 -0
- package/docs/api/interfaces/SAWTemplateUI.md +13 -0
- package/docs/api/interfaces/TUICustomSection.md +8 -0
- package/docs/api/interfaces/UICustomSection.md +6 -0
- package/package.json +1 -1
- package/src/Clans/JoinClanErrorCode.ts +24 -0
- package/src/Clans/JoinClanResponse.ts +2 -1
- package/src/Clans/index.ts +1 -0
- package/src/CustomSections/UICustomSection.ts +2 -0
- package/src/MiniGames/SAWTemplateUI.ts +10 -0
- package/src/WSAPI/WSAPITypes.ts +2 -0
|
@@ -431,6 +431,16 @@ export interface SAWTemplateUI {
|
|
|
431
431
|
*/
|
|
432
432
|
steps_to_finish_game?: number;
|
|
433
433
|
|
|
434
|
+
/**
|
|
435
|
+
* Minimum number of path steps / collectible prizes a Voyager session
|
|
436
|
+
* must include before the game can finish. Acts as a floor for the
|
|
437
|
+
* randomly-chosen path length so that sessions cannot terminate after
|
|
438
|
+
* only one or two prizes. When omitted, no minimum is enforced.
|
|
439
|
+
* Must be `>= 1` and `<= steps_to_finish_game`.
|
|
440
|
+
* Back-Office label: _"Min. number of prizes"_.
|
|
441
|
+
*/
|
|
442
|
+
min_steps_to_finish_game?: number;
|
|
443
|
+
|
|
434
444
|
// ─── Voyager specific ────────────────────────────────────────────────────
|
|
435
445
|
|
|
436
446
|
/**
|
package/src/WSAPI/WSAPITypes.ts
CHANGED
|
@@ -1067,6 +1067,8 @@ export interface TUICustomSection {
|
|
|
1067
1067
|
overview_missions_filter?: AchOverviewMissionsFilter;
|
|
1068
1068
|
/** Quantity of missions to be shown in overview */
|
|
1069
1069
|
overview_missions_count?: number;
|
|
1070
|
+
/** URL or DP to be used for custom section */
|
|
1071
|
+
url_or_dp?: string;
|
|
1070
1072
|
/** Data to be used for Liquid templates */
|
|
1071
1073
|
liquid_entity_data?: LiquidEntityData[];
|
|
1072
1074
|
/** Tournament ID to be used for Liquid templates */
|