gs2 1.3.125 → 1.3.126
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/package.json +1 -1
- package/watch/model/AccountMetrics.d.ts +14 -0
- package/watch/model/AccountMetrics.js +56 -0
- package/watch/model/AccountMetrics.js.map +1 -0
- package/watch/model/AccountMetrics.ts +56 -0
- package/watch/model/AccountNamespace.d.ts +18 -0
- package/watch/model/AccountNamespace.js +70 -0
- package/watch/model/AccountNamespace.js.map +1 -0
- package/watch/model/AccountNamespace.ts +69 -0
- package/watch/model/AccountTakeOver.d.ts +17 -0
- package/watch/model/AccountTakeOver.js +62 -0
- package/watch/model/AccountTakeOver.js.map +1 -0
- package/watch/model/AccountTakeOver.ts +60 -0
- package/watch/model/ExchangeMetrics.d.ts +14 -0
- package/watch/model/ExchangeMetrics.js +56 -0
- package/watch/model/ExchangeMetrics.js.map +1 -0
- package/watch/model/ExchangeMetrics.ts +56 -0
- package/watch/model/ExchangeNamespace.d.ts +18 -0
- package/watch/model/ExchangeNamespace.js +70 -0
- package/watch/model/ExchangeNamespace.js.map +1 -0
- package/watch/model/ExchangeNamespace.ts +69 -0
- package/watch/model/ExchangeRate.d.ts +17 -0
- package/watch/model/ExchangeRate.js +62 -0
- package/watch/model/ExchangeRate.js.map +1 -0
- package/watch/model/ExchangeRate.ts +60 -0
- package/watch/model/ExperienceExperience.d.ts +18 -0
- package/watch/model/ExperienceExperience.js +70 -0
- package/watch/model/ExperienceExperience.js.map +1 -0
- package/watch/model/ExperienceExperience.ts +69 -0
- package/watch/model/ExperienceMetrics.d.ts +14 -0
- package/watch/model/ExperienceMetrics.js +56 -0
- package/watch/model/ExperienceMetrics.js.map +1 -0
- package/watch/model/ExperienceMetrics.ts +57 -0
- package/watch/model/ExperienceNamespace.d.ts +18 -0
- package/watch/model/ExperienceNamespace.js +70 -0
- package/watch/model/ExperienceNamespace.js.map +1 -0
- package/watch/model/ExperienceNamespace.ts +70 -0
- package/watch/model/ExperienceRankDistribution.d.ts +17 -0
- package/watch/model/ExperienceRankDistribution.js +62 -0
- package/watch/model/ExperienceRankDistribution.js.map +1 -0
- package/watch/model/ExperienceRankDistribution.ts +60 -0
- package/watch/model/FirstWeekLoginDays.d.ts +29 -0
- package/watch/model/FirstWeekLoginDays.js +104 -0
- package/watch/model/FirstWeekLoginDays.js.map +1 -0
- package/watch/model/FirstWeekLoginDays.ts +102 -0
- package/watch/model/GeneralMetrics.d.ts +42 -0
- package/watch/model/GeneralMetrics.js +139 -0
- package/watch/model/GeneralMetrics.js.map +1 -0
- package/watch/model/GeneralMetrics.ts +137 -0
- package/watch/model/InboxMetrics.d.ts +14 -0
- package/watch/model/InboxMetrics.js +56 -0
- package/watch/model/InboxMetrics.js.map +1 -0
- package/watch/model/InboxMetrics.ts +58 -0
- package/watch/model/InboxNamespace.d.ts +18 -0
- package/watch/model/InboxNamespace.js +65 -0
- package/watch/model/InboxNamespace.js.map +1 -0
- package/watch/model/InboxNamespace.ts +63 -0
- package/watch/model/InboxStatisticOpenMinutes.d.ts +29 -0
- package/watch/model/InboxStatisticOpenMinutes.js +104 -0
- package/watch/model/InboxStatisticOpenMinutes.js.map +1 -0
- package/watch/model/InboxStatisticOpenMinutes.ts +102 -0
- package/watch/model/InboxStatisticSummary.d.ts +21 -0
- package/watch/model/InboxStatisticSummary.js +76 -0
- package/watch/model/InboxStatisticSummary.js.map +1 -0
- package/watch/model/InboxStatisticSummary.ts +74 -0
- package/watch/model/InboxStatistics.d.ts +19 -0
- package/watch/model/InboxStatistics.js +66 -0
- package/watch/model/InboxStatistics.js.map +1 -0
- package/watch/model/InboxStatistics.ts +62 -0
- package/watch/model/InventoryInventory.d.ts +23 -0
- package/watch/model/InventoryInventory.js +91 -0
- package/watch/model/InventoryInventory.js.map +1 -0
- package/watch/model/InventoryInventory.ts +94 -0
- package/watch/model/InventoryInventoryStatistics.d.ts +17 -0
- package/watch/model/InventoryInventoryStatistics.js +62 -0
- package/watch/model/InventoryInventoryStatistics.js.map +1 -0
- package/watch/model/InventoryInventoryStatistics.ts +60 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.d.ts +21 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js +76 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js.map +1 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.ts +74 -0
- package/watch/model/InventoryItem.d.ts +23 -0
- package/watch/model/InventoryItem.js +86 -0
- package/watch/model/InventoryItem.js.map +1 -0
- package/watch/model/InventoryItem.ts +84 -0
- package/watch/model/InventoryItemDistribution.d.ts +21 -0
- package/watch/model/InventoryItemDistribution.js +76 -0
- package/watch/model/InventoryItemDistribution.js.map +1 -0
- package/watch/model/InventoryItemDistribution.ts +74 -0
- package/watch/model/InventoryItemStatistics.d.ts +21 -0
- package/watch/model/InventoryItemStatistics.js +76 -0
- package/watch/model/InventoryItemStatistics.js.map +1 -0
- package/watch/model/InventoryItemStatistics.ts +74 -0
- package/watch/model/InventoryMetrics.d.ts +14 -0
- package/watch/model/InventoryMetrics.js +56 -0
- package/watch/model/InventoryMetrics.js.map +1 -0
- package/watch/model/InventoryMetrics.ts +60 -0
- package/watch/model/InventoryNamespace.d.ts +18 -0
- package/watch/model/InventoryNamespace.js +70 -0
- package/watch/model/InventoryNamespace.js.map +1 -0
- package/watch/model/InventoryNamespace.ts +73 -0
- package/watch/model/LimitCounter.d.ts +18 -0
- package/watch/model/LimitCounter.js +70 -0
- package/watch/model/LimitCounter.js.map +1 -0
- package/watch/model/LimitCounter.ts +70 -0
- package/watch/model/LimitCounterDistribution.d.ts +18 -0
- package/watch/model/LimitCounterDistribution.js +70 -0
- package/watch/model/LimitCounterDistribution.js.map +1 -0
- package/watch/model/LimitCounterDistribution.ts +69 -0
- package/watch/model/LimitCounterDistributionUsage.d.ts +21 -0
- package/watch/model/LimitCounterDistributionUsage.js +76 -0
- package/watch/model/LimitCounterDistributionUsage.js.map +1 -0
- package/watch/model/LimitCounterDistributionUsage.ts +74 -0
- package/watch/model/LimitLimit.d.ts +18 -0
- package/watch/model/LimitLimit.js +70 -0
- package/watch/model/LimitLimit.js.map +1 -0
- package/watch/model/LimitLimit.ts +71 -0
- package/watch/model/LimitMetrics.d.ts +14 -0
- package/watch/model/LimitMetrics.js +56 -0
- package/watch/model/LimitMetrics.js.map +1 -0
- package/watch/model/LimitMetrics.ts +59 -0
- package/watch/model/LimitNamespace.d.ts +18 -0
- package/watch/model/LimitNamespace.js +70 -0
- package/watch/model/LimitNamespace.js.map +1 -0
- package/watch/model/LimitNamespace.ts +72 -0
- package/watch/model/MatchmakingDurationSeconds.d.ts +29 -0
- package/watch/model/MatchmakingDurationSeconds.js +104 -0
- package/watch/model/MatchmakingDurationSeconds.js.map +1 -0
- package/watch/model/MatchmakingDurationSeconds.ts +102 -0
- package/watch/model/MatchmakingMetrics.d.ts +14 -0
- package/watch/model/MatchmakingMetrics.js +56 -0
- package/watch/model/MatchmakingMetrics.js.map +1 -0
- package/watch/model/MatchmakingMetrics.ts +58 -0
- package/watch/model/MatchmakingNamespace.d.ts +23 -0
- package/watch/model/MatchmakingNamespace.js +86 -0
- package/watch/model/MatchmakingNamespace.js.map +1 -0
- package/watch/model/MatchmakingNamespace.ts +85 -0
- package/watch/model/MatchmakingRole.d.ts +30 -0
- package/watch/model/MatchmakingRole.js +107 -0
- package/watch/model/MatchmakingRole.js.map +1 -0
- package/watch/model/MatchmakingRole.ts +103 -0
- package/watch/model/MatchmakingStatistics.d.ts +26 -0
- package/watch/model/MatchmakingStatistics.js +93 -0
- package/watch/model/MatchmakingStatistics.js.map +1 -0
- package/watch/model/MatchmakingStatistics.ts +89 -0
- package/watch/model/MoneyBalanceDistribution.d.ts +21 -0
- package/watch/model/MoneyBalanceDistribution.js +76 -0
- package/watch/model/MoneyBalanceDistribution.js.map +1 -0
- package/watch/model/MoneyBalanceDistribution.ts +74 -0
- package/watch/model/MoneyBillingDistribution.d.ts +21 -0
- package/watch/model/MoneyBillingDistribution.js +76 -0
- package/watch/model/MoneyBillingDistribution.js.map +1 -0
- package/watch/model/MoneyBillingDistribution.ts +74 -0
- package/watch/model/MoneyMetrics.d.ts +14 -0
- package/watch/model/MoneyMetrics.js +56 -0
- package/watch/model/MoneyMetrics.js.map +1 -0
- package/watch/model/MoneyMetrics.ts +58 -0
- package/watch/model/MoneyNamespace.d.ts +28 -0
- package/watch/model/MoneyNamespace.js +107 -0
- package/watch/model/MoneyNamespace.js.map +1 -0
- package/watch/model/MoneyNamespace.ts +107 -0
- package/watch/model/MoneyStatistics.d.ts +21 -0
- package/watch/model/MoneyStatistics.js +76 -0
- package/watch/model/MoneyStatistics.js.map +1 -0
- package/watch/model/MoneyStatistics.ts +74 -0
- package/watch/model/MonthlyActiveUsers.d.ts +17 -0
- package/watch/model/MonthlyActiveUsers.js +62 -0
- package/watch/model/MonthlyActiveUsers.js.map +1 -0
- package/watch/model/MonthlyActiveUsers.ts +60 -0
- package/watch/model/QuestMetrics.d.ts +14 -0
- package/watch/model/QuestMetrics.js +56 -0
- package/watch/model/QuestMetrics.js.map +1 -0
- package/watch/model/QuestMetrics.ts +59 -0
- package/watch/model/QuestNamespace.d.ts +18 -0
- package/watch/model/QuestNamespace.js +70 -0
- package/watch/model/QuestNamespace.js.map +1 -0
- package/watch/model/QuestNamespace.ts +72 -0
- package/watch/model/QuestQuest.d.ts +18 -0
- package/watch/model/QuestQuest.js +65 -0
- package/watch/model/QuestQuest.js.map +1 -0
- package/watch/model/QuestQuest.ts +62 -0
- package/watch/model/QuestQuestDurationSeconds.d.ts +29 -0
- package/watch/model/QuestQuestDurationSeconds.js +104 -0
- package/watch/model/QuestQuestDurationSeconds.js.map +1 -0
- package/watch/model/QuestQuestDurationSeconds.ts +102 -0
- package/watch/model/QuestQuestGroup.d.ts +18 -0
- package/watch/model/QuestQuestGroup.js +70 -0
- package/watch/model/QuestQuestGroup.js.map +1 -0
- package/watch/model/QuestQuestGroup.ts +71 -0
- package/watch/model/QuestQuestReward.d.ts +26 -0
- package/watch/model/QuestQuestReward.js +93 -0
- package/watch/model/QuestQuestReward.js.map +1 -0
- package/watch/model/QuestQuestReward.ts +89 -0
- package/watch/model/QuestQuestRewardStatistics.d.ts +29 -0
- package/watch/model/QuestQuestRewardStatistics.js +104 -0
- package/watch/model/QuestQuestRewardStatistics.js.map +1 -0
- package/watch/model/QuestQuestRewardStatistics.ts +102 -0
- package/watch/model/QuestQuestStatistics.d.ts +22 -0
- package/watch/model/QuestQuestStatistics.js +79 -0
- package/watch/model/QuestQuestStatistics.js.map +1 -0
- package/watch/model/QuestQuestStatistics.ts +75 -0
- package/watch/model/RankingCategory.d.ts +18 -0
- package/watch/model/RankingCategory.js +70 -0
- package/watch/model/RankingCategory.js.map +1 -0
- package/watch/model/RankingCategory.ts +69 -0
- package/watch/model/RankingCategoryScoreDistribution.d.ts +21 -0
- package/watch/model/RankingCategoryScoreDistribution.js +76 -0
- package/watch/model/RankingCategoryScoreDistribution.js.map +1 -0
- package/watch/model/RankingCategoryScoreDistribution.ts +74 -0
- package/watch/model/RankingMetrics.d.ts +14 -0
- package/watch/model/RankingMetrics.js +56 -0
- package/watch/model/RankingMetrics.js.map +1 -0
- package/watch/model/RankingMetrics.ts +57 -0
- package/watch/model/RankingNamespace.d.ts +18 -0
- package/watch/model/RankingNamespace.js +70 -0
- package/watch/model/RankingNamespace.js.map +1 -0
- package/watch/model/RankingNamespace.ts +70 -0
- package/watch/model/ReturningUserRatio.d.ts +21 -0
- package/watch/model/ReturningUserRatio.js +76 -0
- package/watch/model/ReturningUserRatio.js.map +1 -0
- package/watch/model/ReturningUserRatio.ts +74 -0
- package/watch/model/SessionDuration.d.ts +19 -0
- package/watch/model/SessionDuration.js +72 -0
- package/watch/model/SessionDuration.js.map +1 -0
- package/watch/model/SessionDuration.ts +70 -0
- package/watch/model/SessionDurationDistribution.d.ts +21 -0
- package/watch/model/SessionDurationDistribution.js +76 -0
- package/watch/model/SessionDurationDistribution.js.map +1 -0
- package/watch/model/SessionDurationDistribution.ts +74 -0
- package/watch/model/SessionDurationStatistics.d.ts +29 -0
- package/watch/model/SessionDurationStatistics.js +104 -0
- package/watch/model/SessionDurationStatistics.js.map +1 -0
- package/watch/model/SessionDurationStatistics.ts +102 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.d.ts +21 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js +76 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js.map +1 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.ts +74 -0
- package/watch/model/ShowcaseDisplayItem.d.ts +18 -0
- package/watch/model/ShowcaseDisplayItem.js +70 -0
- package/watch/model/ShowcaseDisplayItem.js.map +1 -0
- package/watch/model/ShowcaseDisplayItem.ts +69 -0
- package/watch/model/ShowcaseMetrics.d.ts +14 -0
- package/watch/model/ShowcaseMetrics.js +56 -0
- package/watch/model/ShowcaseMetrics.js.map +1 -0
- package/watch/model/ShowcaseMetrics.ts +58 -0
- package/watch/model/ShowcaseNamespace.d.ts +18 -0
- package/watch/model/ShowcaseNamespace.js +70 -0
- package/watch/model/ShowcaseNamespace.js.map +1 -0
- package/watch/model/ShowcaseNamespace.ts +71 -0
- package/watch/model/ShowcaseShowcase.d.ts +18 -0
- package/watch/model/ShowcaseShowcase.js +70 -0
- package/watch/model/ShowcaseShowcase.js.map +1 -0
- package/watch/model/ShowcaseShowcase.ts +70 -0
- package/watch/model/WeeklyActiveUsers.d.ts +21 -0
- package/watch/model/WeeklyActiveUsers.js +76 -0
- package/watch/model/WeeklyActiveUsers.js.map +1 -0
- package/watch/model/WeeklyActiveUsers.ts +74 -0
- package/watch/model/index.d.ts +65 -1
- package/watch/model/index.js +130 -1
- package/watch/model/index.js.map +1 -1
- package/watch/model/index.ts +128 -0
- package/watch/request/GetAccountMetricsRequest.d.ts +17 -0
- package/watch/request/GetAccountMetricsRequest.js +54 -0
- package/watch/request/GetAccountMetricsRequest.js.map +1 -0
- package/watch/request/GetAccountMetricsRequest.ts +62 -0
- package/watch/request/GetExchangeMetricsRequest.d.ts +17 -0
- package/watch/request/GetExchangeMetricsRequest.js +54 -0
- package/watch/request/GetExchangeMetricsRequest.js.map +1 -0
- package/watch/request/GetExchangeMetricsRequest.ts +62 -0
- package/watch/request/GetExperienceMetricsRequest.d.ts +17 -0
- package/watch/request/GetExperienceMetricsRequest.js +54 -0
- package/watch/request/GetExperienceMetricsRequest.js.map +1 -0
- package/watch/request/GetExperienceMetricsRequest.ts +62 -0
- package/watch/request/GetGeneralMetricsRequest.d.ts +17 -0
- package/watch/request/GetGeneralMetricsRequest.js +54 -0
- package/watch/request/GetGeneralMetricsRequest.js.map +1 -0
- package/watch/request/GetGeneralMetricsRequest.ts +62 -0
- package/watch/request/GetInboxMetricsRequest.d.ts +17 -0
- package/watch/request/GetInboxMetricsRequest.js +54 -0
- package/watch/request/GetInboxMetricsRequest.js.map +1 -0
- package/watch/request/GetInboxMetricsRequest.ts +62 -0
- package/watch/request/GetInventoryMetricsRequest.d.ts +17 -0
- package/watch/request/GetInventoryMetricsRequest.js +54 -0
- package/watch/request/GetInventoryMetricsRequest.js.map +1 -0
- package/watch/request/GetInventoryMetricsRequest.ts +62 -0
- package/watch/request/GetLimitMetricsRequest.d.ts +17 -0
- package/watch/request/GetLimitMetricsRequest.js +54 -0
- package/watch/request/GetLimitMetricsRequest.js.map +1 -0
- package/watch/request/GetLimitMetricsRequest.ts +62 -0
- package/watch/request/GetMatchmakingMetricsRequest.d.ts +17 -0
- package/watch/request/GetMatchmakingMetricsRequest.js +54 -0
- package/watch/request/GetMatchmakingMetricsRequest.js.map +1 -0
- package/watch/request/GetMatchmakingMetricsRequest.ts +62 -0
- package/watch/request/GetMoneyMetricsRequest.d.ts +17 -0
- package/watch/request/GetMoneyMetricsRequest.js +54 -0
- package/watch/request/GetMoneyMetricsRequest.js.map +1 -0
- package/watch/request/GetMoneyMetricsRequest.ts +62 -0
- package/watch/request/GetQuestMetricsRequest.d.ts +17 -0
- package/watch/request/GetQuestMetricsRequest.js +54 -0
- package/watch/request/GetQuestMetricsRequest.js.map +1 -0
- package/watch/request/GetQuestMetricsRequest.ts +62 -0
- package/watch/request/GetRankingMetricsRequest.d.ts +17 -0
- package/watch/request/GetRankingMetricsRequest.js +54 -0
- package/watch/request/GetRankingMetricsRequest.js.map +1 -0
- package/watch/request/GetRankingMetricsRequest.ts +62 -0
- package/watch/request/GetShowcaseMetricsRequest.d.ts +17 -0
- package/watch/request/GetShowcaseMetricsRequest.js +54 -0
- package/watch/request/GetShowcaseMetricsRequest.js.map +1 -0
- package/watch/request/GetShowcaseMetricsRequest.ts +62 -0
- package/watch/request/index.d.ts +13 -1
- package/watch/request/index.js +25 -1
- package/watch/request/index.js.map +1 -1
- package/watch/request/index.ts +24 -0
- package/watch/rest.d.ts +12 -0
- package/watch/rest.js +252 -0
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +300 -0
- package/watch/result/GetAccountMetricsResult.d.ts +14 -0
- package/watch/result/GetAccountMetricsResult.js +48 -0
- package/watch/result/GetAccountMetricsResult.js.map +1 -0
- package/watch/result/GetAccountMetricsResult.ts +48 -0
- package/watch/result/GetExchangeMetricsResult.d.ts +14 -0
- package/watch/result/GetExchangeMetricsResult.js +48 -0
- package/watch/result/GetExchangeMetricsResult.js.map +1 -0
- package/watch/result/GetExchangeMetricsResult.ts +48 -0
- package/watch/result/GetExperienceMetricsResult.d.ts +14 -0
- package/watch/result/GetExperienceMetricsResult.js +48 -0
- package/watch/result/GetExperienceMetricsResult.js.map +1 -0
- package/watch/result/GetExperienceMetricsResult.ts +48 -0
- package/watch/result/GetGeneralMetricsResult.d.ts +14 -0
- package/watch/result/GetGeneralMetricsResult.js +48 -0
- package/watch/result/GetGeneralMetricsResult.js.map +1 -0
- package/watch/result/GetGeneralMetricsResult.ts +48 -0
- package/watch/result/GetInboxMetricsResult.d.ts +14 -0
- package/watch/result/GetInboxMetricsResult.js +48 -0
- package/watch/result/GetInboxMetricsResult.js.map +1 -0
- package/watch/result/GetInboxMetricsResult.ts +48 -0
- package/watch/result/GetInventoryMetricsResult.d.ts +14 -0
- package/watch/result/GetInventoryMetricsResult.js +48 -0
- package/watch/result/GetInventoryMetricsResult.js.map +1 -0
- package/watch/result/GetInventoryMetricsResult.ts +48 -0
- package/watch/result/GetLimitMetricsResult.d.ts +14 -0
- package/watch/result/GetLimitMetricsResult.js +48 -0
- package/watch/result/GetLimitMetricsResult.js.map +1 -0
- package/watch/result/GetLimitMetricsResult.ts +48 -0
- package/watch/result/GetMatchmakingMetricsResult.d.ts +14 -0
- package/watch/result/GetMatchmakingMetricsResult.js +48 -0
- package/watch/result/GetMatchmakingMetricsResult.js.map +1 -0
- package/watch/result/GetMatchmakingMetricsResult.ts +48 -0
- package/watch/result/GetMoneyMetricsResult.d.ts +14 -0
- package/watch/result/GetMoneyMetricsResult.js +48 -0
- package/watch/result/GetMoneyMetricsResult.js.map +1 -0
- package/watch/result/GetMoneyMetricsResult.ts +48 -0
- package/watch/result/GetQuestMetricsResult.d.ts +14 -0
- package/watch/result/GetQuestMetricsResult.js +48 -0
- package/watch/result/GetQuestMetricsResult.js.map +1 -0
- package/watch/result/GetQuestMetricsResult.ts +48 -0
- package/watch/result/GetRankingMetricsResult.d.ts +14 -0
- package/watch/result/GetRankingMetricsResult.js +48 -0
- package/watch/result/GetRankingMetricsResult.js.map +1 -0
- package/watch/result/GetRankingMetricsResult.ts +48 -0
- package/watch/result/GetShowcaseMetricsResult.d.ts +14 -0
- package/watch/result/GetShowcaseMetricsResult.js +48 -0
- package/watch/result/GetShowcaseMetricsResult.js.map +1 -0
- package/watch/result/GetShowcaseMetricsResult.ts +48 -0
- package/watch/result/index.d.ts +13 -1
- package/watch/result/index.js +25 -1
- package/watch/result/index.js.map +1 -1
- package/watch/result/index.ts +24 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import ExperienceRankDistribution from './ExperienceRankDistribution';
|
|
19
|
+
import ExperienceExperience from './ExperienceExperience';
|
|
20
|
+
|
|
21
|
+
export default class ExperienceNamespace implements IModel {
|
|
22
|
+
private namespaceName: string|null = null;
|
|
23
|
+
private experience: ExperienceExperience[]|null = null;
|
|
24
|
+
public getNamespaceName(): string|null {
|
|
25
|
+
return this.namespaceName;
|
|
26
|
+
}
|
|
27
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
32
|
+
this.namespaceName = namespaceName;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public getExperience(): ExperienceExperience[]|null {
|
|
36
|
+
return this.experience;
|
|
37
|
+
}
|
|
38
|
+
public setExperience(experience: ExperienceExperience[]|null) {
|
|
39
|
+
this.experience = experience;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withExperience(experience: ExperienceExperience[]|null): this {
|
|
43
|
+
this.experience = experience;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public static fromDict(data: {[key: string]: any}): ExperienceNamespace|null {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new ExperienceNamespace()
|
|
52
|
+
.withNamespaceName(data["namespaceName"])
|
|
53
|
+
.withExperience(data.experience ?
|
|
54
|
+
data.experience.map((item: {[key: string]: any}) => {
|
|
55
|
+
return ExperienceExperience.fromDict(item);
|
|
56
|
+
}
|
|
57
|
+
) : []);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public toDict(): {[key: string]: any} {
|
|
61
|
+
return {
|
|
62
|
+
"namespaceName": this.getNamespaceName(),
|
|
63
|
+
"experience": this.getExperience() ?
|
|
64
|
+
this.getExperience()!.map((item: ExperienceExperience) => {
|
|
65
|
+
return item.toDict();
|
|
66
|
+
}
|
|
67
|
+
) : [],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class ExperienceRankDistribution implements IModel {
|
|
3
|
+
private rankValue;
|
|
4
|
+
private count;
|
|
5
|
+
getRankValue(): number | null;
|
|
6
|
+
setRankValue(rankValue: number | null): this;
|
|
7
|
+
withRankValue(rankValue: number | null): this;
|
|
8
|
+
getCount(): number | null;
|
|
9
|
+
setCount(count: number | null): this;
|
|
10
|
+
withCount(count: number | null): this;
|
|
11
|
+
static fromDict(data: {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}): ExperienceRankDistribution | null;
|
|
14
|
+
toDict(): {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var ExperienceRankDistribution = /** @class */ (function () {
|
|
19
|
+
function ExperienceRankDistribution() {
|
|
20
|
+
this.rankValue = null;
|
|
21
|
+
this.count = null;
|
|
22
|
+
}
|
|
23
|
+
ExperienceRankDistribution.prototype.getRankValue = function () {
|
|
24
|
+
return this.rankValue;
|
|
25
|
+
};
|
|
26
|
+
ExperienceRankDistribution.prototype.setRankValue = function (rankValue) {
|
|
27
|
+
this.rankValue = rankValue;
|
|
28
|
+
return this;
|
|
29
|
+
};
|
|
30
|
+
ExperienceRankDistribution.prototype.withRankValue = function (rankValue) {
|
|
31
|
+
this.rankValue = rankValue;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
ExperienceRankDistribution.prototype.getCount = function () {
|
|
35
|
+
return this.count;
|
|
36
|
+
};
|
|
37
|
+
ExperienceRankDistribution.prototype.setCount = function (count) {
|
|
38
|
+
this.count = count;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
ExperienceRankDistribution.prototype.withCount = function (count) {
|
|
42
|
+
this.count = count;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
ExperienceRankDistribution.fromDict = function (data) {
|
|
46
|
+
if (data == undefined || data == null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return new ExperienceRankDistribution()
|
|
50
|
+
.withRankValue(data["rankValue"])
|
|
51
|
+
.withCount(data["count"]);
|
|
52
|
+
};
|
|
53
|
+
ExperienceRankDistribution.prototype.toDict = function () {
|
|
54
|
+
return {
|
|
55
|
+
"rankValue": this.getRankValue(),
|
|
56
|
+
"count": this.getCount(),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
return ExperienceRankDistribution;
|
|
60
|
+
}());
|
|
61
|
+
exports.default = ExperienceRankDistribution;
|
|
62
|
+
//# sourceMappingURL=ExperienceRankDistribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExperienceRankDistribution.js","sourceRoot":"","sources":["ExperienceRankDistribution.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,iDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,iDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,6CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,6CAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,0BAA0B,EAAE;aAClC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class ExperienceRankDistribution implements IModel {
|
|
20
|
+
private rankValue: number|null = null;
|
|
21
|
+
private count: number|null = null;
|
|
22
|
+
public getRankValue(): number|null {
|
|
23
|
+
return this.rankValue;
|
|
24
|
+
}
|
|
25
|
+
public setRankValue(rankValue: number|null) {
|
|
26
|
+
this.rankValue = rankValue;
|
|
27
|
+
return this;
|
|
28
|
+
}
|
|
29
|
+
public withRankValue(rankValue: number|null): this {
|
|
30
|
+
this.rankValue = rankValue;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
public getCount(): number|null {
|
|
34
|
+
return this.count;
|
|
35
|
+
}
|
|
36
|
+
public setCount(count: number|null) {
|
|
37
|
+
this.count = count;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
public withCount(count: number|null): this {
|
|
41
|
+
this.count = count;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public static fromDict(data: {[key: string]: any}): ExperienceRankDistribution|null {
|
|
46
|
+
if (data == undefined || data == null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return new ExperienceRankDistribution()
|
|
50
|
+
.withRankValue(data["rankValue"])
|
|
51
|
+
.withCount(data["count"]);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public toDict(): {[key: string]: any} {
|
|
55
|
+
return {
|
|
56
|
+
"rankValue": this.getRankValue(),
|
|
57
|
+
"count": this.getCount(),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class FirstWeekLoginDays implements IModel {
|
|
3
|
+
private min;
|
|
4
|
+
private max;
|
|
5
|
+
private avg;
|
|
6
|
+
private median;
|
|
7
|
+
private stddev;
|
|
8
|
+
getMin(): number | null;
|
|
9
|
+
setMin(min: number | null): this;
|
|
10
|
+
withMin(min: number | null): this;
|
|
11
|
+
getMax(): number | null;
|
|
12
|
+
setMax(max: number | null): this;
|
|
13
|
+
withMax(max: number | null): this;
|
|
14
|
+
getAvg(): number | null;
|
|
15
|
+
setAvg(avg: number | null): this;
|
|
16
|
+
withAvg(avg: number | null): this;
|
|
17
|
+
getMedian(): number | null;
|
|
18
|
+
setMedian(median: number | null): this;
|
|
19
|
+
withMedian(median: number | null): this;
|
|
20
|
+
getStddev(): number | null;
|
|
21
|
+
setStddev(stddev: number | null): this;
|
|
22
|
+
withStddev(stddev: number | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): FirstWeekLoginDays | null;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var FirstWeekLoginDays = /** @class */ (function () {
|
|
19
|
+
function FirstWeekLoginDays() {
|
|
20
|
+
this.min = null;
|
|
21
|
+
this.max = null;
|
|
22
|
+
this.avg = null;
|
|
23
|
+
this.median = null;
|
|
24
|
+
this.stddev = null;
|
|
25
|
+
}
|
|
26
|
+
FirstWeekLoginDays.prototype.getMin = function () {
|
|
27
|
+
return this.min;
|
|
28
|
+
};
|
|
29
|
+
FirstWeekLoginDays.prototype.setMin = function (min) {
|
|
30
|
+
this.min = min;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
FirstWeekLoginDays.prototype.withMin = function (min) {
|
|
34
|
+
this.min = min;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
FirstWeekLoginDays.prototype.getMax = function () {
|
|
38
|
+
return this.max;
|
|
39
|
+
};
|
|
40
|
+
FirstWeekLoginDays.prototype.setMax = function (max) {
|
|
41
|
+
this.max = max;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
FirstWeekLoginDays.prototype.withMax = function (max) {
|
|
45
|
+
this.max = max;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
FirstWeekLoginDays.prototype.getAvg = function () {
|
|
49
|
+
return this.avg;
|
|
50
|
+
};
|
|
51
|
+
FirstWeekLoginDays.prototype.setAvg = function (avg) {
|
|
52
|
+
this.avg = avg;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
FirstWeekLoginDays.prototype.withAvg = function (avg) {
|
|
56
|
+
this.avg = avg;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
FirstWeekLoginDays.prototype.getMedian = function () {
|
|
60
|
+
return this.median;
|
|
61
|
+
};
|
|
62
|
+
FirstWeekLoginDays.prototype.setMedian = function (median) {
|
|
63
|
+
this.median = median;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
FirstWeekLoginDays.prototype.withMedian = function (median) {
|
|
67
|
+
this.median = median;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
FirstWeekLoginDays.prototype.getStddev = function () {
|
|
71
|
+
return this.stddev;
|
|
72
|
+
};
|
|
73
|
+
FirstWeekLoginDays.prototype.setStddev = function (stddev) {
|
|
74
|
+
this.stddev = stddev;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
FirstWeekLoginDays.prototype.withStddev = function (stddev) {
|
|
78
|
+
this.stddev = stddev;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
FirstWeekLoginDays.fromDict = function (data) {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new FirstWeekLoginDays()
|
|
86
|
+
.withMin(data["min"])
|
|
87
|
+
.withMax(data["max"])
|
|
88
|
+
.withAvg(data["avg"])
|
|
89
|
+
.withMedian(data["median"])
|
|
90
|
+
.withStddev(data["stddev"]);
|
|
91
|
+
};
|
|
92
|
+
FirstWeekLoginDays.prototype.toDict = function () {
|
|
93
|
+
return {
|
|
94
|
+
"min": this.getMin(),
|
|
95
|
+
"max": this.getMax(),
|
|
96
|
+
"avg": this.getAvg(),
|
|
97
|
+
"median": this.getMedian(),
|
|
98
|
+
"stddev": this.getStddev(),
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
return FirstWeekLoginDays;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = FirstWeekLoginDays;
|
|
104
|
+
//# sourceMappingURL=FirstWeekLoginDays.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FirstWeekLoginDays.js","sourceRoot":"","sources":["FirstWeekLoginDays.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,WAAM,GAAgB,IAAI,CAAC;QAC3B,WAAM,GAAgB,IAAI,CAAC;IA8EvC,CAAC;IA7EU,mCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,mCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,mCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,mCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAO,GAAd,UAA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MAAM,EAAE;YACpB,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,yBAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class FirstWeekLoginDays implements IModel {
|
|
20
|
+
private min: number|null = null;
|
|
21
|
+
private max: number|null = null;
|
|
22
|
+
private avg: number|null = null;
|
|
23
|
+
private median: number|null = null;
|
|
24
|
+
private stddev: number|null = null;
|
|
25
|
+
public getMin(): number|null {
|
|
26
|
+
return this.min;
|
|
27
|
+
}
|
|
28
|
+
public setMin(min: number|null) {
|
|
29
|
+
this.min = min;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withMin(min: number|null): this {
|
|
33
|
+
this.min = min;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getMax(): number|null {
|
|
37
|
+
return this.max;
|
|
38
|
+
}
|
|
39
|
+
public setMax(max: number|null) {
|
|
40
|
+
this.max = max;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withMax(max: number|null): this {
|
|
44
|
+
this.max = max;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
public getAvg(): number|null {
|
|
48
|
+
return this.avg;
|
|
49
|
+
}
|
|
50
|
+
public setAvg(avg: number|null) {
|
|
51
|
+
this.avg = avg;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withAvg(avg: number|null): this {
|
|
55
|
+
this.avg = avg;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getMedian(): number|null {
|
|
59
|
+
return this.median;
|
|
60
|
+
}
|
|
61
|
+
public setMedian(median: number|null) {
|
|
62
|
+
this.median = median;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withMedian(median: number|null): this {
|
|
66
|
+
this.median = median;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getStddev(): number|null {
|
|
70
|
+
return this.stddev;
|
|
71
|
+
}
|
|
72
|
+
public setStddev(stddev: number|null) {
|
|
73
|
+
this.stddev = stddev;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withStddev(stddev: number|null): this {
|
|
77
|
+
this.stddev = stddev;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public static fromDict(data: {[key: string]: any}): FirstWeekLoginDays|null {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new FirstWeekLoginDays()
|
|
86
|
+
.withMin(data["min"])
|
|
87
|
+
.withMax(data["max"])
|
|
88
|
+
.withAvg(data["avg"])
|
|
89
|
+
.withMedian(data["median"])
|
|
90
|
+
.withStddev(data["stddev"]);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public toDict(): {[key: string]: any} {
|
|
94
|
+
return {
|
|
95
|
+
"min": this.getMin(),
|
|
96
|
+
"max": this.getMax(),
|
|
97
|
+
"avg": this.getAvg(),
|
|
98
|
+
"median": this.getMedian(),
|
|
99
|
+
"stddev": this.getStddev(),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import WeeklyActiveUsers from './WeeklyActiveUsers';
|
|
3
|
+
import MonthlyActiveUsers from './MonthlyActiveUsers';
|
|
4
|
+
import ReturningUserRatio from './ReturningUserRatio';
|
|
5
|
+
import FirstWeekLoginDays from './FirstWeekLoginDays';
|
|
6
|
+
import SessionDuration from './SessionDuration';
|
|
7
|
+
export default class GeneralMetrics implements IModel {
|
|
8
|
+
private dau;
|
|
9
|
+
private wau;
|
|
10
|
+
private mau;
|
|
11
|
+
private churnRate;
|
|
12
|
+
private returningUserRatio;
|
|
13
|
+
private firstWeekLoginDays;
|
|
14
|
+
private sessionDuration;
|
|
15
|
+
getDau(): number | null;
|
|
16
|
+
setDau(dau: number | null): this;
|
|
17
|
+
withDau(dau: number | null): this;
|
|
18
|
+
getWau(): WeeklyActiveUsers | null;
|
|
19
|
+
setWau(wau: WeeklyActiveUsers | null): this;
|
|
20
|
+
withWau(wau: WeeklyActiveUsers | null): this;
|
|
21
|
+
getMau(): MonthlyActiveUsers | null;
|
|
22
|
+
setMau(mau: MonthlyActiveUsers | null): this;
|
|
23
|
+
withMau(mau: MonthlyActiveUsers | null): this;
|
|
24
|
+
getChurnRate(): number | null;
|
|
25
|
+
setChurnRate(churnRate: number | null): this;
|
|
26
|
+
withChurnRate(churnRate: number | null): this;
|
|
27
|
+
getReturningUserRatio(): ReturningUserRatio | null;
|
|
28
|
+
setReturningUserRatio(returningUserRatio: ReturningUserRatio | null): this;
|
|
29
|
+
withReturningUserRatio(returningUserRatio: ReturningUserRatio | null): this;
|
|
30
|
+
getFirstWeekLoginDays(): FirstWeekLoginDays | null;
|
|
31
|
+
setFirstWeekLoginDays(firstWeekLoginDays: FirstWeekLoginDays | null): this;
|
|
32
|
+
withFirstWeekLoginDays(firstWeekLoginDays: FirstWeekLoginDays | null): this;
|
|
33
|
+
getSessionDuration(): SessionDuration | null;
|
|
34
|
+
setSessionDuration(sessionDuration: SessionDuration | null): this;
|
|
35
|
+
withSessionDuration(sessionDuration: SessionDuration | null): this;
|
|
36
|
+
static fromDict(data: {
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}): GeneralMetrics | null;
|
|
39
|
+
toDict(): {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var WeeklyActiveUsers_1 = tslib_1.__importDefault(require("./WeeklyActiveUsers"));
|
|
20
|
+
var MonthlyActiveUsers_1 = tslib_1.__importDefault(require("./MonthlyActiveUsers"));
|
|
21
|
+
var ReturningUserRatio_1 = tslib_1.__importDefault(require("./ReturningUserRatio"));
|
|
22
|
+
var FirstWeekLoginDays_1 = tslib_1.__importDefault(require("./FirstWeekLoginDays"));
|
|
23
|
+
var SessionDuration_1 = tslib_1.__importDefault(require("./SessionDuration"));
|
|
24
|
+
var GeneralMetrics = /** @class */ (function () {
|
|
25
|
+
function GeneralMetrics() {
|
|
26
|
+
this.dau = null;
|
|
27
|
+
this.wau = null;
|
|
28
|
+
this.mau = null;
|
|
29
|
+
this.churnRate = null;
|
|
30
|
+
this.returningUserRatio = null;
|
|
31
|
+
this.firstWeekLoginDays = null;
|
|
32
|
+
this.sessionDuration = null;
|
|
33
|
+
}
|
|
34
|
+
GeneralMetrics.prototype.getDau = function () {
|
|
35
|
+
return this.dau;
|
|
36
|
+
};
|
|
37
|
+
GeneralMetrics.prototype.setDau = function (dau) {
|
|
38
|
+
this.dau = dau;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
GeneralMetrics.prototype.withDau = function (dau) {
|
|
42
|
+
this.dau = dau;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GeneralMetrics.prototype.getWau = function () {
|
|
46
|
+
return this.wau;
|
|
47
|
+
};
|
|
48
|
+
GeneralMetrics.prototype.setWau = function (wau) {
|
|
49
|
+
this.wau = wau;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
GeneralMetrics.prototype.withWau = function (wau) {
|
|
53
|
+
this.wau = wau;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GeneralMetrics.prototype.getMau = function () {
|
|
57
|
+
return this.mau;
|
|
58
|
+
};
|
|
59
|
+
GeneralMetrics.prototype.setMau = function (mau) {
|
|
60
|
+
this.mau = mau;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
GeneralMetrics.prototype.withMau = function (mau) {
|
|
64
|
+
this.mau = mau;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GeneralMetrics.prototype.getChurnRate = function () {
|
|
68
|
+
return this.churnRate;
|
|
69
|
+
};
|
|
70
|
+
GeneralMetrics.prototype.setChurnRate = function (churnRate) {
|
|
71
|
+
this.churnRate = churnRate;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
GeneralMetrics.prototype.withChurnRate = function (churnRate) {
|
|
75
|
+
this.churnRate = churnRate;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GeneralMetrics.prototype.getReturningUserRatio = function () {
|
|
79
|
+
return this.returningUserRatio;
|
|
80
|
+
};
|
|
81
|
+
GeneralMetrics.prototype.setReturningUserRatio = function (returningUserRatio) {
|
|
82
|
+
this.returningUserRatio = returningUserRatio;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
GeneralMetrics.prototype.withReturningUserRatio = function (returningUserRatio) {
|
|
86
|
+
this.returningUserRatio = returningUserRatio;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GeneralMetrics.prototype.getFirstWeekLoginDays = function () {
|
|
90
|
+
return this.firstWeekLoginDays;
|
|
91
|
+
};
|
|
92
|
+
GeneralMetrics.prototype.setFirstWeekLoginDays = function (firstWeekLoginDays) {
|
|
93
|
+
this.firstWeekLoginDays = firstWeekLoginDays;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
GeneralMetrics.prototype.withFirstWeekLoginDays = function (firstWeekLoginDays) {
|
|
97
|
+
this.firstWeekLoginDays = firstWeekLoginDays;
|
|
98
|
+
return this;
|
|
99
|
+
};
|
|
100
|
+
GeneralMetrics.prototype.getSessionDuration = function () {
|
|
101
|
+
return this.sessionDuration;
|
|
102
|
+
};
|
|
103
|
+
GeneralMetrics.prototype.setSessionDuration = function (sessionDuration) {
|
|
104
|
+
this.sessionDuration = sessionDuration;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
GeneralMetrics.prototype.withSessionDuration = function (sessionDuration) {
|
|
108
|
+
this.sessionDuration = sessionDuration;
|
|
109
|
+
return this;
|
|
110
|
+
};
|
|
111
|
+
GeneralMetrics.fromDict = function (data) {
|
|
112
|
+
if (data == undefined || data == null) {
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
return new GeneralMetrics()
|
|
116
|
+
.withDau(data["dau"])
|
|
117
|
+
.withWau(WeeklyActiveUsers_1.default.fromDict(data["wau"]))
|
|
118
|
+
.withMau(MonthlyActiveUsers_1.default.fromDict(data["mau"]))
|
|
119
|
+
.withChurnRate(data["churnRate"])
|
|
120
|
+
.withReturningUserRatio(ReturningUserRatio_1.default.fromDict(data["returningUserRatio"]))
|
|
121
|
+
.withFirstWeekLoginDays(FirstWeekLoginDays_1.default.fromDict(data["firstWeekLoginDays"]))
|
|
122
|
+
.withSessionDuration(SessionDuration_1.default.fromDict(data["sessionDuration"]));
|
|
123
|
+
};
|
|
124
|
+
GeneralMetrics.prototype.toDict = function () {
|
|
125
|
+
var _a, _b, _c, _d, _e;
|
|
126
|
+
return {
|
|
127
|
+
"dau": this.getDau(),
|
|
128
|
+
"wau": (_a = this.getWau()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
129
|
+
"mau": (_b = this.getMau()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
130
|
+
"churnRate": this.getChurnRate(),
|
|
131
|
+
"returningUserRatio": (_c = this.getReturningUserRatio()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
132
|
+
"firstWeekLoginDays": (_d = this.getFirstWeekLoginDays()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
133
|
+
"sessionDuration": (_e = this.getSessionDuration()) === null || _e === void 0 ? void 0 : _e.toDict(),
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
return GeneralMetrics;
|
|
137
|
+
}());
|
|
138
|
+
exports.default = GeneralMetrics;
|
|
139
|
+
//# sourceMappingURL=GeneralMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GeneralMetrics.js","sourceRoot":"","sources":["GeneralMetrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,kFAAoD;AACpD,oFAAsD;AACtD,oFAAsD;AACtD,oFAAsD;AAGtD,8EAAgD;AAEhD;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAA2B,IAAI,CAAC;QACnC,QAAG,GAA4B,IAAI,CAAC;QACpC,cAAS,GAAgB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