gs2 1.0.3 → 1.0.6

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 (755) hide show
  1. package/account/model/Account.d.ts +6 -0
  2. package/account/model/Account.js +67 -0
  3. package/account/model/Account.js.map +1 -1
  4. package/account/model/Namespace.d.ts +5 -0
  5. package/account/model/Namespace.js +49 -0
  6. package/account/model/Namespace.js.map +1 -1
  7. package/account/model/TakeOver.d.ts +7 -0
  8. package/account/model/TakeOver.js +87 -0
  9. package/account/model/TakeOver.js.map +1 -1
  10. package/auth/index.d.ts +5 -4
  11. package/auth/index.js +9 -6
  12. package/auth/index.js.map +1 -1
  13. package/auth/model/AccessToken.d.ts +4 -2
  14. package/auth/model/AccessToken.js +8 -2
  15. package/auth/model/AccessToken.js.map +1 -1
  16. package/auth/model/index.d.ts +2 -1
  17. package/auth/model/index.js +3 -2
  18. package/auth/model/index.js.map +1 -1
  19. package/auth/request/LoginBySignatureRequest.d.ts +2 -2
  20. package/auth/request/LoginBySignatureRequest.js +1 -2
  21. package/auth/request/LoginBySignatureRequest.js.map +1 -1
  22. package/auth/request/LoginRequest.d.ts +2 -2
  23. package/auth/request/LoginRequest.js +1 -2
  24. package/auth/request/LoginRequest.js.map +1 -1
  25. package/auth/request/index.d.ts +3 -2
  26. package/auth/request/index.js +5 -4
  27. package/auth/request/index.js.map +1 -1
  28. package/auth/rest.d.ts +1 -1
  29. package/auth/rest.js +1 -2
  30. package/auth/rest.js.map +1 -1
  31. package/auth/result/LoginBySignatureResult.d.ts +2 -2
  32. package/auth/result/LoginBySignatureResult.js +1 -2
  33. package/auth/result/LoginBySignatureResult.js.map +1 -1
  34. package/auth/result/LoginResult.d.ts +2 -2
  35. package/auth/result/LoginResult.js +1 -2
  36. package/auth/result/LoginResult.js.map +1 -1
  37. package/auth/result/index.d.ts +3 -2
  38. package/auth/result/index.js +5 -4
  39. package/auth/result/index.js.map +1 -1
  40. package/chat/model/Message.d.ts +7 -0
  41. package/chat/model/Message.js +87 -0
  42. package/chat/model/Message.js.map +1 -1
  43. package/chat/model/Namespace.d.ts +5 -0
  44. package/chat/model/Namespace.js +49 -0
  45. package/chat/model/Namespace.js.map +1 -1
  46. package/chat/model/Room.d.ts +6 -0
  47. package/chat/model/Room.js +67 -0
  48. package/chat/model/Room.js.map +1 -1
  49. package/chat/model/Subscribe.d.ts +7 -0
  50. package/chat/model/Subscribe.js +87 -0
  51. package/chat/model/Subscribe.js.map +1 -1
  52. package/datastore/model/DataObject.d.ts +7 -0
  53. package/datastore/model/DataObject.js +87 -0
  54. package/datastore/model/DataObject.js.map +1 -1
  55. package/datastore/model/DataObjectHistory.d.ts +8 -0
  56. package/datastore/model/DataObjectHistory.js +109 -0
  57. package/datastore/model/DataObjectHistory.js.map +1 -1
  58. package/datastore/model/Namespace.d.ts +5 -0
  59. package/datastore/model/Namespace.js +49 -0
  60. package/datastore/model/Namespace.js.map +1 -1
  61. package/deploy/model/Event.d.ts +6 -0
  62. package/deploy/model/Event.js +67 -0
  63. package/deploy/model/Event.js.map +1 -1
  64. package/deploy/model/Output.d.ts +6 -0
  65. package/deploy/model/Output.js +67 -0
  66. package/deploy/model/Output.js.map +1 -1
  67. package/deploy/model/Resource.d.ts +6 -0
  68. package/deploy/model/Resource.js +67 -0
  69. package/deploy/model/Resource.js.map +1 -1
  70. package/deploy/model/Stack.d.ts +5 -0
  71. package/deploy/model/Stack.js +49 -0
  72. package/deploy/model/Stack.js.map +1 -1
  73. package/dictionary/model/CurrentEntryMaster.d.ts +5 -0
  74. package/dictionary/model/CurrentEntryMaster.js +49 -0
  75. package/dictionary/model/CurrentEntryMaster.js.map +1 -1
  76. package/dictionary/model/Entry.d.ts +7 -0
  77. package/dictionary/model/Entry.js +87 -0
  78. package/dictionary/model/Entry.js.map +1 -1
  79. package/dictionary/model/EntryModel.d.ts +6 -0
  80. package/dictionary/model/EntryModel.js +67 -0
  81. package/dictionary/model/EntryModel.js.map +1 -1
  82. package/dictionary/model/EntryModelMaster.d.ts +6 -0
  83. package/dictionary/model/EntryModelMaster.js +67 -0
  84. package/dictionary/model/EntryModelMaster.js.map +1 -1
  85. package/dictionary/model/Namespace.d.ts +5 -0
  86. package/dictionary/model/Namespace.js +49 -0
  87. package/dictionary/model/Namespace.js.map +1 -1
  88. package/distributor/model/CurrentDistributorMaster.d.ts +5 -0
  89. package/distributor/model/CurrentDistributorMaster.js +49 -0
  90. package/distributor/model/CurrentDistributorMaster.js.map +1 -1
  91. package/distributor/model/DistributorModel.d.ts +6 -0
  92. package/distributor/model/DistributorModel.js +67 -0
  93. package/distributor/model/DistributorModel.js.map +1 -1
  94. package/distributor/model/DistributorModelMaster.d.ts +6 -0
  95. package/distributor/model/DistributorModelMaster.js +67 -0
  96. package/distributor/model/DistributorModelMaster.js.map +1 -1
  97. package/distributor/model/Namespace.d.ts +5 -0
  98. package/distributor/model/Namespace.js +49 -0
  99. package/distributor/model/Namespace.js.map +1 -1
  100. package/enhance/model/CurrentRateMaster.d.ts +5 -0
  101. package/enhance/model/CurrentRateMaster.js +49 -0
  102. package/enhance/model/CurrentRateMaster.js.map +1 -1
  103. package/enhance/model/Namespace.d.ts +5 -0
  104. package/enhance/model/Namespace.js +49 -0
  105. package/enhance/model/Namespace.js.map +1 -1
  106. package/enhance/model/Progress.d.ts +2 -0
  107. package/enhance/model/Progress.js +7 -0
  108. package/enhance/model/Progress.js.map +1 -1
  109. package/enhance/model/RateModel.d.ts +6 -0
  110. package/enhance/model/RateModel.js +67 -0
  111. package/enhance/model/RateModel.js.map +1 -1
  112. package/enhance/model/RateModelMaster.d.ts +6 -0
  113. package/enhance/model/RateModelMaster.js +67 -0
  114. package/enhance/model/RateModelMaster.js.map +1 -1
  115. package/exchange/model/Await.d.ts +7 -0
  116. package/exchange/model/Await.js +87 -0
  117. package/exchange/model/Await.js.map +1 -1
  118. package/exchange/model/CurrentRateMaster.d.ts +5 -0
  119. package/exchange/model/CurrentRateMaster.js +49 -0
  120. package/exchange/model/CurrentRateMaster.js.map +1 -1
  121. package/exchange/model/Namespace.d.ts +5 -0
  122. package/exchange/model/Namespace.js +49 -0
  123. package/exchange/model/Namespace.js.map +1 -1
  124. package/exchange/model/RateModel.d.ts +6 -0
  125. package/exchange/model/RateModel.js +67 -0
  126. package/exchange/model/RateModel.js.map +1 -1
  127. package/exchange/model/RateModelMaster.d.ts +6 -0
  128. package/exchange/model/RateModelMaster.js +67 -0
  129. package/exchange/model/RateModelMaster.js.map +1 -1
  130. package/experience/model/CurrentExperienceMaster.d.ts +5 -0
  131. package/experience/model/CurrentExperienceMaster.js +49 -0
  132. package/experience/model/CurrentExperienceMaster.js.map +1 -1
  133. package/experience/model/ExperienceModel.d.ts +6 -0
  134. package/experience/model/ExperienceModel.js +67 -0
  135. package/experience/model/ExperienceModel.js.map +1 -1
  136. package/experience/model/ExperienceModelMaster.d.ts +6 -0
  137. package/experience/model/ExperienceModelMaster.js +67 -0
  138. package/experience/model/ExperienceModelMaster.js.map +1 -1
  139. package/experience/model/Namespace.d.ts +5 -0
  140. package/experience/model/Namespace.js +49 -0
  141. package/experience/model/Namespace.js.map +1 -1
  142. package/experience/model/Status.d.ts +8 -0
  143. package/experience/model/Status.js +109 -0
  144. package/experience/model/Status.js.map +1 -1
  145. package/experience/model/ThresholdMaster.d.ts +6 -0
  146. package/experience/model/ThresholdMaster.js +67 -0
  147. package/experience/model/ThresholdMaster.js.map +1 -1
  148. package/formation/model/CurrentFormMaster.d.ts +5 -0
  149. package/formation/model/CurrentFormMaster.js +49 -0
  150. package/formation/model/CurrentFormMaster.js.map +1 -1
  151. package/formation/model/Form.d.ts +8 -0
  152. package/formation/model/Form.js +109 -0
  153. package/formation/model/Form.js.map +1 -1
  154. package/formation/model/FormModel.d.ts +6 -0
  155. package/formation/model/FormModel.js +67 -0
  156. package/formation/model/FormModel.js.map +1 -1
  157. package/formation/model/FormModelMaster.d.ts +6 -0
  158. package/formation/model/FormModelMaster.js +67 -0
  159. package/formation/model/FormModelMaster.js.map +1 -1
  160. package/formation/model/Mold.d.ts +7 -0
  161. package/formation/model/Mold.js +87 -0
  162. package/formation/model/Mold.js.map +1 -1
  163. package/formation/model/MoldModel.d.ts +6 -0
  164. package/formation/model/MoldModel.js +67 -0
  165. package/formation/model/MoldModel.js.map +1 -1
  166. package/formation/model/MoldModelMaster.d.ts +6 -0
  167. package/formation/model/MoldModelMaster.js +67 -0
  168. package/formation/model/MoldModelMaster.js.map +1 -1
  169. package/formation/model/Namespace.d.ts +5 -0
  170. package/formation/model/Namespace.js +49 -0
  171. package/formation/model/Namespace.js.map +1 -1
  172. package/friend/model/BlackList.d.ts +6 -0
  173. package/friend/model/BlackList.js +67 -0
  174. package/friend/model/BlackList.js.map +1 -1
  175. package/friend/model/Follow.d.ts +6 -0
  176. package/friend/model/Follow.js +67 -0
  177. package/friend/model/Follow.js.map +1 -1
  178. package/friend/model/FollowUser.d.ts +2 -0
  179. package/friend/model/FollowUser.js +7 -0
  180. package/friend/model/FollowUser.js.map +1 -1
  181. package/friend/model/Friend.d.ts +6 -0
  182. package/friend/model/Friend.js +67 -0
  183. package/friend/model/Friend.js.map +1 -1
  184. package/friend/model/FriendRequest.d.ts +2 -0
  185. package/friend/model/FriendRequest.js +7 -0
  186. package/friend/model/FriendRequest.js.map +1 -1
  187. package/friend/model/FriendUser.d.ts +2 -0
  188. package/friend/model/FriendUser.js +7 -0
  189. package/friend/model/FriendUser.js.map +1 -1
  190. package/friend/model/Inbox.d.ts +6 -0
  191. package/friend/model/Inbox.js +67 -0
  192. package/friend/model/Inbox.js.map +1 -1
  193. package/friend/model/Namespace.d.ts +5 -0
  194. package/friend/model/Namespace.js +49 -0
  195. package/friend/model/Namespace.js.map +1 -1
  196. package/friend/model/Profile.d.ts +6 -0
  197. package/friend/model/Profile.js +67 -0
  198. package/friend/model/Profile.js.map +1 -1
  199. package/friend/model/PublicProfile.d.ts +2 -0
  200. package/friend/model/PublicProfile.js +7 -0
  201. package/friend/model/PublicProfile.js.map +1 -1
  202. package/friend/model/ReceiveFriendRequest.d.ts +2 -0
  203. package/friend/model/ReceiveFriendRequest.js +7 -0
  204. package/friend/model/ReceiveFriendRequest.js.map +1 -1
  205. package/friend/model/SendBox.d.ts +6 -0
  206. package/friend/model/SendBox.js +67 -0
  207. package/friend/model/SendBox.js.map +1 -1
  208. package/friend/model/SendFriendRequest.d.ts +2 -0
  209. package/friend/model/SendFriendRequest.js +7 -0
  210. package/friend/model/SendFriendRequest.js.map +1 -1
  211. package/gateway/model/FirebaseToken.d.ts +6 -0
  212. package/gateway/model/FirebaseToken.js +67 -0
  213. package/gateway/model/FirebaseToken.js.map +1 -1
  214. package/gateway/model/Namespace.d.ts +5 -0
  215. package/gateway/model/Namespace.js +49 -0
  216. package/gateway/model/Namespace.js.map +1 -1
  217. package/gateway/model/WebSocketSession.d.ts +7 -0
  218. package/gateway/model/WebSocketSession.js +87 -0
  219. package/gateway/model/WebSocketSession.js.map +1 -1
  220. package/identifier/model/AttachSecurityPolicy.d.ts +4 -0
  221. package/identifier/model/AttachSecurityPolicy.js +33 -0
  222. package/identifier/model/AttachSecurityPolicy.js.map +1 -1
  223. package/identifier/model/Identifier.d.ts +2 -0
  224. package/identifier/model/Identifier.js +7 -0
  225. package/identifier/model/Identifier.js.map +1 -1
  226. package/identifier/model/Password.d.ts +4 -0
  227. package/identifier/model/Password.js +33 -0
  228. package/identifier/model/Password.js.map +1 -1
  229. package/identifier/model/SecurityPolicy.d.ts +4 -0
  230. package/identifier/model/SecurityPolicy.js +33 -0
  231. package/identifier/model/SecurityPolicy.js.map +1 -1
  232. package/identifier/model/User.d.ts +4 -0
  233. package/identifier/model/User.js +33 -0
  234. package/identifier/model/User.js.map +1 -1
  235. package/inbox/model/CurrentMessageMaster.d.ts +5 -0
  236. package/inbox/model/CurrentMessageMaster.js +49 -0
  237. package/inbox/model/CurrentMessageMaster.js.map +1 -1
  238. package/inbox/model/GlobalMessage.d.ts +6 -0
  239. package/inbox/model/GlobalMessage.js +67 -0
  240. package/inbox/model/GlobalMessage.js.map +1 -1
  241. package/inbox/model/GlobalMessageMaster.d.ts +6 -0
  242. package/inbox/model/GlobalMessageMaster.js +67 -0
  243. package/inbox/model/GlobalMessageMaster.js.map +1 -1
  244. package/inbox/model/Message.d.ts +7 -0
  245. package/inbox/model/Message.js +87 -0
  246. package/inbox/model/Message.js.map +1 -1
  247. package/inbox/model/Namespace.d.ts +5 -0
  248. package/inbox/model/Namespace.js +49 -0
  249. package/inbox/model/Namespace.js.map +1 -1
  250. package/inbox/model/Received.d.ts +6 -0
  251. package/inbox/model/Received.js +67 -0
  252. package/inbox/model/Received.js.map +1 -1
  253. package/inventory/model/CurrentItemModelMaster.d.ts +5 -0
  254. package/inventory/model/CurrentItemModelMaster.js +49 -0
  255. package/inventory/model/CurrentItemModelMaster.js.map +1 -1
  256. package/inventory/model/Inventory.d.ts +7 -0
  257. package/inventory/model/Inventory.js +87 -0
  258. package/inventory/model/Inventory.js.map +1 -1
  259. package/inventory/model/InventoryModel.d.ts +6 -0
  260. package/inventory/model/InventoryModel.js +67 -0
  261. package/inventory/model/InventoryModel.js.map +1 -1
  262. package/inventory/model/InventoryModelMaster.d.ts +6 -0
  263. package/inventory/model/InventoryModelMaster.js +67 -0
  264. package/inventory/model/InventoryModelMaster.js.map +1 -1
  265. package/inventory/model/ItemModel.d.ts +7 -0
  266. package/inventory/model/ItemModel.js +87 -0
  267. package/inventory/model/ItemModel.js.map +1 -1
  268. package/inventory/model/ItemModelMaster.d.ts +7 -0
  269. package/inventory/model/ItemModelMaster.js +87 -0
  270. package/inventory/model/ItemModelMaster.js.map +1 -1
  271. package/inventory/model/ItemSet.d.ts +9 -0
  272. package/inventory/model/ItemSet.js +133 -0
  273. package/inventory/model/ItemSet.js.map +1 -1
  274. package/inventory/model/Namespace.d.ts +5 -0
  275. package/inventory/model/Namespace.js +49 -0
  276. package/inventory/model/Namespace.js.map +1 -1
  277. package/inventory/model/ReferenceOf.d.ts +9 -0
  278. package/inventory/model/ReferenceOf.js +133 -0
  279. package/inventory/model/ReferenceOf.js.map +1 -1
  280. package/jest.config.cjs +0 -1
  281. package/jobQueue/model/DeadLetterJob.d.ts +7 -0
  282. package/jobQueue/model/DeadLetterJob.js +87 -0
  283. package/jobQueue/model/DeadLetterJob.js.map +1 -1
  284. package/jobQueue/model/Job.d.ts +7 -0
  285. package/jobQueue/model/Job.js +87 -0
  286. package/jobQueue/model/Job.js.map +1 -1
  287. package/jobQueue/model/JobResult.d.ts +8 -0
  288. package/jobQueue/model/JobResult.js +109 -0
  289. package/jobQueue/model/JobResult.js.map +1 -1
  290. package/jobQueue/model/Namespace.d.ts +5 -0
  291. package/jobQueue/model/Namespace.js +49 -0
  292. package/jobQueue/model/Namespace.js.map +1 -1
  293. package/key/model/GitHubApiKey.d.ts +6 -0
  294. package/key/model/GitHubApiKey.js +67 -0
  295. package/key/model/GitHubApiKey.js.map +1 -1
  296. package/key/model/Key.d.ts +6 -0
  297. package/key/model/Key.js +67 -0
  298. package/key/model/Key.js.map +1 -1
  299. package/key/model/Namespace.d.ts +5 -0
  300. package/key/model/Namespace.js +49 -0
  301. package/key/model/Namespace.js.map +1 -1
  302. package/limit/model/Counter.d.ts +8 -0
  303. package/limit/model/Counter.js +109 -0
  304. package/limit/model/Counter.js.map +1 -1
  305. package/limit/model/CurrentLimitMaster.d.ts +5 -0
  306. package/limit/model/CurrentLimitMaster.js +49 -0
  307. package/limit/model/CurrentLimitMaster.js.map +1 -1
  308. package/limit/model/LimitModel.d.ts +6 -0
  309. package/limit/model/LimitModel.js +67 -0
  310. package/limit/model/LimitModel.js.map +1 -1
  311. package/limit/model/LimitModelMaster.d.ts +6 -0
  312. package/limit/model/LimitModelMaster.js +67 -0
  313. package/limit/model/LimitModelMaster.js.map +1 -1
  314. package/limit/model/Namespace.d.ts +5 -0
  315. package/limit/model/Namespace.js +49 -0
  316. package/limit/model/Namespace.js.map +1 -1
  317. package/lock/model/Mutex.d.ts +7 -0
  318. package/lock/model/Mutex.js +87 -0
  319. package/lock/model/Mutex.js.map +1 -1
  320. package/lock/model/Namespace.d.ts +5 -0
  321. package/lock/model/Namespace.js +49 -0
  322. package/lock/model/Namespace.js.map +1 -1
  323. package/log/model/Namespace.d.ts +5 -0
  324. package/log/model/Namespace.js +49 -0
  325. package/log/model/Namespace.js.map +1 -1
  326. package/lottery/model/Box.d.ts +7 -0
  327. package/lottery/model/Box.js +87 -0
  328. package/lottery/model/Box.js.map +1 -1
  329. package/lottery/model/CurrentLotteryMaster.d.ts +5 -0
  330. package/lottery/model/CurrentLotteryMaster.js +49 -0
  331. package/lottery/model/CurrentLotteryMaster.js.map +1 -1
  332. package/lottery/model/LotteryModel.d.ts +6 -0
  333. package/lottery/model/LotteryModel.js +67 -0
  334. package/lottery/model/LotteryModel.js.map +1 -1
  335. package/lottery/model/LotteryModelMaster.d.ts +6 -0
  336. package/lottery/model/LotteryModelMaster.js +67 -0
  337. package/lottery/model/LotteryModelMaster.js.map +1 -1
  338. package/lottery/model/Namespace.d.ts +5 -0
  339. package/lottery/model/Namespace.js +49 -0
  340. package/lottery/model/Namespace.js.map +1 -1
  341. package/lottery/model/PrizeTable.d.ts +6 -0
  342. package/lottery/model/PrizeTable.js +67 -0
  343. package/lottery/model/PrizeTable.js.map +1 -1
  344. package/lottery/model/PrizeTableMaster.d.ts +6 -0
  345. package/lottery/model/PrizeTableMaster.js +67 -0
  346. package/lottery/model/PrizeTableMaster.js.map +1 -1
  347. package/matchmaking/model/CurrentRatingModelMaster.d.ts +5 -0
  348. package/matchmaking/model/CurrentRatingModelMaster.js +49 -0
  349. package/matchmaking/model/CurrentRatingModelMaster.js.map +1 -1
  350. package/matchmaking/model/Gathering.d.ts +6 -0
  351. package/matchmaking/model/Gathering.js +67 -0
  352. package/matchmaking/model/Gathering.js.map +1 -1
  353. package/matchmaking/model/Namespace.d.ts +5 -0
  354. package/matchmaking/model/Namespace.js +49 -0
  355. package/matchmaking/model/Namespace.js.map +1 -1
  356. package/matchmaking/model/Rating.d.ts +7 -0
  357. package/matchmaking/model/Rating.js +87 -0
  358. package/matchmaking/model/Rating.js.map +1 -1
  359. package/matchmaking/model/RatingModel.d.ts +6 -0
  360. package/matchmaking/model/RatingModel.js +67 -0
  361. package/matchmaking/model/RatingModel.js.map +1 -1
  362. package/matchmaking/model/RatingModelMaster.d.ts +6 -0
  363. package/matchmaking/model/RatingModelMaster.js +67 -0
  364. package/matchmaking/model/RatingModelMaster.js.map +1 -1
  365. package/matchmaking/model/Vote.d.ts +7 -0
  366. package/matchmaking/model/Vote.js +87 -0
  367. package/matchmaking/model/Vote.js.map +1 -1
  368. package/mission/model/Complete.d.ts +7 -0
  369. package/mission/model/Complete.js +87 -0
  370. package/mission/model/Complete.js.map +1 -1
  371. package/mission/model/Counter.d.ts +7 -0
  372. package/mission/model/Counter.js +87 -0
  373. package/mission/model/Counter.js.map +1 -1
  374. package/mission/model/CounterModel.d.ts +6 -0
  375. package/mission/model/CounterModel.js +67 -0
  376. package/mission/model/CounterModel.js.map +1 -1
  377. package/mission/model/CounterModelMaster.d.ts +6 -0
  378. package/mission/model/CounterModelMaster.js +67 -0
  379. package/mission/model/CounterModelMaster.js.map +1 -1
  380. package/mission/model/CurrentMissionMaster.d.ts +5 -0
  381. package/mission/model/CurrentMissionMaster.js +49 -0
  382. package/mission/model/CurrentMissionMaster.js.map +1 -1
  383. package/mission/model/MissionGroupModel.d.ts +6 -0
  384. package/mission/model/MissionGroupModel.js +67 -0
  385. package/mission/model/MissionGroupModel.js.map +1 -1
  386. package/mission/model/MissionGroupModelMaster.d.ts +6 -0
  387. package/mission/model/MissionGroupModelMaster.js +67 -0
  388. package/mission/model/MissionGroupModelMaster.js.map +1 -1
  389. package/mission/model/MissionTaskModel.d.ts +7 -0
  390. package/mission/model/MissionTaskModel.js +87 -0
  391. package/mission/model/MissionTaskModel.js.map +1 -1
  392. package/mission/model/MissionTaskModelMaster.d.ts +7 -0
  393. package/mission/model/MissionTaskModelMaster.js +87 -0
  394. package/mission/model/MissionTaskModelMaster.js.map +1 -1
  395. package/mission/model/Namespace.d.ts +5 -0
  396. package/mission/model/Namespace.js +49 -0
  397. package/mission/model/Namespace.js.map +1 -1
  398. package/money/model/Namespace.d.ts +5 -0
  399. package/money/model/Namespace.js +49 -0
  400. package/money/model/Namespace.js.map +1 -1
  401. package/money/model/Receipt.d.ts +7 -0
  402. package/money/model/Receipt.js +87 -0
  403. package/money/model/Receipt.js.map +1 -1
  404. package/money/model/Wallet.d.ts +7 -0
  405. package/money/model/Wallet.js +87 -0
  406. package/money/model/Wallet.js.map +1 -1
  407. package/news/model/Namespace.d.ts +5 -0
  408. package/news/model/Namespace.js +49 -0
  409. package/news/model/Namespace.js.map +1 -1
  410. package/package.json +1 -3
  411. package/project/model/Account.d.ts +3 -0
  412. package/project/model/Account.js +19 -0
  413. package/project/model/Account.js.map +1 -1
  414. package/project/model/Billing.d.ts +6 -0
  415. package/project/model/Billing.js +67 -0
  416. package/project/model/Billing.js.map +1 -1
  417. package/project/model/BillingMethod.d.ts +4 -0
  418. package/project/model/BillingMethod.js +33 -0
  419. package/project/model/BillingMethod.js.map +1 -1
  420. package/project/model/Project.d.ts +4 -0
  421. package/project/model/Project.js +33 -0
  422. package/project/model/Project.js.map +1 -1
  423. package/project/model/Receipt.d.ts +4 -0
  424. package/project/model/Receipt.js +33 -0
  425. package/project/model/Receipt.js.map +1 -1
  426. package/quest/model/CompletedQuestList.d.ts +7 -0
  427. package/quest/model/CompletedQuestList.js +87 -0
  428. package/quest/model/CompletedQuestList.js.map +1 -1
  429. package/quest/model/CurrentQuestMaster.d.ts +5 -0
  430. package/quest/model/CurrentQuestMaster.js +49 -0
  431. package/quest/model/CurrentQuestMaster.js.map +1 -1
  432. package/quest/model/Namespace.d.ts +5 -0
  433. package/quest/model/Namespace.js +49 -0
  434. package/quest/model/Namespace.js.map +1 -1
  435. package/quest/model/Progress.d.ts +6 -0
  436. package/quest/model/Progress.js +67 -0
  437. package/quest/model/Progress.js.map +1 -1
  438. package/quest/model/QuestGroupModel.d.ts +6 -0
  439. package/quest/model/QuestGroupModel.js +67 -0
  440. package/quest/model/QuestGroupModel.js.map +1 -1
  441. package/quest/model/QuestGroupModelMaster.d.ts +6 -0
  442. package/quest/model/QuestGroupModelMaster.js +67 -0
  443. package/quest/model/QuestGroupModelMaster.js.map +1 -1
  444. package/quest/model/QuestModel.d.ts +7 -0
  445. package/quest/model/QuestModel.js +87 -0
  446. package/quest/model/QuestModel.js.map +1 -1
  447. package/quest/model/QuestModelMaster.d.ts +7 -0
  448. package/quest/model/QuestModelMaster.js +87 -0
  449. package/quest/model/QuestModelMaster.js.map +1 -1
  450. package/ranking/model/CategoryModel.d.ts +6 -0
  451. package/ranking/model/CategoryModel.js +67 -0
  452. package/ranking/model/CategoryModel.js.map +1 -1
  453. package/ranking/model/CategoryModelMaster.d.ts +6 -0
  454. package/ranking/model/CategoryModelMaster.js +67 -0
  455. package/ranking/model/CategoryModelMaster.js.map +1 -1
  456. package/ranking/model/CurrentRankingMaster.d.ts +5 -0
  457. package/ranking/model/CurrentRankingMaster.js +49 -0
  458. package/ranking/model/CurrentRankingMaster.js.map +1 -1
  459. package/ranking/model/Namespace.d.ts +5 -0
  460. package/ranking/model/Namespace.js +49 -0
  461. package/ranking/model/Namespace.js.map +1 -1
  462. package/ranking/model/Score.d.ts +9 -0
  463. package/ranking/model/Score.js +133 -0
  464. package/ranking/model/Score.js.map +1 -1
  465. package/ranking/model/Subscribe.d.ts +7 -0
  466. package/ranking/model/Subscribe.js +87 -0
  467. package/ranking/model/Subscribe.js.map +1 -1
  468. package/realtime/model/Namespace.d.ts +5 -0
  469. package/realtime/model/Namespace.js +49 -0
  470. package/realtime/model/Namespace.js.map +1 -1
  471. package/realtime/model/Room.d.ts +6 -0
  472. package/realtime/model/Room.js +67 -0
  473. package/realtime/model/Room.js.map +1 -1
  474. package/schedule/model/CurrentEventMaster.d.ts +5 -0
  475. package/schedule/model/CurrentEventMaster.js +49 -0
  476. package/schedule/model/CurrentEventMaster.js.map +1 -1
  477. package/schedule/model/Event.d.ts +6 -0
  478. package/schedule/model/Event.js +67 -0
  479. package/schedule/model/Event.js.map +1 -1
  480. package/schedule/model/EventMaster.d.ts +6 -0
  481. package/schedule/model/EventMaster.js +67 -0
  482. package/schedule/model/EventMaster.js.map +1 -1
  483. package/schedule/model/Namespace.d.ts +5 -0
  484. package/schedule/model/Namespace.js +49 -0
  485. package/schedule/model/Namespace.js.map +1 -1
  486. package/schedule/model/Trigger.d.ts +7 -0
  487. package/schedule/model/Trigger.js +87 -0
  488. package/schedule/model/Trigger.js.map +1 -1
  489. package/script/model/Namespace.d.ts +5 -0
  490. package/script/model/Namespace.js +49 -0
  491. package/script/model/Namespace.js.map +1 -1
  492. package/script/model/Script.d.ts +6 -0
  493. package/script/model/Script.js +67 -0
  494. package/script/model/Script.js.map +1 -1
  495. package/showcase/model/CurrentShowcaseMaster.d.ts +5 -0
  496. package/showcase/model/CurrentShowcaseMaster.js +49 -0
  497. package/showcase/model/CurrentShowcaseMaster.js.map +1 -1
  498. package/showcase/model/Namespace.d.ts +5 -0
  499. package/showcase/model/Namespace.js +49 -0
  500. package/showcase/model/Namespace.js.map +1 -1
  501. package/showcase/model/SalesItemGroupMaster.d.ts +6 -0
  502. package/showcase/model/SalesItemGroupMaster.js +67 -0
  503. package/showcase/model/SalesItemGroupMaster.js.map +1 -1
  504. package/showcase/model/SalesItemMaster.d.ts +6 -0
  505. package/showcase/model/SalesItemMaster.js +67 -0
  506. package/showcase/model/SalesItemMaster.js.map +1 -1
  507. package/showcase/model/Showcase.d.ts +6 -0
  508. package/showcase/model/Showcase.js +67 -0
  509. package/showcase/model/Showcase.js.map +1 -1
  510. package/showcase/model/ShowcaseMaster.d.ts +6 -0
  511. package/showcase/model/ShowcaseMaster.js +67 -0
  512. package/showcase/model/ShowcaseMaster.js.map +1 -1
  513. package/src/account/model/Account.ts +82 -0
  514. package/src/account/model/Namespace.ts +61 -0
  515. package/src/account/model/TakeOver.ts +105 -0
  516. package/src/auth/index.ts +11 -4
  517. package/src/auth/model/AccessToken.ts +12 -2
  518. package/src/auth/model/index.ts +5 -1
  519. package/src/auth/request/LoginBySignatureRequest.ts +2 -2
  520. package/src/auth/request/LoginRequest.ts +2 -2
  521. package/src/auth/request/index.ts +7 -2
  522. package/src/auth/rest.ts +1 -1
  523. package/src/auth/result/LoginBySignatureResult.ts +2 -2
  524. package/src/auth/result/LoginResult.ts +2 -2
  525. package/src/auth/result/index.ts +7 -2
  526. package/src/chat/model/Message.ts +105 -0
  527. package/src/chat/model/Namespace.ts +61 -0
  528. package/src/chat/model/Room.ts +82 -0
  529. package/src/chat/model/Subscribe.ts +105 -0
  530. package/src/datastore/model/DataObject.ts +105 -0
  531. package/src/datastore/model/DataObjectHistory.ts +130 -0
  532. package/src/datastore/model/Namespace.ts +61 -0
  533. package/src/deploy/model/Event.ts +82 -0
  534. package/src/deploy/model/Output.ts +82 -0
  535. package/src/deploy/model/Resource.ts +82 -0
  536. package/src/deploy/model/Stack.ts +61 -0
  537. package/src/dictionary/model/CurrentEntryMaster.ts +61 -0
  538. package/src/dictionary/model/Entry.ts +105 -0
  539. package/src/dictionary/model/EntryModel.ts +82 -0
  540. package/src/dictionary/model/EntryModelMaster.ts +82 -0
  541. package/src/dictionary/model/Namespace.ts +61 -0
  542. package/src/distributor/model/CurrentDistributorMaster.ts +61 -0
  543. package/src/distributor/model/DistributorModel.ts +82 -0
  544. package/src/distributor/model/DistributorModelMaster.ts +82 -0
  545. package/src/distributor/model/Namespace.ts +61 -0
  546. package/src/enhance/model/CurrentRateMaster.ts +61 -0
  547. package/src/enhance/model/Namespace.ts +61 -0
  548. package/src/enhance/model/Progress.ts +10 -0
  549. package/src/enhance/model/RateModel.ts +82 -0
  550. package/src/enhance/model/RateModelMaster.ts +82 -0
  551. package/src/exchange/model/Await.ts +105 -0
  552. package/src/exchange/model/CurrentRateMaster.ts +61 -0
  553. package/src/exchange/model/Namespace.ts +61 -0
  554. package/src/exchange/model/RateModel.ts +82 -0
  555. package/src/exchange/model/RateModelMaster.ts +82 -0
  556. package/src/experience/model/CurrentExperienceMaster.ts +61 -0
  557. package/src/experience/model/ExperienceModel.ts +82 -0
  558. package/src/experience/model/ExperienceModelMaster.ts +82 -0
  559. package/src/experience/model/Namespace.ts +61 -0
  560. package/src/experience/model/Status.ts +130 -0
  561. package/src/experience/model/ThresholdMaster.ts +82 -0
  562. package/src/formation/model/CurrentFormMaster.ts +61 -0
  563. package/src/formation/model/Form.ts +130 -0
  564. package/src/formation/model/FormModel.ts +82 -0
  565. package/src/formation/model/FormModelMaster.ts +82 -0
  566. package/src/formation/model/Mold.ts +105 -0
  567. package/src/formation/model/MoldModel.ts +82 -0
  568. package/src/formation/model/MoldModelMaster.ts +82 -0
  569. package/src/formation/model/Namespace.ts +61 -0
  570. package/src/friend/model/BlackList.ts +82 -0
  571. package/src/friend/model/Follow.ts +82 -0
  572. package/src/friend/model/FollowUser.ts +10 -0
  573. package/src/friend/model/Friend.ts +82 -0
  574. package/src/friend/model/FriendRequest.ts +10 -0
  575. package/src/friend/model/FriendUser.ts +10 -0
  576. package/src/friend/model/Inbox.ts +82 -0
  577. package/src/friend/model/Namespace.ts +61 -0
  578. package/src/friend/model/Profile.ts +82 -0
  579. package/src/friend/model/PublicProfile.ts +10 -0
  580. package/src/friend/model/ReceiveFriendRequest.ts +10 -0
  581. package/src/friend/model/SendBox.ts +82 -0
  582. package/src/friend/model/SendFriendRequest.ts +10 -0
  583. package/src/gateway/model/FirebaseToken.ts +82 -0
  584. package/src/gateway/model/Namespace.ts +61 -0
  585. package/src/gateway/model/WebSocketSession.ts +105 -0
  586. package/src/identifier/model/AttachSecurityPolicy.ts +42 -0
  587. package/src/identifier/model/Identifier.ts +10 -0
  588. package/src/identifier/model/Password.ts +42 -0
  589. package/src/identifier/model/SecurityPolicy.ts +42 -0
  590. package/src/identifier/model/User.ts +42 -0
  591. package/src/inbox/model/CurrentMessageMaster.ts +61 -0
  592. package/src/inbox/model/GlobalMessage.ts +82 -0
  593. package/src/inbox/model/GlobalMessageMaster.ts +82 -0
  594. package/src/inbox/model/Message.ts +105 -0
  595. package/src/inbox/model/Namespace.ts +61 -0
  596. package/src/inbox/model/Received.ts +82 -0
  597. package/src/inventory/model/CurrentItemModelMaster.ts +61 -0
  598. package/src/inventory/model/Inventory.ts +105 -0
  599. package/src/inventory/model/InventoryModel.ts +82 -0
  600. package/src/inventory/model/InventoryModelMaster.ts +82 -0
  601. package/src/inventory/model/ItemModel.ts +105 -0
  602. package/src/inventory/model/ItemModelMaster.ts +105 -0
  603. package/src/inventory/model/ItemSet.ts +157 -0
  604. package/src/inventory/model/Namespace.ts +61 -0
  605. package/src/inventory/model/ReferenceOf.ts +157 -0
  606. package/src/jobQueue/model/DeadLetterJob.ts +105 -0
  607. package/src/jobQueue/model/Job.ts +105 -0
  608. package/src/jobQueue/model/JobResult.ts +130 -0
  609. package/src/jobQueue/model/Namespace.ts +61 -0
  610. package/src/key/model/GitHubApiKey.ts +82 -0
  611. package/src/key/model/Key.ts +82 -0
  612. package/src/key/model/Namespace.ts +61 -0
  613. package/src/limit/model/Counter.ts +130 -0
  614. package/src/limit/model/CurrentLimitMaster.ts +61 -0
  615. package/src/limit/model/LimitModel.ts +82 -0
  616. package/src/limit/model/LimitModelMaster.ts +82 -0
  617. package/src/limit/model/Namespace.ts +61 -0
  618. package/src/lock/model/Mutex.ts +105 -0
  619. package/src/lock/model/Namespace.ts +61 -0
  620. package/src/log/model/Namespace.ts +61 -0
  621. package/src/lottery/model/Box.ts +105 -0
  622. package/src/lottery/model/CurrentLotteryMaster.ts +61 -0
  623. package/src/lottery/model/LotteryModel.ts +82 -0
  624. package/src/lottery/model/LotteryModelMaster.ts +82 -0
  625. package/src/lottery/model/Namespace.ts +61 -0
  626. package/src/lottery/model/PrizeTable.ts +82 -0
  627. package/src/lottery/model/PrizeTableMaster.ts +82 -0
  628. package/src/matchmaking/model/CurrentRatingModelMaster.ts +61 -0
  629. package/src/matchmaking/model/Gathering.ts +82 -0
  630. package/src/matchmaking/model/Namespace.ts +61 -0
  631. package/src/matchmaking/model/Rating.ts +105 -0
  632. package/src/matchmaking/model/RatingModel.ts +82 -0
  633. package/src/matchmaking/model/RatingModelMaster.ts +82 -0
  634. package/src/matchmaking/model/Vote.ts +105 -0
  635. package/src/mission/model/Complete.ts +105 -0
  636. package/src/mission/model/Counter.ts +105 -0
  637. package/src/mission/model/CounterModel.ts +82 -0
  638. package/src/mission/model/CounterModelMaster.ts +82 -0
  639. package/src/mission/model/CurrentMissionMaster.ts +61 -0
  640. package/src/mission/model/MissionGroupModel.ts +82 -0
  641. package/src/mission/model/MissionGroupModelMaster.ts +82 -0
  642. package/src/mission/model/MissionTaskModel.ts +105 -0
  643. package/src/mission/model/MissionTaskModelMaster.ts +105 -0
  644. package/src/mission/model/Namespace.ts +61 -0
  645. package/src/money/model/Namespace.ts +61 -0
  646. package/src/money/model/Receipt.ts +105 -0
  647. package/src/money/model/Wallet.ts +105 -0
  648. package/src/news/model/Namespace.ts +61 -0
  649. package/src/project/model/Account.ts +25 -0
  650. package/src/project/model/Billing.ts +82 -0
  651. package/src/project/model/BillingMethod.ts +42 -0
  652. package/src/project/model/Project.ts +42 -0
  653. package/src/project/model/Receipt.ts +42 -0
  654. package/src/quest/model/CompletedQuestList.ts +105 -0
  655. package/src/quest/model/CurrentQuestMaster.ts +61 -0
  656. package/src/quest/model/Namespace.ts +61 -0
  657. package/src/quest/model/Progress.ts +82 -0
  658. package/src/quest/model/QuestGroupModel.ts +82 -0
  659. package/src/quest/model/QuestGroupModelMaster.ts +82 -0
  660. package/src/quest/model/QuestModel.ts +105 -0
  661. package/src/quest/model/QuestModelMaster.ts +105 -0
  662. package/src/ranking/model/CategoryModel.ts +82 -0
  663. package/src/ranking/model/CategoryModelMaster.ts +82 -0
  664. package/src/ranking/model/CurrentRankingMaster.ts +61 -0
  665. package/src/ranking/model/Namespace.ts +61 -0
  666. package/src/ranking/model/Score.ts +157 -0
  667. package/src/ranking/model/Subscribe.ts +105 -0
  668. package/src/realtime/model/Namespace.ts +61 -0
  669. package/src/realtime/model/Room.ts +82 -0
  670. package/src/schedule/model/CurrentEventMaster.ts +61 -0
  671. package/src/schedule/model/Event.ts +82 -0
  672. package/src/schedule/model/EventMaster.ts +82 -0
  673. package/src/schedule/model/Namespace.ts +61 -0
  674. package/src/schedule/model/Trigger.ts +105 -0
  675. package/src/script/model/Namespace.ts +61 -0
  676. package/src/script/model/Script.ts +82 -0
  677. package/src/showcase/model/CurrentShowcaseMaster.ts +61 -0
  678. package/src/showcase/model/Namespace.ts +61 -0
  679. package/src/showcase/model/SalesItemGroupMaster.ts +82 -0
  680. package/src/showcase/model/SalesItemMaster.ts +82 -0
  681. package/src/showcase/model/Showcase.ts +82 -0
  682. package/src/showcase/model/ShowcaseMaster.ts +82 -0
  683. package/src/stamina/model/CurrentStaminaMaster.ts +61 -0
  684. package/src/stamina/model/MaxStaminaTable.ts +82 -0
  685. package/src/stamina/model/MaxStaminaTableMaster.ts +82 -0
  686. package/src/stamina/model/Namespace.ts +61 -0
  687. package/src/stamina/model/RecoverIntervalTable.ts +82 -0
  688. package/src/stamina/model/RecoverIntervalTableMaster.ts +82 -0
  689. package/src/stamina/model/RecoverValueTable.ts +82 -0
  690. package/src/stamina/model/RecoverValueTableMaster.ts +82 -0
  691. package/src/stamina/model/Stamina.ts +105 -0
  692. package/src/stamina/model/StaminaModel.ts +82 -0
  693. package/src/stamina/model/StaminaModelMaster.ts +82 -0
  694. package/src/version/model/AcceptVersion.ts +105 -0
  695. package/src/version/model/CurrentVersionMaster.ts +61 -0
  696. package/src/version/model/Namespace.ts +61 -0
  697. package/src/version/model/VersionModel.ts +82 -0
  698. package/src/version/model/VersionModelMaster.ts +82 -0
  699. package/stamina/model/CurrentStaminaMaster.d.ts +5 -0
  700. package/stamina/model/CurrentStaminaMaster.js +49 -0
  701. package/stamina/model/CurrentStaminaMaster.js.map +1 -1
  702. package/stamina/model/MaxStaminaTable.d.ts +6 -0
  703. package/stamina/model/MaxStaminaTable.js +67 -0
  704. package/stamina/model/MaxStaminaTable.js.map +1 -1
  705. package/stamina/model/MaxStaminaTableMaster.d.ts +6 -0
  706. package/stamina/model/MaxStaminaTableMaster.js +67 -0
  707. package/stamina/model/MaxStaminaTableMaster.js.map +1 -1
  708. package/stamina/model/Namespace.d.ts +5 -0
  709. package/stamina/model/Namespace.js +49 -0
  710. package/stamina/model/Namespace.js.map +1 -1
  711. package/stamina/model/RecoverIntervalTable.d.ts +6 -0
  712. package/stamina/model/RecoverIntervalTable.js +67 -0
  713. package/stamina/model/RecoverIntervalTable.js.map +1 -1
  714. package/stamina/model/RecoverIntervalTableMaster.d.ts +6 -0
  715. package/stamina/model/RecoverIntervalTableMaster.js +67 -0
  716. package/stamina/model/RecoverIntervalTableMaster.js.map +1 -1
  717. package/stamina/model/RecoverValueTable.d.ts +6 -0
  718. package/stamina/model/RecoverValueTable.js +67 -0
  719. package/stamina/model/RecoverValueTable.js.map +1 -1
  720. package/stamina/model/RecoverValueTableMaster.d.ts +6 -0
  721. package/stamina/model/RecoverValueTableMaster.js +67 -0
  722. package/stamina/model/RecoverValueTableMaster.js.map +1 -1
  723. package/stamina/model/Stamina.d.ts +7 -0
  724. package/stamina/model/Stamina.js +87 -0
  725. package/stamina/model/Stamina.js.map +1 -1
  726. package/stamina/model/StaminaModel.d.ts +6 -0
  727. package/stamina/model/StaminaModel.js +67 -0
  728. package/stamina/model/StaminaModel.js.map +1 -1
  729. package/stamina/model/StaminaModelMaster.d.ts +6 -0
  730. package/stamina/model/StaminaModelMaster.js +67 -0
  731. package/stamina/model/StaminaModelMaster.js.map +1 -1
  732. package/tsconfig.json +0 -6
  733. package/version/model/AcceptVersion.d.ts +7 -0
  734. package/version/model/AcceptVersion.js +87 -0
  735. package/version/model/AcceptVersion.js.map +1 -1
  736. package/version/model/CurrentVersionMaster.d.ts +5 -0
  737. package/version/model/CurrentVersionMaster.js +49 -0
  738. package/version/model/CurrentVersionMaster.js.map +1 -1
  739. package/version/model/Namespace.d.ts +5 -0
  740. package/version/model/Namespace.js +49 -0
  741. package/version/model/Namespace.js.map +1 -1
  742. package/version/model/VersionModel.d.ts +6 -0
  743. package/version/model/VersionModel.js +67 -0
  744. package/version/model/VersionModel.js.map +1 -1
  745. package/version/model/VersionModelMaster.d.ts +6 -0
  746. package/version/model/VersionModelMaster.js +67 -0
  747. package/version/model/VersionModelMaster.js.map +1 -1
  748. package/friend/request/DescribeProfilesRequest.d.ts +0 -29
  749. package/friend/request/DescribeProfilesRequest.js +0 -98
  750. package/friend/request/DescribeProfilesRequest.js.map +0 -1
  751. package/friend/result/DescribeProfilesResult.d.ts +0 -18
  752. package/friend/result/DescribeProfilesResult.js +0 -68
  753. package/friend/result/DescribeProfilesResult.js.map +0 -1
  754. package/src/friend/request/DescribeProfilesRequest.ts +0 -113
  755. package/src/friend/result/DescribeProfilesResult.ts +0 -73
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:maxStaminaTable:{maxStaminaTableName}";
18
19
 
