gs2-cdk 1.0.79 → 1.0.81
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/index.d.ts +3 -0
- package/account/index.js +5 -0
- package/account/index.js.map +1 -1
- package/account/index.ts +11 -0
- package/account/ref/BanStatusRef.d.ts +4 -0
- package/account/ref/BanStatusRef.js +24 -0
- package/account/ref/BanStatusRef.js.map +1 -0
- package/account/ref/BanStatusRef.ts +27 -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/friend/ref/NamespaceRef.d.ts +2 -0
- package/friend/ref/NamespaceRef.js +5 -0
- package/friend/ref/NamespaceRef.js.map +1 -1
- package/friend/ref/NamespaceRef.ts +16 -0
- package/friend/stampSheet/UpdateProfileByUserId.d.ts +14 -0
- package/friend/stampSheet/UpdateProfileByUserId.js +60 -0
- package/friend/stampSheet/UpdateProfileByUserId.js.map +1 -0
- package/friend/stampSheet/UpdateProfileByUserId.ts +75 -0
- package/friend/stampSheet/index.d.ts +2 -1
- package/friend/stampSheet/index.js +5 -1
- package/friend/stampSheet/index.js.map +1 -1
- package/friend/stampSheet/index.ts +2 -0
- package/log/model/InGameLog.d.ts +12 -0
- package/log/model/InGameLog.js +35 -0
- package/log/model/InGameLog.js.map +1 -0
- package/log/model/InGameLog.ts +62 -0
- package/log/model/InGameLogTag.d.ts +9 -0
- package/log/model/InGameLogTag.js +20 -0
- package/log/model/InGameLogTag.js.map +1 -0
- package/log/model/InGameLogTag.ts +44 -0
- package/log/model/index.d.ts +3 -1
- package/log/model/index.js +3 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +4 -0
- package/log/model/options/InGameLogOptions.d.ts +5 -0
- package/log/model/options/InGameLogOptions.js +3 -0
- package/log/model/options/InGameLogOptions.js.map +1 -0
- package/log/model/options/InGameLogOptions.ts +22 -0
- package/log/model/options/InGameLogTagOptions.d.ts +2 -0
- package/log/model/options/InGameLogTagOptions.js +18 -0
- package/log/model/options/InGameLogTagOptions.js.map +1 -0
- package/log/model/options/InGameLogTagOptions.ts +19 -0
- package/log/ref/InGameLogRef.d.ts +5 -0
- package/log/ref/InGameLogRef.js +25 -0
- package/log/ref/InGameLogRef.js.map +1 -0
- package/log/ref/InGameLogRef.ts +30 -0
- package/money2/model/Namespace.d.ts +2 -1
- package/money2/model/Namespace.js +13 -8
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +10 -4
- package/money2/model/options/NamespaceOptions.d.ts +2 -1
- package/money2/model/options/NamespaceOptions.ts +2 -1
- package/package.json +1 -1
package/account/index.d.ts
CHANGED
|
@@ -2,11 +2,14 @@ import * as model from "./model";
|
|
|
2
2
|
import * as ref from "./ref";
|
|
3
3
|
import * as stampSheet from "./stampSheet";
|
|
4
4
|
import { NamespaceRef } from "./ref";
|
|
5
|
+
import { BanStatusRef } from "./ref";
|
|
5
6
|
declare function namespace(namespaceName: string): NamespaceRef;
|
|
7
|
+
declare function banStatus(name: string): BanStatusRef;
|
|
6
8
|
declare const _default: {
|
|
7
9
|
model: typeof model;
|
|
8
10
|
ref: typeof ref;
|
|
9
11
|
stampSheet: typeof stampSheet;
|
|
10
12
|
namespace: typeof namespace;
|
|
13
|
+
banStatus: typeof banStatus;
|
|
11
14
|
};
|
|
12
15
|
export default _default;
|
package/account/index.js
CHANGED
|
@@ -20,13 +20,18 @@ const model = tslib_1.__importStar(require("./model"));
|
|
|
20
20
|
const ref = tslib_1.__importStar(require("./ref"));
|
|
21
21
|
const stampSheet = tslib_1.__importStar(require("./stampSheet"));
|
|
22
22
|
const ref_1 = require("./ref");
|
|
23
|
+
const ref_2 = require("./ref");
|
|
23
24
|
function namespace(namespaceName) {
|
|
24
25
|
return new ref_1.NamespaceRef(namespaceName);
|
|
25
26
|
}
|
|
27
|
+
function banStatus(name) {
|
|
28
|
+
return new ref_2.BanStatusRef(name);
|
|
29
|
+
}
|
|
26
30
|
exports.default = {
|
|
27
31
|
model,
|
|
28
32
|
ref,
|
|
29
33
|
stampSheet,
|
|
30
34
|
namespace,
|
|
35
|
+
banStatus,
|
|
31
36
|
};
|
|
32
37
|
//# sourceMappingURL=index.js.map
|
package/account/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAC3C,+BAAqC;AAGrC,SAAS,SAAS,CACd,aAAqB;IAErB,OAAO,IAAI,kBAAY,CACnB,aAAa,CAChB,CAAC;AACN,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;CACZ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAC3C,+BAAqC;AACrC,+BAAqC;AAGrC,SAAS,SAAS,CACd,aAAqB;IAErB,OAAO,IAAI,kBAAY,CACnB,aAAa,CAChB,CAAC;AACN,CAAC;AAGD,SAAS,SAAS,CACd,IAAY;IAEZ,OAAO,IAAI,kBAAY,CACnB,IAAI,CACP,CAAC;AACN,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;IACT,SAAS;CACZ,CAAC"}
|
package/account/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ import * as model from "./model";
|
|
|
18
18
|
import * as ref from "./ref";
|
|
19
19
|
import * as stampSheet from "./stampSheet";
|
|
20
20
|
import { NamespaceRef } from "./ref";
|
|
21
|
+
import { BanStatusRef } from "./ref";
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
function namespace(
|
|
@@ -28,9 +29,19 @@ function namespace(
|
|
|
28
29
|
);
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
|
|
33
|
+
function banStatus(
|
|
34
|
+
name: string,
|
|
35
|
+
): BanStatusRef {
|
|
36
|
+
return new BanStatusRef(
|
|
37
|
+
name,
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
31
41
|
export default {
|
|
32
42
|
model,
|
|
33
43
|
ref,
|
|
34
44
|
stampSheet,
|
|
35
45
|
namespace,
|
|
46
|
+
banStatus,
|
|
36
47
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
class BanStatusRef {
|
|
19
|
+
constructor(name) {
|
|
20
|
+
this.name = name;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = BanStatusRef;
|
|
24
|
+
//# sourceMappingURL=BanStatusRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BanStatusRef.js","sourceRoot":"","sources":["BanStatusRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,YAAY;IAG7B,YACI,IAAY;QAEZ,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;CACJ;AARD,+BAQC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class BanStatusRef {
|
|
20
|
+
private readonly name: string;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
name: string,
|
|
24
|
+
) {
|
|
25
|
+
this.name = name;
|
|
26
|
+
}
|
|
27
|
+
}
|
package/account/ref/index.d.ts
CHANGED
package/account/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TakeOverTypeModelRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.BanStatusRef = exports.TakeOverTypeModelRef = exports.NamespaceRef = 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 NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
|
21
21
|
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
22
|
const TakeOverTypeModelRef_1 = tslib_1.__importDefault(require("./TakeOverTypeModelRef"));
|
|
23
23
|
exports.TakeOverTypeModelRef = TakeOverTypeModelRef_1.default;
|
|
24
|
+
const BanStatusRef_1 = tslib_1.__importDefault(require("./BanStatusRef"));
|
|
25
|
+
exports.BanStatusRef = BanStatusRef_1.default;
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
package/account/ref/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAKtC,uBALG,sBAAY,CAKH;AAJhB,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH;AAJxB,0EAA0C;AAKtC,uBALG,sBAAY,CAKH"}
|
package/account/ref/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import UpdateProfileByUserId from "../stampSheet/UpdateProfileByUserId";
|
|
1
2
|
export default class NamespaceRef {
|
|
2
3
|
private readonly namespaceName;
|
|
3
4
|
constructor(namespaceName: string);
|
|
5
|
+
updateProfile(publicProfile?: string | null, followerProfile?: string | null, friendProfile?: string | null, userId?: string): UpdateProfileByUserId;
|
|
4
6
|
grn(): string;
|
|
5
7
|
}
|
|
@@ -15,11 +15,16 @@
|
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const tslib_1 = require("tslib");
|
|
18
19
|
const func_1 = require("../../core/func");
|
|
20
|
+
const UpdateProfileByUserId_1 = tslib_1.__importDefault(require("../stampSheet/UpdateProfileByUserId"));
|
|
19
21
|
class NamespaceRef {
|
|
20
22
|
constructor(namespaceName) {
|
|
21
23
|
this.namespaceName = namespaceName;
|
|
22
24
|
}
|
|
25
|
+
updateProfile(publicProfile = null, followerProfile = null, friendProfile = null, userId = "#{userId}") {
|
|
26
|
+
return new UpdateProfileByUserId_1.default(this.namespaceName, publicProfile, followerProfile, friendProfile, userId);
|
|
27
|
+
}
|
|
23
28
|
grn() {
|
|
24
29
|
return new func_1.Join(":", [
|
|
25
30
|
"grn",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,wGAAwE;AAExE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,aAAa,CAChB,gBAA6B,IAAI,EACjC,kBAA+B,IAAI,EACnC,gBAA6B,IAAI,EACjC,SAAiB,WAAW;QAE5B,OAAO,IAAI,+BAAqB,CAC5B,IAAI,CAAC,aAAa,EAClB,aAAa,EACb,eAAe,EACf,aAAa,EACb,MAAM,CACT,CAAC;IACN,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3CD,+BA2CC"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
import UpdateProfileByUserId from "../stampSheet/UpdateProfileByUserId";
|
|
18
19
|
|
|
19
20
|
export default class NamespaceRef {
|
|
20
21
|
private readonly namespaceName: string;
|
|
@@ -25,6 +26,21 @@ export default class NamespaceRef {
|
|
|
25
26
|
this.namespaceName = namespaceName;
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
public updateProfile(
|
|
30
|
+
publicProfile: string|null = null,
|
|
31
|
+
followerProfile: string|null = null,
|
|
32
|
+
friendProfile: string|null = null,
|
|
33
|
+
userId: string = "#{userId}",
|
|
34
|
+
): UpdateProfileByUserId {
|
|
35
|
+
return new UpdateProfileByUserId(
|
|
36
|
+
this.namespaceName,
|
|
37
|
+
publicProfile,
|
|
38
|
+
followerProfile,
|
|
39
|
+
friendProfile,
|
|
40
|
+
userId,
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
28
44
|
public grn(
|
|
29
45
|
): string {
|
|
30
46
|
return new Join(
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AcquireAction } from "../../core/model";
|
|
2
|
+
export default class UpdateProfileByUserId extends AcquireAction {
|
|
3
|
+
private readonly namespaceName;
|
|
4
|
+
private readonly userId;
|
|
5
|
+
private readonly publicProfile;
|
|
6
|
+
private readonly followerProfile;
|
|
7
|
+
private readonly friendProfile;
|
|
8
|
+
private readonly timeOffsetToken;
|
|
9
|
+
constructor(namespaceName: string, publicProfile?: string | null, followerProfile?: string | null, friendProfile?: string | null, timeOffsetToken?: string | null, userId?: string);
|
|
10
|
+
request(): {
|
|
11
|
+
[name: string]: any;
|
|
12
|
+
};
|
|
13
|
+
action(): string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 UpdateProfileByUserId extends model_1.AcquireAction {
|
|
20
|
+
constructor(namespaceName, publicProfile = null, followerProfile = null, friendProfile = null, timeOffsetToken = null, userId = "#{userId}") {
|
|
21
|
+
super();
|
|
22
|
+
this.publicProfile = null;
|
|
23
|
+
this.followerProfile = null;
|
|
24
|
+
this.friendProfile = null;
|
|
25
|
+
this.timeOffsetToken = null;
|
|
26
|
+
this.namespaceName = namespaceName;
|
|
27
|
+
this.publicProfile = publicProfile !== null && publicProfile !== void 0 ? publicProfile : null;
|
|
28
|
+
this.followerProfile = followerProfile !== null && followerProfile !== void 0 ? followerProfile : null;
|
|
29
|
+
this.friendProfile = friendProfile !== null && friendProfile !== void 0 ? friendProfile : null;
|
|
30
|
+
this.timeOffsetToken = timeOffsetToken !== null && timeOffsetToken !== void 0 ? timeOffsetToken : null;
|
|
31
|
+
this.userId = userId;
|
|
32
|
+
}
|
|
33
|
+
request() {
|
|
34
|
+
let properties = {};
|
|
35
|
+
if (this.namespaceName != null) {
|
|
36
|
+
properties["namespaceName"] = this.namespaceName;
|
|
37
|
+
}
|
|
38
|
+
if (this.userId != null) {
|
|
39
|
+
properties["userId"] = this.userId;
|
|
40
|
+
}
|
|
41
|
+
if (this.publicProfile != null) {
|
|
42
|
+
properties["publicProfile"] = this.publicProfile;
|
|
43
|
+
}
|
|
44
|
+
if (this.followerProfile != null) {
|
|
45
|
+
properties["followerProfile"] = this.followerProfile;
|
|
46
|
+
}
|
|
47
|
+
if (this.friendProfile != null) {
|
|
48
|
+
properties["friendProfile"] = this.friendProfile;
|
|
49
|
+
}
|
|
50
|
+
if (this.timeOffsetToken != null) {
|
|
51
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
52
|
+
}
|
|
53
|
+
return properties;
|
|
54
|
+
}
|
|
55
|
+
action() {
|
|
56
|
+
return "Gs2Friend:UpdateProfileByUserId";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.default = UpdateProfileByUserId;
|
|
60
|
+
//# sourceMappingURL=UpdateProfileByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateProfileByUserId.js","sourceRoot":"","sources":["UpdateProfileByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA4E;AAE5E,MAAqB,qBAAsB,SAAQ,qBAAa;IAS5D,YACI,aAAqB,EACrB,gBAA6B,IAAI,EACjC,kBAA+B,IAAI,EACnC,gBAA6B,IAAI,EACjC,kBAA+B,IAAI,EACnC,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAdK,kBAAa,GAAgB,IAAI,CAAC;QAClC,oBAAe,GAAgB,IAAI,CAAC;QACpC,kBAAa,GAAgB,IAAI,CAAC;QAClC,oBAAe,GAAgB,IAAI,CAAC;QAajD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,CAAC;QAC3C,IAAI,CAAC,eAAe,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,IAAI,CAAC;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,aAAb,aAAa,cAAb,aAAa,GAAI,IAAI,CAAC;QAC3C,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,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;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;AAxDD,wCAwDC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
|
|
19
|
+
export default class UpdateProfileByUserId extends AcquireAction {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly userId: string;
|
|
22
|
+
private readonly publicProfile: string|null = null;
|
|
23
|
+
private readonly followerProfile: string|null = null;
|
|
24
|
+
private readonly friendProfile: string|null = null;
|
|
25
|
+
private readonly timeOffsetToken: string|null = null;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public constructor(
|
|
29
|
+
namespaceName: string,
|
|
30
|
+
publicProfile: string|null = null,
|
|
31
|
+
followerProfile: string|null = null,
|
|
32
|
+
friendProfile: string|null = null,
|
|
33
|
+
timeOffsetToken: string|null = null,
|
|
34
|
+
userId: string = "#{userId}",
|
|
35
|
+
) {
|
|
36
|
+
super();
|
|
37
|
+
|
|
38
|
+
this.namespaceName = namespaceName;
|
|
39
|
+
this.publicProfile = publicProfile ?? null;
|
|
40
|
+
this.followerProfile = followerProfile ?? null;
|
|
41
|
+
this.friendProfile = friendProfile ?? null;
|
|
42
|
+
this.timeOffsetToken = timeOffsetToken ?? null;
|
|
43
|
+
this.userId = userId;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public request(
|
|
47
|
+
): {[name: string]: any} {
|
|
48
|
+
let properties: {[name: string]: any} = {};
|
|
49
|
+
|
|
50
|
+
if (this.namespaceName != null) {
|
|
51
|
+
properties["namespaceName"] = this.namespaceName;
|
|
52
|
+
}
|
|
53
|
+
if (this.userId != null) {
|
|
54
|
+
properties["userId"] = this.userId;
|
|
55
|
+
}
|
|
56
|
+
if (this.publicProfile != null) {
|
|
57
|
+
properties["publicProfile"] = this.publicProfile;
|
|
58
|
+
}
|
|
59
|
+
if (this.followerProfile != null) {
|
|
60
|
+
properties["followerProfile"] = this.followerProfile;
|
|
61
|
+
}
|
|
62
|
+
if (this.friendProfile != null) {
|
|
63
|
+
properties["friendProfile"] = this.friendProfile;
|
|
64
|
+
}
|
|
65
|
+
if (this.timeOffsetToken != null) {
|
|
66
|
+
properties["timeOffsetToken"] = this.timeOffsetToken;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return properties;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
public action(): string {
|
|
73
|
+
return "Gs2Friend:UpdateProfileByUserId";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import UpdateProfileByUserId from "./UpdateProfileByUserId";
|
|
2
|
+
export { UpdateProfileByUserId, };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateProfileByUserId = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
2
5
|
/*
|
|
3
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
7
|
* Reserved.
|
|
@@ -14,5 +17,6 @@
|
|
|
14
17
|
* express or implied. See the License for the specific language governing
|
|
15
18
|
* permissions and limitations under the License.
|
|
16
19
|
*/
|
|
17
|
-
|
|
20
|
+
const UpdateProfileByUserId_1 = tslib_1.__importDefault(require("./UpdateProfileByUserId"));
|
|
21
|
+
exports.UpdateProfileByUserId = UpdateProfileByUserId_1.default;
|
|
18
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,4FAA4D;AAGxD,gCAHG,+BAAqB,CAGH"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InGameLogOptions } from "./options/InGameLogOptions";
|
|
2
|
+
export default class InGameLog {
|
|
3
|
+
private readonly timestamp;
|
|
4
|
+
private readonly requestId;
|
|
5
|
+
private readonly payload;
|
|
6
|
+
private readonly userId;
|
|
7
|
+
private readonly tags;
|
|
8
|
+
constructor(timestamp: number, requestId: string, payload: string, options?: InGameLogOptions | null);
|
|
9
|
+
properties(): {
|
|
10
|
+
[name: string]: any;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class InGameLog {
|
|
4
|
+
constructor(timestamp, requestId, payload, options = null) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
this.userId = null;
|
|
7
|
+
this.tags = null;
|
|
8
|
+
this.timestamp = timestamp;
|
|
9
|
+
this.requestId = requestId;
|
|
10
|
+
this.payload = payload;
|
|
11
|
+
this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
|
|
12
|
+
this.tags = (_b = options === null || options === void 0 ? void 0 : options.tags) !== null && _b !== void 0 ? _b : null;
|
|
13
|
+
}
|
|
14
|
+
properties() {
|
|
15
|
+
let properties = {};
|
|
16
|
+
if (this.timestamp != null) {
|
|
17
|
+
properties["timestamp"] = this.timestamp;
|
|
18
|
+
}
|
|
19
|
+
if (this.requestId != null) {
|
|
20
|
+
properties["requestId"] = this.requestId;
|
|
21
|
+
}
|
|
22
|
+
if (this.userId != null) {
|
|
23
|
+
properties["userId"] = this.userId;
|
|
24
|
+
}
|
|
25
|
+
if (this.tags != null) {
|
|
26
|
+
properties["tags"] = this.tags.map(v => v.properties());
|
|
27
|
+
}
|
|
28
|
+
if (this.payload != null) {
|
|
29
|
+
properties["payload"] = this.payload;
|
|
30
|
+
}
|
|
31
|
+
return properties;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.default = InGameLog;
|
|
35
|
+
//# sourceMappingURL=InGameLog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InGameLog.js","sourceRoot":"","sources":["InGameLog.ts"],"names":[],"mappings":";;AAkBA,MAAqB,SAAS;IAO1B,YACI,SAAiB,EACjB,SAAiB,EACjB,OAAe,EACf,UAAiC,IAAI;;QAPxB,WAAM,GAAgB,IAAI,CAAC;QAC3B,SAAI,GAAwB,IAAI,CAAC;QAQ9C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,IAAI,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,mCAAI,IAAI,CAAC;IACtC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;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,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC/C,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA3CD,4BA2CC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import InGameLogTag from "./InGameLogTag";
|
|
17
|
+
import { InGameLogOptions } from "./options/InGameLogOptions";
|
|
18
|
+
|
|
19
|
+
export default class InGameLog {
|
|
20
|
+
private readonly timestamp: number;
|
|
21
|
+
private readonly requestId: string;
|
|
22
|
+
private readonly payload: string;
|
|
23
|
+
private readonly userId: string|null = null;
|
|
24
|
+
private readonly tags: InGameLogTag[]|null = null;
|
|
25
|
+
|
|
26
|
+
public constructor(
|
|
27
|
+
timestamp: number,
|
|
28
|
+
requestId: string,
|
|
29
|
+
payload: string,
|
|
30
|
+
options: InGameLogOptions|null = null,
|
|
31
|
+
) {
|
|
32
|
+
this.timestamp = timestamp;
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
this.payload = payload;
|
|
35
|
+
this.userId = options?.userId ?? null;
|
|
36
|
+
this.tags = options?.tags ?? null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public properties(
|
|
40
|
+
): {[name: string]: any} {
|
|
41
|
+
let properties: {[name: string]: any} = {};
|
|
42
|
+
|
|
43
|
+
if (this.timestamp != null) {
|
|
44
|
+
properties["timestamp"] = this.timestamp;
|
|
45
|
+
}
|
|
46
|
+
if (this.requestId != null) {
|
|
47
|
+
properties["requestId"] = this.requestId;
|
|
48
|
+
}
|
|
49
|
+
if (this.userId != null) {
|
|
50
|
+
properties["userId"] = this.userId;
|
|
51
|
+
}
|
|
52
|
+
if (this.tags != null) {
|
|
53
|
+
properties["tags"] = this.tags.map(v => v.properties(
|
|
54
|
+
));
|
|
55
|
+
}
|
|
56
|
+
if (this.payload != null) {
|
|
57
|
+
properties["payload"] = this.payload;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return properties;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InGameLogTagOptions } from "./options/InGameLogTagOptions";
|
|
2
|
+
export default class InGameLogTag {
|
|
3
|
+
private readonly key;
|
|
4
|
+
private readonly value;
|
|
5
|
+
constructor(key: string, value: string, options?: InGameLogTagOptions | null);
|
|
6
|
+
properties(): {
|
|
7
|
+
[name: string]: any;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class InGameLogTag {
|
|
4
|
+
constructor(key, value, options = null) {
|
|
5
|
+
this.key = key;
|
|
6
|
+
this.value = value;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.key != null) {
|
|
11
|
+
properties["key"] = this.key;
|
|
12
|
+
}
|
|
13
|
+
if (this.value != null) {
|
|
14
|
+
properties["value"] = this.value;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = InGameLogTag;
|
|
20
|
+
//# sourceMappingURL=InGameLogTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InGameLogTag.js","sourceRoot":"","sources":["InGameLogTag.ts"],"names":[],"mappings":";;AAiBA,MAAqB,YAAY;IAI7B,YACI,GAAW,EACX,KAAa,EACb,UAAoC,IAAI;QAExC,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAChC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,+BA0BC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { InGameLogTagOptions } from "./options/InGameLogTagOptions";
|
|
17
|
+
|
|
18
|
+
export default class InGameLogTag {
|
|
19
|
+
private readonly key: string;
|
|
20
|
+
private readonly value: string;
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
key: string,
|
|
24
|
+
value: string,
|
|
25
|
+
options: InGameLogTagOptions|null = null,
|
|
26
|
+
) {
|
|
27
|
+
this.key = key;
|
|
28
|
+
this.value = value;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public properties(
|
|
32
|
+
): {[name: string]: any} {
|
|
33
|
+
let properties: {[name: string]: any} = {};
|
|
34
|
+
|
|
35
|
+
if (this.key != null) {
|
|
36
|
+
properties["key"] = this.key;
|
|
37
|
+
}
|
|
38
|
+
if (this.value != null) {
|
|
39
|
+
properties["value"] = this.value;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return properties;
|
|
43
|
+
}
|
|
44
|
+
}
|
package/log/model/index.d.ts
CHANGED
|
@@ -23,4 +23,6 @@ import { ExecuteStampTaskLogCountOptions } from "./options/ExecuteStampTaskLogCo
|
|
|
23
23
|
import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
|
|
24
24
|
import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
|
|
25
25
|
import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
|
|
26
|
-
|
|
26
|
+
import InGameLogTag from "./InGameLogTag";
|
|
27
|
+
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, };
|
package/log/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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.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
|
|
@@ -41,4 +41,6 @@ const AccessLogWithTelemetry_1 = tslib_1.__importDefault(require("./AccessLogWit
|
|
|
41
41
|
exports.AccessLogWithTelemetry = AccessLogWithTelemetry_1.default;
|
|
42
42
|
const AccessLogWithTelemetryStatus_1 = require("./enum/AccessLogWithTelemetryStatus");
|
|
43
43
|
Object.defineProperty(exports, "AccessLogWithTelemetryStatus", { enumerable: true, get: function () { return AccessLogWithTelemetryStatus_1.AccessLogWithTelemetryStatus; } });
|
|
44
|
+
const InGameLogTag_1 = tslib_1.__importDefault(require("./InGameLogTag"));
|
|
45
|
+
exports.InGameLogTag = InGameLogTag_1.default;
|
|
44
46
|
//# sourceMappingURL=index.js.map
|
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;AA6BhC,oBA7BG,mBAAS,CA6BH;AA3Bb,wDAAqD;AA6BjD,8FA7BK,6BAAa,OA6BL;AAzBjB,oEAAoC;AA6BhC,oBA7BG,mBAAS,CA6BH;AA3Bb,8EAA8C;AA6B1C,yBA7BG,wBAAc,CA6BH;AA3BlB,sFAAsD;AA6BlD,6BA7BG,4BAAkB,CA6BH;AA3BtB,gGAAgE;AA6B5D,kCA7BG,iCAAuB,CA6BH;AA3B3B,0FAA0D;AA6BtD,+BA7BG,8BAAoB,CA6BH;AA3BxB,oGAAoE;AA6BhE,oCA7BG,mCAAyB,CA6BH;AA3B7B,wFAAwD;AA6BpD,8BA7BG,6BAAmB,CA6BH;AA3BvB,kGAAkE;AA6B9D,mCA7BG,kCAAwB,CA6BH;AA3B5B,8FAA8D;AA6B1D,iCA7BG,gCAAsB,CA6BH;AA3B1B,sFAAmF;AA6B/E,6GA7BK,2DAA4B,OA6BL;AA5BhC,0EAA0C;AA6BtC,uBA7BG,sBAAY,CA6BH"}
|
package/log/model/index.ts
CHANGED
|
@@ -38,6 +38,8 @@ import { ExecuteStampTaskLogCountOptions } from "./options/ExecuteStampTaskLogCo
|
|
|
38
38
|
import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
|
|
39
39
|
import { AccessLogWithTelemetryOptions } from "./options/AccessLogWithTelemetryOptions";
|
|
40
40
|
import { AccessLogWithTelemetryStatus } from "./enum/AccessLogWithTelemetryStatus";
|
|
41
|
+
import InGameLogTag from "./InGameLogTag";
|
|
42
|
+
import { InGameLogTagOptions } from "./options/InGameLogTagOptions";
|
|
41
43
|
|
|
42
44
|
export {
|
|
43
45
|
Namespace,
|
|
@@ -65,4 +67,6 @@ export {
|
|
|
65
67
|
AccessLogWithTelemetry,
|
|
66
68
|
AccessLogWithTelemetryOptions,
|
|
67
69
|
AccessLogWithTelemetryStatus,
|
|
70
|
+
InGameLogTag,
|
|
71
|
+
InGameLogTagOptions,
|
|
68
72
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InGameLogOptions.js","sourceRoot":"","sources":["InGameLogOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import InGameLogTag from "../InGameLogTag";
|
|
17
|
+
|
|
18
|
+
export interface InGameLogOptions {
|
|
19
|
+
userId?: string|null;
|
|
20
|
+
tags?: InGameLogTag[]|null;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=InGameLogTagOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InGameLogTagOptions.js","sourceRoot":"","sources":["InGameLogTagOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
export interface InGameLogTagOptions {
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
class InGameLogRef {
|
|
19
|
+
constructor(namespaceName, requestId) {
|
|
20
|
+
this.namespaceName = namespaceName;
|
|
21
|
+
this.requestId = requestId;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.default = InGameLogRef;
|
|
25
|
+
//# sourceMappingURL=InGameLogRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InGameLogRef.js","sourceRoot":"","sources":["InGameLogRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,YAAY;IAI7B,YACI,aAAqB,EACrB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAXD,+BAWC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class InGameLogRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly requestId: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
requestId: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.requestId = requestId;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -12,7 +12,8 @@ export default class Namespace extends CdkResource {
|
|
|
12
12
|
private readonly sharedFreeCurrency;
|
|
13
13
|
private readonly platformSetting;
|
|
14
14
|
private readonly description;
|
|
15
|
-
private readonly
|
|
15
|
+
private readonly depositBalanceScript;
|
|
16
|
+
private readonly withdrawBalanceScript;
|
|
16
17
|
private readonly logSetting;
|
|
17
18
|
constructor(stack: Stack, name: string, currencyUsagePriority: NamespaceCurrencyUsagePriority, sharedFreeCurrency: boolean, platformSetting: PlatformSetting, options?: NamespaceOptions | null);
|
|
18
19
|
alternateKeys(): string;
|
|
@@ -22,10 +22,11 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
|
22
22
|
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
23
23
|
class Namespace extends model_1.CdkResource {
|
|
24
24
|
constructor(stack, name, currencyUsagePriority, sharedFreeCurrency, platformSetting, options = null) {
|
|
25
|
-
var _a, _b, _c;
|
|
25
|
+
var _a, _b, _c, _d;
|
|
26
26
|
super("Money2_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
|
-
this.
|
|
28
|
+
this.depositBalanceScript = null;
|
|
29
|
+
this.withdrawBalanceScript = null;
|
|
29
30
|
this.logSetting = null;
|
|
30
31
|
this.stack = stack;
|
|
31
32
|
this.name = name;
|
|
@@ -33,8 +34,9 @@ class Namespace extends model_1.CdkResource {
|
|
|
33
34
|
this.sharedFreeCurrency = sharedFreeCurrency;
|
|
34
35
|
this.platformSetting = platformSetting;
|
|
35
36
|
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
37
|
+
this.depositBalanceScript = (_b = options === null || options === void 0 ? void 0 : options.depositBalanceScript) !== null && _b !== void 0 ? _b : null;
|
|
38
|
+
this.withdrawBalanceScript = (_c = options === null || options === void 0 ? void 0 : options.withdrawBalanceScript) !== null && _c !== void 0 ? _c : null;
|
|
39
|
+
this.logSetting = (_d = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _d !== void 0 ? _d : null;
|
|
38
40
|
stack.addResource(this);
|
|
39
41
|
}
|
|
40
42
|
alternateKeys() {
|
|
@@ -44,7 +46,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
44
46
|
return "GS2::Money2::Namespace";
|
|
45
47
|
}
|
|
46
48
|
properties() {
|
|
47
|
-
var _a, _b, _c;
|
|
49
|
+
var _a, _b, _c, _d;
|
|
48
50
|
let properties = {};
|
|
49
51
|
if (this.name != null) {
|
|
50
52
|
properties["Name"] = this.name;
|
|
@@ -61,11 +63,14 @@ class Namespace extends model_1.CdkResource {
|
|
|
61
63
|
if (this.platformSetting != null) {
|
|
62
64
|
properties["PlatformSetting"] = (_a = this.platformSetting) === null || _a === void 0 ? void 0 : _a.properties();
|
|
63
65
|
}
|
|
64
|
-
if (this.
|
|
65
|
-
properties["
|
|
66
|
+
if (this.depositBalanceScript != null) {
|
|
67
|
+
properties["DepositBalanceScript"] = (_b = this.depositBalanceScript) === null || _b === void 0 ? void 0 : _b.properties();
|
|
68
|
+
}
|
|
69
|
+
if (this.withdrawBalanceScript != null) {
|
|
70
|
+
properties["WithdrawBalanceScript"] = (_c = this.withdrawBalanceScript) === null || _c === void 0 ? void 0 : _c.properties();
|
|
66
71
|
}
|
|
67
72
|
if (this.logSetting != null) {
|
|
68
|
-
properties["LogSetting"] = (
|
|
73
|
+
properties["LogSetting"] = (_d = this.logSetting) === null || _d === void 0 ? void 0 : _d.properties();
|
|
69
74
|
}
|
|
70
75
|
return properties;
|
|
71
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAKxC,+EAA+C;AAC/C,oFAAoD;AAMpD,MAAqB,SAAU,SAAQ,mBAAW;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":"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"}
|
|
@@ -34,7 +34,8 @@ export default class Namespace extends CdkResource {
|
|
|
34
34
|
private readonly sharedFreeCurrency: boolean;
|
|
35
35
|
private readonly platformSetting: PlatformSetting;
|
|
36
36
|
private readonly description: string|null = null;
|
|
37
|
-
private readonly
|
|
37
|
+
private readonly depositBalanceScript: ScriptSetting|null = null;
|
|
38
|
+
private readonly withdrawBalanceScript: ScriptSetting|null = null;
|
|
38
39
|
private readonly logSetting: LogSetting|null = null;
|
|
39
40
|
|
|
40
41
|
public constructor(
|
|
@@ -55,7 +56,8 @@ export default class Namespace extends CdkResource {
|
|
|
55
56
|
this.sharedFreeCurrency = sharedFreeCurrency;
|
|
56
57
|
this.platformSetting = platformSetting;
|
|
57
58
|
this.description = options?.description ?? null;
|
|
58
|
-
this.
|
|
59
|
+
this.depositBalanceScript = options?.depositBalanceScript ?? null;
|
|
60
|
+
this.withdrawBalanceScript = options?.withdrawBalanceScript ?? null;
|
|
59
61
|
this.logSetting = options?.logSetting ?? null;
|
|
60
62
|
stack.addResource(
|
|
61
63
|
this,
|
|
@@ -93,8 +95,12 @@ export default class Namespace extends CdkResource {
|
|
|
93
95
|
properties["PlatformSetting"] = this.platformSetting?.properties(
|
|
94
96
|
);
|
|
95
97
|
}
|
|
96
|
-
if (this.
|
|
97
|
-
properties["
|
|
98
|
+
if (this.depositBalanceScript != null) {
|
|
99
|
+
properties["DepositBalanceScript"] = this.depositBalanceScript?.properties(
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
if (this.withdrawBalanceScript != null) {
|
|
103
|
+
properties["WithdrawBalanceScript"] = this.withdrawBalanceScript?.properties(
|
|
98
104
|
);
|
|
99
105
|
}
|
|
100
106
|
if (this.logSetting != null) {
|
|
@@ -2,6 +2,7 @@ import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
|
2
2
|
import LogSetting from "../../../core/model/LogSetting";
|
|
3
3
|
export interface NamespaceOptions {
|
|
4
4
|
description?: string | null;
|
|
5
|
-
|
|
5
|
+
depositBalanceScript?: ScriptSetting | null;
|
|
6
|
+
withdrawBalanceScript?: ScriptSetting | null;
|
|
6
7
|
logSetting?: LogSetting | null;
|
|
7
8
|
}
|
|
@@ -20,7 +20,8 @@ import { NamespaceCurrencyUsagePriority } from "../enum/NamespaceCurrencyUsagePr
|
|
|
20
20
|
|
|
21
21
|
export interface NamespaceOptions {
|
|
22
22
|
description?: string|null;
|
|
23
|
-
|
|
23
|
+
depositBalanceScript?: ScriptSetting|null;
|
|
24
|
+
withdrawBalanceScript?: ScriptSetting|null;
|
|
24
25
|
logSetting?: LogSetting|null;
|
|
25
26
|
}
|
|
26
27
|
|