gs2 1.3.8 → 1.3.34

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 (194) hide show
  1. package/package.json +1 -1
  2. package/src/account/model/DataOwner.ts +182 -0
  3. package/src/account/model/Namespace.ts +17 -0
  4. package/src/account/model/index.ts +2 -0
  5. package/src/account/request/CreateNamespaceRequest.ts +17 -0
  6. package/src/account/request/CreateTakeOverByUserIdRequest.ts +15 -0
  7. package/src/account/request/DeleteBnlinkRequest.ts +113 -0
  8. package/src/account/request/DeleteDataOwnerByUserIdRequest.ts +96 -0
  9. package/src/account/request/DeleteTakeOverByUserIdentifierRequest.ts +15 -0
  10. package/src/account/request/DescribeBnlinksRequest.ts +181 -0
  11. package/src/account/request/GetBnlinkRequest.ts +113 -0
  12. package/src/account/request/GetDataOwnerByUserIdRequest.ts +96 -0
  13. package/src/account/request/SetBnlinkRequest.ts +113 -0
  14. package/src/account/request/UpdateNamespaceRequest.ts +17 -0
  15. package/src/account/request/UpdateTakeOverByUserIdRequest.ts +15 -0
  16. package/src/account/request/UpdateTimeOffsetRequest.ts +15 -0
  17. package/src/account/request/index.ts +4 -0
  18. package/src/account/rest.ts +68 -0
  19. package/src/account/result/DeleteBnlinkResult.ts +48 -0
  20. package/src/account/result/DeleteDataOwnerByUserIdResult.ts +48 -0
  21. package/src/account/result/DescribeBnlinksResult.ts +73 -0
  22. package/src/account/result/GetBnlinkResult.ts +48 -0
  23. package/src/account/result/GetDataOwnerByUserIdResult.ts +48 -0
  24. package/src/account/result/SetBnlinkResult.ts +48 -0
  25. package/src/account/result/index.ts +4 -0
  26. package/src/auth/model/AccessToken.ts +18 -11
  27. package/src/auth/request/LoginBySignatureRequest.ts +0 -17
  28. package/src/auth/rest.ts +0 -1
  29. package/src/chat/request/PostByUserIdRequest.ts +15 -0
  30. package/src/chat/request/SubscribeByUserIdRequest.ts +15 -0
  31. package/src/chat/request/UnsubscribeByUserIdRequest.ts +15 -0
  32. package/src/chat/request/UpdateNotificationTypeByUserIdRequest.ts +15 -0
  33. package/src/chat/rest.ts +12 -0
  34. package/src/datastore/request/DeleteDataObjectByUserIdRequest.ts +15 -0
  35. package/src/datastore/request/DoneUploadByUserIdRequest.ts +15 -0
  36. package/src/datastore/request/PrepareDownloadByGenerationAndUserIdRequest.ts +15 -0
  37. package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest.ts +15 -0
  38. package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameRequest.ts +15 -0
  39. package/src/datastore/request/PrepareDownloadByUserIdRequest.ts +15 -0
  40. package/src/datastore/request/PrepareReUploadByUserIdRequest.ts +15 -0
  41. package/src/datastore/request/PrepareUploadByUserIdRequest.ts +15 -0
  42. package/src/datastore/request/UpdateDataObjectByUserIdRequest.ts +15 -0
  43. package/src/datastore/rest.ts +27 -0
  44. package/src/deploy/model/Event.ts +1 -1
  45. package/src/deploy/model/Output.ts +1 -1
  46. package/src/deploy/model/Resource.ts +1 -1
  47. package/src/deploy/model/Stack.ts +1 -1
  48. package/src/dictionary/request/AddEntriesByUserIdRequest.ts +15 -0
  49. package/src/dictionary/request/ResetByUserIdRequest.ts +15 -0
  50. package/src/dictionary/rest.ts +6 -0
  51. package/src/enhance/request/CreateProgressByUserIdRequest.ts +15 -0
  52. package/src/enhance/request/DeleteProgressByUserIdRequest.ts +15 -0
  53. package/src/enhance/request/DirectEnhanceByUserIdRequest.ts +15 -0
  54. package/src/enhance/request/EndByUserIdRequest.ts +15 -0
  55. package/src/enhance/request/StartByUserIdRequest.ts +15 -0
  56. package/src/enhance/rest.ts +15 -0
  57. package/src/exchange/request/AcquireByUserIdRequest.ts +15 -0
  58. package/src/exchange/request/AcquireForceByUserIdRequest.ts +15 -0
  59. package/src/exchange/request/CreateAwaitByUserIdRequest.ts +15 -0
  60. package/src/exchange/request/DeleteAwaitByUserIdRequest.ts +15 -0
  61. package/src/exchange/request/ExchangeByUserIdRequest.ts +15 -0
  62. package/src/exchange/request/SkipByUserIdRequest.ts +15 -0
  63. package/src/exchange/rest.ts +18 -0
  64. package/src/experience/request/AddExperienceByUserIdRequest.ts +15 -0
  65. package/src/experience/request/AddRankCapByUserIdRequest.ts +15 -0
  66. package/src/experience/request/DeleteStatusByUserIdRequest.ts +15 -0
  67. package/src/experience/request/SetExperienceByUserIdRequest.ts +15 -0
  68. package/src/experience/request/SetRankCapByUserIdRequest.ts +15 -0
  69. package/src/experience/rest.ts +15 -0
  70. package/src/formation/request/AcquireActionsToFormPropertiesRequest.ts +15 -0
  71. package/src/formation/request/AddMoldCapacityByUserIdRequest.ts +15 -0
  72. package/src/formation/request/DeleteFormByUserIdRequest.ts +15 -0
  73. package/src/formation/request/DeleteMoldByUserIdRequest.ts +15 -0
  74. package/src/formation/request/SetFormByUserIdRequest.ts +15 -0
  75. package/src/formation/request/SetMoldCapacityByUserIdRequest.ts +15 -0
  76. package/src/formation/rest.ts +18 -0
  77. package/src/friend/request/AcceptRequestByUserIdRequest.ts +15 -0
  78. package/src/friend/request/DeleteFriendByUserIdRequest.ts +15 -0
  79. package/src/friend/request/DeleteProfileByUserIdRequest.ts +15 -0
  80. package/src/friend/request/DeleteRequestByUserIdRequest.ts +15 -0
  81. package/src/friend/request/FollowByUserIdRequest.ts +15 -0
  82. package/src/friend/request/RegisterBlackListByUserIdRequest.ts +15 -0
  83. package/src/friend/request/RejectRequestByUserIdRequest.ts +15 -0
  84. package/src/friend/request/SendRequestByUserIdRequest.ts +15 -0
  85. package/src/friend/request/UnfollowByUserIdRequest.ts +15 -0
  86. package/src/friend/request/UnregisterBlackListByUserIdRequest.ts +15 -0
  87. package/src/friend/request/UpdateProfileByUserIdRequest.ts +15 -0
  88. package/src/friend/rest.ts +33 -0
  89. package/src/friend/result/DeleteProfileByUserIdResult.ts +18 -1
  90. package/src/gateway/request/DeleteFirebaseTokenByUserIdRequest.ts +15 -0
  91. package/src/gateway/request/SendMobileNotificationByUserIdRequest.ts +15 -0
  92. package/src/gateway/request/SendNotificationRequest.ts +15 -0
  93. package/src/gateway/request/SetFirebaseTokenByUserIdRequest.ts +15 -0
  94. package/src/gateway/request/SetUserIdByUserIdRequest.ts +15 -0
  95. package/src/gateway/rest.ts +15 -0
  96. package/src/inbox/request/DeleteMessageByUserIdRequest.ts +15 -0
  97. package/src/inbox/request/DeleteReceivedByUserIdRequest.ts +15 -0
  98. package/src/inbox/request/OpenMessageByUserIdRequest.ts +15 -0
  99. package/src/inbox/request/ReadMessageByUserIdRequest.ts +15 -0
  100. package/src/inbox/request/ReceiveGlobalMessageByUserIdRequest.ts +15 -0
  101. package/src/inbox/request/SendMessageByUserIdRequest.ts +15 -0
  102. package/src/inbox/request/UpdateReceivedByUserIdRequest.ts +15 -0
  103. package/src/inbox/rest.ts +21 -0
  104. package/src/inventory/request/AcquireItemSetByUserIdRequest.ts +15 -0
  105. package/src/inventory/request/AddCapacityByUserIdRequest.ts +15 -0
  106. package/src/inventory/request/AddReferenceOfByUserIdRequest.ts +15 -0
  107. package/src/inventory/request/ConsumeItemSetByUserIdRequest.ts +15 -0
  108. package/src/inventory/request/DeleteInventoryByUserIdRequest.ts +15 -0
  109. package/src/inventory/request/DeleteItemSetByUserIdRequest.ts +15 -0
  110. package/src/inventory/request/DeleteReferenceOfByUserIdRequest.ts +15 -0
  111. package/src/inventory/request/SetCapacityByUserIdRequest.ts +15 -0
  112. package/src/inventory/request/VerifyReferenceOfByUserIdRequest.ts +15 -0
  113. package/src/inventory/rest.ts +27 -0
  114. package/src/jobQueue/request/DeleteDeadLetterJobByUserIdRequest.ts +15 -0
  115. package/src/jobQueue/request/DeleteJobByUserIdRequest.ts +15 -0
  116. package/src/jobQueue/request/PushByUserIdRequest.ts +15 -0
  117. package/src/jobQueue/request/RunByUserIdRequest.ts +15 -0
  118. package/src/jobQueue/rest.ts +12 -0
  119. package/src/limit/request/CountUpByUserIdRequest.ts +15 -0
  120. package/src/limit/request/DeleteCounterByUserIdRequest.ts +15 -0
  121. package/src/limit/rest.ts +6 -0
  122. package/src/lock/request/DeleteMutexByUserIdRequest.ts +15 -0
  123. package/src/lock/request/LockByUserIdRequest.ts +15 -0
  124. package/src/lock/request/UnlockByUserIdRequest.ts +15 -0
  125. package/src/lock/rest.ts +9 -0
  126. package/src/lottery/model/Box.ts +44 -2
  127. package/src/lottery/request/DrawByUserIdRequest.ts +15 -0
  128. package/src/lottery/request/ResetBoxByUserIdRequest.ts +15 -0
  129. package/src/lottery/request/index.ts +0 -2
  130. package/src/lottery/rest.ts +6 -28
  131. package/src/lottery/result/DrawByStampSheetResult.ts +1 -18
  132. package/src/lottery/result/DrawByUserIdResult.ts +1 -18
  133. package/src/lottery/result/index.ts +0 -2
  134. package/src/matchmaking/request/CancelMatchmakingByUserIdRequest.ts +15 -0
  135. package/src/matchmaking/request/CreateGatheringByUserIdRequest.ts +15 -0
  136. package/src/matchmaking/request/DeleteRatingRequest.ts +15 -0
  137. package/src/matchmaking/request/DoMatchmakingByUserIdRequest.ts +15 -0
  138. package/src/matchmaking/request/UpdateGatheringByUserIdRequest.ts +15 -0
  139. package/src/matchmaking/rest.ts +15 -0
  140. package/src/mission/request/CompleteByUserIdRequest.ts +15 -0
  141. package/src/mission/request/DeleteCompleteByUserIdRequest.ts +15 -0
  142. package/src/mission/request/DeleteCounterByUserIdRequest.ts +15 -0
  143. package/src/mission/request/IncreaseCounterByUserIdRequest.ts +15 -0
  144. package/src/mission/request/ReceiveByUserIdRequest.ts +15 -0
  145. package/src/mission/rest.ts +15 -0
  146. package/src/money/request/DepositByUserIdRequest.ts +15 -0
  147. package/src/money/request/RecordReceiptRequest.ts +15 -0
  148. package/src/money/request/WithdrawByUserIdRequest.ts +15 -0
  149. package/src/money/rest.ts +9 -0
  150. package/src/project/result/DeleteAccountResult.ts +18 -1
  151. package/src/project/result/ForgetResult.ts +1 -18
  152. package/src/quest/request/CreateProgressByUserIdRequest.ts +15 -0
  153. package/src/quest/request/DeleteCompletedQuestListByUserIdRequest.ts +15 -0
  154. package/src/quest/request/DeleteProgressByUserIdRequest.ts +15 -0
  155. package/src/quest/request/EndByUserIdRequest.ts +15 -0
  156. package/src/quest/request/StartByUserIdRequest.ts +15 -0
  157. package/src/quest/rest.ts +15 -0
  158. package/src/ranking/request/PutScoreByUserIdRequest.ts +15 -0
  159. package/src/ranking/request/SubscribeByUserIdRequest.ts +15 -0
  160. package/src/ranking/request/UnsubscribeByUserIdRequest.ts +15 -0
  161. package/src/ranking/rest.ts +9 -0
  162. package/src/ranking/result/CalcRankingResult.ts +18 -1
  163. package/src/schedule/request/DeleteTriggerByUserIdRequest.ts +15 -0
  164. package/src/schedule/request/TriggerByUserIdRequest.ts +15 -0
  165. package/src/schedule/rest.ts +6 -0
  166. package/src/stamina/request/ConsumeStaminaByUserIdRequest.ts +15 -0
  167. package/src/stamina/request/DeleteStaminaByUserIdRequest.ts +15 -0
  168. package/src/stamina/request/RaiseMaxValueByUserIdRequest.ts +15 -0
  169. package/src/stamina/request/RecoverStaminaByUserIdRequest.ts +15 -0
  170. package/src/stamina/request/SetMaxValueByUserIdRequest.ts +15 -0
  171. package/src/stamina/request/SetRecoverIntervalByUserIdRequest.ts +15 -0
  172. package/src/stamina/request/SetRecoverValueByUserIdRequest.ts +15 -0
  173. package/src/stamina/request/UpdateStaminaByUserIdRequest.ts +15 -0
  174. package/src/stamina/rest.ts +24 -0
  175. package/src/version/request/AcceptBneAgreementByUserIdRequest.ts +138 -0
  176. package/src/version/request/AcceptBneAgreementRequest.ts +138 -0
  177. package/src/version/request/AcceptByUserIdRequest.ts +15 -0
  178. package/src/version/request/CheckVersionByUserIdRequest.ts +15 -0
  179. package/src/version/request/DeleteAcceptVersionByUserIdRequest.ts +15 -0
  180. package/src/version/request/DescribeBneAgreementTextUrlsByUserIdRequest.ts +130 -0
  181. package/src/version/request/DescribeBneAgreementTextUrlsRequest.ts +130 -0
  182. package/src/version/request/GetBneAgreementByUserIdRequest.ts +113 -0
  183. package/src/version/request/GetBneAgreementRequest.ts +113 -0
  184. package/src/version/request/GetBneAgreementUrlByUserIdRequest.ts +164 -0
  185. package/src/version/request/GetBneAgreementUrlRequest.ts +164 -0
  186. package/src/version/rest.ts +9 -0
  187. package/src/version/result/AcceptBneAgreementByUserIdResult.ts +56 -0
  188. package/src/version/result/AcceptBneAgreementResult.ts +56 -0
  189. package/src/version/result/DescribeBneAgreementTextUrlsByUserIdResult.ts +56 -0
  190. package/src/version/result/DescribeBneAgreementTextUrlsResult.ts +56 -0
  191. package/src/version/result/GetBneAgreementByUserIdResult.ts +56 -0
  192. package/src/version/result/GetBneAgreementResult.ts +56 -0
  193. package/src/version/result/GetBneAgreementUrlByUserIdResult.ts +48 -0
  194. package/src/version/result/GetBneAgreementUrlResult.ts +48 -0
