gs2 1.3.6 → 1.3.32

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 (183) hide show
  1. package/package.json +1 -1
  2. package/src/account/request/CreateTakeOverByUserIdRequest.ts +15 -0
  3. package/src/account/request/DeleteBnlinkRequest.ts +113 -0
  4. package/src/account/request/DeleteTakeOverByUserIdentifierRequest.ts +15 -0
  5. package/src/account/request/DescribeBnlinksRequest.ts +181 -0
  6. package/src/account/request/GetBnlinkRequest.ts +113 -0
  7. package/src/account/request/SetBnlinkRequest.ts +113 -0
  8. package/src/account/request/UpdateTakeOverByUserIdRequest.ts +15 -0
  9. package/src/account/request/UpdateTimeOffsetRequest.ts +15 -0
  10. package/src/account/rest.ts +12 -0
  11. package/src/account/result/DeleteBnlinkResult.ts +48 -0
  12. package/src/account/result/DescribeBnlinksResult.ts +73 -0
  13. package/src/account/result/GetBnlinkResult.ts +48 -0
  14. package/src/account/result/SetBnlinkResult.ts +48 -0
  15. package/src/auth/model/AccessToken.ts +18 -11
  16. package/src/auth/request/LoginBySignatureRequest.ts +0 -17
  17. package/src/auth/rest.ts +0 -1
  18. package/src/chat/request/PostByUserIdRequest.ts +15 -0
  19. package/src/chat/request/SubscribeByUserIdRequest.ts +15 -0
  20. package/src/chat/request/UnsubscribeByUserIdRequest.ts +15 -0
  21. package/src/chat/request/UpdateNotificationTypeByUserIdRequest.ts +15 -0
  22. package/src/chat/rest.ts +12 -0
  23. package/src/datastore/request/DeleteDataObjectByUserIdRequest.ts +15 -0
  24. package/src/datastore/request/DoneUploadByUserIdRequest.ts +15 -0
  25. package/src/datastore/request/PrepareDownloadByGenerationAndUserIdRequest.ts +15 -0
  26. package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest.ts +15 -0
  27. package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameRequest.ts +15 -0
  28. package/src/datastore/request/PrepareDownloadByUserIdRequest.ts +15 -0
  29. package/src/datastore/request/PrepareReUploadByUserIdRequest.ts +15 -0
  30. package/src/datastore/request/PrepareUploadByUserIdRequest.ts +15 -0
  31. package/src/datastore/request/UpdateDataObjectByUserIdRequest.ts +15 -0
  32. package/src/datastore/rest.ts +27 -0
  33. package/src/deploy/model/Event.ts +1 -1
  34. package/src/deploy/model/Output.ts +1 -1
  35. package/src/deploy/model/Resource.ts +1 -1
  36. package/src/deploy/model/Stack.ts +1 -1
  37. package/src/dictionary/request/AddEntriesByUserIdRequest.ts +15 -0
  38. package/src/dictionary/request/ResetByUserIdRequest.ts +15 -0
  39. package/src/dictionary/rest.ts +6 -0
  40. package/src/enhance/request/CreateProgressByUserIdRequest.ts +15 -0
  41. package/src/enhance/request/DeleteProgressByUserIdRequest.ts +15 -0
  42. package/src/enhance/request/DirectEnhanceByUserIdRequest.ts +15 -0
  43. package/src/enhance/request/EndByUserIdRequest.ts +15 -0
  44. package/src/enhance/request/StartByUserIdRequest.ts +15 -0
  45. package/src/enhance/rest.ts +15 -0
  46. package/src/exchange/request/AcquireByUserIdRequest.ts +15 -0
  47. package/src/exchange/request/AcquireForceByUserIdRequest.ts +15 -0
  48. package/src/exchange/request/CreateAwaitByUserIdRequest.ts +15 -0
  49. package/src/exchange/request/DeleteAwaitByUserIdRequest.ts +15 -0
  50. package/src/exchange/request/ExchangeByUserIdRequest.ts +15 -0
  51. package/src/exchange/request/SkipByUserIdRequest.ts +15 -0
  52. package/src/exchange/rest.ts +18 -0
  53. package/src/experience/request/AddExperienceByUserIdRequest.ts +15 -0
  54. package/src/experience/request/AddRankCapByUserIdRequest.ts +15 -0
  55. package/src/experience/request/DeleteStatusByUserIdRequest.ts +15 -0
  56. package/src/experience/request/SetExperienceByUserIdRequest.ts +15 -0
  57. package/src/experience/request/SetRankCapByUserIdRequest.ts +15 -0
  58. package/src/experience/rest.ts +15 -0
  59. package/src/formation/request/AcquireActionsToFormPropertiesRequest.ts +15 -0
  60. package/src/formation/request/AddMoldCapacityByUserIdRequest.ts +15 -0
  61. package/src/formation/request/DeleteFormByUserIdRequest.ts +15 -0
  62. package/src/formation/request/DeleteMoldByUserIdRequest.ts +15 -0
  63. package/src/formation/request/SetFormByUserIdRequest.ts +15 -0
  64. package/src/formation/request/SetMoldCapacityByUserIdRequest.ts +15 -0
  65. package/src/formation/rest.ts +18 -0
  66. package/src/friend/request/AcceptRequestByUserIdRequest.ts +15 -0
  67. package/src/friend/request/DeleteFriendByUserIdRequest.ts +15 -0
  68. package/src/friend/request/DeleteProfileByUserIdRequest.ts +15 -0
  69. package/src/friend/request/DeleteRequestByUserIdRequest.ts +15 -0
  70. package/src/friend/request/FollowByUserIdRequest.ts +15 -0
  71. package/src/friend/request/RegisterBlackListByUserIdRequest.ts +15 -0
  72. package/src/friend/request/RejectRequestByUserIdRequest.ts +15 -0
  73. package/src/friend/request/SendRequestByUserIdRequest.ts +15 -0
  74. package/src/friend/request/UnfollowByUserIdRequest.ts +15 -0
  75. package/src/friend/request/UnregisterBlackListByUserIdRequest.ts +15 -0
  76. package/src/friend/request/UpdateProfileByUserIdRequest.ts +15 -0
  77. package/src/friend/rest.ts +33 -0
  78. package/src/friend/result/DeleteProfileByUserIdResult.ts +18 -1
  79. package/src/gateway/request/DeleteFirebaseTokenByUserIdRequest.ts +15 -0
  80. package/src/gateway/request/SendMobileNotificationByUserIdRequest.ts +15 -0
  81. package/src/gateway/request/SendNotificationRequest.ts +15 -0
  82. package/src/gateway/request/SetFirebaseTokenByUserIdRequest.ts +15 -0
  83. package/src/gateway/request/SetUserIdByUserIdRequest.ts +15 -0
  84. package/src/gateway/rest.ts +15 -0
  85. package/src/inbox/request/DeleteMessageByUserIdRequest.ts +15 -0
  86. package/src/inbox/request/DeleteReceivedByUserIdRequest.ts +15 -0
  87. package/src/inbox/request/OpenMessageByUserIdRequest.ts +15 -0
  88. package/src/inbox/request/ReadMessageByUserIdRequest.ts +15 -0
  89. package/src/inbox/request/ReceiveGlobalMessageByUserIdRequest.ts +15 -0
  90. package/src/inbox/request/SendMessageByUserIdRequest.ts +15 -0
  91. package/src/inbox/request/UpdateReceivedByUserIdRequest.ts +15 -0
  92. package/src/inbox/rest.ts +21 -0
  93. package/src/inventory/request/AcquireItemSetByUserIdRequest.ts +15 -0
  94. package/src/inventory/request/AddCapacityByUserIdRequest.ts +15 -0
  95. package/src/inventory/request/AddReferenceOfByUserIdRequest.ts +15 -0
  96. package/src/inventory/request/ConsumeItemSetByUserIdRequest.ts +15 -0
  97. package/src/inventory/request/DeleteInventoryByUserIdRequest.ts +15 -0
  98. package/src/inventory/request/DeleteItemSetByUserIdRequest.ts +15 -0
  99. package/src/inventory/request/DeleteReferenceOfByUserIdRequest.ts +15 -0
  100. package/src/inventory/request/SetCapacityByUserIdRequest.ts +15 -0
  101. package/src/inventory/request/VerifyReferenceOfByUserIdRequest.ts +15 -0
  102. package/src/inventory/rest.ts +27 -0
  103. package/src/jobQueue/request/DeleteDeadLetterJobByUserIdRequest.ts +15 -0
  104. package/src/jobQueue/request/DeleteJobByUserIdRequest.ts +15 -0
  105. package/src/jobQueue/request/PushByUserIdRequest.ts +15 -0
  106. package/src/jobQueue/request/RunByUserIdRequest.ts +15 -0
  107. package/src/jobQueue/rest.ts +12 -0
  108. package/src/limit/request/CountUpByUserIdRequest.ts +15 -0
  109. package/src/limit/request/DeleteCounterByUserIdRequest.ts +15 -0
  110. package/src/limit/rest.ts +6 -0
  111. package/src/lock/request/DeleteMutexByUserIdRequest.ts +15 -0
  112. package/src/lock/request/LockByUserIdRequest.ts +15 -0
  113. package/src/lock/request/UnlockByUserIdRequest.ts +15 -0
  114. package/src/lock/rest.ts +9 -0
  115. package/src/lottery/model/Box.ts +44 -2
  116. package/src/lottery/request/DrawByUserIdRequest.ts +15 -0
  117. package/src/lottery/request/ResetBoxByUserIdRequest.ts +15 -0
  118. package/src/lottery/request/index.ts +0 -2
  119. package/src/lottery/rest.ts +6 -28
  120. package/src/lottery/result/DrawByStampSheetResult.ts +1 -18
  121. package/src/lottery/result/DrawByUserIdResult.ts +1 -18
  122. package/src/lottery/result/index.ts +0 -2
  123. package/src/matchmaking/request/CancelMatchmakingByUserIdRequest.ts +15 -0
  124. package/src/matchmaking/request/CreateGatheringByUserIdRequest.ts +15 -0
  125. package/src/matchmaking/request/DeleteRatingRequest.ts +15 -0
  126. package/src/matchmaking/request/DoMatchmakingByUserIdRequest.ts +15 -0
  127. package/src/matchmaking/request/UpdateGatheringByUserIdRequest.ts +15 -0
  128. package/src/matchmaking/rest.ts +15 -0
  129. package/src/mission/request/CompleteByUserIdRequest.ts +15 -0
  130. package/src/mission/request/DeleteCompleteByUserIdRequest.ts +15 -0
  131. package/src/mission/request/DeleteCounterByUserIdRequest.ts +15 -0
  132. package/src/mission/request/IncreaseCounterByUserIdRequest.ts +15 -0
  133. package/src/mission/request/ReceiveByUserIdRequest.ts +15 -0
  134. package/src/mission/rest.ts +15 -0
  135. package/src/money/request/DepositByUserIdRequest.ts +15 -0
  136. package/src/money/request/RecordReceiptRequest.ts +15 -0
  137. package/src/money/request/WithdrawByUserIdRequest.ts +15 -0
  138. package/src/money/rest.ts +9 -0
  139. package/src/project/result/DeleteAccountResult.ts +18 -1
  140. package/src/project/result/ForgetResult.ts +1 -18
  141. package/src/quest/request/CreateProgressByUserIdRequest.ts +15 -0
  142. package/src/quest/request/DeleteCompletedQuestListByUserIdRequest.ts +15 -0
  143. package/src/quest/request/DeleteProgressByUserIdRequest.ts +15 -0
  144. package/src/quest/request/EndByUserIdRequest.ts +15 -0
  145. package/src/quest/request/StartByUserIdRequest.ts +15 -0
  146. package/src/quest/rest.ts +15 -0
  147. package/src/ranking/request/PutScoreByUserIdRequest.ts +15 -0
  148. package/src/ranking/request/SubscribeByUserIdRequest.ts +15 -0
  149. package/src/ranking/request/UnsubscribeByUserIdRequest.ts +15 -0
  150. package/src/ranking/rest.ts +9 -0
  151. package/src/ranking/result/CalcRankingResult.ts +18 -1
  152. package/src/schedule/request/DeleteTriggerByUserIdRequest.ts +15 -0
  153. package/src/schedule/request/TriggerByUserIdRequest.ts +15 -0
  154. package/src/schedule/rest.ts +6 -0
  155. package/src/stamina/request/ConsumeStaminaByUserIdRequest.ts +15 -0
  156. package/src/stamina/request/DeleteStaminaByUserIdRequest.ts +15 -0
  157. package/src/stamina/request/RaiseMaxValueByUserIdRequest.ts +15 -0
  158. package/src/stamina/request/RecoverStaminaByUserIdRequest.ts +15 -0
  159. package/src/stamina/request/SetMaxValueByUserIdRequest.ts +15 -0
  160. package/src/stamina/request/SetRecoverIntervalByUserIdRequest.ts +15 -0
  161. package/src/stamina/request/SetRecoverValueByUserIdRequest.ts +15 -0
  162. package/src/stamina/request/UpdateStaminaByUserIdRequest.ts +15 -0
  163. package/src/stamina/rest.ts +24 -0
  164. package/src/version/request/AcceptBneAgreementByUserIdRequest.ts +138 -0
  165. package/src/version/request/AcceptBneAgreementRequest.ts +138 -0
  166. package/src/version/request/AcceptByUserIdRequest.ts +15 -0
  167. package/src/version/request/CheckVersionByUserIdRequest.ts +15 -0
  168. package/src/version/request/DeleteAcceptVersionByUserIdRequest.ts +15 -0
  169. package/src/version/request/DescribeBneAgreementTextUrlsByUserIdRequest.ts +130 -0
  170. package/src/version/request/DescribeBneAgreementTextUrlsRequest.ts +130 -0
  171. package/src/version/request/GetBneAgreementByUserIdRequest.ts +113 -0
  172. package/src/version/request/GetBneAgreementRequest.ts +113 -0
  173. package/src/version/request/GetBneAgreementUrlByUserIdRequest.ts +164 -0
  174. package/src/version/request/GetBneAgreementUrlRequest.ts +164 -0
  175. package/src/version/rest.ts +9 -0
  176. package/src/version/result/AcceptBneAgreementByUserIdResult.ts +56 -0
  177. package/src/version/result/AcceptBneAgreementResult.ts +56 -0
  178. package/src/version/result/DescribeBneAgreementTextUrlsByUserIdResult.ts +56 -0
  179. package/src/version/result/DescribeBneAgreementTextUrlsResult.ts +56 -0
  180. package/src/version/result/GetBneAgreementByUserIdResult.ts +56 -0
  181. package/src/version/result/GetBneAgreementResult.ts +56 -0
  182. package/src/version/result/GetBneAgreementUrlByUserIdResult.ts +48 -0
  183. package/src/version/result/GetBneAgreementUrlResult.ts +48 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2",
