diff --git a/pom.xml b/pom.xml index 83f3dc6..77426e4 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.stirante lol-client-java-api - 1.1.4 + 1.1.5 1.8 diff --git a/src/main/java/com/stirante/lolclient/ClientApi.java b/src/main/java/com/stirante/lolclient/ClientApi.java index 635e7ce..6df018c 100644 --- a/src/main/java/com/stirante/lolclient/ClientApi.java +++ b/src/main/java/com/stirante/lolclient/ClientApi.java @@ -624,7 +624,11 @@ private T getConnection(String endpoint, T method, S throw new IllegalStateException("API not connected!"); } try { - StringBuilder sb = new StringBuilder("https://127.0.0.1:").append(port).append("/").append(endpoint); + StringBuilder sb = new StringBuilder("https://127.0.0.1:").append(port); + if (!endpoint.startsWith("/")) { + sb.append("/"); + } + sb.append(endpoint); boolean addedParams = false; for (int i = 0; i < queryParams.length; i += 2) { if (!addedParams) { diff --git a/src/main/java/generated/ClientConfigAuthenticatedConnection.java b/src/main/java/generated/ClientConfigAuthenticatedConnection.java new file mode 100644 index 0000000..afa39ad --- /dev/null +++ b/src/main/java/generated/ClientConfigAuthenticatedConnection.java @@ -0,0 +1,9 @@ +package generated; + +public class ClientConfigAuthenticatedConnection { + + public String authToken; + public Integer connectionId; + public Boolean subscribed; + +} \ No newline at end of file diff --git a/src/main/java/generated/ClientConfigConfigNamespaceUpdate.java b/src/main/java/generated/ClientConfigConfigNamespaceUpdate.java new file mode 100644 index 0000000..f6f597f --- /dev/null +++ b/src/main/java/generated/ClientConfigConfigNamespaceUpdate.java @@ -0,0 +1,12 @@ +package generated; + +import java.util.List; +import com.google.gson.annotations.SerializedName; + +public class ClientConfigConfigNamespaceUpdate { + + public List player; + @SerializedName("public") + public List publicField; + +} \ No newline at end of file diff --git a/src/main/java/generated/ClientConfigEntitlementsUpdate.java b/src/main/java/generated/ClientConfigEntitlementsUpdate.java index b47f7b8..911da9e 100644 --- a/src/main/java/generated/ClientConfigEntitlementsUpdate.java +++ b/src/main/java/generated/ClientConfigEntitlementsUpdate.java @@ -3,6 +3,6 @@ public class ClientConfigEntitlementsUpdate { public ClientConfigEntitlements EntitlementsTokenResource; - public ClientConfigEntitlementsUpdateType EntitlementsUpdateType; + public ClientConfigUpdateType UpdateType; } \ No newline at end of file diff --git a/src/main/java/generated/ClientConfigSession.java b/src/main/java/generated/ClientConfigSession.java index 80f74bb..5f32f6d 100644 --- a/src/main/java/generated/ClientConfigSession.java +++ b/src/main/java/generated/ClientConfigSession.java @@ -1,8 +1,12 @@ package generated; +import java.util.List; + public class ClientConfigSession { - public String patchline; + public List connections; + public Boolean isInternal; + public String patchlineId; public String productId; public String version; diff --git a/src/main/java/generated/ClientConfigEntitlementsUpdateType.java b/src/main/java/generated/ClientConfigUpdateType.java similarity index 78% rename from src/main/java/generated/ClientConfigEntitlementsUpdateType.java rename to src/main/java/generated/ClientConfigUpdateType.java index 10d8b0c..ffeb2c5 100644 --- a/src/main/java/generated/ClientConfigEntitlementsUpdateType.java +++ b/src/main/java/generated/ClientConfigUpdateType.java @@ -2,7 +2,7 @@ import com.google.gson.annotations.SerializedName; -public enum ClientConfigEntitlementsUpdateType { +public enum ClientConfigUpdateType { @SerializedName("Create") CREATE, diff --git a/src/main/java/generated/ClientRequestError.java b/src/main/java/generated/ClientRequestError.java index 0740345..03490e4 100644 --- a/src/main/java/generated/ClientRequestError.java +++ b/src/main/java/generated/ClientRequestError.java @@ -4,6 +4,8 @@ public enum ClientRequestError { + @SerializedName("ALREADY_IN_GAME") + ALREADY_IN_GAME, @SerializedName("ALREADY_MEMBER") ALREADY_MEMBER, @SerializedName("ALREADY_INVITED") diff --git a/src/main/java/generated/LolCatalogGameDataItemReference.java b/src/main/java/generated/LolCatalogGameDataItemReference.java new file mode 100644 index 0000000..ac71d81 --- /dev/null +++ b/src/main/java/generated/LolCatalogGameDataItemReference.java @@ -0,0 +1,9 @@ +package generated; + +public class LolCatalogGameDataItemReference { + + public String contentId; + public String inventoryType; + public Integer itemId; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolCatalogGameDataStatstone.java b/src/main/java/generated/LolCatalogGameDataStatstone.java new file mode 100644 index 0000000..b7cc64a --- /dev/null +++ b/src/main/java/generated/LolCatalogGameDataStatstone.java @@ -0,0 +1,19 @@ +package generated; + +import java.util.List; + +public class LolCatalogGameDataStatstone { + + public LolCatalogGameDataItemReference boundChampion; + public String category; + public String contentId; + public String description; + public String iconFull; + public Boolean isDuration; + public Boolean isEpic; + public Boolean isRetired; + public Integer itemId; + public List milestones; + public String name; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolCatalogGameDataStatstoneSet.java b/src/main/java/generated/LolCatalogGameDataStatstoneSet.java new file mode 100644 index 0000000..c3c897e --- /dev/null +++ b/src/main/java/generated/LolCatalogGameDataStatstoneSet.java @@ -0,0 +1,10 @@ +package generated; + +import java.util.List; + +public class LolCatalogGameDataStatstoneSet { + + public String name; + public List statstones; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolChatFriendResource.java b/src/main/java/generated/LolChatFriendResource.java index 1c1633b..8f08b49 100644 --- a/src/main/java/generated/LolChatFriendResource.java +++ b/src/main/java/generated/LolChatFriendResource.java @@ -3,6 +3,7 @@ public class LolChatFriendResource { public String availability; + public String basic; public Integer displayGroupId; public String gameName; public String gameTag; diff --git a/src/main/java/generated/LolChatLcuSocialConfig.java b/src/main/java/generated/LolChatLcuSocialConfig.java index ba44e2a..1856fee 100644 --- a/src/main/java/generated/LolChatLcuSocialConfig.java +++ b/src/main/java/generated/LolChatLcuSocialConfig.java @@ -7,5 +7,6 @@ public class LolChatLcuSocialConfig { public Long QueueJobGraceSeconds; public Boolean ReplaceRichMessages; public Boolean SilenceChatWhileInGame; + public Boolean gameNameTaglineEnabled; } \ No newline at end of file diff --git a/src/main/java/generated/LolChatMultiGamePresence.java b/src/main/java/generated/LolChatMultiGamePresence.java index e8538a8..33206a5 100644 --- a/src/main/java/generated/LolChatMultiGamePresence.java +++ b/src/main/java/generated/LolChatMultiGamePresence.java @@ -4,11 +4,17 @@ public class LolChatMultiGamePresence { + public String actor; + public String basic; + public String details; public String game_name; public String game_tag; + public String location; public String msg; public String name; + public String patchline; public String pid; + public String platform; @SerializedName("private") public String privateField; public String privateJwt; diff --git a/src/main/java/generated/LolChatMultiGamePresenceSharedPayload.java b/src/main/java/generated/LolChatMultiGamePresenceSharedPayload.java index 67f36da..3a1f96a 100644 --- a/src/main/java/generated/LolChatMultiGamePresenceSharedPayload.java +++ b/src/main/java/generated/LolChatMultiGamePresenceSharedPayload.java @@ -5,6 +5,8 @@ public class LolChatMultiGamePresenceSharedPayload { public String actor; public String details; public String location; + public String patchline; + public String platform; public String product; public Long time; diff --git a/src/main/java/generated/LolChatTranslateRequest.java b/src/main/java/generated/LolChatTranslateRequest.java new file mode 100644 index 0000000..71af65b --- /dev/null +++ b/src/main/java/generated/LolChatTranslateRequest.java @@ -0,0 +1,10 @@ +package generated; + +import java.util.List; + +public class LolChatTranslateRequest { + + public List keys; + public String product_id; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolChatTranslateResponse.java b/src/main/java/generated/LolChatTranslateResponse.java new file mode 100644 index 0000000..fce4e79 --- /dev/null +++ b/src/main/java/generated/LolChatTranslateResponse.java @@ -0,0 +1,9 @@ +package generated; + +import java.util.List; + +public class LolChatTranslateResponse { + + public List results; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolChatTranslateResult.java b/src/main/java/generated/LolChatTranslateResult.java new file mode 100644 index 0000000..407ae12 --- /dev/null +++ b/src/main/java/generated/LolChatTranslateResult.java @@ -0,0 +1,10 @@ +package generated; + +public class LolChatTranslateResult { + + public Boolean found; + public String key; + public String product_id; + public String value; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolChatUserResource.java b/src/main/java/generated/LolChatUserResource.java index a1563dd..bdc6b05 100644 --- a/src/main/java/generated/LolChatUserResource.java +++ b/src/main/java/generated/LolChatUserResource.java @@ -3,6 +3,7 @@ public class LolChatUserResource { public String availability; + public String basic; public String gameName; public String gameTag; public Integer icon; diff --git a/src/main/java/generated/LolClashRosterNotifyReason.java b/src/main/java/generated/LolClashRosterNotifyReason.java index 81d6585..bf748d8 100644 --- a/src/main/java/generated/LolClashRosterNotifyReason.java +++ b/src/main/java/generated/LolClashRosterNotifyReason.java @@ -94,6 +94,8 @@ public enum LolClashRosterNotifyReason { BRACKET_ROSTER_REMOVED, @SerializedName("BRACKET_ROSTER_REPLACED") BRACKET_ROSTER_REPLACED, + @SerializedName("CANNOT_FIND_MATCH") + CANNOT_FIND_MATCH, @SerializedName("BANNED_SMURF") BANNED_SMURF, @SerializedName("BANNED_SMURF_TEAMMATE") diff --git a/src/main/java/generated/LolGameQueuesQueueCustomGameSubcategory.java b/src/main/java/generated/LolGameQueuesQueueCustomGameSubcategory.java index ebcce6c..a585432 100644 --- a/src/main/java/generated/LolGameQueuesQueueCustomGameSubcategory.java +++ b/src/main/java/generated/LolGameQueuesQueueCustomGameSubcategory.java @@ -4,6 +4,7 @@ public class LolGameQueuesQueueCustomGameSubcategory { + public List customSpectatorPolicies; public String gameMode; public Integer mapId; public Integer maxLevel; diff --git a/src/main/java/generated/LolLobbyGameflowAvailability.java b/src/main/java/generated/LolLobbyGameflowAvailability.java deleted file mode 100644 index 62388bf..0000000 --- a/src/main/java/generated/LolLobbyGameflowAvailability.java +++ /dev/null @@ -1,8 +0,0 @@ -package generated; - -public class LolLobbyGameflowAvailability { - - public Boolean isAvailable; - public String state; - -} \ No newline at end of file diff --git a/src/main/java/generated/LolRiotclientUpgraderConfigReadinessEnum.java b/src/main/java/generated/LolRiotclientUpgraderConfigReadinessEnum.java deleted file mode 100644 index 3d011ad..0000000 --- a/src/main/java/generated/LolRiotclientUpgraderConfigReadinessEnum.java +++ /dev/null @@ -1,12 +0,0 @@ -package generated; - -import com.google.gson.annotations.SerializedName; - -public enum LolRiotclientUpgraderConfigReadinessEnum { - - @SerializedName("NotReady") - NOTREADY, - @SerializedName("Ready") - READY - -} \ No newline at end of file diff --git a/src/main/java/generated/LolRiotclientUpgraderConfigStatus.java b/src/main/java/generated/LolRiotclientUpgraderConfigStatus.java deleted file mode 100644 index b162077..0000000 --- a/src/main/java/generated/LolRiotclientUpgraderConfigStatus.java +++ /dev/null @@ -1,8 +0,0 @@ -package generated; - -public class LolRiotclientUpgraderConfigStatus { - - public LolRiotclientUpgraderConfigReadinessEnum readiness; - public Long updateId; - -} \ No newline at end of file diff --git a/src/main/java/generated/LolRiotclientUpgraderConfigType.java b/src/main/java/generated/LolRiotclientUpgraderConfigType.java deleted file mode 100644 index e13d837..0000000 --- a/src/main/java/generated/LolRiotclientUpgraderConfigType.java +++ /dev/null @@ -1,12 +0,0 @@ -package generated; - -import com.google.gson.annotations.SerializedName; - -public enum LolRiotclientUpgraderConfigType { - - @SerializedName("public") - PUBLIC, - @SerializedName("player") - PLAYER - -} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesCatalogBundle.java b/src/main/java/generated/LolStatstonesCatalogBundle.java new file mode 100644 index 0000000..ebb1dc9 --- /dev/null +++ b/src/main/java/generated/LolStatstonesCatalogBundle.java @@ -0,0 +1,7 @@ +package generated; + +public class LolStatstonesCatalogBundle { + + public LolStatstonesCatalogItemDetails item; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesCatalogBundlePrice.java b/src/main/java/generated/LolStatstonesCatalogBundlePrice.java new file mode 100644 index 0000000..70a678d --- /dev/null +++ b/src/main/java/generated/LolStatstonesCatalogBundlePrice.java @@ -0,0 +1,8 @@ +package generated; + +public class LolStatstonesCatalogBundlePrice { + + public Integer cost; + public String currency; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesCatalogItemDetails.java b/src/main/java/generated/LolStatstonesCatalogItemDetails.java new file mode 100644 index 0000000..1bcbe68 --- /dev/null +++ b/src/main/java/generated/LolStatstonesCatalogItemDetails.java @@ -0,0 +1,14 @@ +package generated; + +import java.util.List; + +public class LolStatstonesCatalogItemDetails { + + public String inventoryType; + public Integer itemId; + public String itemInstanceId; + public List prices; + public String releaseDate; + public String subInventoryType; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesChampionStatstoneSetSummary.java b/src/main/java/generated/LolStatstonesChampionStatstoneSetSummary.java new file mode 100644 index 0000000..4c5be7b --- /dev/null +++ b/src/main/java/generated/LolStatstonesChampionStatstoneSetSummary.java @@ -0,0 +1,10 @@ +package generated; + +public class LolStatstonesChampionStatstoneSetSummary { + + public String name; + public Integer stonesAvailable; + public Integer stonesIlluminated; + public Integer stonesOwned; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesChampionStatstoneSummary.java b/src/main/java/generated/LolStatstonesChampionStatstoneSummary.java new file mode 100644 index 0000000..3cefc1b --- /dev/null +++ b/src/main/java/generated/LolStatstonesChampionStatstoneSummary.java @@ -0,0 +1,13 @@ +package generated; + +import java.util.List; + +public class LolStatstonesChampionStatstoneSummary { + + public Integer championId; + public List sets; + public Integer stonesAvailable; + public Integer stonesIlluminated; + public Integer stonesOwned; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesCollectionsChampion.java b/src/main/java/generated/LolStatstonesCollectionsChampion.java new file mode 100644 index 0000000..2d1502e --- /dev/null +++ b/src/main/java/generated/LolStatstonesCollectionsChampion.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesCollectionsChampion { + + public Integer id; + public String name; + public String squarePortraitPath; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesEogNotificationEnvelope.java b/src/main/java/generated/LolStatstonesEogNotificationEnvelope.java new file mode 100644 index 0000000..54060fa --- /dev/null +++ b/src/main/java/generated/LolStatstonesEogNotificationEnvelope.java @@ -0,0 +1,12 @@ +package generated; + +import java.util.List; + +public class LolStatstonesEogNotificationEnvelope { + + public List othersPersonalBests; + public List selfMilestoneProgress; + public List selfPersonalBests; + public List selfStatstoneProgress; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesGameDataItemReference.java b/src/main/java/generated/LolStatstonesGameDataItemReference.java new file mode 100644 index 0000000..6f77031 --- /dev/null +++ b/src/main/java/generated/LolStatstonesGameDataItemReference.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesGameDataItemReference { + + public String contentId; + public String inventoryType; + public Integer itemId; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesGameDataStatstone.java b/src/main/java/generated/LolStatstonesGameDataStatstone.java new file mode 100644 index 0000000..6e187ac --- /dev/null +++ b/src/main/java/generated/LolStatstonesGameDataStatstone.java @@ -0,0 +1,22 @@ +package generated; + +import java.util.List; + +public class LolStatstonesGameDataStatstone { + + public LolStatstonesGameDataItemReference boundChampion; + public String category; + public String contentId; + public String description; + public String iconFull; + public String iconLit; + public String iconUnlit; + public String iconUnowned; + public Boolean isDuration; + public Boolean isEpic; + public Boolean isRetired; + public Integer itemId; + public List milestones; + public String name; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesGameDataStatstoneSet.java b/src/main/java/generated/LolStatstonesGameDataStatstoneSet.java new file mode 100644 index 0000000..88e7d6e --- /dev/null +++ b/src/main/java/generated/LolStatstonesGameDataStatstoneSet.java @@ -0,0 +1,14 @@ +package generated; + +import java.util.List; + +public class LolStatstonesGameDataStatstoneSet { + + public String inventoryType; + public Integer itemId; + public String name; + public Integer price; + public List statstones; + public String subInventoryType; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesLoadout.java b/src/main/java/generated/LolStatstonesLoadout.java new file mode 100644 index 0000000..ef22590 --- /dev/null +++ b/src/main/java/generated/LolStatstonesLoadout.java @@ -0,0 +1,11 @@ +package generated; + +public class LolStatstonesLoadout { + + public String id; + public Integer itemId; + public Object loadout; + public String name; + public String scope; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesLoadoutItem.java b/src/main/java/generated/LolStatstonesLoadoutItem.java new file mode 100644 index 0000000..75a9099 --- /dev/null +++ b/src/main/java/generated/LolStatstonesLoadoutItem.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesLoadoutItem { + + public String contentId; + public String inventoryType; + public Integer itemId; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesMilestoneNotificationDto.java b/src/main/java/generated/LolStatstonesMilestoneNotificationDto.java new file mode 100644 index 0000000..15a0ac5 --- /dev/null +++ b/src/main/java/generated/LolStatstonesMilestoneNotificationDto.java @@ -0,0 +1,10 @@ +package generated; + +public class LolStatstonesMilestoneNotificationDto { + + public Boolean isCompleted; + public Integer level; + public String statstoneId; + public Integer threshold; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesMilestoneProgressNotification.java b/src/main/java/generated/LolStatstonesMilestoneProgressNotification.java new file mode 100644 index 0000000..61a9da5 --- /dev/null +++ b/src/main/java/generated/LolStatstonesMilestoneProgressNotification.java @@ -0,0 +1,11 @@ +package generated; + +public class LolStatstonesMilestoneProgressNotification { + + public String imageUrl; + public String level; + public String statstoneId; + public String statstoneName; + public Integer threshold; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesNumberFormattingBehavior.java b/src/main/java/generated/LolStatstonesNumberFormattingBehavior.java new file mode 100644 index 0000000..ca5a045 --- /dev/null +++ b/src/main/java/generated/LolStatstonesNumberFormattingBehavior.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesNumberFormattingBehavior { + + public Integer digitstForThousandsSeparator; + public Boolean trimTrailingZerosAfterDecimal; + public Boolean westernNumberGrouping; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesNumberFormattingData.java b/src/main/java/generated/LolStatstonesNumberFormattingData.java new file mode 100644 index 0000000..9d24845 --- /dev/null +++ b/src/main/java/generated/LolStatstonesNumberFormattingData.java @@ -0,0 +1,18 @@ +package generated; + +public class LolStatstonesNumberFormattingData { + + public String billionAbbreviation; + public String decimalSeperator; + public String hourAbbreviation; + public String millionAbbreviation; + public String minuteAbbreviation; + public LolStatstonesNumberFormattingBehavior numberFormattingBehavior; + public String oneHundredMillionAbbreviation; + public String secondAbbreviation; + public String tenThousandAbbreviation; + public String thousandAbbreviation; + public String thousandSeperator; + public String trillionAbbreviation; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesPersonalBestNotification.java b/src/main/java/generated/LolStatstonesPersonalBestNotification.java new file mode 100644 index 0000000..f2c3c5f --- /dev/null +++ b/src/main/java/generated/LolStatstonesPersonalBestNotification.java @@ -0,0 +1,11 @@ +package generated; + +public class LolStatstonesPersonalBestNotification { + + public String imageUrl; + public String personalBest; + public String statstoneId; + public String statstoneName; + public LolStatstonesSummoner summoner; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesPriceInfo.java b/src/main/java/generated/LolStatstonesPriceInfo.java new file mode 100644 index 0000000..6cae6c0 --- /dev/null +++ b/src/main/java/generated/LolStatstonesPriceInfo.java @@ -0,0 +1,8 @@ +package generated; + +public class LolStatstonesPriceInfo { + + public String currency; + public Integer price; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesProfileStatstoneSummary.java b/src/main/java/generated/LolStatstonesProfileStatstoneSummary.java new file mode 100644 index 0000000..0e4b47f --- /dev/null +++ b/src/main/java/generated/LolStatstonesProfileStatstoneSummary.java @@ -0,0 +1,11 @@ +package generated; + +public class LolStatstonesProfileStatstoneSummary { + + public String category; + public Integer championId; + public String imageUrl; + public String name; + public String value; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstone.java b/src/main/java/generated/LolStatstonesStatstone.java new file mode 100644 index 0000000..a54799c --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstone.java @@ -0,0 +1,21 @@ +package generated; + +public class LolStatstonesStatstone { + + public Integer boundChampionItemId; + public String category; + public Double completionValue; + public String description; + public String formattedMilestoneLevel; + public String formattedPersonalBest; + public String formattedValue; + public String imageUrl; + public Boolean isComplete; + public Boolean isEpic; + public Boolean isFavorite; + public String name; + public String nextMilestone; + public LolStatstonesStatstonePlayerRecord playerRecord; + public String statstoneId; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneCompletion.java b/src/main/java/generated/LolStatstonesStatstoneCompletion.java new file mode 100644 index 0000000..7c649b3 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneCompletion.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesStatstoneCompletion { + + public String category; + public Boolean isEpic; + public String statstoneName; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneMasteryVignette.java b/src/main/java/generated/LolStatstonesStatstoneMasteryVignette.java new file mode 100644 index 0000000..fb5687a --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneMasteryVignette.java @@ -0,0 +1,8 @@ +package generated; + +public class LolStatstonesStatstoneMasteryVignette { + + public Integer masteryLevel; + public Integer numSetsCompleted; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneNotificationDto.java b/src/main/java/generated/LolStatstonesStatstoneNotificationDto.java new file mode 100644 index 0000000..a681d77 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneNotificationDto.java @@ -0,0 +1,13 @@ +package generated; + +public class LolStatstonesStatstoneNotificationDto { + + public Integer best; + public Integer delta; + public Boolean isNewBest; + public Integer level; + public String puuid; + public String statstoneId; + public Integer value; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneNotificationEnvelopeDto.java b/src/main/java/generated/LolStatstonesStatstoneNotificationEnvelopeDto.java new file mode 100644 index 0000000..a9b111f --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneNotificationEnvelopeDto.java @@ -0,0 +1,11 @@ +package generated; + +import java.util.List; + +public class LolStatstonesStatstoneNotificationEnvelopeDto { + + public Long gameId; + public List milestones; + public List updates; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstonePlayerRecord.java b/src/main/java/generated/LolStatstonesStatstonePlayerRecord.java new file mode 100644 index 0000000..0988070 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstonePlayerRecord.java @@ -0,0 +1,15 @@ +package generated; + +public class LolStatstonesStatstonePlayerRecord { + + public String dateAcquired; + public String dateCompleted; + public String dateModified; + public Boolean entitled; + public Integer milestoneLevel; + public Integer personalBest; + public String puuid; + public String statstoneId; + public Integer value; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneProgress.java b/src/main/java/generated/LolStatstonesStatstoneProgress.java new file mode 100644 index 0000000..bfe30c3 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneProgress.java @@ -0,0 +1,12 @@ +package generated; + +public class LolStatstonesStatstoneProgress { + + public String delta; + public String imageUrl; + public String nextMilestone; + public String statstoneId; + public String statstoneName; + public String value; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneRekindledVignette.java b/src/main/java/generated/LolStatstonesStatstoneRekindledVignette.java new file mode 100644 index 0000000..2e390c0 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneRekindledVignette.java @@ -0,0 +1,8 @@ +package generated; + +public class LolStatstonesStatstoneRekindledVignette { + + public String portraitPath; + public LolStatstonesStatstoneCompletion statstone; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneSet.java b/src/main/java/generated/LolStatstonesStatstoneSet.java new file mode 100644 index 0000000..a858204 --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneSet.java @@ -0,0 +1,17 @@ +package generated; + +import java.util.List; + +public class LolStatstonesStatstoneSet { + + public String inventoryType; + public Integer itemId; + public String itemInstanceID; + public String name; + public List prices; + public List statstones; + public Integer stonesIlluminated; + public Integer stonesOwned; + public String subInventoryType; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneSetCompleteVignette.java b/src/main/java/generated/LolStatstonesStatstoneSetCompleteVignette.java new file mode 100644 index 0000000..f5c146b --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneSetCompleteVignette.java @@ -0,0 +1,9 @@ +package generated; + +import java.util.List; + +public class LolStatstonesStatstoneSetCompleteVignette { + + public List statstones; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesStatstoneVignetteNotificationEnvelopeDto.java b/src/main/java/generated/LolStatstonesStatstoneVignetteNotificationEnvelopeDto.java new file mode 100644 index 0000000..32c020b --- /dev/null +++ b/src/main/java/generated/LolStatstonesStatstoneVignetteNotificationEnvelopeDto.java @@ -0,0 +1,13 @@ +package generated; + +import java.util.List; + +public class LolStatstonesStatstoneVignetteNotificationEnvelopeDto { + + public Integer champId; + public String champName; + public List masteryVignetteNotifications; + public List rekindledVignetteNotifications; + public List setCompleteVignetteNotifications; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolStatstonesSummoner.java b/src/main/java/generated/LolStatstonesSummoner.java new file mode 100644 index 0000000..b776699 --- /dev/null +++ b/src/main/java/generated/LolStatstonesSummoner.java @@ -0,0 +1,9 @@ +package generated; + +public class LolStatstonesSummoner { + + public String displayName; + public String puuid; + public Long summonerId; + +} \ No newline at end of file diff --git a/src/main/java/generated/LolWorldsTokenCardTokenUpsellLockedType.java b/src/main/java/generated/LolWorldsTokenCardTokenUpsellLockedType.java index 4b6672c..53f0717 100644 --- a/src/main/java/generated/LolWorldsTokenCardTokenUpsellLockedType.java +++ b/src/main/java/generated/LolWorldsTokenCardTokenUpsellLockedType.java @@ -6,9 +6,9 @@ public enum LolWorldsTokenCardTokenUpsellLockedType { @SerializedName("UNASSIGNED") UNASSIGNED, - @SerializedName("UNLOCKED") - UNLOCKED, @SerializedName("LOCKED") - LOCKED + LOCKED, + @SerializedName("UNLOCKED") + UNLOCKED } \ No newline at end of file diff --git a/src/main/java/generated/PaymentsFrontEndRequest.java b/src/main/java/generated/PaymentsFrontEndRequest.java index 7783e56..f0970d6 100644 --- a/src/main/java/generated/PaymentsFrontEndRequest.java +++ b/src/main/java/generated/PaymentsFrontEndRequest.java @@ -8,5 +8,6 @@ public class PaymentsFrontEndRequest { public String localeId; public String rsoToken; public Integer summonerLevel; + public Boolean usePmcSessions; } \ No newline at end of file diff --git a/src/main/java/generated/UriMap.java b/src/main/java/generated/UriMap.java index 492ee08..ef8f657 100644 --- a/src/main/java/generated/UriMap.java +++ b/src/main/java/generated/UriMap.java @@ -13,6 +13,10 @@ public class UriMap { toClass.put("\\/client-config\\/v1\\/config", Object.class); toClass.put("\\/client-config\\/v1\\/config\\/[^/]+", Object.class); toClass.put("\\/client-config\\/v1\\/status\\/[^/]+", ClientConfigConfigStatus.class); + toClass.put("\\/client-config\\/v2\\/config\\/[^/]+", Object.class); + toClass.put("\\/client-config\\/v2\\/namespace\\/[^/]+", Object.class); + toClass.put("\\/client-config\\/v2\\/namespace\\/[^/]+\\/player", Object.class); + toClass.put("\\/client-config\\/v2\\/namespace\\/[^/]+\\/public", Object.class); toClass.put("\\/cookie-jar\\/v1\\/cookies", cookie[].class); toClass.put("\\/data-store\\/v1\\/install-dir", String.class); toClass.put("\\/data-store\\/v1\\/install-settings\\/[^/]+", Object.class); @@ -110,8 +114,21 @@ public class UriMap { toClass.put("\\/lol-chat\\/v1\\/session", LolChatSessionResource.class); toClass.put("\\/lol-chat\\/v1\\/settings", Object.class); toClass.put("\\/lol-chat\\/v1\\/settings\\/[^/]+", Object.class); + toClass.put("\\/lol-chat\\/v2\\/blocked-players", LolChatBlockedPlayerResource[].class); + toClass.put("\\/lol-chat\\/v2\\/blocked-players\\/[^/]+", LolChatBlockedPlayerResource.class); + toClass.put("\\/lol-chat\\/v2\\/conversations", LolChatConversationResource[].class); + toClass.put("\\/lol-chat\\/v2\\/conversations\\/active", LolChatActiveConversationResource.class); + toClass.put("\\/lol-chat\\/v2\\/conversations\\/notify", String.class); + toClass.put("\\/lol-chat\\/v2\\/conversations\\/[^/]+", LolChatConversationResource.class); + toClass.put("\\/lol-chat\\/v2\\/conversations\\/[^/]+\\/messages", LolChatConversationMessageResource[].class); + toClass.put("\\/lol-chat\\/v2\\/conversations\\/[^/]+\\/participants", LolChatUserResource[].class); + toClass.put("\\/lol-chat\\/v2\\/friend-requests", LolChatFriendRequestResource[].class); + toClass.put("\\/lol-chat\\/v2\\/friends", LolChatFriendResource[].class); + toClass.put("\\/lol-chat\\/v2\\/friends\\/[^/]+", LolChatFriendResource.class); + toClass.put("\\/lol-clash\\/v1\\/all-tournaments", TournamentDTO[].class); toClass.put("\\/lol-clash\\/v1\\/bracket\\/[^/]+", LolClashBracket.class); toClass.put("\\/lol-clash\\/v1\\/checkin-allowed", Boolean.class); + toClass.put("\\/lol-clash\\/v1\\/currentTournamentIds", Long[].class); toClass.put("\\/lol-clash\\/v1\\/enabled", Boolean.class); toClass.put("\\/lol-clash\\/v1\\/eog-player-update", LolClashEogPlayerUpdateDTO.class); toClass.put("\\/lol-clash\\/v1\\/event\\/[^/]+", ClashEventData.class); @@ -144,7 +161,6 @@ public class UriMap { toClass.put("\\/lol-clash\\/v1\\/tournament\\/[^/]+\\/player-honor-restricted", Boolean.class); toClass.put("\\/lol-clash\\/v1\\/tournament\\/[^/]+\\/stateInfo", LolClashTournamentStateInfo.class); toClass.put("\\/lol-clash\\/v1\\/tournament\\/[^/]+\\/winners", LolClashTournamentWinnerHistory.class); - toClass.put("\\/lol-clash\\/v1\\/tournamentIds", Long[].class); toClass.put("\\/lol-clash\\/v1\\/visible", Boolean.class); toClass.put("\\/lol-clash\\/v1\\/voice-enabled", Boolean.class); toClass.put("\\/lol-clash\\/v2\\/playmode-restricted", LolClashPlaymodeRestrictedInfo.class); @@ -451,6 +467,13 @@ public class UriMap { toClass.put("\\/lol-shutdown\\/v1\\/notification", LolShutdownShutdownNotification.class); toClass.put("\\/lol-simple-dialog-messages\\/v1\\/messages", LolSimpleDialogMessagesMessage[].class); toClass.put("\\/lol-spectator\\/v1\\/spectate", LolSpectatorSpectateGameInfo.class); + toClass.put("\\/lol-statstones\\/v1\\/eog-notifications", Object[].class); + toClass.put("\\/lol-statstones\\/v1\\/favorite-champion-statstones\\/[^/]+", String[].class); + toClass.put("\\/lol-statstones\\/v1\\/profile-summary\\/[^/]+", LolStatstonesProfileStatstoneSummary[].class); + toClass.put("\\/lol-statstones\\/v1\\/statstones-enabled-queue-ids", Integer[].class); + toClass.put("\\/lol-statstones\\/v1\\/vignette-notifications", Object[].class); + toClass.put("\\/lol-statstones\\/v2\\/player-statstones-self\\/[^/]+", LolStatstonesStatstoneSet[].class); + toClass.put("\\/lol-statstones\\/v2\\/player-summary-self", LolStatstonesChampionStatstoneSummary[].class); toClass.put("\\/lol-store\\/v1\\/catalog", LolStoreCatalogItem[].class); toClass.put("\\/lol-store\\/v1\\/catalogByInstanceIds", LolStoreCatalogItem[].class); toClass.put("\\/lol-store\\/v1\\/getStoreUrl", String.class);