@smartico/public-api 0.0.374 → 0.0.375
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 +8 -6
- package/dist/index.js +518 -523
- package/dist/index.js.map +1 -1
- package/dist/index.modern.mjs +20 -23
- package/dist/index.modern.mjs.map +1 -1
- package/package.json +1 -1
- package/src/Clans/JoinClanErrorCode.ts +8 -6
- package/dist/Quiz/MarketsAnswersType.d.ts +0 -22
- package/dist/Raffle/GetDrawResponse.d.ts +0 -5
- package/dist/SmarticoPublicAPI.d.ts +0 -23
- package/dist/Store/BuyShopItemErrorCode.d.ts +0 -10
- package/dist/Store/BuyShopItemRequest.d.ts +0 -4
- package/dist/Store/BuyShopItemResponse.d.ts +0 -4
- package/dist/Store/GetCategoriesShopResponse.d.ts +0 -5
- package/dist/Store/GetShopItemsResponse.d.ts +0 -5
- package/dist/Store/ShopCategory.d.ts +0 -5
- package/dist/Store/ShopCategoryPublicMeta.d.ts +0 -4
- package/dist/Store/ShopItem.d.ts +0 -9
- package/dist/Store/ShopItemPublicMeta.d.ts +0 -10
- package/dist/Store/ShopItemType.d.ts +0 -4
- package/dist/Store/StorItemPruchased.d.ts +0 -6
- package/dist/service/index.d.ts +0 -5
- package/dist/service/types/ErrorCodes.d.ts +0 -13
- package/dist/service/types/GRequest.d.ts +0 -16
- package/dist/service/types/GResponse.d.ts +0 -10
- package/dist/service/types/Game/GameAttemptType.d.ts +0 -6
- package/dist/service/types/Game/GameCanPlayType.d.ts +0 -10
- package/dist/service/types/Game/GameExternalStatus.d.ts +0 -6
- package/dist/service/types/Game/GameInfo.d.ts +0 -9
- package/dist/service/types/Game/GamePick.d.ts +0 -90
- package/dist/service/types/Game/GameUtil.d.ts +0 -7
- package/dist/service/types/SmarticoProto/GetTranslationsRequest.d.ts +0 -7
- package/dist/service/types/SmarticoProto/GetTranslationsResponse.d.ts +0 -7
- package/dist/service/types/SmarticoProto/ProtocolMessage.d.ts +0 -5
- package/dist/service/types/SmarticoProto/ProtocolRequest.d.ts +0 -6
- package/dist/service/types/SmarticoProto/ProtocolResponse.d.ts +0 -5
- package/dist/service/types/SmarticoProto/PublicLabelInfo.d.ts +0 -34
- package/dist/service/types/SmarticoProto/PublicProperties.d.ts +0 -11
- package/dist/service/types/SmarticoProto/ResponseIdentify.d.ts +0 -12
- package/dist/service/types/SmarticoProto/SAW/SAWAcknowledgeType.d.ts +0 -5
- package/dist/service/types/SmarticoProto/SAW/SAWBuyInType.d.ts +0 -5
- package/dist/service/types/SmarticoProto/SAW/SAWDoSpinRequest.d.ts +0 -5
- package/dist/service/types/SmarticoProto/SAW/SAWDoSpinResponse.d.ts +0 -15
- package/dist/service/types/SmarticoProto/SAW/SAWGameType.d.ts +0 -10
- package/dist/service/types/SmarticoProto/SAW/SAWGetTemplatesRequest.d.ts +0 -3
- package/dist/service/types/SmarticoProto/SAW/SAWGetTemplatesResponse.d.ts +0 -5
- package/dist/service/types/SmarticoProto/SAW/SAWPrize.d.ts +0 -11
- package/dist/service/types/SmarticoProto/SAW/SAWPrizeType.d.ts +0 -8
- package/dist/service/types/SmarticoProto/SAW/SAWPrizeUI.d.ts +0 -13
- package/dist/service/types/SmarticoProto/SAW/SAWTemplate.d.ts +0 -21
- package/dist/service/types/SmarticoProto/SAW/SAWTemplateUI.d.ts +0 -31
- package/dist/service/types/SmarticoProto/SAW/SAWWinSoundType.d.ts +0 -12
- package/dist/service/types/SmarticoProto/TranslationArea.d.ts +0 -9
- package/dist/service/types/User/UserInfo.d.ts +0 -10
- package/dist/util/Util.d.ts +0 -51
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
export declare enum JoinClanErrorCode {
|
|
2
2
|
/** No error, join completed */
|
|
3
3
|
JOIN_CLAN_OK = 0,
|
|
4
|
+
/** Invalid parameters */
|
|
5
|
+
JOIN_CLAN_INVALID_PARAMETERS = 1000,
|
|
4
6
|
/** clan_id doesn't exist for this label */
|
|
5
7
|
JOIN_CLAN_NOT_FOUND = 1001,
|
|
6
8
|
/** members_count >= capacity_limit */
|
|
7
9
|
JOIN_CLAN_FULL = 1002,
|
|
8
|
-
/**
|
|
9
|
-
|
|
10
|
+
/** Not enough Points / Gems / Diamonds for entry fee */
|
|
11
|
+
JOIN_CLAN_INSUFFICIENT_FUNDS = 1003,
|
|
10
12
|
/** User doesn't satisfy entry_conditions / entry_segment_id */
|
|
11
13
|
JOIN_CLAN_SEGMENT_MISMATCH = 1004,
|
|
12
|
-
/**
|
|
13
|
-
|
|
14
|
-
/** User is
|
|
15
|
-
|
|
14
|
+
/** User is not in a clan */
|
|
15
|
+
JOIN_CLAN_USER_IS_NOT_IN_CLAN = 1005,
|
|
16
|
+
/** User is within the CLAN_COOLDOWN_DAYS window */
|
|
17
|
+
JOIN_CLAN_COOLDOWN_ACTIVE = 1006,
|
|
16
18
|
/** clan_status_id != 1 (clan is archived) */
|
|
17
19
|
JOIN_CLAN_ARCHIVED = 1007,
|
|
18
20
|
/** Clan joined after tournament start */
|