gs2-cdk 1.0.16 → 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.
Files changed (92) hide show
  1. package/LICENSE.txt +63 -0
  2. package/README-en.md +26 -0
  3. package/README.md +26 -0
  4. package/loginReward/index.d.ts +12 -0
  5. package/loginReward/index.js +32 -0
  6. package/loginReward/index.js.map +1 -0
  7. package/loginReward/index.ts +36 -0
  8. package/loginReward/model/BonusModel.d.ts +27 -0
  9. package/loginReward/model/BonusModel.js +90 -0
  10. package/loginReward/model/BonusModel.js.map +1 -0
  11. package/loginReward/model/BonusModel.ts +166 -0
  12. package/loginReward/model/CurrentMasterData.d.ts +13 -0
  13. package/loginReward/model/CurrentMasterData.js +50 -0
  14. package/loginReward/model/CurrentMasterData.js.map +1 -0
  15. package/loginReward/model/CurrentMasterData.ts +70 -0
  16. package/loginReward/model/Namespace.d.ts +23 -0
  17. package/loginReward/model/Namespace.js +76 -0
  18. package/loginReward/model/Namespace.js.map +1 -0
  19. package/loginReward/model/Namespace.ts +123 -0
  20. package/loginReward/model/Reward.d.ts +9 -0
  21. package/loginReward/model/Reward.js +16 -0
  22. package/loginReward/model/Reward.js.map +1 -0
  23. package/loginReward/model/Reward.ts +40 -0
  24. package/loginReward/model/enum/BonusModelMissedReceiveRelief.d.ts +5 -0
  25. package/loginReward/model/enum/BonusModelMissedReceiveRelief.js +23 -0
  26. package/loginReward/model/enum/BonusModelMissedReceiveRelief.js.map +1 -0
  27. package/loginReward/model/enum/BonusModelMissedReceiveRelief.ts +23 -0
  28. package/loginReward/model/enum/BonusModelMode.d.ts +5 -0
  29. package/loginReward/model/enum/BonusModelMode.js +23 -0
  30. package/loginReward/model/enum/BonusModelMode.js.map +1 -0
  31. package/loginReward/model/enum/BonusModelMode.ts +23 -0
  32. package/loginReward/model/enum/BonusModelRepeat.d.ts +5 -0
  33. package/loginReward/model/enum/BonusModelRepeat.js +23 -0
  34. package/loginReward/model/enum/BonusModelRepeat.js.map +1 -0
  35. package/loginReward/model/enum/BonusModelRepeat.ts +23 -0
  36. package/loginReward/model/index.d.ts +15 -0
  37. package/loginReward/model/index.js +34 -0
  38. package/loginReward/model/index.js.map +1 -0
  39. package/loginReward/model/index.ts +46 -0
  40. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +8 -0
  41. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js +3 -0
  42. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.js.map +1 -0
  43. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +28 -0
  44. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +8 -0
  45. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js +3 -0
  46. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.js.map +1 -0
  47. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +28 -0
  48. package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +8 -0
  49. package/loginReward/model/options/BonusModelModeIsScheduleOptions.js +3 -0
  50. package/loginReward/model/options/BonusModelModeIsScheduleOptions.js.map +1 -0
  51. package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +28 -0
  52. package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +8 -0
  53. package/loginReward/model/options/BonusModelModeIsStreamingOptions.js +3 -0
  54. package/loginReward/model/options/BonusModelModeIsStreamingOptions.js.map +1 -0
  55. package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +28 -0
  56. package/loginReward/model/options/BonusModelOptions.d.ts +11 -0
  57. package/loginReward/model/options/BonusModelOptions.js +3 -0
  58. package/loginReward/model/options/BonusModelOptions.js.map +1 -0
  59. package/loginReward/model/options/BonusModelOptions.ts +31 -0
  60. package/loginReward/model/options/NamespaceOptions.d.ts +7 -0
  61. package/loginReward/model/options/NamespaceOptions.js +3 -0
  62. package/loginReward/model/options/NamespaceOptions.js.map +1 -0
  63. package/loginReward/model/options/NamespaceOptions.ts +25 -0
  64. package/loginReward/model/options/RewardOptions.d.ts +2 -0
  65. package/loginReward/model/options/RewardOptions.js +3 -0
  66. package/loginReward/model/options/RewardOptions.js.map +1 -0
  67. package/loginReward/model/options/RewardOptions.ts +20 -0
  68. package/loginReward/ref/BonusModelRef.d.ts +6 -0
  69. package/loginReward/ref/BonusModelRef.js +38 -0
  70. package/loginReward/ref/BonusModelRef.js.map +1 -0
  71. package/loginReward/ref/BonusModelRef.ts +52 -0
  72. package/loginReward/ref/NamespaceRef.d.ts +11 -0
  73. package/loginReward/ref/NamespaceRef.js +48 -0
  74. package/loginReward/ref/NamespaceRef.js.map +1 -0
  75. package/loginReward/ref/NamespaceRef.ts +83 -0
  76. package/loginReward/ref/index.d.ts +3 -0
  77. package/loginReward/ref/index.js +24 -0
  78. package/loginReward/ref/index.js.map +1 -0
  79. package/loginReward/ref/index.ts +22 -0
  80. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.d.ts +4 -0
  81. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js +29 -0
  82. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.js.map +1 -0
  83. package/loginReward/stampSheet/DeleteReceiveStatusByUserId.ts +37 -0
  84. package/loginReward/stampSheet/MarkReceivedByUserId.d.ts +4 -0
  85. package/loginReward/stampSheet/MarkReceivedByUserId.js +30 -0
  86. package/loginReward/stampSheet/MarkReceivedByUserId.js.map +1 -0
  87. package/loginReward/stampSheet/MarkReceivedByUserId.ts +39 -0
  88. package/loginReward/stampSheet/index.d.ts +3 -0
  89. package/loginReward/stampSheet/index.js +24 -0
  90. package/loginReward/stampSheet/index.js.map +1 -0
  91. package/loginReward/stampSheet/index.ts +22 -0
  92. package/package.json +1 -1
