gs2 1.3.230 → 1.3.234

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 (354) hide show
  1. package/account/model/Account.d.ts +4 -0
  2. package/account/model/Account.js +14 -0
  3. package/account/model/Account.js.map +1 -1
  4. package/account/model/Account.ts +14 -0
  5. package/buff/index.d.ts +5 -0
  6. package/buff/index.js +28 -0
  7. package/buff/index.js.map +1 -0
  8. package/buff/index.ts +27 -0
  9. package/buff/model/BuffEntryModel.d.ts +53 -0
  10. package/buff/model/BuffEntryModel.js +231 -0
  11. package/buff/model/BuffEntryModel.js.map +1 -0
  12. package/buff/model/BuffEntryModel.ts +243 -0
  13. package/buff/model/BuffEntryModelMaster.d.ts +69 -0
  14. package/buff/model/BuffEntryModelMaster.js +287 -0
  15. package/buff/model/BuffEntryModelMaster.js.map +1 -0
  16. package/buff/model/BuffEntryModelMaster.ts +299 -0
  17. package/buff/model/BuffTargetAction.d.ts +26 -0
  18. package/buff/model/BuffTargetAction.js +98 -0
  19. package/buff/model/BuffTargetAction.js.map +1 -0
  20. package/buff/model/BuffTargetAction.ts +97 -0
  21. package/buff/model/BuffTargetGrn.d.ts +17 -0
  22. package/buff/model/BuffTargetGrn.js +62 -0
  23. package/buff/model/BuffTargetGrn.js.map +1 -0
  24. package/buff/model/BuffTargetGrn.ts +60 -0
  25. package/buff/model/BuffTargetModel.d.ts +26 -0
  26. package/buff/model/BuffTargetModel.js +98 -0
  27. package/buff/model/BuffTargetModel.js.map +1 -0
  28. package/buff/model/BuffTargetModel.ts +97 -0
  29. package/buff/model/CurrentBuffMaster.d.ts +22 -0
  30. package/buff/model/CurrentBuffMaster.js +111 -0
  31. package/buff/model/CurrentBuffMaster.js.map +1 -0
  32. package/buff/model/CurrentBuffMaster.ts +121 -0
  33. package/buff/model/GitHubCheckoutSetting.d.ts +37 -0
  34. package/buff/model/GitHubCheckoutSetting.js +132 -0
  35. package/buff/model/GitHubCheckoutSetting.js.map +1 -0
  36. package/buff/model/GitHubCheckoutSetting.ts +130 -0
  37. package/buff/model/LogSetting.d.ts +13 -0
  38. package/buff/model/LogSetting.js +48 -0
  39. package/buff/model/LogSetting.js.map +1 -0
  40. package/buff/model/LogSetting.ts +46 -0
  41. package/buff/model/Namespace.d.ts +43 -0
  42. package/buff/model/Namespace.js +184 -0
  43. package/buff/model/Namespace.js.map +1 -0
  44. package/buff/model/Namespace.ts +192 -0
  45. package/buff/model/index.d.ts +10 -0
  46. package/buff/model/index.js +38 -0
  47. package/buff/model/index.js.map +1 -0
  48. package/buff/model/index.ts +36 -0
  49. package/buff/request/ApplyBuffByUserIdRequest.d.ts +33 -0
  50. package/buff/request/ApplyBuffByUserIdRequest.js +109 -0
  51. package/buff/request/ApplyBuffByUserIdRequest.js.map +1 -0
  52. package/buff/request/ApplyBuffByUserIdRequest.ts +119 -0
  53. package/buff/request/ApplyBuffRequest.d.ts +29 -0
  54. package/buff/request/ApplyBuffRequest.js +95 -0
  55. package/buff/request/ApplyBuffRequest.js.map +1 -0
  56. package/buff/request/ApplyBuffRequest.ts +105 -0
  57. package/buff/request/CheckCleanUserDataByUserIdRequest.d.ts +29 -0
  58. package/buff/request/CheckCleanUserDataByUserIdRequest.js +95 -0
  59. package/buff/request/CheckCleanUserDataByUserIdRequest.js.map +1 -0
  60. package/buff/request/CheckCleanUserDataByUserIdRequest.ts +105 -0
  61. package/buff/request/CheckDumpUserDataByUserIdRequest.d.ts +29 -0
  62. package/buff/request/CheckDumpUserDataByUserIdRequest.js +95 -0
  63. package/buff/request/CheckDumpUserDataByUserIdRequest.js.map +1 -0
  64. package/buff/request/CheckDumpUserDataByUserIdRequest.ts +105 -0
  65. package/buff/request/CheckImportUserDataByUserIdRequest.d.ts +33 -0
  66. package/buff/request/CheckImportUserDataByUserIdRequest.js +109 -0
  67. package/buff/request/CheckImportUserDataByUserIdRequest.js.map +1 -0
  68. package/buff/request/CheckImportUserDataByUserIdRequest.ts +119 -0
  69. package/buff/request/CleanUserDataByUserIdRequest.d.ts +29 -0
  70. package/buff/request/CleanUserDataByUserIdRequest.js +95 -0
  71. package/buff/request/CleanUserDataByUserIdRequest.js.map +1 -0
  72. package/buff/request/CleanUserDataByUserIdRequest.ts +105 -0
  73. package/buff/request/CreateBuffEntryModelMasterRequest.d.ts +58 -0
  74. package/buff/request/CreateBuffEntryModelMasterRequest.js +198 -0
  75. package/buff/request/CreateBuffEntryModelMasterRequest.js.map +1 -0
  76. package/buff/request/CreateBuffEntryModelMasterRequest.ts +202 -0
  77. package/buff/request/CreateNamespaceRequest.d.ts +30 -0
  78. package/buff/request/CreateNamespaceRequest.js +100 -0
  79. package/buff/request/CreateNamespaceRequest.js.map +1 -0
  80. package/buff/request/CreateNamespaceRequest.ts +104 -0
  81. package/buff/request/DeleteBuffEntryModelMasterRequest.d.ts +25 -0
  82. package/buff/request/DeleteBuffEntryModelMasterRequest.js +83 -0
  83. package/buff/request/DeleteBuffEntryModelMasterRequest.js.map +1 -0
  84. package/buff/request/DeleteBuffEntryModelMasterRequest.ts +90 -0
  85. package/buff/request/DeleteNamespaceRequest.d.ts +21 -0
  86. package/buff/request/DeleteNamespaceRequest.js +69 -0
  87. package/buff/request/DeleteNamespaceRequest.js.map +1 -0
  88. package/buff/request/DeleteNamespaceRequest.ts +76 -0
  89. package/buff/request/DescribeBuffEntryModelMastersRequest.d.ts +29 -0
  90. package/buff/request/DescribeBuffEntryModelMastersRequest.js +97 -0
  91. package/buff/request/DescribeBuffEntryModelMastersRequest.js.map +1 -0
  92. package/buff/request/DescribeBuffEntryModelMastersRequest.ts +104 -0
  93. package/buff/request/DescribeBuffEntryModelsRequest.d.ts +21 -0
  94. package/buff/request/DescribeBuffEntryModelsRequest.js +69 -0
  95. package/buff/request/DescribeBuffEntryModelsRequest.js.map +1 -0
  96. package/buff/request/DescribeBuffEntryModelsRequest.ts +76 -0
  97. package/buff/request/DescribeNamespacesRequest.d.ts +25 -0
  98. package/buff/request/DescribeNamespacesRequest.js +83 -0
  99. package/buff/request/DescribeNamespacesRequest.js.map +1 -0
  100. package/buff/request/DescribeNamespacesRequest.ts +90 -0
  101. package/buff/request/DumpUserDataByUserIdRequest.d.ts +29 -0
  102. package/buff/request/DumpUserDataByUserIdRequest.js +95 -0
  103. package/buff/request/DumpUserDataByUserIdRequest.js.map +1 -0
  104. package/buff/request/DumpUserDataByUserIdRequest.ts +105 -0
  105. package/buff/request/ExportMasterRequest.d.ts +21 -0
  106. package/buff/request/ExportMasterRequest.js +69 -0
  107. package/buff/request/ExportMasterRequest.js.map +1 -0
  108. package/buff/request/ExportMasterRequest.ts +76 -0
  109. package/buff/request/GetBuffEntryModelMasterRequest.d.ts +25 -0
  110. package/buff/request/GetBuffEntryModelMasterRequest.js +83 -0
  111. package/buff/request/GetBuffEntryModelMasterRequest.js.map +1 -0
  112. package/buff/request/GetBuffEntryModelMasterRequest.ts +90 -0
  113. package/buff/request/GetBuffEntryModelRequest.d.ts +25 -0
  114. package/buff/request/GetBuffEntryModelRequest.js +83 -0
  115. package/buff/request/GetBuffEntryModelRequest.js.map +1 -0
  116. package/buff/request/GetBuffEntryModelRequest.ts +90 -0
  117. package/buff/request/GetCurrentBuffMasterRequest.d.ts +21 -0
  118. package/buff/request/GetCurrentBuffMasterRequest.js +69 -0
  119. package/buff/request/GetCurrentBuffMasterRequest.js.map +1 -0
  120. package/buff/request/GetCurrentBuffMasterRequest.ts +76 -0
  121. package/buff/request/GetNamespaceRequest.d.ts +21 -0
  122. package/buff/request/GetNamespaceRequest.js +69 -0
  123. package/buff/request/GetNamespaceRequest.js.map +1 -0
  124. package/buff/request/GetNamespaceRequest.ts +76 -0
  125. package/buff/request/GetNamespaceStatusRequest.d.ts +21 -0
  126. package/buff/request/GetNamespaceStatusRequest.js +69 -0
  127. package/buff/request/GetNamespaceStatusRequest.js.map +1 -0
  128. package/buff/request/GetNamespaceStatusRequest.ts +76 -0
  129. package/buff/request/ImportUserDataByUserIdRequest.d.ts +33 -0
  130. package/buff/request/ImportUserDataByUserIdRequest.js +109 -0
  131. package/buff/request/ImportUserDataByUserIdRequest.js.map +1 -0
  132. package/buff/request/ImportUserDataByUserIdRequest.ts +119 -0
  133. package/buff/request/PrepareImportUserDataByUserIdRequest.d.ts +29 -0
  134. package/buff/request/PrepareImportUserDataByUserIdRequest.js +95 -0
  135. package/buff/request/PrepareImportUserDataByUserIdRequest.js.map +1 -0
  136. package/buff/request/PrepareImportUserDataByUserIdRequest.ts +105 -0
  137. package/buff/request/UpdateBuffEntryModelMasterRequest.d.ts +58 -0
  138. package/buff/request/UpdateBuffEntryModelMasterRequest.js +198 -0
  139. package/buff/request/UpdateBuffEntryModelMasterRequest.js.map +1 -0
  140. package/buff/request/UpdateBuffEntryModelMasterRequest.ts +202 -0
  141. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.d.ts +26 -0
  142. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js +86 -0
  143. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js.map +1 -0
  144. package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.ts +90 -0
  145. package/buff/request/UpdateCurrentBuffMasterRequest.d.ts +25 -0
  146. package/buff/request/UpdateCurrentBuffMasterRequest.js +83 -0
  147. package/buff/request/UpdateCurrentBuffMasterRequest.js.map +1 -0
  148. package/buff/request/UpdateCurrentBuffMasterRequest.ts +90 -0
  149. package/buff/request/UpdateNamespaceRequest.d.ts +30 -0
  150. package/buff/request/UpdateNamespaceRequest.js +100 -0
  151. package/buff/request/UpdateNamespaceRequest.js.map +1 -0
  152. package/buff/request/UpdateNamespaceRequest.ts +104 -0
  153. package/buff/request/index.d.ts +27 -0
  154. package/buff/request/index.js +72 -0
  155. package/buff/request/index.js.map +1 -0
  156. package/buff/request/index.ts +70 -0
  157. package/buff/rest.d.ts +33 -0
  158. package/buff/rest.js +738 -0
  159. package/buff/rest.js.map +1 -0
  160. package/buff/rest.ts +840 -0
  161. package/buff/result/ApplyBuffByUserIdResult.d.ts +18 -0
  162. package/buff/result/ApplyBuffByUserIdResult.js +67 -0
  163. package/buff/result/ApplyBuffByUserIdResult.js.map +1 -0
  164. package/buff/result/ApplyBuffByUserIdResult.ts +72 -0
  165. package/buff/result/ApplyBuffResult.d.ts +18 -0
  166. package/buff/result/ApplyBuffResult.js +67 -0
  167. package/buff/result/ApplyBuffResult.js.map +1 -0
  168. package/buff/result/ApplyBuffResult.ts +72 -0
  169. package/buff/result/CheckCleanUserDataByUserIdResult.d.ts +9 -0
  170. package/buff/result/CheckCleanUserDataByUserIdResult.js +30 -0
  171. package/buff/result/CheckCleanUserDataByUserIdResult.js.map +1 -0
  172. package/buff/result/CheckCleanUserDataByUserIdResult.ts +29 -0
  173. package/buff/result/CheckDumpUserDataByUserIdResult.d.ts +13 -0
  174. package/buff/result/CheckDumpUserDataByUserIdResult.js +45 -0
  175. package/buff/result/CheckDumpUserDataByUserIdResult.js.map +1 -0
  176. package/buff/result/CheckDumpUserDataByUserIdResult.ts +46 -0
  177. package/buff/result/CheckImportUserDataByUserIdResult.d.ts +13 -0
  178. package/buff/result/CheckImportUserDataByUserIdResult.js +45 -0
  179. package/buff/result/CheckImportUserDataByUserIdResult.js.map +1 -0
  180. package/buff/result/CheckImportUserDataByUserIdResult.ts +46 -0
  181. package/buff/result/CleanUserDataByUserIdResult.d.ts +9 -0
  182. package/buff/result/CleanUserDataByUserIdResult.js +30 -0
  183. package/buff/result/CleanUserDataByUserIdResult.js.map +1 -0
  184. package/buff/result/CleanUserDataByUserIdResult.ts +29 -0
  185. package/buff/result/CreateBuffEntryModelMasterResult.d.ts +14 -0
  186. package/buff/result/CreateBuffEntryModelMasterResult.js +48 -0
  187. package/buff/result/CreateBuffEntryModelMasterResult.js.map +1 -0
  188. package/buff/result/CreateBuffEntryModelMasterResult.ts +47 -0
  189. package/buff/result/CreateNamespaceResult.d.ts +14 -0
  190. package/buff/result/CreateNamespaceResult.js +48 -0
  191. package/buff/result/CreateNamespaceResult.js.map +1 -0
  192. package/buff/result/CreateNamespaceResult.ts +47 -0
  193. package/buff/result/DeleteBuffEntryModelMasterResult.d.ts +14 -0
  194. package/buff/result/DeleteBuffEntryModelMasterResult.js +48 -0
  195. package/buff/result/DeleteBuffEntryModelMasterResult.js.map +1 -0
  196. package/buff/result/DeleteBuffEntryModelMasterResult.ts +47 -0
  197. package/buff/result/DeleteNamespaceResult.d.ts +14 -0
  198. package/buff/result/DeleteNamespaceResult.js +48 -0
  199. package/buff/result/DeleteNamespaceResult.js.map +1 -0
  200. package/buff/result/DeleteNamespaceResult.ts +47 -0
  201. package/buff/result/DescribeBuffEntryModelMastersResult.d.ts +18 -0
  202. package/buff/result/DescribeBuffEntryModelMastersResult.js +67 -0
  203. package/buff/result/DescribeBuffEntryModelMastersResult.js.map +1 -0
  204. package/buff/result/DescribeBuffEntryModelMastersResult.ts +72 -0
  205. package/buff/result/DescribeBuffEntryModelsResult.d.ts +14 -0
  206. package/buff/result/DescribeBuffEntryModelsResult.js +53 -0
  207. package/buff/result/DescribeBuffEntryModelsResult.js.map +1 -0
  208. package/buff/result/DescribeBuffEntryModelsResult.ts +55 -0
  209. package/buff/result/DescribeNamespacesResult.d.ts +18 -0
  210. package/buff/result/DescribeNamespacesResult.js +67 -0
  211. package/buff/result/DescribeNamespacesResult.js.map +1 -0
  212. package/buff/result/DescribeNamespacesResult.ts +72 -0
  213. package/buff/result/DumpUserDataByUserIdResult.d.ts +9 -0
  214. package/buff/result/DumpUserDataByUserIdResult.js +30 -0
  215. package/buff/result/DumpUserDataByUserIdResult.js.map +1 -0
  216. package/buff/result/DumpUserDataByUserIdResult.ts +29 -0
  217. package/buff/result/ExportMasterResult.d.ts +14 -0
  218. package/buff/result/ExportMasterResult.js +48 -0
  219. package/buff/result/ExportMasterResult.js.map +1 -0
  220. package/buff/result/ExportMasterResult.ts +47 -0
  221. package/buff/result/GetBuffEntryModelMasterResult.d.ts +14 -0
  222. package/buff/result/GetBuffEntryModelMasterResult.js +48 -0
  223. package/buff/result/GetBuffEntryModelMasterResult.js.map +1 -0
  224. package/buff/result/GetBuffEntryModelMasterResult.ts +47 -0
  225. package/buff/result/GetBuffEntryModelResult.d.ts +14 -0
  226. package/buff/result/GetBuffEntryModelResult.js +48 -0
  227. package/buff/result/GetBuffEntryModelResult.js.map +1 -0
  228. package/buff/result/GetBuffEntryModelResult.ts +47 -0
  229. package/buff/result/GetCurrentBuffMasterResult.d.ts +14 -0
  230. package/buff/result/GetCurrentBuffMasterResult.js +48 -0
  231. package/buff/result/GetCurrentBuffMasterResult.js.map +1 -0
  232. package/buff/result/GetCurrentBuffMasterResult.ts +47 -0
  233. package/buff/result/GetNamespaceResult.d.ts +14 -0
  234. package/buff/result/GetNamespaceResult.js +48 -0
  235. package/buff/result/GetNamespaceResult.js.map +1 -0
  236. package/buff/result/GetNamespaceResult.ts +47 -0
  237. package/buff/result/GetNamespaceStatusResult.d.ts +13 -0
  238. package/buff/result/GetNamespaceStatusResult.js +45 -0
  239. package/buff/result/GetNamespaceStatusResult.js.map +1 -0
  240. package/buff/result/GetNamespaceStatusResult.ts +46 -0
  241. package/buff/result/ImportUserDataByUserIdResult.d.ts +9 -0
  242. package/buff/result/ImportUserDataByUserIdResult.js +30 -0
  243. package/buff/result/ImportUserDataByUserIdResult.js.map +1 -0
  244. package/buff/result/ImportUserDataByUserIdResult.ts +29 -0
  245. package/buff/result/PrepareImportUserDataByUserIdResult.d.ts +17 -0
  246. package/buff/result/PrepareImportUserDataByUserIdResult.js +59 -0
  247. package/buff/result/PrepareImportUserDataByUserIdResult.js.map +1 -0
  248. package/buff/result/PrepareImportUserDataByUserIdResult.ts +63 -0
  249. package/buff/result/UpdateBuffEntryModelMasterResult.d.ts +14 -0
  250. package/buff/result/UpdateBuffEntryModelMasterResult.js +48 -0
  251. package/buff/result/UpdateBuffEntryModelMasterResult.js.map +1 -0
  252. package/buff/result/UpdateBuffEntryModelMasterResult.ts +47 -0
  253. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.d.ts +14 -0
  254. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js +48 -0
  255. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js.map +1 -0
  256. package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.ts +47 -0
  257. package/buff/result/UpdateCurrentBuffMasterResult.d.ts +14 -0
  258. package/buff/result/UpdateCurrentBuffMasterResult.js +48 -0
  259. package/buff/result/UpdateCurrentBuffMasterResult.js.map +1 -0
  260. package/buff/result/UpdateCurrentBuffMasterResult.ts +47 -0
  261. package/buff/result/UpdateNamespaceResult.d.ts +14 -0
  262. package/buff/result/UpdateNamespaceResult.js +48 -0
  263. package/buff/result/UpdateNamespaceResult.js.map +1 -0
  264. package/buff/result/UpdateNamespaceResult.ts +47 -0
  265. package/buff/result/index.d.ts +27 -0
  266. package/buff/result/index.js +72 -0
  267. package/buff/result/index.js.map +1 -0
  268. package/buff/result/index.ts +70 -0
  269. package/index.d.ts +2 -1
  270. package/index.js +3 -1
  271. package/index.js.map +1 -1
  272. package/index.ts +2 -0
  273. package/inventory/result/AddReferenceOfByUserIdResult.d.ts +3 -3
  274. package/inventory/result/AddReferenceOfByUserIdResult.js +2 -8
  275. package/inventory/result/AddReferenceOfByUserIdResult.js.map +1 -1
  276. package/inventory/result/AddReferenceOfByUserIdResult.ts +6 -14
  277. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.d.ts +3 -3
  278. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js +2 -8
  279. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js.map +1 -1
  280. package/inventory/result/AddReferenceOfItemSetByStampSheetResult.ts +6 -14
  281. package/inventory/result/AddReferenceOfResult.d.ts +3 -3
  282. package/inventory/result/AddReferenceOfResult.js +2 -8
  283. package/inventory/result/AddReferenceOfResult.js.map +1 -1
  284. package/inventory/result/AddReferenceOfResult.ts +6 -14
  285. package/inventory/result/DeleteReferenceOfByUserIdResult.d.ts +3 -3
  286. package/inventory/result/DeleteReferenceOfByUserIdResult.js +2 -8
  287. package/inventory/result/DeleteReferenceOfByUserIdResult.js.map +1 -1
  288. package/inventory/result/DeleteReferenceOfByUserIdResult.ts +6 -14
  289. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.d.ts +3 -3
  290. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js +2 -8
  291. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js.map +1 -1
  292. package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.ts +6 -14
  293. package/inventory/result/DeleteReferenceOfResult.d.ts +3 -3
  294. package/inventory/result/DeleteReferenceOfResult.js +2 -8
  295. package/inventory/result/DeleteReferenceOfResult.js.map +1 -1
  296. package/inventory/result/DeleteReferenceOfResult.ts +6 -14
  297. package/inventory/result/GetReferenceOfByUserIdResult.d.ts +3 -3
  298. package/inventory/result/GetReferenceOfByUserIdResult.js +2 -8
  299. package/inventory/result/GetReferenceOfByUserIdResult.js.map +1 -1
  300. package/inventory/result/GetReferenceOfByUserIdResult.ts +6 -14
  301. package/inventory/result/GetReferenceOfResult.d.ts +3 -3
  302. package/inventory/result/GetReferenceOfResult.js +2 -8
  303. package/inventory/result/GetReferenceOfResult.js.map +1 -1
  304. package/inventory/result/GetReferenceOfResult.ts +6 -14
  305. package/inventory/result/VerifyReferenceOfByStampTaskResult.d.ts +3 -3
  306. package/inventory/result/VerifyReferenceOfByStampTaskResult.js +2 -8
  307. package/inventory/result/VerifyReferenceOfByStampTaskResult.js.map +1 -1
  308. package/inventory/result/VerifyReferenceOfByStampTaskResult.ts +6 -14
  309. package/inventory/result/VerifyReferenceOfByUserIdResult.d.ts +3 -3
  310. package/inventory/result/VerifyReferenceOfByUserIdResult.js +2 -8
  311. package/inventory/result/VerifyReferenceOfByUserIdResult.js.map +1 -1
  312. package/inventory/result/VerifyReferenceOfByUserIdResult.ts +6 -14
  313. package/inventory/result/VerifyReferenceOfResult.d.ts +3 -3
  314. package/inventory/result/VerifyReferenceOfResult.js +2 -8
  315. package/inventory/result/VerifyReferenceOfResult.js.map +1 -1
  316. package/inventory/result/VerifyReferenceOfResult.ts +6 -14
  317. package/package.json +1 -1
  318. package/script/request/InvokeScriptRequest.d.ts +4 -0
  319. package/script/request/InvokeScriptRequest.js +12 -0
  320. package/script/request/InvokeScriptRequest.js.map +1 -1
  321. package/script/request/InvokeScriptRequest.ts +15 -0
  322. package/script/rest.js +10 -7
  323. package/script/rest.js.map +1 -1
  324. package/script/rest.ts +3 -0
  325. package/serialKey/model/CampaignModel.js +1 -1
  326. package/serialKey/model/CampaignModel.js.map +1 -1
  327. package/serialKey/model/CampaignModel.ts +1 -1
  328. package/serialKey/model/IssueJob.js +1 -1
  329. package/serialKey/model/IssueJob.js.map +1 -1
  330. package/serialKey/model/IssueJob.ts +1 -1
  331. package/watch/model/DictionaryEntryModel.d.ts +26 -0
  332. package/watch/model/DictionaryEntryModel.js +195 -0
  333. package/watch/model/DictionaryEntryModel.js.map +1 -0
  334. package/watch/model/DictionaryEntryModel.ts +217 -0
  335. package/watch/model/FormationForm.d.ts +3 -3
  336. package/watch/model/FormationForm.ts +4 -4
  337. package/watch/model/KeyKey.d.ts +26 -0
  338. package/watch/model/KeyKey.js +195 -0
  339. package/watch/model/KeyKey.js.map +1 -0
  340. package/watch/model/KeyKey.ts +217 -0
  341. package/watch/model/LotteryLotteryModel.d.ts +26 -0
  342. package/watch/model/LotteryLotteryModel.js +195 -0
  343. package/watch/model/LotteryLotteryModel.js.map +1 -0
  344. package/watch/model/LotteryLotteryModel.ts +217 -0
  345. package/watch/model/MissionMissionTaskModel.d.ts +27 -0
  346. package/watch/model/MissionMissionTaskModel.js +221 -0
  347. package/watch/model/MissionMissionTaskModel.js.map +1 -0
  348. package/watch/model/MissionMissionTaskModel.ts +246 -0
  349. package/watch/model/MoneyWallet.d.ts +3 -3
  350. package/watch/model/MoneyWallet.ts +4 -4
  351. package/watch/model/index.d.ts +5 -1
  352. package/watch/model/index.js +16 -7
  353. package/watch/model/index.js.map +1 -1
  354. package/watch/model/index.ts +8 -0
