gs2 1.4.12 → 1.4.13

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.
Files changed (69) hide show
  1. package/friend/request/UpdateProfileByStampSheetRequest.d.ts +25 -0
  2. package/friend/request/UpdateProfileByStampSheetRequest.js +83 -0
  3. package/friend/request/UpdateProfileByStampSheetRequest.js.map +1 -0
  4. package/friend/request/UpdateProfileByStampSheetRequest.ts +90 -0
  5. package/friend/request/index.d.ts +2 -1
  6. package/friend/request/index.js +4 -2
  7. package/friend/request/index.js.map +1 -1
  8. package/friend/request/index.ts +2 -0
  9. package/friend/rest.d.ts +1 -0
  10. package/friend/rest.js +27 -0
  11. package/friend/rest.js.map +1 -1
  12. package/friend/rest.ts +31 -0
  13. package/friend/result/UpdateProfileByStampSheetResult.d.ts +14 -0
  14. package/friend/result/UpdateProfileByStampSheetResult.js +48 -0
  15. package/friend/result/UpdateProfileByStampSheetResult.js.map +1 -0
  16. package/friend/result/UpdateProfileByStampSheetResult.ts +47 -0
  17. package/friend/result/index.d.ts +2 -1
  18. package/friend/result/index.js +4 -2
  19. package/friend/result/index.js.map +1 -1
  20. package/friend/result/index.ts +2 -0
  21. package/log/model/InGameLog.d.ts +32 -0
  22. package/log/model/InGameLog.js +119 -0
  23. package/log/model/InGameLog.js.map +1 -0
  24. package/log/model/InGameLog.ts +121 -0
  25. package/log/model/InGameLogTag.d.ts +17 -0
  26. package/log/model/InGameLogTag.js +62 -0
  27. package/log/model/InGameLogTag.js.map +1 -0
  28. package/log/model/InGameLogTag.ts +60 -0
  29. package/log/model/index.d.ts +3 -1
  30. package/log/model/index.js +5 -1
  31. package/log/model/index.js.map +1 -1
  32. package/log/model/index.ts +4 -0
  33. package/log/request/QueryInGameLogRequest.d.ts +58 -0
  34. package/log/request/QueryInGameLogRequest.js +201 -0
  35. package/log/request/QueryInGameLogRequest.js.map +1 -0
  36. package/log/request/QueryInGameLogRequest.ts +211 -0
  37. package/log/request/SendInGameLogByUserIdRequest.d.ts +42 -0
  38. package/log/request/SendInGameLogByUserIdRequest.js +145 -0
  39. package/log/request/SendInGameLogByUserIdRequest.js.map +1 -0
  40. package/log/request/SendInGameLogByUserIdRequest.ts +155 -0
  41. package/log/request/SendInGameLogRequest.d.ts +38 -0
  42. package/log/request/SendInGameLogRequest.js +131 -0
  43. package/log/request/SendInGameLogRequest.js.map +1 -0
  44. package/log/request/SendInGameLogRequest.ts +141 -0
  45. package/log/request/index.d.ts +4 -1
  46. package/log/request/index.js +7 -1
  47. package/log/request/index.js.map +1 -1
  48. package/log/request/index.ts +6 -0
  49. package/log/rest.d.ts +3 -0
  50. package/log/rest.js +108 -0
  51. package/log/rest.js.map +1 -1
  52. package/log/rest.ts +120 -0
  53. package/log/result/QueryInGameLogResult.d.ts +26 -0
  54. package/log/result/QueryInGameLogResult.js +95 -0
  55. package/log/result/QueryInGameLogResult.js.map +1 -0
  56. package/log/result/QueryInGameLogResult.ts +106 -0
  57. package/log/result/SendInGameLogByUserIdResult.d.ts +14 -0
  58. package/log/result/SendInGameLogByUserIdResult.js +48 -0
  59. package/log/result/SendInGameLogByUserIdResult.js.map +1 -0
  60. package/log/result/SendInGameLogByUserIdResult.ts +47 -0
  61. package/log/result/SendInGameLogResult.d.ts +14 -0
  62. package/log/result/SendInGameLogResult.js +48 -0
  63. package/log/result/SendInGameLogResult.js.map +1 -0
  64. package/log/result/SendInGameLogResult.ts +47 -0
  65. package/log/result/index.d.ts +4 -1
  66. package/log/result/index.js +7 -1
  67. package/log/result/index.js.map +1 -1
  68. package/log/result/index.ts +6 -0
  69. package/package.json +1 -1
