gs2 1.3.50 → 1.3.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/account/model/Account.d.ts +4 -0
  2. package/account/model/Account.js +14 -0
  3. package/account/model/Account.js.map +1 -1
  4. package/account/model/Account.ts +17 -0
  5. package/account/request/UpdateBannedRequest.d.ts +33 -0
  6. package/account/request/UpdateBannedRequest.js +109 -0
  7. package/account/request/UpdateBannedRequest.js.map +1 -0
  8. package/account/request/UpdateBannedRequest.ts +128 -0
  9. package/account/request/index.d.ts +2 -1
  10. package/account/request/index.js +3 -1
  11. package/account/request/index.js.map +1 -1
  12. package/account/request/index.ts +2 -0
  13. package/account/rest.d.ts +1 -0
  14. package/account/rest.js +31 -0
  15. package/account/rest.js.map +1 -1
  16. package/account/rest.ts +35 -0
  17. package/account/result/UpdateBannedResult.d.ts +14 -0
  18. package/account/result/UpdateBannedResult.js +48 -0
  19. package/account/result/UpdateBannedResult.js.map +1 -0
  20. package/account/result/UpdateBannedResult.ts +48 -0
  21. package/account/result/index.d.ts +2 -1
  22. package/account/result/index.js +3 -1
  23. package/account/result/index.js.map +1 -1
  24. package/account/result/index.ts +2 -0
  25. package/gateway/request/DisconnectAllRequest.d.ts +21 -0
  26. package/gateway/request/DisconnectAllRequest.js +69 -0
  27. package/gateway/request/DisconnectAllRequest.js.map +1 -0
  28. package/gateway/request/DisconnectAllRequest.ts +79 -0
  29. package/gateway/request/DisconnectByUserIdRequest.d.ts +29 -0
  30. package/gateway/request/DisconnectByUserIdRequest.js +95 -0
  31. package/gateway/request/DisconnectByUserIdRequest.js.map +1 -0
  32. package/gateway/request/DisconnectByUserIdRequest.ts +111 -0
  33. package/gateway/request/index.d.ts +3 -1
  34. package/gateway/request/index.js +5 -1
  35. package/gateway/request/index.js.map +1 -1
  36. package/gateway/request/index.ts +4 -0
  37. package/gateway/rest.d.ts +2 -0
  38. package/gateway/rest.js +48 -0
  39. package/gateway/rest.js.map +1 -1
  40. package/gateway/rest.ts +56 -0
  41. package/gateway/result/DisconnectAllResult.d.ts +9 -0
  42. package/gateway/result/DisconnectAllResult.js +30 -0
  43. package/gateway/result/DisconnectAllResult.js.map +1 -0
  44. package/gateway/result/DisconnectAllResult.ts +31 -0
  45. package/gateway/result/DisconnectByUserIdResult.d.ts +14 -0
  46. package/gateway/result/DisconnectByUserIdResult.js +53 -0
  47. package/gateway/result/DisconnectByUserIdResult.js.map +1 -0
  48. package/gateway/result/DisconnectByUserIdResult.ts +56 -0
  49. package/gateway/result/index.d.ts +3 -1
  50. package/gateway/result/index.js +5 -1
  51. package/gateway/result/index.js.map +1 -1
  52. package/gateway/result/index.ts +4 -0
  53. package/package.json +1 -1
