gs2 1.3.249 → 1.3.253

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 (239) hide show
  1. package/matchmaking/model/{CurrentRatingModelMaster.d.ts → CurrentModelMaster.d.ts} +2 -2
  2. package/matchmaking/model/{CurrentRatingModelMaster.js → CurrentModelMaster.js} +19 -19
  3. package/matchmaking/model/CurrentModelMaster.js.map +1 -0
  4. package/matchmaking/model/{CurrentRatingModelMaster.ts → CurrentModelMaster.ts} +3 -3
  5. package/matchmaking/model/JoinedSeasonGathering.d.ts +45 -0
  6. package/matchmaking/model/JoinedSeasonGathering.js +241 -0
  7. package/matchmaking/model/JoinedSeasonGathering.js.map +1 -0
  8. package/matchmaking/model/JoinedSeasonGathering.ts +260 -0
  9. package/matchmaking/model/SeasonGathering.d.ts +50 -0
  10. package/matchmaking/model/SeasonGathering.js +285 -0
  11. package/matchmaking/model/SeasonGathering.js.map +1 -0
  12. package/matchmaking/model/SeasonGathering.ts +309 -0
  13. package/matchmaking/model/SeasonModel.d.ts +39 -0
  14. package/matchmaking/model/SeasonModel.js +185 -0
  15. package/matchmaking/model/SeasonModel.js.map +1 -0
  16. package/matchmaking/model/SeasonModel.ts +198 -0
  17. package/matchmaking/model/SeasonModelMaster.d.ts +55 -0
  18. package/matchmaking/model/SeasonModelMaster.js +241 -0
  19. package/matchmaking/model/SeasonModelMaster.js.map +1 -0
  20. package/matchmaking/model/SeasonModelMaster.ts +254 -0
  21. package/matchmaking/model/index.d.ts +6 -2
  22. package/matchmaking/model/index.js +11 -3
  23. package/matchmaking/model/index.js.map +1 -1
  24. package/matchmaking/model/index.ts +10 -2
  25. package/matchmaking/request/CreateSeasonModelMasterRequest.d.ts +45 -0
  26. package/matchmaking/request/CreateSeasonModelMasterRequest.js +153 -0
  27. package/matchmaking/request/CreateSeasonModelMasterRequest.js.map +1 -0
  28. package/matchmaking/request/CreateSeasonModelMasterRequest.ts +160 -0
  29. package/matchmaking/request/DeleteSeasonGatheringRequest.d.ts +37 -0
  30. package/matchmaking/request/DeleteSeasonGatheringRequest.js +125 -0
  31. package/matchmaking/request/DeleteSeasonGatheringRequest.js.map +1 -0
  32. package/matchmaking/request/DeleteSeasonGatheringRequest.ts +132 -0
  33. package/matchmaking/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
  34. package/matchmaking/request/DeleteSeasonModelMasterRequest.js +83 -0
  35. package/matchmaking/request/DeleteSeasonModelMasterRequest.js.map +1 -0
  36. package/matchmaking/request/DeleteSeasonModelMasterRequest.ts +90 -0
  37. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.d.ts +41 -0
  38. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js +139 -0
  39. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.js.map +1 -0
  40. package/matchmaking/request/DescribeJoinedSeasonGatheringsByUserIdRequest.ts +146 -0
  41. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.d.ts +37 -0
  42. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js +125 -0
  43. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.js.map +1 -0
  44. package/matchmaking/request/DescribeJoinedSeasonGatheringsRequest.ts +132 -0
  45. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.d.ts +41 -0
  46. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js +139 -0
  47. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.js.map +1 -0
  48. package/matchmaking/request/DescribeMatchmakingSeasonGatheringsRequest.ts +146 -0
  49. package/matchmaking/request/DescribeSeasonGatheringsRequest.d.ts +41 -0
  50. package/matchmaking/request/DescribeSeasonGatheringsRequest.js +139 -0
  51. package/matchmaking/request/DescribeSeasonGatheringsRequest.js.map +1 -0
  52. package/matchmaking/request/DescribeSeasonGatheringsRequest.ts +146 -0
  53. package/matchmaking/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
  54. package/matchmaking/request/DescribeSeasonModelMastersRequest.js +97 -0
  55. package/matchmaking/request/DescribeSeasonModelMastersRequest.js.map +1 -0
  56. package/matchmaking/request/DescribeSeasonModelMastersRequest.ts +104 -0
  57. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.d.ts → DescribeSeasonModelsRequest.d.ts} +2 -2
  58. package/matchmaking/request/DescribeSeasonModelsRequest.js +69 -0
  59. package/matchmaking/request/DescribeSeasonModelsRequest.js.map +1 -0
  60. package/matchmaking/request/DescribeSeasonModelsRequest.ts +76 -0
  61. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.d.ts +41 -0
  62. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js +137 -0
  63. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.js.map +1 -0
  64. package/matchmaking/request/DoSeasonMatchmakingByUserIdRequest.ts +147 -0
  65. package/matchmaking/request/DoSeasonMatchmakingRequest.d.ts +37 -0
  66. package/matchmaking/request/DoSeasonMatchmakingRequest.js +123 -0
  67. package/matchmaking/request/DoSeasonMatchmakingRequest.js.map +1 -0
  68. package/matchmaking/request/DoSeasonMatchmakingRequest.ts +133 -0
  69. package/matchmaking/request/GetCurrentModelMasterRequest.d.ts +21 -0
  70. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.js → GetCurrentModelMasterRequest.js} +17 -17
  71. package/matchmaking/request/GetCurrentModelMasterRequest.js.map +1 -0
  72. package/matchmaking/request/{GetCurrentRatingModelMasterRequest.ts → GetCurrentModelMasterRequest.ts} +3 -3
  73. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.d.ts +37 -0
  74. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js +125 -0
  75. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.js.map +1 -0
  76. package/matchmaking/request/GetJoinedSeasonGatheringByUserIdRequest.ts +132 -0
  77. package/matchmaking/request/GetJoinedSeasonGatheringRequest.d.ts +33 -0
  78. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js +111 -0
  79. package/matchmaking/request/GetJoinedSeasonGatheringRequest.js.map +1 -0
  80. package/matchmaking/request/GetJoinedSeasonGatheringRequest.ts +118 -0
  81. package/matchmaking/request/GetSeasonGatheringRequest.d.ts +37 -0
  82. package/matchmaking/request/GetSeasonGatheringRequest.js +125 -0
  83. package/matchmaking/request/GetSeasonGatheringRequest.js.map +1 -0
  84. package/matchmaking/request/GetSeasonGatheringRequest.ts +132 -0
  85. package/matchmaking/request/GetSeasonModelMasterRequest.d.ts +25 -0
  86. package/matchmaking/request/GetSeasonModelMasterRequest.js +83 -0
  87. package/matchmaking/request/GetSeasonModelMasterRequest.js.map +1 -0
  88. package/matchmaking/request/GetSeasonModelMasterRequest.ts +90 -0
  89. package/matchmaking/request/GetSeasonModelRequest.d.ts +25 -0
  90. package/matchmaking/request/GetSeasonModelRequest.js +83 -0
  91. package/matchmaking/request/GetSeasonModelRequest.js.map +1 -0
  92. package/matchmaking/request/GetSeasonModelRequest.ts +90 -0
  93. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.d.ts → UpdateCurrentModelMasterFromGitHubRequest.d.ts} +2 -2
  94. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.js → UpdateCurrentModelMasterFromGitHubRequest.js} +20 -20
  95. package/matchmaking/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
  96. package/matchmaking/request/{UpdateCurrentRatingModelMasterFromGitHubRequest.ts → UpdateCurrentModelMasterFromGitHubRequest.ts} +3 -3
  97. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.d.ts → UpdateCurrentModelMasterRequest.d.ts} +2 -2
  98. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.js → UpdateCurrentModelMasterRequest.js} +20 -20
  99. package/matchmaking/request/UpdateCurrentModelMasterRequest.js.map +1 -0
  100. package/matchmaking/request/{UpdateCurrentRatingModelMasterRequest.ts → UpdateCurrentModelMasterRequest.ts} +3 -3
  101. package/matchmaking/request/UpdateSeasonModelMasterRequest.d.ts +45 -0
  102. package/matchmaking/request/UpdateSeasonModelMasterRequest.js +153 -0
  103. package/matchmaking/request/UpdateSeasonModelMasterRequest.js.map +1 -0
  104. package/matchmaking/request/UpdateSeasonModelMasterRequest.ts +160 -0
  105. package/matchmaking/request/index.d.ts +21 -4
  106. package/matchmaking/request/index.js +42 -8
  107. package/matchmaking/request/index.js.map +1 -1
  108. package/matchmaking/request/index.ts +40 -6
  109. package/matchmaking/rest.d.ts +20 -3
  110. package/matchmaking/rest.js +472 -6
  111. package/matchmaking/rest.js.map +1 -1
  112. package/matchmaking/rest.ts +540 -6
  113. package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
  114. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
  115. package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
  116. package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
  117. package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
  118. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
  119. package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
  120. package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
  121. package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
  122. package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
  123. package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
  124. package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
  125. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
  126. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
  127. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
  128. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
  129. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
  130. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
  131. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
  132. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
  133. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
  134. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
  135. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
  136. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
  137. package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
  138. package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
  139. package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
  140. package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
  141. package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
  142. package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
  143. package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
  144. package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
  145. package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
  146. package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
  147. package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
  148. package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
  149. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
  150. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
  151. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
  152. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
  153. package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
  154. package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
  155. package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
  156. package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
  157. package/matchmaking/result/ExportMasterResult.d.ts +3 -3
  158. package/matchmaking/result/ExportMasterResult.js +1 -1
  159. package/matchmaking/result/ExportMasterResult.js.map +1 -1
  160. package/matchmaking/result/ExportMasterResult.ts +5 -5
  161. package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
  162. package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
  163. package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
  164. package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
  165. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
  166. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
  167. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
  168. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
  169. package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
  170. package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
  171. package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
  172. package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
  173. package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
  174. package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
  175. package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
  176. package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
  177. package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
  178. package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
  179. package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
  180. package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
  181. package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
  182. package/matchmaking/result/GetSeasonModelResult.js +48 -0
  183. package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
  184. package/matchmaking/result/GetSeasonModelResult.ts +47 -0
  185. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
  186. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
  187. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
  188. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
  189. package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
  190. package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
  191. package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
  192. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
  193. package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
  194. package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
  195. package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
  196. package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
  197. package/matchmaking/result/index.d.ts +21 -4
  198. package/matchmaking/result/index.js +42 -8
  199. package/matchmaking/result/index.js.map +1 -1
  200. package/matchmaking/result/index.ts +40 -6
  201. package/mission/request/VerifyCompleteByStampTaskRequest.d.ts +25 -0
  202. package/mission/request/VerifyCompleteByStampTaskRequest.js +83 -0
  203. package/mission/request/VerifyCompleteByStampTaskRequest.js.map +1 -0
  204. package/mission/request/VerifyCompleteByStampTaskRequest.ts +90 -0
  205. package/mission/request/VerifyCompleteByUserIdRequest.d.ts +49 -0
  206. package/mission/request/VerifyCompleteByUserIdRequest.js +165 -0
  207. package/mission/request/VerifyCompleteByUserIdRequest.js.map +1 -0
  208. package/mission/request/VerifyCompleteByUserIdRequest.ts +175 -0
  209. package/mission/request/index.d.ts +3 -1
  210. package/mission/request/index.js +6 -2
  211. package/mission/request/index.js.map +1 -1
  212. package/mission/request/index.ts +4 -0
  213. package/mission/rest.d.ts +2 -0
  214. package/mission/rest.js +64 -0
  215. package/mission/rest.js.map +1 -1
  216. package/mission/rest.ts +72 -0
  217. package/mission/result/VerifyCompleteByStampTaskResult.d.ts +13 -0
  218. package/mission/result/VerifyCompleteByStampTaskResult.js +45 -0
  219. package/mission/result/VerifyCompleteByStampTaskResult.js.map +1 -0
  220. package/mission/result/VerifyCompleteByStampTaskResult.ts +46 -0
  221. package/mission/result/VerifyCompleteByUserIdResult.d.ts +9 -0
  222. package/mission/result/VerifyCompleteByUserIdResult.js +30 -0
  223. package/mission/result/VerifyCompleteByUserIdResult.js.map +1 -0
  224. package/mission/result/VerifyCompleteByUserIdResult.ts +29 -0
  225. package/mission/result/index.d.ts +3 -1
  226. package/mission/result/index.js +6 -2
  227. package/mission/result/index.js.map +1 -1
  228. package/mission/result/index.ts +4 -0
  229. package/package.json +1 -1
  230. package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
  231. package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
  232. package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
  233. package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
  234. package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
  235. package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
  236. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
  237. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
  238. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
  239. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
