gs2-cdk 1.0.85 → 1.0.87

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 (467) hide show
  1. package/account/ref/MasterDataVersionRef.d.ts +6 -0
  2. package/account/ref/MasterDataVersionRef.js +26 -0
  3. package/account/ref/MasterDataVersionRef.js.map +1 -0
  4. package/account/ref/MasterDataVersionRef.ts +33 -0
  5. package/account/ref/index.d.ts +2 -1
  6. package/account/ref/index.js +3 -1
  7. package/account/ref/index.js.map +1 -1
  8. package/account/ref/index.ts +2 -0
  9. package/buff/ref/MasterDataVersionRef.d.ts +6 -0
  10. package/buff/ref/MasterDataVersionRef.js +26 -0
  11. package/buff/ref/MasterDataVersionRef.js.map +1 -0
  12. package/buff/ref/MasterDataVersionRef.ts +33 -0
  13. package/buff/ref/index.d.ts +2 -1
  14. package/buff/ref/index.js +3 -1
  15. package/buff/ref/index.js.map +1 -1
  16. package/buff/ref/index.ts +2 -0
  17. package/dictionary/ref/EntryModelRef.d.ts +3 -3
  18. package/dictionary/ref/EntryModelRef.js +5 -5
  19. package/dictionary/ref/EntryModelRef.js.map +1 -1
  20. package/dictionary/ref/EntryModelRef.ts +5 -6
  21. package/dictionary/ref/MasterDataVersionRef.d.ts +6 -0
  22. package/dictionary/ref/MasterDataVersionRef.js +26 -0
  23. package/dictionary/ref/MasterDataVersionRef.js.map +1 -0
  24. package/dictionary/ref/MasterDataVersionRef.ts +33 -0
  25. package/dictionary/ref/NamespaceRef.d.ts +1 -1
  26. package/dictionary/ref/NamespaceRef.js +2 -2
  27. package/dictionary/ref/NamespaceRef.js.map +1 -1
  28. package/dictionary/ref/NamespaceRef.ts +2 -2
  29. package/dictionary/ref/index.d.ts +2 -1
  30. package/dictionary/ref/index.js +3 -1
  31. package/dictionary/ref/index.js.map +1 -1
  32. package/dictionary/ref/index.ts +2 -0
  33. package/distributor/ref/MasterDataVersionRef.d.ts +6 -0
  34. package/distributor/ref/MasterDataVersionRef.js +26 -0
  35. package/distributor/ref/MasterDataVersionRef.js.map +1 -0
  36. package/distributor/ref/MasterDataVersionRef.ts +33 -0
  37. package/distributor/ref/index.d.ts +2 -1
  38. package/distributor/ref/index.js +3 -1
  39. package/distributor/ref/index.js.map +1 -1
  40. package/distributor/ref/index.ts +2 -0
  41. package/enchant/ref/MasterDataVersionRef.d.ts +6 -0
  42. package/enchant/ref/MasterDataVersionRef.js +26 -0
  43. package/enchant/ref/MasterDataVersionRef.js.map +1 -0
  44. package/enchant/ref/MasterDataVersionRef.ts +33 -0
  45. package/enchant/ref/index.d.ts +2 -1
  46. package/enchant/ref/index.js +3 -1
  47. package/enchant/ref/index.js.map +1 -1
  48. package/enchant/ref/index.ts +2 -0
  49. package/enhance/ref/MasterDataVersionRef.d.ts +6 -0
  50. package/enhance/ref/MasterDataVersionRef.js +26 -0
  51. package/enhance/ref/MasterDataVersionRef.js.map +1 -0
  52. package/enhance/ref/MasterDataVersionRef.ts +33 -0
  53. package/enhance/ref/index.d.ts +2 -1
  54. package/enhance/ref/index.js +3 -1
  55. package/enhance/ref/index.js.map +1 -1
  56. package/enhance/ref/index.ts +2 -0
  57. package/exchange/ref/MasterDataVersionRef.d.ts +6 -0
  58. package/exchange/ref/MasterDataVersionRef.js +26 -0
  59. package/exchange/ref/MasterDataVersionRef.js.map +1 -0
  60. package/exchange/ref/MasterDataVersionRef.ts +33 -0
  61. package/exchange/ref/index.d.ts +2 -1
  62. package/exchange/ref/index.js +3 -1
  63. package/exchange/ref/index.js.map +1 -1
  64. package/exchange/ref/index.ts +2 -0
  65. package/experience/ref/MasterDataVersionRef.d.ts +6 -0
  66. package/experience/ref/MasterDataVersionRef.js +26 -0
  67. package/experience/ref/MasterDataVersionRef.js.map +1 -0
  68. package/experience/ref/MasterDataVersionRef.ts +33 -0
  69. package/experience/ref/index.d.ts +2 -1
  70. package/experience/ref/index.js +3 -1
  71. package/experience/ref/index.js.map +1 -1
  72. package/experience/ref/index.ts +2 -0
  73. package/formation/ref/MasterDataVersionRef.d.ts +6 -0
  74. package/formation/ref/MasterDataVersionRef.js +26 -0
  75. package/formation/ref/MasterDataVersionRef.js.map +1 -0
  76. package/formation/ref/MasterDataVersionRef.ts +33 -0
  77. package/formation/ref/index.d.ts +2 -1
  78. package/formation/ref/index.js +3 -1
  79. package/formation/ref/index.js.map +1 -1
  80. package/formation/ref/index.ts +2 -0
  81. package/grade/ref/MasterDataVersionRef.d.ts +6 -0
  82. package/grade/ref/MasterDataVersionRef.js +26 -0
  83. package/grade/ref/MasterDataVersionRef.js.map +1 -0
  84. package/grade/ref/MasterDataVersionRef.ts +33 -0
  85. package/grade/ref/index.d.ts +2 -1
  86. package/grade/ref/index.js +3 -1
  87. package/grade/ref/index.js.map +1 -1
  88. package/grade/ref/index.ts +2 -0
  89. package/guard/index.d.ts +12 -0
  90. package/guard/index.js +32 -0
  91. package/guard/index.js.map +1 -0
  92. package/guard/index.ts +36 -0
  93. package/guard/model/BlockingPolicyModel.d.ts +52 -0
  94. package/guard/model/BlockingPolicyModel.js +137 -0
  95. package/guard/model/BlockingPolicyModel.js.map +1 -0
  96. package/guard/model/BlockingPolicyModel.ts +372 -0
  97. package/guard/model/Namespace.d.ts +19 -0
  98. package/guard/model/Namespace.js +61 -0
  99. package/guard/model/Namespace.js.map +1 -0
  100. package/guard/model/Namespace.ts +95 -0
  101. package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.d.ts +5 -0
  102. package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.js +23 -0
  103. package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.js.map +1 -0
  104. package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.ts +23 -0
  105. package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.d.ts +4 -0
  106. package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.js +22 -0
  107. package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.js.map +1 -0
  108. package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.ts +22 -0
  109. package/guard/model/enum/BlockingPolicyModelDefaultRestriction.d.ts +5 -0
  110. package/guard/model/enum/BlockingPolicyModelDefaultRestriction.js +23 -0
  111. package/guard/model/enum/BlockingPolicyModelDefaultRestriction.js.map +1 -0
  112. package/guard/model/enum/BlockingPolicyModelDefaultRestriction.ts +23 -0
  113. package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.d.ts +5 -0
  114. package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.js +23 -0
  115. package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.js.map +1 -0
  116. package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.ts +23 -0
  117. package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.d.ts +4 -0
  118. package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.js +22 -0
  119. package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.js.map +1 -0
  120. package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.ts +22 -0
  121. package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.d.ts +5 -0
  122. package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.js +23 -0
  123. package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.js.map +1 -0
  124. package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.ts +23 -0
  125. package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.d.ts +5 -0
  126. package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.js +23 -0
  127. package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.js.map +1 -0
  128. package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.ts +23 -0
  129. package/guard/model/enum/BlockingPolicyModelLocationDetection.d.ts +5 -0
  130. package/guard/model/enum/BlockingPolicyModelLocationDetection.js +23 -0
  131. package/guard/model/enum/BlockingPolicyModelLocationDetection.js.map +1 -0
  132. package/guard/model/enum/BlockingPolicyModelLocationDetection.ts +23 -0
  133. package/guard/model/enum/BlockingPolicyModelLocationRestriction.d.ts +5 -0
  134. package/guard/model/enum/BlockingPolicyModelLocationRestriction.js +23 -0
  135. package/guard/model/enum/BlockingPolicyModelLocationRestriction.js.map +1 -0
  136. package/guard/model/enum/BlockingPolicyModelLocationRestriction.ts +23 -0
  137. package/guard/model/enum/BlockingPolicyModelReputationIpDetection.d.ts +5 -0
  138. package/guard/model/enum/BlockingPolicyModelReputationIpDetection.js +23 -0
  139. package/guard/model/enum/BlockingPolicyModelReputationIpDetection.js.map +1 -0
  140. package/guard/model/enum/BlockingPolicyModelReputationIpDetection.ts +23 -0
  141. package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.d.ts +4 -0
  142. package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.js +22 -0
  143. package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.js.map +1 -0
  144. package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.ts +22 -0
  145. package/guard/model/enum/NamespaceStatus.d.ts +6 -0
  146. package/guard/model/enum/NamespaceStatus.js +24 -0
  147. package/guard/model/enum/NamespaceStatus.js.map +1 -0
  148. package/guard/model/enum/NamespaceStatus.ts +24 -0
  149. package/guard/model/index.d.ts +27 -0
  150. package/guard/model/index.js +48 -0
  151. package/guard/model/index.js.map +1 -0
  152. package/guard/model/index.ts +70 -0
  153. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.d.ts +3 -0
  154. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.js +3 -0
  155. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.js.map +1 -0
  156. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.ts +30 -0
  157. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.d.ts +3 -0
  158. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.js +3 -0
  159. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.js.map +1 -0
  160. package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.ts +30 -0
  161. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.d.ts +3 -0
  162. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.js +3 -0
  163. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.js.map +1 -0
  164. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.ts +30 -0
  165. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.d.ts +3 -0
  166. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.js +3 -0
  167. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.js.map +1 -0
  168. package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.ts +30 -0
  169. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.d.ts +3 -0
  170. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.js +3 -0
  171. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.js.map +1 -0
  172. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.ts +30 -0
  173. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.d.ts +3 -0
  174. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.js +3 -0
  175. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.js.map +1 -0
  176. package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.ts +30 -0
  177. package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.d.ts +3 -0
  178. package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.js +3 -0
  179. package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.js.map +1 -0
  180. package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.ts +30 -0
  181. package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.d.ts +3 -0
  182. package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.js +3 -0
  183. package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.js.map +1 -0
  184. package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.ts +30 -0
  185. package/guard/model/options/BlockingPolicyModelOptions.d.ts +14 -0
  186. package/guard/model/options/BlockingPolicyModelOptions.js +3 -0
  187. package/guard/model/options/BlockingPolicyModelOptions.js.map +1 -0
  188. package/guard/model/options/BlockingPolicyModelOptions.ts +37 -0
  189. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.d.ts +3 -0
  190. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.js +3 -0
  191. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.js.map +1 -0
  192. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.ts +30 -0
  193. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.d.ts +3 -0
  194. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.js +3 -0
  195. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.js.map +1 -0
  196. package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.ts +30 -0
  197. package/guard/model/options/NamespaceOptions.d.ts +3 -0
  198. package/guard/model/options/NamespaceOptions.js +3 -0
  199. package/guard/model/options/NamespaceOptions.js.map +1 -0
  200. package/guard/model/options/NamespaceOptions.ts +21 -0
  201. package/guard/ref/NamespaceRef.d.ts +5 -0
  202. package/guard/ref/NamespaceRef.js +35 -0
  203. package/guard/ref/NamespaceRef.js.map +1 -0
  204. package/guard/ref/NamespaceRef.ts +47 -0
  205. package/guard/ref/index.d.ts +2 -0
  206. package/guard/ref/index.js +22 -0
  207. package/guard/ref/index.js.map +1 -0
  208. package/guard/ref/index.ts +20 -0
  209. package/guard/stampSheet/index.d.ts +1 -0
  210. package/guard/stampSheet/index.js +18 -0
  211. package/guard/stampSheet/index.js.map +1 -0
  212. package/guard/stampSheet/index.ts +18 -0
  213. package/guild/ref/MasterDataVersionRef.d.ts +6 -0
  214. package/guild/ref/MasterDataVersionRef.js +26 -0
  215. package/guild/ref/MasterDataVersionRef.js.map +1 -0
  216. package/guild/ref/MasterDataVersionRef.ts +33 -0
  217. package/guild/ref/index.d.ts +2 -1
  218. package/guild/ref/index.js +3 -1
  219. package/guild/ref/index.js.map +1 -1
  220. package/guild/ref/index.ts +2 -0
  221. package/idle/ref/MasterDataVersionRef.d.ts +6 -0
  222. package/idle/ref/MasterDataVersionRef.js +26 -0
  223. package/idle/ref/MasterDataVersionRef.js.map +1 -0
  224. package/idle/ref/MasterDataVersionRef.ts +33 -0
  225. package/idle/ref/index.d.ts +2 -1
  226. package/idle/ref/index.js +3 -1
  227. package/idle/ref/index.js.map +1 -1
  228. package/idle/ref/index.ts +2 -0
  229. package/inbox/ref/MasterDataVersionRef.d.ts +6 -0
  230. package/inbox/ref/MasterDataVersionRef.js +26 -0
  231. package/inbox/ref/MasterDataVersionRef.js.map +1 -0
  232. package/inbox/ref/MasterDataVersionRef.ts +33 -0
  233. package/inbox/ref/index.d.ts +2 -1
  234. package/inbox/ref/index.js +3 -1
  235. package/inbox/ref/index.js.map +1 -1
  236. package/inbox/ref/index.ts +2 -0
  237. package/inventory/ref/MasterDataVersionRef.d.ts +6 -0
  238. package/inventory/ref/MasterDataVersionRef.js +26 -0
  239. package/inventory/ref/MasterDataVersionRef.js.map +1 -0
  240. package/inventory/ref/MasterDataVersionRef.ts +33 -0
  241. package/inventory/ref/index.d.ts +2 -1
  242. package/inventory/ref/index.js +3 -1
  243. package/inventory/ref/index.js.map +1 -1
  244. package/inventory/ref/index.ts +2 -0
  245. package/limit/ref/MasterDataVersionRef.d.ts +6 -0
  246. package/limit/ref/MasterDataVersionRef.js +26 -0
  247. package/limit/ref/MasterDataVersionRef.js.map +1 -0
  248. package/limit/ref/MasterDataVersionRef.ts +33 -0
  249. package/limit/ref/index.d.ts +2 -1
  250. package/limit/ref/index.js +3 -1
  251. package/limit/ref/index.js.map +1 -1
  252. package/limit/ref/index.ts +2 -0
  253. package/loginReward/ref/MasterDataVersionRef.d.ts +6 -0
  254. package/loginReward/ref/MasterDataVersionRef.js +26 -0
  255. package/loginReward/ref/MasterDataVersionRef.js.map +1 -0
  256. package/loginReward/ref/MasterDataVersionRef.ts +33 -0
  257. package/loginReward/ref/index.d.ts +2 -1
  258. package/loginReward/ref/index.js +3 -1
  259. package/loginReward/ref/index.js.map +1 -1
  260. package/loginReward/ref/index.ts +2 -0
  261. package/lottery/ref/MasterDataVersionRef.d.ts +6 -0
  262. package/lottery/ref/MasterDataVersionRef.js +26 -0
  263. package/lottery/ref/MasterDataVersionRef.js.map +1 -0
  264. package/lottery/ref/MasterDataVersionRef.ts +33 -0
  265. package/lottery/ref/index.d.ts +2 -1
  266. package/lottery/ref/index.js +3 -1
  267. package/lottery/ref/index.js.map +1 -1
  268. package/lottery/ref/index.ts +2 -0
  269. package/matchmaking/ref/MasterDataVersionRef.d.ts +6 -0
  270. package/matchmaking/ref/MasterDataVersionRef.js +26 -0
  271. package/matchmaking/ref/MasterDataVersionRef.js.map +1 -0
  272. package/matchmaking/ref/MasterDataVersionRef.ts +33 -0
  273. package/matchmaking/ref/index.d.ts +2 -1
  274. package/matchmaking/ref/index.js +3 -1
  275. package/matchmaking/ref/index.js.map +1 -1
  276. package/matchmaking/ref/index.ts +2 -0
  277. package/megaField/ref/MasterDataVersionRef.d.ts +6 -0
  278. package/megaField/ref/MasterDataVersionRef.js +26 -0
  279. package/megaField/ref/MasterDataVersionRef.js.map +1 -0
  280. package/megaField/ref/MasterDataVersionRef.ts +33 -0
  281. package/megaField/ref/NamespaceRef.js.map +1 -1
  282. package/megaField/ref/NamespaceRef.ts +0 -1
  283. package/megaField/ref/index.d.ts +2 -1
  284. package/megaField/ref/index.js +3 -1
  285. package/megaField/ref/index.js.map +1 -1
  286. package/megaField/ref/index.ts +2 -0
  287. package/mission/ref/MasterDataVersionRef.d.ts +6 -0
  288. package/mission/ref/MasterDataVersionRef.js +26 -0
  289. package/mission/ref/MasterDataVersionRef.js.map +1 -0
  290. package/mission/ref/MasterDataVersionRef.ts +33 -0
  291. package/mission/ref/index.d.ts +2 -1
  292. package/mission/ref/index.js +3 -1
  293. package/mission/ref/index.js.map +1 -1
  294. package/mission/ref/index.ts +2 -0
  295. package/money2/ref/MasterDataVersionRef.d.ts +6 -0
  296. package/money2/ref/MasterDataVersionRef.js +26 -0
  297. package/money2/ref/MasterDataVersionRef.js.map +1 -0
  298. package/money2/ref/MasterDataVersionRef.ts +33 -0
  299. package/money2/ref/index.d.ts +2 -1
  300. package/money2/ref/index.js +3 -1
  301. package/money2/ref/index.js.map +1 -1
  302. package/money2/ref/index.ts +2 -0
  303. package/package.json +1 -1
  304. package/quest/model/CurrentMasterData.d.ts +2 -2
  305. package/quest/model/CurrentMasterData.js +4 -4
  306. package/quest/model/CurrentMasterData.js.map +1 -1
  307. package/quest/model/CurrentMasterData.ts +5 -5
  308. package/quest/model/Namespace.d.ts +1 -1
  309. package/quest/model/Namespace.js +2 -2
  310. package/quest/model/Namespace.js.map +1 -1
  311. package/quest/model/Namespace.ts +2 -2
  312. package/quest/ref/MasterDataVersionRef.d.ts +6 -0
  313. package/quest/ref/MasterDataVersionRef.js +26 -0
  314. package/quest/ref/MasterDataVersionRef.js.map +1 -0
  315. package/quest/ref/MasterDataVersionRef.ts +33 -0
  316. package/quest/ref/index.d.ts +2 -1
  317. package/quest/ref/index.js +3 -1
  318. package/quest/ref/index.js.map +1 -1
  319. package/quest/ref/index.ts +2 -0
  320. package/ranking/model/CurrentMasterData.d.ts +2 -2
  321. package/ranking/model/CurrentMasterData.js +4 -4
  322. package/ranking/model/CurrentMasterData.js.map +1 -1
  323. package/ranking/model/CurrentMasterData.ts +5 -5
  324. package/ranking/model/Namespace.d.ts +1 -1
  325. package/ranking/model/Namespace.js +2 -2
  326. package/ranking/model/Namespace.js.map +1 -1
  327. package/ranking/model/Namespace.ts +2 -2
  328. package/ranking/ref/MasterDataVersionRef.d.ts +6 -0
  329. package/ranking/ref/MasterDataVersionRef.js +26 -0
  330. package/ranking/ref/MasterDataVersionRef.js.map +1 -0
  331. package/ranking/ref/MasterDataVersionRef.ts +33 -0
  332. package/ranking/ref/index.d.ts +2 -1
  333. package/ranking/ref/index.js +3 -1
  334. package/ranking/ref/index.js.map +1 -1
  335. package/ranking/ref/index.ts +2 -0
  336. package/ranking2/ref/ClusterRankingModelRef.js.map +1 -1
  337. package/ranking2/ref/ClusterRankingModelRef.ts +0 -1
  338. package/ranking2/ref/GlobalRankingModelRef.js.map +1 -1
  339. package/ranking2/ref/GlobalRankingModelRef.ts +0 -1
  340. package/ranking2/ref/MasterDataVersionRef.d.ts +6 -0
  341. package/ranking2/ref/MasterDataVersionRef.js +26 -0
  342. package/ranking2/ref/MasterDataVersionRef.js.map +1 -0
  343. package/ranking2/ref/MasterDataVersionRef.ts +33 -0
  344. package/ranking2/ref/NamespaceRef.d.ts +9 -0
  345. package/ranking2/ref/NamespaceRef.js +12 -0
  346. package/ranking2/ref/NamespaceRef.js.map +1 -1
  347. package/ranking2/ref/NamespaceRef.ts +65 -0
  348. package/ranking2/ref/index.d.ts +2 -1
  349. package/ranking2/ref/index.js +3 -1
  350. package/ranking2/ref/index.js.map +1 -1
  351. package/ranking2/ref/index.ts +2 -0
  352. package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.d.ts +18 -0
  353. package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.js +71 -0
  354. package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.js.map +1 -0
  355. package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.ts +94 -0
  356. package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.d.ts +17 -0
  357. package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.js +67 -0
  358. package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.js.map +1 -0
  359. package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.ts +88 -0
  360. package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.d.ts +17 -0
  361. package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.js +67 -0
  362. package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.js.map +1 -0
  363. package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.ts +88 -0
  364. package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.d.ts +9 -0
  365. package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.js +27 -0
  366. package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.js.map +1 -0
  367. package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.ts +27 -0
  368. package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.d.ts +9 -0
  369. package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.js +27 -0
  370. package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.js.map +1 -0
  371. package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.ts +27 -0
  372. package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.d.ts +9 -0
  373. package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.js +27 -0
  374. package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.js.map +1 -0
  375. package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.ts +27 -0
  376. package/ranking2/stampSheet/index.d.ts +4 -1
  377. package/ranking2/stampSheet/index.js +7 -1
  378. package/ranking2/stampSheet/index.js.map +1 -1
  379. package/ranking2/stampSheet/index.ts +6 -0
  380. package/schedule/ref/MasterDataVersionRef.d.ts +6 -0
  381. package/schedule/ref/MasterDataVersionRef.js +26 -0
  382. package/schedule/ref/MasterDataVersionRef.js.map +1 -0
  383. package/schedule/ref/MasterDataVersionRef.ts +33 -0
  384. package/schedule/ref/index.d.ts +2 -1
  385. package/schedule/ref/index.js +3 -1
  386. package/schedule/ref/index.js.map +1 -1
  387. package/schedule/ref/index.ts +2 -0
  388. package/script/ref/NamespaceRef.d.ts +3 -0
  389. package/script/ref/NamespaceRef.js +5 -0
  390. package/script/ref/NamespaceRef.js.map +1 -1
  391. package/script/ref/NamespaceRef.ts +16 -0
  392. package/script/ref/ScriptRef.d.ts +3 -0
  393. package/script/ref/ScriptRef.js +5 -0
  394. package/script/ref/ScriptRef.js.map +1 -1
  395. package/script/ref/ScriptRef.ts +16 -0
  396. package/script/stampSheet/InvokeScript.d.ts +14 -0
  397. package/script/stampSheet/InvokeScript.js +60 -0
  398. package/script/stampSheet/InvokeScript.js.map +1 -0
  399. package/script/stampSheet/InvokeScript.ts +73 -0
  400. package/script/stampSheet/index.d.ts +2 -1
  401. package/script/stampSheet/index.js +5 -1
  402. package/script/stampSheet/index.js.map +1 -1
  403. package/script/stampSheet/index.ts +2 -0
  404. package/seasonRating/ref/MasterDataVersionRef.d.ts +6 -0
  405. package/seasonRating/ref/MasterDataVersionRef.js +26 -0
  406. package/seasonRating/ref/MasterDataVersionRef.js.map +1 -0
  407. package/seasonRating/ref/MasterDataVersionRef.ts +33 -0
  408. package/seasonRating/ref/index.d.ts +2 -1
  409. package/seasonRating/ref/index.js +3 -1
  410. package/seasonRating/ref/index.js.map +1 -1
  411. package/seasonRating/ref/index.ts +2 -0
  412. package/serialKey/ref/MasterDataVersionRef.d.ts +6 -0
  413. package/serialKey/ref/MasterDataVersionRef.js +26 -0
  414. package/serialKey/ref/MasterDataVersionRef.js.map +1 -0
  415. package/serialKey/ref/MasterDataVersionRef.ts +33 -0
  416. package/serialKey/ref/NamespaceRef.d.ts +3 -0
  417. package/serialKey/ref/NamespaceRef.js +4 -0
  418. package/serialKey/ref/NamespaceRef.js.map +1 -1
  419. package/serialKey/ref/NamespaceRef.ts +15 -0
  420. package/serialKey/ref/index.d.ts +2 -1
  421. package/serialKey/ref/index.js +3 -1
  422. package/serialKey/ref/index.js.map +1 -1
  423. package/serialKey/ref/index.ts +2 -0
  424. package/serialKey/stampSheet/VerifyCodeByUserId.d.ts +14 -0
  425. package/serialKey/stampSheet/VerifyCodeByUserId.js +53 -0
  426. package/serialKey/stampSheet/VerifyCodeByUserId.js.map +1 -0
  427. package/serialKey/stampSheet/VerifyCodeByUserId.ts +70 -0
  428. package/serialKey/stampSheet/enum/SerialKeyVerifyType.d.ts +5 -0
  429. package/serialKey/stampSheet/enum/SerialKeyVerifyType.js +23 -0
  430. package/serialKey/stampSheet/enum/SerialKeyVerifyType.js.map +1 -0
  431. package/serialKey/stampSheet/enum/SerialKeyVerifyType.ts +23 -0
  432. package/serialKey/stampSheet/index.d.ts +2 -1
  433. package/serialKey/stampSheet/index.js +3 -1
  434. package/serialKey/stampSheet/index.js.map +1 -1
  435. package/serialKey/stampSheet/index.ts +2 -0
  436. package/showcase/ref/MasterDataVersionRef.d.ts +6 -0
  437. package/showcase/ref/MasterDataVersionRef.js +26 -0
  438. package/showcase/ref/MasterDataVersionRef.js.map +1 -0
  439. package/showcase/ref/MasterDataVersionRef.ts +33 -0
  440. package/showcase/ref/index.d.ts +2 -1
  441. package/showcase/ref/index.js +3 -1
  442. package/showcase/ref/index.js.map +1 -1
  443. package/showcase/ref/index.ts +2 -0
  444. package/skillTree/ref/MasterDataVersionRef.d.ts +6 -0
  445. package/skillTree/ref/MasterDataVersionRef.js +26 -0
  446. package/skillTree/ref/MasterDataVersionRef.js.map +1 -0
  447. package/skillTree/ref/MasterDataVersionRef.ts +33 -0
  448. package/skillTree/ref/index.d.ts +2 -1
  449. package/skillTree/ref/index.js +3 -1
  450. package/skillTree/ref/index.js.map +1 -1
  451. package/skillTree/ref/index.ts +2 -0
  452. package/stamina/ref/MasterDataVersionRef.d.ts +6 -0
  453. package/stamina/ref/MasterDataVersionRef.js +26 -0
  454. package/stamina/ref/MasterDataVersionRef.js.map +1 -0
  455. package/stamina/ref/MasterDataVersionRef.ts +33 -0
  456. package/stamina/ref/index.d.ts +2 -1
  457. package/stamina/ref/index.js +3 -1
  458. package/stamina/ref/index.js.map +1 -1
  459. package/stamina/ref/index.ts +2 -0
  460. package/version/ref/MasterDataVersionRef.d.ts +6 -0
  461. package/version/ref/MasterDataVersionRef.js +26 -0
  462. package/version/ref/MasterDataVersionRef.js.map +1 -0
  463. package/version/ref/MasterDataVersionRef.ts +33 -0
  464. package/version/ref/index.d.ts +2 -1
  465. package/version/ref/index.js +3 -1
  466. package/version/ref/index.js.map +1 -1
  467. package/version/ref/index.ts +2 -0
