gs2 1.4.147 → 1.4.148
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/friend/request/VerifyFollowByStampTaskRequest.d.ts +25 -0
- package/friend/request/VerifyFollowByStampTaskRequest.js +83 -0
- package/friend/request/VerifyFollowByStampTaskRequest.js.map +1 -0
- package/friend/request/VerifyFollowByUserIdRequest.d.ts +41 -0
- package/friend/request/VerifyFollowByUserIdRequest.js +137 -0
- package/friend/request/VerifyFollowByUserIdRequest.js.map +1 -0
- package/friend/request/VerifyFollowRequest.d.ts +37 -0
- package/friend/request/VerifyFollowRequest.js +123 -0
- package/friend/request/VerifyFollowRequest.js.map +1 -0
- package/friend/request/VerifyFriendByStampTaskRequest.d.ts +25 -0
- package/friend/request/VerifyFriendByStampTaskRequest.js +83 -0
- package/friend/request/VerifyFriendByStampTaskRequest.js.map +1 -0
- package/friend/request/VerifyFriendByUserIdRequest.d.ts +41 -0
- package/friend/request/VerifyFriendByUserIdRequest.js +137 -0
- package/friend/request/VerifyFriendByUserIdRequest.js.map +1 -0
- package/friend/request/VerifyFriendCountByStampTaskRequest.d.ts +25 -0
- package/friend/request/VerifyFriendCountByStampTaskRequest.js +83 -0
- package/friend/request/VerifyFriendCountByStampTaskRequest.js.map +1 -0
- package/friend/request/VerifyFriendCountByUserIdRequest.d.ts +41 -0
- package/friend/request/VerifyFriendCountByUserIdRequest.js +137 -0
- package/friend/request/VerifyFriendCountByUserIdRequest.js.map +1 -0
- package/friend/request/VerifyFriendCountRequest.d.ts +37 -0
- package/friend/request/VerifyFriendCountRequest.js +123 -0
- package/friend/request/VerifyFriendCountRequest.js.map +1 -0
- package/friend/request/VerifyFriendRequest.d.ts +37 -0
- package/friend/request/VerifyFriendRequest.js +123 -0
- package/friend/request/VerifyFriendRequest.js.map +1 -0
- package/friend/request/index.d.ts +10 -1
- package/friend/request/index.js +20 -2
- package/friend/request/index.js.map +1 -1
- package/friend/rest.d.ts +9 -0
- package/friend/rest.js +207 -0
- package/friend/rest.js.map +1 -1
- package/friend/result/VerifyFollowByStampTaskResult.d.ts +13 -0
- package/friend/result/VerifyFollowByStampTaskResult.js +45 -0
- package/friend/result/VerifyFollowByStampTaskResult.js.map +1 -0
- package/friend/result/VerifyFollowByUserIdResult.d.ts +9 -0
- package/friend/result/VerifyFollowByUserIdResult.js +30 -0
- package/friend/result/VerifyFollowByUserIdResult.js.map +1 -0
- package/friend/result/VerifyFollowResult.d.ts +9 -0
- package/friend/result/VerifyFollowResult.js +30 -0
- package/friend/result/VerifyFollowResult.js.map +1 -0
- package/friend/result/VerifyFriendByStampTaskResult.d.ts +13 -0
- package/friend/result/VerifyFriendByStampTaskResult.js +45 -0
- package/friend/result/VerifyFriendByStampTaskResult.js.map +1 -0
- package/friend/result/VerifyFriendByUserIdResult.d.ts +9 -0
- package/friend/result/VerifyFriendByUserIdResult.js +30 -0
- package/friend/result/VerifyFriendByUserIdResult.js.map +1 -0
- package/friend/result/VerifyFriendCountByStampTaskResult.d.ts +13 -0
- package/friend/result/VerifyFriendCountByStampTaskResult.js +45 -0
- package/friend/result/VerifyFriendCountByStampTaskResult.js.map +1 -0
- package/friend/result/VerifyFriendCountByUserIdResult.d.ts +9 -0
- package/friend/result/VerifyFriendCountByUserIdResult.js +30 -0
- package/friend/result/VerifyFriendCountByUserIdResult.js.map +1 -0
- package/friend/result/VerifyFriendCountResult.d.ts +9 -0
- package/friend/result/VerifyFriendCountResult.js +30 -0
- package/friend/result/VerifyFriendCountResult.js.map +1 -0
- package/friend/result/VerifyFriendResult.d.ts +9 -0
- package/friend/result/VerifyFriendResult.js +30 -0
- package/friend/result/VerifyFriendResult.js.map +1 -0
- package/friend/result/index.d.ts +10 -1
- package/friend/result/index.js +20 -2
- package/friend/result/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyFollowByStampTaskRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private stampTask;
|
|
6
|
+
private keyId;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getStampTask(): string | null;
|
|
14
|
+
setStampTask(stampTask: string | null): this;
|
|
15
|
+
withStampTask(stampTask: string | null): this;
|
|
16
|
+
getKeyId(): string | null;
|
|
17
|
+
setKeyId(keyId: string | null): this;
|
|
18
|
+
withKeyId(keyId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): VerifyFollowByStampTaskRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 VerifyFollowByStampTaskRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyFollowByStampTaskRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampTask = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
VerifyFollowByStampTaskRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
VerifyFollowByStampTaskRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
VerifyFollowByStampTaskRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyFollowByStampTaskRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
VerifyFollowByStampTaskRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
VerifyFollowByStampTaskRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyFollowByStampTaskRequest.prototype.getStampTask = function () {
|
|
48
|
+
return this.stampTask;
|
|
49
|
+
};
|
|
50
|
+
VerifyFollowByStampTaskRequest.prototype.setStampTask = function (stampTask) {
|
|
51
|
+
this.stampTask = stampTask;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
VerifyFollowByStampTaskRequest.prototype.withStampTask = function (stampTask) {
|
|
55
|
+
this.stampTask = stampTask;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyFollowByStampTaskRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
VerifyFollowByStampTaskRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
VerifyFollowByStampTaskRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyFollowByStampTaskRequest.fromDict = function (data) {
|
|
70
|
+
return new VerifyFollowByStampTaskRequest()
|
|
71
|
+
.withStampTask(data["stampTask"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
VerifyFollowByStampTaskRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampTask": this.getStampTask(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return VerifyFollowByStampTaskRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = VerifyFollowByStampTaskRequest;
|
|
83
|
+
//# sourceMappingURL=VerifyFollowByStampTaskRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyFollowByStampTaskRequest.js","sourceRoot":"","sources":["../../../src/friend/request/VerifyFollowByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,UAAK,GAAgB,IAAI,CAAC;IAgEtC,CAAC;IA9DU,qDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,qDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC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../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyFollowByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private targetUserId;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getTargetUserId(): string | null;
|
|
24
|
+
setTargetUserId(targetUserId: string | null): this;
|
|
25
|
+
withTargetUserId(targetUserId: string | null): this;
|
|
26
|
+
getVerifyType(): string | null;
|
|
27
|
+
setVerifyType(verifyType: string | null): this;
|
|
28
|
+
withVerifyType(verifyType: string | null): this;
|
|
29
|
+
getTimeOffsetToken(): string | null;
|
|
30
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
31
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): VerifyFollowByUserIdRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
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 VerifyFollowByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyFollowByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.targetUserId = null;
|
|
25
|
+
this.verifyType = null;
|
|
26
|
+
this.timeOffsetToken = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
VerifyFollowByUserIdRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
VerifyFollowByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyFollowByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
VerifyFollowByUserIdRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
VerifyFollowByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyFollowByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
VerifyFollowByUserIdRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
VerifyFollowByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyFollowByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
VerifyFollowByUserIdRequest.prototype.getUserId = function () {
|
|
63
|
+
return this.userId;
|
|
64
|
+
};
|
|
65
|
+
VerifyFollowByUserIdRequest.prototype.setUserId = function (userId) {
|
|
66
|
+
this.userId = userId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyFollowByUserIdRequest.prototype.withUserId = function (userId) {
|
|
70
|
+
this.userId = userId;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
VerifyFollowByUserIdRequest.prototype.getTargetUserId = function () {
|
|
74
|
+
return this.targetUserId;
|
|
75
|
+
};
|
|
76
|
+
VerifyFollowByUserIdRequest.prototype.setTargetUserId = function (targetUserId) {
|
|
77
|
+
this.targetUserId = targetUserId;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
VerifyFollowByUserIdRequest.prototype.withTargetUserId = function (targetUserId) {
|
|
81
|
+
this.targetUserId = targetUserId;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
VerifyFollowByUserIdRequest.prototype.getVerifyType = function () {
|
|
85
|
+
return this.verifyType;
|
|
86
|
+
};
|
|
87
|
+
VerifyFollowByUserIdRequest.prototype.setVerifyType = function (verifyType) {
|
|
88
|
+
this.verifyType = verifyType;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
VerifyFollowByUserIdRequest.prototype.withVerifyType = function (verifyType) {
|
|
92
|
+
this.verifyType = verifyType;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
VerifyFollowByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
96
|
+
return this.timeOffsetToken;
|
|
97
|
+
};
|
|
98
|
+
VerifyFollowByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
VerifyFollowByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
103
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
VerifyFollowByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
107
|
+
return this.duplicationAvoider;
|
|
108
|
+
};
|
|
109
|
+
VerifyFollowByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
VerifyFollowByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
114
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
VerifyFollowByUserIdRequest.fromDict = function (data) {
|
|
118
|
+
return new VerifyFollowByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withTargetUserId(data["targetUserId"])
|
|
122
|
+
.withVerifyType(data["verifyType"])
|
|
123
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
124
|
+
};
|
|
125
|
+
VerifyFollowByUserIdRequest.prototype.toDict = function () {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"targetUserId": this.getTargetUserId(),
|
|
130
|
+
"verifyType": this.getVerifyType(),
|
|
131
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
return VerifyFollowByUserIdRequest;
|
|
135
|
+
}());
|
|
136
|
+
exports.default = VerifyFollowByUserIdRequest;
|
|
137
|
+
//# sourceMappingURL=VerifyFollowByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyFollowByUserIdRequest.js","sourceRoot":"","sources":["../../../src/friend/request/VerifyFollowByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,iBAAY,GAAgB,IAAI,CAAC;QACjC,eAAU,GAAgB,IAAI,CAAC;QAC/B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,kDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,kDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,qDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,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AY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,kCAAC;AAAD,CAAC,AA9HD,IA8HC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyFollowRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private targetUserId;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getAccessToken(): string | null;
|
|
20
|
+
setAccessToken(accessToken: string | null): this;
|
|
21
|
+
withAccessToken(accessToken: string | null): this;
|
|
22
|
+
getTargetUserId(): string | null;
|
|
23
|
+
setTargetUserId(targetUserId: string | null): this;
|
|
24
|
+
withTargetUserId(targetUserId: string | null): this;
|
|
25
|
+
getVerifyType(): string | null;
|
|
26
|
+
setVerifyType(verifyType: string | null): this;
|
|
27
|
+
withVerifyType(verifyType: string | null): this;
|
|
28
|
+
getDuplicationAvoider(): string | null;
|
|
29
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
30
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): VerifyFollowRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 VerifyFollowRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyFollowRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.targetUserId = null;
|
|
25
|
+
this.verifyType = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
VerifyFollowRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
VerifyFollowRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
VerifyFollowRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
VerifyFollowRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
VerifyFollowRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
VerifyFollowRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
VerifyFollowRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
VerifyFollowRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
VerifyFollowRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
VerifyFollowRequest.prototype.getAccessToken = function () {
|
|
62
|
+
return this.accessToken;
|
|
63
|
+
};
|
|
64
|
+
VerifyFollowRequest.prototype.setAccessToken = function (accessToken) {
|
|
65
|
+
this.accessToken = accessToken;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
VerifyFollowRequest.prototype.withAccessToken = function (accessToken) {
|
|
69
|
+
this.accessToken = accessToken;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
VerifyFollowRequest.prototype.getTargetUserId = function () {
|
|
73
|
+
return this.targetUserId;
|
|
74
|
+
};
|
|
75
|
+
VerifyFollowRequest.prototype.setTargetUserId = function (targetUserId) {
|
|
76
|
+
this.targetUserId = targetUserId;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
VerifyFollowRequest.prototype.withTargetUserId = function (targetUserId) {
|
|
80
|
+
this.targetUserId = targetUserId;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
VerifyFollowRequest.prototype.getVerifyType = function () {
|
|
84
|
+
return this.verifyType;
|
|
85
|
+
};
|
|
86
|
+
VerifyFollowRequest.prototype.setVerifyType = function (verifyType) {
|
|
87
|
+
this.verifyType = verifyType;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
VerifyFollowRequest.prototype.withVerifyType = function (verifyType) {
|
|
91
|
+
this.verifyType = verifyType;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
VerifyFollowRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
VerifyFollowRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
VerifyFollowRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
VerifyFollowRequest.fromDict = function (data) {
|
|
106
|
+
return new VerifyFollowRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withAccessToken(data["accessToken"])
|
|
109
|
+
.withTargetUserId(data["targetUserId"])
|
|
110
|
+
.withVerifyType(data["verifyType"]);
|
|
111
|
+
};
|
|
112
|
+
VerifyFollowRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
"targetUserId": this.getTargetUserId(),
|
|
117
|
+
"verifyType": this.getVerifyType(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return VerifyFollowRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = VerifyFollowRequest;
|
|
123
|
+
//# sourceMappingURL=VerifyFollowRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyFollowRequest.js","sourceRoot":"","sources":["../../../src/friend/request/VerifyFollowRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBA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AAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;IAC5C,CAAC;IAEM,oCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;SACrC,CAAC;IACN,CAAC;IACL,0BAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyFriendByStampTaskRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private stampTask;
|
|
6
|
+
private keyId;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getStampTask(): string | null;
|
|
14
|
+
setStampTask(stampTask: string | null): this;
|
|
15
|
+
withStampTask(stampTask: string | null): this;
|
|
16
|
+
getKeyId(): string | null;
|
|
17
|
+
setKeyId(keyId: string | null): this;
|
|
18
|
+
withKeyId(keyId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): VerifyFriendByStampTaskRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 VerifyFriendByStampTaskRequest = /** @class */ (function () {
|
|
19
|
+
function VerifyFriendByStampTaskRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.stampTask = null;
|
|
23
|
+
this.keyId = null;
|
|
24
|
+
}
|
|
25
|
+
VerifyFriendByStampTaskRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
VerifyFriendByStampTaskRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
VerifyFriendByStampTaskRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyFriendByStampTaskRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
VerifyFriendByStampTaskRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
VerifyFriendByStampTaskRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyFriendByStampTaskRequest.prototype.getStampTask = function () {
|
|
48
|
+
return this.stampTask;
|
|
49
|
+
};
|
|
50
|
+
VerifyFriendByStampTaskRequest.prototype.setStampTask = function (stampTask) {
|
|
51
|
+
this.stampTask = stampTask;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
VerifyFriendByStampTaskRequest.prototype.withStampTask = function (stampTask) {
|
|
55
|
+
this.stampTask = stampTask;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyFriendByStampTaskRequest.prototype.getKeyId = function () {
|
|
59
|
+
return this.keyId;
|
|
60
|
+
};
|
|
61
|
+
VerifyFriendByStampTaskRequest.prototype.setKeyId = function (keyId) {
|
|
62
|
+
this.keyId = keyId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
VerifyFriendByStampTaskRequest.prototype.withKeyId = function (keyId) {
|
|
66
|
+
this.keyId = keyId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyFriendByStampTaskRequest.fromDict = function (data) {
|
|
70
|
+
return new VerifyFriendByStampTaskRequest()
|
|
71
|
+
.withStampTask(data["stampTask"])
|
|
72
|
+
.withKeyId(data["keyId"]);
|
|
73
|
+
};
|
|
74
|
+
VerifyFriendByStampTaskRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"stampTask": this.getStampTask(),
|
|
77
|
+
"keyId": this.getKeyId(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return VerifyFriendByStampTaskRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = VerifyFriendByStampTaskRequest;
|
|
83
|
+
//# sourceMappingURL=VerifyFriendByStampTaskRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyFriendByStampTaskRequest.js","sourceRoot":"","sources":["../../../src/friend/request/VerifyFriendByStampTaskRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI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,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,uCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,8BAA8B,EAAE;aACtC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;IAClC,CAAC;IAEM,+CAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;SAC3B,CAAC;IACN,CAAC;IACL,qCAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class VerifyFriendByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private targetUserId;
|
|
8
|
+
private verifyType;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getTargetUserId(): string | null;
|
|
24
|
+
setTargetUserId(targetUserId: string | null): this;
|
|
25
|
+
withTargetUserId(targetUserId: string | null): this;
|
|
26
|
+
getVerifyType(): string | null;
|
|
27
|
+
setVerifyType(verifyType: string | null): this;
|
|
28
|
+
withVerifyType(verifyType: string | null): this;
|
|
29
|
+
getTimeOffsetToken(): string | null;
|
|
30
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
31
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): VerifyFriendByUserIdRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|