19
20
  export default class MaxStaminaTableMaster implements IModel {
20
21
  private maxStaminaTableId: string|null = null;
@@ -26,6 +27,87 @@ export default class MaxStaminaTableMaster implements IModel {
26
27
  private createdAt: number|null = null;
27
28
  private updatedAt: number|null = null;
28
29
 
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{maxStaminaTableName}', '.*')
36
+ );
37
+ if (match) {
38
+ return match[1];
39
+ }
40
+ return null;
41
+ }
42
+
43
+ public static getOwnerId(grn: string): string|null {
44
+ const match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{maxStaminaTableName}', '.*')
49
+ );
50
+ if (match) {
51
+ return match[1];
52
+ }
53
+ return null;
54
+ }
55
+
56
+ public static getNamespaceName(grn: string): string|null {
57
+ const match = grn.match(grnFormat
58
+ .replace('{region}', '.*')
59
+ .replace('{ownerId}', '.*')
60
+ .replace('{namespaceName}', '(.*)')
61
+ .replace('{maxStaminaTableName}', '.*')
62
+ );
63
+ if (match) {
64
+ return match[1];
65
+ }
66
+ return null;
67
+ }
68
+
69
+ public static getMaxStaminaTableName(grn: string): string|null {
70
+ const match = grn.match(grnFormat
71
+ .replace('{region}', '.*')
72
+ .replace('{ownerId}', '.*')
73
+ .replace('{namespaceName}', '.*')
74
+ .replace('{maxStaminaTableName}', '(.*)')
75
+ );
76
+ if (match) {
77
+ return match[1];
78
+ }
79
+ return null;
80
+ }
81
+
82
+ public static isValid(grn: string): boolean {
83
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
87
+ return false;
88
+ }
89
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
90
+ return false;
91
+ }
92
+ if (this.getMaxStaminaTableName(grn) == null || this.getMaxStaminaTableName(grn) === '') {
93
+ return false;
94
+ }
95
+ return true;
96
+ }
97
+
98
+ public static createGrn(
99
+ region: string|null,
100
+ ownerId: string|null,
101
+ namespaceName: string|null,
102
+ maxStaminaTableName: string|null,
103
+ ): string|null {
104
+ return grnFormat
105
+ .replace('{region}', region ?? '')
106
+ .replace('{ownerId}', ownerId ?? '')
107
+ .replace('{namespaceName}', namespaceName ?? '')
108
+ .replace('{maxStaminaTableName}', maxStaminaTableName ?? '');
109
+ }
110
+
29
111
  public getMaxStaminaTableId(): string|null {
30
112
  return this.maxStaminaTableId;
31
113
  }
