gs2-cdk 1.0.65 → 1.0.67

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 (199) hide show
  1. package/buff/model/BuffEntryModel.d.ts +3 -3
  2. package/buff/model/BuffEntryModel.js +7 -7
  3. package/buff/model/BuffEntryModel.js.map +1 -1
  4. package/buff/model/BuffEntryModel.ts +9 -9
  5. package/buff/model/index.d.ts +2 -2
  6. package/buff/model/index.js +3 -3
  7. package/buff/model/index.ts +2 -2
  8. package/buff/model/options/BuffEntryModelOptions.ts +1 -1
  9. package/buff/model/options/BuffEntryModelTargetTypeIsActionOptions.ts +1 -1
  10. package/buff/model/options/BuffEntryModelTargetTypeIsModelOptions.ts +1 -1
  11. package/money2/index.d.ts +12 -0
  12. package/money2/index.js +32 -0
  13. package/money2/index.js.map +1 -0
  14. package/money2/index.ts +36 -0
  15. package/money2/model/AppleAppStoreContent.d.ts +8 -0
  16. package/money2/model/AppleAppStoreContent.js +18 -0
  17. package/money2/model/AppleAppStoreContent.js.map +1 -0
  18. package/money2/model/AppleAppStoreContent.ts +37 -0
  19. package/money2/model/AppleAppStoreSetting.d.ts +8 -0
  20. package/money2/model/AppleAppStoreSetting.js +18 -0
  21. package/money2/model/AppleAppStoreSetting.js.map +1 -0
  22. package/money2/model/AppleAppStoreSetting.ts +37 -0
  23. package/money2/model/AppleAppStoreVerifyReceiptEvent.d.ts +9 -0
  24. package/money2/model/AppleAppStoreVerifyReceiptEvent.js +16 -0
  25. package/money2/model/AppleAppStoreVerifyReceiptEvent.js.map +1 -0
  26. package/money2/model/AppleAppStoreVerifyReceiptEvent.ts +39 -0
  27. package/money2/model/CurrentMasterData.d.ts +13 -0
  28. package/money2/model/CurrentMasterData.js +50 -0
  29. package/money2/model/CurrentMasterData.js.map +1 -0
  30. package/money2/model/CurrentMasterData.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/VerifyReceiptEvent.d.ts +12 -0
  72. package/money2/model/VerifyReceiptEvent.js +32 -0
  73. package/money2/model/VerifyReceiptEvent.js.map +1 -0
  74. package/money2/model/VerifyReceiptEvent.ts +59 -0
  75. package/money2/model/WalletSummary.d.ts +10 -0
  76. package/money2/model/WalletSummary.js +24 -0
  77. package/money2/model/WalletSummary.js.map +1 -0
  78. package/money2/model/WalletSummary.ts +50 -0
  79. package/money2/model/WithdrawEvent.d.ts +11 -0
  80. package/money2/model/WithdrawEvent.js +27 -0
  81. package/money2/model/WithdrawEvent.js.map +1 -0
  82. package/money2/model/WithdrawEvent.ts +53 -0
  83. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.d.ts +5 -0
  84. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js +23 -0
  85. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js.map +1 -0
  86. package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.ts +23 -0
  87. package/money2/model/enum/FakeSettingAcceptFakeReceipt.d.ts +5 -0
  88. package/money2/model/enum/FakeSettingAcceptFakeReceipt.js +23 -0
  89. package/money2/model/enum/FakeSettingAcceptFakeReceipt.js.map +1 -0
  90. package/money2/model/enum/FakeSettingAcceptFakeReceipt.ts +23 -0
  91. package/money2/model/enum/NamespaceCurrencyUsagePriority.d.ts +5 -0
  92. package/money2/model/enum/NamespaceCurrencyUsagePriority.js +23 -0
  93. package/money2/model/enum/NamespaceCurrencyUsagePriority.js.map +1 -0
  94. package/money2/model/enum/NamespaceCurrencyUsagePriority.ts +23 -0
  95. package/money2/model/enum/ReceiptStore.d.ts +6 -0
  96. package/money2/model/enum/ReceiptStore.js +24 -0
  97. package/money2/model/enum/ReceiptStore.js.map +1 -0
  98. package/money2/model/enum/ReceiptStore.ts +24 -0
  99. package/money2/model/enum/VerifyReceiptEventPlatform.d.ts +6 -0
  100. package/money2/model/enum/VerifyReceiptEventPlatform.js +24 -0
  101. package/money2/model/enum/VerifyReceiptEventPlatform.js.map +1 -0
  102. package/money2/model/enum/VerifyReceiptEventPlatform.ts +24 -0
  103. package/money2/model/index.d.ts +39 -0
  104. package/money2/model/index.js +64 -0
  105. package/money2/model/index.js.map +1 -0
  106. package/money2/model/index.ts +94 -0
  107. package/money2/model/options/AppleAppStoreContentOptions.d.ts +3 -0
  108. package/money2/model/options/AppleAppStoreContentOptions.js +18 -0
  109. package/money2/model/options/AppleAppStoreContentOptions.js.map +1 -0
  110. package/money2/model/options/AppleAppStoreContentOptions.ts +20 -0
  111. package/money2/model/options/AppleAppStoreSettingOptions.d.ts +3 -0
  112. package/money2/model/options/AppleAppStoreSettingOptions.js +18 -0
  113. package/money2/model/options/AppleAppStoreSettingOptions.js.map +1 -0
  114. package/money2/model/options/AppleAppStoreSettingOptions.ts +20 -0
  115. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.d.ts +2 -0
  116. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js +3 -0
  117. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js.map +1 -0
  118. package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.ts +20 -0
  119. package/money2/model/options/DepositEventOptions.d.ts +4 -0
  120. package/money2/model/options/DepositEventOptions.js +3 -0
  121. package/money2/model/options/DepositEventOptions.js.map +1 -0
  122. package/money2/model/options/DepositEventOptions.ts +22 -0
  123. package/money2/model/options/DepositTransactionOptions.d.ts +4 -0
  124. package/money2/model/options/DepositTransactionOptions.js +18 -0
  125. package/money2/model/options/DepositTransactionOptions.js.map +1 -0
  126. package/money2/model/options/DepositTransactionOptions.ts +21 -0
  127. package/money2/model/options/FakeSettingOptions.d.ts +2 -0
  128. package/money2/model/options/FakeSettingOptions.js +3 -0
  129. package/money2/model/options/FakeSettingOptions.js.map +1 -0
  130. package/money2/model/options/FakeSettingOptions.ts +20 -0
  131. package/money2/model/options/GooglePlayContentOptions.d.ts +3 -0
  132. package/money2/model/options/GooglePlayContentOptions.js +18 -0
  133. package/money2/model/options/GooglePlayContentOptions.js.map +1 -0
  134. package/money2/model/options/GooglePlayContentOptions.ts +20 -0
  135. package/money2/model/options/GooglePlaySettingOptions.d.ts +4 -0
  136. package/money2/model/options/GooglePlaySettingOptions.js +18 -0
  137. package/money2/model/options/GooglePlaySettingOptions.js.map +1 -0
  138. package/money2/model/options/GooglePlaySettingOptions.ts +21 -0
  139. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.d.ts +3 -0
  140. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js +18 -0
  141. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js.map +1 -0
  142. package/money2/model/options/GooglePlayVerifyReceiptEventOptions.ts +20 -0
  143. package/money2/model/options/NamespaceOptions.d.ts +7 -0
  144. package/money2/model/options/NamespaceOptions.js +3 -0
  145. package/money2/model/options/NamespaceOptions.js.map +1 -0
  146. package/money2/model/options/NamespaceOptions.ts +26 -0
  147. package/money2/model/options/PlatformSettingOptions.d.ts +8 -0
  148. package/money2/model/options/PlatformSettingOptions.js +3 -0
  149. package/money2/model/options/PlatformSettingOptions.js.map +1 -0
  150. package/money2/model/options/PlatformSettingOptions.ts +25 -0
  151. package/money2/model/options/ReceiptOptions.d.ts +2 -0
  152. package/money2/model/options/ReceiptOptions.js +3 -0
  153. package/money2/model/options/ReceiptOptions.js.map +1 -0
  154. package/money2/model/options/ReceiptOptions.ts +20 -0
  155. package/money2/model/options/StoreContentModelOptions.d.ts +7 -0
  156. package/money2/model/options/StoreContentModelOptions.js +3 -0
  157. package/money2/model/options/StoreContentModelOptions.js.map +1 -0
  158. package/money2/model/options/StoreContentModelOptions.ts +24 -0
  159. package/money2/model/options/VerifyReceiptEventOptions.d.ts +6 -0
  160. package/money2/model/options/VerifyReceiptEventOptions.js +3 -0
  161. package/money2/model/options/VerifyReceiptEventOptions.js.map +1 -0
  162. package/money2/model/options/VerifyReceiptEventOptions.ts +24 -0
  163. package/money2/model/options/WalletSummaryOptions.d.ts +2 -0
  164. package/money2/model/options/WalletSummaryOptions.js +18 -0
  165. package/money2/model/options/WalletSummaryOptions.js.map +1 -0
  166. package/money2/model/options/WalletSummaryOptions.ts +19 -0
  167. package/money2/model/options/WithdrawEventOptions.d.ts +4 -0
  168. package/money2/model/options/WithdrawEventOptions.js +3 -0
  169. package/money2/model/options/WithdrawEventOptions.js.map +1 -0
  170. package/money2/model/options/WithdrawEventOptions.ts +22 -0
  171. package/money2/ref/NamespaceRef.d.ts +15 -0
  172. package/money2/ref/NamespaceRef.js +52 -0
  173. package/money2/ref/NamespaceRef.js.map +1 -0
  174. package/money2/ref/NamespaceRef.ts +103 -0
  175. package/money2/ref/StoreContentModelRef.d.ts +6 -0
  176. package/money2/ref/StoreContentModelRef.js +39 -0
  177. package/money2/ref/StoreContentModelRef.js.map +1 -0
  178. package/money2/ref/StoreContentModelRef.ts +53 -0
  179. package/money2/ref/index.d.ts +3 -0
  180. package/money2/ref/index.js +24 -0
  181. package/money2/ref/index.js.map +1 -0
  182. package/money2/ref/index.ts +22 -0
  183. package/money2/stampSheet/DepositByUserId.d.ts +14 -0
  184. package/money2/stampSheet/DepositByUserId.js +53 -0
  185. package/money2/stampSheet/DepositByUserId.js.map +1 -0
  186. package/money2/stampSheet/DepositByUserId.ts +71 -0
  187. package/money2/stampSheet/VerifyReceiptByUserId.d.ts +14 -0
  188. package/money2/stampSheet/VerifyReceiptByUserId.js +54 -0
  189. package/money2/stampSheet/VerifyReceiptByUserId.js.map +1 -0
  190. package/money2/stampSheet/VerifyReceiptByUserId.ts +71 -0
  191. package/money2/stampSheet/WithdrawByUserId.d.ts +14 -0
  192. package/money2/stampSheet/WithdrawByUserId.js +58 -0
  193. package/money2/stampSheet/WithdrawByUserId.js.map +1 -0
  194. package/money2/stampSheet/WithdrawByUserId.ts +75 -0
  195. package/money2/stampSheet/index.d.ts +4 -0
  196. package/money2/stampSheet/index.js +26 -0
  197. package/money2/stampSheet/index.js.map +1 -0
  198. package/money2/stampSheet/index.ts +24 -0
  199. package/package.json +1 -1
