gs2-cdk 1.0.85 → 1.0.86
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/account/ref/MasterDataVersionRef.d.ts +5 -0
- package/account/ref/MasterDataVersionRef.js +25 -0
- package/account/ref/MasterDataVersionRef.js.map +1 -0
- package/account/ref/MasterDataVersionRef.ts +30 -0
- package/account/ref/NamespaceRef.js.map +1 -1
- package/account/ref/NamespaceRef.ts +1 -0
- package/account/ref/index.d.ts +2 -1
- package/account/ref/index.js +3 -1
- package/account/ref/index.js.map +1 -1
- package/account/ref/index.ts +2 -0
- package/dictionary/ref/EntryModelRef.d.ts +3 -3
- package/dictionary/ref/EntryModelRef.js +5 -5
- package/dictionary/ref/EntryModelRef.js.map +1 -1
- package/dictionary/ref/EntryModelRef.ts +5 -6
- package/dictionary/ref/NamespaceRef.d.ts +1 -1
- package/dictionary/ref/NamespaceRef.js +2 -2
- package/dictionary/ref/NamespaceRef.js.map +1 -1
- package/dictionary/ref/NamespaceRef.ts +2 -2
- package/package.json +1 -1
- package/quest/model/CurrentMasterData.d.ts +2 -2
- package/quest/model/CurrentMasterData.js +4 -4
- package/quest/model/CurrentMasterData.js.map +1 -1
- package/quest/model/CurrentMasterData.ts +5 -5
- package/quest/model/Namespace.d.ts +1 -1
- package/quest/model/Namespace.js +2 -2
- package/quest/model/Namespace.js.map +1 -1
- package/quest/model/Namespace.ts +2 -2
- package/ranking/model/CurrentMasterData.d.ts +2 -2
- package/ranking/model/CurrentMasterData.js +4 -4
- package/ranking/model/CurrentMasterData.js.map +1 -1
- package/ranking/model/CurrentMasterData.ts +5 -5
- package/ranking/model/Namespace.d.ts +1 -1
- package/ranking/model/Namespace.js +2 -2
- package/ranking/model/Namespace.js.map +1 -1
- package/ranking/model/Namespace.ts +2 -2
- package/ranking2/ref/NamespaceRef.d.ts +9 -0
- package/ranking2/ref/NamespaceRef.js +12 -0
- package/ranking2/ref/NamespaceRef.js.map +1 -1
- package/ranking2/ref/NamespaceRef.ts +65 -0
- package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.d.ts +18 -0
- package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.js +71 -0
- package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.js.map +1 -0
- package/ranking2/stampSheet/VerifyClusterRankingScoreByUserId.ts +94 -0
- package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.d.ts +17 -0
- package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.js +67 -0
- package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.js.map +1 -0
- package/ranking2/stampSheet/VerifyGlobalRankingScoreByUserId.ts +88 -0
- package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.d.ts +17 -0
- package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.js +67 -0
- package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.js.map +1 -0
- package/ranking2/stampSheet/VerifySubscribeRankingScoreByUserId.ts +88 -0
- package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.d.ts +9 -0
- package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.js +27 -0
- package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.js.map +1 -0
- package/ranking2/stampSheet/enum/ClusterRankingScoreVerifyType.ts +27 -0
- package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.d.ts +9 -0
- package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.js +27 -0
- package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.js.map +1 -0
- package/ranking2/stampSheet/enum/GlobalRankingScoreVerifyType.ts +27 -0
- package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.d.ts +9 -0
- package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.js +27 -0
- package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.js.map +1 -0
- package/ranking2/stampSheet/enum/SubscribeRankingScoreVerifyType.ts +27 -0
- package/ranking2/stampSheet/index.d.ts +4 -1
- package/ranking2/stampSheet/index.js +7 -1
- package/ranking2/stampSheet/index.js.map +1 -1
- package/ranking2/stampSheet/index.ts +6 -0
- package/script/ref/NamespaceRef.d.ts +3 -0
- package/script/ref/NamespaceRef.js +5 -0
- package/script/ref/NamespaceRef.js.map +1 -1
- package/script/ref/NamespaceRef.ts +16 -0
- package/script/ref/ScriptRef.d.ts +3 -0
- package/script/ref/ScriptRef.js +5 -0
- package/script/ref/ScriptRef.js.map +1 -1
- package/script/ref/ScriptRef.ts +16 -0
- package/script/stampSheet/InvokeScript.d.ts +14 -0
- package/script/stampSheet/InvokeScript.js +60 -0
- package/script/stampSheet/InvokeScript.js.map +1 -0
- package/script/stampSheet/InvokeScript.ts +73 -0
- package/script/stampSheet/index.d.ts +2 -1
- package/script/stampSheet/index.js +5 -1
- package/script/stampSheet/index.js.map +1 -1
- package/script/stampSheet/index.ts +2 -0
- package/serialKey/ref/NamespaceRef.d.ts +3 -0
- package/serialKey/ref/NamespaceRef.js +4 -0
- package/serialKey/ref/NamespaceRef.js.map +1 -1
- package/serialKey/ref/NamespaceRef.ts +15 -0
- package/serialKey/stampSheet/VerifyCodeByUserId.d.ts +14 -0
- package/serialKey/stampSheet/VerifyCodeByUserId.js +53 -0
- package/serialKey/stampSheet/VerifyCodeByUserId.js.map +1 -0
- package/serialKey/stampSheet/VerifyCodeByUserId.ts +70 -0
- package/serialKey/stampSheet/enum/SerialKeyVerifyType.d.ts +5 -0
- package/serialKey/stampSheet/enum/SerialKeyVerifyType.js +23 -0
- package/serialKey/stampSheet/enum/SerialKeyVerifyType.js.map +1 -0
- package/serialKey/stampSheet/enum/SerialKeyVerifyType.ts +23 -0
- package/serialKey/stampSheet/index.d.ts +2 -1
- package/serialKey/stampSheet/index.js +3 -1
- package/serialKey/stampSheet/index.js.map +1 -1
- package/serialKey/stampSheet/index.ts +2 -0
|
@@ -0,0 +1,53 @@
|
|
|
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 model_1 = require("../../core/model");
|
|
19
|
+
class VerifyCodeByUserId extends model_1.VerifyAction {
|
|
20
|
+
constructor(namespaceName, code, verifyType, timeOffsetToken = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.timeOffsetToken = null;
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.code = code;
|
|
25
|
+
this.verifyType = verifyType;
|
|
26
|
+
this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
|
|
27
|
+
this.userId = userId;
|
|
28
|
+
}
|
|
29
|
+
request() {
|
|
30
|
+
let properties = {};
|
|
31
|
+
if (this.namespaceName != null) {
|
|
32
|
+
properties["namespaceName"] = this.namespaceName;
|
|
33
|
+
}
|
|
34
|
+
if (this.userId != null) {
|
|
35
|
+
properties["userId"] = this.userId;
|
|
36
|
+
}
|
|
37
|
+
if (this.code != null) {
|
|
38
|
+
properties["code"] = this.code;
|
|
39
|
+
}
|
|
40
|
+
if (this.verifyType != null) {
|
|
41
|
+
properties["verifyType"] = this.verifyType;
|
|
42
|
+
}
|
|
43
|
+
if (this.timeOffsetToken != null) {
|
|
44
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
45
|
+
}
|
|
46
|
+
return properties;
|
|
47
|
+
}
|
|
48
|
+
action() {
|
|
49
|
+
return "Gs2SerialKey:VerifyCodeByUserId";
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.default = VerifyCodeByUserId;
|
|
53
|
+
//# sourceMappingURL=VerifyCodeByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyCodeByUserId.js","sourceRoot":"","sources":["VerifyCodeByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAG5E,MAAqB,kBAAmB,SAAQ,oBAAY;IAQxD,YACI,aAAqB,EACrB,IAAY,EACZ,UAA+B,EAC/B,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAVK,oBAAe,GAAgB,IAAI,CAAC;QAYjD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,iCAAiC,CAAC;IAC7C,CAAC;CACJ;AAlDD,qCAkDC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 {AcquireAction, ConsumeAction, VerifyAction} from "../../core/model";
|
|
18
|
+
import { SerialKeyVerifyType } from "./enum/SerialKeyVerifyType";
|
|
19
|
+
|
|
20
|
+
export default class VerifyCodeByUserId extends VerifyAction {
|
|
21
|
+
private readonly namespaceName: string;
|
|
22
|
+
private readonly userId: string;
|
|
23
|
+
private readonly code: string;
|
|
24
|
+
private readonly verifyType: SerialKeyVerifyType;
|
|
25
|
+
private readonly timeOffsetToken: string|null = null;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public constructor(
|
|
29
|
+
namespaceName: string,
|
|
30
|
+
code: string,
|
|
31
|
+
verifyType: SerialKeyVerifyType,
|
|
32
|
+
timeOffsetToken: string|null = null,
|
|
33
|
+
userId: string = "#{userId}",
|
|
34
|
+
) {
|
|
35
|
+
super();
|
|
36
|
+
|
|
37
|
+
this.namespaceName = namespaceName;
|
|
38
|
+
this.code = code;
|
|
39
|
+
this.verifyType = verifyType;
|
|
40
|
+
this.timeOffsetToken = timeOffsetToken ?? null;
|
|
41
|
+
this.userId = userId;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public request(
|
|
45
|
+
): {[name: string]: any} {
|
|
46
|
+
let properties: {[name: string]: any} = {};
|
|
47
|
+
|
|
48
|
+
if (this.namespaceName != null) {
|
|
49
|
+
properties["namespaceName"] = this.namespaceName;
|
|
50
|
+
}
|
|
51
|
+
if (this.userId != null) {
|
|
52
|
+
properties["userId"] = this.userId;
|
|
53
|
+
}
|
|
54
|
+
if (this.code != null) {
|
|
55
|
+
properties["code"] = this.code;
|
|
56
|
+
}
|
|
57
|
+
if (this.verifyType != null) {
|
|
58
|
+
properties["verifyType"] = this.verifyType;
|
|
59
|
+
}
|
|
60
|
+
if (this.timeOffsetToken != null) {
|
|
61
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
return properties;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public action(): string {
|
|
68
|
+
return "Gs2SerialKey:VerifyCodeByUserId";
|
|
69
|
+
}
|
|
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.SerialKeyVerifyType = void 0;
|
|
19
|
+
exports.SerialKeyVerifyType = {
|
|
20
|
+
ACTIVE: "active",
|
|
21
|
+
INACTIVE: "inactive",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=SerialKeyVerifyType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SerialKeyVerifyType.js","sourceRoot":"","sources":["SerialKeyVerifyType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,mBAAmB,GAAG;IAC/B,MAAM,EAAE,QAAQ;IAChB,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 SerialKeyVerifyType = {
|
|
20
|
+
ACTIVE: "active",
|
|
21
|
+
INACTIVE: "inactive",
|
|
22
|
+
} as const;
|
|
23
|
+
export type SerialKeyVerifyType = typeof SerialKeyVerifyType[keyof typeof SerialKeyVerifyType];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UseByUserId = exports.RevertUseByUserId = void 0;
|
|
3
|
+
exports.VerifyCodeByUserId = exports.UseByUserId = exports.RevertUseByUserId = 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,4 +21,6 @@ const RevertUseByUserId_1 = tslib_1.__importDefault(require("./RevertUseByUserId
|
|
|
21
21
|
exports.RevertUseByUserId = RevertUseByUserId_1.default;
|
|
22
22
|
const UseByUserId_1 = tslib_1.__importDefault(require("./UseByUserId"));
|
|
23
23
|
exports.UseByUserId = UseByUserId_1.default;
|
|
24
|
+
const VerifyCodeByUserId_1 = tslib_1.__importDefault(require("./VerifyCodeByUserId"));
|
|
25
|
+
exports.VerifyCodeByUserId = VerifyCodeByUserId_1.default;
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oFAAoD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oFAAoD;AAKhD,4BALG,2BAAiB,CAKH;AAJrB,wEAAwC;AAKpC,sBALG,qBAAW,CAKH;AAJf,sFAAsD;AAKlD,6BALG,4BAAkB,CAKH"}
|