@@ -17,6 +17,7 @@ permissions and limitations under the License.
17
17
  import IModel from '../../core/interface/IModel';
18
18
  import ScriptSetting from './ScriptSetting';
19
19
  import LogSetting from './LogSetting';
20
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}";
20
21
 
21
22
  export default class Namespace implements IModel {
22
23
  private namespaceId: string|null = null;
@@ -27,6 +28,66 @@ export default class Namespace implements IModel {
27
28
  private createdAt: number|null = null;
28
29
  private updatedAt: number|null = null;
29
30
 
31
+ public static getRegion(grn: string): string|null {
32
+ const match = grn.match(grnFormat
33
+ .replace('{region}', '(.*)')
34
+ .replace('{ownerId}', '.*')
35
+ .replace('{namespaceName}', '.*')
36
+ );
37
+ if (match) {
38
+ return match[1];
39
+ }
40
+ return null;
41
+ }
42
+
43
+ public static getOwnerId(grn: string): string|null {
44
+ const match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ );
49
+ if (match) {
50
+ return match[1];
51
+ }
52
+ return null;
53
+ }
54
+
55
+ public static getNamespaceName(grn: string): string|null {
56
+ const match = grn.match(grnFormat
57
+ .replace('{region}', '.*')
58
+ .replace('{ownerId}', '.*')
59
+ .replace('{namespaceName}', '(.*)')
60
+ );
61
+ if (match) {
62
+ return match[1];
63
+ }
64
+ return null;
65
+ }
66
+
67
+ public static isValid(grn: string): boolean {
68
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
69
+ return false;
70
+ }
71
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
72
+ return false;
73
+ }
74
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
75
+ return false;
76
+ }
77
+ return true;
78
+ }
79
+
80
+ public static createGrn(
81
+ region: string|null,
82
+ ownerId: string|null,
83
+ namespaceName: string|null,
84
+ ): string|null {
85
+ return grnFormat
86
+ .replace('{region}', region ?? '')
87
+ .replace('{ownerId}', ownerId ?? '')
88
+ .replace('{namespaceName}', namespaceName ?? '');
89
+ }
90
+
30
91
  public getNamespaceId(): string|null {
31
92
  return this.namespaceId;
32
93
  }
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:recoverIntervalTable:{recoverIntervalTableName}";
18
19
 