@@ -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,96 @@
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 GetDataOwnerByUserIdRequest 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
+
28
+ public getRequestId(): string|null {
29
+ return this.requestId;
30
+ }
31
+
32
+ public setRequestId(requestId: string|null) {
33
+ this.requestId = requestId;
34
+ return this;
35
+ }
36
+
37
+ public withRequestId(requestId: string|null): this {
38
+ this.requestId = requestId;
39
+ return this;
40
+ }
41
+
42
+ public getContextStack(): string|null {
43
+ return this.contextStack;
44
+ }
45
+
46
+ public setContextStack(contextStack: string|null) {
47
+ this.contextStack = contextStack;
48
+ return this;
49
+ }
50
+
51
+ public withContextStack(contextStack: string|null): this {
52
+ this.contextStack = contextStack;
53
+ return this;
54
+ }
55
+
56
+ public getNamespaceName(): string|null {
57
+ return this.namespaceName;
58
+ }
59
+
60
+ public setNamespaceName(namespaceName: string|null) {
61
+ this.namespaceName = namespaceName;
62
+ return this;
63
+ }
64
+
65
+ public withNamespaceName(namespaceName: string|null): this {
66
+ this.namespaceName = namespaceName;
67
+ return this;
68
+ }
69
+
70
+ public getUserId(): string|null {
71
+ return this.userId;
72
+ }
73
+
74
+ public setUserId(userId: string|null) {
75
+ this.userId = userId;
76
+ return this;
77
+ }
78
+
79
+ public withUserId(userId: string|null): this {
80
+ this.userId = userId;
81
+ return this;
82
+ }
83
+
84
+ public static fromDict(data: {[key: string]: any}): GetDataOwnerByUserIdRequest {
85
+ return new GetDataOwnerByUserIdRequest()
86
+ .withNamespaceName(data["namespaceName"])
87
+ .withUserId(data["userId"]);
88
+ }
89
+
90
+ public toDict(): {[key: string]: any} {
91
+ return {
92
+ "namespaceName": this.getNamespaceName(),
93
+ "userId": this.getUserId(),
94
+ };
95
+ }
96
+ }
@@ -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
+ }
@@ -25,6 +25,7 @@ export default class UpdateNamespaceRequest implements IRequest {
25
25
  private namespaceName: string|null = null;
26
26
  private description: string|null = null;
27
27
  private changePasswordIfTakeOver: boolean|null = null;
28
+ private differentUserIdForLoginAndDataRetention: boolean|null = null;
28
29
  private createAccountScript: Gs2Account.ScriptSetting|null = null;
29
30
  private authenticationScript: Gs2Account.ScriptSetting|null = null;
30
31
  private createTakeOverScript: Gs2Account.ScriptSetting|null = null;
@@ -101,6 +102,20 @@ export default class UpdateNamespaceRequest implements IRequest {
101
102
  return this;
102
103
  }
103
104
 
105
+ public getDifferentUserIdForLoginAndDataRetention(): boolean|null {
106
+ return this.differentUserIdForLoginAndDataRetention;
107
+ }
108
+
109
+ public setDifferentUserIdForLoginAndDataRetention(differentUserIdForLoginAndDataRetention: boolean|null) {
110
+ this.differentUserIdForLoginAndDataRetention = differentUserIdForLoginAndDataRetention;
111
+ return this;
112
+ }
113
+
114
+ public withDifferentUserIdForLoginAndDataRetention(differentUserIdForLoginAndDataRetention: boolean|null): this {
115
+ this.differentUserIdForLoginAndDataRetention = differentUserIdForLoginAndDataRetention;
116
+ return this;
117
+ }
118
+
104
119
  public getCreateAccountScript(): Gs2Account.ScriptSetting|null {
105
120
  return this.createAccountScript;
106
121
  }
@@ -176,6 +191,7 @@ export default class UpdateNamespaceRequest implements IRequest {
176
191
  .withNamespaceName(data["namespaceName"])
177
192
  .withDescription(data["description"])
178
193
  .withChangePasswordIfTakeOver(data["changePasswordIfTakeOver"])
194
+ .withDifferentUserIdForLoginAndDataRetention(data["differentUserIdForLoginAndDataRetention"])
179
195
  .withCreateAccountScript(Gs2Account.ScriptSetting.fromDict(data["createAccountScript"]))
180
196
  .withAuthenticationScript(Gs2Account.ScriptSetting.fromDict(data["authenticationScript"]))
181
197
  .withCreateTakeOverScript(Gs2Account.ScriptSetting.fromDict(data["createTakeOverScript"]))
@@ -188,6 +204,7 @@ export default class UpdateNamespaceRequest implements IRequest {
188
204
  "namespaceName": this.getNamespaceName(),
189
205
  "description": this.getDescription(),
190
206
  "changePasswordIfTakeOver": this.getChangePasswordIfTakeOver(),
207
+ "differentUserIdForLoginAndDataRetention": this.getDifferentUserIdForLoginAndDataRetention(),
191
208
  "createAccountScript": this.getCreateAccountScript()?.toDict(),
192
209
  "authenticationScript": this.getAuthenticationScript()?.toDict(),
193
210
  "createTakeOverScript": this.getCreateTakeOverScript()?.toDict(),
@@ -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"])
@@ -36,6 +36,8 @@ import UpdateTakeOverByUserIdRequest from "./UpdateTakeOverByUserIdRequest"
36
36
  import DeleteTakeOverRequest from "./DeleteTakeOverRequest"
37
37
  import DeleteTakeOverByUserIdentifierRequest from "./DeleteTakeOverByUserIdentifierRequest"
38
38
  import DoTakeOverRequest from "./DoTakeOverRequest"
39
+ import GetDataOwnerByUserIdRequest from "./GetDataOwnerByUserIdRequest"
40
+ import DeleteDataOwnerByUserIdRequest from "./DeleteDataOwnerByUserIdRequest"
39
41
 
40
42
  export {
41
43
  DescribeNamespacesRequest,
@@ -61,4 +63,6 @@ export {
61
63
  DeleteTakeOverRequest,
62
64
  DeleteTakeOverByUserIdentifierRequest,
63
65
  DoTakeOverRequest,
66
+ GetDataOwnerByUserIdRequest,
67
+ DeleteDataOwnerByUserIdRequest,
64
68
  };