gs2-cdk 1.0.78 → 1.0.80
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/model/CurrentMasterData.d.ts +13 -0
- package/account/model/CurrentMasterData.js +50 -0
- package/account/model/CurrentMasterData.js.map +1 -0
- package/account/model/CurrentMasterData.ts +70 -0
- package/account/model/Namespace.d.ts +2 -0
- package/account/model/Namespace.js +5 -0
- package/account/model/Namespace.js.map +1 -1
- package/account/model/Namespace.ts +15 -0
- package/account/model/OpenIdConnectSetting.d.ts +13 -0
- package/account/model/OpenIdConnectSetting.js +41 -0
- package/account/model/OpenIdConnectSetting.js.map +1 -0
- package/account/model/OpenIdConnectSetting.ts +64 -0
- package/account/model/TakeOverTypeModel.d.ts +11 -0
- package/account/model/TakeOverTypeModel.js +27 -0
- package/account/model/TakeOverTypeModel.js.map +1 -0
- package/account/model/TakeOverTypeModel.ts +51 -0
- package/account/model/index.d.ts +6 -1
- package/account/model/index.js +7 -1
- package/account/model/index.js.map +1 -1
- package/account/model/index.ts +10 -0
- package/account/model/options/OpenIdConnectSettingOptions.d.ts +6 -0
- package/account/model/options/OpenIdConnectSettingOptions.js +18 -0
- package/account/model/options/OpenIdConnectSettingOptions.js.map +1 -0
- package/account/model/options/OpenIdConnectSettingOptions.ts +23 -0
- package/account/model/options/TakeOverTypeModelOptions.d.ts +3 -0
- package/account/model/options/TakeOverTypeModelOptions.js +3 -0
- package/account/model/options/TakeOverTypeModelOptions.js.map +1 -0
- package/account/model/options/TakeOverTypeModelOptions.ts +21 -0
- package/account/ref/NamespaceRef.d.ts +2 -0
- package/account/ref/NamespaceRef.js +5 -0
- package/account/ref/NamespaceRef.js.map +1 -1
- package/account/ref/NamespaceRef.ts +10 -0
- package/account/ref/TakeOverTypeModelRef.d.ts +6 -0
- package/account/ref/TakeOverTypeModelRef.js +41 -0
- package/account/ref/TakeOverTypeModelRef.js.map +1 -0
- package/account/ref/TakeOverTypeModelRef.ts +55 -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/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/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/package.json +1 -1
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
import TakeOverTypeModelRef from "./TakeOverTypeModelRef";
|
|
18
19
|
|
|
19
20
|
export default class NamespaceRef {
|
|
20
21
|
private readonly namespaceName: string;
|
|
@@ -25,6 +26,15 @@ export default class NamespaceRef {
|
|
|
25
26
|
this.namespaceName = namespaceName;
|
|
26
27
|
}
|
|
27
28
|
|
|
29
|
+
public takeOverTypeModel(
|
|
30
|
+
type: number,
|
|
31
|
+
): TakeOverTypeModelRef {
|
|
32
|
+
return new TakeOverTypeModelRef(
|
|
33
|
+
this.namespaceName,
|
|
34
|
+
type,
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
28
38
|
public grn(
|
|
29
39
|
): string {
|
|
30
40
|
return new Join(
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
class TakeOverTypeModelRef {
|
|
22
|
+
constructor(namespaceName, type) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.type = type;
|
|
25
|
+
}
|
|
26
|
+
grn() {
|
|
27
|
+
return new func_1.Join(":", [
|
|
28
|
+
"grn",
|
|
29
|
+
"gs2",
|
|
30
|
+
func_1.GetAttr.region().str(),
|
|
31
|
+
func_1.GetAttr.ownerId().str(),
|
|
32
|
+
"account",
|
|
33
|
+
this.namespaceName,
|
|
34
|
+
"model",
|
|
35
|
+
"takeOver",
|
|
36
|
+
this.type.toString(),
|
|
37
|
+
]).str();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
exports.default = TakeOverTypeModelRef;
|
|
41
|
+
//# sourceMappingURL=TakeOverTypeModelRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TakeOverTypeModelRef.js","sourceRoot":"","sources":["TakeOverTypeModelRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAEH,0CAA8C;AAE9C,MAAqB,oBAAoB;IAIrC,YACI,aAAqB,EACrB,IAAY;QAEZ,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,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,SAAS;YACT,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,UAAU;YACV,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;SACvB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAlCD,uCAkCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import {GetAttr, Join} from "../../core/func";
|
|
20
|
+
|
|
21
|
+
export default class TakeOverTypeModelRef {
|
|
22
|
+
private readonly namespaceName: string;
|
|
23
|
+
private readonly type: number;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
type: number,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.type = type;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public grn(
|
|
34
|
+
): string {
|
|
35
|
+
return new Join(
|
|
36
|
+
":",
|
|
37
|
+
[
|
|
38
|
+
"grn",
|
|
39
|
+
"gs2",
|
|
40
|
+
GetAttr.region(
|
|
41
|
+
).str(
|
|
42
|
+
),
|
|
43
|
+
GetAttr.ownerId(
|
|
44
|
+
).str(
|
|
45
|
+
),
|
|
46
|
+
"account",
|
|
47
|
+
this.namespaceName,
|
|
48
|
+
"model",
|
|
49
|
+
"takeOver",
|
|
50
|
+
this.type.toString(),
|
|
51
|
+
],
|
|
52
|
+
).str(
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
}
|
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.NamespaceRef = void 0;
|
|
3
|
+
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
|
|
@@ -19,4 +19,6 @@ const tslib_1 = require("tslib");
|
|
|
19
19
|
*/
|
|
20
20
|
const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
21
21
|
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
|
+
const TakeOverTypeModelRef_1 = tslib_1.__importDefault(require("./TakeOverTypeModelRef"));
|
|
23
|
+
exports.TakeOverTypeModelRef = TakeOverTypeModelRef_1.default;
|
|
22
24
|
//# 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;AAItC,uBAJG,sBAAY,CAIH;AAHhB,0FAA0D;AAItD,+BAJG,8BAAoB,CAIH"}
|
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,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,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
|
+
|