gs2 1.3.250 → 1.3.254

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 (235) 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/VerifyIncludeParticipantByStampTaskRequest.d.ts +25 -0
  106. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js +83 -0
  107. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.js.map +1 -0
  108. package/matchmaking/request/VerifyIncludeParticipantByStampTaskRequest.ts +90 -0
  109. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.d.ts +53 -0
  110. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js +179 -0
  111. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.js.map +1 -0
  112. package/matchmaking/request/VerifyIncludeParticipantByUserIdRequest.ts +189 -0
  113. package/matchmaking/request/VerifyIncludeParticipantRequest.d.ts +49 -0
  114. package/matchmaking/request/VerifyIncludeParticipantRequest.js +165 -0
  115. package/matchmaking/request/VerifyIncludeParticipantRequest.js.map +1 -0
  116. package/matchmaking/request/VerifyIncludeParticipantRequest.ts +175 -0
  117. package/matchmaking/request/index.d.ts +24 -4
  118. package/matchmaking/request/index.js +48 -8
  119. package/matchmaking/request/index.js.map +1 -1
  120. package/matchmaking/request/index.ts +46 -6
  121. package/matchmaking/rest.d.ts +23 -3
  122. package/matchmaking/rest.js +574 -6
  123. package/matchmaking/rest.js.map +1 -1
  124. package/matchmaking/rest.ts +654 -6
  125. package/matchmaking/result/CreateSeasonModelMasterResult.d.ts +14 -0
  126. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.js → CreateSeasonModelMasterResult.js} +12 -12
  127. package/matchmaking/result/CreateSeasonModelMasterResult.js.map +1 -0
  128. package/matchmaking/result/CreateSeasonModelMasterResult.ts +47 -0
  129. package/matchmaking/result/DeleteSeasonGatheringResult.d.ts +14 -0
  130. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.js → DeleteSeasonGatheringResult.js} +12 -12
  131. package/matchmaking/result/DeleteSeasonGatheringResult.js.map +1 -0
  132. package/matchmaking/result/DeleteSeasonGatheringResult.ts +47 -0
  133. package/matchmaking/result/DeleteSeasonModelMasterResult.d.ts +14 -0
  134. package/matchmaking/result/DeleteSeasonModelMasterResult.js +48 -0
  135. package/matchmaking/result/DeleteSeasonModelMasterResult.js.map +1 -0
  136. package/matchmaking/result/DeleteSeasonModelMasterResult.ts +47 -0
  137. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.d.ts +18 -0
  138. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js +67 -0
  139. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.js.map +1 -0
  140. package/matchmaking/result/DescribeJoinedSeasonGatheringsByUserIdResult.ts +72 -0
  141. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.d.ts +18 -0
  142. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js +67 -0
  143. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.js.map +1 -0
  144. package/matchmaking/result/DescribeJoinedSeasonGatheringsResult.ts +72 -0
  145. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.d.ts +18 -0
  146. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js +67 -0
  147. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.js.map +1 -0
  148. package/matchmaking/result/DescribeMatchmakingSeasonGatheringsResult.ts +72 -0
  149. package/matchmaking/result/DescribeSeasonGatheringsResult.d.ts +18 -0
  150. package/matchmaking/result/DescribeSeasonGatheringsResult.js +67 -0
  151. package/matchmaking/result/DescribeSeasonGatheringsResult.js.map +1 -0
  152. package/matchmaking/result/DescribeSeasonGatheringsResult.ts +72 -0
  153. package/matchmaking/result/DescribeSeasonModelMastersResult.d.ts +18 -0
  154. package/matchmaking/result/DescribeSeasonModelMastersResult.js +67 -0
  155. package/matchmaking/result/DescribeSeasonModelMastersResult.js.map +1 -0
  156. package/matchmaking/result/DescribeSeasonModelMastersResult.ts +72 -0
  157. package/matchmaking/result/DescribeSeasonModelsResult.d.ts +14 -0
  158. package/matchmaking/result/DescribeSeasonModelsResult.js +53 -0
  159. package/matchmaking/result/DescribeSeasonModelsResult.js.map +1 -0
  160. package/matchmaking/result/DescribeSeasonModelsResult.ts +55 -0
  161. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.d.ts +18 -0
  162. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js +62 -0
  163. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.js.map +1 -0
  164. package/matchmaking/result/DoSeasonMatchmakingByUserIdResult.ts +64 -0
  165. package/matchmaking/result/DoSeasonMatchmakingResult.d.ts +18 -0
  166. package/matchmaking/result/DoSeasonMatchmakingResult.js +62 -0
  167. package/matchmaking/result/DoSeasonMatchmakingResult.js.map +1 -0
  168. package/matchmaking/result/DoSeasonMatchmakingResult.ts +64 -0
  169. package/matchmaking/result/ExportMasterResult.d.ts +3 -3
  170. package/matchmaking/result/ExportMasterResult.js +1 -1
  171. package/matchmaking/result/ExportMasterResult.js.map +1 -1
  172. package/matchmaking/result/ExportMasterResult.ts +5 -5
  173. package/matchmaking/result/GetCurrentModelMasterResult.d.ts +14 -0
  174. package/matchmaking/result/GetCurrentModelMasterResult.js +48 -0
  175. package/matchmaking/result/GetCurrentModelMasterResult.js.map +1 -0
  176. package/matchmaking/result/{GetCurrentRatingModelMasterResult.ts → GetCurrentModelMasterResult.ts} +8 -8
  177. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.d.ts +14 -0
  178. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js +48 -0
  179. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.js.map +1 -0
  180. package/matchmaking/result/GetJoinedSeasonGatheringByUserIdResult.ts +47 -0
  181. package/matchmaking/result/GetJoinedSeasonGatheringResult.d.ts +14 -0
  182. package/matchmaking/result/{GetCurrentRatingModelMasterResult.js → GetJoinedSeasonGatheringResult.js} +12 -12
  183. package/matchmaking/result/GetJoinedSeasonGatheringResult.js.map +1 -0
  184. package/matchmaking/result/GetJoinedSeasonGatheringResult.ts +47 -0
  185. package/matchmaking/result/GetSeasonGatheringResult.d.ts +14 -0
  186. package/matchmaking/result/GetSeasonGatheringResult.js +48 -0
  187. package/matchmaking/result/GetSeasonGatheringResult.js.map +1 -0
  188. package/matchmaking/result/GetSeasonGatheringResult.ts +47 -0
  189. package/matchmaking/result/GetSeasonModelMasterResult.d.ts +14 -0
  190. package/matchmaking/result/GetSeasonModelMasterResult.js +48 -0
  191. package/matchmaking/result/GetSeasonModelMasterResult.js.map +1 -0
  192. package/matchmaking/result/GetSeasonModelMasterResult.ts +47 -0
  193. package/matchmaking/result/GetSeasonModelResult.d.ts +14 -0
  194. package/matchmaking/result/GetSeasonModelResult.js +48 -0
  195. package/matchmaking/result/GetSeasonModelResult.js.map +1 -0
  196. package/matchmaking/result/GetSeasonModelResult.ts +47 -0
  197. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
  198. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
  199. package/matchmaking/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
  200. package/matchmaking/result/{UpdateCurrentRatingModelMasterResult.ts → UpdateCurrentModelMasterFromGitHubResult.ts} +8 -8
  201. package/matchmaking/result/UpdateCurrentModelMasterResult.d.ts +14 -0
  202. package/matchmaking/result/UpdateCurrentModelMasterResult.js +48 -0
  203. package/matchmaking/result/UpdateCurrentModelMasterResult.js.map +1 -0
  204. package/matchmaking/result/{UpdateCurrentRatingModelMasterFromGitHubResult.ts → UpdateCurrentModelMasterResult.ts} +8 -8
  205. package/matchmaking/result/UpdateSeasonModelMasterResult.d.ts +14 -0
  206. package/matchmaking/result/UpdateSeasonModelMasterResult.js +48 -0
  207. package/matchmaking/result/UpdateSeasonModelMasterResult.js.map +1 -0
  208. package/matchmaking/result/UpdateSeasonModelMasterResult.ts +47 -0
  209. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.d.ts +13 -0
  210. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js +45 -0
  211. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.js.map +1 -0
  212. package/matchmaking/result/VerifyIncludeParticipantByStampTaskResult.ts +46 -0
  213. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.d.ts +9 -0
  214. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js +30 -0
  215. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.js.map +1 -0
  216. package/matchmaking/result/VerifyIncludeParticipantByUserIdResult.ts +29 -0
  217. package/matchmaking/result/VerifyIncludeParticipantResult.d.ts +9 -0
  218. package/matchmaking/result/VerifyIncludeParticipantResult.js +30 -0
  219. package/matchmaking/result/VerifyIncludeParticipantResult.js.map +1 -0
  220. package/matchmaking/result/VerifyIncludeParticipantResult.ts +29 -0
  221. package/matchmaking/result/index.d.ts +24 -4
  222. package/matchmaking/result/index.js +48 -8
  223. package/matchmaking/result/index.js.map +1 -1
  224. package/matchmaking/result/index.ts +46 -6
  225. package/package.json +1 -1
  226. package/matchmaking/model/CurrentRatingModelMaster.js.map +0 -1
  227. package/matchmaking/request/GetCurrentRatingModelMasterRequest.js.map +0 -1
  228. package/matchmaking/request/UpdateCurrentRatingModelMasterFromGitHubRequest.js.map +0 -1
  229. package/matchmaking/request/UpdateCurrentRatingModelMasterRequest.js.map +0 -1
  230. package/matchmaking/result/GetCurrentRatingModelMasterResult.d.ts +0 -14
  231. package/matchmaking/result/GetCurrentRatingModelMasterResult.js.map +0 -1
  232. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.d.ts +0 -14
  233. package/matchmaking/result/UpdateCurrentRatingModelMasterFromGitHubResult.js.map +0 -1
  234. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.d.ts +0 -14
  235. package/matchmaking/result/UpdateCurrentRatingModelMasterResult.js.map +0 -1
