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
@@ -23,12 +23,14 @@ import axios from 'axios';
23
23
 
24
24
  export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
25
25
 
26
+ public static ENDPOINT_HOST: string|null = null;
27
+
26
28
  constructor(session: Gs2RestSession) {
27
29
  super(session);
28
30
  }
29
31
 
30
32
  public describeNamespaces(request: Request.DescribeNamespacesRequest): Promise<Result.DescribeNamespacesResult> {
31
- const url = (Gs2Constant.ENDPOINT_HOST + '/')
33
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/')
32
34
  .replace('{service}', 'distributor')
33
35
  .replace('{region}', this.session.region);
34
36
 
@@ -56,7 +58,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
56
58
  }
57
59
 
58
60
  public createNamespace(request: Request.CreateNamespaceRequest): Promise<Result.CreateNamespaceResult> {
59
- const url = (Gs2Constant.ENDPOINT_HOST + '/')
61
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/')
60
62
  .replace('{service}', 'distributor')
61
63
  .replace('{region}', this.session.region);
62
64
 
@@ -92,7 +94,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
92
94
  }
93
95
 
94
96
  public getNamespaceStatus(request: Request.GetNamespaceStatusRequest): Promise<Result.GetNamespaceStatusResult> {
95
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
97
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
96
98
  .replace('{service}', 'distributor')
97
99
  .replace('{region}', this.session.region)
98
100
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -118,7 +120,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
118
120
  }
119
121
 
120
122
  public getNamespace(request: Request.GetNamespaceRequest): Promise<Result.GetNamespaceResult> {
121
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
123
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
122
124
  .replace('{service}', 'distributor')
123
125
  .replace('{region}', this.session.region)
124
126
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -144,7 +146,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
144
146
  }
145
147
 
146
148
  public updateNamespace(request: Request.UpdateNamespaceRequest): Promise<Result.UpdateNamespaceResult> {
147
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
149
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
148
150
  .replace('{service}', 'distributor')
149
151
  .replace('{region}', this.session.region)
150
152
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -180,7 +182,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
180
182
  }
181
183
 
182
184
  public deleteNamespace(request: Request.DeleteNamespaceRequest): Promise<Result.DeleteNamespaceResult> {
183
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
185
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
184
186
  .replace('{service}', 'distributor')
185
187
  .replace('{region}', this.session.region)
186
188
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -206,7 +208,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
206
208
  }
207
209
 
208
210
  public getServiceVersion(request: Request.GetServiceVersionRequest): Promise<Result.GetServiceVersionResult> {
209
- const url = (Gs2Constant.ENDPOINT_HOST + '/system/version')
211
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/version')
210
212
  .replace('{service}', 'distributor')
211
213
  .replace('{region}', this.session.region);
212
214
 
@@ -231,7 +233,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
231
233
  }
232
234
 
233
235
  public describeDistributorModelMasters(request: Request.DescribeDistributorModelMastersRequest): Promise<Result.DescribeDistributorModelMastersResult> {
234
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
236
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
235
237
  .replace('{service}', 'distributor')
236
238
  .replace('{region}', this.session.region)
237
239
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -260,7 +262,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
260
262
  }
261
263
 
262
264
  public createDistributorModelMaster(request: Request.CreateDistributorModelMasterRequest): Promise<Result.CreateDistributorModelMasterResult> {
263
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
265
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor')
264
266
  .replace('{service}', 'distributor')
265
267
  .replace('{region}', this.session.region)
266
268
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -295,7 +297,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
295
297
  }
296
298
 
297
299
  public getDistributorModelMaster(request: Request.GetDistributorModelMasterRequest): Promise<Result.GetDistributorModelMasterResult> {
298
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
300
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
299
301
  .replace('{service}', 'distributor')
300
302
  .replace('{region}', this.session.region)
301
303
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -322,7 +324,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
322
324
  }
323
325
 
324
326
  public updateDistributorModelMaster(request: Request.UpdateDistributorModelMasterRequest): Promise<Result.UpdateDistributorModelMasterResult> {
325
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
327
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
326
328
  .replace('{service}', 'distributor')
327
329
  .replace('{region}', this.session.region)
328
330
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -357,7 +359,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
357
359
  }
