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,137 @@
|
|
|
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 WeeklyActiveUsers from './WeeklyActiveUsers';
|
|
19
|
+
import MonthlyActiveUsers from './MonthlyActiveUsers';
|
|
20
|
+
import ReturningUserRatio from './ReturningUserRatio';
|
|
21
|
+
import FirstWeekLoginDays from './FirstWeekLoginDays';
|
|
22
|
+
import SessionDurationStatistics from './SessionDurationStatistics';
|
|
23
|
+
import SessionDurationDistribution from './SessionDurationDistribution';
|
|
24
|
+
import SessionDuration from './SessionDuration';
|
|
25
|
+
|
|
26
|
+
export default class GeneralMetrics implements IModel {
|
|
27
|
+
private dau: number|null = null;
|
|
28
|
+
private wau: WeeklyActiveUsers|null = null;
|
|
29
|
+
private mau: MonthlyActiveUsers|null = null;
|
|
30
|
+
private churnRate: number|null = null;
|
|
31
|
+
private returningUserRatio: ReturningUserRatio|null = null;
|
|
32
|
+
private firstWeekLoginDays: FirstWeekLoginDays|null = null;
|
|
33
|
+
private sessionDuration: SessionDuration|null = null;
|
|
34
|
+
public getDau(): number|null {
|
|
35
|
+
return this.dau;
|
|
36
|
+
}
|
|
37
|
+
public setDau(dau: number|null) {
|
|
38
|
+
this.dau = dau;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
public withDau(dau: number|null): this {
|
|
42
|
+
this.dau = dau;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public getWau(): WeeklyActiveUsers|null {
|
|
46
|
+
return this.wau;
|
|
47
|
+
}
|
|
48
|
+
public setWau(wau: WeeklyActiveUsers|null) {
|
|
49
|
+
this.wau = wau;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
public withWau(wau: WeeklyActiveUsers|null): this {
|
|
53
|
+
this.wau = wau;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public getMau(): MonthlyActiveUsers|null {
|
|
57
|
+
return this.mau;
|
|
58
|
+
}
|
|
59
|
+
public setMau(mau: MonthlyActiveUsers|null) {
|
|
60
|
+
this.mau = mau;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withMau(mau: MonthlyActiveUsers|null): this {
|
|
64
|
+
this.mau = mau;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public getChurnRate(): number|null {
|
|
68
|
+
return this.churnRate;
|
|
69
|
+
}
|
|
70
|
+
public setChurnRate(churnRate: number|null) {
|
|
71
|
+
this.churnRate = churnRate;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withChurnRate(churnRate: number|null): this {
|
|
75
|
+
this.churnRate = churnRate;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public getReturningUserRatio(): ReturningUserRatio|null {
|
|
79
|
+
return this.returningUserRatio;
|
|
80
|
+
}
|
|
81
|
+
public setReturningUserRatio(returningUserRatio: ReturningUserRatio|null) {
|
|
82
|
+
this.returningUserRatio = returningUserRatio;
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
public withReturningUserRatio(returningUserRatio: ReturningUserRatio|null): this {
|
|
86
|
+
this.returningUserRatio = returningUserRatio;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
public getFirstWeekLoginDays(): FirstWeekLoginDays|null {
|
|
90
|
+
return this.firstWeekLoginDays;
|
|
91
|
+
}
|
|
92
|
+
public setFirstWeekLoginDays(firstWeekLoginDays: FirstWeekLoginDays|null) {
|
|
93
|
+
this.firstWeekLoginDays = firstWeekLoginDays;
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
public withFirstWeekLoginDays(firstWeekLoginDays: FirstWeekLoginDays|null): this {
|
|
97
|
+
this.firstWeekLoginDays = firstWeekLoginDays;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public getSessionDuration(): SessionDuration|null {
|
|
101
|
+
return this.sessionDuration;
|
|
102
|
+
}
|
|
103
|
+
public setSessionDuration(sessionDuration: SessionDuration|null) {
|
|
104
|
+
this.sessionDuration = sessionDuration;
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
public withSessionDuration(sessionDuration: SessionDuration|null): this {
|
|
108
|
+
this.sessionDuration = sessionDuration;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public static fromDict(data: {[key: string]: any}): GeneralMetrics|null {
|
|
113
|
+
if (data == undefined || data == null) {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
return new GeneralMetrics()
|
|
117
|
+
.withDau(data["dau"])
|
|
118
|
+
.withWau(WeeklyActiveUsers.fromDict(data["wau"]))
|
|
119
|
+
.withMau(MonthlyActiveUsers.fromDict(data["mau"]))
|
|
120
|
+
.withChurnRate(data["churnRate"])
|
|
121
|
+
.withReturningUserRatio(ReturningUserRatio.fromDict(data["returningUserRatio"]))
|
|
122
|
+
.withFirstWeekLoginDays(FirstWeekLoginDays.fromDict(data["firstWeekLoginDays"]))
|
|
123
|
+
.withSessionDuration(SessionDuration.fromDict(data["sessionDuration"]));
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
public toDict(): {[key: string]: any} {
|
|
127
|
+
return {
|
|
128
|
+
"dau": this.getDau(),
|
|
129
|
+
"wau": this.getWau()?.toDict(),
|
|
130
|
+
"mau": this.getMau()?.toDict(),
|
|
131
|
+
"churnRate": this.getChurnRate(),
|
|
132
|
+
"returningUserRatio": this.getReturningUserRatio()?.toDict(),
|
|
133
|
+
"firstWeekLoginDays": this.getFirstWeekLoginDays()?.toDict(),
|
|
134
|
+
"sessionDuration": this.getSessionDuration()?.toDict(),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import InboxNamespace from './InboxNamespace';
|
|
3
|
+
export default class InboxMetrics implements IModel {
|
|
4
|
+
private namespaces;
|
|
5
|
+
getNamespaces(): InboxNamespace[] | null;
|
|
6
|
+
setNamespaces(namespaces: InboxNamespace[] | null): this;
|
|
7
|
+
withNamespaces(namespaces: InboxNamespace[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): InboxMetrics | null;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 InboxNamespace_1 = tslib_1.__importDefault(require("./InboxNamespace"));
|
|
20
|
+
var InboxMetrics = /** @class */ (function () {
|
|
21
|
+
function InboxMetrics() {
|
|
22
|
+
this.namespaces = null;
|
|
23
|
+
}
|
|
24
|
+
InboxMetrics.prototype.getNamespaces = function () {
|
|
25
|
+
return this.namespaces;
|
|
26
|
+
};
|
|
27
|
+
InboxMetrics.prototype.setNamespaces = function (namespaces) {
|
|
28
|
+
this.namespaces = namespaces;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
InboxMetrics.prototype.withNamespaces = function (namespaces) {
|
|
32
|
+
this.namespaces = namespaces;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
InboxMetrics.fromDict = function (data) {
|
|
36
|
+
if (data == undefined || data == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return new InboxMetrics()
|
|
40
|
+
.withNamespaces(data.namespaces ?
|
|
41
|
+
data.namespaces.map(function (item) {
|
|
42
|
+
return InboxNamespace_1.default.fromDict(item);
|
|
43
|
+
}) : []);
|
|
44
|
+
};
|
|
45
|
+
InboxMetrics.prototype.toDict = function () {
|
|
46
|
+
return {
|
|
47
|
+
"namespaces": this.getNamespaces() ?
|
|
48
|
+
this.getNamespaces().map(function (item) {
|
|
49
|
+
return item.toDict();
|
|
50
|
+
}) : [],
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
return InboxMetrics;
|
|
54
|
+
}());
|
|
55
|
+
exports.default = InboxMetrics;
|
|
56
|
+
//# sourceMappingURL=InboxMetrics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxMetrics.js","sourceRoot":"","sources":["InboxMetrics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAMH,4EAA8C;AAE9C;IAAA;QACY,eAAU,GAA0B,IAAI,CAAC;IAkCrD,CAAC;IAjCU,oCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,oCAAa,GAApB,UAAqB,UAAiC;QAClD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qCAAc,GAArB,UAAsB,UAAiC;QACnD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,YAAY,EAAE;aACpB,cAAc,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;YAC7B,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,UAAC,IAA0B;gBAC3C,OAAO,wBAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACzC,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,6BAAM,GAAb;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;gBAChC,IAAI,CAAC,aAAa,EAAG,CAAC,GAAG,CAAC,UAAC,IAAoB;oBAC3C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AAnCD,IAmCC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 InboxStatisticSummary from './InboxStatisticSummary';
|
|
19
|
+
import InboxStatisticOpenMinutes from './InboxStatisticOpenMinutes';
|
|
20
|
+
import InboxStatistics from './InboxStatistics';
|
|
21
|
+
import InboxNamespace from './InboxNamespace';
|
|
22
|
+
|
|
23
|
+
export default class InboxMetrics implements IModel {
|
|
24
|
+
private namespaces: InboxNamespace[]|null = null;
|
|
25
|
+
public getNamespaces(): InboxNamespace[]|null {
|
|
26
|
+
return this.namespaces;
|
|
27
|
+
}
|
|
28
|
+
public setNamespaces(namespaces: InboxNamespace[]|null) {
|
|
29
|
+
this.namespaces = namespaces;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withNamespaces(namespaces: InboxNamespace[]|null): this {
|
|
33
|
+
this.namespaces = namespaces;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): InboxMetrics|null {
|
|
38
|
+
if (data == undefined || data == null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return new InboxMetrics()
|
|
42
|
+
.withNamespaces(data.namespaces ?
|
|
43
|
+
data.namespaces.map((item: {[key: string]: any}) => {
|
|
44
|
+
return InboxNamespace.fromDict(item);
|
|
45
|
+
}
|
|
46
|
+
) : []);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public toDict(): {[key: string]: any} {
|
|
50
|
+
return {
|
|
51
|
+
"namespaces": this.getNamespaces() ?
|
|
52
|
+
this.getNamespaces()!.map((item: InboxNamespace) => {
|
|
53
|
+
return item.toDict();
|
|
54
|
+
}
|
|
55
|
+
) : [],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import InboxStatistics from './InboxStatistics';
|
|
3
|
+
export default class InboxNamespace implements IModel {
|
|
4
|
+
private namespaceName;
|
|
5
|
+
private statistics;
|
|
6
|
+
getNamespaceName(): string | null;
|
|
7
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
8
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
9
|
+
getStatistics(): InboxStatistics | null;
|
|
10
|
+
setStatistics(statistics: InboxStatistics | null): this;
|
|
11
|
+
withStatistics(statistics: InboxStatistics | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): InboxNamespace | null;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 InboxStatistics_1 = tslib_1.__importDefault(require("./InboxStatistics"));
|
|
20
|
+
var InboxNamespace = /** @class */ (function () {
|
|
21
|
+
function InboxNamespace() {
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.statistics = null;
|
|
24
|
+
}
|
|
25
|
+
InboxNamespace.prototype.getNamespaceName = function () {
|
|
26
|
+
return this.namespaceName;
|
|
27
|
+
};
|
|
28
|
+
InboxNamespace.prototype.setNamespaceName = function (namespaceName) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
InboxNamespace.prototype.withNamespaceName = function (namespaceName) {
|
|
33
|
+
this.namespaceName = namespaceName;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
InboxNamespace.prototype.getStatistics = function () {
|
|
37
|
+
return this.statistics;
|
|
38
|
+
};
|
|
39
|
+
InboxNamespace.prototype.setStatistics = function (statistics) {
|
|
40
|
+
this.statistics = statistics;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
InboxNamespace.prototype.withStatistics = function (statistics) {
|
|
44
|
+
this.statistics = statistics;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
InboxNamespace.fromDict = function (data) {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new InboxNamespace()
|
|
52
|
+
.withNamespaceName(data["namespaceName"])
|
|
53
|
+
.withStatistics(InboxStatistics_1.default.fromDict(data["statistics"]));
|
|
54
|
+
};
|
|
55
|
+
InboxNamespace.prototype.toDict = function () {
|
|
56
|
+
var _a;
|
|
57
|
+
return {
|
|
58
|
+
"namespaceName": this.getNamespaceName(),
|
|
59
|
+
"statistics": (_a = this.getStatistics()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
return InboxNamespace;
|
|
63
|
+
}());
|
|
64
|
+
exports.default = InboxNamespace;
|
|
65
|
+
//# sourceMappingURL=InboxNamespace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxNamespace.js","sourceRoot":"","sources":["InboxNamespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAKH,8EAAgD;AAEhD;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,eAAU,GAAyB,IAAI,CAAC;IAuCpD,CAAC;IAtCU,yCAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,yCAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,sCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,sCAAa,GAApB,UAAqB,UAAgC;QACjD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uCAAc,GAArB,UAAsB,UAAgC;QAClD,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,cAAc,EAAE;aACtB,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,cAAc,CAAC,yBAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC;IACtE,CAAC;IAEM,+BAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AAzCD,IAyCC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 InboxStatisticSummary from './InboxStatisticSummary';
|
|
19
|
+
import InboxStatisticOpenMinutes from './InboxStatisticOpenMinutes';
|
|
20
|
+
import InboxStatistics from './InboxStatistics';
|
|
21
|
+
|
|
22
|
+
export default class InboxNamespace implements IModel {
|
|
23
|
+
private namespaceName: string|null = null;
|
|
24
|
+
private statistics: InboxStatistics|null = null;
|
|
25
|
+
public getNamespaceName(): string|null {
|
|
26
|
+
return this.namespaceName;
|
|
27
|
+
}
|
|
28
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
33
|
+
this.namespaceName = namespaceName;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getStatistics(): InboxStatistics|null {
|
|
37
|
+
return this.statistics;
|
|
38
|
+
}
|
|
39
|
+
public setStatistics(statistics: InboxStatistics|null) {
|
|
40
|
+
this.statistics = statistics;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withStatistics(statistics: InboxStatistics|null): this {
|
|
44
|
+
this.statistics = statistics;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public static fromDict(data: {[key: string]: any}): InboxNamespace|null {
|
|
49
|
+
if (data == undefined || data == null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return new InboxNamespace()
|
|
53
|
+
.withNamespaceName(data["namespaceName"])
|
|
54
|
+
.withStatistics(InboxStatistics.fromDict(data["statistics"]));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public toDict(): {[key: string]: any} {
|
|
58
|
+
return {
|
|
59
|
+
"namespaceName": this.getNamespaceName(),
|
|
60
|
+
"statistics": this.getStatistics()?.toDict(),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class InboxStatisticOpenMinutes 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
|
+
}): InboxStatisticOpenMinutes | 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 InboxStatisticOpenMinutes = /** @class */ (function () {
|
|
19
|
+
function InboxStatisticOpenMinutes() {
|
|
20
|
+
this.min = null;
|
|
21
|
+
this.max = null;
|
|
22
|
+
this.avg = null;
|
|
23
|
+
this.median = null;
|
|
24
|
+
this.stddev = null;
|
|
25
|
+
}
|
|
26
|
+
InboxStatisticOpenMinutes.prototype.getMin = function () {
|
|
27
|
+
return this.min;
|
|
28
|
+
};
|
|
29
|
+
InboxStatisticOpenMinutes.prototype.setMin = function (min) {
|
|
30
|
+
this.min = min;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
InboxStatisticOpenMinutes.prototype.withMin = function (min) {
|
|
34
|
+
this.min = min;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
InboxStatisticOpenMinutes.prototype.getMax = function () {
|
|
38
|
+
return this.max;
|
|
39
|
+
};
|
|
40
|
+
InboxStatisticOpenMinutes.prototype.setMax = function (max) {
|
|
41
|
+
this.max = max;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
InboxStatisticOpenMinutes.prototype.withMax = function (max) {
|
|
45
|
+
this.max = max;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
InboxStatisticOpenMinutes.prototype.getAvg = function () {
|
|
49
|
+
return this.avg;
|
|
50
|
+
};
|
|
51
|
+
InboxStatisticOpenMinutes.prototype.setAvg = function (avg) {
|
|
52
|
+
this.avg = avg;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
InboxStatisticOpenMinutes.prototype.withAvg = function (avg) {
|
|
56
|
+
this.avg = avg;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
InboxStatisticOpenMinutes.prototype.getMedian = function () {
|
|
60
|
+
return this.median;
|
|
61
|
+
};
|
|
62
|
+
InboxStatisticOpenMinutes.prototype.setMedian = function (median) {
|
|
63
|
+
this.median = median;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
InboxStatisticOpenMinutes.prototype.withMedian = function (median) {
|
|
67
|
+
this.median = median;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
InboxStatisticOpenMinutes.prototype.getStddev = function () {
|
|
71
|
+
return this.stddev;
|
|
72
|
+
};
|
|
73
|
+
InboxStatisticOpenMinutes.prototype.setStddev = function (stddev) {
|
|
74
|
+
this.stddev = stddev;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
InboxStatisticOpenMinutes.prototype.withStddev = function (stddev) {
|
|
78
|
+
this.stddev = stddev;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
InboxStatisticOpenMinutes.fromDict = function (data) {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new InboxStatisticOpenMinutes()
|
|
86
|
+
.withMin(data["min"])
|
|
87
|
+
.withMax(data["max"])
|
|
88
|
+
.withAvg(data["avg"])
|
|
89
|
+
.withMedian(data["median"])
|
|
90
|
+
.withStddev(data["stddev"]);
|
|
91
|
+
};
|
|
92
|
+
InboxStatisticOpenMinutes.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 InboxStatisticOpenMinutes;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = InboxStatisticOpenMinutes;
|
|
104
|
+
//# sourceMappingURL=InboxStatisticOpenMinutes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxStatisticOpenMinutes.js","sourceRoot":"","sources":["InboxStatisticOpenMinutes.ts"],"names":[],"mappings":"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"}
|
|
@@ -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 InboxStatisticOpenMinutes 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}): InboxStatisticOpenMinutes|null {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new InboxStatisticOpenMinutes()
|
|
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
|
+
}
|