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
@@ -3,11 +3,13 @@ import SendMessageByUserId from "../stampSheet/SendMessageByUserId";
3
3
  import { AcquireAction } from "../../core/model";
4
4
  import TimeSpan from "../model/TimeSpan";
5
5
  import OpenMessageByUserId from "../stampSheet/OpenMessageByUserId";
6
+ import DeleteMessageByUserId from "../stampSheet/DeleteMessageByUserId";
6
7
  export default class NamespaceRef {
7
8
  private readonly namespaceName;
8
9
  constructor(namespaceName: string);
9
10
  globalMessage(globalMessageName: string): GlobalMessageRef;
10
11
  sendMessage(metadata: string, readAcquireActions?: AcquireAction[] | null, expiresAt?: number | null, expiresTimeSpan?: TimeSpan | null, userId?: string | null): SendMessageByUserId;
11
12
  openMessage(messageName: string, userId?: string | null): OpenMessageByUserId;
13
+ deleteMessage(messageName: string, userId?: string | null): DeleteMessageByUserId;
12
14
  grn(): string;
13
15
  }
@@ -20,6 +20,7 @@ const func_1 = require("../../core/func");
20
20
  const GlobalMessageRef_1 = tslib_1.__importDefault(require("./GlobalMessageRef"));
21
21
  const SendMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/SendMessageByUserId"));
22
22
  const OpenMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/OpenMessageByUserId"));
