gs2-cdk 1.0.106 → 1.0.110
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/idle/model/CategoryModel.d.ts +3 -1
- package/idle/model/CategoryModel.js +5 -1
- package/idle/model/CategoryModel.js.map +1 -1
- package/idle/model/CategoryModel.ts +7 -0
- package/idle/model/enums/CategoryModelRewardResetMode.d.ts +5 -0
- package/idle/model/enums/CategoryModelRewardResetMode.js +23 -0
- package/idle/model/enums/CategoryModelRewardResetMode.js.map +1 -0
- package/idle/model/enums/CategoryModelRewardResetMode.ts +23 -0
- package/idle/model/index.d.ts +2 -1
- package/idle/model/index.js +3 -1
- package/idle/model/index.js.map +1 -1
- package/idle/model/index.ts +2 -0
- package/idle/model/options/CategoryModelOptions.ts +1 -0
- package/log/model/Namespace.d.ts +1 -0
- package/log/model/Namespace.js +6 -1
- package/log/model/Namespace.js.map +1 -1
- package/log/model/Namespace.ts +6 -0
- package/log/model/enums/NamespaceFirehoseCompressData.d.ts +5 -0
- package/log/model/enums/NamespaceFirehoseCompressData.js +23 -0
- package/log/model/enums/NamespaceFirehoseCompressData.js.map +1 -0
- package/log/model/enums/NamespaceFirehoseCompressData.ts +23 -0
- package/log/model/index.d.ts +2 -1
- package/log/model/index.js +3 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +2 -0
- package/log/model/options/NamespaceOptions.d.ts +2 -0
- package/log/model/options/NamespaceOptions.ts +2 -0
- package/log/model/options/NamespaceTypeIsBigqueryOptions.ts +1 -0
- package/log/model/options/NamespaceTypeIsFirehoseOptions.ts +1 -0
- package/log/model/options/NamespaceTypeIsGs2Options.ts +1 -0
- package/money2/model/DailyTransactionHistory.d.ts +3 -1
- package/money2/model/DailyTransactionHistory.js +9 -1
- package/money2/model/DailyTransactionHistory.js.map +1 -1
- package/money2/model/DailyTransactionHistory.ts +12 -0
- package/package.json +1 -1
- package/ranking2/ref/index.d.ts +1 -5
- package/ranking2/ref/index.js +1 -9
- package/ranking2/ref/index.js.map +1 -1
- package/ranking2/ref/index.ts +0 -8
- package/script/ref/NamespaceRef.d.ts +1 -1
- package/script/ref/NamespaceRef.js +2 -2
- package/script/ref/NamespaceRef.js.map +1 -1
- package/script/ref/NamespaceRef.ts +0 -2
- package/script/ref/ScriptRef.d.ts +1 -1
- package/script/ref/ScriptRef.js +2 -2
- package/script/ref/ScriptRef.js.map +1 -1
- package/script/ref/ScriptRef.ts +0 -2
- package/script/stampSheet/InvokeScript.d.ts +1 -2
- package/script/stampSheet/InvokeScript.js +1 -6
- package/script/stampSheet/InvokeScript.js.map +1 -1
- package/script/stampSheet/InvokeScript.ts +0 -6
- package/stamina/ref/NamespaceRef.d.ts +11 -0
- package/stamina/ref/NamespaceRef.js +20 -0
- package/stamina/ref/NamespaceRef.js.map +1 -1
- package/stamina/ref/NamespaceRef.ts +91 -0
- package/stamina/ref/StaminaModelRef.d.ts +11 -0
- package/stamina/ref/StaminaModelRef.js +20 -0
- package/stamina/ref/StaminaModelRef.js.map +1 -1
- package/stamina/ref/StaminaModelRef.ts +86 -0
- package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.d.ts +16 -0
- package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.js +62 -0
- package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.ts +82 -0
- package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.d.ts +16 -0
- package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.js +62 -0
- package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.js.map +1 -0
- package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.ts +82 -0
- package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.d.ts +16 -0
- package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.js +62 -0
- package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.js.map +1 -0
- package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.ts +82 -0
- package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.d.ts +16 -0
- package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.js +62 -0
- package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.js.map +1 -0
- package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.ts +82 -0
- package/stamina/stampSheet/VerifyStaminaValueByUserId.d.ts +16 -0
- package/stamina/stampSheet/VerifyStaminaValueByUserId.js +62 -0
- package/stamina/stampSheet/VerifyStaminaValueByUserId.js.map +1 -0
- package/stamina/stampSheet/VerifyStaminaValueByUserId.ts +82 -0
- package/stamina/stampSheet/enums/StaminaVerifyType.d.ts +9 -0
- package/stamina/stampSheet/enums/StaminaVerifyType.js +27 -0
- package/stamina/stampSheet/enums/StaminaVerifyType.js.map +1 -0
- package/stamina/stampSheet/enums/StaminaVerifyType.ts +27 -0
- package/stamina/stampSheet/index.d.ts +6 -1
- package/stamina/stampSheet/index.js +11 -1
- package/stamina/stampSheet/index.js.map +1 -1
- package/stamina/stampSheet/index.ts +10 -0
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import AcquireActionList from "./AcquireActionList";
|
|
2
2
|
import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
3
|
+
import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
|
|
3
4
|
export default class CategoryModel {
|
|
4
5
|
private readonly name;
|
|
5
6
|
private readonly rewardIntervalMinutes;
|
|
6
7
|
private readonly defaultMaximumIdleMinutes;
|
|
8
|
+
private readonly rewardResetMode;
|
|
7
9
|
private readonly acquireActions;
|
|
8
10
|
private readonly metadata;
|
|
9
11
|
private readonly idlePeriodScheduleId;
|
|
10
12
|
private readonly receivePeriodScheduleId;
|
|
11
|
-
constructor(name: string, rewardIntervalMinutes: number, defaultMaximumIdleMinutes: number, acquireActions: AcquireActionList[], options?: CategoryModelOptions | null);
|
|
13
|
+
constructor(name: string, rewardIntervalMinutes: number, defaultMaximumIdleMinutes: number, rewardResetMode: CategoryModelRewardResetMode, acquireActions: AcquireActionList[], options?: CategoryModelOptions | null);
|
|
12
14
|
properties(): {
|
|
13
15
|
[name: string]: any;
|
|
14
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class CategoryModel {
|
|
4
|
-
constructor(name, rewardIntervalMinutes, defaultMaximumIdleMinutes, acquireActions, options = null) {
|
|
4
|
+
constructor(name, rewardIntervalMinutes, defaultMaximumIdleMinutes, rewardResetMode, acquireActions, options = null) {
|
|
5
5
|
var _a, _b, _c;
|
|
6
6
|
this.metadata = null;
|
|
7
7
|
this.idlePeriodScheduleId = null;
|
|
@@ -9,6 +9,7 @@ class CategoryModel {
|
|
|
9
9
|
this.name = name;
|
|
10
10
|
this.rewardIntervalMinutes = rewardIntervalMinutes;
|
|
11
11
|
this.defaultMaximumIdleMinutes = defaultMaximumIdleMinutes;
|
|
12
|
+
this.rewardResetMode = rewardResetMode;
|
|
12
13
|
this.acquireActions = acquireActions;
|
|
13
14
|
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
14
15
|
this.idlePeriodScheduleId = (_b = options === null || options === void 0 ? void 0 : options.idlePeriodScheduleId) !== null && _b !== void 0 ? _b : null;
|
|
@@ -28,6 +29,9 @@ class CategoryModel {
|
|
|
28
29
|
if (this.defaultMaximumIdleMinutes != null) {
|
|
29
30
|
properties["defaultMaximumIdleMinutes"] = this.defaultMaximumIdleMinutes;
|
|
30
31
|
}
|
|
32
|
+
if (this.rewardResetMode != null) {
|
|
33
|
+
properties["rewardResetMode"] = this.rewardResetMode;
|
|
34
|
+
}
|
|
31
35
|
if (this.acquireActions != null) {
|
|
32
36
|
properties["acquireActions"] = this.acquireActions.map(v => v.properties());
|
|
33
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoryModel.js","sourceRoot":"","sources":["CategoryModel.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"CategoryModel.js","sourceRoot":"","sources":["CategoryModel.ts"],"names":[],"mappings":";;AAoBA,MAAqB,aAAa;IAU9B,YACI,IAAY,EACZ,qBAA6B,EAC7B,yBAAiC,EACjC,eAA6C,EAC7C,cAAmC,EACnC,UAAqC,IAAI;;QAV5B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,yBAAoB,GAAgB,IAAI,CAAC;QACzC,4BAAuB,GAAgB,IAAI,CAAC;QAUzD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;QAC3D,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,oBAAoB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB,mCAAI,IAAI,CAAC;QAClE,IAAI,CAAC,uBAAuB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,uBAAuB,mCAAI,IAAI,CAAC;IAC5E,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,qBAAqB,IAAI,IAAI,EAAE;YACpC,UAAU,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC;SACpE;QACD,IAAI,IAAI,CAAC,yBAAyB,IAAI,IAAI,EAAE;YACxC,UAAU,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,yBAAyB,CAAC;SAC5E;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,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;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;QACD,IAAI,IAAI,CAAC,uBAAuB,IAAI,IAAI,EAAE;YACtC,UAAU,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,uBAAuB,CAAC;SACxE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA5DD,gCA4DC"}
|
|
@@ -16,11 +16,13 @@
|
|
|
16
16
|
import { AcquireAction } from "../../core/model";
|
|
17
17
|
import AcquireActionList from "./AcquireActionList";
|
|
18
18
|
import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
19
|
+
import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
|
|
19
20
|
|
|
20
21
|
export default class CategoryModel {
|
|
21
22
|
private readonly name: string;
|
|
22
23
|
private readonly rewardIntervalMinutes: number;
|
|
23
24
|
private readonly defaultMaximumIdleMinutes: number;
|
|
25
|
+
private readonly rewardResetMode: CategoryModelRewardResetMode;
|
|
24
26
|
private readonly acquireActions: AcquireActionList[];
|
|
25
27
|
private readonly metadata: string|null = null;
|
|
26
28
|
private readonly idlePeriodScheduleId: string|null = null;
|
|
@@ -30,12 +32,14 @@ export default class CategoryModel {
|
|
|
30
32
|
name: string,
|
|
31
33
|
rewardIntervalMinutes: number,
|
|
32
34
|
defaultMaximumIdleMinutes: number,
|
|
35
|
+
rewardResetMode: CategoryModelRewardResetMode,
|
|
33
36
|
acquireActions: AcquireActionList[],
|
|
34
37
|
options: CategoryModelOptions|null = null,
|
|
35
38
|
) {
|
|
36
39
|
this.name = name;
|
|
37
40
|
this.rewardIntervalMinutes = rewardIntervalMinutes;
|
|
38
41
|
this.defaultMaximumIdleMinutes = defaultMaximumIdleMinutes;
|
|
42
|
+
this.rewardResetMode = rewardResetMode;
|
|
39
43
|
this.acquireActions = acquireActions;
|
|
40
44
|
this.metadata = options?.metadata ?? null;
|
|
41
45
|
this.idlePeriodScheduleId = options?.idlePeriodScheduleId ?? null;
|
|
@@ -58,6 +62,9 @@ export default class CategoryModel {
|
|
|
58
62
|
if (this.defaultMaximumIdleMinutes != null) {
|
|
59
63
|
properties["defaultMaximumIdleMinutes"] = this.defaultMaximumIdleMinutes;
|
|
60
64
|
}
|
|
65
|
+
if (this.rewardResetMode != null) {
|
|
66
|
+
properties["rewardResetMode"] = this.rewardResetMode;
|
|
67
|
+
}
|
|
61
68
|
if (this.acquireActions != null) {
|
|
62
69
|
properties["acquireActions"] = this.acquireActions.map(v => v.properties(
|
|
63
70
|
));
|
|
@@ -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.CategoryModelRewardResetMode = void 0;
|
|
19
|
+
exports.CategoryModelRewardResetMode = {
|
|
20
|
+
RESET: "Reset",
|
|
21
|
+
CARRY_OVER: "CarryOver",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=CategoryModelRewardResetMode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryModelRewardResetMode.js","sourceRoot":"","sources":["CategoryModelRewardResetMode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,4BAA4B,GAAG;IACxC,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,WAAW;CACjB,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 CategoryModelRewardResetMode = {
|
|
20
|
+
RESET: "Reset",
|
|
21
|
+
CARRY_OVER: "CarryOver",
|
|
22
|
+
} as const;
|
|
23
|
+
export type CategoryModelRewardResetMode = typeof CategoryModelRewardResetMode[keyof typeof CategoryModelRewardResetMode];
|
package/idle/model/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import Namespace from "./Namespace";
|
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
3
|
import CategoryModel from "./CategoryModel";
|
|
4
4
|
import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
5
|
+
import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
|
|
5
6
|
import VerifyActionResult from "./VerifyActionResult";
|
|
6
7
|
import { VerifyActionResultOptions } from "./options/VerifyActionResultOptions";
|
|
7
8
|
import ConsumeActionResult from "./ConsumeActionResult";
|
|
@@ -13,4 +14,4 @@ import { TransactionResultOptions } from "./options/TransactionResultOptions";
|
|
|
13
14
|
import AcquireActionList from "./AcquireActionList";
|
|
14
15
|
import { AcquireActionListOptions } from "./options/AcquireActionListOptions";
|
|
15
16
|
import CurrentMasterData from "./CurrentMasterData";
|
|
16
|
-
export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, AcquireActionList, AcquireActionListOptions, CurrentMasterData, };
|
|
17
|
+
export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelRewardResetMode, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, AcquireActionList, AcquireActionListOptions, CurrentMasterData, };
|
package/idle/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrentMasterData = exports.AcquireActionList = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.CategoryModel = exports.Namespace = void 0;
|
|
3
|
+
exports.CurrentMasterData = exports.AcquireActionList = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.CategoryModelRewardResetMode = exports.CategoryModel = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,8 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
|
21
21
|
exports.Namespace = Namespace_1.default;
|
|
22
22
|
const CategoryModel_1 = tslib_1.__importDefault(require("./CategoryModel"));
|
|
23
23
|
exports.CategoryModel = CategoryModel_1.default;
|
|
24
|
+
const CategoryModelRewardResetMode_1 = require("./enums/CategoryModelRewardResetMode");
|
|
25
|
+
Object.defineProperty(exports, "CategoryModelRewardResetMode", { enumerable: true, get: function () { return CategoryModelRewardResetMode_1.CategoryModelRewardResetMode; } });
|
|
24
26
|
const VerifyActionResult_1 = tslib_1.__importDefault(require("./VerifyActionResult"));
|
|
25
27
|
exports.VerifyActionResult = VerifyActionResult_1.default;
|
|
26
28
|
const ConsumeActionResult_1 = tslib_1.__importDefault(require("./ConsumeActionResult"));
|
package/idle/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAkBhC,oBAlBG,mBAAS,CAkBH;AAhBb,4EAA4C;AAkBxC,wBAlBG,uBAAa,CAkBH;AAhBjB,uFAAoF;AAkBhF,6GAlBK,2DAA4B,OAkBL;AAjBhC,sFAAsD;AAkBlD,6BAlBG,4BAAkB,CAkBH;AAhBtB,wFAAwD;AAkBpD,8BAlBG,6BAAmB,CAkBH;AAhBvB,wFAAwD;AAkBpD,8BAlBG,6BAAmB,CAkBH;AAhBvB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH;AAhBrB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH;AAhBrB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH"}
|
package/idle/model/index.ts
CHANGED
|
@@ -17,6 +17,7 @@ import Namespace from "./Namespace";
|
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
18
|
import CategoryModel from "./CategoryModel";
|
|
19
19
|
import { CategoryModelOptions } from "./options/CategoryModelOptions";
|
|
20
|
+
import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
|
|
20
21
|
import VerifyActionResult from "./VerifyActionResult";
|
|
21
22
|
import { VerifyActionResultOptions } from "./options/VerifyActionResultOptions";
|
|
22
23
|
import ConsumeActionResult from "./ConsumeActionResult";
|
|
@@ -34,6 +35,7 @@ export {
|
|
|
34
35
|
NamespaceOptions,
|
|
35
36
|
CategoryModel,
|
|
36
37
|
CategoryModelOptions,
|
|
38
|
+
CategoryModelRewardResetMode,
|
|
37
39
|
VerifyActionResult,
|
|
38
40
|
VerifyActionResultOptions,
|
|
39
41
|
ConsumeActionResult,
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { AcquireAction } from "../../../core/model";
|
|
17
17
|
import AcquireActionList from "../AcquireActionList";
|
|
18
|
+
import { CategoryModelRewardResetMode } from "../enums/CategoryModelRewardResetMode";
|
|
18
19
|
|
|
19
20
|
export interface CategoryModelOptions {
|
|
20
21
|
metadata?: string|null;
|
package/log/model/Namespace.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export default class Namespace extends CdkResource {
|
|
|
14
14
|
private readonly awsAccessKeyId;
|
|
15
15
|
private readonly awsSecretAccessKey;
|
|
16
16
|
private readonly firehoseStreamName;
|
|
17
|
+
private readonly firehoseCompressData;
|
|
17
18
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
18
19
|
alternateKeys(): string;
|
|
19
20
|
resourceType(): string;
|
package/log/model/Namespace.js
CHANGED
|
@@ -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;
|
|
24
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
25
25
|
super("Log_Namespace_" + name);
|
|
26
26
|
this.description = null;
|
|
27
27
|
this.type = null;
|
|
@@ -32,6 +32,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
32
32
|
this.awsAccessKeyId = null;
|
|
33
33
|
this.awsSecretAccessKey = null;
|
|
34
34
|
this.firehoseStreamName = null;
|
|
35
|
+
this.firehoseCompressData = null;
|
|
35
36
|
this.stack = stack;
|
|
36
37
|
this.name = name;
|
|
37
38
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
@@ -43,6 +44,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
43
44
|
this.awsAccessKeyId = (_g = options === null || options === void 0 ? void 0 : options.awsAccessKeyId) !== null && _g !== void 0 ? _g : null;
|
|
44
45
|
this.awsSecretAccessKey = (_h = options === null || options === void 0 ? void 0 : options.awsSecretAccessKey) !== null && _h !== void 0 ? _h : null;
|
|
45
46
|
this.firehoseStreamName = (_j = options === null || options === void 0 ? void 0 : options.firehoseStreamName) !== null && _j !== void 0 ? _j : null;
|
|
47
|
+
this.firehoseCompressData = (_k = options === null || options === void 0 ? void 0 : options.firehoseCompressData) !== null && _k !== void 0 ? _k : null;
|
|
46
48
|
stack.addResource(this);
|
|
47
49
|
}
|
|
48
50
|
alternateKeys() {
|
|
@@ -83,6 +85,9 @@ class Namespace extends model_1.CdkResource {
|
|
|
83
85
|
if (this.firehoseStreamName != null) {
|
|
84
86
|
properties["FirehoseStreamName"] = this.firehoseStreamName;
|
|
85
87
|
}
|
|
88
|
+
if (this.firehoseCompressData != null) {
|
|
89
|
+
properties["FirehoseCompressData"] = this.firehoseCompressData;
|
|
90
|
+
}
|
|
86
91
|
return properties;
|
|
87
92
|
}
|
|
88
93
|
ref() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,+EAA+C;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":"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"}
|
package/log/model/Namespace.ts
CHANGED
|
@@ -19,6 +19,7 @@ import {GetAttr} from "../../core/func";
|
|
|
19
19
|
|
|
20
20
|
import NamespaceRef from "../ref/NamespaceRef";
|
|
21
21
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
22
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
22
23
|
|
|
23
24
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
24
25
|
|
|
@@ -34,6 +35,7 @@ export default class Namespace extends CdkResource {
|
|
|
34
35
|
private readonly awsAccessKeyId: string|null = null;
|
|
35
36
|
private readonly awsSecretAccessKey: string|null = null;
|
|
36
37
|
private readonly firehoseStreamName: string|null = null;
|
|
38
|
+
private readonly firehoseCompressData: NamespaceFirehoseCompressData|null = null;
|
|
37
39
|
|
|
38
40
|
public constructor(
|
|
39
41
|
stack: Stack,
|
|
@@ -55,6 +57,7 @@ export default class Namespace extends CdkResource {
|
|
|
55
57
|
this.awsAccessKeyId = options?.awsAccessKeyId ?? null;
|
|
56
58
|
this.awsSecretAccessKey = options?.awsSecretAccessKey ?? null;
|
|
57
59
|
this.firehoseStreamName = options?.firehoseStreamName ?? null;
|
|
60
|
+
this.firehoseCompressData = options?.firehoseCompressData ?? null;
|
|
58
61
|
stack.addResource(
|
|
59
62
|
this,
|
|
60
63
|
);
|
|
@@ -105,6 +108,9 @@ export default class Namespace extends CdkResource {
|
|
|
105
108
|
if (this.firehoseStreamName != null) {
|
|
106
109
|
properties["FirehoseStreamName"] = this.firehoseStreamName;
|
|
107
110
|
}
|
|
111
|
+
if (this.firehoseCompressData != null) {
|
|
112
|
+
properties["FirehoseCompressData"] = this.firehoseCompressData;
|
|
113
|
+
}
|
|
108
114
|
|
|
109
115
|
return properties;
|
|
110
116
|
}
|
|
@@ -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.NamespaceFirehoseCompressData = void 0;
|
|
19
|
+
exports.NamespaceFirehoseCompressData = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GZIP: "gzip",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=NamespaceFirehoseCompressData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceFirehoseCompressData.js","sourceRoot":"","sources":["NamespaceFirehoseCompressData.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,6BAA6B,GAAG;IACzC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;CACN,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 NamespaceFirehoseCompressData = {
|
|
20
|
+
NONE: "none",
|
|
21
|
+
GZIP: "gzip",
|
|
22
|
+
} as const;
|
|
23
|
+
export type NamespaceFirehoseCompressData = typeof NamespaceFirehoseCompressData[keyof typeof NamespaceFirehoseCompressData];
|
package/log/model/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Namespace from "./Namespace";
|
|
2
2
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
3
3
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
4
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
4
5
|
import { NamespaceTypeIsGs2Options } from "./options/NamespaceTypeIsGs2Options";
|
|
5
6
|
import { NamespaceTypeIsBigqueryOptions } from "./options/NamespaceTypeIsBigqueryOptions";
|
|
6
7
|
import { NamespaceTypeIsFirehoseOptions } from "./options/NamespaceTypeIsFirehoseOptions";
|
|
@@ -25,4 +26,4 @@ import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryO
|
|
|
25
26
|
import { AccessLogWithTelemetryStatus } from "./enums/AccessLogWithTelemetryStatus";
|
|
26
27
|
import InGameLogTag from "./InGameLogTag";
|
|
27
28
|
import { InGameLogTagOptions } from "./options/InGameLogTagOptions";
|
|
28
|
-
export { Namespace, NamespaceOptions, NamespaceType, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, AccessLogWithTelemetry, AccessLogWithTelemetryOptions, AccessLogWithTelemetryStatus, InGameLogTag, InGameLogTagOptions, };
|
|
29
|
+
export { Namespace, NamespaceOptions, NamespaceType, NamespaceFirehoseCompressData, NamespaceTypeIsGs2Options, NamespaceTypeIsBigqueryOptions, NamespaceTypeIsFirehoseOptions, AccessLog, AccessLogOptions, AccessLogCount, AccessLogCountOptions, IssueStampSheetLog, IssueStampSheetLogOptions, IssueStampSheetLogCount, IssueStampSheetLogCountOptions, ExecuteStampSheetLog, ExecuteStampSheetLogOptions, ExecuteStampSheetLogCount, ExecuteStampSheetLogCountOptions, ExecuteStampTaskLog, ExecuteStampTaskLogOptions, ExecuteStampTaskLogCount, ExecuteStampTaskLogCountOptions, AccessLogWithTelemetry, AccessLogWithTelemetryOptions, AccessLogWithTelemetryStatus, InGameLogTag, InGameLogTagOptions, };
|
package/log/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InGameLogTag = exports.AccessLogWithTelemetryStatus = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceType = exports.Namespace = void 0;
|
|
3
|
+
exports.InGameLogTag = exports.AccessLogWithTelemetryStatus = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.NamespaceFirehoseCompressData = exports.NamespaceType = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,8 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
|
21
21
|
exports.Namespace = Namespace_1.default;
|
|
22
22
|
const NamespaceType_1 = require("./enums/NamespaceType");
|
|
23
23
|
Object.defineProperty(exports, "NamespaceType", { enumerable: true, get: function () { return NamespaceType_1.NamespaceType; } });
|
|
24
|
+
const NamespaceFirehoseCompressData_1 = require("./enums/NamespaceFirehoseCompressData");
|
|
25
|
+
Object.defineProperty(exports, "NamespaceFirehoseCompressData", { enumerable: true, get: function () { return NamespaceFirehoseCompressData_1.NamespaceFirehoseCompressData; } });
|
|
24
26
|
const AccessLog_1 = tslib_1.__importDefault(require("./AccessLog"));
|
|
25
27
|
exports.AccessLog = AccessLog_1.default;
|
|
26
28
|
const AccessLogCount_1 = tslib_1.__importDefault(require("./AccessLogCount"));
|
package/log/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA8BhC,oBA9BG,mBAAS,CA8BH;AA5Bb,yDAAsD;AA8BlD,8FA9BK,6BAAa,OA8BL;AA7BjB,yFAAsF;AA8BlF,8GA9BK,6DAA6B,OA8BL;AA1BjC,oEAAoC;AA8BhC,oBA9BG,mBAAS,CA8BH;AA5Bb,8EAA8C;AA8B1C,yBA9BG,wBAAc,CA8BH;AA5BlB,sFAAsD;AA8BlD,6BA9BG,4BAAkB,CA8BH;AA5BtB,gGAAgE;AA8B5D,kCA9BG,iCAAuB,CA8BH;AA5B3B,0FAA0D;AA8BtD,+BA9BG,8BAAoB,CA8BH;AA5BxB,oGAAoE;AA8BhE,oCA9BG,mCAAyB,CA8BH;AA5B7B,wFAAwD;AA8BpD,8BA9BG,6BAAmB,CA8BH;AA5BvB,kGAAkE;AA8B9D,mCA9BG,kCAAwB,CA8BH;AA5B5B,8FAA8D;AA8B1D,iCA9BG,gCAAsB,CA8BH;AA5B1B,uFAAoF;AA8BhF,6GA9BK,2DAA4B,OA8BL;AA7BhC,0EAA0C;AA8BtC,uBA9BG,sBAAY,CA8BH"}
|
package/log/model/index.ts
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import Namespace from "./Namespace";
|
|
17
17
|
import { NamespaceOptions } from "./options/NamespaceOptions";
|
|
18
18
|
import { NamespaceType } from "./enums/NamespaceType";
|
|
19
|
+
import { NamespaceFirehoseCompressData } from "./enums/NamespaceFirehoseCompressData";
|
|
19
20
|
import { NamespaceTypeIsGs2Options } from "./options/NamespaceTypeIsGs2Options"
|
|
20
21
|
import { NamespaceTypeIsBigqueryOptions } from "./options/NamespaceTypeIsBigqueryOptions"
|
|
21
22
|
import { NamespaceTypeIsFirehoseOptions } from "./options/NamespaceTypeIsFirehoseOptions"
|
|
@@ -45,6 +46,7 @@ export {
|
|
|
45
46
|
Namespace,
|
|
46
47
|
NamespaceOptions,
|
|
47
48
|
NamespaceType,
|
|
49
|
+
NamespaceFirehoseCompressData,
|
|
48
50
|
NamespaceTypeIsGs2Options,
|
|
49
51
|
NamespaceTypeIsBigqueryOptions,
|
|
50
52
|
NamespaceTypeIsFirehoseOptions,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
2
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
2
3
|
export interface NamespaceOptions {
|
|
3
4
|
description?: string | null;
|
|
4
5
|
type?: NamespaceType | null;
|
|
@@ -9,4 +10,5 @@ export interface NamespaceOptions {
|
|
|
9
10
|
awsAccessKeyId?: string | null;
|
|
10
11
|
awsSecretAccessKey?: string | null;
|
|
11
12
|
firehoseStreamName?: string | null;
|
|
13
|
+
firehoseCompressData?: NamespaceFirehoseCompressData | null;
|
|
12
14
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -25,5 +26,6 @@ export interface NamespaceOptions {
|
|
|
25
26
|
awsAccessKeyId?: string|null;
|
|
26
27
|
awsSecretAccessKey?: string|null;
|
|
27
28
|
firehoseStreamName?: string|null;
|
|
29
|
+
firehoseCompressData?: NamespaceFirehoseCompressData|null;
|
|
28
30
|
}
|
|
29
31
|
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsBigqueryOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsFirehoseOptions {
|
|
19
20
|
description?: string|null;
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
import { NamespaceType } from "../enums/NamespaceType";
|
|
17
|
+
import { NamespaceFirehoseCompressData } from "../enums/NamespaceFirehoseCompressData";
|
|
17
18
|
|
|
18
19
|
export interface NamespaceTypeIsGs2Options {
|
|
19
20
|
description?: string|null;
|
|
@@ -6,8 +6,10 @@ export default class DailyTransactionHistory {
|
|
|
6
6
|
private readonly currency;
|
|
7
7
|
private readonly depositAmount;
|
|
8
8
|
private readonly withdrawAmount;
|
|
9
|
+
private readonly issueCount;
|
|
10
|
+
private readonly consumeCount;
|
|
9
11
|
private readonly revision;
|
|
10
|
-
constructor(year: number, month: number, day: number, currency: string, depositAmount: number, withdrawAmount: number, options?: DailyTransactionHistoryOptions | null);
|
|
12
|
+
constructor(year: number, month: number, day: number, currency: string, depositAmount: number, withdrawAmount: number, issueCount: number, consumeCount: number, options?: DailyTransactionHistoryOptions | null);
|
|
11
13
|
properties(): {
|
|
12
14
|
[name: string]: any;
|
|
13
15
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class DailyTransactionHistory {
|
|
4
|
-
constructor(year, month, day, currency, depositAmount, withdrawAmount, options = null) {
|
|
4
|
+
constructor(year, month, day, currency, depositAmount, withdrawAmount, issueCount, consumeCount, options = null) {
|
|
5
5
|
var _a;
|
|
6
6
|
this.revision = null;
|
|
7
7
|
this.year = year;
|
|
@@ -10,6 +10,8 @@ class DailyTransactionHistory {
|
|
|
10
10
|
this.currency = currency;
|
|
11
11
|
this.depositAmount = depositAmount;
|
|
12
12
|
this.withdrawAmount = withdrawAmount;
|
|
13
|
+
this.issueCount = issueCount;
|
|
14
|
+
this.consumeCount = consumeCount;
|
|
13
15
|
this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
|
|
14
16
|
}
|
|
15
17
|
properties() {
|
|
@@ -32,6 +34,12 @@ class DailyTransactionHistory {
|
|
|
32
34
|
if (this.withdrawAmount != null) {
|
|
33
35
|
properties["withdrawAmount"] = this.withdrawAmount;
|
|
34
36
|
}
|
|
37
|
+
if (this.issueCount != null) {
|
|
38
|
+
properties["issueCount"] = this.issueCount;
|
|
39
|
+
}
|
|
40
|
+
if (this.consumeCount != null) {
|
|
41
|
+
properties["consumeCount"] = this.consumeCount;
|
|
42
|
+
}
|
|
35
43
|
return properties;
|
|
36
44
|
}
|
|
37
45
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DailyTransactionHistory.js","sourceRoot":"","sources":["DailyTransactionHistory.ts"],"names":[],"mappings":";;AAiBA,MAAqB,uBAAuB;
|
|
1
|
+
{"version":3,"file":"DailyTransactionHistory.js","sourceRoot":"","sources":["DailyTransactionHistory.ts"],"names":[],"mappings":";;AAiBA,MAAqB,uBAAuB;IAWxC,YACI,IAAY,EACZ,KAAa,EACb,GAAW,EACX,QAAgB,EAChB,aAAqB,EACrB,cAAsB,EACtB,UAAkB,EAClB,YAAoB,EACpB,UAA+C,IAAI;;QAXtC,aAAQ,GAAgB,IAAI,CAAC;QAa1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAChC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;SAClD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhED,0CAgEC"}
|
|
@@ -22,6 +22,8 @@ export default class DailyTransactionHistory {
|
|
|
22
22
|
private readonly currency: string;
|
|
23
23
|
private readonly depositAmount: number;
|
|
24
24
|
private readonly withdrawAmount: number;
|
|
25
|
+
private readonly issueCount: number;
|
|
26
|
+
private readonly consumeCount: number;
|
|
25
27
|
private readonly revision: number|null = null;
|
|
26
28
|
|
|
27
29
|
public constructor(
|
|
@@ -31,6 +33,8 @@ export default class DailyTransactionHistory {
|
|
|
31
33
|
currency: string,
|
|
32
34
|
depositAmount: number,
|
|
33
35
|
withdrawAmount: number,
|
|
36
|
+
issueCount: number,
|
|
37
|
+
consumeCount: number,
|
|
34
38
|
options: DailyTransactionHistoryOptions|null = null,
|
|
35
39
|
) {
|
|
36
40
|
this.year = year;
|
|
@@ -39,6 +43,8 @@ export default class DailyTransactionHistory {
|
|
|
39
43
|
this.currency = currency;
|
|
40
44
|
this.depositAmount = depositAmount;
|
|
41
45
|
this.withdrawAmount = withdrawAmount;
|
|
46
|
+
this.issueCount = issueCount;
|
|
47
|
+
this.consumeCount = consumeCount;
|
|
42
48
|
this.revision = options?.revision ?? null;
|
|
43
49
|
}
|
|
44
50
|
|
|
@@ -64,6 +70,12 @@ export default class DailyTransactionHistory {
|
|
|
64
70
|
if (this.withdrawAmount != null) {
|
|
65
71
|
properties["withdrawAmount"] = this.withdrawAmount;
|
|
66
72
|
}
|
|
73
|
+
if (this.issueCount != null) {
|
|
74
|
+
properties["issueCount"] = this.issueCount;
|
|
75
|
+
}
|
|
76
|
+
if (this.consumeCount != null) {
|
|
77
|
+
properties["consumeCount"] = this.consumeCount;
|
|
78
|
+
}
|
|
67
79
|
|
|
68
80
|
return properties;
|
|
69
81
|
}
|
package/package.json
CHANGED
package/ranking2/ref/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import NamespaceRef from "./NamespaceRef";
|
|
2
2
|
import GlobalRankingModelRef from "./GlobalRankingModelRef";
|
|
3
|
-
import GlobalRankingSeasonRef from "./GlobalRankingSeasonRef";
|
|
4
|
-
import GlobalRankingBorderRef from "./GlobalRankingBorderRef";
|
|
5
3
|
import ClusterRankingModelRef from "./ClusterRankingModelRef";
|
|
6
|
-
import ClusterRankingSeasonRef from "./ClusterRankingSeasonRef";
|
|
7
|
-
import ClusterRankingBorderRef from "./ClusterRankingBorderRef";
|
|
8
4
|
import SubscribeRankingModelRef from "./SubscribeRankingModelRef";
|
|
9
5
|
import MasterDataVersionRef from "./MasterDataVersionRef";
|
|
10
|
-
export { NamespaceRef, GlobalRankingModelRef,
|
|
6
|
+
export { NamespaceRef, GlobalRankingModelRef, ClusterRankingModelRef, SubscribeRankingModelRef, MasterDataVersionRef, };
|