3
- "version": "1.3.6",
3
+ "version": "1.3.32",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -27,6 +27,7 @@ export default class CreateTakeOverByUserIdRequest implements IRequest {
27
27
  private type: number|null = null;
28
28
  private userIdentifier: string|null = null;
29
29
  private password: string|null = null;
30
+ private duplicationAvoider: string|null = null;
30
31
 
31
32
  public getRequestId(): string|null {
32
33
  return this.requestId;
@@ -126,6 +127,20 @@ export default class CreateTakeOverByUserIdRequest implements IRequest {
126
127
  return this;
127
128
  }
128
129
 
130
+ public getDuplicationAvoider(): string|null {
131
+ return this.duplicationAvoider;
132
+ }
133
+
134
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
135
+ this.duplicationAvoider = duplicationAvoider;
136
+ return this;
137
+ }
138
+
139
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
140
+ this.duplicationAvoider = duplicationAvoider;
141
+ return this;
142
+ }
143
+
129
144
  public static fromDict(data: {[key: string]: any}): CreateTakeOverByUserIdRequest {
130
145
  return new CreateTakeOverByUserIdRequest()
131
146
  .withNamespaceName(data["namespaceName"])
@@ -0,0 +1,113 @@
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 DeleteBnlinkRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private bnidClientId: string|null = null;
27
+ private accessToken: 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
+
57
+ public getNamespaceName(): string|null {
58
+ return this.namespaceName;
59
+ }
60
+
61
+ public setNamespaceName(namespaceName: string|null) {
62
+ this.namespaceName = namespaceName;
63
+ return this;
64
+ }
65
+
66
+ public withNamespaceName(namespaceName: string|null): this {
67
+ this.namespaceName = namespaceName;
68
+ return this;
69
+ }
70
+
71
+ public getBnidClientId(): string|null {
72
+ return this.bnidClientId;
73
+ }
74
+
75
+ public setBnidClientId(bnidClientId: string|null) {
76
+ this.bnidClientId = bnidClientId;
77
+ return this;
78
+ }
79
+
80
+ public withBnidClientId(bnidClientId: string|null): this {
81
+ this.bnidClientId = bnidClientId;
82
+ return this;
83
+ }
84
+
85
+ public getAccessToken(): string|null {
86
+ return this.accessToken;
87
+ }
88
+
89
+ public setAccessToken(accessToken: string|null) {
90
+ this.accessToken = accessToken;
91
+ return this;
92
+ }
93
+
94
+ public withAccessToken(accessToken: string|null): this {
95
+ this.accessToken = accessToken;
96
+ return this;
97
+ }
98
+
99
+ public static fromDict(data: {[key: string]: any}): DeleteBnlinkRequest {
100
+ return new DeleteBnlinkRequest()
101
+ .withNamespaceName(data["namespaceName"])
102
+ .withBnidClientId(data["bnidClientId"])
103
+ .withAccessToken(data["accessToken"]);
104
+ }
105
+
106
+ public toDict(): {[key: string]: any} {
107
+ return {
108
+ "namespaceName": this.getNamespaceName(),
109
+ "bnidClientId": this.getBnidClientId(),
110
+ "accessToken": this.getAccessToken(),
111
+ };
112
+ }
113
+ }
@@ -25,6 +25,7 @@ export default class DeleteTakeOverByUserIdentifierRequest implements IRequest {
25
25
  private namespaceName: string|null = null;
26
26
  private type: number|null = null;
27
27
  private userIdentifier: string|null = null;
28
+ private duplicationAvoider: string|null = null;
28
29
 
29
30
  public getRequestId(): string|null {
30
31
  return this.requestId;
@@ -96,6 +97,20 @@ export default class DeleteTakeOverByUserIdentifierRequest implements IRequest {
96
97
  return this;
97
98
  }
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
+
99
114
  public static fromDict(data: {[key: string]: any}): DeleteTakeOverByUserIdentifierRequest {
100
115
  return new DeleteTakeOverByUserIdentifierRequest()
101
116
  .withNamespaceName(data["namespaceName"])
@@ -0,0 +1,181 @@
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 DescribeBnlinksRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private bnidClientId: string|null = null;
27
+ private accessToken: string|null = null;
28
+ private ipGroupId: string|null = null;
29
+ private alive: boolean|null = null;
30
+ private pageToken: string|null = null;
31
+ private limit: number|null = null;
32
+
33
+ public getRequestId(): string|null {
34
+ return this.requestId;
35
+ }
36
+
37
+ public setRequestId(requestId: string|null) {
38
+ this.requestId = requestId;
39
+ return this;
40
+ }
41
+
42
+ public withRequestId(requestId: string|null): this {
43
+ this.requestId = requestId;
44
+ return this;
45
+ }
46
+
47
+ public getContextStack(): string|null {
48
+ return this.contextStack;
49
+ }
50
+
51
+ public setContextStack(contextStack: string|null) {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ }
55
+
56
+ public withContextStack(contextStack: string|null): this {
57
+ this.contextStack = contextStack;
58
+ return this;
59
+ }
60
+
61
+ public getNamespaceName(): string|null {
62
+ return this.namespaceName;
63
+ }
64
+
65
+ public setNamespaceName(namespaceName: string|null) {
66
+ this.namespaceName = namespaceName;
67
+ return this;
68
+ }
69
+
70
+ public withNamespaceName(namespaceName: string|null): this {
71
+ this.namespaceName = namespaceName;
72
+ return this;
73
+ }
74
+
75
+ public getBnidClientId(): string|null {
76
+ return this.bnidClientId;
77
+ }
78
+
79
+ public setBnidClientId(bnidClientId: string|null) {
80
+ this.bnidClientId = bnidClientId;
81
+ return this;
82
+ }
83
+
84
+ public withBnidClientId(bnidClientId: string|null): this {
85
+ this.bnidClientId = bnidClientId;
86
+ return this;
87
+ }
88
+
89
+ public getAccessToken(): string|null {
90
+ return this.accessToken;
91
+ }
92
+
93
+ public setAccessToken(accessToken: string|null) {
94
+ this.accessToken = accessToken;
95
+ return this;
96
+ }
97
+
98
+ public withAccessToken(accessToken: string|null): this {
99
+ this.accessToken = accessToken;
100
+ return this;
101
+ }
102
+
103
+ public getIpGroupId(): string|null {
104
+ return this.ipGroupId;
105
+ }
106
+
107
+ public setIpGroupId(ipGroupId: string|null) {
108
+ this.ipGroupId = ipGroupId;
109
+ return this;
110
+ }
111
+
112
+ public withIpGroupId(ipGroupId: string|null): this {
113
+ this.ipGroupId = ipGroupId;
114
+ return this;
115
+ }
116
+
117
+ public getAlive(): boolean|null {
118
+ return this.alive;
119
+ }
120
+
121
+ public setAlive(alive: boolean|null) {
122
+ this.alive = alive;
123
+ return this;
124
+ }
125
+
126
+ public withAlive(alive: boolean|null): this {
127
+ this.alive = alive;
128
+ return this;
129
+ }
130
+
131
+ public getPageToken(): string|null {
132
+ return this.pageToken;
133
+ }
134
+
135
+ public setPageToken(pageToken: string|null) {
136
+ this.pageToken = pageToken;
137
+ return this;
138
+ }
139
+
140
+ public withPageToken(pageToken: string|null): this {
141
+ this.pageToken = pageToken;
142
+ return this;
143
+ }
144
+
145
+ public getLimit(): number|null {
146
+ return this.limit;
147
+ }
148
+
149
+ public setLimit(limit: number|null) {
150
+ this.limit = limit;
151
+ return this;
152
+ }
153
+
154
+ public withLimit(limit: number|null): this {
155
+ this.limit = limit;
156
+ return this;
157
+ }
158
+
159
+ public static fromDict(data: {[key: string]: any}): DescribeBnlinksRequest {
160
+ return new DescribeBnlinksRequest()
161
+ .withNamespaceName(data["namespaceName"])
162
+ .withBnidClientId(data["bnidClientId"])
163
+ .withAccessToken(data["accessToken"])
164
+ .withIpGroupId(data["ipGroupId"])
165
+ .withAlive(data["alive"])
166
+ .withPageToken(data["pageToken"])
167
+ .withLimit(data["limit"]);
168
+ }
169
+
170
+ public toDict(): {[key: string]: any} {
171
+ return {
172
+ "namespaceName": this.getNamespaceName(),
173
+ "bnidClientId": this.getBnidClientId(),
174
+ "accessToken": this.getAccessToken(),
175
+ "ipGroupId": this.getIpGroupId(),
176
+ "alive": this.getAlive(),
177
+ "pageToken": this.getPageToken(),
178
+ "limit": this.getLimit(),
179
+ };
180
+ }
181
+ }
@@ -0,0 +1,113 @@
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 GetBnlinkRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private bnidClientId: string|null = null;
27
+ private accessToken: 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
+
57
+ public getNamespaceName(): string|null {
58
+ return this.namespaceName;
59
+ }
60
+
61
+ public setNamespaceName(namespaceName: string|null) {
62
+ this.namespaceName = namespaceName;
63
+ return this;
64
+ }
65
+
66
+ public withNamespaceName(namespaceName: string|null): this {
67
+ this.namespaceName = namespaceName;
68
+ return this;
69
+ }
70
+
71
+ public getBnidClientId(): string|null {
72
+ return this.bnidClientId;
73
+ }
74
+
75
+ public setBnidClientId(bnidClientId: string|null) {
76
+ this.bnidClientId = bnidClientId;
77
+ return this;
78
+ }
79
+
80
+ public withBnidClientId(bnidClientId: string|null): this {
81
+ this.bnidClientId = bnidClientId;
82
+ return this;
83
+ }
84
+
85
+ public getAccessToken(): string|null {
86
+ return this.accessToken;
87
+ }
88
+
89
+ public setAccessToken(accessToken: string|null) {
90
+ this.accessToken = accessToken;
91
+ return this;
92
+ }
93
+
94
+ public withAccessToken(accessToken: string|null): this {
95
+ this.accessToken = accessToken;
96
+ return this;
97
+ }
98
+
99
+ public static fromDict(data: {[key: string]: any}): GetBnlinkRequest {
100
+ return new GetBnlinkRequest()
101
+ .withNamespaceName(data["namespaceName"])
102
+ .withBnidClientId(data["bnidClientId"])
103
+ .withAccessToken(data["accessToken"]);
104
+ }
105
+
106
+ public toDict(): {[key: string]: any} {
107
+ return {
108
+ "namespaceName": this.getNamespaceName(),
109
+ "bnidClientId": this.getBnidClientId(),
110
+ "accessToken": this.getAccessToken(),
111
+ };
112
+ }
113
+ }
@@ -0,0 +1,113 @@
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 SetBnlinkRequest implements IRequest {
22
+
23
+ private requestId: string|null = null;
24
+ private contextStack: string|null = null;
25
+ private namespaceName: string|null = null;
26
+ private bnidClientId: string|null = null;
27
+ private accessToken: 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
+
57
+ public getNamespaceName(): string|null {
58
+ return this.namespaceName;
59
+ }
60
+
61
+ public setNamespaceName(namespaceName: string|null) {
62
+ this.namespaceName = namespaceName;
63
+ return this;
64
+ }
65
+
66
+ public withNamespaceName(namespaceName: string|null): this {
67
+ this.namespaceName = namespaceName;
68
+ return this;
69
+ }
70
+
71
+ public getBnidClientId(): string|null {
72
+ return this.bnidClientId;
73
+ }
74
+
75
+ public setBnidClientId(bnidClientId: string|null) {
76
+ this.bnidClientId = bnidClientId;
77
+ return this;
78
+ }
79
+
80
+ public withBnidClientId(bnidClientId: string|null): this {
81
+ this.bnidClientId = bnidClientId;
82
+ return this;
83
+ }
84
+
85
+ public getAccessToken(): string|null {
86
+ return this.accessToken;
87
+ }
88
+
89
+ public setAccessToken(accessToken: string|null) {
90
+ this.accessToken = accessToken;
91
+ return this;
92
+ }
93
+
94
+ public withAccessToken(accessToken: string|null): this {
95
+ this.accessToken = accessToken;
96
+ return this;
97
+ }
98
+
99
+ public static fromDict(data: {[key: string]: any}): SetBnlinkRequest {
100
+ return new SetBnlinkRequest()
101
+ .withNamespaceName(data["namespaceName"])
102
+ .withBnidClientId(data["bnidClientId"])
103
+ .withAccessToken(data["accessToken"]);
104
+ }
105
+
106
+ public toDict(): {[key: string]: any} {
107
+ return {
108
+ "namespaceName": this.getNamespaceName(),
109
+ "bnidClientId": this.getBnidClientId(),
110
+ "accessToken": this.getAccessToken(),
111
+ };
112
+ }
113
+ }
@@ -27,6 +27,7 @@ export default class UpdateTakeOverByUserIdRequest implements IRequest {
27
27
  private type: number|null = null;
28
28
  private oldPassword: string|null = null;
29
29
  private password: string|null = null;
30
+ private duplicationAvoider: string|null = null;
30
31
 
31
32
  public getRequestId(): string|null {
32
33
  return this.requestId;
@@ -126,6 +127,20 @@ export default class UpdateTakeOverByUserIdRequest implements IRequest {
126
127
  return this;
127
128
  }
128
129
 
130
+ public getDuplicationAvoider(): string|null {
131
+ return this.duplicationAvoider;
132
+ }
133
+
134
+ public setDuplicationAvoider(duplicationAvoider: string|null) {
135
+ this.duplicationAvoider = duplicationAvoider;
136
+ return this;
137
+ }
138
+
139
+ public withDuplicationAvoider(duplicationAvoider: string|null): this {
140
+ this.duplicationAvoider = duplicationAvoider;
141
+ return this;
142
+ }
143
+
129
144
  public static fromDict(data: {[key: string]: any}): UpdateTakeOverByUserIdRequest {
130
145
  return new UpdateTakeOverByUserIdRequest()
131
146
  .withNamespaceName(data["namespaceName"])
@@ -25,6 +25,7 @@ export default class UpdateTimeOffsetRequest implements IRequest {
25
25
  private namespaceName: string|null = null;
26
26
  private userId: string|null = null;
27
27
  private timeOffset: number|null = null;
28
+ private duplicationAvoider: string|null = null;
28
29
 
29
30
  public getRequestId(): string|null {
30
31
  return this.requestId;
@@ -96,6 +97,20 @@ export default class UpdateTimeOffsetRequest implements IRequest {
96
97
  return this;
97
98
  }
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
+
99
114
  public static fromDict(data: {[key: string]: any}): UpdateTimeOffsetRequest {
100
115
  return new UpdateTimeOffsetRequest()
101
116
  .withNamespaceName(data["namespaceName"])
@@ -275,6 +275,9 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
275
275
  if (request.getRequestId()) {
276
276
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
277
277
  }
278
+ if (request.getDuplicationAvoider()) {
279
+ headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
280
+ }
278
281
  const body: {[key: string]: any} = {
279
282
  'contextStack': request.getContextStack() ?? null,
280
283
  'timeOffset': request.getTimeOffset() ?? null,
@@ -490,6 +493,9 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
490
493
  if (request.getRequestId()) {
491
494
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
492
495
  }
496
+ if (request.getDuplicationAvoider()) {
497
+ headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
498
+ }
493
499
  const body: {[key: string]: any} = {
494
500
  'contextStack': request.getContextStack() ?? null,
495
501
  'type': request.getType() ?? null,
@@ -619,6 +625,9 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
619
625
  if (request.getRequestId()) {
620
626
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
621
627
  }
628
+ if (request.getDuplicationAvoider()) {
629
+ headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
630
+ }
622
631
  const body: {[key: string]: any} = {
623
632
  'contextStack': request.getContextStack() ?? null,
624
633
  'oldPassword': request.getOldPassword() ?? null,
@@ -684,6 +693,9 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
684
693
  if (request.getRequestId()) {
685
694
  headers['X-GS2-REQUEST-ID'] = request.getRequestId();
686
695
  }
696
+ if (request.getDuplicationAvoider()) {
697
+ headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
698
+ }
687
699
  const params: {[key: string]: any} = {
688
700
  'contextStack': request.getContextStack() ?? null,
689
701
  };