gs2-cdk 1.0.27 → 1.0.29

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 (229) hide show
  1. package/dictionary/ref/EntryModelRef.d.ts +2 -0
  2. package/dictionary/ref/EntryModelRef.js +4 -0
  3. package/dictionary/ref/EntryModelRef.js.map +1 -1
  4. package/dictionary/ref/EntryModelRef.ts +12 -0
  5. package/dictionary/ref/NamespaceRef.d.ts +2 -0
  6. package/dictionary/ref/NamespaceRef.js +4 -0
  7. package/dictionary/ref/NamespaceRef.js.map +1 -1
  8. package/dictionary/ref/NamespaceRef.ts +12 -0
  9. package/dictionary/stampSheet/DeleteEntriesByUserId.d.ts +4 -0
  10. package/dictionary/stampSheet/DeleteEntriesByUserId.js +29 -0
  11. package/dictionary/stampSheet/DeleteEntriesByUserId.js.map +1 -0
  12. package/dictionary/stampSheet/DeleteEntriesByUserId.ts +37 -0
  13. package/dictionary/stampSheet/index.d.ts +2 -1
  14. package/dictionary/stampSheet/index.js +3 -1
  15. package/dictionary/stampSheet/index.js.map +1 -1
  16. package/dictionary/stampSheet/index.ts +2 -0
  17. package/experience/ref/NamespaceRef.d.ts +4 -0
  18. package/experience/ref/NamespaceRef.js +8 -0
  19. package/experience/ref/NamespaceRef.js.map +1 -1
  20. package/experience/ref/NamespaceRef.ts +32 -0
  21. package/experience/stampSheet/SubExperienceByUserId.d.ts +4 -0
  22. package/experience/stampSheet/SubExperienceByUserId.js +31 -0
  23. package/experience/stampSheet/SubExperienceByUserId.js.map +1 -0
  24. package/experience/stampSheet/SubExperienceByUserId.ts +41 -0
  25. package/experience/stampSheet/SubRankCapByUserId.d.ts +4 -0
  26. package/experience/stampSheet/SubRankCapByUserId.js +31 -0
  27. package/experience/stampSheet/SubRankCapByUserId.js.map +1 -0
  28. package/experience/stampSheet/SubRankCapByUserId.ts +41 -0
  29. package/experience/stampSheet/index.d.ts +3 -1
  30. package/experience/stampSheet/index.js +5 -1
  31. package/experience/stampSheet/index.js.map +1 -1
  32. package/experience/stampSheet/index.ts +4 -0
  33. package/formation/model/CurrentMasterData.d.ts +3 -3
  34. package/formation/model/CurrentMasterData.js +4 -4
  35. package/formation/model/CurrentMasterData.js.map +1 -1
  36. package/formation/model/CurrentMasterData.ts +6 -6
  37. package/formation/model/Namespace.d.ts +2 -2
  38. package/formation/model/Namespace.js +2 -2
  39. package/formation/model/Namespace.js.map +1 -1
  40. package/formation/model/Namespace.ts +3 -3
  41. package/formation/model/PropertyFormModel.d.ts +11 -0
  42. package/formation/model/PropertyFormModel.js +26 -0
  43. package/formation/model/PropertyFormModel.js.map +1 -0
  44. package/formation/model/PropertyFormModel.ts +51 -0
  45. package/formation/model/index.d.ts +3 -1
  46. package/formation/model/index.js +3 -1
  47. package/formation/model/index.js.map +1 -1
  48. package/formation/model/index.ts +4 -0
  49. package/formation/model/options/PropertyFormModelOptions.d.ts +3 -0
  50. package/formation/model/options/PropertyFormModelOptions.js +3 -0
  51. package/formation/model/options/PropertyFormModelOptions.js.map +1 -0
  52. package/formation/model/options/PropertyFormModelOptions.ts +21 -0
  53. package/formation/ref/FormModelRef.d.ts +2 -1
  54. package/formation/ref/FormModelRef.js +5 -1
  55. package/formation/ref/FormModelRef.js.map +1 -1
  56. package/formation/ref/FormModelRef.ts +6 -0
  57. package/formation/ref/MoldModelRef.d.ts +9 -5
  58. package/formation/ref/MoldModelRef.js +17 -9
  59. package/formation/ref/MoldModelRef.js.map +1 -1
  60. package/formation/ref/MoldModelRef.ts +35 -7
  61. package/formation/ref/NamespaceRef.d.ts +6 -4
  62. package/formation/ref/NamespaceRef.js +11 -7
  63. package/formation/ref/NamespaceRef.js.map +1 -1
  64. package/formation/ref/NamespaceRef.ts +24 -10
  65. package/formation/ref/PropertyFormModelRef.d.ts +10 -0
  66. package/formation/ref/PropertyFormModelRef.js +44 -0
  67. package/formation/ref/PropertyFormModelRef.js.map +1 -0
  68. package/formation/ref/PropertyFormModelRef.ts +72 -0
  69. package/formation/ref/index.d.ts +2 -1
  70. package/formation/ref/index.js +3 -1
  71. package/formation/ref/index.js.map +1 -1
  72. package/formation/ref/index.ts +2 -0
  73. package/formation/stampSheet/AcquireActionsToPropertyFormProperties.d.ts +1 -1
  74. package/formation/stampSheet/AcquireActionsToPropertyFormProperties.js +2 -2
  75. package/formation/stampSheet/AcquireActionsToPropertyFormProperties.js.map +1 -1
  76. package/formation/stampSheet/AcquireActionsToPropertyFormProperties.ts +2 -2
  77. package/formation/stampSheet/SubMoldCapacityByUserId.d.ts +4 -0
  78. package/formation/stampSheet/SubMoldCapacityByUserId.js +30 -0
  79. package/formation/stampSheet/SubMoldCapacityByUserId.js.map +1 -0
  80. package/formation/stampSheet/SubMoldCapacityByUserId.ts +39 -0
  81. package/formation/stampSheet/index.d.ts +2 -1
  82. package/formation/stampSheet/index.js +3 -1
  83. package/formation/stampSheet/index.js.map +1 -1
  84. package/formation/stampSheet/index.ts +2 -0
  85. package/idle/ref/NamespaceRef.d.ts +2 -0
  86. package/idle/ref/NamespaceRef.js +4 -0
  87. package/idle/ref/NamespaceRef.js.map +1 -1
  88. package/idle/ref/NamespaceRef.ts +14 -0
  89. package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.d.ts +4 -0
  90. package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.js +30 -0
  91. package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.js.map +1 -0
  92. package/idle/stampSheet/DecreaseMaximumIdleMinutesByUserId.ts +39 -0
  93. package/idle/stampSheet/index.d.ts +2 -1
  94. package/idle/stampSheet/index.js +3 -1
  95. package/idle/stampSheet/index.js.map +1 -1
  96. package/idle/stampSheet/index.ts +2 -0
  97. package/inbox/ref/NamespaceRef.d.ts +2 -0
  98. package/inbox/ref/NamespaceRef.js +4 -0
  99. package/inbox/ref/NamespaceRef.js.map +1 -1
  100. package/inbox/ref/NamespaceRef.ts +12 -0
  101. package/inbox/stampSheet/DeleteMessageByUserId.d.ts +4 -0
  102. package/inbox/stampSheet/DeleteMessageByUserId.js +29 -0
  103. package/inbox/stampSheet/DeleteMessageByUserId.js.map +1 -0
  104. package/inbox/stampSheet/DeleteMessageByUserId.ts +37 -0
  105. package/inbox/stampSheet/index.d.ts +2 -1
  106. package/inbox/stampSheet/index.js +3 -1
  107. package/inbox/stampSheet/index.js.map +1 -1
  108. package/inbox/stampSheet/index.ts +2 -0
  109. package/jobQueue/ref/NamespaceRef.d.ts +2 -0
  110. package/jobQueue/ref/NamespaceRef.js +4 -0
  111. package/jobQueue/ref/NamespaceRef.js.map +1 -1
  112. package/jobQueue/ref/NamespaceRef.ts +12 -0
  113. package/jobQueue/stampSheet/DeleteJobByUserId.d.ts +4 -0
  114. package/jobQueue/stampSheet/DeleteJobByUserId.js +29 -0
  115. package/jobQueue/stampSheet/DeleteJobByUserId.js.map +1 -0
  116. package/jobQueue/stampSheet/DeleteJobByUserId.ts +37 -0
  117. package/jobQueue/stampSheet/index.d.ts +2 -1
  118. package/jobQueue/stampSheet/index.js +3 -1
  119. package/jobQueue/stampSheet/index.js.map +1 -1
  120. package/jobQueue/stampSheet/index.ts +2 -0
  121. package/limit/ref/NamespaceRef.d.ts +2 -0
  122. package/limit/ref/NamespaceRef.js +4 -0
  123. package/limit/ref/NamespaceRef.js.map +1 -1
  124. package/limit/ref/NamespaceRef.ts +16 -0
  125. package/limit/stampSheet/CountDownByUserId.d.ts +4 -0
  126. package/limit/stampSheet/CountDownByUserId.js +31 -0
  127. package/limit/stampSheet/CountDownByUserId.js.map +1 -0
  128. package/limit/stampSheet/CountDownByUserId.ts +41 -0
  129. package/limit/stampSheet/index.d.ts +2 -1
  130. package/limit/stampSheet/index.js +3 -1
  131. package/limit/stampSheet/index.js.map +1 -1
  132. package/limit/stampSheet/index.ts +2 -0
  133. package/loginReward/ref/NamespaceRef.d.ts +2 -0
  134. package/loginReward/ref/NamespaceRef.js +4 -0
  135. package/loginReward/ref/NamespaceRef.js.map +1 -1
  136. package/loginReward/ref/NamespaceRef.ts +14 -0
  137. package/loginReward/stampSheet/UnmarkReceivedByUserId.d.ts +4 -0
  138. package/loginReward/stampSheet/UnmarkReceivedByUserId.js +30 -0
  139. package/loginReward/stampSheet/UnmarkReceivedByUserId.js.map +1 -0
  140. package/loginReward/stampSheet/UnmarkReceivedByUserId.ts +39 -0
  141. package/loginReward/stampSheet/index.d.ts +2 -1
  142. package/loginReward/stampSheet/index.js +3 -1
  143. package/loginReward/stampSheet/index.js.map +1 -1
  144. package/loginReward/stampSheet/index.ts +2 -0
  145. package/mission/ref/CounterModelRef.d.ts +2 -0
  146. package/mission/ref/CounterModelRef.js +4 -0
  147. package/mission/ref/CounterModelRef.js.map +1 -1
  148. package/mission/ref/CounterModelRef.ts +13 -0
  149. package/mission/ref/NamespaceRef.d.ts +4 -0
  150. package/mission/ref/NamespaceRef.js +8 -0
  151. package/mission/ref/NamespaceRef.js.map +1 -1
  152. package/mission/ref/NamespaceRef.ts +28 -0
  153. package/mission/stampSheet/DecreaseCounterByUserId.d.ts +4 -0
  154. package/mission/stampSheet/DecreaseCounterByUserId.js +30 -0
  155. package/mission/stampSheet/DecreaseCounterByUserId.js.map +1 -0
  156. package/mission/stampSheet/DecreaseCounterByUserId.ts +39 -0
  157. package/mission/stampSheet/RevertReceiveByUserId.d.ts +4 -0
  158. package/mission/stampSheet/RevertReceiveByUserId.js +30 -0
  159. package/mission/stampSheet/RevertReceiveByUserId.js.map +1 -0
  160. package/mission/stampSheet/RevertReceiveByUserId.ts +39 -0
  161. package/mission/stampSheet/index.d.ts +3 -1
  162. package/mission/stampSheet/index.js +5 -1
  163. package/mission/stampSheet/index.js.map +1 -1
  164. package/mission/stampSheet/index.ts +4 -0
  165. package/money/ref/NamespaceRef.d.ts +2 -0
  166. package/money/ref/NamespaceRef.js +4 -0
  167. package/money/ref/NamespaceRef.js.map +1 -1
  168. package/money/ref/NamespaceRef.ts +12 -0
  169. package/money/stampSheet/RevertRecordReceipt.d.ts +4 -0
  170. package/money/stampSheet/RevertRecordReceipt.js +29 -0
  171. package/money/stampSheet/RevertRecordReceipt.js.map +1 -0
  172. package/money/stampSheet/RevertRecordReceipt.ts +37 -0
  173. package/money/stampSheet/index.d.ts +2 -1
  174. package/money/stampSheet/index.js +3 -1
  175. package/money/stampSheet/index.js.map +1 -1
  176. package/money/stampSheet/index.ts +2 -0
  177. package/package.json +1 -1
  178. package/schedule/ref/NamespaceRef.d.ts +2 -0
  179. package/schedule/ref/NamespaceRef.js +4 -0
  180. package/schedule/ref/NamespaceRef.js.map +1 -1
  181. package/schedule/ref/NamespaceRef.ts +12 -0
  182. package/schedule/stampSheet/DeleteTriggerByUserId.d.ts +4 -0
  183. package/schedule/stampSheet/DeleteTriggerByUserId.js +29 -0
  184. package/schedule/stampSheet/DeleteTriggerByUserId.js.map +1 -0
  185. package/schedule/stampSheet/DeleteTriggerByUserId.ts +37 -0
  186. package/schedule/stampSheet/index.d.ts +2 -1
  187. package/schedule/stampSheet/index.js +3 -1
  188. package/schedule/stampSheet/index.js.map +1 -1
  189. package/schedule/stampSheet/index.ts +2 -0
  190. package/serialKey/ref/NamespaceRef.d.ts +2 -0
  191. package/serialKey/ref/NamespaceRef.js +4 -0
  192. package/serialKey/ref/NamespaceRef.js.map +1 -1
  193. package/serialKey/ref/NamespaceRef.ts +12 -0
  194. package/serialKey/stampSheet/RevertUseByUserId.d.ts +4 -0
  195. package/serialKey/stampSheet/RevertUseByUserId.js +29 -0
  196. package/serialKey/stampSheet/RevertUseByUserId.js.map +1 -0
  197. package/serialKey/stampSheet/RevertUseByUserId.ts +37 -0
  198. package/serialKey/stampSheet/index.d.ts +2 -1
  199. package/serialKey/stampSheet/index.js +3 -1
  200. package/serialKey/stampSheet/index.js.map +1 -1
  201. package/serialKey/stampSheet/index.ts +2 -0
  202. package/showcase/ref/NamespaceRef.d.ts +2 -0
  203. package/showcase/ref/NamespaceRef.js +4 -0
  204. package/showcase/ref/NamespaceRef.js.map +1 -1
  205. package/showcase/ref/NamespaceRef.ts +16 -0
  206. package/showcase/stampSheet/DecrementPurchaseCountByUserId.d.ts +4 -0
  207. package/showcase/stampSheet/DecrementPurchaseCountByUserId.js +31 -0
  208. package/showcase/stampSheet/DecrementPurchaseCountByUserId.js.map +1 -0
  209. package/showcase/stampSheet/DecrementPurchaseCountByUserId.ts +41 -0
  210. package/showcase/stampSheet/index.d.ts +2 -1
  211. package/showcase/stampSheet/index.js +3 -1
  212. package/showcase/stampSheet/index.js.map +1 -1
  213. package/showcase/stampSheet/index.ts +2 -0
  214. package/stamina/ref/NamespaceRef.d.ts +2 -0
  215. package/stamina/ref/NamespaceRef.js +4 -0
  216. package/stamina/ref/NamespaceRef.js.map +1 -1
  217. package/stamina/ref/NamespaceRef.ts +14 -0
  218. package/stamina/ref/StaminaModelRef.d.ts +2 -0
  219. package/stamina/ref/StaminaModelRef.js +4 -0
  220. package/stamina/ref/StaminaModelRef.js.map +1 -1
  221. package/stamina/ref/StaminaModelRef.ts +13 -0
  222. package/stamina/stampSheet/DecreaseMaxValueByUserId.d.ts +4 -0
  223. package/stamina/stampSheet/DecreaseMaxValueByUserId.js +30 -0
  224. package/stamina/stampSheet/DecreaseMaxValueByUserId.js.map +1 -0
  225. package/stamina/stampSheet/DecreaseMaxValueByUserId.ts +39 -0
  226. package/stamina/stampSheet/index.d.ts +2 -1
  227. package/stamina/stampSheet/index.js +3 -1
  228. package/stamina/stampSheet/index.js.map +1 -1
  229. package/stamina/stampSheet/index.ts +2 -0
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class UnmarkReceivedByUserId extends AcquireAction {
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 UnmarkReceivedByUserId extends model_1.AcquireAction {
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:UnmarkReceivedByUserId", properties);
27
+ }
28
+ }
29
+ exports.default = UnmarkReceivedByUserId;
30
+ //# sourceMappingURL=UnmarkReceivedByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnmarkReceivedByUserId.js","sourceRoot":"","sources":["UnmarkReceivedByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,sBAAuB,SAAQ,qBAAa;IAE7D,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,uCAAuC,EACvC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,yCAoBC"}
@@ -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 UnmarkReceivedByUserId extends AcquireAction {
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:UnmarkReceivedByUserId",
36
+ properties,
37
+ );
38
+ }
39
+ }
@@ -1,3 +1,4 @@
1
1
  import DeleteReceiveStatusByUserId from "./DeleteReceiveStatusByUserId";
