gs2 1.3.217 → 1.3.219

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 (460) hide show
  1. package/deploy/result/ChangeSetResult.js.map +1 -1
  2. package/deploy/result/ChangeSetResult.ts +0 -1
  3. package/deploy/result/CreateStackFromGitHubResult.js.map +1 -1
  4. package/deploy/result/CreateStackFromGitHubResult.ts +0 -1
  5. package/deploy/result/CreateStackResult.js.map +1 -1
  6. package/deploy/result/CreateStackResult.ts +0 -1
  7. package/deploy/result/DeleteStackEntityResult.js.map +1 -1
  8. package/deploy/result/DeleteStackEntityResult.ts +0 -1
  9. package/deploy/result/DeleteStackResourcesResult.js.map +1 -1
  10. package/deploy/result/DeleteStackResourcesResult.ts +0 -1
  11. package/deploy/result/DeleteStackResult.js.map +1 -1
  12. package/deploy/result/DeleteStackResult.ts +0 -1
  13. package/deploy/result/DescribeEventsResult.js.map +1 -1
  14. package/deploy/result/DescribeEventsResult.ts +0 -1
  15. package/deploy/result/DescribeOutputsResult.js.map +1 -1
  16. package/deploy/result/DescribeOutputsResult.ts +0 -1
  17. package/deploy/result/DescribeResourcesResult.js.map +1 -1
  18. package/deploy/result/DescribeResourcesResult.ts +0 -1
  19. package/deploy/result/DescribeStacksResult.js.map +1 -1
  20. package/deploy/result/DescribeStacksResult.ts +0 -1
  21. package/deploy/result/ForceDeleteStackResult.js.map +1 -1
  22. package/deploy/result/ForceDeleteStackResult.ts +0 -1
  23. package/deploy/result/GetEventResult.js.map +1 -1
  24. package/deploy/result/GetEventResult.ts +0 -1
  25. package/deploy/result/GetOutputResult.js.map +1 -1
  26. package/deploy/result/GetOutputResult.ts +0 -1
  27. package/deploy/result/GetResourceResult.js.map +1 -1
  28. package/deploy/result/GetResourceResult.ts +0 -1
  29. package/deploy/result/GetStackResult.js.map +1 -1
  30. package/deploy/result/GetStackResult.ts +0 -1
  31. package/deploy/result/GetStackStatusResult.js.map +1 -1
  32. package/deploy/result/GetStackStatusResult.ts +0 -2
  33. package/deploy/result/UpdateStackFromGitHubResult.js.map +1 -1
  34. package/deploy/result/UpdateStackFromGitHubResult.ts +0 -1
  35. package/deploy/result/UpdateStackResult.js.map +1 -1
  36. package/deploy/result/UpdateStackResult.ts +0 -1
  37. package/deploy/result/ValidateResult.js.map +1 -1
  38. package/deploy/result/ValidateResult.ts +0 -2
  39. package/experience/request/AddExperienceByUserIdRequest.d.ts +4 -0
  40. package/experience/request/AddExperienceByUserIdRequest.js +15 -1
  41. package/experience/request/AddExperienceByUserIdRequest.js.map +1 -1
  42. package/experience/request/AddExperienceByUserIdRequest.ts +15 -1
  43. package/experience/rest.js +2 -1
  44. package/experience/rest.js.map +1 -1
  45. package/experience/rest.ts +1 -0
  46. package/index.d.ts +2 -1
  47. package/index.js +3 -1
  48. package/index.js.map +1 -1
  49. package/index.ts +2 -0
  50. package/log/model/AccessLogWithTelemetry.d.ts +49 -0
  51. package/log/model/AccessLogWithTelemetry.js +174 -0
  52. package/log/model/AccessLogWithTelemetry.js.map +1 -0
  53. package/log/model/AccessLogWithTelemetry.ts +172 -0
  54. package/log/model/index.d.ts +2 -1
  55. package/log/model/index.js +3 -1
  56. package/log/model/index.js.map +1 -1
  57. package/log/model/index.ts +2 -0
  58. package/log/request/QueryAccessLogWithTelemetryRequest.d.ts +49 -0
  59. package/log/request/QueryAccessLogWithTelemetryRequest.js +165 -0
  60. package/log/request/QueryAccessLogWithTelemetryRequest.js.map +1 -0
  61. package/log/request/QueryAccessLogWithTelemetryRequest.ts +175 -0
  62. package/log/request/index.d.ts +2 -1
  63. package/log/request/index.js +3 -1
  64. package/log/request/index.js.map +1 -1
  65. package/log/request/index.ts +2 -0
  66. package/log/rest.d.ts +1 -0
  67. package/log/rest.js +31 -0
  68. package/log/rest.js.map +1 -1
  69. package/log/rest.ts +35 -0
  70. package/log/result/CountAccessLogResult.js.map +1 -1
  71. package/log/result/CountAccessLogResult.ts +0 -1
  72. package/log/result/CountExecuteStampSheetLogResult.js.map +1 -1
  73. package/log/result/CountExecuteStampSheetLogResult.ts +0 -1
  74. package/log/result/CountExecuteStampTaskLogResult.js.map +1 -1
  75. package/log/result/CountExecuteStampTaskLogResult.ts +0 -1
  76. package/log/result/CountIssueStampSheetLogResult.js.map +1 -1
  77. package/log/result/CountIssueStampSheetLogResult.ts +0 -1
  78. package/log/result/CreateInsightResult.js.map +1 -1
  79. package/log/result/CreateInsightResult.ts +0 -1
  80. package/log/result/CreateNamespaceResult.js.map +1 -1
  81. package/log/result/CreateNamespaceResult.ts +0 -1
  82. package/log/result/DeleteInsightResult.js.map +1 -1
  83. package/log/result/DeleteInsightResult.ts +0 -1
  84. package/log/result/DeleteNamespaceResult.js.map +1 -1
  85. package/log/result/DeleteNamespaceResult.ts +0 -1
  86. package/log/result/DescribeInsightsResult.js.map +1 -1
  87. package/log/result/DescribeInsightsResult.ts +0 -1
  88. package/log/result/DescribeNamespacesResult.js.map +1 -1
  89. package/log/result/DescribeNamespacesResult.ts +0 -1
  90. package/log/result/GetInsightResult.js.map +1 -1
  91. package/log/result/GetInsightResult.ts +0 -1
  92. package/log/result/GetNamespaceResult.js.map +1 -1
  93. package/log/result/GetNamespaceResult.ts +0 -1
  94. package/log/result/GetNamespaceStatusResult.js.map +1 -1
  95. package/log/result/GetNamespaceStatusResult.ts +0 -2
  96. package/log/result/PutLogResult.js.map +1 -1
  97. package/log/result/PutLogResult.ts +0 -2
  98. package/log/result/QueryAccessLogResult.js.map +1 -1
  99. package/log/result/QueryAccessLogResult.ts +0 -1
  100. package/log/result/QueryAccessLogWithTelemetryResult.d.ts +26 -0
  101. package/log/result/QueryAccessLogWithTelemetryResult.js +95 -0
  102. package/log/result/QueryAccessLogWithTelemetryResult.js.map +1 -0
  103. package/log/result/QueryAccessLogWithTelemetryResult.ts +106 -0
  104. package/log/result/QueryExecuteStampSheetLogResult.js.map +1 -1
  105. package/log/result/QueryExecuteStampSheetLogResult.ts +0 -1
  106. package/log/result/QueryExecuteStampTaskLogResult.js.map +1 -1
  107. package/log/result/QueryExecuteStampTaskLogResult.ts +0 -1
  108. package/log/result/QueryIssueStampSheetLogResult.js.map +1 -1
  109. package/log/result/QueryIssueStampSheetLogResult.ts +0 -1
  110. package/log/result/UpdateNamespaceResult.js.map +1 -1
  111. package/log/result/UpdateNamespaceResult.ts +0 -1
  112. package/log/result/index.d.ts +2 -1
  113. package/log/result/index.js +3 -1
  114. package/log/result/index.js.map +1 -1
  115. package/log/result/index.ts +2 -0
  116. package/package.json +1 -1
  117. package/seasonRating/index.d.ts +5 -0
  118. package/seasonRating/index.js +28 -0
  119. package/seasonRating/index.js.map +1 -0
  120. package/seasonRating/index.ts +27 -0
  121. package/seasonRating/model/Ballot.d.ts +25 -0
  122. package/seasonRating/model/Ballot.js +90 -0
  123. package/seasonRating/model/Ballot.js.map +1 -0
  124. package/seasonRating/model/Ballot.ts +88 -0
  125. package/seasonRating/model/CurrentSeasonModelMaster.d.ts +22 -0
  126. package/seasonRating/model/CurrentSeasonModelMaster.js +111 -0
  127. package/seasonRating/model/CurrentSeasonModelMaster.js.map +1 -0
  128. package/seasonRating/model/CurrentSeasonModelMaster.ts +121 -0
  129. package/seasonRating/model/GameResult.d.ts +17 -0
  130. package/seasonRating/model/GameResult.js +62 -0
  131. package/seasonRating/model/GameResult.js.map +1 -0
  132. package/seasonRating/model/GameResult.ts +60 -0
  133. package/seasonRating/model/GitHubCheckoutSetting.d.ts +37 -0
  134. package/seasonRating/model/GitHubCheckoutSetting.js +132 -0
  135. package/seasonRating/model/GitHubCheckoutSetting.js.map +1 -0
  136. package/seasonRating/model/GitHubCheckoutSetting.ts +130 -0
  137. package/seasonRating/model/LogSetting.d.ts +13 -0
  138. package/seasonRating/model/LogSetting.js +48 -0
  139. package/seasonRating/model/LogSetting.js.map +1 -0
  140. package/seasonRating/model/LogSetting.ts +46 -0
  141. package/seasonRating/model/MatchSession.d.ts +31 -0
  142. package/seasonRating/model/MatchSession.js +157 -0
  143. package/seasonRating/model/MatchSession.js.map +1 -0
  144. package/seasonRating/model/MatchSession.ts +170 -0
  145. package/seasonRating/model/Namespace.d.ts +43 -0
  146. package/seasonRating/model/Namespace.js +184 -0
  147. package/seasonRating/model/Namespace.js.map +1 -0
  148. package/seasonRating/model/Namespace.ts +192 -0
  149. package/seasonRating/model/ScriptSetting.d.ts +25 -0
  150. package/seasonRating/model/ScriptSetting.js +90 -0
  151. package/seasonRating/model/ScriptSetting.js.map +1 -0
  152. package/seasonRating/model/ScriptSetting.ts +88 -0
  153. package/seasonRating/model/SeasonModel.d.ts +36 -0
  154. package/seasonRating/model/SeasonModel.js +179 -0
  155. package/seasonRating/model/SeasonModel.js.map +1 -0
  156. package/seasonRating/model/SeasonModel.ts +193 -0
  157. package/seasonRating/model/SeasonModelMaster.d.ts +52 -0
  158. package/seasonRating/model/SeasonModelMaster.js +235 -0
  159. package/seasonRating/model/SeasonModelMaster.js.map +1 -0
  160. package/seasonRating/model/SeasonModelMaster.ts +249 -0
  161. package/seasonRating/model/SignedBallot.d.ts +17 -0
  162. package/seasonRating/model/SignedBallot.js +62 -0
  163. package/seasonRating/model/SignedBallot.js.map +1 -0
  164. package/seasonRating/model/SignedBallot.ts +60 -0
  165. package/seasonRating/model/TierModel.d.ts +29 -0
  166. package/seasonRating/model/TierModel.js +104 -0
  167. package/seasonRating/model/TierModel.js.map +1 -0
  168. package/seasonRating/model/TierModel.ts +102 -0
  169. package/seasonRating/model/TransactionSetting.d.ts +25 -0
  170. package/seasonRating/model/TransactionSetting.js +90 -0
  171. package/seasonRating/model/TransactionSetting.js.map +1 -0
  172. package/seasonRating/model/TransactionSetting.ts +88 -0
  173. package/seasonRating/model/Vote.d.ts +45 -0
  174. package/seasonRating/model/Vote.js +227 -0
  175. package/seasonRating/model/Vote.js.map +1 -0
  176. package/seasonRating/model/Vote.ts +246 -0
  177. package/seasonRating/model/WrittenBallot.d.ts +19 -0
  178. package/seasonRating/model/WrittenBallot.js +72 -0
  179. package/seasonRating/model/WrittenBallot.js.map +1 -0
  180. package/seasonRating/model/WrittenBallot.ts +70 -0
  181. package/seasonRating/model/index.d.ts +16 -0
  182. package/seasonRating/model/index.js +50 -0
  183. package/seasonRating/model/index.js.map +1 -0
  184. package/seasonRating/model/index.ts +48 -0
  185. package/seasonRating/request/CheckCleanUserDataByUserIdRequest.d.ts +25 -0
  186. package/seasonRating/request/CheckCleanUserDataByUserIdRequest.js +81 -0
  187. package/seasonRating/request/CheckCleanUserDataByUserIdRequest.js.map +1 -0
  188. package/seasonRating/request/CheckCleanUserDataByUserIdRequest.ts +91 -0
  189. package/seasonRating/request/CheckDumpUserDataByUserIdRequest.d.ts +25 -0
  190. package/seasonRating/request/CheckDumpUserDataByUserIdRequest.js +81 -0
  191. package/seasonRating/request/CheckDumpUserDataByUserIdRequest.js.map +1 -0
  192. package/seasonRating/request/CheckDumpUserDataByUserIdRequest.ts +91 -0
  193. package/seasonRating/request/CheckImportUserDataByUserIdRequest.d.ts +29 -0
  194. package/seasonRating/request/CheckImportUserDataByUserIdRequest.js +95 -0
  195. package/seasonRating/request/CheckImportUserDataByUserIdRequest.js.map +1 -0
  196. package/seasonRating/request/CheckImportUserDataByUserIdRequest.ts +105 -0
  197. package/seasonRating/request/CleanUserDataByUserIdRequest.d.ts +25 -0
  198. package/seasonRating/request/CleanUserDataByUserIdRequest.js +81 -0
  199. package/seasonRating/request/CleanUserDataByUserIdRequest.js.map +1 -0
  200. package/seasonRating/request/CleanUserDataByUserIdRequest.ts +91 -0
  201. package/seasonRating/request/CommitVoteRequest.d.ts +29 -0
  202. package/seasonRating/request/CommitVoteRequest.js +97 -0
  203. package/seasonRating/request/CommitVoteRequest.js.map +1 -0
  204. package/seasonRating/request/CommitVoteRequest.ts +104 -0
  205. package/seasonRating/request/CreateMatchSessionRequest.d.ts +29 -0
  206. package/seasonRating/request/CreateMatchSessionRequest.js +97 -0
  207. package/seasonRating/request/CreateMatchSessionRequest.js.map +1 -0
  208. package/seasonRating/request/CreateMatchSessionRequest.ts +104 -0
  209. package/seasonRating/request/CreateNamespaceRequest.d.ts +30 -0
  210. package/seasonRating/request/CreateNamespaceRequest.js +100 -0
  211. package/seasonRating/request/CreateNamespaceRequest.js.map +1 -0
  212. package/seasonRating/request/CreateNamespaceRequest.ts +104 -0
  213. package/seasonRating/request/CreateSeasonModelMasterRequest.d.ts +42 -0
  214. package/seasonRating/request/CreateSeasonModelMasterRequest.js +147 -0
  215. package/seasonRating/request/CreateSeasonModelMasterRequest.js.map +1 -0
  216. package/seasonRating/request/CreateSeasonModelMasterRequest.ts +154 -0
  217. package/seasonRating/request/DeleteMatchSessionRequest.d.ts +25 -0
  218. package/seasonRating/request/DeleteMatchSessionRequest.js +83 -0
  219. package/seasonRating/request/DeleteMatchSessionRequest.js.map +1 -0
  220. package/seasonRating/request/DeleteMatchSessionRequest.ts +90 -0
  221. package/seasonRating/request/DeleteNamespaceRequest.d.ts +21 -0
  222. package/seasonRating/request/DeleteNamespaceRequest.js +69 -0
  223. package/seasonRating/request/DeleteNamespaceRequest.js.map +1 -0
  224. package/seasonRating/request/DeleteNamespaceRequest.ts +76 -0
  225. package/seasonRating/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
  226. package/seasonRating/request/DeleteSeasonModelMasterRequest.js +83 -0
  227. package/seasonRating/request/DeleteSeasonModelMasterRequest.js.map +1 -0
  228. package/seasonRating/request/DeleteSeasonModelMasterRequest.ts +90 -0
  229. package/seasonRating/request/DescribeMatchSessionsRequest.d.ts +29 -0
  230. package/seasonRating/request/DescribeMatchSessionsRequest.js +97 -0
  231. package/seasonRating/request/DescribeMatchSessionsRequest.js.map +1 -0
  232. package/seasonRating/request/DescribeMatchSessionsRequest.ts +104 -0
  233. package/seasonRating/request/DescribeNamespacesRequest.d.ts +25 -0
  234. package/seasonRating/request/DescribeNamespacesRequest.js +83 -0
  235. package/seasonRating/request/DescribeNamespacesRequest.js.map +1 -0
  236. package/seasonRating/request/DescribeNamespacesRequest.ts +90 -0
  237. package/seasonRating/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
  238. package/seasonRating/request/DescribeSeasonModelMastersRequest.js +97 -0
  239. package/seasonRating/request/DescribeSeasonModelMastersRequest.js.map +1 -0
  240. package/seasonRating/request/DescribeSeasonModelMastersRequest.ts +104 -0
  241. package/seasonRating/request/DescribeSeasonModelsRequest.d.ts +21 -0
  242. package/seasonRating/request/DescribeSeasonModelsRequest.js +69 -0
  243. package/seasonRating/request/DescribeSeasonModelsRequest.js.map +1 -0
  244. package/seasonRating/request/DescribeSeasonModelsRequest.ts +76 -0
  245. package/seasonRating/request/DumpUserDataByUserIdRequest.d.ts +25 -0
  246. package/seasonRating/request/DumpUserDataByUserIdRequest.js +81 -0
  247. package/seasonRating/request/DumpUserDataByUserIdRequest.js.map +1 -0
  248. package/seasonRating/request/DumpUserDataByUserIdRequest.ts +91 -0
  249. package/seasonRating/request/ExportMasterRequest.d.ts +21 -0
  250. package/seasonRating/request/ExportMasterRequest.js +69 -0
  251. package/seasonRating/request/ExportMasterRequest.js.map +1 -0
  252. package/seasonRating/request/ExportMasterRequest.ts +76 -0
  253. package/seasonRating/request/GetBallotByUserIdRequest.d.ts +41 -0
  254. package/seasonRating/request/GetBallotByUserIdRequest.js +139 -0
  255. package/seasonRating/request/GetBallotByUserIdRequest.js.map +1 -0
  256. package/seasonRating/request/GetBallotByUserIdRequest.ts +146 -0
  257. package/seasonRating/request/GetBallotRequest.d.ts +41 -0
  258. package/seasonRating/request/GetBallotRequest.js +139 -0
  259. package/seasonRating/request/GetBallotRequest.js.map +1 -0
  260. package/seasonRating/request/GetBallotRequest.ts +146 -0
  261. package/seasonRating/request/GetCurrentSeasonModelMasterRequest.d.ts +21 -0
  262. package/seasonRating/request/GetCurrentSeasonModelMasterRequest.js +69 -0
  263. package/seasonRating/request/GetCurrentSeasonModelMasterRequest.js.map +1 -0
  264. package/seasonRating/request/GetCurrentSeasonModelMasterRequest.ts +76 -0
  265. package/seasonRating/request/GetMatchSessionRequest.d.ts +25 -0
  266. package/seasonRating/request/GetMatchSessionRequest.js +83 -0
  267. package/seasonRating/request/GetMatchSessionRequest.js.map +1 -0
  268. package/seasonRating/request/GetMatchSessionRequest.ts +90 -0
  269. package/seasonRating/request/GetNamespaceRequest.d.ts +21 -0
  270. package/seasonRating/request/GetNamespaceRequest.js +69 -0
  271. package/seasonRating/request/GetNamespaceRequest.js.map +1 -0
  272. package/seasonRating/request/GetNamespaceRequest.ts +76 -0
  273. package/seasonRating/request/GetNamespaceStatusRequest.d.ts +21 -0
  274. package/seasonRating/request/GetNamespaceStatusRequest.js +69 -0
  275. package/seasonRating/request/GetNamespaceStatusRequest.js.map +1 -0
  276. package/seasonRating/request/GetNamespaceStatusRequest.ts +76 -0
  277. package/seasonRating/request/GetSeasonModelMasterRequest.d.ts +25 -0
  278. package/seasonRating/request/GetSeasonModelMasterRequest.js +83 -0
  279. package/seasonRating/request/GetSeasonModelMasterRequest.js.map +1 -0
  280. package/seasonRating/request/GetSeasonModelMasterRequest.ts +90 -0
  281. package/seasonRating/request/GetSeasonModelRequest.d.ts +25 -0
  282. package/seasonRating/request/GetSeasonModelRequest.js +83 -0
  283. package/seasonRating/request/GetSeasonModelRequest.js.map +1 -0
  284. package/seasonRating/request/GetSeasonModelRequest.ts +90 -0
  285. package/seasonRating/request/ImportUserDataByUserIdRequest.d.ts +29 -0
  286. package/seasonRating/request/ImportUserDataByUserIdRequest.js +95 -0
  287. package/seasonRating/request/ImportUserDataByUserIdRequest.js.map +1 -0
  288. package/seasonRating/request/ImportUserDataByUserIdRequest.ts +105 -0
  289. package/seasonRating/request/PrepareImportUserDataByUserIdRequest.d.ts +25 -0
  290. package/seasonRating/request/PrepareImportUserDataByUserIdRequest.js +81 -0
  291. package/seasonRating/request/PrepareImportUserDataByUserIdRequest.js.map +1 -0
  292. package/seasonRating/request/PrepareImportUserDataByUserIdRequest.ts +91 -0
  293. package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.d.ts +26 -0
  294. package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.js +86 -0
  295. package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.js.map +1 -0
  296. package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.ts +90 -0
  297. package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.d.ts +25 -0
  298. package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.js +83 -0
  299. package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.js.map +1 -0
  300. package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.ts +90 -0
  301. package/seasonRating/request/UpdateNamespaceRequest.d.ts +30 -0
  302. package/seasonRating/request/UpdateNamespaceRequest.js +100 -0
  303. package/seasonRating/request/UpdateNamespaceRequest.js.map +1 -0
  304. package/seasonRating/request/UpdateNamespaceRequest.ts +104 -0
  305. package/seasonRating/request/UpdateSeasonModelMasterRequest.d.ts +42 -0
  306. package/seasonRating/request/UpdateSeasonModelMasterRequest.js +147 -0
  307. package/seasonRating/request/UpdateSeasonModelMasterRequest.js.map +1 -0
  308. package/seasonRating/request/UpdateSeasonModelMasterRequest.ts +154 -0
  309. package/seasonRating/request/VoteMultipleRequest.d.ts +34 -0
  310. package/seasonRating/request/VoteMultipleRequest.js +125 -0
  311. package/seasonRating/request/VoteMultipleRequest.js.map +1 -0
  312. package/seasonRating/request/VoteMultipleRequest.ts +134 -0
  313. package/seasonRating/request/VoteRequest.d.ts +38 -0
  314. package/seasonRating/request/VoteRequest.js +133 -0
  315. package/seasonRating/request/VoteRequest.js.map +1 -0
  316. package/seasonRating/request/VoteRequest.ts +140 -0
  317. package/seasonRating/request/index.d.ts +34 -0
  318. package/seasonRating/request/index.js +86 -0
  319. package/seasonRating/request/index.js.map +1 -0
  320. package/seasonRating/request/index.ts +84 -0
  321. package/seasonRating/rest.d.ts +40 -0
  322. package/seasonRating/rest.js +893 -0
  323. package/seasonRating/rest.js.map +1 -0
  324. package/seasonRating/rest.ts +1023 -0
  325. package/seasonRating/result/CheckCleanUserDataByUserIdResult.d.ts +9 -0
  326. package/seasonRating/result/CheckCleanUserDataByUserIdResult.js +30 -0
  327. package/seasonRating/result/CheckCleanUserDataByUserIdResult.js.map +1 -0
  328. package/seasonRating/result/CheckCleanUserDataByUserIdResult.ts +29 -0
  329. package/seasonRating/result/CheckDumpUserDataByUserIdResult.d.ts +13 -0
  330. package/seasonRating/result/CheckDumpUserDataByUserIdResult.js +45 -0
  331. package/seasonRating/result/CheckDumpUserDataByUserIdResult.js.map +1 -0
  332. package/seasonRating/result/CheckDumpUserDataByUserIdResult.ts +46 -0
  333. package/seasonRating/result/CheckImportUserDataByUserIdResult.d.ts +13 -0
  334. package/seasonRating/result/CheckImportUserDataByUserIdResult.js +45 -0
  335. package/seasonRating/result/CheckImportUserDataByUserIdResult.js.map +1 -0
  336. package/seasonRating/result/CheckImportUserDataByUserIdResult.ts +46 -0
  337. package/seasonRating/result/CleanUserDataByUserIdResult.d.ts +9 -0
  338. package/seasonRating/result/CleanUserDataByUserIdResult.js +30 -0
  339. package/seasonRating/result/CleanUserDataByUserIdResult.js.map +1 -0
  340. package/seasonRating/result/CleanUserDataByUserIdResult.ts +29 -0
  341. package/seasonRating/result/CommitVoteResult.d.ts +9 -0
  342. package/seasonRating/result/CommitVoteResult.js +30 -0
  343. package/seasonRating/result/CommitVoteResult.js.map +1 -0
  344. package/seasonRating/result/CommitVoteResult.ts +29 -0
  345. package/seasonRating/result/CreateMatchSessionResult.d.ts +14 -0
  346. package/seasonRating/result/CreateMatchSessionResult.js +48 -0
  347. package/seasonRating/result/CreateMatchSessionResult.js.map +1 -0
  348. package/seasonRating/result/CreateMatchSessionResult.ts +47 -0
  349. package/seasonRating/result/CreateNamespaceResult.d.ts +14 -0
  350. package/seasonRating/result/CreateNamespaceResult.js +48 -0
  351. package/seasonRating/result/CreateNamespaceResult.js.map +1 -0
  352. package/seasonRating/result/CreateNamespaceResult.ts +47 -0
  353. package/seasonRating/result/CreateSeasonModelMasterResult.d.ts +14 -0
  354. package/seasonRating/result/CreateSeasonModelMasterResult.js +48 -0
  355. package/seasonRating/result/CreateSeasonModelMasterResult.js.map +1 -0
  356. package/seasonRating/result/CreateSeasonModelMasterResult.ts +47 -0
  357. package/seasonRating/result/DeleteMatchSessionResult.d.ts +14 -0
  358. package/seasonRating/result/DeleteMatchSessionResult.js +48 -0
  359. package/seasonRating/result/DeleteMatchSessionResult.js.map +1 -0
  360. package/seasonRating/result/DeleteMatchSessionResult.ts +47 -0
  361. package/seasonRating/result/DeleteNamespaceResult.d.ts +14 -0
  362. package/seasonRating/result/DeleteNamespaceResult.js +48 -0
  363. package/seasonRating/result/DeleteNamespaceResult.js.map +1 -0
  364. package/seasonRating/result/DeleteNamespaceResult.ts +47 -0
  365. package/seasonRating/result/DeleteSeasonModelMasterResult.d.ts +14 -0
  366. package/seasonRating/result/DeleteSeasonModelMasterResult.js +48 -0
  367. package/seasonRating/result/DeleteSeasonModelMasterResult.js.map +1 -0
  368. package/seasonRating/result/DeleteSeasonModelMasterResult.ts +47 -0
  369. package/seasonRating/result/DescribeMatchSessionsResult.d.ts +18 -0
  370. package/seasonRating/result/DescribeMatchSessionsResult.js +67 -0
  371. package/seasonRating/result/DescribeMatchSessionsResult.js.map +1 -0
  372. package/seasonRating/result/DescribeMatchSessionsResult.ts +72 -0
  373. package/seasonRating/result/DescribeNamespacesResult.d.ts +18 -0
  374. package/seasonRating/result/DescribeNamespacesResult.js +67 -0
  375. package/seasonRating/result/DescribeNamespacesResult.js.map +1 -0
  376. package/seasonRating/result/DescribeNamespacesResult.ts +72 -0
  377. package/seasonRating/result/DescribeSeasonModelMastersResult.d.ts +18 -0
  378. package/seasonRating/result/DescribeSeasonModelMastersResult.js +67 -0
  379. package/seasonRating/result/DescribeSeasonModelMastersResult.js.map +1 -0
  380. package/seasonRating/result/DescribeSeasonModelMastersResult.ts +72 -0
  381. package/seasonRating/result/DescribeSeasonModelsResult.d.ts +14 -0
  382. package/seasonRating/result/DescribeSeasonModelsResult.js +53 -0
  383. package/seasonRating/result/DescribeSeasonModelsResult.js.map +1 -0
  384. package/seasonRating/result/DescribeSeasonModelsResult.ts +55 -0
  385. package/seasonRating/result/DumpUserDataByUserIdResult.d.ts +9 -0
  386. package/seasonRating/result/DumpUserDataByUserIdResult.js +30 -0
  387. package/seasonRating/result/DumpUserDataByUserIdResult.js.map +1 -0
  388. package/seasonRating/result/DumpUserDataByUserIdResult.ts +29 -0
  389. package/seasonRating/result/ExportMasterResult.d.ts +14 -0
  390. package/seasonRating/result/ExportMasterResult.js +48 -0
  391. package/seasonRating/result/ExportMasterResult.js.map +1 -0
  392. package/seasonRating/result/ExportMasterResult.ts +47 -0
  393. package/seasonRating/result/GetBallotByUserIdResult.d.ts +22 -0
  394. package/seasonRating/result/GetBallotByUserIdResult.js +76 -0
  395. package/seasonRating/result/GetBallotByUserIdResult.js.map +1 -0
  396. package/seasonRating/result/GetBallotByUserIdResult.ts +81 -0
  397. package/seasonRating/result/GetBallotResult.d.ts +22 -0
  398. package/seasonRating/result/GetBallotResult.js +76 -0
  399. package/seasonRating/result/GetBallotResult.js.map +1 -0
  400. package/seasonRating/result/GetBallotResult.ts +81 -0
  401. package/seasonRating/result/GetCurrentSeasonModelMasterResult.d.ts +14 -0
  402. package/seasonRating/result/GetCurrentSeasonModelMasterResult.js +48 -0
  403. package/seasonRating/result/GetCurrentSeasonModelMasterResult.js.map +1 -0
  404. package/seasonRating/result/GetCurrentSeasonModelMasterResult.ts +47 -0
  405. package/seasonRating/result/GetMatchSessionResult.d.ts +14 -0
  406. package/seasonRating/result/GetMatchSessionResult.js +48 -0
  407. package/seasonRating/result/GetMatchSessionResult.js.map +1 -0
  408. package/seasonRating/result/GetMatchSessionResult.ts +47 -0
  409. package/seasonRating/result/GetNamespaceResult.d.ts +14 -0
  410. package/seasonRating/result/GetNamespaceResult.js +48 -0
  411. package/seasonRating/result/GetNamespaceResult.js.map +1 -0
  412. package/seasonRating/result/GetNamespaceResult.ts +47 -0
  413. package/seasonRating/result/GetNamespaceStatusResult.d.ts +13 -0
  414. package/seasonRating/result/GetNamespaceStatusResult.js +45 -0
  415. package/seasonRating/result/GetNamespaceStatusResult.js.map +1 -0
  416. package/seasonRating/result/GetNamespaceStatusResult.ts +46 -0
  417. package/seasonRating/result/GetSeasonModelMasterResult.d.ts +14 -0
  418. package/seasonRating/result/GetSeasonModelMasterResult.js +48 -0
  419. package/seasonRating/result/GetSeasonModelMasterResult.js.map +1 -0
  420. package/seasonRating/result/GetSeasonModelMasterResult.ts +47 -0
  421. package/seasonRating/result/GetSeasonModelResult.d.ts +14 -0
  422. package/seasonRating/result/GetSeasonModelResult.js +48 -0
  423. package/seasonRating/result/GetSeasonModelResult.js.map +1 -0
  424. package/seasonRating/result/GetSeasonModelResult.ts +47 -0
  425. package/seasonRating/result/ImportUserDataByUserIdResult.d.ts +9 -0
  426. package/seasonRating/result/ImportUserDataByUserIdResult.js +30 -0
  427. package/seasonRating/result/ImportUserDataByUserIdResult.js.map +1 -0
  428. package/seasonRating/result/ImportUserDataByUserIdResult.ts +29 -0
  429. package/seasonRating/result/PrepareImportUserDataByUserIdResult.d.ts +17 -0
  430. package/seasonRating/result/PrepareImportUserDataByUserIdResult.js +59 -0
  431. package/seasonRating/result/PrepareImportUserDataByUserIdResult.js.map +1 -0
  432. package/seasonRating/result/PrepareImportUserDataByUserIdResult.ts +63 -0
  433. package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.d.ts +14 -0
  434. package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.js +48 -0
  435. package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.js.map +1 -0
  436. package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.ts +47 -0
  437. package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.d.ts +14 -0
  438. package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.js +48 -0
  439. package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.js.map +1 -0
  440. package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.ts +47 -0
  441. package/seasonRating/result/UpdateNamespaceResult.d.ts +14 -0
  442. package/seasonRating/result/UpdateNamespaceResult.js +48 -0
  443. package/seasonRating/result/UpdateNamespaceResult.js.map +1 -0
  444. package/seasonRating/result/UpdateNamespaceResult.ts +47 -0
  445. package/seasonRating/result/UpdateSeasonModelMasterResult.d.ts +14 -0
  446. package/seasonRating/result/UpdateSeasonModelMasterResult.js +48 -0
  447. package/seasonRating/result/UpdateSeasonModelMasterResult.js.map +1 -0
  448. package/seasonRating/result/UpdateSeasonModelMasterResult.ts +47 -0
  449. package/seasonRating/result/VoteMultipleResult.d.ts +14 -0
  450. package/seasonRating/result/VoteMultipleResult.js +48 -0
  451. package/seasonRating/result/VoteMultipleResult.js.map +1 -0
  452. package/seasonRating/result/VoteMultipleResult.ts +47 -0
  453. package/seasonRating/result/VoteResult.d.ts +14 -0
  454. package/seasonRating/result/VoteResult.js +48 -0
  455. package/seasonRating/result/VoteResult.js.map +1 -0
  456. package/seasonRating/result/VoteResult.ts +47 -0
  457. package/seasonRating/result/index.d.ts +34 -0
  458. package/seasonRating/result/index.js +86 -0
  459. package/seasonRating/result/index.js.map +1 -0
  460. package/seasonRating/result/index.ts +84 -0
