gs2 1.4.99 → 1.4.101
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.
- package/account/rest.d.ts +1 -0
- package/account/rest.js +445 -444
- package/account/rest.js.map +1 -1
- package/account/rest.ts +67 -65
- package/adReward/rest.d.ts +1 -0
- package/adReward/rest.js +136 -135
- package/adReward/rest.js.map +1 -1
- package/adReward/rest.ts +24 -22
- package/auth/rest.d.ts +1 -0
- package/auth/rest.js +30 -29
- package/auth/rest.js.map +1 -1
- package/auth/rest.ts +7 -5
- package/buff/rest.d.ts +1 -0
- package/buff/rest.js +162 -161
- package/buff/rest.js.map +1 -1
- package/buff/rest.ts +30 -28
- package/chat/rest.d.ts +1 -0
- package/chat/rest.js +396 -395
- package/chat/rest.js.map +1 -1
- package/chat/rest.ts +56 -54
- package/datastore/rest.d.ts +1 -0
- package/datastore/rest.js +282 -281
- package/datastore/rest.js.map +1 -1
- package/datastore/rest.ts +41 -39
- package/deploy/rest.d.ts +1 -0
- package/deploy/rest.js +122 -121
- package/deploy/rest.js.map +1 -1
- package/deploy/rest.ts +26 -24
- package/dictionary/rest.d.ts +1 -0
- package/dictionary/rest.js +317 -316
- package/dictionary/rest.js.map +1 -1
- package/dictionary/rest.ts +53 -51
- package/distributor/rest.d.ts +1 -0
- package/distributor/rest.js +295 -294
- package/distributor/rest.js.map +1 -1
- package/distributor/rest.ts +50 -48
- package/enchant/rest.d.ts +1 -0
- package/enchant/rest.js +375 -374
- package/enchant/rest.js.map +1 -1
- package/enchant/rest.ts +58 -56
- package/enhance/rest.d.ts +1 -0
- package/enhance/rest.js +338 -337
- package/enhance/rest.js.map +1 -1
- package/enhance/rest.ts +52 -50
- package/exchange/rest.d.ts +1 -0
- package/exchange/rest.js +377 -376
- package/exchange/rest.js.map +1 -1
- package/exchange/rest.ts +56 -54
- package/experience/rest.d.ts +1 -0
- package/experience/rest.js +430 -429
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +62 -60
- package/formation/rest.d.ts +1 -0
- package/formation/rest.js +549 -548
- package/formation/rest.js.map +1 -1
- package/formation/rest.ts +81 -79
- package/freeze/rest.d.ts +1 -0
- package/freeze/rest.js +27 -26
- package/freeze/rest.js.map +1 -1
- package/freeze/rest.ts +8 -6
- package/friend/rest.d.ts +1 -0
- package/friend/rest.js +442 -441
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +61 -59
- package/gateway/rest.d.ts +1 -0
- package/gateway/rest.js +180 -179
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +30 -28
- package/grade/rest.d.ts +1 -0
- package/grade/rest.js +329 -328
- package/grade/rest.js.map +1 -1
- package/grade/rest.ts +50 -48
- package/guard/rest.d.ts +1 -0
- package/guard/rest.js +34 -33
- package/guard/rest.js.map +1 -1
- package/guard/rest.ts +9 -7
- package/guild/rest.d.ts +1 -0
- package/guild/rest.js +770 -769
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +95 -93
- package/identifier/rest.d.ts +1 -0
- package/identifier/rest.js +145 -144
- package/identifier/rest.js.map +1 -1
- package/identifier/rest.ts +32 -30
- package/idle/rest.d.ts +1 -0
- package/idle/rest.js +266 -265
- package/idle/rest.js.map +1 -1
- package/idle/rest.ts +44 -42
- package/inbox/rest.d.ts +1 -0
- package/inbox/rest.js +319 -318
- package/inbox/rest.js.map +1 -1
- package/inbox/rest.ts +50 -48
- package/inventory/rest.d.ts +1 -0
- package/inventory/rest.js +1001 -1000
- package/inventory/rest.js.map +1 -1
- package/inventory/rest.ts +137 -135
- package/jobQueue/rest.d.ts +1 -0
- package/jobQueue/rest.js +155 -154
- package/jobQueue/rest.js.map +1 -1
- package/jobQueue/rest.ts +27 -25
- package/key/rest.d.ts +1 -0
- package/key/rest.js +107 -106
- package/key/rest.js.map +1 -1
- package/key/rest.ts +21 -19
- package/limit/rest.d.ts +1 -0
- package/limit/rest.js +264 -263
- package/limit/rest.js.map +1 -1
- package/limit/rest.ts +42 -40
- package/lock/rest.d.ts +1 -0
- package/lock/rest.js +91 -90
- package/lock/rest.js.map +1 -1
- package/lock/rest.ts +16 -14
- package/log/rest.d.ts +1 -0
- package/log/rest.js +220 -219
- package/log/rest.js.map +1 -1
- package/log/rest.ts +25 -23
- package/loginReward/rest.d.ts +1 -0
- package/loginReward/rest.js +268 -267
- package/loginReward/rest.js.map +1 -1
- package/loginReward/rest.ts +43 -41
- package/lottery/rest.d.ts +1 -0
- package/lottery/rest.js +318 -317
- package/lottery/rest.js.map +1 -1
- package/lottery/rest.ts +52 -50
- package/matchmaking/rest.d.ts +1 -0
- package/matchmaking/rest.js +540 -539
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +75 -73
- package/megaField/rest.d.ts +1 -0
- package/megaField/rest.js +225 -224
- package/megaField/rest.js.map +1 -1
- package/megaField/rest.ts +36 -34
- package/mission/rest.d.ts +1 -0
- package/mission/rest.js +576 -575
- package/mission/rest.js.map +1 -1
- package/mission/rest.ts +81 -79
- package/money/rest.d.ts +1 -0
- package/money/rest.js +201 -200
- package/money/rest.js.map +1 -1
- package/money/rest.ts +31 -29
- package/money2/rest.d.ts +1 -0
- package/money2/rest.js +432 -431
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +65 -63
- package/news/rest.d.ts +1 -0
- package/news/rest.js +94 -93
- package/news/rest.js.map +1 -1
- package/news/rest.ts +20 -18
- package/package.json +1 -1
- package/project/rest.d.ts +1 -0
- package/project/rest.js +265 -264
- package/project/rest.js.map +1 -1
- package/project/rest.ts +46 -44
- package/quest/rest.d.ts +1 -0
- package/quest/rest.js +338 -337
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +52 -50
- package/ranking/rest.d.ts +1 -0
- package/ranking/rest.js +337 -336
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +48 -46
- package/ranking2/rest.d.ts +1 -0
- package/ranking2/rest.js +889 -888
- package/ranking2/rest.js.map +1 -1
- package/ranking2/rest.ts +112 -110
- package/realtime/rest.d.ts +1 -0
- package/realtime/rest.js +68 -67
- package/realtime/rest.js.map +1 -1
- package/realtime/rest.ts +14 -12
- package/schedule/rest.d.ts +1 -0
- package/schedule/rest.js +311 -310
- package/schedule/rest.js.map +1 -1
- package/schedule/rest.ts +49 -47
- package/script/rest.d.ts +1 -0
- package/script/rest.js +109 -108
- package/script/rest.js.map +1 -1
- package/script/rest.ts +19 -17
- package/seasonRating/rest.d.ts +1 -0
- package/seasonRating/rest.js +205 -204
- package/seasonRating/rest.js.map +1 -1
- package/seasonRating/rest.ts +37 -35
- package/serialKey/rest.d.ts +1 -0
- package/serialKey/rest.js +246 -245
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +44 -42
- package/showcase/rest.d.ts +1 -0
- package/showcase/rest.js +395 -394
- package/showcase/rest.js.map +1 -1
- package/showcase/rest.ts +60 -58
- package/skillTree/rest.d.ts +1 -0
- package/skillTree/rest.js +267 -266
- package/skillTree/rest.js.map +1 -1
- package/skillTree/rest.ts +43 -41
- package/stamina/rest.d.ts +1 -0
- package/stamina/rest.js +596 -595
- package/stamina/rest.js.map +1 -1
- package/stamina/rest.ts +85 -83
- package/stateMachine/rest.d.ts +1 -0
- package/stateMachine/rest.js +208 -207
- package/stateMachine/rest.js.map +1 -1
- package/stateMachine/rest.ts +33 -31
- package/version/rest.d.ts +1 -0
- package/version/rest.js +259 -258
- package/version/rest.js.map +1 -1
- package/version/rest.ts +41 -39
- package/watch/rest.d.ts +1 -0
- package/watch/rest.js +334 -333
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +80 -78
package/distributor/rest.ts
CHANGED
|
@@ -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>;
|