gs2 1.4.98 → 1.4.100

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 (221) hide show
  1. package/account/rest.d.ts +1 -0
  2. package/account/rest.js +445 -444
  3. package/account/rest.js.map +1 -1
  4. package/account/rest.ts +67 -65
  5. package/adReward/rest.d.ts +1 -0
  6. package/adReward/rest.js +136 -135
  7. package/adReward/rest.js.map +1 -1
  8. package/adReward/rest.ts +24 -22
  9. package/auth/rest.d.ts +1 -0
  10. package/auth/rest.js +30 -29
  11. package/auth/rest.js.map +1 -1
  12. package/auth/rest.ts +7 -5
  13. package/buff/rest.d.ts +1 -0
  14. package/buff/rest.js +162 -161
  15. package/buff/rest.js.map +1 -1
  16. package/buff/rest.ts +30 -28
  17. package/chat/rest.d.ts +1 -0
  18. package/chat/rest.js +396 -395
  19. package/chat/rest.js.map +1 -1
  20. package/chat/rest.ts +56 -54
  21. package/datastore/rest.d.ts +1 -0
  22. package/datastore/rest.js +282 -281
  23. package/datastore/rest.js.map +1 -1
  24. package/datastore/rest.ts +41 -39
  25. package/deploy/rest.d.ts +1 -0
  26. package/deploy/rest.js +122 -121
  27. package/deploy/rest.js.map +1 -1
  28. package/deploy/rest.ts +26 -24
  29. package/dictionary/rest.d.ts +1 -0
  30. package/dictionary/rest.js +317 -316
  31. package/dictionary/rest.js.map +1 -1
  32. package/dictionary/rest.ts +53 -51
  33. package/distributor/rest.d.ts +1 -0
  34. package/distributor/rest.js +295 -294
  35. package/distributor/rest.js.map +1 -1
  36. package/distributor/rest.ts +50 -48
  37. package/enchant/rest.d.ts +1 -0
  38. package/enchant/rest.js +375 -374
  39. package/enchant/rest.js.map +1 -1
  40. package/enchant/rest.ts +58 -56
  41. package/enhance/rest.d.ts +1 -0
  42. package/enhance/rest.js +338 -337
  43. package/enhance/rest.js.map +1 -1
  44. package/enhance/rest.ts +52 -50
  45. package/exchange/rest.d.ts +1 -0
  46. package/exchange/rest.js +377 -376
  47. package/exchange/rest.js.map +1 -1
  48. package/exchange/rest.ts +56 -54
  49. package/experience/rest.d.ts +1 -0
  50. package/experience/rest.js +430 -429
  51. package/experience/rest.js.map +1 -1
  52. package/experience/rest.ts +62 -60
  53. package/formation/rest.d.ts +1 -0
  54. package/formation/rest.js +549 -548
  55. package/formation/rest.js.map +1 -1
  56. package/formation/rest.ts +81 -79
  57. package/freeze/rest.d.ts +1 -0
  58. package/freeze/rest.js +27 -26
  59. package/freeze/rest.js.map +1 -1
  60. package/freeze/rest.ts +8 -6
  61. package/friend/rest.d.ts +1 -0
  62. package/friend/rest.js +442 -441
  63. package/friend/rest.js.map +1 -1
  64. package/friend/rest.ts +61 -59
  65. package/gateway/model/WebSocketSession.d.ts +4 -0
  66. package/gateway/model/WebSocketSession.js +14 -0
  67. package/gateway/model/WebSocketSession.js.map +1 -1
  68. package/gateway/model/WebSocketSession.ts +14 -0
  69. package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
  70. package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
  71. package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
  72. package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
  73. package/gateway/request/SetUserIdRequest.d.ts +4 -0
  74. package/gateway/request/SetUserIdRequest.js +14 -0
  75. package/gateway/request/SetUserIdRequest.js.map +1 -1
  76. package/gateway/request/SetUserIdRequest.ts +14 -0
  77. package/gateway/rest.d.ts +1 -0
  78. package/gateway/rest.js +180 -177
  79. package/gateway/rest.js.map +1 -1
  80. package/gateway/rest.ts +32 -28
  81. package/grade/rest.d.ts +1 -0
  82. package/grade/rest.js +329 -328
  83. package/grade/rest.js.map +1 -1
  84. package/grade/rest.ts +50 -48
  85. package/guard/rest.d.ts +1 -0
  86. package/guard/rest.js +34 -33
  87. package/guard/rest.js.map +1 -1
  88. package/guard/rest.ts +9 -7
  89. package/guild/rest.d.ts +1 -0
  90. package/guild/rest.js +770 -769
  91. package/guild/rest.js.map +1 -1
  92. package/guild/rest.ts +95 -93
  93. package/identifier/rest.d.ts +1 -0
  94. package/identifier/rest.js +145 -144
  95. package/identifier/rest.js.map +1 -1
  96. package/identifier/rest.ts +32 -30
  97. package/idle/rest.d.ts +1 -0
  98. package/idle/rest.js +266 -265
  99. package/idle/rest.js.map +1 -1
  100. package/idle/rest.ts +44 -42
  101. package/inbox/rest.d.ts +1 -0
  102. package/inbox/rest.js +319 -318
  103. package/inbox/rest.js.map +1 -1
  104. package/inbox/rest.ts +50 -48
  105. package/inventory/rest.d.ts +1 -0
  106. package/inventory/rest.js +1001 -1000
  107. package/inventory/rest.js.map +1 -1
  108. package/inventory/rest.ts +137 -135
  109. package/jobQueue/rest.d.ts +1 -0
  110. package/jobQueue/rest.js +155 -154
  111. package/jobQueue/rest.js.map +1 -1
  112. package/jobQueue/rest.ts +27 -25
  113. package/key/rest.d.ts +1 -0
  114. package/key/rest.js +107 -106
  115. package/key/rest.js.map +1 -1
  116. package/key/rest.ts +21 -19
  117. package/limit/rest.d.ts +1 -0
  118. package/limit/rest.js +264 -263
  119. package/limit/rest.js.map +1 -1
  120. package/limit/rest.ts +42 -40
  121. package/lock/rest.d.ts +1 -0
  122. package/lock/rest.js +91 -90
  123. package/lock/rest.js.map +1 -1
  124. package/lock/rest.ts +16 -14
  125. package/log/rest.d.ts +1 -0
  126. package/log/rest.js +220 -219
  127. package/log/rest.js.map +1 -1
  128. package/log/rest.ts +25 -23
  129. package/loginReward/rest.d.ts +1 -0
  130. package/loginReward/rest.js +268 -267
  131. package/loginReward/rest.js.map +1 -1
  132. package/loginReward/rest.ts +43 -41
  133. package/lottery/rest.d.ts +1 -0
  134. package/lottery/rest.js +318 -317
  135. package/lottery/rest.js.map +1 -1
  136. package/lottery/rest.ts +52 -50
  137. package/matchmaking/rest.d.ts +1 -0
  138. package/matchmaking/rest.js +540 -539
  139. package/matchmaking/rest.js.map +1 -1
  140. package/matchmaking/rest.ts +75 -73
  141. package/megaField/rest.d.ts +1 -0
  142. package/megaField/rest.js +225 -224
  143. package/megaField/rest.js.map +1 -1
  144. package/megaField/rest.ts +36 -34
  145. package/mission/rest.d.ts +1 -0
  146. package/mission/rest.js +576 -575
  147. package/mission/rest.js.map +1 -1
  148. package/mission/rest.ts +81 -79
  149. package/money/rest.d.ts +1 -0
  150. package/money/rest.js +201 -200
  151. package/money/rest.js.map +1 -1
  152. package/money/rest.ts +31 -29
  153. package/money2/rest.d.ts +1 -0
  154. package/money2/rest.js +432 -431
  155. package/money2/rest.js.map +1 -1
  156. package/money2/rest.ts +65 -63
  157. package/news/rest.d.ts +1 -0
  158. package/news/rest.js +94 -93
  159. package/news/rest.js.map +1 -1
  160. package/news/rest.ts +20 -18
  161. package/package.json +1 -1
  162. package/project/rest.d.ts +1 -0
  163. package/project/rest.js +265 -264
  164. package/project/rest.js.map +1 -1
  165. package/project/rest.ts +46 -44
  166. package/quest/rest.d.ts +1 -0
  167. package/quest/rest.js +338 -337
  168. package/quest/rest.js.map +1 -1
  169. package/quest/rest.ts +52 -50
  170. package/ranking/rest.d.ts +1 -0
  171. package/ranking/rest.js +337 -336
  172. package/ranking/rest.js.map +1 -1
  173. package/ranking/rest.ts +48 -46
  174. package/ranking2/rest.d.ts +1 -0
  175. package/ranking2/rest.js +889 -888
  176. package/ranking2/rest.js.map +1 -1
  177. package/ranking2/rest.ts +112 -110
  178. package/realtime/rest.d.ts +1 -0
  179. package/realtime/rest.js +68 -67
  180. package/realtime/rest.js.map +1 -1
  181. package/realtime/rest.ts +14 -12
  182. package/schedule/rest.d.ts +1 -0
  183. package/schedule/rest.js +311 -310
  184. package/schedule/rest.js.map +1 -1
  185. package/schedule/rest.ts +49 -47
  186. package/script/rest.d.ts +1 -0
  187. package/script/rest.js +109 -108
  188. package/script/rest.js.map +1 -1
  189. package/script/rest.ts +19 -17
  190. package/seasonRating/rest.d.ts +1 -0
  191. package/seasonRating/rest.js +205 -204
  192. package/seasonRating/rest.js.map +1 -1
  193. package/seasonRating/rest.ts +37 -35
  194. package/serialKey/rest.d.ts +1 -0
  195. package/serialKey/rest.js +246 -245
  196. package/serialKey/rest.js.map +1 -1
  197. package/serialKey/rest.ts +44 -42
  198. package/showcase/rest.d.ts +1 -0
  199. package/showcase/rest.js +395 -394
  200. package/showcase/rest.js.map +1 -1
  201. package/showcase/rest.ts +60 -58
  202. package/skillTree/rest.d.ts +1 -0
  203. package/skillTree/rest.js +267 -266
  204. package/skillTree/rest.js.map +1 -1
  205. package/skillTree/rest.ts +43 -41
  206. package/stamina/rest.d.ts +1 -0
  207. package/stamina/rest.js +596 -595
  208. package/stamina/rest.js.map +1 -1
  209. package/stamina/rest.ts +85 -83
  210. package/stateMachine/rest.d.ts +1 -0
  211. package/stateMachine/rest.js +208 -207
  212. package/stateMachine/rest.js.map +1 -1
  213. package/stateMachine/rest.ts +33 -31
  214. package/version/rest.d.ts +1 -0
  215. package/version/rest.js +259 -258
  216. package/version/rest.js.map +1 -1
  217. package/version/rest.ts +41 -39
  218. package/watch/rest.d.ts +1 -0
  219. package/watch/rest.js +334 -333
  220. package/watch/rest.js.map +1 -1
  221. package/watch/rest.ts +80 -78
@@ -26,8 +26,8 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
26
26
  return _super.call(this, session) || this;
27
27
  }
28
28
  Gs2MatchmakingRestClient.prototype.describeNamespaces = function (request) {
29
- var _a, _b, _c, _d;
30
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
29
+ var _a, _b, _c, _d, _e;
30
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/')
31
31
  .replace('{service}', 'matchmaking')
32
32
  .replace('{region}', this.session.region);
33
33
  var headers = this.createAuthorizedHeaders();
@@ -35,10 +35,10 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
35
35
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
36
36
  }
37
37
  var params = {
38
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
39
- 'namePrefix': String((_b = request.getNamePrefix()) !== null && _b !== void 0 ? _b : null),
40
- 'pageToken': String((_c = request.getPageToken()) !== null && _c !== void 0 ? _c : null),
41
- 'limit': String((_d = request.getLimit()) !== null && _d !== void 0 ? _d : null),
38
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
39
+ 'namePrefix': String((_c = request.getNamePrefix()) !== null && _c !== void 0 ? _c : null),
40
+ 'pageToken': String((_d = request.getPageToken()) !== null && _d !== void 0 ? _d : null),
41
+ 'limit': String((_e = request.getLimit()) !== null && _e !== void 0 ? _e : null),
42
42
  };
43
43
  return axios_1.default.get(url, {
44
44
  params: params,
@@ -50,8 +50,8 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
50
50
  });
51
51
  };
52
52
  Gs2MatchmakingRestClient.prototype.createNamespace = function (request) {
53
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4;
54
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/')
53
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
54
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/')
55
55
  .replace('{service}', 'matchmaking')
56
56
  .replace('{region}', this.session.region);
57
57
  var headers = this.createAuthorizedHeaders();
@@ -59,28 +59,28 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
59
59
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
60
60
  }
