gs2 1.3.250 → 1.3.254

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 (235) hide show
  1. package/matchmaking/model/{CurrentRatingModelMaster.d.ts → CurrentModelMaster.d.ts} +2 -2
  2. package/matchmaking/model/{CurrentRatingModelMaster.js → CurrentModelMaster.js} +19 -19
  3. package/matchmaking/model/CurrentModelMaster.js.map +1 -0
  4. package/matchmaking/model/{CurrentRatingModelMaster.ts → CurrentModelMaster.ts} +3 -3
  5. package/matchmaking/model/JoinedSeasonGathering.d.ts +45 -0
  6. package/matchmaking/model/JoinedSeasonGathering.js +241 -0
  7. package/matchmaking/model/JoinedSeasonGathering.js.map +1 -0
  8. package/matchmaking/model/JoinedSeasonGathering.ts +260 -0
  9. package/matchmaking/model/SeasonGathering.d.ts +50 -0
  10. package/matchmaking/model/SeasonGathering.js +285 -0
  11. package/matchmaking/model/SeasonGathering.js.map +1 -0
  12. package/matchmaking/model/SeasonGathering.ts +309 -0
  13. package/matchmaking/model/SeasonModel.d.ts +39 -0
  14. package/matchmaking/model/SeasonModel.js +185 -0
  15. package/matchmaking/model/SeasonModel.js.map +1 -0
  16. package/matchmaking/model/SeasonModel.ts +198 -0
  17. package/matchmaking/model/SeasonModelMaster.d.ts +55 -0
  18. package/matchmaking/model/SeasonModelMaster.js +241 -0
  19. package/matchmaking/model/SeasonModelMaster.js.map +1 -0
  20. package/matchmaking/model/SeasonModelMaster.ts +254 -0
  21. package/matchmaking/model/index.d.ts +6 -2
  22. package/matchmaking/model/index.js +11 -3
  23. package/matchmaking/model/index.js.map +1 -1
  24. package/matchmaking/model/index.ts +10 -2
  25. package/matchmaking/request/CreateSeasonModelMasterRequest.d.ts +45 -0
  26. package/matchmaking/request/CreateSeasonModelMasterRequest.js +153 -0
  27. package/matchmaking/request/CreateSeasonModelMasterRequest.js.map +1 -0
  28. package/matchmaking/request/CreateSeasonModelMasterRequest.ts +160 -0
  29. package/matchmaking/request/DeleteSeasonGatheringRequest.d.ts +37 -0
  30. package/matchmaking/request/DeleteSeasonGatheringRequest.js +125 -0
  31. package/matchmaking/request/DeleteSeasonGatheringRequest.js.map +1 -0
  32. package/matchmaking/request/DeleteSeasonGatheringRequest.ts +132 -0
  33. package/matchmaking/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
  34. package/matchmaking/request/DeleteSeasonModelMasterRequest.js +83 -0
  35. package/matchmaking/request/DeleteSeasonModelMasterRequest.js.map +1 -0
  36. package/matchmaking/request/DeleteSeasonModelMasterRequest.ts +90 -0
  37. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.d.ts +41 -0
  38. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js +139 -0
  39. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js.map +1 -0
  40. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.ts +146 -0
  41. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.d.ts +37 -0
  42. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js +125 -0
  43. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js.map +1 -0
  44. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.ts +132 -0
  45. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.d.ts +41 -0
  46. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js +139 -0
  47. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js.map +1 -0
  48. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.ts +146 -0
  49. package/matchmaking/request/DescribeSeasonGatheringsRequest.d.ts +41 -0
  50. package/matchmaking/request/DescribeSeasonGatheringsRequest.js +139 -0
  51. package/matchmaking/request/DescribeSeasonGatheringsRequest.js.map +1 -0
  52. package/matchmaking/request/DescribeSeasonGatheringsRequest.ts +146 -0
  53. package/matchmaking/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
  54. package/matchmaking/request/DescribeSeasonModelMastersRequest.js +97 -0
  55. package/matchmaking/request/DescribeSeasonModelMastersRequest.js.map +1 -0
  56. package/matchmaking/request/DescribeSeasonModelMastersRequest.ts +104 -0
  57. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.d.ts → DescribeSeasonModelsRequest.d.ts} +2 -2
  58. package/matchmaking/request/DescribeSeasonModelsRequest.js +69 -0
  59. package/matchmaking/request/DescribeSeasonModelsRequest.js.map +1 -0
  60. package/matchmaking/request/DescribeSeasonModelsRequest.ts +76 -0
  61. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.d.ts +41 -0
  62. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js +137 -0
  63. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js.map +1 -0
  64. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.ts +147 -0
  65. package/matchmaking/request/DoSeasonMatchmakingRequest.d.ts +37 -0
  66. package/matchmaking/request/DoSeasonMatchmakingRequest.js +123 -0
  67. package/matchmaking/request/DoSeasonMatchmakingRequest.js.map +1 -0
  68. package/matchmaking/request/DoSeasonMatchmakingRequest.ts +133 -0
  69. package/matchmaking/request/GetCurrentModelMasterRequest.d.ts +21 -0
  70. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.js → GetCurrentModelMasterRequest.js} +17 -17
  71. package/matchmaking/request/GetCurrentModelMasterRequest.js.map +1 -0
  72. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.ts → GetCurrentModelMasterRequest.ts} +3 -3
  73. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.d.ts +37 -0
  74. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js +125 -0
  75. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js.map +1 -0
  76. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.ts +132 -0
  77. package/matchmaking/request/GetJoinedSeasonGatheringRequest.d.ts +33 -0
  78. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js +111 -0
  79. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js.map +1 -0
  80. package/matchmaking/request/GetJoinedSeasonGatheringRequest.ts +118 -0
  81. package/matchmaking/request/GetSeasonGatheringRequest.d.ts +37 -0
  82. package/matchmaking/request/GetSeasonGatheringRequest.js +125 -0
  83. package/matchmaking/request/GetSeasonGatheringRequest.js.map +1 -0
  84. package/matchmaking/request/GetSeasonGatheringRequest.ts +132 -0
  85. package/matchmaking/request/GetSeasonModelMasterRequest.d.ts +25 -0
  86. package/matchmaking/request/GetSeasonModelMasterRequest.js +83 -0
  87. package/matchmaking/request/GetSeasonModelMasterRequest.js.map +1 -0
  88. package/matchmaking/request/GetSeasonModelMasterRequest.ts +90 -0
  89. package/matchmaking/request/GetSeasonModelRequest.d.ts +25 -0
  90. package/matchmaking/request/GetSeasonModelRequest.js +83 -0
  91. package/matchmaking/request/GetSeasonModelRequest.js.map +1 -0
  92. package/matchmaking/request/GetSeasonModelRequest.ts +90 -0
  93. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.d.ts → UpdateCurrentModelMasterFromGitHubRequest.d.ts} +2 -2
  94. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.js → UpdateCurrentModelMasterFromGitHubRequest.js} +20 -20
  95. package/matchmaking/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
  96. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.ts → UpdateCurrentModelMasterFromGitHubRequest.ts} +3 -3
  97. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.d.ts → UpdateCurrentModelMasterRequest.d.ts} +2 -2
  98. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.js → UpdateCurrentModelMasterRequest.js} +20 -20
  99. package/matchmaking/request/UpdateCurrentModelMasterRequest.js.map +1 -0
  100. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.ts → UpdateCurrentModelMasterRequest.ts} +3 -3
  101. package/matchmaking/request/UpdateSeasonModelMasterRequest.d.ts +45 -0
  102. package/matchmaking/request/UpdateSeasonModelMasterRequest.js +153 -0
  103. package/matchmaking/request/UpdateSeasonModelMasterRequest.js.map +1 -0
  104. package/matchmaking/request/UpdateSeasonModelMasterRequest.ts +160 -0
  105. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.d.ts +25 -0
  106. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js +83 -0
  107. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js.map +1 -0
  108. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.ts +90 -0
  109. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.d.ts +53 -0
  110. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js +179 -0
  111. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js.map +1 -0
  112. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.ts +189 -0
  113. package/matchmaking/request/VerifyIncludeParticipantRequest.d.ts +49 -0
  114. package/matchmaking/request/VerifyIncludeParticipantRequest.js +165 -0
  115. package/matchmaking/request/VerifyIncludeParticipantRequest.js.map +1 -0
  116. package/matchmaking/request/VerifyIncludeParticipantRequest.ts +175 -0
  117. package/matchmaking/request/index.d.ts +24 -4
  118. package/matchmaking/request/index.js +48 -8
  119. package/matchmaking/request/index.js.map +1 -1
  120. package/matchmaking/request/index.ts +46 -6
  121. package/matchmaking/rest.d.ts +23 -3
  122. package/matchmaking/rest.js +574 -6
  123. package/matchmaking/rest.js.map +1 -1
  124. package/matchmaking/rest.ts +654 -6
  125. package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
  126. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
  127. package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
  128. package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
  129. package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
  130. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
  131. package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
  132. package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
  133. package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
  134. package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
  135. package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
  136. package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
  137. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
  138. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
  139. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
  140. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
  141. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
  142. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
  143. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
  144. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
  145. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
  146. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
  147. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
  148. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
  149. package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
  150. package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
  151. package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
  152. package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
  153. package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
  154. package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
  155. package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
  156. package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
  157. package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
  158. package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
  159. package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
  160. package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
  161. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
  162. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
  163. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
  164. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
  165. package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
  166. package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
  167. package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
  168. package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
  169. package/matchmaking/result/ExportMasterResult.d.ts +3 -3
  170. package/matchmaking/result/ExportMasterResult.js +1 -1
  171. package/matchmaking/result/ExportMasterResult.js.map +1 -1
  172. package/matchmaking/result/ExportMasterResult.ts +5 -5
  173. package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
  174. package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
  175. package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
  176. package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
  177. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
  178. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
  179. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
  180. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
  181. package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
  182. package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
  183. package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
  184. package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
  185. package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
  186. package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
  187. package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
  188. package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
  189. package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
  190. package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
  191. package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
  192. package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
  193. package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
  194. package/matchmaking/result/GetSeasonModelResult.js +48 -0
  195. package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
  196. package/matchmaking/result/GetSeasonModelResult.ts +47 -0
  197. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
  198. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
  199. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
  200. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
  201. package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
  202. package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
  203. package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
  204. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
  205. package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
  206. package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
  207. package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
  208. package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
  209. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.d.ts +13 -0
  210. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js +45 -0
  211. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js.map +1 -0
  212. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.ts +46 -0
  213. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.d.ts +9 -0
  214. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js +30 -0
  215. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js.map +1 -0
  216. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.ts +29 -0
  217. package/matchmaking/result/VerifyIncludeParticipantResult.d.ts +9 -0
  218. package/matchmaking/result/VerifyIncludeParticipantResult.js +30 -0
  219. package/matchmaking/result/VerifyIncludeParticipantResult.js.map +1 -0
  220. package/matchmaking/result/VerifyIncludeParticipantResult.ts +29 -0
  221. package/matchmaking/result/index.d.ts +24 -4
  222. package/matchmaking/result/index.js +48 -8
  223. package/matchmaking/result/index.js.map +1 -1
  224. package/matchmaking/result/index.ts +46 -6
  225. package/package.json +1 -1
  226. package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
  227. package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
  228. package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
  229. package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
  230. package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
  231. package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
  232. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
  233. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
  234. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
  235. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
