gs2 1.3.124 → 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.
Files changed (388) hide show
  1. package/matchmaking/model/RatingModel.d.ts +4 -0
  2. package/matchmaking/model/RatingModel.js +14 -0
  3. package/matchmaking/model/RatingModel.js.map +1 -1
  4. package/matchmaking/model/RatingModel.ts +14 -0
  5. package/matchmaking/model/RatingModelMaster.d.ts +4 -0
  6. package/matchmaking/model/RatingModelMaster.js +14 -0
  7. package/matchmaking/model/RatingModelMaster.js.map +1 -1
  8. package/matchmaking/model/RatingModelMaster.ts +14 -0
  9. package/matchmaking/request/CreateRatingModelMasterRequest.d.ts +4 -0
  10. package/matchmaking/request/CreateRatingModelMasterRequest.js +14 -0
  11. package/matchmaking/request/CreateRatingModelMasterRequest.js.map +1 -1
  12. package/matchmaking/request/CreateRatingModelMasterRequest.ts +14 -0
  13. package/matchmaking/request/UpdateRatingModelMasterRequest.d.ts +4 -0
  14. package/matchmaking/request/UpdateRatingModelMasterRequest.js +14 -0
  15. package/matchmaking/request/UpdateRatingModelMasterRequest.js.map +1 -1
  16. package/matchmaking/request/UpdateRatingModelMasterRequest.ts +14 -0
  17. package/matchmaking/rest.js +6 -4
  18. package/matchmaking/rest.js.map +1 -1
  19. package/matchmaking/rest.ts +2 -0
  20. package/package.json +1 -1
  21. package/watch/model/AccountMetrics.d.ts +14 -0
  22. package/watch/model/AccountMetrics.js +56 -0
  23. package/watch/model/AccountMetrics.js.map +1 -0
  24. package/watch/model/AccountMetrics.ts +56 -0
  25. package/watch/model/AccountNamespace.d.ts +18 -0
  26. package/watch/model/AccountNamespace.js +70 -0
  27. package/watch/model/AccountNamespace.js.map +1 -0
  28. package/watch/model/AccountNamespace.ts +69 -0
  29. package/watch/model/AccountTakeOver.d.ts +17 -0
  30. package/watch/model/AccountTakeOver.js +62 -0
  31. package/watch/model/AccountTakeOver.js.map +1 -0
  32. package/watch/model/AccountTakeOver.ts +60 -0
  33. package/watch/model/ExchangeMetrics.d.ts +14 -0
  34. package/watch/model/ExchangeMetrics.js +56 -0
  35. package/watch/model/ExchangeMetrics.js.map +1 -0
  36. package/watch/model/ExchangeMetrics.ts +56 -0
  37. package/watch/model/ExchangeNamespace.d.ts +18 -0
  38. package/watch/model/ExchangeNamespace.js +70 -0
  39. package/watch/model/ExchangeNamespace.js.map +1 -0
  40. package/watch/model/ExchangeNamespace.ts +69 -0
  41. package/watch/model/ExchangeRate.d.ts +17 -0
  42. package/watch/model/ExchangeRate.js +62 -0
  43. package/watch/model/ExchangeRate.js.map +1 -0
  44. package/watch/model/ExchangeRate.ts +60 -0
  45. package/watch/model/ExperienceExperience.d.ts +18 -0
  46. package/watch/model/ExperienceExperience.js +70 -0
  47. package/watch/model/ExperienceExperience.js.map +1 -0
  48. package/watch/model/ExperienceExperience.ts +69 -0
  49. package/watch/model/ExperienceMetrics.d.ts +14 -0
  50. package/watch/model/ExperienceMetrics.js +56 -0
  51. package/watch/model/ExperienceMetrics.js.map +1 -0
  52. package/watch/model/ExperienceMetrics.ts +57 -0
  53. package/watch/model/ExperienceNamespace.d.ts +18 -0
  54. package/watch/model/ExperienceNamespace.js +70 -0
  55. package/watch/model/ExperienceNamespace.js.map +1 -0
  56. package/watch/model/ExperienceNamespace.ts +70 -0
  57. package/watch/model/ExperienceRankDistribution.d.ts +17 -0
  58. package/watch/model/ExperienceRankDistribution.js +62 -0
  59. package/watch/model/ExperienceRankDistribution.js.map +1 -0
  60. package/watch/model/ExperienceRankDistribution.ts +60 -0
  61. package/watch/model/FirstWeekLoginDays.d.ts +29 -0
  62. package/watch/model/FirstWeekLoginDays.js +104 -0
  63. package/watch/model/FirstWeekLoginDays.js.map +1 -0
  64. package/watch/model/FirstWeekLoginDays.ts +102 -0
  65. package/watch/model/GeneralMetrics.d.ts +42 -0
  66. package/watch/model/GeneralMetrics.js +139 -0
  67. package/watch/model/GeneralMetrics.js.map +1 -0
  68. package/watch/model/GeneralMetrics.ts +137 -0
  69. package/watch/model/InboxMetrics.d.ts +14 -0
  70. package/watch/model/InboxMetrics.js +56 -0
  71. package/watch/model/InboxMetrics.js.map +1 -0
  72. package/watch/model/InboxMetrics.ts +58 -0
  73. package/watch/model/InboxNamespace.d.ts +18 -0
  74. package/watch/model/InboxNamespace.js +65 -0
  75. package/watch/model/InboxNamespace.js.map +1 -0
  76. package/watch/model/InboxNamespace.ts +63 -0
  77. package/watch/model/InboxStatisticOpenMinutes.d.ts +29 -0
  78. package/watch/model/InboxStatisticOpenMinutes.js +104 -0
  79. package/watch/model/InboxStatisticOpenMinutes.js.map +1 -0
  80. package/watch/model/InboxStatisticOpenMinutes.ts +102 -0
  81. package/watch/model/InboxStatisticSummary.d.ts +21 -0
  82. package/watch/model/InboxStatisticSummary.js +76 -0
  83. package/watch/model/InboxStatisticSummary.js.map +1 -0
  84. package/watch/model/InboxStatisticSummary.ts +74 -0
  85. package/watch/model/InboxStatistics.d.ts +19 -0
  86. package/watch/model/InboxStatistics.js +66 -0
  87. package/watch/model/InboxStatistics.js.map +1 -0
  88. package/watch/model/InboxStatistics.ts +62 -0
  89. package/watch/model/InventoryInventory.d.ts +23 -0
  90. package/watch/model/InventoryInventory.js +91 -0
  91. package/watch/model/InventoryInventory.js.map +1 -0
  92. package/watch/model/InventoryInventory.ts +94 -0
  93. package/watch/model/InventoryInventoryStatistics.d.ts +17 -0
  94. package/watch/model/InventoryInventoryStatistics.js +62 -0
  95. package/watch/model/InventoryInventoryStatistics.js.map +1 -0
  96. package/watch/model/InventoryInventoryStatistics.ts +60 -0
  97. package/watch/model/InventoryInventoryStatisticsDistribution.d.ts +21 -0
  98. package/watch/model/InventoryInventoryStatisticsDistribution.js +76 -0
  99. package/watch/model/InventoryInventoryStatisticsDistribution.js.map +1 -0
  100. package/watch/model/InventoryInventoryStatisticsDistribution.ts +74 -0
  101. package/watch/model/InventoryItem.d.ts +23 -0
  102. package/watch/model/InventoryItem.js +86 -0
  103. package/watch/model/InventoryItem.js.map +1 -0
  104. package/watch/model/InventoryItem.ts +84 -0
  105. package/watch/model/InventoryItemDistribution.d.ts +21 -0
  106. package/watch/model/InventoryItemDistribution.js +76 -0
  107. package/watch/model/InventoryItemDistribution.js.map +1 -0
  108. package/watch/model/InventoryItemDistribution.ts +74 -0
  109. package/watch/model/InventoryItemStatistics.d.ts +21 -0
  110. package/watch/model/InventoryItemStatistics.js +76 -0
  111. package/watch/model/InventoryItemStatistics.js.map +1 -0
  112. package/watch/model/InventoryItemStatistics.ts +74 -0
  113. package/watch/model/InventoryMetrics.d.ts +14 -0
  114. package/watch/model/InventoryMetrics.js +56 -0
  115. package/watch/model/InventoryMetrics.js.map +1 -0
  116. package/watch/model/InventoryMetrics.ts +60 -0
  117. package/watch/model/InventoryNamespace.d.ts +18 -0
  118. package/watch/model/InventoryNamespace.js +70 -0
  119. package/watch/model/InventoryNamespace.js.map +1 -0
  120. package/watch/model/InventoryNamespace.ts +73 -0
  121. package/watch/model/LimitCounter.d.ts +18 -0
  122. package/watch/model/LimitCounter.js +70 -0
  123. package/watch/model/LimitCounter.js.map +1 -0
  124. package/watch/model/LimitCounter.ts +70 -0
  125. package/watch/model/LimitCounterDistribution.d.ts +18 -0
  126. package/watch/model/LimitCounterDistribution.js +70 -0
  127. package/watch/model/LimitCounterDistribution.js.map +1 -0
  128. package/watch/model/LimitCounterDistribution.ts +69 -0
  129. package/watch/model/LimitCounterDistributionUsage.d.ts +21 -0
  130. package/watch/model/LimitCounterDistributionUsage.js +76 -0
  131. package/watch/model/LimitCounterDistributionUsage.js.map +1 -0
  132. package/watch/model/LimitCounterDistributionUsage.ts +74 -0
  133. package/watch/model/LimitLimit.d.ts +18 -0
  134. package/watch/model/LimitLimit.js +70 -0
  135. package/watch/model/LimitLimit.js.map +1 -0
  136. package/watch/model/LimitLimit.ts +71 -0
  137. package/watch/model/LimitMetrics.d.ts +14 -0
  138. package/watch/model/LimitMetrics.js +56 -0
  139. package/watch/model/LimitMetrics.js.map +1 -0
  140. package/watch/model/LimitMetrics.ts +59 -0
  141. package/watch/model/LimitNamespace.d.ts +18 -0
  142. package/watch/model/LimitNamespace.js +70 -0
  143. package/watch/model/LimitNamespace.js.map +1 -0
  144. package/watch/model/LimitNamespace.ts +72 -0
  145. package/watch/model/MatchmakingDurationSeconds.d.ts +29 -0
  146. package/watch/model/MatchmakingDurationSeconds.js +104 -0
  147. package/watch/model/MatchmakingDurationSeconds.js.map +1 -0
  148. package/watch/model/MatchmakingDurationSeconds.ts +102 -0
  149. package/watch/model/MatchmakingMetrics.d.ts +14 -0
  150. package/watch/model/MatchmakingMetrics.js +56 -0
  151. package/watch/model/MatchmakingMetrics.js.map +1 -0
  152. package/watch/model/MatchmakingMetrics.ts +58 -0
  153. package/watch/model/MatchmakingNamespace.d.ts +23 -0
  154. package/watch/model/MatchmakingNamespace.js +86 -0
  155. package/watch/model/MatchmakingNamespace.js.map +1 -0
  156. package/watch/model/MatchmakingNamespace.ts +85 -0
  157. package/watch/model/MatchmakingRole.d.ts +30 -0
  158. package/watch/model/MatchmakingRole.js +107 -0
  159. package/watch/model/MatchmakingRole.js.map +1 -0
  160. package/watch/model/MatchmakingRole.ts +103 -0
  161. package/watch/model/MatchmakingStatistics.d.ts +26 -0
  162. package/watch/model/MatchmakingStatistics.js +93 -0
  163. package/watch/model/MatchmakingStatistics.js.map +1 -0
  164. package/watch/model/MatchmakingStatistics.ts +89 -0
  165. package/watch/model/MoneyBalanceDistribution.d.ts +21 -0
  166. package/watch/model/MoneyBalanceDistribution.js +76 -0
  167. package/watch/model/MoneyBalanceDistribution.js.map +1 -0
  168. package/watch/model/MoneyBalanceDistribution.ts +74 -0
  169. package/watch/model/MoneyBillingDistribution.d.ts +21 -0
  170. package/watch/model/MoneyBillingDistribution.js +76 -0
  171. package/watch/model/MoneyBillingDistribution.js.map +1 -0
  172. package/watch/model/MoneyBillingDistribution.ts +74 -0
  173. package/watch/model/MoneyMetrics.d.ts +14 -0
  174. package/watch/model/MoneyMetrics.js +56 -0
  175. package/watch/model/MoneyMetrics.js.map +1 -0
  176. package/watch/model/MoneyMetrics.ts +58 -0
  177. package/watch/model/MoneyNamespace.d.ts +28 -0
  178. package/watch/model/MoneyNamespace.js +107 -0
  179. package/watch/model/MoneyNamespace.js.map +1 -0
  180. package/watch/model/MoneyNamespace.ts +107 -0
  181. package/watch/model/MoneyStatistics.d.ts +21 -0
  182. package/watch/model/MoneyStatistics.js +76 -0
  183. package/watch/model/MoneyStatistics.js.map +1 -0
  184. package/watch/model/MoneyStatistics.ts +74 -0
  185. package/watch/model/MonthlyActiveUsers.d.ts +17 -0
  186. package/watch/model/MonthlyActiveUsers.js +62 -0
  187. package/watch/model/MonthlyActiveUsers.js.map +1 -0
  188. package/watch/model/MonthlyActiveUsers.ts +60 -0
  189. package/watch/model/QuestMetrics.d.ts +14 -0
  190. package/watch/model/QuestMetrics.js +56 -0
  191. package/watch/model/QuestMetrics.js.map +1 -0
  192. package/watch/model/QuestMetrics.ts +59 -0
  193. package/watch/model/QuestNamespace.d.ts +18 -0
  194. package/watch/model/QuestNamespace.js +70 -0
  195. package/watch/model/QuestNamespace.js.map +1 -0
  196. package/watch/model/QuestNamespace.ts +72 -0
  197. package/watch/model/QuestQuest.d.ts +18 -0
  198. package/watch/model/QuestQuest.js +65 -0
  199. package/watch/model/QuestQuest.js.map +1 -0
  200. package/watch/model/QuestQuest.ts +62 -0
  201. package/watch/model/QuestQuestDurationSeconds.d.ts +29 -0
  202. package/watch/model/QuestQuestDurationSeconds.js +104 -0
  203. package/watch/model/QuestQuestDurationSeconds.js.map +1 -0
  204. package/watch/model/QuestQuestDurationSeconds.ts +102 -0
  205. package/watch/model/QuestQuestGroup.d.ts +18 -0
  206. package/watch/model/QuestQuestGroup.js +70 -0
  207. package/watch/model/QuestQuestGroup.js.map +1 -0
  208. package/watch/model/QuestQuestGroup.ts +71 -0
  209. package/watch/model/QuestQuestReward.d.ts +26 -0
  210. package/watch/model/QuestQuestReward.js +93 -0
  211. package/watch/model/QuestQuestReward.js.map +1 -0
  212. package/watch/model/QuestQuestReward.ts +89 -0
  213. package/watch/model/QuestQuestRewardStatistics.d.ts +29 -0
  214. package/watch/model/QuestQuestRewardStatistics.js +104 -0
  215. package/watch/model/QuestQuestRewardStatistics.js.map +1 -0
  216. package/watch/model/QuestQuestRewardStatistics.ts +102 -0
  217. package/watch/model/QuestQuestStatistics.d.ts +22 -0
  218. package/watch/model/QuestQuestStatistics.js +79 -0
  219. package/watch/model/QuestQuestStatistics.js.map +1 -0
  220. package/watch/model/QuestQuestStatistics.ts +75 -0
  221. package/watch/model/RankingCategory.d.ts +18 -0
  222. package/watch/model/RankingCategory.js +70 -0
  223. package/watch/model/RankingCategory.js.map +1 -0
  224. package/watch/model/RankingCategory.ts +69 -0
  225. package/watch/model/RankingCategoryScoreDistribution.d.ts +21 -0
  226. package/watch/model/RankingCategoryScoreDistribution.js +76 -0
  227. package/watch/model/RankingCategoryScoreDistribution.js.map +1 -0
  228. package/watch/model/RankingCategoryScoreDistribution.ts +74 -0
  229. package/watch/model/RankingMetrics.d.ts +14 -0
  230. package/watch/model/RankingMetrics.js +56 -0
  231. package/watch/model/RankingMetrics.js.map +1 -0
  232. package/watch/model/RankingMetrics.ts +57 -0
  233. package/watch/model/RankingNamespace.d.ts +18 -0
  234. package/watch/model/RankingNamespace.js +70 -0
  235. package/watch/model/RankingNamespace.js.map +1 -0
  236. package/watch/model/RankingNamespace.ts +70 -0
  237. package/watch/model/ReturningUserRatio.d.ts +21 -0
  238. package/watch/model/ReturningUserRatio.js +76 -0
  239. package/watch/model/ReturningUserRatio.js.map +1 -0
  240. package/watch/model/ReturningUserRatio.ts +74 -0
  241. package/watch/model/SessionDuration.d.ts +19 -0
  242. package/watch/model/SessionDuration.js +72 -0
  243. package/watch/model/SessionDuration.js.map +1 -0
  244. package/watch/model/SessionDuration.ts +70 -0
  245. package/watch/model/SessionDurationDistribution.d.ts +21 -0
  246. package/watch/model/SessionDurationDistribution.js +76 -0
  247. package/watch/model/SessionDurationDistribution.js.map +1 -0
  248. package/watch/model/SessionDurationDistribution.ts +74 -0
  249. package/watch/model/SessionDurationStatistics.d.ts +29 -0
  250. package/watch/model/SessionDurationStatistics.js +104 -0
  251. package/watch/model/SessionDurationStatistics.js.map +1 -0
  252. package/watch/model/SessionDurationStatistics.ts +102 -0
  253. package/watch/model/ShowcaseBuyQuantityDistribution.d.ts +21 -0
  254. package/watch/model/ShowcaseBuyQuantityDistribution.js +76 -0
  255. package/watch/model/ShowcaseBuyQuantityDistribution.js.map +1 -0
  256. package/watch/model/ShowcaseBuyQuantityDistribution.ts +74 -0
  257. package/watch/model/ShowcaseDisplayItem.d.ts +18 -0
  258. package/watch/model/ShowcaseDisplayItem.js +70 -0
  259. package/watch/model/ShowcaseDisplayItem.js.map +1 -0
  260. package/watch/model/ShowcaseDisplayItem.ts +69 -0
  261. package/watch/model/ShowcaseMetrics.d.ts +14 -0
  262. package/watch/model/ShowcaseMetrics.js +56 -0
  263. package/watch/model/ShowcaseMetrics.js.map +1 -0
  264. package/watch/model/ShowcaseMetrics.ts +58 -0
  265. package/watch/model/ShowcaseNamespace.d.ts +18 -0
  266. package/watch/model/ShowcaseNamespace.js +70 -0
  267. package/watch/model/ShowcaseNamespace.js.map +1 -0
  268. package/watch/model/ShowcaseNamespace.ts +71 -0
  269. package/watch/model/ShowcaseShowcase.d.ts +18 -0
  270. package/watch/model/ShowcaseShowcase.js +70 -0
  271. package/watch/model/ShowcaseShowcase.js.map +1 -0
  272. package/watch/model/ShowcaseShowcase.ts +70 -0
  273. package/watch/model/WeeklyActiveUsers.d.ts +21 -0
  274. package/watch/model/WeeklyActiveUsers.js +76 -0
  275. package/watch/model/WeeklyActiveUsers.js.map +1 -0
  276. package/watch/model/WeeklyActiveUsers.ts +74 -0
  277. package/watch/model/index.d.ts +65 -1
  278. package/watch/model/index.js +130 -1
  279. package/watch/model/index.js.map +1 -1
  280. package/watch/model/index.ts +128 -0
  281. package/watch/request/GetAccountMetricsRequest.d.ts +17 -0
  282. package/watch/request/GetAccountMetricsRequest.js +54 -0
  283. package/watch/request/GetAccountMetricsRequest.js.map +1 -0
  284. package/watch/request/GetAccountMetricsRequest.ts +62 -0
  285. package/watch/request/GetExchangeMetricsRequest.d.ts +17 -0
  286. package/watch/request/GetExchangeMetricsRequest.js +54 -0
  287. package/watch/request/GetExchangeMetricsRequest.js.map +1 -0
  288. package/watch/request/GetExchangeMetricsRequest.ts +62 -0
  289. package/watch/request/GetExperienceMetricsRequest.d.ts +17 -0
  290. package/watch/request/GetExperienceMetricsRequest.js +54 -0
  291. package/watch/request/GetExperienceMetricsRequest.js.map +1 -0
  292. package/watch/request/GetExperienceMetricsRequest.ts +62 -0
  293. package/watch/request/GetGeneralMetricsRequest.d.ts +17 -0
  294. package/watch/request/GetGeneralMetricsRequest.js +54 -0
  295. package/watch/request/GetGeneralMetricsRequest.js.map +1 -0
  296. package/watch/request/GetGeneralMetricsRequest.ts +62 -0
  297. package/watch/request/GetInboxMetricsRequest.d.ts +17 -0
  298. package/watch/request/GetInboxMetricsRequest.js +54 -0
  299. package/watch/request/GetInboxMetricsRequest.js.map +1 -0
  300. package/watch/request/GetInboxMetricsRequest.ts +62 -0
  301. package/watch/request/GetInventoryMetricsRequest.d.ts +17 -0
  302. package/watch/request/GetInventoryMetricsRequest.js +54 -0
  303. package/watch/request/GetInventoryMetricsRequest.js.map +1 -0
  304. package/watch/request/GetInventoryMetricsRequest.ts +62 -0
  305. package/watch/request/GetLimitMetricsRequest.d.ts +17 -0
  306. package/watch/request/GetLimitMetricsRequest.js +54 -0
  307. package/watch/request/GetLimitMetricsRequest.js.map +1 -0
  308. package/watch/request/GetLimitMetricsRequest.ts +62 -0
  309. package/watch/request/GetMatchmakingMetricsRequest.d.ts +17 -0
  310. package/watch/request/GetMatchmakingMetricsRequest.js +54 -0
  311. package/watch/request/GetMatchmakingMetricsRequest.js.map +1 -0
  312. package/watch/request/GetMatchmakingMetricsRequest.ts +62 -0
  313. package/watch/request/GetMoneyMetricsRequest.d.ts +17 -0
  314. package/watch/request/GetMoneyMetricsRequest.js +54 -0
  315. package/watch/request/GetMoneyMetricsRequest.js.map +1 -0
  316. package/watch/request/GetMoneyMetricsRequest.ts +62 -0
  317. package/watch/request/GetQuestMetricsRequest.d.ts +17 -0
  318. package/watch/request/GetQuestMetricsRequest.js +54 -0
  319. package/watch/request/GetQuestMetricsRequest.js.map +1 -0
  320. package/watch/request/GetQuestMetricsRequest.ts +62 -0
  321. package/watch/request/GetRankingMetricsRequest.d.ts +17 -0
  322. package/watch/request/GetRankingMetricsRequest.js +54 -0
  323. package/watch/request/GetRankingMetricsRequest.js.map +1 -0
  324. package/watch/request/GetRankingMetricsRequest.ts +62 -0
  325. package/watch/request/GetShowcaseMetricsRequest.d.ts +17 -0
  326. package/watch/request/GetShowcaseMetricsRequest.js +54 -0
  327. package/watch/request/GetShowcaseMetricsRequest.js.map +1 -0
  328. package/watch/request/GetShowcaseMetricsRequest.ts +62 -0
  329. package/watch/request/index.d.ts +13 -1
  330. package/watch/request/index.js +25 -1
  331. package/watch/request/index.js.map +1 -1
  332. package/watch/request/index.ts +24 -0
  333. package/watch/rest.d.ts +12 -0
  334. package/watch/rest.js +252 -0
  335. package/watch/rest.js.map +1 -1
  336. package/watch/rest.ts +300 -0
  337. package/watch/result/GetAccountMetricsResult.d.ts +14 -0
  338. package/watch/result/GetAccountMetricsResult.js +48 -0
  339. package/watch/result/GetAccountMetricsResult.js.map +1 -0
  340. package/watch/result/GetAccountMetricsResult.ts +48 -0
  341. package/watch/result/GetExchangeMetricsResult.d.ts +14 -0
  342. package/watch/result/GetExchangeMetricsResult.js +48 -0
  343. package/watch/result/GetExchangeMetricsResult.js.map +1 -0
  344. package/watch/result/GetExchangeMetricsResult.ts +48 -0
  345. package/watch/result/GetExperienceMetricsResult.d.ts +14 -0
  346. package/watch/result/GetExperienceMetricsResult.js +48 -0
  347. package/watch/result/GetExperienceMetricsResult.js.map +1 -0
  348. package/watch/result/GetExperienceMetricsResult.ts +48 -0
  349. package/watch/result/GetGeneralMetricsResult.d.ts +14 -0
  350. package/watch/result/GetGeneralMetricsResult.js +48 -0
  351. package/watch/result/GetGeneralMetricsResult.js.map +1 -0
  352. package/watch/result/GetGeneralMetricsResult.ts +48 -0
  353. package/watch/result/GetInboxMetricsResult.d.ts +14 -0
  354. package/watch/result/GetInboxMetricsResult.js +48 -0
  355. package/watch/result/GetInboxMetricsResult.js.map +1 -0
  356. package/watch/result/GetInboxMetricsResult.ts +48 -0
  357. package/watch/result/GetInventoryMetricsResult.d.ts +14 -0
  358. package/watch/result/GetInventoryMetricsResult.js +48 -0
  359. package/watch/result/GetInventoryMetricsResult.js.map +1 -0
  360. package/watch/result/GetInventoryMetricsResult.ts +48 -0
  361. package/watch/result/GetLimitMetricsResult.d.ts +14 -0
  362. package/watch/result/GetLimitMetricsResult.js +48 -0
  363. package/watch/result/GetLimitMetricsResult.js.map +1 -0
  364. package/watch/result/GetLimitMetricsResult.ts +48 -0
  365. package/watch/result/GetMatchmakingMetricsResult.d.ts +14 -0
  366. package/watch/result/GetMatchmakingMetricsResult.js +48 -0
  367. package/watch/result/GetMatchmakingMetricsResult.js.map +1 -0
  368. package/watch/result/GetMatchmakingMetricsResult.ts +48 -0
  369. package/watch/result/GetMoneyMetricsResult.d.ts +14 -0
  370. package/watch/result/GetMoneyMetricsResult.js +48 -0
  371. package/watch/result/GetMoneyMetricsResult.js.map +1 -0
  372. package/watch/result/GetMoneyMetricsResult.ts +48 -0
  373. package/watch/result/GetQuestMetricsResult.d.ts +14 -0
  374. package/watch/result/GetQuestMetricsResult.js +48 -0
  375. package/watch/result/GetQuestMetricsResult.js.map +1 -0
  376. package/watch/result/GetQuestMetricsResult.ts +48 -0
  377. package/watch/result/GetRankingMetricsResult.d.ts +14 -0
  378. package/watch/result/GetRankingMetricsResult.js +48 -0
  379. package/watch/result/GetRankingMetricsResult.js.map +1 -0
  380. package/watch/result/GetRankingMetricsResult.ts +48 -0
  381. package/watch/result/GetShowcaseMetricsResult.d.ts +14 -0
  382. package/watch/result/GetShowcaseMetricsResult.js +48 -0
  383. package/watch/result/GetShowcaseMetricsResult.js.map +1 -0
  384. package/watch/result/GetShowcaseMetricsResult.ts +48 -0
  385. package/watch/result/index.d.ts +13 -1
  386. package/watch/result/index.js +25 -1
  387. package/watch/result/index.js.map +1 -1
  388. package/watch/result/index.ts +24 -0