19
20
  export default class RecoverIntervalTable implements IModel {
20
21
  private recoverIntervalTableId: string|null = null;
@@ -23,6 +24,87 @@ export default class RecoverIntervalTable implements IModel {
23
24
  private experienceModelId: string|null = null;
24
25
  private values: number[]|null = null;
25
26
 
27
+ public static getRegion(grn: string): string|null {
28
+ const match = grn.match(grnFormat
29
+ .replace('{region}', '(.*)')
30
+ .replace('{ownerId}', '.*')
31
+ .replace('{namespaceName}', '.*')
32
+ .replace('{recoverIntervalTableName}', '.*')
33
+ );
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ }
39
+
40
+ public static getOwnerId(grn: string): string|null {
41
+ const match = grn.match(grnFormat
42
+ .replace('{region}', '.*')
43
+ .replace('{ownerId}', '(.*)')
44
+ .replace('{namespaceName}', '.*')
45
+ .replace('{recoverIntervalTableName}', '.*')
46
+ );
47
+ if (match) {
48
+ return match[1];
49
+ }
50
+ return null;
51
+ }
52
+
53
+ public static getNamespaceName(grn: string): string|null {
54
+ const match = grn.match(grnFormat
55
+ .replace('{region}', '.*')
56
+ .replace('{ownerId}', '.*')
57
+ .replace('{namespaceName}', '(.*)')
58
+ .replace('{recoverIntervalTableName}', '.*')
59
+ );
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ }
65
+
66
+ public static getRecoverIntervalTableName(grn: string): string|null {
67
+ const match = grn.match(grnFormat
68
+ .replace('{region}', '.*')
69
+ .replace('{ownerId}', '.*')
70
+ .replace('{namespaceName}', '.*')
71
+ .replace('{recoverIntervalTableName}', '(.*)')
72
+ );
73
+ if (match) {
74
+ return match[1];
75
+ }
76
+ return null;
77
+ }
78
+
79
+ public static isValid(grn: string): boolean {
80
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
81
+ return false;
82
+ }
83
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
87
+ return false;
88
+ }
89
+ if (this.getRecoverIntervalTableName(grn) == null || this.getRecoverIntervalTableName(grn) === '') {
90
+ return false;
91
+ }
92
+ return true;
93
+ }
94
+
95
+ public static createGrn(
96
+ region: string|null,
97
+ ownerId: string|null,
98
+ namespaceName: string|null,
99
+ recoverIntervalTableName: string|null,
100
+ ): string|null {
101
+ return grnFormat
102
+ .replace('{region}', region ?? '')
103
+ .replace('{ownerId}', ownerId ?? '')
104
+ .replace('{namespaceName}', namespaceName ?? '')
105
+ .replace('{recoverIntervalTableName}', recoverIntervalTableName ?? '');
106
+ }
107
+
26
108
  public getRecoverIntervalTableId(): string|null {
27
109
  return this.recoverIntervalTableId;
28
110
  }
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:recoverIntervalTable:{recoverIntervalTableName}";
18
19
 