@@ -0,0 +1,299 @@
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
+ import BuffTargetGrn from './BuffTargetGrn';
19
+ import BuffTargetModel from './BuffTargetModel';
20
+ import BuffTargetAction from './BuffTargetAction';
21
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}:model:{buffEntryName}";
22
+
23
+ export default class BuffEntryModelMaster implements IModel {
24
+ private buffEntryModelId: string|null = null;
25
+ private name: string|null = null;
26
+ private description: string|null = null;
27
+ private metadata: string|null = null;
28
+ private targetType: string|null = null;
29
+ private targetModel: BuffTargetModel|null = null;
30
+ private targetAction: BuffTargetAction|null = null;
31
+ private expression: string|null = null;
32
+ private priority: number|null = null;
33
+ private applyPeriodScheduleEventId: string|null = null;
34
+ private createdAt: number|null = null;
35
+ private updatedAt: number|null = null;
36
+ private revision: number|null = null;
37
+
38
+ public static getRegion(grn: string): string|null {
39
+ const match = grn.match(grnFormat
40
+ .replace('{region}', '(.*)')
41
+ .replace('{ownerId}', '.*')
42
+ .replace('{namespaceName}', '.*')
43
+ .replace('{buffEntryName}', '.*')
44
+ );
45
+ if (match) {
46
+ return match[1];
47
+ }
48
+ return null;
49
+ }
50
+
51
+ public static getOwnerId(grn: string): string|null {
52
+ const match = grn.match(grnFormat
53
+ .replace('{region}', '.*')
54
+ .replace('{ownerId}', '(.*)')
55
+ .replace('{namespaceName}', '.*')
56
+ .replace('{buffEntryName}', '.*')
57
+ );
58
+ if (match) {
59
+ return match[1];
60
+ }
61
+ return null;
62
+ }
63
+
64
+ public static getNamespaceName(grn: string): string|null {
65
+ const match = grn.match(grnFormat
66
+ .replace('{region}', '.*')
67
+ .replace('{ownerId}', '.*')
68
+ .replace('{namespaceName}', '(.*)')
69
+ .replace('{buffEntryName}', '.*')
70
+ );
71
+ if (match) {
72
+ return match[1];
73
+ }
74
+ return null;
75
+ }
76
+
77
+ public static getBuffEntryName(grn: string): string|null {
78
+ const match = grn.match(grnFormat
79
+ .replace('{region}', '.*')
80
+ .replace('{ownerId}', '.*')
81
+ .replace('{namespaceName}', '.*')
82
+ .replace('{buffEntryName}', '(.*)')
83
+ );
84
+ if (match) {
85
+ return match[1];
86
+ }
87
+ return null;
88
+ }
89
+
90
+ public static isValid(grn: string): boolean {
91
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
92
+ return false;
93
+ }
94
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
95
+ return false;
96
+ }
97
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
98
+ return false;
99
+ }
100
+ if (this.getBuffEntryName(grn) == null || this.getBuffEntryName(grn) === '') {
101
+ return false;
102
+ }
103
+ return true;
104
+ }
105
+
106
+ public static createGrn(
107
+ region: string|null,
108
+ ownerId: string|null,
109
+ namespaceName: string|null,
110
+ buffEntryName: string|null,
111
+ ): string|null {
112
+ return grnFormat
113
+ .replace('{region}', region ?? '')
114
+ .replace('{ownerId}', ownerId ?? '')
115
+ .replace('{namespaceName}', namespaceName ?? '')
116
+ .replace('{buffEntryName}', buffEntryName ?? '');
117
+ }
118
+ public getBuffEntryModelId(): string|null {
119
+ return this.buffEntryModelId;
120
+ }
121
+ public setBuffEntryModelId(buffEntryModelId: string|null) {
122
+ this.buffEntryModelId = buffEntryModelId;
123
+ return this;
124
+ }
125
+ public withBuffEntryModelId(buffEntryModelId: string|null): this {
126
+ this.buffEntryModelId = buffEntryModelId;
127
+ return this;
128
+ }
129
+ public getName(): string|null {
130
+ return this.name;
131
+ }
132
+ public setName(name: string|null) {
133
+ this.name = name;
134
+ return this;
135
+ }
136
+ public withName(name: string|null): this {
137
+ this.name = name;
138
+ return this;
139
+ }
140
+ public getDescription(): string|null {
141
+ return this.description;
142
+ }
143
+ public setDescription(description: string|null) {
144
+ this.description = description;
145
+ return this;
146
+ }
147
+ public withDescription(description: string|null): this {
148
+ this.description = description;
149
+ return this;
150
+ }
151
+ public getMetadata(): string|null {
152
+ return this.metadata;
153
+ }
154
+ public setMetadata(metadata: string|null) {
155
+ this.metadata = metadata;
156
+ return this;
157
+ }
158
+ public withMetadata(metadata: string|null): this {
159
+ this.metadata = metadata;
160
+ return this;
161
+ }
162
+ public getTargetType(): string|null {
163
+ return this.targetType;
164
+ }
165
+ public setTargetType(targetType: string|null) {
166
+ this.targetType = targetType;
167
+ return this;
168
+ }
169
+ public withTargetType(targetType: string|null): this {
170
+ this.targetType = targetType;
171
+ return this;
172
+ }
173
+ public getTargetModel(): BuffTargetModel|null {
174
+ return this.targetModel;
175
+ }
176
+ public setTargetModel(targetModel: BuffTargetModel|null) {
177
+ this.targetModel = targetModel;
178
+ return this;
179
+ }
180
+ public withTargetModel(targetModel: BuffTargetModel|null): this {
181
+ this.targetModel = targetModel;
182
+ return this;
183
+ }
184
+ public getTargetAction(): BuffTargetAction|null {
185
+ return this.targetAction;
186
+ }
187
+ public setTargetAction(targetAction: BuffTargetAction|null) {
188
+ this.targetAction = targetAction;
189
+ return this;
190
+ }
191
+ public withTargetAction(targetAction: BuffTargetAction|null): this {
192
+ this.targetAction = targetAction;
193
+ return this;
194
+ }
195
+ public getExpression(): string|null {
196
+ return this.expression;
197
+ }
198
+ public setExpression(expression: string|null) {
199
+ this.expression = expression;
200
+ return this;
201
+ }
202
+ public withExpression(expression: string|null): this {
203
+ this.expression = expression;
204
+ return this;
205
+ }
206
+ public getPriority(): number|null {
207
+ return this.priority;
208
+ }
209
+ public setPriority(priority: number|null) {
210
+ this.priority = priority;
211
+ return this;
212
+ }
213
+ public withPriority(priority: number|null): this {
214
+ this.priority = priority;
215
+ return this;
216
+ }
217
+ public getApplyPeriodScheduleEventId(): string|null {
218
+ return this.applyPeriodScheduleEventId;
219
+ }
220
+ public setApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null) {
221
+ this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
222
+ return this;
223
+ }
224
+ public withApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null): this {
225
+ this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
226
+ return this;
227
+ }
228
+ public getCreatedAt(): number|null {
229
+ return this.createdAt;
230
+ }
231
+ public setCreatedAt(createdAt: number|null) {
232
+ this.createdAt = createdAt;
233
+ return this;
234
+ }
235
+ public withCreatedAt(createdAt: number|null): this {
236
+ this.createdAt = createdAt;
237
+ return this;
238
+ }
239
+ public getUpdatedAt(): number|null {
240
+ return this.updatedAt;
241
+ }
242
+ public setUpdatedAt(updatedAt: number|null) {
243
+ this.updatedAt = updatedAt;
244
+ return this;
245
+ }
246
+ public withUpdatedAt(updatedAt: number|null): this {
247
+ this.updatedAt = updatedAt;
248
+ return this;
249
+ }
250
+ public getRevision(): number|null {
251
+ return this.revision;
252
+ }
253
+ public setRevision(revision: number|null) {
254
+ this.revision = revision;
255
+ return this;
256
+ }
257
+ public withRevision(revision: number|null): this {
258
+ this.revision = revision;
259
+ return this;
260
+ }
261
+
262
+ public static fromDict(data: {[key: string]: any}): BuffEntryModelMaster|null {
263
+ if (data == undefined || data == null) {
264
+ return null;
265
+ }
266
+ return new BuffEntryModelMaster()
267
+ .withBuffEntryModelId(data["buffEntryModelId"])
268
+ .withName(data["name"])
269
+ .withDescription(data["description"])
270
+ .withMetadata(data["metadata"])
271
+ .withTargetType(data["targetType"])
272
+ .withTargetModel(BuffTargetModel.fromDict(data["targetModel"]))
273
+ .withTargetAction(BuffTargetAction.fromDict(data["targetAction"]))
274
+ .withExpression(data["expression"])
275
+ .withPriority(data["priority"])
276
+ .withApplyPeriodScheduleEventId(data["applyPeriodScheduleEventId"])
277
+ .withCreatedAt(data["createdAt"])
278
+ .withUpdatedAt(data["updatedAt"])
279
+ .withRevision(data["revision"]);
280
+ }
281
+
282
+ public toDict(): {[key: string]: any} {
283
+ return {
284
+ "buffEntryModelId": this.getBuffEntryModelId(),
285
+ "name": this.getName(),
286
+ "description": this.getDescription(),
287
+ "metadata": this.getMetadata(),
288
+ "targetType": this.getTargetType(),
289
+ "targetModel": this.getTargetModel()?.toDict(),
290
+ "targetAction": this.getTargetAction()?.toDict(),
291
+ "expression": this.getExpression(),
292
+ "priority": this.getPriority(),
293
+ "applyPeriodScheduleEventId": this.getApplyPeriodScheduleEventId(),
294
+ "createdAt": this.getCreatedAt(),
295
+ "updatedAt": this.getUpdatedAt(),
296
+ "revision": this.getRevision(),
297
+ };
298
+ }
299
+ }
@@ -0,0 +1,26 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import BuffTargetGrn from './BuffTargetGrn';
3
+ export default class BuffTargetAction implements IModel {
4
+ private targetActionName;
5
+ private targetFieldName;
6
+ private conditionGrns;
7
+ private rate;
8
+ getTargetActionName(): string | null;
9
+ setTargetActionName(targetActionName: string | null): this;
10
+ withTargetActionName(targetActionName: string | null): this;
11
+ getTargetFieldName(): string | null;
12
+ setTargetFieldName(targetFieldName: string | null): this;
13
+ withTargetFieldName(targetFieldName: string | null): this;
14
+ getConditionGrns(): BuffTargetGrn[] | null;
15
+ setConditionGrns(conditionGrns: BuffTargetGrn[] | null): this;
16
+ withConditionGrns(conditionGrns: BuffTargetGrn[] | null): this;
17
+ getRate(): number | null;
18
+ setRate(rate: number | null): this;
19
+ withRate(rate: number | null): this;
20
+ static fromDict(data: {
21
+ [key: string]: any;
22
+ }): BuffTargetAction | null;
23
+ toDict(): {
24
+ [key: string]: any;
25
+ };
26
+ }
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ /*
3
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
4
+ Reserved.
5
+
6
+ Licensed under the Apache License, Version 2.0 (the "License").
7
+ You may not use this file except in compliance with the License.
8
+ A copy of the License is located at
9
+
10
+ http://www.apache.org/licenses/LICENSE-2.0
11
+
12
+ or in the "license" file accompanying this file. This file is distributed
13
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ express or implied. See the License for the specific language governing
15
+ permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ var tslib_1 = require("tslib");
19
+ var BuffTargetGrn_1 = tslib_1.__importDefault(require("./BuffTargetGrn"));
20
+ var BuffTargetAction = /** @class */ (function () {
21
+ function BuffTargetAction() {
22
+ this.targetActionName = null;
23
+ this.targetFieldName = null;
24
+ this.conditionGrns = null;
25
+ this.rate = null;
26
+ }
27
+ BuffTargetAction.prototype.getTargetActionName = function () {
28
+ return this.targetActionName;
29
+ };
30
+ BuffTargetAction.prototype.setTargetActionName = function (targetActionName) {
31
+ this.targetActionName = targetActionName;
32
+ return this;
33
+ };
34
+ BuffTargetAction.prototype.withTargetActionName = function (targetActionName) {
35
+ this.targetActionName = targetActionName;
36
+ return this;
37
+ };
38
+ BuffTargetAction.prototype.getTargetFieldName = function () {
39
+ return this.targetFieldName;
40
+ };
41
+ BuffTargetAction.prototype.setTargetFieldName = function (targetFieldName) {
42
+ this.targetFieldName = targetFieldName;
43
+ return this;
44
+ };
45
+ BuffTargetAction.prototype.withTargetFieldName = function (targetFieldName) {
46
+ this.targetFieldName = targetFieldName;
47
+ return this;
48
+ };
49
+ BuffTargetAction.prototype.getConditionGrns = function () {
50
+ return this.conditionGrns;
51
+ };
52
+ BuffTargetAction.prototype.setConditionGrns = function (conditionGrns) {
53
+ this.conditionGrns = conditionGrns;
54
+ return this;
55
+ };
56
+ BuffTargetAction.prototype.withConditionGrns = function (conditionGrns) {
57
+ this.conditionGrns = conditionGrns;
58
+ return this;
59
+ };
60
+ BuffTargetAction.prototype.getRate = function () {
61
+ return this.rate;
62
+ };
63
+ BuffTargetAction.prototype.setRate = function (rate) {
64
+ this.rate = rate;
65
+ return this;
66
+ };
67
+ BuffTargetAction.prototype.withRate = function (rate) {
68
+ this.rate = rate;
69
+ return this;
70
+ };
71
+ BuffTargetAction.fromDict = function (data) {
72
+ if (data == undefined || data == null) {
73
+ return null;
74
+ }
75
+ return new BuffTargetAction()
76
+ .withTargetActionName(data["targetActionName"])
77
+ .withTargetFieldName(data["targetFieldName"])
78
+ .withConditionGrns(data.conditionGrns ?
79
+ data.conditionGrns.map(function (item) {
80
+ return BuffTargetGrn_1.default.fromDict(item);
81
+ }) : [])
82
+ .withRate(data["rate"]);
83
+ };
84
+ BuffTargetAction.prototype.toDict = function () {
85
+ return {
86
+ "targetActionName": this.getTargetActionName(),
87
+ "targetFieldName": this.getTargetFieldName(),
88
+ "conditionGrns": this.getConditionGrns() ?
89
+ this.getConditionGrns().map(function (item) {
90
+ return item.toDict();
91
+ }) : [],
92
+ "rate": this.getRate(),
93
+ };
94
+ };
95
+ return BuffTargetAction;
96
+ }());
97
+ exports.default = BuffTargetAction;
98
+ //# sourceMappingURL=BuffTargetAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BuffTargetAction.js","sourceRoot":"","sources":["BuffTargetAction.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,97 @@
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
+ import BuffTargetGrn from './BuffTargetGrn';
19
+
20
+ export default class BuffTargetAction implements IModel {
21
+ private targetActionName: string|null = null;
22
+ private targetFieldName: string|null = null;
23
+ private conditionGrns: BuffTargetGrn[]|null = null;
24
+ private rate: number|null = null;
25
+ public getTargetActionName(): string|null {
26
+ return this.targetActionName;
27
+ }
28
+ public setTargetActionName(targetActionName: string|null) {
29
+ this.targetActionName = targetActionName;
30
+ return this;
31
+ }
32
+ public withTargetActionName(targetActionName: string|null): this {
33
+ this.targetActionName = targetActionName;
34
+ return this;
35
+ }
36
+ public getTargetFieldName(): string|null {
37
+ return this.targetFieldName;
38
+ }
39
+ public setTargetFieldName(targetFieldName: string|null) {
40
+ this.targetFieldName = targetFieldName;
41
+ return this;
42
+ }
43
+ public withTargetFieldName(targetFieldName: string|null): this {
44
+ this.targetFieldName = targetFieldName;
45
+ return this;
46
+ }
47
+ public getConditionGrns(): BuffTargetGrn[]|null {
48
+ return this.conditionGrns;
49
+ }
50
+ public setConditionGrns(conditionGrns: BuffTargetGrn[]|null) {
51
+ this.conditionGrns = conditionGrns;
52
+ return this;
53
+ }
54
+ public withConditionGrns(conditionGrns: BuffTargetGrn[]|null): this {
55
+ this.conditionGrns = conditionGrns;
56
+ return this;
57
+ }
58
+ public getRate(): number|null {
59
+ return this.rate;
60
+ }
61
+ public setRate(rate: number|null) {
62
+ this.rate = rate;
63
+ return this;
64
+ }
65
+ public withRate(rate: number|null): this {
66
+ this.rate = rate;
67
+ return this;
68
+ }
69
+
70
+ public static fromDict(data: {[key: string]: any}): BuffTargetAction|null {
71
+ if (data == undefined || data == null) {
72
+ return null;
73
+ }
74
+ return new BuffTargetAction()
75
+ .withTargetActionName(data["targetActionName"])
76
+ .withTargetFieldName(data["targetFieldName"])
77
+ .withConditionGrns(data.conditionGrns ?
78
+ data.conditionGrns.map((item: {[key: string]: any}) => {
79
+ return BuffTargetGrn.fromDict(item);
80
+ }
81
+ ) : [])
82
+ .withRate(data["rate"]);
83
+ }
84
+
85
+ public toDict(): {[key: string]: any} {
86
+ return {
87
+ "targetActionName": this.getTargetActionName(),
88
+ "targetFieldName": this.getTargetFieldName(),
89
+ "conditionGrns": this.getConditionGrns() ?
90
+ this.getConditionGrns()!.map((item: BuffTargetGrn) => {
91
+ return item.toDict();
92
+ }
93
+ ) : [],
94
+ "rate": this.getRate(),
95
+ };
96
+ }
97
+ }
@@ -0,0 +1,17 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class BuffTargetGrn implements IModel {
3
+ private targetModelName;
4
+ private targetGrn;
5
+ getTargetModelName(): string | null;
6
+ setTargetModelName(targetModelName: string | null): this;
7
+ withTargetModelName(targetModelName: string | null): this;
8
+ getTargetGrn(): string | null;
9
+ setTargetGrn(targetGrn: string | null): this;
10
+ withTargetGrn(targetGrn: string | null): this;
11
+ static fromDict(data: {
12
+ [key: string]: any;
13
+ }): BuffTargetGrn | null;
14
+ toDict(): {
15
+ [key: string]: any;
16
+ };
17
+ }
@@ -0,0 +1,62 @@
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 BuffTargetGrn = /** @class */ (function () {
19
+ function BuffTargetGrn() {
20
+ this.targetModelName = null;
21
+ this.targetGrn = null;
22
+ }
23
+ BuffTargetGrn.prototype.getTargetModelName = function () {
24
+ return this.targetModelName;
25
+ };
26
+ BuffTargetGrn.prototype.setTargetModelName = function (targetModelName) {
27
+ this.targetModelName = targetModelName;
28
+ return this;
29
+ };
30
+ BuffTargetGrn.prototype.withTargetModelName = function (targetModelName) {
31
+ this.targetModelName = targetModelName;
32
+ return this;
33
+ };
34
+ BuffTargetGrn.prototype.getTargetGrn = function () {
35
+ return this.targetGrn;
36
+ };
37
+ BuffTargetGrn.prototype.setTargetGrn = function (targetGrn) {
38
+ this.targetGrn = targetGrn;
39
+ return this;
40
+ };
41
+ BuffTargetGrn.prototype.withTargetGrn = function (targetGrn) {
42
+ this.targetGrn = targetGrn;
43
+ return this;
44
+ };
45
+ BuffTargetGrn.fromDict = function (data) {
46
+ if (data == undefined || data == null) {
47
+ return null;
48
+ }
49
+ return new BuffTargetGrn()
50
+ .withTargetModelName(data["targetModelName"])
51
+ .withTargetGrn(data["targetGrn"]);
52
+ };
53
+ BuffTargetGrn.prototype.toDict = function () {
54
+ return {
55
+ "targetModelName": this.getTargetModelName(),
56
+ "targetGrn": this.getTargetGrn(),
57
+ };
58
+ };
59
+ return BuffTargetGrn;
60
+ }());
61
+ exports.default = BuffTargetGrn;
62
+ //# sourceMappingURL=BuffTargetGrn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BuffTargetGrn.js","sourceRoot":"","sources":["BuffTargetGrn.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;QACpC,cAAS,GAAgB,IAAI,CAAC;IAuC1C,CAAC;IAtCU,0CAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,0CAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oCAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,oCAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qCAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,aAAa,EAAE;aACrB,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,8BAAM,GAAb;QACI,OAAO;YACH,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,oBAAC;AAAD,CAAC,AAzCD,IAyCC"}
@@ -0,0 +1,60 @@
1
+ /*
2
+ Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
3
+ Reserved.
4
+
5
+ Licensed under the Apache License, Version 2.0 (the "License").
6
+ You may not use this file except in compliance with the License.
7
+ A copy of the License is located at
8
+
9
+ http://www.apache.org/licenses/LICENSE-2.0
10
+
11
+ or in the "license" file accompanying this file. This file is distributed
12
+ on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ express or implied. See the License for the specific language governing
14
+ permissions and limitations under the License.
15
+ */
16
+
17
+ import IModel from '../../core/interface/IModel';
18
+
19
+ export default class BuffTargetGrn implements IModel {
20
+ private targetModelName: string|null = null;
21
+ private targetGrn: string|null = null;
22
+ public getTargetModelName(): string|null {
23
+ return this.targetModelName;
24
+ }
25
+ public setTargetModelName(targetModelName: string|null) {
26
+ this.targetModelName = targetModelName;
27
+ return this;
28
+ }
29
+ public withTargetModelName(targetModelName: string|null): this {
30
+ this.targetModelName = targetModelName;
31
+ return this;
32
+ }
33
+ public getTargetGrn(): string|null {
34
+ return this.targetGrn;
35
+ }
36
+ public setTargetGrn(targetGrn: string|null) {
37
+ this.targetGrn = targetGrn;
38
+ return this;
39
+ }
40
+ public withTargetGrn(targetGrn: string|null): this {
41
+ this.targetGrn = targetGrn;
42
+ return this;
43
+ }
44
+
45
+ public static fromDict(data: {[key: string]: any}): BuffTargetGrn|null {
46
+ if (data == undefined || data == null) {
47
+ return null;
48
+ }
49
+ return new BuffTargetGrn()
50
+ .withTargetModelName(data["targetModelName"])
51
+ .withTargetGrn(data["targetGrn"]);
52
+ }
53
+
54
+ public toDict(): {[key: string]: any} {
55
+ return {
56
+ "targetModelName": this.getTargetModelName(),
57
+ "targetGrn": this.getTargetGrn(),
58
+ };
59
+ }
60
+ }