@@ -0,0 +1,32 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ import InGameLogTag from './InGameLogTag';
3
+ export default class InGameLog implements IModel {
4
+ private timestamp;
5
+ private requestId;
6
+ private userId;
7
+ private tags;
8
+ private payload;
9
+ static isValid(grn: string): boolean;
10
+ static createGrn(): string | null;
11
+ getTimestamp(): number | null;
12
+ setTimestamp(timestamp: number | null): this;
13
+ withTimestamp(timestamp: number | null): this;
14
+ getRequestId(): string | null;
15
+ setRequestId(requestId: string | null): this;
16
+ withRequestId(requestId: string | null): this;
17
+ getUserId(): string | null;
18
+ setUserId(userId: string | null): this;
19
+ withUserId(userId: string | null): this;
20
+ getTags(): InGameLogTag[] | null;
21
+ setTags(tags: InGameLogTag[] | null): this;
22
+ withTags(tags: InGameLogTag[] | null): this;
23
+ getPayload(): string | null;
24
+ setPayload(payload: string | null): this;
25
+ withPayload(payload: string | null): this;
26
+ static fromDict(data: {
27
+ [key: string]: any;
28
+ }): InGameLog | null;
29
+ toDict(): {
30
+ [key: string]: any;
31
+ };
32
+ }
@@ -0,0 +1,119 @@
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
+ var tslib_1 = require("tslib");
19
+ var InGameLogTag_1 = tslib_1.__importDefault(require("./InGameLogTag"));
20
+ var grnFormat = "";
21
+ var InGameLog = /** @class */ (function () {
22
+ function InGameLog() {
23
+ this.timestamp = null;
24
+ this.requestId = null;
25
+ this.userId = null;
26
+ this.tags = null;
27
+ this.payload = null;
28
+ }
29
+ InGameLog.isValid = function (grn) {
30
+ return true;
31
+ };
32
+ InGameLog.createGrn = function () {
33
+ return grnFormat;
34
+ };
35
+ InGameLog.prototype.getTimestamp = function () {
36
+ return this.timestamp;
37
+ };
38
+ InGameLog.prototype.setTimestamp = function (timestamp) {
39
+ this.timestamp = timestamp;
40
+ return this;
41
+ };
42
+ InGameLog.prototype.withTimestamp = function (timestamp) {
43
+ this.timestamp = timestamp;
44
+ return this;
45
+ };
46
+ InGameLog.prototype.getRequestId = function () {
47
+ return this.requestId;
48
+ };
49
+ InGameLog.prototype.setRequestId = function (requestId) {
50
+ this.requestId = requestId;
51
+ return this;
52
+ };
53
+ InGameLog.prototype.withRequestId = function (requestId) {
54
+ this.requestId = requestId;
55
+ return this;
56
+ };
57
+ InGameLog.prototype.getUserId = function () {
58
+ return this.userId;
59
+ };
60
+ InGameLog.prototype.setUserId = function (userId) {
61
+ this.userId = userId;
62
+ return this;
63
+ };
64
+ InGameLog.prototype.withUserId = function (userId) {
65
+ this.userId = userId;
66
+ return this;
67
+ };
68
+ InGameLog.prototype.getTags = function () {
69
+ return this.tags;
70
+ };
71
+ InGameLog.prototype.setTags = function (tags) {
72
+ this.tags = tags;
73
+ return this;
74
+ };
75
+ InGameLog.prototype.withTags = function (tags) {
76
+ this.tags = tags;
77
+ return this;
78
+ };
79
+ InGameLog.prototype.getPayload = function () {
80
+ return this.payload;
81
+ };
82
+ InGameLog.prototype.setPayload = function (payload) {
83
+ this.payload = payload;
84
+ return this;
85
+ };
86
+ InGameLog.prototype.withPayload = function (payload) {
87
+ this.payload = payload;
88
+ return this;
89
+ };
90
+ InGameLog.fromDict = function (data) {
91
+ if (data == undefined || data == null) {
92
+ return null;
93
+ }
94
+ return new InGameLog()
95
+ .withTimestamp(data["timestamp"])
96
+ .withRequestId(data["requestId"])
97
+ .withUserId(data["userId"])
98
+ .withTags(data.tags ?
99
+ data.tags.map(function (item) {
100
+ return InGameLogTag_1.default.fromDict(item);
101
+ }) : [])
102
+ .withPayload(data["payload"]);
103
+ };
104
+ InGameLog.prototype.toDict = function () {
105
+ return {
106
+ "timestamp": this.getTimestamp(),
107
+ "requestId": this.getRequestId(),
108
+ "userId": this.getUserId(),
109
+ "tags": this.getTags() ?
110
+ this.getTags().map(function (item) {
111
+ return item.toDict();
112
+ }) : [],
113
+ "payload": this.getPayload(),
114
+ };
115
+ };
116
+ return InGameLog;
117
+ }());
118
+ exports.default = InGameLog;
119
+ //# sourceMappingURL=InGameLog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InGameLog.js","sourceRoot":"","sources":["InGameLog.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,121 @@
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 IModel from '../../core/interface/IModel';
18
+ import InGameLogTag from './InGameLogTag';
19
+ const grnFormat: string = "";
20
+
21
+ export default class InGameLog implements IModel {
22
+ private timestamp: number|null = null;
23
+ private requestId: string|null = null;
24
+ private userId: string|null = null;
25
+ private tags: InGameLogTag[]|null = null;
26
+ private payload: string|null = null;
27
+
28
+ public static isValid(grn: string): boolean {
29
+ return true;
30
+ }
31
+
32
+ public static createGrn(
33
+ ): string|null {
34
+ return grnFormat;
35
+ }
36
+ public getTimestamp(): number|null {
37
+ return this.timestamp;
38
+ }
39
+ public setTimestamp(timestamp: number|null) {
40
+ this.timestamp = timestamp;
41
+ return this;
42
+ }
43
+ public withTimestamp(timestamp: number|null): this {
44
+ this.timestamp = timestamp;
45
+ return this;
46
+ }
47
+ public getRequestId(): string|null {
48
+ return this.requestId;
49
+ }
50
+ public setRequestId(requestId: string|null) {
51
+ this.requestId = requestId;
52
+ return this;
53
+ }
54
+ public withRequestId(requestId: string|null): this {
55
+ this.requestId = requestId;
56
+ return this;
57
+ }
58
+ public getUserId(): string|null {
59
+ return this.userId;
60
+ }
61
+ public setUserId(userId: string|null) {
62
+ this.userId = userId;
63
+ return this;
64
+ }
65
+ public withUserId(userId: string|null): this {
66
+ this.userId = userId;
67
+ return this;
68
+ }
69
+ public getTags(): InGameLogTag[]|null {
70
+ return this.tags;
71
+ }
72
+ public setTags(tags: InGameLogTag[]|null) {
73
+ this.tags = tags;
74
+ return this;
75
+ }
76
+ public withTags(tags: InGameLogTag[]|null): this {
77
+ this.tags = tags;
78
+ return this;
79
+ }
80
+ public getPayload(): string|null {
81
+ return this.payload;
82
+ }
83
+ public setPayload(payload: string|null) {
84
+ this.payload = payload;
85
+ return this;
86
+ }
87
+ public withPayload(payload: string|null): this {
88
+ this.payload = payload;
89
+ return this;
90
+ }
91
+
92
+ public static fromDict(data: {[key: string]: any}): InGameLog|null {
93
+ if (data == undefined || data == null) {
94
+ return null;
95
+ }
96
+ return new InGameLog()
97
+ .withTimestamp(data["timestamp"])
98
+ .withRequestId(data["requestId"])
99
+ .withUserId(data["userId"])
100
+ .withTags(data.tags ?
101
+ data.tags.map((item: {[key: string]: any}) => {
102
+ return InGameLogTag.fromDict(item);
103
+ }
104
+ ) : [])
105
+ .withPayload(data["payload"]);
106
+ }
107
+
108
+ public toDict(): {[key: string]: any} {
109
+ return {
110
+ "timestamp": this.getTimestamp(),
111
+ "requestId": this.getRequestId(),
112
+ "userId": this.getUserId(),
113
+ "tags": this.getTags() ?
114
+ this.getTags()!.map((item: InGameLogTag) => {
115
+ return item.toDict();
116
+ }
117
+ ) : [],
118
+ "payload": this.getPayload(),
119
+ };
120
+ }
121
+ }
@@ -0,0 +1,17 @@
1
+ import IModel from '../../core/interface/IModel';
2
+ export default class InGameLogTag implements IModel {
3
+ private key;
4
+ private value;
5
+ getKey(): string | null;
6
+ setKey(key: string | null): this;
7
+ withKey(key: string | null): this;
8
+ getValue(): string | null;
9
+ setValue(value: string | null): this;
10
+ withValue(value: string | null): this;
11
+ static fromDict(data: {
12
+ [key: string]: any;
13
+ }): InGameLogTag | null;
14
+ toDict(): {
15
+ [key: string]: any;
16
+ };
17
+ }
@@ -0,0 +1,62 @@
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
+ var InGameLogTag = /** @class */ (function () {
19
+ function InGameLogTag() {
20
+ this.key = null;
21
+ this.value = null;
22
+ }
23
+ InGameLogTag.prototype.getKey = function () {
24
+ return this.key;
25
+ };
26
+ InGameLogTag.prototype.setKey = function (key) {
27
+ this.key = key;
28
+ return this;
29
+ };
30
+ InGameLogTag.prototype.withKey = function (key) {
31
+ this.key = key;
32
+ return this;
33
+ };
34
+ InGameLogTag.prototype.getValue = function () {
35
+ return this.value;
36
+ };
37
+ InGameLogTag.prototype.setValue = function (value) {
38
+ this.value = value;
39
+ return this;
40
+ };
41
+ InGameLogTag.prototype.withValue = function (value) {
42
+ this.value = value;
43
+ return this;
44
+ };
45
+ InGameLogTag.fromDict = function (data) {
46
+ if (data == undefined || data == null) {
47
+ return null;
48
+ }
49
+ return new InGameLogTag()
50
+ .withKey(data["key"])
51
+ .withValue(data["value"]);
52
+ };
53
+ InGameLogTag.prototype.toDict = function () {
54
+ return {
55
+ "key": this.getKey(),
56
+ "value": this.getValue(),
57
+ };
58
+ };
59
+ return InGameLogTag;
60
+ }());
61
+ exports.default = InGameLogTag;
62
+ //# sourceMappingURL=InGameLogTag.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InGameLogTag.js","sourceRoot":"","sources":["InGameLogTag.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,UAAK,GAAgB,IAAI,CAAC;IAuCtC,CAAC;IAtCU,6BAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,6BAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8BAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+BAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,+BAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gCAAS,GAAhB,UAAiB,KAAkB;QAC/B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,YAAY,EAAE;aACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,6BAAM,GAAb;QACI,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,mBAAC;AAAD,CAAC,AAzCD,IAyCC"}
@@ -0,0 +1,60 @@
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 IModel from '../../core/interface/IModel';
18
+
19
+ export default class InGameLogTag implements IModel {
20
+ private key: string|null = null;
21
+ private value: string|null = null;
22
+ public getKey(): string|null {
23
+ return this.key;
24
+ }
25
+ public setKey(key: string|null) {
26
+ this.key = key;
27
+ return this;
28
+ }
29
+ public withKey(key: string|null): this {
30
+ this.key = key;
31
+ return this;
32
+ }
33
+ public getValue(): string|null {
34
+ return this.value;
35
+ }
36
+ public setValue(value: string|null) {
37
+ this.value = value;
38
+ return this;
39
+ }
40
+ public withValue(value: string|null): this {
41
+ this.value = value;
42
+ return this;
43
+ }
44
+
45
+ public static fromDict(data: {[key: string]: any}): InGameLogTag|null {
46
+ if (data == undefined || data == null) {
47
+ return null;
48
+ }
49
+ return new InGameLogTag()
50
+ .withKey(data["key"])
51
+ .withValue(data["value"]);
52
+ }
53
+
54
+ public toDict(): {[key: string]: any} {
55
+ return {
56
+ "key": this.getKey(),
57
+ "value": this.getValue(),
58
+ };
59
+ }
60
+ }
@@ -7,6 +7,8 @@ import ExecuteStampSheetLog from "./ExecuteStampSheetLog";
7
7
  import ExecuteStampSheetLogCount from "./ExecuteStampSheetLogCount";