@@ -1115,7 +1115,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1115
1115
  throw JSON.parse(error.response.data.message);
1116
1116
  });
1117
1117
  };
1118
- Gs2MatchmakingRestClient.prototype.getCurrentRatingModelMaster = function (request) {
1118
+ Gs2MatchmakingRestClient.prototype.getCurrentModelMaster = function (request) {
1119
1119
  var _a, _b, _c;
1120
1120
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1121
1121
  .replace('{service}', 'matchmaking')
@@ -1132,12 +1132,12 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1132
1132
  params: params,
1133
1133
  headers: headers,
1134
1134
  }).then(function (response) {
1135
- return Result.GetCurrentRatingModelMasterResult.fromDict(response.data);
1135
+ return Result.GetCurrentModelMasterResult.fromDict(response.data);
1136
1136
  }).catch(function (error) {
1137
1137
  throw JSON.parse(error.response.data.message);
1138
1138
  });
1139
1139
  };
1140
- Gs2MatchmakingRestClient.prototype.updateCurrentRatingModelMaster = function (request) {
1140
+ Gs2MatchmakingRestClient.prototype.updateCurrentModelMaster = function (request) {
1141
1141
  var _a, _b, _c, _d;
1142
1142
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1143
1143
  .replace('{service}', 'matchmaking')
@@ -1154,7 +1154,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1154
1154
  return axios_1.default.put(url, body, {
1155
1155
  headers: headers,
1156
1156
  }).then(function (response) {
1157
- return Result.UpdateCurrentRatingModelMasterResult.fromDict(response.data);
1157
+ return Result.UpdateCurrentModelMasterResult.fromDict(response.data);
1158
1158
  }).catch(function (error) {
1159
1159
  if (error.response) {
1160
1160
  throw JSON.parse(error.response.data.message);
@@ -1164,7 +1164,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1164
1164
  }
1165
1165
  });
1166
1166
  };
1167
- Gs2MatchmakingRestClient.prototype.updateCurrentRatingModelMasterFromGitHub = function (request) {
1167
+ Gs2MatchmakingRestClient.prototype.updateCurrentModelMasterFromGitHub = function (request) {
1168
1168
  var _a, _b, _c, _d, _e;
1169
1169
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
1170
1170
  .replace('{service}', 'matchmaking')
@@ -1181,7 +1181,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1181
1181
  return axios_1.default.put(url, body, {
1182
1182
  headers: headers,
1183
1183
  }).then(function (response) {
1184
- return Result.UpdateCurrentRatingModelMasterFromGitHubResult.fromDict(response.data);
1184
+ return Result.UpdateCurrentModelMasterFromGitHubResult.fromDict(response.data);
1185
1185
  }).catch(function (error) {
1186
1186
  if (error.response) {
1187
1187
  throw JSON.parse(error.response.data.message);
@@ -1191,6 +1191,574 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1191
1191
  }
1192
1192
  });
1193
1193
  };
1194
+ Gs2MatchmakingRestClient.prototype.describeSeasonModels = function (request) {
1195
+ var _a, _b, _c;
1196
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season')
1197
+ .replace('{service}', 'matchmaking')
1198
+ .replace('{region}', this.session.region)
1199
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1200
+ var headers = this.createAuthorizedHeaders();
1201
+ if (request.getRequestId()) {
1202
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1203
+ }
1204
+ var params = {
1205
+ 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1206
+ };
1207
+ return axios_1.default.get(url, {
1208
+ params: params,
1209
+ headers: headers,
1210
+ }).then(function (response) {
1211
+ return Result.DescribeSeasonModelsResult.fromDict(response.data);
1212
+ }).catch(function (error) {
1213
+ throw JSON.parse(error.response.data.message);
1214
+ });
1215
+ };
1216
+ Gs2MatchmakingRestClient.prototype.getSeasonModel = function (request) {
1217
+ var _a, _b, _c, _d, _e;
1218
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}')
1219
+ .replace('{service}', 'matchmaking')
1220
+ .replace('{region}', this.session.region)
1221
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1222
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1223
+ var headers = this.createAuthorizedHeaders();
1224
+ if (request.getRequestId()) {
1225
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1226
+ }
1227
+ var params = {
1228
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1229
+ };
1230
+ return axios_1.default.get(url, {
1231
+ params: params,
1232
+ headers: headers,
1233
+ }).then(function (response) {
1234
+ return Result.GetSeasonModelResult.fromDict(response.data);
1235
+ }).catch(function (error) {
1236
+ throw JSON.parse(error.response.data.message);
1237
+ });
1238
+ };
1239
+ Gs2MatchmakingRestClient.prototype.describeSeasonModelMasters = function (request) {
1240
+ var _a, _b, _c, _d, _e;
1241
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1242
+ .replace('{service}', 'matchmaking')
1243
+ .replace('{region}', this.session.region)
1244
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1245
+ var headers = this.createAuthorizedHeaders();
1246
+ if (request.getRequestId()) {
1247
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1248
+ }
1249
+ var params = {
1250
+ 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1251
+ 'pageToken': String((_d = request.getPageToken()) !== null && _d !== void 0 ? _d : null),
1252
+ 'limit': String((_e = request.getLimit()) !== null && _e !== void 0 ? _e : null),
1253
+ };
1254
+ return axios_1.default.get(url, {
1255
+ params: params,
1256
+ headers: headers,
1257
+ }).then(function (response) {
1258
+ return Result.DescribeSeasonModelMastersResult.fromDict(response.data);
1259
+ }).catch(function (error) {
1260
+ throw JSON.parse(error.response.data.message);
1261
+ });
1262
+ };
1263
+ Gs2MatchmakingRestClient.prototype.createSeasonModelMaster = function (request) {
1264
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1265
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1266
+ .replace('{service}', 'matchmaking')
1267
+ .replace('{region}', this.session.region)
1268
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1269
+ var headers = this.createAuthorizedHeaders();
1270
+ if (request.getRequestId()) {
1271
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1272
+ }
1273
+ var body = {
1274
+ 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1275
+ 'name': (_d = request.getName()) !== null && _d !== void 0 ? _d : null,
1276
+ 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
1277
+ 'metadata': (_f = request.getMetadata()) !== null && _f !== void 0 ? _f : null,
1278
+ 'maximumParticipants': (_g = request.getMaximumParticipants()) !== null && _g !== void 0 ? _g : null,
1279
+ 'experienceModelId': (_h = request.getExperienceModelId()) !== null && _h !== void 0 ? _h : null,
1280
+ 'challengePeriodEventId': (_j = request.getChallengePeriodEventId()) !== null && _j !== void 0 ? _j : null,
1281
+ };
1282
+ return axios_1.default.post(url, body, {
1283
+ headers: headers,
1284
+ }).then(function (response) {
1285
+ return Result.CreateSeasonModelMasterResult.fromDict(response.data);
1286
+ }).catch(function (error) {
1287
+ if (error.response) {
1288
+ throw JSON.parse(error.response.data.message);
1289
+ }
1290
+ else {
1291
+ throw [];
1292
+ }
1293
+ });
1294
+ };
1295
+ Gs2MatchmakingRestClient.prototype.getSeasonModelMaster = function (request) {
1296
+ var _a, _b, _c, _d, _e;
1297
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1298
+ .replace('{service}', 'matchmaking')
1299
+ .replace('{region}', this.session.region)
1300
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1301
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1302
+ var headers = this.createAuthorizedHeaders();
1303
+ if (request.getRequestId()) {
1304
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1305
+ }
1306
+ var params = {
1307
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1308
+ };
1309
+ return axios_1.default.get(url, {
1310
+ params: params,
1311
+ headers: headers,
1312
+ }).then(function (response) {
1313
+ return Result.GetSeasonModelMasterResult.fromDict(response.data);
1314
+ }).catch(function (error) {
1315
+ throw JSON.parse(error.response.data.message);
1316
+ });
1317
+ };
1318
+ Gs2MatchmakingRestClient.prototype.updateSeasonModelMaster = function (request) {
1319
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1320
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1321
+ .replace('{service}', 'matchmaking')
1322
+ .replace('{region}', this.session.region)
1323
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1324
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1325
+ var headers = this.createAuthorizedHeaders();
1326
+ if (request.getRequestId()) {
1327
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1328
+ }
1329
+ var body = {
1330
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1331
+ 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
1332
+ 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
1333
+ 'maximumParticipants': (_h = request.getMaximumParticipants()) !== null && _h !== void 0 ? _h : null,
1334
+ 'experienceModelId': (_j = request.getExperienceModelId()) !== null && _j !== void 0 ? _j : null,
1335
+ 'challengePeriodEventId': (_k = request.getChallengePeriodEventId()) !== null && _k !== void 0 ? _k : null,
1336
+ };
1337
+ return axios_1.default.put(url, body, {
1338
+ headers: headers,
1339
+ }).then(function (response) {
1340
+ return Result.UpdateSeasonModelMasterResult.fromDict(response.data);
1341
+ }).catch(function (error) {
1342
+ if (error.response) {
1343
+ throw JSON.parse(error.response.data.message);
1344
+ }
1345
+ else {
1346
+ throw [];
1347
+ }
1348
+ });
1349
+ };
1350
+ Gs2MatchmakingRestClient.prototype.deleteSeasonModelMaster = function (request) {
1351
+ var _a, _b, _c, _d, _e;
1352
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1353
+ .replace('{service}', 'matchmaking')
1354
+ .replace('{region}', this.session.region)
1355
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1356
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1357
+ var headers = this.createAuthorizedHeaders();
1358
+ if (request.getRequestId()) {
1359
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1360
+ }
1361
+ var params = {
1362
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1363
+ };
1364
+ return axios_1.default.delete(url, {
1365
+ params: params,
1366
+ headers: headers,
1367
+ }).then(function (response) {
1368
+ return Result.DeleteSeasonModelMasterResult.fromDict(response.data);
1369
+ }).catch(function (error) {
1370
+ throw JSON.parse(error.response.data.message);
1371
+ });
1372
+ };
1373
+ Gs2MatchmakingRestClient.prototype.describeSeasonGatherings = function (request) {
1374
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1375
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering')
1376
+ .replace('{service}', 'matchmaking')
1377
+ .replace('{region}', this.session.region)
1378
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1379
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1380
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1381
+ .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'));
1382
+ var headers = this.createAuthorizedHeaders();
1383
+ if (request.getRequestId()) {
1384
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1385
+ }
1386
+ var params = {
1387
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1388
+ 'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
1389
+ 'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
1390
+ };
1391
+ return axios_1.default.get(url, {
1392
+ params: params,
1393
+ headers: headers,
1394
+ }).then(function (response) {
1395
+ return Result.DescribeSeasonGatheringsResult.fromDict(response.data);
1396
+ }).catch(function (error) {
1397
+ throw JSON.parse(error.response.data.message);
1398
+ });
1399
+ };
1400
+ Gs2MatchmakingRestClient.prototype.describeMatchmakingSeasonGatherings = function (request) {
1401
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1402
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering/matchmaking')
1403
+ .replace('{service}', 'matchmaking')
1404
+ .replace('{region}', this.session.region)
1405
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1406
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1407
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'));
1408
+ var headers = this.createAuthorizedHeaders();
1409
+ if (request.getRequestId()) {
1410
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1411
+ }
1412
+ var params = {
1413
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1414
+ 'tier': String((_h = request.getTier()) !== null && _h !== void 0 ? _h : null),
1415
+ 'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
1416
+ 'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
1417
+ };
1418
+ return axios_1.default.get(url, {
1419
+ params: params,
1420
+ headers: headers,
1421
+ }).then(function (response) {
1422
+ return Result.DescribeMatchmakingSeasonGatheringsResult.fromDict(response.data);
1423
+ }).catch(function (error) {
1424
+ throw JSON.parse(error.response.data.message);
1425
+ });
1426
+ };
1427
+ Gs2MatchmakingRestClient.prototype.doSeasonMatchmaking = function (request) {
1428
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1429
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/do')
1430
+ .replace('{service}', 'matchmaking')
1431
+ .replace('{region}', this.session.region)
1432
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1433
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1434
+ var headers = this.createAuthorizedHeaders();
1435
+ if (request.getRequestId()) {
1436
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1437
+ }
1438
+ if (request.getAccessToken()) {
1439
+ headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1440
+ }
1441
+ if (request.getDuplicationAvoider()) {
1442
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
1443
+ }
1444
+ var body = {
1445
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1446
+ 'matchmakingContextToken': (_h = request.getMatchmakingContextToken()) !== null && _h !== void 0 ? _h : null,
1447
+ };
1448
+ return axios_1.default.post(url, body, {
1449
+ headers: headers,
1450
+ }).then(function (response) {
1451
+ return Result.DoSeasonMatchmakingResult.fromDict(response.data);
1452
+ }).catch(function (error) {
1453
+ if (error.response) {
1454
+ throw JSON.parse(error.response.data.message);
1455
+ }
1456
+ else {
1457
+ throw [];
1458
+ }
1459
+ });
1460
+ };
1461
+ Gs2MatchmakingRestClient.prototype.doSeasonMatchmakingByUserId = function (request) {
1462
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1463
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/do')
1464
+ .replace('{service}', 'matchmaking')
1465
+ .replace('{region}', this.session.region)
1466
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1467
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1468
+ .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
1469
+ var headers = this.createAuthorizedHeaders();
1470
+ if (request.getRequestId()) {
1471
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1472
+ }
1473
+ if (request.getDuplicationAvoider()) {
1474
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
1475
+ }
1476
+ if (request.getTimeOffsetToken()) {
1477
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1478
+ }
1479
+ var body = {
1480
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1481
+ 'matchmakingContextToken': (_k = request.getMatchmakingContextToken()) !== null && _k !== void 0 ? _k : null,
1482
+ };
1483
+ return axios_1.default.post(url, body, {
1484
+ headers: headers,
1485
+ }).then(function (response) {
1486
+ return Result.DoSeasonMatchmakingByUserIdResult.fromDict(response.data);
1487
+ }).catch(function (error) {
1488
+ if (error.response) {
1489
+ throw JSON.parse(error.response.data.message);
1490
+ }
1491
+ else {
1492
+ throw [];
1493
+ }
1494
+ });
1495
+ };
1496
+ Gs2MatchmakingRestClient.prototype.getSeasonGathering = function (request) {
1497
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1498
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1499
+ .replace('{service}', 'matchmaking')
1500
+ .replace('{region}', this.session.region)
1501
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1502
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1503
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1504
+ .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1505
+ .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1506
+ var headers = this.createAuthorizedHeaders();
1507
+ if (request.getRequestId()) {
1508
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1509
+ }
1510
+ var params = {
1511
+ 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
1512
+ };
1513
+ return axios_1.default.get(url, {
1514
+ params: params,
1515
+ headers: headers,
1516
+ }).then(function (response) {
1517
+ return Result.GetSeasonGatheringResult.fromDict(response.data);
1518
+ }).catch(function (error) {
1519
+ throw JSON.parse(error.response.data.message);
1520
+ });
1521
+ };
1522
+ Gs2MatchmakingRestClient.prototype.verifyIncludeParticipant = function (request) {
1523
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
1524
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/me/verify')
1525
+ .replace('{service}', 'matchmaking')
1526
+ .replace('{region}', this.session.region)
1527
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1528
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1529
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1530
+ .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1531
+ .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1532
+ var headers = this.createAuthorizedHeaders();
1533
+ if (request.getRequestId()) {
1534
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1535
+ }
1536
+ if (request.getAccessToken()) {
1537
+ headers['X-GS2-ACCESS-TOKEN'] = (_l = request.getAccessToken()) !== null && _l !== void 0 ? _l : null;
1538
+ }
1539
+ if (request.getDuplicationAvoider()) {
1540
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_m = request.getDuplicationAvoider()) !== null && _m !== void 0 ? _m : null;
1541
+ }
1542
+ var body = {
1543
+ 'contextStack': (_o = request.getContextStack()) !== null && _o !== void 0 ? _o : null,
1544
+ 'verifyType': (_p = request.getVerifyType()) !== null && _p !== void 0 ? _p : null,
1545
+ };
1546
+ return axios_1.default.post(url, body, {
1547
+ headers: headers,
1548
+ }).then(function (response) {
1549
+ return Result.VerifyIncludeParticipantResult.fromDict(response.data);
1550
+ }).catch(function (error) {
1551
+ if (error.response) {
1552
+ throw JSON.parse(error.response.data.message);
1553
+ }
1554
+ else {
1555
+ throw [];
1556
+ }
1557
+ });
1558
+ };
1559
+ Gs2MatchmakingRestClient.prototype.verifyIncludeParticipantByUserId = function (request) {
1560
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
1561
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/{userId}/verify')
1562
+ .replace('{service}', 'matchmaking')
1563
+ .replace('{region}', this.session.region)
1564
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1565
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1566
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1567
+ .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1568
+ .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'))
1569
+ .replace('{userId}', String((_l = request.getUserId()) !== null && _l !== void 0 ? _l : 'null') === "" ? "null" : String((_m = request.getUserId()) !== null && _m !== void 0 ? _m : 'null'));
1570
+ var headers = this.createAuthorizedHeaders();
1571
+ if (request.getRequestId()) {
1572
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1573
+ }
1574
+ if (request.getDuplicationAvoider()) {
1575
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_o = request.getDuplicationAvoider()) !== null && _o !== void 0 ? _o : null;
1576
+ }
1577
+ if (request.getTimeOffsetToken()) {
1578
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_p = request.getTimeOffsetToken()) !== null && _p !== void 0 ? _p : null;
1579
+ }
1580
+ var body = {
1581
+ 'contextStack': (_q = request.getContextStack()) !== null && _q !== void 0 ? _q : null,
1582
+ 'verifyType': (_r = request.getVerifyType()) !== null && _r !== void 0 ? _r : null,
1583
+ };
1584
+ return axios_1.default.post(url, body, {
1585
+ headers: headers,
1586
+ }).then(function (response) {
1587
+ return Result.VerifyIncludeParticipantByUserIdResult.fromDict(response.data);
1588
+ }).catch(function (error) {
1589
+ if (error.response) {
1590
+ throw JSON.parse(error.response.data.message);
1591
+ }
1592
+ else {
1593
+ throw [];
1594
+ }
1595
+ });
1596
+ };
1597
+ Gs2MatchmakingRestClient.prototype.deleteSeasonGathering = function (request) {
1598
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1599
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1600
+ .replace('{service}', 'matchmaking')
1601
+ .replace('{region}', this.session.region)
1602
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1603
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1604
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1605
+ .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1606
+ .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1607
+ var headers = this.createAuthorizedHeaders();
1608
+ if (request.getRequestId()) {
1609
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1610
+ }
1611
+ var params = {
1612
+ 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
1613
+ };
1614
+ return axios_1.default.delete(url, {
1615
+ params: params,
1616
+ headers: headers,
1617
+ }).then(function (response) {
1618
+ return Result.DeleteSeasonGatheringResult.fromDict(response.data);
1619
+ }).catch(function (error) {
1620
+ throw JSON.parse(error.response.data.message);
1621
+ });
1622
+ };
1623
+ Gs2MatchmakingRestClient.prototype.verifyIncludeParticipantByStampTask = function (request) {
1624
+ var _a, _b, _c;
1625
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/season/gathering/participant/verify')
1626
+ .replace('{service}', 'matchmaking')
1627
+ .replace('{region}', this.session.region);
1628
+ var headers = this.createAuthorizedHeaders();
1629
+ if (request.getRequestId()) {
1630
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1631
+ }
1632
+ var body = {
1633
+ 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1634
+ 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
1635
+ 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
1636
+ };
1637
+ return axios_1.default.post(url, body, {
1638
+ headers: headers,
1639
+ }).then(function (response) {
1640
+ return Result.VerifyIncludeParticipantByStampTaskResult.fromDict(response.data);
1641
+ }).catch(function (error) {
1642
+ if (error.response) {
1643
+ throw JSON.parse(error.response.data.message);
1644
+ }
1645
+ else {
1646
+ throw [];
1647
+ }
1648
+ });
1649
+ };
1650
+ Gs2MatchmakingRestClient.prototype.describeJoinedSeasonGatherings = function (request) {
1651
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1652
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join')
1653
+ .replace('{service}', 'matchmaking')
1654
+ .replace('{region}', this.session.region)
1655
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1656
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1657
+ var headers = this.createAuthorizedHeaders();
1658
+ if (request.getRequestId()) {
1659
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1660
+ }
1661
+ if (request.getAccessToken()) {
1662
+ headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1663
+ }
1664
+ var params = {
1665
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1666
+ 'pageToken': String((_g = request.getPageToken()) !== null && _g !== void 0 ? _g : null),
1667
+ 'limit': String((_h = request.getLimit()) !== null && _h !== void 0 ? _h : null),
1668
+ };
1669
+ return axios_1.default.get(url, {
1670
+ params: params,
1671
+ headers: headers,
1672
+ }).then(function (response) {
1673
+ return Result.DescribeJoinedSeasonGatheringsResult.fromDict(response.data);
1674
+ }).catch(function (error) {
1675
+ throw JSON.parse(error.response.data.message);
1676
+ });
1677
+ };
1678
+ Gs2MatchmakingRestClient.prototype.describeJoinedSeasonGatheringsByUserId = function (request) {
1679
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1680
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join')
1681
+ .replace('{service}', 'matchmaking')
1682
+ .replace('{region}', this.session.region)
1683
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1684
+ .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1685
+ .replace('{seasonName}', String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null'));
1686
+ var headers = this.createAuthorizedHeaders();
1687
+ if (request.getRequestId()) {
1688
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1689
+ }
1690
+ if (request.getTimeOffsetToken()) {
1691
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
1692
+ }
1693
+ var params = {
1694
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1695
+ 'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
1696
+ 'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
1697
+ };
1698
+ return axios_1.default.get(url, {
1699
+ params: params,
1700
+ headers: headers,
1701
+ }).then(function (response) {
1702
+ return Result.DescribeJoinedSeasonGatheringsByUserIdResult.fromDict(response.data);
1703
+ }).catch(function (error) {
1704
+ throw JSON.parse(error.response.data.message);
1705
+ });
1706
+ };
1707
+ Gs2MatchmakingRestClient.prototype.getJoinedSeasonGathering = function (request) {
1708
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1709
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join/{season}')
1710
+ .replace('{service}', 'matchmaking')
1711
+ .replace('{region}', this.session.region)
1712
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1713
+ .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1714
+ .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'));
1715
+ var headers = this.createAuthorizedHeaders();
1716
+ if (request.getRequestId()) {
1717
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1718
+ }
1719
+ if (request.getAccessToken()) {
1720
+ headers['X-GS2-ACCESS-TOKEN'] = (_g = request.getAccessToken()) !== null && _g !== void 0 ? _g : null;
1721
+ }
1722
+ var params = {
1723
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1724
+ };
1725
+ return axios_1.default.get(url, {
1726
+ params: params,
1727
+ headers: headers,
1728
+ }).then(function (response) {
1729
+ return Result.GetJoinedSeasonGatheringResult.fromDict(response.data);
1730
+ }).catch(function (error) {
1731
+ throw JSON.parse(error.response.data.message);
1732
+ });
1733
+ };
1734
+ Gs2MatchmakingRestClient.prototype.getJoinedSeasonGatheringByUserId = function (request) {
1735
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1736
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join/{season}')
1737
+ .replace('{service}', 'matchmaking')
1738
+ .replace('{region}', this.session.region)
1739
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1740
+ .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1741
+ .replace('{seasonName}', String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null'))
1742
+ .replace('{season}', String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getSeason()) !== null && _h !== void 0 ? _h : 'null'));
1743
+ var headers = this.createAuthorizedHeaders();
1744
+ if (request.getRequestId()) {
1745
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1746
+ }
1747
+ if (request.getTimeOffsetToken()) {
1748
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
1749
+ }
1750
+ var params = {
1751
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
1752
+ };
1753
+ return axios_1.default.get(url, {
1754
+ params: params,
1755
+ headers: headers,
1756
+ }).then(function (response) {
1757
+ return Result.GetJoinedSeasonGatheringByUserIdResult.fromDict(response.data);
1758
+ }).catch(function (error) {
1759
+ throw JSON.parse(error.response.data.message);
1760
+ });
1761
+ };
1194
1762
  Gs2MatchmakingRestClient.prototype.describeRatings = function (request) {
1195
1763
  var _a, _b, _c, _d, _e, _f;
1196
1764
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/rating')