61
61
  var body = {
62
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
63
- 'name': (_b = request.getName()) !== null && _b !== void 0 ? _b : null,
64
- 'description': (_c = request.getDescription()) !== null && _c !== void 0 ? _c : null,
65
- 'transactionSetting': (_e = (_d = request.getTransactionSetting()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
66
- 'enableRating': (_f = request.getEnableRating()) !== null && _f !== void 0 ? _f : null,
67
- 'enableDisconnectDetection': (_g = request.getEnableDisconnectDetection()) !== null && _g !== void 0 ? _g : null,
68
- 'disconnectDetectionTimeoutSeconds': (_h = request.getDisconnectDetectionTimeoutSeconds()) !== null && _h !== void 0 ? _h : null,
69
- 'createGatheringTriggerType': (_j = request.getCreateGatheringTriggerType()) !== null && _j !== void 0 ? _j : null,
70
- 'createGatheringTriggerRealtimeNamespaceId': (_k = request.getCreateGatheringTriggerRealtimeNamespaceId()) !== null && _k !== void 0 ? _k : null,
71
- 'createGatheringTriggerScriptId': (_l = request.getCreateGatheringTriggerScriptId()) !== null && _l !== void 0 ? _l : null,
72
- 'completeMatchmakingTriggerType': (_m = request.getCompleteMatchmakingTriggerType()) !== null && _m !== void 0 ? _m : null,
73
- 'completeMatchmakingTriggerRealtimeNamespaceId': (_o = request.getCompleteMatchmakingTriggerRealtimeNamespaceId()) !== null && _o !== void 0 ? _o : null,
74
- 'completeMatchmakingTriggerScriptId': (_p = request.getCompleteMatchmakingTriggerScriptId()) !== null && _p !== void 0 ? _p : null,
75
- 'enableCollaborateSeasonRating': (_q = request.getEnableCollaborateSeasonRating()) !== null && _q !== void 0 ? _q : null,
76
- 'collaborateSeasonRatingNamespaceId': (_r = request.getCollaborateSeasonRatingNamespaceId()) !== null && _r !== void 0 ? _r : null,
77
- 'collaborateSeasonRatingTtl': (_s = request.getCollaborateSeasonRatingTtl()) !== null && _s !== void 0 ? _s : null,
78
- 'changeRatingScript': (_u = (_t = request.getChangeRatingScript()) === null || _t === void 0 ? void 0 : _t.toDict()) !== null && _u !== void 0 ? _u : null,
79
- 'joinNotification': (_w = (_v = request.getJoinNotification()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
80
- 'leaveNotification': (_y = (_x = request.getLeaveNotification()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
81
- 'completeNotification': (_0 = (_z = request.getCompleteNotification()) === null || _z === void 0 ? void 0 : _z.toDict()) !== null && _0 !== void 0 ? _0 : null,
82
- 'changeRatingNotification': (_2 = (_1 = request.getChangeRatingNotification()) === null || _1 === void 0 ? void 0 : _1.toDict()) !== null && _2 !== void 0 ? _2 : null,
83
- 'logSetting': (_4 = (_3 = request.getLogSetting()) === null || _3 === void 0 ? void 0 : _3.toDict()) !== null && _4 !== void 0 ? _4 : null,
62
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
63
+ 'name': (_c = request.getName()) !== null && _c !== void 0 ? _c : null,
64
+ 'description': (_d = request.getDescription()) !== null && _d !== void 0 ? _d : null,
65
+ 'transactionSetting': (_f = (_e = request.getTransactionSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
66
+ 'enableRating': (_g = request.getEnableRating()) !== null && _g !== void 0 ? _g : null,
67
+ 'enableDisconnectDetection': (_h = request.getEnableDisconnectDetection()) !== null && _h !== void 0 ? _h : null,
68
+ 'disconnectDetectionTimeoutSeconds': (_j = request.getDisconnectDetectionTimeoutSeconds()) !== null && _j !== void 0 ? _j : null,
69
+ 'createGatheringTriggerType': (_k = request.getCreateGatheringTriggerType()) !== null && _k !== void 0 ? _k : null,
70
+ 'createGatheringTriggerRealtimeNamespaceId': (_l = request.getCreateGatheringTriggerRealtimeNamespaceId()) !== null && _l !== void 0 ? _l : null,
71
+ 'createGatheringTriggerScriptId': (_m = request.getCreateGatheringTriggerScriptId()) !== null && _m !== void 0 ? _m : null,
72
+ 'completeMatchmakingTriggerType': (_o = request.getCompleteMatchmakingTriggerType()) !== null && _o !== void 0 ? _o : null,
73
+ 'completeMatchmakingTriggerRealtimeNamespaceId': (_p = request.getCompleteMatchmakingTriggerRealtimeNamespaceId()) !== null && _p !== void 0 ? _p : null,
74
+ 'completeMatchmakingTriggerScriptId': (_q = request.getCompleteMatchmakingTriggerScriptId()) !== null && _q !== void 0 ? _q : null,
75
+ 'enableCollaborateSeasonRating': (_r = request.getEnableCollaborateSeasonRating()) !== null && _r !== void 0 ? _r : null,
76
+ 'collaborateSeasonRatingNamespaceId': (_s = request.getCollaborateSeasonRatingNamespaceId()) !== null && _s !== void 0 ? _s : null,
77
+ 'collaborateSeasonRatingTtl': (_t = request.getCollaborateSeasonRatingTtl()) !== null && _t !== void 0 ? _t : null,
78
+ 'changeRatingScript': (_v = (_u = request.getChangeRatingScript()) === null || _u === void 0 ? void 0 : _u.toDict()) !== null && _v !== void 0 ? _v : null,
79
+ 'joinNotification': (_x = (_w = request.getJoinNotification()) === null || _w === void 0 ? void 0 : _w.toDict()) !== null && _x !== void 0 ? _x : null,
80
+ 'leaveNotification': (_z = (_y = request.getLeaveNotification()) === null || _y === void 0 ? void 0 : _y.toDict()) !== null && _z !== void 0 ? _z : null,
81
+ 'completeNotification': (_1 = (_0 = request.getCompleteNotification()) === null || _0 === void 0 ? void 0 : _0.toDict()) !== null && _1 !== void 0 ? _1 : null,
82
+ 'changeRatingNotification': (_3 = (_2 = request.getChangeRatingNotification()) === null || _2 === void 0 ? void 0 : _2.toDict()) !== null && _3 !== void 0 ? _3 : null,
83
+ 'logSetting': (_5 = (_4 = request.getLogSetting()) === null || _4 === void 0 ? void 0 : _4.toDict()) !== null && _5 !== void 0 ? _5 : null,
84
84
  };
85
85
  return axios_1.default.post(url, body, {
86
86
  headers: headers,
@@ -96,17 +96,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
96
96
  });
97
97
  };
98
98
  Gs2MatchmakingRestClient.prototype.getNamespaceStatus = function (request) {
99
- var _a, _b, _c;
100
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
99
+ var _a, _b, _c, _d;
100
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
101
101
  .replace('{service}', 'matchmaking')
102
102
  .replace('{region}', this.session.region)
103
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
103
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
104
104
  var headers = this.createAuthorizedHeaders();
105
105
  if (request.getRequestId()) {
106
106
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
107
107
  }
108
108
  var params = {
109
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
109
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
110
110
  };
111
111
  return axios_1.default.get(url, {
112
112
  params: params,
@@ -118,17 +118,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
118
118
  });
119
119
  };
120
120
  Gs2MatchmakingRestClient.prototype.getNamespace = function (request) {
121
- var _a, _b, _c;
122
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
121
+ var _a, _b, _c, _d;
122
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
123
123
  .replace('{service}', 'matchmaking')
124
124
  .replace('{region}', this.session.region)
125
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
125
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
126
126
  var headers = this.createAuthorizedHeaders();
127
127
  if (request.getRequestId()) {
128
128
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
129
129
  }
130
130
  var params = {
131
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
131
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
132
132
  };
133
133
  return axios_1.default.get(url, {
134
134
  params: params,
@@ -140,37 +140,37 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
140
140
  });
141
141
  };
142
142
  Gs2MatchmakingRestClient.prototype.updateNamespace = function (request) {
143
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5;
144
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
143
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6;
144
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
145
145
  .replace('{service}', 'matchmaking')
146
146
  .replace('{region}', this.session.region)
147
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
147
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
148
148
  var headers = this.createAuthorizedHeaders();
149
149
  if (request.getRequestId()) {
150
150
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
151
151
  }
152
152
  var body = {
153
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
154
- 'description': (_d = request.getDescription()) !== null && _d !== void 0 ? _d : null,
155
- 'transactionSetting': (_f = (_e = request.getTransactionSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
156
- 'enableRating': (_g = request.getEnableRating()) !== null && _g !== void 0 ? _g : null,
157
- 'enableDisconnectDetection': (_h = request.getEnableDisconnectDetection()) !== null && _h !== void 0 ? _h : null,
158
- 'disconnectDetectionTimeoutSeconds': (_j = request.getDisconnectDetectionTimeoutSeconds()) !== null && _j !== void 0 ? _j : null,
159
- 'createGatheringTriggerType': (_k = request.getCreateGatheringTriggerType()) !== null && _k !== void 0 ? _k : null,
160
- 'createGatheringTriggerRealtimeNamespaceId': (_l = request.getCreateGatheringTriggerRealtimeNamespaceId()) !== null && _l !== void 0 ? _l : null,
161
- 'createGatheringTriggerScriptId': (_m = request.getCreateGatheringTriggerScriptId()) !== null && _m !== void 0 ? _m : null,
162
- 'completeMatchmakingTriggerType': (_o = request.getCompleteMatchmakingTriggerType()) !== null && _o !== void 0 ? _o : null,
163
- 'completeMatchmakingTriggerRealtimeNamespaceId': (_p = request.getCompleteMatchmakingTriggerRealtimeNamespaceId()) !== null && _p !== void 0 ? _p : null,
164
- 'completeMatchmakingTriggerScriptId': (_q = request.getCompleteMatchmakingTriggerScriptId()) !== null && _q !== void 0 ? _q : null,
165
- 'enableCollaborateSeasonRating': (_r = request.getEnableCollaborateSeasonRating()) !== null && _r !== void 0 ? _r : null,
166
- 'collaborateSeasonRatingNamespaceId': (_s = request.getCollaborateSeasonRatingNamespaceId()) !== null && _s !== void 0 ? _s : null,
167
- 'collaborateSeasonRatingTtl': (_t = request.getCollaborateSeasonRatingTtl()) !== null && _t !== void 0 ? _t : null,
168
- 'changeRatingScript': (_v = (_u = request.getChangeRatingScript()) === null || _u === void 0 ? void 0 : _u.toDict()) !== null && _v !== void 0 ? _v : null,
169
- 'joinNotification': (_x = (_w = request.getJoinNotification()) === null || _w === void 0 ? void 0 : _w.toDict()) !== null && _x !== void 0 ? _x : null,
170
- 'leaveNotification': (_z = (_y = request.getLeaveNotification()) === null || _y === void 0 ? void 0 : _y.toDict()) !== null && _z !== void 0 ? _z : null,
171
- 'completeNotification': (_1 = (_0 = request.getCompleteNotification()) === null || _0 === void 0 ? void 0 : _0.toDict()) !== null && _1 !== void 0 ? _1 : null,
172
- 'changeRatingNotification': (_3 = (_2 = request.getChangeRatingNotification()) === null || _2 === void 0 ? void 0 : _2.toDict()) !== null && _3 !== void 0 ? _3 : null,
173
- 'logSetting': (_5 = (_4 = request.getLogSetting()) === null || _4 === void 0 ? void 0 : _4.toDict()) !== null && _5 !== void 0 ? _5 : null,
153
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
154
+ 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
155
+ 'transactionSetting': (_g = (_f = request.getTransactionSetting()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
156
+ 'enableRating': (_h = request.getEnableRating()) !== null && _h !== void 0 ? _h : null,
157
+ 'enableDisconnectDetection': (_j = request.getEnableDisconnectDetection()) !== null && _j !== void 0 ? _j : null,
158
+ 'disconnectDetectionTimeoutSeconds': (_k = request.getDisconnectDetectionTimeoutSeconds()) !== null && _k !== void 0 ? _k : null,
159
+ 'createGatheringTriggerType': (_l = request.getCreateGatheringTriggerType()) !== null && _l !== void 0 ? _l : null,
160
+ 'createGatheringTriggerRealtimeNamespaceId': (_m = request.getCreateGatheringTriggerRealtimeNamespaceId()) !== null && _m !== void 0 ? _m : null,
161
+ 'createGatheringTriggerScriptId': (_o = request.getCreateGatheringTriggerScriptId()) !== null && _o !== void 0 ? _o : null,
162
+ 'completeMatchmakingTriggerType': (_p = request.getCompleteMatchmakingTriggerType()) !== null && _p !== void 0 ? _p : null,
163
+ 'completeMatchmakingTriggerRealtimeNamespaceId': (_q = request.getCompleteMatchmakingTriggerRealtimeNamespaceId()) !== null && _q !== void 0 ? _q : null,
164
+ 'completeMatchmakingTriggerScriptId': (_r = request.getCompleteMatchmakingTriggerScriptId()) !== null && _r !== void 0 ? _r : null,
165
+ 'enableCollaborateSeasonRating': (_s = request.getEnableCollaborateSeasonRating()) !== null && _s !== void 0 ? _s : null,
166
+ 'collaborateSeasonRatingNamespaceId': (_t = request.getCollaborateSeasonRatingNamespaceId()) !== null && _t !== void 0 ? _t : null,
167
+ 'collaborateSeasonRatingTtl': (_u = request.getCollaborateSeasonRatingTtl()) !== null && _u !== void 0 ? _u : null,
168
+ 'changeRatingScript': (_w = (_v = request.getChangeRatingScript()) === null || _v === void 0 ? void 0 : _v.toDict()) !== null && _w !== void 0 ? _w : null,
169
+ 'joinNotification': (_y = (_x = request.getJoinNotification()) === null || _x === void 0 ? void 0 : _x.toDict()) !== null && _y !== void 0 ? _y : null,
170
+ 'leaveNotification': (_0 = (_z = request.getLeaveNotification()) === null || _z === void 0 ? void 0 : _z.toDict()) !== null && _0 !== void 0 ? _0 : null,
171
+ 'completeNotification': (_2 = (_1 = request.getCompleteNotification()) === null || _1 === void 0 ? void 0 : _1.toDict()) !== null && _2 !== void 0 ? _2 : null,
172
+ 'changeRatingNotification': (_4 = (_3 = request.getChangeRatingNotification()) === null || _3 === void 0 ? void 0 : _3.toDict()) !== null && _4 !== void 0 ? _4 : null,
173
+ 'logSetting': (_6 = (_5 = request.getLogSetting()) === null || _5 === void 0 ? void 0 : _5.toDict()) !== null && _6 !== void 0 ? _6 : null,
174
174
  };
175
175
  return axios_1.default.put(url, body, {
176
176
  headers: headers,
@@ -186,17 +186,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
186
186
  });
187
187
  };
188
188
  Gs2MatchmakingRestClient.prototype.deleteNamespace = function (request) {
189
- var _a, _b, _c;
190
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
189
+ var _a, _b, _c, _d;
190
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
191
191
  .replace('{service}', 'matchmaking')
192
192
  .replace('{region}', this.session.region)
193
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
193
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
194
194
  var headers = this.createAuthorizedHeaders();
195
195
  if (request.getRequestId()) {
196
196
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
197
197
  }
198
198
  var params = {
199
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
199
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
200
200
  };
201
201
  return axios_1.default.delete(url, {
202
202
  params: params,
@@ -208,8 +208,8 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
208
208
  });
209
209
  };
210
210
  Gs2MatchmakingRestClient.prototype.getServiceVersion = function (request) {
211
- var _a;
212
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
211
+ var _a, _b;
212
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/version')
213
213
  .replace('{service}', 'matchmaking')
214
214
  .replace('{region}', this.session.region);
215
215
  var headers = this.createAuthorizedHeaders();
@@ -217,7 +217,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
217
217
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
218
218
  }
219
219
  var params = {
220
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
220
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
221
221
  };
222
222
  return axios_1.default.get(url, {
223
223
  params: params,
@@ -229,20 +229,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
229
229
  });
230
230
  };
231
231
  Gs2MatchmakingRestClient.prototype.dumpUserDataByUserId = function (request) {
232
- var _a, _b, _c, _d;
233
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
232
+ var _a, _b, _c, _d, _e;
233
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
234
234
  .replace('{service}', 'matchmaking')
235
235
  .replace('{region}', this.session.region)
236
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
236
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
237
237
  var headers = this.createAuthorizedHeaders();
238
238
  if (request.getRequestId()) {
239
239
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
240
240
  }
241
241
  if (request.getTimeOffsetToken()) {
242
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
242
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
243
243
  }
244
244
  var body = {
245
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
245
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
246
246
  };
247
247
  return axios_1.default.post(url, body, {
248
248
  headers: headers,
@@ -258,20 +258,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
258
258
  });
259
259
  };
260
260
  Gs2MatchmakingRestClient.prototype.checkDumpUserDataByUserId = function (request) {
261
- var _a, _b, _c, _d;
262
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
261
+ var _a, _b, _c, _d, _e;
262
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
263
263
  .replace('{service}', 'matchmaking')
264
264
  .replace('{region}', this.session.region)
265
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
265
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
266
266
  var headers = this.createAuthorizedHeaders();
267
267
  if (request.getRequestId()) {
268
268
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
269
269
  }
270
270
  if (request.getTimeOffsetToken()) {
271
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
271
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
272
272
  }
273
273
  var params = {
274
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
274
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
275
275
  };
276
276
  return axios_1.default.get(url, {
277
277
  params: params,
@@ -283,20 +283,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
283
283
  });
284
284
  };
285
285
  Gs2MatchmakingRestClient.prototype.cleanUserDataByUserId = function (request) {
286
- var _a, _b, _c, _d;
287
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
286
+ var _a, _b, _c, _d, _e;
287
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
288
288
  .replace('{service}', 'matchmaking')
289
289
  .replace('{region}', this.session.region)
290
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
290
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
291
291
  var headers = this.createAuthorizedHeaders();
292
292
  if (request.getRequestId()) {
293
293
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
294
294
  }
295
295
  if (request.getTimeOffsetToken()) {
296
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
296
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
297
297
  }
298
298
  var body = {
299
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
299
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
300
300
  };
301
301
  return axios_1.default.post(url, body, {
302
302
  headers: headers,
@@ -312,20 +312,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
312
312
  });
313
313
  };
314
314
  Gs2MatchmakingRestClient.prototype.checkCleanUserDataByUserId = function (request) {
315
- var _a, _b, _c, _d;
316
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
315
+ var _a, _b, _c, _d, _e;
316
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
317
317
  .replace('{service}', 'matchmaking')
318
318
  .replace('{region}', this.session.region)
319
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
319
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
320
320
  var headers = this.createAuthorizedHeaders();
321
321
  if (request.getRequestId()) {
322
322
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
323
323
  }
324
324
  if (request.getTimeOffsetToken()) {
325
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
325
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
326
326
  }
327
327
  var params = {
328
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
328
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
329
329
  };
330
330
  return axios_1.default.get(url, {
331
331
  params: params,
@@ -337,20 +337,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
337
337
  });
338
338
  };
339
339
  Gs2MatchmakingRestClient.prototype.prepareImportUserDataByUserId = function (request) {
340
- var _a, _b, _c, _d;
341
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
340
+ var _a, _b, _c, _d, _e;
341
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
342
342
  .replace('{service}', 'matchmaking')
343
343
  .replace('{region}', this.session.region)
344
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
344
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
345
345
  var headers = this.createAuthorizedHeaders();
346
346
  if (request.getRequestId()) {
347
347
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
348
348
  }
349
349
  if (request.getTimeOffsetToken()) {
350
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
350
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
351
351
  }
352
352
  var body = {
353
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
353
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
354
354
  };
355
355
  return axios_1.default.post(url, body, {
356
356
  headers: headers,
@@ -366,21 +366,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
366
366
  });
367
367
  };
368
368
  Gs2MatchmakingRestClient.prototype.importUserDataByUserId = function (request) {
369
- var _a, _b, _c, _d, _e;
370
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
369
+ var _a, _b, _c, _d, _e, _f;
370
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
371
371
  .replace('{service}', 'matchmaking')
372
372
  .replace('{region}', this.session.region)
373
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'));
373
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'));
374
374
  var headers = this.createAuthorizedHeaders();
375
375
  if (request.getRequestId()) {
376
376
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
377
377
  }
378
378
  if (request.getTimeOffsetToken()) {
379
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_c = request.getTimeOffsetToken()) !== null && _c !== void 0 ? _c : null;
379
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_d = request.getTimeOffsetToken()) !== null && _d !== void 0 ? _d : null;
380
380
  }
381
381
  var body = {
382
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
383
- 'uploadToken': (_e = request.getUploadToken()) !== null && _e !== void 0 ? _e : null,
382
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
383
+ 'uploadToken': (_f = request.getUploadToken()) !== null && _f !== void 0 ? _f : null,
384
384
  };
385
385
  return axios_1.default.post(url, body, {
386
386
  headers: headers,
@@ -396,21 +396,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
396
396
  });
397
397
  };
398
398
  Gs2MatchmakingRestClient.prototype.checkImportUserDataByUserId = function (request) {
399
- var _a, _b, _c, _d, _e, _f;
400
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
399
+ var _a, _b, _c, _d, _e, _f, _g;
400
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
401
401
  .replace('{service}', 'matchmaking')
402
402
  .replace('{region}', this.session.region)
403
- .replace('{userId}', String((_a = request.getUserId()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null'))
404
- .replace('{uploadToken}', String((_c = request.getUploadToken()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUploadToken()) !== null && _d !== void 0 ? _d : 'null'));
403
+ .replace('{userId}', String((_b = request.getUserId()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null'))
404
+ .replace('{uploadToken}', String((_d = request.getUploadToken()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUploadToken()) !== null && _e !== void 0 ? _e : 'null'));
405
405
  var headers = this.createAuthorizedHeaders();
406
406
  if (request.getRequestId()) {
407
407
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
408
408
  }
409
409
  if (request.getTimeOffsetToken()) {
410
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
410
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
411
411
  }
412
412
  var params = {
413
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
413
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
414
414
  };
415
415
  return axios_1.default.get(url, {
416
416
  params: params,
@@ -422,19 +422,19 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
422
422
  });
423
423
  };
424
424
  Gs2MatchmakingRestClient.prototype.describeGatherings = function (request) {
425
- var _a, _b, _c, _d, _e;
426
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering')
425
+ var _a, _b, _c, _d, _e, _f;
426
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering')
427
427
  .replace('{service}', 'matchmaking')
428
428
  .replace('{region}', this.session.region)
429
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
429
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
430
430
  var headers = this.createAuthorizedHeaders();
431
431
  if (request.getRequestId()) {
432
432
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
433
433
  }
434
434
  var params = {
435
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
436
- 'pageToken': String((_d = request.getPageToken()) !== null && _d !== void 0 ? _d : null),
437
- 'limit': String((_e = request.getLimit()) !== null && _e !== void 0 ? _e : null),
435
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
436
+ 'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
437
+ 'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
438
438
  };
439
439
  return axios_1.default.get(url, {
440
440
  params: params,
@@ -446,29 +446,29 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
446
446
  });
447
447
  };
448
448
  Gs2MatchmakingRestClient.prototype.createGathering = function (request) {
449
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
450
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering')
449
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
450
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering')
451
451
  .replace('{service}', 'matchmaking')
452
452
  .replace('{region}', this.session.region)
453
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
453
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
454
454
  var headers = this.createAuthorizedHeaders();
455
455
  if (request.getRequestId()) {
456
456
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
457
457
  }
458
458
  if (request.getAccessToken()) {
459
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
459
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
460
460
  }
461
461
  if (request.getDuplicationAvoider()) {
462
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
462
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
463
463
  }
464
464
  var body = {
465
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
466
- 'player': (_g = (_f = request.getPlayer()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
467
- 'attributeRanges': (_j = (_h = request.getAttributeRanges()) === null || _h === void 0 ? void 0 : _h.map(function (item) { return item.toDict(); })) !== null && _j !== void 0 ? _j : null,
468
- 'capacityOfRoles': (_l = (_k = request.getCapacityOfRoles()) === null || _k === void 0 ? void 0 : _k.map(function (item) { return item.toDict(); })) !== null && _l !== void 0 ? _l : null,
469
- 'allowUserIds': (_m = request.getAllowUserIds()) !== null && _m !== void 0 ? _m : null,
470
- 'expiresAt': (_o = request.getExpiresAt()) !== null && _o !== void 0 ? _o : null,
471
- 'expiresAtTimeSpan': (_q = (_p = request.getExpiresAtTimeSpan()) === null || _p === void 0 ? void 0 : _p.toDict()) !== null && _q !== void 0 ? _q : null,
465
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
466
+ 'player': (_h = (_g = request.getPlayer()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
467
+ 'attributeRanges': (_k = (_j = request.getAttributeRanges()) === null || _j === void 0 ? void 0 : _j.map(function (item) { return item.toDict(); })) !== null && _k !== void 0 ? _k : null,
468
+ 'capacityOfRoles': (_m = (_l = request.getCapacityOfRoles()) === null || _l === void 0 ? void 0 : _l.map(function (item) { return item.toDict(); })) !== null && _m !== void 0 ? _m : null,
469
+ 'allowUserIds': (_o = request.getAllowUserIds()) !== null && _o !== void 0 ? _o : null,
470
+ 'expiresAt': (_p = request.getExpiresAt()) !== null && _p !== void 0 ? _p : null,
471
+ 'expiresAtTimeSpan': (_r = (_q = request.getExpiresAtTimeSpan()) === null || _q === void 0 ? void 0 : _q.toDict()) !== null && _r !== void 0 ? _r : null,
472
472
  };
473
473
  return axios_1.default.post(url, body, {
474
474
  headers: headers,
@@ -484,30 +484,30 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
484
484
  });
485
485
  };
486
486
  Gs2MatchmakingRestClient.prototype.createGatheringByUserId = function (request) {
487
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
488
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/user/{userId}')
487
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
488
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/user/{userId}')
489
489
  .replace('{service}', 'matchmaking')
490
490
  .replace('{region}', this.session.region)
491
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
492
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'));
491
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
492
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
493
493
  var headers = this.createAuthorizedHeaders();
494
494
  if (request.getRequestId()) {
495
495
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
496
496
  }
497
497
  if (request.getDuplicationAvoider()) {
498
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
498
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
499
499
  }
500
500
  if (request.getTimeOffsetToken()) {
501
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
501
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
502
502
  }
503
503
  var body = {
504
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
505
- 'player': (_j = (_h = request.getPlayer()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
506
- 'attributeRanges': (_l = (_k = request.getAttributeRanges()) === null || _k === void 0 ? void 0 : _k.map(function (item) { return item.toDict(); })) !== null && _l !== void 0 ? _l : null,
507
- 'capacityOfRoles': (_o = (_m = request.getCapacityOfRoles()) === null || _m === void 0 ? void 0 : _m.map(function (item) { return item.toDict(); })) !== null && _o !== void 0 ? _o : null,
508
- 'allowUserIds': (_p = request.getAllowUserIds()) !== null && _p !== void 0 ? _p : null,
509
- 'expiresAt': (_q = request.getExpiresAt()) !== null && _q !== void 0 ? _q : null,
510
- 'expiresAtTimeSpan': (_s = (_r = request.getExpiresAtTimeSpan()) === null || _r === void 0 ? void 0 : _r.toDict()) !== null && _s !== void 0 ? _s : null,
504
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
505
+ 'player': (_k = (_j = request.getPlayer()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
506
+ 'attributeRanges': (_m = (_l = request.getAttributeRanges()) === null || _l === void 0 ? void 0 : _l.map(function (item) { return item.toDict(); })) !== null && _m !== void 0 ? _m : null,
507
+ 'capacityOfRoles': (_p = (_o = request.getCapacityOfRoles()) === null || _o === void 0 ? void 0 : _o.map(function (item) { return item.toDict(); })) !== null && _p !== void 0 ? _p : null,
508
+ 'allowUserIds': (_q = request.getAllowUserIds()) !== null && _q !== void 0 ? _q : null,
509
+ 'expiresAt': (_r = request.getExpiresAt()) !== null && _r !== void 0 ? _r : null,
510
+ 'expiresAtTimeSpan': (_t = (_s = request.getExpiresAtTimeSpan()) === null || _s === void 0 ? void 0 : _s.toDict()) !== null && _t !== void 0 ? _t : null,
511
511
  };
512
512
  return axios_1.default.post(url, body, {
513
513
  headers: headers,
@@ -523,25 +523,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
523
523
  });
524
524
  };
525
525
  Gs2MatchmakingRestClient.prototype.updateGathering = function (request) {
526
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
527
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
526
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
527
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
528
528
  .replace('{service}', 'matchmaking')
529
529
  .replace('{region}', this.session.region)
530
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
531
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
530
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
531
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
532
532
  var headers = this.createAuthorizedHeaders();
533
533
  if (request.getRequestId()) {
534
534
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
535
535
  }
536
536
  if (request.getAccessToken()) {
537
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
537
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
538
538
  }
539
539
  if (request.getDuplicationAvoider()) {
540
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
540
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
541
541
  }
542
542
  var body = {
543
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
544
- 'attributeRanges': (_j = (_h = request.getAttributeRanges()) === null || _h === void 0 ? void 0 : _h.map(function (item) { return item.toDict(); })) !== null && _j !== void 0 ? _j : null,
543
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
544
+ 'attributeRanges': (_k = (_j = request.getAttributeRanges()) === null || _j === void 0 ? void 0 : _j.map(function (item) { return item.toDict(); })) !== null && _k !== void 0 ? _k : null,
545
545
  };
546
546
  return axios_1.default.post(url, body, {
547
547
  headers: headers,
@@ -557,26 +557,26 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
557
557
  });
558
558
  };
559
559
  Gs2MatchmakingRestClient.prototype.updateGatheringByUserId = function (request) {
560
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
561
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}')
560
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
561
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}')
562
562
  .replace('{service}', 'matchmaking')
563
563
  .replace('{region}', this.session.region)
564
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
565
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'))
566
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
564
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
565
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'))
566
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
567
567
  var headers = this.createAuthorizedHeaders();
568
568
  if (request.getRequestId()) {
569
569
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
570
570
  }
571
571
  if (request.getDuplicationAvoider()) {
572
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
572
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
573
573
  }
574
574
  if (request.getTimeOffsetToken()) {
575
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
575
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
576
576
  }
577
577
  var body = {
578
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
579
- 'attributeRanges': (_l = (_k = request.getAttributeRanges()) === null || _k === void 0 ? void 0 : _k.map(function (item) { return item.toDict(); })) !== null && _l !== void 0 ? _l : null,
578
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
579
+ 'attributeRanges': (_m = (_l = request.getAttributeRanges()) === null || _l === void 0 ? void 0 : _l.map(function (item) { return item.toDict(); })) !== null && _m !== void 0 ? _m : null,
580
580
  };
581
581
  return axios_1.default.post(url, body, {
582
582
  headers: headers,
@@ -592,19 +592,19 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
592
592
  });
593
593
  };
594
594
  Gs2MatchmakingRestClient.prototype.doMatchmakingByPlayer = function (request) {
595
- var _a, _b, _c, _d, _e, _f;
596
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/player/do')
595
+ var _a, _b, _c, _d, _e, _f, _g;
596
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/player/do')
597
597
  .replace('{service}', 'matchmaking')
598
598
  .replace('{region}', this.session.region)
599
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
599
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
600
600
  var headers = this.createAuthorizedHeaders();
601
601
  if (request.getRequestId()) {
602
602
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
603
603
  }
604
604
  var body = {
605
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
606
- 'player': (_e = (_d = request.getPlayer()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
607
- 'matchmakingContextToken': (_f = request.getMatchmakingContextToken()) !== null && _f !== void 0 ? _f : null,
605
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
606
+ 'player': (_f = (_e = request.getPlayer()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
607
+ 'matchmakingContextToken': (_g = request.getMatchmakingContextToken()) !== null && _g !== void 0 ? _g : null,
608
608
  };
609
609
  return axios_1.default.post(url, body, {
610
610
  headers: headers,
@@ -620,25 +620,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
620
620
  });
621
621
  };
622
622
  Gs2MatchmakingRestClient.prototype.doMatchmaking = function (request) {
623
- var _a, _b, _c, _d, _e, _f, _g, _h;
624
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/do')
623
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
624
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/do')
625
625
  .replace('{service}', 'matchmaking')
626
626
  .replace('{region}', this.session.region)
627
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
627
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
628
628
  var headers = this.createAuthorizedHeaders();
629
629
  if (request.getRequestId()) {
630
630
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
631
631
  }
632
632
  if (request.getAccessToken()) {
633
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
633
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
634
634
  }
635
635
  if (request.getDuplicationAvoider()) {
636
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_d = request.getDuplicationAvoider()) !== null && _d !== void 0 ? _d : null;
636
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
637
637
  }
638
638
  var body = {
639
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
640
- 'player': (_g = (_f = request.getPlayer()) === null || _f === void 0 ? void 0 : _f.toDict()) !== null && _g !== void 0 ? _g : null,
641
- 'matchmakingContextToken': (_h = request.getMatchmakingContextToken()) !== null && _h !== void 0 ? _h : null,
639
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
640
+ 'player': (_h = (_g = request.getPlayer()) === null || _g === void 0 ? void 0 : _g.toDict()) !== null && _h !== void 0 ? _h : null,
641
+ 'matchmakingContextToken': (_j = request.getMatchmakingContextToken()) !== null && _j !== void 0 ? _j : null,
642
642
  };
643
643
  return axios_1.default.post(url, body, {
644
644
  headers: headers,
@@ -654,26 +654,26 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
654
654
  });
655
655
  };
656
656
  Gs2MatchmakingRestClient.prototype.doMatchmakingByUserId = function (request) {
657
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
658
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/gathering/do')
657
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
658
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/gathering/do')
659
659
  .replace('{service}', 'matchmaking')
660
660
  .replace('{region}', this.session.region)
661
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
662
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'));
661
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
662
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
663
663
  var headers = this.createAuthorizedHeaders();
664
664
  if (request.getRequestId()) {
665
665
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
666
666
  }
667
667
  if (request.getDuplicationAvoider()) {
668
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
668
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
669
669
  }
670
670
  if (request.getTimeOffsetToken()) {
671
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
671
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
672
672
  }
673
673
  var body = {
674
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
675
- 'player': (_j = (_h = request.getPlayer()) === null || _h === void 0 ? void 0 : _h.toDict()) !== null && _j !== void 0 ? _j : null,
676
- 'matchmakingContextToken': (_k = request.getMatchmakingContextToken()) !== null && _k !== void 0 ? _k : null,
674
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
675
+ 'player': (_k = (_j = request.getPlayer()) === null || _j === void 0 ? void 0 : _j.toDict()) !== null && _k !== void 0 ? _k : null,
676
+ 'matchmakingContextToken': (_l = request.getMatchmakingContextToken()) !== null && _l !== void 0 ? _l : null,
677
677
  };
678
678
  return axios_1.default.post(url, body, {
679
679
  headers: headers,
@@ -689,24 +689,24 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
689
689
  });
690
690
  };
691
691
  Gs2MatchmakingRestClient.prototype.ping = function (request) {
692
- var _a, _b, _c, _d, _e, _f, _g;
693
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/ping')
692
+ var _a, _b, _c, _d, _e, _f, _g, _h;
693
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/ping')
694
694
  .replace('{service}', 'matchmaking')
695
695
  .replace('{region}', this.session.region)
696
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
697
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
696
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
697
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
698
698
  var headers = this.createAuthorizedHeaders();
699
699
  if (request.getRequestId()) {
700
700
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
701
701
  }
702
702
  if (request.getAccessToken()) {
703
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
703
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
704
704
  }
705
705
  if (request.getDuplicationAvoider()) {
706
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
706
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
707
707
  }
708
708
  var body = {
709
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
709
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
710
710
  };
711
711
  return axios_1.default.post(url, body, {
712
712
  headers: headers,
@@ -722,25 +722,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
722
722
  });
723
723
  };
724
724
  Gs2MatchmakingRestClient.prototype.pingByUserId = function (request) {
725
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
726
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}/ping')
725
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
726
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}/ping')
727
727
  .replace('{service}', 'matchmaking')
728
728
  .replace('{region}', this.session.region)
729
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
730
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'))
731
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
729
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
730
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'))
731
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
732
732
  var headers = this.createAuthorizedHeaders();
733
733
  if (request.getRequestId()) {
734
734
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
735
735
  }
736
736
  if (request.getDuplicationAvoider()) {
737
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
737
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
738
738
  }
739
739
  if (request.getTimeOffsetToken()) {
740
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
740
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
741
741
  }
742
742
  var body = {
743
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
743
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
744
744
  };
745
745
  return axios_1.default.post(url, body, {
746
746
  headers: headers,
@@ -756,18 +756,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
756
756
  });
757
757
  };
758
758
  Gs2MatchmakingRestClient.prototype.getGathering = function (request) {
759
- var _a, _b, _c, _d, _e;
760
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
759
+ var _a, _b, _c, _d, _e, _f;
760
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
761
761
  .replace('{service}', 'matchmaking')
762
762
  .replace('{region}', this.session.region)
763
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
764
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
763
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
764
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
765
765
  var headers = this.createAuthorizedHeaders();
766
766
  if (request.getRequestId()) {
767
767
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
768
768
  }
769
769
  var params = {
770
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
770
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
771
771
  };
772
772
  return axios_1.default.get(url, {
773
773
  params: params,
@@ -779,24 +779,24 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
779
779
  });
780
780
  };
781
781
  Gs2MatchmakingRestClient.prototype.cancelMatchmaking = function (request) {
782
- var _a, _b, _c, _d, _e, _f, _g;
783
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/me')
782
+ var _a, _b, _c, _d, _e, _f, _g, _h;
783
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/me')
784
784
  .replace('{service}', 'matchmaking')
785
785
  .replace('{region}', this.session.region)
786
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
787
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
786
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
787
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
788
788
  var headers = this.createAuthorizedHeaders();
789
789
  if (request.getRequestId()) {
790
790
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
791
791
  }
792
792
  if (request.getAccessToken()) {
793
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
793
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
794
794
  }
795
795
  if (request.getDuplicationAvoider()) {
796
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
796
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
797
797
  }
798
798
  var params = {
799
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
799
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
800
800
  };
801
801
  return axios_1.default.delete(url, {
802
802
  params: params,
@@ -808,25 +808,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
808
808
  });
809
809
  };
810
810
  Gs2MatchmakingRestClient.prototype.cancelMatchmakingByUserId = function (request) {
811
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
812
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}')
811
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
812
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}')
813
813
  .replace('{service}', 'matchmaking')
814
814
  .replace('{region}', this.session.region)
815
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
816
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'))
817
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
815
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
816
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'))
817
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
818
818
  var headers = this.createAuthorizedHeaders();
819
819
  if (request.getRequestId()) {
820
820
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
821
821
  }
822
822
  if (request.getDuplicationAvoider()) {
823
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
823
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
824
824
  }
825
825
  if (request.getTimeOffsetToken()) {
826
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
826
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
827
827
  }
828
828
  var params = {
829
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
829
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
830
830
  };
831
831
  return axios_1.default.delete(url, {
832
832
  params: params,
@@ -838,24 +838,24 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
838
838
  });
839
839
  };
840
840
  Gs2MatchmakingRestClient.prototype.earlyComplete = function (request) {
841
- var _a, _b, _c, _d, _e, _f, _g;
842
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/me/early')
841
+ var _a, _b, _c, _d, _e, _f, _g, _h;
842
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/me/early')
843
843
  .replace('{service}', 'matchmaking')
844
844
  .replace('{region}', this.session.region)
845
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
846
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
845
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
846
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
847
847
  var headers = this.createAuthorizedHeaders();
848
848
  if (request.getRequestId()) {
849
849
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
850
850
  }
851
851
  if (request.getAccessToken()) {
852
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
852
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
853
853
  }
854
854
  if (request.getDuplicationAvoider()) {
855
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
855
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
856
856
  }
857
857
  var params = {
858
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
858
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
859
859
  };
860
860
  return axios_1.default.delete(url, {
861
861
  params: params,
@@ -867,25 +867,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
867
867
  });
868
868
  };
869
869
  Gs2MatchmakingRestClient.prototype.earlyCompleteByUserId = function (request) {
870
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
871
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}/early')
870
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
871
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}/user/{userId}/early')
872
872
  .replace('{service}', 'matchmaking')
873
873
  .replace('{region}', this.session.region)
874
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
875
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'))
876
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
874
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
875
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'))
876
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
877
877
  var headers = this.createAuthorizedHeaders();
878
878
  if (request.getRequestId()) {
879
879
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
880
880
  }
881
881
  if (request.getDuplicationAvoider()) {
882
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
882
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
883
883
  }
884
884
  if (request.getTimeOffsetToken()) {
885
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
885
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
886
886
  }
887
887
  var params = {
888
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
888
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
889
889
  };
890
890
  return axios_1.default.delete(url, {
891
891
  params: params,
@@ -897,18 +897,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
897
897
  });
898
898
  };
899
899
  Gs2MatchmakingRestClient.prototype.deleteGathering = function (request) {
900
- var _a, _b, _c, _d, _e;
901
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
900
+ var _a, _b, _c, _d, _e, _f;
901
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/gathering/{gatheringName}')
902
902
  .replace('{service}', 'matchmaking')
903
903
  .replace('{region}', this.session.region)
904
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
905
- .replace('{gatheringName}', String((_c = request.getGatheringName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null'));
904
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
905
+ .replace('{gatheringName}', String((_d = request.getGatheringName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null'));
906
906
  var headers = this.createAuthorizedHeaders();
907
907
  if (request.getRequestId()) {
908
908
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
909
909
  }
910
910
  var params = {
911
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
911
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
912
912
  };
913
913
  return axios_1.default.delete(url, {
914
914
  params: params,
@@ -920,20 +920,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
920
920
  });
921
921
  };
922
922
  Gs2MatchmakingRestClient.prototype.describeRatingModelMasters = function (request) {
923
- var _a, _b, _c, _d, _e, _f;
924
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating')
923
+ var _a, _b, _c, _d, _e, _f, _g;
924
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating')
925
925
  .replace('{service}', 'matchmaking')
926
926
  .replace('{region}', this.session.region)
927
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
927
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
928
928
  var headers = this.createAuthorizedHeaders();
929
929
  if (request.getRequestId()) {
930
930
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
931
931
  }
932
932
  var params = {
933
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
934
- 'namePrefix': String((_d = request.getNamePrefix()) !== null && _d !== void 0 ? _d : null),
935
- 'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
936
- 'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
933
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
934
+ 'namePrefix': String((_e = request.getNamePrefix()) !== null && _e !== void 0 ? _e : null),
935
+ 'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
936
+ 'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
937
937
  };
938
938
  return axios_1.default.get(url, {
939
939
  params: params,
@@ -945,22 +945,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
945
945
  });
946
946
  };
947
947
  Gs2MatchmakingRestClient.prototype.createRatingModelMaster = function (request) {
948
- var _a, _b, _c, _d, _e, _f, _g, _h;
949
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating')
948
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
949
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating')
950
950
  .replace('{service}', 'matchmaking')
951
951
  .replace('{region}', this.session.region)
952
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
952
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
953
953
  var headers = this.createAuthorizedHeaders();
954
954
  if (request.getRequestId()) {
955
955
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
956
956
  }
957
957
  var body = {
958
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
959
- 'name': (_d = request.getName()) !== null && _d !== void 0 ? _d : null,
960
- 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
961
- 'metadata': (_f = request.getMetadata()) !== null && _f !== void 0 ? _f : null,
962
- 'initialValue': (_g = request.getInitialValue()) !== null && _g !== void 0 ? _g : null,
963
- 'volatility': (_h = request.getVolatility()) !== null && _h !== void 0 ? _h : null,
958
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
959
+ 'name': (_e = request.getName()) !== null && _e !== void 0 ? _e : null,
960
+ 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
961
+ 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
962
+ 'initialValue': (_h = request.getInitialValue()) !== null && _h !== void 0 ? _h : null,
963
+ 'volatility': (_j = request.getVolatility()) !== null && _j !== void 0 ? _j : null,
964
964
  };
965
965
  return axios_1.default.post(url, body, {
966
966
  headers: headers,
@@ -976,18 +976,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
976
976
  });
977
977
  };
978
978
  Gs2MatchmakingRestClient.prototype.getRatingModelMaster = function (request) {
979
- var _a, _b, _c, _d, _e;
980
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
979
+ var _a, _b, _c, _d, _e, _f;
980
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
981
981
  .replace('{service}', 'matchmaking')
982
982
  .replace('{region}', this.session.region)
983
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
984
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
983
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
984
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
985
985
  var headers = this.createAuthorizedHeaders();
986
986
  if (request.getRequestId()) {
987
987
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
988
988
  }
989
989
  var params = {
990
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
990
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
991
991
  };
992
992
  return axios_1.default.get(url, {
993
993
  params: params,
@@ -999,22 +999,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
999
999
  });
1000
1000
  };
1001
1001
  Gs2MatchmakingRestClient.prototype.updateRatingModelMaster = function (request) {
1002
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1003
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
1002
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1003
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
1004
1004
  .replace('{service}', 'matchmaking')
1005
1005
  .replace('{region}', this.session.region)
1006
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1007
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
1006
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1007
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
1008
1008
  var headers = this.createAuthorizedHeaders();
1009
1009
  if (request.getRequestId()) {
1010
1010
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1011
1011
  }
1012
1012
  var body = {
1013
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1014
- 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
1015
- 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
1016
- 'initialValue': (_h = request.getInitialValue()) !== null && _h !== void 0 ? _h : null,
1017
- 'volatility': (_j = request.getVolatility()) !== null && _j !== void 0 ? _j : null,
1013
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1014
+ 'description': (_g = request.getDescription()) !== null && _g !== void 0 ? _g : null,
1015
+ 'metadata': (_h = request.getMetadata()) !== null && _h !== void 0 ? _h : null,
1016
+ 'initialValue': (_j = request.getInitialValue()) !== null && _j !== void 0 ? _j : null,
1017
+ 'volatility': (_k = request.getVolatility()) !== null && _k !== void 0 ? _k : null,
1018
1018
  };
1019
1019
  return axios_1.default.put(url, body, {
1020
1020
  headers: headers,
@@ -1030,18 +1030,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1030
1030
  });
1031
1031
  };
1032
1032
  Gs2MatchmakingRestClient.prototype.deleteRatingModelMaster = function (request) {
1033
- var _a, _b, _c, _d, _e;
1034
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
1033
+ var _a, _b, _c, _d, _e, _f;
1034
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/rating/{ratingName}')
1035
1035
  .replace('{service}', 'matchmaking')
1036
1036
  .replace('{region}', this.session.region)
1037
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1038
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
1037
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1038
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
1039
1039
  var headers = this.createAuthorizedHeaders();
1040
1040
  if (request.getRequestId()) {
1041
1041
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1042
1042
  }
1043
1043
  var params = {
1044
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1044
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1045
1045
  };
1046
1046
  return axios_1.default.delete(url, {
1047
1047
  params: params,
@@ -1053,17 +1053,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1053
1053
  });
1054
1054
  };
1055
1055
  Gs2MatchmakingRestClient.prototype.describeRatingModels = function (request) {
1056
- var _a, _b, _c;
1057
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating')
1056
+ var _a, _b, _c, _d;
1057
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating')
1058
1058
  .replace('{service}', 'matchmaking')
1059
1059
  .replace('{region}', this.session.region)
1060
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1060
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1061
1061
  var headers = this.createAuthorizedHeaders();
1062
1062
  if (request.getRequestId()) {
1063
1063
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1064
1064
  }
1065
1065
  var params = {
1066
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1066
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1067
1067
  };
1068
1068
  return axios_1.default.get(url, {
1069
1069
  params: params,
@@ -1075,18 +1075,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1075
1075
  });
1076
1076
  };
1077
1077
  Gs2MatchmakingRestClient.prototype.getRatingModel = function (request) {
1078
- var _a, _b, _c, _d, _e;
1079
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating/{ratingName}')
1078
+ var _a, _b, _c, _d, _e, _f;
1079
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating/{ratingName}')
1080
1080
  .replace('{service}', 'matchmaking')
1081
1081
  .replace('{region}', this.session.region)
1082
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1083
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
1082
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1083
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
1084
1084
  var headers = this.createAuthorizedHeaders();
1085
1085
  if (request.getRequestId()) {
1086
1086
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1087
1087
  }
1088
1088
  var params = {
1089
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1089
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1090
1090
  };
1091
1091
  return axios_1.default.get(url, {
1092
1092
  params: params,
@@ -1098,17 +1098,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1098
1098
  });
1099
1099
  };
1100
1100
  Gs2MatchmakingRestClient.prototype.exportMaster = function (request) {
1101
- var _a, _b, _c;
1102
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
1101
+ var _a, _b, _c, _d;
1102
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
1103
1103
  .replace('{service}', 'matchmaking')
1104
1104
  .replace('{region}', this.session.region)
1105
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1105
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1106
1106
  var headers = this.createAuthorizedHeaders();
1107
1107
  if (request.getRequestId()) {
1108
1108
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1109
1109
  }
1110
1110
  var params = {
1111
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1111
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1112
1112
  };
1113
1113
  return axios_1.default.get(url, {
1114
1114
  params: params,
@@ -1120,17 +1120,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1120
1120
  });
1121
1121
  };
1122
1122
  Gs2MatchmakingRestClient.prototype.getCurrentModelMaster = function (request) {
1123
- var _a, _b, _c;
1124
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1123
+ var _a, _b, _c, _d;
1124
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1125
1125
  .replace('{service}', 'matchmaking')
1126
1126
  .replace('{region}', this.session.region)
1127
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1127
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1128
1128
  var headers = this.createAuthorizedHeaders();
1129
1129
  if (request.getRequestId()) {
1130
1130
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1131
1131
  }
1132
1132
  var params = {
1133
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1133
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1134
1134
  };
1135
1135
  return axios_1.default.get(url, {
1136
1136
  params: params,
@@ -1142,17 +1142,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1142
1142
  });
1143
1143
  };
1144
1144
  Gs2MatchmakingRestClient.prototype.preUpdateCurrentModelMaster = function (request) {
1145
- var _a, _b, _c;
1146
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1145
+ var _a, _b, _c, _d;
1146
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1147
1147
  .replace('{service}', 'matchmaking')
1148
1148
  .replace('{region}', this.session.region)
1149
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1149
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1150
1150
  var headers = this.createAuthorizedHeaders();
1151
1151
  if (request.getRequestId()) {
1152
1152
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1153
1153
  }
1154
1154
  var body = {
1155
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1155
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1156
1156
  };
1157
1157
  return axios_1.default.post(url, body, {
1158
1158
  headers: headers,
@@ -1168,20 +1168,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1168
1168
  });
1169
1169
  };
1170
1170
  Gs2MatchmakingRestClient.prototype.updateCurrentModelMaster = function (request) {
1171
- var _a, _b, _c, _d, _e, _f;
1172
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1171
+ var _a, _b, _c, _d, _e, _f, _g;
1172
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
1173
1173
  .replace('{service}', 'matchmaking')
1174
1174
  .replace('{region}', this.session.region)
1175
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1175
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1176
1176
  var headers = this.createAuthorizedHeaders();
1177
1177
  if (request.getRequestId()) {
1178
1178
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1179
1179
  }
1180
1180
  var body = {
1181
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1182
- 'mode': (_d = request.getMode()) !== null && _d !== void 0 ? _d : null,
1183
- 'settings': (_e = request.getSettings()) !== null && _e !== void 0 ? _e : null,
1184
- 'uploadToken': (_f = request.getUploadToken()) !== null && _f !== void 0 ? _f : null,
1181
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1182
+ 'mode': (_e = request.getMode()) !== null && _e !== void 0 ? _e : null,
1183
+ 'settings': (_f = request.getSettings()) !== null && _f !== void 0 ? _f : null,
1184
+ 'uploadToken': (_g = request.getUploadToken()) !== null && _g !== void 0 ? _g : null,
1185
1185
  };
1186
1186
  return axios_1.default.put(url, body, {
1187
1187
  headers: headers,
@@ -1197,18 +1197,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1197
1197
  });
1198
1198
  };
1199
1199
  Gs2MatchmakingRestClient.prototype.updateCurrentModelMasterFromGitHub = function (request) {
1200
- var _a, _b, _c, _d, _e;
1201
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
1200
+ var _a, _b, _c, _d, _e, _f;
1201
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
1202
1202
  .replace('{service}', 'matchmaking')
1203
1203
  .replace('{region}', this.session.region)
1204
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1204
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1205
1205
  var headers = this.createAuthorizedHeaders();
1206
1206
  if (request.getRequestId()) {
1207
1207
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1208
1208
  }
1209
1209
  var body = {
1210
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1211
- 'checkoutSetting': (_e = (_d = request.getCheckoutSetting()) === null || _d === void 0 ? void 0 : _d.toDict()) !== null && _e !== void 0 ? _e : null,
1210
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1211
+ 'checkoutSetting': (_f = (_e = request.getCheckoutSetting()) === null || _e === void 0 ? void 0 : _e.toDict()) !== null && _f !== void 0 ? _f : null,
1212
1212
  };
1213
1213
  return axios_1.default.put(url, body, {
1214
1214
  headers: headers,
@@ -1224,17 +1224,17 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1224
1224
  });
1225
1225
  };
1226
1226
  Gs2MatchmakingRestClient.prototype.describeSeasonModels = function (request) {
1227
- var _a, _b, _c;
1228
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season')
1227
+ var _a, _b, _c, _d;
1228
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season')
1229
1229
  .replace('{service}', 'matchmaking')
1230
1230
  .replace('{region}', this.session.region)
1231
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1231
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1232
1232
  var headers = this.createAuthorizedHeaders();
1233
1233
  if (request.getRequestId()) {
1234
1234
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1235
1235
  }
1236
1236
  var params = {
1237
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1237
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1238
1238
  };
1239
1239
  return axios_1.default.get(url, {
1240
1240
  params: params,
@@ -1246,18 +1246,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1246
1246
  });
1247
1247
  };
1248
1248
  Gs2MatchmakingRestClient.prototype.getSeasonModel = function (request) {
1249
- var _a, _b, _c, _d, _e;
1250
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}')
1249
+ var _a, _b, _c, _d, _e, _f;
1250
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}')
1251
1251
  .replace('{service}', 'matchmaking')
1252
1252
  .replace('{region}', this.session.region)
1253
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1254
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1253
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1254
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1255
1255
  var headers = this.createAuthorizedHeaders();
1256
1256
  if (request.getRequestId()) {
1257
1257
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1258
1258
  }
1259
1259
  var params = {
1260
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1260
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1261
1261
  };
1262
1262
  return axios_1.default.get(url, {
1263
1263
  params: params,
@@ -1269,20 +1269,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1269
1269
  });
1270
1270
  };
1271
1271
  Gs2MatchmakingRestClient.prototype.describeSeasonModelMasters = function (request) {
1272
- var _a, _b, _c, _d, _e, _f;
1273
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1272
+ var _a, _b, _c, _d, _e, _f, _g;
1273
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1274
1274
  .replace('{service}', 'matchmaking')
1275
1275
  .replace('{region}', this.session.region)
1276
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1276
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1277
1277
  var headers = this.createAuthorizedHeaders();
1278
1278
  if (request.getRequestId()) {
1279
1279
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1280
1280
  }
1281
1281
  var params = {
1282
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1283
- 'namePrefix': String((_d = request.getNamePrefix()) !== null && _d !== void 0 ? _d : null),
1284
- 'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
1285
- 'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
1282
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1283
+ 'namePrefix': String((_e = request.getNamePrefix()) !== null && _e !== void 0 ? _e : null),
1284
+ 'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
1285
+ 'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
1286
1286
  };
1287
1287
  return axios_1.default.get(url, {
1288
1288
  params: params,
@@ -1294,23 +1294,23 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1294
1294
  });
1295
1295
  };
1296
1296
  Gs2MatchmakingRestClient.prototype.createSeasonModelMaster = function (request) {
1297
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1298
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1297
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1298
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season')
1299
1299
  .replace('{service}', 'matchmaking')
1300
1300
  .replace('{region}', this.session.region)
1301
- .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('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1302
1302
  var headers = this.createAuthorizedHeaders();
1303
1303
  if (request.getRequestId()) {
1304
1304
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1305
1305
  }
1306
1306
  var body = {
1307
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
1308
- 'name': (_d = request.getName()) !== null && _d !== void 0 ? _d : null,
1309
- 'description': (_e = request.getDescription()) !== null && _e !== void 0 ? _e : null,
1310
- 'metadata': (_f = request.getMetadata()) !== null && _f !== void 0 ? _f : null,
1311
- 'maximumParticipants': (_g = request.getMaximumParticipants()) !== null && _g !== void 0 ? _g : null,
1312
- 'experienceModelId': (_h = request.getExperienceModelId()) !== null && _h !== void 0 ? _h : null,
1313
- 'challengePeriodEventId': (_j = request.getChallengePeriodEventId()) !== null && _j !== void 0 ? _j : null,
1307
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1308
+ 'name': (_e = request.getName()) !== null && _e !== void 0 ? _e : null,
1309
+ 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
1310
+ 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
1311
+ 'maximumParticipants': (_h = request.getMaximumParticipants()) !== null && _h !== void 0 ? _h : null,
1312
+ 'experienceModelId': (_j = request.getExperienceModelId()) !== null && _j !== void 0 ? _j : null,
1313
+ 'challengePeriodEventId': (_k = request.getChallengePeriodEventId()) !== null && _k !== void 0 ? _k : null,
1314
1314
  };
1315
1315
  return axios_1.default.post(url, body, {
1316
1316
  headers: headers,
@@ -1326,18 +1326,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1326
1326
  });
1327
1327
  };
1328
1328
  Gs2MatchmakingRestClient.prototype.getSeasonModelMaster = function (request) {
1329
- var _a, _b, _c, _d, _e;
1330
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1329
+ var _a, _b, _c, _d, _e, _f;
1330
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1331
1331
  .replace('{service}', 'matchmaking')
1332
1332
  .replace('{region}', this.session.region)
1333
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1334
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1333
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1334
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1335
1335
  var headers = this.createAuthorizedHeaders();
1336
1336
  if (request.getRequestId()) {
1337
1337
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1338
1338
  }
1339
1339
  var params = {
1340
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1340
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1341
1341
  };
1342
1342
  return axios_1.default.get(url, {
1343
1343
  params: params,
@@ -1349,23 +1349,23 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1349
1349
  });
1350
1350
  };
1351
1351
  Gs2MatchmakingRestClient.prototype.updateSeasonModelMaster = function (request) {
1352
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1353
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1352
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1353
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1354
1354
  .replace('{service}', 'matchmaking')
1355
1355
  .replace('{region}', this.session.region)
1356
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1357
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1356
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1357
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1358
1358
  var headers = this.createAuthorizedHeaders();
1359
1359
  if (request.getRequestId()) {
1360
1360
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1361
1361
  }
1362
1362
  var body = {
1363
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1364
- 'description': (_f = request.getDescription()) !== null && _f !== void 0 ? _f : null,
1365
- 'metadata': (_g = request.getMetadata()) !== null && _g !== void 0 ? _g : null,
1366
- 'maximumParticipants': (_h = request.getMaximumParticipants()) !== null && _h !== void 0 ? _h : null,
1367
- 'experienceModelId': (_j = request.getExperienceModelId()) !== null && _j !== void 0 ? _j : null,
1368
- 'challengePeriodEventId': (_k = request.getChallengePeriodEventId()) !== null && _k !== void 0 ? _k : null,
1363
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1364
+ 'description': (_g = request.getDescription()) !== null && _g !== void 0 ? _g : null,
1365
+ 'metadata': (_h = request.getMetadata()) !== null && _h !== void 0 ? _h : null,
1366
+ 'maximumParticipants': (_j = request.getMaximumParticipants()) !== null && _j !== void 0 ? _j : null,
1367
+ 'experienceModelId': (_k = request.getExperienceModelId()) !== null && _k !== void 0 ? _k : null,
1368
+ 'challengePeriodEventId': (_l = request.getChallengePeriodEventId()) !== null && _l !== void 0 ? _l : null,
1369
1369
  };
1370
1370
  return axios_1.default.put(url, body, {
1371
1371
  headers: headers,
@@ -1381,18 +1381,18 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1381
1381
  });
1382
1382
  };
1383
1383
  Gs2MatchmakingRestClient.prototype.deleteSeasonModelMaster = function (request) {
1384
- var _a, _b, _c, _d, _e;
1385
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1384
+ var _a, _b, _c, _d, _e, _f;
1385
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/season/{seasonName}')
1386
1386
  .replace('{service}', 'matchmaking')
1387
1387
  .replace('{region}', this.session.region)
1388
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1389
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1388
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1389
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1390
1390
  var headers = this.createAuthorizedHeaders();
1391
1391
  if (request.getRequestId()) {
1392
1392
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1393
1393
  }
1394
1394
  var params = {
1395
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1395
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1396
1396
  };
1397
1397
  return axios_1.default.delete(url, {
1398
1398
  params: params,
@@ -1404,22 +1404,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1404
1404
  });
1405
1405
  };
1406
1406
  Gs2MatchmakingRestClient.prototype.describeSeasonGatherings = function (request) {
1407
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1408
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering')
1407
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1408
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering')
1409
1409
  .replace('{service}', 'matchmaking')
1410
1410
  .replace('{region}', this.session.region)
1411
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1412
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1413
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'));
1411
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1412
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1413
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'));
1414
1414
  var headers = this.createAuthorizedHeaders();
1415
1415
  if (request.getRequestId()) {
1416
1416
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1417
1417
  }
1418
1418
  var params = {
1419
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1420
- 'tier': String((_h = request.getTier()) !== null && _h !== void 0 ? _h : null),
1421
- 'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
1422
- 'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
1419
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1420
+ 'tier': String((_j = request.getTier()) !== null && _j !== void 0 ? _j : null),
1421
+ 'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
1422
+ 'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
1423
1423
  };
1424
1424
  return axios_1.default.get(url, {
1425
1425
  params: params,
@@ -1431,22 +1431,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1431
1431
  });
1432
1432
  };
1433
1433
  Gs2MatchmakingRestClient.prototype.describeMatchmakingSeasonGatherings = function (request) {
1434
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1435
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering/matchmaking')
1434
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1435
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/gathering/matchmaking')
1436
1436
  .replace('{service}', 'matchmaking')
1437
1437
  .replace('{region}', this.session.region)
1438
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1439
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1440
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'));
1438
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1439
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1440
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'));
1441
1441
  var headers = this.createAuthorizedHeaders();
1442
1442
  if (request.getRequestId()) {
1443
1443
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1444
1444
  }
1445
1445
  var params = {
1446
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1447
- 'tier': String((_h = request.getTier()) !== null && _h !== void 0 ? _h : null),
1448
- 'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
1449
- 'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
1446
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1447
+ 'tier': String((_j = request.getTier()) !== null && _j !== void 0 ? _j : null),
1448
+ 'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
1449
+ 'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
1450
1450
  };
1451
1451
  return axios_1.default.get(url, {
1452
1452
  params: params,
@@ -1458,25 +1458,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1458
1458
  });
1459
1459
  };
1460
1460
  Gs2MatchmakingRestClient.prototype.doSeasonMatchmaking = function (request) {
1461
- var _a, _b, _c, _d, _e, _f, _g, _h;
1462
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/do')
1461
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1462
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/do')
1463
1463
  .replace('{service}', 'matchmaking')
1464
1464
  .replace('{region}', this.session.region)
1465
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1466
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1465
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1466
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1467
1467
  var headers = this.createAuthorizedHeaders();
1468
1468
  if (request.getRequestId()) {
1469
1469
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1470
1470
  }
1471
1471
  if (request.getAccessToken()) {
1472
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1472
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
1473
1473
  }
1474
1474
  if (request.getDuplicationAvoider()) {
1475
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_f = request.getDuplicationAvoider()) !== null && _f !== void 0 ? _f : null;
1475
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
1476
1476
  }
1477
1477
  var body = {
1478
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1479
- 'matchmakingContextToken': (_h = request.getMatchmakingContextToken()) !== null && _h !== void 0 ? _h : null,
1478
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1479
+ 'matchmakingContextToken': (_j = request.getMatchmakingContextToken()) !== null && _j !== void 0 ? _j : null,
1480
1480
  };
1481
1481
  return axios_1.default.post(url, body, {
1482
1482
  headers: headers,
@@ -1492,26 +1492,26 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1492
1492
  });
1493
1493
  };
1494
1494
  Gs2MatchmakingRestClient.prototype.doSeasonMatchmakingByUserId = function (request) {
1495
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1496
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/do')
1495
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1496
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/do')
1497
1497
  .replace('{service}', 'matchmaking')
1498
1498
  .replace('{region}', this.session.region)
1499
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1500
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1501
- .replace('{userId}', String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null'));
1499
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1500
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1501
+ .replace('{userId}', String((_f = request.getUserId()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null'));
1502
1502
  var headers = this.createAuthorizedHeaders();
1503
1503
  if (request.getRequestId()) {
1504
1504
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1505
1505
  }
1506
1506
  if (request.getDuplicationAvoider()) {
1507
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
1507
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
1508
1508
  }
1509
1509
  if (request.getTimeOffsetToken()) {
1510
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1510
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
1511
1511
  }
1512
1512
  var body = {
1513
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1514
- 'matchmakingContextToken': (_k = request.getMatchmakingContextToken()) !== null && _k !== void 0 ? _k : null,
1513
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
1514
+ 'matchmakingContextToken': (_l = request.getMatchmakingContextToken()) !== null && _l !== void 0 ? _l : null,
1515
1515
  };
1516
1516
  return axios_1.default.post(url, body, {
1517
1517
  headers: headers,
@@ -1527,21 +1527,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1527
1527
  });
1528
1528
  };
1529
1529
  Gs2MatchmakingRestClient.prototype.getSeasonGathering = function (request) {
1530
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1531
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1530
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
1531
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1532
1532
  .replace('{service}', 'matchmaking')
1533
1533
  .replace('{region}', this.session.region)
1534
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1535
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1536
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1537
- .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1538
- .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1534
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1535
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1536
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'))
1537
+ .replace('{tier}', String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getTier()) !== null && _j !== void 0 ? _j : 'null'))
1538
+ .replace('{seasonGatheringName}', String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null') === "" ? "null" : String((_l = request.getSeasonGatheringName()) !== null && _l !== void 0 ? _l : 'null'));
1539
1539
  var headers = this.createAuthorizedHeaders();
1540
1540
  if (request.getRequestId()) {
1541
1541
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1542
1542
  }
1543
1543
  var params = {
1544
- 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
1544
+ 'contextStack': (_m = request.getContextStack()) !== null && _m !== void 0 ? _m : null,
1545
1545
  };
1546
1546
  return axios_1.default.get(url, {
1547
1547
  params: params,
@@ -1553,28 +1553,28 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1553
1553
  });
1554
1554
  };
1555
1555
  Gs2MatchmakingRestClient.prototype.verifyIncludeParticipant = function (request) {
1556
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
1557
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/me/verify')
1556
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
1557
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/me/verify')
1558
1558
  .replace('{service}', 'matchmaking')
1559
1559
  .replace('{region}', this.session.region)
1560
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1561
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1562
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1563
- .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1564
- .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1560
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1561
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1562
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'))
1563
+ .replace('{tier}', String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getTier()) !== null && _j !== void 0 ? _j : 'null'))
1564
+ .replace('{seasonGatheringName}', String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null') === "" ? "null" : String((_l = request.getSeasonGatheringName()) !== null && _l !== void 0 ? _l : 'null'));
1565
1565
  var headers = this.createAuthorizedHeaders();
1566
1566
  if (request.getRequestId()) {
1567
1567
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1568
1568
  }
1569
1569
  if (request.getAccessToken()) {
1570
- headers['X-GS2-ACCESS-TOKEN'] = (_l = request.getAccessToken()) !== null && _l !== void 0 ? _l : null;
1570
+ headers['X-GS2-ACCESS-TOKEN'] = (_m = request.getAccessToken()) !== null && _m !== void 0 ? _m : null;
1571
1571
  }
1572
1572
  if (request.getDuplicationAvoider()) {
1573
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_m = request.getDuplicationAvoider()) !== null && _m !== void 0 ? _m : null;
1573
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_o = request.getDuplicationAvoider()) !== null && _o !== void 0 ? _o : null;
1574
1574
  }
1575
1575
  var body = {
1576
- 'contextStack': (_o = request.getContextStack()) !== null && _o !== void 0 ? _o : null,
1577
- 'verifyType': (_p = request.getVerifyType()) !== null && _p !== void 0 ? _p : null,
1576
+ 'contextStack': (_p = request.getContextStack()) !== null && _p !== void 0 ? _p : null,
1577
+ 'verifyType': (_q = request.getVerifyType()) !== null && _q !== void 0 ? _q : null,
1578
1578
  };
1579
1579
  return axios_1.default.post(url, body, {
1580
1580
  headers: headers,
@@ -1590,29 +1590,29 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1590
1590
  });
1591
1591
  };
1592
1592
  Gs2MatchmakingRestClient.prototype.verifyIncludeParticipantByUserId = function (request) {
1593
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
1594
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/{userId}/verify')
1593
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
1594
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}/participant/{userId}/verify')
1595
1595
  .replace('{service}', 'matchmaking')
1596
1596
  .replace('{region}', this.session.region)
1597
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1598
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1599
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1600
- .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1601
- .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'))
1602
- .replace('{userId}', String((_l = request.getUserId()) !== null && _l !== void 0 ? _l : 'null') === "" ? "null" : String((_m = request.getUserId()) !== null && _m !== void 0 ? _m : 'null'));
1597
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1598
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1599
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'))
1600
+ .replace('{tier}', String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getTier()) !== null && _j !== void 0 ? _j : 'null'))
1601
+ .replace('{seasonGatheringName}', String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null') === "" ? "null" : String((_l = request.getSeasonGatheringName()) !== null && _l !== void 0 ? _l : 'null'))
1602
+ .replace('{userId}', String((_m = request.getUserId()) !== null && _m !== void 0 ? _m : 'null') === "" ? "null" : String((_o = request.getUserId()) !== null && _o !== void 0 ? _o : 'null'));
1603
1603
  var headers = this.createAuthorizedHeaders();
1604
1604
  if (request.getRequestId()) {
1605
1605
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1606
1606
  }
1607
1607
  if (request.getDuplicationAvoider()) {
1608
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_o = request.getDuplicationAvoider()) !== null && _o !== void 0 ? _o : null;
1608
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_p = request.getDuplicationAvoider()) !== null && _p !== void 0 ? _p : null;
1609
1609
  }
1610
1610
  if (request.getTimeOffsetToken()) {
1611
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_p = request.getTimeOffsetToken()) !== null && _p !== void 0 ? _p : null;
1611
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_q = request.getTimeOffsetToken()) !== null && _q !== void 0 ? _q : null;
1612
1612
  }
1613
1613
  var body = {
1614
- 'contextStack': (_q = request.getContextStack()) !== null && _q !== void 0 ? _q : null,
1615
- 'verifyType': (_r = request.getVerifyType()) !== null && _r !== void 0 ? _r : null,
1614
+ 'contextStack': (_r = request.getContextStack()) !== null && _r !== void 0 ? _r : null,
1615
+ 'verifyType': (_s = request.getVerifyType()) !== null && _s !== void 0 ? _s : null,
1616
1616
  };
1617
1617
  return axios_1.default.post(url, body, {
1618
1618
  headers: headers,
@@ -1628,21 +1628,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1628
1628
  });
1629
1629
  };
1630
1630
  Gs2MatchmakingRestClient.prototype.deleteSeasonGathering = function (request) {
1631
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1632
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1631
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
1632
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/season/{seasonName}/{season}/{tier}/gathering/{seasonGatheringName}')
1633
1633
  .replace('{service}', 'matchmaking')
1634
1634
  .replace('{region}', this.session.region)
1635
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1636
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1637
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'))
1638
- .replace('{tier}', String((_g = request.getTier()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null'))
1639
- .replace('{seasonGatheringName}', String((_j = request.getSeasonGatheringName()) !== null && _j !== void 0 ? _j : 'null') === "" ? "null" : String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null'));
1635
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1636
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1637
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'))
1638
+ .replace('{tier}', String((_h = request.getTier()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getTier()) !== null && _j !== void 0 ? _j : 'null'))
1639
+ .replace('{seasonGatheringName}', String((_k = request.getSeasonGatheringName()) !== null && _k !== void 0 ? _k : 'null') === "" ? "null" : String((_l = request.getSeasonGatheringName()) !== null && _l !== void 0 ? _l : 'null'));
1640
1640
  var headers = this.createAuthorizedHeaders();
1641
1641
  if (request.getRequestId()) {
1642
1642
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1643
1643
  }
1644
1644
  var params = {
1645
- 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
1645
+ 'contextStack': (_m = request.getContextStack()) !== null && _m !== void 0 ? _m : null,
1646
1646
  };
1647
1647
  return axios_1.default.delete(url, {
1648
1648
  params: params,
@@ -1654,8 +1654,8 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1654
1654
  });
1655
1655
  };
1656
1656
  Gs2MatchmakingRestClient.prototype.verifyIncludeParticipantByStampTask = function (request) {
1657
- var _a, _b, _c;
1658
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/season/gathering/participant/verify')
1657
+ var _a, _b, _c, _d;
1658
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/stamp/season/gathering/participant/verify')
1659
1659
  .replace('{service}', 'matchmaking')
1660
1660
  .replace('{region}', this.session.region);
1661
1661
  var headers = this.createAuthorizedHeaders();
@@ -1663,9 +1663,9 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1663
1663
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1664
1664
  }
1665
1665
  var body = {
1666
- 'contextStack': (_a = request.getContextStack()) !== null && _a !== void 0 ? _a : null,
1667
- 'stampTask': (_b = request.getStampTask()) !== null && _b !== void 0 ? _b : null,
1668
- 'keyId': (_c = request.getKeyId()) !== null && _c !== void 0 ? _c : null,
1666
+ 'contextStack': (_b = request.getContextStack()) !== null && _b !== void 0 ? _b : null,
1667
+ 'stampTask': (_c = request.getStampTask()) !== null && _c !== void 0 ? _c : null,
1668
+ 'keyId': (_d = request.getKeyId()) !== null && _d !== void 0 ? _d : null,
1669
1669
  };
1670
1670
  return axios_1.default.post(url, body, {
1671
1671
  headers: headers,
@@ -1681,23 +1681,23 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1681
1681
  });
1682
1682
  };
1683
1683
  Gs2MatchmakingRestClient.prototype.describeJoinedSeasonGatherings = function (request) {
1684
- var _a, _b, _c, _d, _e, _f, _g, _h;
1685
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join')
1684
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1685
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join')
1686
1686
  .replace('{service}', 'matchmaking')
1687
1687
  .replace('{region}', this.session.region)
1688
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1689
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'));
1688
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1689
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'));
1690
1690
  var headers = this.createAuthorizedHeaders();
1691
1691
  if (request.getRequestId()) {
1692
1692
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1693
1693
  }
1694
1694
  if (request.getAccessToken()) {
1695
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1695
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
1696
1696
  }
1697
1697
  var params = {
1698
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1699
- 'pageToken': String((_g = request.getPageToken()) !== null && _g !== void 0 ? _g : null),
1700
- 'limit': String((_h = request.getLimit()) !== null && _h !== void 0 ? _h : null),
1698
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1699
+ 'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
1700
+ 'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
1701
1701
  };
1702
1702
  return axios_1.default.get(url, {
1703
1703
  params: params,
@@ -1709,24 +1709,24 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1709
1709
  });
1710
1710
  };
1711
1711
  Gs2MatchmakingRestClient.prototype.describeJoinedSeasonGatheringsByUserId = function (request) {
1712
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1713
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join')
1712
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1713
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join')
1714
1714
  .replace('{service}', 'matchmaking')
1715
1715
  .replace('{region}', this.session.region)
1716
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1717
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1718
- .replace('{seasonName}', String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null'));
1716
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1717
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1718
+ .replace('{seasonName}', String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeasonName()) !== null && _g !== void 0 ? _g : 'null'));
1719
1719
  var headers = this.createAuthorizedHeaders();
1720
1720
  if (request.getRequestId()) {
1721
1721
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1722
1722
  }
1723
1723
  if (request.getTimeOffsetToken()) {
1724
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
1724
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1725
1725
  }
1726
1726
  var params = {
1727
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1728
- 'pageToken': String((_j = request.getPageToken()) !== null && _j !== void 0 ? _j : null),
1729
- 'limit': String((_k = request.getLimit()) !== null && _k !== void 0 ? _k : null),
1727
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1728
+ 'pageToken': String((_k = request.getPageToken()) !== null && _k !== void 0 ? _k : null),
1729
+ 'limit': String((_l = request.getLimit()) !== null && _l !== void 0 ? _l : null),
1730
1730
  };
1731
1731
  return axios_1.default.get(url, {
1732
1732
  params: params,
@@ -1738,22 +1738,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1738
1738
  });
1739
1739
  };
1740
1740
  Gs2MatchmakingRestClient.prototype.getJoinedSeasonGathering = function (request) {
1741
- var _a, _b, _c, _d, _e, _f, _g, _h;
1742
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join/{season}')
1741
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1742
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/season/{seasonName}/gathering/join/{season}')
1743
1743
  .replace('{service}', 'matchmaking')
1744
1744
  .replace('{region}', this.session.region)
1745
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1746
- .replace('{seasonName}', String((_c = request.getSeasonName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null'))
1747
- .replace('{season}', String((_e = request.getSeason()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null'));
1745
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1746
+ .replace('{seasonName}', String((_d = request.getSeasonName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null'))
1747
+ .replace('{season}', String((_f = request.getSeason()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null'));
1748
1748
  var headers = this.createAuthorizedHeaders();
1749
1749
  if (request.getRequestId()) {
1750
1750
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1751
1751
  }
1752
1752
  if (request.getAccessToken()) {
1753
- headers['X-GS2-ACCESS-TOKEN'] = (_g = request.getAccessToken()) !== null && _g !== void 0 ? _g : null;
1753
+ headers['X-GS2-ACCESS-TOKEN'] = (_h = request.getAccessToken()) !== null && _h !== void 0 ? _h : null;
1754
1754
  }
1755
1755
  var params = {
1756
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1756
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1757
1757
  };
1758
1758
  return axios_1.default.get(url, {
1759
1759
  params: params,
@@ -1765,23 +1765,23 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1765
1765
  });
1766
1766
  };
1767
1767
  Gs2MatchmakingRestClient.prototype.getJoinedSeasonGatheringByUserId = function (request) {
1768
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1769
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join/{season}')
1768
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1769
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/season/{seasonName}/gathering/join/{season}')
1770
1770
  .replace('{service}', 'matchmaking')
1771
1771
  .replace('{region}', this.session.region)
1772
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1773
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1774
- .replace('{seasonName}', String((_e = request.getSeasonName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null'))
1775
- .replace('{season}', String((_g = request.getSeason()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getSeason()) !== null && _h !== void 0 ? _h : 'null'));
1772
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1773
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1774
+ .replace('{seasonName}', String((_f = request.getSeasonName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getSeasonName()) !== null && _g !== void 0 ? _g : 'null'))
1775
+ .replace('{season}', String((_h = request.getSeason()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getSeason()) !== null && _j !== void 0 ? _j : 'null'));
1776
1776
  var headers = this.createAuthorizedHeaders();
1777
1777
  if (request.getRequestId()) {
1778
1778
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1779
1779
  }
1780
1780
  if (request.getTimeOffsetToken()) {
1781
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
1781
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_k = request.getTimeOffsetToken()) !== null && _k !== void 0 ? _k : null;
1782
1782
  }
1783
1783
  var params = {
1784
- 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
1784
+ 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
1785
1785
  };
1786
1786
  return axios_1.default.get(url, {
1787
1787
  params: params,
@@ -1793,22 +1793,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1793
1793
  });
1794
1794
  };
1795
1795
  Gs2MatchmakingRestClient.prototype.describeRatings = function (request) {
1796
- var _a, _b, _c, _d, _e, _f;
1797
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/rating')
1796
+ var _a, _b, _c, _d, _e, _f, _g;
1797
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/rating')
1798
1798
  .replace('{service}', 'matchmaking')
1799
1799
  .replace('{region}', this.session.region)
1800
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
1800
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
1801
1801
  var headers = this.createAuthorizedHeaders();
1802
1802
  if (request.getRequestId()) {
1803
1803
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1804
1804
  }
1805
1805
  if (request.getAccessToken()) {
1806
- headers['X-GS2-ACCESS-TOKEN'] = (_c = request.getAccessToken()) !== null && _c !== void 0 ? _c : null;
1806
+ headers['X-GS2-ACCESS-TOKEN'] = (_d = request.getAccessToken()) !== null && _d !== void 0 ? _d : null;
1807
1807
  }
1808
1808
  var params = {
1809
- 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
1810
- 'pageToken': String((_e = request.getPageToken()) !== null && _e !== void 0 ? _e : null),
1811
- 'limit': String((_f = request.getLimit()) !== null && _f !== void 0 ? _f : null),
1809
+ 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1810
+ 'pageToken': String((_f = request.getPageToken()) !== null && _f !== void 0 ? _f : null),
1811
+ 'limit': String((_g = request.getLimit()) !== null && _g !== void 0 ? _g : null),
1812
1812
  };
1813
1813
  return axios_1.default.get(url, {
1814
1814
  params: params,
@@ -1820,23 +1820,23 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1820
1820
  });
1821
1821
  };
1822
1822
  Gs2MatchmakingRestClient.prototype.describeRatingsByUserId = function (request) {
1823
- var _a, _b, _c, _d, _e, _f, _g, _h;
1824
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating')
1823
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1824
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating')
1825
1825
  .replace('{service}', 'matchmaking')
1826
1826
  .replace('{region}', this.session.region)
1827
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1828
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'));
1827
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1828
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'));
1829
1829
  var headers = this.createAuthorizedHeaders();
1830
1830
  if (request.getRequestId()) {
1831
1831
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1832
1832
  }
1833
1833
  if (request.getTimeOffsetToken()) {
1834
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_e = request.getTimeOffsetToken()) !== null && _e !== void 0 ? _e : null;
1834
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_f = request.getTimeOffsetToken()) !== null && _f !== void 0 ? _f : null;
1835
1835
  }
1836
1836
  var params = {
1837
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1838
- 'pageToken': String((_g = request.getPageToken()) !== null && _g !== void 0 ? _g : null),
1839
- 'limit': String((_h = request.getLimit()) !== null && _h !== void 0 ? _h : null),
1837
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1838
+ 'pageToken': String((_h = request.getPageToken()) !== null && _h !== void 0 ? _h : null),
1839
+ 'limit': String((_j = request.getLimit()) !== null && _j !== void 0 ? _j : null),
1840
1840
  };
1841
1841
  return axios_1.default.get(url, {
1842
1842
  params: params,
@@ -1848,21 +1848,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1848
1848
  });
1849
1849
  };
1850
1850
  Gs2MatchmakingRestClient.prototype.getRating = function (request) {
1851
- var _a, _b, _c, _d, _e, _f;
1852
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/rating/{ratingName}')
1851
+ var _a, _b, _c, _d, _e, _f, _g;
1852
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/rating/{ratingName}')
1853
1853
  .replace('{service}', 'matchmaking')
1854
1854
  .replace('{region}', this.session.region)
1855
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1856
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
1855
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1856
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
1857
1857
  var headers = this.createAuthorizedHeaders();
1858
1858
  if (request.getRequestId()) {
1859
1859
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1860
1860
  }
1861
1861
  if (request.getAccessToken()) {
1862
- headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
1862
+ headers['X-GS2-ACCESS-TOKEN'] = (_f = request.getAccessToken()) !== null && _f !== void 0 ? _f : null;
1863
1863
  }
1864
1864
  var params = {
1865
- 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1865
+ 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
1866
1866
  };
1867
1867
  return axios_1.default.get(url, {
1868
1868
  params: params,
@@ -1874,22 +1874,22 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1874
1874
  });
1875
1875
  };
1876
1876
  Gs2MatchmakingRestClient.prototype.getRatingByUserId = function (request) {
1877
- var _a, _b, _c, _d, _e, _f, _g, _h;
1878
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating/{ratingName}')
1877
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1878
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating/{ratingName}')
1879
1879
  .replace('{service}', 'matchmaking')
1880
1880
  .replace('{region}', this.session.region)
1881
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1882
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1883
- .replace('{ratingName}', String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getRatingName()) !== null && _f !== void 0 ? _f : 'null'));
1881
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1882
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1883
+ .replace('{ratingName}', String((_f = request.getRatingName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getRatingName()) !== null && _g !== void 0 ? _g : 'null'));
1884
1884
  var headers = this.createAuthorizedHeaders();
1885
1885
  if (request.getRequestId()) {
1886
1886
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1887
1887
  }
1888
1888
  if (request.getTimeOffsetToken()) {
1889
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_g = request.getTimeOffsetToken()) !== null && _g !== void 0 ? _g : null;
1889
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1890
1890
  }
1891
1891
  var params = {
1892
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1892
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1893
1893
  };
1894
1894
  return axios_1.default.get(url, {
1895
1895
  params: params,
@@ -1901,19 +1901,19 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1901
1901
  });
1902
1902
  };
1903
1903
  Gs2MatchmakingRestClient.prototype.putResult = function (request) {
1904
- var _a, _b, _c, _d, _e, _f, _g;
1905
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating/{ratingName}/vote')
1904
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1905
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/rating/{ratingName}/vote')
1906
1906
  .replace('{service}', 'matchmaking')
1907
1907
  .replace('{region}', this.session.region)
1908
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1909
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'));
1908
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1909
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'));
1910
1910
  var headers = this.createAuthorizedHeaders();
1911
1911
  if (request.getRequestId()) {
1912
1912
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1913
1913
  }
1914
1914
  var body = {
1915
- 'contextStack': (_e = request.getContextStack()) !== null && _e !== void 0 ? _e : null,
1916
- 'gameResults': (_g = (_f = request.getGameResults()) === null || _f === void 0 ? void 0 : _f.map(function (item) { return item.toDict(); })) !== null && _g !== void 0 ? _g : null,
1915
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
1916
+ 'gameResults': (_h = (_g = request.getGameResults()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
1917
1917
  };
1918
1918
  return axios_1.default.post(url, body, {
1919
1919
  headers: headers,
@@ -1929,25 +1929,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1929
1929
  });
1930
1930
  };
1931
1931
  Gs2MatchmakingRestClient.prototype.deleteRating = function (request) {
1932
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
1933
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating/{ratingName}')
1932
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1933
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/rating/{ratingName}')
1934
1934
  .replace('{service}', 'matchmaking')
1935
1935
  .replace('{region}', this.session.region)
1936
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1937
- .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'))
1938
- .replace('{ratingName}', String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getRatingName()) !== null && _f !== void 0 ? _f : 'null'));
1936
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1937
+ .replace('{userId}', String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getUserId()) !== null && _e !== void 0 ? _e : 'null'))
1938
+ .replace('{ratingName}', String((_f = request.getRatingName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getRatingName()) !== null && _g !== void 0 ? _g : 'null'));
1939
1939
  var headers = this.createAuthorizedHeaders();
1940
1940
  if (request.getRequestId()) {
1941
1941
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1942
1942
  }
1943
1943
  if (request.getDuplicationAvoider()) {
1944
- headers['X-GS2-DUPLICATION-AVOIDER'] = (_g = request.getDuplicationAvoider()) !== null && _g !== void 0 ? _g : null;
1944
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_h = request.getDuplicationAvoider()) !== null && _h !== void 0 ? _h : null;
1945
1945
  }
1946
1946
  if (request.getTimeOffsetToken()) {
1947
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_h = request.getTimeOffsetToken()) !== null && _h !== void 0 ? _h : null;
1947
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
1948
1948
  }
1949
1949
  var params = {
1950
- 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1950
+ 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
1951
1951
  };
1952
1952
  return axios_1.default.delete(url, {
1953
1953
  params: params,
@@ -1959,24 +1959,24 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1959
1959
  });
1960
1960
  };
1961
1961
  Gs2MatchmakingRestClient.prototype.getBallot = function (request) {
1962
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1963
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/vote/{ratingName}/{gatheringName}/ballot')
1962
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
1963
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/vote/{ratingName}/{gatheringName}/ballot')
1964
1964
  .replace('{service}', 'matchmaking')
1965
1965
  .replace('{region}', this.session.region)
1966
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
1967
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'))
1968
- .replace('{gatheringName}', String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null'));
1966
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
1967
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'))
1968
+ .replace('{gatheringName}', String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getGatheringName()) !== null && _g !== void 0 ? _g : 'null'));
1969
1969
  var headers = this.createAuthorizedHeaders();
1970
1970
  if (request.getRequestId()) {
1971
1971
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
1972
1972
  }
1973
1973
  if (request.getAccessToken()) {
1974
- headers['X-GS2-ACCESS-TOKEN'] = (_g = request.getAccessToken()) !== null && _g !== void 0 ? _g : null;
1974
+ headers['X-GS2-ACCESS-TOKEN'] = (_h = request.getAccessToken()) !== null && _h !== void 0 ? _h : null;
1975
1975
  }
1976
1976
  var body = {
1977
- 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
1978
- 'numberOfPlayer': (_j = request.getNumberOfPlayer()) !== null && _j !== void 0 ? _j : null,
1979
- 'keyId': (_k = request.getKeyId()) !== null && _k !== void 0 ? _k : null,
1977
+ 'contextStack': (_j = request.getContextStack()) !== null && _j !== void 0 ? _j : null,
1978
+ 'numberOfPlayer': (_k = request.getNumberOfPlayer()) !== null && _k !== void 0 ? _k : null,
1979
+ 'keyId': (_l = request.getKeyId()) !== null && _l !== void 0 ? _l : null,
1980
1980
  };
1981
1981
  return axios_1.default.post(url, body, {
1982
1982
  headers: headers,
@@ -1992,25 +1992,25 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
1992
1992
  });
1993
1993
  };
1994
1994
  Gs2MatchmakingRestClient.prototype.getBallotByUserId = function (request) {
1995
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
1996
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/vote/{ratingName}/{gatheringName}/ballot')
1995
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
1996
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/vote/{ratingName}/{gatheringName}/ballot')
1997
1997
  .replace('{service}', 'matchmaking')
1998
1998
  .replace('{region}', this.session.region)
1999
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
2000
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'))
2001
- .replace('{gatheringName}', String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null'))
2002
- .replace('{userId}', String((_g = request.getUserId()) !== null && _g !== void 0 ? _g : 'null') === "" ? "null" : String((_h = request.getUserId()) !== null && _h !== void 0 ? _h : 'null'));
1999
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
2000
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'))
2001
+ .replace('{gatheringName}', String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getGatheringName()) !== null && _g !== void 0 ? _g : 'null'))
2002
+ .replace('{userId}', String((_h = request.getUserId()) !== null && _h !== void 0 ? _h : 'null') === "" ? "null" : String((_j = request.getUserId()) !== null && _j !== void 0 ? _j : 'null'));
2003
2003
  var headers = this.createAuthorizedHeaders();
2004
2004
  if (request.getRequestId()) {
2005
2005
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
2006
2006
  }
2007
2007
  if (request.getTimeOffsetToken()) {
2008
- headers['X-GS2-TIME-OFFSET-TOKEN'] = (_j = request.getTimeOffsetToken()) !== null && _j !== void 0 ? _j : null;
2008
+ headers['X-GS2-TIME-OFFSET-TOKEN'] = (_k = request.getTimeOffsetToken()) !== null && _k !== void 0 ? _k : null;
2009
2009
  }
2010
2010
  var body = {
2011
- 'contextStack': (_k = request.getContextStack()) !== null && _k !== void 0 ? _k : null,
2012
- 'numberOfPlayer': (_l = request.getNumberOfPlayer()) !== null && _l !== void 0 ? _l : null,
2013
- 'keyId': (_m = request.getKeyId()) !== null && _m !== void 0 ? _m : null,
2011
+ 'contextStack': (_l = request.getContextStack()) !== null && _l !== void 0 ? _l : null,
2012
+ 'numberOfPlayer': (_m = request.getNumberOfPlayer()) !== null && _m !== void 0 ? _m : null,
2013
+ 'keyId': (_o = request.getKeyId()) !== null && _o !== void 0 ? _o : null,
2014
2014
  };
2015
2015
  return axios_1.default.post(url, body, {
2016
2016
  headers: headers,
@@ -2026,21 +2026,21 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
2026
2026
  });
2027
2027
  };
2028
2028
  Gs2MatchmakingRestClient.prototype.vote = function (request) {
2029
- var _a, _b, _c, _d, _e, _f, _g, _h;
2030
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/action/vote')
2029
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2030
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/action/vote')
2031
2031
  .replace('{service}', 'matchmaking')
2032
2032
  .replace('{region}', this.session.region)
2033
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
2033
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
2034
2034
  var headers = this.createAuthorizedHeaders();
2035
2035
  if (request.getRequestId()) {
2036
2036
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
2037
2037
  }
2038
2038
  var body = {
2039
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
2040
- 'ballotBody': (_d = request.getBallotBody()) !== null && _d !== void 0 ? _d : null,
2041
- 'ballotSignature': (_e = request.getBallotSignature()) !== null && _e !== void 0 ? _e : null,
2042
- 'gameResults': (_g = (_f = request.getGameResults()) === null || _f === void 0 ? void 0 : _f.map(function (item) { return item.toDict(); })) !== null && _g !== void 0 ? _g : null,
2043
- 'keyId': (_h = request.getKeyId()) !== null && _h !== void 0 ? _h : null,
2039
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
2040
+ 'ballotBody': (_e = request.getBallotBody()) !== null && _e !== void 0 ? _e : null,
2041
+ 'ballotSignature': (_f = request.getBallotSignature()) !== null && _f !== void 0 ? _f : null,
2042
+ 'gameResults': (_h = (_g = request.getGameResults()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
2043
+ 'keyId': (_j = request.getKeyId()) !== null && _j !== void 0 ? _j : null,
2044
2044
  };
2045
2045
  return axios_1.default.post(url, body, {
2046
2046
  headers: headers,
@@ -2056,20 +2056,20 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
2056
2056
  });
2057
2057
  };
2058
2058
  Gs2MatchmakingRestClient.prototype.voteMultiple = function (request) {
2059
- var _a, _b, _c, _d, _e, _f, _g, _h;
2060
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/action/vote/multiple')
2059
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
2060
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/action/vote/multiple')
2061
2061
  .replace('{service}', 'matchmaking')
2062
2062
  .replace('{region}', this.session.region)
2063
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'));
2063
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'));
2064
2064
  var headers = this.createAuthorizedHeaders();
2065
2065
  if (request.getRequestId()) {
2066
2066
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
2067
2067
  }
2068
2068
  var body = {
2069
- 'contextStack': (_c = request.getContextStack()) !== null && _c !== void 0 ? _c : null,
2070
- 'signedBallots': (_e = (_d = request.getSignedBallots()) === null || _d === void 0 ? void 0 : _d.map(function (item) { return item.toDict(); })) !== null && _e !== void 0 ? _e : null,
2071
- 'gameResults': (_g = (_f = request.getGameResults()) === null || _f === void 0 ? void 0 : _f.map(function (item) { return item.toDict(); })) !== null && _g !== void 0 ? _g : null,
2072
- 'keyId': (_h = request.getKeyId()) !== null && _h !== void 0 ? _h : null,
2069
+ 'contextStack': (_d = request.getContextStack()) !== null && _d !== void 0 ? _d : null,
2070
+ 'signedBallots': (_f = (_e = request.getSignedBallots()) === null || _e === void 0 ? void 0 : _e.map(function (item) { return item.toDict(); })) !== null && _f !== void 0 ? _f : null,
2071
+ 'gameResults': (_h = (_g = request.getGameResults()) === null || _g === void 0 ? void 0 : _g.map(function (item) { return item.toDict(); })) !== null && _h !== void 0 ? _h : null,
2072
+ 'keyId': (_j = request.getKeyId()) !== null && _j !== void 0 ? _j : null,
2073
2073
  };
2074
2074
  return axios_1.default.post(url, body, {
2075
2075
  headers: headers,
@@ -2085,19 +2085,19 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
2085
2085
  });
2086
2086
  };
2087
2087
  Gs2MatchmakingRestClient.prototype.commitVote = function (request) {
2088
- var _a, _b, _c, _d, _e, _f, _g;
2089
- var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/vote/{ratingName}/{gatheringName}/action/vote/commit')
2088
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2089
+ var url = ((_a = Gs2MatchmakingRestClient.ENDPOINT_HOST) !== null && _a !== void 0 ? _a : model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/vote/{ratingName}/{gatheringName}/action/vote/commit')
2090
2090
  .replace('{service}', 'matchmaking')
2091
2091
  .replace('{region}', this.session.region)
2092
- .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
2093
- .replace('{ratingName}', String((_c = request.getRatingName()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null'))
2094
- .replace('{gatheringName}', String((_e = request.getGatheringName()) !== null && _e !== void 0 ? _e : 'null') === "" ? "null" : String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null'));
2092
+ .replace('{namespaceName}', String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null') === "" ? "null" : String((_c = request.getNamespaceName()) !== null && _c !== void 0 ? _c : 'null'))
2093
+ .replace('{ratingName}', String((_d = request.getRatingName()) !== null && _d !== void 0 ? _d : 'null') === "" ? "null" : String((_e = request.getRatingName()) !== null && _e !== void 0 ? _e : 'null'))
2094
+ .replace('{gatheringName}', String((_f = request.getGatheringName()) !== null && _f !== void 0 ? _f : 'null') === "" ? "null" : String((_g = request.getGatheringName()) !== null && _g !== void 0 ? _g : 'null'));
2095
2095
  var headers = this.createAuthorizedHeaders();
2096
2096
  if (request.getRequestId()) {
2097
2097
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
2098
2098
  }
2099
2099
  var body = {
2100
- 'contextStack': (_g = request.getContextStack()) !== null && _g !== void 0 ? _g : null,
2100
+ 'contextStack': (_h = request.getContextStack()) !== null && _h !== void 0 ? _h : null,
2101
2101
  };
2102
2102
  return axios_1.default.post(url, body, {
2103
2103
  headers: headers,
@@ -2112,6 +2112,7 @@ var Gs2MatchmakingRestClient = /** @class */ (function (_super) {
2112
2112
  }
2113
2113
  });
2114
2114
  };
2115
+ Gs2MatchmakingRestClient.ENDPOINT_HOST = null;
2115
2116
  return Gs2MatchmakingRestClient;
2116
2117
  }(AbstractGs2RestClient_1.default));
2117
2118
  exports.default = Gs2MatchmakingRestClient;