@@ -0,0 +1,184 @@
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 LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
20
+ var grnFormat = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}";
21
+ var Namespace = /** @class */ (function () {
22
+ function Namespace() {
23
+ this.namespaceId = null;
24
+ this.name = null;
25
+ this.description = null;
26
+ this.logSetting = null;
27
+ this.createdAt = null;
28
+ this.updatedAt = null;
29
+ this.revision = null;
30
+ }
31
+ Namespace.getRegion = function (grn) {
32
+ var match = grn.match(grnFormat
33
+ .replace('{region}', '(.*)')
34
+ .replace('{ownerId}', '.*')
35
+ .replace('{namespaceName}', '.*'));
36
+ if (match) {
37
+ return match[1];
38
+ }
39
+ return null;
40
+ };
41
+ Namespace.getOwnerId = function (grn) {
42
+ var match = grn.match(grnFormat
43
+ .replace('{region}', '.*')
44
+ .replace('{ownerId}', '(.*)')
45
+ .replace('{namespaceName}', '.*'));
46
+ if (match) {
47
+ return match[1];
48
+ }
49
+ return null;
50
+ };
51
+ Namespace.getNamespaceName = function (grn) {
52
+ var match = grn.match(grnFormat
53
+ .replace('{region}', '.*')
54
+ .replace('{ownerId}', '.*')
55
+ .replace('{namespaceName}', '(.*)'));
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ };
61
+ Namespace.isValid = function (grn) {
62
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
63
+ return false;
64
+ }
65
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
66
+ return false;
67
+ }
68
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
69
+ return false;
70
+ }
71
+ return true;
72
+ };
73
+ Namespace.createGrn = function (region, ownerId, namespaceName) {
74
+ return grnFormat
75
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
76
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
77
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '');
78
+ };
79
+ Namespace.prototype.getNamespaceId = function () {
80
+ return this.namespaceId;
81
+ };
82
+ Namespace.prototype.setNamespaceId = function (namespaceId) {
83
+ this.namespaceId = namespaceId;
84
+ return this;
85
+ };
86
+ Namespace.prototype.withNamespaceId = function (namespaceId) {
87
+ this.namespaceId = namespaceId;
88
+ return this;
89
+ };
90
+ Namespace.prototype.getName = function () {
91
+ return this.name;
92
+ };
93
+ Namespace.prototype.setName = function (name) {
94
+ this.name = name;
95
+ return this;
96
+ };
97
+ Namespace.prototype.withName = function (name) {
98
+ this.name = name;
99
+ return this;
100
+ };
101
+ Namespace.prototype.getDescription = function () {
102
+ return this.description;
103
+ };
104
+ Namespace.prototype.setDescription = function (description) {
105
+ this.description = description;
106
+ return this;
107
+ };
108
+ Namespace.prototype.withDescription = function (description) {
109
+ this.description = description;
110
+ return this;
111
+ };
112
+ Namespace.prototype.getLogSetting = function () {
113
+ return this.logSetting;
114
+ };
115
+ Namespace.prototype.setLogSetting = function (logSetting) {
116
+ this.logSetting = logSetting;
117
+ return this;
118
+ };
119
+ Namespace.prototype.withLogSetting = function (logSetting) {
120
+ this.logSetting = logSetting;
121
+ return this;
122
+ };
123
+ Namespace.prototype.getCreatedAt = function () {
124
+ return this.createdAt;
125
+ };
126
+ Namespace.prototype.setCreatedAt = function (createdAt) {
127
+ this.createdAt = createdAt;
128
+ return this;
129
+ };
130
+ Namespace.prototype.withCreatedAt = function (createdAt) {
131
+ this.createdAt = createdAt;
132
+ return this;
133
+ };
134
+ Namespace.prototype.getUpdatedAt = function () {
135
+ return this.updatedAt;
136
+ };
137
+ Namespace.prototype.setUpdatedAt = function (updatedAt) {
138
+ this.updatedAt = updatedAt;
139
+ return this;
140
+ };
141
+ Namespace.prototype.withUpdatedAt = function (updatedAt) {
142
+ this.updatedAt = updatedAt;
143
+ return this;
144
+ };
145
+ Namespace.prototype.getRevision = function () {
146
+ return this.revision;
147
+ };
148
+ Namespace.prototype.setRevision = function (revision) {
149
+ this.revision = revision;
150
+ return this;
151
+ };
152
+ Namespace.prototype.withRevision = function (revision) {
153
+ this.revision = revision;
154
+ return this;
155
+ };
156
+ Namespace.fromDict = function (data) {
157
+ if (data == undefined || data == null) {
158
+ return null;
159
+ }
160
+ return new Namespace()
161
+ .withNamespaceId(data["namespaceId"])
162
+ .withName(data["name"])
163
+ .withDescription(data["description"])
164
+ .withLogSetting(LogSetting_1.default.fromDict(data["logSetting"]))
165
+ .withCreatedAt(data["createdAt"])
166
+ .withUpdatedAt(data["updatedAt"])
167
+ .withRevision(data["revision"]);
168
+ };
169
+ Namespace.prototype.toDict = function () {
170
+ var _a;
171
+ return {
172
+ "namespaceId": this.getNamespaceId(),
173
+ "name": this.getName(),
174
+ "description": this.getDescription(),
175
+ "logSetting": (_a = this.getLogSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
176
+ "createdAt": this.getCreatedAt(),
177
+ "updatedAt": this.getUpdatedAt(),
178
+ "revision": this.getRevision(),
179
+ };
180
+ };
181
+ return Namespace;
182
+ }());
183
+ exports.default = Namespace;
184
+ //# sourceMappingURL=Namespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,oEAAsC;AACtC,IAAM,SAAS,GAAW,yDAAyD,CAAC;AAEpF;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAoB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IAoKzC,CAAC;IAlKiB,mBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EA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C;IAChB,CAAC;IAEa,kBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,SAAS,EAAE;aACjB,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,cAAc,CAAC,oBAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;aACvD,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,0BAAM,GAAb;;QACI,OAAO;YACH,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,gBAAC;AAAD,CAAC,AA3KD,IA2KC"}
@@ -0,0 +1,192 @@
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 LogSetting from './LogSetting';
19
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}";
20
+
21
+ export default class Namespace implements IModel {
22
+ private namespaceId: string|null = null;
23
+ private name: string|null = null;
24
+ private description: string|null = null;
25
+ private logSetting: LogSetting|null = null;
26
+ private createdAt: number|null = null;
27
+ private updatedAt: number|null = null;
28
+ private revision: number|null = null;
29
+
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ );
36
+ if (match) {
37
+ return match[1];
38
+ }
39
+ return null;
40
+ }
41
+
42
+ public static getOwnerId(grn: string): string|null {
43
+ const match = grn.match(grnFormat
44
+ .replace('{region}', '.*')
45
+ .replace('{ownerId}', '(.*)')
46
+ .replace('{namespaceName}', '.*')
47
+ );
48
+ if (match) {
49
+ return match[1];
50
+ }
51
+ return null;
52
+ }
53
+
54
+ public static getNamespaceName(grn: string): string|null {
55
+ const match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{namespaceName}', '(.*)')
59
+ );
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ }
65
+
66
+ public static isValid(grn: string): boolean {
67
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
68
+ return false;
69
+ }
70
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
71
+ return false;
72
+ }
73
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
74
+ return false;
75
+ }
76
+ return true;
77
+ }
78
+
79
+ public static createGrn(
80
+ region: string|null,
81
+ ownerId: string|null,
82
+ namespaceName: string|null,
83
+ ): string|null {
84
+ return grnFormat
85
+ .replace('{region}', region ?? '')
86
+ .replace('{ownerId}', ownerId ?? '')
87
+ .replace('{namespaceName}', namespaceName ?? '');
88
+ }
89
+ public getNamespaceId(): string|null {
90
+ return this.namespaceId;
91
+ }
92
+ public setNamespaceId(namespaceId: string|null) {
93
+ this.namespaceId = namespaceId;
94
+ return this;
95
+ }
96
+ public withNamespaceId(namespaceId: string|null): this {
97
+ this.namespaceId = namespaceId;
98
+ return this;
99
+ }
100
+ public getName(): string|null {
101
+ return this.name;
102
+ }
103
+ public setName(name: string|null) {
104
+ this.name = name;
105
+ return this;
106
+ }
107
+ public withName(name: string|null): this {
108
+ this.name = name;
109
+ return this;
110
+ }
111
+ public getDescription(): string|null {
112
+ return this.description;
113
+ }
114
+ public setDescription(description: string|null) {
115
+ this.description = description;
116
+ return this;
117
+ }
118
+ public withDescription(description: string|null): this {
119
+ this.description = description;
120
+ return this;
121
+ }
122
+ public getLogSetting(): LogSetting|null {
123
+ return this.logSetting;
124
+ }
125
+ public setLogSetting(logSetting: LogSetting|null) {
126
+ this.logSetting = logSetting;
127
+ return this;
128
+ }
129
+ public withLogSetting(logSetting: LogSetting|null): this {
130
+ this.logSetting = logSetting;
131
+ return this;
132
+ }
133
+ public getCreatedAt(): number|null {
134
+ return this.createdAt;
135
+ }
136
+ public setCreatedAt(createdAt: number|null) {
137
+ this.createdAt = createdAt;
138
+ return this;
139
+ }
140
+ public withCreatedAt(createdAt: number|null): this {
141
+ this.createdAt = createdAt;
142
+ return this;
143
+ }
144
+ public getUpdatedAt(): number|null {
145
+ return this.updatedAt;
146
+ }
147
+ public setUpdatedAt(updatedAt: number|null) {
148
+ this.updatedAt = updatedAt;
149
+ return this;
150
+ }
151
+ public withUpdatedAt(updatedAt: number|null): this {
152
+ this.updatedAt = updatedAt;
153
+ return this;
154
+ }
155
+ public getRevision(): number|null {
156
+ return this.revision;
157
+ }
158
+ public setRevision(revision: number|null) {
159
+ this.revision = revision;
160
+ return this;
161
+ }
162
+ public withRevision(revision: number|null): this {
163
+ this.revision = revision;
164
+ return this;
165
+ }
166
+
167
+ public static fromDict(data: {[key: string]: any}): Namespace|null {
168
+ if (data == undefined || data == null) {
169
+ return null;
170
+ }
171
+ return new Namespace()
172
+ .withNamespaceId(data["namespaceId"])
173
+ .withName(data["name"])
174
+ .withDescription(data["description"])
175
+ .withLogSetting(LogSetting.fromDict(data["logSetting"]))
176
+ .withCreatedAt(data["createdAt"])
177
+ .withUpdatedAt(data["updatedAt"])
178
+ .withRevision(data["revision"]);
179
+ }
180
+
181
+ public toDict(): {[key: string]: any} {
182
+ return {
183
+ "namespaceId": this.getNamespaceId(),
184
+ "name": this.getName(),
185
+ "description": this.getDescription(),
186
+ "logSetting": this.getLogSetting()?.toDict(),
187
+ "createdAt": this.getCreatedAt(),
188
+ "updatedAt": this.getUpdatedAt(),
189
+ "revision": this.getRevision(),
190
+ };
191
+ }
192
+ }
@@ -0,0 +1,25 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class ScriptSetting implements IModel {
3
+ private triggerScriptId;
4
+ private doneTriggerTargetType;
5
+ private doneTriggerScriptId;
6
+ private doneTriggerQueueNamespaceId;
7
+ getTriggerScriptId(): string | null;
8
+ setTriggerScriptId(triggerScriptId: string | null): this;
9
+ withTriggerScriptId(triggerScriptId: string | null): this;
10
+ getDoneTriggerTargetType(): string | null;
11
+ setDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
12
+ withDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
13
+ getDoneTriggerScriptId(): string | null;
14
+ setDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
15
+ withDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
16
+ getDoneTriggerQueueNamespaceId(): string | null;
17
+ setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
18
+ withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): ScriptSetting | null;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }
@@ -0,0 +1,90 @@
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 ScriptSetting = /** @class */ (function () {
19
+ function ScriptSetting() {
20
+ this.triggerScriptId = null;
21
+ this.doneTriggerTargetType = null;
22
+ this.doneTriggerScriptId = null;
23
+ this.doneTriggerQueueNamespaceId = null;
24
+ }
25
+ ScriptSetting.prototype.getTriggerScriptId = function () {
26
+ return this.triggerScriptId;
27
+ };
28
+ ScriptSetting.prototype.setTriggerScriptId = function (triggerScriptId) {
29
+ this.triggerScriptId = triggerScriptId;
30
+ return this;
31
+ };
32
+ ScriptSetting.prototype.withTriggerScriptId = function (triggerScriptId) {
33
+ this.triggerScriptId = triggerScriptId;
34
+ return this;
35
+ };
36
+ ScriptSetting.prototype.getDoneTriggerTargetType = function () {
37
+ return this.doneTriggerTargetType;
38
+ };
39
+ ScriptSetting.prototype.setDoneTriggerTargetType = function (doneTriggerTargetType) {
40
+ this.doneTriggerTargetType = doneTriggerTargetType;
41
+ return this;
42
+ };
43
+ ScriptSetting.prototype.withDoneTriggerTargetType = function (doneTriggerTargetType) {
44
+ this.doneTriggerTargetType = doneTriggerTargetType;
45
+ return this;
46
+ };
47
+ ScriptSetting.prototype.getDoneTriggerScriptId = function () {
48
+ return this.doneTriggerScriptId;
49
+ };
50
+ ScriptSetting.prototype.setDoneTriggerScriptId = function (doneTriggerScriptId) {
51
+ this.doneTriggerScriptId = doneTriggerScriptId;
52
+ return this;
53
+ };
54
+ ScriptSetting.prototype.withDoneTriggerScriptId = function (doneTriggerScriptId) {
55
+ this.doneTriggerScriptId = doneTriggerScriptId;
56
+ return this;
57
+ };
58
+ ScriptSetting.prototype.getDoneTriggerQueueNamespaceId = function () {
59
+ return this.doneTriggerQueueNamespaceId;
60
+ };
61
+ ScriptSetting.prototype.setDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
62
+ this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
63
+ return this;
64
+ };
65
+ ScriptSetting.prototype.withDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
66
+ this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
67
+ return this;
68
+ };
69
+ ScriptSetting.fromDict = function (data) {
70
+ if (data == undefined || data == null) {
71
+ return null;
72
+ }
73
+ return new ScriptSetting()
74
+ .withTriggerScriptId(data["triggerScriptId"])
75
+ .withDoneTriggerTargetType(data["doneTriggerTargetType"])
76
+ .withDoneTriggerScriptId(data["doneTriggerScriptId"])
77
+ .withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
78
+ };
79
+ ScriptSetting.prototype.toDict = function () {
80
+ return {
81
+ "triggerScriptId": this.getTriggerScriptId(),
82
+ "doneTriggerTargetType": this.getDoneTriggerTargetType(),
83
+ "doneTriggerScriptId": this.getDoneTriggerScriptId(),
84
+ "doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
85
+ };
86
+ };
87
+ return ScriptSetting;
88
+ }());
89
+ exports.default = ScriptSetting;
90
+ //# sourceMappingURL=ScriptSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;QACpC,0BAAqB,GAAgB,IAAI,CAAC;Q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E,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,aAAa,EAAE;aACrB,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,yBAAyB,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;aACxD,uBAAuB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;aACpD,+BAA+B,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC9E,CAAC;IAEM,8BAAM,GAAb;QACI,OAAO;YACH,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,uBAAuB,EAAE,IAAI,CAAC,wBAAwB,EAAE;YACxD,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,6BAA6B,EAAE,IAAI,CAAC,8BAA8B,EAAE;SACvE,CAAC;IACN,CAAC;IACL,oBAAC;AAAD,CAAC,AArED,IAqEC"}
@@ -0,0 +1,88 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IModel from '../../core/interface/IModel';
18
+
19
+ export default class ScriptSetting implements IModel {
20
+ private triggerScriptId: string|null = null;
21
+ private doneTriggerTargetType: string|null = null;
22
+ private doneTriggerScriptId: string|null = null;
23
+ private doneTriggerQueueNamespaceId: string|null = null;
24
+ public getTriggerScriptId(): string|null {
25
+ return this.triggerScriptId;
26
+ }
27
+ public setTriggerScriptId(triggerScriptId: string|null) {
28
+ this.triggerScriptId = triggerScriptId;
29
+ return this;
30
+ }
31
+ public withTriggerScriptId(triggerScriptId: string|null): this {
32
+ this.triggerScriptId = triggerScriptId;
33
+ return this;
34
+ }
35
+ public getDoneTriggerTargetType(): string|null {
36
+ return this.doneTriggerTargetType;
37
+ }
38
+ public setDoneTriggerTargetType(doneTriggerTargetType: string|null) {
39
+ this.doneTriggerTargetType = doneTriggerTargetType;
40
+ return this;
41
+ }
42
+ public withDoneTriggerTargetType(doneTriggerTargetType: string|null): this {
43
+ this.doneTriggerTargetType = doneTriggerTargetType;
44
+ return this;
45
+ }
46
+ public getDoneTriggerScriptId(): string|null {
47
+ return this.doneTriggerScriptId;
48
+ }
49
+ public setDoneTriggerScriptId(doneTriggerScriptId: string|null) {
50
+ this.doneTriggerScriptId = doneTriggerScriptId;
51
+ return this;
52
+ }
53
+ public withDoneTriggerScriptId(doneTriggerScriptId: string|null): this {
54
+ this.doneTriggerScriptId = doneTriggerScriptId;
55
+ return this;
56
+ }
57
+ public getDoneTriggerQueueNamespaceId(): string|null {
58
+ return this.doneTriggerQueueNamespaceId;
59
+ }
60
+ public setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null) {
61
+ this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
62
+ return this;
63
+ }
64
+ public withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null): this {
65
+ this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
66
+ return this;
67
+ }
68
+
69
+ public static fromDict(data: {[key: string]: any}): ScriptSetting|null {
70
+ if (data == undefined || data == null) {
71
+ return null;
72
+ }
73
+ return new ScriptSetting()
74
+ .withTriggerScriptId(data["triggerScriptId"])
75
+ .withDoneTriggerTargetType(data["doneTriggerTargetType"])
76
+ .withDoneTriggerScriptId(data["doneTriggerScriptId"])
77
+ .withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
78
+ }
79
+
80
+ public toDict(): {[key: string]: any} {
81
+ return {
82
+ "triggerScriptId": this.getTriggerScriptId(),
83
+ "doneTriggerTargetType": this.getDoneTriggerTargetType(),
84
+ "doneTriggerScriptId": this.getDoneTriggerScriptId(),
85
+ "doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
86
+ };
87
+ }
88
+ }
@@ -0,0 +1,36 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import TierModel from './TierModel';
3
+ export default class SeasonModel implements IModel {
4
+ private seasonModelId;
5
+ private name;
6
+ private metadata;
7
+ private tiers;
8
+ private experienceModelId;
9
+ static getRegion(grn: string): string | null;
10
+ static getOwnerId(grn: string): string | null;
11
+ static getNamespaceName(grn: string): string | null;
12
+ static getSeasonName(grn: string): string | null;
13
+ static isValid(grn: string): boolean;
14
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null): string | null;
15
+ getSeasonModelId(): string | null;
16
+ setSeasonModelId(seasonModelId: string | null): this;
17
+ withSeasonModelId(seasonModelId: string | null): this;
18
+ getName(): string | null;
19
+ setName(name: string | null): this;
20
+ withName(name: string | null): this;
21
+ getMetadata(): string | null;
22
+ setMetadata(metadata: string | null): this;
23
+ withMetadata(metadata: string | null): this;
24
+ getTiers(): TierModel[] | null;
25
+ setTiers(tiers: TierModel[] | null): this;
26
+ withTiers(tiers: TierModel[] | null): this;
27
+ getExperienceModelId(): string | null;
28
+ setExperienceModelId(experienceModelId: string | null): this;
29
+ withExperienceModelId(experienceModelId: string | null): this;
30
+ static fromDict(data: {
31
+ [key: string]: any;
32
+ }): SeasonModel | null;
33
+ toDict(): {
34
+ [key: string]: any;
35
+ };
36
+ }