@@ -0,0 +1,309 @@
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}:season:{seasonName}:{season}:{tier}:gathering:{seasonGatheringName}";
19
+
20
+ export default class SeasonGathering implements IModel {
21
+ private seasonGatheringId: string|null = null;
22
+ private seasonName: string|null = null;
23
+ private season: number|null = null;
24
+ private tier: number|null = null;
25
+ private name: string|null = null;
26
+ private participants: string[]|null = null;
27
+ private createdAt: number|null = null;
28
+ private revision: number|null = null;
29
+
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{seasonName}', '.*')
36
+ .replace('{season}', '.*')
37
+ .replace('{tier}', '.*')
38
+ .replace('{seasonGatheringName}', '.*')
39
+ );
40
+ if (match) {
41
+ return match[1];
42
+ }
43
+ return null;
44
+ }
45
+
46
+ public static getOwnerId(grn: string): string|null {
47
+ const match = grn.match(grnFormat
48
+ .replace('{region}', '.*')
49
+ .replace('{ownerId}', '(.*)')
50
+ .replace('{namespaceName}', '.*')
51
+ .replace('{seasonName}', '.*')
52
+ .replace('{season}', '.*')
53
+ .replace('{tier}', '.*')
54
+ .replace('{seasonGatheringName}', '.*')
55
+ );
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ }
61
+
62
+ public static getNamespaceName(grn: string): string|null {
63
+ const match = grn.match(grnFormat
64
+ .replace('{region}', '.*')
65
+ .replace('{ownerId}', '.*')
66
+ .replace('{namespaceName}', '(.*)')
67
+ .replace('{seasonName}', '.*')
68
+ .replace('{season}', '.*')
69
+ .replace('{tier}', '.*')
70
+ .replace('{seasonGatheringName}', '.*')
71
+ );
72
+ if (match) {
73
+ return match[1];
74
+ }
75
+ return null;
76
+ }
77
+
78
+ public static getSeasonName(grn: string): string|null {
79
+ const match = grn.match(grnFormat
80
+ .replace('{region}', '.*')
81
+ .replace('{ownerId}', '.*')
82
+ .replace('{namespaceName}', '.*')
83
+ .replace('{seasonName}', '(.*)')
84
+ .replace('{season}', '.*')
85
+ .replace('{tier}', '.*')
86
+ .replace('{seasonGatheringName}', '.*')
87
+ );
88
+ if (match) {
89
+ return match[1];
90
+ }
91
+ return null;
92
+ }
93
+
94
+ public static getSeason(grn: string): string|null {
95
+ const match = grn.match(grnFormat
96
+ .replace('{region}', '.*')
97
+ .replace('{ownerId}', '.*')
98
+ .replace('{namespaceName}', '.*')
99
+ .replace('{seasonName}', '.*')
100
+ .replace('{season}', '(.*)')
101
+ .replace('{tier}', '.*')
102
+ .replace('{seasonGatheringName}', '.*')
103
+ );
104
+ if (match) {
105
+ return match[1];
106
+ }
107
+ return null;
108
+ }
109
+
110
+ public static getTier(grn: string): string|null {
111
+ const match = grn.match(grnFormat
112
+ .replace('{region}', '.*')
113
+ .replace('{ownerId}', '.*')
114
+ .replace('{namespaceName}', '.*')
115
+ .replace('{seasonName}', '.*')
116
+ .replace('{season}', '.*')
117
+ .replace('{tier}', '(.*)')
118
+ .replace('{seasonGatheringName}', '.*')
119
+ );
120
+ if (match) {
121
+ return match[1];
122
+ }
123
+ return null;
124
+ }
125
+
126
+ public static getSeasonGatheringName(grn: string): string|null {
127
+ const match = grn.match(grnFormat
128
+ .replace('{region}', '.*')
129
+ .replace('{ownerId}', '.*')
130
+ .replace('{namespaceName}', '.*')
131
+ .replace('{seasonName}', '.*')
132
+ .replace('{season}', '.*')
133
+ .replace('{tier}', '.*')
134
+ .replace('{seasonGatheringName}', '(.*)')
135
+ );
136
+ if (match) {
137
+ return match[1];
138
+ }
139
+ return null;
140
+ }
141
+
142
+ public static isValid(grn: string): boolean {
143
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
144
+ return false;
145
+ }
146
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
147
+ return false;
148
+ }
149
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
150
+ return false;
151
+ }
152
+ if (this.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
153
+ return false;
154
+ }
155
+ if (this.getSeason(grn) == null || this.getSeason(grn) === '') {
156
+ return false;
157
+ }
158
+ if (this.getTier(grn) == null || this.getTier(grn) === '') {
159
+ return false;
160
+ }
161
+ if (this.getSeasonGatheringName(grn) == null || this.getSeasonGatheringName(grn) === '') {
162
+ return false;
163
+ }
164
+ return true;
165
+ }
166
+
167
+ public static createGrn(
168
+ region: string|null,
169
+ ownerId: string|null,
170
+ namespaceName: string|null,
171
+ seasonName: string|null,
172
+ season: string|null,
173
+ tier: string|null,
174
+ seasonGatheringName: string|null,
175
+ ): string|null {
176
+ return grnFormat
177
+ .replace('{region}', region ?? '')
178
+ .replace('{ownerId}', ownerId ?? '')
179
+ .replace('{namespaceName}', namespaceName ?? '')
180
+ .replace('{seasonName}', seasonName ?? '')
181
+ .replace('{season}', season ?? '')
182
+ .replace('{tier}', tier ?? '')
183
+ .replace('{seasonGatheringName}', seasonGatheringName ?? '');
184
+ }
185
+ public getSeasonGatheringId(): string|null {
186
+ return this.seasonGatheringId;
187
+ }
188
+ public setSeasonGatheringId(seasonGatheringId: string|null) {
189
+ this.seasonGatheringId = seasonGatheringId;
190
+ return this;
191
+ }
192
+ public withSeasonGatheringId(seasonGatheringId: string|null): this {
193
+ this.seasonGatheringId = seasonGatheringId;
194
+ return this;
195
+ }
196
+ public getSeasonName(): string|null {
197
+ return this.seasonName;
198
+ }
199
+ public setSeasonName(seasonName: string|null) {
200
+ this.seasonName = seasonName;
201
+ return this;
202
+ }
203
+ public withSeasonName(seasonName: string|null): this {
204
+ this.seasonName = seasonName;
205
+ return this;
206
+ }
207
+ public getSeason(): number|null {
208
+ return this.season;
209
+ }
210
+ public setSeason(season: number|null) {
211
+ this.season = season;
212
+ return this;
213
+ }
214
+ public withSeason(season: number|null): this {
215
+ this.season = season;
216
+ return this;
217
+ }
218
+ public getTier(): number|null {
219
+ return this.tier;
220
+ }
221
+ public setTier(tier: number|null) {
222
+ this.tier = tier;
223
+ return this;
224
+ }
225
+ public withTier(tier: number|null): this {
226
+ this.tier = tier;
227
+ return this;
228
+ }
229
+ public getName(): string|null {
230
+ return this.name;
231
+ }
232
+ public setName(name: string|null) {
233
+ this.name = name;
234
+ return this;
235
+ }
236
+ public withName(name: string|null): this {
237
+ this.name = name;
238
+ return this;
239
+ }
240
+ public getParticipants(): string[]|null {
241
+ return this.participants;
242
+ }
243
+ public setParticipants(participants: string[]|null) {
244
+ this.participants = participants;
245
+ return this;
246
+ }
247
+ public withParticipants(participants: string[]|null): this {
248
+ this.participants = participants;
249
+ return this;
250
+ }
251
+ public getCreatedAt(): number|null {
252
+ return this.createdAt;
253
+ }
254
+ public setCreatedAt(createdAt: number|null) {
255
+ this.createdAt = createdAt;
256
+ return this;
257
+ }
258
+ public withCreatedAt(createdAt: number|null): this {
259
+ this.createdAt = createdAt;
260
+ return this;
261
+ }
262
+ public getRevision(): number|null {
263
+ return this.revision;
264
+ }
265
+ public setRevision(revision: number|null) {
266
+ this.revision = revision;
267
+ return this;
268
+ }
269
+ public withRevision(revision: number|null): this {
270
+ this.revision = revision;
271
+ return this;
272
+ }
273
+
274
+ public static fromDict(data: {[key: string]: any}): SeasonGathering|null {
275
+ if (data == undefined || data == null) {
276
+ return null;
277
+ }
278
+ return new SeasonGathering()
279
+ .withSeasonGatheringId(data["seasonGatheringId"])
280
+ .withSeasonName(data["seasonName"])
281
+ .withSeason(data["season"])
282
+ .withTier(data["tier"])
283
+ .withName(data["name"])
284
+ .withParticipants(data.participants ?
285
+ data.participants.map((item: {[key: string]: any}) => {
286
+ return item;
287
+ }
288
+ ) : [])
289
+ .withCreatedAt(data["createdAt"])
290
+ .withRevision(data["revision"]);
291
+ }
292
+
293
+ public toDict(): {[key: string]: any} {
294
+ return {
295
+ "seasonGatheringId": this.getSeasonGatheringId(),
296
+ "seasonName": this.getSeasonName(),
297
+ "season": this.getSeason(),
298
+ "tier": this.getTier(),
299
+ "name": this.getName(),
300
+ "participants": this.getParticipants() ?
301
+ this.getParticipants()!.map((item: string) => {
302
+ return item;
303
+ }
304
+ ) : [],
305
+ "createdAt": this.getCreatedAt(),
306
+ "revision": this.getRevision(),
307
+ };
308
+ }
309
+ }
@@ -0,0 +1,39 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class SeasonModel implements IModel {
3
+ private seasonModelId;
4
+ private name;
5
+ private metadata;
6
+ private maximumParticipants;
7
+ private experienceModelId;
8
+ private challengePeriodEventId;
9
+ static getRegion(grn: string): string | null;
10
+ static getOwnerId(grn: string): string | null;
11
+ static getNamespaceName(grn: string): string | null;
12
+ static getSeasonName(grn: string): string | null;
13
+ static isValid(grn: string): boolean;
14
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null): string | null;
15
+ getSeasonModelId(): string | null;
16
+ setSeasonModelId(seasonModelId: string | null): this;
17
+ withSeasonModelId(seasonModelId: string | null): this;
18
+ getName(): string | null;
19
+ setName(name: string | null): this;
20
+ withName(name: string | null): this;
21
+ getMetadata(): string | null;
22
+ setMetadata(metadata: string | null): this;
23
+ withMetadata(metadata: string | null): this;
24
+ getMaximumParticipants(): number | null;
25
+ setMaximumParticipants(maximumParticipants: number | null): this;
26
+ withMaximumParticipants(maximumParticipants: number | null): this;
27
+ getExperienceModelId(): string | null;
28
+ setExperienceModelId(experienceModelId: string | null): this;
29
+ withExperienceModelId(experienceModelId: string | null): this;
30
+ getChallengePeriodEventId(): string | null;
31
+ setChallengePeriodEventId(challengePeriodEventId: string | null): this;
32
+ withChallengePeriodEventId(challengePeriodEventId: string | null): this;
33
+ static fromDict(data: {
34
+ [key: string]: any;
35
+ }): SeasonModel | 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}:matchmaking:{namespaceName}:model:{seasonName}";
19
+ var SeasonModel = /** @class */ (function () {
20
+ function SeasonModel() {
21
+ this.seasonModelId = null;
22
+ this.name = null;
23
+ this.metadata = null;
24
+ this.maximumParticipants = null;
25
+ this.experienceModelId = null;
26
+ this.challengePeriodEventId = null;
27
+ }
28
+ SeasonModel.getRegion = function (grn) {
29
+ var match = grn.match(grnFormat
30
+ .replace('{region}', '(.*)')
31
+ .replace('{ownerId}', '.*')
32
+ .replace('{namespaceName}', '.*')
33
+ .replace('{seasonName}', '.*'));
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ };
39
+ SeasonModel.getOwnerId = function (grn) {
40
+ var match = grn.match(grnFormat
41
+ .replace('{region}', '.*')
42
+ .replace('{ownerId}', '(.*)')
43
+ .replace('{namespaceName}', '.*')
44
+ .replace('{seasonName}', '.*'));
45
+ if (match) {
46
+ return match[1];
47
+ }
48
+ return null;
49
+ };
50
+ SeasonModel.getNamespaceName = function (grn) {
51
+ var match = grn.match(grnFormat
52
+ .replace('{region}', '.*')
53
+ .replace('{ownerId}', '.*')
54
+ .replace('{namespaceName}', '(.*)')
55
+ .replace('{seasonName}', '.*'));
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ };
61
+ SeasonModel.getSeasonName = function (grn) {
62
+ var match = grn.match(grnFormat
63
+ .replace('{region}', '.*')
64
+ .replace('{ownerId}', '.*')
65
+ .replace('{namespaceName}', '.*')
66
+ .replace('{seasonName}', '(.*)'));
67
+ if (match) {
68
+ return match[1];
69
+ }
70
+ return null;
71
+ };
72
+ SeasonModel.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.getSeasonName(grn) == null || this.getSeasonName(grn) === '') {
83
+ return false;
84
+ }
85
+ return true;
86
+ };
87
+ SeasonModel.createGrn = function (region, ownerId, namespaceName, seasonName) {
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('{seasonName}', seasonName !== null && seasonName !== void 0 ? seasonName : '');
93
+ };
94
+ SeasonModel.prototype.getSeasonModelId = function () {
95
+ return this.seasonModelId;
96
+ };
97
+ SeasonModel.prototype.setSeasonModelId = function (seasonModelId) {
98
+ this.seasonModelId = seasonModelId;
99
+ return this;
100
+ };
101
+ SeasonModel.prototype.withSeasonModelId = function (seasonModelId) {
102
+ this.seasonModelId = seasonModelId;
103
+ return this;
104
+ };
105
+ SeasonModel.prototype.getName = function () {
106
+ return this.name;
107
+ };
108
+ SeasonModel.prototype.setName = function (name) {
109
+ this.name = name;
110
+ return this;
111
+ };
112
+ SeasonModel.prototype.withName = function (name) {
113
+ this.name = name;
114
+ return this;
115
+ };
116
+ SeasonModel.prototype.getMetadata = function () {
117
+ return this.metadata;
118
+ };
119
+ SeasonModel.prototype.setMetadata = function (metadata) {
120
+ this.metadata = metadata;
121
+ return this;
122
+ };
123
+ SeasonModel.prototype.withMetadata = function (metadata) {
124
+ this.metadata = metadata;
125
+ return this;
126
+ };
127
+ SeasonModel.prototype.getMaximumParticipants = function () {
128
+ return this.maximumParticipants;
129
+ };
130
+ SeasonModel.prototype.setMaximumParticipants = function (maximumParticipants) {
131
+ this.maximumParticipants = maximumParticipants;
132
+ return this;
133
+ };
134
+ SeasonModel.prototype.withMaximumParticipants = function (maximumParticipants) {
135
+ this.maximumParticipants = maximumParticipants;
136
+ return this;
137
+ };
138
+ SeasonModel.prototype.getExperienceModelId = function () {
139
+ return this.experienceModelId;
140
+ };
141
+ SeasonModel.prototype.setExperienceModelId = function (experienceModelId) {
142
+ this.experienceModelId = experienceModelId;
143
+ return this;
144
+ };
145
+ SeasonModel.prototype.withExperienceModelId = function (experienceModelId) {
146
+ this.experienceModelId = experienceModelId;
147
+ return this;
148
+ };
149
+ SeasonModel.prototype.getChallengePeriodEventId = function () {
150
+ return this.challengePeriodEventId;
151
+ };
152
+ SeasonModel.prototype.setChallengePeriodEventId = function (challengePeriodEventId) {
153
+ this.challengePeriodEventId = challengePeriodEventId;
154
+ return this;
155
+ };
156
+ SeasonModel.prototype.withChallengePeriodEventId = function (challengePeriodEventId) {
157
+ this.challengePeriodEventId = challengePeriodEventId;
158
+ return this;
159
+ };
160
+ SeasonModel.fromDict = function (data) {
161
+ if (data == undefined || data == null) {
162
+ return null;
163
+ }
164
+ return new SeasonModel()
165
+ .withSeasonModelId(data["seasonModelId"])
166
+ .withName(data["name"])
167
+ .withMetadata(data["metadata"])
168
+ .withMaximumParticipants(data["maximumParticipants"])
169
+ .withExperienceModelId(data["experienceModelId"])
170
+ .withChallengePeriodEventId(data["challengePeriodEventId"]);
171
+ };
172
+ SeasonModel.prototype.toDict = function () {
173
+ return {
174
+ "seasonModelId": this.getSeasonModelId(),
175
+ "name": this.getName(),
176
+ "metadata": this.getMetadata(),
177
+ "maximumParticipants": this.getMaximumParticipants(),
178
+ "experienceModelId": this.getExperienceModelId(),
179
+ "challengePeriodEventId": this.getChallengePeriodEventId(),
180
+ };
181
+ };
182
+ return SeasonModel;
183
+ }());
184
+ exports.default = SeasonModel;
185
+ //# sourceMappingURL=SeasonModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SeasonModel.js","sourceRoot":"","sources":["SeasonModel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,2EAA2E,CAAC;AAEtG;IAAA;QACY,kBAAa,GAAgB,IAAI,CAAC;QAClC,SAAI,GAAgB,IAAI,CAAC;QACzB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,wBAAmB,GAAgB,IAAI,CAAC;QACxC,sBAAiB,GAAgB,IAAI,CAAC;QACtC,2BAAsB,GAAgB,IAAI,CAAC;IA4KvD,CAAC;IA1KiB,qBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,cAAc,EAAE,IAAI,CAAC,CACjC,CAAC;QACF,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;SACnB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sBAAU,GAAxB,UAAyB,GAAW;QAChC,I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