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.
- 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/model/WebSocketSession.d.ts +4 -0
- package/gateway/model/WebSocketSession.js +14 -0
- package/gateway/model/WebSocketSession.js.map +1 -1
- package/gateway/model/WebSocketSession.ts +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
- package/gateway/request/SetUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdRequest.ts +14 -0
- package/gateway/rest.d.ts +1 -0
- package/gateway/rest.js +180 -177
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +32 -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/showcase/rest.ts
CHANGED
|
@@ -23,12 +23,14 @@ import axios from 'axios';
|
|
|
23
23
|
|
|
24
24
|
export default class Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/')
|
|
32
34
|
.replace('{service}', 'showcase')
|
|
33
35
|
.replace('{region}', this.session.region);
|
|
34
36
|
|
|
@@ -56,7 +58,7 @@ export default class Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/')
|
|
60
62
|
.replace('{service}', 'showcase')
|
|
61
63
|
.replace('{region}', this.session.region);
|
|
62
64
|
|
|
@@ -92,7 +94,7 @@ export default class Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/status')
|
|
96
98
|
.replace('{service}', 'showcase')
|
|
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 Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
122
124
|
.replace('{service}', 'showcase')
|
|
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 Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
148
150
|
.replace('{service}', 'showcase')
|
|
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 Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}')
|
|
184
186
|
.replace('{service}', 'showcase')
|
|
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 Gs2ShowcaseRestClient 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 = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/version')
|
|
210
212
|
.replace('{service}', 'showcase')
|
|
211
213
|
.replace('{region}', this.session.region);
|
|
212
214
|
|
|
@@ -231,7 +233,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
public dumpUserDataByUserId(request: Request.DumpUserDataByUserIdRequest): Promise<Result.DumpUserDataByUserIdResult> {
|
|
234
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
236
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
235
237
|
.replace('{service}', 'showcase')
|
|
236
238
|
.replace('{region}', this.session.region)
|
|
237
239
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -264,7 +266,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
264
266
|
}
|
|
265
267
|
|
|
266
268
|
public checkDumpUserDataByUserId(request: Request.CheckDumpUserDataByUserIdRequest): Promise<Result.CheckDumpUserDataByUserIdResult> {
|
|
267
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
269
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/dump/user/{userId}')
|
|
268
270
|
.replace('{service}', 'showcase')
|
|
269
271
|
.replace('{region}', this.session.region)
|
|
270
272
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -293,7 +295,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
293
295
|
}
|
|
294
296
|
|
|
295
297
|
public cleanUserDataByUserId(request: Request.CleanUserDataByUserIdRequest): Promise<Result.CleanUserDataByUserIdResult> {
|
|
296
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
298
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
297
299
|
.replace('{service}', 'showcase')
|
|
298
300
|
.replace('{region}', this.session.region)
|
|
299
301
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -326,7 +328,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
326
328
|
}
|
|
327
329
|
|
|
328
330
|
public checkCleanUserDataByUserId(request: Request.CheckCleanUserDataByUserIdRequest): Promise<Result.CheckCleanUserDataByUserIdResult> {
|
|
329
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
331
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/clean/user/{userId}')
|
|
330
332
|
.replace('{service}', 'showcase')
|
|
331
333
|
.replace('{region}', this.session.region)
|
|
332
334
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -355,7 +357,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
355
357
|
}
|
|
356
358
|
|
|
357
359
|
public prepareImportUserDataByUserId(request: Request.PrepareImportUserDataByUserIdRequest): Promise<Result.PrepareImportUserDataByUserIdResult> {
|
|
358
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
|
|
360
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/prepare')
|
|
359
361
|
.replace('{service}', 'showcase')
|
|
360
362
|
.replace('{region}', this.session.region)
|
|
361
363
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -388,7 +390,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
388
390
|
}
|
|
389
391
|
|
|
390
392
|
public importUserDataByUserId(request: Request.ImportUserDataByUserIdRequest): Promise<Result.ImportUserDataByUserIdResult> {
|
|
391
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
|
|
393
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}')
|
|
392
394
|
.replace('{service}', 'showcase')
|
|
393
395
|
.replace('{region}', this.session.region)
|
|
394
396
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'));
|
|
@@ -422,7 +424,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
422
424
|
}
|
|
423
425
|
|
|
424
426
|
public checkImportUserDataByUserId(request: Request.CheckImportUserDataByUserIdRequest): Promise<Result.CheckImportUserDataByUserIdResult> {
|
|
425
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
|
|
427
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/system/import/user/{userId}/{uploadToken}')
|
|
426
428
|
.replace('{service}', 'showcase')
|
|
427
429
|
.replace('{region}', this.session.region)
|
|
428
430
|
.replace('{userId}', String(request.getUserId() ?? 'null') === "" ? "null" : String(request.getUserId() ?? 'null'))
|
|
@@ -452,7 +454,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
452
454
|
}
|
|
453
455
|
|
|
454
456
|
public describeSalesItemMasters(request: Request.DescribeSalesItemMastersRequest): Promise<Result.DescribeSalesItemMastersResult> {
|
|
455
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem')
|
|
457
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem')
|
|
456
458
|
.replace('{service}', 'showcase')
|
|
457
459
|
.replace('{region}', this.session.region)
|
|
458
460
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -481,7 +483,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
481
483
|
}
|
|
482
484
|
|
|
483
485
|
public createSalesItemMaster(request: Request.CreateSalesItemMasterRequest): Promise<Result.CreateSalesItemMasterResult> {
|
|
484
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem')
|
|
486
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem')
|
|
485
487
|
.replace('{service}', 'showcase')
|
|
486
488
|
.replace('{region}', this.session.region)
|
|
487
489
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -517,7 +519,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
517
519
|
}
|
|
518
520
|
|
|
519
521
|
public getSalesItemMaster(request: Request.GetSalesItemMasterRequest): Promise<Result.GetSalesItemMasterResult> {
|
|
520
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
522
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
521
523
|
.replace('{service}', 'showcase')
|
|
522
524
|
.replace('{region}', this.session.region)
|
|
523
525
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -544,7 +546,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
544
546
|
}
|
|
545
547
|
|
|
546
548
|
public updateSalesItemMaster(request: Request.UpdateSalesItemMasterRequest): Promise<Result.UpdateSalesItemMasterResult> {
|
|
547
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
549
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
548
550
|
.replace('{service}', 'showcase')
|
|
549
551
|
.replace('{region}', this.session.region)
|
|
550
552
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -580,7 +582,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
580
582
|
}
|
|
581
583
|
|
|
582
584
|
public deleteSalesItemMaster(request: Request.DeleteSalesItemMasterRequest): Promise<Result.DeleteSalesItemMasterResult> {
|
|
583
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
585
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/salesItem/{salesItemName}')
|
|
584
586
|
.replace('{service}', 'showcase')
|
|
585
587
|
.replace('{region}', this.session.region)
|
|
586
588
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -607,7 +609,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
607
609
|
}
|
|
608
610
|
|
|
609
611
|
public describeSalesItemGroupMasters(request: Request.DescribeSalesItemGroupMastersRequest): Promise<Result.DescribeSalesItemGroupMastersResult> {
|
|
610
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group')
|
|
612
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group')
|
|
611
613
|
.replace('{service}', 'showcase')
|
|
612
614
|
.replace('{region}', this.session.region)
|
|
613
615
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -636,7 +638,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
636
638
|
}
|
|
637
639
|
|
|
638
640
|
public createSalesItemGroupMaster(request: Request.CreateSalesItemGroupMasterRequest): Promise<Result.CreateSalesItemGroupMasterResult> {
|
|
639
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group')
|
|
641
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group')
|
|
640
642
|
.replace('{service}', 'showcase')
|
|
641
643
|
.replace('{region}', this.session.region)
|
|
642
644
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -670,7 +672,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
670
672
|
}
|
|
671
673
|
|
|
672
674
|
public getSalesItemGroupMaster(request: Request.GetSalesItemGroupMasterRequest): Promise<Result.GetSalesItemGroupMasterResult> {
|
|
673
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
675
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
674
676
|
.replace('{service}', 'showcase')
|
|
675
677
|
.replace('{region}', this.session.region)
|
|
676
678
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -697,7 +699,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
697
699
|
}
|
|
698
700
|
|
|
699
701
|
public updateSalesItemGroupMaster(request: Request.UpdateSalesItemGroupMasterRequest): Promise<Result.UpdateSalesItemGroupMasterResult> {
|
|
700
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
702
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
701
703
|
.replace('{service}', 'showcase')
|
|
702
704
|
.replace('{region}', this.session.region)
|
|
703
705
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -731,7 +733,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
731
733
|
}
|
|
732
734
|
|
|
733
735
|
public deleteSalesItemGroupMaster(request: Request.DeleteSalesItemGroupMasterRequest): Promise<Result.DeleteSalesItemGroupMasterResult> {
|
|
734
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
736
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/group/{salesItemGroupName}')
|
|
735
737
|
.replace('{service}', 'showcase')
|
|
736
738
|
.replace('{region}', this.session.region)
|
|
737
739
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -758,7 +760,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
758
760
|
}
|
|
759
761
|
|
|
760
762
|
public describeShowcaseMasters(request: Request.DescribeShowcaseMastersRequest): Promise<Result.DescribeShowcaseMastersResult> {
|
|
761
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase')
|
|
763
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase')
|
|
762
764
|
.replace('{service}', 'showcase')
|
|
763
765
|
.replace('{region}', this.session.region)
|
|
764
766
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -787,7 +789,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
787
789
|
}
|
|
788
790
|
|
|
789
791
|
public createShowcaseMaster(request: Request.CreateShowcaseMasterRequest): Promise<Result.CreateShowcaseMasterResult> {
|
|
790
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase')
|
|
792
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase')
|
|
791
793
|
.replace('{service}', 'showcase')
|
|
792
794
|
.replace('{region}', this.session.region)
|
|
793
795
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -822,7 +824,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
822
824
|
}
|
|
823
825
|
|
|
824
826
|
public getShowcaseMaster(request: Request.GetShowcaseMasterRequest): Promise<Result.GetShowcaseMasterResult> {
|
|
825
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
827
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
826
828
|
.replace('{service}', 'showcase')
|
|
827
829
|
.replace('{region}', this.session.region)
|
|
828
830
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -849,7 +851,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
849
851
|
}
|
|
850
852
|
|
|
851
853
|
public updateShowcaseMaster(request: Request.UpdateShowcaseMasterRequest): Promise<Result.UpdateShowcaseMasterResult> {
|
|
852
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
854
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
853
855
|
.replace('{service}', 'showcase')
|
|
854
856
|
.replace('{region}', this.session.region)
|
|
855
857
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -884,7 +886,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
884
886
|
}
|
|
885
887
|
|
|
886
888
|
public deleteShowcaseMaster(request: Request.DeleteShowcaseMasterRequest): Promise<Result.DeleteShowcaseMasterResult> {
|
|
887
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
889
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/showcase/{showcaseName}')
|
|
888
890
|
.replace('{service}', 'showcase')
|
|
889
891
|
.replace('{region}', this.session.region)
|
|
890
892
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -911,7 +913,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
911
913
|
}
|
|
912
914
|
|
|
913
915
|
public exportMaster(request: Request.ExportMasterRequest): Promise<Result.ExportMasterResult> {
|
|
914
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
|
|
916
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/export')
|
|
915
917
|
.replace('{service}', 'showcase')
|
|
916
918
|
.replace('{region}', this.session.region)
|
|
917
919
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -937,7 +939,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
937
939
|
}
|
|
938
940
|
|
|
939
941
|
public getCurrentShowcaseMaster(request: Request.GetCurrentShowcaseMasterRequest): Promise<Result.GetCurrentShowcaseMasterResult> {
|
|
940
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
942
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
941
943
|
.replace('{service}', 'showcase')
|
|
942
944
|
.replace('{region}', this.session.region)
|
|
943
945
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -963,7 +965,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
963
965
|
}
|
|
964
966
|
|
|
965
967
|
public preUpdateCurrentShowcaseMaster(request: Request.PreUpdateCurrentShowcaseMasterRequest): Promise<Result.PreUpdateCurrentShowcaseMasterResult> {
|
|
966
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
968
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
967
969
|
.replace('{service}', 'showcase')
|
|
968
970
|
.replace('{region}', this.session.region)
|
|
969
971
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -993,7 +995,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
993
995
|
}
|
|
994
996
|
|
|
995
997
|
public updateCurrentShowcaseMaster(request: Request.UpdateCurrentShowcaseMasterRequest): Promise<Result.UpdateCurrentShowcaseMasterResult> {
|
|
996
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
998
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master')
|
|
997
999
|
.replace('{service}', 'showcase')
|
|
998
1000
|
.replace('{region}', this.session.region)
|
|
999
1001
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -1026,7 +1028,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1026
1028
|
}
|
|
1027
1029
|
|
|
1028
1030
|
public updateCurrentShowcaseMasterFromGitHub(request: Request.UpdateCurrentShowcaseMasterFromGitHubRequest): Promise<Result.UpdateCurrentShowcaseMasterFromGitHubResult> {
|
|
1029
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
|
|
1031
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/from_git_hub')
|
|
1030
1032
|
.replace('{service}', 'showcase')
|
|
1031
1033
|
.replace('{region}', this.session.region)
|
|
1032
1034
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -1057,7 +1059,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1057
1059
|
}
|
|
1058
1060
|
|
|
1059
1061
|
public describeShowcases(request: Request.DescribeShowcasesRequest): Promise<Result.DescribeShowcasesResult> {
|
|
1060
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase')
|
|
1062
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase')
|
|
1061
1063
|
.replace('{service}', 'showcase')
|
|
1062
1064
|
.replace('{region}', this.session.region)
|
|
1063
1065
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -1086,7 +1088,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1086
1088
|
}
|
|
1087
1089
|
|
|
1088
1090
|
public describeShowcasesByUserId(request: Request.DescribeShowcasesByUserIdRequest): Promise<Result.DescribeShowcasesByUserIdResult> {
|
|
1089
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase')
|
|
1091
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase')
|
|
1090
1092
|
.replace('{service}', 'showcase')
|
|
1091
1093
|
.replace('{region}', this.session.region)
|
|
1092
1094
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1116,7 +1118,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1116
1118
|
}
|
|
1117
1119
|
|
|
1118
1120
|
public getShowcase(request: Request.GetShowcaseRequest): Promise<Result.GetShowcaseResult> {
|
|
1119
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase/{showcaseName}')
|
|
1121
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase/{showcaseName}')
|
|
1120
1122
|
.replace('{service}', 'showcase')
|
|
1121
1123
|
.replace('{region}', this.session.region)
|
|
1122
1124
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1146,7 +1148,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1146
1148
|
}
|
|
1147
1149
|
|
|
1148
1150
|
public getShowcaseByUserId(request: Request.GetShowcaseByUserIdRequest): Promise<Result.GetShowcaseByUserIdResult> {
|
|
1149
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase/{showcaseName}')
|
|
1151
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase/{showcaseName}')
|
|
1150
1152
|
.replace('{service}', 'showcase')
|
|
1151
1153
|
.replace('{region}', this.session.region)
|
|
1152
1154
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1177,7 +1179,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1177
1179
|
}
|
|
1178
1180
|
|
|
1179
1181
|
public buy(request: Request.BuyRequest): Promise<Result.BuyResult> {
|
|
1180
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase/{showcaseName}/{displayItemId}')
|
|
1182
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/showcase/{showcaseName}/{displayItemId}')
|
|
1181
1183
|
.replace('{service}', 'showcase')
|
|
1182
1184
|
.replace('{region}', this.session.region)
|
|
1183
1185
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1217,7 +1219,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1217
1219
|
}
|
|
1218
1220
|
|
|
1219
1221
|
public buyByUserId(request: Request.BuyByUserIdRequest): Promise<Result.BuyByUserIdResult> {
|
|
1220
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase/{showcaseName}/{displayItemId}')
|
|
1222
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/showcase/{showcaseName}/{displayItemId}')
|
|
1221
1223
|
.replace('{service}', 'showcase')
|
|
1222
1224
|
.replace('{region}', this.session.region)
|
|
1223
1225
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1258,7 +1260,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1258
1260
|
}
|
|
1259
1261
|
|
|
1260
1262
|
public describeRandomShowcaseMasters(request: Request.DescribeRandomShowcaseMastersRequest): Promise<Result.DescribeRandomShowcaseMastersResult> {
|
|
1261
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase')
|
|
1263
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase')
|
|
1262
1264
|
.replace('{service}', 'showcase')
|
|
1263
1265
|
.replace('{region}', this.session.region)
|
|
1264
1266
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -1287,7 +1289,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1287
1289
|
}
|
|
1288
1290
|
|
|
1289
1291
|
public createRandomShowcaseMaster(request: Request.CreateRandomShowcaseMasterRequest): Promise<Result.CreateRandomShowcaseMasterResult> {
|
|
1290
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase')
|
|
1292
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase')
|
|
1291
1293
|
.replace('{service}', 'showcase')
|
|
1292
1294
|
.replace('{region}', this.session.region)
|
|
1293
1295
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'));
|
|
@@ -1325,7 +1327,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1325
1327
|
}
|
|
1326
1328
|
|
|
1327
1329
|
public getRandomShowcaseMaster(request: Request.GetRandomShowcaseMasterRequest): Promise<Result.GetRandomShowcaseMasterResult> {
|
|
1328
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1330
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1329
1331
|
.replace('{service}', 'showcase')
|
|
1330
1332
|
.replace('{region}', this.session.region)
|
|
1331
1333
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1352,7 +1354,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1352
1354
|
}
|
|
1353
1355
|
|
|
1354
1356
|
public updateRandomShowcaseMaster(request: Request.UpdateRandomShowcaseMasterRequest): Promise<Result.UpdateRandomShowcaseMasterResult> {
|
|
1355
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1357
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1356
1358
|
.replace('{service}', 'showcase')
|
|
1357
1359
|
.replace('{region}', this.session.region)
|
|
1358
1360
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1390,7 +1392,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1390
1392
|
}
|
|
1391
1393
|
|
|
1392
1394
|
public deleteRandomShowcaseMaster(request: Request.DeleteRandomShowcaseMasterRequest): Promise<Result.DeleteRandomShowcaseMasterResult> {
|
|
1393
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1395
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/master/random/showcase/{showcaseName}')
|
|
1394
1396
|
.replace('{service}', 'showcase')
|
|
1395
1397
|
.replace('{region}', this.session.region)
|
|
1396
1398
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1417,7 +1419,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1417
1419
|
}
|
|
1418
1420
|
|
|
1419
1421
|
public incrementPurchaseCount(request: Request.IncrementPurchaseCountRequest): Promise<Result.IncrementPurchaseCountResult> {
|
|
1420
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/me/status/{showcaseName}/{displayItemName}/purchase/count')
|
|
1422
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/me/status/{showcaseName}/{displayItemName}/purchase/count')
|
|
1421
1423
|
.replace('{service}', 'showcase')
|
|
1422
1424
|
.replace('{region}', this.session.region)
|
|
1423
1425
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1456,7 +1458,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1456
1458
|
}
|
|
1457
1459
|
|
|
1458
1460
|
public incrementPurchaseCountByUserId(request: Request.IncrementPurchaseCountByUserIdRequest): Promise<Result.IncrementPurchaseCountByUserIdResult> {
|
|
1459
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/{userId}/status/{showcaseName}/{displayItemName}/purchase/count')
|
|
1461
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/{userId}/status/{showcaseName}/{displayItemName}/purchase/count')
|
|
1460
1462
|
.replace('{service}', 'showcase')
|
|
1461
1463
|
.replace('{region}', this.session.region)
|
|
1462
1464
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1496,7 +1498,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1496
1498
|
}
|
|
1497
1499
|
|
|
1498
1500
|
public decrementPurchaseCountByUserId(request: Request.DecrementPurchaseCountByUserIdRequest): Promise<Result.DecrementPurchaseCountByUserIdResult> {
|
|
1499
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/{userId}/status/{showcaseName}/{displayItemName}/purchase/count/decrease')
|
|
1501
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/user/{userId}/status/{showcaseName}/{displayItemName}/purchase/count/decrease')
|
|
1500
1502
|
.replace('{service}', 'showcase')
|
|
1501
1503
|
.replace('{region}', this.session.region)
|
|
1502
1504
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1536,7 +1538,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1536
1538
|
}
|
|
1537
1539
|
|
|
1538
1540
|
public incrementPurchaseCountByStampTask(request: Request.IncrementPurchaseCountByStampTaskRequest): Promise<Result.IncrementPurchaseCountByStampTaskResult> {
|
|
1539
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/purchase/count')
|
|
1541
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/purchase/count')
|
|
1540
1542
|
.replace('{service}', 'showcase')
|
|
1541
1543
|
.replace('{region}', this.session.region);
|
|
1542
1544
|
|
|
@@ -1567,7 +1569,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1567
1569
|
}
|
|
1568
1570
|
|
|
1569
1571
|
public decrementPurchaseCountByStampSheet(request: Request.DecrementPurchaseCountByStampSheetRequest): Promise<Result.DecrementPurchaseCountByStampSheetResult> {
|
|
1570
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/purchase/count/decrease')
|
|
1572
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/purchase/count/decrease')
|
|
1571
1573
|
.replace('{service}', 'showcase')
|
|
1572
1574
|
.replace('{region}', this.session.region);
|
|
1573
1575
|
|
|
@@ -1598,7 +1600,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1598
1600
|
}
|
|
1599
1601
|
|
|
1600
1602
|
public forceReDrawByUserId(request: Request.ForceReDrawByUserIdRequest): Promise<Result.ForceReDrawByUserIdResult> {
|
|
1601
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/{showcaseName}/user/{userId}')
|
|
1603
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/random/showcase/{showcaseName}/user/{userId}')
|
|
1602
1604
|
.replace('{service}', 'showcase')
|
|
1603
1605
|
.replace('{region}', this.session.region)
|
|
1604
1606
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1632,7 +1634,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1632
1634
|
}
|
|
1633
1635
|
|
|
1634
1636
|
public forceReDrawByUserIdByStampSheet(request: Request.ForceReDrawByUserIdByStampSheetRequest): Promise<Result.ForceReDrawByUserIdByStampSheetResult> {
|
|
1635
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/redraw')
|
|
1637
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/stamp/random/showcase/status/redraw')
|
|
1636
1638
|
.replace('{service}', 'showcase')
|
|
1637
1639
|
.replace('{region}', this.session.region);
|
|
1638
1640
|
|
|
@@ -1663,7 +1665,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1663
1665
|
}
|
|
1664
1666
|
|
|
1665
1667
|
public describeRandomDisplayItems(request: Request.DescribeRandomDisplayItemsRequest): Promise<Result.DescribeRandomDisplayItemsResult> {
|
|
1666
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}')
|
|
1668
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}')
|
|
1667
1669
|
.replace('{service}', 'showcase')
|
|
1668
1670
|
.replace('{region}', this.session.region)
|
|
1669
1671
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1693,7 +1695,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1693
1695
|
}
|
|
1694
1696
|
|
|
1695
1697
|
public describeRandomDisplayItemsByUserId(request: Request.DescribeRandomDisplayItemsByUserIdRequest): Promise<Result.DescribeRandomDisplayItemsByUserIdResult> {
|
|
1696
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}')
|
|
1698
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}')
|
|
1697
1699
|
.replace('{service}', 'showcase')
|
|
1698
1700
|
.replace('{region}', this.session.region)
|
|
1699
1701
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1724,7 +1726,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1724
1726
|
}
|
|
1725
1727
|
|
|
1726
1728
|
public getRandomDisplayItem(request: Request.GetRandomDisplayItemRequest): Promise<Result.GetRandomDisplayItemResult> {
|
|
1727
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}/displayItem/{displayItemName}')
|
|
1729
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}/displayItem/{displayItemName}')
|
|
1728
1730
|
.replace('{service}', 'showcase')
|
|
1729
1731
|
.replace('{region}', this.session.region)
|
|
1730
1732
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1755,7 +1757,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1755
1757
|
}
|
|
1756
1758
|
|
|
1757
1759
|
public getRandomDisplayItemByUserId(request: Request.GetRandomDisplayItemByUserIdRequest): Promise<Result.GetRandomDisplayItemByUserIdResult> {
|
|
1758
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}/displayItem/{displayItemName}')
|
|
1760
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}/displayItem/{displayItemName}')
|
|
1759
1761
|
.replace('{service}', 'showcase')
|
|
1760
1762
|
.replace('{region}', this.session.region)
|
|
1761
1763
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1787,7 +1789,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1787
1789
|
}
|
|
1788
1790
|
|
|
1789
1791
|
public randomShowcaseBuy(request: Request.RandomShowcaseBuyRequest): Promise<Result.RandomShowcaseBuyResult> {
|
|
1790
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}/{displayItemName}')
|
|
1792
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/me/random/showcase/{showcaseName}/{displayItemName}')
|
|
1791
1793
|
.replace('{service}', 'showcase')
|
|
1792
1794
|
.replace('{region}', this.session.region)
|
|
1793
1795
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
|
@@ -1827,7 +1829,7 @@ export default class Gs2ShowcaseRestClient extends AbstractGs2RestClient {
|
|
|
1827
1829
|
}
|
|
1828
1830
|
|
|
1829
1831
|
public randomShowcaseBuyByUserId(request: Request.RandomShowcaseBuyByUserIdRequest): Promise<Result.RandomShowcaseBuyByUserIdResult> {
|
|
1830
|
-
const url = (Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}/{displayItemName}')
|
|
1832
|
+
const url = (Gs2ShowcaseRestClient.ENDPOINT_HOST ?? Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/user/{userId}/random/showcase/{showcaseName}/{displayItemName}')
|
|
1831
1833
|
.replace('{service}', 'showcase')
|
|
1832
1834
|
.replace('{region}', this.session.region)
|
|
1833
1835
|
.replace('{namespaceName}', String(request.getNamespaceName() ?? 'null') === "" ? "null" : String(request.getNamespaceName() ?? 'null'))
|
package/skillTree/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 Gs2SkillTreeRestClient 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>;
|