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,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 RevertRecordReceipt extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ receipt: string,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["receipt"] = receipt
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2Money:RevertRecordReceipt",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -1,4 +1,5 @@
1
1
  import DepositByUserId from "./DepositByUserId";
2
+ import RevertRecordReceipt from "./RevertRecordReceipt";
2
3
  import WithdrawByUserId from "./WithdrawByUserId";
3
4
  import RecordReceipt from "./RecordReceipt";
4
- export { DepositByUserId, WithdrawByUserId, RecordReceipt, };
5
+ export { DepositByUserId, RevertRecordReceipt, WithdrawByUserId, RecordReceipt, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RecordReceipt = exports.WithdrawByUserId = exports.DepositByUserId = void 0;
3
+ exports.RecordReceipt = exports.WithdrawByUserId = exports.RevertRecordReceipt = exports.DepositByUserId = 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 DepositByUserId_1 = tslib_1.__importDefault(require("./DepositByUserId"));
21
21
  exports.DepositByUserId = DepositByUserId_1.default;
22
+ const RevertRecordReceipt_1 = tslib_1.__importDefault(require("./RevertRecordReceipt"));
23
+ exports.RevertRecordReceipt = RevertRecordReceipt_1.default;
22
24
  const WithdrawByUserId_1 = tslib_1.__importDefault(require("./WithdrawByUserId"));
23
25
  exports.WithdrawByUserId = WithdrawByUserId_1.default;
24
26
  const RecordReceipt_1 = tslib_1.__importDefault(require("./RecordReceipt"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAK5C,0BALG,yBAAe,CAKH;AAJnB,kFAAkD;AAK9C,2BALG,0BAAgB,CAKH;AAJpB,4EAA4C;AAKxC,wBALG,uBAAa,CAKH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAM5C,0BANG,yBAAe,CAMH;AALnB,wFAAwD;AAMpD,8BANG,6BAAmB,CAMH;AALvB,kFAAkD;AAM9C,2BANG,0BAAgB,CAMH;AALpB,4EAA4C;AAMxC,wBANG,uBAAa,CAMH"}
@@ -14,11 +14,13 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import DepositByUserId from "./DepositByUserId";
17
+ import RevertRecordReceipt from "./RevertRecordReceipt";
17
18
  import WithdrawByUserId from "./WithdrawByUserId";
18
19
  import RecordReceipt from "./RecordReceipt";
19
20
 
20
21
  export {
21
22
  DepositByUserId,
23
+ RevertRecordReceipt,
22
24
  WithdrawByUserId,
23
25
  RecordReceipt,
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1,7 +1,9 @@
1
1
  import TriggerByUserId from "../stampSheet/TriggerByUserId";
2
+ import DeleteTriggerByUserId from "../stampSheet/DeleteTriggerByUserId";
2
3
  export default class NamespaceRef {
3
4
  private readonly namespaceName;
4
5
  constructor(namespaceName: string);
5
6
  trigger(triggerName: string, triggerStrategy: string, ttl: number, userId?: string | null): TriggerByUserId;
7
+ deleteTrigger(triggerName: string, userId?: string | null): DeleteTriggerByUserId;
6
8
  grn(): string;
7
9
  }
@@ -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 TriggerByUserId_1 = tslib_1.__importDefault(require("../stampSheet/TriggerByUserId"));
21
+ const DeleteTriggerByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteTriggerByUserId"));
21
22
  class NamespaceRef {
22
23
  constructor(namespaceName) {
23
24
  this.namespaceName = namespaceName;
@@ -25,6 +26,9 @@ class NamespaceRef {
25
26
  trigger(triggerName, triggerStrategy, ttl, userId = "#{userId}") {
26
27
  return new TriggerByUserId_1.default(this.namespaceName, triggerName, triggerStrategy, ttl, userId);
27
28
  }
29
+ deleteTrigger(triggerName, userId = "#{userId}") {
30
+ return new DeleteTriggerByUserId_1.default(this.namespaceName, triggerName, userId);
31
+ }
28
32
  grn() {
29
33
  return new func_1.Join(":", [
30
34
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAE5D,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,WAAmB,EACnB,eAAuB,EACvB,GAAW,EACX,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,eAAe,EACf,GAAG,EACH,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3CD,+BA2CC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAC5D,wGAAwE;AAExE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,WAAmB,EACnB,eAAuB,EACvB,GAAW,EACX,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,eAAe,EACf,GAAG,EACH,MAAM,CACT,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAtDD,+BAsDC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import TriggerByUserId from "../stampSheet/TriggerByUserId";
19
+ import DeleteTriggerByUserId from "../stampSheet/DeleteTriggerByUserId";
19
20
 
20
21
  export default class NamespaceRef {
21
22
  private readonly namespaceName: string;
@@ -41,6 +42,17 @@ export default class NamespaceRef {
41
42
  );
42
43
  }
43
44
 
45
+ public deleteTrigger(
46
+ triggerName: string,
47
+ userId: string|null = "#{userId}",
48
+ ): DeleteTriggerByUserId {
49
+ return new DeleteTriggerByUserId(
50
+ this.namespaceName,
51
+ triggerName,
52
+ userId,
53
+ );
54
+ }
55
+
44
56
  public grn(
45
57
  ): string {
46
58
  return new Join(
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class DeleteTriggerByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, triggerName: 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 DeleteTriggerByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, triggerName, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["triggerName"] = triggerName;
24
+ properties["userId"] = userId;
25
+ super("Gs2Schedule:DeleteTriggerByUserId", properties);
26
+ }
27
+ }
28
+ exports.default = DeleteTriggerByUserId;
29
+ //# sourceMappingURL=DeleteTriggerByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteTriggerByUserId.js","sourceRoot":"","sources":["DeleteTriggerByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,WAAmB,EACnB,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,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,mCAAmC,EACnC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,wCAkBC"}
@@ -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 DeleteTriggerByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ triggerName: string,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["triggerName"] = triggerName
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2Schedule:DeleteTriggerByUserId",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -1,2 +1,3 @@
1
1
  import TriggerByUserId from "./TriggerByUserId";
2
- export { TriggerByUserId, };
2
+ import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
3
+ export { TriggerByUserId, DeleteTriggerByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TriggerByUserId = void 0;
3
+ exports.DeleteTriggerByUserId = exports.TriggerByUserId = 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,4 +19,6 @@ const tslib_1 = require("tslib");
19
19
  */
20
20
  const TriggerByUserId_1 = tslib_1.__importDefault(require("./TriggerByUserId"));
21
21
  exports.TriggerByUserId = TriggerByUserId_1.default;
22
+ const DeleteTriggerByUserId_1 = tslib_1.__importDefault(require("./DeleteTriggerByUserId"));
23
+ exports.DeleteTriggerByUserId = DeleteTriggerByUserId_1.default;
22
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAG5C,0BAHG,yBAAe,CAGH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAI5C,0BAJG,yBAAe,CAIH;AAHnB,4FAA4D;AAIxD,gCAJG,+BAAqB,CAIH"}
@@ -14,7 +14,9 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import TriggerByUserId from "./TriggerByUserId";
17
+ import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
17
18
 
18
19
  export {
19
20
  TriggerByUserId,
21
+ DeleteTriggerByUserId,
20
22
  }
@@ -1,9 +1,11 @@
1
1
  import CampaignModelRef from "./CampaignModelRef";
2
+ import RevertUseByUserId from "../stampSheet/RevertUseByUserId";
2
3
  import UseByUserId from "../stampSheet/UseByUserId";
3
4
  export default class NamespaceRef {
4
5
  private readonly namespaceName;
5
6
  constructor(namespaceName: string);
6
7
  campaignModel(campaignModelName: string): CampaignModelRef;
8
+ revertUse(code: string, userId?: string | null): RevertUseByUserId;
7
9
  use(code: string, userId?: string | null): UseByUserId;
8
10
  grn(): string;
9
11
  }
@@ -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 CampaignModelRef_1 = tslib_1.__importDefault(require("./CampaignModelRef"));
21
+ const RevertUseByUserId_1 = tslib_1.__importDefault(require("../stampSheet/RevertUseByUserId"));
21
22
  const UseByUserId_1 = tslib_1.__importDefault(require("../stampSheet/UseByUserId"));
22
23
  class NamespaceRef {
23
24
  constructor(namespaceName) {
@@ -26,6 +27,9 @@ class NamespaceRef {
26
27
  campaignModel(campaignModelName) {
27
28
  return new CampaignModelRef_1.default(this.namespaceName, campaignModelName);
28
29
  }
30
+ revertUse(code, userId = "#{userId}") {
31
+ return new RevertUseByUserId_1.default(this.namespaceName, code, userId);
32
+ }
29
33
  use(code, userId = "#{userId}") {
30
34
  return new UseByUserId_1.default(this.namespaceName, code, userId);
31
35
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,oFAAoD;AAEpD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,iBAAyB;QAEzB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,iBAAiB,CACpB,CAAC;IACN,CAAC;IAEM,GAAG,CACN,IAAY,EACZ,SAAsB,WAAW;QAEjC,OAAO,IAAI,qBAAW,CAClB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,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,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAhDD,+BAgDC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,gGAAgE;AAChE,oFAAoD;AAEpD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,iBAAyB;QAEzB,OAAO,IAAI,0BAAgB,CACvB,IAAI,CAAC,aAAa,EAClB,iBAAiB,CACpB,CAAC;IACN,CAAC;IAEM,SAAS,CACZ,IAAY,EACZ,SAAsB,WAAW;QAEjC,OAAO,IAAI,2BAAiB,CACxB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG,CACN,IAAY,EACZ,SAAsB,WAAW;QAEjC,OAAO,IAAI,qBAAW,CAClB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,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,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3DD,+BA2DC"}
@@ -16,6 +16,7 @@
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import CampaignModelRef from "./CampaignModelRef";
19
+ import RevertUseByUserId from "../stampSheet/RevertUseByUserId";
19
20
  import UseByUserId from "../stampSheet/UseByUserId";
20
21
 
21
22
  export default class NamespaceRef {
@@ -36,6 +37,17 @@ export default class NamespaceRef {
36
37
  );
37
38
  }
38
39
 
40
+ public revertUse(
41
+ code: string,
42
+ userId: string|null = "#{userId}",
43
+ ): RevertUseByUserId {
44
+ return new RevertUseByUserId(
45
+ this.namespaceName,
46
+ code,
47
+ userId,
48
+ );
49
+ }
50
+
39
51
  public use(
40
52
  code: string,
41
53
  userId: string|null = "#{userId}",
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class RevertUseByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, code: 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 RevertUseByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, code, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["code"] = code;
24
+ properties["userId"] = userId;
25
+ super("Gs2SerialKey:RevertUseByUserId", properties);
26
+ }
27
+ }
28
+ exports.default = RevertUseByUserId;
29
+ //# sourceMappingURL=RevertUseByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RevertUseByUserId.js","sourceRoot":"","sources":["RevertUseByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,iBAAkB,SAAQ,qBAAa;IAExD,YACI,aAAqB,EACrB,IAAY,EACZ,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAA;QACzB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,gCAAgC,EAChC,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAlBD,oCAkBC"}
@@ -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 RevertUseByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ code: string,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["code"] = code
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2SerialKey:RevertUseByUserId",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -1,2 +1,3 @@
1
+ import RevertUseByUserId from "./RevertUseByUserId";
1
2
  import UseByUserId from "./UseByUserId";
2
- export { UseByUserId, };
3
+ export { RevertUseByUserId, UseByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UseByUserId = void 0;
3
+ exports.UseByUserId = exports.RevertUseByUserId = 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,6 +17,8 @@ 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 RevertUseByUserId_1 = tslib_1.__importDefault(require("./RevertUseByUserId"));
21
+ exports.RevertUseByUserId = RevertUseByUserId_1.default;
20
22
  const UseByUserId_1 = tslib_1.__importDefault(require("./UseByUserId"));
21
23
  exports.UseByUserId = UseByUserId_1.default;
22
24
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wEAAwC;AAGpC,sBAHG,qBAAW,CAGH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oFAAoD;AAIhD,4BAJG,2BAAiB,CAIH;AAHrB,wEAAwC;AAIpC,sBAJG,qBAAW,CAIH"}
@@ -13,8 +13,10 @@
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 RevertUseByUserId from "./RevertUseByUserId";
16
17
  import UseByUserId from "./UseByUserId";
17
18
 
18
19
  export {
20
+ RevertUseByUserId,
19
21
  UseByUserId,
20
22
  }
@@ -1,8 +1,10 @@
1
+ import DecrementPurchaseCountByUserId from "../stampSheet/DecrementPurchaseCountByUserId";
1
2
  import ForceReDrawByUserId from "../stampSheet/ForceReDrawByUserId";
2
3
  import IncrementPurchaseCountByUserId from "../stampSheet/IncrementPurchaseCountByUserId";
3
4
  export default class NamespaceRef {
4
5
  private readonly namespaceName;
5
6
  constructor(namespaceName: string);
7
+ decrementPurchaseCount(showcaseName: string, displayItemName: string, count: number, userId?: string | null): DecrementPurchaseCountByUserId;
6
8
  forceReDraw(showcaseName: string, userId?: string | null): ForceReDrawByUserId;
7
9
  incrementPurchaseCount(showcaseName: string, displayItemName: string, count: number, userId?: string | null): IncrementPurchaseCountByUserId;
8
10
  grn(): string;
@@ -17,12 +17,16 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
+ const DecrementPurchaseCountByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DecrementPurchaseCountByUserId"));
20
21
  const ForceReDrawByUserId_1 = tslib_1.__importDefault(require("../stampSheet/ForceReDrawByUserId"));
21
22
  const IncrementPurchaseCountByUserId_1 = tslib_1.__importDefault(require("../stampSheet/IncrementPurchaseCountByUserId"));
22
23
  class NamespaceRef {
23
24
  constructor(namespaceName) {
24
25
  this.namespaceName = namespaceName;
25
26
  }
27
+ decrementPurchaseCount(showcaseName, displayItemName, count, userId = "#{userId}") {
28
+ return new DecrementPurchaseCountByUserId_1.default(this.namespaceName, showcaseName, displayItemName, count, userId);
29
+ }
26
30
  forceReDraw(showcaseName, userId = "#{userId}") {
27
31
  return new ForceReDrawByUserId_1.default(this.namespaceName, showcaseName, userId);
28
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,oGAAoE;AACpE,0HAA0F;AAE1F,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,WAAW,CACd,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,sBAAsB,CACzB,YAAoB,EACpB,eAAuB,EACvB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAtDD,+BAsDC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0HAA0F;AAC1F,oGAAoE;AACpE,0HAA0F;AAE1F,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,sBAAsB,CACzB,YAAoB,EACpB,eAAuB,EACvB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,KAAK,EACL,MAAM,CACT,CAAC;IACN,CAAC;IAEM,WAAW,CACd,YAAoB,EACpB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,sBAAsB,CACzB,YAAoB,EACpB,eAAuB,EACvB,KAAa,EACb,SAAsB,WAAW;QAEjC,OAAO,IAAI,wCAA8B,CACrC,IAAI,CAAC,aAAa,EAClB,YAAY,EACZ,eAAe,EACf,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AArED,+BAqEC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
+ import DecrementPurchaseCountByUserId from "../stampSheet/DecrementPurchaseCountByUserId";
18
19
  import ForceReDrawByUserId from "../stampSheet/ForceReDrawByUserId";
19
20
  import IncrementPurchaseCountByUserId from "../stampSheet/IncrementPurchaseCountByUserId";
20
21
 
@@ -27,6 +28,21 @@ export default class NamespaceRef {
27
28
  this.namespaceName = namespaceName;
28
29
  }
29
30
 
31
+ public decrementPurchaseCount(
32
+ showcaseName: string,
33
+ displayItemName: string,
34
+ count: number,
35
+ userId: string|null = "#{userId}",
36
+ ): DecrementPurchaseCountByUserId {
37
+ return new DecrementPurchaseCountByUserId(
38
+ this.namespaceName,
39
+ showcaseName,
40
+ displayItemName,
41
+ count,
42
+ userId,
43
+ );
44
+ }
45
+
30
46
  public forceReDraw(
31
47
  showcaseName: string,
32
48
  userId: string|null = "#{userId}",
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class DecrementPurchaseCountByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, showcaseName: string, displayItemName: string, count: number, userId?: string | null);
4
+ }
@@ -0,0 +1,31 @@
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 DecrementPurchaseCountByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, showcaseName, displayItemName, count, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["showcaseName"] = showcaseName;
24
+ properties["displayItemName"] = displayItemName;
25
+ properties["count"] = count;
26
+ properties["userId"] = userId;
27
+ super("Gs2Showcase:DecrementPurchaseCountByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = DecrementPurchaseCountByUserId;
31
+ //# sourceMappingURL=DecrementPurchaseCountByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DecrementPurchaseCountByUserId.js","sourceRoot":"","sources":["DecrementPurchaseCountByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,8BAA+B,SAAQ,qBAAa;IAErE,YACI,aAAqB,EACrB,YAAoB,EACpB,eAAuB,EACvB,KAAa,EACb,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,cAAc,CAAC,GAAG,YAAY,CAAA;QACzC,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,OAAO,CAAC,GAAG,KAAK,CAAA;QAC3B,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,4CAA4C,EAC5C,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,iDAsBC"}
@@ -0,0 +1,41 @@
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 DecrementPurchaseCountByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ showcaseName: string,
24
+ displayItemName: string,
25
+ count: number,
26
+ userId: string|null = "#{userId}",
27
+ ) {
28
+ let properties: {[name: string]: any} = {};
29
+
30
+ properties["namespaceName"] = namespaceName
31
+ properties["showcaseName"] = showcaseName
32
+ properties["displayItemName"] = displayItemName
33
+ properties["count"] = count
34
+ properties["userId"] = userId
35
+
36
+ super(
37
+ "Gs2Showcase:DecrementPurchaseCountByUserId",
38
+ properties,
39
+ );
40
+ }
41
+ }
@@ -1,3 +1,4 @@
1
+ import DecrementPurchaseCountByUserId from "./DecrementPurchaseCountByUserId";
1
2
  import ForceReDrawByUserId from "./ForceReDrawByUserId";
2
3
  import IncrementPurchaseCountByUserId from "./IncrementPurchaseCountByUserId";
3
- export { ForceReDrawByUserId, IncrementPurchaseCountByUserId, };
4
+ export { DecrementPurchaseCountByUserId, ForceReDrawByUserId, IncrementPurchaseCountByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IncrementPurchaseCountByUserId = exports.ForceReDrawByUserId = void 0;
3
+ exports.IncrementPurchaseCountByUserId = exports.ForceReDrawByUserId = exports.DecrementPurchaseCountByUserId = 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,6 +17,8 @@ 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 DecrementPurchaseCountByUserId_1 = tslib_1.__importDefault(require("./DecrementPurchaseCountByUserId"));
21
+ exports.DecrementPurchaseCountByUserId = DecrementPurchaseCountByUserId_1.default;
20
22
  const ForceReDrawByUserId_1 = tslib_1.__importDefault(require("./ForceReDrawByUserId"));
21
23
  exports.ForceReDrawByUserId = ForceReDrawByUserId_1.default;
22
24
  const IncrementPurchaseCountByUserId_1 = tslib_1.__importDefault(require("./IncrementPurchaseCountByUserId"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAwD;AAIpD,8BAJG,6BAAmB,CAIH;AAHvB,8GAA8E;AAI1E,yCAJG,wCAA8B,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8GAA8E;AAK1E,yCALG,wCAA8B,CAKH;AAJlC,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH;AAJvB,8GAA8E;AAK1E,yCALG,wCAA8B,CAKH"}