@xmobitea/gn-typescript-client 1.0.7 → 2.0.0
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/GNServerSettingsConfig.debug.json +5 -5
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.d.ts +124 -184
- package/dist/index.js +1 -1
- package/dist/runtime/GNNetwork.d.ts +35 -93
- package/dist/runtime/GNNetworkAuthenticateApi.d.ts +27 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +156 -0
- package/dist/runtime/GNNetworkContentApi.d.ts +33 -0
- package/dist/runtime/GNNetworkDashboardApi.d.ts +30 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +153 -0
- package/dist/runtime/GNNetworkGroupApi.d.ts +120 -0
- package/dist/runtime/GNNetworkInventoryApi.d.ts +108 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +217 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +39 -0
- package/dist/runtime/config/GNServerSettings.d.ts +12 -4
- package/dist/runtime/constant/Commands.d.ts +2 -1
- package/dist/runtime/constant/EventCode.d.ts +6 -4
- package/dist/runtime/constant/OperationCode.d.ts +169 -23
- package/dist/runtime/constant/ReturnCode.d.ts +2 -0
- package/dist/runtime/constant/enumType/FriendStatus.d.ts +1 -1
- package/dist/runtime/constant/enumType/GroupStatus.d.ts +6 -0
- package/dist/runtime/constant/enumType/ItemType.d.ts +4 -0
- package/dist/runtime/constant/enumType/OwnerType.d.ts +6 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +4 -0
- package/dist/runtime/constant/enumType/RequestRole.d.ts +5 -0
- package/dist/runtime/constant/enumType/RequestType.d.ts +12 -0
- package/dist/runtime/constant/enumType/StatisticsAggregationMethod.d.ts +6 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +39 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +375 -0
- package/dist/runtime/entity/DataMember.d.ts +1 -0
- package/dist/runtime/entity/GNMetadata.d.ts +1 -0
- package/dist/runtime/entity/InvalidMember.d.ts +2 -2
- package/dist/runtime/entity/OperationEvent.d.ts +1 -1
- package/dist/runtime/entity/OperationHelper.d.ts +4 -13
- package/dist/runtime/entity/OperationRequest.d.ts +2 -4
- package/dist/runtime/entity/OperationResponse.d.ts +1 -1
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +108 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +111 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +34 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +493 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +726 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +100 -0
- package/dist/runtime/entity/models/ContentModels.d.ts +90 -0
- package/dist/runtime/entity/models/ContentRequestModels.d.ts +111 -0
- package/dist/runtime/entity/models/ContentResponseModels.d.ts +18 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +545 -0
- package/dist/runtime/entity/models/DashboardRequestModels.d.ts +132 -0
- package/dist/runtime/entity/models/DashboardResponseModels.d.ts +40 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +531 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +711 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +98 -0
- package/dist/runtime/entity/models/GenericModels.d.ts +59 -0
- package/dist/runtime/entity/models/GroupModels.d.ts +387 -0
- package/dist/runtime/entity/models/GroupRequestModels.d.ts +546 -0
- package/dist/runtime/entity/models/GroupResponseModels.d.ts +76 -0
- package/dist/runtime/entity/models/InventoryModels.d.ts +331 -0
- package/dist/runtime/entity/models/InventoryRequestModels.d.ts +486 -0
- package/dist/runtime/entity/models/InventoryResponseModels.d.ts +68 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +767 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1033 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +142 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +187 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +141 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +22 -0
- package/dist/runtime/entity/request/CustomOperationRequest.d.ts +11 -2
- package/dist/runtime/entity/response/CustomOperationResponse.d.ts +6 -1
- package/dist/runtime/helper/CodeHelper.d.ts +3 -4
- package/dist/runtime/helper/ConverterService.d.ts +8 -10
- package/dist/runtime/networking/AuthenticateStatus.d.ts +11 -0
- package/dist/runtime/networking/IPeer.d.ts +4 -1
- package/dist/runtime/networking/NetworkingPeer.d.ts +8 -84
- package/dist/runtime/networking/OperationPending.d.ts +14 -1
- package/dist/runtime/networking/PeerBase.d.ts +5 -3
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +13 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +12 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +12 -0
- package/dist/runtime/networking/{HttpPeer.d.ts → http/HttpPeer.d.ts} +6 -11
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +11 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +13 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +25 -0
- package/dist/runtime/networking/{NetworkingPeerBase.d.ts → socket/NetworkingSocketPeerBase.d.ts} +9 -8
- package/dist/runtime/networking/{SocketPeer.d.ts → socket/SocketPeer.d.ts} +10 -10
- package/dist/runtime/typescript/ServiceUpdate.d.ts +6 -0
- package/package.json +1 -1
- package/dist/editor/GNServerSettingsEditor.d.ts +0 -2
- package/dist/runtime/constant/enumType/PlatformType.d.ts +0 -8
- package/dist/runtime/constant/errorCode/ChatErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/DebugErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/EnterDisplayNameErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/FetchAllDataErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/FetchSparkPlayerErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/FileUploadInfoErrorCode.d.ts +0 -5
- package/dist/runtime/constant/errorCode/FriendErrorCode.d.ts +0 -4
- package/dist/runtime/constant/errorCode/GetAppConfigErrorCode.d.ts +0 -3
- package/dist/runtime/constant/errorCode/LoginErrorCode.d.ts +0 -11
- package/dist/runtime/constant/errorCode/RegisterSocketErrorCode.d.ts +0 -3
- package/dist/runtime/constant/parameterCode/ChatParameterCode.d.ts +0 -22
- package/dist/runtime/constant/parameterCode/DebugParameterCode.d.ts +0 -7
- package/dist/runtime/constant/parameterCode/EnterDisplayNameParameterCode.d.ts +0 -4
- package/dist/runtime/constant/parameterCode/FetchAllDataParameterCode.d.ts +0 -7
- package/dist/runtime/constant/parameterCode/FetchSparkPlayerParameterCode.d.ts +0 -15
- package/dist/runtime/constant/parameterCode/FileUploadInfoParameterCode.d.ts +0 -11
- package/dist/runtime/constant/parameterCode/FriendParameterCode.d.ts +0 -12
- package/dist/runtime/constant/parameterCode/GetAppConfigParameterCode.d.ts +0 -4
- package/dist/runtime/constant/parameterCode/LoginParameterCode.d.ts +0 -18
- package/dist/runtime/constant/parameterCode/RegisterSocketParameterCode.d.ts +0 -3
- package/dist/runtime/entity/request/AddFriendOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/CreateNewFileUploadInfoOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/DebugOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/EditChatInfoChannelOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/EditChatMessageChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/EditChatMessageUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/EnterDisplayNameOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FetchAllDataOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FetchSparkPlayerOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/FindPlayerOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetAppConfigOperationRequest.d.ts +0 -7
- package/dist/runtime/entity/request/GetChatInfoChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMemberChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMessageChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetChatMessageUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetFileUploadInfoOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/GetFriendsOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/JoinChatChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/LeaveChatChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/LoginOperationRequest.d.ts +0 -33
- package/dist/runtime/entity/request/LogoutOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RegisterAccountOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RegisterSocketOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/RemoveFriendOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/SendChatToChannelOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/SendChatToUserOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/request/TemplateOperationRequest.d.ts +0 -6
- package/dist/runtime/entity/response/AddFriendOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/CreateNewFileUploadInfoOperationResponse.d.ts +0 -10
- package/dist/runtime/entity/response/DebugOperationResponse.d.ts +0 -11
- package/dist/runtime/entity/response/EditChatInfoChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EditChatMessageChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EditChatMessageUserOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/EnterDisplayNameOperationResponse.d.ts +0 -7
- package/dist/runtime/entity/response/FetchAllDataOperationResponse.d.ts +0 -10
- package/dist/runtime/entity/response/FetchSparkPlayerOperationResponse.d.ts +0 -20
- package/dist/runtime/entity/response/FindPlayerOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/GetAppConfigOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/GetChatInfoChannelOperationResponse.d.ts +0 -18
- package/dist/runtime/entity/response/GetChatMemberChannelOperationResponse.d.ts +0 -14
- package/dist/runtime/entity/response/GetChatMessageChannelOperationResponse.d.ts +0 -20
- package/dist/runtime/entity/response/GetChatMessageUserOperationResponse.d.ts +0 -17
- package/dist/runtime/entity/response/GetFileUploadInfoOperationResponse.d.ts +0 -15
- package/dist/runtime/entity/response/GetFriendsOperationResponse.d.ts +0 -13
- package/dist/runtime/entity/response/JoinChatChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/LeaveChatChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/LoginOperationResponse.d.ts +0 -9
- package/dist/runtime/entity/response/LogoutOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/PublicAddressGetRandomMessageOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/response/RegisterAccountOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/RegisterSocketOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/RemoveFriendOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/SendChatToChannelOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/SendChatToUserOperationResponse.d.ts +0 -5
- package/dist/runtime/entity/response/TemplateOperationResponse.d.ts +0 -6
- package/dist/runtime/entity/server/AvatarChannel.d.ts +0 -4
- package/dist/runtime/entity/server/ChatChannel.d.ts +0 -13
- package/dist/runtime/entity/server/ChatMessage.d.ts +0 -10
- package/dist/runtime/entity/server/ChatUser.d.ts +0 -5
- package/dist/runtime/entity/server/FriendItem.d.ts +0 -7
- package/dist/runtime/entity/server/UserChannel.d.ts +0 -4
- package/dist/runtime/networking/NetworkingPeerSocket.d.ts +0 -22
- package/dist/runtime/networking/handler/OnChannelChatEventHandler.d.ts +0 -6
- package/dist/runtime/networking/handler/OnDebugEventHander.d.ts +0 -6
- package/dist/runtime/networking/handler/OnFriendUpdateEventHandler.d.ts +0 -6
- package/dist/runtime/networking/handler/OnUserChatEventHandler.d.ts +0 -6
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "../response/CustomOperationResponse";
|
|
2
|
+
import { CharacterPlayerModels } from "./CharacterPlayerModels";
|
|
3
|
+
export declare module CharacterPlayerResponseModels {
|
|
4
|
+
class AddPlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
5
|
+
}
|
|
6
|
+
class AddSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
7
|
+
}
|
|
8
|
+
class GetAvatarOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
9
|
+
}
|
|
10
|
+
class GetCatalogIdOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
11
|
+
}
|
|
12
|
+
class GetCountryCodeOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
13
|
+
}
|
|
14
|
+
class GetCustomDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
15
|
+
}
|
|
16
|
+
class GetDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
17
|
+
}
|
|
18
|
+
class GetFriendStatisticsLeaderboardAroundPlayerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
19
|
+
}
|
|
20
|
+
class GetFriendStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
21
|
+
}
|
|
22
|
+
class GetIpAddressCreateOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
23
|
+
}
|
|
24
|
+
class GetOwnerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
25
|
+
}
|
|
26
|
+
class GetPlayerBanOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
27
|
+
}
|
|
28
|
+
class GetPlayerCurrencyOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
29
|
+
}
|
|
30
|
+
class GetPlayerDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
31
|
+
}
|
|
32
|
+
class GetPlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
33
|
+
}
|
|
34
|
+
class GetPlayerGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
35
|
+
}
|
|
36
|
+
class GetPlayerInformationOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
37
|
+
}
|
|
38
|
+
class GetPlayerInventoryOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
39
|
+
}
|
|
40
|
+
class GetPlayerStatisticsOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
41
|
+
}
|
|
42
|
+
class GetPlayersWithDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.MasterPlayersWithCharacterIdResponseData> {
|
|
43
|
+
}
|
|
44
|
+
class GetPlayersWithSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.MasterPlayersWithCharacterIdResponseData> {
|
|
45
|
+
}
|
|
46
|
+
class GetPlayersWithTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.MasterPlayersWithCharacterIdResponseData> {
|
|
47
|
+
}
|
|
48
|
+
class GetRemoveStatusOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
49
|
+
}
|
|
50
|
+
class GetSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
51
|
+
}
|
|
52
|
+
class GetStatisticsLeaderboardAroundPlayerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
53
|
+
}
|
|
54
|
+
class GetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.GetStatisticsLeaderboardResponseData> {
|
|
55
|
+
}
|
|
56
|
+
class GetTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
57
|
+
}
|
|
58
|
+
class GetTsCreateOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
59
|
+
}
|
|
60
|
+
class GetTsLastLoginOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
61
|
+
}
|
|
62
|
+
class GrantGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
63
|
+
}
|
|
64
|
+
class GrantPlayerItemOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
65
|
+
}
|
|
66
|
+
class JoinGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
67
|
+
}
|
|
68
|
+
class LeaveGroupOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
69
|
+
}
|
|
70
|
+
class RemovePlayerFriendOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
71
|
+
}
|
|
72
|
+
class RemovePlayerItemOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
73
|
+
}
|
|
74
|
+
class RemoveSegmentOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
75
|
+
}
|
|
76
|
+
class RemoveTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
77
|
+
}
|
|
78
|
+
class SetAvatarOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
79
|
+
}
|
|
80
|
+
class SetCountryCodeOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
81
|
+
}
|
|
82
|
+
class SetCustomDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
83
|
+
}
|
|
84
|
+
class SetDisplayNameOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
85
|
+
}
|
|
86
|
+
class SetOwnerOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
87
|
+
}
|
|
88
|
+
class SetPlayerBanOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
89
|
+
}
|
|
90
|
+
class SetPlayerCurrencyOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
91
|
+
}
|
|
92
|
+
class SetPlayerDataOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
93
|
+
}
|
|
94
|
+
class SetPlayerStatisticsOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.CharacterPlayerResponseData> {
|
|
95
|
+
}
|
|
96
|
+
class SetRemoveStatusOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
97
|
+
}
|
|
98
|
+
class SetTagOperationResponse extends CustomOperationResponseAbstract<CharacterPlayerModels.EmptyResponseData> {
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { GNHashtable } from "../../common/GNData";
|
|
2
|
+
import { GenericModels } from "./GenericModels";
|
|
3
|
+
export declare module ContentModels {
|
|
4
|
+
class ContentDataParam {
|
|
5
|
+
key: string;
|
|
6
|
+
data: GNHashtable;
|
|
7
|
+
}
|
|
8
|
+
class CreateNewFileUploadInfoRequestData {
|
|
9
|
+
fileName: string;
|
|
10
|
+
}
|
|
11
|
+
class ServerCreateNewFileUploadInfoRequestData extends CreateNewFileUploadInfoRequestData {
|
|
12
|
+
userId: string;
|
|
13
|
+
}
|
|
14
|
+
class AdminCreateNewFileUploadInfoRequestData extends ServerCreateNewFileUploadInfoRequestData {
|
|
15
|
+
}
|
|
16
|
+
class GetContentDataRequestData {
|
|
17
|
+
keys: Array<string>;
|
|
18
|
+
label?: string;
|
|
19
|
+
}
|
|
20
|
+
class ServerGetContentDataRequestData extends GetContentDataRequestData {
|
|
21
|
+
}
|
|
22
|
+
class AdminGetContentDataRequestData extends ServerGetContentDataRequestData {
|
|
23
|
+
}
|
|
24
|
+
class GetFileUploadInfoListRequestData {
|
|
25
|
+
fileId: string;
|
|
26
|
+
skip?: number;
|
|
27
|
+
limit?: number;
|
|
28
|
+
}
|
|
29
|
+
class ServerGetFileUploadInfoListRequestData extends GetFileUploadInfoListRequestData {
|
|
30
|
+
}
|
|
31
|
+
class AdminGetFileUploadInfoListRequestData extends ServerGetFileUploadInfoListRequestData {
|
|
32
|
+
}
|
|
33
|
+
class GetFileUploadInfoRequestData {
|
|
34
|
+
fileId: string;
|
|
35
|
+
}
|
|
36
|
+
class ServerGetFileUploadInfoRequestData extends GetFileUploadInfoRequestData {
|
|
37
|
+
}
|
|
38
|
+
class AdminGetFileUploadInfoRequestData extends ServerGetFileUploadInfoRequestData {
|
|
39
|
+
}
|
|
40
|
+
class RemoveFileUploadInfoRequestData {
|
|
41
|
+
fileId: string;
|
|
42
|
+
reason?: string;
|
|
43
|
+
}
|
|
44
|
+
class ServerRemoveFileUploadInfoRequestData extends RemoveFileUploadInfoRequestData {
|
|
45
|
+
}
|
|
46
|
+
class AdminRemoveFileUploadInfoRequestData extends ServerRemoveFileUploadInfoRequestData {
|
|
47
|
+
}
|
|
48
|
+
class RequestDownloadFileUploadInfoRequestData {
|
|
49
|
+
fileId: string;
|
|
50
|
+
}
|
|
51
|
+
class ServerRequestDownloadFileUploadInfoRequestData extends RequestDownloadFileUploadInfoRequestData {
|
|
52
|
+
}
|
|
53
|
+
class AdminRequestDownloadFileUploadInfoRequestData extends ServerRequestDownloadFileUploadInfoRequestData {
|
|
54
|
+
}
|
|
55
|
+
class SetContentDataRequestData {
|
|
56
|
+
configs: Array<ContentDataParam>;
|
|
57
|
+
label?: string;
|
|
58
|
+
}
|
|
59
|
+
class ServerSetContentDataRequestData extends SetContentDataRequestData {
|
|
60
|
+
}
|
|
61
|
+
class AdminSetContentDataRequestData extends ServerSetContentDataRequestData {
|
|
62
|
+
}
|
|
63
|
+
class FileIdUploadResponseData {
|
|
64
|
+
fileId: string;
|
|
65
|
+
}
|
|
66
|
+
class GetContentDataResponseData {
|
|
67
|
+
configs: Array<ContentDataParam>;
|
|
68
|
+
}
|
|
69
|
+
class GetFileUploadInfoListResponseData {
|
|
70
|
+
results: Array<FileIdUploadResponseData>;
|
|
71
|
+
}
|
|
72
|
+
class FileUploadItem {
|
|
73
|
+
mimeType: string;
|
|
74
|
+
size: number;
|
|
75
|
+
folderFileName: string;
|
|
76
|
+
}
|
|
77
|
+
class GetFileUploadInfoResponseData extends FileIdUploadResponseData {
|
|
78
|
+
fileName: string;
|
|
79
|
+
tsCreate: number;
|
|
80
|
+
userId: string;
|
|
81
|
+
removeStatus: GenericModels.RemoveStatusItem;
|
|
82
|
+
tsUploadExpire?: number;
|
|
83
|
+
fileUpload?: FileUploadItem;
|
|
84
|
+
}
|
|
85
|
+
class RequestDownloadFileUploadInfoResponseData {
|
|
86
|
+
downloadToken: string;
|
|
87
|
+
}
|
|
88
|
+
class EmptyResponseData {
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { RequestRole } from "../../constant/enumType/RequestRole";
|
|
2
|
+
import { RequestType } from "../../constant/enumType/RequestType";
|
|
3
|
+
import { CustomOperationRequestAbstract } from "../request/CustomOperationRequest";
|
|
4
|
+
import { ContentModels } from "./ContentModels";
|
|
5
|
+
export declare module ContentRequestModels {
|
|
6
|
+
class CreateNewFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.CreateNewFileUploadInfoRequestData> {
|
|
7
|
+
protected operationCode: number;
|
|
8
|
+
protected operationEncrypted: boolean;
|
|
9
|
+
protected requestType: RequestType;
|
|
10
|
+
protected requestRole: RequestRole;
|
|
11
|
+
constructor(requestData: ContentModels.CreateNewFileUploadInfoRequestData, timeout: number);
|
|
12
|
+
}
|
|
13
|
+
class ServerCreateNewFileUploadInfoOperationRequest extends CreateNewFileUploadInfoOperationRequest {
|
|
14
|
+
protected requestRole: RequestRole;
|
|
15
|
+
constructor(requestData: ContentModels.CreateNewFileUploadInfoRequestData, timeout: number);
|
|
16
|
+
}
|
|
17
|
+
class AdminCreateNewFileUploadInfoOperationRequest extends CreateNewFileUploadInfoOperationRequest {
|
|
18
|
+
protected requestRole: RequestRole;
|
|
19
|
+
constructor(requestData: ContentModels.CreateNewFileUploadInfoRequestData, timeout: number);
|
|
20
|
+
}
|
|
21
|
+
class GetContentDataOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetContentDataRequestData> {
|
|
22
|
+
protected operationCode: number;
|
|
23
|
+
protected operationEncrypted: boolean;
|
|
24
|
+
protected requestType: RequestType;
|
|
25
|
+
protected requestRole: RequestRole;
|
|
26
|
+
constructor(requestData: ContentModels.GetContentDataRequestData, timeout: number);
|
|
27
|
+
}
|
|
28
|
+
class ServerGetContentDataOperationRequest extends GetContentDataOperationRequest {
|
|
29
|
+
protected requestRole: RequestRole;
|
|
30
|
+
constructor(requestData: ContentModels.GetContentDataRequestData, timeout: number);
|
|
31
|
+
}
|
|
32
|
+
class AdminGetContentDataOperationRequest extends GetContentDataOperationRequest {
|
|
33
|
+
protected requestRole: RequestRole;
|
|
34
|
+
constructor(requestData: ContentModels.GetContentDataRequestData, timeout: number);
|
|
35
|
+
}
|
|
36
|
+
class GetFileUploadInfoListOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetFileUploadInfoListRequestData> {
|
|
37
|
+
protected operationCode: number;
|
|
38
|
+
protected operationEncrypted: boolean;
|
|
39
|
+
protected requestType: RequestType;
|
|
40
|
+
protected requestRole: RequestRole;
|
|
41
|
+
constructor(requestData: ContentModels.GetFileUploadInfoListRequestData, timeout: number);
|
|
42
|
+
}
|
|
43
|
+
class ServerGetFileUploadInfoListOperationRequest extends GetFileUploadInfoListOperationRequest {
|
|
44
|
+
protected requestRole: RequestRole;
|
|
45
|
+
constructor(requestData: ContentModels.GetFileUploadInfoListRequestData, timeout: number);
|
|
46
|
+
}
|
|
47
|
+
class AdminGetFileUploadInfoListOperationRequest extends GetFileUploadInfoListOperationRequest {
|
|
48
|
+
protected requestRole: RequestRole;
|
|
49
|
+
constructor(requestData: ContentModels.GetFileUploadInfoListRequestData, timeout: number);
|
|
50
|
+
}
|
|
51
|
+
class GetFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.GetFileUploadInfoRequestData> {
|
|
52
|
+
protected operationCode: number;
|
|
53
|
+
protected operationEncrypted: boolean;
|
|
54
|
+
protected requestType: RequestType;
|
|
55
|
+
protected requestRole: RequestRole;
|
|
56
|
+
constructor(requestData: ContentModels.GetFileUploadInfoRequestData, timeout: number);
|
|
57
|
+
}
|
|
58
|
+
class ServerGetFileUploadInfoOperationRequest extends GetFileUploadInfoOperationRequest {
|
|
59
|
+
protected requestRole: RequestRole;
|
|
60
|
+
constructor(requestData: ContentModels.GetFileUploadInfoRequestData, timeout: number);
|
|
61
|
+
}
|
|
62
|
+
class AdminGetFileUploadInfoOperationRequest extends GetFileUploadInfoOperationRequest {
|
|
63
|
+
protected requestRole: RequestRole;
|
|
64
|
+
constructor(requestData: ContentModels.GetFileUploadInfoRequestData, timeout: number);
|
|
65
|
+
}
|
|
66
|
+
class RemoveFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.RemoveFileUploadInfoRequestData> {
|
|
67
|
+
protected operationCode: number;
|
|
68
|
+
protected operationEncrypted: boolean;
|
|
69
|
+
protected requestType: RequestType;
|
|
70
|
+
protected requestRole: RequestRole;
|
|
71
|
+
constructor(requestData: ContentModels.RemoveFileUploadInfoRequestData, timeout: number);
|
|
72
|
+
}
|
|
73
|
+
class ServerRemoveFileUploadInfoOperationRequest extends RemoveFileUploadInfoOperationRequest {
|
|
74
|
+
protected requestRole: RequestRole;
|
|
75
|
+
constructor(requestData: ContentModels.RemoveFileUploadInfoRequestData, timeout: number);
|
|
76
|
+
}
|
|
77
|
+
class AdminRemoveFileUploadInfoOperationRequest extends RemoveFileUploadInfoOperationRequest {
|
|
78
|
+
protected requestRole: RequestRole;
|
|
79
|
+
constructor(requestData: ContentModels.RemoveFileUploadInfoRequestData, timeout: number);
|
|
80
|
+
}
|
|
81
|
+
class RequestDownloadFileUploadInfoOperationRequest extends CustomOperationRequestAbstract<ContentModels.RequestDownloadFileUploadInfoRequestData> {
|
|
82
|
+
protected operationCode: number;
|
|
83
|
+
protected operationEncrypted: boolean;
|
|
84
|
+
protected requestType: RequestType;
|
|
85
|
+
protected requestRole: RequestRole;
|
|
86
|
+
constructor(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
87
|
+
}
|
|
88
|
+
class ServerRequestDownloadFileUploadInfoOperationRequest extends RequestDownloadFileUploadInfoOperationRequest {
|
|
89
|
+
protected requestRole: RequestRole;
|
|
90
|
+
constructor(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
91
|
+
}
|
|
92
|
+
class AdminRequestDownloadFileUploadInfoOperationRequest extends RequestDownloadFileUploadInfoOperationRequest {
|
|
93
|
+
protected requestRole: RequestRole;
|
|
94
|
+
constructor(requestData: ContentModels.RequestDownloadFileUploadInfoRequestData, timeout: number);
|
|
95
|
+
}
|
|
96
|
+
class SetContentDataOperationRequest extends CustomOperationRequestAbstract<ContentModels.SetContentDataRequestData> {
|
|
97
|
+
protected operationCode: number;
|
|
98
|
+
protected operationEncrypted: boolean;
|
|
99
|
+
protected requestType: RequestType;
|
|
100
|
+
protected requestRole: RequestRole;
|
|
101
|
+
constructor(requestData: ContentModels.SetContentDataRequestData, timeout: number);
|
|
102
|
+
}
|
|
103
|
+
class ServerSetContentDataOperationRequest extends SetContentDataOperationRequest {
|
|
104
|
+
protected requestRole: RequestRole;
|
|
105
|
+
constructor(requestData: ContentModels.SetContentDataRequestData, timeout: number);
|
|
106
|
+
}
|
|
107
|
+
class AdminSetContentDataOperationRequest extends SetContentDataOperationRequest {
|
|
108
|
+
protected requestRole: RequestRole;
|
|
109
|
+
constructor(requestData: ContentModels.SetContentDataRequestData, timeout: number);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "../response/CustomOperationResponse";
|
|
2
|
+
import { ContentModels } from "./ContentModels";
|
|
3
|
+
export declare module ContentResponseModels {
|
|
4
|
+
class CreateNewFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.FileIdUploadResponseData> {
|
|
5
|
+
}
|
|
6
|
+
class GetContentDataOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetContentDataResponseData> {
|
|
7
|
+
}
|
|
8
|
+
class GetFileUploadInfoListOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetFileUploadInfoListResponseData> {
|
|
9
|
+
}
|
|
10
|
+
class GetFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.GetFileUploadInfoResponseData> {
|
|
11
|
+
}
|
|
12
|
+
class RemoveFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.EmptyResponseData> {
|
|
13
|
+
}
|
|
14
|
+
class RequestDownloadFileUploadInfoOperationResponse extends CustomOperationResponseAbstract<ContentModels.RequestDownloadFileUploadInfoResponseData> {
|
|
15
|
+
}
|
|
16
|
+
class SetContentDataOperationResponse extends CustomOperationResponseAbstract<ContentModels.EmptyResponseData> {
|
|
17
|
+
}
|
|
18
|
+
}
|