19
20
  export default class RecoverIntervalTableMaster implements IModel {
20
21
  private recoverIntervalTableId: string|null = null;
@@ -26,6 +27,87 @@ export default class RecoverIntervalTableMaster implements IModel {
26
27
  private createdAt: number|null = null;
27
28
  private updatedAt: number|null = null;
28
29
 
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{recoverIntervalTableName}', '.*')
36
+ );
37
+ if (match) {
38
+ return match[1];
39
+ }
40
+ return null;
41
+ }
42
+
43
+ public static getOwnerId(grn: string): string|null {
44
+ const match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{recoverIntervalTableName}', '.*')
49
+ );
50
+ if (match) {
51
+ return match[1];
52
+ }
53
+ return null;
54
+ }
55
+
56
+ public static getNamespaceName(grn: string): string|null {
57
+ const match = grn.match(grnFormat
58
+ .replace('{region}', '.*')
59
+ .replace('{ownerId}', '.*')
60
+ .replace('{namespaceName}', '(.*)')
61
+ .replace('{recoverIntervalTableName}', '.*')
62
+ );
63
+ if (match) {
64
+ return match[1];
65
+ }
66
+ return null;
67
+ }
68
+
69
+ public static getRecoverIntervalTableName(grn: string): string|null {
70
+ const match = grn.match(grnFormat
71
+ .replace('{region}', '.*')
72
+ .replace('{ownerId}', '.*')
73
+ .replace('{namespaceName}', '.*')
74
+ .replace('{recoverIntervalTableName}', '(.*)')
75
+ );
76
+ if (match) {
77
+ return match[1];
78
+ }
79
+ return null;
80
+ }
81
+
82
+ public static isValid(grn: string): boolean {
83
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
87
+ return false;
88
+ }
89
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
90
+ return false;
91
+ }
92
+ if (this.getRecoverIntervalTableName(grn) == null || this.getRecoverIntervalTableName(grn) === '') {
93
+ return false;
94
+ }
95
+ return true;
96
+ }
97
+
98
+ public static createGrn(
99
+ region: string|null,
100
+ ownerId: string|null,
101
+ namespaceName: string|null,
102
+ recoverIntervalTableName: string|null,
103
+ ): string|null {
104
+ return grnFormat
105
+ .replace('{region}', region ?? '')
106
+ .replace('{ownerId}', ownerId ?? '')
107
+ .replace('{namespaceName}', namespaceName ?? '')
108
+ .replace('{recoverIntervalTableName}', recoverIntervalTableName ?? '');
109
+ }
110
+
29
111
  public getRecoverIntervalTableId(): string|null {
30
112
  return this.recoverIntervalTableId;
31
113
  }
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:recoverValueTable:{recoverValueTableName}";
18
19
 