8
8
  import ExecuteStampTaskLog from "./ExecuteStampTaskLog";
9
9
  import ExecuteStampTaskLogCount from "./ExecuteStampTaskLogCount";
10
+ import InGameLog from "./InGameLog";
10
11
  import AccessLogWithTelemetry from "./AccessLogWithTelemetry";
11
12
  import Insight from "./Insight";
12
- export { Namespace, AccessLog, AccessLogCount, IssueStampSheetLog, IssueStampSheetLogCount, ExecuteStampSheetLog, ExecuteStampSheetLogCount, ExecuteStampTaskLog, ExecuteStampTaskLogCount, AccessLogWithTelemetry, Insight, };
13
+ import InGameLogTag from "./InGameLogTag";
14
+ export { Namespace, AccessLog, AccessLogCount, IssueStampSheetLog, IssueStampSheetLogCount, ExecuteStampSheetLog, ExecuteStampSheetLogCount, ExecuteStampTaskLog, ExecuteStampTaskLogCount, InGameLog, AccessLogWithTelemetry, Insight, InGameLogTag, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Insight = exports.AccessLogWithTelemetry = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.Namespace = void 0;
3
+ exports.InGameLogTag = exports.Insight = exports.AccessLogWithTelemetry = exports.InGameLog = exports.ExecuteStampTaskLogCount = exports.ExecuteStampTaskLog = exports.ExecuteStampSheetLogCount = exports.ExecuteStampSheetLog = exports.IssueStampSheetLogCount = exports.IssueStampSheetLog = exports.AccessLogCount = exports.AccessLog = exports.Namespace = void 0;
4
4
  var tslib_1 = require("tslib");
5
5
  /*
6
6
  Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
@@ -35,8 +35,12 @@ var ExecuteStampTaskLog_1 = tslib_1.__importDefault(require("./ExecuteStampTaskL
35
35
  exports.ExecuteStampTaskLog = ExecuteStampTaskLog_1.default;
36
36
  var ExecuteStampTaskLogCount_1 = tslib_1.__importDefault(require("./ExecuteStampTaskLogCount"));
37
37
  exports.ExecuteStampTaskLogCount = ExecuteStampTaskLogCount_1.default;
38
+ var InGameLog_1 = tslib_1.__importDefault(require("./InGameLog"));
39
+ exports.InGameLog = InGameLog_1.default;
38
40
  var AccessLogWithTelemetry_1 = tslib_1.__importDefault(require("./AccessLogWithTelemetry"));
39
41
  exports.AccessLogWithTelemetry = AccessLogWithTelemetry_1.default;
40
42
  var Insight_1 = tslib_1.__importDefault(require("./Insight"));
41
43
  exports.Insight = Insight_1.default;
44
+ var InGameLogTag_1 = tslib_1.__importDefault(require("./InGameLogTag"));
45
+ exports.InGameLogTag = InGameLogTag_1.default;
42
46
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAa/B,oBAbG,mBAAS,CAaH;AAZb,kEAAmC;AAa/B,oBAbG,mBAAS,CAaH;AAZb,4EAA6C;AAazC,yBAbG,wBAAc,CAaH;AAZlB,oFAAqD;AAajD,6BAbG,4BAAkB,CAaH;AAZtB,8FAA+D;AAa3D,kCAbG,iCAAuB,CAaH;AAZ3B,wFAAyD;AAarD,+BAbG,8BAAoB,CAaH;AAZxB,kGAAmE;AAa/D,oCAbG,mCAAyB,CAaH;AAZ7B,sFAAuD;AAanD,8BAbG,6BAAmB,CAaH;AAZvB,gGAAiE;AAa7D,mCAbG,kCAAwB,CAaH;AAZ5B,4FAA6D;AAazD,iCAbG,gCAAsB,CAaH;AAZ1B,8DAA+B;AAa3B,kBAbG,iBAAO,CAaH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAe/B,oBAfG,mBAAS,CAeH;AAdb,kEAAmC;AAe/B,oBAfG,mBAAS,CAeH;AAdb,4EAA6C;AAezC,yBAfG,wBAAc,CAeH;AAdlB,oFAAqD;AAejD,6BAfG,4BAAkB,CAeH;AAdtB,8FAA+D;AAe3D,kCAfG,iCAAuB,CAeH;AAd3B,wFAAyD;AAerD,+BAfG,8BAAoB,CAeH;AAdxB,kGAAmE;AAe/D,oCAfG,mCAAyB,CAeH;AAd7B,sFAAuD;AAenD,8BAfG,6BAAmB,CAeH;AAdvB,gGAAiE;AAe7D,mCAfG,kCAAwB,CAeH;AAd5B,kEAAmC;AAe/B,oBAfG,mBAAS,CAeH;AAdb,4FAA6D;AAezD,iCAfG,gCAAsB,CAeH;AAd1B,8DAA+B;AAe3B,kBAfG,iBAAO,CAeH;AAdX,wEAAyC;AAerC,uBAfG,sBAAY,CAeH"}
@@ -22,8 +22,10 @@ import ExecuteStampSheetLog from "./ExecuteStampSheetLog"
22
22
  import ExecuteStampSheetLogCount from "./ExecuteStampSheetLogCount"
23
23
  import ExecuteStampTaskLog from "./ExecuteStampTaskLog"
24
24
  import ExecuteStampTaskLogCount from "./ExecuteStampTaskLogCount"
25
+ import InGameLog from "./InGameLog"
25
26
  import AccessLogWithTelemetry from "./AccessLogWithTelemetry"
26
27
  import Insight from "./Insight"
28
+ import InGameLogTag from "./InGameLogTag"
27
29
 
28
30
  export {
29
31
  Namespace,
@@ -35,6 +37,8 @@ export {
35
37
  ExecuteStampSheetLogCount,
36
38
  ExecuteStampTaskLog,
37
39
  ExecuteStampTaskLogCount,
40
+ InGameLog,
38
41
  AccessLogWithTelemetry,
39
42
  Insight,
43
+ InGameLogTag,
40
44
  };
@@ -0,0 +1,58 @@
1
+ import IRequest from '../../core/interface/IRequest';
2
+ import * as Gs2Log from '../model';
3
+ export default class QueryInGameLogRequest implements IRequest {
4
+ private requestId;
5
+ private contextStack;
6
+ private namespaceName;
7
+ private userId;
8
+ private tags;
9
+ private begin;
10
+ private end;
11
+ private longTerm;
12
+ private pageToken;
13
+ private limit;
14
+ private timeOffsetToken;
15
+ private duplicationAvoider;
16
+ getRequestId(): string | null;
17
+ setRequestId(requestId: string | null): this;
18
+ withRequestId(requestId: string | null): this;
19
+ getContextStack(): string | null;
20
+ setContextStack(contextStack: string | null): this;
21
+ withContextStack(contextStack: string | null): this;
22
+ getNamespaceName(): string | null;
23
+ setNamespaceName(namespaceName: string | null): this;
24
+ withNamespaceName(namespaceName: string | null): this;
25
+ getUserId(): string | null;
26
+ setUserId(userId: string | null): this;
27
+ withUserId(userId: string | null): this;
28
+ getTags(): Gs2Log.InGameLogTag[] | null;
29
+ setTags(tags: Gs2Log.InGameLogTag[] | null): this;
30
+ withTags(tags: Gs2Log.InGameLogTag[] | null): this;
31
+ getBegin(): number | null;
32
+ setBegin(begin: number | null): this;
33
+ withBegin(begin: number | null): this;
34
+ getEnd(): number | null;
35
+ setEnd(end: number | null): this;
36
+ withEnd(end: number | null): this;
37
+ getLongTerm(): boolean | null;
38
+ setLongTerm(longTerm: boolean | null): this;
39
+ withLongTerm(longTerm: boolean | null): this;
40
+ getPageToken(): string | null;
41
+ setPageToken(pageToken: string | null): this;
42
+ withPageToken(pageToken: string | null): this;
43
+ getLimit(): number | null;
44
+ setLimit(limit: number | null): this;
45
+ withLimit(limit: number | null): this;
46
+ getTimeOffsetToken(): string | null;
47
+ setTimeOffsetToken(timeOffsetToken: string | null): this;
48
+ withTimeOffsetToken(timeOffsetToken: string | null): this;
49
+ getDuplicationAvoider(): string | null;
50
+ setDuplicationAvoider(duplicationAvoider: string | null): this;
51
+ withDuplicationAvoider(duplicationAvoider: string | null): this;
52
+ static fromDict(data: {
53
+ [key: string]: any;
54
+ }): QueryInGameLogRequest;
55
+ toDict(): {
56
+ [key: string]: any;
57
+ };
58
+ }