gs2-cdk 1.0.17 → 1.0.18
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/loginReward/index.d.ts +12 -0
- package/loginReward/index.js +32 -0
- package/loginReward/index.js.map +1 -0
- package/loginReward/index.ts +36 -0
- package/loginReward/model/BonusModel.d.ts +27 -0
- package/loginReward/model/BonusModel.js +90 -0
- package/loginReward/model/BonusModel.js.map +1 -0
- package/loginReward/model/BonusModel.ts +166 -0
- package/loginReward/model/CurrentMasterData.d.ts +13 -0
- package/loginReward/model/CurrentMasterData.js +50 -0
- package/loginReward/model/CurrentMasterData.js.map +1 -0
- package/loginReward/model/CurrentMasterData.ts +70 -0
- package/loginReward/model/Namespace.d.ts +23 -0
- package/loginReward/model/Namespace.js +76 -0
- package/loginReward/model/Namespace.js.map +1 -0
- package/loginReward/model/Namespace.ts +123 -0
- package/loginReward/model/Reward.d.ts +9 -0
- package/loginReward/model/Reward.js +16 -0
- package/loginReward/model/Reward.js.map +1 -0
- package/loginReward/model/Reward.ts +40 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js +23 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.js.map +1 -0
- package/loginReward/model/enum/BonusModelMissedReceiveRelief.ts +23 -0
- package/loginReward/model/enum/BonusModelMode.d.ts +5 -0
- package/loginReward/model/enum/BonusModelMode.js +23 -0
- package/loginReward/model/enum/BonusModelMode.js.map +1 -0
- package/loginReward/model/enum/BonusModelMode.ts +23 -0
- package/loginReward/model/enum/BonusModelRepeat.d.ts +5 -0
- package/loginReward/model/enum/BonusModelRepeat.js +23 -0
- package/loginReward/model/enum/BonusModelRepeat.js.map +1 -0
- package/loginReward/model/enum/BonusModelRepeat.ts +23 -0
- package/loginReward/model/index.d.ts +15 -0
- package/loginReward/model/index.js +34 -0
- package/loginReward/model/index.js.map +1 -0
- package/loginReward/model/index.ts +46 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js +3 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +28 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +8 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js +3 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +28 -0
- package/loginReward/model/options/BonusModelOptions.d.ts +11 -0
- package/loginReward/model/options/BonusModelOptions.js +3 -0
- package/loginReward/model/options/BonusModelOptions.js.map +1 -0
- package/loginReward/model/options/BonusModelOptions.ts +31 -0
- package/loginReward/model/options/NamespaceOptions.d.ts +7 -0
- package/loginReward/model/options/NamespaceOptions.js +3 -0
- package/loginReward/model/options/NamespaceOptions.js.map +1 -0
- package/loginReward/model/options/NamespaceOptions.ts +25 -0
- package/loginReward/model/options/RewardOptions.d.ts +2 -0
- package/loginReward/model/options/RewardOptions.js +3 -0
- package/loginReward/model/options/RewardOptions.js.map +1 -0
- package/loginReward/model/options/RewardOptions.ts +20 -0
- package/loginReward/ref/BonusModelRef.d.ts +6 -0
- package/loginReward/ref/BonusModelRef.js +38 -0
- package/loginReward/ref/BonusModelRef.js.map +1 -0
- package/loginReward/ref/BonusModelRef.ts +52 -0
- package/loginReward/ref/NamespaceRef.d.ts +11 -0
- package/loginReward/ref/NamespaceRef.js +48 -0
- package/loginReward/ref/NamespaceRef.js.map +1 -0
- package/loginReward/ref/NamespaceRef.ts +83 -0
- package/loginReward/ref/index.d.ts +3 -0
- package/loginReward/ref/index.js +24 -0
- package/loginReward/ref/index.js.map +1 -0
- package/loginReward/ref/index.ts +22 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.d.ts +4 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js +29 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js.map +1 -0
- package/loginReward/stampSheet/DeleteReceiveStatusByUserId.ts +37 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.d.ts +4 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js +30 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.js.map +1 -0
- package/loginReward/stampSheet/MarkReceivedByUserId.ts +39 -0
- package/loginReward/stampSheet/index.d.ts +3 -0
- package/loginReward/stampSheet/index.js +24 -0
- package/loginReward/stampSheet/index.js.map +1 -0
- package/loginReward/stampSheet/index.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
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 {CdkResource, Stack} from "../../core/model";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import TransactionSetting from "../../core/model/TransactionSetting";
|
|
20
|
+
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
21
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
22
|
+
|
|
23
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
24
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
25
|
+
import BonusModel from "./BonusModel";
|
|
26
|
+
|
|
27
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
28
|
+
|
|
29
|
+
export default class Namespace extends CdkResource {
|
|
30
|
+
private readonly stack: Stack;
|
|
31
|
+
private readonly name: string;
|
|
32
|
+
private readonly transactionSetting: TransactionSetting;
|
|
33
|
+
private readonly description: string|null = null;
|
|
34
|
+
private readonly receiveScript: ScriptSetting|null = null;
|
|
35
|
+
private readonly logSetting: LogSetting|null = null;
|
|
36
|
+
|
|
37
|
+
public constructor(
|
|
38
|
+
stack: Stack,
|
|
39
|
+
name: string,
|
|
40
|
+
transactionSetting: TransactionSetting,
|
|
41
|
+
options: NamespaceOptions|null = null,
|
|
42
|
+
) {
|
|
43
|
+
super(
|
|
44
|
+
"LoginReward_Namespace_" + name
|
|
45
|
+
);
|
|
46
|
+
|
|
47
|
+
this.stack = stack;
|
|
48
|
+
this.name = name;
|
|
49
|
+
this.transactionSetting = transactionSetting;
|
|
50
|
+
this.description = options?.description ?? null;
|
|
51
|
+
this.receiveScript = options?.receiveScript ?? null;
|
|
52
|
+
this.logSetting = options?.logSetting ?? null;
|
|
53
|
+
stack.addResource(
|
|
54
|
+
this,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
public alternateKeys(
|
|
60
|
+
) {
|
|
61
|
+
return "name";
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public resourceType(
|
|
65
|
+
): string {
|
|
66
|
+
return "GS2::LoginReward::Namespace";
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public properties(
|
|
70
|
+
): {[name: string]: any} {
|
|
71
|
+
let properties: {[name: string]: any} = {};
|
|
72
|
+
|
|
73
|
+
if (this.name != null) {
|
|
74
|
+
properties["Name"] = this.name;
|
|
75
|
+
}
|
|
76
|
+
if (this.description != null) {
|
|
77
|
+
properties["Description"] = this.description;
|
|
78
|
+
}
|
|
79
|
+
if (this.transactionSetting != null) {
|
|
80
|
+
properties["TransactionSetting"] = this.transactionSetting?.properties(
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
if (this.receiveScript != null) {
|
|
84
|
+
properties["ReceiveScript"] = this.receiveScript?.properties(
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
if (this.logSetting != null) {
|
|
88
|
+
properties["LogSetting"] = this.logSetting?.properties(
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return properties;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public ref(
|
|
96
|
+
): NamespaceRef {
|
|
97
|
+
return new NamespaceRef(
|
|
98
|
+
this.name!,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public getAttrNamespaceId(
|
|
103
|
+
): GetAttr {
|
|
104
|
+
return new GetAttr(
|
|
105
|
+
null,
|
|
106
|
+
null,
|
|
107
|
+
"Item.NamespaceId",
|
|
108
|
+
);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
public masterData(
|
|
112
|
+
bonusModels: BonusModel[],
|
|
113
|
+
): Namespace {
|
|
114
|
+
new CurrentMasterData(
|
|
115
|
+
this.stack,
|
|
116
|
+
this.name,
|
|
117
|
+
bonusModels,
|
|
118
|
+
).addDependsOn(
|
|
119
|
+
this,
|
|
120
|
+
);
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AcquireAction } from "../../core/model";
|
|
2
|
+
import { RewardOptions } from "./options/RewardOptions";
|
|
3
|
+
export default class Reward {
|
|
4
|
+
private readonly acquireActions;
|
|
5
|
+
constructor(acquireActions: AcquireAction[], options?: RewardOptions | 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 Reward {
|
|
4
|
+
constructor(acquireActions, options = null) {
|
|
5
|
+
this.acquireActions = acquireActions;
|
|
6
|
+
}
|
|
7
|
+
properties() {
|
|
8
|
+
let properties = {};
|
|
9
|
+
if (this.acquireActions != null) {
|
|
10
|
+
properties["acquireActions"] = this.acquireActions.map(v => v.properties());
|
|
11
|
+
}
|
|
12
|
+
return properties;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = Reward;
|
|
16
|
+
//# sourceMappingURL=Reward.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reward.js","sourceRoot":"","sources":["Reward.ts"],"names":[],"mappings":";;AAkBA,MAAqB,MAAM;IAGvB,YACI,cAA+B,EAC/B,UAA8B,IAAI;QAElC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;IACzC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArBD,yBAqBC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { AcquireAction } from "../../core/model";
|
|
17
|
+
import { RewardOptions } from "./options/RewardOptions";
|
|
18
|
+
|
|
19
|
+
export default class Reward {
|
|
20
|
+
private readonly acquireActions: AcquireAction[];
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
acquireActions: AcquireAction[],
|
|
24
|
+
options: RewardOptions|null = null,
|
|
25
|
+
) {
|
|
26
|
+
this.acquireActions = acquireActions;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public properties(
|
|
30
|
+
): {[name: string]: any} {
|
|
31
|
+
let properties: {[name: string]: any} = {};
|
|
32
|
+
|
|
33
|
+
if (this.acquireActions != null) {
|
|
34
|
+
properties["acquireActions"] = this.acquireActions.map(v => v.properties(
|
|
35
|
+
));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
return properties;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.BonusModelMissedReceiveRelief = void 0;
|
|
19
|
+
exports.BonusModelMissedReceiveRelief = {
|
|
20
|
+
ENABLED: "enabled",
|
|
21
|
+
DISABLED: "disabled",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=BonusModelMissedReceiveRelief.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelMissedReceiveRelief.js","sourceRoot":"","sources":["BonusModelMissedReceiveRelief.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,6BAA6B,GAAG;IACzC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
18
|
+
|
|
19
|
+
export const BonusModelMissedReceiveRelief = {
|
|
20
|
+
ENABLED: "enabled",
|
|
21
|
+
DISABLED: "disabled",
|
|
22
|
+
} as const;
|
|
23
|
+
export type BonusModelMissedReceiveRelief = typeof BonusModelMissedReceiveRelief[keyof typeof BonusModelMissedReceiveRelief];
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.BonusModelMode = void 0;
|
|
19
|
+
exports.BonusModelMode = {
|
|
20
|
+
SCHEDULE: "schedule",
|
|
21
|
+
STREAMING: "streaming",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=BonusModelMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelMode.js","sourceRoot":"","sources":["BonusModelMode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,cAAc,GAAG;IAC1B,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;CAChB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
18
|
+
|
|
19
|
+
export const BonusModelMode = {
|
|
20
|
+
SCHEDULE: "schedule",
|
|
21
|
+
STREAMING: "streaming",
|
|
22
|
+
} as const;
|
|
23
|
+
export type BonusModelMode = typeof BonusModelMode[keyof typeof BonusModelMode];
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
exports.BonusModelRepeat = void 0;
|
|
19
|
+
exports.BonusModelRepeat = {
|
|
20
|
+
ENABLED: "enabled",
|
|
21
|
+
DISABLED: "disabled",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=BonusModelRepeat.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelRepeat.js","sourceRoot":"","sources":["BonusModelRepeat.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,gBAAgB,GAAG;IAC5B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;CACd,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
|
|
18
|
+
|
|
19
|
+
export const BonusModelRepeat = {
|
|
20
|
+
ENABLED: "enabled",
|
|
21
|
+
DISABLED: "disabled",
|
|
22
|
+
} as const;
|
|
23
|
+
export type BonusModelRepeat = typeof BonusModelRepeat[keyof typeof BonusModelRepeat];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Namespace from "./Namespace";
|
|
2
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
|
+
import BonusModel from "./BonusModel";
|
|
4
|
+
import { BonusModelOptions } from "./options/BonusModelOptions";
|
|
5
|
+
import { BonusModelMode } from "./enum/BonusModelMode";
|
|
6
|
+
import { BonusModelRepeat } from "./enum/BonusModelRepeat";
|
|
7
|
+
import { BonusModelMissedReceiveRelief } from "./enum/BonusModelMissedReceiveRelief";
|
|
8
|
+
import { BonusModelModeIsScheduleOptions } from "./options/BonusModelModeIsScheduleOptions";
|
|
9
|
+
import { BonusModelModeIsStreamingOptions } from "./options/BonusModelModeIsStreamingOptions";
|
|
10
|
+
import { BonusModelMissedReceiveReliefIsEnabledOptions } from "./options/BonusModelMissedReceiveReliefIsEnabledOptions";
|
|
11
|
+
import { BonusModelMissedReceiveReliefIsDisabledOptions } from "./options/BonusModelMissedReceiveReliefIsDisabledOptions";
|
|
12
|
+
import Reward from "./Reward";
|
|
13
|
+
import { RewardOptions } from "./options/RewardOptions";
|
|
14
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
15
|
+
export { Namespace, NamespaceOptions, BonusModel, BonusModelOptions, BonusModelMode, BonusModelRepeat, BonusModelMissedReceiveRelief, BonusModelModeIsScheduleOptions, BonusModelModeIsStreamingOptions, BonusModelMissedReceiveReliefIsEnabledOptions, BonusModelMissedReceiveReliefIsDisabledOptions, Reward, RewardOptions, CurrentMasterData, };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CurrentMasterData = exports.Reward = exports.BonusModelMissedReceiveRelief = exports.BonusModelRepeat = exports.BonusModelMode = exports.BonusModel = exports.Namespace = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
21
|
+
exports.Namespace = Namespace_1.default;
|
|
22
|
+
const BonusModel_1 = tslib_1.__importDefault(require("./BonusModel"));
|
|
23
|
+
exports.BonusModel = BonusModel_1.default;
|
|
24
|
+
const BonusModelMode_1 = require("./enum/BonusModelMode");
|
|
25
|
+
Object.defineProperty(exports, "BonusModelMode", { enumerable: true, get: function () { return BonusModelMode_1.BonusModelMode; } });
|
|
26
|
+
const BonusModelRepeat_1 = require("./enum/BonusModelRepeat");
|
|
27
|
+
Object.defineProperty(exports, "BonusModelRepeat", { enumerable: true, get: function () { return BonusModelRepeat_1.BonusModelRepeat; } });
|
|
28
|
+
const BonusModelMissedReceiveRelief_1 = require("./enum/BonusModelMissedReceiveRelief");
|
|
29
|
+
Object.defineProperty(exports, "BonusModelMissedReceiveRelief", { enumerable: true, get: function () { return BonusModelMissedReceiveRelief_1.BonusModelMissedReceiveRelief; } });
|
|
30
|
+
const Reward_1 = tslib_1.__importDefault(require("./Reward"));
|
|
31
|
+
exports.Reward = Reward_1.default;
|
|
32
|
+
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
33
|
+
exports.CurrentMasterData = CurrentMasterData_1.default;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAgBhC,oBAhBG,mBAAS,CAgBH;AAdb,sEAAsC;AAgBlC,qBAhBG,oBAAU,CAgBH;AAdd,0DAAuD;AAgBnD,+FAhBK,+BAAc,OAgBL;AAflB,8DAA2D;AAgBvD,iGAhBK,mCAAgB,OAgBL;AAfpB,wFAAqF;AAgBjF,8GAhBK,6DAA6B,OAgBL;AAXjC,8DAA8B;AAgB1B,iBAhBG,gBAAM,CAgBH;AAdV,oFAAoD;AAgBhD,4BAhBG,2BAAiB,CAgBH"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 Namespace from "./Namespace";
|
|
17
|
+
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
|
+
import BonusModel from "./BonusModel";
|
|
19
|
+
import { BonusModelOptions } from "./options/BonusModelOptions";
|
|
20
|
+
import { BonusModelMode } from "./enum/BonusModelMode";
|
|
21
|
+
import { BonusModelRepeat } from "./enum/BonusModelRepeat";
|
|
22
|
+
import { BonusModelMissedReceiveRelief } from "./enum/BonusModelMissedReceiveRelief";
|
|
23
|
+
import { BonusModelModeIsScheduleOptions } from "./options/BonusModelModeIsScheduleOptions"
|
|
24
|
+
import { BonusModelModeIsStreamingOptions } from "./options/BonusModelModeIsStreamingOptions"
|
|
25
|
+
import { BonusModelMissedReceiveReliefIsEnabledOptions } from "./options/BonusModelMissedReceiveReliefIsEnabledOptions"
|
|
26
|
+
import { BonusModelMissedReceiveReliefIsDisabledOptions } from "./options/BonusModelMissedReceiveReliefIsDisabledOptions"
|
|
27
|
+
import Reward from "./Reward";
|
|
28
|
+
import { RewardOptions } from "./options/RewardOptions";
|
|
29
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
Namespace,
|
|
33
|
+
NamespaceOptions,
|
|
34
|
+
BonusModel,
|
|
35
|
+
BonusModelOptions,
|
|
36
|
+
BonusModelMode,
|
|
37
|
+
BonusModelRepeat,
|
|
38
|
+
BonusModelMissedReceiveRelief,
|
|
39
|
+
BonusModelModeIsScheduleOptions,
|
|
40
|
+
BonusModelModeIsStreamingOptions,
|
|
41
|
+
BonusModelMissedReceiveReliefIsEnabledOptions,
|
|
42
|
+
BonusModelMissedReceiveReliefIsDisabledOptions,
|
|
43
|
+
Reward,
|
|
44
|
+
RewardOptions,
|
|
45
|
+
CurrentMasterData,
|
|
46
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Reward from "../Reward";
|
|
2
|
+
import { ConsumeAction } from "../../../core/model";
|
|
3
|
+
export interface BonusModelMissedReceiveReliefIsDisabledOptions {
|
|
4
|
+
metadata?: string | null;
|
|
5
|
+
periodEventId?: string | null;
|
|
6
|
+
rewards?: Reward[] | null;
|
|
7
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelMissedReceiveReliefIsDisabledOptions.js","sourceRoot":"","sources":["BonusModelMissedReceiveReliefIsDisabledOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { AcquireAction } from "../../../core/model";
|
|
17
|
+
import Reward from "../Reward";
|
|
18
|
+
import { ConsumeAction } from "../../../core/model";
|
|
19
|
+
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
|
+
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
21
|
+
import { BonusModelMissedReceiveRelief } from "../enum/BonusModelMissedReceiveRelief";
|
|
22
|
+
|
|
23
|
+
export interface BonusModelMissedReceiveReliefIsDisabledOptions {
|
|
24
|
+
metadata?: string|null;
|
|
25
|
+
periodEventId?: string|null;
|
|
26
|
+
rewards?: Reward[]|null;
|
|
27
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Reward from "../Reward";
|
|
2
|
+
import { ConsumeAction } from "../../../core/model";
|
|
3
|
+
export interface BonusModelMissedReceiveReliefIsEnabledOptions {
|
|
4
|
+
metadata?: string | null;
|
|
5
|
+
periodEventId?: string | null;
|
|
6
|
+
rewards?: Reward[] | null;
|
|
7
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelMissedReceiveReliefIsEnabledOptions.js","sourceRoot":"","sources":["BonusModelMissedReceiveReliefIsEnabledOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { AcquireAction } from "../../../core/model";
|
|
17
|
+
import Reward from "../Reward";
|
|
18
|
+
import { ConsumeAction } from "../../../core/model";
|
|
19
|
+
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
|
+
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
21
|
+
import { BonusModelMissedReceiveRelief } from "../enum/BonusModelMissedReceiveRelief";
|
|
22
|
+
|
|
23
|
+
export interface BonusModelMissedReceiveReliefIsEnabledOptions {
|
|
24
|
+
metadata?: string|null;
|
|
25
|
+
periodEventId?: string|null;
|
|
26
|
+
rewards?: Reward[]|null;
|
|
27
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Reward from "../Reward";
|
|
2
|
+
import { ConsumeAction } from "../../../core/model";
|
|
3
|
+
export interface BonusModelModeIsScheduleOptions {
|
|
4
|
+
metadata?: string | null;
|
|
5
|
+
periodEventId?: string | null;
|
|
6
|
+
rewards?: Reward[] | null;
|
|
7
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelModeIsScheduleOptions.js","sourceRoot":"","sources":["BonusModelModeIsScheduleOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { AcquireAction } from "../../../core/model";
|
|
17
|
+
import Reward from "../Reward";
|
|
18
|
+
import { ConsumeAction } from "../../../core/model";
|
|
19
|
+
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
|
+
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
21
|
+
import { BonusModelMissedReceiveRelief } from "../enum/BonusModelMissedReceiveRelief";
|
|
22
|
+
|
|
23
|
+
export interface BonusModelModeIsScheduleOptions {
|
|
24
|
+
metadata?: string|null;
|
|
25
|
+
periodEventId?: string|null;
|
|
26
|
+
rewards?: Reward[]|null;
|
|
27
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Reward from "../Reward";
|
|
2
|
+
import { ConsumeAction } from "../../../core/model";
|
|
3
|
+
export interface BonusModelModeIsStreamingOptions {
|
|
4
|
+
metadata?: string | null;
|
|
5
|
+
periodEventId?: string | null;
|
|
6
|
+
rewards?: Reward[] | null;
|
|
7
|
+
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BonusModelModeIsStreamingOptions.js","sourceRoot":"","sources":["BonusModelModeIsStreamingOptions.ts"],"names":[],"mappings":""}
|