358
360
 
359
361
  public deleteDistributorModelMaster(request: Request.DeleteDistributorModelMasterRequest): Promise<Result.DeleteDistributorModelMasterResult> {
360
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
362
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/distributor/{distributorName}')
361
363
  .replace('{service}', 'distributor')
362
364
  .replace('{region}', this.session.region)
363
365
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -384,7 +386,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
384
386
  }
385
387
 
386
388
  public describeDistributorModels(request: Request.DescribeDistributorModelsRequest): Promise<Result.DescribeDistributorModelsResult> {
387
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor')
389
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor')
388
390
  .replace('{service}', 'distributor')
389
391
  .replace('{region}', this.session.region)
390
392
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -410,7 +412,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
410
412
  }
411
413
 
412
414
  public getDistributorModel(request: Request.GetDistributorModelRequest): Promise<Result.GetDistributorModelResult> {
413
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor/{distributorName}')
415
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distributor/{distributorName}')
414
416
  .replace('{service}', 'distributor')
415
417
  .replace('{region}', this.session.region)
416
418
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -437,7 +439,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
437
439
  }
438
440
 
439
441
  public exportMaster(request: Request.ExportMasterRequest): Promise<Result.ExportMasterResult> {
440
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
442
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
441
443
  .replace('{service}', 'distributor')
442
444
  .replace('{region}', this.session.region)
443
445
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -463,7 +465,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
463
465
  }
464
466
 
465
467
  public getCurrentDistributorMaster(request: Request.GetCurrentDistributorMasterRequest): Promise<Result.GetCurrentDistributorMasterResult> {
466
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
468
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
467
469
  .replace('{service}', 'distributor')
468
470
  .replace('{region}', this.session.region)
469
471
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -489,7 +491,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
489
491
  }
490
492
 
491
493
  public preUpdateCurrentDistributorMaster(request: Request.PreUpdateCurrentDistributorMasterRequest): Promise<Result.PreUpdateCurrentDistributorMasterResult> {
492
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
494
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
493
495
  .replace('{service}', 'distributor')
494
496
  .replace('{region}', this.session.region)
495
497
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -519,7 +521,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
519
521
  }
520
522
 
521
523
  public updateCurrentDistributorMaster(request: Request.UpdateCurrentDistributorMasterRequest): Promise<Result.UpdateCurrentDistributorMasterResult> {
522
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
524
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
523
525
  .replace('{service}', 'distributor')
524
526
  .replace('{region}', this.session.region)
525
527
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -552,7 +554,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
552
554
  }
553
555
 
554
556
  public updateCurrentDistributorMasterFromGitHub(request: Request.UpdateCurrentDistributorMasterFromGitHubRequest): Promise<Result.UpdateCurrentDistributorMasterFromGitHubResult> {
555
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
557
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
556
558
  .replace('{service}', 'distributor')
557
559
  .replace('{region}', this.session.region)
558
560
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -583,7 +585,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
583
585
  }
584
586
 
585
587
  public distribute(request: Request.DistributeRequest): Promise<Result.DistributeResult> {
586
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/{distributorName}')
588
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/{distributorName}')
587
589
  .replace('{service}', 'distributor')
588
590
  .replace('{region}', this.session.region)
589
591
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -622,7 +624,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
622
624
  }
623
625
 
624
626
  public distributeWithoutOverflowProcess(request: Request.DistributeWithoutOverflowProcessRequest): Promise<Result.DistributeWithoutOverflowProcessResult> {
625
- const url = (Gs2Constant.ENDPOINT_HOST + '/distribute')
627
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/distribute')
626
628
  .replace('{service}', 'distributor')
627
629
  .replace('{region}', this.session.region);
628
630
 
@@ -659,7 +661,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
659
661
  }
660
662
 
661
663
  public runVerifyTask(request: Request.RunVerifyTaskRequest): Promise<Result.RunVerifyTaskResult> {
662
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/verifyTask/run')
664
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/verifyTask/run')
663
665
  .replace('{service}', 'distributor')
664
666
  .replace('{region}', this.session.region)
665
667
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -691,7 +693,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
691
693
  }