package/watch/rest.ts CHANGED
@@ -196,4 +196,304 @@ export default class Gs2WatchRestClient extends AbstractGs2RestClient {
196
196
  }
197
197
  });
198
198
  }
199
+
200
+ public getGeneralMetrics(request: Request.GetGeneralMetricsRequest): Promise<Result.GetGeneralMetricsResult> {
201
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/account')
202
+ .replace('{service}', 'watch')
203
+ .replace('{region}', this.session.region);
204
+
205
+ const headers = this.createAuthorizedHeaders();
206
+ if (request.getRequestId()) {
207
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
208
+ }
209
+ const params: {[key: string]: any} = {
210
+ 'contextStack': request.getContextStack() ?? null,
211
+ };
212
+ return axios.get(
213
+ url,
214
+ {
215
+ params,
216
+ headers,
217
+ },
218
+ ).then((response: any) => {
219
+ return Result.GetGeneralMetricsResult.fromDict(response.data);
220
+ }).catch((error: any) => {
221
+ throw JSON.parse(error.response.data.message);
222
+ });
223
+ }
224
+
225
+ public getAccountMetrics(request: Request.GetAccountMetricsRequest): Promise<Result.GetAccountMetricsResult> {
226
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/account')
227
+ .replace('{service}', 'watch')
228
+ .replace('{region}', this.session.region);
229
+
230
+ const headers = this.createAuthorizedHeaders();
231
+ if (request.getRequestId()) {
232
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
233
+ }
234
+ const params: {[key: string]: any} = {
235
+ 'contextStack': request.getContextStack() ?? null,
236
+ };
237
+ return axios.get(
238
+ url,
239
+ {
240
+ params,
241
+ headers,
242
+ },
243
+ ).then((response: any) => {
244
+ return Result.GetAccountMetricsResult.fromDict(response.data);
245
+ }).catch((error: any) => {
246
+ throw JSON.parse(error.response.data.message);
247
+ });
248
+ }
249
+
250
+ public getExchangeMetrics(request: Request.GetExchangeMetricsRequest): Promise<Result.GetExchangeMetricsResult> {
251
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/exchange')
252
+ .replace('{service}', 'watch')
253
+ .replace('{region}', this.session.region);
254
+
255
+ const headers = this.createAuthorizedHeaders();
256
+ if (request.getRequestId()) {
257
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
258
+ }
259
+ const params: {[key: string]: any} = {
260
+ 'contextStack': request.getContextStack() ?? null,
261
+ };
262
+ return axios.get(
263
+ url,
264
+ {
265
+ params,
266
+ headers,
267
+ },
268
+ ).then((response: any) => {
269
+ return Result.GetExchangeMetricsResult.fromDict(response.data);
270
+ }).catch((error: any) => {
271
+ throw JSON.parse(error.response.data.message);
272
+ });
273
+ }
274
+
275
+ public getExperienceMetrics(request: Request.GetExperienceMetricsRequest): Promise<Result.GetExperienceMetricsResult> {
276
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/experience')
277
+ .replace('{service}', 'watch')
278
+ .replace('{region}', this.session.region);
279
+
280
+ const headers = this.createAuthorizedHeaders();
281
+ if (request.getRequestId()) {
282
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
283
+ }
284
+ const params: {[key: string]: any} = {
285
+ 'contextStack': request.getContextStack() ?? null,
286
+ };
287
+ return axios.get(
288
+ url,
289
+ {
290
+ params,
291
+ headers,
292
+ },
293
+ ).then((response: any) => {
294
+ return Result.GetExperienceMetricsResult.fromDict(response.data);
295
+ }).catch((error: any) => {
296
+ throw JSON.parse(error.response.data.message);
297
+ });
298
+ }
299
+
300
+ public getInboxMetrics(request: Request.GetInboxMetricsRequest): Promise<Result.GetInboxMetricsResult> {
301
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inbox')
302
+ .replace('{service}', 'watch')
303
+ .replace('{region}', this.session.region);
304
+
305
+ const headers = this.createAuthorizedHeaders();
306
+ if (request.getRequestId()) {
307
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
308
+ }
309
+ const params: {[key: string]: any} = {
310
+ 'contextStack': request.getContextStack() ?? null,
311
+ };
312
+ return axios.get(
313
+ url,
314
+ {
315
+ params,
316
+ headers,
317
+ },
318
+ ).then((response: any) => {
319
+ return Result.GetInboxMetricsResult.fromDict(response.data);
320
+ }).catch((error: any) => {
321
+ throw JSON.parse(error.response.data.message);
322
+ });
323
+ }
324
+
325
+ public getInventoryMetrics(request: Request.GetInventoryMetricsRequest): Promise<Result.GetInventoryMetricsResult> {
326
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/inventory')
327
+ .replace('{service}', 'watch')
328
+ .replace('{region}', this.session.region);
329
+
330
+ const headers = this.createAuthorizedHeaders();
331
+ if (request.getRequestId()) {
332
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
333
+ }
334
+ const params: {[key: string]: any} = {
335
+ 'contextStack': request.getContextStack() ?? null,
336
+ };
337
+ return axios.get(
338
+ url,
339
+ {
340
+ params,
341
+ headers,
342
+ },
343
+ ).then((response: any) => {
344
+ return Result.GetInventoryMetricsResult.fromDict(response.data);
345
+ }).catch((error: any) => {
346
+ throw JSON.parse(error.response.data.message);
347
+ });
348
+ }
349
+
350
+ public getLimitMetrics(request: Request.GetLimitMetricsRequest): Promise<Result.GetLimitMetricsResult> {
351
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/limit')
352
+ .replace('{service}', 'watch')
353
+ .replace('{region}', this.session.region);
354
+
355
+ const headers = this.createAuthorizedHeaders();
356
+ if (request.getRequestId()) {
357
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
358
+ }
359
+ const params: {[key: string]: any} = {
360
+ 'contextStack': request.getContextStack() ?? null,
361
+ };
362
+ return axios.get(
363
+ url,
364
+ {
365
+ params,
366
+ headers,
367
+ },
368
+ ).then((response: any) => {
369
+ return Result.GetLimitMetricsResult.fromDict(response.data);
370
+ }).catch((error: any) => {
371
+ throw JSON.parse(error.response.data.message);
372
+ });
373
+ }
374
+
375
+ public getMatchmakingMetrics(request: Request.GetMatchmakingMetricsRequest): Promise<Result.GetMatchmakingMetricsResult> {
376
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/matchmaking')
377
+ .replace('{service}', 'watch')
378
+ .replace('{region}', this.session.region);
379
+
380
+ const headers = this.createAuthorizedHeaders();
381
+ if (request.getRequestId()) {
382
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
383
+ }
384
+ const params: {[key: string]: any} = {
385
+ 'contextStack': request.getContextStack() ?? null,
386
+ };
387
+ return axios.get(
388
+ url,
389
+ {
390
+ params,
391
+ headers,
392
+ },
393
+ ).then((response: any) => {
394
+ return Result.GetMatchmakingMetricsResult.fromDict(response.data);
395
+ }).catch((error: any) => {
396
+ throw JSON.parse(error.response.data.message);
397
+ });
398
+ }
399
+
400
+ public getMoneyMetrics(request: Request.GetMoneyMetricsRequest): Promise<Result.GetMoneyMetricsResult> {
401
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/money')
402
+ .replace('{service}', 'watch')
403
+ .replace('{region}', this.session.region);
404
+
405
+ const headers = this.createAuthorizedHeaders();
406
+ if (request.getRequestId()) {
407
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
408
+ }
409
+ const params: {[key: string]: any} = {
410
+ 'contextStack': request.getContextStack() ?? null,
411
+ };
412
+ return axios.get(
413
+ url,
414
+ {
415
+ params,
416
+ headers,
417
+ },
418
+ ).then((response: any) => {
419
+ return Result.GetMoneyMetricsResult.fromDict(response.data);
420
+ }).catch((error: any) => {
421
+ throw JSON.parse(error.response.data.message);
422
+ });
423
+ }
424
+
425
+ public getQuestMetrics(request: Request.GetQuestMetricsRequest): Promise<Result.GetQuestMetricsResult> {
426
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/quest')
427
+ .replace('{service}', 'watch')
428
+ .replace('{region}', this.session.region);
429
+
430
+ const headers = this.createAuthorizedHeaders();
431
+ if (request.getRequestId()) {
432
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
433
+ }
434
+ const params: {[key: string]: any} = {
435
+ 'contextStack': request.getContextStack() ?? null,
436
+ };
437
+ return axios.get(
438
+ url,
439
+ {
440
+ params,
441
+ headers,
442
+ },
443
+ ).then((response: any) => {
444
+ return Result.GetQuestMetricsResult.fromDict(response.data);
445
+ }).catch((error: any) => {
446
+ throw JSON.parse(error.response.data.message);
447
+ });
448
+ }
449
+
450
+ public getRankingMetrics(request: Request.GetRankingMetricsRequest): Promise<Result.GetRankingMetricsResult> {
451
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/ranking')
452
+ .replace('{service}', 'watch')
453
+ .replace('{region}', this.session.region);
454
+
455
+ const headers = this.createAuthorizedHeaders();
456
+ if (request.getRequestId()) {
457
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
458
+ }
459
+ const params: {[key: string]: any} = {
460
+ 'contextStack': request.getContextStack() ?? null,
461
+ };
462
+ return axios.get(
463
+ url,
464
+ {
465
+ params,
466
+ headers,
467
+ },
468
+ ).then((response: any) => {
469
+ return Result.GetRankingMetricsResult.fromDict(response.data);
470
+ }).catch((error: any) => {
471
+ throw JSON.parse(error.response.data.message);
472
+ });
473
+ }
474
+
475
+ public getShowcaseMetrics(request: Request.GetShowcaseMetricsRequest): Promise<Result.GetShowcaseMetricsResult> {
476
+ const url = (Gs2Constant.ENDPOINT_HOST + '/metrics/showcase')
477
+ .replace('{service}', 'watch')
478
+ .replace('{region}', this.session.region);
479
+
480
+ const headers = this.createAuthorizedHeaders();
481
+ if (request.getRequestId()) {
482
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
483
+ }
484
+ const params: {[key: string]: any} = {
485
+ 'contextStack': request.getContextStack() ?? null,
486
+ };
487
+ return axios.get(
488
+ url,
489
+ {
490
+ params,
491
+ headers,
492
+ },
493
+ ).then((response: any) => {
494
+ return Result.GetShowcaseMetricsResult.fromDict(response.data);
495
+ }).catch((error: any) => {
496
+ throw JSON.parse(error.response.data.message);
497
+ });
498
+ }
199
499
  }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Watch from '../model';
