@xmobitea/gn-typescript-client 2.6.8-tsc → 2.6.9
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/LICENSE +198 -5
- package/dist/gearn.js.client.js +46884 -0
- package/dist/gearn.js.client.min.js +2 -0
- package/dist/gearn.js.client.min.js.LICENSE.txt +14 -0
- package/dist/index.js +34162 -337
- package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +0 -1
- package/dist/runtime/entity/models/DashboardModels.d.ts +7 -7
- package/dist/runtime/entity/models/GroupModels.d.ts +0 -1
- package/dist/runtime/entity/models/MultiplayerModels.d.ts +1 -1
- package/package.json +2 -2
- package/responseModel/chatgpt/Authenticate.json +724 -0
- package/responseModel/chatgpt/CharacterPlayer.json +1890 -0
- package/responseModel/chatgpt/CloudScript.json +254 -0
- package/responseModel/chatgpt/Content.json +273 -0
- package/responseModel/chatgpt/Dashboard.json +4110 -0
- package/responseModel/chatgpt/GamePlayer.json +2306 -0
- package/responseModel/chatgpt/Generic.json +253 -0
- package/responseModel/chatgpt/Group.json +1509 -0
- package/responseModel/chatgpt/Inventory.json +1211 -0
- package/responseModel/chatgpt/MasterPlayer.json +3801 -0
- package/responseModel/chatgpt/Multiplayer.json +634 -0
- package/responseModel/chatgpt/StoreInventory.json +1099 -0
- package/responseModel/clients/AuthenticateModels.json +271 -0
- package/responseModel/clients/CharacterPlayerModels.json +792 -0
- package/responseModel/clients/CloudScriptModels.json +191 -0
- package/responseModel/clients/ContentModels.json +178 -0
- package/responseModel/clients/DashboardModels.json +5423 -0
- package/responseModel/clients/GamePlayerModels.json +781 -0
- package/responseModel/clients/GenericModels.json +344 -0
- package/responseModel/clients/GroupModels.json +705 -0
- package/responseModel/clients/InventoryModels.json +568 -0
- package/responseModel/clients/MasterPlayerModels.json +1281 -0
- package/responseModel/clients/MultiplayerModels.json +439 -0
- package/responseModel/clients/StoreInventoryModels.json +971 -0
- package/responseModel/finalChatgpt/Authenticate.json +1475 -0
- package/responseModel/finalChatgpt/CharacterPlayer.json +4104 -0
- package/responseModel/finalChatgpt/CloudScript.json +515 -0
- package/responseModel/finalChatgpt/Content.json +536 -0
- package/responseModel/finalChatgpt/Dashboard.json +6712 -0
- package/responseModel/finalChatgpt/GamePlayer.json +5142 -0
- package/responseModel/finalChatgpt/Generic.json +333 -0
- package/responseModel/finalChatgpt/Group.json +3232 -0
- package/responseModel/finalChatgpt/Inventory.json +2606 -0
- package/responseModel/finalChatgpt/MasterPlayer.json +8385 -0
- package/responseModel/finalChatgpt/Multiplayer.json +1196 -0
- package/responseModel/finalChatgpt/StoreInventory.json +2085 -0
- package/responseModel/finals/Authenticate.json +1460 -0
- package/responseModel/finals/CharacterPlayer.json +3639 -0
- package/responseModel/finals/CloudScript.json +465 -0
- package/responseModel/finals/Content.json +479 -0
- package/responseModel/finals/Dashboard.json +6718 -0
- package/responseModel/finals/GamePlayer.json +4291 -0
- package/responseModel/finals/Generic.json +345 -0
- package/responseModel/finals/Group.json +2885 -0
- package/responseModel/finals/Inventory.json +2309 -0
- package/responseModel/finals/MasterPlayer.json +7018 -0
- package/responseModel/finals/Multiplayer.json +1082 -0
- package/responseModel/finals/StoreInventory.json +1979 -0
- package/responseModel/finalsShort/Authenticate.json +723 -0
- package/responseModel/finalsShort/CharacterPlayer.json +1889 -0
- package/responseModel/finalsShort/CloudScript.json +253 -0
- package/responseModel/finalsShort/Content.json +272 -0
- package/responseModel/finalsShort/Dashboard.json +4109 -0
- package/responseModel/finalsShort/GamePlayer.json +2305 -0
- package/responseModel/finalsShort/Generic.json +252 -0
- package/responseModel/finalsShort/Group.json +1508 -0
- package/responseModel/finalsShort/Inventory.json +1210 -0
- package/responseModel/finalsShort/MasterPlayer.json +3800 -0
- package/responseModel/finalsShort/Multiplayer.json +633 -0
- package/responseModel/finalsShort/StoreInventory.json +1098 -0
- package/responseModel/operationResponse/AuthenticateResponseModels.json +77 -0
- package/responseModel/operationResponse/CharacterPlayerResponseModels.json +217 -0
- package/responseModel/operationResponse/CloudScriptResponseModels.json +25 -0
- package/responseModel/operationResponse/ContentResponseModels.json +33 -0
- package/responseModel/operationResponse/DashboardResponseModels.json +109 -0
- package/responseModel/operationResponse/GamePlayerResponseModels.json +213 -0
- package/responseModel/operationResponse/GroupResponseModels.json +165 -0
- package/responseModel/operationResponse/InventoryResponseModels.json +141 -0
- package/responseModel/operationResponse/MasterPlayerResponseModels.json +349 -0
- package/responseModel/operationResponse/MultiplayerResponseModels.json +45 -0
- package/responseModel/operationResponse/StoreInventoryResponseModels.json +61 -0
- package/responseModel/servers/Authenticate.json +1328 -0
- package/responseModel/servers/CharacterPlayer.json +3199 -0
- package/responseModel/servers/CloudScript.json +278 -0
- package/responseModel/servers/Content.json +324 -0
- package/responseModel/servers/GamePlayer.json +3844 -0
- package/responseModel/servers/Group.json +2454 -0
- package/responseModel/servers/Inventory.json +1964 -0
- package/responseModel/servers/MasterAdmin.json +5569 -0
- package/responseModel/servers/MasterPlayer.json +5924 -0
- package/responseModel/servers/Multiplayer.json +545 -0
- package/responseModel/servers/StoreInventory.json +1290 -0
- package/dist/runtime/GNNetwork.js +0 -250
- package/dist/runtime/GNNetworkAuthenticateApi.js +0 -122
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +0 -968
- package/dist/runtime/GNNetworkCloudScriptApi.js +0 -104
- package/dist/runtime/GNNetworkContentApi.js +0 -140
- package/dist/runtime/GNNetworkDashboardApi.js +0 -170
- package/dist/runtime/GNNetworkGamePlayerApi.js +0 -950
- package/dist/runtime/GNNetworkGroupApi.js +0 -734
- package/dist/runtime/GNNetworkInventoryApi.js +0 -626
- package/dist/runtime/GNNetworkMasterPlayerApi.js +0 -1550
- package/dist/runtime/GNNetworkMultiplayerApi.js +0 -194
- package/dist/runtime/GNNetworkStoreInventoryApi.js +0 -266
- package/dist/runtime/common/Action0.js +0 -1
- package/dist/runtime/common/Action1.js +0 -1
- package/dist/runtime/common/Action2.js +0 -1
- package/dist/runtime/common/Action3.js +0 -1
- package/dist/runtime/common/Action4.js +0 -1
- package/dist/runtime/common/GNData.js +0 -211
- package/dist/runtime/config/GNServerSettings.js +0 -149
- package/dist/runtime/constant/Commands.js +0 -19
- package/dist/runtime/constant/EventCode.js +0 -8
- package/dist/runtime/constant/OperationCode.js +0 -221
- package/dist/runtime/constant/ReturnCode.js +0 -14
- package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +0 -8
- package/dist/runtime/constant/enumType/FriendStatus.js +0 -7
- package/dist/runtime/constant/enumType/GoogleLoginType.js +0 -5
- package/dist/runtime/constant/enumType/GroupStatus.js +0 -7
- package/dist/runtime/constant/enumType/InvalidMemberType.js +0 -18
- package/dist/runtime/constant/enumType/ItemType.js +0 -5
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +0 -6
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +0 -8
- package/dist/runtime/constant/enumType/OwnerType.js +0 -9
- package/dist/runtime/constant/enumType/PermissionDataItem.js +0 -5
- package/dist/runtime/constant/enumType/PushPlatformType.js +0 -5
- package/dist/runtime/constant/enumType/RequestRole.js +0 -6
- package/dist/runtime/constant/enumType/RequestType.js +0 -15
- package/dist/runtime/constant/enumType/StoreItemType.js +0 -5
- package/dist/runtime/constant/enumType/StoreReceiveType.js +0 -8
- package/dist/runtime/constant/errorCode/ErrorCode.js +0 -52
- package/dist/runtime/constant/parameterCode/ParameterCode.js +0 -617
- package/dist/runtime/entity/DataMember.js +0 -208
- package/dist/runtime/entity/GNMetadata.js +0 -11
- package/dist/runtime/entity/InvalidMember.js +0 -1
- package/dist/runtime/entity/OperationEvent.js +0 -24
- package/dist/runtime/entity/OperationHelper.js +0 -24
- package/dist/runtime/entity/OperationRequest.js +0 -42
- package/dist/runtime/entity/OperationResponse.js +0 -73
- package/dist/runtime/entity/models/AuthenticateModels.js +0 -426
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +0 -188
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +0 -131
- package/dist/runtime/entity/models/CharacterPlayerModels.js +0 -1437
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +0 -1386
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +0 -376
- package/dist/runtime/entity/models/CloudScriptModels.js +0 -197
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +0 -138
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +0 -40
- package/dist/runtime/entity/models/ContentModels.js +0 -203
- package/dist/runtime/entity/models/ContentRequestModels.js +0 -190
- package/dist/runtime/entity/models/ContentResponseModels.js +0 -54
- package/dist/runtime/entity/models/DashboardModels.js +0 -3002
- package/dist/runtime/entity/models/DashboardRequestModels.js +0 -268
- package/dist/runtime/entity/models/DashboardResponseModels.js +0 -187
- package/dist/runtime/entity/models/GamePlayerModels.js +0 -1591
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +0 -1360
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +0 -369
- package/dist/runtime/entity/models/GenericModels.js +0 -177
- package/dist/runtime/entity/models/GroupModels.js +0 -1139
- package/dist/runtime/entity/models/GroupRequestModels.js +0 -1048
- package/dist/runtime/entity/models/GroupResponseModels.js +0 -285
- package/dist/runtime/entity/models/InventoryModels.js +0 -915
- package/dist/runtime/entity/models/InventoryRequestModels.js +0 -892
- package/dist/runtime/entity/models/InventoryResponseModels.js +0 -243
- package/dist/runtime/entity/models/MasterPlayerModels.js +0 -2573
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +0 -2228
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +0 -607
- package/dist/runtime/entity/models/MultiplayerModels.js +0 -404
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +0 -268
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +0 -75
- package/dist/runtime/entity/models/StoreInventoryModels.js +0 -797
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +0 -372
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +0 -103
- package/dist/runtime/entity/request/CustomOperationRequest.js +0 -24
- package/dist/runtime/entity/response/CustomOperationResponse.js +0 -29
- package/dist/runtime/entity/response/GetAuthInfoResponse.js +0 -2
- package/dist/runtime/entity/response/UploadFileResponse.js +0 -2
- package/dist/runtime/helper/CodeHelper.js +0 -63
- package/dist/runtime/helper/ConverterService.js +0 -275
- package/dist/runtime/helper/EnumUtility.js +0 -33
- package/dist/runtime/helper/GNSupport.js +0 -8
- package/dist/runtime/helper/GNUtils.js +0 -72
- package/dist/runtime/helper/MessagePackConverterService.js +0 -9
- package/dist/runtime/logger/GNDebug.js +0 -29
- package/dist/runtime/networking/AuthenticateStatus.js +0 -14
- package/dist/runtime/networking/IPeer.js +0 -1
- package/dist/runtime/networking/NetworkingPeer.js +0 -178
- package/dist/runtime/networking/OperationPending.js +0 -53
- package/dist/runtime/networking/PeerBase.js +0 -161
- package/dist/runtime/networking/handler/IServerEventHandler.js +0 -13
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +0 -39
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +0 -35
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +0 -43
- package/dist/runtime/networking/http/HttpPeer.js +0 -122
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +0 -6
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +0 -164
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +0 -130
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +0 -165
- package/dist/runtime/networking/socket/SocketPeer.js +0 -115
- package/dist/runtime/typescript/ServiceUpdate.js +0 -12
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
{
|
|
2
|
+
"requestType": "Content",
|
|
3
|
+
"operations": [
|
|
4
|
+
{
|
|
5
|
+
"operationCode": "CreateNewFileUploadInfo",
|
|
6
|
+
"details": [
|
|
7
|
+
{
|
|
8
|
+
"role": "Client",
|
|
9
|
+
"requestData": [
|
|
10
|
+
{
|
|
11
|
+
"code": "FileName",
|
|
12
|
+
"description": "FileName used in this context.",
|
|
13
|
+
"optional": false,
|
|
14
|
+
"type": "string",
|
|
15
|
+
"gnType": "String",
|
|
16
|
+
"conditions": {
|
|
17
|
+
"mustNonNull": true,
|
|
18
|
+
"minLength": 5,
|
|
19
|
+
"maxLength": 50
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"role": "Server",
|
|
26
|
+
"requestData": []
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"role": "Admin",
|
|
30
|
+
"requestData": []
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"responseData": [
|
|
34
|
+
{
|
|
35
|
+
"code": "ErrorCode",
|
|
36
|
+
"value": [
|
|
37
|
+
"Ok"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"code": "FileId"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"description": "Perform operation: CreateNewFileUploadInfo",
|
|
45
|
+
"operationResponse": "FileIdUploadResponseData"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"operationCode": "GetContentData",
|
|
49
|
+
"details": [
|
|
50
|
+
{
|
|
51
|
+
"role": "Client",
|
|
52
|
+
"requestData": [
|
|
53
|
+
{
|
|
54
|
+
"code": "Keys",
|
|
55
|
+
"description": "Keys used in this context.",
|
|
56
|
+
"optional": true,
|
|
57
|
+
"type": "string",
|
|
58
|
+
"gnType": "GNArray",
|
|
59
|
+
"conditions": {}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"code": "Label",
|
|
63
|
+
"description": "Label used in this context.",
|
|
64
|
+
"optional": true,
|
|
65
|
+
"type": "string",
|
|
66
|
+
"gnType": "String",
|
|
67
|
+
"defaultValue": "\"\"",
|
|
68
|
+
"conditions": {
|
|
69
|
+
"minLength": 2,
|
|
70
|
+
"maxLength": 32
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"role": "Server",
|
|
77
|
+
"requestData": []
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"role": "Admin",
|
|
81
|
+
"requestData": []
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"responseData": [
|
|
85
|
+
{
|
|
86
|
+
"code": "ErrorCode",
|
|
87
|
+
"value": [
|
|
88
|
+
"GameNotFound",
|
|
89
|
+
"Ok"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"code": "Configs"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"description": "Perform operation: GetContentData",
|
|
97
|
+
"operationResponse": "GetContentDataResponseData"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"operationCode": "GetFileUploadInfoList",
|
|
101
|
+
"details": [
|
|
102
|
+
{
|
|
103
|
+
"role": "Client",
|
|
104
|
+
"requestData": [
|
|
105
|
+
{
|
|
106
|
+
"code": "Skip",
|
|
107
|
+
"description": "Skip used in this context.",
|
|
108
|
+
"optional": true,
|
|
109
|
+
"type": "number",
|
|
110
|
+
"gnType": "Number",
|
|
111
|
+
"defaultValue": "0",
|
|
112
|
+
"conditions": {
|
|
113
|
+
"mustInt": true,
|
|
114
|
+
"minValue": 0
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"code": "Limit",
|
|
119
|
+
"description": "Limit used in this context.",
|
|
120
|
+
"optional": true,
|
|
121
|
+
"type": "number",
|
|
122
|
+
"gnType": "Number",
|
|
123
|
+
"defaultValue": "10",
|
|
124
|
+
"conditions": {
|
|
125
|
+
"mustInt": true,
|
|
126
|
+
"minValue": 1,
|
|
127
|
+
"maxValue": 100
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"role": "Server",
|
|
134
|
+
"requestData": []
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"role": "Admin",
|
|
138
|
+
"requestData": []
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"responseData": [
|
|
142
|
+
{
|
|
143
|
+
"code": "ErrorCode",
|
|
144
|
+
"value": [
|
|
145
|
+
"Ok"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"code": "Results"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"description": "Perform operation: GetFileUploadInfoList",
|
|
153
|
+
"operationResponse": "GetFileUploadInfoListResponseData"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"operationCode": "GetFileUploadInfo",
|
|
157
|
+
"details": [
|
|
158
|
+
{
|
|
159
|
+
"role": "Client",
|
|
160
|
+
"requestData": [
|
|
161
|
+
{
|
|
162
|
+
"code": "FileId",
|
|
163
|
+
"description": "FileId used in this context.",
|
|
164
|
+
"optional": false,
|
|
165
|
+
"type": "string",
|
|
166
|
+
"gnType": "String",
|
|
167
|
+
"conditions": {
|
|
168
|
+
"mustNonNull": true,
|
|
169
|
+
"minLength": 15,
|
|
170
|
+
"maxLength": 15
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"role": "Server",
|
|
177
|
+
"requestData": []
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"role": "Admin",
|
|
181
|
+
"requestData": []
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"responseData": [
|
|
185
|
+
{
|
|
186
|
+
"code": "ErrorCode",
|
|
187
|
+
"value": [
|
|
188
|
+
"FileNotFound",
|
|
189
|
+
"Ok"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"code": "FileId"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"code": "FileName"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"code": "TsCreate"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"code": "RemoveStatus"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"code": "FileUpload"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"code": "TsUploadExpire"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"description": "Perform operation: GetFileUploadInfo",
|
|
212
|
+
"operationResponse": "GetFileUploadInfoResponseData"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"operationCode": "RemoveFileUploadInfo",
|
|
216
|
+
"details": [
|
|
217
|
+
{
|
|
218
|
+
"role": "Client",
|
|
219
|
+
"requestData": [
|
|
220
|
+
{
|
|
221
|
+
"code": "FileId",
|
|
222
|
+
"description": "FileId used in this context.",
|
|
223
|
+
"optional": false,
|
|
224
|
+
"type": "string",
|
|
225
|
+
"gnType": "String",
|
|
226
|
+
"conditions": {
|
|
227
|
+
"mustNonNull": true,
|
|
228
|
+
"minLength": 15,
|
|
229
|
+
"maxLength": 15
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"code": "Reason",
|
|
234
|
+
"description": "Reason used in this context.",
|
|
235
|
+
"optional": true,
|
|
236
|
+
"type": "string",
|
|
237
|
+
"gnType": "String",
|
|
238
|
+
"defaultValue": "\"\"",
|
|
239
|
+
"conditions": {}
|
|
240
|
+
}
|
|
241
|
+
]
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"role": "Server",
|
|
245
|
+
"requestData": []
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"role": "Admin",
|
|
249
|
+
"requestData": []
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"responseData": [
|
|
253
|
+
{
|
|
254
|
+
"code": "ErrorCode",
|
|
255
|
+
"value": [
|
|
256
|
+
"FileNotFound",
|
|
257
|
+
"Ok"
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"description": "Perform operation: RemoveFileUploadInfo",
|
|
262
|
+
"operationResponse": "EmptyResponseData"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"operationCode": "RequestDownloadFileUploadInfo",
|
|
266
|
+
"details": [
|
|
267
|
+
{
|
|
268
|
+
"role": "Client",
|
|
269
|
+
"requestData": [
|
|
270
|
+
{
|
|
271
|
+
"code": "FileId",
|
|
272
|
+
"description": "FileId used in this context.",
|
|
273
|
+
"optional": false,
|
|
274
|
+
"type": "string",
|
|
275
|
+
"gnType": "String",
|
|
276
|
+
"conditions": {
|
|
277
|
+
"mustNonNull": true,
|
|
278
|
+
"minLength": 15,
|
|
279
|
+
"maxLength": 15
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"role": "Server",
|
|
286
|
+
"requestData": []
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"role": "Admin",
|
|
290
|
+
"requestData": []
|
|
291
|
+
}
|
|
292
|
+
],
|
|
293
|
+
"responseData": [
|
|
294
|
+
{
|
|
295
|
+
"code": "ErrorCode",
|
|
296
|
+
"value": [
|
|
297
|
+
"FileNotFound",
|
|
298
|
+
"FileNotUpload",
|
|
299
|
+
"Ok"
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"code": "DownloadToken"
|
|
304
|
+
}
|
|
305
|
+
],
|
|
306
|
+
"description": "Perform operation: RequestDownloadFileUploadInfo",
|
|
307
|
+
"operationResponse": "RequestDownloadFileUploadInfoResponseData"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"operationCode": "SetContentData",
|
|
311
|
+
"details": [
|
|
312
|
+
{
|
|
313
|
+
"role": "Client",
|
|
314
|
+
"requestData": [
|
|
315
|
+
{
|
|
316
|
+
"code": "Configs",
|
|
317
|
+
"description": "Configs used in this context.",
|
|
318
|
+
"optional": false,
|
|
319
|
+
"type": "ContentDataParam",
|
|
320
|
+
"gnType": "GNArray",
|
|
321
|
+
"conditions": {
|
|
322
|
+
"mustNonNull": true
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"code": "Label",
|
|
327
|
+
"description": "Label used in this context.",
|
|
328
|
+
"optional": true,
|
|
329
|
+
"type": "string",
|
|
330
|
+
"gnType": "String",
|
|
331
|
+
"conditions": {
|
|
332
|
+
"minLength": 2,
|
|
333
|
+
"maxLength": 32
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"role": "Server",
|
|
340
|
+
"requestData": []
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"role": "Admin",
|
|
344
|
+
"requestData": []
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"responseData": [
|
|
348
|
+
{
|
|
349
|
+
"code": "ErrorCode",
|
|
350
|
+
"value": [
|
|
351
|
+
"GameNotFound",
|
|
352
|
+
"Ok"
|
|
353
|
+
]
|
|
354
|
+
}
|
|
355
|
+
],
|
|
356
|
+
"description": "Perform operation: SetContentData",
|
|
357
|
+
"operationResponse": "EmptyResponseData"
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
"models": [
|
|
361
|
+
{
|
|
362
|
+
"name": "ContentDataParam",
|
|
363
|
+
"details": [
|
|
364
|
+
{
|
|
365
|
+
"code": "Key",
|
|
366
|
+
"description": "Key field in ContentDataParam.",
|
|
367
|
+
"optional": false,
|
|
368
|
+
"type": "string",
|
|
369
|
+
"gnType": "String",
|
|
370
|
+
"conditions": {
|
|
371
|
+
"mustNonNull": true,
|
|
372
|
+
"minLength": 2,
|
|
373
|
+
"maxLength": 32
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"code": "Data",
|
|
378
|
+
"description": "Data field in ContentDataParam.",
|
|
379
|
+
"optional": false,
|
|
380
|
+
"type": "GNHashtable",
|
|
381
|
+
"gnType": "GNHashtable",
|
|
382
|
+
"conditions": {}
|
|
383
|
+
}
|
|
384
|
+
],
|
|
385
|
+
"description": "Data model for ContentDataParam."
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"name": "FileIdUploadResponseData",
|
|
389
|
+
"details": [
|
|
390
|
+
{
|
|
391
|
+
"code": "FileId",
|
|
392
|
+
"description": "FileId field in FileIdUploadResponseData.",
|
|
393
|
+
"optional": false,
|
|
394
|
+
"type": "string",
|
|
395
|
+
"gnType": "String",
|
|
396
|
+
"conditions": {}
|
|
397
|
+
}
|
|
398
|
+
],
|
|
399
|
+
"description": "Data model for FileIdUploadResponseData."
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "GetContentDataResponseData",
|
|
403
|
+
"details": [
|
|
404
|
+
{
|
|
405
|
+
"code": "Configs",
|
|
406
|
+
"description": "Configs field in GetContentDataResponseData.",
|
|
407
|
+
"optional": false,
|
|
408
|
+
"type": "ContentDataParam",
|
|
409
|
+
"gnType": "GNArray",
|
|
410
|
+
"conditions": {
|
|
411
|
+
"mustNonNull": true
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
],
|
|
415
|
+
"description": "Data model for GetContentDataResponseData."
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "GetFileUploadInfoListResponseData",
|
|
419
|
+
"details": [
|
|
420
|
+
{
|
|
421
|
+
"code": "Results",
|
|
422
|
+
"description": "Results field in GetFileUploadInfoListResponseData.",
|
|
423
|
+
"optional": false,
|
|
424
|
+
"type": "FileIdUploadResponseData",
|
|
425
|
+
"gnType": "GNArray",
|
|
426
|
+
"conditions": {}
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"description": "Data model for GetFileUploadInfoListResponseData."
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "FileUploadItem",
|
|
433
|
+
"details": [
|
|
434
|
+
{
|
|
435
|
+
"code": "MimeType",
|
|
436
|
+
"description": "MimeType field in FileUploadItem.",
|
|
437
|
+
"optional": false,
|
|
438
|
+
"type": "string",
|
|
439
|
+
"gnType": "String",
|
|
440
|
+
"conditions": {}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"code": "Size",
|
|
444
|
+
"description": "Size field in FileUploadItem.",
|
|
445
|
+
"optional": false,
|
|
446
|
+
"type": "number",
|
|
447
|
+
"gnType": "Number",
|
|
448
|
+
"conditions": {}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"code": "FolderFileName",
|
|
452
|
+
"description": "FolderFileName field in FileUploadItem.",
|
|
453
|
+
"optional": false,
|
|
454
|
+
"type": "string",
|
|
455
|
+
"gnType": "String",
|
|
456
|
+
"conditions": {}
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
"description": "Data model for FileUploadItem."
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "GetFileUploadInfoResponseData",
|
|
463
|
+
"details": [
|
|
464
|
+
{
|
|
465
|
+
"code": "FileName",
|
|
466
|
+
"description": "FileName field in GetFileUploadInfoResponseData.",
|
|
467
|
+
"optional": false,
|
|
468
|
+
"type": "string",
|
|
469
|
+
"gnType": "String",
|
|
470
|
+
"conditions": {}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"code": "TsCreate",
|
|
474
|
+
"description": "TsCreate field in GetFileUploadInfoResponseData.",
|
|
475
|
+
"optional": false,
|
|
476
|
+
"type": "number",
|
|
477
|
+
"gnType": "Number",
|
|
478
|
+
"conditions": {}
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"code": "RemoveStatus",
|
|
482
|
+
"description": "RemoveStatus field in GetFileUploadInfoResponseData.",
|
|
483
|
+
"optional": false,
|
|
484
|
+
"type": "GenericModels.RemoveStatusItem",
|
|
485
|
+
"gnType": "GNHashtable",
|
|
486
|
+
"conditions": {}
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"code": "TsUploadExpire",
|
|
490
|
+
"description": "TsUploadExpire field in GetFileUploadInfoResponseData.",
|
|
491
|
+
"optional": true,
|
|
492
|
+
"type": "number",
|
|
493
|
+
"gnType": "Number",
|
|
494
|
+
"conditions": {}
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"code": "FileUpload",
|
|
498
|
+
"description": "FileUpload field in GetFileUploadInfoResponseData.",
|
|
499
|
+
"optional": true,
|
|
500
|
+
"type": "FileUploadItem",
|
|
501
|
+
"gnType": "GNHashtable",
|
|
502
|
+
"conditions": {}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"code": "FileId",
|
|
506
|
+
"description": "FileId field in GetFileUploadInfoResponseData.",
|
|
507
|
+
"optional": false,
|
|
508
|
+
"type": "string",
|
|
509
|
+
"gnType": "String",
|
|
510
|
+
"conditions": {}
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"description": "Data model for GetFileUploadInfoResponseData."
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"name": "RequestDownloadFileUploadInfoResponseData",
|
|
517
|
+
"details": [
|
|
518
|
+
{
|
|
519
|
+
"code": "DownloadToken",
|
|
520
|
+
"description": "DownloadToken field in RequestDownloadFileUploadInfoResponseData.",
|
|
521
|
+
"optional": false,
|
|
522
|
+
"type": "string",
|
|
523
|
+
"gnType": "String",
|
|
524
|
+
"conditions": {}
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"description": "Data model for RequestDownloadFileUploadInfoResponseData."
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "EmptyResponseData",
|
|
531
|
+
"details": [],
|
|
532
|
+
"description": "Data model for EmptyResponseData."
|
|
533
|
+
}
|
|
534
|
+
],
|
|
535
|
+
"description": "API requests for managing game-related content such as downloadable assets, thumbnails, and external catalog references."
|
|
536
|
+
}
|