19
20
  export default class RecoverValueTable implements IModel {
20
21
  private recoverValueTableId: string|null = null;
@@ -23,6 +24,87 @@ export default class RecoverValueTable implements IModel {
23
24
  private experienceModelId: string|null = null;
24
25
  private values: number[]|null = null;
25
26
 
27
+ public static getRegion(grn: string): string|null {
28
+ const match = grn.match(grnFormat
29
+ .replace('{region}', '(.*)')
30
+ .replace('{ownerId}', '.*')
31
+ .replace('{namespaceName}', '.*')
32
+ .replace('{recoverValueTableName}', '.*')
33
+ );
34
+ if (match) {
35
+ return match[1];
36
+ }
37
+ return null;
38
+ }
39
+
40
+ public static getOwnerId(grn: string): string|null {
41
+ const match = grn.match(grnFormat
42
+ .replace('{region}', '.*')
43
+ .replace('{ownerId}', '(.*)')
44
+ .replace('{namespaceName}', '.*')
45
+ .replace('{recoverValueTableName}', '.*')
46
+ );
47
+ if (match) {
48
+ return match[1];
49
+ }
50
+ return null;
51
+ }
52
+
53
+ public static getNamespaceName(grn: string): string|null {
54
+ const match = grn.match(grnFormat
55
+ .replace('{region}', '.*')
56
+ .replace('{ownerId}', '.*')
57
+ .replace('{namespaceName}', '(.*)')
58
+ .replace('{recoverValueTableName}', '.*')
59
+ );
60
+ if (match) {
61
+ return match[1];
62
+ }
63
+ return null;
64
+ }
65
+
66
+ public static getRecoverValueTableName(grn: string): string|null {
67
+ const match = grn.match(grnFormat
68
+ .replace('{region}', '.*')
69
+ .replace('{ownerId}', '.*')
70
+ .replace('{namespaceName}', '.*')
71
+ .replace('{recoverValueTableName}', '(.*)')
72
+ );
73
+ if (match) {
74
+ return match[1];
75
+ }
76
+ return null;
77
+ }
78
+
79
+ public static isValid(grn: string): boolean {
80
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
81
+ return false;
82
+ }
83
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
87
+ return false;
88
+ }
89
+ if (this.getRecoverValueTableName(grn) == null || this.getRecoverValueTableName(grn) === '') {
90
+ return false;
91
+ }
92
+ return true;
93
+ }
94
+
95
+ public static createGrn(
96
+ region: string|null,
97
+ ownerId: string|null,
98
+ namespaceName: string|null,
99
+ recoverValueTableName: string|null,
100
+ ): string|null {
101
+ return grnFormat
102
+ .replace('{region}', region ?? '')
103
+ .replace('{ownerId}', ownerId ?? '')
104
+ .replace('{namespaceName}', namespaceName ?? '')
105
+ .replace('{recoverValueTableName}', recoverValueTableName ?? '');
106
+ }
107
+
26
108
  public getRecoverValueTableId(): string|null {
27
109
  return this.recoverValueTableId;
28
110
  }
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:recoverValueTable:{recoverValueTableName}";
18
19
 