3
+ export default class GetAccountMetricsResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Watch.AccountMetrics | null;
6
+ setItem(item: Gs2Watch.AccountMetrics | null): this;
7
+ withItem(item: Gs2Watch.AccountMetrics | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetAccountMetricsResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 Gs2Watch = tslib_1.__importStar(require("../model"));
20
+ var GetAccountMetricsResult = /** @class */ (function () {
21
+ function GetAccountMetricsResult() {
22
+ this.item = null;
23
+ }
24
+ GetAccountMetricsResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetAccountMetricsResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetAccountMetricsResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetAccountMetricsResult.fromDict = function (data) {
36
+ return new GetAccountMetricsResult()
37
+ .withItem(Gs2Watch.AccountMetrics.fromDict(data["item"]));
38
+ };
39
+ GetAccountMetricsResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetAccountMetricsResult;
46
+ }());
47
+ exports.default = GetAccountMetricsResult;
48
+ //# sourceMappingURL=GetAccountMetricsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetAccountMetricsResult.js","sourceRoot":"","sources":["GetAccountMetricsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAAiC,IAAI,CAAC;IA0BtD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAAkC;QAC7C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAAkC;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,QAAQ,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAClE,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Watch from '../model'
20
+
21
+ export default class GetAccountMetricsResult implements IResult {
22
+ private item: Gs2Watch.AccountMetrics|null = null;
23
+
24
+ public getItem(): Gs2Watch.AccountMetrics|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Watch.AccountMetrics|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Watch.AccountMetrics|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetAccountMetricsResult {
39
+ return new GetAccountMetricsResult()
40
+ .withItem(Gs2Watch.AccountMetrics.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Watch from '../model';
3
+ export default class GetExchangeMetricsResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Watch.ExchangeMetrics | null;
6
+ setItem(item: Gs2Watch.ExchangeMetrics | null): this;
7
+ withItem(item: Gs2Watch.ExchangeMetrics | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetExchangeMetricsResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 Gs2Watch = tslib_1.__importStar(require("../model"));
20
+ var GetExchangeMetricsResult = /** @class */ (function () {
21
+ function GetExchangeMetricsResult() {
22
+ this.item = null;
23
+ }
24
+ GetExchangeMetricsResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetExchangeMetricsResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetExchangeMetricsResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetExchangeMetricsResult.fromDict = function (data) {
36
+ return new GetExchangeMetricsResult()
37
+ .withItem(Gs2Watch.ExchangeMetrics.fromDict(data["item"]));
38
+ };
39
+ GetExchangeMetricsResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetExchangeMetricsResult;
46
+ }());
47
+ exports.default = GetExchangeMetricsResult;
48
+ //# sourceMappingURL=GetExchangeMetricsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetExchangeMetricsResult.js","sourceRoot":"","sources":["GetExchangeMetricsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAAkC,IAAI,CAAC;IA0BvD,CAAC;IAxBU,0CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,0CAAO,GAAd,UAAe,IAAmC;QAC9C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAQ,GAAf,UAAgB,IAAmC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,QAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACnE,CAAC;IAEM,yCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Watch from '../model'
20
+
21
+ export default class GetExchangeMetricsResult implements IResult {
22
+ private item: Gs2Watch.ExchangeMetrics|null = null;
23
+
24
+ public getItem(): Gs2Watch.ExchangeMetrics|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Watch.ExchangeMetrics|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Watch.ExchangeMetrics|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetExchangeMetricsResult {
39
+ return new GetExchangeMetricsResult()
40
+ .withItem(Gs2Watch.ExchangeMetrics.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Watch from '../model';
3
+ export default class GetExperienceMetricsResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Watch.ExperienceMetrics | null;
6
+ setItem(item: Gs2Watch.ExperienceMetrics | null): this;
7
+ withItem(item: Gs2Watch.ExperienceMetrics | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetExperienceMetricsResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 Gs2Watch = tslib_1.__importStar(require("../model"));
20
+ var GetExperienceMetricsResult = /** @class */ (function () {
21
+ function GetExperienceMetricsResult() {
22
+ this.item = null;
23
+ }
24
+ GetExperienceMetricsResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetExperienceMetricsResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetExperienceMetricsResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetExperienceMetricsResult.fromDict = function (data) {
36
+ return new GetExperienceMetricsResult()
37
+ .withItem(Gs2Watch.ExperienceMetrics.fromDict(data["item"]));
38
+ };
39
+ GetExperienceMetricsResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetExperienceMetricsResult;
46
+ }());
47
+ exports.default = GetExperienceMetricsResult;
48
+ //# sourceMappingURL=GetExperienceMetricsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetExperienceMetricsResult.js","sourceRoot":"","sources":["GetExperienceMetricsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,yDAAoC;AAEpC;IAAA;QACY,SAAI,GAAoC,IAAI,CAAC;IA0BzD,CAAC;IAxBU,4CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,4CAAO,GAAd,UAAe,IAAqC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAQ,GAAf,UAAgB,IAAqC;QACjD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0BAA0B,EAAE;aAClC,QAAQ,CAAC,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACrE,CAAC;IAEM,2CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Watch from '../model'
20
+
21
+ export default class GetExperienceMetricsResult implements IResult {
22
+ private item: Gs2Watch.ExperienceMetrics|null = null;
23
+
24
+ public getItem(): Gs2Watch.ExperienceMetrics|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Watch.ExperienceMetrics|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Watch.ExperienceMetrics|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetExperienceMetricsResult {
39
+ return new GetExperienceMetricsResult()
40
+ .withItem(Gs2Watch.ExperienceMetrics.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Watch from '../model';
3
+ export default class GetGeneralMetricsResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Watch.GeneralMetrics | null;
6
+ setItem(item: Gs2Watch.GeneralMetrics | null): this;
7
+ withItem(item: Gs2Watch.GeneralMetrics | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetGeneralMetricsResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }