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.
- package/buff/model/BuffEntryModel.d.ts +3 -3
- package/buff/model/BuffEntryModel.js +7 -7
- package/buff/model/BuffEntryModel.js.map +1 -1
- package/buff/model/BuffEntryModel.ts +9 -9
- package/buff/model/index.d.ts +2 -2
- package/buff/model/index.js +3 -3
- package/buff/model/index.ts +2 -2
- package/buff/model/options/BuffEntryModelOptions.ts +1 -1
- package/buff/model/options/BuffEntryModelTargetTypeIsActionOptions.ts +1 -1
- package/buff/model/options/BuffEntryModelTargetTypeIsModelOptions.ts +1 -1
- 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
|
@@ -3,18 +3,18 @@ import BuffTargetAction from "./BuffTargetAction";
|
|
|
3
3
|
import { BuffEntryModelOptions } from "./options/BuffEntryModelOptions";
|
|
4
4
|
import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions";
|
|
5
5
|
import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions";
|
|
6
|
-
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
7
6
|
import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
|
|
7
|
+
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
8
8
|
export default class BuffEntryModel {
|
|
9
9
|
private readonly name;
|
|
10
|
-
private readonly targetType;
|
|
11
10
|
private readonly expression;
|
|
11
|
+
private readonly targetType;
|
|
12
12
|
private readonly priority;
|
|
13
13
|
private readonly metadata;
|
|
14
14
|
private readonly targetModel;
|
|
15
15
|
private readonly targetAction;
|
|
16
16
|
private readonly applyPeriodScheduleEventId;
|
|
17
|
-
constructor(name: string,
|
|
17
|
+
constructor(name: string, expression: BuffEntryModelExpression, targetType: BuffEntryModelTargetType, priority: number, options?: BuffEntryModelOptions | null);
|
|
18
18
|
static targetTypeIsModel(name: string, expression: BuffEntryModelExpression, priority: number, targetModel: BuffTargetModel, options?: BuffEntryModelTargetTypeIsModelOptions | null): BuffEntryModel;
|
|
19
19
|
static targetTypeIsAction(name: string, expression: BuffEntryModelExpression, priority: number, targetAction: BuffTargetAction, options?: BuffEntryModelTargetTypeIsActionOptions | null): BuffEntryModel;
|
|
20
20
|
properties(): {
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const BuffEntryModelTargetType_1 = require("./enum/BuffEntryModelTargetType");
|
|
4
4
|
class BuffEntryModel {
|
|
5
|
-
constructor(name,
|
|
5
|
+
constructor(name, expression, targetType, priority, options = null) {
|
|
6
6
|
var _a, _b, _c, _d;
|
|
7
7
|
this.metadata = null;
|
|
8
8
|
this.targetModel = null;
|
|
9
9
|
this.targetAction = null;
|
|
10
10
|
this.applyPeriodScheduleEventId = null;
|
|
11
11
|
this.name = name;
|
|
12
|
-
this.targetType = targetType;
|
|
13
12
|
this.expression = expression;
|
|
13
|
+
this.targetType = targetType;
|
|
14
14
|
this.priority = priority;
|
|
15
15
|
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
16
16
|
this.targetModel = (_b = options === null || options === void 0 ? void 0 : options.targetModel) !== null && _b !== void 0 ? _b : null;
|
|
@@ -18,14 +18,14 @@ class BuffEntryModel {
|
|
|
18
18
|
this.applyPeriodScheduleEventId = (_d = options === null || options === void 0 ? void 0 : options.applyPeriodScheduleEventId) !== null && _d !== void 0 ? _d : null;
|
|
19
19
|
}
|
|
20
20
|
static targetTypeIsModel(name, expression, priority, targetModel, options = null) {
|
|
21
|
-
return new BuffEntryModel(name, BuffEntryModelTargetType_1.BuffEntryModelTargetType.MODEL,
|
|
21
|
+
return new BuffEntryModel(name, expression, BuffEntryModelTargetType_1.BuffEntryModelTargetType.MODEL, priority, {
|
|
22
22
|
targetModel: targetModel,
|
|
23
23
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
24
24
|
applyPeriodScheduleEventId: options === null || options === void 0 ? void 0 : options.applyPeriodScheduleEventId,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
static targetTypeIsAction(name, expression, priority, targetAction, options = null) {
|
|
28
|
-
return new BuffEntryModel(name, BuffEntryModelTargetType_1.BuffEntryModelTargetType.ACTION,
|
|
28
|
+
return new BuffEntryModel(name, expression, BuffEntryModelTargetType_1.BuffEntryModelTargetType.ACTION, priority, {
|
|
29
29
|
targetAction: targetAction,
|
|
30
30
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
31
31
|
applyPeriodScheduleEventId: options === null || options === void 0 ? void 0 : options.applyPeriodScheduleEventId,
|
|
@@ -40,6 +40,9 @@ class BuffEntryModel {
|
|
|
40
40
|
if (this.metadata != null) {
|
|
41
41
|
properties["metadata"] = this.metadata;
|
|
42
42
|
}
|
|
43
|
+
if (this.expression != null) {
|
|
44
|
+
properties["expression"] = this.expression;
|
|
45
|
+
}
|
|
43
46
|
if (this.targetType != null) {
|
|
44
47
|
properties["targetType"] = this.targetType;
|
|
45
48
|
}
|
|
@@ -49,9 +52,6 @@ class BuffEntryModel {
|
|
|
49
52
|
if (this.targetAction != null) {
|
|
50
53
|
properties["targetAction"] = (_b = this.targetAction) === null || _b === void 0 ? void 0 : _b.properties();
|
|
51
54
|
}
|
|
52
|
-
if (this.expression != null) {
|
|
53
|
-
properties["expression"] = this.expression;
|
|
54
|
-
}
|
|
55
55
|
if (this.priority != null) {
|
|
56
56
|
properties["priority"] = this.priority;
|
|
57
57
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BuffEntryModel.js","sourceRoot":"","sources":["BuffEntryModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BuffEntryModel.js","sourceRoot":"","sources":["BuffEntryModel.ts"],"names":[],"mappings":";;AAsBA,8EAA2E;AAE3E,MAAqB,cAAc;IAU/B,YACI,IAAY,EACZ,UAAoC,EACpC,UAAoC,EACpC,QAAgB,EAChB,UAAsC,IAAI;;QAV7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,gBAAW,GAAyB,IAAI,CAAC;QACzC,iBAAY,GAA0B,IAAI,CAAC;QAC3C,+BAA0B,GAAgB,IAAI,CAAC;QAS5D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,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;QAChD,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QAClD,IAAI,CAAC,0BAA0B,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,mCAAI,IAAI,CAAC;IAClF,CAAC;IAEM,MAAM,CAAC,iBAAiB,CAC3B,IAAY,EACZ,UAAoC,EACpC,QAAgB,EAChB,WAA4B,EAC5B,UAAuD,IAAI;QAE3D,OAAO,IAAI,cAAc,CACrB,IAAI,EACJ,UAAU,EACV,mDAAwB,CAAC,KAAK,EAC9B,QAAQ,EACR;YACI,WAAW,EAAE,WAAW;YACxB,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ;YAC3B,0BAA0B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B;SAClE,CACJ,CAAC;IACN,CAAC;IAEM,MAAM,CAAC,kBAAkB,CAC5B,IAAY,EACZ,UAAoC,EACpC,QAAgB,EAChB,YAA8B,EAC9B,UAAwD,IAAI;QAE5D,OAAO,IAAI,cAAc,CACrB,IAAI,EACJ,UAAU,EACV,mDAAwB,CAAC,MAAM,EAC/B,QAAQ,EACR;YACI,YAAY,EAAE,YAAY;YAC1B,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ;YAC3B,0BAA0B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B;SAClE,CACJ,CAAC;IACN,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,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,MAAA,IAAI,CAAC,WAAW,0CAAE,UAAU,EACvD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,MAAA,IAAI,CAAC,YAAY,0CAAE,UAAU,EACzD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,0BAA0B,IAAI,IAAI,EAAE;YACzC,UAAU,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC,0BAA0B,CAAC;SAC9E;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApGD,iCAoGC"}
|
|
@@ -19,13 +19,13 @@ import BuffTargetAction from "./BuffTargetAction";
|
|
|
19
19
|
import { BuffEntryModelOptions } from "./options/BuffEntryModelOptions";
|
|
20
20
|
import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions";
|
|
21
21
|
import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions";
|
|
22
|
-
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
23
22
|
import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
|
|
23
|
+
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
24
24
|
|
|
25
25
|
export default class BuffEntryModel {
|
|
26
26
|
private readonly name: string;
|
|
27
|
-
private readonly targetType: BuffEntryModelTargetType;
|
|
28
27
|
private readonly expression: BuffEntryModelExpression;
|
|
28
|
+
private readonly targetType: BuffEntryModelTargetType;
|
|
29
29
|
private readonly priority: number;
|
|
30
30
|
private readonly metadata: string|null = null;
|
|
31
31
|
private readonly targetModel: BuffTargetModel|null = null;
|
|
@@ -34,14 +34,14 @@ export default class BuffEntryModel {
|
|
|
34
34
|
|
|
35
35
|
public constructor(
|
|
36
36
|
name: string,
|
|
37
|
-
targetType: BuffEntryModelTargetType,
|
|
38
37
|
expression: BuffEntryModelExpression,
|
|
38
|
+
targetType: BuffEntryModelTargetType,
|
|
39
39
|
priority: number,
|
|
40
40
|
options: BuffEntryModelOptions|null = null,
|
|
41
41
|
) {
|
|
42
42
|
this.name = name;
|
|
43
|
-
this.targetType = targetType;
|
|
44
43
|
this.expression = expression;
|
|
44
|
+
this.targetType = targetType;
|
|
45
45
|
this.priority = priority;
|
|
46
46
|
this.metadata = options?.metadata ?? null;
|
|
47
47
|
this.targetModel = options?.targetModel ?? null;
|
|
@@ -58,8 +58,8 @@ export default class BuffEntryModel {
|
|
|
58
58
|
): BuffEntryModel {
|
|
59
59
|
return new BuffEntryModel(
|
|
60
60
|
name,
|
|
61
|
-
BuffEntryModelTargetType.MODEL,
|
|
62
61
|
expression,
|
|
62
|
+
BuffEntryModelTargetType.MODEL,
|
|
63
63
|
priority,
|
|
64
64
|
{
|
|
65
65
|
targetModel: targetModel,
|
|
@@ -78,8 +78,8 @@ export default class BuffEntryModel {
|
|
|
78
78
|
): BuffEntryModel {
|
|
79
79
|
return new BuffEntryModel(
|
|
80
80
|
name,
|
|
81
|
-
BuffEntryModelTargetType.ACTION,
|
|
82
81
|
expression,
|
|
82
|
+
BuffEntryModelTargetType.ACTION,
|
|
83
83
|
priority,
|
|
84
84
|
{
|
|
85
85
|
targetAction: targetAction,
|
|
@@ -99,6 +99,9 @@ export default class BuffEntryModel {
|
|
|
99
99
|
if (this.metadata != null) {
|
|
100
100
|
properties["metadata"] = this.metadata;
|
|
101
101
|
}
|
|
102
|
+
if (this.expression != null) {
|
|
103
|
+
properties["expression"] = this.expression;
|
|
104
|
+
}
|
|
102
105
|
if (this.targetType != null) {
|
|
103
106
|
properties["targetType"] = this.targetType;
|
|
104
107
|
}
|
|
@@ -110,9 +113,6 @@ export default class BuffEntryModel {
|
|
|
110
113
|
properties["targetAction"] = this.targetAction?.properties(
|
|
111
114
|
);
|
|
112
115
|
}
|
|
113
|
-
if (this.expression != null) {
|
|
114
|
-
properties["expression"] = this.expression;
|
|
115
|
-
}
|
|
116
116
|
if (this.priority != null) {
|
|
117
117
|
properties["priority"] = this.priority;
|
|
118
118
|
}
|
package/buff/model/index.d.ts
CHANGED
|
@@ -8,11 +8,11 @@ import BuffTargetGrn from "./BuffTargetGrn";
|
|
|
8
8
|
import { BuffTargetGrnOptions } from "./options/BuffTargetGrnOptions";
|
|
9
9
|
import BuffEntryModel from "./BuffEntryModel";
|
|
10
10
|
import { BuffEntryModelOptions } from "./options/BuffEntryModelOptions";
|
|
11
|
-
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
12
11
|
import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
|
|
12
|
+
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
13
13
|
import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions";
|
|
14
14
|
import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions";
|
|
15
15
|
import OverrideBuffRate from "./OverrideBuffRate";
|
|
16
16
|
import { OverrideBuffRateOptions } from "./options/OverrideBuffRateOptions";
|
|
17
17
|
import CurrentMasterData from "./CurrentMasterData";
|
|
18
|
-
export { Namespace, NamespaceOptions, BuffTargetModel, BuffTargetModelOptions, BuffTargetAction, BuffTargetActionOptions, BuffTargetGrn, BuffTargetGrnOptions, BuffEntryModel, BuffEntryModelOptions,
|
|
18
|
+
export { Namespace, NamespaceOptions, BuffTargetModel, BuffTargetModelOptions, BuffTargetAction, BuffTargetActionOptions, BuffTargetGrn, BuffTargetGrnOptions, BuffEntryModel, BuffEntryModelOptions, BuffEntryModelExpression, BuffEntryModelTargetType, BuffEntryModelTargetTypeIsModelOptions, BuffEntryModelTargetTypeIsActionOptions, OverrideBuffRate, OverrideBuffRateOptions, CurrentMasterData, };
|
package/buff/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrentMasterData = exports.OverrideBuffRate = exports.
|
|
3
|
+
exports.CurrentMasterData = exports.OverrideBuffRate = exports.BuffEntryModelTargetType = exports.BuffEntryModelExpression = exports.BuffEntryModel = exports.BuffTargetGrn = exports.BuffTargetAction = exports.BuffTargetModel = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -27,10 +27,10 @@ const BuffTargetGrn_1 = tslib_1.__importDefault(require("./BuffTargetGrn"));
|
|
|
27
27
|
exports.BuffTargetGrn = BuffTargetGrn_1.default;
|
|
28
28
|
const BuffEntryModel_1 = tslib_1.__importDefault(require("./BuffEntryModel"));
|
|
29
29
|
exports.BuffEntryModel = BuffEntryModel_1.default;
|
|
30
|
-
const BuffEntryModelTargetType_1 = require("./enum/BuffEntryModelTargetType");
|
|
31
|
-
Object.defineProperty(exports, "BuffEntryModelTargetType", { enumerable: true, get: function () { return BuffEntryModelTargetType_1.BuffEntryModelTargetType; } });
|
|
32
30
|
const BuffEntryModelExpression_1 = require("./enum/BuffEntryModelExpression");
|
|
33
31
|
Object.defineProperty(exports, "BuffEntryModelExpression", { enumerable: true, get: function () { return BuffEntryModelExpression_1.BuffEntryModelExpression; } });
|
|
32
|
+
const BuffEntryModelTargetType_1 = require("./enum/BuffEntryModelTargetType");
|
|
33
|
+
Object.defineProperty(exports, "BuffEntryModelTargetType", { enumerable: true, get: function () { return BuffEntryModelTargetType_1.BuffEntryModelTargetType; } });
|
|
34
34
|
const OverrideBuffRate_1 = tslib_1.__importDefault(require("./OverrideBuffRate"));
|
|
35
35
|
exports.OverrideBuffRate = OverrideBuffRate_1.default;
|
|
36
36
|
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
package/buff/model/index.ts
CHANGED
|
@@ -23,8 +23,8 @@ import BuffTargetGrn from "./BuffTargetGrn";
|
|
|
23
23
|
import { BuffTargetGrnOptions } from "./options/BuffTargetGrnOptions";
|
|
24
24
|
import BuffEntryModel from "./BuffEntryModel";
|
|
25
25
|
import { BuffEntryModelOptions } from "./options/BuffEntryModelOptions";
|
|
26
|
-
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
27
26
|
import { BuffEntryModelExpression } from "./enum/BuffEntryModelExpression";
|
|
27
|
+
import { BuffEntryModelTargetType } from "./enum/BuffEntryModelTargetType";
|
|
28
28
|
import { BuffEntryModelTargetTypeIsModelOptions } from "./options/BuffEntryModelTargetTypeIsModelOptions"
|
|
29
29
|
import { BuffEntryModelTargetTypeIsActionOptions } from "./options/BuffEntryModelTargetTypeIsActionOptions"
|
|
30
30
|
import OverrideBuffRate from "./OverrideBuffRate";
|
|
@@ -42,8 +42,8 @@ export {
|
|
|
42
42
|
BuffTargetGrnOptions,
|
|
43
43
|
BuffEntryModel,
|
|
44
44
|
BuffEntryModelOptions,
|
|
45
|
-
BuffEntryModelTargetType,
|
|
46
45
|
BuffEntryModelExpression,
|
|
46
|
+
BuffEntryModelTargetType,
|
|
47
47
|
BuffEntryModelTargetTypeIsModelOptions,
|
|
48
48
|
BuffEntryModelTargetTypeIsActionOptions,
|
|
49
49
|
OverrideBuffRate,
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
import BuffTargetGrn from "../BuffTargetGrn";
|
|
17
17
|
import BuffTargetModel from "../BuffTargetModel";
|
|
18
18
|
import BuffTargetAction from "../BuffTargetAction";
|
|
19
|
-
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
20
19
|
import { BuffEntryModelExpression } from "../enum/BuffEntryModelExpression";
|
|
20
|
+
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
21
21
|
|
|
22
22
|
export interface BuffEntryModelOptions {
|
|
23
23
|
metadata?: string|null;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
import BuffTargetGrn from "../BuffTargetGrn";
|
|
17
17
|
import BuffTargetModel from "../BuffTargetModel";
|
|
18
18
|
import BuffTargetAction from "../BuffTargetAction";
|
|
19
|
-
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
20
19
|
import { BuffEntryModelExpression } from "../enum/BuffEntryModelExpression";
|
|
20
|
+
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
21
21
|
|
|
22
22
|
export interface BuffEntryModelTargetTypeIsActionOptions {
|
|
23
23
|
metadata?: string|null;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
import BuffTargetGrn from "../BuffTargetGrn";
|
|
17
17
|
import BuffTargetModel from "../BuffTargetModel";
|
|
18
18
|
import BuffTargetAction from "../BuffTargetAction";
|
|
19
|
-
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
20
19
|
import { BuffEntryModelExpression } from "../enum/BuffEntryModelExpression";
|
|
20
|
+
import { BuffEntryModelTargetType } from "../enum/BuffEntryModelTargetType";
|
|
21
21
|
|
|
22
22
|
export interface BuffEntryModelTargetTypeIsModelOptions {
|
|
23
23
|
metadata?: string|null;
|
|
@@ -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"}
|