@@ -0,0 +1,23 @@
1
+ import { CdkResource, Stack } from "../../core/model";
2
+ import { GetAttr } from "../../core/func";
3
+ import TransactionSetting from "../../core/model/TransactionSetting";
4
+ import NamespaceRef from "../ref/NamespaceRef";
5
+ import BonusModel from "./BonusModel";
6
+ import { NamespaceOptions } from "./options/NamespaceOptions";
7
+ export default class Namespace extends CdkResource {
8
+ private readonly stack;
9
+ private readonly name;
10
+ private readonly transactionSetting;
11
+ private readonly description;
12
+ private readonly receiveScript;
13
+ private readonly logSetting;
14
+ constructor(stack: Stack, name: string, transactionSetting: TransactionSetting, options?: NamespaceOptions | null);
15
+ alternateKeys(): string;
16
+ resourceType(): string;
17
+ properties(): {
18
+ [name: string]: any;
19
+ };
20
+ ref(): NamespaceRef;
21
+ getAttrNamespaceId(): GetAttr;
22
+ masterData(bonusModels: BonusModel[]): Namespace;
23
+ }
@@ -0,0 +1,76 @@
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_1 = require("../../core/model");
20
+ const func_1 = require("../../core/func");
21
+ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
+ const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
+ class Namespace extends model_1.CdkResource {
24
+ constructor(stack, name, transactionSetting, options = null) {
25
+ var _a, _b, _c;
26
+ super("LoginReward_Namespace_" + name);
27
+ this.description = null;
28
+ this.receiveScript = null;
29
+ this.logSetting = null;
30
+ this.stack = stack;
31
+ this.name = name;
32
+ this.transactionSetting = transactionSetting;
33
+ this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
34
+ this.receiveScript = (_b = options === null || options === void 0 ? void 0 : options.receiveScript) !== null && _b !== void 0 ? _b : null;
35
+ this.logSetting = (_c = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _c !== void 0 ? _c : null;
36
+ stack.addResource(this);
37
+ }
38
+ alternateKeys() {
39
+ return "name";
40
+ }
41
+ resourceType() {
42
+ return "GS2::LoginReward::Namespace";
43
+ }
44
+ properties() {
45
+ var _a, _b, _c;
46
+ let properties = {};
47
+ if (this.name != null) {
48
+ properties["Name"] = this.name;
49
+ }
50
+ if (this.description != null) {
51
+ properties["Description"] = this.description;
52
+ }
53
+ if (this.transactionSetting != null) {
54
+ properties["TransactionSetting"] = (_a = this.transactionSetting) === null || _a === void 0 ? void 0 : _a.properties();
55
+ }
56
+ if (this.receiveScript != null) {
57
+ properties["ReceiveScript"] = (_b = this.receiveScript) === null || _b === void 0 ? void 0 : _b.properties();
58
+ }
59
+ if (this.logSetting != null) {
60
+ properties["LogSetting"] = (_c = this.logSetting) === null || _c === void 0 ? void 0 : _c.properties();
61
+ }
62
+ return properties;
63
+ }
64
+ ref() {
65
+ return new NamespaceRef_1.default(this.name);
66
+ }
67
+ getAttrNamespaceId() {
68
+ return new func_1.GetAttr(null, null, "Item.NamespaceId");
69
+ }
70
+ masterData(bonusModels) {
71
+ new CurrentMasterData_1.default(this.stack, this.name, bonusModels).addDependsOn(this);
72
+ return this;
73
+ }
74
+ }
75
+ exports.default = Namespace;
76
+ //# sourceMappingURL=Namespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAQ9C,YACI,KAAY,EACZ,IAAY,EACZ,kBAAsC,EACtC,UAAiC,IAAI;;QAErC,KAAK,CACD,wBAAwB,GAAG,IAAI,CAClC,CAAC;QAZW,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAuB,IAAI,CAAC;QACzC,eAAU,GAAoB,IAAI,CAAC;QAYhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,mCAAI,IAAI,CAAC;QAC9C,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,MAAM,CAAC;IAClB,CAAC;IAEM,YAAY;QAEf,OAAO,6BAA6B,CAAC;IACzC,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,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,MAAA,IAAI,CAAC,kBAAkB,0CAAE,UAAU,EACrE,CAAC;SACL;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,MAAA,IAAI,CAAC,aAAa,0CAAE,UAAU,EAC3D,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,kBAAkB,CACrB,CAAC;IACN,CAAC;IAEM,UAAU,CACb,WAAyB;QAEzB,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,WAAW,CACd,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AA9FD,4BA8FC"}
@@ -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,5 @@
1
+ export declare const BonusModelMissedReceiveRelief: {
2
+ readonly ENABLED: "enabled";
3
+ readonly DISABLED: "disabled";
4
+ };
5
+ 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.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,5 @@
1
+ export declare const BonusModelMode: {
2
+ readonly SCHEDULE: "schedule";
3
+ readonly STREAMING: "streaming";
4
+ };
5
+ 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.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,5 @@
1
+ export declare const BonusModelRepeat: {
2
+ readonly ENABLED: "enabled";
3
+ readonly DISABLED: "disabled";
4
+ };
5
+ export type BonusModelRepeat = typeof BonusModelRepeat[keyof typeof BonusModelRepeat];
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BonusModelMissedReceiveReliefIsDisabledOptions.js.map
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BonusModelMissedReceiveReliefIsEnabledOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BonusModelMissedReceiveReliefIsEnabledOptions.js","sourceRoot":"","sources":["BonusModelMissedReceiveReliefIsEnabledOptions.ts"],"names":[],"mappings":""}