gs2 1.3.125 → 1.3.127

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.
Files changed (369) hide show
  1. package/package.json +1 -1
  2. package/watch/model/AccountMetrics.d.ts +14 -0
  3. package/watch/model/AccountMetrics.js +56 -0
  4. package/watch/model/AccountMetrics.js.map +1 -0
  5. package/watch/model/AccountMetrics.ts +56 -0
  6. package/watch/model/AccountNamespace.d.ts +18 -0
  7. package/watch/model/AccountNamespace.js +70 -0
  8. package/watch/model/AccountNamespace.js.map +1 -0
  9. package/watch/model/AccountNamespace.ts +69 -0
  10. package/watch/model/AccountTakeOver.d.ts +17 -0
  11. package/watch/model/AccountTakeOver.js +62 -0
  12. package/watch/model/AccountTakeOver.js.map +1 -0
  13. package/watch/model/AccountTakeOver.ts +60 -0
  14. package/watch/model/ExchangeMetrics.d.ts +14 -0
  15. package/watch/model/ExchangeMetrics.js +56 -0
  16. package/watch/model/ExchangeMetrics.js.map +1 -0
  17. package/watch/model/ExchangeMetrics.ts +56 -0
  18. package/watch/model/ExchangeNamespace.d.ts +18 -0
  19. package/watch/model/ExchangeNamespace.js +70 -0
  20. package/watch/model/ExchangeNamespace.js.map +1 -0
  21. package/watch/model/ExchangeNamespace.ts +69 -0
  22. package/watch/model/ExchangeRate.d.ts +17 -0
  23. package/watch/model/ExchangeRate.js +62 -0
  24. package/watch/model/ExchangeRate.js.map +1 -0
  25. package/watch/model/ExchangeRate.ts +60 -0
  26. package/watch/model/ExperienceExperience.d.ts +18 -0
  27. package/watch/model/ExperienceExperience.js +70 -0
  28. package/watch/model/ExperienceExperience.js.map +1 -0
  29. package/watch/model/ExperienceExperience.ts +69 -0
  30. package/watch/model/ExperienceMetrics.d.ts +14 -0
  31. package/watch/model/ExperienceMetrics.js +56 -0
  32. package/watch/model/ExperienceMetrics.js.map +1 -0
  33. package/watch/model/ExperienceMetrics.ts +57 -0
  34. package/watch/model/ExperienceNamespace.d.ts +18 -0
  35. package/watch/model/ExperienceNamespace.js +70 -0
  36. package/watch/model/ExperienceNamespace.js.map +1 -0
  37. package/watch/model/ExperienceNamespace.ts +70 -0
  38. package/watch/model/ExperienceRankDistribution.d.ts +17 -0
  39. package/watch/model/ExperienceRankDistribution.js +62 -0
  40. package/watch/model/ExperienceRankDistribution.js.map +1 -0
  41. package/watch/model/ExperienceRankDistribution.ts +60 -0
  42. package/watch/model/FirstWeekLoginDays.d.ts +29 -0
  43. package/watch/model/FirstWeekLoginDays.js +104 -0
  44. package/watch/model/FirstWeekLoginDays.js.map +1 -0
  45. package/watch/model/FirstWeekLoginDays.ts +102 -0
  46. package/watch/model/GeneralMetrics.d.ts +42 -0
  47. package/watch/model/GeneralMetrics.js +139 -0
  48. package/watch/model/GeneralMetrics.js.map +1 -0
  49. package/watch/model/GeneralMetrics.ts +137 -0
  50. package/watch/model/InboxMetrics.d.ts +14 -0
  51. package/watch/model/InboxMetrics.js +56 -0
  52. package/watch/model/InboxMetrics.js.map +1 -0
  53. package/watch/model/InboxMetrics.ts +58 -0
  54. package/watch/model/InboxNamespace.d.ts +18 -0
  55. package/watch/model/InboxNamespace.js +65 -0
  56. package/watch/model/InboxNamespace.js.map +1 -0
  57. package/watch/model/InboxNamespace.ts +63 -0
  58. package/watch/model/InboxStatisticOpenMinutes.d.ts +29 -0
  59. package/watch/model/InboxStatisticOpenMinutes.js +104 -0
  60. package/watch/model/InboxStatisticOpenMinutes.js.map +1 -0
  61. package/watch/model/InboxStatisticOpenMinutes.ts +102 -0
  62. package/watch/model/InboxStatisticSummary.d.ts +21 -0
  63. package/watch/model/InboxStatisticSummary.js +76 -0
  64. package/watch/model/InboxStatisticSummary.js.map +1 -0
  65. package/watch/model/InboxStatisticSummary.ts +74 -0
  66. package/watch/model/InboxStatistics.d.ts +19 -0
  67. package/watch/model/InboxStatistics.js +66 -0
  68. package/watch/model/InboxStatistics.js.map +1 -0
  69. package/watch/model/InboxStatistics.ts +62 -0
  70. package/watch/model/InventoryInventory.d.ts +23 -0
  71. package/watch/model/InventoryInventory.js +91 -0
  72. package/watch/model/InventoryInventory.js.map +1 -0
  73. package/watch/model/InventoryInventory.ts +94 -0
  74. package/watch/model/InventoryInventoryStatistics.d.ts +17 -0
  75. package/watch/model/InventoryInventoryStatistics.js +62 -0
  76. package/watch/model/InventoryInventoryStatistics.js.map +1 -0
  77. package/watch/model/InventoryInventoryStatistics.ts +60 -0
  78. package/watch/model/InventoryInventoryStatisticsDistribution.d.ts +21 -0
  79. package/watch/model/InventoryInventoryStatisticsDistribution.js +76 -0
  80. package/watch/model/InventoryInventoryStatisticsDistribution.js.map +1 -0
  81. package/watch/model/InventoryInventoryStatisticsDistribution.ts +74 -0
  82. package/watch/model/InventoryItem.d.ts +23 -0
  83. package/watch/model/InventoryItem.js +86 -0
  84. package/watch/model/InventoryItem.js.map +1 -0
  85. package/watch/model/InventoryItem.ts +84 -0
  86. package/watch/model/InventoryItemDistribution.d.ts +21 -0
  87. package/watch/model/InventoryItemDistribution.js +76 -0
  88. package/watch/model/InventoryItemDistribution.js.map +1 -0
  89. package/watch/model/InventoryItemDistribution.ts +74 -0
  90. package/watch/model/InventoryItemStatistics.d.ts +21 -0
  91. package/watch/model/InventoryItemStatistics.js +76 -0
  92. package/watch/model/InventoryItemStatistics.js.map +1 -0
  93. package/watch/model/InventoryItemStatistics.ts +74 -0
  94. package/watch/model/InventoryMetrics.d.ts +14 -0
  95. package/watch/model/InventoryMetrics.js +56 -0
  96. package/watch/model/InventoryMetrics.js.map +1 -0
  97. package/watch/model/InventoryMetrics.ts +60 -0
  98. package/watch/model/InventoryNamespace.d.ts +18 -0
  99. package/watch/model/InventoryNamespace.js +70 -0
  100. package/watch/model/InventoryNamespace.js.map +1 -0
  101. package/watch/model/InventoryNamespace.ts +73 -0
  102. package/watch/model/LimitCounter.d.ts +18 -0
  103. package/watch/model/LimitCounter.js +70 -0
  104. package/watch/model/LimitCounter.js.map +1 -0
  105. package/watch/model/LimitCounter.ts +70 -0
  106. package/watch/model/LimitCounterDistribution.d.ts +18 -0
  107. package/watch/model/LimitCounterDistribution.js +70 -0
  108. package/watch/model/LimitCounterDistribution.js.map +1 -0
  109. package/watch/model/LimitCounterDistribution.ts +69 -0
  110. package/watch/model/LimitCounterDistributionUsage.d.ts +21 -0
  111. package/watch/model/LimitCounterDistributionUsage.js +76 -0
  112. package/watch/model/LimitCounterDistributionUsage.js.map +1 -0
  113. package/watch/model/LimitCounterDistributionUsage.ts +74 -0
  114. package/watch/model/LimitLimit.d.ts +18 -0
  115. package/watch/model/LimitLimit.js +70 -0
  116. package/watch/model/LimitLimit.js.map +1 -0
  117. package/watch/model/LimitLimit.ts +71 -0
  118. package/watch/model/LimitMetrics.d.ts +14 -0
  119. package/watch/model/LimitMetrics.js +56 -0
  120. package/watch/model/LimitMetrics.js.map +1 -0
  121. package/watch/model/LimitMetrics.ts +59 -0
  122. package/watch/model/LimitNamespace.d.ts +18 -0
  123. package/watch/model/LimitNamespace.js +70 -0
  124. package/watch/model/LimitNamespace.js.map +1 -0
  125. package/watch/model/LimitNamespace.ts +72 -0
  126. package/watch/model/MatchmakingDurationSeconds.d.ts +29 -0
  127. package/watch/model/MatchmakingDurationSeconds.js +104 -0
  128. package/watch/model/MatchmakingDurationSeconds.js.map +1 -0
  129. package/watch/model/MatchmakingDurationSeconds.ts +102 -0
  130. package/watch/model/MatchmakingMetrics.d.ts +14 -0
  131. package/watch/model/MatchmakingMetrics.js +56 -0
  132. package/watch/model/MatchmakingMetrics.js.map +1 -0
  133. package/watch/model/MatchmakingMetrics.ts +58 -0
  134. package/watch/model/MatchmakingNamespace.d.ts +23 -0
  135. package/watch/model/MatchmakingNamespace.js +86 -0
  136. package/watch/model/MatchmakingNamespace.js.map +1 -0
  137. package/watch/model/MatchmakingNamespace.ts +85 -0
  138. package/watch/model/MatchmakingRole.d.ts +30 -0
  139. package/watch/model/MatchmakingRole.js +107 -0
  140. package/watch/model/MatchmakingRole.js.map +1 -0
  141. package/watch/model/MatchmakingRole.ts +103 -0
  142. package/watch/model/MatchmakingStatistics.d.ts +26 -0
  143. package/watch/model/MatchmakingStatistics.js +93 -0
  144. package/watch/model/MatchmakingStatistics.js.map +1 -0
  145. package/watch/model/MatchmakingStatistics.ts +89 -0
  146. package/watch/model/MoneyBalanceDistribution.d.ts +21 -0
  147. package/watch/model/MoneyBalanceDistribution.js +76 -0
  148. package/watch/model/MoneyBalanceDistribution.js.map +1 -0
  149. package/watch/model/MoneyBalanceDistribution.ts +74 -0
  150. package/watch/model/MoneyBillingDistribution.d.ts +21 -0
  151. package/watch/model/MoneyBillingDistribution.js +76 -0
  152. package/watch/model/MoneyBillingDistribution.js.map +1 -0
  153. package/watch/model/MoneyBillingDistribution.ts +74 -0
  154. package/watch/model/MoneyMetrics.d.ts +14 -0
  155. package/watch/model/MoneyMetrics.js +56 -0
  156. package/watch/model/MoneyMetrics.js.map +1 -0
  157. package/watch/model/MoneyMetrics.ts +58 -0
  158. package/watch/model/MoneyNamespace.d.ts +28 -0
  159. package/watch/model/MoneyNamespace.js +107 -0
  160. package/watch/model/MoneyNamespace.js.map +1 -0
  161. package/watch/model/MoneyNamespace.ts +107 -0
  162. package/watch/model/MoneyStatistics.d.ts +21 -0
  163. package/watch/model/MoneyStatistics.js +76 -0
  164. package/watch/model/MoneyStatistics.js.map +1 -0
  165. package/watch/model/MoneyStatistics.ts +74 -0
  166. package/watch/model/MonthlyActiveUsers.d.ts +17 -0
  167. package/watch/model/MonthlyActiveUsers.js +62 -0
  168. package/watch/model/MonthlyActiveUsers.js.map +1 -0
  169. package/watch/model/MonthlyActiveUsers.ts +60 -0
  170. package/watch/model/QuestMetrics.d.ts +14 -0
  171. package/watch/model/QuestMetrics.js +56 -0
  172. package/watch/model/QuestMetrics.js.map +1 -0
  173. package/watch/model/QuestMetrics.ts +59 -0
  174. package/watch/model/QuestNamespace.d.ts +18 -0
  175. package/watch/model/QuestNamespace.js +70 -0
  176. package/watch/model/QuestNamespace.js.map +1 -0
  177. package/watch/model/QuestNamespace.ts +72 -0
  178. package/watch/model/QuestQuest.d.ts +18 -0
  179. package/watch/model/QuestQuest.js +65 -0
  180. package/watch/model/QuestQuest.js.map +1 -0
  181. package/watch/model/QuestQuest.ts +62 -0
  182. package/watch/model/QuestQuestDurationSeconds.d.ts +29 -0
  183. package/watch/model/QuestQuestDurationSeconds.js +104 -0
  184. package/watch/model/QuestQuestDurationSeconds.js.map +1 -0
  185. package/watch/model/QuestQuestDurationSeconds.ts +102 -0
  186. package/watch/model/QuestQuestGroup.d.ts +18 -0
  187. package/watch/model/QuestQuestGroup.js +70 -0
  188. package/watch/model/QuestQuestGroup.js.map +1 -0
  189. package/watch/model/QuestQuestGroup.ts +71 -0
  190. package/watch/model/QuestQuestReward.d.ts +26 -0
  191. package/watch/model/QuestQuestReward.js +93 -0
  192. package/watch/model/QuestQuestReward.js.map +1 -0
  193. package/watch/model/QuestQuestReward.ts +89 -0
  194. package/watch/model/QuestQuestRewardStatistics.d.ts +29 -0
  195. package/watch/model/QuestQuestRewardStatistics.js +104 -0
  196. package/watch/model/QuestQuestRewardStatistics.js.map +1 -0
  197. package/watch/model/QuestQuestRewardStatistics.ts +102 -0
  198. package/watch/model/QuestQuestStatistics.d.ts +22 -0
  199. package/watch/model/QuestQuestStatistics.js +79 -0
  200. package/watch/model/QuestQuestStatistics.js.map +1 -0
  201. package/watch/model/QuestQuestStatistics.ts +75 -0
  202. package/watch/model/RankingCategory.d.ts +18 -0
  203. package/watch/model/RankingCategory.js +70 -0
  204. package/watch/model/RankingCategory.js.map +1 -0
  205. package/watch/model/RankingCategory.ts +69 -0
  206. package/watch/model/RankingCategoryScoreDistribution.d.ts +21 -0
  207. package/watch/model/RankingCategoryScoreDistribution.js +76 -0
  208. package/watch/model/RankingCategoryScoreDistribution.js.map +1 -0
  209. package/watch/model/RankingCategoryScoreDistribution.ts +74 -0
  210. package/watch/model/RankingMetrics.d.ts +14 -0
  211. package/watch/model/RankingMetrics.js +56 -0
  212. package/watch/model/RankingMetrics.js.map +1 -0
  213. package/watch/model/RankingMetrics.ts +57 -0
  214. package/watch/model/RankingNamespace.d.ts +18 -0
  215. package/watch/model/RankingNamespace.js +70 -0
  216. package/watch/model/RankingNamespace.js.map +1 -0
  217. package/watch/model/RankingNamespace.ts +70 -0
  218. package/watch/model/ReturningUserRatio.d.ts +21 -0
  219. package/watch/model/ReturningUserRatio.js +76 -0
  220. package/watch/model/ReturningUserRatio.js.map +1 -0
  221. package/watch/model/ReturningUserRatio.ts +74 -0
  222. package/watch/model/SessionDuration.d.ts +19 -0
  223. package/watch/model/SessionDuration.js +72 -0
  224. package/watch/model/SessionDuration.js.map +1 -0
  225. package/watch/model/SessionDuration.ts +70 -0
  226. package/watch/model/SessionDurationDistribution.d.ts +21 -0
  227. package/watch/model/SessionDurationDistribution.js +76 -0
  228. package/watch/model/SessionDurationDistribution.js.map +1 -0
  229. package/watch/model/SessionDurationDistribution.ts +74 -0
  230. package/watch/model/SessionDurationStatistics.d.ts +29 -0
  231. package/watch/model/SessionDurationStatistics.js +104 -0
  232. package/watch/model/SessionDurationStatistics.js.map +1 -0
  233. package/watch/model/SessionDurationStatistics.ts +102 -0
  234. package/watch/model/ShowcaseBuyQuantityDistribution.d.ts +21 -0
  235. package/watch/model/ShowcaseBuyQuantityDistribution.js +76 -0
  236. package/watch/model/ShowcaseBuyQuantityDistribution.js.map +1 -0
  237. package/watch/model/ShowcaseBuyQuantityDistribution.ts +74 -0
  238. package/watch/model/ShowcaseDisplayItem.d.ts +18 -0
  239. package/watch/model/ShowcaseDisplayItem.js +70 -0
  240. package/watch/model/ShowcaseDisplayItem.js.map +1 -0
  241. package/watch/model/ShowcaseDisplayItem.ts +69 -0
  242. package/watch/model/ShowcaseMetrics.d.ts +14 -0
  243. package/watch/model/ShowcaseMetrics.js +56 -0
  244. package/watch/model/ShowcaseMetrics.js.map +1 -0
  245. package/watch/model/ShowcaseMetrics.ts +58 -0
  246. package/watch/model/ShowcaseNamespace.d.ts +18 -0
  247. package/watch/model/ShowcaseNamespace.js +70 -0
  248. package/watch/model/ShowcaseNamespace.js.map +1 -0
  249. package/watch/model/ShowcaseNamespace.ts +71 -0
  250. package/watch/model/ShowcaseShowcase.d.ts +18 -0
  251. package/watch/model/ShowcaseShowcase.js +70 -0
  252. package/watch/model/ShowcaseShowcase.js.map +1 -0
  253. package/watch/model/ShowcaseShowcase.ts +70 -0
  254. package/watch/model/WeeklyActiveUsers.d.ts +21 -0
  255. package/watch/model/WeeklyActiveUsers.js +76 -0
  256. package/watch/model/WeeklyActiveUsers.js.map +1 -0
  257. package/watch/model/WeeklyActiveUsers.ts +74 -0
  258. package/watch/model/index.d.ts +65 -1
  259. package/watch/model/index.js +130 -1
  260. package/watch/model/index.js.map +1 -1
  261. package/watch/model/index.ts +128 -0
  262. package/watch/request/GetAccountMetricsRequest.d.ts +17 -0
  263. package/watch/request/GetAccountMetricsRequest.js +54 -0
  264. package/watch/request/GetAccountMetricsRequest.js.map +1 -0
  265. package/watch/request/GetAccountMetricsRequest.ts +62 -0
  266. package/watch/request/GetExchangeMetricsRequest.d.ts +17 -0
  267. package/watch/request/GetExchangeMetricsRequest.js +54 -0
  268. package/watch/request/GetExchangeMetricsRequest.js.map +1 -0
  269. package/watch/request/GetExchangeMetricsRequest.ts +62 -0
  270. package/watch/request/GetExperienceMetricsRequest.d.ts +17 -0
  271. package/watch/request/GetExperienceMetricsRequest.js +54 -0
  272. package/watch/request/GetExperienceMetricsRequest.js.map +1 -0
  273. package/watch/request/GetExperienceMetricsRequest.ts +62 -0
  274. package/watch/request/GetGeneralMetricsRequest.d.ts +17 -0
  275. package/watch/request/GetGeneralMetricsRequest.js +54 -0
  276. package/watch/request/GetGeneralMetricsRequest.js.map +1 -0
  277. package/watch/request/GetGeneralMetricsRequest.ts +62 -0
  278. package/watch/request/GetInboxMetricsRequest.d.ts +17 -0
  279. package/watch/request/GetInboxMetricsRequest.js +54 -0
  280. package/watch/request/GetInboxMetricsRequest.js.map +1 -0
  281. package/watch/request/GetInboxMetricsRequest.ts +62 -0
  282. package/watch/request/GetInventoryMetricsRequest.d.ts +17 -0
  283. package/watch/request/GetInventoryMetricsRequest.js +54 -0
  284. package/watch/request/GetInventoryMetricsRequest.js.map +1 -0
  285. package/watch/request/GetInventoryMetricsRequest.ts +62 -0
  286. package/watch/request/GetLimitMetricsRequest.d.ts +17 -0
  287. package/watch/request/GetLimitMetricsRequest.js +54 -0
  288. package/watch/request/GetLimitMetricsRequest.js.map +1 -0
  289. package/watch/request/GetLimitMetricsRequest.ts +62 -0
  290. package/watch/request/GetMatchmakingMetricsRequest.d.ts +17 -0
  291. package/watch/request/GetMatchmakingMetricsRequest.js +54 -0
  292. package/watch/request/GetMatchmakingMetricsRequest.js.map +1 -0
  293. package/watch/request/GetMatchmakingMetricsRequest.ts +62 -0
  294. package/watch/request/GetMoneyMetricsRequest.d.ts +17 -0
  295. package/watch/request/GetMoneyMetricsRequest.js +54 -0
  296. package/watch/request/GetMoneyMetricsRequest.js.map +1 -0
  297. package/watch/request/GetMoneyMetricsRequest.ts +62 -0
  298. package/watch/request/GetQuestMetricsRequest.d.ts +17 -0
  299. package/watch/request/GetQuestMetricsRequest.js +54 -0
  300. package/watch/request/GetQuestMetricsRequest.js.map +1 -0
  301. package/watch/request/GetQuestMetricsRequest.ts +62 -0
  302. package/watch/request/GetRankingMetricsRequest.d.ts +17 -0
  303. package/watch/request/GetRankingMetricsRequest.js +54 -0
  304. package/watch/request/GetRankingMetricsRequest.js.map +1 -0
  305. package/watch/request/GetRankingMetricsRequest.ts +62 -0
  306. package/watch/request/GetShowcaseMetricsRequest.d.ts +17 -0
  307. package/watch/request/GetShowcaseMetricsRequest.js +54 -0
  308. package/watch/request/GetShowcaseMetricsRequest.js.map +1 -0
  309. package/watch/request/GetShowcaseMetricsRequest.ts +62 -0
  310. package/watch/request/index.d.ts +13 -1
  311. package/watch/request/index.js +25 -1
  312. package/watch/request/index.js.map +1 -1
  313. package/watch/request/index.ts +24 -0
  314. package/watch/rest.d.ts +12 -0
  315. package/watch/rest.js +252 -0
  316. package/watch/rest.js.map +1 -1
  317. package/watch/rest.ts +300 -0
  318. package/watch/result/GetAccountMetricsResult.d.ts +14 -0
  319. package/watch/result/GetAccountMetricsResult.js +48 -0
  320. package/watch/result/GetAccountMetricsResult.js.map +1 -0
  321. package/watch/result/GetAccountMetricsResult.ts +48 -0
  322. package/watch/result/GetExchangeMetricsResult.d.ts +14 -0
  323. package/watch/result/GetExchangeMetricsResult.js +48 -0
  324. package/watch/result/GetExchangeMetricsResult.js.map +1 -0
  325. package/watch/result/GetExchangeMetricsResult.ts +48 -0
  326. package/watch/result/GetExperienceMetricsResult.d.ts +14 -0
  327. package/watch/result/GetExperienceMetricsResult.js +48 -0
  328. package/watch/result/GetExperienceMetricsResult.js.map +1 -0
  329. package/watch/result/GetExperienceMetricsResult.ts +48 -0
  330. package/watch/result/GetGeneralMetricsResult.d.ts +14 -0
  331. package/watch/result/GetGeneralMetricsResult.js +48 -0
  332. package/watch/result/GetGeneralMetricsResult.js.map +1 -0
  333. package/watch/result/GetGeneralMetricsResult.ts +48 -0
  334. package/watch/result/GetInboxMetricsResult.d.ts +14 -0
  335. package/watch/result/GetInboxMetricsResult.js +48 -0
  336. package/watch/result/GetInboxMetricsResult.js.map +1 -0
  337. package/watch/result/GetInboxMetricsResult.ts +48 -0
  338. package/watch/result/GetInventoryMetricsResult.d.ts +14 -0
  339. package/watch/result/GetInventoryMetricsResult.js +48 -0
  340. package/watch/result/GetInventoryMetricsResult.js.map +1 -0
  341. package/watch/result/GetInventoryMetricsResult.ts +48 -0
  342. package/watch/result/GetLimitMetricsResult.d.ts +14 -0
  343. package/watch/result/GetLimitMetricsResult.js +48 -0
  344. package/watch/result/GetLimitMetricsResult.js.map +1 -0
  345. package/watch/result/GetLimitMetricsResult.ts +48 -0
  346. package/watch/result/GetMatchmakingMetricsResult.d.ts +14 -0
  347. package/watch/result/GetMatchmakingMetricsResult.js +48 -0
  348. package/watch/result/GetMatchmakingMetricsResult.js.map +1 -0
  349. package/watch/result/GetMatchmakingMetricsResult.ts +48 -0
  350. package/watch/result/GetMoneyMetricsResult.d.ts +14 -0
  351. package/watch/result/GetMoneyMetricsResult.js +48 -0
  352. package/watch/result/GetMoneyMetricsResult.js.map +1 -0
  353. package/watch/result/GetMoneyMetricsResult.ts +48 -0
  354. package/watch/result/GetQuestMetricsResult.d.ts +14 -0
  355. package/watch/result/GetQuestMetricsResult.js +48 -0
  356. package/watch/result/GetQuestMetricsResult.js.map +1 -0
  357. package/watch/result/GetQuestMetricsResult.ts +48 -0
  358. package/watch/result/GetRankingMetricsResult.d.ts +14 -0
  359. package/watch/result/GetRankingMetricsResult.js +48 -0
  360. package/watch/result/GetRankingMetricsResult.js.map +1 -0
  361. package/watch/result/GetRankingMetricsResult.ts +48 -0
  362. package/watch/result/GetShowcaseMetricsResult.d.ts +14 -0
  363. package/watch/result/GetShowcaseMetricsResult.js +48 -0
  364. package/watch/result/GetShowcaseMetricsResult.js.map +1 -0
  365. package/watch/result/GetShowcaseMetricsResult.ts +48 -0
  366. package/watch/result/index.d.ts +13 -1
  367. package/watch/result/index.js +25 -1
  368. package/watch/result/index.js.map +1 -1
  369. package/watch/result/index.ts +24 -0