19
20
  export default class RecoverValueTableMaster implements IModel {
20
21
  private recoverValueTableId: string|null = null;
@@ -26,6 +27,87 @@ export default class RecoverValueTableMaster implements IModel {
26
27
  private createdAt: number|null = null;
27
28
  private updatedAt: number|null = null;
28
29
 
30
+ public static getRegion(grn: string): string|null {
31
+ const match = grn.match(grnFormat
32
+ .replace('{region}', '(.*)')
33
+ .replace('{ownerId}', '.*')
34
+ .replace('{namespaceName}', '.*')
35
+ .replace('{recoverValueTableName}', '.*')
36
+ );
37
+ if (match) {
38
+ return match[1];
39
+ }
40
+ return null;
41
+ }
42
+
43
+ public static getOwnerId(grn: string): string|null {
44
+ const match = grn.match(grnFormat
45
+ .replace('{region}', '.*')
46
+ .replace('{ownerId}', '(.*)')
47
+ .replace('{namespaceName}', '.*')
48
+ .replace('{recoverValueTableName}', '.*')
49
+ );
50
+ if (match) {
51
+ return match[1];
52
+ }
53
+ return null;
54
+ }
55
+
56
+ public static getNamespaceName(grn: string): string|null {
57
+ const match = grn.match(grnFormat
58
+ .replace('{region}', '.*')
59
+ .replace('{ownerId}', '.*')
60
+ .replace('{namespaceName}', '(.*)')
61
+ .replace('{recoverValueTableName}', '.*')
62
+ );
63
+ if (match) {
64
+ return match[1];
65
+ }
66
+ return null;
67
+ }
68
+
69
+ public static getRecoverValueTableName(grn: string): string|null {
70
+ const match = grn.match(grnFormat
71
+ .replace('{region}', '.*')
72
+ .replace('{ownerId}', '.*')
73
+ .replace('{namespaceName}', '.*')
74
+ .replace('{recoverValueTableName}', '(.*)')
75
+ );
76
+ if (match) {
77
+ return match[1];
78
+ }
79
+ return null;
80
+ }
81
+
82
+ public static isValid(grn: string): boolean {
83
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
84
+ return false;
85
+ }
86
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
87
+ return false;
88
+ }
89
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
90
+ return false;
91
+ }
92
+ if (this.getRecoverValueTableName(grn) == null || this.getRecoverValueTableName(grn) === '') {
93
+ return false;
94
+ }
95
+ return true;
96
+ }
97
+
98
+ public static createGrn(
99
+ region: string|null,
100
+ ownerId: string|null,
101
+ namespaceName: string|null,
102
+ recoverValueTableName: string|null,
103
+ ): string|null {
104
+ return grnFormat
105
+ .replace('{region}', region ?? '')
106
+ .replace('{ownerId}', ownerId ?? '')
107
+ .replace('{namespaceName}', namespaceName ?? '')
108
+ .replace('{recoverValueTableName}', recoverValueTableName ?? '');
109
+ }
110
+
29
111
  public getRecoverValueTableId(): string|null {
30
112
  return this.recoverValueTableId;
31
113
  }