692
694
 
693
695
  public runStampTask(request: Request.RunStampTaskRequest): Promise<Result.RunStampTaskResult> {
694
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/task/run')
696
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/task/run')
695
697
  .replace('{service}', 'distributor')
696
698
  .replace('{region}', this.session.region)
697
699
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -723,7 +725,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
723
725
  }
724
726
 
725
727
  public runStampSheet(request: Request.RunStampSheetRequest): Promise<Result.RunStampSheetResult> {
726
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/sheet/run')
728
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/sheet/run')
727
729
  .replace('{service}', 'distributor')
728
730
  .replace('{region}', this.session.region)
729
731
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -755,7 +757,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
755
757
  }
756
758
 
757
759
  public runStampSheetExpress(request: Request.RunStampSheetExpressRequest): Promise<Result.RunStampSheetExpressResult> {
758
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/run')
760
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/distribute/stamp/run')
759
761
  .replace('{service}', 'distributor')
760
762
  .replace('{region}', this.session.region)
761
763
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -787,7 +789,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
787
789
  }
788
790
 
789
791
  public runVerifyTaskWithoutNamespace(request: Request.RunVerifyTaskWithoutNamespaceRequest): Promise<Result.RunVerifyTaskWithoutNamespaceResult> {
790
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/verifyTask/run')
792
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/verifyTask/run')
791
793
  .replace('{service}', 'distributor')
792
794
  .replace('{region}', this.session.region);
793
795
 
@@ -818,7 +820,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
818
820
  }
819
821
 
820
822
  public runStampTaskWithoutNamespace(request: Request.RunStampTaskWithoutNamespaceRequest): Promise<Result.RunStampTaskWithoutNamespaceResult> {
821
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/task/run')
823
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/task/run')
822
824
  .replace('{service}', 'distributor')
823
825
  .replace('{region}', this.session.region);
824
826
 
@@ -849,7 +851,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
849
851
  }
850
852
 
851
853
  public runStampSheetWithoutNamespace(request: Request.RunStampSheetWithoutNamespaceRequest): Promise<Result.RunStampSheetWithoutNamespaceResult> {
852
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/sheet/run')
854
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/sheet/run')
853
855
  .replace('{service}', 'distributor')
854
856
  .replace('{region}', this.session.region);
855
857
 
@@ -880,7 +882,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
880
882
  }
881
883
 
882
884
  public runStampSheetExpressWithoutNamespace(request: Request.RunStampSheetExpressWithoutNamespaceRequest): Promise<Result.RunStampSheetExpressWithoutNamespaceResult> {
883
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/run')
885
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/run')
884
886
  .replace('{service}', 'distributor')
885
887
  .replace('{region}', this.session.region);
886
888
 
@@ -911,7 +913,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
911
913
  }
912
914
 
913
915
  public setTransactionDefaultConfig(request: Request.SetTransactionDefaultConfigRequest): Promise<Result.SetTransactionDefaultConfigResult> {
914
- const url = (Gs2Constant.ENDPOINT_HOST + '/transaction/user/me/config')
916
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/transaction/user/me/config')
915
917
  .replace('{service}', 'distributor')
916
918
  .replace('{region}', this.session.region);
917
919
 
@@ -947,7 +949,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
947
949
  }
948
950
 
949
951
  public setTransactionDefaultConfigByUserId(request: Request.SetTransactionDefaultConfigByUserIdRequest): Promise<Result.SetTransactionDefaultConfigByUserIdResult> {
950
- const url = (Gs2Constant.ENDPOINT_HOST + '/transaction/user/{userId}/config')
952
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/transaction/user/{userId}/config')
951
953
  .replace('{service}', 'distributor')
952
954
  .replace('{region}', this.session.region)
953
955
  .replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
@@ -984,7 +986,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
984
986
  }
985
987
 
986
988
  public freezeMasterData(request: Request.FreezeMasterDataRequest): Promise<Result.FreezeMasterDataResult> {
987
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze')
989
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze')
988
990
  .replace('{service}', 'distributor')
989
991
  .replace('{region}', this.session.region)
990
992
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1017,7 +1019,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1017
1019
  }