@@ -0,0 +1,85 @@
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 MatchmakingDurationSeconds from './MatchmakingDurationSeconds';
19
+ import MatchmakingStatistics from './MatchmakingStatistics';
20
+ import MatchmakingRole from './MatchmakingRole';
21
+
22
+ export default class MatchmakingNamespace implements IModel {
23
+ private namespaceName: string|null = null;
24
+ private statistics: MatchmakingStatistics|null = null;
25
+ private role: MatchmakingRole[]|null = null;
26
+ public getNamespaceName(): string|null {
27
+ return this.namespaceName;
28
+ }
29
+ public setNamespaceName(namespaceName: string|null) {
30
+ this.namespaceName = namespaceName;
31
+ return this;
32
+ }
33
+ public withNamespaceName(namespaceName: string|null): this {
34
+ this.namespaceName = namespaceName;
35
+ return this;
36
+ }
37
+ public getStatistics(): MatchmakingStatistics|null {
38
+ return this.statistics;
39
+ }
40
+ public setStatistics(statistics: MatchmakingStatistics|null) {
41
+ this.statistics = statistics;
42
+ return this;
43
+ }
44
+ public withStatistics(statistics: MatchmakingStatistics|null): this {
45
+ this.statistics = statistics;
46
+ return this;
47
+ }
48
+ public getRole(): MatchmakingRole[]|null {
49
+ return this.role;
50
+ }
51
+ public setRole(role: MatchmakingRole[]|null) {
52
+ this.role = role;
53
+ return this;
54
+ }
55
+ public withRole(role: MatchmakingRole[]|null): this {
56
+ this.role = role;
57
+ return this;
58
+ }
59
+
60
+ public static fromDict(data: {[key: string]: any}): MatchmakingNamespace|null {
61
+ if (data == undefined || data == null) {
62
+ return null;
63
+ }
64
+ return new MatchmakingNamespace()
65
+ .withNamespaceName(data["namespaceName"])
66
+ .withStatistics(MatchmakingStatistics.fromDict(data["statistics"]))
67
+ .withRole(data.role ?
68
+ data.role.map((item: {[key: string]: any}) => {
69
+ return MatchmakingRole.fromDict(item);
70
+ }
71
+ ) : []);
72
+ }
73
+
74
+ public toDict(): {[key: string]: any} {
75
+ return {
76
+ "namespaceName": this.getNamespaceName(),
77
+ "statistics": this.getStatistics()?.toDict(),
78
+ "role": this.getRole() ?
79
+ this.getRole()!.map((item: MatchmakingRole) => {
80
+ return item.toDict();
81
+ }
82
+ ) : [],
83
+ };
84
+ }
85
+ }
@@ -0,0 +1,30 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import MatchmakingDurationSeconds from './MatchmakingDurationSeconds';
3
+ export default class MatchmakingRole implements IModel {
4
+ private roleName;
5
+ private successful;
6
+ private unsuccessful;
7
+ private successfulRate;
8
+ private durationSeconds;
9
+ getRoleName(): string | null;
10
+ setRoleName(roleName: string | null): this;
11
+ withRoleName(roleName: string | null): this;
12
+ getSuccessful(): number | null;
13
+ setSuccessful(successful: number | null): this;
14
+ withSuccessful(successful: number | null): this;
15
+ getUnsuccessful(): number | null;
16
+ setUnsuccessful(unsuccessful: number | null): this;
17
+ withUnsuccessful(unsuccessful: number | null): this;
18
+ getSuccessfulRate(): number | null;
19
+ setSuccessfulRate(successfulRate: number | null): this;
20
+ withSuccessfulRate(successfulRate: number | null): this;
21
+ getDurationSeconds(): MatchmakingDurationSeconds | null;
22
+ setDurationSeconds(durationSeconds: MatchmakingDurationSeconds | null): this;
23
+ withDurationSeconds(durationSeconds: MatchmakingDurationSeconds | null): this;
24
+ static fromDict(data: {
25
+ [key: string]: any;
26
+ }): MatchmakingRole | null;
27
+ toDict(): {
28
+ [key: string]: any;
29
+ };
30
+ }
@@ -0,0 +1,107 @@
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 MatchmakingDurationSeconds_1 = tslib_1.__importDefault(require("./MatchmakingDurationSeconds"));
20
+ var MatchmakingRole = /** @class */ (function () {
21
+ function MatchmakingRole() {
22
+ this.roleName = null;
23
+ this.successful = null;
24
+ this.unsuccessful = null;
25
+ this.successfulRate = null;
26
+ this.durationSeconds = null;
27
+ }
28
+ MatchmakingRole.prototype.getRoleName = function () {
29
+ return this.roleName;
30
+ };
31
+ MatchmakingRole.prototype.setRoleName = function (roleName) {
32
+ this.roleName = roleName;
33
+ return this;
34
+ };
35
+ MatchmakingRole.prototype.withRoleName = function (roleName) {
36
+ this.roleName = roleName;
37
+ return this;
38
+ };
39
+ MatchmakingRole.prototype.getSuccessful = function () {
40
+ return this.successful;
41
+ };
42
+ MatchmakingRole.prototype.setSuccessful = function (successful) {
43
+ this.successful = successful;
44
+ return this;
45
+ };
46
+ MatchmakingRole.prototype.withSuccessful = function (successful) {
47
+ this.successful = successful;
48
+ return this;
49
+ };
50
+ MatchmakingRole.prototype.getUnsuccessful = function () {
51
+ return this.unsuccessful;
52
+ };
53
+ MatchmakingRole.prototype.setUnsuccessful = function (unsuccessful) {
54
+ this.unsuccessful = unsuccessful;
55
+ return this;
56
+ };
57
+ MatchmakingRole.prototype.withUnsuccessful = function (unsuccessful) {
58
+ this.unsuccessful = unsuccessful;
59
+ return this;
60
+ };
61
+ MatchmakingRole.prototype.getSuccessfulRate = function () {
62
+ return this.successfulRate;
63
+ };
64
+ MatchmakingRole.prototype.setSuccessfulRate = function (successfulRate) {
65
+ this.successfulRate = successfulRate;
66
+ return this;
67
+ };
68
+ MatchmakingRole.prototype.withSuccessfulRate = function (successfulRate) {
69
+ this.successfulRate = successfulRate;
70
+ return this;
71
+ };
72
+ MatchmakingRole.prototype.getDurationSeconds = function () {
73
+ return this.durationSeconds;
74
+ };
75
+ MatchmakingRole.prototype.setDurationSeconds = function (durationSeconds) {
76
+ this.durationSeconds = durationSeconds;
77
+ return this;
78
+ };
79
+ MatchmakingRole.prototype.withDurationSeconds = function (durationSeconds) {
80
+ this.durationSeconds = durationSeconds;
81
+ return this;
82
+ };
83
+ MatchmakingRole.fromDict = function (data) {
84
+ if (data == undefined || data == null) {
85
+ return null;
86
+ }
87
+ return new MatchmakingRole()
88
+ .withRoleName(data["roleName"])
89
+ .withSuccessful(data["successful"])
90
+ .withUnsuccessful(data["unsuccessful"])
91
+ .withSuccessfulRate(data["successfulRate"])
92
+ .withDurationSeconds(MatchmakingDurationSeconds_1.default.fromDict(data["durationSeconds"]));
93
+ };
94
+ MatchmakingRole.prototype.toDict = function () {
95
+ var _a;
96
+ return {
97
+ "roleName": this.getRoleName(),
98
+ "successful": this.getSuccessful(),
99
+ "unsuccessful": this.getUnsuccessful(),
100
+ "successfulRate": this.getSuccessfulRate(),
101
+ "durationSeconds": (_a = this.getDurationSeconds()) === null || _a === void 0 ? void 0 : _a.toDict(),
102
+ };
103
+ };
104
+ return MatchmakingRole;
105
+ }());
106
+ exports.default = MatchmakingRole;
107
+ //# sourceMappingURL=MatchmakingRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatchmakingRole.js","sourceRoot":"","sources":["MatchmakingRole.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,103 @@
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 MatchmakingDurationSeconds from './MatchmakingDurationSeconds';
19
+
20
+ export default class MatchmakingRole implements IModel {
21
+ private roleName: string|null = null;
22
+ private successful: number|null = null;
23
+ private unsuccessful: number|null = null;
24
+ private successfulRate: number|null = null;
25
+ private durationSeconds: MatchmakingDurationSeconds|null = null;
26
+ public getRoleName(): string|null {
27
+ return this.roleName;
28
+ }
29
+ public setRoleName(roleName: string|null) {
30
+ this.roleName = roleName;
31
+ return this;
32
+ }
33
+ public withRoleName(roleName: string|null): this {
34
+ this.roleName = roleName;
35
+ return this;
36
+ }
37
+ public getSuccessful(): number|null {
38
+ return this.successful;
39
+ }
40
+ public setSuccessful(successful: number|null) {
41
+ this.successful = successful;
42
+ return this;
43
+ }
44
+ public withSuccessful(successful: number|null): this {
45
+ this.successful = successful;
46
+ return this;
47
+ }
48
+ public getUnsuccessful(): number|null {
49
+ return this.unsuccessful;
50
+ }
51
+ public setUnsuccessful(unsuccessful: number|null) {
52
+ this.unsuccessful = unsuccessful;
53
+ return this;
54
+ }
55
+ public withUnsuccessful(unsuccessful: number|null): this {
56
+ this.unsuccessful = unsuccessful;
57
+ return this;
58
+ }
59
+ public getSuccessfulRate(): number|null {
60
+ return this.successfulRate;
61
+ }
62
+ public setSuccessfulRate(successfulRate: number|null) {
63
+ this.successfulRate = successfulRate;
64
+ return this;
65
+ }
66
+ public withSuccessfulRate(successfulRate: number|null): this {
67
+ this.successfulRate = successfulRate;
68
+ return this;
69
+ }
70
+ public getDurationSeconds(): MatchmakingDurationSeconds|null {
71
+ return this.durationSeconds;
72
+ }
73
+ public setDurationSeconds(durationSeconds: MatchmakingDurationSeconds|null) {
74
+ this.durationSeconds = durationSeconds;
75
+ return this;
76
+ }
77
+ public withDurationSeconds(durationSeconds: MatchmakingDurationSeconds|null): this {
78
+ this.durationSeconds = durationSeconds;
79
+ return this;
80
+ }
81
+
82
+ public static fromDict(data: {[key: string]: any}): MatchmakingRole|null {
83
+ if (data == undefined || data == null) {
84
+ return null;
85
+ }
86
+ return new MatchmakingRole()
87
+ .withRoleName(data["roleName"])
88
+ .withSuccessful(data["successful"])
89
+ .withUnsuccessful(data["unsuccessful"])
90
+ .withSuccessfulRate(data["successfulRate"])
91
+ .withDurationSeconds(MatchmakingDurationSeconds.fromDict(data["durationSeconds"]));
92
+ }
93
+
94
+ public toDict(): {[key: string]: any} {
95
+ return {
96
+ "roleName": this.getRoleName(),
97
+ "successful": this.getSuccessful(),
98
+ "unsuccessful": this.getUnsuccessful(),
99
+ "successfulRate": this.getSuccessfulRate(),
100
+ "durationSeconds": this.getDurationSeconds()?.toDict(),
101
+ };
102
+ }
103
+ }
@@ -0,0 +1,26 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import MatchmakingDurationSeconds from './MatchmakingDurationSeconds';
3
+ export default class MatchmakingStatistics implements IModel {
4
+ private successful;
5
+ private unsuccessful;
6
+ private successfulRate;
7
+ private durationSeconds;
8
+ getSuccessful(): number | null;
9
+ setSuccessful(successful: number | null): this;
10
+ withSuccessful(successful: number | null): this;
11
+ getUnsuccessful(): number | null;
12
+ setUnsuccessful(unsuccessful: number | null): this;
13
+ withUnsuccessful(unsuccessful: number | null): this;
14
+ getSuccessfulRate(): number | null;
15
+ setSuccessfulRate(successfulRate: number | null): this;
16
+ withSuccessfulRate(successfulRate: number | null): this;
17
+ getDurationSeconds(): MatchmakingDurationSeconds | null;
18
+ setDurationSeconds(durationSeconds: MatchmakingDurationSeconds | null): this;
19
+ withDurationSeconds(durationSeconds: MatchmakingDurationSeconds | null): this;
20
+ static fromDict(data: {
21
+ [key: string]: any;
22
+ }): MatchmakingStatistics | null;
23
+ toDict(): {
24
+ [key: string]: any;
25
+ };
26
+ }
@@ -0,0 +1,93 @@
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 MatchmakingDurationSeconds_1 = tslib_1.__importDefault(require("./MatchmakingDurationSeconds"));
20
+ var MatchmakingStatistics = /** @class */ (function () {
21
+ function MatchmakingStatistics() {
22
+ this.successful = null;
23
+ this.unsuccessful = null;
24
+ this.successfulRate = null;
25
+ this.durationSeconds = null;
26
+ }
27
+ MatchmakingStatistics.prototype.getSuccessful = function () {
28
+ return this.successful;
29
+ };
30
+ MatchmakingStatistics.prototype.setSuccessful = function (successful) {
31
+ this.successful = successful;
32
+ return this;
33
+ };
34
+ MatchmakingStatistics.prototype.withSuccessful = function (successful) {
35
+ this.successful = successful;
36
+ return this;
37
+ };
38
+ MatchmakingStatistics.prototype.getUnsuccessful = function () {
39
+ return this.unsuccessful;
40
+ };
41
+ MatchmakingStatistics.prototype.setUnsuccessful = function (unsuccessful) {
42
+ this.unsuccessful = unsuccessful;
43
+ return this;
44
+ };
45
+ MatchmakingStatistics.prototype.withUnsuccessful = function (unsuccessful) {
46
+ this.unsuccessful = unsuccessful;
47
+ return this;
48
+ };
49
+ MatchmakingStatistics.prototype.getSuccessfulRate = function () {
50
+ return this.successfulRate;
51
+ };
52
+ MatchmakingStatistics.prototype.setSuccessfulRate = function (successfulRate) {
53
+ this.successfulRate = successfulRate;
54
+ return this;
55
+ };
56
+ MatchmakingStatistics.prototype.withSuccessfulRate = function (successfulRate) {
57
+ this.successfulRate = successfulRate;
58
+ return this;
59
+ };
60
+ MatchmakingStatistics.prototype.getDurationSeconds = function () {
61
+ return this.durationSeconds;
62
+ };
63
+ MatchmakingStatistics.prototype.setDurationSeconds = function (durationSeconds) {
64
+ this.durationSeconds = durationSeconds;
65
+ return this;
66
+ };
67
+ MatchmakingStatistics.prototype.withDurationSeconds = function (durationSeconds) {
68
+ this.durationSeconds = durationSeconds;
69
+ return this;
70
+ };
71
+ MatchmakingStatistics.fromDict = function (data) {
72
+ if (data == undefined || data == null) {
73
+ return null;
74
+ }
75
+ return new MatchmakingStatistics()
76
+ .withSuccessful(data["successful"])
77
+ .withUnsuccessful(data["unsuccessful"])
78
+ .withSuccessfulRate(data["successfulRate"])
79
+ .withDurationSeconds(MatchmakingDurationSeconds_1.default.fromDict(data["durationSeconds"]));
80
+ };
81
+ MatchmakingStatistics.prototype.toDict = function () {
82
+ var _a;
83
+ return {
84
+ "successful": this.getSuccessful(),
85
+ "unsuccessful": this.getUnsuccessful(),
86
+ "successfulRate": this.getSuccessfulRate(),
87
+ "durationSeconds": (_a = this.getDurationSeconds()) === null || _a === void 0 ? void 0 : _a.toDict(),
88
+ };
89
+ };
90
+ return MatchmakingStatistics;
91
+ }());
92
+ exports.default = MatchmakingStatistics;
93
+ //# sourceMappingURL=MatchmakingStatistics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MatchmakingStatistics.js","sourceRoot":"","sources":["MatchmakingStatistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,oGAAsE;AAEtE;IAAA;QACY,eAAU,GAAgB,IAAI,CAAC;QAC/B,iBAAY,GAAgB,IAAI,CAAC;QACjC,mBAAc,GAAgB,IAAI,CAAC;QACnC,oBAAe,GAAoC,IAAI,CAAC;IAiEpE,CAAC;IAhEU,6CAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IACM,6CAAa,GAApB,UAAqB,UAAuB;QACxC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAc,GAArB,UAAsB,UAAuB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IACM,+CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAiB,GAAxB;QACI,OAAO,IAAI,CAAC,cAAc,CAAC;IAC/B,CAAC;IACM,iDAAiB,GAAxB,UAAyB,cAA2B;QAChD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAkB,GAAzB,UAA0B,cAA2B;QACjD,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kDAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,kDAAkB,GAAzB,UAA0B,eAAgD;QACtE,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,mDAAmB,GAA1B,UAA2B,eAAgD;QACvE,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,qBAAqB,EAAE;aAC7B,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;aAC1C,mBAAmB,CAAC,oCAA0B,CAAC,QAAQ,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC3F,CAAC;IAEM,sCAAM,GAAb;;QACI,OAAO;YACH,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,iBAAiB,EAAE,MAAA,IAAI,CAAC,kBAAkB,EAAE,0CAAE,MAAM,EAAE;SACzD,CAAC;IACN,CAAC;IACL,4BAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,89 @@
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 MatchmakingDurationSeconds from './MatchmakingDurationSeconds';
19
+
20
+ export default class MatchmakingStatistics implements IModel {
21
+ private successful: number|null = null;
22
+ private unsuccessful: number|null = null;
23
+ private successfulRate: number|null = null;
24
+ private durationSeconds: MatchmakingDurationSeconds|null = null;
25
+ public getSuccessful(): number|null {
26
+ return this.successful;
27
+ }
28
+ public setSuccessful(successful: number|null) {
29
+ this.successful = successful;
30
+ return this;
31
+ }
32
+ public withSuccessful(successful: number|null): this {
33
+ this.successful = successful;
34
+ return this;
35
+ }
36
+ public getUnsuccessful(): number|null {
37
+ return this.unsuccessful;
38
+ }
39
+ public setUnsuccessful(unsuccessful: number|null) {
40
+ this.unsuccessful = unsuccessful;
41
+ return this;
42
+ }
43
+ public withUnsuccessful(unsuccessful: number|null): this {
44
+ this.unsuccessful = unsuccessful;
45
+ return this;
46
+ }
47
+ public getSuccessfulRate(): number|null {
48
+ return this.successfulRate;
49
+ }
50
+ public setSuccessfulRate(successfulRate: number|null) {
51
+ this.successfulRate = successfulRate;
52
+ return this;
53
+ }
54
+ public withSuccessfulRate(successfulRate: number|null): this {
55
+ this.successfulRate = successfulRate;
56
+ return this;
57
+ }
58
+ public getDurationSeconds(): MatchmakingDurationSeconds|null {
59
+ return this.durationSeconds;
60
+ }
61
+ public setDurationSeconds(durationSeconds: MatchmakingDurationSeconds|null) {
62
+ this.durationSeconds = durationSeconds;
63
+ return this;
64
+ }
65
+ public withDurationSeconds(durationSeconds: MatchmakingDurationSeconds|null): this {
66
+ this.durationSeconds = durationSeconds;
67
+ return this;
68
+ }
69
+
70
+ public static fromDict(data: {[key: string]: any}): MatchmakingStatistics|null {
71
+ if (data == undefined || data == null) {
72
+ return null;
73
+ }
74
+ return new MatchmakingStatistics()
75
+ .withSuccessful(data["successful"])
76
+ .withUnsuccessful(data["unsuccessful"])
77
+ .withSuccessfulRate(data["successfulRate"])
78
+ .withDurationSeconds(MatchmakingDurationSeconds.fromDict(data["durationSeconds"]));
79
+ }
80
+
81
+ public toDict(): {[key: string]: any} {
82
+ return {
83
+ "successful": this.getSuccessful(),
84
+ "unsuccessful": this.getUnsuccessful(),
85
+ "successfulRate": this.getSuccessfulRate(),
86
+ "durationSeconds": this.getDurationSeconds()?.toDict(),
87
+ };
88
+ }
89
+ }
@@ -0,0 +1,21 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class MoneyBalanceDistribution implements IModel {
3
+ private min;
4
+ private max;
5
+ private count;
6
+ getMin(): number | null;
7
+ setMin(min: number | null): this;
8
+ withMin(min: number | null): this;
9
+ getMax(): number | null;
10
+ setMax(max: number | null): this;
11
+ withMax(max: number | null): this;
12
+ getCount(): number | null;
13
+ setCount(count: number | null): this;
14
+ withCount(count: number | null): this;
15
+ static fromDict(data: {
16
+ [key: string]: any;
17
+ }): MoneyBalanceDistribution | null;
18
+ toDict(): {
19
+ [key: string]: any;
20
+ };
21
+ }
@@ -0,0 +1,76 @@
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 MoneyBalanceDistribution = /** @class */ (function () {
19
+ function MoneyBalanceDistribution() {
20
+ this.min = null;
21
+ this.max = null;
22
+ this.count = null;
23
+ }
24
+ MoneyBalanceDistribution.prototype.getMin = function () {
25
+ return this.min;
26
+ };
27
+ MoneyBalanceDistribution.prototype.setMin = function (min) {
28
+ this.min = min;
29
+ return this;
30
+ };
31
+ MoneyBalanceDistribution.prototype.withMin = function (min) {
32
+ this.min = min;
33
+ return this;
34
+ };
35
+ MoneyBalanceDistribution.prototype.getMax = function () {
36
+ return this.max;
37
+ };
38
+ MoneyBalanceDistribution.prototype.setMax = function (max) {
39
+ this.max = max;
40
+ return this;
41
+ };
42
+ MoneyBalanceDistribution.prototype.withMax = function (max) {
43
+ this.max = max;
44
+ return this;
45
+ };
46
+ MoneyBalanceDistribution.prototype.getCount = function () {
47
+ return this.count;
48
+ };
49
+ MoneyBalanceDistribution.prototype.setCount = function (count) {
50
+ this.count = count;
51
+ return this;
52
+ };
53
+ MoneyBalanceDistribution.prototype.withCount = function (count) {
54
+ this.count = count;
55
+ return this;
56
+ };
57
+ MoneyBalanceDistribution.fromDict = function (data) {
58
+ if (data == undefined || data == null) {
59
+ return null;
60
+ }
61
+ return new MoneyBalanceDistribution()
62
+ .withMin(data["min"])
63
+ .withMax(data["max"])
64
+ .withCount(data["count"]);
65
+ };
66
+ MoneyBalanceDistribution.prototype.toDict = function () {
67
+ return {
68
+ "min": this.getMin(),
69
+ "max": this.getMax(),
70
+ "count": this.getCount(),
71
+ };
72
+ };
73
+ return MoneyBalanceDistribution;
74
+ }());
75
+ exports.default = MoneyBalanceDistribution;
76
+ //# sourceMappingURL=MoneyBalanceDistribution.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoneyBalanceDistribution.js","sourceRoot":"","sources":["MoneyBalanceDistribution.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;IAoDtC,CAAC;IAnDU,yCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,yCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,yCAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,yCAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,2CAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,wBAAwB,EAAE;aAChC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AAvDD,IAuDC"}