2
+ import UnmarkReceivedByUserId from "./UnmarkReceivedByUserId";
2
3
  import MarkReceivedByUserId from "./MarkReceivedByUserId";
3
- export { DeleteReceiveStatusByUserId, MarkReceivedByUserId, };
4
+ export { DeleteReceiveStatusByUserId, UnmarkReceivedByUserId, MarkReceivedByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MarkReceivedByUserId = exports.DeleteReceiveStatusByUserId = void 0;
3
+ exports.MarkReceivedByUserId = exports.UnmarkReceivedByUserId = exports.DeleteReceiveStatusByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -19,6 +19,8 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const DeleteReceiveStatusByUserId_1 = tslib_1.__importDefault(require("./DeleteReceiveStatusByUserId"));
21
21
  exports.DeleteReceiveStatusByUserId = DeleteReceiveStatusByUserId_1.default;
22
+ const UnmarkReceivedByUserId_1 = tslib_1.__importDefault(require("./UnmarkReceivedByUserId"));
23
+ exports.UnmarkReceivedByUserId = UnmarkReceivedByUserId_1.default;
22
24
  const MarkReceivedByUserId_1 = tslib_1.__importDefault(require("./MarkReceivedByUserId"));
23
25
  exports.MarkReceivedByUserId = MarkReceivedByUserId_1.default;
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wGAAwE;AAIpE,sCAJG,qCAA2B,CAIH;AAH/B,0FAA0D;AAItD,+BAJG,8BAAoB,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wGAAwE;AAKpE,sCALG,qCAA2B,CAKH;AAJ/B,8FAA8D;AAK1D,iCALG,gCAAsB,CAKH;AAJ1B,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH"}
@@ -14,9 +14,11 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import DeleteReceiveStatusByUserId from "./DeleteReceiveStatusByUserId";
17
+ import UnmarkReceivedByUserId from "./UnmarkReceivedByUserId";
17
18
  import MarkReceivedByUserId from "./MarkReceivedByUserId";
18
19
 
19
20
  export {
20
21
  DeleteReceiveStatusByUserId,
22
+ UnmarkReceivedByUserId,
21
23
  MarkReceivedByUserId,
22
24
  }
@@ -1,8 +1,10 @@
1
1
  import IncreaseCounterByUserId from "../stampSheet/IncreaseCounterByUserId";
2
+ import DecreaseCounterByUserId from "../stampSheet/DecreaseCounterByUserId";
2
3
  export default class CounterModelRef {
3
4
  private readonly namespaceName;
4
5
  private readonly counterName;
5
6
  constructor(namespaceName: string, counterName: string);
6
7
  increaseCounter(value: number, userId?: string | null): IncreaseCounterByUserId;
8
+ decreaseCounter(value: number, userId?: string | null): DecreaseCounterByUserId;
7
9
  grn(): string;
8
10
  }
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const IncreaseCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/IncreaseCounterByUserId"));
21
+ const DecreaseCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DecreaseCounterByUserId"));
21
22
  class CounterModelRef {
22
23
  constructor(namespaceName, counterName) {
23
24
  this.namespaceName = namespaceName;
@@ -26,6 +27,9 @@ class CounterModelRef {
26
27
  increaseCounter(value, userId = "#{userId}") {
27
28
  return new IncreaseCounterByUserId_1.default(this.namespaceName, this.counterName, value, userId);
28
29
  }
30
+ decreaseCounter(value, userId = "#{userId}") {
31
+ return new DecreaseCounterByUserId_1.default(this.namespaceName, this.counterName, value, userId);
32
+ }
29
33
  grn() {
30
34
  return new func_1.Join(":", [
31
35
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"CounterModelRef.js","sourceRoot":"","sources":["CounterModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4GAA4E;AAE5E,MAAqB,eAAe;IAIhC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAEM,eAAe,CAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,WAAW,EAChB,KAAK,EACL,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,SAAS;YACT,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA7CD,kCA6CC"}
1
+ {"version":3,"file":"CounterModelRef.js","sourceRoot":"","sources":["CounterModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4GAA4E;AAC5E,4GAA4E;AAE5E,MAAqB,eAAe;IAIhC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,CAAC;IAEM,eAAe,CAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,WAAW,EAChB,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,WAAW,EAChB,KAAK,EACL,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,SAAS;YACT,IAAI,CAAC,aAAa;YAClB,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAzDD,kCAyDC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import IncreaseCounterByUserId from "../stampSheet/IncreaseCounterByUserId";
19
+ import DecreaseCounterByUserId from "../stampSheet/DecreaseCounterByUserId";
19
20
 
20
21
  export default class CounterModelRef {
21
22
  private readonly namespaceName: string;
@@ -41,6 +42,18 @@ export default class CounterModelRef {
41
42
  );
42
43
  }
43
44
 
45
+ public decreaseCounter(
46
+ value: number,
47
+ userId: string|null = "#{userId}",
48
+ ): DecreaseCounterByUserId {
49
+ return new DecreaseCounterByUserId(
50
+ this.namespaceName,
51
+ this.counterName,
52
+ value,
53
+ userId,
54
+ );
55
+ }
56
+
44
57
  public grn(
45
58
  ): string {
46
59
  return new Join(
@@ -1,13 +1,17 @@
1
1
  import MissionGroupModelRef from "./MissionGroupModelRef";
2
2
  import CounterModelRef from "./CounterModelRef";
3
+ import RevertReceiveByUserId from "../stampSheet/RevertReceiveByUserId";
3
4
  import IncreaseCounterByUserId from "../stampSheet/IncreaseCounterByUserId";
4
5
  import ReceiveByUserId from "../stampSheet/ReceiveByUserId";
6
+ import DecreaseCounterByUserId from "../stampSheet/DecreaseCounterByUserId";
5
7
  export default class NamespaceRef {
6
8
  private readonly namespaceName;
7
9
  constructor(namespaceName: string);
8
10
  missionGroupModel(missionGroupName: string): MissionGroupModelRef;
9
11
  counterModel(counterName: string): CounterModelRef;
12
+ revertReceive(missionGroupName: string, missionTaskName: string, userId?: string | null): RevertReceiveByUserId;
10
13
  increaseCounter(counterName: string, value: number, userId?: string | null): IncreaseCounterByUserId;
11
14
  receive(missionGroupName: string, missionTaskName: string, userId?: string | null): ReceiveByUserId;
15
+ decreaseCounter(counterName: string, value: number, userId?: string | null): DecreaseCounterByUserId;
12
16
  grn(): string;
13
17
  }
@@ -19,8 +19,10 @@ const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const MissionGroupModelRef_1 = tslib_1.__importDefault(require("./MissionGroupModelRef"));
21
21
  const CounterModelRef_1 = tslib_1.__importDefault(require("./CounterModelRef"));
22
+ const RevertReceiveByUserId_1 = tslib_1.__importDefault(require("../stampSheet/RevertReceiveByUserId"));
22
23
  const IncreaseCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/IncreaseCounterByUserId"));
23
24
  const ReceiveByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ReceiveByUserId"));
25
+ const DecreaseCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DecreaseCounterByUserId"));
24
26
  class NamespaceRef {
25
27
  constructor(namespaceName) {
26
28
  this.namespaceName = namespaceName;
@@ -31,12 +33,18 @@ class NamespaceRef {
31
33
  counterModel(counterName) {
32
34
  return new CounterModelRef_1.default(this.namespaceName, counterName);
33
35
  }
36
+ revertReceive(missionGroupName, missionTaskName, userId = "#{userId}") {
37
+ return new RevertReceiveByUserId_1.default(this.namespaceName, missionGroupName, missionTaskName, userId);
38
+ }
34
39
  increaseCounter(counterName, value, userId = "#{userId}") {
35
40
  return new IncreaseCounterByUserId_1.default(this.namespaceName, counterName, value, userId);
36
41
  }
37
42
  receive(missionGroupName, missionTaskName, userId = "#{userId}") {
38
43
  return new ReceiveByUserId_1.default(this.namespaceName, missionGroupName, missionTaskName, userId);
39
44
  }
45
+ decreaseCounter(counterName, value, userId = "#{userId}") {
46
+ return new DecreaseCounterByUserId_1.default(this.namespaceName, counterName, value, userId);
47
+ }
40
48
  grn() {
41
49
  return new func_1.Join(":", [
42
50
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0FAA0D;AAC1D,gFAAgD;AAChD,4GAA4E;AAC5E,4FAA4D;AAE5D,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,gBAAwB;QAExB,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,gBAAgB,CACnB,CAAC;IACN,CAAC;IAEM,YAAY,CACf,WAAmB;QAEnB,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,CACd,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,WAAmB,EACnB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,OAAO,CACV,gBAAwB,EACxB,eAAuB,EACvB,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,eAAe,EACf,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,SAAS;YACT,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAxED,+BAwEC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0FAA0D;AAC1D,gFAAgD;AAChD,wGAAwE;AACxE,4GAA4E;AAC5E,4FAA4D;AAC5D,4GAA4E;AAE5E,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,iBAAiB,CACpB,gBAAwB;QAExB,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,gBAAgB,CACnB,CAAC;IACN,CAAC;IAEM,YAAY,CACf,WAAmB;QAEnB,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,CACd,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,gBAAwB,EACxB,eAAuB,EACvB,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,WAAmB,EACnB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,OAAO,CACV,gBAAwB,EACxB,eAAuB,EACvB,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,gBAAgB,EAChB,eAAe,EACf,MAAM,CACT,CAAC;IACN,CAAC;IAEM,eAAe,CAClB,WAAmB,EACnB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,iCAAuB,CAC9B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,KAAK,EACL,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,SAAS;YACT,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlGD,+BAkGC"}
@@ -17,8 +17,10 @@
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import MissionGroupModelRef from "./MissionGroupModelRef";
19
19
  import CounterModelRef from "./CounterModelRef";
20
+ import RevertReceiveByUserId from "../stampSheet/RevertReceiveByUserId";
20
21
  import IncreaseCounterByUserId from "../stampSheet/IncreaseCounterByUserId";
21
22
  import ReceiveByUserId from "../stampSheet/ReceiveByUserId";
23
+ import DecreaseCounterByUserId from "../stampSheet/DecreaseCounterByUserId";
22
24
 
23
25
  export default class NamespaceRef {
24
26
  private readonly namespaceName: string;
@@ -47,6 +49,19 @@ export default class NamespaceRef {
47
49
  );
48
50
  }
49
51
 
52
+ public revertReceive(
53
+ missionGroupName: string,
54
+ missionTaskName: string,
55
+ userId: string|null = "#{userId}",
56
+ ): RevertReceiveByUserId {
57
+ return new RevertReceiveByUserId(
58
+ this.namespaceName,
59
+ missionGroupName,
60
+ missionTaskName,
61
+ userId,
62
+ );
63
+ }
64
+
50
65
  public increaseCounter(
51
66
  counterName: string,
52
67
  value: number,
@@ -73,6 +88,19 @@ export default class NamespaceRef {
73
88
  );
74
89
  }
75
90
 
91
+ public decreaseCounter(
92
+ counterName: string,
93
+ value: number,
94
+ userId: string|null = "#{userId}",
95
+ ): DecreaseCounterByUserId {
96
+ return new DecreaseCounterByUserId(
97
+ this.namespaceName,
98
+ counterName,
99
+ value,
100
+ userId,
101
+ );
102
+ }
103
+
76
104
  public grn(
77
105
  ): string {
78
106
  return new Join(
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class DecreaseCounterByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, counterName: string, value: 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 DecreaseCounterByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, counterName, value, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["counterName"] = counterName;
24
+ properties["value"] = value;
25
+ properties["userId"] = userId;
26
+ super("Gs2Mission:DecreaseCounterByUserId", properties);
27
+ }
28
+ }
29
+ exports.default = DecreaseCounterByUserId;
30
+ //# sourceMappingURL=DecreaseCounterByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DecreaseCounterByUserId.js","sourceRoot":"","sources":["DecreaseCounterByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,uBAAwB,SAAQ,qBAAa;IAE9D,YACI,aAAqB,EACrB,WAAmB,EACnB,KAAa,EACb,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,oCAAoC,EACpC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,0CAoBC"}
@@ -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 DecreaseCounterByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ counterName: string,
24
+ value: number,
25
+ userId: string|null = "#{userId}",
26
+ ) {
27
+ let properties: {[name: string]: any} = {};
28
+
29
+ properties["namespaceName"] = namespaceName
30
+ properties["counterName"] = counterName
31
+ properties["value"] = value
32
+ properties["userId"] = userId
33
+
34
+ super(
35
+ "Gs2Mission:DecreaseCounterByUserId",
36
+ properties,
37
+ );
38
+ }
39
+ }
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class RevertReceiveByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, missionGroupName: string, missionTaskName: string, 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 RevertReceiveByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, missionGroupName, missionTaskName, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["missionGroupName"] = missionGroupName;
24
+ properties["missionTaskName"] = missionTaskName;
25
+ properties["userId"] = userId;
26
+ super("Gs2Mission:RevertReceiveByUserId", properties);
27
+ }
28
+ }
29
+ exports.default = RevertReceiveByUserId;
30
+ //# sourceMappingURL=RevertReceiveByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertReceiveByUserId.js","sourceRoot":"","sources":["RevertReceiveByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,gBAAwB,EACxB,eAAuB,EACvB,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,kBAAkB,CAAC,GAAG,gBAAgB,CAAA;QACjD,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,kCAAkC,EAClC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AApBD,wCAoBC"}
@@ -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 RevertReceiveByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ missionGroupName: string,
24
+ missionTaskName: string,
25
+ userId: string|null = "#{userId}",
26
+ ) {
27
+ let properties: {[name: string]: any} = {};
28
+
29
+ properties["namespaceName"] = namespaceName
30
+ properties["missionGroupName"] = missionGroupName
31
+ properties["missionTaskName"] = missionTaskName
32
+ properties["userId"] = userId
33
+
34
+ super(
35
+ "Gs2Mission:RevertReceiveByUserId",
36
+ properties,
37
+ );
38
+ }
39
+ }
@@ -1,3 +1,5 @@
1
+ import RevertReceiveByUserId from "./RevertReceiveByUserId";
1
2
  import IncreaseCounterByUserId from "./IncreaseCounterByUserId";
2
3
  import ReceiveByUserId from "./ReceiveByUserId";
3
- export { IncreaseCounterByUserId, ReceiveByUserId, };
4
+ import DecreaseCounterByUserId from "./DecreaseCounterByUserId";
5
+ export { RevertReceiveByUserId, IncreaseCounterByUserId, ReceiveByUserId, DecreaseCounterByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ReceiveByUserId = exports.IncreaseCounterByUserId = void 0;
3
+ exports.DecreaseCounterByUserId = exports.ReceiveByUserId = exports.IncreaseCounterByUserId = exports.RevertReceiveByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -17,8 +17,12 @@ const tslib_1 = require("tslib");
17
17
  * express or implied. See the License for the specific language governing
18
18
  * permissions and limitations under the License.
19
19
  */
20
+ const RevertReceiveByUserId_1 = tslib_1.__importDefault(require("./RevertReceiveByUserId"));
21
+ exports.RevertReceiveByUserId = RevertReceiveByUserId_1.default;
20
22
  const IncreaseCounterByUserId_1 = tslib_1.__importDefault(require("./IncreaseCounterByUserId"));
21
23
  exports.IncreaseCounterByUserId = IncreaseCounterByUserId_1.default;
22
24
  const ReceiveByUserId_1 = tslib_1.__importDefault(require("./ReceiveByUserId"));
23
25
  exports.ReceiveByUserId = ReceiveByUserId_1.default;
26
+ const DecreaseCounterByUserId_1 = tslib_1.__importDefault(require("./DecreaseCounterByUserId"));
27
+ exports.DecreaseCounterByUserId = DecreaseCounterByUserId_1.default;
24
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gGAAgE;AAI5D,kCAJG,iCAAuB,CAIH;AAH3B,gFAAgD;AAI5C,0BAJG,yBAAe,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,4FAA4D;AAMxD,gCANG,+BAAqB,CAMH;AALzB,gGAAgE;AAM5D,kCANG,iCAAuB,CAMH;AAL3B,gFAAgD;AAM5C,0BANG,yBAAe,CAMH;AALnB,gGAAgE;AAM5D,kCANG,iCAAuB,CAMH"}
@@ -13,10 +13,14 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import RevertReceiveByUserId from "./RevertReceiveByUserId";
16
17
  import IncreaseCounterByUserId from "./IncreaseCounterByUserId";
17
18
  import ReceiveByUserId from "./ReceiveByUserId";
19
+ import DecreaseCounterByUserId from "./DecreaseCounterByUserId";
18
20
 
19
21
  export {
22
+ RevertReceiveByUserId,
20
23
  IncreaseCounterByUserId,
21
24
  ReceiveByUserId,
25
+ DecreaseCounterByUserId,
22
26
  }
@@ -1,10 +1,12 @@
1
1
  import DepositByUserId from "../stampSheet/DepositByUserId";
2
+ import RevertRecordReceipt from "../stampSheet/RevertRecordReceipt";
2
3
  import WithdrawByUserId from "../stampSheet/WithdrawByUserId";
3
4
  import RecordReceipt from "../stampSheet/RecordReceipt";
4
5
  export default class NamespaceRef {
5
6
  private readonly namespaceName;
6
7
  constructor(namespaceName: string);
7
8
  deposit(slot: number, price: number, count: number, userId?: string | null): DepositByUserId;
9
+ revertRecordReceipt(receipt: string, userId?: string | null): RevertRecordReceipt;
8
10
  withdraw(slot: number, count: number, paidOnly: boolean, userId?: string | null): WithdrawByUserId;
9
11
  recordReceipt(contentsId: string, receipt: string, userId?: string | null): RecordReceipt;
10
12
  grn(): string;
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const DepositByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DepositByUserId"));
21
+ const RevertRecordReceipt_1 = tslib_1.__importDefault(require("../stampSheet/RevertRecordReceipt"));
21
22
  const WithdrawByUserId_1 = tslib_1.__importDefault(require("../stampSheet/WithdrawByUserId"));
22
23
  const RecordReceipt_1 = tslib_1.__importDefault(require("../stampSheet/RecordReceipt"));
23
24
  class NamespaceRef {
@@ -27,6 +28,9 @@ class NamespaceRef {
27
28
  deposit(slot, price, count, userId = "#{userId}") {
28
29
  return new DepositByUserId_1.default(this.namespaceName, slot, price, count, userId);
29
30
  }
31
+ revertRecordReceipt(receipt, userId = "#{userId}") {
32
+ return new RevertRecordReceipt_1.default(this.namespaceName, receipt, userId);
33
+ }
30
34
  withdraw(slot, count, paidOnly, userId = "#{userId}") {
31
35
  return new WithdrawByUserId_1.default(this.namespaceName, slot, count, paidOnly, userId);
32
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAC5D,8FAA8D;AAC9D,wFAAwD;AAExD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,IAAY,EACZ,KAAa,EACb,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,QAAQ,CACX,IAAY,EACZ,KAAa,EACb,QAAiB,EACjB,SAAsB,WAAW;QAEjC,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,UAAkB,EAClB,OAAe,EACf,SAAsB,WAAW;QAEjC,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,OAAO,EACP,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvED,+BAuEC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAC5D,oGAAoE;AACpE,8FAA8D;AAC9D,wFAAwD;AAExD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,IAAY,EACZ,KAAa,EACb,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,KAAK,EACL,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,mBAAmB,CACtB,OAAe,EACf,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,OAAO,EACP,MAAM,CACT,CAAC;IACN,CAAC;IAEM,QAAQ,CACX,IAAY,EACZ,KAAa,EACb,QAAiB,EACjB,SAAsB,WAAW;QAEjC,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,UAAkB,EAClB,OAAe,EACf,SAAsB,WAAW;QAEjC,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,OAAO,EACP,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlFD,+BAkFC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import DepositByUserId from "../stampSheet/DepositByUserId";
19
+ import RevertRecordReceipt from "../stampSheet/RevertRecordReceipt";
19
20
  import WithdrawByUserId from "../stampSheet/WithdrawByUserId";
20
21
  import RecordReceipt from "../stampSheet/RecordReceipt";
21
22
 
@@ -43,6 +44,17 @@ export default class NamespaceRef {
43
44
  );
44
45
  }
45
46
 
47
+ public revertRecordReceipt(
48
+ receipt: string,
49
+ userId: string|null = "#{userId}",
50
+ ): RevertRecordReceipt {
51
+ return new RevertRecordReceipt(
52
+ this.namespaceName,
53
+ receipt,
54
+ userId,
55
+ );
56
+ }
57
+
46
58
  public withdraw(
47
59
  slot: number,
48
60
  count: number,
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class RevertRecordReceipt extends AcquireAction {
3
+ constructor(namespaceName: string, receipt: 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 RevertRecordReceipt extends model_1.AcquireAction {
20
+ constructor(namespaceName, receipt, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["receipt"] = receipt;
24
+ properties["userId"] = userId;
25
+ super("Gs2Money:RevertRecordReceipt", properties);
26
+ }
27
+ }
28
+ exports.default = RevertRecordReceipt;
29
+ //# sourceMappingURL=RevertRecordReceipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertRecordReceipt.js","sourceRoot":"","sources":["RevertRecordReceipt.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAE1D,YACI,aAAqB,EACrB,OAAe,EACf,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,SAAS,CAAC,GAAG,OAAO,CAAA;QAC/B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,8BAA8B,EAC9B,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,sCAkBC"}