@@ -4,6 +4,7 @@ export default class Account implements IModel {
4
4
  private userId;
5
5
  private password;
6
6
  private timeOffset;
7
+ private banned;
7
8
  private createdAt;
8
9
  static getRegion(grn: string): string | null;
9
10
  static getOwnerId(grn: string): string | null;
@@ -23,6 +24,9 @@ export default class Account implements IModel {
23
24
  getTimeOffset(): number | null;
24
25
  setTimeOffset(timeOffset: number | null): this;
25
26
  withTimeOffset(timeOffset: number | null): this;
27
+ getBanned(): boolean | null;
28
+ setBanned(banned: boolean | null): this;
29
+ withBanned(banned: boolean | null): this;
26
30
  getCreatedAt(): number | null;
27
31
  setCreatedAt(createdAt: number | null): this;
28
32
  withCreatedAt(createdAt: number | null): this;
@@ -22,6 +22,7 @@ var Account = /** @class */ (function () {
22
22
  this.userId = null;
23
23
  this.password = null;
24
24
  this.timeOffset = null;
25
+ this.banned = null;
25
26
  this.createdAt = null;
26
27
  }
27
28
  Account.getRegion = function (grn) {
@@ -134,6 +135,17 @@ var Account = /** @class */ (function () {
134
135
  this.timeOffset = timeOffset;
135
136
  return this;
136
137
  };
138
+ Account.prototype.getBanned = function () {
139
+ return this.banned;
140
+ };
141
+ Account.prototype.setBanned = function (banned) {
142
+ this.banned = banned;
143
+ return this;
144
+ };
145
+ Account.prototype.withBanned = function (banned) {
146
+ this.banned = banned;
147
+ return this;
148
+ };
137
149
  Account.prototype.getCreatedAt = function () {
138
150
  return this.createdAt;
139
151
  };
@@ -154,6 +166,7 @@ var Account = /** @class */ (function () {
154
166
  .withUserId(data["userId"])
155
167
  .withPassword(data["password"])
156
168
  .withTimeOffset(data["timeOffset"])
169
+ .withBanned(data["banned"])
157
170
  .withCreatedAt(data["createdAt"]);
158
171
  };
159
172
  Account.prototype.toDict = function () {
@@ -162,6 +175,7 @@ var Account = /** @class */ (function () {
162
175
  "userId": this.getUserId(),
163
176
  "password": this.getPassword(),
164
177
  "timeOffset": this.getTimeOffset(),
178
+ "banned": this.getBanned(),
165
179
  "createdAt": this.getCreatedAt(),
166
180
  };
167
181
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Account.js","sourceRoot":"","sources":["Account.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,qEAAqE,CAAC;AAEhG;IAAA;QACY,cAAS,GAAgB,IAAI,CAAC;QAC9B,WAAM,GAAgB,IAAI,CAAC;QAC3B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,eAAU,GAAgB,IAAI,CAAC;QAC/B,cAAS,GAAgB,IAAI,CAAC;IA8K1C,CAAC;IA5KiB,iBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,CAC7B,CAAC;QACF,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;SACnB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kBAAU,GAAxB,UAAyB,GAAW;QAChC,IAAM,KAAK,G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AW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,cAAC;AAAD,CAAC,AApMD,IAoMC"}
@@ -22,6 +22,7 @@ export default class Account implements IModel {
22
22
  private userId: string|null = null;
23
23
  private password: string|null = null;
24
24
  private timeOffset: number|null = null;
25
+ private banned: boolean|null = null;
25
26
  private createdAt: number|null = null;
26
27
 
27
28
  public static getRegion(grn: string): string|null {
@@ -161,6 +162,20 @@ export default class Account implements IModel {
161
162
  return this;
162
163
  }
163
164
 
165
+ public getBanned(): boolean|null {
166
+ return this.banned;
167
+ }
168
+
169
+ public setBanned(banned: boolean|null) {
170
+ this.banned = banned;
171
+ return this;
172
+ }
173
+
174
+ public withBanned(banned: boolean|null): this {
175
+ this.banned = banned;
176
+ return this;
177
+ }
178
+
164
179
  public getCreatedAt(): number|null {
165
180
  return this.createdAt;
166
181
  }
@@ -184,6 +199,7 @@ export default class Account implements IModel {
184
199
  .withUserId(data["userId"])
185
200
  .withPassword(data["password"])
186
201
  .withTimeOffset(data["timeOffset"])
202
+ .withBanned(data["banned"])
187
203
  .withCreatedAt(data["createdAt"]);
188
204
  }
189
205
 
@@ -193,6 +209,7 @@ export default class Account implements IModel {
193
209
  "userId": this.getUserId(),
194
210
  "password": this.getPassword(),
195
211
  "timeOffset": this.getTimeOffset(),
212
+ "banned": this.getBanned(),
196
213
  "createdAt": this.getCreatedAt(),
197
214
  };
198
215
  }
@@ -0,0 +1,33 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class UpdateBannedRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private namespaceName;
6
+ private userId;
7
+ private banned;
8
+ private duplicationAvoider;
9
+ getRequestId(): string | null;
10
+ setRequestId(requestId: string | null): this;
11
+ withRequestId(requestId: string | null): this;
12
+ getContextStack(): string | null;
13
+ setContextStack(contextStack: string | null): this;
14
+ withContextStack(contextStack: string | null): this;
15
+ getNamespaceName(): string | null;
16
+ setNamespaceName(namespaceName: string | null): this;
17
+ withNamespaceName(namespaceName: string | null): this;
18
+ getUserId(): string | null;
19
+ setUserId(userId: string | null): this;
20
+ withUserId(userId: string | null): this;
21
+ getBanned(): boolean | null;
22
+ setBanned(banned: boolean | null): this;
23
+ withBanned(banned: boolean | null): this;
24
+ getDuplicationAvoider(): string | null;
25
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
26
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
27
+ static fromDict(data: {
28
+ [key: string]: any;
29
+ }): UpdateBannedRequest;
30
+ toDict(): {
31
+ [key: string]: any;
32
+ };
33
+ }
@@ -0,0 +1,109 @@
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 UpdateBannedRequest = /** @class */ (function () {
19
+ function UpdateBannedRequest() {
20
+ this.requestId = null;
21
+ this.contextStack = null;
22
+ this.namespaceName = null;
23
+ this.userId = null;
24
+ this.banned = null;
25
+ this.duplicationAvoider = null;
26
+ }
27
+ UpdateBannedRequest.prototype.getRequestId = function () {
28
+ return this.requestId;
29
+ };
30
+ UpdateBannedRequest.prototype.setRequestId = function (requestId) {
31
+ this.requestId = requestId;
32
+ return this;
33
+ };
34
+ UpdateBannedRequest.prototype.withRequestId = function (requestId) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ };
38
+ UpdateBannedRequest.prototype.getContextStack = function () {
39
+ return this.contextStack;
40
+ };
41
+ UpdateBannedRequest.prototype.setContextStack = function (contextStack) {
42
+ this.contextStack = contextStack;
43
+ return this;
44
+ };
45
+ UpdateBannedRequest.prototype.withContextStack = function (contextStack) {
46
+ this.contextStack = contextStack;
47
+ return this;
48
+ };
49
+ UpdateBannedRequest.prototype.getNamespaceName = function () {
50
+ return this.namespaceName;
51
+ };
52
+ UpdateBannedRequest.prototype.setNamespaceName = function (namespaceName) {
53
+ this.namespaceName = namespaceName;
54
+ return this;
55
+ };
56
+ UpdateBannedRequest.prototype.withNamespaceName = function (namespaceName) {
57
+ this.namespaceName = namespaceName;
58
+ return this;
59
+ };
60
+ UpdateBannedRequest.prototype.getUserId = function () {
61
+ return this.userId;
62
+ };
63
+ UpdateBannedRequest.prototype.setUserId = function (userId) {
64
+ this.userId = userId;
65
+ return this;
66
+ };
67
+ UpdateBannedRequest.prototype.withUserId = function (userId) {
68
+ this.userId = userId;
69
+ return this;
70
+ };
71
+ UpdateBannedRequest.prototype.getBanned = function () {
72
+ return this.banned;
73
+ };
74
+ UpdateBannedRequest.prototype.setBanned = function (banned) {
75
+ this.banned = banned;
76
+ return this;
77
+ };
78
+ UpdateBannedRequest.prototype.withBanned = function (banned) {
79
+ this.banned = banned;
80
+ return this;
81
+ };
82
+ UpdateBannedRequest.prototype.getDuplicationAvoider = function () {
83
+ return this.duplicationAvoider;
84
+ };
85
+ UpdateBannedRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
86
+ this.duplicationAvoider = duplicationAvoider;
87
+ return this;
88
+ };
89
+ UpdateBannedRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
90
+ this.duplicationAvoider = duplicationAvoider;
91
+ return this;
92
+ };
93
+ UpdateBannedRequest.fromDict = function (data) {
94
+ return new UpdateBannedRequest()
95
+ .withNamespaceName(data["namespaceName"])
96
+ .withUserId(data["userId"])
97
+ .withBanned(data["banned"]);
98
+ };
99
+ UpdateBannedRequest.prototype.toDict = function () {
100
+ return {
101
+ "namespaceName": this.getNamespaceName(),
102
+ "userId": this.getUserId(),
103
+ "banned": this.getBanned(),
104
+ };
105
+ };
106
+ return UpdateBannedRequest;
107
+ }());
108
+ exports.default = UpdateBannedRequest;
109
+ //# sourceMappingURL=UpdateBannedRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateBannedRequest.js","sourceRoot":"","sources":["UpdateBannedRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,WAAM,GAAiB,IAAI,CAAC;QAC5B,uBAAkB,GAAgB,IAAI,CAAC;IAoGnD,CAAC;IAlGU,0CAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,0CAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,6CAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8CAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,8CAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;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CAAC,CAAC;IACpC,CAAC;IAEM,oCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AA3GD,IA2GC"}
@@ -0,0 +1,128 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ 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 Gs2Account from '../model'
20
+
21
+ export default class UpdateBannedRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private userId: string|null = null;
27
+ private banned: boolean|null = null;
28
+ private duplicationAvoider: string|null = null;
29
+
30
+ public getRequestId(): string|null {
31
+ return this.requestId;
32
+ }
33
+
34
+ public setRequestId(requestId: string|null) {
35
+ this.requestId = requestId;
36
+ return this;
37
+ }
38
+
39
+ public withRequestId(requestId: string|null): this {
40
+ this.requestId = requestId;
41
+ return this;
42
+ }
43
+
44
+ public getContextStack(): string|null {
45
+ return this.contextStack;
46
+ }
47
+
48
+ public setContextStack(contextStack: string|null) {
49
+ this.contextStack = contextStack;
50
+ return this;
51
+ }
52
+
53
+ public withContextStack(contextStack: string|null): this {
54
+ this.contextStack = contextStack;
55
+ return this;
56
+ }
57
+
58
+ public getNamespaceName(): string|null {
59
+ return this.namespaceName;
60
+ }
61
+
62
+ public setNamespaceName(namespaceName: string|null) {
63
+ this.namespaceName = namespaceName;
64
+ return this;
65
+ }
66
+
67
+ public withNamespaceName(namespaceName: string|null): this {
68
+ this.namespaceName = namespaceName;
69
+ return this;
70
+ }
71
+
72
+ public getUserId(): string|null {
73
+ return this.userId;
74
+ }
75
+
76
+ public setUserId(userId: string|null) {
77
+ this.userId = userId;
78
+ return this;
79
+ }
80
+
81
+ public withUserId(userId: string|null): this {
82
+ this.userId = userId;
83
+ return this;
84
+ }
85
+
86
+ public getBanned(): boolean|null {
87
+ return this.banned;
88
+ }
89
+
90
+ public setBanned(banned: boolean|null) {
91
+ this.banned = banned;
92
+ return this;
93
+ }
94
+
95
+ public withBanned(banned: boolean|null): this {
96
+ this.banned = banned;
97
+ return this;
98
+ }
99
+
100
+ public getDuplicationAvoider(): string|null {
101
+ return this.duplicationAvoider;
102
+ }
103
+
104
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
105
+ this.duplicationAvoider = duplicationAvoider;
106
+ return this;
107
+ }
108
+
109
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
110
+ this.duplicationAvoider = duplicationAvoider;
111
+ return this;
112
+ }
113
+
114
+ public static fromDict(data: {[key: string]: any}): UpdateBannedRequest {
115
+ return new UpdateBannedRequest()
116
+ .withNamespaceName(data["namespaceName"])
117
+ .withUserId(data["userId"])
118
+ .withBanned(data["banned"]);
119
+ }
120
+
121
+ public toDict(): {[key: string]: any} {
122
+ return {
123
+ "namespaceName": this.getNamespaceName(),
124
+ "userId": this.getUserId(),
125
+ "banned": this.getBanned(),
126
+ };
127
+ }
128
+ }
@@ -7,6 +7,7 @@ import DeleteNamespaceRequest from "./DeleteNamespaceRequest";
7
7
  import DescribeAccountsRequest from "./DescribeAccountsRequest";
8
8
  import CreateAccountRequest from "./CreateAccountRequest";
9
9
  import UpdateTimeOffsetRequest from "./UpdateTimeOffsetRequest";
10
+ import UpdateBannedRequest from "./UpdateBannedRequest";
10
11
  import GetAccountRequest from "./GetAccountRequest";
11
12
  import DeleteAccountRequest from "./DeleteAccountRequest";
12
13
  import AuthenticationRequest from "./AuthenticationRequest";
@@ -23,4 +24,4 @@ import DeleteTakeOverByUserIdentifierRequest from "./DeleteTakeOverByUserIdentif
23
24
  import DoTakeOverRequest from "./DoTakeOverRequest";
24
25
  import GetDataOwnerByUserIdRequest from "./GetDataOwnerByUserIdRequest";
25
26
  import DeleteDataOwnerByUserIdRequest from "./DeleteDataOwnerByUserIdRequest";
26
- export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DescribeAccountsRequest, CreateAccountRequest, UpdateTimeOffsetRequest, GetAccountRequest, DeleteAccountRequest, AuthenticationRequest, DescribeTakeOversRequest, DescribeTakeOversByUserIdRequest, CreateTakeOverRequest, CreateTakeOverByUserIdRequest, GetTakeOverRequest, GetTakeOverByUserIdRequest, UpdateTakeOverRequest, UpdateTakeOverByUserIdRequest, DeleteTakeOverRequest, DeleteTakeOverByUserIdentifierRequest, DoTakeOverRequest, GetDataOwnerByUserIdRequest, DeleteDataOwnerByUserIdRequest, };
27
+ export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DescribeAccountsRequest, CreateAccountRequest, UpdateTimeOffsetRequest, UpdateBannedRequest, GetAccountRequest, DeleteAccountRequest, AuthenticationRequest, DescribeTakeOversRequest, DescribeTakeOversByUserIdRequest, CreateTakeOverRequest, CreateTakeOverByUserIdRequest, GetTakeOverRequest, GetTakeOverByUserIdRequest, UpdateTakeOverRequest, UpdateTakeOverByUserIdRequest, DeleteTakeOverRequest, DeleteTakeOverByUserIdentifierRequest, DoTakeOverRequest, GetDataOwnerByUserIdRequest, DeleteDataOwnerByUserIdRequest, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteDataOwnerByUserIdRequest = exports.GetDataOwnerByUserIdRequest = exports.DoTakeOverRequest = exports.DeleteTakeOverByUserIdentifierRequest = exports.DeleteTakeOverRequest = exports.UpdateTakeOverByUserIdRequest = exports.UpdateTakeOverRequest = exports.GetTakeOverByUserIdRequest = exports.GetTakeOverRequest = exports.CreateTakeOverByUserIdRequest = exports.CreateTakeOverRequest = exports.DescribeTakeOversByUserIdRequest = exports.DescribeTakeOversRequest = exports.AuthenticationRequest = exports.DeleteAccountRequest = exports.GetAccountRequest = exports.UpdateTimeOffsetRequest = exports.CreateAccountRequest = exports.DescribeAccountsRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
3
+ exports.DeleteDataOwnerByUserIdRequest = exports.GetDataOwnerByUserIdRequest = exports.DoTakeOverRequest = exports.DeleteTakeOverByUserIdentifierRequest = exports.DeleteTakeOverRequest = exports.UpdateTakeOverByUserIdRequest = exports.UpdateTakeOverRequest = exports.GetTakeOverByUserIdRequest = exports.GetTakeOverRequest = exports.CreateTakeOverByUserIdRequest = exports.CreateTakeOverRequest = exports.DescribeTakeOversByUserIdRequest = exports.DescribeTakeOversRequest = exports.AuthenticationRequest = exports.DeleteAccountRequest = exports.GetAccountRequest = exports.UpdateBannedRequest = exports.UpdateTimeOffsetRequest = exports.CreateAccountRequest = exports.DescribeAccountsRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -35,6 +35,8 @@ var CreateAccountRequest_1 = tslib_1.__importDefault(require("./CreateAccountReq
35
35
  exports.CreateAccountRequest = CreateAccountRequest_1.default;
36
36
  var UpdateTimeOffsetRequest_1 = tslib_1.__importDefault(require("./UpdateTimeOffsetRequest"));
37
37
  exports.UpdateTimeOffsetRequest = UpdateTimeOffsetRequest_1.default;
38
+ var UpdateBannedRequest_1 = tslib_1.__importDefault(require("./UpdateBannedRequest"));
39
+ exports.UpdateBannedRequest = UpdateBannedRequest_1.default;
38
40
  var GetAccountRequest_1 = tslib_1.__importDefault(require("./GetAccountRequest"));
39
41
  exports.GetAccountRequest = GetAccountRequest_1.default;
40
42
  var DeleteAccountRequest_1 = tslib_1.__importDefault(require("./DeleteAccountRequest"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;AA2B/D,oCA3BG,mCAAyB,CA2BH;AA1B7B,4FAA6D;AA2BzD,iCA3BG,gCAAsB,CA2BH;AA1B1B,kGAAmE;AA2B/D,oCA3BG,mCAAyB,CA2BH;AA1B7B,sFAAuD;AA2BnD,8BA3BG,6BAAmB,CA2BH;AA1BvB,4FAA6D;AA2BzD,iCA3BG,gCAAsB,CA2BH;AA1B1B,4FAA6D;AA2BzD,iCA3BG,gCAAsB,CA2BH;AA1B1B,8FAA+D;AA2B3D,kCA3BG,iCAAuB,CA2BH;AA1B3B,wFAAyD;AA2BrD,+BA3BG,8BAAoB,CA2BH;AA1BxB,8FAA+D;AA2B3D,kCA3BG,iCAAuB,CA2BH;AA1B3B,kFAAmD;AA2B/C,4BA3BG,2BAAiB,CA2BH;AA1BrB,wFAAyD;AA2BrD,+BA3BG,8BAAoB,CA2BH;AA1BxB,0FAA2D;AA2BvD,gCA3BG,+BAAqB,CA2BH;AA1BzB,gGAAiE;AA2B7D,mCA3BG,kCAAwB,CA2BH;AA1B5B,gHAAiF;AA2B7E,2CA3BG,0CAAgC,CA2BH;AA1BpC,0FAA2D;AA2BvD,gCA3BG,+BAAqB,CA2BH;AA1BzB,0GAA2E;AA2BvE,wCA3BG,uCAA6B,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3B5B,gHAAiF;AA4B7E,2CA5BG,0CAAgC,CA4BH;AA3BpC,0FAA2D;AA4BvD,gCA5BG,+BAAqB,CA4BH;AA3BzB,0GAA2E;AA4BvE,wCA5BG,uCAA6B,CA4BH;AA3BjC,oFAAqD;AA4BjD,6BA5BG,4BAAkB,CA4BH;AA3BtB,oGAAqE;AA4BjE,qCA5BG,oCAA0B,CA4BH;AA3B9B,0FAA2D;AA4BvD,gCA5BG,+BAAqB,CA4BH;AA3BzB,0GAA2E;AA4BvE,wCA5BG,uCAA6B,CA4BH;AA3BjC,0FAA2D;AA4BvD,gCA5BG,+BAAqB,CA4BH;AA3BzB,0HAA2F;AA4BvF,gDA5BG,+CAAqC,CA4BH;AA3BzC,kFAAmD;AA4B/C,4BA5BG,2BAAiB,CA4BH;AA3BrB,sGAAuE;AA4BnE,sCA5BG,qCAA2B,CA4BH;AA3B/B,4GAA6E;AA4BzE,yCA5BG,wCAA8B,CA4BH"}
@@ -22,6 +22,7 @@ import DeleteNamespaceRequest from "./DeleteNamespaceRequest"
22
22
  import DescribeAccountsRequest from "./DescribeAccountsRequest"
23
23
  import CreateAccountRequest from "./CreateAccountRequest"
24
24
  import UpdateTimeOffsetRequest from "./UpdateTimeOffsetRequest"
25
+ import UpdateBannedRequest from "./UpdateBannedRequest"
25
26
  import GetAccountRequest from "./GetAccountRequest"
26
27
  import DeleteAccountRequest from "./DeleteAccountRequest"
27
28
  import AuthenticationRequest from "./AuthenticationRequest"
@@ -49,6 +50,7 @@ export {
49
50
  DescribeAccountsRequest,
50
51
  CreateAccountRequest,
51
52
  UpdateTimeOffsetRequest,
53
+ UpdateBannedRequest,
52
54
  GetAccountRequest,
53
55
  DeleteAccountRequest,
54
56
  AuthenticationRequest,
package/account/rest.d.ts CHANGED
@@ -13,6 +13,7 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
13
13
  describeAccounts(request: Request.DescribeAccountsRequest): Promise<Result.DescribeAccountsResult>;
14
14
  createAccount(request: Request.CreateAccountRequest): Promise<Result.CreateAccountResult>;
15
15
  updateTimeOffset(request: Request.UpdateTimeOffsetRequest): Promise<Result.UpdateTimeOffsetResult>;
16
+ updateBanned(request: Request.UpdateBannedRequest): Promise<Result.UpdateBannedResult>;
16
17
  getAccount(request: Request.GetAccountRequest): Promise<Result.GetAccountResult>;
17
18
  deleteAccount(request: Request.DeleteAccountRequest): Promise<Result.DeleteAccountResult>;
18
19
  authentication(request: Request.AuthenticationRequest): Promise<Result.AuthenticationResult>;
package/account/rest.js CHANGED
@@ -263,6 +263,37 @@ var Gs2AccountRestClient = /** @class */ (function (_super) {
263
263
  }
264
264
  });
265
265
  };
266
+ Gs2AccountRestClient.prototype.updateBanned = function (request) {
267
+ var _a, _b, _c, _d, _e, _f, _g;
268
+ var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/account/{userId}/banned')
269
+ .replace('{service}', 'account')
270
+ .replace('{region}', this.session.region)
271
+ .replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
272
+ .replace('{userId}', String((_c = request.getUserId()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getUserId()) !== null && _d !== void 0 ? _d : 'null'));
273
+ var headers = this.createAuthorizedHeaders();
274
+ if (request.getRequestId()) {
275
+ headers['X-GS2-REQUEST-ID'] = request.getRequestId();
276
+ }
277
+ if (request.getDuplicationAvoider()) {
278
+ headers['X-GS2-DUPLICATION-AVOIDER'] = (_e = request.getDuplicationAvoider()) !== null && _e !== void 0 ? _e : null;
279
+ }
280
+ var body = {
281
+ 'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
282
+ 'banned': (_g = request.getBanned()) !== null && _g !== void 0 ? _g : null,
283
+ };
284
+ return axios_1.default.put(url, body, {
285
+ headers: headers,
286
+ }).then(function (response) {
287
+ return Result.UpdateBannedResult.fromDict(response.data);
288
+ }).catch(function (error) {
289
+ if (error.response) {
290
+ throw JSON.parse(error.response.data.message);
291
+ }
292
+ else {
293
+ throw [];
294
+ }
295
+ });
296
+ };
266
297
  Gs2AccountRestClient.prototype.getAccount = function (request) {
267
298
  var _a, _b, _c, _d, _e;
268
299
  var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/account/{userId}')