gs2-cdk 1.0.66 → 1.0.68

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 (219) hide show
  1. package/idle/model/Namespace.d.ts +1 -0
  2. package/idle/model/Namespace.js +7 -2
  3. package/idle/model/Namespace.js.map +1 -1
  4. package/idle/model/Namespace.ts +5 -0
  5. package/idle/model/options/NamespaceOptions.d.ts +1 -0
  6. package/idle/model/options/NamespaceOptions.ts +1 -0
  7. package/money2/index.d.ts +12 -0
  8. package/money2/index.js +32 -0
  9. package/money2/index.js.map +1 -0
  10. package/money2/index.ts +36 -0
  11. package/money2/model/AppleAppStoreContent.d.ts +8 -0
  12. package/money2/model/AppleAppStoreContent.js +18 -0
  13. package/money2/model/AppleAppStoreContent.js.map +1 -0
  14. package/money2/model/AppleAppStoreContent.ts +37 -0
  15. package/money2/model/AppleAppStoreSetting.d.ts +8 -0
  16. package/money2/model/AppleAppStoreSetting.js +18 -0
  17. package/money2/model/AppleAppStoreSetting.js.map +1 -0
  18. package/money2/model/AppleAppStoreSetting.ts +37 -0
  19. package/money2/model/AppleAppStoreVerifyReceiptEvent.d.ts +9 -0
  20. package/money2/model/AppleAppStoreVerifyReceiptEvent.js +16 -0
  21. package/money2/model/AppleAppStoreVerifyReceiptEvent.js.map +1 -0
  22. package/money2/model/AppleAppStoreVerifyReceiptEvent.ts +39 -0
  23. package/money2/model/CurrentMasterData.d.ts +13 -0
  24. package/money2/model/CurrentMasterData.js +50 -0
  25. package/money2/model/CurrentMasterData.js.map +1 -0
  26. package/money2/model/CurrentMasterData.ts +70 -0
  27. package/money2/model/DailyTransactionHistory.d.ts +14 -0
  28. package/money2/model/DailyTransactionHistory.js +39 -0
  29. package/money2/model/DailyTransactionHistory.js.map +1 -0
  30. package/money2/model/DailyTransactionHistory.ts +70 -0
  31. package/money2/model/DepositEvent.d.ts +11 -0
  32. package/money2/model/DepositEvent.js +27 -0
  33. package/money2/model/DepositEvent.js.map +1 -0
  34. package/money2/model/DepositEvent.ts +53 -0
  35. package/money2/model/DepositTransaction.d.ts +11 -0
  36. package/money2/model/DepositTransaction.js +31 -0
  37. package/money2/model/DepositTransaction.js.map +1 -0
  38. package/money2/model/DepositTransaction.ts +54 -0
  39. package/money2/model/FakeSetting.d.ts +9 -0
  40. package/money2/model/FakeSetting.js +16 -0
  41. package/money2/model/FakeSetting.js.map +1 -0
  42. package/money2/model/FakeSetting.ts +39 -0
  43. package/money2/model/GooglePlayContent.d.ts +8 -0
  44. package/money2/model/GooglePlayContent.js +18 -0
  45. package/money2/model/GooglePlayContent.js.map +1 -0
  46. package/money2/model/GooglePlayContent.ts +37 -0
  47. package/money2/model/GooglePlaySetting.d.ts +9 -0
  48. package/money2/model/GooglePlaySetting.js +23 -0
  49. package/money2/model/GooglePlaySetting.js.map +1 -0
  50. package/money2/model/GooglePlaySetting.ts +42 -0
  51. package/money2/model/GooglePlayVerifyReceiptEvent.d.ts +8 -0
  52. package/money2/model/GooglePlayVerifyReceiptEvent.js +18 -0
  53. package/money2/model/GooglePlayVerifyReceiptEvent.js.map +1 -0
  54. package/money2/model/GooglePlayVerifyReceiptEvent.ts +37 -0
  55. package/money2/model/Namespace.d.ts +26 -0
  56. package/money2/model/Namespace.js +84 -0
  57. package/money2/model/Namespace.js.map +1 -0
  58. package/money2/model/Namespace.ts +136 -0
  59. package/money2/model/PlatformSetting.d.ts +10 -0
  60. package/money2/model/PlatformSetting.js +29 -0
  61. package/money2/model/PlatformSetting.js.map +1 -0
  62. package/money2/model/PlatformSetting.ts +53 -0
  63. package/money2/model/Receipt.d.ts +11 -0
  64. package/money2/model/Receipt.js +24 -0
  65. package/money2/model/Receipt.js.map +1 -0
  66. package/money2/model/Receipt.ts +51 -0
  67. package/money2/model/StoreContentModel.d.ts +11 -0
  68. package/money2/model/StoreContentModel.js +33 -0
  69. package/money2/model/StoreContentModel.js.map +1 -0
  70. package/money2/model/StoreContentModel.ts +57 -0
  71. package/money2/model/UnusedBalance.d.ts +10 -0
  72. package/money2/model/UnusedBalance.js +23 -0
  73. package/money2/model/UnusedBalance.js.map +1 -0
  74. package/money2/model/UnusedBalance.ts +46 -0
  75. package/money2/model/VerifyReceiptEvent.d.ts +12 -0
  76. package/money2/model/VerifyReceiptEvent.js +32 -0
  77. package/money2/model/VerifyReceiptEvent.js.map +1 -0
  78. package/money2/model/VerifyReceiptEvent.ts +59 -0
  79. package/money2/model/WalletSummary.d.ts +10 -0
  80. package/money2/model/WalletSummary.js +24 -0
  81. package/money2/model/WalletSummary.js.map +1 -0
  82. package/money2/model/WalletSummary.ts +50 -0
  83. package/money2/model/WithdrawEvent.d.ts +11 -0
  84. package/money2/model/WithdrawEvent.js +27 -0
  85. package/money2/model/WithdrawEvent.js.map +1 -0
  86. package/money2/model/WithdrawEvent.ts +53 -0
  87. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.d.ts +5 -0
  88. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js +23 -0
  89. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js.map +1 -0
  90. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.ts +23 -0
  91. package/money2/model/enum/FakeSettingAcceptFakeReceipt.d.ts +5 -0
  92. package/money2/model/enum/FakeSettingAcceptFakeReceipt.js +23 -0
  93. package/money2/model/enum/FakeSettingAcceptFakeReceipt.js.map +1 -0
  94. package/money2/model/enum/FakeSettingAcceptFakeReceipt.ts +23 -0
  95. package/money2/model/enum/NamespaceCurrencyUsagePriority.d.ts +5 -0
  96. package/money2/model/enum/NamespaceCurrencyUsagePriority.js +23 -0
  97. package/money2/model/enum/NamespaceCurrencyUsagePriority.js.map +1 -0
  98. package/money2/model/enum/NamespaceCurrencyUsagePriority.ts +23 -0
  99. package/money2/model/enum/ReceiptStore.d.ts +6 -0
  100. package/money2/model/enum/ReceiptStore.js +24 -0
  101. package/money2/model/enum/ReceiptStore.js.map +1 -0
  102. package/money2/model/enum/ReceiptStore.ts +24 -0
  103. package/money2/model/enum/VerifyReceiptEventPlatform.d.ts +6 -0
  104. package/money2/model/enum/VerifyReceiptEventPlatform.js +24 -0
  105. package/money2/model/enum/VerifyReceiptEventPlatform.js.map +1 -0
  106. package/money2/model/enum/VerifyReceiptEventPlatform.ts +24 -0
  107. package/money2/model/index.d.ts +43 -0
  108. package/money2/model/index.js +68 -0
  109. package/money2/model/index.js.map +1 -0
  110. package/money2/model/index.ts +102 -0
  111. package/money2/model/options/AppleAppStoreContentOptions.d.ts +3 -0
  112. package/money2/model/options/AppleAppStoreContentOptions.js +18 -0
  113. package/money2/model/options/AppleAppStoreContentOptions.js.map +1 -0
  114. package/money2/model/options/AppleAppStoreContentOptions.ts +20 -0
  115. package/money2/model/options/AppleAppStoreSettingOptions.d.ts +3 -0
  116. package/money2/model/options/AppleAppStoreSettingOptions.js +18 -0
  117. package/money2/model/options/AppleAppStoreSettingOptions.js.map +1 -0
  118. package/money2/model/options/AppleAppStoreSettingOptions.ts +20 -0
  119. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.d.ts +2 -0
  120. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js +3 -0
  121. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js.map +1 -0
  122. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.ts +20 -0
  123. package/money2/model/options/DailyTransactionHistoryOptions.d.ts +3 -0
  124. package/money2/model/options/DailyTransactionHistoryOptions.js +18 -0
  125. package/money2/model/options/DailyTransactionHistoryOptions.js.map +1 -0
  126. package/money2/model/options/DailyTransactionHistoryOptions.ts +20 -0
  127. package/money2/model/options/DepositEventOptions.d.ts +4 -0
  128. package/money2/model/options/DepositEventOptions.js +3 -0
  129. package/money2/model/options/DepositEventOptions.js.map +1 -0
  130. package/money2/model/options/DepositEventOptions.ts +22 -0
  131. package/money2/model/options/DepositTransactionOptions.d.ts +4 -0
  132. package/money2/model/options/DepositTransactionOptions.js +18 -0
  133. package/money2/model/options/DepositTransactionOptions.js.map +1 -0
  134. package/money2/model/options/DepositTransactionOptions.ts +21 -0
  135. package/money2/model/options/FakeSettingOptions.d.ts +2 -0
  136. package/money2/model/options/FakeSettingOptions.js +3 -0
  137. package/money2/model/options/FakeSettingOptions.js.map +1 -0
  138. package/money2/model/options/FakeSettingOptions.ts +20 -0
  139. package/money2/model/options/GooglePlayContentOptions.d.ts +3 -0
  140. package/money2/model/options/GooglePlayContentOptions.js +18 -0
  141. package/money2/model/options/GooglePlayContentOptions.js.map +1 -0
  142. package/money2/model/options/GooglePlayContentOptions.ts +20 -0
  143. package/money2/model/options/GooglePlaySettingOptions.d.ts +4 -0
  144. package/money2/model/options/GooglePlaySettingOptions.js +18 -0
  145. package/money2/model/options/GooglePlaySettingOptions.js.map +1 -0
  146. package/money2/model/options/GooglePlaySettingOptions.ts +21 -0
  147. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.d.ts +3 -0
  148. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js +18 -0
  149. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js.map +1 -0
  150. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.ts +20 -0
  151. package/money2/model/options/NamespaceOptions.d.ts +7 -0
  152. package/money2/model/options/NamespaceOptions.js +3 -0
  153. package/money2/model/options/NamespaceOptions.js.map +1 -0
  154. package/money2/model/options/NamespaceOptions.ts +26 -0
  155. package/money2/model/options/PlatformSettingOptions.d.ts +8 -0
  156. package/money2/model/options/PlatformSettingOptions.js +3 -0
  157. package/money2/model/options/PlatformSettingOptions.js.map +1 -0
  158. package/money2/model/options/PlatformSettingOptions.ts +25 -0
  159. package/money2/model/options/ReceiptOptions.d.ts +2 -0
  160. package/money2/model/options/ReceiptOptions.js +3 -0
  161. package/money2/model/options/ReceiptOptions.js.map +1 -0
  162. package/money2/model/options/ReceiptOptions.ts +20 -0
  163. package/money2/model/options/StoreContentModelOptions.d.ts +7 -0
  164. package/money2/model/options/StoreContentModelOptions.js +3 -0
  165. package/money2/model/options/StoreContentModelOptions.js.map +1 -0
  166. package/money2/model/options/StoreContentModelOptions.ts +24 -0
  167. package/money2/model/options/UnusedBalanceOptions.d.ts +3 -0
  168. package/money2/model/options/UnusedBalanceOptions.js +18 -0
  169. package/money2/model/options/UnusedBalanceOptions.js.map +1 -0
  170. package/money2/model/options/UnusedBalanceOptions.ts +20 -0
  171. package/money2/model/options/VerifyReceiptEventOptions.d.ts +6 -0
  172. package/money2/model/options/VerifyReceiptEventOptions.js +3 -0
  173. package/money2/model/options/VerifyReceiptEventOptions.js.map +1 -0
  174. package/money2/model/options/VerifyReceiptEventOptions.ts +24 -0
  175. package/money2/model/options/WalletSummaryOptions.d.ts +2 -0
  176. package/money2/model/options/WalletSummaryOptions.js +18 -0
  177. package/money2/model/options/WalletSummaryOptions.js.map +1 -0
  178. package/money2/model/options/WalletSummaryOptions.ts +19 -0
  179. package/money2/model/options/WithdrawEventOptions.d.ts +4 -0
  180. package/money2/model/options/WithdrawEventOptions.js +3 -0
  181. package/money2/model/options/WithdrawEventOptions.js.map +1 -0
  182. package/money2/model/options/WithdrawEventOptions.ts +22 -0
  183. package/money2/ref/DailyTransactionHistoryRef.d.ts +9 -0
  184. package/money2/ref/DailyTransactionHistoryRef.js +49 -0
  185. package/money2/ref/DailyTransactionHistoryRef.js.map +1 -0
  186. package/money2/ref/DailyTransactionHistoryRef.ts +69 -0
  187. package/money2/ref/NamespaceRef.d.ts +15 -0
  188. package/money2/ref/NamespaceRef.js +52 -0
  189. package/money2/ref/NamespaceRef.js.map +1 -0
  190. package/money2/ref/NamespaceRef.ts +105 -0
  191. package/money2/ref/StoreContentModelRef.d.ts +6 -0
  192. package/money2/ref/StoreContentModelRef.js +39 -0
  193. package/money2/ref/StoreContentModelRef.js.map +1 -0
  194. package/money2/ref/StoreContentModelRef.ts +53 -0
  195. package/money2/ref/UnusedBalanceRef.d.ts +6 -0
  196. package/money2/ref/UnusedBalanceRef.js +38 -0
  197. package/money2/ref/UnusedBalanceRef.js.map +1 -0
  198. package/money2/ref/UnusedBalanceRef.ts +52 -0
  199. package/money2/ref/index.d.ts +5 -0
  200. package/money2/ref/index.js +28 -0
  201. package/money2/ref/index.js.map +1 -0
  202. package/money2/ref/index.ts +26 -0
  203. package/money2/stampSheet/DepositByUserId.d.ts +14 -0
  204. package/money2/stampSheet/DepositByUserId.js +53 -0
  205. package/money2/stampSheet/DepositByUserId.js.map +1 -0
  206. package/money2/stampSheet/DepositByUserId.ts +71 -0
  207. package/money2/stampSheet/VerifyReceiptByUserId.d.ts +14 -0
  208. package/money2/stampSheet/VerifyReceiptByUserId.js +54 -0
  209. package/money2/stampSheet/VerifyReceiptByUserId.js.map +1 -0
  210. package/money2/stampSheet/VerifyReceiptByUserId.ts +71 -0
  211. package/money2/stampSheet/WithdrawByUserId.d.ts +14 -0
  212. package/money2/stampSheet/WithdrawByUserId.js +58 -0
  213. package/money2/stampSheet/WithdrawByUserId.js.map +1 -0
  214. package/money2/stampSheet/WithdrawByUserId.ts +75 -0
  215. package/money2/stampSheet/index.d.ts +4 -0
  216. package/money2/stampSheet/index.js +26 -0
  217. package/money2/stampSheet/index.js.map +1 -0
  218. package/money2/stampSheet/index.ts +24 -0
  219. package/package.json +1 -1