@@ -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}:matchmaking:{namespaceName}:model:{seasonName}";
19
+
20
+ export default class SeasonModel implements IModel {
21
+ private seasonModelId: string|null = null;
22
+ private name: string|null = null;
23
+ private metadata: string|null = null;
24
+ private maximumParticipants: number|null = null;
25
+ private experienceModelId: string|null = null;
26
+ private challengePeriodEventId: string|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('{seasonName}', '.*')
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('{seasonName}', '.*')
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('{seasonName}', '.*')
60
+ );
61
+ if (match) {
62
+ return match[1];
63
+ }
64
+ return null;
65
+ }
66
+
67
+ public static getSeasonName(grn: string): string|null {
68
+ const match = grn.match(grnFormat
69
+ .replace('{region}', '.*')
70
+ .replace('{ownerId}', '.*')
71
+ .replace('{namespaceName}', '.*')
72
+ .replace('{seasonName}', '(.*)')
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.getSeasonName(grn) == null || this.getSeasonName(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
+ seasonName: string|null,
101
+ ): string|null {
102
+ return grnFormat
103
+ .replace('{region}', region ?? '')
104
+ .replace('{ownerId}', ownerId ?? '')
105
+ .replace('{namespaceName}', namespaceName ?? '')
106
+ .replace('{seasonName}', seasonName ?? '');
107
+ }
108
+ public getSeasonModelId(): string|null {
109
+ return this.seasonModelId;
110
+ }
111
+ public setSeasonModelId(seasonModelId: string|null) {
112
+ this.seasonModelId = seasonModelId;
113
+ return this;
114
+ }
115
+ public withSeasonModelId(seasonModelId: string|null): this {
116
+ this.seasonModelId = seasonModelId;
117
+ return this;
118
+ }
119
+ public getName(): string|null {
120
+ return this.name;
121
+ }
122
+ public setName(name: string|null) {
123
+ this.name = name;
124
+ return this;
125
+ }
126
+ public withName(name: string|null): this {
127
+ this.name = name;
128
+ return this;
129
+ }
130
+ public getMetadata(): string|null {
131
+ return this.metadata;
132
+ }
133
+ public setMetadata(metadata: string|null) {
134
+ this.metadata = metadata;
135
+ return this;
136
+ }
137
+ public withMetadata(metadata: string|null): this {
138
+ this.metadata = metadata;
139
+ return this;
140
+ }
141
+ public getMaximumParticipants(): number|null {
142
+ return this.maximumParticipants;
143
+ }
144
+ public setMaximumParticipants(maximumParticipants: number|null) {
145
+ this.maximumParticipants = maximumParticipants;
146
+ return this;
147
+ }
148
+ public withMaximumParticipants(maximumParticipants: number|null): this {
149
+ this.maximumParticipants = maximumParticipants;
150
+ return this;
151
+ }
152
+ public getExperienceModelId(): string|null {
153
+ return this.experienceModelId;
154
+ }
155
+ public setExperienceModelId(experienceModelId: string|null) {
156
+ this.experienceModelId = experienceModelId;
157
+ return this;
158
+ }
159
+ public withExperienceModelId(experienceModelId: string|null): this {
160
+ this.experienceModelId = experienceModelId;
161
+ return this;
162
+ }
163
+ public getChallengePeriodEventId(): string|null {
164
+ return this.challengePeriodEventId;
165
+ }
166
+ public setChallengePeriodEventId(challengePeriodEventId: string|null) {
167
+ this.challengePeriodEventId = challengePeriodEventId;
168
+ return this;
169
+ }
170
+ public withChallengePeriodEventId(challengePeriodEventId: string|null): this {
171
+ this.challengePeriodEventId = challengePeriodEventId;
172
+ return this;
173
+ }
174
+
175
+ public static fromDict(data: {[key: string]: any}): SeasonModel|null {
176
+ if (data == undefined || data == null) {
177
+ return null;
178
+ }
179
+ return new SeasonModel()
180
+ .withSeasonModelId(data["seasonModelId"])
181
+ .withName(data["name"])
182
+ .withMetadata(data["metadata"])
183
+ .withMaximumParticipants(data["maximumParticipants"])
184
+ .withExperienceModelId(data["experienceModelId"])
185
+ .withChallengePeriodEventId(data["challengePeriodEventId"]);
186
+ }
187
+
188
+ public toDict(): {[key: string]: any} {
189
+ return {
190
+ "seasonModelId": this.getSeasonModelId(),
191
+ "name": this.getName(),
192
+ "metadata": this.getMetadata(),
193
+ "maximumParticipants": this.getMaximumParticipants(),
194
+ "experienceModelId": this.getExperienceModelId(),
195
+ "challengePeriodEventId": this.getChallengePeriodEventId(),
196
+ };
197
+ }
198
+ }
@@ -0,0 +1,55 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class SeasonModelMaster implements IModel {
3
+ private seasonModelId;
4
+ private name;
5
+ private metadata;
6
+ private description;
7
+ private maximumParticipants;
8
+ private experienceModelId;
9
+ private challengePeriodEventId;
10
+ private createdAt;
11
+ private updatedAt;
12
+ private revision;
13
+ static getRegion(grn: string): string | null;
14
+ static getOwnerId(grn: string): string | null;
15
+ static getNamespaceName(grn: string): string | null;
16
+ static getSeasonName(grn: string): string | null;
17
+ static isValid(grn: string): boolean;
18
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null): string | null;
19
+ getSeasonModelId(): string | null;
20
+ setSeasonModelId(seasonModelId: string | null): this;
21
+ withSeasonModelId(seasonModelId: string | null): this;
22
+ getName(): string | null;
23
+ setName(name: string | null): this;
24
+ withName(name: string | null): this;
25
+ getMetadata(): string | null;
26
+ setMetadata(metadata: string | null): this;
27
+ withMetadata(metadata: string | null): this;
28
+ getDescription(): string | null;
29
+ setDescription(description: string | null): this;
30
+ withDescription(description: string | null): this;
31
+ getMaximumParticipants(): number | null;
32
+ setMaximumParticipants(maximumParticipants: number | null): this;
33
+ withMaximumParticipants(maximumParticipants: number | null): this;
34
+ getExperienceModelId(): string | null;
35
+ setExperienceModelId(experienceModelId: string | null): this;
36
+ withExperienceModelId(experienceModelId: string | null): this;
37
+ getChallengePeriodEventId(): string | null;
38
+ setChallengePeriodEventId(challengePeriodEventId: string | null): this;
39
+ withChallengePeriodEventId(challengePeriodEventId: string | null): this;
40
+ getCreatedAt(): number | null;
41
+ setCreatedAt(createdAt: number | null): this;
42
+ withCreatedAt(createdAt: number | null): this;
43
+ getUpdatedAt(): number | null;
44
+ setUpdatedAt(updatedAt: number | null): this;
45
+ withUpdatedAt(updatedAt: number | null): this;
46
+ getRevision(): number | null;
47
+ setRevision(revision: number | null): this;
48
+ withRevision(revision: number | null): this;
49
+ static fromDict(data: {
50
+ [key: string]: any;
51
+ }): SeasonModelMaster | null;
52
+ toDict(): {
53
+ [key: string]: any;
54
+ };
55
+ }
@@ -0,0 +1,241 @@
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}:matchmaking:{namespaceName}:model:{seasonName}";
19
+ var SeasonModelMaster = /** @class */ (function () {
20
+ function SeasonModelMaster() {
21
+ this.seasonModelId = null;
22
+ this.name = null;
23
+ this.metadata = null;
24
+ this.description = null;
25
+ this.maximumParticipants = null;
26
+ this.experienceModelId = null;
27
+ this.challengePeriodEventId = null;
28
+ this.createdAt = null;
29
+ this.updatedAt = null;
30
+ this.revision = null;
31
+ }
32
+ SeasonModelMaster.getRegion = function (grn) {
33
+ var match = grn.match(grnFormat
34
+ .replace('{region}', '(.*)')
35
+ .replace('{ownerId}', '.*')
36
+ .replace('{namespaceName}', '.*')
37
+ .replace('{seasonName}', '.*'));
38
+ if (match) {
39
+ return match[1];
40
+ }
41
+ return null;
42
+ };
43
+ SeasonModelMaster.getOwnerId = function (grn) {
44
+ var match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{seasonName}', '.*'));
49
+ if (match) {
50
+ return match[1];
51
+ }
52
+ return null;
53
+ };
54
+ SeasonModelMaster.getNamespaceName = function (grn) {
55
+ var match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{namespaceName}', '(.*)')
59
+ .replace('{seasonName}', '.*'));
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ };
65
+ SeasonModelMaster.getSeasonName = function (grn) {
66
+ var match = grn.match(grnFormat
67
+ .replace('{region}', '.*')
68
+ .replace('{ownerId}', '.*')
69
+ .replace('{namespaceName}', '.*')
70
+ .replace('{seasonName}', '(.*)'));
71
+ if (match) {
72
+ return match[1];
73
+ }
74
+ return null;
75
+ };
76
+ SeasonModelMaster.isValid = function (grn) {
77
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
78
+ return false;
79
+ }
80
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
81
+ return false;
82
+ }
83
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
87
+ return false;
88
+ }
89
+ return true;
90
+ };
91
+ SeasonModelMaster.createGrn = function (region, ownerId, namespaceName, seasonName) {
92
+ return grnFormat
93
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
94
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
95
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
96
+ .replace('{seasonName}', seasonName !== null && seasonName !== void 0 ? seasonName : '');
97
+ };
98
+ SeasonModelMaster.prototype.getSeasonModelId = function () {
99
+ return this.seasonModelId;
100
+ };
101
+ SeasonModelMaster.prototype.setSeasonModelId = function (seasonModelId) {
102
+ this.seasonModelId = seasonModelId;
103
+ return this;
104
+ };
105
+ SeasonModelMaster.prototype.withSeasonModelId = function (seasonModelId) {
106
+ this.seasonModelId = seasonModelId;
107
+ return this;
108
+ };
109
+ SeasonModelMaster.prototype.getName = function () {
110
+ return this.name;
111
+ };
112
+ SeasonModelMaster.prototype.setName = function (name) {
113
+ this.name = name;
114
+ return this;
115
+ };
116
+ SeasonModelMaster.prototype.withName = function (name) {
117
+ this.name = name;
118
+ return this;
119
+ };
120
+ SeasonModelMaster.prototype.getMetadata = function () {
121
+ return this.metadata;
122
+ };
123
+ SeasonModelMaster.prototype.setMetadata = function (metadata) {
124
+ this.metadata = metadata;
125
+ return this;
126
+ };
127
+ SeasonModelMaster.prototype.withMetadata = function (metadata) {
128
+ this.metadata = metadata;
129
+ return this;
130
+ };
131
+ SeasonModelMaster.prototype.getDescription = function () {
132
+ return this.description;
133
+ };
134
+ SeasonModelMaster.prototype.setDescription = function (description) {
135
+ this.description = description;
136
+ return this;
137
+ };
138
+ SeasonModelMaster.prototype.withDescription = function (description) {
139
+ this.description = description;
140
+ return this;
141
+ };
142
+ SeasonModelMaster.prototype.getMaximumParticipants = function () {
143
+ return this.maximumParticipants;
144
+ };
145
+ SeasonModelMaster.prototype.setMaximumParticipants = function (maximumParticipants) {
146
+ this.maximumParticipants = maximumParticipants;
147
+ return this;
148
+ };
149
+ SeasonModelMaster.prototype.withMaximumParticipants = function (maximumParticipants) {
150
+ this.maximumParticipants = maximumParticipants;
151
+ return this;
152
+ };
153
+ SeasonModelMaster.prototype.getExperienceModelId = function () {
154
+ return this.experienceModelId;
155
+ };
156
+ SeasonModelMaster.prototype.setExperienceModelId = function (experienceModelId) {
157
+ this.experienceModelId = experienceModelId;
158
+ return this;
159
+ };
160
+ SeasonModelMaster.prototype.withExperienceModelId = function (experienceModelId) {
161
+ this.experienceModelId = experienceModelId;
162
+ return this;
163
+ };
164
+ SeasonModelMaster.prototype.getChallengePeriodEventId = function () {
165
+ return this.challengePeriodEventId;
166
+ };
167
+ SeasonModelMaster.prototype.setChallengePeriodEventId = function (challengePeriodEventId) {
168
+ this.challengePeriodEventId = challengePeriodEventId;
169
+ return this;
170
+ };
171
+ SeasonModelMaster.prototype.withChallengePeriodEventId = function (challengePeriodEventId) {
172
+ this.challengePeriodEventId = challengePeriodEventId;
173
+ return this;
174
+ };
175
+ SeasonModelMaster.prototype.getCreatedAt = function () {
176
+ return this.createdAt;
177
+ };
178
+ SeasonModelMaster.prototype.setCreatedAt = function (createdAt) {
179
+ this.createdAt = createdAt;
180
+ return this;
181
+ };
182
+ SeasonModelMaster.prototype.withCreatedAt = function (createdAt) {
183
+ this.createdAt = createdAt;
184
+ return this;
185
+ };
186
+ SeasonModelMaster.prototype.getUpdatedAt = function () {
187
+ return this.updatedAt;
188
+ };
189
+ SeasonModelMaster.prototype.setUpdatedAt = function (updatedAt) {
190
+ this.updatedAt = updatedAt;
191
+ return this;
192
+ };
193
+ SeasonModelMaster.prototype.withUpdatedAt = function (updatedAt) {
194
+ this.updatedAt = updatedAt;
195
+ return this;
196
+ };
197
+ SeasonModelMaster.prototype.getRevision = function () {
198
+ return this.revision;
199
+ };
200
+ SeasonModelMaster.prototype.setRevision = function (revision) {
201
+ this.revision = revision;
202
+ return this;
203
+ };
204
+ SeasonModelMaster.prototype.withRevision = function (revision) {
205
+ this.revision = revision;
206
+ return this;
207
+ };
208
+ SeasonModelMaster.fromDict = function (data) {
209
+ if (data == undefined || data == null) {
210
+ return null;
211
+ }
212
+ return new SeasonModelMaster()
213
+ .withSeasonModelId(data["seasonModelId"])
214
+ .withName(data["name"])
215
+ .withMetadata(data["metadata"])
216
+ .withDescription(data["description"])
217
+ .withMaximumParticipants(data["maximumParticipants"])
218
+ .withExperienceModelId(data["experienceModelId"])
219
+ .withChallengePeriodEventId(data["challengePeriodEventId"])
220
+ .withCreatedAt(data["createdAt"])
221
+ .withUpdatedAt(data["updatedAt"])
222
+ .withRevision(data["revision"]);
223
+ };
224
+ SeasonModelMaster.prototype.toDict = function () {
225
+ return {
226
+ "seasonModelId": this.getSeasonModelId(),
227
+ "name": this.getName(),
228
+ "metadata": this.getMetadata(),
229
+ "description": this.getDescription(),
230
+ "maximumParticipants": this.getMaximumParticipants(),
231
+ "experienceModelId": this.getExperienceModelId(),
232
+ "challengePeriodEventId": this.getChallengePeriodEventId(),
233
+ "createdAt": this.getCreatedAt(),
234
+ "updatedAt": this.getUpdatedAt(),
235
+ "revision": this.getRevision(),
236
+ };
237
+ };
238
+ return SeasonModelMaster;
239
+ }());
240
+ exports.default = SeasonModelMaster;
241
+ //# sourceMappingURL=SeasonModelMaster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeasonModelMaster.js","s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