gs2-cdk 1.0.66 → 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.
- package/money2/index.d.ts +12 -0
- package/money2/index.js +32 -0
- package/money2/index.js.map +1 -0
- package/money2/index.ts +36 -0
- package/money2/model/AppleAppStoreContent.d.ts +8 -0
- package/money2/model/AppleAppStoreContent.js +18 -0
- package/money2/model/AppleAppStoreContent.js.map +1 -0
- package/money2/model/AppleAppStoreContent.ts +37 -0
- package/money2/model/AppleAppStoreSetting.d.ts +8 -0
- package/money2/model/AppleAppStoreSetting.js +18 -0
- package/money2/model/AppleAppStoreSetting.js.map +1 -0
- package/money2/model/AppleAppStoreSetting.ts +37 -0
- package/money2/model/AppleAppStoreVerifyReceiptEvent.d.ts +9 -0
- package/money2/model/AppleAppStoreVerifyReceiptEvent.js +16 -0
- package/money2/model/AppleAppStoreVerifyReceiptEvent.js.map +1 -0
- package/money2/model/AppleAppStoreVerifyReceiptEvent.ts +39 -0
- package/money2/model/CurrentMasterData.d.ts +13 -0
- package/money2/model/CurrentMasterData.js +50 -0
- package/money2/model/CurrentMasterData.js.map +1 -0
- package/money2/model/CurrentMasterData.ts +70 -0
- package/money2/model/DepositEvent.d.ts +11 -0
- package/money2/model/DepositEvent.js +27 -0
- package/money2/model/DepositEvent.js.map +1 -0
- package/money2/model/DepositEvent.ts +53 -0
- package/money2/model/DepositTransaction.d.ts +11 -0
- package/money2/model/DepositTransaction.js +31 -0
- package/money2/model/DepositTransaction.js.map +1 -0
- package/money2/model/DepositTransaction.ts +54 -0
- package/money2/model/FakeSetting.d.ts +9 -0
- package/money2/model/FakeSetting.js +16 -0
- package/money2/model/FakeSetting.js.map +1 -0
- package/money2/model/FakeSetting.ts +39 -0
- package/money2/model/GooglePlayContent.d.ts +8 -0
- package/money2/model/GooglePlayContent.js +18 -0
- package/money2/model/GooglePlayContent.js.map +1 -0
- package/money2/model/GooglePlayContent.ts +37 -0
- package/money2/model/GooglePlaySetting.d.ts +9 -0
- package/money2/model/GooglePlaySetting.js +23 -0
- package/money2/model/GooglePlaySetting.js.map +1 -0
- package/money2/model/GooglePlaySetting.ts +42 -0
- package/money2/model/GooglePlayVerifyReceiptEvent.d.ts +8 -0
- package/money2/model/GooglePlayVerifyReceiptEvent.js +18 -0
- package/money2/model/GooglePlayVerifyReceiptEvent.js.map +1 -0
- package/money2/model/GooglePlayVerifyReceiptEvent.ts +37 -0
- package/money2/model/Namespace.d.ts +26 -0
- package/money2/model/Namespace.js +84 -0
- package/money2/model/Namespace.js.map +1 -0
- package/money2/model/Namespace.ts +136 -0
- package/money2/model/PlatformSetting.d.ts +10 -0
- package/money2/model/PlatformSetting.js +29 -0
- package/money2/model/PlatformSetting.js.map +1 -0
- package/money2/model/PlatformSetting.ts +53 -0
- package/money2/model/Receipt.d.ts +11 -0
- package/money2/model/Receipt.js +24 -0
- package/money2/model/Receipt.js.map +1 -0
- package/money2/model/Receipt.ts +51 -0
- package/money2/model/StoreContentModel.d.ts +11 -0
- package/money2/model/StoreContentModel.js +33 -0
- package/money2/model/StoreContentModel.js.map +1 -0
- package/money2/model/StoreContentModel.ts +57 -0
- package/money2/model/VerifyReceiptEvent.d.ts +12 -0
- package/money2/model/VerifyReceiptEvent.js +32 -0
- package/money2/model/VerifyReceiptEvent.js.map +1 -0
- package/money2/model/VerifyReceiptEvent.ts +59 -0
- package/money2/model/WalletSummary.d.ts +10 -0
- package/money2/model/WalletSummary.js +24 -0
- package/money2/model/WalletSummary.js.map +1 -0
- package/money2/model/WalletSummary.ts +50 -0
- package/money2/model/WithdrawEvent.d.ts +11 -0
- package/money2/model/WithdrawEvent.js +27 -0
- package/money2/model/WithdrawEvent.js.map +1 -0
- package/money2/model/WithdrawEvent.ts +53 -0
- package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.d.ts +5 -0
- package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js +23 -0
- package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.js.map +1 -0
- package/money2/model/enum/AppleAppStoreVerifyReceiptEventEnvironment.ts +23 -0
- package/money2/model/enum/FakeSettingAcceptFakeReceipt.d.ts +5 -0
- package/money2/model/enum/FakeSettingAcceptFakeReceipt.js +23 -0
- package/money2/model/enum/FakeSettingAcceptFakeReceipt.js.map +1 -0
- package/money2/model/enum/FakeSettingAcceptFakeReceipt.ts +23 -0
- package/money2/model/enum/NamespaceCurrencyUsagePriority.d.ts +5 -0
- package/money2/model/enum/NamespaceCurrencyUsagePriority.js +23 -0
- package/money2/model/enum/NamespaceCurrencyUsagePriority.js.map +1 -0
- package/money2/model/enum/NamespaceCurrencyUsagePriority.ts +23 -0
- package/money2/model/enum/ReceiptStore.d.ts +6 -0
- package/money2/model/enum/ReceiptStore.js +24 -0
- package/money2/model/enum/ReceiptStore.js.map +1 -0
- package/money2/model/enum/ReceiptStore.ts +24 -0
- package/money2/model/enum/VerifyReceiptEventPlatform.d.ts +6 -0
- package/money2/model/enum/VerifyReceiptEventPlatform.js +24 -0
- package/money2/model/enum/VerifyReceiptEventPlatform.js.map +1 -0
- package/money2/model/enum/VerifyReceiptEventPlatform.ts +24 -0
- package/money2/model/index.d.ts +39 -0
- package/money2/model/index.js +64 -0
- package/money2/model/index.js.map +1 -0
- package/money2/model/index.ts +94 -0
- package/money2/model/options/AppleAppStoreContentOptions.d.ts +3 -0
- package/money2/model/options/AppleAppStoreContentOptions.js +18 -0
- package/money2/model/options/AppleAppStoreContentOptions.js.map +1 -0
- package/money2/model/options/AppleAppStoreContentOptions.ts +20 -0
- package/money2/model/options/AppleAppStoreSettingOptions.d.ts +3 -0
- package/money2/model/options/AppleAppStoreSettingOptions.js +18 -0
- package/money2/model/options/AppleAppStoreSettingOptions.js.map +1 -0
- package/money2/model/options/AppleAppStoreSettingOptions.ts +20 -0
- package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.d.ts +2 -0
- package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js +3 -0
- package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.js.map +1 -0
- package/money2/model/options/AppleAppStoreVerifyReceiptEventOptions.ts +20 -0
- package/money2/model/options/DepositEventOptions.d.ts +4 -0
- package/money2/model/options/DepositEventOptions.js +3 -0
- package/money2/model/options/DepositEventOptions.js.map +1 -0
- package/money2/model/options/DepositEventOptions.ts +22 -0
- package/money2/model/options/DepositTransactionOptions.d.ts +4 -0
- package/money2/model/options/DepositTransactionOptions.js +18 -0
- package/money2/model/options/DepositTransactionOptions.js.map +1 -0
- package/money2/model/options/DepositTransactionOptions.ts +21 -0
- package/money2/model/options/FakeSettingOptions.d.ts +2 -0
- package/money2/model/options/FakeSettingOptions.js +3 -0
- package/money2/model/options/FakeSettingOptions.js.map +1 -0
- package/money2/model/options/FakeSettingOptions.ts +20 -0
- package/money2/model/options/GooglePlayContentOptions.d.ts +3 -0
- package/money2/model/options/GooglePlayContentOptions.js +18 -0
- package/money2/model/options/GooglePlayContentOptions.js.map +1 -0
- package/money2/model/options/GooglePlayContentOptions.ts +20 -0
- package/money2/model/options/GooglePlaySettingOptions.d.ts +4 -0
- package/money2/model/options/GooglePlaySettingOptions.js +18 -0
- package/money2/model/options/GooglePlaySettingOptions.js.map +1 -0
- package/money2/model/options/GooglePlaySettingOptions.ts +21 -0
- package/money2/model/options/GooglePlayVerifyReceiptEventOptions.d.ts +3 -0
- package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js +18 -0
- package/money2/model/options/GooglePlayVerifyReceiptEventOptions.js.map +1 -0
- package/money2/model/options/GooglePlayVerifyReceiptEventOptions.ts +20 -0
- package/money2/model/options/NamespaceOptions.d.ts +7 -0
- package/money2/model/options/NamespaceOptions.js +3 -0
- package/money2/model/options/NamespaceOptions.js.map +1 -0
- package/money2/model/options/NamespaceOptions.ts +26 -0
- package/money2/model/options/PlatformSettingOptions.d.ts +8 -0
- package/money2/model/options/PlatformSettingOptions.js +3 -0
- package/money2/model/options/PlatformSettingOptions.js.map +1 -0
- package/money2/model/options/PlatformSettingOptions.ts +25 -0
- package/money2/model/options/ReceiptOptions.d.ts +2 -0
- package/money2/model/options/ReceiptOptions.js +3 -0
- package/money2/model/options/ReceiptOptions.js.map +1 -0
- package/money2/model/options/ReceiptOptions.ts +20 -0
- package/money2/model/options/StoreContentModelOptions.d.ts +7 -0
- package/money2/model/options/StoreContentModelOptions.js +3 -0
- package/money2/model/options/StoreContentModelOptions.js.map +1 -0
- package/money2/model/options/StoreContentModelOptions.ts +24 -0
- package/money2/model/options/VerifyReceiptEventOptions.d.ts +6 -0
- package/money2/model/options/VerifyReceiptEventOptions.js +3 -0
- package/money2/model/options/VerifyReceiptEventOptions.js.map +1 -0
- package/money2/model/options/VerifyReceiptEventOptions.ts +24 -0
- package/money2/model/options/WalletSummaryOptions.d.ts +2 -0
- package/money2/model/options/WalletSummaryOptions.js +18 -0
- package/money2/model/options/WalletSummaryOptions.js.map +1 -0
- package/money2/model/options/WalletSummaryOptions.ts +19 -0
- package/money2/model/options/WithdrawEventOptions.d.ts +4 -0
- package/money2/model/options/WithdrawEventOptions.js +3 -0
- package/money2/model/options/WithdrawEventOptions.js.map +1 -0
- package/money2/model/options/WithdrawEventOptions.ts +22 -0
- package/money2/ref/NamespaceRef.d.ts +15 -0
- package/money2/ref/NamespaceRef.js +52 -0
- package/money2/ref/NamespaceRef.js.map +1 -0
- package/money2/ref/NamespaceRef.ts +103 -0
- package/money2/ref/StoreContentModelRef.d.ts +6 -0
- package/money2/ref/StoreContentModelRef.js +39 -0
- package/money2/ref/StoreContentModelRef.js.map +1 -0
- package/money2/ref/StoreContentModelRef.ts +53 -0
- package/money2/ref/index.d.ts +3 -0
- package/money2/ref/index.js +24 -0
- package/money2/ref/index.js.map +1 -0
- package/money2/ref/index.ts +22 -0
- package/money2/stampSheet/DepositByUserId.d.ts +14 -0
- package/money2/stampSheet/DepositByUserId.js +53 -0
- package/money2/stampSheet/DepositByUserId.js.map +1 -0
- package/money2/stampSheet/DepositByUserId.ts +71 -0
- package/money2/stampSheet/VerifyReceiptByUserId.d.ts +14 -0
- package/money2/stampSheet/VerifyReceiptByUserId.js +54 -0
- package/money2/stampSheet/VerifyReceiptByUserId.js.map +1 -0
- package/money2/stampSheet/VerifyReceiptByUserId.ts +71 -0
- package/money2/stampSheet/WithdrawByUserId.d.ts +14 -0
- package/money2/stampSheet/WithdrawByUserId.js +58 -0
- package/money2/stampSheet/WithdrawByUserId.js.map +1 -0
- package/money2/stampSheet/WithdrawByUserId.ts +75 -0
- package/money2/stampSheet/index.d.ts +4 -0
- package/money2/stampSheet/index.js +26 -0
- package/money2/stampSheet/index.js.map +1 -0
- package/money2/stampSheet/index.ts +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as model from "./model";
|
|
2
|
+
import * as ref from "./ref";
|
|
3
|
+
import * as stampSheet from "./stampSheet";
|
|
4
|
+
import { NamespaceRef } from "./ref";
|
|
5
|
+
declare function namespace(namespaceName: string): NamespaceRef;
|
|
6
|
+
declare const _default: {
|
|
7
|
+
model: typeof model;
|
|
8
|
+
ref: typeof ref;
|
|
9
|
+
stampSheet: typeof stampSheet;
|
|
10
|
+
namespace: typeof namespace;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
package/money2/index.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
19
|
+
const model = tslib_1.__importStar(require("./model"));
|
|
20
|
+
const ref = tslib_1.__importStar(require("./ref"));
|
|
21
|
+
const stampSheet = tslib_1.__importStar(require("./stampSheet"));
|
|
22
|
+
const ref_1 = require("./ref");
|
|
23
|
+
function namespace(namespaceName) {
|
|
24
|
+
return new ref_1.NamespaceRef(namespaceName);
|
|
25
|
+
}
|
|
26
|
+
exports.default = {
|
|
27
|
+
model,
|
|
28
|
+
ref,
|
|
29
|
+
stampSheet,
|
|
30
|
+
namespace,
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAC3C,+BAAqC;AAGrC,SAAS,SAAS,CACd,aAAqB;IAErB,OAAO,IAAI,kBAAY,CACnB,aAAa,CAChB,CAAC;AACN,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;CACZ,CAAC"}
|
package/money2/index.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
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 * as model from "./model";
|
|
18
|
+
import * as ref from "./ref";
|
|
19
|
+
import * as stampSheet from "./stampSheet";
|
|
20
|
+
import { NamespaceRef } from "./ref";
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
function namespace(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
): NamespaceRef {
|
|
26
|
+
return new NamespaceRef(
|
|
27
|
+
namespaceName,
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default {
|
|
32
|
+
model,
|
|
33
|
+
ref,
|
|
34
|
+
stampSheet,
|
|
35
|
+
namespace,
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppleAppStoreContentOptions } from "./options/AppleAppStoreContentOptions";
|
|
2
|
+
export default class AppleAppStoreContent {
|
|
3
|
+
private readonly productId;
|
|
4
|
+
constructor(options?: AppleAppStoreContentOptions | 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 AppleAppStoreContent {
|
|
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 = AppleAppStoreContent;
|
|
18
|
+
//# sourceMappingURL=AppleAppStoreContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleAppStoreContent.js","sourceRoot":"","sources":["AppleAppStoreContent.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAGrC,YACI,UAA4C,IAAI;;QAHnC,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,uCAmBC"}
|
|
@@ -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 { AppleAppStoreContentOptions } from "./options/AppleAppStoreContentOptions";
|
|
17
|
+
|
|
18
|
+
export default class AppleAppStoreContent {
|
|
19
|
+
private readonly productId: string|null = null;
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
options: AppleAppStoreContentOptions|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,8 @@
|
|
|
1
|
+
import { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptions";
|
|
2
|
+
export default class AppleAppStoreSetting {
|
|
3
|
+
private readonly bundleId;
|
|
4
|
+
constructor(options?: AppleAppStoreSettingOptions | 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 AppleAppStoreSetting {
|
|
4
|
+
constructor(options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.bundleId = null;
|
|
7
|
+
this.bundleId = (_a = options === null || options === void 0 ? void 0 : options.bundleId) !== null && _a !== void 0 ? _a : null;
|
|
8
|
+
}
|
|
9
|
+
properties() {
|
|
10
|
+
let properties = {};
|
|
11
|
+
if (this.bundleId != null) {
|
|
12
|
+
properties["bundleId"] = this.bundleId;
|
|
13
|
+
}
|
|
14
|
+
return properties;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = AppleAppStoreSetting;
|
|
18
|
+
//# sourceMappingURL=AppleAppStoreSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAGrC,YACI,UAA4C,IAAI;;QAHnC,aAAQ,GAAgB,IAAI,CAAC;QAK1C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnBD,uCAmBC"}
|
|
@@ -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 { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptions";
|
|
17
|
+
|
|
18
|
+
export default class AppleAppStoreSetting {
|
|
19
|
+
private readonly bundleId: string|null = null;
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
options: AppleAppStoreSettingOptions|null = null,
|
|
23
|
+
) {
|
|
24
|
+
this.bundleId = options?.bundleId ?? null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public properties(
|
|
28
|
+
): {[name: string]: any} {
|
|
29
|
+
let properties: {[name: string]: any} = {};
|
|
30
|
+
|
|
31
|
+
if (this.bundleId != null) {
|
|
32
|
+
properties["bundleId"] = this.bundleId;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return properties;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AppleAppStoreVerifyReceiptEventOptions } from "./options/AppleAppStoreVerifyReceiptEventOptions";
|
|
2
|
+
import { AppleAppStoreVerifyReceiptEventEnvironment } from "./enum/AppleAppStoreVerifyReceiptEventEnvironment";
|
|
3
|
+
export default class AppleAppStoreVerifyReceiptEvent {
|
|
4
|
+
private readonly environment;
|
|
5
|
+
constructor(environment: AppleAppStoreVerifyReceiptEventEnvironment, options?: AppleAppStoreVerifyReceiptEventOptions | 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 AppleAppStoreVerifyReceiptEvent {
|
|
4
|
+
constructor(environment, options = null) {
|
|
5
|
+
this.environment = environment;
|
|
6
|
+
}
|
|
7
|
+
properties() {
|
|
8
|
+
let properties = {};
|
|
9
|
+
if (this.environment != null) {
|
|
10
|
+
properties["environment"] = this.environment;
|
|
11
|
+
}
|
|
12
|
+
return properties;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = AppleAppStoreVerifyReceiptEvent;
|
|
16
|
+
//# sourceMappingURL=AppleAppStoreVerifyReceiptEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleAppStoreVerifyReceiptEvent.js","sourceRoot":"","sources":["AppleAppStoreVerifyReceiptEvent.ts"],"names":[],"mappings":";;AAkBA,MAAqB,+BAA+B;IAGhD,YACI,WAAuD,EACvD,UAAuD,IAAI;QAE3D,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACnC,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;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApBD,kDAoBC"}
|
|
@@ -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 { AppleAppStoreVerifyReceiptEventOptions } from "./options/AppleAppStoreVerifyReceiptEventOptions";
|
|
17
|
+
import { AppleAppStoreVerifyReceiptEventEnvironment } from "./enum/AppleAppStoreVerifyReceiptEventEnvironment";
|
|
18
|
+
|
|
19
|
+
export default class AppleAppStoreVerifyReceiptEvent {
|
|
20
|
+
private readonly environment: AppleAppStoreVerifyReceiptEventEnvironment;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
environment: AppleAppStoreVerifyReceiptEventEnvironment,
|
|
24
|
+
options: AppleAppStoreVerifyReceiptEventOptions|null = null,
|
|
25
|
+
) {
|
|
26
|
+
this.environment = environment;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public properties(
|
|
30
|
+
): {[name: string]: any} {
|
|
31
|
+
let properties: {[name: string]: any} = {};
|
|
32
|
+
|
|
33
|
+
if (this.environment != null) {
|
|
34
|
+
properties["environment"] = this.environment;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return properties;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CdkResource, Stack } from "../../core/model";
|
|
2
|
+
import StoreContentModel from "./StoreContentModel";
|
|
3
|
+
export default class CurrentMasterData extends CdkResource {
|
|
4
|
+
private readonly version;
|
|
5
|
+
private readonly namespaceName;
|
|
6
|
+
private readonly storeContentModels;
|
|
7
|
+
constructor(stack: Stack, namespaceName: string, storeContentModels: StoreContentModel[]);
|
|
8
|
+
alternateKeys(): string;
|
|
9
|
+
resourceType(): string;
|
|
10
|
+
properties(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/*
|
|
4
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
5
|
+
* Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
8
|
+
* You may not use this file except in compliance with the License.
|
|
9
|
+
* A copy of the License is located at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
14
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
15
|
+
* express or implied. See the License for the specific language governing
|
|
16
|
+
* permissions and limitations under the License.
|
|
17
|
+
*/
|
|
18
|
+
const model_1 = require("../../core/model");
|
|
19
|
+
class CurrentMasterData extends model_1.CdkResource {
|
|
20
|
+
constructor(stack, namespaceName, storeContentModels) {
|
|
21
|
+
super("Money2_CurrentModelMaster_" + namespaceName);
|
|
22
|
+
this.version = "2024-06-20";
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.storeContentModels = storeContentModels;
|
|
25
|
+
stack.addResource(this);
|
|
26
|
+
}
|
|
27
|
+
alternateKeys() {
|
|
28
|
+
return this.namespaceName;
|
|
29
|
+
}
|
|
30
|
+
resourceType() {
|
|
31
|
+
return "GS2::Money2::CurrentModelMaster";
|
|
32
|
+
}
|
|
33
|
+
properties() {
|
|
34
|
+
let properties = {};
|
|
35
|
+
let settings = {};
|
|
36
|
+
settings["version"] = this.version;
|
|
37
|
+
if (this.storeContentModels != null) {
|
|
38
|
+
settings["storeContentModels"] = this.storeContentModels.map(v => v.properties());
|
|
39
|
+
}
|
|
40
|
+
if (this.namespaceName != null) {
|
|
41
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
42
|
+
}
|
|
43
|
+
if (settings != null) {
|
|
44
|
+
properties["Settings"] = settings;
|
|
45
|
+
}
|
|
46
|
+
return properties;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.default = CurrentMasterData;
|
|
50
|
+
//# sourceMappingURL=CurrentMasterData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentMasterData.js","sourceRoot":"","sources":["CurrentMasterData.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AACH,4CAAoD;AAGpD,MAAqB,iBAAkB,SAAQ,mBAAW;IAKtD,YACI,KAAY,EACZ,aAAqB,EACrB,kBAAuC;QAEvC,KAAK,CACD,4BAA4B,GAAG,aAAa,CAC/C,CAAC;QAXW,YAAO,GAAU,YAAY,CAAC;QAa3C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAEM,aAAa;QAEhB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,YAAY;QAEf,OAAO,iCAAiC,CAAC;IAC7C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,QAAQ,GAA0B,EAAE,CAAC;QAEzC,QAAQ,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAA;QAClC,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,QAAQ,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACzE,CAAC,CAAC;SACV;QAED,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;SACrC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnDD,oCAmDC"}
|
|
@@ -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
|
+
}
|