@@ -15,6 +15,7 @@ permissions and limitations under the License.
15
15
  */
16
16
 
17
17
  import IModel from '../../core/interface/IModel';
18
+ const grnFormat: string = "grn:gs2:{region}:{ownerId}:stamina:{namespaceName}:user:{userId}:stamina:{staminaName}";
18
19
 
19
20
  export default class Stamina implements IModel {
20
21
  private staminaId: string|null = null;
@@ -30,6 +31,110 @@ export default class Stamina implements IModel {
30
31
  private createdAt: number|null = null;
31
32
  private updatedAt: number|null = null;
32
33
 
34
+ public static getRegion(grn: string): string|null {
35
+ const match = grn.match(grnFormat
36
+ .replace('{region}', '(.*)')
37
+ .replace('{ownerId}', '.*')
38
+ .replace('{namespaceName}', '.*')
39
+ .replace('{userId}', '.*')
40
+ .replace('{staminaName}', '.*')
41
+ );
42
+ if (match) {
43
+ return match[1];
44
+ }
45
+ return null;
46
+ }
47
+
48
+ public static getOwnerId(grn: string): string|null {
49
+ const match = grn.match(grnFormat
50
+ .replace('{region}', '.*')
51
+ .replace('{ownerId}', '(.*)')
52
+ .replace('{namespaceName}', '.*')
53
+ .replace('{userId}', '.*')
54
+ .replace('{staminaName}', '.*')
55
+ );
56
+ if (match) {
57
+ return match[1];
58
+ }
59
+ return null;
60
+ }
61
+
62
+ public static getNamespaceName(grn: string): string|null {
63
+ const match = grn.match(grnFormat
64
+ .replace('{region}', '.*')
65
+ .replace('{ownerId}', '.*')
66
+ .replace('{namespaceName}', '(.*)')
67
+ .replace('{userId}', '.*')
68
+ .replace('{staminaName}', '.*')
69
+ );
70
+ if (match) {
71
+ return match[1];
72
+ }
73
+ return null;
74
+ }
75
+
76
+ public static getUserId(grn: string): string|null {
77
+ const match = grn.match(grnFormat
78
+ .replace('{region}', '.*')
79
+ .replace('{ownerId}', '.*')
80
+ .replace('{namespaceName}', '.*')
81
+ .replace('{userId}', '(.*)')
82
+ .replace('{staminaName}', '.*')
83
+ );
84
+ if (match) {
85
+ return match[1];
86
+ }
87
+ return null;
88
+ }
89
+
90
+ public static getStaminaName(grn: string): string|null {
91
+ const match = grn.match(grnFormat
92
+ .replace('{region}', '.*')
93
+ .replace('{ownerId}', '.*')
94
+ .replace('{namespaceName}', '.*')
95
+ .replace('{userId}', '.*')
96
+ .replace('{staminaName}', '(.*)')
97
+ );
98
+ if (match) {
99
+ return match[1];
100
+ }
101
+ return null;
102
+ }
103
+
104
+ public static isValid(grn: string): boolean {
105
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
106
+ return false;
107
+ }
108
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
109
+ return false;
110
+ }
111
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
112
+ return false;
113
+ }
114
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
115
+ return false;
116
+ }
117
+ if (this.getStaminaName(grn) == null || this.getStaminaName(grn) === '') {
118
+ return false;
119
+ }
120
+ return true;
121
+ }
122
+
123
+ public static createGrn(
124
+ region: string|null,
125
+ ownerId: string|null,
126
+ namespaceName: string|null,
127
+ userId: string|null,
128
+ staminaName: string|null,
129
+ ): string|null {
130
+ return grnFormat
131
+ .replace('{region}', region ?? '')
132
+ .replace('{ownerId}', ownerId ?? '')
133
+ .replace('{namespaceName}', namespaceName ?? '')
134
+ .replace('{userId}', userId ?? '')
135
+ .replace('{staminaName}', staminaName ?? '');
136
+ }
137
+
33
138
  public getStaminaId(): string|null {
34
139
  return this.staminaId;
35
140
  }