@@ -0,0 +1,105 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {GetAttr, Join} from "../../core/func";
18
+ import DailyTransactionHistoryRef from "./DailyTransactionHistoryRef";
19
+ import StoreContentModelRef from "./StoreContentModelRef";
20
+ import UnusedBalanceRef from "./UnusedBalanceRef";
21
+ import DepositByUserId from "../stampSheet/DepositByUserId";
22
+ import DepositTransaction from "../model/DepositTransaction";
23
+ import WithdrawByUserId from "../stampSheet/WithdrawByUserId";
24
+ import VerifyReceiptByUserId from "../stampSheet/VerifyReceiptByUserId";
25
+ import Receipt from "../model/Receipt";
26
+
27
+ export default class NamespaceRef {
28
+ private readonly namespaceName: string;
29
+
30
+ public constructor(
31
+ namespaceName: string,
32
+ ) {
33
+ this.namespaceName = namespaceName;
34
+ }
35
+
36
+ public storeContentModel(
37
+ contentName: string,
38
+ ): StoreContentModelRef {
39
+ return new StoreContentModelRef(
40
+ this.namespaceName,
41
+ contentName,
42
+ );
43
+ }
44
+
45
+ public deposit(
46
+ slot: number,
47
+ depositTransactions: DepositTransaction[],
48
+ userId: string = "#{userId}",
49
+ ): DepositByUserId {
50
+ return new DepositByUserId(
51
+ this.namespaceName,
52
+ slot,
53
+ depositTransactions,
54
+ userId,
55
+ );
56
+ }
57
+
58
+ public withdraw(
59
+ slot: number,
60
+ withdrawCount: number,
61
+ paidOnly: boolean|null = null,
62
+ userId: string = "#{userId}",
63
+ ): WithdrawByUserId {
64
+ return new WithdrawByUserId(
65
+ this.namespaceName,
66
+ slot,
67
+ withdrawCount,
68
+ paidOnly,
69
+ userId,
70
+ );
71
+ }
72
+
73
+ public verifyReceipt(
74
+ contentName: string,
75
+ receipt: Receipt,
76
+ userId: string = "#{userId}",
77
+ ): VerifyReceiptByUserId {
78
+ return new VerifyReceiptByUserId(
79
+ this.namespaceName,
80
+ contentName,
81
+ receipt,
82
+ userId,
83
+ );
84
+ }
85
+
86
+ public grn(
87
+ ): string {
88
+ return new Join(
89
+ ":",
90
+ [
91
+ "grn",
92
+ "gs2",
93
+ GetAttr.region(
94
+ ).str(
95
+ ),
96
+ GetAttr.ownerId(
97
+ ).str(
98
+ ),
99
+ "money2",
100
+ this.namespaceName,
101
+ ],
102
+ ).str(
103
+ );
104
+ }
105
+ }
@@ -0,0 +1,6 @@
1
+ export default class StoreContentModelRef {
2
+ private readonly namespaceName;
3
+ private readonly contentName;
4
+ constructor(namespaceName: string, contentName: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const func_1 = require("../../core/func");
19
+ class StoreContentModelRef {
20
+ constructor(namespaceName, contentName) {
21
+ this.namespaceName = namespaceName;
22
+ this.contentName = contentName;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "money2",
31
+ this.namespaceName,
32
+ "model",
33
+ "content",
34
+ this.contentName,
35
+ ]).str();
36
+ }
37
+ }
38
+ exports.default = StoreContentModelRef;
39
+ //# sourceMappingURL=StoreContentModelRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreContentModelRef.js","sourceRoot":"","sources":["StoreContentModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,oBAAoB;IAIrC,YACI,aAAqB,EACrB,WAAmB;QAEnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,SAAS;YACT,IAAI,CAAC,WAAW;SACnB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlCD,uCAkCC"}
@@ -0,0 +1,53 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class StoreContentModelRef {
20
+ private readonly namespaceName: string;
21
+ private readonly contentName: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ contentName: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.contentName = contentName;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "money2",
45
+ this.namespaceName,
46
+ "model",
47
+ "content",
48
+ this.contentName,
49
+ ],
50
+ ).str(
51
+ );
52
+ }
53
+ }
@@ -0,0 +1,6 @@
1
+ export default class UnusedBalanceRef {
2
+ private readonly namespaceName;
3
+ private readonly currency;
4
+ constructor(namespaceName: string, currency: string);
5
+ grn(): string;
6
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /*
3
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
+ * Reserved.
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License").
7
+ * You may not use this file except in compliance with the License.
8
+ * A copy of the License is located at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * or in the "license" file accompanying this file. This file is distributed
13
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
14
+ * express or implied. See the License for the specific language governing
15
+ * permissions and limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const func_1 = require("../../core/func");
19
+ class UnusedBalanceRef {
20
+ constructor(namespaceName, currency) {
21
+ this.namespaceName = namespaceName;
22
+ this.currency = currency;
23
+ }
24
+ grn() {
25
+ return new func_1.Join(":", [
26
+ "grn",
27
+ "gs2",
28
+ func_1.GetAttr.region().str(),
29
+ func_1.GetAttr.ownerId().str(),
30
+ "money2",
31
+ this.namespaceName,
32
+ "unused",
33
+ this.currency,
34
+ ]).str();
35
+ }
36
+ }
37
+ exports.default = UnusedBalanceRef;
38
+ //# sourceMappingURL=UnusedBalanceRef.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnusedBalanceRef.js","sourceRoot":"","sources":["UnusedBalanceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,gBAAgB;IAIjC,YACI,aAAqB,EACrB,QAAgB;QAEhB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC7B,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,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,QAAQ;YACR,IAAI,CAAC,QAAQ;SAChB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,mCAiCC"}
@@ -0,0 +1,52 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {GetAttr, Join} from "../../core/func";
18
+
19
+ export default class UnusedBalanceRef {
20
+ private readonly namespaceName: string;
21
+ private readonly currency: string;
22
+
23
+ public constructor(
24
+ namespaceName: string,
25
+ currency: string,
26
+ ) {
27
+ this.namespaceName = namespaceName;
28
+ this.currency = currency;
29
+ }
30
+
31
+ public grn(
32
+ ): string {
33
+ return new Join(
34
+ ":",
35
+ [
36
+ "grn",
37
+ "gs2",
38
+ GetAttr.region(
39
+ ).str(
40
+ ),
41
+ GetAttr.ownerId(
42
+ ).str(
43
+ ),
44
+ "money2",
45
+ this.namespaceName,
46
+ "unused",
47
+ this.currency,
48
+ ],
49
+ ).str(
50
+ );
51
+ }
52
+ }
@@ -0,0 +1,5 @@
1
+ import NamespaceRef from "./NamespaceRef";
2
+ import StoreContentModelRef from "./StoreContentModelRef";
3
+ import DailyTransactionHistoryRef from "./DailyTransactionHistoryRef";
4
+ import UnusedBalanceRef from "./UnusedBalanceRef";
5
+ export { NamespaceRef, StoreContentModelRef, DailyTransactionHistoryRef, UnusedBalanceRef, };
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnusedBalanceRef = exports.DailyTransactionHistoryRef = exports.StoreContentModelRef = exports.NamespaceRef = void 0;
4
+ const tslib_1 = require("tslib");
5
+ /*
6
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
7
+ * Reserved.
8
+ *
9
+ * Licensed under the Apache License, Version 2.0 (the "License").
10
+ * You may not use this file except in compliance with the License.
11
+ * A copy of the License is located at
12
+ *
13
+ * http://www.apache.org/licenses/LICENSE-2.0
14
+ *
15
+ * or in the "license" file accompanying this file. This file is distributed
16
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
17
+ * express or implied. See the License for the specific language governing
18
+ * permissions and limitations under the License.
19
+ */
20
+ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
21
+ exports.NamespaceRef = NamespaceRef_1.default;
22
+ const StoreContentModelRef_1 = tslib_1.__importDefault(require("./StoreContentModelRef"));
23
+ exports.StoreContentModelRef = StoreContentModelRef_1.default;
24
+ const DailyTransactionHistoryRef_1 = tslib_1.__importDefault(require("./DailyTransactionHistoryRef"));
25
+ exports.DailyTransactionHistoryRef = DailyTransactionHistoryRef_1.default;
26
+ const UnusedBalanceRef_1 = tslib_1.__importDefault(require("./UnusedBalanceRef"));
27
+ exports.UnusedBalanceRef = UnusedBalanceRef_1.default;
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAMtC,uBANG,sBAAY,CAMH;AALhB,0FAA0D;AAMtD,+BANG,8BAAoB,CAMH;AALxB,sGAAsE;AAMlE,qCANG,oCAA0B,CAMH;AAL9B,kFAAkD;AAM9C,2BANG,0BAAgB,CAMH"}
@@ -0,0 +1,26 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import NamespaceRef from "./NamespaceRef";
17
+ import StoreContentModelRef from "./StoreContentModelRef";
18
+ import DailyTransactionHistoryRef from "./DailyTransactionHistoryRef";
19
+ import UnusedBalanceRef from "./UnusedBalanceRef";
20
+
21
+ export {
22
+ NamespaceRef,
23
+ StoreContentModelRef,
24
+ DailyTransactionHistoryRef,
25
+ UnusedBalanceRef,
26
+ }
@@ -0,0 +1,14 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ import DepositTransaction from "../model/DepositTransaction";
3
+ export default class DepositByUserId extends AcquireAction {
4
+ private readonly namespaceName;
5
+ private readonly userId;
6
+ private readonly slot;
7
+ private readonly depositTransactions;
8
+ private readonly timeOffsetToken;
9
+ constructor(namespaceName: string, slot: number, depositTransactions: DepositTransaction[], timeOffsetToken?: string | null, userId?: string);
10
+ request(): {
11
+ [name: string]: any;
12
+ };
13
+ action(): string;
14
+ }
@@ -0,0 +1,53 @@
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 DepositByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, slot, depositTransactions, timeOffsetToken = null, userId = "#{userId}") {
21
+ super();
22
+ this.timeOffsetToken = null;
23
+ this.namespaceName = namespaceName;
24
+ this.slot = slot;
25
+ this.depositTransactions = depositTransactions;
26
+ this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
27
+ this.userId = userId;
28
+ }
29
+ request() {
30
+ let properties = {};
31
+ if (this.namespaceName != null) {
32
+ properties["namespaceName"] = this.namespaceName;
33
+ }
34
+ if (this.userId != null) {
35
+ properties["userId"] = this.userId;
36
+ }
37
+ if (this.slot != null) {
38
+ properties["slot"] = this.slot;
39
+ }
40
+ if (this.depositTransactions != null) {
41
+ properties["depositTransactions"] = this.depositTransactions.map(v => v.properties());
42
+ }
43
+ if (this.timeOffsetToken != null) {
44
+ properties["timeOffsetToken"] = this.timeOffsetToken;
45
+ }
46
+ return properties;
47
+ }
48
+ action() {
49
+ return "Gs2Money2:DepositByUserId";
50
+ }
51
+ }
52
+ exports.default = DepositByUserId;
53
+ //# sourceMappingURL=DepositByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositByUserId.js","sourceRoot":"","sources":["DepositByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,eAAgB,SAAQ,qBAAa;IAQtD,YACI,aAAqB,EACrB,IAAY,EACZ,mBAAyC,EACzC,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAVK,oBAAe,GAAgB,IAAI,CAAC;QAYjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC7E,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,2BAA2B,CAAC;IACvC,CAAC;CACJ;AAnDD,kCAmDC"}
@@ -0,0 +1,71 @@
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
+ import DepositTransaction from "../model/DepositTransaction";
19
+
20
+ export default class DepositByUserId extends AcquireAction {
21
+ private readonly namespaceName: string;
22
+ private readonly userId: string;
23
+ private readonly slot: number;
24
+ private readonly depositTransactions: DepositTransaction[];
25
+ private readonly timeOffsetToken: string|null = null;
26
+
27
+
28
+ public constructor(
29
+ namespaceName: string,
30
+ slot: number,
31
+ depositTransactions: DepositTransaction[],
32
+ timeOffsetToken: string|null = null,
33
+ userId: string = "#{userId}",
34
+ ) {
35
+ super();
36
+
37
+ this.namespaceName = namespaceName;
38
+ this.slot = slot;
39
+ this.depositTransactions = depositTransactions;
40
+ this.timeOffsetToken = timeOffsetToken ?? null;
41
+ this.userId = userId;
42
+ }
43
+
44
+ public request(
45
+ ): {[name: string]: any} {
46
+ let properties: {[name: string]: any} = {};
47
+
48
+ if (this.namespaceName != null) {
49
+ properties["namespaceName"] = this.namespaceName;
50
+ }
51
+ if (this.userId != null) {
52
+ properties["userId"] = this.userId;
53
+ }
54
+ if (this.slot != null) {
55
+ properties["slot"] = this.slot;
56
+ }
57
+ if (this.depositTransactions != null) {
58
+ properties["depositTransactions"] = this.depositTransactions.map(v => v.properties(
59
+ ));
60
+ }
61
+ if (this.timeOffsetToken != null) {
62
+ properties["timeOffsetToken"] = this.timeOffsetToken;
63
+ }
64
+
65
+ return properties;
66
+ }
67
+
68
+ public action(): string {
69
+ return "Gs2Money2:DepositByUserId";
70
+ }
71
+ }
@@ -0,0 +1,14 @@
1
+ import { ConsumeAction } from "../../core/model";
2
+ import Receipt from "../model/Receipt";
3
+ export default class VerifyReceiptByUserId extends ConsumeAction {
4
+ private readonly namespaceName;
5
+ private readonly userId;
6
+ private readonly contentName;
7
+ private readonly receipt;
8
+ private readonly timeOffsetToken;
9
+ constructor(namespaceName: string, contentName: string, receipt: Receipt, timeOffsetToken?: string | null, userId?: string);
10
+ request(): {
11
+ [name: string]: any;
12
+ };
13
+ action(): string;
14
+ }
@@ -0,0 +1,54 @@
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 VerifyReceiptByUserId extends model_1.ConsumeAction {
20
+ constructor(namespaceName, contentName, receipt, timeOffsetToken = null, userId = "#{userId}") {
21
+ super();
22
+ this.timeOffsetToken = null;
23
+ this.namespaceName = namespaceName;
24
+ this.contentName = contentName;
25
+ this.receipt = receipt;
26
+ this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
27
+ this.userId = userId;
28
+ }
29
+ request() {
30
+ var _a;
31
+ let properties = {};
32
+ if (this.namespaceName != null) {
33
+ properties["namespaceName"] = this.namespaceName;
34
+ }
35
+ if (this.userId != null) {
36
+ properties["userId"] = this.userId;
37
+ }
38
+ if (this.contentName != null) {
39
+ properties["contentName"] = this.contentName;
40
+ }
41
+ if (this.receipt != null) {
42
+ properties["receipt"] = (_a = this.receipt) === null || _a === void 0 ? void 0 : _a.properties();
43
+ }
44
+ if (this.timeOffsetToken != null) {
45
+ properties["timeOffsetToken"] = this.timeOffsetToken;
46
+ }
47
+ return properties;
48
+ }
49
+ action() {
50
+ return "Gs2Money2:VerifyReceiptByUserId";
51
+ }
52
+ }
53
+ exports.default = VerifyReceiptByUserId;
54
+ //# sourceMappingURL=VerifyReceiptByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VerifyReceiptByUserId.js","sourceRoot":"","sources":["VerifyReceiptByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,qBAAsB,SAAQ,qBAAa;IAQ5D,YACI,aAAqB,EACrB,WAAmB,EACnB,OAAgB,EAChB,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAVK,oBAAe,GAAgB,IAAI,CAAC;QAYjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,MAAA,IAAI,CAAC,OAAO,0CAAE,UAAU,EAC/C,CAAC;SACL;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,iCAAiC,CAAC;IAC7C,CAAC;CACJ;AAnDD,wCAmDC"}
@@ -0,0 +1,71 @@
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
+ import Receipt from "../model/Receipt";
19
+
20
+ export default class VerifyReceiptByUserId extends ConsumeAction {
21
+ private readonly namespaceName: string;
22
+ private readonly userId: string;
23
+ private readonly contentName: string;
24
+ private readonly receipt: Receipt;
25
+ private readonly timeOffsetToken: string|null = null;
26
+
27
+
28
+ public constructor(
29
+ namespaceName: string,
30
+ contentName: string,
31
+ receipt: Receipt,
32
+ timeOffsetToken: string|null = null,
33
+ userId: string = "#{userId}",
34
+ ) {
35
+ super();
36
+
37
+ this.namespaceName = namespaceName;
38
+ this.contentName = contentName;
39
+ this.receipt = receipt;
40
+ this.timeOffsetToken = timeOffsetToken ?? null;
41
+ this.userId = userId;
42
+ }
43
+
44
+ public request(
45
+ ): {[name: string]: any} {
46
+ let properties: {[name: string]: any} = {};
47
+
48
+ if (this.namespaceName != null) {
49
+ properties["namespaceName"] = this.namespaceName;
50
+ }
51
+ if (this.userId != null) {
52
+ properties["userId"] = this.userId;
53
+ }
54
+ if (this.contentName != null) {
55
+ properties["contentName"] = this.contentName;
56
+ }
57
+ if (this.receipt != null) {
58
+ properties["receipt"] = this.receipt?.properties(
59
+ );
60
+ }
61
+ if (this.timeOffsetToken != null) {
62
+ properties["timeOffsetToken"] = this.timeOffsetToken;
63
+ }
64
+
65
+ return properties;
66
+ }
67
+
68
+ public action(): string {
69
+ return "Gs2Money2:VerifyReceiptByUserId";
70
+ }
71
+ }