gs2-cdk 1.0.75 → 1.0.76
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/exchange/model/RateModel.d.ts +1 -0
- package/exchange/model/RateModel.js +11 -4
- package/exchange/model/RateModel.js.map +1 -1
- package/exchange/model/RateModel.ts +9 -0
- package/exchange/model/options/RateModelOptions.d.ts +2 -0
- package/exchange/model/options/RateModelOptions.ts +2 -0
- package/exchange/model/options/RateModelTimingTypeIsAwaitOptions.d.ts +2 -0
- package/exchange/model/options/RateModelTimingTypeIsAwaitOptions.ts +2 -0
- package/exchange/model/options/RateModelTimingTypeIsImmediateOptions.d.ts +2 -0
- package/exchange/model/options/RateModelTimingTypeIsImmediateOptions.ts +2 -0
- package/friend/model/Namespace.d.ts +3 -0
- package/friend/model/Namespace.js +21 -6
- package/friend/model/Namespace.js.map +1 -1
- package/friend/model/Namespace.ts +18 -0
- package/friend/model/options/NamespaceOptions.d.ts +3 -0
- package/friend/model/options/NamespaceOptions.ts +3 -0
- package/loginReward/model/BonusModel.d.ts +1 -0
- package/loginReward/model/BonusModel.js +11 -2
- package/loginReward/model/BonusModel.js.map +1 -1
- package/loginReward/model/BonusModel.ts +11 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +2 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +2 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +2 -0
- package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +2 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +2 -0
- package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +2 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +2 -0
- package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +2 -0
- package/loginReward/model/options/BonusModelOptions.d.ts +2 -0
- package/loginReward/model/options/BonusModelOptions.ts +2 -0
- package/mission/model/MissionGroupModel.ts +1 -1
- package/mission/model/MissionTaskModel.d.ts +2 -2
- package/mission/model/MissionTaskModel.js +2 -2
- package/mission/model/MissionTaskModel.js.map +1 -1
- package/mission/model/MissionTaskModel.ts +6 -6
- package/mission/model/enum/MissionTaskModelVerifyCompleteType.d.ts +1 -1
- package/mission/model/enum/MissionTaskModelVerifyCompleteType.js +1 -1
- package/mission/model/enum/MissionTaskModelVerifyCompleteType.js.map +1 -1
- package/mission/model/enum/MissionTaskModelVerifyCompleteType.ts +1 -1
- package/mission/model/index.d.ts +2 -2
- package/mission/model/index.ts +2 -2
- package/mission/model/options/MissionGroupModelOptions.ts +1 -1
- package/mission/model/options/MissionGroupModelResetTypeIsDailyOptions.ts +1 -1
- package/mission/model/options/MissionGroupModelResetTypeIsMonthlyOptions.ts +1 -1
- package/mission/model/options/MissionGroupModelResetTypeIsNotResetOptions.ts +1 -1
- package/mission/model/options/MissionGroupModelResetTypeIsWeeklyOptions.ts +1 -1
- package/mission/model/options/MissionTaskModelOptions.d.ts +2 -2
- package/mission/model/options/MissionTaskModelOptions.ts +2 -2
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsCounterOptions.d.ts +2 -2
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsCounterOptions.ts +2 -2
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.d.ts +11 -0
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.js +3 -0
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.js.map +1 -0
- package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.ts +29 -0
- package/package.json +1 -1
- package/quest/model/QuestGroupModel.js.map +1 -1
- package/quest/model/QuestGroupModel.ts +1 -0
- package/quest/model/QuestModel.d.ts +1 -0
- package/quest/model/QuestModel.js +9 -4
- package/quest/model/QuestModel.js.map +1 -1
- package/quest/model/QuestModel.ts +7 -0
- package/quest/model/options/QuestGroupModelOptions.ts +1 -0
- package/quest/model/options/QuestModelOptions.d.ts +2 -0
- package/quest/model/options/QuestModelOptions.ts +2 -0
- package/script/model/Transaction.d.ts +1 -0
- package/script/model/Transaction.js +8 -3
- package/script/model/Transaction.js.map +1 -1
- package/script/model/Transaction.ts +7 -0
- package/script/model/options/TransactionOptions.d.ts +2 -0
- package/script/model/options/TransactionOptions.ts +2 -0
- package/showcase/model/DisplayItem.js.map +1 -1
- package/showcase/model/DisplayItem.ts +1 -0
- package/showcase/model/RandomDisplayItemModel.d.ts +1 -0
- package/showcase/model/RandomDisplayItemModel.js +7 -2
- package/showcase/model/RandomDisplayItemModel.js.map +1 -1
- package/showcase/model/RandomDisplayItemModel.ts +7 -0
- package/showcase/model/RandomShowcase.js.map +1 -1
- package/showcase/model/RandomShowcase.ts +1 -0
- package/showcase/model/SalesItem.d.ts +1 -0
- package/showcase/model/SalesItem.js +7 -2
- package/showcase/model/SalesItem.js.map +1 -1
- package/showcase/model/SalesItem.ts +7 -0
- package/showcase/model/SalesItemGroup.js.map +1 -1
- package/showcase/model/SalesItemGroup.ts +1 -0
- package/showcase/model/Showcase.js.map +1 -1
- package/showcase/model/Showcase.ts +1 -0
- package/showcase/model/options/DisplayItemOptions.ts +1 -0
- package/showcase/model/options/DisplayItemTypeIsSalesItemGroupOptions.ts +1 -0
- package/showcase/model/options/DisplayItemTypeIsSalesItemOptions.ts +1 -0
- package/showcase/model/options/RandomDisplayItemModelOptions.d.ts +2 -0
- package/showcase/model/options/RandomDisplayItemModelOptions.ts +2 -0
- package/showcase/model/options/RandomShowcaseOptions.ts +1 -0
- package/showcase/model/options/SalesItemGroupOptions.ts +1 -0
- package/showcase/model/options/SalesItemOptions.d.ts +2 -0
- package/showcase/model/options/SalesItemOptions.ts +2 -0
- package/showcase/model/options/ShowcaseOptions.ts +1 -0
- package/skillTree/model/NodeModel.d.ts +1 -0
- package/skillTree/model/NodeModel.js +8 -3
- package/skillTree/model/NodeModel.js.map +1 -1
- package/skillTree/model/NodeModel.ts +7 -0
- package/skillTree/model/options/NodeModelOptions.d.ts +2 -0
- package/skillTree/model/options/NodeModelOptions.ts +2 -0
|
@@ -3,21 +3,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const RateModelTimingType_1 = require("./enum/RateModelTimingType");
|
|
4
4
|
class RateModel {
|
|
5
5
|
constructor(name, timingType, options = null) {
|
|
6
|
-
var _a, _b, _c, _d;
|
|
6
|
+
var _a, _b, _c, _d, _e;
|
|
7
7
|
this.metadata = null;
|
|
8
|
+
this.verifyActions = null;
|
|
8
9
|
this.consumeActions = null;
|
|
9
10
|
this.lockTime = null;
|
|
10
11
|
this.acquireActions = null;
|
|
11
12
|
this.name = name;
|
|
12
13
|
this.timingType = timingType;
|
|
13
14
|
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
16
|
-
this.
|
|
15
|
+
this.verifyActions = (_b = options === null || options === void 0 ? void 0 : options.verifyActions) !== null && _b !== void 0 ? _b : null;
|
|
16
|
+
this.consumeActions = (_c = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _c !== void 0 ? _c : null;
|
|
17
|
+
this.lockTime = (_d = options === null || options === void 0 ? void 0 : options.lockTime) !== null && _d !== void 0 ? _d : null;
|
|
18
|
+
this.acquireActions = (_e = options === null || options === void 0 ? void 0 : options.acquireActions) !== null && _e !== void 0 ? _e : null;
|
|
17
19
|
}
|
|
18
20
|
static timingTypeIsImmediate(name, options = null) {
|
|
19
21
|
return new RateModel(name, RateModelTimingType_1.RateModelTimingType.IMMEDIATE, {
|
|
20
22
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
23
|
+
verifyActions: options === null || options === void 0 ? void 0 : options.verifyActions,
|
|
21
24
|
consumeActions: options === null || options === void 0 ? void 0 : options.consumeActions,
|
|
22
25
|
acquireActions: options === null || options === void 0 ? void 0 : options.acquireActions,
|
|
23
26
|
});
|
|
@@ -26,6 +29,7 @@ class RateModel {
|
|
|
26
29
|
return new RateModel(name, RateModelTimingType_1.RateModelTimingType.AWAIT, {
|
|
27
30
|
lockTime: lockTime,
|
|
28
31
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
32
|
+
verifyActions: options === null || options === void 0 ? void 0 : options.verifyActions,
|
|
29
33
|
consumeActions: options === null || options === void 0 ? void 0 : options.consumeActions,
|
|
30
34
|
acquireActions: options === null || options === void 0 ? void 0 : options.acquireActions,
|
|
31
35
|
});
|
|
@@ -38,6 +42,9 @@ class RateModel {
|
|
|
38
42
|
if (this.metadata != null) {
|
|
39
43
|
properties["metadata"] = this.metadata;
|
|
40
44
|
}
|
|
45
|
+
if (this.verifyActions != null) {
|
|
46
|
+
properties["verifyActions"] = this.verifyActions.map(v => v.properties());
|
|
47
|
+
}
|
|
41
48
|
if (this.consumeActions != null) {
|
|
42
49
|
properties["consumeActions"] = this.consumeActions.map(v => v.properties());
|
|
43
50
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RateModel.js","sourceRoot":"","sources":["RateModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"RateModel.js","sourceRoot":"","sources":["RateModel.ts"],"names":[],"mappings":";;AAqBA,oEAAiE;AAEjE,MAAqB,SAAS;IAS1B,YACI,IAAY,EACZ,UAA+B,EAC/B,UAAiC,IAAI;;QATxB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,kBAAa,GAAwB,IAAI,CAAC;QAC1C,mBAAc,GAAyB,IAAI,CAAC;QAC5C,aAAQ,GAAgB,IAAI,CAAC;QAC7B,mBAAc,GAAyB,IAAI,CAAC;QAOzD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,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
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { VerifyAction } from "../../core/model";
|
|
16
17
|
import { ConsumeAction } from "../../core/model";
|
|
17
18
|
import { AcquireAction } from "../../core/model";
|
|
18
19
|
import { RateModelOptions } from "./options/RateModelOptions";
|
|
@@ -24,6 +25,7 @@ export default class RateModel {
|
|
|
24
25
|
private readonly name: string;
|
|
25
26
|
private readonly timingType: RateModelTimingType;
|
|
26
27
|
private readonly metadata: string|null = null;
|
|
28
|
+
private readonly verifyActions: VerifyAction[]|null = null;
|
|
27
29
|
private readonly consumeActions: ConsumeAction[]|null = null;
|
|
28
30
|
private readonly lockTime: number|null = null;
|
|
29
31
|
private readonly acquireActions: AcquireAction[]|null = null;
|
|
@@ -36,6 +38,7 @@ export default class RateModel {
|
|
|
36
38
|
this.name = name;
|
|
37
39
|
this.timingType = timingType;
|
|
38
40
|
this.metadata = options?.metadata ?? null;
|
|
41
|
+
this.verifyActions = options?.verifyActions ?? null;
|
|
39
42
|
this.consumeActions = options?.consumeActions ?? null;
|
|
40
43
|
this.lockTime = options?.lockTime ?? null;
|
|
41
44
|
this.acquireActions = options?.acquireActions ?? null;
|
|
@@ -50,6 +53,7 @@ export default class RateModel {
|
|
|
50
53
|
RateModelTimingType.IMMEDIATE,
|
|
51
54
|
{
|
|
52
55
|
metadata: options?.metadata,
|
|
56
|
+
verifyActions: options?.verifyActions,
|
|
53
57
|
consumeActions: options?.consumeActions,
|
|
54
58
|
acquireActions: options?.acquireActions,
|
|
55
59
|
},
|
|
@@ -67,6 +71,7 @@ export default class RateModel {
|
|
|
67
71
|
{
|
|
68
72
|
lockTime: lockTime,
|
|
69
73
|
metadata: options?.metadata,
|
|
74
|
+
verifyActions: options?.verifyActions,
|
|
70
75
|
consumeActions: options?.consumeActions,
|
|
71
76
|
acquireActions: options?.acquireActions,
|
|
72
77
|
},
|
|
@@ -83,6 +88,10 @@ export default class RateModel {
|
|
|
83
88
|
if (this.metadata != null) {
|
|
84
89
|
properties["metadata"] = this.metadata;
|
|
85
90
|
}
|
|
91
|
+
if (this.verifyActions != null) {
|
|
92
|
+
properties["verifyActions"] = this.verifyActions.map(v => v.properties(
|
|
93
|
+
));
|
|
94
|
+
}
|
|
86
95
|
if (this.consumeActions != null) {
|
|
87
96
|
properties["consumeActions"] = this.consumeActions.map(v => v.properties(
|
|
88
97
|
));
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { VerifyAction } from "../../../core/model";
|
|
1
2
|
import { ConsumeAction } from "../../../core/model";
|
|
2
3
|
import { AcquireAction } from "../../../core/model";
|
|
3
4
|
export interface RateModelOptions {
|
|
4
5
|
metadata?: string | null;
|
|
6
|
+
verifyActions?: VerifyAction[] | null;
|
|
5
7
|
consumeActions?: ConsumeAction[] | null;
|
|
6
8
|
lockTime?: number | null;
|
|
7
9
|
acquireActions?: AcquireAction[] | null;
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { VerifyAction } from "../../../core/model";
|
|
16
17
|
import { ConsumeAction } from "../../../core/model";
|
|
17
18
|
import { AcquireAction } from "../../../core/model";
|
|
18
19
|
import { RateModelTimingType } from "../enum/RateModelTimingType";
|
|
19
20
|
|
|
20
21
|
export interface RateModelOptions {
|
|
21
22
|
metadata?: string|null;
|
|
23
|
+
verifyActions?: VerifyAction[]|null;
|
|
22
24
|
consumeActions?: ConsumeAction[]|null;
|
|
23
25
|
lockTime?: number|null;
|
|
24
26
|
acquireActions?: AcquireAction[]|null;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { VerifyAction } from "../../../core/model";
|
|
1
2
|
import { ConsumeAction } from "../../../core/model";
|
|
2
3
|
import { AcquireAction } from "../../../core/model";
|
|
3
4
|
export interface RateModelTimingTypeIsAwaitOptions {
|
|
4
5
|
metadata?: string | null;
|
|
6
|
+
verifyActions?: VerifyAction[] | null;
|
|
5
7
|
consumeActions?: ConsumeAction[] | null;
|
|
6
8
|
acquireActions?: AcquireAction[] | null;
|
|
7
9
|
}
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { VerifyAction } from "../../../core/model";
|
|
16
17
|
import { ConsumeAction } from "../../../core/model";
|
|
17
18
|
import { AcquireAction } from "../../../core/model";
|
|
18
19
|
import { RateModelTimingType } from "../enum/RateModelTimingType";
|
|
19
20
|
|
|
20
21
|
export interface RateModelTimingTypeIsAwaitOptions {
|
|
21
22
|
metadata?: string|null;
|
|
23
|
+
verifyActions?: VerifyAction[]|null;
|
|
22
24
|
consumeActions?: ConsumeAction[]|null;
|
|
23
25
|
acquireActions?: AcquireAction[]|null;
|
|
24
26
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { VerifyAction } from "../../../core/model";
|
|
1
2
|
import { ConsumeAction } from "../../../core/model";
|
|
2
3
|
import { AcquireAction } from "../../../core/model";
|
|
3
4
|
export interface RateModelTimingTypeIsImmediateOptions {
|
|
4
5
|
metadata?: string | null;
|
|
6
|
+
verifyActions?: VerifyAction[] | null;
|
|
5
7
|
consumeActions?: ConsumeAction[] | null;
|
|
6
8
|
acquireActions?: AcquireAction[] | null;
|
|
7
9
|
}
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { VerifyAction } from "../../../core/model";
|
|
16
17
|
import { ConsumeAction } from "../../../core/model";
|
|
17
18
|
import { AcquireAction } from "../../../core/model";
|
|
18
19
|
import { RateModelTimingType } from "../enum/RateModelTimingType";
|
|
19
20
|
|
|
20
21
|
export interface RateModelTimingTypeIsImmediateOptions {
|
|
21
22
|
metadata?: string|null;
|
|
23
|
+
verifyActions?: VerifyAction[]|null;
|
|
22
24
|
consumeActions?: ConsumeAction[]|null;
|
|
23
25
|
acquireActions?: AcquireAction[]|null;
|
|
24
26
|
}
|
|
@@ -16,7 +16,10 @@ export default class Namespace extends CdkResource {
|
|
|
16
16
|
private readonly updateProfileScript;
|
|
17
17
|
private readonly followNotification;
|
|
18
18
|
private readonly receiveRequestNotification;
|
|
19
|
+
private readonly cancelRequestNotification;
|
|
19
20
|
private readonly acceptRequestNotification;
|
|
21
|
+
private readonly rejectRequestNotification;
|
|
22
|
+
private readonly deleteFriendNotification;
|
|
20
23
|
private readonly logSetting;
|
|
21
24
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
22
25
|
alternateKeys(): string;
|
|
@@ -21,7 +21,7 @@ const func_1 = require("../../core/func");
|
|
|
21
21
|
const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
22
22
|
class Namespace extends model_1.CdkResource {
|
|
23
23
|
constructor(stack, name, options = null) {
|
|
24
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
25
25
|
super("Friend_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
27
|
this.followScript = null;
|
|
@@ -34,7 +34,10 @@ class Namespace extends model_1.CdkResource {
|
|
|
34
34
|
this.updateProfileScript = null;
|
|
35
35
|
this.followNotification = null;
|
|
36
36
|
this.receiveRequestNotification = null;
|
|
37
|
+
this.cancelRequestNotification = null;
|
|
37
38
|
this.acceptRequestNotification = null;
|
|
39
|
+
this.rejectRequestNotification = null;
|
|
40
|
+
this.deleteFriendNotification = null;
|
|
38
41
|
this.logSetting = null;
|
|
39
42
|
this.stack = stack;
|
|
40
43
|
this.name = name;
|
|
@@ -49,8 +52,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
49
52
|
this.updateProfileScript = (_j = options === null || options === void 0 ? void 0 : options.updateProfileScript) !== null && _j !== void 0 ? _j : null;
|
|
50
53
|
this.followNotification = (_k = options === null || options === void 0 ? void 0 : options.followNotification) !== null && _k !== void 0 ? _k : null;
|
|
51
54
|
this.receiveRequestNotification = (_l = options === null || options === void 0 ? void 0 : options.receiveRequestNotification) !== null && _l !== void 0 ? _l : null;
|
|
52
|
-
this.
|
|
53
|
-
this.
|
|
55
|
+
this.cancelRequestNotification = (_m = options === null || options === void 0 ? void 0 : options.cancelRequestNotification) !== null && _m !== void 0 ? _m : null;
|
|
56
|
+
this.acceptRequestNotification = (_o = options === null || options === void 0 ? void 0 : options.acceptRequestNotification) !== null && _o !== void 0 ? _o : null;
|
|
57
|
+
this.rejectRequestNotification = (_p = options === null || options === void 0 ? void 0 : options.rejectRequestNotification) !== null && _p !== void 0 ? _p : null;
|
|
58
|
+
this.deleteFriendNotification = (_q = options === null || options === void 0 ? void 0 : options.deleteFriendNotification) !== null && _q !== void 0 ? _q : null;
|
|
59
|
+
this.logSetting = (_r = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _r !== void 0 ? _r : null;
|
|
54
60
|
stack.addResource(this);
|
|
55
61
|
}
|
|
56
62
|
alternateKeys() {
|
|
@@ -60,7 +66,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
60
66
|
return "GS2::Friend::Namespace";
|
|
61
67
|
}
|
|
62
68
|
properties() {
|
|
63
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
69
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
64
70
|
let properties = {};
|
|
65
71
|
if (this.name != null) {
|
|
66
72
|
properties["Name"] = this.name;
|
|
@@ -98,11 +104,20 @@ class Namespace extends model_1.CdkResource {
|
|
|
98
104
|
if (this.receiveRequestNotification != null) {
|
|
99
105
|
properties["ReceiveRequestNotification"] = (_k = this.receiveRequestNotification) === null || _k === void 0 ? void 0 : _k.properties();
|
|
100
106
|
}
|
|
107
|
+
if (this.cancelRequestNotification != null) {
|
|
108
|
+
properties["CancelRequestNotification"] = (_l = this.cancelRequestNotification) === null || _l === void 0 ? void 0 : _l.properties();
|
|
109
|
+
}
|
|
101
110
|
if (this.acceptRequestNotification != null) {
|
|
102
|
-
properties["AcceptRequestNotification"] = (
|
|
111
|
+
properties["AcceptRequestNotification"] = (_m = this.acceptRequestNotification) === null || _m === void 0 ? void 0 : _m.properties();
|
|
112
|
+
}
|
|
113
|
+
if (this.rejectRequestNotification != null) {
|
|
114
|
+
properties["RejectRequestNotification"] = (_o = this.rejectRequestNotification) === null || _o === void 0 ? void 0 : _o.properties();
|
|
115
|
+
}
|
|
116
|
+
if (this.deleteFriendNotification != null) {
|
|
117
|
+
properties["DeleteFriendNotification"] = (_p = this.deleteFriendNotification) === null || _p === void 0 ? void 0 : _p.properties();
|
|
103
118
|
}
|
|
104
119
|
if (this.logSetting != null) {
|
|
105
|
-
properties["LogSetting"] = (
|
|
120
|
+
properties["LogSetting"] = (_q = this.logSetting) === null || _q === void 0 ? void 0 : _q.properties();
|
|
106
121
|
}
|
|
107
122
|
return properties;
|
|
108
123
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAI/C,MAAqB,SAAU,SAAQ,mBAAW;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAI/C,MAAqB,SAAU,SAAQ,mBAAW;IAoB9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,mBAAmB,GAAG,IAAI,CAC7B,CAAC;QAxBW,gBAAW,GAAgB,IAAI,CAAC;QAChC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b,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AAxJD,4BAwJC"}
|
|
@@ -38,7 +38,10 @@ export default class Namespace extends CdkResource {
|
|
|
38
38
|
private readonly updateProfileScript: ScriptSetting|null = null;
|
|
39
39
|
private readonly followNotification: NotificationSetting|null = null;
|
|
40
40
|
private readonly receiveRequestNotification: NotificationSetting|null = null;
|
|
41
|
+
private readonly cancelRequestNotification: NotificationSetting|null = null;
|
|
41
42
|
private readonly acceptRequestNotification: NotificationSetting|null = null;
|
|
43
|
+
private readonly rejectRequestNotification: NotificationSetting|null = null;
|
|
44
|
+
private readonly deleteFriendNotification: NotificationSetting|null = null;
|
|
42
45
|
private readonly logSetting: LogSetting|null = null;
|
|
43
46
|
|
|
44
47
|
public constructor(
|
|
@@ -63,7 +66,10 @@ export default class Namespace extends CdkResource {
|
|
|
63
66
|
this.updateProfileScript = options?.updateProfileScript ?? null;
|
|
64
67
|
this.followNotification = options?.followNotification ?? null;
|
|
65
68
|
this.receiveRequestNotification = options?.receiveRequestNotification ?? null;
|
|
69
|
+
this.cancelRequestNotification = options?.cancelRequestNotification ?? null;
|
|
66
70
|
this.acceptRequestNotification = options?.acceptRequestNotification ?? null;
|
|
71
|
+
this.rejectRequestNotification = options?.rejectRequestNotification ?? null;
|
|
72
|
+
this.deleteFriendNotification = options?.deleteFriendNotification ?? null;
|
|
67
73
|
this.logSetting = options?.logSetting ?? null;
|
|
68
74
|
stack.addResource(
|
|
69
75
|
this,
|
|
@@ -131,10 +137,22 @@ export default class Namespace extends CdkResource {
|
|
|
131
137
|
properties["ReceiveRequestNotification"] = this.receiveRequestNotification?.properties(
|
|
132
138
|
);
|
|
133
139
|
}
|
|
140
|
+
if (this.cancelRequestNotification != null) {
|
|
141
|
+
properties["CancelRequestNotification"] = this.cancelRequestNotification?.properties(
|
|
142
|
+
);
|
|
143
|
+
}
|
|
134
144
|
if (this.acceptRequestNotification != null) {
|
|
135
145
|
properties["AcceptRequestNotification"] = this.acceptRequestNotification?.properties(
|
|
136
146
|
);
|
|
137
147
|
}
|
|
148
|
+
if (this.rejectRequestNotification != null) {
|
|
149
|
+
properties["RejectRequestNotification"] = this.rejectRequestNotification?.properties(
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
if (this.deleteFriendNotification != null) {
|
|
153
|
+
properties["DeleteFriendNotification"] = this.deleteFriendNotification?.properties(
|
|
154
|
+
);
|
|
155
|
+
}
|
|
138
156
|
if (this.logSetting != null) {
|
|
139
157
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
140
158
|
);
|
|
@@ -13,6 +13,9 @@ export interface NamespaceOptions {
|
|
|
13
13
|
updateProfileScript?: ScriptSetting | null;
|
|
14
14
|
followNotification?: NotificationSetting | null;
|
|
15
15
|
receiveRequestNotification?: NotificationSetting | null;
|
|
16
|
+
cancelRequestNotification?: NotificationSetting | null;
|
|
16
17
|
acceptRequestNotification?: NotificationSetting | null;
|
|
18
|
+
rejectRequestNotification?: NotificationSetting | null;
|
|
19
|
+
deleteFriendNotification?: NotificationSetting | null;
|
|
17
20
|
logSetting?: LogSetting | null;
|
|
18
21
|
}
|
|
@@ -29,7 +29,10 @@ export interface NamespaceOptions {
|
|
|
29
29
|
updateProfileScript?: ScriptSetting|null;
|
|
30
30
|
followNotification?: NotificationSetting|null;
|
|
31
31
|
receiveRequestNotification?: NotificationSetting|null;
|
|
32
|
+
cancelRequestNotification?: NotificationSetting|null;
|
|
32
33
|
acceptRequestNotification?: NotificationSetting|null;
|
|
34
|
+
rejectRequestNotification?: NotificationSetting|null;
|
|
35
|
+
deleteFriendNotification?: NotificationSetting|null;
|
|
33
36
|
logSetting?: LogSetting|null;
|
|
34
37
|
}
|
|
35
38
|
|
|
@@ -15,6 +15,7 @@ export default class BonusModel {
|
|
|
15
15
|
private readonly resetHour;
|
|
16
16
|
private readonly repeat;
|
|
17
17
|
private readonly rewards;
|
|
18
|
+
private readonly missedReceiveReliefVerifyActions;
|
|
18
19
|
private readonly missedReceiveReliefConsumeActions;
|
|
19
20
|
constructor(name: string, mode: BonusModelMode, missedReceiveRelief: BonusModelMissedReceiveRelief, options?: BonusModelOptions | null);
|
|
20
21
|
static modeIsSchedule(name: string, missedReceiveRelief: BonusModelMissedReceiveRelief, options?: BonusModelModeIsScheduleOptions | null): BonusModel;
|
|
@@ -4,12 +4,13 @@ const BonusModelMode_1 = require("./enum/BonusModelMode");
|
|
|
4
4
|
const BonusModelMissedReceiveRelief_1 = require("./enum/BonusModelMissedReceiveRelief");
|
|
5
5
|
class BonusModel {
|
|
6
6
|
constructor(name, mode, missedReceiveRelief, options = null) {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f;
|
|
7
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
8
8
|
this.metadata = null;
|
|
9
9
|
this.periodEventId = null;
|
|
10
10
|
this.resetHour = null;
|
|
11
11
|
this.repeat = null;
|
|
12
12
|
this.rewards = null;
|
|
13
|
+
this.missedReceiveReliefVerifyActions = null;
|
|
13
14
|
this.missedReceiveReliefConsumeActions = null;
|
|
14
15
|
this.name = name;
|
|
15
16
|
this.mode = mode;
|
|
@@ -19,13 +20,15 @@ class BonusModel {
|
|
|
19
20
|
this.resetHour = (_c = options === null || options === void 0 ? void 0 : options.resetHour) !== null && _c !== void 0 ? _c : null;
|
|
20
21
|
this.repeat = (_d = options === null || options === void 0 ? void 0 : options.repeat) !== null && _d !== void 0 ? _d : null;
|
|
21
22
|
this.rewards = (_e = options === null || options === void 0 ? void 0 : options.rewards) !== null && _e !== void 0 ? _e : null;
|
|
22
|
-
this.
|
|
23
|
+
this.missedReceiveReliefVerifyActions = (_f = options === null || options === void 0 ? void 0 : options.missedReceiveReliefVerifyActions) !== null && _f !== void 0 ? _f : null;
|
|
24
|
+
this.missedReceiveReliefConsumeActions = (_g = options === null || options === void 0 ? void 0 : options.missedReceiveReliefConsumeActions) !== null && _g !== void 0 ? _g : null;
|
|
23
25
|
}
|
|
24
26
|
static modeIsSchedule(name, missedReceiveRelief, options = null) {
|
|
25
27
|
return new BonusModel(name, BonusModelMode_1.BonusModelMode.SCHEDULE, missedReceiveRelief, {
|
|
26
28
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
27
29
|
periodEventId: options === null || options === void 0 ? void 0 : options.periodEventId,
|
|
28
30
|
rewards: options === null || options === void 0 ? void 0 : options.rewards,
|
|
31
|
+
missedReceiveReliefVerifyActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefVerifyActions,
|
|
29
32
|
missedReceiveReliefConsumeActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefConsumeActions,
|
|
30
33
|
});
|
|
31
34
|
}
|
|
@@ -35,6 +38,7 @@ class BonusModel {
|
|
|
35
38
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
36
39
|
periodEventId: options === null || options === void 0 ? void 0 : options.periodEventId,
|
|
37
40
|
rewards: options === null || options === void 0 ? void 0 : options.rewards,
|
|
41
|
+
missedReceiveReliefVerifyActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefVerifyActions,
|
|
38
42
|
missedReceiveReliefConsumeActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefConsumeActions,
|
|
39
43
|
});
|
|
40
44
|
}
|
|
@@ -43,6 +47,7 @@ class BonusModel {
|
|
|
43
47
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
44
48
|
periodEventId: options === null || options === void 0 ? void 0 : options.periodEventId,
|
|
45
49
|
rewards: options === null || options === void 0 ? void 0 : options.rewards,
|
|
50
|
+
missedReceiveReliefVerifyActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefVerifyActions,
|
|
46
51
|
missedReceiveReliefConsumeActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefConsumeActions,
|
|
47
52
|
});
|
|
48
53
|
}
|
|
@@ -51,6 +56,7 @@ class BonusModel {
|
|
|
51
56
|
metadata: options === null || options === void 0 ? void 0 : options.metadata,
|
|
52
57
|
periodEventId: options === null || options === void 0 ? void 0 : options.periodEventId,
|
|
53
58
|
rewards: options === null || options === void 0 ? void 0 : options.rewards,
|
|
59
|
+
missedReceiveReliefVerifyActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefVerifyActions,
|
|
54
60
|
missedReceiveReliefConsumeActions: options === null || options === void 0 ? void 0 : options.missedReceiveReliefConsumeActions,
|
|
55
61
|
});
|
|
56
62
|
}
|
|
@@ -80,6 +86,9 @@ class BonusModel {
|
|
|
80
86
|
if (this.missedReceiveRelief != null) {
|
|
81
87
|
properties["missedReceiveRelief"] = this.missedReceiveRelief;
|
|
82
88
|
}
|
|
89
|
+
if (this.missedReceiveReliefVerifyActions != null) {
|
|
90
|
+
properties["missedReceiveReliefVerifyActions"] = this.missedReceiveReliefVerifyActions.map(v => v.properties());
|
|
91
|
+
}
|
|
83
92
|
if (this.missedReceiveReliefConsumeActions != null) {
|
|
84
93
|
properties["missedReceiveReliefConsumeActions"] = this.missedReceiveReliefConsumeActions.map(v => v.properties());
|
|
85
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BonusModel.js","sourceRoot":"","sources":["BonusModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"BonusModel.js","sourceRoot":"","sources":["BonusModel.ts"],"names":[],"mappings":";;AAwBA,0DAAuD;AAEvD,wFAAqF;AAErF,MAAqB,UAAU;IAY3B,YACI,IAAY,EACZ,IAAoB,EACpB,mBAAkD,EAClD,UAAkC,IAAI;;QAZzB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,kBAAa,GAAgB,IAAI,CAAC;QAClC,cAAS,GAAgB,IAAI,CAAC;QAC9B,WAAM,GAA0B,IAAI,CAAC;QACrC,YAAO,GAAkB,IAAI,CAAC;QAC9B,qCAAgC,GAAwB,IAAI,CAAC;QAC7D,sCAAiC,GAAyB,IAAI,CAAC;QAQ5E,IAAI,CA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AG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACrD,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACvG,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,iCAAiC,IAAI,IAAI,EAAE;YAChD,UAAU,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC,iCAAiC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACzG,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApJD,6BAoJC"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AcquireAction } from "../../core/model";
|
|
17
17
|
import Reward from "./Reward";
|
|
18
|
+
import { VerifyAction } from "../../core/model";
|
|
18
19
|
import { ConsumeAction } from "../../core/model";
|
|
19
20
|
import { BonusModelOptions } from "./options/BonusModelOptions";
|
|
20
21
|
import { BonusModelModeIsScheduleOptions } from "./options/BonusModelModeIsScheduleOptions";
|
|
@@ -34,6 +35,7 @@ export default class BonusModel {
|
|
|
34
35
|
private readonly resetHour: number|null = null;
|
|
35
36
|
private readonly repeat: BonusModelRepeat|null = null;
|
|
36
37
|
private readonly rewards: Reward[]|null = null;
|
|
38
|
+
private readonly missedReceiveReliefVerifyActions: VerifyAction[]|null = null;
|
|
37
39
|
private readonly missedReceiveReliefConsumeActions: ConsumeAction[]|null = null;
|
|
38
40
|
|
|
39
41
|
public constructor(
|
|
@@ -50,6 +52,7 @@ export default class BonusModel {
|
|
|
50
52
|
this.resetHour = options?.resetHour ?? null;
|
|
51
53
|
this.repeat = options?.repeat ?? null;
|
|
52
54
|
this.rewards = options?.rewards ?? null;
|
|
55
|
+
this.missedReceiveReliefVerifyActions = options?.missedReceiveReliefVerifyActions ?? null;
|
|
53
56
|
this.missedReceiveReliefConsumeActions = options?.missedReceiveReliefConsumeActions ?? null;
|
|
54
57
|
}
|
|
55
58
|
|
|
@@ -66,6 +69,7 @@ export default class BonusModel {
|
|
|
66
69
|
metadata: options?.metadata,
|
|
67
70
|
periodEventId: options?.periodEventId,
|
|
68
71
|
rewards: options?.rewards,
|
|
72
|
+
missedReceiveReliefVerifyActions: options?.missedReceiveReliefVerifyActions,
|
|
69
73
|
missedReceiveReliefConsumeActions: options?.missedReceiveReliefConsumeActions,
|
|
70
74
|
},
|
|
71
75
|
);
|
|
@@ -86,6 +90,7 @@ export default class BonusModel {
|
|
|
86
90
|
metadata: options?.metadata,
|
|
87
91
|
periodEventId: options?.periodEventId,
|
|
88
92
|
rewards: options?.rewards,
|
|
93
|
+
missedReceiveReliefVerifyActions: options?.missedReceiveReliefVerifyActions,
|
|
89
94
|
missedReceiveReliefConsumeActions: options?.missedReceiveReliefConsumeActions,
|
|
90
95
|
},
|
|
91
96
|
);
|
|
@@ -104,6 +109,7 @@ export default class BonusModel {
|
|
|
104
109
|
metadata: options?.metadata,
|
|
105
110
|
periodEventId: options?.periodEventId,
|
|
106
111
|
rewards: options?.rewards,
|
|
112
|
+
missedReceiveReliefVerifyActions: options?.missedReceiveReliefVerifyActions,
|
|
107
113
|
missedReceiveReliefConsumeActions: options?.missedReceiveReliefConsumeActions,
|
|
108
114
|
},
|
|
109
115
|
);
|
|
@@ -122,6 +128,7 @@ export default class BonusModel {
|
|
|
122
128
|
metadata: options?.metadata,
|
|
123
129
|
periodEventId: options?.periodEventId,
|
|
124
130
|
rewards: options?.rewards,
|
|
131
|
+
missedReceiveReliefVerifyActions: options?.missedReceiveReliefVerifyActions,
|
|
125
132
|
missedReceiveReliefConsumeActions: options?.missedReceiveReliefConsumeActions,
|
|
126
133
|
},
|
|
127
134
|
);
|
|
@@ -156,6 +163,10 @@ export default class BonusModel {
|
|
|
156
163
|
if (this.missedReceiveRelief != null) {
|
|
157
164
|
properties["missedReceiveRelief"] = this.missedReceiveRelief;
|
|
158
165
|
}
|
|
166
|
+
if (this.missedReceiveReliefVerifyActions != null) {
|
|
167
|
+
properties["missedReceiveReliefVerifyActions"] = this.missedReceiveReliefVerifyActions.map(v => v.properties(
|
|
168
|
+
));
|
|
169
|
+
}
|
|
159
170
|
if (this.missedReceiveReliefConsumeActions != null) {
|
|
160
171
|
properties["missedReceiveReliefConsumeActions"] = this.missedReceiveReliefConsumeActions.map(v => v.properties(
|
|
161
172
|
));
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Reward from "../Reward";
|
|
2
|
+
import { VerifyAction } from "../../../core/model";
|
|
2
3
|
import { ConsumeAction } from "../../../core/model";
|
|
3
4
|
export interface BonusModelMissedReceiveReliefIsDisabledOptions {
|
|
4
5
|
metadata?: string | null;
|
|
5
6
|
periodEventId?: string | null;
|
|
6
7
|
rewards?: Reward[] | null;
|
|
8
|
+
missedReceiveReliefVerifyActions?: VerifyAction[] | null;
|
|
7
9
|
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
10
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AcquireAction } from "../../../core/model";
|
|
17
17
|
import Reward from "../Reward";
|
|
18
|
+
import { VerifyAction } from "../../../core/model";
|
|
18
19
|
import { ConsumeAction } from "../../../core/model";
|
|
19
20
|
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
21
|
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
@@ -24,5 +25,6 @@ export interface BonusModelMissedReceiveReliefIsDisabledOptions {
|
|
|
24
25
|
metadata?: string|null;
|
|
25
26
|
periodEventId?: string|null;
|
|
26
27
|
rewards?: Reward[]|null;
|
|
28
|
+
missedReceiveReliefVerifyActions?: VerifyAction[]|null;
|
|
27
29
|
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
30
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Reward from "../Reward";
|
|
2
|
+
import { VerifyAction } from "../../../core/model";
|
|
2
3
|
import { ConsumeAction } from "../../../core/model";
|
|
3
4
|
export interface BonusModelMissedReceiveReliefIsEnabledOptions {
|
|
4
5
|
metadata?: string | null;
|
|
5
6
|
periodEventId?: string | null;
|
|
6
7
|
rewards?: Reward[] | null;
|
|
8
|
+
missedReceiveReliefVerifyActions?: VerifyAction[] | null;
|
|
7
9
|
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
10
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AcquireAction } from "../../../core/model";
|
|
17
17
|
import Reward from "../Reward";
|
|
18
|
+
import { VerifyAction } from "../../../core/model";
|
|
18
19
|
import { ConsumeAction } from "../../../core/model";
|
|
19
20
|
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
21
|
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
@@ -24,5 +25,6 @@ export interface BonusModelMissedReceiveReliefIsEnabledOptions {
|
|
|
24
25
|
metadata?: string|null;
|
|
25
26
|
periodEventId?: string|null;
|
|
26
27
|
rewards?: Reward[]|null;
|
|
28
|
+
missedReceiveReliefVerifyActions?: VerifyAction[]|null;
|
|
27
29
|
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
30
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Reward from "../Reward";
|
|
2
|
+
import { VerifyAction } from "../../../core/model";
|
|
2
3
|
import { ConsumeAction } from "../../../core/model";
|
|
3
4
|
export interface BonusModelModeIsScheduleOptions {
|
|
4
5
|
metadata?: string | null;
|
|
5
6
|
periodEventId?: string | null;
|
|
6
7
|
rewards?: Reward[] | null;
|
|
8
|
+
missedReceiveReliefVerifyActions?: VerifyAction[] | null;
|
|
7
9
|
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
10
|
}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AcquireAction } from "../../../core/model";
|
|
17
17
|
import Reward from "../Reward";
|
|
18
|
+
import { VerifyAction } from "../../../core/model";
|
|
18
19
|
import { ConsumeAction } from "../../../core/model";
|
|
19
20
|
import { BonusModelMode } from "../enum/BonusModelMode";
|
|
20
21
|
import { BonusModelRepeat } from "../enum/BonusModelRepeat";
|
|
@@ -24,5 +25,6 @@ export interface BonusModelModeIsScheduleOptions {
|
|
|
24
25
|
metadata?: string|null;
|
|
25
26
|
periodEventId?: string|null;
|
|
26
27
|
rewards?: Reward[]|null;
|
|
28
|
+
missedReceiveReliefVerifyActions?: VerifyAction[]|null;
|
|
27
29
|
missedReceiveReliefConsumeActions?: ConsumeAction[]|null;
|
|
28
30
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Reward from "../Reward";
|
|
2
|
+
import { VerifyAction } from "../../../core/model";
|
|
2
3
|
import { ConsumeAction } from "../../../core/model";
|
|
3
4
|
export interface BonusModelModeIsStreamingOptions {
|
|
4
5
|
metadata?: string | null;
|
|
5
6
|
periodEventId?: string | null;
|
|
6
7
|
rewards?: Reward[] | null;
|
|
8
|
+
missedReceiveReliefVerifyActions?: VerifyAction[] | null;
|
|
7
9
|
missedReceiveReliefConsumeActions?: ConsumeAction[] | null;
|
|
8
10
|
}
|