gs2 1.0.5 → 1.3.1

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 (525) hide show
  1. package/account/model/Account.js +4 -4
  2. package/account/model/Account.js.map +1 -1
  3. package/account/model/Namespace.js +3 -3
  4. package/account/model/Namespace.js.map +1 -1
  5. package/account/model/TakeOver.js +5 -5
  6. package/account/model/TakeOver.js.map +1 -1
  7. package/chat/model/Message.js +5 -5
  8. package/chat/model/Message.js.map +1 -1
  9. package/chat/model/Namespace.js +3 -3
  10. package/chat/model/Namespace.js.map +1 -1
  11. package/chat/model/Room.js +4 -4
  12. package/chat/model/Room.js.map +1 -1
  13. package/chat/model/Subscribe.js +5 -5
  14. package/chat/model/Subscribe.js.map +1 -1
  15. package/core/AbstractGs2WebSocketClient.d.ts +5 -0
  16. package/core/AbstractGs2WebSocketClient.js +25 -0
  17. package/core/AbstractGs2WebSocketClient.js.map +1 -0
  18. package/core/index.d.ts +2 -1
  19. package/core/index.js +1 -0
  20. package/core/index.js.map +1 -1
  21. package/core/model.d.ts +25 -0
  22. package/core/model.js +152 -1
  23. package/core/model.js.map +1 -1
  24. package/datastore/model/DataObject.js +5 -5
  25. package/datastore/model/DataObject.js.map +1 -1
  26. package/datastore/model/DataObjectHistory.js +6 -6
  27. package/datastore/model/DataObjectHistory.js.map +1 -1
  28. package/datastore/model/Namespace.js +3 -3
  29. package/datastore/model/Namespace.js.map +1 -1
  30. package/deploy/model/Event.js +4 -4
  31. package/deploy/model/Event.js.map +1 -1
  32. package/deploy/model/Output.js +4 -4
  33. package/deploy/model/Output.js.map +1 -1
  34. package/deploy/model/Resource.js +4 -4
  35. package/deploy/model/Resource.js.map +1 -1
  36. package/deploy/model/Stack.js +3 -3
  37. package/deploy/model/Stack.js.map +1 -1
  38. package/dictionary/model/CurrentEntryMaster.js +3 -3
  39. package/dictionary/model/CurrentEntryMaster.js.map +1 -1
  40. package/dictionary/model/Entry.js +5 -5
  41. package/dictionary/model/Entry.js.map +1 -1
  42. package/dictionary/model/EntryModel.js +4 -4
  43. package/dictionary/model/EntryModel.js.map +1 -1
  44. package/dictionary/model/EntryModelMaster.js +4 -4
  45. package/dictionary/model/EntryModelMaster.js.map +1 -1
  46. package/dictionary/model/Namespace.js +3 -3
  47. package/dictionary/model/Namespace.js.map +1 -1
  48. package/distributor/model/CurrentDistributorMaster.js +3 -3
  49. package/distributor/model/CurrentDistributorMaster.js.map +1 -1
  50. package/distributor/model/DistributorModel.js +4 -4
  51. package/distributor/model/DistributorModel.js.map +1 -1
  52. package/distributor/model/DistributorModelMaster.js +4 -4
  53. package/distributor/model/DistributorModelMaster.js.map +1 -1
  54. package/distributor/model/Namespace.js +3 -3
  55. package/distributor/model/Namespace.js.map +1 -1
  56. package/enhance/model/CurrentRateMaster.js +3 -3
  57. package/enhance/model/CurrentRateMaster.js.map +1 -1
  58. package/enhance/model/Namespace.js +3 -3
  59. package/enhance/model/Namespace.js.map +1 -1
  60. package/enhance/model/RateModel.js +4 -4
  61. package/enhance/model/RateModel.js.map +1 -1
  62. package/enhance/model/RateModelMaster.js +4 -4
  63. package/enhance/model/RateModelMaster.js.map +1 -1
  64. package/exchange/model/Await.js +5 -5
  65. package/exchange/model/Await.js.map +1 -1
  66. package/exchange/model/CurrentRateMaster.js +3 -3
  67. package/exchange/model/CurrentRateMaster.js.map +1 -1
  68. package/exchange/model/Namespace.js +3 -3
  69. package/exchange/model/Namespace.js.map +1 -1
  70. package/exchange/model/RateModel.js +4 -4
  71. package/exchange/model/RateModel.js.map +1 -1
  72. package/exchange/model/RateModelMaster.js +4 -4
  73. package/exchange/model/RateModelMaster.js.map +1 -1
  74. package/experience/model/CurrentExperienceMaster.js +3 -3
  75. package/experience/model/CurrentExperienceMaster.js.map +1 -1
  76. package/experience/model/ExperienceModel.js +4 -4
  77. package/experience/model/ExperienceModel.js.map +1 -1
  78. package/experience/model/ExperienceModelMaster.js +4 -4
  79. package/experience/model/ExperienceModelMaster.js.map +1 -1
  80. package/experience/model/Namespace.js +3 -3
  81. package/experience/model/Namespace.js.map +1 -1
  82. package/experience/model/Status.js +6 -6
  83. package/experience/model/Status.js.map +1 -1
  84. package/experience/model/ThresholdMaster.js +4 -4
  85. package/experience/model/ThresholdMaster.js.map +1 -1
  86. package/formation/model/CurrentFormMaster.js +3 -3
  87. package/formation/model/CurrentFormMaster.js.map +1 -1
  88. package/formation/model/Form.js +6 -6
  89. package/formation/model/Form.js.map +1 -1
  90. package/formation/model/FormModel.js +4 -4
  91. package/formation/model/FormModel.js.map +1 -1
  92. package/formation/model/FormModelMaster.js +4 -4
  93. package/formation/model/FormModelMaster.js.map +1 -1
  94. package/formation/model/Mold.js +5 -5
  95. package/formation/model/Mold.js.map +1 -1
  96. package/formation/model/MoldModel.js +4 -4
  97. package/formation/model/MoldModel.js.map +1 -1
  98. package/formation/model/MoldModelMaster.js +4 -4
  99. package/formation/model/MoldModelMaster.js.map +1 -1
  100. package/formation/model/Namespace.js +3 -3
  101. package/formation/model/Namespace.js.map +1 -1
  102. package/friend/model/BlackList.js +4 -4
  103. package/friend/model/BlackList.js.map +1 -1
  104. package/friend/model/Follow.js +4 -4
  105. package/friend/model/Follow.js.map +1 -1
  106. package/friend/model/Friend.js +4 -4
  107. package/friend/model/Friend.js.map +1 -1
  108. package/friend/model/Inbox.js +4 -4
  109. package/friend/model/Inbox.js.map +1 -1
  110. package/friend/model/Namespace.js +3 -3
  111. package/friend/model/Namespace.js.map +1 -1
  112. package/friend/model/Profile.js +4 -4
  113. package/friend/model/Profile.js.map +1 -1
  114. package/friend/model/SendBox.js +4 -4
  115. package/friend/model/SendBox.js.map +1 -1
  116. package/gateway/index.d.ts +2 -1
  117. package/gateway/index.js +3 -1
  118. package/gateway/index.js.map +1 -1
  119. package/gateway/model/FirebaseToken.js +4 -4
  120. package/gateway/model/FirebaseToken.js.map +1 -1
  121. package/gateway/model/Namespace.js +3 -3
  122. package/gateway/model/Namespace.js.map +1 -1
  123. package/gateway/model/WebSocketSession.js +5 -5
  124. package/gateway/model/WebSocketSession.js.map +1 -1
  125. package/gateway/websocket.d.ts +8 -0
  126. package/gateway/websocket.js +48 -0
  127. package/gateway/websocket.js.map +1 -0
  128. package/identifier/model/AttachSecurityPolicy.js +2 -2
  129. package/identifier/model/AttachSecurityPolicy.js.map +1 -1
  130. package/identifier/model/Password.js +2 -2
  131. package/identifier/model/Password.js.map +1 -1
  132. package/identifier/model/SecurityPolicy.js +2 -2
  133. package/identifier/model/SecurityPolicy.js.map +1 -1
  134. package/identifier/model/User.js +2 -2
  135. package/identifier/model/User.js.map +1 -1
  136. package/inbox/model/CurrentMessageMaster.js +3 -3
  137. package/inbox/model/CurrentMessageMaster.js.map +1 -1
  138. package/inbox/model/GlobalMessage.js +4 -4
  139. package/inbox/model/GlobalMessage.js.map +1 -1
  140. package/inbox/model/GlobalMessageMaster.js +4 -4
  141. package/inbox/model/GlobalMessageMaster.js.map +1 -1
  142. package/inbox/model/Message.js +5 -5
  143. package/inbox/model/Message.js.map +1 -1
  144. package/inbox/model/Namespace.js +3 -3
  145. package/inbox/model/Namespace.js.map +1 -1
  146. package/inbox/model/Received.js +4 -4
  147. package/inbox/model/Received.js.map +1 -1
  148. package/inventory/model/CurrentItemModelMaster.js +3 -3
  149. package/inventory/model/CurrentItemModelMaster.js.map +1 -1
  150. package/inventory/model/Inventory.js +5 -5
  151. package/inventory/model/Inventory.js.map +1 -1
  152. package/inventory/model/InventoryModel.js +4 -4
  153. package/inventory/model/InventoryModel.js.map +1 -1
  154. package/inventory/model/InventoryModelMaster.js +4 -4
  155. package/inventory/model/InventoryModelMaster.js.map +1 -1
  156. package/inventory/model/ItemModel.js +5 -5
  157. package/inventory/model/ItemModel.js.map +1 -1
  158. package/inventory/model/ItemModelMaster.js +5 -5
  159. package/inventory/model/ItemModelMaster.js.map +1 -1
  160. package/inventory/model/ItemSet.js +7 -7
  161. package/inventory/model/ItemSet.js.map +1 -1
  162. package/inventory/model/Namespace.js +3 -3
  163. package/inventory/model/Namespace.js.map +1 -1
  164. package/inventory/model/ReferenceOf.js +7 -7
  165. package/inventory/model/ReferenceOf.js.map +1 -1
  166. package/jobQueue/model/DeadLetterJob.js +5 -5
  167. package/jobQueue/model/DeadLetterJob.js.map +1 -1
  168. package/jobQueue/model/Job.js +5 -5
  169. package/jobQueue/model/Job.js.map +1 -1
  170. package/jobQueue/model/JobResult.js +6 -6
  171. package/jobQueue/model/JobResult.js.map +1 -1
  172. package/jobQueue/model/Namespace.js +3 -3
  173. package/jobQueue/model/Namespace.js.map +1 -1
  174. package/key/model/GitHubApiKey.js +4 -4
  175. package/key/model/GitHubApiKey.js.map +1 -1
  176. package/key/model/Key.js +4 -4
  177. package/key/model/Key.js.map +1 -1
  178. package/key/model/Namespace.js +3 -3
  179. package/key/model/Namespace.js.map +1 -1
  180. package/limit/model/Counter.js +6 -6
  181. package/limit/model/Counter.js.map +1 -1
  182. package/limit/model/CurrentLimitMaster.js +3 -3
  183. package/limit/model/CurrentLimitMaster.js.map +1 -1
  184. package/limit/model/LimitModel.js +4 -4
  185. package/limit/model/LimitModel.js.map +1 -1
  186. package/limit/model/LimitModelMaster.js +4 -4
  187. package/limit/model/LimitModelMaster.js.map +1 -1
  188. package/limit/model/Namespace.js +3 -3
  189. package/limit/model/Namespace.js.map +1 -1
  190. package/lock/model/Mutex.js +5 -5
  191. package/lock/model/Mutex.js.map +1 -1
  192. package/lock/model/Namespace.js +3 -3
  193. package/lock/model/Namespace.js.map +1 -1
  194. package/log/model/Namespace.js +3 -3
  195. package/log/model/Namespace.js.map +1 -1
  196. package/lottery/model/Box.js +5 -5
  197. package/lottery/model/Box.js.map +1 -1
  198. package/lottery/model/CurrentLotteryMaster.js +3 -3
  199. package/lottery/model/CurrentLotteryMaster.js.map +1 -1
  200. package/lottery/model/LotteryModel.js +4 -4
  201. package/lottery/model/LotteryModel.js.map +1 -1
  202. package/lottery/model/LotteryModelMaster.js +4 -4
  203. package/lottery/model/LotteryModelMaster.js.map +1 -1
  204. package/lottery/model/Namespace.js +3 -3
  205. package/lottery/model/Namespace.js.map +1 -1
  206. package/lottery/model/PrizeTable.js +4 -4
  207. package/lottery/model/PrizeTable.js.map +1 -1
  208. package/lottery/model/PrizeTableMaster.js +4 -4
  209. package/lottery/model/PrizeTableMaster.js.map +1 -1
  210. package/matchmaking/model/CurrentRatingModelMaster.js +3 -3
  211. package/matchmaking/model/CurrentRatingModelMaster.js.map +1 -1
  212. package/matchmaking/model/Gathering.js +4 -4
  213. package/matchmaking/model/Gathering.js.map +1 -1
  214. package/matchmaking/model/Namespace.js +3 -3
  215. package/matchmaking/model/Namespace.js.map +1 -1
  216. package/matchmaking/model/Rating.js +5 -5
  217. package/matchmaking/model/Rating.js.map +1 -1
  218. package/matchmaking/model/RatingModel.js +4 -4
  219. package/matchmaking/model/RatingModel.js.map +1 -1
  220. package/matchmaking/model/RatingModelMaster.js +4 -4
  221. package/matchmaking/model/RatingModelMaster.js.map +1 -1
  222. package/matchmaking/model/Vote.js +5 -5
  223. package/matchmaking/model/Vote.js.map +1 -1
  224. package/mission/model/Complete.js +5 -5
  225. package/mission/model/Complete.js.map +1 -1
  226. package/mission/model/Counter.js +5 -5
  227. package/mission/model/Counter.js.map +1 -1
  228. package/mission/model/CounterModel.js +4 -4
  229. package/mission/model/CounterModel.js.map +1 -1
  230. package/mission/model/CounterModelMaster.js +4 -4
  231. package/mission/model/CounterModelMaster.js.map +1 -1
  232. package/mission/model/CurrentMissionMaster.js +3 -3
  233. package/mission/model/CurrentMissionMaster.js.map +1 -1
  234. package/mission/model/MissionGroupModel.js +4 -4
  235. package/mission/model/MissionGroupModel.js.map +1 -1
  236. package/mission/model/MissionGroupModelMaster.js +4 -4
  237. package/mission/model/MissionGroupModelMaster.js.map +1 -1
  238. package/mission/model/MissionTaskModel.js +5 -5
  239. package/mission/model/MissionTaskModel.js.map +1 -1
  240. package/mission/model/MissionTaskModelMaster.js +5 -5
  241. package/mission/model/MissionTaskModelMaster.js.map +1 -1
  242. package/mission/model/Namespace.js +3 -3
  243. package/mission/model/Namespace.js.map +1 -1
  244. package/money/model/Namespace.js +3 -3
  245. package/money/model/Namespace.js.map +1 -1
  246. package/money/model/Receipt.js +5 -5
  247. package/money/model/Receipt.js.map +1 -1
  248. package/money/model/Wallet.js +5 -5
  249. package/money/model/Wallet.js.map +1 -1
  250. package/news/model/Namespace.js +3 -3
  251. package/news/model/Namespace.js.map +1 -1
  252. package/package.json +11 -7
  253. package/project/model/Account.js +1 -1
  254. package/project/model/Account.js.map +1 -1
  255. package/project/model/Billing.js +4 -4
  256. package/project/model/Billing.js.map +1 -1
  257. package/project/model/BillingMethod.js +2 -2
  258. package/project/model/BillingMethod.js.map +1 -1
  259. package/project/model/Project.js +2 -2
  260. package/project/model/Project.js.map +1 -1
  261. package/project/model/Receipt.js +2 -2
  262. package/project/model/Receipt.js.map +1 -1
  263. package/quest/model/CompletedQuestList.js +5 -5
  264. package/quest/model/CompletedQuestList.js.map +1 -1
  265. package/quest/model/CurrentQuestMaster.js +3 -3
  266. package/quest/model/CurrentQuestMaster.js.map +1 -1
  267. package/quest/model/Namespace.js +3 -3
  268. package/quest/model/Namespace.js.map +1 -1
  269. package/quest/model/Progress.js +4 -4
  270. package/quest/model/Progress.js.map +1 -1
  271. package/quest/model/QuestGroupModel.js +4 -4
  272. package/quest/model/QuestGroupModel.js.map +1 -1
  273. package/quest/model/QuestGroupModelMaster.js +4 -4
  274. package/quest/model/QuestGroupModelMaster.js.map +1 -1
  275. package/quest/model/QuestModel.js +5 -5
  276. package/quest/model/QuestModel.js.map +1 -1
  277. package/quest/model/QuestModelMaster.js +5 -5
  278. package/quest/model/QuestModelMaster.js.map +1 -1
  279. package/ranking/model/CategoryModel.js +4 -4
  280. package/ranking/model/CategoryModel.js.map +1 -1
  281. package/ranking/model/CategoryModelMaster.js +4 -4
  282. package/ranking/model/CategoryModelMaster.js.map +1 -1
  283. package/ranking/model/CurrentRankingMaster.js +3 -3
  284. package/ranking/model/CurrentRankingMaster.js.map +1 -1
  285. package/ranking/model/Namespace.js +3 -3
  286. package/ranking/model/Namespace.js.map +1 -1
  287. package/ranking/model/Score.js +7 -7
  288. package/ranking/model/Score.js.map +1 -1
  289. package/ranking/model/Subscribe.js +5 -5
  290. package/ranking/model/Subscribe.js.map +1 -1
  291. package/realtime/model/Namespace.js +3 -3
  292. package/realtime/model/Namespace.js.map +1 -1
  293. package/realtime/model/Room.js +4 -4
  294. package/realtime/model/Room.js.map +1 -1
  295. package/schedule/model/CurrentEventMaster.js +3 -3
  296. package/schedule/model/CurrentEventMaster.js.map +1 -1
  297. package/schedule/model/Event.js +4 -4
  298. package/schedule/model/Event.js.map +1 -1
  299. package/schedule/model/EventMaster.js +4 -4
  300. package/schedule/model/EventMaster.js.map +1 -1
  301. package/schedule/model/Namespace.js +3 -3
  302. package/schedule/model/Namespace.js.map +1 -1
  303. package/schedule/model/Trigger.js +5 -5
  304. package/schedule/model/Trigger.js.map +1 -1
  305. package/script/model/Namespace.js +3 -3
  306. package/script/model/Namespace.js.map +1 -1
  307. package/script/model/Script.js +4 -4
  308. package/script/model/Script.js.map +1 -1
  309. package/showcase/model/CurrentShowcaseMaster.js +3 -3
  310. package/showcase/model/CurrentShowcaseMaster.js.map +1 -1
  311. package/showcase/model/Namespace.js +3 -3
  312. package/showcase/model/Namespace.js.map +1 -1
  313. package/showcase/model/SalesItemGroupMaster.js +4 -4
  314. package/showcase/model/SalesItemGroupMaster.js.map +1 -1
  315. package/showcase/model/SalesItemMaster.js +4 -4
  316. package/showcase/model/SalesItemMaster.js.map +1 -1
  317. package/showcase/model/Showcase.js +4 -4
  318. package/showcase/model/Showcase.js.map +1 -1
  319. package/showcase/model/ShowcaseMaster.js +4 -4
  320. package/showcase/model/ShowcaseMaster.js.map +1 -1
  321. package/src/account/model/Account.ts +4 -4
  322. package/src/account/model/Namespace.ts +3 -3
  323. package/src/account/model/TakeOver.ts +5 -5
  324. package/src/chat/model/Message.ts +5 -5
  325. package/src/chat/model/Namespace.ts +3 -3
  326. package/src/chat/model/Room.ts +4 -4
  327. package/src/chat/model/Subscribe.ts +5 -5
  328. package/src/core/AbstractGs2WebSocketClient.ts +26 -0
  329. package/src/core/index.ts +2 -1
  330. package/src/core/model.ts +144 -0
  331. package/src/datastore/model/DataObject.ts +5 -5
  332. package/src/datastore/model/DataObjectHistory.ts +6 -6
  333. package/src/datastore/model/Namespace.ts +3 -3
  334. package/src/deploy/model/Event.ts +4 -4
  335. package/src/deploy/model/Output.ts +4 -4
  336. package/src/deploy/model/Resource.ts +4 -4
  337. package/src/deploy/model/Stack.ts +3 -3
  338. package/src/dictionary/model/CurrentEntryMaster.ts +3 -3
  339. package/src/dictionary/model/Entry.ts +5 -5
  340. package/src/dictionary/model/EntryModel.ts +4 -4
  341. package/src/dictionary/model/EntryModelMaster.ts +4 -4
  342. package/src/dictionary/model/Namespace.ts +3 -3
  343. package/src/distributor/model/CurrentDistributorMaster.ts +3 -3
  344. package/src/distributor/model/DistributorModel.ts +4 -4
  345. package/src/distributor/model/DistributorModelMaster.ts +4 -4
  346. package/src/distributor/model/Namespace.ts +3 -3
  347. package/src/enhance/model/CurrentRateMaster.ts +3 -3
  348. package/src/enhance/model/Namespace.ts +3 -3
  349. package/src/enhance/model/RateModel.ts +4 -4
  350. package/src/enhance/model/RateModelMaster.ts +4 -4
  351. package/src/exchange/model/Await.ts +5 -5
  352. package/src/exchange/model/CurrentRateMaster.ts +3 -3
  353. package/src/exchange/model/Namespace.ts +3 -3
  354. package/src/exchange/model/RateModel.ts +4 -4
  355. package/src/exchange/model/RateModelMaster.ts +4 -4
  356. package/src/experience/model/CurrentExperienceMaster.ts +3 -3
  357. package/src/experience/model/ExperienceModel.ts +4 -4
  358. package/src/experience/model/ExperienceModelMaster.ts +4 -4
  359. package/src/experience/model/Namespace.ts +3 -3
  360. package/src/experience/model/Status.ts +6 -6
  361. package/src/experience/model/ThresholdMaster.ts +4 -4
  362. package/src/formation/model/CurrentFormMaster.ts +3 -3
  363. package/src/formation/model/Form.ts +6 -6
  364. package/src/formation/model/FormModel.ts +4 -4
  365. package/src/formation/model/FormModelMaster.ts +4 -4
  366. package/src/formation/model/Mold.ts +5 -5
  367. package/src/formation/model/MoldModel.ts +4 -4
  368. package/src/formation/model/MoldModelMaster.ts +4 -4
  369. package/src/formation/model/Namespace.ts +3 -3
  370. package/src/friend/model/BlackList.ts +4 -4
  371. package/src/friend/model/Follow.ts +4 -4
  372. package/src/friend/model/Friend.ts +4 -4
  373. package/src/friend/model/Inbox.ts +4 -4
  374. package/src/friend/model/Namespace.ts +3 -3
  375. package/src/friend/model/Profile.ts +4 -4
  376. package/src/friend/model/SendBox.ts +4 -4
  377. package/src/gateway/index.ts +2 -0
  378. package/src/gateway/model/FirebaseToken.ts +4 -4
  379. package/src/gateway/model/Namespace.ts +3 -3
  380. package/src/gateway/model/WebSocketSession.ts +5 -5
  381. package/src/gateway/websocket.ts +44 -0
  382. package/src/identifier/model/AttachSecurityPolicy.ts +2 -2
  383. package/src/identifier/model/Password.ts +2 -2
  384. package/src/identifier/model/SecurityPolicy.ts +2 -2
  385. package/src/identifier/model/User.ts +2 -2
  386. package/src/inbox/model/CurrentMessageMaster.ts +3 -3
  387. package/src/inbox/model/GlobalMessage.ts +4 -4
  388. package/src/inbox/model/GlobalMessageMaster.ts +4 -4
  389. package/src/inbox/model/Message.ts +5 -5
  390. package/src/inbox/model/Namespace.ts +3 -3
  391. package/src/inbox/model/Received.ts +4 -4
  392. package/src/inventory/model/CurrentItemModelMaster.ts +3 -3
  393. package/src/inventory/model/Inventory.ts +5 -5
  394. package/src/inventory/model/InventoryModel.ts +4 -4
  395. package/src/inventory/model/InventoryModelMaster.ts +4 -4
  396. package/src/inventory/model/ItemModel.ts +5 -5
  397. package/src/inventory/model/ItemModelMaster.ts +5 -5
  398. package/src/inventory/model/ItemSet.ts +7 -7
  399. package/src/inventory/model/Namespace.ts +3 -3
  400. package/src/inventory/model/ReferenceOf.ts +7 -7
  401. package/src/jobQueue/model/DeadLetterJob.ts +5 -5
  402. package/src/jobQueue/model/Job.ts +5 -5
  403. package/src/jobQueue/model/JobResult.ts +6 -6
  404. package/src/jobQueue/model/Namespace.ts +3 -3
  405. package/src/key/model/GitHubApiKey.ts +4 -4
  406. package/src/key/model/Key.ts +4 -4
  407. package/src/key/model/Namespace.ts +3 -3
  408. package/src/limit/model/Counter.ts +6 -6
  409. package/src/limit/model/CurrentLimitMaster.ts +3 -3
  410. package/src/limit/model/LimitModel.ts +4 -4
  411. package/src/limit/model/LimitModelMaster.ts +4 -4
  412. package/src/limit/model/Namespace.ts +3 -3
  413. package/src/lock/model/Mutex.ts +5 -5
  414. package/src/lock/model/Namespace.ts +3 -3
  415. package/src/log/model/Namespace.ts +3 -3
  416. package/src/lottery/model/Box.ts +5 -5
  417. package/src/lottery/model/CurrentLotteryMaster.ts +3 -3
  418. package/src/lottery/model/LotteryModel.ts +4 -4
  419. package/src/lottery/model/LotteryModelMaster.ts +4 -4
  420. package/src/lottery/model/Namespace.ts +3 -3
  421. package/src/lottery/model/PrizeTable.ts +4 -4
  422. package/src/lottery/model/PrizeTableMaster.ts +4 -4
  423. package/src/matchmaking/model/CurrentRatingModelMaster.ts +3 -3
  424. package/src/matchmaking/model/Gathering.ts +4 -4
  425. package/src/matchmaking/model/Namespace.ts +3 -3
  426. package/src/matchmaking/model/Rating.ts +5 -5
  427. package/src/matchmaking/model/RatingModel.ts +4 -4
  428. package/src/matchmaking/model/RatingModelMaster.ts +4 -4
  429. package/src/matchmaking/model/Vote.ts +5 -5
  430. package/src/mission/model/Complete.ts +5 -5
  431. package/src/mission/model/Counter.ts +5 -5
  432. package/src/mission/model/CounterModel.ts +4 -4
  433. package/src/mission/model/CounterModelMaster.ts +4 -4
  434. package/src/mission/model/CurrentMissionMaster.ts +3 -3
  435. package/src/mission/model/MissionGroupModel.ts +4 -4
  436. package/src/mission/model/MissionGroupModelMaster.ts +4 -4
  437. package/src/mission/model/MissionTaskModel.ts +5 -5
  438. package/src/mission/model/MissionTaskModelMaster.ts +5 -5
  439. package/src/mission/model/Namespace.ts +3 -3
  440. package/src/money/model/Namespace.ts +3 -3
  441. package/src/money/model/Receipt.ts +5 -5
  442. package/src/money/model/Wallet.ts +5 -5
  443. package/src/news/model/Namespace.ts +3 -3
  444. package/src/project/model/Account.ts +1 -1
  445. package/src/project/model/Billing.ts +4 -4
  446. package/src/project/model/BillingMethod.ts +2 -2
  447. package/src/project/model/Project.ts +2 -2
  448. package/src/project/model/Receipt.ts +2 -2
  449. package/src/quest/model/CompletedQuestList.ts +5 -5
  450. package/src/quest/model/CurrentQuestMaster.ts +3 -3
  451. package/src/quest/model/Namespace.ts +3 -3
  452. package/src/quest/model/Progress.ts +4 -4
  453. package/src/quest/model/QuestGroupModel.ts +4 -4
  454. package/src/quest/model/QuestGroupModelMaster.ts +4 -4
  455. package/src/quest/model/QuestModel.ts +5 -5
  456. package/src/quest/model/QuestModelMaster.ts +5 -5
  457. package/src/ranking/model/CategoryModel.ts +4 -4
  458. package/src/ranking/model/CategoryModelMaster.ts +4 -4
  459. package/src/ranking/model/CurrentRankingMaster.ts +3 -3
  460. package/src/ranking/model/Namespace.ts +3 -3
  461. package/src/ranking/model/Score.ts +7 -7
  462. package/src/ranking/model/Subscribe.ts +5 -5
  463. package/src/realtime/model/Namespace.ts +3 -3
  464. package/src/realtime/model/Room.ts +4 -4
  465. package/src/schedule/model/CurrentEventMaster.ts +3 -3
  466. package/src/schedule/model/Event.ts +4 -4
  467. package/src/schedule/model/EventMaster.ts +4 -4
  468. package/src/schedule/model/Namespace.ts +3 -3
  469. package/src/schedule/model/Trigger.ts +5 -5
  470. package/src/script/model/Namespace.ts +3 -3
  471. package/src/script/model/Script.ts +4 -4
  472. package/src/showcase/model/CurrentShowcaseMaster.ts +3 -3
  473. package/src/showcase/model/Namespace.ts +3 -3
  474. package/src/showcase/model/SalesItemGroupMaster.ts +4 -4
  475. package/src/showcase/model/SalesItemMaster.ts +4 -4
  476. package/src/showcase/model/Showcase.ts +4 -4
  477. package/src/showcase/model/ShowcaseMaster.ts +4 -4
  478. package/src/stamina/model/CurrentStaminaMaster.ts +3 -3
  479. package/src/stamina/model/MaxStaminaTable.ts +4 -4
  480. package/src/stamina/model/MaxStaminaTableMaster.ts +4 -4
  481. package/src/stamina/model/Namespace.ts +3 -3
  482. package/src/stamina/model/RecoverIntervalTable.ts +4 -4
  483. package/src/stamina/model/RecoverIntervalTableMaster.ts +4 -4
  484. package/src/stamina/model/RecoverValueTable.ts +4 -4
  485. package/src/stamina/model/RecoverValueTableMaster.ts +4 -4
  486. package/src/stamina/model/Stamina.ts +5 -5
  487. package/src/stamina/model/StaminaModel.ts +4 -4
  488. package/src/stamina/model/StaminaModelMaster.ts +4 -4
  489. package/src/version/model/AcceptVersion.ts +5 -5
  490. package/src/version/model/CurrentVersionMaster.ts +3 -3
  491. package/src/version/model/Namespace.ts +3 -3
  492. package/src/version/model/VersionModel.ts +4 -4
  493. package/src/version/model/VersionModelMaster.ts +4 -4
  494. package/stamina/model/CurrentStaminaMaster.js +3 -3
  495. package/stamina/model/CurrentStaminaMaster.js.map +1 -1
  496. package/stamina/model/MaxStaminaTable.js +4 -4
  497. package/stamina/model/MaxStaminaTable.js.map +1 -1
  498. package/stamina/model/MaxStaminaTableMaster.js +4 -4
  499. package/stamina/model/MaxStaminaTableMaster.js.map +1 -1
  500. package/stamina/model/Namespace.js +3 -3
  501. package/stamina/model/Namespace.js.map +1 -1
  502. package/stamina/model/RecoverIntervalTable.js +4 -4
  503. package/stamina/model/RecoverIntervalTable.js.map +1 -1
  504. package/stamina/model/RecoverIntervalTableMaster.js +4 -4
  505. package/stamina/model/RecoverIntervalTableMaster.js.map +1 -1
  506. package/stamina/model/RecoverValueTable.js +4 -4
  507. package/stamina/model/RecoverValueTable.js.map +1 -1
  508. package/stamina/model/RecoverValueTableMaster.js +4 -4
  509. package/stamina/model/RecoverValueTableMaster.js.map +1 -1
  510. package/stamina/model/Stamina.js +5 -5
  511. package/stamina/model/Stamina.js.map +1 -1
  512. package/stamina/model/StaminaModel.js +4 -4
  513. package/stamina/model/StaminaModel.js.map +1 -1
  514. package/stamina/model/StaminaModelMaster.js +4 -4
  515. package/stamina/model/StaminaModelMaster.js.map +1 -1
  516. package/version/model/AcceptVersion.js +5 -5
  517. package/version/model/AcceptVersion.js.map +1 -1
  518. package/version/model/CurrentVersionMaster.js +3 -3
  519. package/version/model/CurrentVersionMaster.js.map +1 -1
  520. package/version/model/Namespace.js +3 -3
  521. package/version/model/Namespace.js.map +1 -1
  522. package/version/model/VersionModel.js +4 -4
  523. package/version/model/VersionModel.js.map +1 -1
  524. package/version/model/VersionModelMaster.js +4 -4
  525. package/version/model/VersionModelMaster.js.map +1 -1
