gs2 1.3.122 → 1.3.124
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/request/AuthenticationRequest.d.ts +4 -0
- package/account/request/AuthenticationRequest.js +12 -0
- package/account/request/AuthenticationRequest.js.map +1 -1
- package/account/request/AuthenticationRequest.ts +15 -0
- package/account/request/DeleteAccountRequest.d.ts +4 -0
- package/account/request/DeleteAccountRequest.js +12 -0
- package/account/request/DeleteAccountRequest.js.map +1 -1
- package/account/request/DeleteAccountRequest.ts +15 -0
- package/account/request/DeleteDataOwnerByUserIdRequest.d.ts +4 -0
- package/account/request/DeleteDataOwnerByUserIdRequest.js +12 -0
- package/account/request/DeleteDataOwnerByUserIdRequest.js.map +1 -1
- package/account/request/DeleteDataOwnerByUserIdRequest.ts +15 -0
- package/account/request/UpdateNamespaceRequest.d.ts +0 -4
- package/account/request/UpdateNamespaceRequest.js +0 -14
- package/account/request/UpdateNamespaceRequest.js.map +1 -1
- package/account/request/UpdateNamespaceRequest.ts +0 -14
- package/account/rest.js +23 -15
- package/account/rest.js.map +1 -1
- package/account/rest.ts +9 -1
- package/package.json +1 -1
- package/project/model/Account.d.ts +0 -4
- package/project/model/Account.js +0 -14
- package/project/model/Account.js.map +1 -1
- package/project/model/Account.ts +0 -14
- package/project/model/Gs2Region.d.ts +17 -0
- package/project/model/Gs2Region.js +62 -0
- package/project/model/Gs2Region.js.map +1 -0
- package/project/model/Gs2Region.ts +60 -0
- package/project/model/Project.d.ts +9 -0
- package/project/model/Project.js +36 -0
- package/project/model/Project.js.map +1 -1
- package/project/model/Project.ts +37 -0
- package/project/model/index.d.ts +2 -1
- package/project/model/index.js +3 -1
- package/project/model/index.js.map +1 -1
- package/project/model/index.ts +2 -0
- package/project/request/ActivateRegionRequest.d.ts +29 -0
- package/project/request/ActivateRegionRequest.js +97 -0
- package/project/request/ActivateRegionRequest.js.map +1 -0
- package/project/request/ActivateRegionRequest.ts +104 -0
- package/project/request/CreateProjectRequest.d.ts +8 -0
- package/project/request/CreateProjectRequest.js +28 -0
- package/project/request/CreateProjectRequest.js.map +1 -1
- package/project/request/CreateProjectRequest.ts +28 -0
- package/project/request/index.d.ts +2 -2
- package/project/request/index.js +3 -3
- package/project/request/index.js.map +1 -1
- package/project/request/index.ts +2 -2
- package/project/rest.d.ts +1 -1
- package/project/rest.js +35 -31
- package/project/rest.js.map +1 -1
- package/project/rest.ts +34 -30
- package/project/result/ActivateRegionResult.d.ts +14 -0
- package/project/result/ActivateRegionResult.js +48 -0
- package/project/result/ActivateRegionResult.js.map +1 -0
- package/project/result/ActivateRegionResult.ts +48 -0
- package/project/result/index.d.ts +2 -2
- package/project/result/index.js +3 -3
- package/project/result/index.js.map +1 -1
- package/project/result/index.ts +2 -2
- package/quest/request/EndByUserIdRequest.d.ts +0 -4
- package/quest/request/EndByUserIdRequest.js +0 -14
- package/quest/request/EndByUserIdRequest.js.map +1 -1
- package/quest/request/EndByUserIdRequest.ts +0 -14
- package/quest/request/EndRequest.d.ts +0 -4
- package/quest/request/EndRequest.js +0 -14
- package/quest/request/EndRequest.js.map +1 -1
- package/quest/request/EndRequest.ts +0 -14
- package/quest/rest.js +8 -10
- package/quest/rest.js.map +1 -1
- package/quest/rest.ts +0 -2
- package/serialKey/model/SerialKey.d.ts +2 -2
- package/serialKey/model/SerialKey.js +9 -9
- package/serialKey/model/SerialKey.js.map +1 -1
- package/serialKey/model/SerialKey.ts +9 -9
package/project/model/Project.ts
CHANGED
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import Gs2Region from './Gs2Region';
|
|
18
19
|
const grnFormat: string = "grn:gs2:::gs2:account:{accountName}:project:{projectName}";
|
|
19
20
|
|
|
20
21
|
export default class Project implements IModel {
|
|
@@ -23,8 +24,10 @@ export default class Project implements IModel {
|
|
|
23
24
|
private name: string|null = null;
|
|
24
25
|
private description: string|null = null;
|
|
25
26
|
private plan: string|null = null;
|
|
27
|
+
private regions: Gs2Region[]|null = null;
|
|
26
28
|
private billingMethodName: string|null = null;
|
|
27
29
|
private enableEventBridge: string|null = null;
|
|
30
|
+
private currency: string|null = null;
|
|
28
31
|
private eventBridgeAwsAccountId: string|null = null;
|
|
29
32
|
private eventBridgeAwsRegion: string|null = null;
|
|
30
33
|
private createdAt: number|null = null;
|
|
@@ -125,6 +128,17 @@ export default class Project implements IModel {
|
|
|
125
128
|
this.plan = plan;
|
|
126
129
|
return this;
|
|
127
130
|
}
|
|
131
|
+
public getRegions(): Gs2Region[]|null {
|
|
132
|
+
return this.regions;
|
|
133
|
+
}
|
|
134
|
+
public setRegions(regions: Gs2Region[]|null) {
|
|
135
|
+
this.regions = regions;
|
|
136
|
+
return this;
|
|
137
|
+
}
|
|
138
|
+
public withRegions(regions: Gs2Region[]|null): this {
|
|
139
|
+
this.regions = regions;
|
|
140
|
+
return this;
|
|
141
|
+
}
|
|
128
142
|
public getBillingMethodName(): string|null {
|
|
129
143
|
return this.billingMethodName;
|
|
130
144
|
}
|
|
@@ -147,6 +161,17 @@ export default class Project implements IModel {
|
|
|
147
161
|
this.enableEventBridge = enableEventBridge;
|
|
148
162
|
return this;
|
|
149
163
|
}
|
|
164
|
+
public getCurrency(): string|null {
|
|
165
|
+
return this.currency;
|
|
166
|
+
}
|
|
167
|
+
public setCurrency(currency: string|null) {
|
|
168
|
+
this.currency = currency;
|
|
169
|
+
return this;
|
|
170
|
+
}
|
|
171
|
+
public withCurrency(currency: string|null): this {
|
|
172
|
+
this.currency = currency;
|
|
173
|
+
return this;
|
|
174
|
+
}
|
|
150
175
|
public getEventBridgeAwsAccountId(): string|null {
|
|
151
176
|
return this.eventBridgeAwsAccountId;
|
|
152
177
|
}
|
|
@@ -202,8 +227,14 @@ export default class Project implements IModel {
|
|
|
202
227
|
.withName(data["name"])
|
|
203
228
|
.withDescription(data["description"])
|
|
204
229
|
.withPlan(data["plan"])
|
|
230
|
+
.withRegions(data.regions ?
|
|
231
|
+
data.regions.map((item: {[key: string]: any}) => {
|
|
232
|
+
return Gs2Region.fromDict(item);
|
|
233
|
+
}
|
|
234
|
+
) : [])
|
|
205
235
|
.withBillingMethodName(data["billingMethodName"])
|
|
206
236
|
.withEnableEventBridge(data["enableEventBridge"])
|
|
237
|
+
.withCurrency(data["currency"])
|
|
207
238
|
.withEventBridgeAwsAccountId(data["eventBridgeAwsAccountId"])
|
|
208
239
|
.withEventBridgeAwsRegion(data["eventBridgeAwsRegion"])
|
|
209
240
|
.withCreatedAt(data["createdAt"])
|
|
@@ -217,8 +248,14 @@ export default class Project implements IModel {
|
|
|
217
248
|
"name": this.getName(),
|
|
218
249
|
"description": this.getDescription(),
|
|
219
250
|
"plan": this.getPlan(),
|
|
251
|
+
"regions": this.getRegions() ?
|
|
252
|
+
this.getRegions()!.map((item: Gs2Region) => {
|
|
253
|
+
return item.toDict();
|
|
254
|
+
}
|
|
255
|
+
) : [],
|
|
220
256
|
"billingMethodName": this.getBillingMethodName(),
|
|
221
257
|
"enableEventBridge": this.getEnableEventBridge(),
|
|
258
|
+
"currency": this.getCurrency(),
|
|
222
259
|
"eventBridgeAwsAccountId": this.getEventBridgeAwsAccountId(),
|
|
223
260
|
"eventBridgeAwsRegion": this.getEventBridgeAwsRegion(),
|
|
224
261
|
"createdAt": this.getCreatedAt(),
|
package/project/model/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Account from "./Account";
|
|
2
2
|
import Project from "./Project";
|
|
3
|
+
import Gs2Region from "./Gs2Region";
|
|
3
4
|
import BillingMethod from "./BillingMethod";
|
|
4
5
|
import Receipt from "./Receipt";
|
|
5
6
|
import Billing from "./Billing";
|
|
6
|
-
export { Account, Project, BillingMethod, Receipt, Billing, };
|
|
7
|
+
export { Account, Project, Gs2Region, BillingMethod, Receipt, Billing, };
|
package/project/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Billing = exports.Receipt = exports.BillingMethod = exports.Project = exports.Account = void 0;
|
|
3
|
+
exports.Billing = exports.Receipt = exports.BillingMethod = exports.Gs2Region = exports.Project = exports.Account = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,8 @@ var Account_1 = tslib_1.__importDefault(require("./Account"));
|
|
|
21
21
|
exports.Account = Account_1.default;
|
|
22
22
|
var Project_1 = tslib_1.__importDefault(require("./Project"));
|
|
23
23
|
exports.Project = Project_1.default;
|
|
24
|
+
var Gs2Region_1 = tslib_1.__importDefault(require("./Gs2Region"));
|
|
25
|
+
exports.Gs2Region = Gs2Region_1.default;
|
|
24
26
|
var BillingMethod_1 = tslib_1.__importDefault(require("./BillingMethod"));
|
|
25
27
|
exports.BillingMethod = BillingMethod_1.default;
|
|
26
28
|
var Receipt_1 = tslib_1.__importDefault(require("./Receipt"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8DAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8DAA+B;AAQ3B,kBARG,iBAAO,CAQH;AAPX,8DAA+B;AAQ3B,kBARG,iBAAO,CAQH;AAPX,kEAAmC;AAQ/B,oBARG,mBAAS,CAQH;AAPb,0EAA2C;AAQvC,wBARG,uBAAa,CAQH;AAPjB,8DAA+B;AAQ3B,kBARG,iBAAO,CAQH;AAPX,8DAA+B;AAQ3B,kBARG,iBAAO,CAQH"}
|
package/project/model/index.ts
CHANGED
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
import Account from "./Account"
|
|
17
17
|
import Project from "./Project"
|
|
18
|
+
import Gs2Region from "./Gs2Region"
|
|
18
19
|
import BillingMethod from "./BillingMethod"
|
|
19
20
|
import Receipt from "./Receipt"
|
|
20
21
|
import Billing from "./Billing"
|
|
@@ -22,6 +23,7 @@ import Billing from "./Billing"
|
|
|
22
23
|
export {
|
|
23
24
|
Account,
|
|
24
25
|
Project,
|
|
26
|
+
Gs2Region,
|
|
25
27
|
BillingMethod,
|
|
26
28
|
Receipt,
|
|
27
29
|
Billing,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class ActivateRegionRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private accountToken;
|
|
6
|
+
private projectName;
|
|
7
|
+
private regionName;
|
|
8
|
+
getRequestId(): string | null;
|
|
9
|
+
setRequestId(requestId: string | null): this;
|
|
10
|
+
withRequestId(requestId: string | null): this;
|
|
11
|
+
getContextStack(): string | null;
|
|
12
|
+
setContextStack(contextStack: string | null): this;
|
|
13
|
+
withContextStack(contextStack: string | null): this;
|
|
14
|
+
getAccountToken(): string | null;
|
|
15
|
+
setAccountToken(accountToken: string | null): this;
|
|
16
|
+
withAccountToken(accountToken: string | null): this;
|
|
17
|
+
getProjectName(): string | null;
|
|
18
|
+
setProjectName(projectName: string | null): this;
|
|
19
|
+
withProjectName(projectName: string | null): this;
|
|
20
|
+
getRegionName(): string | null;
|
|
21
|
+
setRegionName(regionName: string | null): this;
|
|
22
|
+
withRegionName(regionName: string | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): ActivateRegionRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var ActivateRegionRequest = /** @class */ (function () {
|
|
19
|
+
function ActivateRegionRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.accountToken = null;
|
|
23
|
+
this.projectName = null;
|
|
24
|
+
this.regionName = null;
|
|
25
|
+
}
|
|
26
|
+
ActivateRegionRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
ActivateRegionRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
ActivateRegionRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
ActivateRegionRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
ActivateRegionRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
ActivateRegionRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
ActivateRegionRequest.prototype.getAccountToken = function () {
|
|
49
|
+
return this.accountToken;
|
|
50
|
+
};
|
|
51
|
+
ActivateRegionRequest.prototype.setAccountToken = function (accountToken) {
|
|
52
|
+
this.accountToken = accountToken;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
ActivateRegionRequest.prototype.withAccountToken = function (accountToken) {
|
|
56
|
+
this.accountToken = accountToken;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
ActivateRegionRequest.prototype.getProjectName = function () {
|
|
60
|
+
return this.projectName;
|
|
61
|
+
};
|
|
62
|
+
ActivateRegionRequest.prototype.setProjectName = function (projectName) {
|
|
63
|
+
this.projectName = projectName;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
ActivateRegionRequest.prototype.withProjectName = function (projectName) {
|
|
67
|
+
this.projectName = projectName;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
ActivateRegionRequest.prototype.getRegionName = function () {
|
|
71
|
+
return this.regionName;
|
|
72
|
+
};
|
|
73
|
+
ActivateRegionRequest.prototype.setRegionName = function (regionName) {
|
|
74
|
+
this.regionName = regionName;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
ActivateRegionRequest.prototype.withRegionName = function (regionName) {
|
|
78
|
+
this.regionName = regionName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
ActivateRegionRequest.fromDict = function (data) {
|
|
82
|
+
return new ActivateRegionRequest()
|
|
83
|
+
.withAccountToken(data["accountToken"])
|
|
84
|
+
.withProjectName(data["projectName"])
|
|
85
|
+
.withRegionName(data["regionName"]);
|
|
86
|
+
};
|
|
87
|
+
ActivateRegionRequest.prototype.toDict = function () {
|
|
88
|
+
return {
|
|
89
|
+
"accountToken": this.getAccountToken(),
|
|
90
|
+
"projectName": this.getProjectName(),
|
|
91
|
+
"regionName": this.getRegionName(),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
return ActivateRegionRequest;
|
|
95
|
+
}());
|
|
96
|
+
exports.default = ActivateRegionRequest;
|
|
97
|
+
//# sourceMappingURL=ActivateRegionRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivateRegionRequest.js","sourceRoot":"","sources":["ActivateRegionRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GAAgB,IAAI,CAAC;QACjC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;IA6E3C,CAAC;IA3EU,4CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,4CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,+CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,+CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IACM,+CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAgB,GAAvB,UAAw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Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Project from '../model'
|
|
20
|
+
|
|
21
|
+
export default class ActivateRegionRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private accountToken: string|null = null;
|
|
26
|
+
private projectName: string|null = null;
|
|
27
|
+
private regionName: string|null = null;
|
|
28
|
+
|
|
29
|
+
public getRequestId(): string|null {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setRequestId(requestId: string|null) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withRequestId(requestId: string|null): this {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getContextStack(): string|null {
|
|
44
|
+
return this.contextStack;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setContextStack(contextStack: string|null) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withContextStack(contextStack: string|null): this {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public getAccountToken(): string|null {
|
|
57
|
+
return this.accountToken;
|
|
58
|
+
}
|
|
59
|
+
public setAccountToken(accountToken: string|null) {
|
|
60
|
+
this.accountToken = accountToken;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withAccountToken(accountToken: string|null): this {
|
|
64
|
+
this.accountToken = accountToken;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public getProjectName(): string|null {
|
|
68
|
+
return this.projectName;
|
|
69
|
+
}
|
|
70
|
+
public setProjectName(projectName: string|null) {
|
|
71
|
+
this.projectName = projectName;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withProjectName(projectName: string|null): this {
|
|
75
|
+
this.projectName = projectName;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public getRegionName(): string|null {
|
|
79
|
+
return this.regionName;
|
|
80
|
+
}
|
|
81
|
+
public setRegionName(regionName: string|null) {
|
|
82
|
+
this.regionName = regionName;
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
public withRegionName(regionName: string|null): this {
|
|
86
|
+
this.regionName = regionName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public static fromDict(data: {[key: string]: any}): ActivateRegionRequest {
|
|
91
|
+
return new ActivateRegionRequest()
|
|
92
|
+
.withAccountToken(data["accountToken"])
|
|
93
|
+
.withProjectName(data["projectName"])
|
|
94
|
+
.withRegionName(data["regionName"]);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public toDict(): {[key: string]: any} {
|
|
98
|
+
return {
|
|
99
|
+
"accountToken": this.getAccountToken(),
|
|
100
|
+
"projectName": this.getProjectName(),
|
|
101
|
+
"regionName": this.getRegionName(),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -6,6 +6,8 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
6
6
|
private name;
|
|
7
7
|
private description;
|
|
8
8
|
private plan;
|
|
9
|
+
private currency;
|
|
10
|
+
private activateRegionName;
|
|
9
11
|
private billingMethodName;
|
|
10
12
|
private enableEventBridge;
|
|
11
13
|
private eventBridgeAwsAccountId;
|
|
@@ -28,6 +30,12 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
28
30
|
getPlan(): string | null;
|
|
29
31
|
setPlan(plan: string | null): this;
|
|
30
32
|
withPlan(plan: string | null): this;
|
|
33
|
+
getCurrency(): string | null;
|
|
34
|
+
setCurrency(currency: string | null): this;
|
|
35
|
+
withCurrency(currency: string | null): this;
|
|
36
|
+
getActivateRegionName(): string | null;
|
|
37
|
+
setActivateRegionName(activateRegionName: string | null): this;
|
|
38
|
+
withActivateRegionName(activateRegionName: string | null): this;
|
|
31
39
|
getBillingMethodName(): string | null;
|
|
32
40
|
setBillingMethodName(billingMethodName: string | null): this;
|
|
33
41
|
withBillingMethodName(billingMethodName: string | null): this;
|
|
@@ -23,6 +23,8 @@ var CreateProjectRequest = /** @class */ (function () {
|
|
|
23
23
|
this.name = null;
|
|
24
24
|
this.description = null;
|
|
25
25
|
this.plan = null;
|
|
26
|
+
this.currency = null;
|
|
27
|
+
this.activateRegionName = null;
|
|
26
28
|
this.billingMethodName = null;
|
|
27
29
|
this.enableEventBridge = null;
|
|
28
30
|
this.eventBridgeAwsAccountId = null;
|
|
@@ -94,6 +96,28 @@ var CreateProjectRequest = /** @class */ (function () {
|
|
|
94
96
|
this.plan = plan;
|
|
95
97
|
return this;
|
|
96
98
|
};
|
|
99
|
+
CreateProjectRequest.prototype.getCurrency = function () {
|
|
100
|
+
return this.currency;
|
|
101
|
+
};
|
|
102
|
+
CreateProjectRequest.prototype.setCurrency = function (currency) {
|
|
103
|
+
this.currency = currency;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
CreateProjectRequest.prototype.withCurrency = function (currency) {
|
|
107
|
+
this.currency = currency;
|
|
108
|
+
return this;
|
|
109
|
+
};
|
|
110
|
+
CreateProjectRequest.prototype.getActivateRegionName = function () {
|
|
111
|
+
return this.activateRegionName;
|
|
112
|
+
};
|
|
113
|
+
CreateProjectRequest.prototype.setActivateRegionName = function (activateRegionName) {
|
|
114
|
+
this.activateRegionName = activateRegionName;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
CreateProjectRequest.prototype.withActivateRegionName = function (activateRegionName) {
|
|
118
|
+
this.activateRegionName = activateRegionName;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
97
121
|
CreateProjectRequest.prototype.getBillingMethodName = function () {
|
|
98
122
|
return this.billingMethodName;
|
|
99
123
|
};
|
|
@@ -144,6 +168,8 @@ var CreateProjectRequest = /** @class */ (function () {
|
|
|
144
168
|
.withName(data["name"])
|
|
145
169
|
.withDescription(data["description"])
|
|
146
170
|
.withPlan(data["plan"])
|
|
171
|
+
.withCurrency(data["currency"])
|
|
172
|
+
.withActivateRegionName(data["activateRegionName"])
|
|
147
173
|
.withBillingMethodName(data["billingMethodName"])
|
|
148
174
|
.withEnableEventBridge(data["enableEventBridge"])
|
|
149
175
|
.withEventBridgeAwsAccountId(data["eventBridgeAwsAccountId"])
|
|
@@ -155,6 +181,8 @@ var CreateProjectRequest = /** @class */ (function () {
|
|
|
155
181
|
"name": this.getName(),
|
|
156
182
|
"description": this.getDescription(),
|
|
157
183
|
"plan": this.getPlan(),
|
|
184
|
+
"currency": this.getCurrency(),
|
|
185
|
+
"activateRegionName": this.getActivateRegionName(),
|
|
158
186
|
"billingMethodName": this.getBillingMethodName(),
|
|
159
187
|
"enableEventBridge": this.getEnableEventBridge(),
|
|
160
188
|
"eventBridgeAwsAccountId": this.getEventBridgeAwsAccountId(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateProjectRequest.js","sourceRoot":"","sources":["CreateProjectRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GA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wBAAwB,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,yBAAyB,EAAE,IAAI,CAAC,0BAA0B,EAAE;YAC5D,sBAAsB,EAAE,IAAI,CAAC,uBAAuB,EAAE;SACzD,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AArLD,IAqLC"}
|
|
@@ -26,6 +26,8 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
26
26
|
private name: string|null = null;
|
|
27
27
|
private description: string|null = null;
|
|
28
28
|
private plan: string|null = null;
|
|
29
|
+
private currency: string|null = null;
|
|
30
|
+
private activateRegionName: string|null = null;
|
|
29
31
|
private billingMethodName: string|null = null;
|
|
30
32
|
private enableEventBridge: string|null = null;
|
|
31
33
|
private eventBridgeAwsAccountId: string|null = null;
|
|
@@ -102,6 +104,28 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
102
104
|
this.plan = plan;
|
|
103
105
|
return this;
|
|
104
106
|
}
|
|
107
|
+
public getCurrency(): string|null {
|
|
108
|
+
return this.currency;
|
|
109
|
+
}
|
|
110
|
+
public setCurrency(currency: string|null) {
|
|
111
|
+
this.currency = currency;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
public withCurrency(currency: string|null): this {
|
|
115
|
+
this.currency = currency;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public getActivateRegionName(): string|null {
|
|
119
|
+
return this.activateRegionName;
|
|
120
|
+
}
|
|
121
|
+
public setActivateRegionName(activateRegionName: string|null) {
|
|
122
|
+
this.activateRegionName = activateRegionName;
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
public withActivateRegionName(activateRegionName: string|null): this {
|
|
126
|
+
this.activateRegionName = activateRegionName;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
105
129
|
public getBillingMethodName(): string|null {
|
|
106
130
|
return this.billingMethodName;
|
|
107
131
|
}
|
|
@@ -153,6 +177,8 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
153
177
|
.withName(data["name"])
|
|
154
178
|
.withDescription(data["description"])
|
|
155
179
|
.withPlan(data["plan"])
|
|
180
|
+
.withCurrency(data["currency"])
|
|
181
|
+
.withActivateRegionName(data["activateRegionName"])
|
|
156
182
|
.withBillingMethodName(data["billingMethodName"])
|
|
157
183
|
.withEnableEventBridge(data["enableEventBridge"])
|
|
158
184
|
.withEventBridgeAwsAccountId(data["eventBridgeAwsAccountId"])
|
|
@@ -165,6 +191,8 @@ export default class CreateProjectRequest implements IRequest {
|
|
|
165
191
|
"name": this.getName(),
|
|
166
192
|
"description": this.getDescription(),
|
|
167
193
|
"plan": this.getPlan(),
|
|
194
|
+
"currency": this.getCurrency(),
|
|
195
|
+
"activateRegionName": this.getActivateRegionName(),
|
|
168
196
|
"billingMethodName": this.getBillingMethodName(),
|
|
169
197
|
"enableEventBridge": this.getEnableEventBridge(),
|
|
170
198
|
"eventBridgeAwsAccountId": this.getEventBridgeAwsAccountId(),
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import CreateAccountRequest from "./CreateAccountRequest";
|
|
2
2
|
import VerifyRequest from "./VerifyRequest";
|
|
3
3
|
import SignInRequest from "./SignInRequest";
|
|
4
|
-
import IssueAccountTokenRequest from "./IssueAccountTokenRequest";
|
|
5
4
|
import ForgetRequest from "./ForgetRequest";
|
|
6
5
|
import IssuePasswordRequest from "./IssuePasswordRequest";
|
|
7
6
|
import UpdateAccountRequest from "./UpdateAccountRequest";
|
|
@@ -12,6 +11,7 @@ import GetProjectRequest from "./GetProjectRequest";
|
|
|
12
11
|
import GetProjectTokenRequest from "./GetProjectTokenRequest";
|
|
13
12
|
import GetProjectTokenByIdentifierRequest from "./GetProjectTokenByIdentifierRequest";
|
|
14
13
|
import UpdateProjectRequest from "./UpdateProjectRequest";
|
|
14
|
+
import ActivateRegionRequest from "./ActivateRegionRequest";
|
|
15
15
|
import DeleteProjectRequest from "./DeleteProjectRequest";
|
|
16
16
|
import DescribeBillingMethodsRequest from "./DescribeBillingMethodsRequest";
|
|
17
17
|
import CreateBillingMethodRequest from "./CreateBillingMethodRequest";
|
|
@@ -20,4 +20,4 @@ import UpdateBillingMethodRequest from "./UpdateBillingMethodRequest";
|
|
|
20
20
|
import DeleteBillingMethodRequest from "./DeleteBillingMethodRequest";
|
|
21
21
|
import DescribeReceiptsRequest from "./DescribeReceiptsRequest";
|
|
22
22
|
import DescribeBillingsRequest from "./DescribeBillingsRequest";
|
|
23
|
-
export { CreateAccountRequest, VerifyRequest, SignInRequest,
|
|
23
|
+
export { CreateAccountRequest, VerifyRequest, SignInRequest, ForgetRequest, IssuePasswordRequest, UpdateAccountRequest, DeleteAccountRequest, DescribeProjectsRequest, CreateProjectRequest, GetProjectRequest, GetProjectTokenRequest, GetProjectTokenByIdentifierRequest, UpdateProjectRequest, ActivateRegionRequest, DeleteProjectRequest, DescribeBillingMethodsRequest, CreateBillingMethodRequest, GetBillingMethodRequest, UpdateBillingMethodRequest, DeleteBillingMethodRequest, DescribeReceiptsRequest, DescribeBillingsRequest, };
|
package/project/request/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DescribeBillingsRequest = exports.DescribeReceiptsRequest = exports.DeleteBillingMethodRequest = exports.UpdateBillingMethodRequest = exports.GetBillingMethodRequest = exports.CreateBillingMethodRequest = exports.DescribeBillingMethodsRequest = exports.DeleteProjectRequest = exports.UpdateProjectRequest = exports.GetProjectTokenByIdentifierRequest = exports.GetProjectTokenRequest = exports.GetProjectRequest = exports.CreateProjectRequest = exports.DescribeProjectsRequest = exports.DeleteAccountRequest = exports.UpdateAccountRequest = exports.IssuePasswordRequest = exports.ForgetRequest = exports.
|
|
3
|
+
exports.DescribeBillingsRequest = exports.DescribeReceiptsRequest = exports.DeleteBillingMethodRequest = exports.UpdateBillingMethodRequest = exports.GetBillingMethodRequest = exports.CreateBillingMethodRequest = exports.DescribeBillingMethodsRequest = exports.DeleteProjectRequest = exports.ActivateRegionRequest = exports.UpdateProjectRequest = exports.GetProjectTokenByIdentifierRequest = exports.GetProjectTokenRequest = exports.GetProjectRequest = exports.CreateProjectRequest = exports.DescribeProjectsRequest = exports.DeleteAccountRequest = exports.UpdateAccountRequest = exports.IssuePasswordRequest = exports.ForgetRequest = exports.SignInRequest = exports.VerifyRequest = exports.CreateAccountRequest = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -23,8 +23,6 @@ var VerifyRequest_1 = tslib_1.__importDefault(require("./VerifyRequest"));
|
|
|
23
23
|
exports.VerifyRequest = VerifyRequest_1.default;
|
|
24
24
|
var SignInRequest_1 = tslib_1.__importDefault(require("./SignInRequest"));
|
|
25
25
|
exports.SignInRequest = SignInRequest_1.default;
|
|
26
|
-
var IssueAccountTokenRequest_1 = tslib_1.__importDefault(require("./IssueAccountTokenRequest"));
|
|
27
|
-
exports.IssueAccountTokenRequest = IssueAccountTokenRequest_1.default;
|
|
28
26
|
var ForgetRequest_1 = tslib_1.__importDefault(require("./ForgetRequest"));
|
|
29
27
|
exports.ForgetRequest = ForgetRequest_1.default;
|
|
30
28
|
var IssuePasswordRequest_1 = tslib_1.__importDefault(require("./IssuePasswordRequest"));
|
|
@@ -45,6 +43,8 @@ var GetProjectTokenByIdentifierRequest_1 = tslib_1.__importDefault(require("./Ge
|
|
|
45
43
|
exports.GetProjectTokenByIdentifierRequest = GetProjectTokenByIdentifierRequest_1.default;
|
|
46
44
|
var UpdateProjectRequest_1 = tslib_1.__importDefault(require("./UpdateProjectRequest"));
|
|
47
45
|
exports.UpdateProjectRequest = UpdateProjectRequest_1.default;
|
|
46
|
+
var ActivateRegionRequest_1 = tslib_1.__importDefault(require("./ActivateRegionRequest"));
|
|
47
|
+
exports.ActivateRegionRequest = ActivateRegionRequest_1.default;
|
|
48
48
|
var DeleteProjectRequest_1 = tslib_1.__importDefault(require("./DeleteProjectRequest"));
|
|
49
49
|
exports.DeleteProjectRequest = DeleteProjectRequest_1.default;
|
|
50
50
|
var DescribeBillingMethodsRequest_1 = tslib_1.__importDefault(require("./DescribeBillingMethodsRequest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,0EAA2C;AAwBvC,wBAxBG,uBAAa,CAwBH;AAvBjB,0EAA2C;AAwBvC,wBAxBG,uBAAa,CAwBH;AAvBjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,0EAA2C;AAwBvC,wBAxBG,uBAAa,CAwBH;AAvBjB,0EAA2C;AAwBvC,wBAxBG,uBAAa,CAwBH;AAvBjB,0EAA2C;AAwBvC,wBAxBG,uBAAa,CAwBH;AAvBjB,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,8FAA+D;AAwB3D,kCAxBG,iCAAuB,CAwBH;AAvB3B,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,kFAAmD;AAwB/C,4BAxBG,2BAAiB,CAwBH;AAvBrB,4FAA6D;AAwBzD,iCAxBG,gCAAsB,CAwBH;AAvB1B,oHAAqF;AAwBjF,6CAxBG,4CAAkC,CAwBH;AAvBtC,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,0FAA2D;AAwBvD,gCAxBG,+BAAqB,CAwBH;AAvBzB,wFAAyD;AAwBrD,+BAxBG,8BAAoB,CAwBH;AAvBxB,0GAA2E;AAwBvE,wCAxBG,uCAA6B,CAwBH;AAvBjC,oGAAqE;AAwBjE,qCAxBG,oCAA0B,CAwBH;AAvB9B,8FAA+D;AAwB3D,kCAxBG,iCAAuB,CAwBH;AAvB3B,oGAAqE;AAwBjE,qCAxBG,oCAA0B,CAwBH;AAvB9B,oGAAqE;AAwBjE,qCAxBG,oCAA0B,CAwBH;AAvB9B,8FAA+D;AAwB3D,kCAxBG,iCAAuB,CAwBH;AAvB3B,8FAA+D;AAwB3D,kCAxBG,iCAAuB,CAwBH"}
|
package/project/request/index.ts
CHANGED
|
@@ -16,7 +16,6 @@ permissions and limitations under the License.
|
|
|
16
16
|
import CreateAccountRequest from "./CreateAccountRequest"
|
|
17
17
|
import VerifyRequest from "./VerifyRequest"
|
|
18
18
|
import SignInRequest from "./SignInRequest"
|
|
19
|
-
import IssueAccountTokenRequest from "./IssueAccountTokenRequest"
|
|
20
19
|
import ForgetRequest from "./ForgetRequest"
|
|
21
20
|
import IssuePasswordRequest from "./IssuePasswordRequest"
|
|
22
21
|
import UpdateAccountRequest from "./UpdateAccountRequest"
|
|
@@ -27,6 +26,7 @@ import GetProjectRequest from "./GetProjectRequest"
|
|
|
27
26
|
import GetProjectTokenRequest from "./GetProjectTokenRequest"
|
|
28
27
|
import GetProjectTokenByIdentifierRequest from "./GetProjectTokenByIdentifierRequest"
|
|
29
28
|
import UpdateProjectRequest from "./UpdateProjectRequest"
|
|
29
|
+
import ActivateRegionRequest from "./ActivateRegionRequest"
|
|
30
30
|
import DeleteProjectRequest from "./DeleteProjectRequest"
|
|
31
31
|
import DescribeBillingMethodsRequest from "./DescribeBillingMethodsRequest"
|
|
32
32
|
import CreateBillingMethodRequest from "./CreateBillingMethodRequest"
|
|
@@ -40,7 +40,6 @@ export {
|
|
|
40
40
|
CreateAccountRequest,
|
|
41
41
|
VerifyRequest,
|
|
42
42
|
SignInRequest,
|
|
43
|
-
IssueAccountTokenRequest,
|
|
44
43
|
ForgetRequest,
|
|
45
44
|
IssuePasswordRequest,
|
|
46
45
|
UpdateAccountRequest,
|
|
@@ -51,6 +50,7 @@ export {
|
|
|
51
50
|
GetProjectTokenRequest,
|
|
52
51
|
GetProjectTokenByIdentifierRequest,
|
|
53
52
|
UpdateProjectRequest,
|
|
53
|
+
ActivateRegionRequest,
|
|
54
54
|
DeleteProjectRequest,
|
|
55
55
|
DescribeBillingMethodsRequest,
|
|
56
56
|
CreateBillingMethodRequest,
|
package/project/rest.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export default class Gs2ProjectRestClient extends AbstractGs2RestClient {
|
|
|
7
7
|
createAccount(request: Request.CreateAccountRequest): Promise<Result.CreateAccountResult>;
|
|
8
8
|
verify(request: Request.VerifyRequest): Promise<Result.VerifyResult>;
|
|
9
9
|
signIn(request: Request.SignInRequest): Promise<Result.SignInResult>;
|
|
10
|
-
issueAccountToken(request: Request.IssueAccountTokenRequest): Promise<Result.IssueAccountTokenResult>;
|
|
11
10
|
forget(request: Request.ForgetRequest): Promise<Result.ForgetResult>;
|
|
12
11
|
issuePassword(request: Request.IssuePasswordRequest): Promise<Result.IssuePasswordResult>;
|
|
13
12
|
updateAccount(request: Request.UpdateAccountRequest): Promise<Result.UpdateAccountResult>;
|
|
@@ -18,6 +17,7 @@ export default class Gs2ProjectRestClient extends AbstractGs2RestClient {
|
|
|
18
17
|
getProjectToken(request: Request.GetProjectTokenRequest): Promise<Result.GetProjectTokenResult>;
|
|
19
18
|
getProjectTokenByIdentifier(request: Request.GetProjectTokenByIdentifierRequest): Promise<Result.GetProjectTokenByIdentifierResult>;
|
|
20
19
|
updateProject(request: Request.UpdateProjectRequest): Promise<Result.UpdateProjectResult>;
|
|
20
|
+
activateRegion(request: Request.ActivateRegionRequest): Promise<Result.ActivateRegionResult>;
|
|
21
21
|
deleteProject(request: Request.DeleteProjectRequest): Promise<Result.DeleteProjectResult>;
|
|
22
22
|
describeBillingMethods(request: Request.DescribeBillingMethodsRequest): Promise<Result.DescribeBillingMethodsResult>;
|
|
23
23
|
createBillingMethod(request: Request.CreateBillingMethodRequest): Promise<Result.CreateBillingMethodResult>;
|