23
+ const DeleteMessageByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteMessageByUserId"));
23
24
  class NamespaceRef {
24
25
  constructor(namespaceName) {
25
26
  this.namespaceName = namespaceName;
@@ -33,6 +34,9 @@ class NamespaceRef {
33
34
  openMessage(messageName, userId = "#{userId}") {
34
35
  return new OpenMessageByUserId_1.default(this.namespaceName, messageName, userId);
35
36
  }
37
+ deleteMessage(messageName, userId = "#{userId}") {
38
+ return new DeleteMessageByUserId_1.default(this.namespaceName, messageName, userId);
39
+ }
36
40
  grn() {
37
41
  return new func_1.Join(":", [
38
42
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,kFAAkD;AAClD,oGAAoE;AAGpE,oGAAoE;AAEpE,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,WAAW,CACd,QAAgB,EAChB,qBAA2C,IAAI,EAC/C,YAAyB,IA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AAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5ED,+BA4EC"}
@@ -20,6 +20,7 @@ import SendMessageByUserId from "../stampSheet/SendMessageByUserId";
20
20
  import { AcquireAction } from "../../core/model";
21
21
  import TimeSpan from "../model/TimeSpan";
22
22
  import OpenMessageByUserId from "../stampSheet/OpenMessageByUserId";
23
+ import DeleteMessageByUserId from "../stampSheet/DeleteMessageByUserId";
23
24
 
24
25
  export default class NamespaceRef {
25
26
  private readonly namespaceName: string;
@@ -67,6 +68,17 @@ export default class NamespaceRef {
67
68
  );
68
69
  }
69
70
 
71
+ public deleteMessage(
72
+ messageName: string,
73
+ userId: string|null = "#{userId}",
74
+ ): DeleteMessageByUserId {
75
+ return new DeleteMessageByUserId(
76
+ this.namespaceName,
77
+ messageName,
78
+ userId,
79
+ );
80
+ }
81
+
70
82
  public grn(
71
83
  ): string {
72
84
  return new Join(
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class DeleteMessageByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, messageName?: string | null, 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 DeleteMessageByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, messageName = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["messageName"] = messageName;
24
+ properties["userId"] = userId;
25
+ super("Gs2Inbox:DeleteMessageByUserId", properties);
26
+ }
27
+ }
28
+ exports.default = DeleteMessageByUserId;
29
+ //# sourceMappingURL=DeleteMessageByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteMessageByUserId.js","sourceRoot":"","sources":["DeleteMessageByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAE5D,YACI,aAAqB,EACrB,cAA2B,IAAI,EAC/B,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,gCAAgC,EAChC,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 DeleteMessageByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ messageName: string|null = null,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["messageName"] = messageName
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2Inbox:DeleteMessageByUserId",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -1,3 +1,4 @@
1
1
  import SendMessageByUserId from "./SendMessageByUserId";
2
2
  import OpenMessageByUserId from "./OpenMessageByUserId";
3
- export { SendMessageByUserId, OpenMessageByUserId, };
3
+ import DeleteMessageByUserId from "./DeleteMessageByUserId";
4
+ export { SendMessageByUserId, OpenMessageByUserId, DeleteMessageByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OpenMessageByUserId = exports.SendMessageByUserId = void 0;
3
+ exports.DeleteMessageByUserId = exports.OpenMessageByUserId = exports.SendMessageByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,4 +21,6 @@ const SendMessageByUserId_1 = tslib_1.__importDefault(require("./SendMessageByUs
21
21
  exports.SendMessageByUserId = SendMessageByUserId_1.default;
22
22
  const OpenMessageByUserId_1 = tslib_1.__importDefault(require("./OpenMessageByUserId"));
23
23
  exports.OpenMessageByUserId = OpenMessageByUserId_1.default;
24
+ const DeleteMessageByUserId_1 = tslib_1.__importDefault(require("./DeleteMessageByUserId"));
25
+ exports.DeleteMessageByUserId = DeleteMessageByUserId_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,wFAAwD;AAIpD,8BAJG,6BAAmB,CAIH;AAHvB,wFAAwD;AAIpD,8BAJG,6BAAmB,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH;AAJvB,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH;AAJvB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH"}
@@ -15,8 +15,10 @@
15
15
  */
16
16
  import SendMessageByUserId from "./SendMessageByUserId";
17
17
  import OpenMessageByUserId from "./OpenMessageByUserId";
18
+ import DeleteMessageByUserId from "./DeleteMessageByUserId";
18
19
 
19
20
  export {
20
21
  SendMessageByUserId,
21
22
  OpenMessageByUserId,
23
+ DeleteMessageByUserId,
22
24
  }
@@ -1,8 +1,10 @@
1
1
  import PushByUserId from "../stampSheet/PushByUserId";
2
2
  import JobEntry from "../model/JobEntry";
3
+ import DeleteJobByUserId from "../stampSheet/DeleteJobByUserId";
3
4
  export default class NamespaceRef {
4
5
  private readonly namespaceName;
5
6
  constructor(namespaceName: string);
6
7
  push(jobs?: JobEntry[] | null, userId?: string | null): PushByUserId;
8
+ deleteJob(jobName: string, userId?: string | null): DeleteJobByUserId;
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 PushByUserId_1 = tslib_1.__importDefault(require("../stampSheet/PushByUserId"));
21
+ const DeleteJobByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteJobByUserId"));
21
22
  class NamespaceRef {
22
23
  constructor(namespaceName) {
23
24
  this.namespaceName = namespaceName;
@@ -25,6 +26,9 @@ class NamespaceRef {
25
26
  push(jobs = null, userId = "#{userId}") {
26
27
  return new PushByUserId_1.default(this.namespaceName, jobs, userId);
27
28
  }
29
+ deleteJob(jobName, userId = "#{userId}") {
30
+ return new DeleteJobByUserId_1.default(this.namespaceName, jobName, 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,sFAAsD;AAGtD,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,IAAI,CACP,OAAwB,IAAI,EAC5B,SAAsB,WAAW;QAEjC,OAAO,IAAI,sBAAY,CACnB,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvCD,+BAuCC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAEtD,gGAAgE;AAEhE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,IAAI,CACP,OAAwB,IAAI,EAC5B,SAAsB,WAAW;QAEjC,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,MAAM,CACT,CAAC;IACN,CAAC;IAEM,SAAS,CACZ,OAAe,EACf,SAAsB,WAAW;QAEjC,OAAO,IAAI,2BAAiB,CACxB,IAAI,CAAC,aAAa,EAClB,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;AAlDD,+BAkDC"}
@@ -17,6 +17,7 @@
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import PushByUserId from "../stampSheet/PushByUserId";
19
19
  import JobEntry from "../model/JobEntry";
20
+ import DeleteJobByUserId from "../stampSheet/DeleteJobByUserId";
20
21
 
21
22
  export default class NamespaceRef {
22
23
  private readonly namespaceName: string;
@@ -38,6 +39,17 @@ export default class NamespaceRef {
38
39
  );
39
40
  }
40
41
 
42
+ public deleteJob(
43
+ jobName: string,
44
+ userId: string|null = "#{userId}",
45
+ ): DeleteJobByUserId {
46
+ return new DeleteJobByUserId(
47
+ this.namespaceName,
48
+ jobName,
49
+ userId,
50
+ );
51
+ }
52
+
41
53
  public grn(
42
54
  ): string {
43
55
  return new Join(
@@ -0,0 +1,4 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ export default class DeleteJobByUserId extends ConsumeAction {
3
+ constructor(namespaceName: string, jobName?: string | null, 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 DeleteJobByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, jobName = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["jobName"] = jobName;
24
+ properties["userId"] = userId;
25
+ super("Gs2JobQueue:DeleteJobByUserId", properties);
26
+ }
27
+ }
28
+ exports.default = DeleteJobByUserId;
29
+ //# sourceMappingURL=DeleteJobByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeleteJobByUserId.js","sourceRoot":"","sources":["DeleteJobByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,iBAAkB,SAAQ,qBAAa;IAExD,YACI,aAAqB,EACrB,UAAuB,IAAI,EAC3B,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,+BAA+B,EAC/B,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 DeleteJobByUserId extends ConsumeAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ jobName: string|null = null,
24
+ userId: string|null = "#{userId}",
25
+ ) {
26
+ let properties: {[name: string]: any} = {};
27
+
28
+ properties["namespaceName"] = namespaceName
29
+ properties["jobName"] = jobName
30
+ properties["userId"] = userId
31
+
32
+ super(
33
+ "Gs2JobQueue:DeleteJobByUserId",
34
+ properties,
35
+ );
36
+ }
37
+ }
@@ -1,2 +1,3 @@
1
1
  import PushByUserId from "./PushByUserId";
2
- export { PushByUserId, };
2
+ import DeleteJobByUserId from "./DeleteJobByUserId";
3
+ export { PushByUserId, DeleteJobByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PushByUserId = void 0;
3
+ exports.DeleteJobByUserId = exports.PushByUserId = 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 PushByUserId_1 = tslib_1.__importDefault(require("./PushByUserId"));
21
21
  exports.PushByUserId = PushByUserId_1.default;
22
+ const DeleteJobByUserId_1 = tslib_1.__importDefault(require("./DeleteJobByUserId"));
23
+ exports.DeleteJobByUserId = DeleteJobByUserId_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,0EAA0C;AAGtC,uBAHG,sBAAY,CAGH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAItC,uBAJG,sBAAY,CAIH;AAHhB,oFAAoD;AAIhD,4BAJG,2BAAiB,CAIH"}
@@ -14,7 +14,9 @@
14
14
  * permissions and limitations under the License.
15
15
  */
16
16
  import PushByUserId from "./PushByUserId";
17
+ import DeleteJobByUserId from "./DeleteJobByUserId";
17
18
 
18
19
  export {
19
20
  PushByUserId,
21
+ DeleteJobByUserId,
20
22
  }
@@ -1,10 +1,12 @@
1
1
  import LimitModelRef from "./LimitModelRef";
2
+ import CountDownByUserId from "../stampSheet/CountDownByUserId";
2
3
  import DeleteCounterByUserId from "../stampSheet/DeleteCounterByUserId";
3
4
  import CountUpByUserId from "../stampSheet/CountUpByUserId";
4
5
  export default class NamespaceRef {
5
6
  private readonly namespaceName;
6
7
  constructor(namespaceName: string);
7
8
  limitModel(limitName: string): LimitModelRef;
9
+ countDown(limitName: string, counterName: string, countDownValue: number, userId?: string | null): CountDownByUserId;
8
10
  deleteCounter(limitName: string, counterName: string, userId?: string | null): DeleteCounterByUserId;
9
11
  countUp(limitName: string, counterName: string, countUpValue: number, maxValue?: number | null, userId?: string | null): CountUpByUserId;
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 LimitModelRef_1 = tslib_1.__importDefault(require("./LimitModelRef"));
21
+ const CountDownByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CountDownByUserId"));
21
22
  const DeleteCounterByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteCounterByUserId"));
22
23
  const CountUpByUserId_1 = tslib_1.__importDefault(require("../stampSheet/CountUpByUserId"));
23
24
  class NamespaceRef {
@@ -27,6 +28,9 @@ class NamespaceRef {
27
28
  limitModel(limitName) {
28
29
  return new LimitModelRef_1.default(this.namespaceName, limitName);
29
30
  }
31
+ countDown(limitName, counterName, countDownValue, userId = "#{userId}") {
32
+ return new CountDownByUserId_1.default(this.namespaceName, limitName, counterName, countDownValue, userId);
33
+ }
30
34
  deleteCounter(limitName, counterName, userId = "#{userId}") {
31
35
  return new DeleteCounterByUserId_1.default(this.namespaceName, limitName, counterName, userId);
32
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4EAA4C;AAC5C,wGAAwE;AACxE,4FAA4D;AAE5D,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,UAAU,CACb,SAAiB;QAEjB,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,aAAa,EAClB,SAAS,CACZ,CAAC;IACN,CAAC;IAEM,aAAa,CAChB,SAAiB,EACjB,WAAmB,EACnB,SAAsB,WAAW;QAEjC,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,WAAW,EACX,MAAM,CACT,CAAC;IACN,CAAC;IAEM,OAAO,CACV,SAAiB,EACjB,WAAmB,EACnB,YAAoB,EACpB,WAAwB,IAAI,EAC5B,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,SAAS,EACT,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GA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;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 LimitModelRef from "./LimitModelRef";
19
+ import CountDownByUserId from "../stampSheet/CountDownByUserId";
19
20
  import DeleteCounterByUserId from "../stampSheet/DeleteCounterByUserId";
20
21
  import CountUpByUserId from "../stampSheet/CountUpByUserId";
21
22
 
@@ -37,6 +38,21 @@ export default class NamespaceRef {
37
38
  );
38
39
  }
39
40
 
41
+ public countDown(
42
+ limitName: string,
43
+ counterName: string,
44
+ countDownValue: number,
45
+ userId: string|null = "#{userId}",
46
+ ): CountDownByUserId {
47
+ return new CountDownByUserId(
48
+ this.namespaceName,
49
+ limitName,
50
+ counterName,
51
+ countDownValue,
52
+ userId,
53
+ );
54
+ }
55
+
40
56
  public deleteCounter(
41
57
  limitName: string,
42
58
  counterName: string,
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class CountDownByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, limitName: string, counterName: string, countDownValue?: number | null, 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 CountDownByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, limitName, counterName, countDownValue = null, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["limitName"] = limitName;
24
+ properties["counterName"] = counterName;
25
+ properties["countDownValue"] = countDownValue;
26
+ properties["userId"] = userId;
27
+ super("Gs2Limit:CountDownByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = CountDownByUserId;
31
+ //# sourceMappingURL=CountDownByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CountDownByUserId.js","sourceRoot":"","sources":["CountDownByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,iBAAkB,SAAQ,qBAAa;IAExD,YACI,aAAqB,EACrB,SAAiB,EACjB,WAAmB,EACnB,iBAA8B,IAAI,EAClC,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,WAAW,CAAC,GAAG,SAAS,CAAA;QACnC,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,gBAAgB,CAAC,GAAG,cAAc,CAAA;QAC7C,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,4BAA4B,EAC5B,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,oCAsBC"}
@@ -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 CountDownByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ limitName: string,
24
+ counterName: string,
25
+ countDownValue: number|null = null,
26
+ userId: string|null = "#{userId}",
27
+ ) {
28
+ let properties: {[name: string]: any} = {};
29
+
30
+ properties["namespaceName"] = namespaceName
31
+ properties["limitName"] = limitName
32
+ properties["counterName"] = counterName
33
+ properties["countDownValue"] = countDownValue
34
+ properties["userId"] = userId
35
+
36
+ super(
37
+ "Gs2Limit:CountDownByUserId",
38
+ properties,
39
+ );
40
+ }
41
+ }
@@ -1,3 +1,4 @@
1
+ import CountDownByUserId from "./CountDownByUserId";
1
2
  import DeleteCounterByUserId from "./DeleteCounterByUserId";
2
3
  import CountUpByUserId from "./CountUpByUserId";
3
- export { DeleteCounterByUserId, CountUpByUserId, };
4
+ export { CountDownByUserId, DeleteCounterByUserId, CountUpByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CountUpByUserId = exports.DeleteCounterByUserId = void 0;
3
+ exports.CountUpByUserId = exports.DeleteCounterByUserId = exports.CountDownByUserId = 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 CountDownByUserId_1 = tslib_1.__importDefault(require("./CountDownByUserId"));
21
+ exports.CountDownByUserId = CountDownByUserId_1.default;
20
22
  const DeleteCounterByUserId_1 = tslib_1.__importDefault(require("./DeleteCounterByUserId"));
21
23
  exports.DeleteCounterByUserId = DeleteCounterByUserId_1.default;
22
24
  const CountUpByUserId_1 = tslib_1.__importDefault(require("./CountUpByUserId"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,4FAA4D;AAIxD,gCAJG,+BAAqB,CAIH;AAHzB,gFAAgD;AAI5C,0BAJG,yBAAe,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oFAAoD;AAKhD,4BALG,2BAAiB,CAKH;AAJrB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH;AAJzB,gFAAgD;AAK5C,0BALG,yBAAe,CAKH"}
@@ -13,10 +13,12 @@
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 CountDownByUserId from "./CountDownByUserId";
16
17
  import DeleteCounterByUserId from "./DeleteCounterByUserId";
17
18
  import CountUpByUserId from "./CountUpByUserId";
18
19
 
19
20
  export {
21
+ CountDownByUserId,
20
22
  DeleteCounterByUserId,
21
23
  CountUpByUserId,
22
24
  }
@@ -1,11 +1,13 @@
1
1
  import BonusModelRef from "./BonusModelRef";
2
2
  import DeleteReceiveStatusByUserId from "../stampSheet/DeleteReceiveStatusByUserId";
3
+ import UnmarkReceivedByUserId from "../stampSheet/UnmarkReceivedByUserId";
3
4
  import MarkReceivedByUserId from "../stampSheet/MarkReceivedByUserId";
4
5
  export default class NamespaceRef {
5
6
  private readonly namespaceName;
6
7
  constructor(namespaceName: string);
7
8
  bonusModel(bonusModelName: string): BonusModelRef;
8
9
  deleteReceiveStatus(bonusModelName: string, userId?: string | null): DeleteReceiveStatusByUserId;
10
+ unmarkReceived(bonusModelName: string, stepNumber: number, userId?: string | null): UnmarkReceivedByUserId;
9
11
  markReceived(bonusModelName: string, stepNumber: number, userId?: string | null): MarkReceivedByUserId;
10
12
  grn(): string;
11
13
  }
@@ -19,6 +19,7 @@ const tslib_1 = require("tslib");
19
19
  const func_1 = require("../../core/func");
20
20
  const BonusModelRef_1 = tslib_1.__importDefault(require("./BonusModelRef"));
21
21
  const DeleteReceiveStatusByUserId_1 = tslib_1.__importDefault(require("../stampSheet/DeleteReceiveStatusByUserId"));
22
+ const UnmarkReceivedByUserId_1 = tslib_1.__importDefault(require("../stampSheet/UnmarkReceivedByUserId"));
22
23
  const MarkReceivedByUserId_1 = tslib_1.__importDefault(require("../stampSheet/MarkReceivedByUserId"));
23
24
  class NamespaceRef {
24
25
  constructor(namespaceName) {
@@ -30,6 +31,9 @@ class NamespaceRef {
30
31
  deleteReceiveStatus(bonusModelName, userId = "#{userId}") {
31
32
  return new DeleteReceiveStatusByUserId_1.default(this.namespaceName, bonusModelName, userId);
32
33
  }
34
+ unmarkReceived(bonusModelName, stepNumber, userId = "#{userId}") {
35
+ return new UnmarkReceivedByUserId_1.default(this.namespaceName, bonusModelName, stepNumber, userId);
36
+ }
33
37
  markReceived(bonusModelName, stepNumber, userId = "#{userId}") {
34
38
  return new MarkReceivedByUserId_1.default(this.namespaceName, bonusModelName, stepNumber, userId);
35
39
  }
@@ -1 +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,YAA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AAc,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;AA1ED,+BA0EC"}
@@ -17,6 +17,7 @@
17
17
  import {GetAttr, Join} from "../../core/func";
18
18
  import BonusModelRef from "./BonusModelRef";
19
19
  import DeleteReceiveStatusByUserId from "../stampSheet/DeleteReceiveStatusByUserId";
20
+ import UnmarkReceivedByUserId from "../stampSheet/UnmarkReceivedByUserId";
20
21
  import MarkReceivedByUserId from "../stampSheet/MarkReceivedByUserId";
21
22
 
22
23
  export default class NamespaceRef {
@@ -48,6 +49,19 @@ export default class NamespaceRef {
48
49
  );
49
50
  }
50
51
 
52
+ public unmarkReceived(
53
+ bonusModelName: string,
54
+ stepNumber: number,
55
+ userId: string|null = "#{userId}",
56
+ ): UnmarkReceivedByUserId {
57
+ return new UnmarkReceivedByUserId(
58
+ this.namespaceName,
59
+ bonusModelName,
60
+ stepNumber,
61
+ userId,
62
+ );
63
+ }
64
+
51
65
  public markReceived(
52
66
  bonusModelName: string,
53
67
  stepNumber: number,