gs2 1.3.229 → 1.3.233

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 (399) hide show
  1. package/buff/index.d.ts +5 -0
  2. package/buff/index.js +28 -0
  3. package/buff/index.js.map +1 -0
  4. package/buff/index.ts +27 -0
  5. package/buff/model/BuffEntryModel.d.ts +53 -0
  6. package/buff/model/BuffEntryModel.js +231 -0
  7. package/buff/model/BuffEntryModel.js.map +1 -0
  8. package/buff/model/BuffEntryModel.ts +243 -0
  9. package/buff/model/BuffEntryModelMaster.d.ts +69 -0
  10. package/buff/model/BuffEntryModelMaster.js +287 -0
  11. package/buff/model/BuffEntryModelMaster.js.map +1 -0
  12. package/buff/model/BuffEntryModelMaster.ts +299 -0
  13. package/buff/model/BuffTargetAction.d.ts +26 -0
  14. package/buff/model/BuffTargetAction.js +98 -0
  15. package/buff/model/BuffTargetAction.js.map +1 -0
  16. package/buff/model/BuffTargetAction.ts +97 -0
  17. package/buff/model/BuffTargetGrn.d.ts +17 -0
  18. package/buff/model/BuffTargetGrn.js +62 -0
  19. package/buff/model/BuffTargetGrn.js.map +1 -0
  20. package/buff/model/BuffTargetGrn.ts +60 -0
  21. package/buff/model/BuffTargetModel.d.ts +26 -0
  22. package/buff/model/BuffTargetModel.js +98 -0
  23. package/buff/model/BuffTargetModel.js.map +1 -0
  24. package/buff/model/BuffTargetModel.ts +97 -0
  25. package/buff/model/CurrentBuffMaster.d.ts +22 -0
  26. package/buff/model/CurrentBuffMaster.js +111 -0
  27. package/buff/model/CurrentBuffMaster.js.map +1 -0
  28. package/buff/model/CurrentBuffMaster.ts +121 -0
  29. package/buff/model/GitHubCheckoutSetting.d.ts +37 -0
  30. package/buff/model/GitHubCheckoutSetting.js +132 -0
  31. package/buff/model/GitHubCheckoutSetting.js.map +1 -0
  32. package/buff/model/GitHubCheckoutSetting.ts +130 -0
  33. package/buff/model/LogSetting.d.ts +13 -0
  34. package/buff/model/LogSetting.js +48 -0
  35. package/buff/model/LogSetting.js.map +1 -0
  36. package/buff/model/LogSetting.ts +46 -0
  37. package/buff/model/Namespace.d.ts +43 -0
  38. package/buff/model/Namespace.js +184 -0
  39. package/buff/model/Namespace.js.map +1 -0
  40. package/buff/model/Namespace.ts +192 -0
  41. package/buff/model/index.d.ts +10 -0
  42. package/buff/model/index.js +38 -0
  43. package/buff/model/index.js.map +1 -0
  44. package/buff/model/index.ts +36 -0
  45. package/buff/request/ApplyBuffByUserIdRequest.d.ts +33 -0
  46. package/buff/request/ApplyBuffByUserIdRequest.js +109 -0
  47. package/buff/request/ApplyBuffByUserIdRequest.js.map +1 -0
  48. package/buff/request/ApplyBuffByUserIdRequest.ts +119 -0
  49. package/buff/request/ApplyBuffRequest.d.ts +29 -0
  50. package/buff/request/ApplyBuffRequest.js +95 -0
  51. package/buff/request/ApplyBuffRequest.js.map +1 -0
  52. package/buff/request/ApplyBuffRequest.ts +105 -0
  53. package/buff/request/CheckCleanUserDataByUserIdRequest.d.ts +29 -0
  54. package/buff/request/CheckCleanUserDataByUserIdRequest.js +95 -0
  55. package/buff/request/CheckCleanUserDataByUserIdRequest.js.map +1 -0
  56. package/buff/request/CheckCleanUserDataByUserIdRequest.ts +105 -0
  57. package/buff/request/CheckDumpUserDataByUserIdRequest.d.ts +29 -0
  58. package/buff/request/CheckDumpUserDataByUserIdRequest.js +95 -0
  59. package/buff/request/CheckDumpUserDataByUserIdRequest.js.map +1 -0
  60. package/buff/request/CheckDumpUserDataByUserIdRequest.ts +105 -0
  61. package/buff/request/CheckImportUserDataByUserIdRequest.d.ts +33 -0
  62. package/buff/request/CheckImportUserDataByUserIdRequest.js +109 -0
  63. package/buff/request/CheckImportUserDataByUserIdRequest.js.map +1 -0
  64. package/buff/request/CheckImportUserDataByUserIdRequest.ts +119 -0
  65. package/buff/request/CleanUserDataByUserIdRequest.d.ts +29 -0
  66. package/buff/request/CleanUserDataByUserIdRequest.js +95 -0
  67. package/buff/request/CleanUserDataByUserIdRequest.js.map +1 -0
  68. package/buff/request/CleanUserDataByUserIdRequest.ts +105 -0
  69. package/buff/request/CreateBuffEntryModelMasterRequest.d.ts +58 -0
  70. package/buff/request/CreateBuffEntryModelMasterRequest.js +198 -0
  71. package/buff/request/CreateBuffEntryModelMasterRequest.js.map +1 -0
  72. package/buff/request/CreateBuffEntryModelMasterRequest.ts +202 -0
  73. package/buff/request/CreateNamespaceRequest.d.ts +30 -0
  74. package/buff/request/CreateNamespaceRequest.js +100 -0
  75. package/buff/request/CreateNamespaceRequest.js.map +1 -0
  76. package/buff/request/CreateNamespaceRequest.ts +104 -0
  77. package/buff/request/DeleteBuffEntryModelMasterRequest.d.ts +25 -0
  78. package/buff/request/DeleteBuffEntryModelMasterRequest.js +83 -0
  79. package/buff/request/DeleteBuffEntryModelMasterRequest.js.map +1 -0
  80. package/buff/request/DeleteBuffEntryModelMasterRequest.ts +90 -0
  81. package/buff/request/DeleteNamespaceRequest.d.ts +21 -0
  82. package/buff/request/DeleteNamespaceRequest.js +69 -0
  83. package/buff/request/DeleteNamespaceRequest.js.map +1 -0
  84. package/buff/request/DeleteNamespaceRequest.ts +76 -0
  85. package/buff/request/DescribeBuffEntryModelMastersRequest.d.ts +29 -0
  86. package/buff/request/DescribeBuffEntryModelMastersRequest.js +97 -0
  87. package/buff/request/DescribeBuffEntryModelMastersRequest.js.map +1 -0
  88. package/buff/request/DescribeBuffEntryModelMastersRequest.ts +104 -0
  89. package/buff/request/DescribeBuffEntryModelsRequest.d.ts +21 -0
  90. package/buff/request/DescribeBuffEntryModelsRequest.js +69 -0
  91. package/buff/request/DescribeBuffEntryModelsRequest.js.map +1 -0
  92. package/buff/request/DescribeBuffEntryModelsRequest.ts +76 -0
  93. package/buff/request/DescribeNamespacesRequest.d.ts +25 -0
  94. package/buff/request/DescribeNamespacesRequest.js +83 -0
  95. package/buff/request/DescribeNamespacesRequest.js.map +1 -0
  96. package/buff/request/DescribeNamespacesRequest.ts +90 -0
  97. package/buff/request/DumpUserDataByUserIdRequest.d.ts +29 -0
  98. package/buff/request/DumpUserDataByUserIdRequest.js +95 -0
  99. package/buff/request/DumpUserDataByUserIdRequest.js.map +1 -0
  100. package/buff/request/DumpUserDataByUserIdRequest.ts +105 -0
  101. package/buff/request/ExportMasterRequest.d.ts +21 -0
  102. package/buff/request/ExportMasterRequest.js +69 -0
  103. package/buff/request/ExportMasterRequest.js.map +1 -0
  104. package/buff/request/ExportMasterRequest.ts +76 -0
  105. package/buff/request/GetBuffEntryModelMasterRequest.d.ts +25 -0
  106. package/buff/request/GetBuffEntryModelMasterRequest.js +83 -0
  107. package/buff/request/GetBuffEntryModelMasterRequest.js.map +1 -0
  108. package/buff/request/GetBuffEntryModelMasterRequest.ts +90 -0
  109. package/buff/request/GetBuffEntryModelRequest.d.ts +25 -0
  110. package/buff/request/GetBuffEntryModelRequest.js +83 -0
  111. package/buff/request/GetBuffEntryModelRequest.js.map +1 -0
  112. package/buff/request/GetBuffEntryModelRequest.ts +90 -0
  113. package/buff/request/GetCurrentBuffMasterRequest.d.ts +21 -0
  114. package/buff/request/GetCurrentBuffMasterRequest.js +69 -0
  115. package/buff/request/GetCurrentBuffMasterRequest.js.map +1 -0
  116. package/buff/request/GetCurrentBuffMasterRequest.ts +76 -0
  117. package/buff/request/GetNamespaceRequest.d.ts +21 -0
  118. package/buff/request/GetNamespaceRequest.js +69 -0
  119. package/buff/request/GetNamespaceRequest.js.map +1 -0
  120. package/buff/request/GetNamespaceRequest.ts +76 -0
  121. package/buff/request/GetNamespaceStatusRequest.d.ts +21 -0
  122. package/buff/request/GetNamespaceStatusRequest.js +69 -0
  123. package/buff/request/GetNamespaceStatusRequest.js.map +1 -0
  124. package/buff/request/GetNamespaceStatusRequest.ts +76 -0
  125. package/buff/request/ImportUserDataByUserIdRequest.d.ts +33 -0
  126. package/buff/request/ImportUserDataByUserIdRequest.js +109 -0
  127. package/buff/request/ImportUserDataByUserIdRequest.js.map +1 -0
  128. package/buff/request/ImportUserDataByUserIdRequest.ts +119 -0
  129. package/buff/request/PrepareImportUserDataByUserIdRequest.d.ts +29 -0
  130. package/buff/request/PrepareImportUserDataByUserIdRequest.js +95 -0
  131. package/buff/request/PrepareImportUserDataByUserIdRequest.js.map +1 -0
  132. package/buff/request/PrepareImportUserDataByUserIdRequest.ts +105 -0
  133. package/buff/request/UpdateBuffEntryModelMasterRequest.d.ts +58 -0
  134. package/buff/request/UpdateBuffEntryModelMasterRequest.js +198 -0
  135. package/buff/request/UpdateBuffEntryModelMasterRequest.js.map +1 -0
  136. package/buff/request/UpdateBuffEntryModelMasterRequest.ts +202 -0
  137. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.d.ts +26 -0
  138. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js +86 -0
  139. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js.map +1 -0
  140. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.ts +90 -0
  141. package/buff/request/UpdateCurrentBuffMasterRequest.d.ts +25 -0
  142. package/buff/request/UpdateCurrentBuffMasterRequest.js +83 -0
  143. package/buff/request/UpdateCurrentBuffMasterRequest.js.map +1 -0
  144. package/buff/request/UpdateCurrentBuffMasterRequest.ts +90 -0
  145. package/buff/request/UpdateNamespaceRequest.d.ts +30 -0
  146. package/buff/request/UpdateNamespaceRequest.js +100 -0
  147. package/buff/request/UpdateNamespaceRequest.js.map +1 -0
  148. package/buff/request/UpdateNamespaceRequest.ts +104 -0
  149. package/buff/request/index.d.ts +27 -0
  150. package/buff/request/index.js +72 -0
  151. package/buff/request/index.js.map +1 -0
  152. package/buff/request/index.ts +70 -0
  153. package/buff/rest.d.ts +33 -0
  154. package/buff/rest.js +738 -0
  155. package/buff/rest.js.map +1 -0
  156. package/buff/rest.ts +840 -0
  157. package/buff/result/ApplyBuffByUserIdResult.d.ts +18 -0
  158. package/buff/result/ApplyBuffByUserIdResult.js +67 -0
  159. package/buff/result/ApplyBuffByUserIdResult.js.map +1 -0
  160. package/buff/result/ApplyBuffByUserIdResult.ts +72 -0
  161. package/buff/result/ApplyBuffResult.d.ts +18 -0
  162. package/buff/result/ApplyBuffResult.js +67 -0
  163. package/buff/result/ApplyBuffResult.js.map +1 -0
  164. package/buff/result/ApplyBuffResult.ts +72 -0
  165. package/buff/result/CheckCleanUserDataByUserIdResult.d.ts +9 -0
  166. package/buff/result/CheckCleanUserDataByUserIdResult.js +30 -0
  167. package/buff/result/CheckCleanUserDataByUserIdResult.js.map +1 -0
  168. package/buff/result/CheckCleanUserDataByUserIdResult.ts +29 -0
  169. package/buff/result/CheckDumpUserDataByUserIdResult.d.ts +13 -0
  170. package/buff/result/CheckDumpUserDataByUserIdResult.js +45 -0
  171. package/buff/result/CheckDumpUserDataByUserIdResult.js.map +1 -0
  172. package/buff/result/CheckDumpUserDataByUserIdResult.ts +46 -0
  173. package/buff/result/CheckImportUserDataByUserIdResult.d.ts +13 -0
  174. package/buff/result/CheckImportUserDataByUserIdResult.js +45 -0
  175. package/buff/result/CheckImportUserDataByUserIdResult.js.map +1 -0
  176. package/buff/result/CheckImportUserDataByUserIdResult.ts +46 -0
  177. package/buff/result/CleanUserDataByUserIdResult.d.ts +9 -0
  178. package/buff/result/CleanUserDataByUserIdResult.js +30 -0
  179. package/buff/result/CleanUserDataByUserIdResult.js.map +1 -0
  180. package/buff/result/CleanUserDataByUserIdResult.ts +29 -0
  181. package/buff/result/CreateBuffEntryModelMasterResult.d.ts +14 -0
  182. package/buff/result/CreateBuffEntryModelMasterResult.js +48 -0
  183. package/buff/result/CreateBuffEntryModelMasterResult.js.map +1 -0
  184. package/buff/result/CreateBuffEntryModelMasterResult.ts +47 -0
  185. package/buff/result/CreateNamespaceResult.d.ts +14 -0
  186. package/buff/result/CreateNamespaceResult.js +48 -0
  187. package/buff/result/CreateNamespaceResult.js.map +1 -0
  188. package/buff/result/CreateNamespaceResult.ts +47 -0
  189. package/buff/result/DeleteBuffEntryModelMasterResult.d.ts +14 -0
  190. package/buff/result/DeleteBuffEntryModelMasterResult.js +48 -0
  191. package/buff/result/DeleteBuffEntryModelMasterResult.js.map +1 -0
  192. package/buff/result/DeleteBuffEntryModelMasterResult.ts +47 -0
  193. package/buff/result/DeleteNamespaceResult.d.ts +14 -0
  194. package/buff/result/DeleteNamespaceResult.js +48 -0
  195. package/buff/result/DeleteNamespaceResult.js.map +1 -0
  196. package/buff/result/DeleteNamespaceResult.ts +47 -0
  197. package/buff/result/DescribeBuffEntryModelMastersResult.d.ts +18 -0
  198. package/buff/result/DescribeBuffEntryModelMastersResult.js +67 -0
  199. package/buff/result/DescribeBuffEntryModelMastersResult.js.map +1 -0
  200. package/buff/result/DescribeBuffEntryModelMastersResult.ts +72 -0
  201. package/buff/result/DescribeBuffEntryModelsResult.d.ts +14 -0
  202. package/buff/result/DescribeBuffEntryModelsResult.js +53 -0
  203. package/buff/result/DescribeBuffEntryModelsResult.js.map +1 -0
  204. package/buff/result/DescribeBuffEntryModelsResult.ts +55 -0
  205. package/buff/result/DescribeNamespacesResult.d.ts +18 -0
  206. package/buff/result/DescribeNamespacesResult.js +67 -0
  207. package/buff/result/DescribeNamespacesResult.js.map +1 -0
  208. package/buff/result/DescribeNamespacesResult.ts +72 -0
  209. package/buff/result/DumpUserDataByUserIdResult.d.ts +9 -0
  210. package/buff/result/DumpUserDataByUserIdResult.js +30 -0
  211. package/buff/result/DumpUserDataByUserIdResult.js.map +1 -0
  212. package/buff/result/DumpUserDataByUserIdResult.ts +29 -0
  213. package/buff/result/ExportMasterResult.d.ts +14 -0
  214. package/buff/result/ExportMasterResult.js +48 -0
  215. package/buff/result/ExportMasterResult.js.map +1 -0
  216. package/buff/result/ExportMasterResult.ts +47 -0
  217. package/buff/result/GetBuffEntryModelMasterResult.d.ts +14 -0
  218. package/buff/result/GetBuffEntryModelMasterResult.js +48 -0
  219. package/buff/result/GetBuffEntryModelMasterResult.js.map +1 -0
  220. package/buff/result/GetBuffEntryModelMasterResult.ts +47 -0
  221. package/buff/result/GetBuffEntryModelResult.d.ts +14 -0
  222. package/buff/result/GetBuffEntryModelResult.js +48 -0
  223. package/buff/result/GetBuffEntryModelResult.js.map +1 -0
  224. package/buff/result/GetBuffEntryModelResult.ts +47 -0
  225. package/buff/result/GetCurrentBuffMasterResult.d.ts +14 -0
  226. package/buff/result/GetCurrentBuffMasterResult.js +48 -0
  227. package/buff/result/GetCurrentBuffMasterResult.js.map +1 -0
  228. package/buff/result/GetCurrentBuffMasterResult.ts +47 -0
  229. package/buff/result/GetNamespaceResult.d.ts +14 -0
  230. package/buff/result/GetNamespaceResult.js +48 -0
  231. package/buff/result/GetNamespaceResult.js.map +1 -0
  232. package/buff/result/GetNamespaceResult.ts +47 -0
  233. package/buff/result/GetNamespaceStatusResult.d.ts +13 -0
  234. package/buff/result/GetNamespaceStatusResult.js +45 -0
  235. package/buff/result/GetNamespaceStatusResult.js.map +1 -0
  236. package/buff/result/GetNamespaceStatusResult.ts +46 -0
  237. package/buff/result/ImportUserDataByUserIdResult.d.ts +9 -0
  238. package/buff/result/ImportUserDataByUserIdResult.js +30 -0
  239. package/buff/result/ImportUserDataByUserIdResult.js.map +1 -0
  240. package/buff/result/ImportUserDataByUserIdResult.ts +29 -0
  241. package/buff/result/PrepareImportUserDataByUserIdResult.d.ts +17 -0
  242. package/buff/result/PrepareImportUserDataByUserIdResult.js +59 -0
  243. package/buff/result/PrepareImportUserDataByUserIdResult.js.map +1 -0
  244. package/buff/result/PrepareImportUserDataByUserIdResult.ts +63 -0
  245. package/buff/result/UpdateBuffEntryModelMasterResult.d.ts +14 -0
  246. package/buff/result/UpdateBuffEntryModelMasterResult.js +48 -0
  247. package/buff/result/UpdateBuffEntryModelMasterResult.js.map +1 -0
  248. package/buff/result/UpdateBuffEntryModelMasterResult.ts +47 -0
  249. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.d.ts +14 -0
  250. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js +48 -0
  251. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js.map +1 -0
  252. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.ts +47 -0
  253. package/buff/result/UpdateCurrentBuffMasterResult.d.ts +14 -0
  254. package/buff/result/UpdateCurrentBuffMasterResult.js +48 -0
  255. package/buff/result/UpdateCurrentBuffMasterResult.js.map +1 -0
  256. package/buff/result/UpdateCurrentBuffMasterResult.ts +47 -0
  257. package/buff/result/UpdateNamespaceResult.d.ts +14 -0
  258. package/buff/result/UpdateNamespaceResult.js +48 -0
  259. package/buff/result/UpdateNamespaceResult.js.map +1 -0
  260. package/buff/result/UpdateNamespaceResult.ts +47 -0
  261. package/buff/result/index.d.ts +27 -0
  262. package/buff/result/index.js +72 -0
  263. package/buff/result/index.js.map +1 -0
  264. package/buff/result/index.ts +70 -0
  265. package/index.d.ts +2 -1
  266. package/index.js +3 -1
  267. package/index.js.map +1 -1
  268. package/index.ts +2 -0
  269. package/inventory/result/AddReferenceOfByUserIdResult.d.ts +3 -3
  270. package/inventory/result/AddReferenceOfByUserIdResult.js +2 -8
  271. package/inventory/result/AddReferenceOfByUserIdResult.js.map +1 -1
  272. package/inventory/result/AddReferenceOfByUserIdResult.ts +6 -14
  273. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.d.ts +3 -3
  274. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js +2 -8
  275. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js.map +1 -1
  276. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.ts +6 -14
  277. package/inventory/result/AddReferenceOfResult.d.ts +3 -3
  278. package/inventory/result/AddReferenceOfResult.js +2 -8
  279. package/inventory/result/AddReferenceOfResult.js.map +1 -1
  280. package/inventory/result/AddReferenceOfResult.ts +6 -14
  281. package/inventory/result/DeleteReferenceOfByUserIdResult.d.ts +3 -3
  282. package/inventory/result/DeleteReferenceOfByUserIdResult.js +2 -8
  283. package/inventory/result/DeleteReferenceOfByUserIdResult.js.map +1 -1
  284. package/inventory/result/DeleteReferenceOfByUserIdResult.ts +6 -14
  285. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.d.ts +3 -3
  286. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js +2 -8
  287. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js.map +1 -1
  288. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.ts +6 -14
  289. package/inventory/result/DeleteReferenceOfResult.d.ts +3 -3
  290. package/inventory/result/DeleteReferenceOfResult.js +2 -8
  291. package/inventory/result/DeleteReferenceOfResult.js.map +1 -1
  292. package/inventory/result/DeleteReferenceOfResult.ts +6 -14
  293. package/inventory/result/GetReferenceOfByUserIdResult.d.ts +3 -3
  294. package/inventory/result/GetReferenceOfByUserIdResult.js +2 -8
  295. package/inventory/result/GetReferenceOfByUserIdResult.js.map +1 -1
  296. package/inventory/result/GetReferenceOfByUserIdResult.ts +6 -14
  297. package/inventory/result/GetReferenceOfResult.d.ts +3 -3
  298. package/inventory/result/GetReferenceOfResult.js +2 -8
  299. package/inventory/result/GetReferenceOfResult.js.map +1 -1
  300. package/inventory/result/GetReferenceOfResult.ts +6 -14
  301. package/inventory/result/VerifyReferenceOfByStampTaskResult.d.ts +3 -3
  302. package/inventory/result/VerifyReferenceOfByStampTaskResult.js +2 -8
  303. package/inventory/result/VerifyReferenceOfByStampTaskResult.js.map +1 -1
  304. package/inventory/result/VerifyReferenceOfByStampTaskResult.ts +6 -14
  305. package/inventory/result/VerifyReferenceOfByUserIdResult.d.ts +3 -3
  306. package/inventory/result/VerifyReferenceOfByUserIdResult.js +2 -8
  307. package/inventory/result/VerifyReferenceOfByUserIdResult.js.map +1 -1
  308. package/inventory/result/VerifyReferenceOfByUserIdResult.ts +6 -14
  309. package/inventory/result/VerifyReferenceOfResult.d.ts +3 -3
  310. package/inventory/result/VerifyReferenceOfResult.js +2 -8
  311. package/inventory/result/VerifyReferenceOfResult.js.map +1 -1
  312. package/inventory/result/VerifyReferenceOfResult.ts +6 -14
  313. package/matchmaking/request/EarlyCompleteByUserIdRequest.d.ts +37 -0
  314. package/matchmaking/request/EarlyCompleteByUserIdRequest.js +123 -0
  315. package/matchmaking/request/EarlyCompleteByUserIdRequest.js.map +1 -0
  316. package/matchmaking/request/EarlyCompleteByUserIdRequest.ts +133 -0
  317. package/matchmaking/request/EarlyCompleteRequest.d.ts +33 -0
  318. package/matchmaking/request/EarlyCompleteRequest.js +109 -0
  319. package/matchmaking/request/EarlyCompleteRequest.js.map +1 -0
  320. package/matchmaking/request/EarlyCompleteRequest.ts +119 -0
  321. package/matchmaking/request/index.d.ts +3 -1
  322. package/matchmaking/request/index.js +5 -1
  323. package/matchmaking/request/index.js.map +1 -1
  324. package/matchmaking/request/index.ts +4 -0
  325. package/matchmaking/rest.d.ts +2 -0
  326. package/matchmaking/rest.js +59 -0
  327. package/matchmaking/rest.js.map +1 -1
  328. package/matchmaking/rest.ts +67 -0
  329. package/matchmaking/result/EarlyCompleteByUserIdResult.d.ts +14 -0
  330. package/matchmaking/result/EarlyCompleteByUserIdResult.js +48 -0
  331. package/matchmaking/result/EarlyCompleteByUserIdResult.js.map +1 -0
  332. package/matchmaking/result/EarlyCompleteByUserIdResult.ts +47 -0
  333. package/matchmaking/result/EarlyCompleteResult.d.ts +14 -0
  334. package/matchmaking/result/EarlyCompleteResult.js +48 -0
  335. package/matchmaking/result/EarlyCompleteResult.js.map +1 -0
  336. package/matchmaking/result/EarlyCompleteResult.ts +47 -0
  337. package/matchmaking/result/index.d.ts +3 -1
  338. package/matchmaking/result/index.js +5 -1
  339. package/matchmaking/result/index.js.map +1 -1
  340. package/matchmaking/result/index.ts +4 -0
  341. package/package.json +1 -1
  342. package/script/request/InvokeScriptRequest.d.ts +4 -0
  343. package/script/request/InvokeScriptRequest.js +12 -0
  344. package/script/request/InvokeScriptRequest.js.map +1 -1
  345. package/script/request/InvokeScriptRequest.ts +15 -0
  346. package/script/rest.js +10 -7
  347. package/script/rest.js.map +1 -1
  348. package/script/rest.ts +3 -0
  349. package/serialKey/model/CampaignModel.js +1 -1
  350. package/serialKey/model/CampaignModel.js.map +1 -1
  351. package/serialKey/model/CampaignModel.ts +1 -1
  352. package/serialKey/model/IssueJob.js +1 -1
  353. package/serialKey/model/IssueJob.js.map +1 -1
  354. package/serialKey/model/IssueJob.ts +1 -1
  355. package/watch/model/DictionaryEntryModel.d.ts +26 -0
  356. package/watch/model/DictionaryEntryModel.js +195 -0
  357. package/watch/model/DictionaryEntryModel.js.map +1 -0
  358. package/watch/model/DictionaryEntryModel.ts +217 -0
  359. package/watch/model/FormationForm.d.ts +5 -5
  360. package/watch/model/FormationForm.js +13 -13
  361. package/watch/model/FormationForm.js.map +1 -1
  362. package/watch/model/FormationForm.ts +17 -17
  363. package/watch/model/FormationMold.d.ts +6 -6
  364. package/watch/model/FormationMold.js +21 -21
  365. package/watch/model/FormationMold.js.map +1 -1
  366. package/watch/model/FormationMold.ts +21 -21
  367. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.d.ts +4 -4
  368. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js +9 -9
  369. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js.map +1 -1
  370. package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts +9 -9
  371. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.d.ts +4 -4
  372. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js +9 -9
  373. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js.map +1 -1
  374. package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.ts +9 -9
  375. package/watch/model/KeyKey.d.ts +26 -0
  376. package/watch/model/KeyKey.js +195 -0
  377. package/watch/model/KeyKey.js.map +1 -0
  378. package/watch/model/KeyKey.ts +217 -0
  379. package/watch/model/LotteryLotteryModel.d.ts +26 -0
  380. package/watch/model/LotteryLotteryModel.js +195 -0
  381. package/watch/model/LotteryLotteryModel.js.map +1 -0
  382. package/watch/model/LotteryLotteryModel.ts +217 -0
  383. package/watch/model/MissionMissionTaskModel.d.ts +27 -0
  384. package/watch/model/MissionMissionTaskModel.js +221 -0
  385. package/watch/model/MissionMissionTaskModel.js.map +1 -0
  386. package/watch/model/MissionMissionTaskModel.ts +246 -0
  387. package/watch/model/MoneyWallet.d.ts +3 -3
  388. package/watch/model/MoneyWallet.ts +4 -4
  389. package/watch/model/index.d.ts +5 -1
  390. package/watch/model/index.js +16 -7
  391. package/watch/model/index.js.map +1 -1
  392. package/watch/model/index.ts +8 -0
  393. package/watch/request/DescribeFormationFormMetricsRequest.d.ts +4 -4
  394. package/watch/request/DescribeFormationFormMetricsRequest.js +9 -9
  395. package/watch/request/DescribeFormationFormMetricsRequest.js.map +1 -1
  396. package/watch/request/DescribeFormationFormMetricsRequest.ts +9 -9
  397. package/watch/rest.js +2 -2
  398. package/watch/rest.js.map +1 -1
  399. package/watch/rest.ts +2 -2
