gs2 1.3.170 → 1.3.172

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 (193) 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/deploy/model/ChangeSet.d.ts +21 -0
  162. package/deploy/model/ChangeSet.js +76 -0
  163. package/deploy/model/ChangeSet.js.map +1 -0
  164. package/deploy/model/ChangeSet.ts +74 -0
  165. package/deploy/model/index.d.ts +3 -2
  166. package/deploy/model/index.js +5 -3
  167. package/deploy/model/index.js.map +1 -1
  168. package/deploy/model/index.ts +4 -2
  169. package/deploy/request/ChangeSetRequest.d.ts +25 -0
  170. package/deploy/request/ChangeSetRequest.js +83 -0
  171. package/deploy/request/ChangeSetRequest.js.map +1 -0
  172. package/deploy/request/ChangeSetRequest.ts +90 -0
  173. package/deploy/request/index.d.ts +2 -1
  174. package/deploy/request/index.js +3 -1
  175. package/deploy/request/index.js.map +1 -1
  176. package/deploy/request/index.ts +2 -0
  177. package/deploy/rest.d.ts +1 -0
  178. package/deploy/rest.js +27 -0
  179. package/deploy/rest.js.map +1 -1
  180. package/deploy/rest.ts +31 -0
  181. package/deploy/result/ChangeSetResult.d.ts +14 -0
  182. package/deploy/result/ChangeSetResult.js +53 -0
  183. package/deploy/result/ChangeSetResult.js.map +1 -0
  184. package/deploy/result/ChangeSetResult.ts +56 -0
  185. package/deploy/result/index.d.ts +2 -1
  186. package/deploy/result/index.js +3 -1
  187. package/deploy/result/index.js.map +1 -1
  188. package/deploy/result/index.ts +2 -0
  189. package/index.d.ts +2 -1
  190. package/index.js +3 -1
  191. package/index.js.map +1 -1
  192. package/index.ts +2 -0
  193. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class Point implements IModel {
3
+ private pointId;
4
+ private userId;
5
+ private point;
6
+ private createdAt;
7
+ private updatedAt;
8
+ private revision;
9
+ static getRegion(grn: string): string | null;
10
+ static getOwnerId(grn: string): string | null;
11
+ static getNamespaceName(grn: string): string | null;
12
+ static getUserId(grn: string): string | null;
13
+ static isValid(grn: string): boolean;
14
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, userId: string | null): string | null;
15
+ getPointId(): string | null;
16
+ setPointId(pointId: string | null): this;
17
+ withPointId(pointId: string | null): this;
18
+ getUserId(): string | null;
19
+ setUserId(userId: string | null): this;
20
+ withUserId(userId: string | null): this;
21
+ getPoint(): number | null;
22
+ setPoint(point: number | null): this;
23
+ withPoint(point: number | null): this;
24
+ getCreatedAt(): number | null;
25
+ setCreatedAt(createdAt: number | null): this;
26
+ withCreatedAt(createdAt: number | null): this;
27
+ getUpdatedAt(): number | null;
28
+ setUpdatedAt(updatedAt: number | null): this;
29
+ withUpdatedAt(updatedAt: number | null): this;
30
+ getRevision(): number | null;
31
+ setRevision(revision: number | null): this;
32
+ withRevision(revision: number | null): this;
33
+ static fromDict(data: {
34
+ [key: string]: any;
35
+ }): Point | null;
36
+ toDict(): {
37
+ [key: string]: any;
38
+ };
39
+ }
@@ -0,0 +1,185 @@
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 grnFormat = "grn:gs2:{region}:{ownerId}:adReward:{namespaceName}:user:{userId}:point";
19
+ var Point = /** @class */ (function () {
20
+ function Point() {
21
+ this.pointId = null;
22
+ this.userId = null;
23
+ this.point = null;
24
+ this.createdAt = null;
25
+ this.updatedAt = null;
26
+ this.revision = null;
27
+ }
28
+ Point.getRegion = function (grn) {
29
+ var match = grn.match(grnFormat
30
+ .replace('{region}', '(.*)')
31
+ .replace('{ownerId}', '.*')
32
+ .replace('{namespaceName}', '.*')
33
+ .replace('{userId}', '.*'));
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ };
39
+ Point.getOwnerId = function (grn) {
40
+ var match = grn.match(grnFormat
41
+ .replace('{region}', '.*')
42
+ .replace('{ownerId}', '(.*)')
43
+ .replace('{namespaceName}', '.*')
44
+ .replace('{userId}', '.*'));
45
+ if (match) {
46
+ return match[1];
47
+ }
48
+ return null;
49
+ };
50
+ Point.getNamespaceName = function (grn) {
51
+ var match = grn.match(grnFormat
52
+ .replace('{region}', '.*')
53
+ .replace('{ownerId}', '.*')
54
+ .replace('{namespaceName}', '(.*)')
55
+ .replace('{userId}', '.*'));
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ };
61
+ Point.getUserId = function (grn) {
62
+ var match = grn.match(grnFormat
63
+ .replace('{region}', '.*')
64
+ .replace('{ownerId}', '.*')
65
+ .replace('{namespaceName}', '.*')
66
+ .replace('{userId}', '(.*)'));
67
+ if (match) {
68
+ return match[1];
69
+ }
70
+ return null;
71
+ };
72
+ Point.isValid = function (grn) {
73
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
74
+ return false;
75
+ }
76
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
77
+ return false;
78
+ }
79
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
80
+ return false;
81
+ }
82
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
83
+ return false;
84
+ }
85
+ return true;
86
+ };
87
+ Point.createGrn = function (region, ownerId, namespaceName, userId) {
88
+ return grnFormat
89
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
90
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
91
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
92
+ .replace('{userId}', userId !== null && userId !== void 0 ? userId : '');
93
+ };
94
+ Point.prototype.getPointId = function () {
95
+ return this.pointId;
96
+ };
97
+ Point.prototype.setPointId = function (pointId) {
98
+ this.pointId = pointId;
99
+ return this;
100
+ };
101
+ Point.prototype.withPointId = function (pointId) {
102
+ this.pointId = pointId;
103
+ return this;
104
+ };
105
+ Point.prototype.getUserId = function () {
106
+ return this.userId;
107
+ };
108
+ Point.prototype.setUserId = function (userId) {
109
+ this.userId = userId;
110
+ return this;
111
+ };
112
+ Point.prototype.withUserId = function (userId) {
113
+ this.userId = userId;
114
+ return this;
115
+ };
116
+ Point.prototype.getPoint = function () {
117
+ return this.point;
118
+ };
119
+ Point.prototype.setPoint = function (point) {
120
+ this.point = point;
121
+ return this;
122
+ };
123
+ Point.prototype.withPoint = function (point) {
124
+ this.point = point;
125
+ return this;
126
+ };
127
+ Point.prototype.getCreatedAt = function () {
128
+ return this.createdAt;
129
+ };
130
+ Point.prototype.setCreatedAt = function (createdAt) {
131
+ this.createdAt = createdAt;
132
+ return this;
133
+ };
134
+ Point.prototype.withCreatedAt = function (createdAt) {
135
+ this.createdAt = createdAt;
136
+ return this;
137
+ };
138
+ Point.prototype.getUpdatedAt = function () {
139
+ return this.updatedAt;
140
+ };
141
+ Point.prototype.setUpdatedAt = function (updatedAt) {
142
+ this.updatedAt = updatedAt;
143
+ return this;
144
+ };
145
+ Point.prototype.withUpdatedAt = function (updatedAt) {
146
+ this.updatedAt = updatedAt;
147
+ return this;
148
+ };
149
+ Point.prototype.getRevision = function () {
150
+ return this.revision;
151
+ };
152
+ Point.prototype.setRevision = function (revision) {
153
+ this.revision = revision;
154
+ return this;
155
+ };
156
+ Point.prototype.withRevision = function (revision) {
157
+ this.revision = revision;
158
+ return this;
159
+ };
160
+ Point.fromDict = function (data) {
161
+ if (data == undefined || data == null) {
162
+ return null;
163
+ }
164
+ return new Point()
165
+ .withPointId(data["pointId"])
166
+ .withUserId(data["userId"])
167
+ .withPoint(data["point"])
168
+ .withCreatedAt(data["createdAt"])
169
+ .withUpdatedAt(data["updatedAt"])
170
+ .withRevision(data["revision"]);
171
+ };
172
+ Point.prototype.toDict = function () {
173
+ return {
174
+ "pointId": this.getPointId(),
175
+ "userId": this.getUserId(),
176
+ "point": this.getPoint(),
177
+ "createdAt": this.getCreatedAt(),
178
+ "updatedAt": this.getUpdatedAt(),
179
+ "revision": this.getRevision(),
180
+ };
181
+ };
182
+ return Point;
183
+ }());
184
+ exports.default = Point;
185
+ //# sourceMappingURL=Point.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Point.js","sourceRoot":"","sources":["Point.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,yEAAyE,CAAC;AAEpG;IAAA;QACY,YAAO,GAAgB,IAAI,CAAC;QAC5B,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,CAAC,CAAC;aAChC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,sBAAM,GAAb;QACI,OAAO;YACH,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;YAC5B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,YAAC;AAAD,CAAC,AAlLD,IAkLC"}
@@ -0,0 +1,198 @@
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 IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:adReward:{namespaceName}:user:{userId}:point";
19
+
20
+ export default class Point implements IModel {
21
+ private pointId: string|null = null;
22
+ private userId: string|null = null;
23
+ private point: number|null = null;
24
+ private createdAt: number|null = null;
25
+ private updatedAt: number|null = null;
26
+ private revision: number|null = null;
27
+
28
+ public static getRegion(grn: string): string|null {
29
+ const match = grn.match(grnFormat
30
+ .replace('{region}', '(.*)')
31
+ .replace('{ownerId}', '.*')
32
+ .replace('{namespaceName}', '.*')
33
+ .replace('{userId}', '.*')
34
+ );
35
+ if (match) {
36
+ return match[1];
37
+ }
38
+ return null;
39
+ }
40
+
41
+ public static getOwnerId(grn: string): string|null {
42
+ const match = grn.match(grnFormat
43
+ .replace('{region}', '.*')
44
+ .replace('{ownerId}', '(.*)')
45
+ .replace('{namespaceName}', '.*')
46
+ .replace('{userId}', '.*')
47
+ );
48
+ if (match) {
49
+ return match[1];
50
+ }
51
+ return null;
52
+ }
53
+
54
+ public static getNamespaceName(grn: string): string|null {
55
+ const match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{namespaceName}', '(.*)')
59
+ .replace('{userId}', '.*')
60
+ );
61
+ if (match) {
62
+ return match[1];
63
+ }
64
+ return null;
65
+ }
66
+
67
+ public static getUserId(grn: string): string|null {
68
+ const match = grn.match(grnFormat
69
+ .replace('{region}', '.*')
70
+ .replace('{ownerId}', '.*')
71
+ .replace('{namespaceName}', '.*')
72
+ .replace('{userId}', '(.*)')
73
+ );
74
+ if (match) {
75
+ return match[1];
76
+ }
77
+ return null;
78
+ }
79
+
80
+ public static isValid(grn: string): boolean {
81
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
82
+ return false;
83
+ }
84
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
85
+ return false;
86
+ }
87
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
88
+ return false;
89
+ }
90
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
91
+ return false;
92
+ }
93
+ return true;
94
+ }
95
+
96
+ public static createGrn(
97
+ region: string|null,
98
+ ownerId: string|null,
99
+ namespaceName: string|null,
100
+ userId: string|null,
101
+ ): string|null {
102
+ return grnFormat
103
+ .replace('{region}', region ?? '')
104
+ .replace('{ownerId}', ownerId ?? '')
105
+ .replace('{namespaceName}', namespaceName ?? '')
106
+ .replace('{userId}', userId ?? '');
107
+ }
108
+ public getPointId(): string|null {
109
+ return this.pointId;
110
+ }
111
+ public setPointId(pointId: string|null) {
112
+ this.pointId = pointId;
113
+ return this;
114
+ }
115
+ public withPointId(pointId: string|null): this {
116
+ this.pointId = pointId;
117
+ return this;
118
+ }
119
+ public getUserId(): string|null {
120
+ return this.userId;
121
+ }
122
+ public setUserId(userId: string|null) {
123
+ this.userId = userId;
124
+ return this;
125
+ }
126
+ public withUserId(userId: string|null): this {
127
+ this.userId = userId;
128
+ return this;
129
+ }
130
+ public getPoint(): number|null {
131
+ return this.point;
132
+ }
133
+ public setPoint(point: number|null) {
134
+ this.point = point;
135
+ return this;
136
+ }
137
+ public withPoint(point: number|null): this {
138
+ this.point = point;
139
+ return this;
140
+ }
141
+ public getCreatedAt(): number|null {
142
+ return this.createdAt;
143
+ }
144
+ public setCreatedAt(createdAt: number|null) {
145
+ this.createdAt = createdAt;
146
+ return this;
147
+ }
148
+ public withCreatedAt(createdAt: number|null): this {
149
+ this.createdAt = createdAt;
150
+ return this;
151
+ }
152
+ public getUpdatedAt(): number|null {
153
+ return this.updatedAt;
154
+ }
155
+ public setUpdatedAt(updatedAt: number|null) {
156
+ this.updatedAt = updatedAt;
157
+ return this;
158
+ }
159
+ public withUpdatedAt(updatedAt: number|null): this {
160
+ this.updatedAt = updatedAt;
161
+ return this;
162
+ }
163
+ public getRevision(): number|null {
164
+ return this.revision;
165
+ }
166
+ public setRevision(revision: number|null) {
167
+ this.revision = revision;
168
+ return this;
169
+ }
170
+ public withRevision(revision: number|null): this {
171
+ this.revision = revision;
172
+ return this;
173
+ }
174
+
175
+ public static fromDict(data: {[key: string]: any}): Point|null {
176
+ if (data == undefined || data == null) {
177
+ return null;
178
+ }
179
+ return new Point()
180
+ .withPointId(data["pointId"])
181
+ .withUserId(data["userId"])
182
+ .withPoint(data["point"])
183
+ .withCreatedAt(data["createdAt"])
184
+ .withUpdatedAt(data["updatedAt"])
185
+ .withRevision(data["revision"]);
186
+ }
187
+
188
+ public toDict(): {[key: string]: any} {
189
+ return {
190
+ "pointId": this.getPointId(),
191
+ "userId": this.getUserId(),
192
+ "point": this.getPoint(),
193
+ "createdAt": this.getCreatedAt(),
194
+ "updatedAt": this.getUpdatedAt(),
195
+ "revision": this.getRevision(),
196
+ };
197
+ }
198
+ }
@@ -0,0 +1,13 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class UnityAd implements IModel {
3
+ private keys;
4
+ getKeys(): string[] | null;
5
+ setKeys(keys: string[] | null): this;
6
+ withKeys(keys: string[] | null): this;
7
+ static fromDict(data: {
8
+ [key: string]: any;
9
+ }): UnityAd | null;
10
+ toDict(): {
11
+ [key: string]: any;
12
+ };
13
+ }
@@ -0,0 +1,54 @@
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 UnityAd = /** @class */ (function () {
19
+ function UnityAd() {
20
+ this.keys = null;
21
+ }
22
+ UnityAd.prototype.getKeys = function () {
23
+ return this.keys;
24
+ };
25
+ UnityAd.prototype.setKeys = function (keys) {
26
+ this.keys = keys;
27
+ return this;
28
+ };
29
+ UnityAd.prototype.withKeys = function (keys) {
30
+ this.keys = keys;
31
+ return this;
32
+ };
33
+ UnityAd.fromDict = function (data) {
34
+ if (data == undefined || data == null) {
35
+ return null;
36
+ }
37
+ return new UnityAd()
38
+ .withKeys(data.keys ?
39
+ data.keys.map(function (item) {
40
+ return item;
41
+ }) : []);
42
+ };
43
+ UnityAd.prototype.toDict = function () {
44
+ return {
45
+ "keys": this.getKeys() ?
46
+ this.getKeys().map(function (item) {
47
+ return item;
48
+ }) : [],
49
+ };
50
+ };
51
+ return UnityAd;
52
+ }());
53
+ exports.default = UnityAd;
54
+ //# sourceMappingURL=UnityAd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnityAd.js","sourceRoot":"","sources":["UnityAd.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,SAAI,GAAkB,IAAI,CAAC;IAkCvC,CAAC;IAjCU,yBAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IACM,yBAAO,GAAd,UAAe,IAAmB;QAC9B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0BAAQ,GAAf,UAAgB,IAAmB;QAC/B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,gBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,OAAO,EAAE;aACf,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACjB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACrC,OAAO,IAAI,CAAC;YAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IAChB,CAAC;IAEM,wBAAM,GAAb;QACI,OAAO;YACH,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE,CAAC,CAAC;gBACpB,IAAI,CAAC,OAAO,EAAG,CAAC,GAAG,CAAC,UAAC,IAAY;oBAC7B,OAAO,IAAI,CAAC;gBAChB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,cAAC;AAAD,CAAC,AAnCD,IAmCC"}
@@ -0,0 +1,54 @@
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 IModel from '../../core/interface/IModel';
18
+
19
+ export default class UnityAd implements IModel {
20
+ private keys: string[]|null = null;
21
+ public getKeys(): string[]|null {
22
+ return this.keys;
23
+ }
24
+ public setKeys(keys: string[]|null) {
25
+ this.keys = keys;
26
+ return this;
27
+ }
28
+ public withKeys(keys: string[]|null): this {
29
+ this.keys = keys;
30
+ return this;
31
+ }
32
+
33
+ public static fromDict(data: {[key: string]: any}): UnityAd|null {
34
+ if (data == undefined || data == null) {
35
+ return null;
36
+ }
37
+ return new UnityAd()
38
+ .withKeys(data.keys ?
39
+ data.keys.map((item: {[key: string]: any}) => {
40
+ return item;
41
+ }
42
+ ) : []);
43
+ }
44
+
45
+ public toDict(): {[key: string]: any} {
46
+ return {
47
+ "keys": this.getKeys() ?
48
+ this.getKeys()!.map((item: string) => {
49
+ return item;
50
+ }
51
+ ) : [],
52
+ };
53
+ }
54
+ }
@@ -0,0 +1,8 @@
1
+ import Namespace from "./Namespace";
2
+ import Point from "./Point";
3
+ import History from "./History";
4
+ import AdMob from "./AdMob";
5
+ import UnityAd from "./UnityAd";
6
+ import NotificationSetting from "./NotificationSetting";
7
+ import LogSetting from "./LogSetting";
8
+ export { Namespace, Point, History, AdMob, UnityAd, NotificationSetting, LogSetting, };
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LogSetting = exports.NotificationSetting = exports.UnityAd = exports.AdMob = exports.History = exports.Point = exports.Namespace = void 0;
4
+ var tslib_1 = require("tslib");
5
+ /*
6
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
7
+ Reserved.
8
+
9
+ Licensed under the Apache License, Version 2.0 (the "License").
10
+ You may not use this file except in compliance with the License.
11
+ A copy of the License is located at
12
+
13
+ http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ or in the "license" file accompanying this file. This file is distributed
16
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
17
+ express or implied. See the License for the specific language governing
18
+ permissions and limitations under the License.
19
+ */
20
+ var Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
+ exports.Namespace = Namespace_1.default;
22
+ var Point_1 = tslib_1.__importDefault(require("./Point"));
23
+ exports.Point = Point_1.default;
24
+ var History_1 = tslib_1.__importDefault(require("./History"));
25
+ exports.History = History_1.default;
26
+ var AdMob_1 = tslib_1.__importDefault(require("./AdMob"));
27
+ exports.AdMob = AdMob_1.default;
28
+ var UnityAd_1 = tslib_1.__importDefault(require("./UnityAd"));
29
+ exports.UnityAd = UnityAd_1.default;
30
+ var NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
31
+ exports.NotificationSetting = NotificationSetting_1.default;
32
+ var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
33
+ exports.LogSetting = LogSetting_1.default;
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAS/B,oBATG,mBAAS,CASH;AARb,0DAA2B;AASvB,gBATG,eAAK,CASH;AART,8DAA+B;AAS3B,kBATG,iBAAO,CASH;AARX,0DAA2B;AASvB,gBATG,eAAK,CASH;AART,8DAA+B;AAS3B,kBATG,iBAAO,CASH;AARX,sFAAuD;AASnD,8BATG,6BAAmB,CASH;AARvB,oEAAqC;AASjC,qBATG,oBAAU,CASH"}
@@ -0,0 +1,32 @@
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
+ import Namespace from "./Namespace"
17
+ import Point from "./Point"
18
+ import History from "./History"
19
+ import AdMob from "./AdMob"
20
+ import UnityAd from "./UnityAd"
21
+ import NotificationSetting from "./NotificationSetting"
22
+ import LogSetting from "./LogSetting"
23
+
24
+ export {
25
+ Namespace,
26
+ Point,
27
+ History,
28
+ AdMob,
29
+ UnityAd,
30
+ NotificationSetting,
31
+ LogSetting,
32
+ };
@@ -0,0 +1,25 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ export default class AcquirePointByStampSheetRequest implements IRequest {
3
+ private requestId;
4
+ private contextStack;
5
+ private stampSheet;
6
+ private keyId;
7
+ getRequestId(): string | null;
8
+ setRequestId(requestId: string | null): this;
9
+ withRequestId(requestId: string | null): this;
10
+ getContextStack(): string | null;
11
+ setContextStack(contextStack: string | null): this;
12
+ withContextStack(contextStack: string | null): this;
13
+ getStampSheet(): string | null;
14
+ setStampSheet(stampSheet: string | null): this;
15
+ withStampSheet(stampSheet: string | null): this;
16
+ getKeyId(): string | null;
17
+ setKeyId(keyId: string | null): this;
18
+ withKeyId(keyId: string | null): this;
19
+ static fromDict(data: {
20
+ [key: string]: any;
21
+ }): AcquirePointByStampSheetRequest;
22
+ toDict(): {
23
+ [key: string]: any;
24
+ };
25
+ }