gs2 1.3.182 → 1.3.184

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 (174) hide show
  1. package/account/rest.js +12 -11
  2. package/account/rest.js.map +1 -1
  3. package/account/rest.ts +9 -8
  4. package/adReward/rest.js +12 -11
  5. package/adReward/rest.js.map +1 -1
  6. package/adReward/rest.ts +9 -8
  7. package/chat/rest.js +12 -11
  8. package/chat/rest.js.map +1 -1
  9. package/chat/rest.ts +9 -8
  10. package/datastore/rest.js +12 -11
  11. package/datastore/rest.js.map +1 -1
  12. package/datastore/rest.ts +9 -8
  13. package/dictionary/rest.js +12 -11
  14. package/dictionary/rest.js.map +1 -1
  15. package/dictionary/rest.ts +9 -8
  16. package/enchant/rest.js +12 -11
  17. package/enchant/rest.js.map +1 -1
  18. package/enchant/rest.ts +9 -8
  19. package/enhance/rest.js +12 -11
  20. package/enhance/rest.js.map +1 -1
  21. package/enhance/rest.ts +9 -8
  22. package/exchange/rest.js +12 -11
  23. package/exchange/rest.js.map +1 -1
  24. package/exchange/rest.ts +9 -8
  25. package/experience/rest.js +12 -11
  26. package/experience/rest.js.map +1 -1
  27. package/experience/rest.ts +9 -8
  28. package/formation/rest.js +12 -11
  29. package/formation/rest.js.map +1 -1
  30. package/formation/rest.ts +9 -8
  31. package/friend/rest.js +12 -11
  32. package/friend/rest.js.map +1 -1
  33. package/friend/rest.ts +9 -8
  34. package/gateway/rest.js +12 -11
  35. package/gateway/rest.js.map +1 -1
  36. package/gateway/rest.ts +9 -8
  37. package/idle/rest.js +12 -11
  38. package/idle/rest.js.map +1 -1
  39. package/idle/rest.ts +9 -8
  40. package/inbox/rest.js +12 -11
  41. package/inbox/rest.js.map +1 -1
  42. package/inbox/rest.ts +9 -8
  43. package/inventory/rest.js +12 -11
  44. package/inventory/rest.js.map +1 -1
  45. package/inventory/rest.ts +9 -8
  46. package/jobQueue/rest.js +12 -11
  47. package/jobQueue/rest.js.map +1 -1
  48. package/jobQueue/rest.ts +9 -8
  49. package/limit/rest.js +12 -11
  50. package/limit/rest.js.map +1 -1
  51. package/limit/rest.ts +9 -8
  52. package/loginReward/rest.js +12 -11
  53. package/loginReward/rest.js.map +1 -1
  54. package/loginReward/rest.ts +9 -8
  55. package/lottery/rest.js +12 -11
  56. package/lottery/rest.js.map +1 -1
  57. package/lottery/rest.ts +9 -8
  58. package/matchmaking/rest.js +12 -11
  59. package/matchmaking/rest.js.map +1 -1
  60. package/matchmaking/rest.ts +9 -8
  61. package/mission/rest.js +12 -11
  62. package/mission/rest.js.map +1 -1
  63. package/mission/rest.ts +9 -8
  64. package/money/rest.js +12 -11
  65. package/money/rest.js.map +1 -1
  66. package/money/rest.ts +9 -8
  67. package/package.json +1 -1
  68. package/project/model/ImportErrorLog.d.ts +39 -0
  69. package/project/model/ImportErrorLog.js +185 -0
  70. package/project/model/ImportErrorLog.js.map +1 -0
  71. package/project/model/ImportErrorLog.ts +198 -0
  72. package/project/model/ImportProgress.d.ts +46 -0
  73. package/project/model/ImportProgress.js +195 -0
  74. package/project/model/ImportProgress.js.map +1 -0
  75. package/project/model/ImportProgress.ts +205 -0
  76. package/project/model/index.d.ts +3 -1
  77. package/project/model/index.js +5 -1
  78. package/project/model/index.js.map +1 -1
  79. package/project/model/index.ts +4 -0
  80. package/project/request/DescribeImportErrorLogsRequest.d.ts +29 -0
  81. package/project/request/DescribeImportErrorLogsRequest.js +97 -0
  82. package/project/request/DescribeImportErrorLogsRequest.js.map +1 -0
  83. package/project/request/DescribeImportErrorLogsRequest.ts +104 -0
  84. package/project/request/DescribeImportProgressesRequest.d.ts +25 -0
  85. package/project/request/DescribeImportProgressesRequest.js +83 -0
  86. package/project/request/DescribeImportProgressesRequest.js.map +1 -0
  87. package/project/request/DescribeImportProgressesRequest.ts +90 -0
  88. package/project/request/GetImportErrorLogRequest.d.ts +25 -0
  89. package/project/request/GetImportErrorLogRequest.js +83 -0
  90. package/project/request/GetImportErrorLogRequest.js.map +1 -0
  91. package/project/request/GetImportErrorLogRequest.ts +90 -0
  92. package/project/request/GetImportProgressRequest.d.ts +21 -0
  93. package/project/request/GetImportProgressRequest.js +69 -0
  94. package/project/request/GetImportProgressRequest.js.map +1 -0
  95. package/project/request/GetImportProgressRequest.ts +76 -0
  96. package/project/request/ImportUserDataRequest.d.ts +29 -0
  97. package/project/request/ImportUserDataRequest.js +95 -0
  98. package/project/request/ImportUserDataRequest.js.map +1 -0
  99. package/project/request/ImportUserDataRequest.ts +105 -0
  100. package/project/request/PrepareImportUserDataRequest.d.ts +25 -0
  101. package/project/request/PrepareImportUserDataRequest.js +81 -0
  102. package/project/request/PrepareImportUserDataRequest.js.map +1 -0
  103. package/project/request/PrepareImportUserDataRequest.ts +91 -0
  104. package/project/request/WaitImportUserDataRequest.d.ts +33 -0
  105. package/project/request/WaitImportUserDataRequest.js +109 -0
  106. package/project/request/WaitImportUserDataRequest.js.map +1 -0
  107. package/project/request/WaitImportUserDataRequest.ts +119 -0
  108. package/project/request/index.d.ts +8 -1
  109. package/project/request/index.js +15 -1
  110. package/project/request/index.js.map +1 -1
  111. package/project/request/index.ts +14 -0
  112. package/project/rest.d.ts +7 -0
  113. package/project/rest.js +182 -0
  114. package/project/rest.js.map +1 -1
  115. package/project/rest.ts +210 -0
  116. package/project/result/DescribeImportErrorLogsResult.d.ts +18 -0
  117. package/project/result/DescribeImportErrorLogsResult.js +67 -0
  118. package/project/result/DescribeImportErrorLogsResult.js.map +1 -0
  119. package/project/result/DescribeImportErrorLogsResult.ts +73 -0
  120. package/project/result/DescribeImportProgressesResult.d.ts +18 -0
  121. package/project/result/DescribeImportProgressesResult.js +67 -0
  122. package/project/result/DescribeImportProgressesResult.js.map +1 -0
  123. package/project/result/DescribeImportProgressesResult.ts +73 -0
  124. package/project/result/GetImportErrorLogResult.d.ts +14 -0
  125. package/project/result/GetImportErrorLogResult.js +48 -0
  126. package/project/result/GetImportErrorLogResult.js.map +1 -0
  127. package/project/result/GetImportErrorLogResult.ts +48 -0
  128. package/project/result/GetImportProgressResult.d.ts +14 -0
  129. package/project/result/GetImportProgressResult.js +48 -0
  130. package/project/result/GetImportProgressResult.js.map +1 -0
  131. package/project/result/GetImportProgressResult.ts +48 -0
  132. package/project/result/ImportUserDataResult.d.ts +14 -0
  133. package/project/result/ImportUserDataResult.js +48 -0
  134. package/project/result/ImportUserDataResult.js.map +1 -0
  135. package/project/result/ImportUserDataResult.ts +48 -0
  136. package/project/result/PrepareImportUserDataResult.d.ts +17 -0
  137. package/project/result/PrepareImportUserDataResult.js +59 -0
  138. package/project/result/PrepareImportUserDataResult.js.map +1 -0
  139. package/project/result/PrepareImportUserDataResult.ts +65 -0
  140. package/project/result/WaitImportUserDataResult.d.ts +14 -0
  141. package/project/result/WaitImportUserDataResult.js +48 -0
  142. package/project/result/WaitImportUserDataResult.js.map +1 -0
  143. package/project/result/WaitImportUserDataResult.ts +48 -0
  144. package/project/result/index.d.ts +8 -1
  145. package/project/result/index.js +15 -1
  146. package/project/result/index.js.map +1 -1
  147. package/project/result/index.ts +14 -0
  148. package/quest/rest.js +12 -11
  149. package/quest/rest.js.map +1 -1
  150. package/quest/rest.ts +9 -8
  151. package/ranking/rest.js +12 -11
  152. package/ranking/rest.js.map +1 -1
  153. package/ranking/rest.ts +9 -8
  154. package/schedule/rest.js +12 -11
  155. package/schedule/rest.js.map +1 -1
  156. package/schedule/rest.ts +9 -8
  157. package/serialKey/rest.js +12 -11
  158. package/serialKey/rest.js.map +1 -1
  159. package/serialKey/rest.ts +9 -8
  160. package/showcase/rest.js +12 -11
  161. package/showcase/rest.js.map +1 -1
  162. package/showcase/rest.ts +9 -8
  163. package/skillTree/rest.js +12 -11
  164. package/skillTree/rest.js.map +1 -1
  165. package/skillTree/rest.ts +9 -8
  166. package/stamina/rest.js +12 -11
  167. package/stamina/rest.js.map +1 -1
  168. package/stamina/rest.ts +9 -8
  169. package/stateMachine/rest.js +12 -11
  170. package/stateMachine/rest.js.map +1 -1
  171. package/stateMachine/rest.ts +9 -8
  172. package/version/rest.js +12 -11
  173. package/version/rest.js.map +1 -1
  174. package/version/rest.ts +9 -8