@@ -0,0 +1,372 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { BlockingPolicyModelOptions } from "./options/BlockingPolicyModelOptions";
17
+ import { BlockingPolicyModelLocationDetectionIsEnableOptions } from "./options/BlockingPolicyModelLocationDetectionIsEnableOptions";
18
+ import { BlockingPolicyModelLocationDetectionIsDisableOptions } from "./options/BlockingPolicyModelLocationDetectionIsDisableOptions";
19
+ import { BlockingPolicyModelAnonymousIpDetectionIsEnableOptions } from "./options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions";
20
+ import { BlockingPolicyModelAnonymousIpDetectionIsDisableOptions } from "./options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions";
21
+ import { BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions } from "./options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions";
22
+ import { BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions } from "./options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions";
23
+ import { BlockingPolicyModelReputationIpDetectionIsEnableOptions } from "./options/BlockingPolicyModelReputationIpDetectionIsEnableOptions";
24
+ import { BlockingPolicyModelReputationIpDetectionIsDisableOptions } from "./options/BlockingPolicyModelReputationIpDetectionIsDisableOptions";
25
+ import { BlockingPolicyModelIpAddressesDetectionIsEnableOptions } from "./options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions";
26
+ import { BlockingPolicyModelIpAddressesDetectionIsDisableOptions } from "./options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions";
27
+ import { BlockingPolicyModelDefaultRestriction } from "./enum/BlockingPolicyModelDefaultRestriction";
28
+ import { BlockingPolicyModelLocationDetection } from "./enum/BlockingPolicyModelLocationDetection";
29
+ import { BlockingPolicyModelLocationRestriction } from "./enum/BlockingPolicyModelLocationRestriction";
30
+ import { BlockingPolicyModelAnonymousIpDetection } from "./enum/BlockingPolicyModelAnonymousIpDetection";
31
+ import { BlockingPolicyModelAnonymousIpRestriction } from "./enum/BlockingPolicyModelAnonymousIpRestriction";
32
+ import { BlockingPolicyModelHostingProviderIpDetection } from "./enum/BlockingPolicyModelHostingProviderIpDetection";
33
+ import { BlockingPolicyModelHostingProviderIpRestriction } from "./enum/BlockingPolicyModelHostingProviderIpRestriction";
34
+ import { BlockingPolicyModelReputationIpDetection } from "./enum/BlockingPolicyModelReputationIpDetection";
35
+ import { BlockingPolicyModelReputationIpRestriction } from "./enum/BlockingPolicyModelReputationIpRestriction";
36
+ import { BlockingPolicyModelIpAddressesDetection } from "./enum/BlockingPolicyModelIpAddressesDetection";
37
+ import { BlockingPolicyModelIpAddressRestriction } from "./enum/BlockingPolicyModelIpAddressRestriction";
38
+
39
+ export default class BlockingPolicyModel {
40
+ private readonly passServices: string[];
41
+ private readonly defaultRestriction: BlockingPolicyModelDefaultRestriction;
42
+ private readonly locationDetection: BlockingPolicyModelLocationDetection;
43
+ private readonly anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection;
44
+ private readonly hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection;
45
+ private readonly reputationIpDetection: BlockingPolicyModelReputationIpDetection;
46
+ private readonly ipAddressesDetection: BlockingPolicyModelIpAddressesDetection;
47
+ private readonly locations: string[]|null = null;
48
+ private readonly locationRestriction: BlockingPolicyModelLocationRestriction|null = null;
49
+ private readonly anonymousIpRestriction: BlockingPolicyModelAnonymousIpRestriction|null = null;
50
+ private readonly hostingProviderIpRestriction: BlockingPolicyModelHostingProviderIpRestriction|null = null;
51
+ private readonly reputationIpRestriction: BlockingPolicyModelReputationIpRestriction|null = null;
52
+ private readonly ipAddresses: string[]|null = null;
53
+ private readonly ipAddressRestriction: BlockingPolicyModelIpAddressRestriction|null = null;
54
+
55
+ public constructor(
56
+ passServices: string[],
57
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
58
+ locationDetection: BlockingPolicyModelLocationDetection,
59
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
60
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
61
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
62
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
63
+ options: BlockingPolicyModelOptions|null = null,
64
+ ) {
65
+ this.passServices = passServices;
66
+ this.defaultRestriction = defaultRestriction;
67
+ this.locationDetection = locationDetection;
68
+ this.anonymousIpDetection = anonymousIpDetection;
69
+ this.hostingProviderIpDetection = hostingProviderIpDetection;
70
+ this.reputationIpDetection = reputationIpDetection;
71
+ this.ipAddressesDetection = ipAddressesDetection;
72
+ this.locations = options?.locations ?? null;
73
+ this.locationRestriction = options?.locationRestriction ?? null;
74
+ this.anonymousIpRestriction = options?.anonymousIpRestriction ?? null;
75
+ this.hostingProviderIpRestriction = options?.hostingProviderIpRestriction ?? null;
76
+ this.reputationIpRestriction = options?.reputationIpRestriction ?? null;
77
+ this.ipAddresses = options?.ipAddresses ?? null;
78
+ this.ipAddressRestriction = options?.ipAddressRestriction ?? null;
79
+ }
80
+
81
+ public static locationDetectionIsEnable(
82
+ passServices: string[],
83
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
84
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
85
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
86
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
87
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
88
+ locations: string[],
89
+ locationRestriction: BlockingPolicyModelLocationRestriction,
90
+ options: BlockingPolicyModelLocationDetectionIsEnableOptions|null = null,
91
+ ): BlockingPolicyModel {
92
+ return new BlockingPolicyModel(
93
+ passServices,
94
+ defaultRestriction,
95
+ BlockingPolicyModelLocationDetection.ENABLE,
96
+ anonymousIpDetection,
97
+ hostingProviderIpDetection,
98
+ reputationIpDetection,
99
+ ipAddressesDetection,
100
+ {
101
+ locations: locations,
102
+ locationRestriction: locationRestriction,
103
+ ipAddresses: options?.ipAddresses,
104
+ },
105
+ );
106
+ }
107
+
108
+ public static locationDetectionIsDisable(
109
+ passServices: string[],
110
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
111
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
112
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
113
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
114
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
115
+ options: BlockingPolicyModelLocationDetectionIsDisableOptions|null = null,
116
+ ): BlockingPolicyModel {
117
+ return new BlockingPolicyModel(
118
+ passServices,
119
+ defaultRestriction,
120
+ BlockingPolicyModelLocationDetection.DISABLE,
121
+ anonymousIpDetection,
122
+ hostingProviderIpDetection,
123
+ reputationIpDetection,
124
+ ipAddressesDetection,
125
+ {
126
+ ipAddresses: options?.ipAddresses,
127
+ },
128
+ );
129
+ }
130
+
131
+ public static anonymousIpDetectionIsEnable(
132
+ passServices: string[],
133
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
134
+ locationDetection: BlockingPolicyModelLocationDetection,
135
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
136
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
137
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
138
+ anonymousIpRestriction: BlockingPolicyModelAnonymousIpRestriction,
139
+ options: BlockingPolicyModelAnonymousIpDetectionIsEnableOptions|null = null,
140
+ ): BlockingPolicyModel {
141
+ return new BlockingPolicyModel(
142
+ passServices,
143
+ defaultRestriction,
144
+ locationDetection,
145
+ BlockingPolicyModelAnonymousIpDetection.ENABLE,
146
+ hostingProviderIpDetection,
147
+ reputationIpDetection,
148
+ ipAddressesDetection,
149
+ {
150
+ anonymousIpRestriction: anonymousIpRestriction,
151
+ ipAddresses: options?.ipAddresses,
152
+ },
153
+ );
154
+ }
155
+
156
+ public static anonymousIpDetectionIsDisable(
157
+ passServices: string[],
158
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
159
+ locationDetection: BlockingPolicyModelLocationDetection,
160
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
161
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
162
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
163
+ options: BlockingPolicyModelAnonymousIpDetectionIsDisableOptions|null = null,
164
+ ): BlockingPolicyModel {
165
+ return new BlockingPolicyModel(
166
+ passServices,
167
+ defaultRestriction,
168
+ locationDetection,
169
+ BlockingPolicyModelAnonymousIpDetection.DISABLE,
170
+ hostingProviderIpDetection,
171
+ reputationIpDetection,
172
+ ipAddressesDetection,
173
+ {
174
+ ipAddresses: options?.ipAddresses,
175
+ },
176
+ );
177
+ }
178
+
179
+ public static hostingProviderIpDetectionIsEnable(
180
+ passServices: string[],
181
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
182
+ locationDetection: BlockingPolicyModelLocationDetection,
183
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
184
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
185
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
186
+ hostingProviderIpRestriction: BlockingPolicyModelHostingProviderIpRestriction,
187
+ options: BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions|null = null,
188
+ ): BlockingPolicyModel {
189
+ return new BlockingPolicyModel(
190
+ passServices,
191
+ defaultRestriction,
192
+ locationDetection,
193
+ anonymousIpDetection,
194
+ BlockingPolicyModelHostingProviderIpDetection.ENABLE,
195
+ reputationIpDetection,
196
+ ipAddressesDetection,
197
+ {
198
+ hostingProviderIpRestriction: hostingProviderIpRestriction,
199
+ ipAddresses: options?.ipAddresses,
200
+ },
201
+ );
202
+ }
203
+
204
+ public static hostingProviderIpDetectionIsDisable(
205
+ passServices: string[],
206
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
207
+ locationDetection: BlockingPolicyModelLocationDetection,
208
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
209
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
210
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
211
+ options: BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions|null = null,
212
+ ): BlockingPolicyModel {
213
+ return new BlockingPolicyModel(
214
+ passServices,
215
+ defaultRestriction,
216
+ locationDetection,
217
+ anonymousIpDetection,
218
+ BlockingPolicyModelHostingProviderIpDetection.DISABLE,
219
+ reputationIpDetection,
220
+ ipAddressesDetection,
221
+ {
222
+ ipAddresses: options?.ipAddresses,
223
+ },
224
+ );
225
+ }
226
+
227
+ public static reputationIpDetectionIsEnable(
228
+ passServices: string[],
229
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
230
+ locationDetection: BlockingPolicyModelLocationDetection,
231
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
232
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
233
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
234
+ reputationIpRestriction: BlockingPolicyModelReputationIpRestriction,
235
+ options: BlockingPolicyModelReputationIpDetectionIsEnableOptions|null = null,
236
+ ): BlockingPolicyModel {
237
+ return new BlockingPolicyModel(
238
+ passServices,
239
+ defaultRestriction,
240
+ locationDetection,
241
+ anonymousIpDetection,
242
+ hostingProviderIpDetection,
243
+ BlockingPolicyModelReputationIpDetection.ENABLE,
244
+ ipAddressesDetection,
245
+ {
246
+ reputationIpRestriction: reputationIpRestriction,
247
+ ipAddresses: options?.ipAddresses,
248
+ },
249
+ );
250
+ }
251
+
252
+ public static reputationIpDetectionIsDisable(
253
+ passServices: string[],
254
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
255
+ locationDetection: BlockingPolicyModelLocationDetection,
256
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
257
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
258
+ ipAddressesDetection: BlockingPolicyModelIpAddressesDetection,
259
+ options: BlockingPolicyModelReputationIpDetectionIsDisableOptions|null = null,
260
+ ): BlockingPolicyModel {
261
+ return new BlockingPolicyModel(
262
+ passServices,
263
+ defaultRestriction,
264
+ locationDetection,
265
+ anonymousIpDetection,
266
+ hostingProviderIpDetection,
267
+ BlockingPolicyModelReputationIpDetection.DISABLE,
268
+ ipAddressesDetection,
269
+ {
270
+ ipAddresses: options?.ipAddresses,
271
+ },
272
+ );
273
+ }
274
+
275
+ public static ipAddressesDetectionIsEnable(
276
+ passServices: string[],
277
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
278
+ locationDetection: BlockingPolicyModelLocationDetection,
279
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
280
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
281
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
282
+ ipAddressRestriction: BlockingPolicyModelIpAddressRestriction,
283
+ options: BlockingPolicyModelIpAddressesDetectionIsEnableOptions|null = null,
284
+ ): BlockingPolicyModel {
285
+ return new BlockingPolicyModel(
286
+ passServices,
287
+ defaultRestriction,
288
+ locationDetection,
289
+ anonymousIpDetection,
290
+ hostingProviderIpDetection,
291
+ reputationIpDetection,
292
+ BlockingPolicyModelIpAddressesDetection.ENABLE,
293
+ {
294
+ ipAddressRestriction: ipAddressRestriction,
295
+ ipAddresses: options?.ipAddresses,
296
+ },
297
+ );
298
+ }
299
+
300
+ public static ipAddressesDetectionIsDisable(
301
+ passServices: string[],
302
+ defaultRestriction: BlockingPolicyModelDefaultRestriction,
303
+ locationDetection: BlockingPolicyModelLocationDetection,
304
+ anonymousIpDetection: BlockingPolicyModelAnonymousIpDetection,
305
+ hostingProviderIpDetection: BlockingPolicyModelHostingProviderIpDetection,
306
+ reputationIpDetection: BlockingPolicyModelReputationIpDetection,
307
+ options: BlockingPolicyModelIpAddressesDetectionIsDisableOptions|null = null,
308
+ ): BlockingPolicyModel {
309
+ return new BlockingPolicyModel(
310
+ passServices,
311
+ defaultRestriction,
312
+ locationDetection,
313
+ anonymousIpDetection,
314
+ hostingProviderIpDetection,
315
+ reputationIpDetection,
316
+ BlockingPolicyModelIpAddressesDetection.DISABLE,
317
+ {
318
+ ipAddresses: options?.ipAddresses,
319
+ },
320
+ );
321
+ }
322
+
323
+ public properties(
324
+ ): {[name: string]: any} {
325
+ let properties: {[name: string]: any} = {};
326
+
327
+ if (this.passServices != null) {
328
+ properties["passServices"] = this.passServices;
329
+ }
330
+ if (this.defaultRestriction != null) {
331
+ properties["defaultRestriction"] = this.defaultRestriction;
332
+ }
333
+ if (this.locationDetection != null) {
334
+ properties["locationDetection"] = this.locationDetection;
335
+ }
336
+ if (this.locations != null) {
337
+ properties["locations"] = this.locations;
338
+ }
339
+ if (this.locationRestriction != null) {
340
+ properties["locationRestriction"] = this.locationRestriction;
341
+ }
342
+ if (this.anonymousIpDetection != null) {
343
+ properties["anonymousIpDetection"] = this.anonymousIpDetection;
344
+ }
345
+ if (this.anonymousIpRestriction != null) {
346
+ properties["anonymousIpRestriction"] = this.anonymousIpRestriction;
347
+ }
348
+ if (this.hostingProviderIpDetection != null) {
349
+ properties["hostingProviderIpDetection"] = this.hostingProviderIpDetection;
350
+ }
351
+ if (this.hostingProviderIpRestriction != null) {
352
+ properties["hostingProviderIpRestriction"] = this.hostingProviderIpRestriction;
353
+ }
354
+ if (this.reputationIpDetection != null) {
355
+ properties["reputationIpDetection"] = this.reputationIpDetection;
356
+ }
357
+ if (this.reputationIpRestriction != null) {
358
+ properties["reputationIpRestriction"] = this.reputationIpRestriction;
359
+ }
360
+ if (this.ipAddressesDetection != null) {
361
+ properties["ipAddressesDetection"] = this.ipAddressesDetection;
362
+ }
363
+ if (this.ipAddresses != null) {
364
+ properties["ipAddresses"] = this.ipAddresses;
365
+ }
366
+ if (this.ipAddressRestriction != null) {
367
+ properties["ipAddressRestriction"] = this.ipAddressRestriction;
368
+ }
369
+
370
+ return properties;
371
+ }
372
+ }
@@ -0,0 +1,19 @@
1
+ import { CdkResource, Stack } from "../../core/model";
2
+ import { GetAttr } from "../../core/func";
3
+ import BlockingPolicyModel from "./BlockingPolicyModel";
4
+ import NamespaceRef from "../ref/NamespaceRef";
5
+ import { NamespaceOptions } from "./options/NamespaceOptions";
6
+ export default class Namespace extends CdkResource {
7
+ private readonly stack;
8
+ private readonly name;
9
+ private readonly blockingPolicy;
10
+ private readonly description;
11
+ constructor(stack: Stack, name: string, blockingPolicy: BlockingPolicyModel, options?: NamespaceOptions | null);
12
+ alternateKeys(): string;
13
+ resourceType(): string;
14
+ properties(): {
15
+ [name: string]: any;
16
+ };
17
+ ref(): NamespaceRef;
18
+ getAttrNamespaceId(): GetAttr;
19
+ }
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const tslib_1 = require("tslib");
19
+ const model_1 = require("../../core/model");
20
+ const func_1 = require("../../core/func");
21
+ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
+ class Namespace extends model_1.CdkResource {
23
+ constructor(stack, name, blockingPolicy, options = null) {
24
+ var _a;
25
+ super("Guard_Namespace_" + name);
26
+ this.description = null;
27
+ this.stack = stack;
28
+ this.name = name;
29
+ this.blockingPolicy = blockingPolicy;
30
+ this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
31
+ stack.addResource(this);
32
+ }
33
+ alternateKeys() {
34
+ return "name";
35
+ }
36
+ resourceType() {
37
+ return "GS2::Guard::Namespace";
38
+ }
39
+ properties() {
40
+ var _a;
41
+ let properties = {};
42
+ if (this.name != null) {
43
+ properties["Name"] = this.name;
44
+ }
45
+ if (this.description != null) {
46
+ properties["Description"] = this.description;
47
+ }
48
+ if (this.blockingPolicy != null) {
49
+ properties["BlockingPolicy"] = (_a = this.blockingPolicy) === null || _a === void 0 ? void 0 : _a.properties();
50
+ }
51
+ return properties;
52
+ }
53
+ ref() {
54
+ return new NamespaceRef_1.default(this.name);
55
+ }
56
+ getAttrNamespaceId() {
57
+ return new func_1.GetAttr(this, "Item.NamespaceId", null);
58
+ }
59
+ }
60
+ exports.default = Namespace;
61
+ //# sourceMappingURL=Namespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAGxC,+EAA+C;AAK/C,MAAqB,SAAU,SAAQ,mBAAW;IAM9C,YACI,KAAY,EACZ,IAAY,EACZ,cAAmC,EACnC,UAAiC,IAAI;;QAErC,KAAK,CACD,kBAAkB,GAAG,IAAI,CAC5B,CAAC;QAVW,gBAAW,GAAgB,IAAI,CAAC;QAY7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,uBAAuB,CAAC;IACnC,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,MAAA,IAAI,CAAC,cAAc,0CAAE,UAAU,EAC7D,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AArED,4BAqEC"}
@@ -0,0 +1,95 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {CdkResource, Stack} from "../../core/model";
18
+ import {GetAttr} from "../../core/func";
19
+ import BlockingPolicyModel from "./BlockingPolicyModel";
20
+
21
+ import NamespaceRef from "../ref/NamespaceRef";
22
+ import { NamespaceStatus } from "./enum/NamespaceStatus";
23
+
24
+ import { NamespaceOptions } from "./options/NamespaceOptions";
25
+
26
+ export default class Namespace extends CdkResource {
27
+ private readonly stack: Stack;
28
+ private readonly name: string;
29
+ private readonly blockingPolicy: BlockingPolicyModel;
30
+ private readonly description: string|null = null;
31
+
32
+ public constructor(
33
+ stack: Stack,
34
+ name: string,
35
+ blockingPolicy: BlockingPolicyModel,
36
+ options: NamespaceOptions|null = null,
37
+ ) {
38
+ super(
39
+ "Guard_Namespace_" + name
40
+ );
41
+
42
+ this.stack = stack;
43
+ this.name = name;
44
+ this.blockingPolicy = blockingPolicy;
45
+ this.description = options?.description ?? null;
46
+ stack.addResource(
47
+ this,
48
+ );
49
+ }
50
+
51
+
52
+ public alternateKeys(
53
+ ) {
54
+ return "name";
55
+ }
56
+
57
+ public resourceType(
58
+ ): string {
59
+ return "GS2::Guard::Namespace";
60
+ }
61
+
62
+ public properties(
63
+ ): {[name: string]: any} {
64
+ let properties: {[name: string]: any} = {};
65
+
66
+ if (this.name != null) {
67
+ properties["Name"] = this.name;
68
+ }
69
+ if (this.description != null) {
70
+ properties["Description"] = this.description;
71
+ }
72
+ if (this.blockingPolicy != null) {
73
+ properties["BlockingPolicy"] = this.blockingPolicy?.properties(
74
+ );
75
+ }
76
+
77
+ return properties;
78
+ }
79
+
80
+ public ref(
81
+ ): NamespaceRef {
82
+ return new NamespaceRef(
83
+ this.name!,
84
+ );
85
+ }
86
+
87
+ public getAttrNamespaceId(
88
+ ): GetAttr {
89
+ return new GetAttr(
90
+ this,
91
+ "Item.NamespaceId",
92
+ null,
93
+ );
94
+ }
95
+ }
@@ -0,0 +1,5 @@
1
+ export declare const BlockingPolicyModelAnonymousIpDetection: {
2
+ readonly ENABLE: "Enable";
3
+ readonly DISABLE: "Disable";
4
+ };
5
+ export type BlockingPolicyModelAnonymousIpDetection = typeof BlockingPolicyModelAnonymousIpDetection[keyof typeof BlockingPolicyModelAnonymousIpDetection];
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.BlockingPolicyModelAnonymousIpDetection = void 0;
19
+ exports.BlockingPolicyModelAnonymousIpDetection = {
20
+ ENABLE: "Enable",
21
+ DISABLE: "Disable",
22
+ };
23
+ //# sourceMappingURL=BlockingPolicyModelAnonymousIpDetection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockingPolicyModelAnonymousIpDetection.js","sourceRoot":"","sources":["BlockingPolicyModelAnonymousIpDetection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,uCAAuC,GAAG;IACnD,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC"}
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+
18
+
19
+ export const BlockingPolicyModelAnonymousIpDetection = {
20
+ ENABLE: "Enable",
21
+ DISABLE: "Disable",
22
+ } as const;
23
+ export type BlockingPolicyModelAnonymousIpDetection = typeof BlockingPolicyModelAnonymousIpDetection[keyof typeof BlockingPolicyModelAnonymousIpDetection];
@@ -0,0 +1,4 @@
1
+ export declare const BlockingPolicyModelAnonymousIpRestriction: {
2
+ readonly DENY: "Deny";
3
+ };
4
+ export type BlockingPolicyModelAnonymousIpRestriction = typeof BlockingPolicyModelAnonymousIpRestriction[keyof typeof BlockingPolicyModelAnonymousIpRestriction];
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.BlockingPolicyModelAnonymousIpRestriction = void 0;
19
+ exports.BlockingPolicyModelAnonymousIpRestriction = {
20
+ DENY: "Deny",
21
+ };
22
+ //# sourceMappingURL=BlockingPolicyModelAnonymousIpRestriction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockingPolicyModelAnonymousIpRestriction.js","sourceRoot":"","sources":["BlockingPolicyModelAnonymousIpRestriction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yCAAyC,GAAG;IACrD,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -0,0 +1,22 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+
18
+
19
+ export const BlockingPolicyModelAnonymousIpRestriction = {
20
+ DENY: "Deny",
21
+ } as const;
22
+ export type BlockingPolicyModelAnonymousIpRestriction = typeof BlockingPolicyModelAnonymousIpRestriction[keyof typeof BlockingPolicyModelAnonymousIpRestriction];
@@ -0,0 +1,5 @@
1
+ export declare const BlockingPolicyModelDefaultRestriction: {
2
+ readonly ALLOW: "Allow";
3
+ readonly DENY: "Deny";
4
+ };
5
+ export type BlockingPolicyModelDefaultRestriction = typeof BlockingPolicyModelDefaultRestriction[keyof typeof BlockingPolicyModelDefaultRestriction];