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,130 @@
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 GitHubCheckoutSetting implements IModel {
20
+ private apiKeyId: string|null = null;
21
+ private repositoryName: string|null = null;
22
+ private sourcePath: string|null = null;
23
+ private referenceType: string|null = null;
24
+ private commitHash: string|null = null;
25
+ private branchName: string|null = null;
26
+ private tagName: string|null = null;
27
+ public getApiKeyId(): string|null {
28
+ return this.apiKeyId;
29
+ }
30
+ public setApiKeyId(apiKeyId: string|null) {
31
+ this.apiKeyId = apiKeyId;
32
+ return this;
33
+ }
34
+ public withApiKeyId(apiKeyId: string|null): this {
35
+ this.apiKeyId = apiKeyId;
36
+ return this;
37
+ }
38
+ public getRepositoryName(): string|null {
39
+ return this.repositoryName;
40
+ }
41
+ public setRepositoryName(repositoryName: string|null) {
42
+ this.repositoryName = repositoryName;
43
+ return this;
44
+ }
45
+ public withRepositoryName(repositoryName: string|null): this {
46
+ this.repositoryName = repositoryName;
47
+ return this;
48
+ }
49
+ public getSourcePath(): string|null {
50
+ return this.sourcePath;
51
+ }
52
+ public setSourcePath(sourcePath: string|null) {
53
+ this.sourcePath = sourcePath;
54
+ return this;
55
+ }
56
+ public withSourcePath(sourcePath: string|null): this {
57
+ this.sourcePath = sourcePath;
58
+ return this;
59
+ }
60
+ public getReferenceType(): string|null {
61
+ return this.referenceType;
62
+ }
63
+ public setReferenceType(referenceType: string|null) {
64
+ this.referenceType = referenceType;
65
+ return this;
66
+ }
67
+ public withReferenceType(referenceType: string|null): this {
68
+ this.referenceType = referenceType;
69
+ return this;
70
+ }
71
+ public getCommitHash(): string|null {
72
+ return this.commitHash;
73
+ }
74
+ public setCommitHash(commitHash: string|null) {
75
+ this.commitHash = commitHash;
76
+ return this;
77
+ }
78
+ public withCommitHash(commitHash: string|null): this {
79
+ this.commitHash = commitHash;
80
+ return this;
81
+ }
82
+ public getBranchName(): string|null {
83
+ return this.branchName;
84
+ }
85
+ public setBranchName(branchName: string|null) {
86
+ this.branchName = branchName;
87
+ return this;
88
+ }
89
+ public withBranchName(branchName: string|null): this {
90
+ this.branchName = branchName;
91
+ return this;
92
+ }
93
+ public getTagName(): string|null {
94
+ return this.tagName;
95
+ }
96
+ public setTagName(tagName: string|null) {
97
+ this.tagName = tagName;
98
+ return this;
99
+ }
100
+ public withTagName(tagName: string|null): this {
101
+ this.tagName = tagName;
102
+ return this;
103
+ }
104
+
105
+ public static fromDict(data: {[key: string]: any}): GitHubCheckoutSetting|null {
106
+ if (data == undefined || data == null) {
107
+ return null;
108
+ }
109
+ return new GitHubCheckoutSetting()
110
+ .withApiKeyId(data["apiKeyId"])
111
+ .withRepositoryName(data["repositoryName"])
112
+ .withSourcePath(data["sourcePath"])
113
+ .withReferenceType(data["referenceType"])
114
+ .withCommitHash(data["commitHash"])
115
+ .withBranchName(data["branchName"])
116
+ .withTagName(data["tagName"]);
117
+ }
118
+
119
+ public toDict(): {[key: string]: any} {
120
+ return {
121
+ "apiKeyId": this.getApiKeyId(),
122
+ "repositoryName": this.getRepositoryName(),
123
+ "sourcePath": this.getSourcePath(),
124
+ "referenceType": this.getReferenceType(),
125
+ "commitHash": this.getCommitHash(),
126
+ "branchName": this.getBranchName(),
127
+ "tagName": this.getTagName(),
128
+ };
129
+ }
130
+ }
@@ -0,0 +1,13 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class LogSetting implements IModel {
3
+ private loggingNamespaceId;
4
+ getLoggingNamespaceId(): string | null;
5
+ setLoggingNamespaceId(loggingNamespaceId: string | null): this;
6
+ withLoggingNamespaceId(loggingNamespaceId: string | null): this;
7
+ static fromDict(data: {
8
+ [key: string]: any;
9
+ }): LogSetting | null;
10
+ toDict(): {
11
+ [key: string]: any;
12
+ };
13
+ }
@@ -0,0 +1,48 @@
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 LogSetting = /** @class */ (function () {
19
+ function LogSetting() {
20
+ this.loggingNamespaceId = null;
21
+ }
22
+ LogSetting.prototype.getLoggingNamespaceId = function () {
23
+ return this.loggingNamespaceId;
24
+ };
25
+ LogSetting.prototype.setLoggingNamespaceId = function (loggingNamespaceId) {
26
+ this.loggingNamespaceId = loggingNamespaceId;
27
+ return this;
28
+ };
29
+ LogSetting.prototype.withLoggingNamespaceId = function (loggingNamespaceId) {
30
+ this.loggingNamespaceId = loggingNamespaceId;
31
+ return this;
32
+ };
33
+ LogSetting.fromDict = function (data) {
34
+ if (data == undefined || data == null) {
35
+ return null;
36
+ }
37
+ return new LogSetting()
38
+ .withLoggingNamespaceId(data["loggingNamespaceId"]);
39
+ };
40
+ LogSetting.prototype.toDict = function () {
41
+ return {
42
+ "loggingNamespaceId": this.getLoggingNamespaceId(),
43
+ };
44
+ };
45
+ return LogSetting;
46
+ }());
47
+ exports.default = LogSetting;
48
+ //# sourceMappingURL=LogSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogSetting.js","sourceRoot":"","sources":["LogSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,uBAAkB,GAAgB,IAAI,CAAC;IA0BnD,CAAC;IAzBU,0CAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACM,0CAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,UAAU,EAAE;aAClB,sBAAsB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,2BAAM,GAAb;QACI,OAAO;YACH,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;SACrD,CAAC;IACN,CAAC;IACL,iBAAC;AAAD,CAAC,AA3BD,IA2BC"}
@@ -0,0 +1,46 @@
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 LogSetting implements IModel {
20
+ private loggingNamespaceId: string|null = null;
21
+ public getLoggingNamespaceId(): string|null {
22
+ return this.loggingNamespaceId;
23
+ }
24
+ public setLoggingNamespaceId(loggingNamespaceId: string|null) {
25
+ this.loggingNamespaceId = loggingNamespaceId;
26
+ return this;
27
+ }
28
+ public withLoggingNamespaceId(loggingNamespaceId: string|null): this {
29
+ this.loggingNamespaceId = loggingNamespaceId;
30
+ return this;
31
+ }
32
+
33
+ public static fromDict(data: {[key: string]: any}): LogSetting|null {
34
+ if (data == undefined || data == null) {
35
+ return null;
36
+ }
37
+ return new LogSetting()
38
+ .withLoggingNamespaceId(data["loggingNamespaceId"]);
39
+ }
40
+
41
+ public toDict(): {[key: string]: any} {
42
+ return {
43
+ "loggingNamespaceId": this.getLoggingNamespaceId(),
44
+ };
45
+ }
46
+ }
@@ -0,0 +1,43 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import LogSetting from './LogSetting';
3
+ export default class Namespace implements IModel {
4
+ private namespaceId;
5
+ private name;
6
+ private description;
7
+ private logSetting;
8
+ private createdAt;
9
+ private updatedAt;
10
+ private revision;
11
+ static getRegion(grn: string): string | null;
12
+ static getOwnerId(grn: string): string | null;
13
+ static getNamespaceName(grn: string): string | null;
14
+ static isValid(grn: string): boolean;
15
+ static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null): string | null;
16
+ getNamespaceId(): string | null;
17
+ setNamespaceId(namespaceId: string | null): this;
18
+ withNamespaceId(namespaceId: string | null): this;
19
+ getName(): string | null;
20
+ setName(name: string | null): this;
21
+ withName(name: string | null): this;
22
+ getDescription(): string | null;
23
+ setDescription(description: string | null): this;
24
+ withDescription(description: string | null): this;
25
+ getLogSetting(): LogSetting | null;
26
+ setLogSetting(logSetting: LogSetting | null): this;
27
+ withLogSetting(logSetting: LogSetting | null): this;
28
+ getCreatedAt(): number | null;
29
+ setCreatedAt(createdAt: number | null): this;
30
+ withCreatedAt(createdAt: number | null): this;
31
+ getUpdatedAt(): number | null;
32
+ setUpdatedAt(updatedAt: number | null): this;
33
+ withUpdatedAt(updatedAt: number | null): this;
34
+ getRevision(): number | null;
35
+ setRevision(revision: number | null): this;
36
+ withRevision(revision: number | null): this;
37
+ static fromDict(data: {
38
+ [key: string]: any;
39
+ }): Namespace | null;
40
+ toDict(): {
41
+ [key: string]: any;
42
+ };
43
+ }
@@ -0,0 +1,184 @@
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 LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
20
+ var grnFormat = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}";
21
+ var Namespace = /** @class */ (function () {
22
+ function Namespace() {
23
+ this.namespaceId = null;
24
+ this.name = null;
25
+ this.description = null;
26
+ this.logSetting = null;
27
+ this.createdAt = null;
28
+ this.updatedAt = null;
29
+ this.revision = null;
30
+ }
31
+ Namespace.getRegion = function (grn) {
32
+ var match = grn.match(grnFormat
33
+ .replace('{region}', '(.*)')
34
+ .replace('{ownerId}', '.*')
35
+ .replace('{namespaceName}', '.*'));
36
+ if (match) {
37
+ return match[1];
38
+ }
39
+ return null;
40
+ };
41
+ Namespace.getOwnerId = function (grn) {
42
+ var match = grn.match(grnFormat
43
+ .replace('{region}', '.*')
44
+ .replace('{ownerId}', '(.*)')
45
+ .replace('{namespaceName}', '.*'));
46
+ if (match) {
47
+ return match[1];
48
+ }
49
+ return null;
50
+ };
51
+ Namespace.getNamespaceName = function (grn) {
52
+ var match = grn.match(grnFormat
53
+ .replace('{region}', '.*')
54
+ .replace('{ownerId}', '.*')
55
+ .replace('{namespaceName}', '(.*)'));
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ };
61
+ Namespace.isValid = function (grn) {
62
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
63
+ return false;
64
+ }
65
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
66
+ return false;
67
+ }
68
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
69
+ return false;
70
+ }
71
+ return true;
72
+ };
73
+ Namespace.createGrn = function (region, ownerId, namespaceName) {
74
+ return grnFormat
75
+ .replace('{region}', region !== null && region !== void 0 ? region : '')
76
+ .replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
77
+ .replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '');
78
+ };
79
+ Namespace.prototype.getNamespaceId = function () {
80
+ return this.namespaceId;
81
+ };
82
+ Namespace.prototype.setNamespaceId = function (namespaceId) {
83
+ this.namespaceId = namespaceId;
84
+ return this;
85
+ };
86
+ Namespace.prototype.withNamespaceId = function (namespaceId) {
87
+ this.namespaceId = namespaceId;
88
+ return this;
89
+ };
90
+ Namespace.prototype.getName = function () {
91
+ return this.name;
92
+ };
93
+ Namespace.prototype.setName = function (name) {
94
+ this.name = name;
95
+ return this;
96
+ };
97
+ Namespace.prototype.withName = function (name) {
98
+ this.name = name;
99
+ return this;
100
+ };
101
+ Namespace.prototype.getDescription = function () {
102
+ return this.description;
103
+ };
104
+ Namespace.prototype.setDescription = function (description) {
105
+ this.description = description;
106
+ return this;
107
+ };
108
+ Namespace.prototype.withDescription = function (description) {
109
+ this.description = description;
110
+ return this;
111
+ };
112
+ Namespace.prototype.getLogSetting = function () {
113
+ return this.logSetting;
114
+ };
115
+ Namespace.prototype.setLogSetting = function (logSetting) {
116
+ this.logSetting = logSetting;
117
+ return this;
118
+ };
119
+ Namespace.prototype.withLogSetting = function (logSetting) {
120
+ this.logSetting = logSetting;
121
+ return this;
122
+ };
123
+ Namespace.prototype.getCreatedAt = function () {
124
+ return this.createdAt;
125
+ };
126
+ Namespace.prototype.setCreatedAt = function (createdAt) {
127
+ this.createdAt = createdAt;
128
+ return this;
129
+ };
130
+ Namespace.prototype.withCreatedAt = function (createdAt) {
131
+ this.createdAt = createdAt;
132
+ return this;
133
+ };
134
+ Namespace.prototype.getUpdatedAt = function () {
135
+ return this.updatedAt;
136
+ };
137
+ Namespace.prototype.setUpdatedAt = function (updatedAt) {
138
+ this.updatedAt = updatedAt;
139
+ return this;
140
+ };
141
+ Namespace.prototype.withUpdatedAt = function (updatedAt) {
142
+ this.updatedAt = updatedAt;
143
+ return this;
144
+ };
145
+ Namespace.prototype.getRevision = function () {
146
+ return this.revision;
147
+ };
148
+ Namespace.prototype.setRevision = function (revision) {
149
+ this.revision = revision;
150
+ return this;
151
+ };
152
+ Namespace.prototype.withRevision = function (revision) {
153
+ this.revision = revision;
154
+ return this;
155
+ };
156
+ Namespace.fromDict = function (data) {
157
+ if (data == undefined || data == null) {
158
+ return null;
159
+ }
160
+ return new Namespace()
161
+ .withNamespaceId(data["namespaceId"])
162
+ .withName(data["name"])
163
+ .withDescription(data["description"])
164
+ .withLogSetting(LogSetting_1.default.fromDict(data["logSetting"]))
165
+ .withCreatedAt(data["createdAt"])
166
+ .withUpdatedAt(data["updatedAt"])
167
+ .withRevision(data["revision"]);
168
+ };
169
+ Namespace.prototype.toDict = function () {
170
+ var _a;
171
+ return {
172
+ "namespaceId": this.getNamespaceId(),
173
+ "name": this.getName(),
174
+ "description": this.getDescription(),
175
+ "logSetting": (_a = this.getLogSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
176
+ "createdAt": this.getCreatedAt(),
177
+ "updatedAt": this.getUpdatedAt(),
178
+ "revision": this.getRevision(),
179
+ };
180
+ };
181
+ return Namespace;
182
+ }());
183
+ exports.default = Namespace;
184
+ //# sourceMappingURL=Namespace.js.map
@@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,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,gBAAC;AAAD,CAAC,AA3KD,IA2KC"}
@@ -0,0 +1,192 @@
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 LogSetting from './LogSetting';
19
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}";
20
+
21
+ export default class Namespace implements IModel {
22
+ private namespaceId: string|null = null;
23
+ private name: string|null = null;
24
+ private description: string|null = null;
25
+ private logSetting: LogSetting|null = null;
26
+ private createdAt: number|null = null;
27
+ private updatedAt: number|null = null;
28
+ private revision: number|null = null;
29
+
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ );
36
+ if (match) {
37
+ return match[1];
38
+ }
39
+ return null;
40
+ }
41
+
42
+ public static getOwnerId(grn: string): string|null {
43
+ const match = grn.match(grnFormat
44
+ .replace('{region}', '.*')
45
+ .replace('{ownerId}', '(.*)')
46
+ .replace('{namespaceName}', '.*')
47
+ );
48
+ if (match) {
49
+ return match[1];
50
+ }
51
+ return null;
52
+ }
53
+
54
+ public static getNamespaceName(grn: string): string|null {
55
+ const match = grn.match(grnFormat
56
+ .replace('{region}', '.*')
57
+ .replace('{ownerId}', '.*')
58
+ .replace('{namespaceName}', '(.*)')
59
+ );
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ }
65
+
66
+ public static isValid(grn: string): boolean {
67
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
68
+ return false;
69
+ }
70
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
71
+ return false;
72
+ }
73
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
74
+ return false;
75
+ }
76
+ return true;
77
+ }
78
+
79
+ public static createGrn(
80
+ region: string|null,
81
+ ownerId: string|null,
82
+ namespaceName: string|null,
83
+ ): string|null {
84
+ return grnFormat
85
+ .replace('{region}', region ?? '')
86
+ .replace('{ownerId}', ownerId ?? '')
87
+ .replace('{namespaceName}', namespaceName ?? '');
88
+ }
89
+ public getNamespaceId(): string|null {
90
+ return this.namespaceId;
91
+ }
92
+ public setNamespaceId(namespaceId: string|null) {
93
+ this.namespaceId = namespaceId;
94
+ return this;
95
+ }
96
+ public withNamespaceId(namespaceId: string|null): this {
97
+ this.namespaceId = namespaceId;
98
+ return this;
99
+ }
100
+ public getName(): string|null {
101
+ return this.name;
102
+ }
103
+ public setName(name: string|null) {
104
+ this.name = name;
105
+ return this;
106
+ }
107
+ public withName(name: string|null): this {
108
+ this.name = name;
109
+ return this;
110
+ }
111
+ public getDescription(): string|null {
112
+ return this.description;
113
+ }
114
+ public setDescription(description: string|null) {
115
+ this.description = description;
116
+ return this;
117
+ }
118
+ public withDescription(description: string|null): this {
119
+ this.description = description;
120
+ return this;
121
+ }
122
+ public getLogSetting(): LogSetting|null {
123
+ return this.logSetting;
124
+ }
125
+ public setLogSetting(logSetting: LogSetting|null) {
126
+ this.logSetting = logSetting;
127
+ return this;
128
+ }
129
+ public withLogSetting(logSetting: LogSetting|null): this {
130
+ this.logSetting = logSetting;
131
+ return this;
132
+ }
133
+ public getCreatedAt(): number|null {
134
+ return this.createdAt;
135
+ }
136
+ public setCreatedAt(createdAt: number|null) {
137
+ this.createdAt = createdAt;
138
+ return this;
139
+ }
140
+ public withCreatedAt(createdAt: number|null): this {
141
+ this.createdAt = createdAt;
142
+ return this;
143
+ }
144
+ public getUpdatedAt(): number|null {
145
+ return this.updatedAt;
146
+ }
147
+ public setUpdatedAt(updatedAt: number|null) {
148
+ this.updatedAt = updatedAt;
149
+ return this;
150
+ }
151
+ public withUpdatedAt(updatedAt: number|null): this {
152
+ this.updatedAt = updatedAt;
153
+ return this;
154
+ }
155
+ public getRevision(): number|null {
156
+ return this.revision;
157
+ }
158
+ public setRevision(revision: number|null) {
159
+ this.revision = revision;
160
+ return this;
161
+ }
162
+ public withRevision(revision: number|null): this {
163
+ this.revision = revision;
164
+ return this;
165
+ }
166
+
167
+ public static fromDict(data: {[key: string]: any}): Namespace|null {
168
+ if (data == undefined || data == null) {
169
+ return null;
170
+ }
171
+ return new Namespace()
172
+ .withNamespaceId(data["namespaceId"])
173
+ .withName(data["name"])
174
+ .withDescription(data["description"])
175
+ .withLogSetting(LogSetting.fromDict(data["logSetting"]))
176
+ .withCreatedAt(data["createdAt"])
177
+ .withUpdatedAt(data["updatedAt"])
178
+ .withRevision(data["revision"]);
179
+ }
180
+
181
+ public toDict(): {[key: string]: any} {
182
+ return {
183
+ "namespaceId": this.getNamespaceId(),
184
+ "name": this.getName(),
185
+ "description": this.getDescription(),
186
+ "logSetting": this.getLogSetting()?.toDict(),
187
+ "createdAt": this.getCreatedAt(),
188
+ "updatedAt": this.getUpdatedAt(),
189
+ "revision": this.getRevision(),
190
+ };
191
+ }
192
+ }
@@ -0,0 +1,10 @@
1
+ import Namespace from "./Namespace";
2
+ import BuffTargetModel from "./BuffTargetModel";
3
+ import BuffTargetAction from "./BuffTargetAction";
4
+ import BuffTargetGrn from "./BuffTargetGrn";
5
+ import BuffEntryModel from "./BuffEntryModel";
6
+ import BuffEntryModelMaster from "./BuffEntryModelMaster";
7
+ import CurrentBuffMaster from "./CurrentBuffMaster";
8
+ import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
9
+ import LogSetting from "./LogSetting";
10
+ export { Namespace, BuffTargetModel, BuffTargetAction, BuffTargetGrn, BuffEntryModel, BuffEntryModelMaster, CurrentBuffMaster, GitHubCheckoutSetting, LogSetting, };