@@ -0,0 +1,73 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Project from '../model'
20
+
21
+ export default class DescribeImportProgressesResult implements IResult {
22
+ private items: Gs2Project.ImportProgress[]|null = null;
23
+ private nextPageToken: string|null = null;
24
+
25
+ public getItems(): Gs2Project.ImportProgress[]|null {
26
+ return this.items;
27
+ }
28
+
29
+ public setItems(items: Gs2Project.ImportProgress[]|null) {
30
+ this.items = items;
31
+ return this;
32
+ }
33
+
34
+ public withItems(items: Gs2Project.ImportProgress[]|null): this {
35
+ this.items = items;
36
+ return this;
37
+ }
38
+
39
+ public getNextPageToken(): string|null {
40
+ return this.nextPageToken;
41
+ }
42
+
43
+ public setNextPageToken(nextPageToken: string|null) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ }
47
+
48
+ public withNextPageToken(nextPageToken: string|null): this {
49
+ this.nextPageToken = nextPageToken;
50
+ return this;
51
+ }
52
+
53
+ public static fromDict(data: {[key: string]: any}): DescribeImportProgressesResult {
54
+ return new DescribeImportProgressesResult()
55
+ .withItems(data.items ?
56
+ data.items.map((item: {[key: string]: any}) => {
57
+ return Gs2Project.ImportProgress.fromDict(item);
58
+ }
59
+ ) : [])
60
+ .withNextPageToken(data["nextPageToken"]);
61
+ }
62
+
63
+ public toDict(): {[key: string]: any} {
64
+ return {
65
+ "items": this.getItems() ?
66
+ this.getItems()!.map((item: Gs2Project.ImportProgress) => {
67
+ return item.toDict();
68
+ }
69
+ ) : [],
70
+ "nextPageToken": this.getNextPageToken(),
71
+ };
72
+ }
73
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Project from '../model';
3
+ export default class GetImportErrorLogResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Project.ImportErrorLog | null;
6
+ setItem(item: Gs2Project.ImportErrorLog | null): this;
7
+ withItem(item: Gs2Project.ImportErrorLog | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetImportErrorLogResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Project = tslib_1.__importStar(require("../model"));
20
+ var GetImportErrorLogResult = /** @class */ (function () {
21
+ function GetImportErrorLogResult() {
22
+ this.item = null;
23
+ }
24
+ GetImportErrorLogResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetImportErrorLogResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetImportErrorLogResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetImportErrorLogResult.fromDict = function (data) {
36
+ return new GetImportErrorLogResult()
37
+ .withItem(Gs2Project.ImportErrorLog.fromDict(data["item"]));
38
+ };
39
+ GetImportErrorLogResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetImportErrorLogResult;
46
+ }());
47
+ exports.default = GetImportErrorLogResult;
48
+ //# sourceMappingURL=GetImportErrorLogResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetImportErrorLogResult.js","sourceRoot":"","sources":["GetImportErrorLogResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Project from '../model'
20
+
21
+ export default class GetImportErrorLogResult implements IResult {
22
+ private item: Gs2Project.ImportErrorLog|null = null;
23
+
24
+ public getItem(): Gs2Project.ImportErrorLog|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Project.ImportErrorLog|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Project.ImportErrorLog|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetImportErrorLogResult {
39
+ return new GetImportErrorLogResult()
40
+ .withItem(Gs2Project.ImportErrorLog.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Project from '../model';
3
+ export default class GetImportProgressResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Project.ImportProgress | null;
6
+ setItem(item: Gs2Project.ImportProgress | null): this;
7
+ withItem(item: Gs2Project.ImportProgress | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetImportProgressResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Project = tslib_1.__importStar(require("../model"));
20
+ var GetImportProgressResult = /** @class */ (function () {
21
+ function GetImportProgressResult() {
22
+ this.item = null;
23
+ }
24
+ GetImportProgressResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetImportProgressResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetImportProgressResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetImportProgressResult.fromDict = function (data) {
36
+ return new GetImportProgressResult()
37
+ .withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
38
+ };
39
+ GetImportProgressResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return GetImportProgressResult;
46
+ }());
47
+ exports.default = GetImportProgressResult;
48
+ //# sourceMappingURL=GetImportProgressResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetImportProgressResult.js","sourceRoot":"","sources":["GetImportProgressResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,yCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,yCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0CAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uBAAuB,EAAE;aAC/B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,wCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,8BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Project from '../model'
20
+
21
+ export default class GetImportProgressResult implements IResult {
22
+ private item: Gs2Project.ImportProgress|null = null;
23
+
24
+ public getItem(): Gs2Project.ImportProgress|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Project.ImportProgress|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Project.ImportProgress|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetImportProgressResult {
39
+ return new GetImportProgressResult()
40
+ .withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Project from '../model';
3
+ export default class ImportUserDataResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Project.ImportProgress | null;
6
+ setItem(item: Gs2Project.ImportProgress | null): this;
7
+ withItem(item: Gs2Project.ImportProgress | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): ImportUserDataResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Project = tslib_1.__importStar(require("../model"));
20
+ var ImportUserDataResult = /** @class */ (function () {
21
+ function ImportUserDataResult() {
22
+ this.item = null;
23
+ }
24
+ ImportUserDataResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ ImportUserDataResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ ImportUserDataResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ ImportUserDataResult.fromDict = function (data) {
36
+ return new ImportUserDataResult()
37
+ .withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
38
+ };
39
+ ImportUserDataResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return ImportUserDataResult;
46
+ }());
47
+ exports.default = ImportUserDataResult;
48
+ //# sourceMappingURL=ImportUserDataResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImportUserDataResult.js","sourceRoot":"","sources":["ImportUserDataResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,sCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,sCAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oBAAoB,EAAE;aAC5B,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,qCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,48 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Project from '../model'
20
+
21
+ export default class ImportUserDataResult implements IResult {
22
+ private item: Gs2Project.ImportProgress|null = null;
23
+
24
+ public getItem(): Gs2Project.ImportProgress|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2Project.ImportProgress|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2Project.ImportProgress|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): ImportUserDataResult {
39
+ return new ImportUserDataResult()
40
+ .withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,17 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ export default class PrepareImportUserDataResult implements IResult {
3
+ private uploadToken;
4
+ private uploadUrl;
5
+ getUploadToken(): string | null;
6
+ setUploadToken(uploadToken: string | null): this;
7
+ withUploadToken(uploadToken: string | null): this;
8
+ getUploadUrl(): string | null;
9
+ setUploadUrl(uploadUrl: string | null): this;
10
+ withUploadUrl(uploadUrl: string | null): this;
11
+ static fromDict(data: {
12
+ [key: string]: any;
13
+ }): PrepareImportUserDataResult;
14
+ toDict(): {
15
+ [key: string]: any;
16
+ };
17
+ }
@@ -0,0 +1,59 @@
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 PrepareImportUserDataResult = /** @class */ (function () {
19
+ function PrepareImportUserDataResult() {
20
+ this.uploadToken = null;
21
+ this.uploadUrl = null;
22
+ }
23
+ PrepareImportUserDataResult.prototype.getUploadToken = function () {
24
+ return this.uploadToken;
25
+ };
26
+ PrepareImportUserDataResult.prototype.setUploadToken = function (uploadToken) {
27
+ this.uploadToken = uploadToken;
28
+ return this;
29
+ };
30
+ PrepareImportUserDataResult.prototype.withUploadToken = function (uploadToken) {
31
+ this.uploadToken = uploadToken;
32
+ return this;
33
+ };
34
+ PrepareImportUserDataResult.prototype.getUploadUrl = function () {
35
+ return this.uploadUrl;
36
+ };
37
+ PrepareImportUserDataResult.prototype.setUploadUrl = function (uploadUrl) {
38
+ this.uploadUrl = uploadUrl;
39
+ return this;
40
+ };
41
+ PrepareImportUserDataResult.prototype.withUploadUrl = function (uploadUrl) {
42
+ this.uploadUrl = uploadUrl;
43
+ return this;
44
+ };
45
+ PrepareImportUserDataResult.fromDict = function (data) {
46
+ return new PrepareImportUserDataResult()
47
+ .withUploadToken(data["uploadToken"])
48
+ .withUploadUrl(data["uploadUrl"]);
49
+ };
50
+ PrepareImportUserDataResult.prototype.toDict = function () {
51
+ return {
52
+ "uploadToken": this.getUploadToken(),
53
+ "uploadUrl": this.getUploadUrl(),
54
+ };
55
+ };
56
+ return PrepareImportUserDataResult;
57
+ }());
58
+ exports.default = PrepareImportUserDataResult;
59
+ //# sourceMappingURL=PrepareImportUserDataResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrepareImportUserDataResult.js","sourceRoot":"","sources":["PrepareImportUserDataResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;IA0C1C,CAAC;IAxCU,oDAAc,GAArB;QACI,OAAO,IAAI,CAAC,WAAW,CAAC;IAC5B,CAAC;IAEM,oDAAc,GAArB,UAAsB,WAAwB;QAC1C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,oCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,2BAA2B,EAAE;aACnC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,4CAAM,GAAb;QACI,OAAO;YACH,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA5CD,IA4CC"}
@@ -0,0 +1,65 @@
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 IResult from '../../core/interface/IResult';
18
+
19
+ import * as Gs2Project from '../model'
20
+
21
+ export default class PrepareImportUserDataResult implements IResult {
22
+ private uploadToken: string|null = null;
23
+ private uploadUrl: string|null = null;
24
+
25
+ public getUploadToken(): string|null {
26
+ return this.uploadToken;
27
+ }
28
+
29
+ public setUploadToken(uploadToken: string|null) {
30
+ this.uploadToken = uploadToken;
31
+ return this;
32
+ }
33
+
34
+ public withUploadToken(uploadToken: string|null): this {
35
+ this.uploadToken = uploadToken;
36
+ return this;
37
+ }
38
+
39
+ public getUploadUrl(): string|null {
40
+ return this.uploadUrl;
41
+ }
42
+
43
+ public setUploadUrl(uploadUrl: string|null) {
44
+ this.uploadUrl = uploadUrl;
45
+ return this;
46
+ }
47
+
48
+ public withUploadUrl(uploadUrl: string|null): this {
49
+ this.uploadUrl = uploadUrl;
50
+ return this;
51
+ }
52
+
53
+ public static fromDict(data: {[key: string]: any}): PrepareImportUserDataResult {
54
+ return new PrepareImportUserDataResult()
55
+ .withUploadToken(data["uploadToken"])
56
+ .withUploadUrl(data["uploadUrl"]);
57
+ }
58
+
59
+ public toDict(): {[key: string]: any} {
60
+ return {
61
+ "uploadToken": this.getUploadToken(),
62
+ "uploadUrl": this.getUploadUrl(),
63
+ };
64
+ }
65
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2Project from '../model';
3
+ export default class WaitImportUserDataResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2Project.ImportProgress | null;
6
+ setItem(item: Gs2Project.ImportProgress | null): this;
7
+ withItem(item: Gs2Project.ImportProgress | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): WaitImportUserDataResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }
@@ -0,0 +1,48 @@
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 tslib_1 = require("tslib");
19
+ var Gs2Project = tslib_1.__importStar(require("../model"));
20
+ var WaitImportUserDataResult = /** @class */ (function () {
21
+ function WaitImportUserDataResult() {
22
+ this.item = null;
23
+ }
24
+ WaitImportUserDataResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ WaitImportUserDataResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ WaitImportUserDataResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ WaitImportUserDataResult.fromDict = function (data) {
36
+ return new WaitImportUserDataResult()
37
+ .withItem(Gs2Project.ImportProgress.fromDict(data["item"]));
38
+ };
39
+ WaitImportUserDataResult.prototype.toDict = function () {
40
+ var _a;
41
+ return {
42
+ "item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
43
+ };
44
+ };
45
+ return WaitImportUserDataResult;
46
+ }());
47
+ exports.default = WaitImportUserDataResult;
48
+ //# sourceMappingURL=WaitImportUserDataResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WaitImportUserDataResult.js","sourceRoot":"","sources":["WaitImportUserDataResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,2DAAsC;AAEtC;IAAA;QACY,SAAI,GAAmC,IAAI,CAAC;IA0BxD,CAAC;IAxBU,0CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,0CAAO,GAAd,UAAe,IAAoC;QAC/C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAQ,GAAf,UAAgB,IAAoC;QAChD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACpE,CAAC;IAEM,yCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AA3BD,IA2BC"}