@@ -0,0 +1,70 @@
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 {CdkResource, Stack} from "../../core/model";
17
+ import StoreContentModel from "./StoreContentModel";
18
+
19
+ export default class CurrentMasterData extends CdkResource {
20
+ private readonly version: string= "2024-06-20";
21
+ private readonly namespaceName: string;
22
+ private readonly storeContentModels: StoreContentModel[];
23
+
24
+ public constructor(
25
+ stack: Stack,
26
+ namespaceName: string,
27
+ storeContentModels: StoreContentModel[],
28
+ ) {
29
+ super(
30
+ "Money2_CurrentModelMaster_" + namespaceName
31
+ );
32
+
33
+ this.namespaceName = namespaceName;
34
+ this.storeContentModels = storeContentModels;
35
+ stack.addResource(
36
+ this,
37
+ );
38
+ }
39
+
40
+ public alternateKeys(
41
+ ) {
42
+ return this.namespaceName;
43
+ }
44
+
45
+ public resourceType(
46
+ ): string {
47
+ return "GS2::Money2::CurrentModelMaster";
48
+ }
49
+
50
+ public properties(
51
+ ): {[name: string]: any} {
52
+ let properties: {[name: string]: any} = {};
53
+ let settings: {[name: string]: any} = {};
54
+
55
+ settings["version"] = this.version
56
+ if (this.storeContentModels != null) {
57
+ settings["storeContentModels"] = this.storeContentModels.map(v => v.properties(
58
+ ));
59
+ }
60
+
61
+ if (this.namespaceName != null) {
62
+ properties["NamespaceName"] = this.namespaceName;
63
+ }
64
+ if (settings != null) {
65
+ properties["Settings"] = settings;
66
+ }
67
+
68
+ return properties;
69
+ }
70
+ }
@@ -0,0 +1,11 @@
1
+ import WalletSummary from "./WalletSummary";
2
+ import { DepositEventOptions } from "./options/DepositEventOptions";
3
+ export default class DepositEvent {
4
+ private readonly slot;
5
+ private readonly status;
6
+ private readonly depositTransactions;
7
+ constructor(slot: number, status: WalletSummary, options?: DepositEventOptions | null);
8
+ properties(): {
9
+ [name: string]: any;
10
+ };
11
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class DepositEvent {
4
+ constructor(slot, status, options = null) {
5
+ var _a;
6
+ this.depositTransactions = null;
7
+ this.slot = slot;
8
+ this.status = status;
9
+ this.depositTransactions = (_a = options === null || options === void 0 ? void 0 : options.depositTransactions) !== null && _a !== void 0 ? _a : null;
10
+ }
11
+ properties() {
12
+ var _a;
13
+ let properties = {};
14
+ if (this.slot != null) {
15
+ properties["slot"] = this.slot;
16
+ }
17
+ if (this.depositTransactions != null) {
18
+ properties["depositTransactions"] = this.depositTransactions.map(v => v.properties());
19
+ }
20
+ if (this.status != null) {
21
+ properties["status"] = (_a = this.status) === null || _a === void 0 ? void 0 : _a.properties();
22
+ }
23
+ return properties;
24
+ }
25
+ }
26
+ exports.default = DepositEvent;
27
+ //# sourceMappingURL=DepositEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositEvent.js","sourceRoot":"","sources":["DepositEvent.ts"],"names":[],"mappings":";;AAmBA,MAAqB,YAAY;IAK7B,YACI,IAAY,EACZ,MAAqB,EACrB,UAAoC,IAAI;;QAL3B,wBAAmB,GAA8B,IAAI,CAAC;QAOnE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,mBAAmB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,mBAAmB,mCAAI,IAAI,CAAC;IACpE,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,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,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAA,IAAI,CAAC,MAAM,0CAAE,UAAU,EAC7C,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAjCD,+BAiCC"}
@@ -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
+ import DepositTransaction from "./DepositTransaction";
17
+ import WalletSummary from "./WalletSummary";
18
+ import { DepositEventOptions } from "./options/DepositEventOptions";
19
+
20
+ export default class DepositEvent {
21
+ private readonly slot: number;
22
+ private readonly status: WalletSummary;
23
+ private readonly depositTransactions: DepositTransaction[]|null = null;
24
+
25
+ public constructor(
26
+ slot: number,
27
+ status: WalletSummary,
28
+ options: DepositEventOptions|null = null,
29
+ ) {
30
+ this.slot = slot;
31
+ this.status = status;
32
+ this.depositTransactions = options?.depositTransactions ?? null;
33
+ }
34
+
35
+ public properties(
36
+ ): {[name: string]: any} {
37
+ let properties: {[name: string]: any} = {};
38
+
39
+ if (this.slot != null) {
40
+ properties["slot"] = this.slot;
41
+ }
42
+ if (this.depositTransactions != null) {
43
+ properties["depositTransactions"] = this.depositTransactions.map(v => v.properties(
44
+ ));
45
+ }
46
+ if (this.status != null) {
47
+ properties["status"] = this.status?.properties(
48
+ );
49
+ }
50
+
51
+ return properties;
52
+ }
53
+ }
@@ -0,0 +1,11 @@
1
+ import { DepositTransactionOptions } from "./options/DepositTransactionOptions";
2
+ export default class DepositTransaction {
3
+ private readonly price;
4
+ private readonly count;
5
+ private readonly currency;
6
+ private readonly depositedAt;
7
+ constructor(price: number, count: number, options?: DepositTransactionOptions | null);
8
+ properties(): {
9
+ [name: string]: any;
10
+ };
11
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class DepositTransaction {
4
+ constructor(price, count, options = null) {
5
+ var _a, _b;
6
+ this.currency = null;
7
+ this.depositedAt = null;
8
+ this.price = price;
9
+ this.count = count;
10
+ this.currency = (_a = options === null || options === void 0 ? void 0 : options.currency) !== null && _a !== void 0 ? _a : null;
11
+ this.depositedAt = (_b = options === null || options === void 0 ? void 0 : options.depositedAt) !== null && _b !== void 0 ? _b : null;
12
+ }
13
+ properties() {
14
+ let properties = {};
15
+ if (this.price != null) {
16
+ properties["price"] = this.price;
17
+ }
18
+ if (this.currency != null) {
19
+ properties["currency"] = this.currency;
20
+ }
21
+ if (this.count != null) {
22
+ properties["count"] = this.count;
23
+ }
24
+ if (this.depositedAt != null) {
25
+ properties["depositedAt"] = this.depositedAt;
26
+ }
27
+ return properties;
28
+ }
29
+ }
30
+ exports.default = DepositTransaction;
31
+ //# sourceMappingURL=DepositTransaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DepositTransaction.js","sourceRoot":"","sources":["DepositTransaction.ts"],"names":[],"mappings":";;AAiBA,MAAqB,kBAAkB;IAMnC,YACI,KAAa,EACb,KAAa,EACb,UAA0C,IAAI;;QANjC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAgB,IAAI,CAAC;QAO7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;IACpD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApCD,qCAoCC"}
@@ -0,0 +1,54 @@
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 { DepositTransactionOptions } from "./options/DepositTransactionOptions";
17
+
18
+ export default class DepositTransaction {
19
+ private readonly price: number;
20
+ private readonly count: number;
21
+ private readonly currency: string|null = null;
22
+ private readonly depositedAt: number|null = null;
23
+
24
+ public constructor(
25
+ price: number,
26
+ count: number,
27
+ options: DepositTransactionOptions|null = null,
28
+ ) {
29
+ this.price = price;
30
+ this.count = count;
31
+ this.currency = options?.currency ?? null;
32
+ this.depositedAt = options?.depositedAt ?? null;
33
+ }
34
+
35
+ public properties(
36
+ ): {[name: string]: any} {
37
+ let properties: {[name: string]: any} = {};
38
+
39
+ if (this.price != null) {
40
+ properties["price"] = this.price;
41
+ }
42
+ if (this.currency != null) {
43
+ properties["currency"] = this.currency;
44
+ }
45
+ if (this.count != null) {
46
+ properties["count"] = this.count;
47
+ }
48
+ if (this.depositedAt != null) {
49
+ properties["depositedAt"] = this.depositedAt;
50
+ }
51
+
52
+ return properties;
53
+ }
54
+ }
@@ -0,0 +1,9 @@
1
+ import { FakeSettingOptions } from "./options/FakeSettingOptions";
2
+ import { FakeSettingAcceptFakeReceipt } from "./enum/FakeSettingAcceptFakeReceipt";
3
+ export default class FakeSetting {
4
+ private readonly acceptFakeReceipt;
5
+ constructor(acceptFakeReceipt: FakeSettingAcceptFakeReceipt, options?: FakeSettingOptions | null);
6
+ properties(): {
7
+ [name: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class FakeSetting {
4
+ constructor(acceptFakeReceipt, options = null) {
5
+ this.acceptFakeReceipt = acceptFakeReceipt;
6
+ }
7
+ properties() {
8
+ let properties = {};
9
+ if (this.acceptFakeReceipt != null) {
10
+ properties["acceptFakeReceipt"] = this.acceptFakeReceipt;
11
+ }
12
+ return properties;
13
+ }
14
+ }
15
+ exports.default = FakeSetting;
16
+ //# sourceMappingURL=FakeSetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FakeSetting.js","sourceRoot":"","sources":["FakeSetting.ts"],"names":[],"mappings":";;AAkBA,MAAqB,WAAW;IAG5B,YACI,iBAA+C,EAC/C,UAAmC,IAAI;QAEvC,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,EAAE;YAChC,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApBD,8BAoBC"}
@@ -0,0 +1,39 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+ import { FakeSettingOptions } from "./options/FakeSettingOptions";
17
+ import { FakeSettingAcceptFakeReceipt } from "./enum/FakeSettingAcceptFakeReceipt";
18
+
19
+ export default class FakeSetting {
20
+ private readonly acceptFakeReceipt: FakeSettingAcceptFakeReceipt;
21
+
22
+ public constructor(
23
+ acceptFakeReceipt: FakeSettingAcceptFakeReceipt,
24
+ options: FakeSettingOptions|null = null,
25
+ ) {
26
+ this.acceptFakeReceipt = acceptFakeReceipt;
27
+ }
28
+
29
+ public properties(
30
+ ): {[name: string]: any} {
31
+ let properties: {[name: string]: any} = {};
32
+
33
+ if (this.acceptFakeReceipt != null) {
34
+ properties["acceptFakeReceipt"] = this.acceptFakeReceipt;
35
+ }
36
+
37
+ return properties;
38
+ }
39
+ }
@@ -0,0 +1,8 @@
1
+ import { GooglePlayContentOptions } from "./options/GooglePlayContentOptions";
2
+ export default class GooglePlayContent {
3
+ private readonly productId;
4
+ constructor(options?: GooglePlayContentOptions | null);
5
+ properties(): {
6
+ [name: string]: any;
7
+ };
8
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class GooglePlayContent {
4
+ constructor(options = null) {
5
+ var _a;
6
+ this.productId = null;
7
+ this.productId = (_a = options === null || options === void 0 ? void 0 : options.productId) !== null && _a !== void 0 ? _a : null;
8
+ }
9
+ properties() {
10
+ let properties = {};
11
+ if (this.productId != null) {
12
+ properties["productId"] = this.productId;
13
+ }
14
+ return properties;
15
+ }
16
+ }
17
+ exports.default = GooglePlayContent;
18
+ //# sourceMappingURL=GooglePlayContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GooglePlayContent.js","sourceRoot":"","sources":["GooglePlayContent.ts"],"names":[],"mappings":";;AAiBA,MAAqB,iBAAiB;IAGlC,YACI,UAAyC,IAAI;;QAHhC,cAAS,GAAgB,IAAI,CAAC;QAK3C,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,IAAI,CAAC;IAChD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnBD,oCAmBC"}
@@ -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
+ import { GooglePlayContentOptions } from "./options/GooglePlayContentOptions";
17
+
18
+ export default class GooglePlayContent {
19
+ private readonly productId: string|null = null;
20
+
21
+ public constructor(
22
+ options: GooglePlayContentOptions|null = null,
23
+ ) {
24
+ this.productId = options?.productId ?? null;
25
+ }
26
+
27
+ public properties(
28
+ ): {[name: string]: any} {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ if (this.productId != null) {
32
+ properties["productId"] = this.productId;
33
+ }
34
+
35
+ return properties;
36
+ }
37
+ }
@@ -0,0 +1,9 @@
1
+ import { GooglePlaySettingOptions } from "./options/GooglePlaySettingOptions";
2
+ export default class GooglePlaySetting {
3
+ private readonly packageName;
4
+ private readonly publicKey;
5
+ constructor(options?: GooglePlaySettingOptions | null);
6
+ properties(): {
7
+ [name: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class GooglePlaySetting {
4
+ constructor(options = null) {
5
+ var _a, _b;
6
+ this.packageName = null;
7
+ this.publicKey = null;
8
+ this.packageName = (_a = options === null || options === void 0 ? void 0 : options.packageName) !== null && _a !== void 0 ? _a : null;
9
+ this.publicKey = (_b = options === null || options === void 0 ? void 0 : options.publicKey) !== null && _b !== void 0 ? _b : null;
10
+ }
11
+ properties() {
12
+ let properties = {};
13
+ if (this.packageName != null) {
14
+ properties["packageName"] = this.packageName;
15
+ }
16
+ if (this.publicKey != null) {
17
+ properties["publicKey"] = this.publicKey;
18
+ }
19
+ return properties;
20
+ }
21
+ }
22
+ exports.default = GooglePlaySetting;
23
+ //# sourceMappingURL=GooglePlaySetting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GooglePlaySetting.js","sourceRoot":"","sources":["GooglePlaySetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,iBAAiB;IAIlC,YACI,UAAyC,IAAI;;QAJhC,gBAAW,GAAgB,IAAI,CAAC;QAChC,cAAS,GAAgB,IAAI,CAAC;QAK3C,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,IAAI,CAAC;IAChD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAxBD,oCAwBC"}
@@ -0,0 +1,42 @@
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 { GooglePlaySettingOptions } from "./options/GooglePlaySettingOptions";
17
+
18
+ export default class GooglePlaySetting {
19
+ private readonly packageName: string|null = null;
20
+ private readonly publicKey: string|null = null;
21
+
22
+ public constructor(
23
+ options: GooglePlaySettingOptions|null = null,
24
+ ) {
25
+ this.packageName = options?.packageName ?? null;
26
+ this.publicKey = options?.publicKey ?? null;
27
+ }
28
+
29
+ public properties(
30
+ ): {[name: string]: any} {
31
+ let properties: {[name: string]: any} = {};
32
+
33
+ if (this.packageName != null) {
34
+ properties["packageName"] = this.packageName;
35
+ }
36
+ if (this.publicKey != null) {
37
+ properties["publicKey"] = this.publicKey;
38
+ }
39
+
40
+ return properties;
41
+ }
42
+ }
@@ -0,0 +1,8 @@
1
+ import { GooglePlayVerifyReceiptEventOptions } from "./options/GooglePlayVerifyReceiptEventOptions";
2
+ export default class GooglePlayVerifyReceiptEvent {
3
+ private readonly purchaseToken;
4
+ constructor(options?: GooglePlayVerifyReceiptEventOptions | null);
5
+ properties(): {
6
+ [name: string]: any;
7
+ };
8
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ class GooglePlayVerifyReceiptEvent {
4
+ constructor(options = null) {
5
+ var _a;
6
+ this.purchaseToken = null;
7
+ this.purchaseToken = (_a = options === null || options === void 0 ? void 0 : options.purchaseToken) !== null && _a !== void 0 ? _a : null;
8
+ }
9
+ properties() {
10
+ let properties = {};
11
+ if (this.purchaseToken != null) {
12
+ properties["purchaseToken"] = this.purchaseToken;
13
+ }
14
+ return properties;
15
+ }
16
+ }
17
+ exports.default = GooglePlayVerifyReceiptEvent;
18
+ //# sourceMappingURL=GooglePlayVerifyReceiptEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GooglePlayVerifyReceiptEvent.js","sourceRoot":"","sources":["GooglePlayVerifyReceiptEvent.ts"],"names":[],"mappings":";;AAiBA,MAAqB,4BAA4B;IAG7C,YACI,UAAoD,IAAI;;QAH3C,kBAAa,GAAgB,IAAI,CAAC;QAK/C,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;IACxD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnBD,+CAmBC"}
@@ -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
+ import { GooglePlayVerifyReceiptEventOptions } from "./options/GooglePlayVerifyReceiptEventOptions";
17
+
18
+ export default class GooglePlayVerifyReceiptEvent {
19
+ private readonly purchaseToken: string|null = null;
20
+
21
+ public constructor(
22
+ options: GooglePlayVerifyReceiptEventOptions|null = null,
23
+ ) {
24
+ this.purchaseToken = options?.purchaseToken ?? null;
25
+ }
26
+
27
+ public properties(
28
+ ): {[name: string]: any} {
29
+ let properties: {[name: string]: any} = {};
30
+
31
+ if (this.purchaseToken != null) {
32
+ properties["purchaseToken"] = this.purchaseToken;
33
+ }
34
+
35
+ return properties;
36
+ }
37
+ }
@@ -0,0 +1,26 @@
1
+ import { CdkResource, Stack } from "../../core/model";
2
+ import { GetAttr } from "../../core/func";
3
+ import PlatformSetting from "./PlatformSetting";
4
+ import NamespaceRef from "../ref/NamespaceRef";
5
+ import StoreContentModel from "./StoreContentModel";
6
+ import { NamespaceCurrencyUsagePriority } from "./enum/NamespaceCurrencyUsagePriority";
7
+ import { NamespaceOptions } from "./options/NamespaceOptions";
8
+ export default class Namespace extends CdkResource {
9
+ private readonly stack;
10
+ private readonly name;
11
+ private readonly currencyUsagePriority;
12
+ private readonly sharedFreeCurrency;
13
+ private readonly platformSetting;
14
+ private readonly description;
15
+ private readonly changeBalanceScript;
16
+ private readonly logSetting;
17
+ constructor(stack: Stack, name: string, currencyUsagePriority: NamespaceCurrencyUsagePriority, sharedFreeCurrency: boolean, platformSetting: PlatformSetting, options?: NamespaceOptions | null);
18
+ alternateKeys(): string;
19
+ resourceType(): string;
20
+ properties(): {
21
+ [name: string]: any;
22
+ };
23
+ ref(): NamespaceRef;
24
+ getAttrNamespaceId(): GetAttr;
25
+ masterData(storeContentModels: StoreContentModel[]): Namespace;
26
+ }