1018
1020
 
1019
1021
  public freezeMasterDataByUserId(request: Request.FreezeMasterDataByUserIdRequest): Promise<Result.FreezeMasterDataByUserIdResult> {
1020
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/masterdata/freeze')
1022
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/masterdata/freeze')
1021
1023
  .replace('{service}', 'distributor')
1022
1024
  .replace('{region}', this.session.region)
1023
1025
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1051,7 +1053,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1051
1053
  }
1052
1054
 
1053
1055
  public signFreezeMasterDataTimestamp(request: Request.SignFreezeMasterDataTimestampRequest): Promise<Result.SignFreezeMasterDataTimestampResult> {
1054
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/masterdata/freeze/timestamp')
1056
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/masterdata/freeze/timestamp')
1055
1057
  .replace('{service}', 'distributor')
1056
1058
  .replace('{region}', this.session.region)
1057
1059
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1083,7 +1085,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1083
1085
  }
1084
1086
 
1085
1087
  public freezeMasterDataBySignedTimestamp(request: Request.FreezeMasterDataBySignedTimestampRequest): Promise<Result.FreezeMasterDataBySignedTimestampResult> {
1086
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp')
1088
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp')
1087
1089
  .replace('{service}', 'distributor')
1088
1090
  .replace('{region}', this.session.region)
1089
1091
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1119,7 +1121,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1119
1121
  }
1120
1122
 
1121
1123
  public freezeMasterDataByTimestamp(request: Request.FreezeMasterDataByTimestampRequest): Promise<Result.FreezeMasterDataByTimestampResult> {
1122
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp/raw')
1124
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/masterdata/freeze/timestamp/raw')
1123
1125
  .replace('{service}', 'distributor')
1124
1126
  .replace('{region}', this.session.region)
1125
1127
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1153,7 +1155,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1153
1155
  }
1154
1156
 
1155
1157
  public batchExecuteApi(request: Request.BatchExecuteApiRequest): Promise<Result.BatchExecuteApiResult> {
1156
- const url = (Gs2Constant.ENDPOINT_HOST + '/batch/execute')
1158
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/batch/execute')
1157
1159
  .replace('{service}', 'distributor')
1158
1160
  .replace('{region}', this.session.region);
1159
1161
 
@@ -1183,7 +1185,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1183
1185
  }
1184
1186
 
1185
1187
  public ifExpressionByUserId(request: Request.IfExpressionByUserIdRequest): Promise<Result.IfExpressionByUserIdResult> {
1186
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/if')
1188
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/if')
1187
1189
  .replace('{service}', 'distributor')
1188
1190
  .replace('{region}', this.session.region)
1189
1191
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1224,7 +1226,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1224
1226
  }
1225
1227
 
1226
1228
  public andExpressionByUserId(request: Request.AndExpressionByUserIdRequest): Promise<Result.AndExpressionByUserIdResult> {
1227
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/and')
1229
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/and')
1228
1230
  .replace('{service}', 'distributor')
1229
1231
  .replace('{region}', this.session.region)
1230
1232
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1262,7 +1264,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1262
1264
  }
1263
1265
 
1264
1266
  public orExpressionByUserId(request: Request.OrExpressionByUserIdRequest): Promise<Result.OrExpressionByUserIdResult> {
1265
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/or')
1267
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/expression/or')
1266
1268
  .replace('{service}', 'distributor')
1267
1269
  .replace('{region}', this.session.region)
1268
1270
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
@@ -1300,7 +1302,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1300
1302
  }
1301
1303
 
1302
1304
  public ifExpressionByStampTask(request: Request.IfExpressionByStampTaskRequest): Promise<Result.IfExpressionByStampTaskResult> {
1303
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/expression/if')
1305
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/expression/if')
1304
1306
  .replace('{service}', 'distributor')
1305
1307
  .replace('{region}', this.session.region);
1306
1308
 
@@ -1331,7 +1333,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1331
1333
  }
1332
1334
 
