gs2-cdk 1.0.17 → 1.0.19

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 (249) hide show
  1. package/loginReward/index.d.ts +12 -0
  2. package/loginReward/index.js +32 -0
  3. package/loginReward/index.js.map +1 -0
  4. package/loginReward/index.ts +36 -0
  5. package/loginReward/model/BonusModel.d.ts +27 -0
  6. package/loginReward/model/BonusModel.js +90 -0
  7. package/loginReward/model/BonusModel.js.map +1 -0
  8. package/loginReward/model/BonusModel.ts +166 -0
  9. package/loginReward/model/CurrentMasterData.d.ts +13 -0
  10. package/loginReward/model/CurrentMasterData.js +50 -0
  11. package/loginReward/model/CurrentMasterData.js.map +1 -0
  12. package/loginReward/model/CurrentMasterData.ts +70 -0
  13. package/loginReward/model/Namespace.d.ts +23 -0
  14. package/loginReward/model/Namespace.js +76 -0
  15. package/loginReward/model/Namespace.js.map +1 -0
  16. package/loginReward/model/Namespace.ts +123 -0
  17. package/loginReward/model/Reward.d.ts +9 -0
  18. package/loginReward/model/Reward.js +16 -0
  19. package/loginReward/model/Reward.js.map +1 -0
  20. package/loginReward/model/Reward.ts +40 -0
  21. package/loginReward/model/enum/BonusModelMissedReceiveRelief.d.ts +5 -0
  22. package/loginReward/model/enum/BonusModelMissedReceiveRelief.js +23 -0
  23. package/loginReward/model/enum/BonusModelMissedReceiveRelief.js.map +1 -0
  24. package/loginReward/model/enum/BonusModelMissedReceiveRelief.ts +23 -0
  25. package/loginReward/model/enum/BonusModelMode.d.ts +5 -0
  26. package/loginReward/model/enum/BonusModelMode.js +23 -0
  27. package/loginReward/model/enum/BonusModelMode.js.map +1 -0
  28. package/loginReward/model/enum/BonusModelMode.ts +23 -0
  29. package/loginReward/model/enum/BonusModelRepeat.d.ts +5 -0
  30. package/loginReward/model/enum/BonusModelRepeat.js +23 -0
  31. package/loginReward/model/enum/BonusModelRepeat.js.map +1 -0
  32. package/loginReward/model/enum/BonusModelRepeat.ts +23 -0
  33. package/loginReward/model/index.d.ts +15 -0
  34. package/loginReward/model/index.js +34 -0
  35. package/loginReward/model/index.js.map +1 -0
  36. package/loginReward/model/index.ts +46 -0
  37. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +8 -0
  38. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js +3 -0
  39. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js.map +1 -0
  40. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +28 -0
  41. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +8 -0
  42. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js +3 -0
  43. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js.map +1 -0
  44. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +28 -0
  45. package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +8 -0
  46. package/loginReward/model/options/BonusModelModeIsScheduleOptions.js +3 -0
  47. package/loginReward/model/options/BonusModelModeIsScheduleOptions.js.map +1 -0
  48. package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +28 -0
  49. package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +8 -0
  50. package/loginReward/model/options/BonusModelModeIsStreamingOptions.js +3 -0
  51. package/loginReward/model/options/BonusModelModeIsStreamingOptions.js.map +1 -0
  52. package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +28 -0
  53. package/loginReward/model/options/BonusModelOptions.d.ts +11 -0
  54. package/loginReward/model/options/BonusModelOptions.js +3 -0
  55. package/loginReward/model/options/BonusModelOptions.js.map +1 -0
  56. package/loginReward/model/options/BonusModelOptions.ts +31 -0
  57. package/loginReward/model/options/NamespaceOptions.d.ts +7 -0
  58. package/loginReward/model/options/NamespaceOptions.js +3 -0
  59. package/loginReward/model/options/NamespaceOptions.js.map +1 -0
  60. package/loginReward/model/options/NamespaceOptions.ts +25 -0
  61. package/loginReward/model/options/RewardOptions.d.ts +2 -0
  62. package/loginReward/model/options/RewardOptions.js +3 -0
  63. package/loginReward/model/options/RewardOptions.js.map +1 -0
  64. package/loginReward/model/options/RewardOptions.ts +20 -0
  65. package/loginReward/ref/BonusModelRef.d.ts +6 -0
  66. package/loginReward/ref/BonusModelRef.js +38 -0
  67. package/loginReward/ref/BonusModelRef.js.map +1 -0
  68. package/loginReward/ref/BonusModelRef.ts +52 -0
  69. package/loginReward/ref/NamespaceRef.d.ts +11 -0
  70. package/loginReward/ref/NamespaceRef.js +48 -0
  71. package/loginReward/ref/NamespaceRef.js.map +1 -0
  72. package/loginReward/ref/NamespaceRef.ts +83 -0
  73. package/loginReward/ref/index.d.ts +3 -0
  74. package/loginReward/ref/index.js +24 -0
  75. package/loginReward/ref/index.js.map +1 -0
  76. package/loginReward/ref/index.ts +22 -0
  77. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.d.ts +4 -0
  78. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js +29 -0
  79. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js.map +1 -0
  80. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.ts +37 -0
  81. package/loginReward/stampSheet/MarkReceivedByUserId.d.ts +4 -0
  82. package/loginReward/stampSheet/MarkReceivedByUserId.js +30 -0
  83. package/loginReward/stampSheet/MarkReceivedByUserId.js.map +1 -0
  84. package/loginReward/stampSheet/MarkReceivedByUserId.ts +39 -0
  85. package/loginReward/stampSheet/index.d.ts +3 -0
  86. package/loginReward/stampSheet/index.js +24 -0
  87. package/loginReward/stampSheet/index.js.map +1 -0
  88. package/loginReward/stampSheet/index.ts +22 -0
  89. package/package.json +1 -1
  90. package/script/model/Namespace.d.ts +1 -0
  91. package/script/model/Namespace.js +5 -0
  92. package/script/model/Namespace.js.map +1 -1
  93. package/script/model/Namespace.ts +7 -0
  94. package/stateMachine/index.d.ts +12 -0
  95. package/stateMachine/index.js +32 -0
  96. package/stateMachine/index.js.map +1 -0
  97. package/stateMachine/index.ts +36 -0
  98. package/stateMachine/integration/ArrayType.d.ts +8 -0
  99. package/stateMachine/integration/ArrayType.js +18 -0
  100. package/stateMachine/integration/ArrayType.js.map +1 -0
  101. package/stateMachine/integration/ArrayType.ts +36 -0
  102. package/stateMachine/integration/BoolType.d.ts +8 -0
  103. package/stateMachine/integration/BoolType.js +18 -0
  104. package/stateMachine/integration/BoolType.js.map +1 -0
  105. package/stateMachine/integration/BoolType.ts +36 -0
  106. package/stateMachine/integration/ErrorEvent.d.ts +4 -0
  107. package/stateMachine/integration/ErrorEvent.js +27 -0
  108. package/stateMachine/integration/ErrorEvent.js.map +1 -0
  109. package/stateMachine/integration/ErrorEvent.ts +24 -0
  110. package/stateMachine/integration/ErrorTask.d.ts +12 -0
  111. package/stateMachine/integration/ErrorTask.js +27 -0
  112. package/stateMachine/integration/ErrorTask.js.map +1 -0
  113. package/stateMachine/integration/ErrorTask.ts +49 -0
  114. package/stateMachine/integration/Event.d.ts +10 -0
  115. package/stateMachine/integration/Event.js +15 -0
  116. package/stateMachine/integration/Event.js.map +1 -0
  117. package/stateMachine/integration/Event.ts +35 -0
  118. package/stateMachine/integration/FloatType.d.ts +8 -0
  119. package/stateMachine/integration/FloatType.js +18 -0
  120. package/stateMachine/integration/FloatType.js.map +1 -0
  121. package/stateMachine/integration/FloatType.ts +36 -0
  122. package/stateMachine/integration/IGslElement.d.ts +3 -0
  123. package/stateMachine/integration/IGslElement.js +3 -0
  124. package/stateMachine/integration/IGslElement.js.map +1 -0
  125. package/stateMachine/integration/IGslElement.ts +18 -0
  126. package/stateMachine/integration/IMermaidElement.d.ts +3 -0
  127. package/stateMachine/integration/IMermaidElement.js +3 -0
  128. package/stateMachine/integration/IMermaidElement.js.map +1 -0
  129. package/stateMachine/integration/IMermaidElement.ts +18 -0
  130. package/stateMachine/integration/ITask.d.ts +8 -0
  131. package/stateMachine/integration/ITask.js +3 -0
  132. package/stateMachine/integration/ITask.js.map +1 -0
  133. package/stateMachine/integration/ITask.ts +24 -0
  134. package/stateMachine/integration/IVariable.d.ts +6 -0
  135. package/stateMachine/integration/IVariable.js +3 -0
  136. package/stateMachine/integration/IVariable.js.map +1 -0
  137. package/stateMachine/integration/IVariable.ts +22 -0
  138. package/stateMachine/integration/InParam.d.ts +6 -0
  139. package/stateMachine/integration/InParam.js +10 -0
  140. package/stateMachine/integration/InParam.js.map +1 -0
  141. package/stateMachine/integration/InParam.ts +26 -0
  142. package/stateMachine/integration/IntType.d.ts +8 -0
  143. package/stateMachine/integration/IntType.js +18 -0
  144. package/stateMachine/integration/IntType.js.map +1 -0
  145. package/stateMachine/integration/IntType.ts +36 -0
  146. package/stateMachine/integration/MapType.d.ts +8 -0
  147. package/stateMachine/integration/MapType.js +18 -0
  148. package/stateMachine/integration/MapType.js.map +1 -0
  149. package/stateMachine/integration/MapType.ts +36 -0
  150. package/stateMachine/integration/OutParam.d.ts +6 -0
  151. package/stateMachine/integration/OutParam.js +10 -0
  152. package/stateMachine/integration/OutParam.js.map +1 -0
  153. package/stateMachine/integration/OutParam.ts +26 -0
  154. package/stateMachine/integration/PassTask.d.ts +11 -0
  155. package/stateMachine/integration/PassTask.js +24 -0
  156. package/stateMachine/integration/PassTask.js.map +1 -0
  157. package/stateMachine/integration/PassTask.ts +45 -0
  158. package/stateMachine/integration/Result.d.ts +7 -0
  159. package/stateMachine/integration/Result.js +11 -0
  160. package/stateMachine/integration/Result.js.map +1 -0
  161. package/stateMachine/integration/Result.ts +28 -0
  162. package/stateMachine/integration/Script.d.ts +5 -0
  163. package/stateMachine/integration/Script.js +25 -0
  164. package/stateMachine/integration/Script.js.map +1 -0
  165. package/stateMachine/integration/Script.ts +24 -0
  166. package/stateMachine/integration/StateMachine.d.ts +17 -0
  167. package/stateMachine/integration/StateMachine.js +83 -0
  168. package/stateMachine/integration/StateMachine.js.map +1 -0
  169. package/stateMachine/integration/StateMachine.ts +116 -0
  170. package/stateMachine/integration/StateMachineDefinition.d.ts +40 -0
  171. package/stateMachine/integration/StateMachineDefinition.js +107 -0
  172. package/stateMachine/integration/StateMachineDefinition.js.map +1 -0
  173. package/stateMachine/integration/StateMachineDefinition.ts +146 -0
  174. package/stateMachine/integration/StringType.d.ts +8 -0
  175. package/stateMachine/integration/StringType.js +18 -0
  176. package/stateMachine/integration/StringType.js.map +1 -0
  177. package/stateMachine/integration/StringType.ts +36 -0
  178. package/stateMachine/integration/SubStateMachineTask.d.ts +17 -0
  179. package/stateMachine/integration/SubStateMachineTask.js +42 -0
  180. package/stateMachine/integration/SubStateMachineTask.js.map +1 -0
  181. package/stateMachine/integration/SubStateMachineTask.ts +71 -0
  182. package/stateMachine/integration/Task.d.ts +19 -0
  183. package/stateMachine/integration/Task.js +63 -0
  184. package/stateMachine/integration/Task.js.map +1 -0
  185. package/stateMachine/integration/Task.ts +98 -0
  186. package/stateMachine/integration/WaitTask.d.ts +15 -0
  187. package/stateMachine/integration/WaitTask.js +49 -0
  188. package/stateMachine/integration/WaitTask.js.map +1 -0
  189. package/stateMachine/integration/WaitTask.ts +75 -0
  190. package/stateMachine/integration/indent.d.ts +1 -0
  191. package/stateMachine/integration/indent.js +22 -0
  192. package/stateMachine/integration/indent.js.map +1 -0
  193. package/stateMachine/integration/indent.ts +18 -0
  194. package/stateMachine/model/Namespace.d.ts +25 -0
  195. package/stateMachine/model/Namespace.js +89 -0
  196. package/stateMachine/model/Namespace.js.map +1 -0
  197. package/stateMachine/model/Namespace.ts +140 -0
  198. package/stateMachine/model/StackEntry.d.ts +9 -0
  199. package/stateMachine/model/StackEntry.js +20 -0
  200. package/stateMachine/model/StackEntry.js.map +1 -0
  201. package/stateMachine/model/StackEntry.ts +44 -0
  202. package/stateMachine/model/StateMachineMaster.d.ts +18 -0
  203. package/stateMachine/model/StateMachineMaster.js +60 -0
  204. package/stateMachine/model/StateMachineMaster.js.map +1 -0
  205. package/stateMachine/model/StateMachineMaster.ts +97 -0
  206. package/stateMachine/model/Variable.d.ts +9 -0
  207. package/stateMachine/model/Variable.js +20 -0
  208. package/stateMachine/model/Variable.js.map +1 -0
  209. package/stateMachine/model/Variable.ts +44 -0
  210. package/stateMachine/model/index.d.ts +9 -0
  211. package/stateMachine/model/index.js +28 -0
  212. package/stateMachine/model/index.js.map +1 -0
  213. package/stateMachine/model/index.ts +34 -0
  214. package/stateMachine/model/options/NamespaceOptions.d.ts +10 -0
  215. package/stateMachine/model/options/NamespaceOptions.js +3 -0
  216. package/stateMachine/model/options/NamespaceOptions.js.map +1 -0
  217. package/stateMachine/model/options/NamespaceOptions.ts +27 -0
  218. package/stateMachine/model/options/StackEntryOptions.d.ts +2 -0
  219. package/stateMachine/model/options/StackEntryOptions.js +18 -0
  220. package/stateMachine/model/options/StackEntryOptions.js.map +1 -0
  221. package/stateMachine/model/options/StackEntryOptions.ts +19 -0
  222. package/stateMachine/model/options/StateMachineMasterOptions.d.ts +2 -0
  223. package/stateMachine/model/options/StateMachineMasterOptions.js +18 -0
  224. package/stateMachine/model/options/StateMachineMasterOptions.js.map +1 -0
  225. package/stateMachine/model/options/StateMachineMasterOptions.ts +19 -0
  226. package/stateMachine/model/options/VariableOptions.d.ts +2 -0
  227. package/stateMachine/model/options/VariableOptions.js +18 -0
  228. package/stateMachine/model/options/VariableOptions.js.map +1 -0
  229. package/stateMachine/model/options/VariableOptions.ts +19 -0
  230. package/stateMachine/ref/NamespaceRef.d.ts +7 -0
  231. package/stateMachine/ref/NamespaceRef.js +40 -0
  232. package/stateMachine/ref/NamespaceRef.js.map +1 -0
  233. package/stateMachine/ref/NamespaceRef.ts +61 -0
  234. package/stateMachine/ref/StateMachineMasterRef.d.ts +6 -0
  235. package/stateMachine/ref/StateMachineMasterRef.js +40 -0
  236. package/stateMachine/ref/StateMachineMasterRef.js.map +1 -0
  237. package/stateMachine/ref/StateMachineMasterRef.ts +54 -0
  238. package/stateMachine/ref/index.d.ts +3 -0
  239. package/stateMachine/ref/index.js +24 -0
  240. package/stateMachine/ref/index.js.map +1 -0
  241. package/stateMachine/ref/index.ts +22 -0
  242. package/stateMachine/stampSheet/StartStateMachineByUserId.d.ts +4 -0
  243. package/stateMachine/stampSheet/StartStateMachineByUserId.js +30 -0
  244. package/stateMachine/stampSheet/StartStateMachineByUserId.js.map +1 -0
  245. package/stateMachine/stampSheet/StartStateMachineByUserId.ts +39 -0
  246. package/stateMachine/stampSheet/index.d.ts +2 -0
  247. package/stateMachine/stampSheet/index.js +22 -0
  248. package/stateMachine/stampSheet/index.js.map +1 -0
  249. package/stateMachine/stampSheet/index.ts +20 -0