@@ -0,0 +1,195 @@
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}:watch:metrics:{year}:{month}:{day}:lottery:namespace:{namespaceName}:lotteryModel:{lotteryName}";
19
+ var LotteryLotteryModel = /** @class */ (function () {
20
+ function LotteryLotteryModel() {
21
+ this.lotteryModelId = null;
22
+ this.lotteryName = null;
23
+ }
24
+ LotteryLotteryModel.getRegion = function (grn) {
25
+ var match = grn.match(grnFormat
26
+ .replace('{region}', '(.*)')
27
+ .replace('{ownerId}', '.*')
28
+ .replace('{year}', '.*')
29
+ .replace('{month}', '.*')
30
+ .replace('{day}', '.*')
31
+ .replace('{namespaceName}', '.*')
32
+ .replace('{lotteryName}', '.*'));
33
+ if (match) {
34
+ return match[1];
35
+ }
36
+ return null;
37
+ };
38
+ LotteryLotteryModel.getOwnerId = function (grn) {
39
+ var match = grn.match(grnFormat
40
+ .replace('{region}', '.*')
41
+ .replace('{ownerId}', '(.*)')
42
+ .replace('{year}', '.*')
43
+ .replace('{month}', '.*')
44
+ .replace('{day}', '.*')
45
+ .replace('{namespaceName}', '.*')
46
+ .replace('{lotteryName}', '.*'));
47
+ if (match) {
48
+ return match[1];
49
+ }
50
+ return null;
51
+ };
52
+ LotteryLotteryModel.getYear = function (grn) {
53
+ var match = grn.match(grnFormat
54
+ .replace('{region}', '.*')
55
+ .replace('{ownerId}', '.*')
56
+ .replace('{year}', '(.*)')
57
+ .replace('{month}', '.*')
58
+ .replace('{day}', '.*')
59
+ .replace('{namespaceName}', '.*')
60
+ .replace('{lotteryName}', '.*'));
61
+ if (match) {
62
+ return match[1];
63
+ }
64
+ return null;
65
+ };
66
+ LotteryLotteryModel.getMonth = function (grn) {
67
+ var match = grn.match(grnFormat
68
+ .replace('{region}', '.*')
69
+ .replace('{ownerId}', '.*')
70
+ .replace('{year}', '.*')
71
+ .replace('{month}', '(.*)')
72
+ .replace('{day}', '.*')
73
+ .replace('{namespaceName}', '.*')
74
+ .replace('{lotteryName}', '.*'));
75
+ if (match) {
76
+ return match[1];
77
+ }
78
+ return null;
79
+ };
80
+ LotteryLotteryModel.getDay = function (grn) {
81
+ var match = grn.match(grnFormat
82
+ .replace('{region}', '.*')
83
+ .replace('{ownerId}', '.*')
84
+ .replace('{year}', '.*')
85
+ .replace('{month}', '.*')
86
+ .replace('{day}', '(.*)')
87
+ .replace('{namespaceName}', '.*')
88
+ .replace('{lotteryName}', '.*'));
89
+ if (match) {
90
+ return match[1];
91
+ }
92
+ return null;
93
+ };
94
+ LotteryLotteryModel.getNamespaceName = function (grn) {
95
+ var match = grn.match(grnFormat
96
+ .replace('{region}', '.*')
97
+ .replace('{ownerId}', '.*')
98
+ .replace('{year}', '.*')
99
+ .replace('{month}', '.*')
100
+ .replace('{day}', '.*')
101
+ .replace('{namespaceName}', '(.*)')
102
+ .replace('{lotteryName}', '.*'));
103
+ if (match) {
104
+ return match[1];
105
+ }
106
+ return null;
107
+ };
108
+ LotteryLotteryModel.getLotteryName = function (grn) {
109
+ var match = grn.match(grnFormat
110
+ .replace('{region}', '.*')
111
+ .replace('{ownerId}', '.*')
112
+ .replace('{year}', '.*')
113
+ .replace('{month}', '.*')
114
+ .replace('{day}', '.*')
115
+ .replace('{namespaceName}', '.*')
116
+ .replace('{lotteryName}', '(.*)'));
117
+ if (match) {
118
+ return match[1];
119
+ }
120
+ return null;
121
+ };
122
+ LotteryLotteryModel.isValid = function (grn) {
123
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
124
+ return false;
125
+ }
126
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
127
+ return false;
128
+ }
129
+ if (this.getYear(grn) == null || this.getYear(grn) === '') {
130
+ return false;
131
+ }
132
+ if (this.getMonth(grn) == null || this.getMonth(grn) === '') {
133
+ return false;
134
+ }
135
+ if (this.getDay(grn) == null || this.getDay(grn) === '') {
136
+ return false;
137
+ }
138
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
139
+ return false;
140
+ }
141
+ if (this.getLotteryName(grn) == null || this.getLotteryName(grn) === '') {
142
+ return false;
143
+ }
144
+ return true;
145
+ };
146
+ LotteryLotteryModel.createGrn = function (region, ownerId, year, month, day, namespaceName, lotteryName) {
147
+ return grnFormat
148
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
149
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
150
+ .replace('{year}', year !== null && year !== void 0 ? year : '')
151
+ .replace('{month}', month !== null && month !== void 0 ? month : '')
152
+ .replace('{day}', day !== null && day !== void 0 ? day : '')
153
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
154
+ .replace('{lotteryName}', lotteryName !== null && lotteryName !== void 0 ? lotteryName : '');
155
+ };
156
+ LotteryLotteryModel.prototype.getLotteryModelId = function () {
157
+ return this.lotteryModelId;
158
+ };
159
+ LotteryLotteryModel.prototype.setLotteryModelId = function (lotteryModelId) {
160
+ this.lotteryModelId = lotteryModelId;
161
+ return this;
162
+ };
163
+ LotteryLotteryModel.prototype.withLotteryModelId = function (lotteryModelId) {
164
+ this.lotteryModelId = lotteryModelId;
165
+ return this;
166
+ };
167
+ LotteryLotteryModel.prototype.getLotteryName = function () {
168
+ return this.lotteryName;
169
+ };
170
+ LotteryLotteryModel.prototype.setLotteryName = function (lotteryName) {
171
+ this.lotteryName = lotteryName;
172
+ return this;
173
+ };
174
+ LotteryLotteryModel.prototype.withLotteryName = function (lotteryName) {
175
+ this.lotteryName = lotteryName;
176
+ return this;
177
+ };
178
+ LotteryLotteryModel.fromDict = function (data) {
179
+ if (data == undefined || data == null) {
180
+ return null;
181
+ }
182
+ return new LotteryLotteryModel()
183
+ .withLotteryModelId(data["lotteryModelId"])
184
+ .withLotteryName(data["lotteryName"]);
185
+ };
186
+ LotteryLotteryModel.prototype.toDict = function () {
187
+ return {
188
+ "lotteryModelId": this.getLotteryModelId(),
189
+ "lotteryName": this.getLotteryName(),
190
+ };
191
+ };
192
+ return LotteryLotteryModel;
193
+ }());
194
+ exports.default = LotteryLotteryModel;
195
+ //# sourceMappingURL=LotteryLotteryModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LotteryLotteryModel.js","sourceRoot":"","sources":["LotteryLotteryModel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAGH,IAAM,SAAS,GAAW,4HAA4H,CAAC;AAEvJ;IAAA;QACY,mBAAc,GAAgB,IAAI,CAAC;QACnC,gBAAW,GAAgB,IAAI,CAAC;IAmM5C,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C,gBAAgB,CAAC,CAAC;aAC1C,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,oCAAM,GAAb;QACI,OAAO;YACH,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AArMD,IAqMC"}
@@ -0,0 +1,217 @@
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}:watch:metrics:{year}:{month}:{day}:lottery:namespace:{namespaceName}:lotteryModel:{lotteryName}";
19
+
20
+ export default class LotteryLotteryModel implements IModel {
21
+ private lotteryModelId: string|null = null;
22
+ private lotteryName: string|null = null;
23
+
24
+ public static getRegion(grn: string): string|null {
25
+ const match = grn.match(grnFormat
26
+ .replace('{region}', '(.*)')
27
+ .replace('{ownerId}', '.*')
28
+ .replace('{year}', '.*')
29
+ .replace('{month}', '.*')
30
+ .replace('{day}', '.*')
31
+ .replace('{namespaceName}', '.*')
32
+ .replace('{lotteryName}', '.*')
33
+ );
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ }
39
+
40
+ public static getOwnerId(grn: string): string|null {
41
+ const match = grn.match(grnFormat
42
+ .replace('{region}', '.*')
43
+ .replace('{ownerId}', '(.*)')
44
+ .replace('{year}', '.*')
45
+ .replace('{month}', '.*')
46
+ .replace('{day}', '.*')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{lotteryName}', '.*')
49
+ );
50
+ if (match) {
51
+ return match[1];
52
+ }
53
+ return null;
54
+ }
55
+
56
+ public static getYear(grn: string): string|null {
57
+ const match = grn.match(grnFormat
58
+ .replace('{region}', '.*')
59
+ .replace('{ownerId}', '.*')
60
+ .replace('{year}', '(.*)')
61
+ .replace('{month}', '.*')
62
+ .replace('{day}', '.*')
63
+ .replace('{namespaceName}', '.*')
64
+ .replace('{lotteryName}', '.*')
65
+ );
66
+ if (match) {
67
+ return match[1];
68
+ }
69
+ return null;
70
+ }
71
+
72
+ public static getMonth(grn: string): string|null {
73
+ const match = grn.match(grnFormat
74
+ .replace('{region}', '.*')
75
+ .replace('{ownerId}', '.*')
76
+ .replace('{year}', '.*')
77
+ .replace('{month}', '(.*)')
78
+ .replace('{day}', '.*')
79
+ .replace('{namespaceName}', '.*')
80
+ .replace('{lotteryName}', '.*')
81
+ );
82
+ if (match) {
83
+ return match[1];
84
+ }
85
+ return null;
86
+ }
87
+
88
+ public static getDay(grn: string): string|null {
89
+ const match = grn.match(grnFormat
90
+ .replace('{region}', '.*')
91
+ .replace('{ownerId}', '.*')
92
+ .replace('{year}', '.*')
93
+ .replace('{month}', '.*')
94
+ .replace('{day}', '(.*)')
95
+ .replace('{namespaceName}', '.*')
96
+ .replace('{lotteryName}', '.*')
97
+ );
98
+ if (match) {
99
+ return match[1];
100
+ }
101
+ return null;
102
+ }
103
+
104
+ public static getNamespaceName(grn: string): string|null {
105
+ const match = grn.match(grnFormat
106
+ .replace('{region}', '.*')
107
+ .replace('{ownerId}', '.*')
108
+ .replace('{year}', '.*')
109
+ .replace('{month}', '.*')
110
+ .replace('{day}', '.*')
111
+ .replace('{namespaceName}', '(.*)')
112
+ .replace('{lotteryName}', '.*')
113
+ );
114
+ if (match) {
115
+ return match[1];
116
+ }
117
+ return null;
118
+ }
119
+
120
+ public static getLotteryName(grn: string): string|null {
121
+ const match = grn.match(grnFormat
122
+ .replace('{region}', '.*')
123
+ .replace('{ownerId}', '.*')
124
+ .replace('{year}', '.*')
125
+ .replace('{month}', '.*')
126
+ .replace('{day}', '.*')
127
+ .replace('{namespaceName}', '.*')
128
+ .replace('{lotteryName}', '(.*)')
129
+ );
130
+ if (match) {
131
+ return match[1];
132
+ }
133
+ return null;
134
+ }
135
+
136
+ public static isValid(grn: string): boolean {
137
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
138
+ return false;
139
+ }
140
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
141
+ return false;
142
+ }
143
+ if (this.getYear(grn) == null || this.getYear(grn) === '') {
144
+ return false;
145
+ }
146
+ if (this.getMonth(grn) == null || this.getMonth(grn) === '') {
147
+ return false;
148
+ }
149
+ if (this.getDay(grn) == null || this.getDay(grn) === '') {
150
+ return false;
151
+ }
152
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
153
+ return false;
154
+ }
155
+ if (this.getLotteryName(grn) == null || this.getLotteryName(grn) === '') {
156
+ return false;
157
+ }
158
+ return true;
159
+ }
160
+
161
+ public static createGrn(
162
+ region: string|null,
163
+ ownerId: string|null,
164
+ year: string|null,
165
+ month: string|null,
166
+ day: string|null,
167
+ namespaceName: string|null,
168
+ lotteryName: string|null,
169
+ ): string|null {
170
+ return grnFormat
171
+ .replace('{region}', region ?? '')
172
+ .replace('{ownerId}', ownerId ?? '')
173
+ .replace('{year}', year ?? '')
174
+ .replace('{month}', month ?? '')
175
+ .replace('{day}', day ?? '')
176
+ .replace('{namespaceName}', namespaceName ?? '')
177
+ .replace('{lotteryName}', lotteryName ?? '');
178
+ }
179
+ public getLotteryModelId(): string|null {
180
+ return this.lotteryModelId;
181
+ }
182
+ public setLotteryModelId(lotteryModelId: string|null) {
183
+ this.lotteryModelId = lotteryModelId;
184
+ return this;
185
+ }
186
+ public withLotteryModelId(lotteryModelId: string|null): this {
187
+ this.lotteryModelId = lotteryModelId;
188
+ return this;
189
+ }
190
+ public getLotteryName(): string|null {
191
+ return this.lotteryName;
192
+ }
193
+ public setLotteryName(lotteryName: string|null) {
194
+ this.lotteryName = lotteryName;
195
+ return this;
196
+ }
197
+ public withLotteryName(lotteryName: string|null): this {
198
+ this.lotteryName = lotteryName;
199
+ return this;
200
+ }
201
+
202
+ public static fromDict(data: {[key: string]: any}): LotteryLotteryModel|null {
203
+ if (data == undefined || data == null) {
204
+ return null;
205
+ }
206
+ return new LotteryLotteryModel()
207
+ .withLotteryModelId(data["lotteryModelId"])
208
+ .withLotteryName(data["lotteryName"]);
209
+ }
210
+
211
+ public toDict(): {[key: string]: any} {
212
+ return {
213
+ "lotteryModelId": this.getLotteryModelId(),
214
+ "lotteryName": this.getLotteryName(),
215
+ };
216
+ }
217
+ }
@@ -0,0 +1,27 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class MissionMissionTaskModel implements IModel {
3
+ private missionTaskModelId;
4
+ private missionTaskName;
5
+ static getRegion(grn: string): string | null;
6
+ static getOwnerId(grn: string): string | null;
7
+ static getYear(grn: string): string | null;
8
+ static getMonth(grn: string): string | null;
9
+ static getDay(grn: string): string | null;
10
+ static getNamespaceName(grn: string): string | null;
11
+ static getMissionGroupName(grn: string): string | null;
12
+ static getMissionTaskName(grn: string): string | null;
13
+ static isValid(grn: string): boolean;
14
+ static createGrn(region: string | null, ownerId: string | null, year: string | null, month: string | null, day: string | null, namespaceName: string | null, missionGroupName: string | null, missionTaskName: string | null): string | null;
15
+ getMissionTaskModelId(): string | null;
16
+ setMissionTaskModelId(missionTaskModelId: string | null): this;
17
+ withMissionTaskModelId(missionTaskModelId: string | null): this;
18
+ getMissionTaskName(): string | null;
19
+ setMissionTaskName(missionTaskName: string | null): this;
20
+ withMissionTaskName(missionTaskName: string | null): this;
21
+ static fromDict(data: {
22
+ [key: string]: any;
23
+ }): MissionMissionTaskModel | null;
24
+ toDict(): {
25
+ [key: string]: any;
26
+ };
27
+ }
@@ -0,0 +1,221 @@
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}:watch:metrics:{year}:{month}:{day}:mission:namespace:{namespaceName}:missionGroupModel:{missionGroupName}:missionTaskModel:{missionTaskName}";
19
+ var MissionMissionTaskModel = /** @class */ (function () {
20
+ function MissionMissionTaskModel() {
21
+ this.missionTaskModelId = null;
22
+ this.missionTaskName = null;
23
+ }
24
+ MissionMissionTaskModel.getRegion = function (grn) {
25
+ var match = grn.match(grnFormat
26
+ .replace('{region}', '(.*)')
27
+ .replace('{ownerId}', '.*')
28
+ .replace('{year}', '.*')
29
+ .replace('{month}', '.*')
30
+ .replace('{day}', '.*')
31
+ .replace('{namespaceName}', '.*')
32
+ .replace('{missionGroupName}', '.*')
33
+ .replace('{missionTaskName}', '.*'));
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ };
39
+ MissionMissionTaskModel.getOwnerId = function (grn) {
40
+ var match = grn.match(grnFormat
41
+ .replace('{region}', '.*')
42
+ .replace('{ownerId}', '(.*)')
43
+ .replace('{year}', '.*')
44
+ .replace('{month}', '.*')
45
+ .replace('{day}', '.*')
46
+ .replace('{namespaceName}', '.*')
47
+ .replace('{missionGroupName}', '.*')
48
+ .replace('{missionTaskName}', '.*'));
49
+ if (match) {
50
+ return match[1];
51
+ }
52
+ return null;
53
+ };
54
+ MissionMissionTaskModel.getYear = function (grn) {
55
+ var match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{year}', '(.*)')
59
+ .replace('{month}', '.*')
60
+ .replace('{day}', '.*')
61
+ .replace('{namespaceName}', '.*')
62
+ .replace('{missionGroupName}', '.*')
63
+ .replace('{missionTaskName}', '.*'));
64
+ if (match) {
65
+ return match[1];
66
+ }
67
+ return null;
68
+ };
69
+ MissionMissionTaskModel.getMonth = function (grn) {
70
+ var match = grn.match(grnFormat
71
+ .replace('{region}', '.*')
72
+ .replace('{ownerId}', '.*')
73
+ .replace('{year}', '.*')
74
+ .replace('{month}', '(.*)')
75
+ .replace('{day}', '.*')
76
+ .replace('{namespaceName}', '.*')
77
+ .replace('{missionGroupName}', '.*')
78
+ .replace('{missionTaskName}', '.*'));
79
+ if (match) {
80
+ return match[1];
81
+ }
82
+ return null;
83
+ };
84
+ MissionMissionTaskModel.getDay = function (grn) {
85
+ var match = grn.match(grnFormat
86
+ .replace('{region}', '.*')
87
+ .replace('{ownerId}', '.*')
88
+ .replace('{year}', '.*')
89
+ .replace('{month}', '.*')
90
+ .replace('{day}', '(.*)')
91
+ .replace('{namespaceName}', '.*')
92
+ .replace('{missionGroupName}', '.*')
93
+ .replace('{missionTaskName}', '.*'));
94
+ if (match) {
95
+ return match[1];
96
+ }
97
+ return null;
98
+ };
99
+ MissionMissionTaskModel.getNamespaceName = function (grn) {
100
+ var match = grn.match(grnFormat
101
+ .replace('{region}', '.*')
102
+ .replace('{ownerId}', '.*')
103
+ .replace('{year}', '.*')
104
+ .replace('{month}', '.*')
105
+ .replace('{day}', '.*')
106
+ .replace('{namespaceName}', '(.*)')
107
+ .replace('{missionGroupName}', '.*')
108
+ .replace('{missionTaskName}', '.*'));
109
+ if (match) {
110
+ return match[1];
111
+ }
112
+ return null;
113
+ };
114
+ MissionMissionTaskModel.getMissionGroupName = function (grn) {
115
+ var match = grn.match(grnFormat
116
+ .replace('{region}', '.*')
117
+ .replace('{ownerId}', '.*')
118
+ .replace('{year}', '.*')
119
+ .replace('{month}', '.*')
120
+ .replace('{day}', '.*')
121
+ .replace('{namespaceName}', '.*')
122
+ .replace('{missionGroupName}', '(.*)')
123
+ .replace('{missionTaskName}', '.*'));
124
+ if (match) {
125
+ return match[1];
126
+ }
127
+ return null;
128
+ };
129
+ MissionMissionTaskModel.getMissionTaskName = function (grn) {
130
+ var match = grn.match(grnFormat
131
+ .replace('{region}', '.*')
132
+ .replace('{ownerId}', '.*')
133
+ .replace('{year}', '.*')
134
+ .replace('{month}', '.*')
135
+ .replace('{day}', '.*')
136
+ .replace('{namespaceName}', '.*')
137
+ .replace('{missionGroupName}', '.*')
138
+ .replace('{missionTaskName}', '(.*)'));
139
+ if (match) {
140
+ return match[1];
141
+ }
142
+ return null;
143
+ };
144
+ MissionMissionTaskModel.isValid = function (grn) {
145
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
146
+ return false;
147
+ }
148
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
149
+ return false;
150
+ }
151
+ if (this.getYear(grn) == null || this.getYear(grn) === '') {
152
+ return false;
153
+ }
154
+ if (this.getMonth(grn) == null || this.getMonth(grn) === '') {
155
+ return false;
156
+ }
157
+ if (this.getDay(grn) == null || this.getDay(grn) === '') {
158
+ return false;
159
+ }
160
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
161
+ return false;
162
+ }
163
+ if (this.getMissionGroupName(grn) == null || this.getMissionGroupName(grn) === '') {
164
+ return false;
165
+ }
166
+ if (this.getMissionTaskName(grn) == null || this.getMissionTaskName(grn) === '') {
167
+ return false;
168
+ }
169
+ return true;
170
+ };
171
+ MissionMissionTaskModel.createGrn = function (region, ownerId, year, month, day, namespaceName, missionGroupName, missionTaskName) {
172
+ return grnFormat
173
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
174
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
175
+ .replace('{year}', year !== null && year !== void 0 ? year : '')
176
+ .replace('{month}', month !== null && month !== void 0 ? month : '')
177
+ .replace('{day}', day !== null && day !== void 0 ? day : '')
178
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
179
+ .replace('{missionGroupName}', missionGroupName !== null && missionGroupName !== void 0 ? missionGroupName : '')
180
+ .replace('{missionTaskName}', missionTaskName !== null && missionTaskName !== void 0 ? missionTaskName : '');
181
+ };
182
+ MissionMissionTaskModel.prototype.getMissionTaskModelId = function () {
183
+ return this.missionTaskModelId;
184
+ };
185
+ MissionMissionTaskModel.prototype.setMissionTaskModelId = function (missionTaskModelId) {
186
+ this.missionTaskModelId = missionTaskModelId;
187
+ return this;
188
+ };
189
+ MissionMissionTaskModel.prototype.withMissionTaskModelId = function (missionTaskModelId) {
190
+ this.missionTaskModelId = missionTaskModelId;
191
+ return this;
192
+ };
193
+ MissionMissionTaskModel.prototype.getMissionTaskName = function () {
194
+ return this.missionTaskName;
195
+ };
196
+ MissionMissionTaskModel.prototype.setMissionTaskName = function (missionTaskName) {
197
+ this.missionTaskName = missionTaskName;
198
+ return this;
199
+ };
200
+ MissionMissionTaskModel.prototype.withMissionTaskName = function (missionTaskName) {
201
+ this.missionTaskName = missionTaskName;
202
+ return this;
203
+ };
204
+ MissionMissionTaskModel.fromDict = function (data) {
205
+ if (data == undefined || data == null) {
206
+ return null;
207
+ }
208
+ return new MissionMissionTaskModel()
209
+ .withMissionTaskModelId(data["missionTaskModelId"])
210
+ .withMissionTaskName(data["missionTaskName"]);
211
+ };
212
+ MissionMissionTaskModel.prototype.toDict = function () {
213
+ return {
214
+ "missionTaskModelId": this.getMissionTaskModelId(),
215
+ "missionTaskName": this.getMissionTaskName(),
216
+ };
217
+ };
218
+ return MissionMissionTaskModel;
219
+ }());
220
+ exports.default = MissionMissionTaskModel;
221
+ //# sourceMappingURL=MissionMissionTaskModel.js.map