1333
1335
  public andExpressionByStampTask(request: Request.AndExpressionByStampTaskRequest): Promise<Result.AndExpressionByStampTaskResult> {
1334
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/expression/and')
1336
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/expression/and')
1335
1337
  .replace('{service}', 'distributor')
1336
1338
  .replace('{region}', this.session.region);
1337
1339
 
@@ -1362,7 +1364,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1362
1364
  }
1363
1365
 
1364
1366
  public orExpressionByStampTask(request: Request.OrExpressionByStampTaskRequest): Promise<Result.OrExpressionByStampTaskResult> {
1365
- const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/expression/or')
1367
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/expression/or')
1366
1368
  .replace('{service}', 'distributor')
1367
1369
  .replace('{region}', this.session.region);
1368
1370
 
@@ -1393,7 +1395,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1393
1395
  }
1394
1396
 
1395
1397
  public getStampSheetResult(request: Request.GetStampSheetResultRequest): Promise<Result.GetStampSheetResultResult> {
1396
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/stampSheet/{transactionId}/result')
1398
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/stampSheet/{transactionId}/result')
1397
1399
  .replace('{service}', 'distributor')
1398
1400
  .replace('{region}', this.session.region)
1399
1401
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1423,7 +1425,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1423
1425
  }
1424
1426
 
1425
1427
  public getStampSheetResultByUserId(request: Request.GetStampSheetResultByUserIdRequest): Promise<Result.GetStampSheetResultByUserIdResult> {
1426
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/stampSheet/{transactionId}/result')
1428
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/stampSheet/{transactionId}/result')
1427
1429
  .replace('{service}', 'distributor')
1428
1430
  .replace('{region}', this.session.region)
1429
1431
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1454,7 +1456,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1454
1456
  }
1455
1457
 
1456
1458
  public runTransaction(request: Request.RunTransactionRequest): Promise<Result.RunTransactionResult> {
1457
- const url = (Gs2Constant.ENDPOINT_HOST + '/system/{ownerId}/{namespaceName}/user/{userId}/transaction/run')
1459
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/{ownerId}/{namespaceName}/user/{userId}/transaction/run')
1458
1460
  .replace('{service}', 'distributor')
1459
1461
  .replace('{region}', this.session.region)
1460
1462
  .replace('{ownerId}', String(request.getOwnerId() ?? 'null') === "" ? "null" : String(request.getOwnerId() ?? 'null'))
@@ -1493,7 +1495,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1493
1495
  }
1494
1496
 
1495
1497
  public getTransactionResult(request: Request.GetTransactionResultRequest): Promise<Result.GetTransactionResultResult> {
1496
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/transaction/{transactionId}/result')
1498
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/transaction/{transactionId}/result')
1497
1499
  .replace('{service}', 'distributor')
1498
1500
  .replace('{region}', this.session.region)
1499
1501
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
@@ -1523,7 +1525,7 @@ export default class Gs2DistributorRestClient extends AbstractGs2RestClient {
1523
1525
  }
1524
1526
 
1525
1527
  public getTransactionResultByUserId(request: Request.GetTransactionResultByUserIdRequest): Promise<Result.GetTransactionResultByUserIdResult> {
1526
- const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/transaction/{transactionId}/result')
1528
+ const url = (Gs2DistributorRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/transaction/{transactionId}/result')
1527
1529
  .replace('{service}', 'distributor')
1528
1530
  .replace('{region}', this.session.region)
1529
1531
  .replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
package/enchant/rest.d.ts CHANGED
@@ -3,6 +3,7 @@ import { Gs2RestSession } from '../core/model';
3
3
  import * as Request from './request';
4
4
  import * as Result from './result';
5
5
  export default class Gs2EnchantRestClient extends AbstractGs2RestClient {
6
+ static ENDPOINT_HOST: string | null;
6
7
  constructor(session: Gs2RestSession);
7
8
  describeNamespaces(request: Request.DescribeNamespacesRequest): Promise<Result.DescribeNamespacesResult>;
8
9
  createNamespace(request: Request.CreateNamespaceRequest): Promise<Result.CreateNamespaceResult>;