@@ -58,13 +58,13 @@ export default class CurrentLimitMaster implements IModel {
58
58
  }
59
59
 
60
60
  public static isValid(grn: string): boolean {
61
- if (this.getRegion(grn) == null) {
61
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
62
62
  return false;
63
63
  }
64
- if (this.getOwnerId(grn) == null) {
64
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
65
65
  return false;
66
66
  }
67
- if (this.getNamespaceName(grn) == null) {
67
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
68
68
  return false;
69
69
  }
70
70
  return true;
@@ -79,16 +79,16 @@ export default class LimitModel implements IModel {
79
79
  }
80
80
 
81
81
  public static isValid(grn: string): boolean {
82
- if (this.getRegion(grn) == null) {
82
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
83
83
  return false;
84
84
  }
85
- if (this.getOwnerId(grn) == null) {
85
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getNamespaceName(grn) == null) {
88
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getLimitName(grn) == null) {
91
+ if (this.getLimitName(grn) == null || this.getLimitName(grn) === '') {
92
92
  return false;
93
93
  }
94
94
  return true;
@@ -82,16 +82,16 @@ export default class LimitModelMaster implements IModel {
82
82
  }
83
83
 
84
84
  public static isValid(grn: string): boolean {
85
- if (this.getRegion(grn) == null) {
85
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getOwnerId(grn) == null) {
88
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getNamespaceName(grn) == null) {
91
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
92
92
  return false;
93
93
  }
94
- if (this.getLimitName(grn) == null) {
94
+ if (this.getLimitName(grn) == null || this.getLimitName(grn) === '') {
95
95
  return false;
96
96
  }
97
97
  return true;
@@ -63,13 +63,13 @@ export default class Namespace implements IModel {
63
63
  }
64
64
 
65
65
  public static isValid(grn: string): boolean {
66
- if (this.getRegion(grn) == null) {
66
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
67
67
  return false;
68
68
  }
69
- if (this.getOwnerId(grn) == null) {
69
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
70
70
  return false;
71
71
  }
72
- if (this.getNamespaceName(grn) == null) {
72
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
73
73
  return false;
74
74
  }
75
75
  return true;
@@ -95,19 +95,19 @@ export default class Mutex implements IModel {
95
95
  }
96
96
 
97
97
  public static isValid(grn: string): boolean {
98
- if (this.getRegion(grn) == null) {
98
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
99
99
  return false;
100
100
  }
101
- if (this.getOwnerId(grn) == null) {
101
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
102
102
  return false;
103
103
  }
104
- if (this.getNamespaceName(grn) == null) {
104
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
105
105
  return false;
106
106
  }
107
- if (this.getUserId(grn) == null) {
107
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
108
108
  return false;
109
109
  }
110
- if (this.getPropertyId(grn) == null) {
110
+ if (this.getPropertyId(grn) == null || this.getPropertyId(grn) === '') {
111
111
  return false;
112
112
  }
113
113
  return true;
@@ -63,13 +63,13 @@ export default class Namespace implements IModel {
63
63
  }
64
64
 
65
65
  public static isValid(grn: string): boolean {
66
- if (this.getRegion(grn) == null) {
66
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
67
67
  return false;
68
68
  }
69
- if (this.getOwnerId(grn) == null) {
69
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
70
70
  return false;
71
71
  }
72
- if (this.getNamespaceName(grn) == null) {
72
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
73
73
  return false;
74
74
  }
75
75
  return true;
@@ -70,13 +70,13 @@ export default class Namespace implements IModel {
70
70
  }
71
71
 
72
72
  public static isValid(grn: string): boolean {
73
- if (this.getRegion(grn) == null) {
73
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
74
74
  return false;
75
75
  }
76
- if (this.getOwnerId(grn) == null) {
76
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
77
77
  return false;
78
78
  }
79
- if (this.getNamespaceName(grn) == null) {
79
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
80
80
  return false;
81
81
  }
82
82
  return true;
@@ -96,19 +96,19 @@ export default class Box implements IModel {
96
96
  }
97
97
 
98
98
  public static isValid(grn: string): boolean {
99
- if (this.getRegion(grn) == null) {
99
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
100
100
  return false;
101
101
  }
102
- if (this.getOwnerId(grn) == null) {
102
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
103
103
  return false;
104
104
  }
105
- if (this.getNamespaceName(grn) == null) {
105
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
106
106
  return false;
107
107
  }
108
- if (this.getUserId(grn) == null) {
108
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
109
109
  return false;
110
110
  }
111
- if (this.getPrizeTableName(grn) == null) {
111
+ if (this.getPrizeTableName(grn) == null || this.getPrizeTableName(grn) === '') {
112
112
  return false;
113
113
  }
114
114
  return true;
@@ -58,13 +58,13 @@ export default class CurrentLotteryMaster implements IModel {
58
58
  }
59
59
 
60
60
  public static isValid(grn: string): boolean {
61
- if (this.getRegion(grn) == null) {
61
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
62
62
  return false;
63
63
  }
64
- if (this.getOwnerId(grn) == null) {
64
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
65
65
  return false;
66
66
  }
67
- if (this.getNamespaceName(grn) == null) {
67
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
68
68
  return false;
69
69
  }
70
70
  return true;
@@ -79,16 +79,16 @@ export default class LotteryModel implements IModel {
79
79
  }
80
80
 
81
81
  public static isValid(grn: string): boolean {
82
- if (this.getRegion(grn) == null) {
82
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
83
83
  return false;
84
84
  }
85
- if (this.getOwnerId(grn) == null) {
85
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getNamespaceName(grn) == null) {
88
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getLotteryName(grn) == null) {
91
+ if (this.getLotteryName(grn) == null || this.getLotteryName(grn) === '') {
92
92
  return false;
93
93
  }
94
94
  return true;
@@ -82,16 +82,16 @@ export default class LotteryModelMaster implements IModel {
82
82
  }
83
83
 
84
84
  public static isValid(grn: string): boolean {
85
- if (this.getRegion(grn) == null) {
85
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getOwnerId(grn) == null) {
88
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getNamespaceName(grn) == null) {
91
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
92
92
  return false;
93
93
  }
94
- if (this.getLotteryName(grn) == null) {
94
+ if (this.getLotteryName(grn) == null || this.getLotteryName(grn) === '') {
95
95
  return false;
96
96
  }
97
97
  return true;
@@ -67,13 +67,13 @@ export default class Namespace implements IModel {
67
67
  }
68
68
 
69
69
  public static isValid(grn: string): boolean {
70
- if (this.getRegion(grn) == null) {
70
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
71
71
  return false;
72
72
  }
73
- if (this.getOwnerId(grn) == null) {
73
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
74
74
  return false;
75
75
  }
76
- if (this.getNamespaceName(grn) == null) {
76
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
77
77
  return false;
78
78
  }
79
79
  return true;
@@ -78,16 +78,16 @@ export default class PrizeTable implements IModel {
78
78
  }
79
79
 
80
80
  public static isValid(grn: string): boolean {
81
- if (this.getRegion(grn) == null) {
81
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
82
82
  return false;
83
83
  }
84
- if (this.getOwnerId(grn) == null) {
84
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
85
85
  return false;
86
86
  }
87
- if (this.getNamespaceName(grn) == null) {
87
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
88
88
  return false;
89
89
  }
90
- if (this.getPrizeTableName(grn) == null) {
90
+ if (this.getPrizeTableName(grn) == null || this.getPrizeTableName(grn) === '') {
91
91
  return false;
92
92
  }
93
93
  return true;
@@ -81,16 +81,16 @@ export default class PrizeTableMaster implements IModel {
81
81
  }
82
82
 
83
83
  public static isValid(grn: string): boolean {
84
- if (this.getRegion(grn) == null) {
84
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
85
85
  return false;
86
86
  }
87
- if (this.getOwnerId(grn) == null) {
87
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
88
88
  return false;
89
89
  }
90
- if (this.getNamespaceName(grn) == null) {
90
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
91
91
  return false;
92
92
  }
93
- if (this.getPrizeTableName(grn) == null) {
93
+ if (this.getPrizeTableName(grn) == null || this.getPrizeTableName(grn) === '') {
94
94
  return false;
95
95
  }
96
96
  return true;
@@ -58,13 +58,13 @@ export default class CurrentRatingModelMaster implements IModel {
58
58
  }
59
59
 
60
60
  public static isValid(grn: string): boolean {
61
- if (this.getRegion(grn) == null) {
61
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
62
62
  return false;
63
63
  }
64
- if (this.getOwnerId(grn) == null) {
64
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
65
65
  return false;
66
66
  }
67
- if (this.getNamespaceName(grn) == null) {
67
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
68
68
  return false;
69
69
  }
70
70
  return true;
@@ -85,16 +85,16 @@ export default class Gathering implements IModel {
85
85
  }
86
86
 
87
87
  public static isValid(grn: string): boolean {
88
- if (this.getRegion(grn) == null) {
88
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getOwnerId(grn) == null) {
91
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
92
92
  return false;
93
93
  }
94
- if (this.getNamespaceName(grn) == null) {
94
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
95
95
  return false;
96
96
  }
97
- if (this.getGatheringName(grn) == null) {
97
+ if (this.getGatheringName(grn) == null || this.getGatheringName(grn) === '') {
98
98
  return false;
99
99
  }
100
100
  return true;
@@ -74,13 +74,13 @@ export default class Namespace implements IModel {
74
74
  }
75
75
 
76
76
  public static isValid(grn: string): boolean {
77
- if (this.getRegion(grn) == null) {
77
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
78
78
  return false;
79
79
  }
80
- if (this.getOwnerId(grn) == null) {
80
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
81
81
  return false;
82
82
  }
83
- if (this.getNamespaceName(grn) == null) {
83
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
84
84
  return false;
85
85
  }
86
86
  return true;
@@ -96,19 +96,19 @@ export default class Rating implements IModel {
96
96
  }
97
97
 
98
98
  public static isValid(grn: string): boolean {
99
- if (this.getRegion(grn) == null) {
99
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
100
100
  return false;
101
101
  }
102
- if (this.getOwnerId(grn) == null) {
102
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
103
103
  return false;
104
104
  }
105
- if (this.getNamespaceName(grn) == null) {
105
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
106
106
  return false;
107
107
  }
108
- if (this.getUserId(grn) == null) {
108
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
109
109
  return false;
110
110
  }
111
- if (this.getRatingName(grn) == null) {
111
+ if (this.getRatingName(grn) == null || this.getRatingName(grn) === '') {
112
112
  return false;
113
113
  }
114
114
  return true;
@@ -76,16 +76,16 @@ export default class RatingModel implements IModel {
76
76
  }
77
77
 
78
78
  public static isValid(grn: string): boolean {
79
- if (this.getRegion(grn) == null) {
79
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
80
80
  return false;
81
81
  }
82
- if (this.getOwnerId(grn) == null) {
82
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
83
83
  return false;
84
84
  }
85
- if (this.getNamespaceName(grn) == null) {
85
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getRatingName(grn) == null) {
88
+ if (this.getRatingName(grn) == null || this.getRatingName(grn) === '') {
89
89
  return false;
90
90
  }
91
91
  return true;
@@ -79,16 +79,16 @@ export default class RatingModelMaster implements IModel {
79
79
  }
80
80
 
81
81
  public static isValid(grn: string): boolean {
82
- if (this.getRegion(grn) == null) {
82
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
83
83
  return false;
84
84
  }
85
- if (this.getOwnerId(grn) == null) {
85
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
86
86
  return false;
87
87
  }
88
- if (this.getNamespaceName(grn) == null) {
88
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
89
89
  return false;
90
90
  }
91
- if (this.getRatingName(grn) == null) {
91
+ if (this.getRatingName(grn) == null || this.getRatingName(grn) === '') {
92
92
  return false;
93
93
  }
94
94
  return true;
@@ -99,19 +99,19 @@ export default class Vote implements IModel {
99
99
  }
100
100
 
101
101
  public static isValid(grn: string): boolean {
102
- if (this.getRegion(grn) == null) {
102
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
103
103
  return false;
104
104
  }
105
- if (this.getOwnerId(grn) == null) {
105
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
106
106
  return false;
107
107
  }
108
- if (this.getNamespaceName(grn) == null) {
108
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
109
109
  return false;
110
110
  }
111
- if (this.getRatingName(grn) == null) {
111
+ if (this.getRatingName(grn) == null || this.getRatingName(grn) === '') {
112
112
  return false;
113
113
  }
114
- if (this.getGatheringName(grn) == null) {
114
+ if (this.getGatheringName(grn) == null || this.getGatheringName(grn) === '') {
115
115
  return false;
116
116
  }
117
117
  return true;
@@ -98,19 +98,19 @@ export default class Complete implements IModel {
98
98
  }
99
99
 
100
100
  public static isValid(grn: string): boolean {
101
- if (this.getRegion(grn) == null) {
101
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
102
102
  return false;
103
103
  }
104
- if (this.getOwnerId(grn) == null) {
104
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
105
105
  return false;
106
106
  }
107
- if (this.getNamespaceName(grn) == null) {
107
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
108
108
  return false;
109
109
  }
110
- if (this.getUserId(grn) == null) {
110
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
111
111
  return false;
112
112
  }
113
- if (this.getMissionGroupName(grn) == null) {
113
+ if (this.getMissionGroupName(grn) == null || this.getMissionGroupName(grn) === '') {
114
114
  return false;
115
115
  }
116
116
  return true;
@@ -97,19 +97,19 @@ export default class Counter implements IModel {
97
97
  }
98
98
 
99
99
  public static isValid(grn: string): boolean {
100
- if (this.getRegion(grn) == null) {
100
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
101
101
  return false;
102
102
  }
103
- if (this.getOwnerId(grn) == null) {
103
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
104
104
  return false;
105
105
  }
106
- if (this.getNamespaceName(grn) == null) {
106
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
107
107
  return false;
108
108
  }
109
- if (this.getUserId(grn) == null) {
109
+ if (this.getUserId(grn) == null || this.getUserId(grn) === '') {
110
110
  return false;
111
111
  }
112
- if (this.getCounterName(grn) == null) {
112
+ if (this.getCounterName(grn) == null || this.getCounterName(grn) === '') {
113
113
  return false;
114
114
  }
115
115
  return true;
@@ -78,16 +78,16 @@ export default class CounterModel implements IModel {
78
78
  }
79
79
 
80
80
  public static isValid(grn: string): boolean {
81
- if (this.getRegion(grn) == null) {
81
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
82
82
  return false;
83
83
  }
84
- if (this.getOwnerId(grn) == null) {
84
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
85
85
  return false;
86
86
  }
87
- if (this.getNamespaceName(grn) == null) {
87
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
88
88
  return false;
89
89
  }
90
- if (this.getCounterName(grn) == null) {
90
+ if (this.getCounterName(grn) == null || this.getCounterName(grn) === '') {
91
91
  return false;
92
92
  }
93
93
  return true;
@@ -81,16 +81,16 @@ export default class CounterModelMaster implements IModel {
81
81
  }
82
82
 
83
83
  public static isValid(grn: string): boolean {
84
- if (this.getRegion(grn) == null) {
84
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
85
85
  return false;
86
86
  }
87
- if (this.getOwnerId(grn) == null) {
87
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
88
88
  return false;
89
89
  }
90
- if (this.getNamespaceName(grn) == null) {
90
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
91
91
  return false;
92
92
  }
93
- if (this.getCounterName(grn) == null) {
93
+ if (this.getCounterName(grn) == null || this.getCounterName(grn) === '') {
94
94
  return false;
95
95
  }
96
96
  return true;
@@ -58,13 +58,13 @@ export default class CurrentMissionMaster implements IModel {
58
58
  }
59
59
 
60
60
  public static isValid(grn: string): boolean {
61
- if (this.getRegion(grn) == null) {
61
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
62
62
  return false;
63
63
  }
64
- if (this.getOwnerId(grn) == null) {
64
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
65
65
  return false;
66
66
  }
67
- if (this.getNamespaceName(grn) == null) {
67
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
68
68
  return false;
69
69
  }
70
70
  return true;
@@ -83,16 +83,16 @@ export default class MissionGroupModel implements IModel {
83
83
  }
84
84
 
85
85
  public static isValid(grn: string): boolean {
86
- if (this.getRegion(grn) == null) {
86
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
87
87
  return false;
88
88
  }
89
- if (this.getOwnerId(grn) == null) {
89
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
90
90
  return false;
91
91
  }
92
- if (this.getNamespaceName(grn) == null) {
92
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
93
93
  return false;
94
94
  }
95
- if (this.getMissionGroupName(grn) == null) {
95
+ if (this.getMissionGroupName(grn) == null || this.getMissionGroupName(grn) === '') {
96
96
  return false;
97
97
  }
98
98
  return true;
@@ -83,16 +83,16 @@ export default class MissionGroupModelMaster implements IModel {
83
83
  }
84
84
 
85
85
  public static isValid(grn: string): boolean {
86
- if (this.getRegion(grn) == null) {
86
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
87
87
  return false;
88
88
  }
89
- if (this.getOwnerId(grn) == null) {
89
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
90
90
  return false;
91
91
  }
92
- if (this.getNamespaceName(grn) == null) {
92
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
93
93
  return false;
94
94
  }
95
- if (this.getMissionGroupName(grn) == null) {
95
+ if (this.getMissionGroupName(grn) == null || this.getMissionGroupName(grn) === '') {
96
96
  return false;
97
97
  }
98
98
  return true;
@@ -99,19 +99,19 @@ export default class MissionTaskModel implements IModel {
99
99
  }
100
100
 
101
101
  public static isValid(grn: string): boolean {
102
- if (this.getRegion(grn) == null) {
102
+ if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
103
103
  return false;
104
104
  }
105
- if (this.getOwnerId(grn) == null) {
105
+ if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
106
106
  return false;
107
107
  }
108
- if (this.getNamespaceName(grn) == null) {
108
+ if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
109
109
  return false;
110
110
  }
111
- if (this.getMissionGroupName(grn) == null) {
111
+ if (this.getMissionGroupName(grn) == null || this.getMissionGroupName(grn) === '') {
112
112
  return false;
113
113
  }
114
- if (this.getMissionTaskName(grn) == null) {
114
+ if (this.getMissionTaskName(grn) == null || this.getMissionTaskName(grn) === '') {
115
115
  return false;
116
116
  }
117
117
  return true;