@@ -0,0 +1,28 @@
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 { AcquireAction } from "../../../core/model";
17
+ import Reward from "../Reward";
18
+ import { ConsumeAction } from "../../../core/model";
19
+ import { BonusModelMode } from "../enum/BonusModelMode";
20
+ import { BonusModelRepeat } from "../enum/BonusModelRepeat";
21
+ import { BonusModelMissedReceiveRelief } from "../enum/BonusModelMissedReceiveRelief";
22
+
23
+ export interface BonusModelModeIsStreamingOptions {
24
+ metadata?: string|null;
25
+ periodEventId?: string|null;
26
+ rewards?: Reward[]|null;
27
+ missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
28
+ }
@@ -0,0 +1,11 @@
1
+ import Reward from "../Reward";
2
+ import { ConsumeAction } from "../../../core/model";
3
+ import { BonusModelRepeat } from "../enum/BonusModelRepeat";
4
+ export interface BonusModelOptions {
5
+ metadata?: string | null;
6
+ periodEventId?: string | null;
7
+ resetHour?: number | null;
8
+ repeat?: BonusModelRepeat | null;
9
+ rewards?: Reward[] | null;
10
+ missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BonusModelOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BonusModelOptions.js","sourceRoot":"","sources":["BonusModelOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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 { AcquireAction } from "../../../core/model";
17
+ import Reward from "../Reward";
18
+ import { ConsumeAction } from "../../../core/model";
19
+ import { BonusModelMode } from "../enum/BonusModelMode";
20
+ import { BonusModelRepeat } from "../enum/BonusModelRepeat";
21
+ import { BonusModelMissedReceiveRelief } from "../enum/BonusModelMissedReceiveRelief";
22
+
23
+ export interface BonusModelOptions {
24
+ metadata?: string|null;
25
+ periodEventId?: string|null;
26
+ resetHour?: number|null;
27
+ repeat?: BonusModelRepeat|null;
28
+ rewards?: Reward[]|null;
29
+ missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
30
+ }
31
+
@@ -0,0 +1,7 @@
1
+ import ScriptSetting from "../../../core/model/ScriptSetting";
2
+ import LogSetting from "../../../core/model/LogSetting";
3
+ export interface NamespaceOptions {
4
+ description?: string | null;
5
+ receiveScript?: ScriptSetting | null;
6
+ logSetting?: LogSetting | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=NamespaceOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceOptions.js","sourceRoot":"","sources":["NamespaceOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
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 TransactionSetting from "../../../core/model/TransactionSetting";
17
+ import ScriptSetting from "../../../core/model/ScriptSetting";
18
+ import LogSetting from "../../../core/model/LogSetting";
19
+
20
+ export interface NamespaceOptions {
21
+ description?: string|null;
22
+ receiveScript?: ScriptSetting|null;
23
+ logSetting?: LogSetting|null;
24
+ }
25
+
@@ -0,0 +1,2 @@
1
+ export interface RewardOptions {
2
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RewardOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RewardOptions.js","sourceRoot":"","sources":["RewardOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
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 { AcquireAction } from "../../../core/model";
17
+
18
+ export interface RewardOptions {
19
+ }
20
+
@@ -0,0 +1,6 @@
1
+ export default class BonusModelRef {
2
+ private readonly namespaceName;
3
+ private readonly bonusModelName;
4
+ constructor(namespaceName: string, bonusModelName: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,38 @@
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 func_1 = require("../../core/func");
19
+ class BonusModelRef {
20
+ constructor(namespaceName, bonusModelName) {
21
+ this.namespaceName = namespaceName;
22
+ this.bonusModelName = bonusModelName;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "loginReward",
31
+ this.namespaceName,
32
+ "bonusModel",
33
+ this.bonusModelName,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = BonusModelRef;
38
+ //# sourceMappingURL=BonusModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BonusModelRef.js","sourceRoot":"","sources":["BonusModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,aAAa;IAI9B,YACI,aAAqB,EACrB,cAAsB;QAEtB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACzC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,aAAa;YACb,IAAI,CAAC,aAAa;YAClB,YAAY;YACZ,IAAI,CAAC,cAAc;SACtB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,gCAiCC"}
@@ -0,0 +1,52 @@
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 {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class BonusModelRef {
20
+ private readonly namespaceName: string;
21
+ private readonly bonusModelName: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ bonusModelName: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.bonusModelName = bonusModelName;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "loginReward",
45
+ this.namespaceName,
46
+ "bonusModel",
47
+ this.bonusModelName,
48
+ ],
49
+ ).str(
50
+ );
51
+ }
52
+ }
@@ -0,0 +1,11 @@
1
+ import BonusModelRef from "./BonusModelRef";
2
+ import DeleteReceiveStatusByUserId from "../stampSheet/DeleteReceiveStatusByUserId";
3
+ import MarkReceivedByUserId from "../stampSheet/MarkReceivedByUserId";
4
+ export default class NamespaceRef {
5
+ private readonly namespaceName;
6
+ constructor(namespaceName: string);
7
+ bonusModel(bonusModelName: string): BonusModelRef;
8
+ deleteReceiveStatus(bonusModelName: string, userId?: string | null): DeleteReceiveStatusByUserId;
9
+ markReceived(bonusModelName: string, stepNumber: number, userId?: string | null): MarkReceivedByUserId;
10
+ grn(): string;
11
+ }
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const tslib_1 = require("tslib");
19
+ const func_1 = require("../../core/func");
20
+ const BonusModelRef_1 = tslib_1.__importDefault(require("./BonusModelRef"));
21
+ const DeleteReceiveStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteReceiveStatusByUserId"));
22
+ const MarkReceivedByUserId_1 = tslib_1.__importDefault(require("../stampSheet/MarkReceivedByUserId"));
23
+ class NamespaceRef {
24
+ constructor(namespaceName) {
25
+ this.namespaceName = namespaceName;
26
+ }
27
+ bonusModel(bonusModelName) {
28
+ return new BonusModelRef_1.default(this.namespaceName, bonusModelName);
29
+ }
30
+ deleteReceiveStatus(bonusModelName, userId = "#{userId}") {
31
+ return new DeleteReceiveStatusByUserId_1.default(this.namespaceName, bonusModelName, userId);
32
+ }
33
+ markReceived(bonusModelName, stepNumber, userId = "#{userId}") {
34
+ return new MarkReceivedByUserId_1.default(this.namespaceName, bonusModelName, stepNumber, userId);
35
+ }
36
+ grn() {
37
+ return new func_1.Join(":", [
38
+ "grn",
39
+ "gs2",
40
+ func_1.GetAttr.region().str(),
41
+ func_1.GetAttr.ownerId().str(),
42
+ "loginReward",
43
+ this.namespaceName,
44
+ ]).str();
45
+ }
46
+ }
47
+ exports.default = NamespaceRef;
48
+ //# sourceMappingURL=NamespaceRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4EAA4C;AAC5C,oHAAoF;AACpF,sGAAsE;AAEtE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,UAAU,CACb,cAAsB;QAEtB,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,cAAc,CACjB,CAAC;IACN,CAAC;IAEM,mBAAmB,CACtB,cAAsB,EACtB,SAAsB,WAAW;QAEjC,OAAO,IAAI,qCAA2B,CAClC,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,cAAsB,EACtB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,UAAU,EACV,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,aAAa;YACb,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA7DD,+BA6DC"}
@@ -0,0 +1,83 @@
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 {GetAttr, Join} from "../../core/func";
18
+ import BonusModelRef from "./BonusModelRef";
19
+ import DeleteReceiveStatusByUserId from "../stampSheet/DeleteReceiveStatusByUserId";
20
+ import MarkReceivedByUserId from "../stampSheet/MarkReceivedByUserId";
21
+
22
+ export default class NamespaceRef {
23
+ private readonly namespaceName: string;
24
+
25
+ public constructor(
26
+ namespaceName: string,
27
+ ) {
28
+ this.namespaceName = namespaceName;
29
+ }
30
+
31
+ public bonusModel(
32
+ bonusModelName: string,
33
+ ): BonusModelRef {
34
+ return new BonusModelRef(
35
+ this.namespaceName,
36
+ bonusModelName,
37
+ );
38
+ }
39
+
40
+ public deleteReceiveStatus(
41
+ bonusModelName: string,
42
+ userId: string|null = "#{userId}",
43
+ ): DeleteReceiveStatusByUserId {
44
+ return new DeleteReceiveStatusByUserId(
45
+ this.namespaceName,
46
+ bonusModelName,
47
+ userId,
48
+ );
49
+ }
50
+
51
+ public markReceived(
52
+ bonusModelName: string,
53
+ stepNumber: number,
54
+ userId: string|null = "#{userId}",
55
+ ): MarkReceivedByUserId {
56
+ return new MarkReceivedByUserId(
57
+ this.namespaceName,
58
+ bonusModelName,
59
+ stepNumber,
60
+ userId,
61
+ );
62
+ }
63
+
64
+ public grn(
65
+ ): string {
66
+ return new Join(
67
+ ":",
68
+ [
69
+ "grn",
70
+ "gs2",
71
+ GetAttr.region(
72
+ ).str(
73
+ ),
74
+ GetAttr.ownerId(
75
+ ).str(
76
+ ),
77
+ "loginReward",
78
+ this.namespaceName,
79
+ ],
80
+ ).str(
81
+ );
82
+ }
83
+ }
@@ -0,0 +1,3 @@
1
+ import NamespaceRef from "./NamespaceRef";
2
+ import BonusModelRef from "./BonusModelRef";
3
+ export { NamespaceRef, BonusModelRef, };
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BonusModelRef = exports.NamespaceRef = void 0;
4
+ const tslib_1 = require("tslib");
5
+ /*
6
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
7
+ * Reserved.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License").
10
+ * You may not use this file except in compliance with the License.
11
+ * A copy of the License is located at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * or in the "license" file accompanying this file. This file is distributed
16
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
17
+ * express or implied. See the License for the specific language governing
18
+ * permissions and limitations under the License.
19
+ */
20
+ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
+ exports.NamespaceRef = NamespaceRef_1.default;
22
+ const BonusModelRef_1 = tslib_1.__importDefault(require("./BonusModelRef"));
23
+ exports.BonusModelRef = BonusModelRef_1.default;
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAItC,uBAJG,sBAAY,CAIH;AAHhB,4EAA4C;AAIxC,wBAJG,uBAAa,CAIH"}
@@ -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
+ import NamespaceRef from "./NamespaceRef";
17
+ import BonusModelRef from "./BonusModelRef";
18
+
19
+ export {
20
+ NamespaceRef,
21
+ BonusModelRef,
22
+ }
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class DeleteReceiveStatusByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, bonusModelName: string, userId?: string | null);
4
+ }
@@ -0,0 +1,29 @@
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 model_1 = require("../../core/model");
19
+ class DeleteReceiveStatusByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, bonusModelName, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["bonusModelName"] = bonusModelName;
24
+ properties["userId"] = userId;
25
+ super("Gs2LoginReward:DeleteReceiveStatusByUserId", properties);
26
+ }
27
+ }
28
+ exports.default = DeleteReceiveStatusByUserId;
29
+ //# sourceMappingURL=DeleteReceiveStatusByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteReceiveStatusByUserId.js","sourceRoot":"","sources":["DeleteReceiveStatusByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,2BAA4B,SAAQ,qBAAa;IAElE,YACI,aAAqB,EACrB,cAAsB,EACtB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,4CAA4C,EAC5C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,8CAkBC"}
@@ -0,0 +1,37 @@
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 {AcquireAction, ConsumeAction} from "../../core/model";
18
+
19
+ export default class DeleteReceiveStatusByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ bonusModelName: string,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["bonusModelName"] = bonusModelName
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2LoginReward:DeleteReceiveStatusByUserId",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class MarkReceivedByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, bonusModelName: string, stepNumber: number, userId?: string | null);
4
+ }
@@ -0,0 +1,30 @@
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 model_1 = require("../../core/model");
19
+ class MarkReceivedByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, bonusModelName, stepNumber, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["bonusModelName"] = bonusModelName;
24
+ properties["stepNumber"] = stepNumber;
25
+ properties["userId"] = userId;
26
+ super("Gs2LoginReward:MarkReceivedByUserId", properties);
27
+ }
28
+ }
29
+ exports.default = MarkReceivedByUserId;
30
+ //# sourceMappingURL=MarkReceivedByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MarkReceivedByUserId.js","sourceRoot":"","sources":["MarkReceivedByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,oBAAqB,SAAQ,qBAAa;IAE3D,YACI,aAAqB,EACrB,cAAsB,EACtB,UAAkB,EAClB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,YAAY,CAAC,GAAG,UAAU,CAAA;QACrC,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,qCAAqC,EACrC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,uCAoBC"}
@@ -0,0 +1,39 @@
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 {AcquireAction, ConsumeAction} from "../../core/model";
18
+
19
+ export default class MarkReceivedByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ bonusModelName: string,
24
+ stepNumber: number,
25
+ userId: string|null = "#{userId}",
26
+ ) {
27
+ let properties: {[name: string]: any} = {};
28
+
29
+ properties["namespaceName"] = namespaceName
30
+ properties["bonusModelName"] = bonusModelName
31
+ properties["stepNumber"] = stepNumber
32
+ properties["userId"] = userId
33
+
34
+ super(
35
+ "Gs2LoginReward:MarkReceivedByUserId",
36
+ properties,
37
+ );
38
+ }
39
+ }
@@ -0,0 +1,3 @@
1
+ import DeleteReceiveStatusByUserId from "./DeleteReceiveStatusByUserId";
2
+ import MarkReceivedByUserId from "./MarkReceivedByUserId";
3
+ export { DeleteReceiveStatusByUserId, MarkReceivedByUserId, };