gs2 1.3.170 → 1.3.171

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 (165) hide show
  1. package/adReward/index.d.ts +5 -0
  2. package/adReward/index.js +28 -0
  3. package/adReward/index.js.map +1 -0
  4. package/adReward/index.ts +27 -0
  5. package/adReward/model/AdMob.d.ts +13 -0
  6. package/adReward/model/AdMob.js +54 -0
  7. package/adReward/model/AdMob.js.map +1 -0
  8. package/adReward/model/AdMob.ts +54 -0
  9. package/adReward/model/History.d.ts +27 -0
  10. package/adReward/model/History.js +97 -0
  11. package/adReward/model/History.js.map +1 -0
  12. package/adReward/model/History.ts +98 -0
  13. package/adReward/model/LogSetting.d.ts +13 -0
  14. package/adReward/model/LogSetting.js +48 -0
  15. package/adReward/model/LogSetting.js.map +1 -0
  16. package/adReward/model/LogSetting.ts +46 -0
  17. package/adReward/model/Namespace.d.ts +58 -0
  18. package/adReward/model/Namespace.js +229 -0
  19. package/adReward/model/Namespace.js.map +1 -0
  20. package/adReward/model/Namespace.ts +237 -0
  21. package/adReward/model/NotificationSetting.d.ts +21 -0
  22. package/adReward/model/NotificationSetting.js +76 -0
  23. package/adReward/model/NotificationSetting.js.map +1 -0
  24. package/adReward/model/NotificationSetting.ts +74 -0
  25. package/adReward/model/Point.d.ts +39 -0
  26. package/adReward/model/Point.js +185 -0
  27. package/adReward/model/Point.js.map +1 -0
  28. package/adReward/model/Point.ts +198 -0
  29. package/adReward/model/UnityAd.d.ts +13 -0
  30. package/adReward/model/UnityAd.js +54 -0
  31. package/adReward/model/UnityAd.js.map +1 -0
  32. package/adReward/model/UnityAd.ts +54 -0
  33. package/adReward/model/index.d.ts +8 -0
  34. package/adReward/model/index.js +34 -0
  35. package/adReward/model/index.js.map +1 -0
  36. package/adReward/model/index.ts +32 -0
  37. package/adReward/request/AcquirePointByStampSheetRequest.d.ts +25 -0
  38. package/adReward/request/AcquirePointByStampSheetRequest.js +83 -0
  39. package/adReward/request/AcquirePointByStampSheetRequest.js.map +1 -0
  40. package/adReward/request/AcquirePointByStampSheetRequest.ts +90 -0
  41. package/adReward/request/AcquirePointByUserIdRequest.d.ts +33 -0
  42. package/adReward/request/AcquirePointByUserIdRequest.js +109 -0
  43. package/adReward/request/AcquirePointByUserIdRequest.js.map +1 -0
  44. package/adReward/request/AcquirePointByUserIdRequest.ts +119 -0
  45. package/adReward/request/ConsumePointByStampTaskRequest.d.ts +25 -0
  46. package/adReward/request/ConsumePointByStampTaskRequest.js +83 -0
  47. package/adReward/request/ConsumePointByStampTaskRequest.js.map +1 -0
  48. package/adReward/request/ConsumePointByStampTaskRequest.ts +90 -0
  49. package/adReward/request/ConsumePointByUserIdRequest.d.ts +33 -0
  50. package/adReward/request/ConsumePointByUserIdRequest.js +109 -0
  51. package/adReward/request/ConsumePointByUserIdRequest.js.map +1 -0
  52. package/adReward/request/ConsumePointByUserIdRequest.ts +119 -0
  53. package/adReward/request/ConsumePointRequest.d.ts +33 -0
  54. package/adReward/request/ConsumePointRequest.js +109 -0
  55. package/adReward/request/ConsumePointRequest.js.map +1 -0
  56. package/adReward/request/ConsumePointRequest.ts +119 -0
  57. package/adReward/request/CreateNamespaceRequest.d.ts +42 -0
  58. package/adReward/request/CreateNamespaceRequest.js +142 -0
  59. package/adReward/request/CreateNamespaceRequest.js.map +1 -0
  60. package/adReward/request/CreateNamespaceRequest.ts +146 -0
  61. package/adReward/request/DeleteNamespaceRequest.d.ts +21 -0
  62. package/adReward/request/DeleteNamespaceRequest.js +69 -0
  63. package/adReward/request/DeleteNamespaceRequest.js.map +1 -0
  64. package/adReward/request/DeleteNamespaceRequest.ts +76 -0
  65. package/adReward/request/DeletePointByUserIdRequest.d.ts +29 -0
  66. package/adReward/request/DeletePointByUserIdRequest.js +95 -0
  67. package/adReward/request/DeletePointByUserIdRequest.js.map +1 -0
  68. package/adReward/request/DeletePointByUserIdRequest.ts +105 -0
  69. package/adReward/request/DescribeNamespacesRequest.d.ts +25 -0
  70. package/adReward/request/DescribeNamespacesRequest.js +83 -0
  71. package/adReward/request/DescribeNamespacesRequest.js.map +1 -0
  72. package/adReward/request/DescribeNamespacesRequest.ts +90 -0
  73. package/adReward/request/GetNamespaceRequest.d.ts +21 -0
  74. package/adReward/request/GetNamespaceRequest.js +69 -0
  75. package/adReward/request/GetNamespaceRequest.js.map +1 -0
  76. package/adReward/request/GetNamespaceRequest.ts +76 -0
  77. package/adReward/request/GetNamespaceStatusRequest.d.ts +21 -0
  78. package/adReward/request/GetNamespaceStatusRequest.js +69 -0
  79. package/adReward/request/GetNamespaceStatusRequest.js.map +1 -0
  80. package/adReward/request/GetNamespaceStatusRequest.ts +76 -0
  81. package/adReward/request/GetPointByUserIdRequest.d.ts +25 -0
  82. package/adReward/request/GetPointByUserIdRequest.js +83 -0
  83. package/adReward/request/GetPointByUserIdRequest.js.map +1 -0
  84. package/adReward/request/GetPointByUserIdRequest.ts +90 -0
  85. package/adReward/request/GetPointRequest.d.ts +25 -0
  86. package/adReward/request/GetPointRequest.js +83 -0
  87. package/adReward/request/GetPointRequest.js.map +1 -0
  88. package/adReward/request/GetPointRequest.ts +90 -0
  89. package/adReward/request/UpdateNamespaceRequest.d.ts +42 -0
  90. package/adReward/request/UpdateNamespaceRequest.js +142 -0
  91. package/adReward/request/UpdateNamespaceRequest.js.map +1 -0
  92. package/adReward/request/UpdateNamespaceRequest.ts +146 -0
  93. package/adReward/request/index.d.ts +15 -0
  94. package/adReward/request/index.js +48 -0
  95. package/adReward/request/index.js.map +1 -0
  96. package/adReward/request/index.ts +46 -0
  97. package/adReward/rest.d.ts +21 -0
  98. package/adReward/rest.js +409 -0
  99. package/adReward/rest.js.map +1 -0
  100. package/adReward/rest.ts +463 -0
  101. package/adReward/result/AcquirePointByStampSheetResult.d.ts +14 -0
  102. package/adReward/result/AcquirePointByStampSheetResult.js +48 -0
  103. package/adReward/result/AcquirePointByStampSheetResult.js.map +1 -0
  104. package/adReward/result/AcquirePointByStampSheetResult.ts +48 -0
  105. package/adReward/result/AcquirePointByUserIdResult.d.ts +14 -0
  106. package/adReward/result/AcquirePointByUserIdResult.js +48 -0
  107. package/adReward/result/AcquirePointByUserIdResult.js.map +1 -0
  108. package/adReward/result/AcquirePointByUserIdResult.ts +48 -0
  109. package/adReward/result/ConsumePointByStampTaskResult.d.ts +18 -0
  110. package/adReward/result/ConsumePointByStampTaskResult.js +62 -0
  111. package/adReward/result/ConsumePointByStampTaskResult.js.map +1 -0
  112. package/adReward/result/ConsumePointByStampTaskResult.ts +65 -0
  113. package/adReward/result/ConsumePointByUserIdResult.d.ts +14 -0
  114. package/adReward/result/ConsumePointByUserIdResult.js +48 -0
  115. package/adReward/result/ConsumePointByUserIdResult.js.map +1 -0
  116. package/adReward/result/ConsumePointByUserIdResult.ts +48 -0
  117. package/adReward/result/ConsumePointResult.d.ts +14 -0
  118. package/adReward/result/ConsumePointResult.js +48 -0
  119. package/adReward/result/ConsumePointResult.js.map +1 -0
  120. package/adReward/result/ConsumePointResult.ts +48 -0
  121. package/adReward/result/CreateNamespaceResult.d.ts +14 -0
  122. package/adReward/result/CreateNamespaceResult.js +48 -0
  123. package/adReward/result/CreateNamespaceResult.js.map +1 -0
  124. package/adReward/result/CreateNamespaceResult.ts +48 -0
  125. package/adReward/result/DeleteNamespaceResult.d.ts +14 -0
  126. package/adReward/result/DeleteNamespaceResult.js +48 -0
  127. package/adReward/result/DeleteNamespaceResult.js.map +1 -0
  128. package/adReward/result/DeleteNamespaceResult.ts +48 -0
  129. package/adReward/result/DeletePointByUserIdResult.d.ts +14 -0
  130. package/adReward/result/DeletePointByUserIdResult.js +48 -0
  131. package/adReward/result/DeletePointByUserIdResult.js.map +1 -0
  132. package/adReward/result/DeletePointByUserIdResult.ts +48 -0
  133. package/adReward/result/DescribeNamespacesResult.d.ts +18 -0
  134. package/adReward/result/DescribeNamespacesResult.js +67 -0
  135. package/adReward/result/DescribeNamespacesResult.js.map +1 -0
  136. package/adReward/result/DescribeNamespacesResult.ts +73 -0
  137. package/adReward/result/GetNamespaceResult.d.ts +14 -0
  138. package/adReward/result/GetNamespaceResult.js +48 -0
  139. package/adReward/result/GetNamespaceResult.js.map +1 -0
  140. package/adReward/result/GetNamespaceResult.ts +48 -0
  141. package/adReward/result/GetNamespaceStatusResult.d.ts +13 -0
  142. package/adReward/result/GetNamespaceStatusResult.js +45 -0
  143. package/adReward/result/GetNamespaceStatusResult.js.map +1 -0
  144. package/adReward/result/GetNamespaceStatusResult.ts +48 -0
  145. package/adReward/result/GetPointByUserIdResult.d.ts +14 -0
  146. package/adReward/result/GetPointByUserIdResult.js +48 -0
  147. package/adReward/result/GetPointByUserIdResult.js.map +1 -0
  148. package/adReward/result/GetPointByUserIdResult.ts +48 -0
  149. package/adReward/result/GetPointResult.d.ts +14 -0
  150. package/adReward/result/GetPointResult.js +48 -0
  151. package/adReward/result/GetPointResult.js.map +1 -0
  152. package/adReward/result/GetPointResult.ts +48 -0
  153. package/adReward/result/UpdateNamespaceResult.d.ts +14 -0
  154. package/adReward/result/UpdateNamespaceResult.js +48 -0
  155. package/adReward/result/UpdateNamespaceResult.js.map +1 -0
  156. package/adReward/result/UpdateNamespaceResult.ts +48 -0
  157. package/adReward/result/index.d.ts +15 -0
  158. package/adReward/result/index.js +48 -0
  159. package/adReward/result/index.js.map +1 -0
  160. package/adReward/result/index.ts +46 -0
  161. package/index.d.ts +2 -1
  162. package/index.js +3 -1
  163. package/index.js.map +1 -1
  164. package/index.ts +2 -0
  165. package/package.json +1 -1
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2AdReward from '../model';
3
+ export default class DeletePointByUserIdResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2AdReward.Point | null;
6
+ setItem(item: Gs2AdReward.Point | null): this;
7
+ withItem(item: Gs2AdReward.Point | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): DeletePointByUserIdResult;
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
20
+ var DeletePointByUserIdResult = /** @class */ (function () {
21
+ function DeletePointByUserIdResult() {
22
+ this.item = null;
23
+ }
24
+ DeletePointByUserIdResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ DeletePointByUserIdResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ DeletePointByUserIdResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ DeletePointByUserIdResult.fromDict = function (data) {
36
+ return new DeletePointByUserIdResult()
37
+ .withItem(Gs2AdReward.Point.fromDict(data["item"]));
38
+ };
39
+ DeletePointByUserIdResult.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 DeletePointByUserIdResult;
46
+ }());
47
+ exports.default = DeletePointByUserIdResult;
48
+ //# sourceMappingURL=DeletePointByUserIdResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeletePointByUserIdResult.js","sourceRoot":"","sources":["DeletePointByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,2CAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,2CAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yBAAyB,EAAE;aACjC,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,0CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,gCAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class DeletePointByUserIdResult implements IResult {
22
+ private item: Gs2AdReward.Point|null = null;
23
+
24
+ public getItem(): Gs2AdReward.Point|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2AdReward.Point|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2AdReward.Point|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): DeletePointByUserIdResult {
39
+ return new DeletePointByUserIdResult()
40
+ .withItem(Gs2AdReward.Point.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,18 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2AdReward from '../model';
3
+ export default class DescribeNamespacesResult implements IResult {
4
+ private items;
5
+ private nextPageToken;
6
+ getItems(): Gs2AdReward.Namespace[] | null;
7
+ setItems(items: Gs2AdReward.Namespace[] | null): this;
8
+ withItems(items: Gs2AdReward.Namespace[] | null): this;
9
+ getNextPageToken(): string | null;
10
+ setNextPageToken(nextPageToken: string | null): this;
11
+ withNextPageToken(nextPageToken: string | null): this;
12
+ static fromDict(data: {
13
+ [key: string]: any;
14
+ }): DescribeNamespacesResult;
15
+ toDict(): {
16
+ [key: string]: any;
17
+ };
18
+ }
@@ -0,0 +1,67 @@
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
20
+ var DescribeNamespacesResult = /** @class */ (function () {
21
+ function DescribeNamespacesResult() {
22
+ this.items = null;
23
+ this.nextPageToken = null;
24
+ }
25
+ DescribeNamespacesResult.prototype.getItems = function () {
26
+ return this.items;
27
+ };
28
+ DescribeNamespacesResult.prototype.setItems = function (items) {
29
+ this.items = items;
30
+ return this;
31
+ };
32
+ DescribeNamespacesResult.prototype.withItems = function (items) {
33
+ this.items = items;
34
+ return this;
35
+ };
36
+ DescribeNamespacesResult.prototype.getNextPageToken = function () {
37
+ return this.nextPageToken;
38
+ };
39
+ DescribeNamespacesResult.prototype.setNextPageToken = function (nextPageToken) {
40
+ this.nextPageToken = nextPageToken;
41
+ return this;
42
+ };
43
+ DescribeNamespacesResult.prototype.withNextPageToken = function (nextPageToken) {
44
+ this.nextPageToken = nextPageToken;
45
+ return this;
46
+ };
47
+ DescribeNamespacesResult.fromDict = function (data) {
48
+ return new DescribeNamespacesResult()
49
+ .withItems(data.items ?
50
+ data.items.map(function (item) {
51
+ return Gs2AdReward.Namespace.fromDict(item);
52
+ }) : [])
53
+ .withNextPageToken(data["nextPageToken"]);
54
+ };
55
+ DescribeNamespacesResult.prototype.toDict = function () {
56
+ return {
57
+ "items": this.getItems() ?
58
+ this.getItems().map(function (item) {
59
+ return item.toDict();
60
+ }) : [],
61
+ "nextPageToken": this.getNextPageToken(),
62
+ };
63
+ };
64
+ return DescribeNamespacesResult;
65
+ }());
66
+ exports.default = DescribeNamespacesResult;
67
+ //# sourceMappingURL=DescribeNamespacesResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeNamespacesResult.js","sourceRoot":"","sources":["DescribeNamespacesResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,UAAK,GAAiC,IAAI,CAAC;QAC3C,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,2CAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,2CAAQ,GAAf,UAAgB,KAAmC;QAC/C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4CAAS,GAAhB,UAAiB,KAAmC;QAChD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,mDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAChD,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC;aACN,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA2B;oBAC7C,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;YACN,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,+BAAC;AAAD,CAAC,AApDD,IAoDC"}
@@ -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 Gs2AdReward from '../model'
20
+
21
+ export default class DescribeNamespacesResult implements IResult {
22
+ private items: Gs2AdReward.Namespace[]|null = null;
23
+ private nextPageToken: string|null = null;
24
+
25
+ public getItems(): Gs2AdReward.Namespace[]|null {
26
+ return this.items;
27
+ }
28
+
29
+ public setItems(items: Gs2AdReward.Namespace[]|null) {
30
+ this.items = items;
31
+ return this;
32
+ }
33
+
34
+ public withItems(items: Gs2AdReward.Namespace[]|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}): DescribeNamespacesResult {
54
+ return new DescribeNamespacesResult()
55
+ .withItems(data.items ?
56
+ data.items.map((item: {[key: string]: any}) => {
57
+ return Gs2AdReward.Namespace.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: Gs2AdReward.Namespace) => {
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 Gs2AdReward from '../model';
3
+ export default class GetNamespaceResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2AdReward.Namespace | null;
6
+ setItem(item: Gs2AdReward.Namespace | null): this;
7
+ withItem(item: Gs2AdReward.Namespace | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetNamespaceResult;
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
20
+ var GetNamespaceResult = /** @class */ (function () {
21
+ function GetNamespaceResult() {
22
+ this.item = null;
23
+ }
24
+ GetNamespaceResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetNamespaceResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetNamespaceResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetNamespaceResult.fromDict = function (data) {
36
+ return new GetNamespaceResult()
37
+ .withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
38
+ };
39
+ GetNamespaceResult.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 GetNamespaceResult;
46
+ }());
47
+ exports.default = GetNamespaceResult;
48
+ //# sourceMappingURL=GetNamespaceResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetNamespaceResult.js","sourceRoot":"","sources":["GetNamespaceResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA+B,IAAI,CAAC;IA0BpD,CAAC;IAxBU,oCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,oCAAO,GAAd,UAAe,IAAgC;QAC3C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qCAAQ,GAAf,UAAgB,IAAgC;QAC5C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kBAAkB,EAAE;aAC1B,QAAQ,CAAC,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAChE,CAAC;IAEM,mCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,yBAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class GetNamespaceResult implements IResult {
22
+ private item: Gs2AdReward.Namespace|null = null;
23
+
24
+ public getItem(): Gs2AdReward.Namespace|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2AdReward.Namespace|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2AdReward.Namespace|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetNamespaceResult {
39
+ return new GetNamespaceResult()
40
+ .withItem(Gs2AdReward.Namespace.fromDict(data["item"]));
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "item": this.getItem()?.toDict(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,13 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ export default class GetNamespaceStatusResult implements IResult {
3
+ private status;
4
+ getStatus(): string | null;
5
+ setStatus(status: string | null): this;
6
+ withStatus(status: string | null): this;
7
+ static fromDict(data: {
8
+ [key: string]: any;
9
+ }): GetNamespaceStatusResult;
10
+ toDict(): {
11
+ [key: string]: any;
12
+ };
13
+ }
@@ -0,0 +1,45 @@
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 GetNamespaceStatusResult = /** @class */ (function () {
19
+ function GetNamespaceStatusResult() {
20
+ this.status = null;
21
+ }
22
+ GetNamespaceStatusResult.prototype.getStatus = function () {
23
+ return this.status;
24
+ };
25
+ GetNamespaceStatusResult.prototype.setStatus = function (status) {
26
+ this.status = status;
27
+ return this;
28
+ };
29
+ GetNamespaceStatusResult.prototype.withStatus = function (status) {
30
+ this.status = status;
31
+ return this;
32
+ };
33
+ GetNamespaceStatusResult.fromDict = function (data) {
34
+ return new GetNamespaceStatusResult()
35
+ .withStatus(data["status"]);
36
+ };
37
+ GetNamespaceStatusResult.prototype.toDict = function () {
38
+ return {
39
+ "status": this.getStatus(),
40
+ };
41
+ };
42
+ return GetNamespaceStatusResult;
43
+ }());
44
+ exports.default = GetNamespaceStatusResult;
45
+ //# sourceMappingURL=GetNamespaceStatusResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetNamespaceStatusResult.js","sourceRoot":"","sources":["GetNamespaceStatusResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,WAAM,GAAgB,IAAI,CAAC;IA0BvC,CAAC;IAxBU,4CAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,4CAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6CAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,iCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,wBAAwB,EAAE;aAChC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,yCAAM,GAAb;QACI,OAAO;YACH,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,+BAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class GetNamespaceStatusResult implements IResult {
22
+ private status: string|null = null;
23
+
24
+ public getStatus(): string|null {
25
+ return this.status;
26
+ }
27
+
28
+ public setStatus(status: string|null) {
29
+ this.status = status;
30
+ return this;
31
+ }
32
+
33
+ public withStatus(status: string|null): this {
34
+ this.status = status;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetNamespaceStatusResult {
39
+ return new GetNamespaceStatusResult()
40
+ .withStatus(data["status"]);
41
+ }
42
+
43
+ public toDict(): {[key: string]: any} {
44
+ return {
45
+ "status": this.getStatus(),
46
+ };
47
+ }
48
+ }
@@ -0,0 +1,14 @@
1
+ import IResult from '../../core/interface/IResult';
2
+ import * as Gs2AdReward from '../model';
3
+ export default class GetPointByUserIdResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2AdReward.Point | null;
6
+ setItem(item: Gs2AdReward.Point | null): this;
7
+ withItem(item: Gs2AdReward.Point | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetPointByUserIdResult;
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 Gs2AdReward = tslib_1.__importStar(require("../model"));
20
+ var GetPointByUserIdResult = /** @class */ (function () {
21
+ function GetPointByUserIdResult() {
22
+ this.item = null;
23
+ }
24
+ GetPointByUserIdResult.prototype.getItem = function () {
25
+ return this.item;
26
+ };
27
+ GetPointByUserIdResult.prototype.setItem = function (item) {
28
+ this.item = item;
29
+ return this;
30
+ };
31
+ GetPointByUserIdResult.prototype.withItem = function (item) {
32
+ this.item = item;
33
+ return this;
34
+ };
35
+ GetPointByUserIdResult.fromDict = function (data) {
36
+ return new GetPointByUserIdResult()
37
+ .withItem(Gs2AdReward.Point.fromDict(data["item"]));
38
+ };
39
+ GetPointByUserIdResult.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 GetPointByUserIdResult;
46
+ }());
47
+ exports.default = GetPointByUserIdResult;
48
+ //# sourceMappingURL=GetPointByUserIdResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetPointByUserIdResult.js","sourceRoot":"","sources":["GetPointByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;IA0BhD,CAAC;IAxBU,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,+BAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,sBAAsB,EAAE;aAC9B,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,uCAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,6BAAC;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 Gs2AdReward from '../model'
20
+
21
+ export default class GetPointByUserIdResult implements IResult {
22
+ private item: Gs2AdReward.Point|null = null;
23
+
24
+ public getItem(): Gs2AdReward.Point|null {
25
+ return this.item;
26
+ }
27
+
28
+ public setItem(item: Gs2AdReward.Point|null) {
29
+ this.item = item;
30
+ return this;
31
+ }
32
+
33
+ public withItem(item: Gs2AdReward.Point|null): this {
34
+ this.item = item;
35
+ return this;
36
+ }
37
+
38
+ public static fromDict(data: {[key: string]: any}): GetPointByUserIdResult {
39
+ return new GetPointByUserIdResult()
40
+ .withItem(Gs2AdReward.Point.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 Gs2AdReward from '../model';
3
+ export default class GetPointResult implements IResult {
4
+ private item;
5
+ getItem(): Gs2AdReward.Point | null;
6
+ setItem(item: Gs2AdReward.Point | null): this;
7
+ withItem(item: Gs2AdReward.Point | null): this;
8
+ static fromDict(data: {
9
+ [key: string]: any;
10
+ }): GetPointResult;
11
+ toDict(): {
12
+ [key: string]: any;
13
+ };
14
+ }