@xmobitea/gn-typescript-client 2.3.2 → 2.3.3-esnext
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/dist/index.d.ts +4 -0
- package/dist/index.js +320 -34955
- package/dist/runtime/GNNetwork.js +238 -0
- package/dist/runtime/GNNetworkAuthenticateApi.js +167 -0
- package/dist/runtime/GNNetworkCharacterPlayerApi.js +1271 -0
- package/dist/runtime/GNNetworkCloudScriptApi.js +143 -0
- package/dist/runtime/GNNetworkContentApi.js +191 -0
- package/dist/runtime/GNNetworkDashboardApi.js +223 -0
- package/dist/runtime/GNNetworkGamePlayerApi.d.ts +0 -6
- package/dist/runtime/GNNetworkGamePlayerApi.js +1247 -0
- package/dist/runtime/GNNetworkGroupApi.js +983 -0
- package/dist/runtime/GNNetworkInventoryApi.js +839 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +36 -0
- package/dist/runtime/GNNetworkMasterPlayerApi.js +2071 -0
- package/dist/runtime/GNNetworkMultiplayerApi.js +263 -0
- package/dist/runtime/GNNetworkStoreInventoryApi.js +311 -0
- package/dist/runtime/common/Action0.js +1 -0
- package/dist/runtime/common/Action1.js +1 -0
- package/dist/runtime/common/Action2.js +1 -0
- package/dist/runtime/common/Action3.js +1 -0
- package/dist/runtime/common/Action4.js +1 -0
- package/dist/runtime/common/GNData.js +211 -0
- package/dist/runtime/config/GNServerSettings.js +127 -0
- package/dist/runtime/constant/Commands.js +19 -0
- package/dist/runtime/constant/EventCode.js +8 -0
- package/dist/runtime/constant/OperationCode.d.ts +5 -1
- package/dist/runtime/constant/OperationCode.js +218 -0
- package/dist/runtime/constant/ReturnCode.js +14 -0
- package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
- package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
- package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
- package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
- package/dist/runtime/constant/enumType/ItemType.js +5 -0
- package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
- package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
- package/dist/runtime/constant/enumType/OwnerType.js +8 -0
- package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
- package/dist/runtime/constant/enumType/PushPlatformType.d.ts +4 -0
- package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
- package/dist/runtime/constant/enumType/RequestRole.js +6 -0
- package/dist/runtime/constant/enumType/RequestType.js +15 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.d.ts +7 -0
- package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +1 -0
- package/dist/runtime/constant/errorCode/GNErrorCode.js +50 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +23 -0
- package/dist/runtime/constant/parameterCode/GNParameterCode.js +565 -0
- package/dist/runtime/constant/parameterCode/ParameterCode.js +6 -0
- package/dist/runtime/entity/DataMember.js +208 -0
- package/dist/runtime/entity/GNMetadata.js +11 -0
- package/dist/runtime/entity/InvalidMember.js +1 -0
- package/dist/runtime/entity/OperationEvent.js +32 -0
- package/dist/runtime/entity/OperationHelper.js +23 -0
- package/dist/runtime/entity/OperationRequest.js +50 -0
- package/dist/runtime/entity/OperationResponse.js +81 -0
- package/dist/runtime/entity/models/AuthenticateModels.d.ts +1 -0
- package/dist/runtime/entity/models/AuthenticateModels.js +420 -0
- package/dist/runtime/entity/models/AuthenticateRequestModels.js +206 -0
- package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
- package/dist/runtime/entity/models/CharacterPlayerModels.js +1377 -0
- package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1412 -0
- package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +369 -0
- package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
- package/dist/runtime/entity/models/CloudScriptRequestModels.js +143 -0
- package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
- package/dist/runtime/entity/models/ContentModels.js +211 -0
- package/dist/runtime/entity/models/ContentRequestModels.js +197 -0
- package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
- package/dist/runtime/entity/models/DashboardModels.d.ts +19 -1
- package/dist/runtime/entity/models/DashboardModels.js +2759 -0
- package/dist/runtime/entity/models/DashboardRequestModels.js +283 -0
- package/dist/runtime/entity/models/DashboardResponseModels.js +180 -0
- package/dist/runtime/entity/models/GamePlayerModels.d.ts +0 -11
- package/dist/runtime/entity/models/GamePlayerModels.js +1543 -0
- package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +0 -15
- package/dist/runtime/entity/models/GamePlayerRequestModels.js +1385 -0
- package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +0 -3
- package/dist/runtime/entity/models/GamePlayerResponseModels.js +362 -0
- package/dist/runtime/entity/models/GenericModels.js +177 -0
- package/dist/runtime/entity/models/GroupModels.js +1123 -0
- package/dist/runtime/entity/models/GroupRequestModels.js +1088 -0
- package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
- package/dist/runtime/entity/models/InventoryModels.js +903 -0
- package/dist/runtime/entity/models/InventoryRequestModels.js +926 -0
- package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
- package/dist/runtime/entity/models/MasterPlayerModels.d.ts +75 -0
- package/dist/runtime/entity/models/MasterPlayerModels.js +2566 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +90 -0
- package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2314 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +18 -0
- package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
- package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
- package/dist/runtime/entity/models/MultiplayerRequestModels.js +278 -0
- package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
- package/dist/runtime/entity/models/StoreInventoryModels.d.ts +0 -1
- package/dist/runtime/entity/models/StoreInventoryModels.js +733 -0
- package/dist/runtime/entity/models/StoreInventoryRequestModels.js +332 -0
- package/dist/runtime/entity/models/StoreInventoryResponseModels.js +89 -0
- package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
- package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
- package/dist/runtime/helper/CodeHelper.js +61 -0
- package/dist/runtime/helper/ConverterService.js +275 -0
- package/dist/runtime/helper/GNSupport.js +8 -0
- package/dist/runtime/logger/GNDebug.js +29 -0
- package/dist/runtime/networking/AuthenticateStatus.js +14 -0
- package/dist/runtime/networking/IPeer.js +1 -0
- package/dist/runtime/networking/NetworkingPeer.js +129 -0
- package/dist/runtime/networking/OperationPending.js +53 -0
- package/dist/runtime/networking/PeerBase.js +168 -0
- package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
- package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +35 -0
- package/dist/runtime/networking/http/HttpPeer.js +121 -0
- package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
- package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +146 -0
- package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +126 -0
- package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +176 -0
- package/dist/runtime/networking/socket/SocketPeer.js +105 -0
- package/dist/runtime/typescript/ServiceUpdate.js +12 -0
- package/package.json +1 -1
- package/dist/gn.js.client.js +0 -47666
- package/dist/gn.js.client.min.js +0 -2
- package/dist/gn.js.client.min.js.LICENSE.txt +0 -14
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { CustomOperationResponseAbstract } from "./../response/CustomOperationResponse";
|
|
2
|
+
import { InventoryModels } from "./InventoryModels";
|
|
3
|
+
export var InventoryResponseModels;
|
|
4
|
+
(function (InventoryResponseModels) {
|
|
5
|
+
class AddSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
InventoryResponseModels.AddSegmentOperationResponse = AddSegmentOperationResponse;
|
|
12
|
+
class GetAmountOperationResponse extends CustomOperationResponseAbstract {
|
|
13
|
+
constructor() {
|
|
14
|
+
super();
|
|
15
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
InventoryResponseModels.GetAmountOperationResponse = GetAmountOperationResponse;
|
|
19
|
+
class GetAvatarOperationResponse extends CustomOperationResponseAbstract {
|
|
20
|
+
constructor() {
|
|
21
|
+
super();
|
|
22
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
InventoryResponseModels.GetAvatarOperationResponse = GetAvatarOperationResponse;
|
|
26
|
+
class GetCatalogIdOperationResponse extends CustomOperationResponseAbstract {
|
|
27
|
+
constructor() {
|
|
28
|
+
super();
|
|
29
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
InventoryResponseModels.GetCatalogIdOperationResponse = GetCatalogIdOperationResponse;
|
|
33
|
+
class GetClassIdOperationResponse extends CustomOperationResponseAbstract {
|
|
34
|
+
constructor() {
|
|
35
|
+
super();
|
|
36
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
InventoryResponseModels.GetClassIdOperationResponse = GetClassIdOperationResponse;
|
|
40
|
+
class GetCustomDataOperationResponse extends CustomOperationResponseAbstract {
|
|
41
|
+
constructor() {
|
|
42
|
+
super();
|
|
43
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
InventoryResponseModels.GetCustomDataOperationResponse = GetCustomDataOperationResponse;
|
|
47
|
+
class GetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
48
|
+
constructor() {
|
|
49
|
+
super();
|
|
50
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
InventoryResponseModels.GetDisplayNameOperationResponse = GetDisplayNameOperationResponse;
|
|
54
|
+
class GetItemDataOperationResponse extends CustomOperationResponseAbstract {
|
|
55
|
+
constructor() {
|
|
56
|
+
super();
|
|
57
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
InventoryResponseModels.GetItemDataOperationResponse = GetItemDataOperationResponse;
|
|
61
|
+
class GetItemInformationOperationResponse extends CustomOperationResponseAbstract {
|
|
62
|
+
constructor() {
|
|
63
|
+
super();
|
|
64
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
InventoryResponseModels.GetItemInformationOperationResponse = GetItemInformationOperationResponse;
|
|
68
|
+
class GetItemStatisticsOperationResponse extends CustomOperationResponseAbstract {
|
|
69
|
+
constructor() {
|
|
70
|
+
super();
|
|
71
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
InventoryResponseModels.GetItemStatisticsOperationResponse = GetItemStatisticsOperationResponse;
|
|
75
|
+
class GetItemsWithDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
76
|
+
constructor() {
|
|
77
|
+
super();
|
|
78
|
+
this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
InventoryResponseModels.GetItemsWithDisplayNameOperationResponse = GetItemsWithDisplayNameOperationResponse;
|
|
82
|
+
class GetItemsWithSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
83
|
+
constructor() {
|
|
84
|
+
super();
|
|
85
|
+
this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
InventoryResponseModels.GetItemsWithSegmentOperationResponse = GetItemsWithSegmentOperationResponse;
|
|
89
|
+
class GetItemsWithTagOperationResponse extends CustomOperationResponseAbstract {
|
|
90
|
+
constructor() {
|
|
91
|
+
super();
|
|
92
|
+
this.responseDataCls = InventoryModels.InventoriesWithItemIdResponseData;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
InventoryResponseModels.GetItemsWithTagOperationResponse = GetItemsWithTagOperationResponse;
|
|
96
|
+
class GetItemTypeOperationResponse extends CustomOperationResponseAbstract {
|
|
97
|
+
constructor() {
|
|
98
|
+
super();
|
|
99
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
InventoryResponseModels.GetItemTypeOperationResponse = GetItemTypeOperationResponse;
|
|
103
|
+
class GetOwnerOperationResponse extends CustomOperationResponseAbstract {
|
|
104
|
+
constructor() {
|
|
105
|
+
super();
|
|
106
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
InventoryResponseModels.GetOwnerOperationResponse = GetOwnerOperationResponse;
|
|
110
|
+
class GetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
|
|
111
|
+
constructor() {
|
|
112
|
+
super();
|
|
113
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
InventoryResponseModels.GetRemoveStatusOperationResponse = GetRemoveStatusOperationResponse;
|
|
117
|
+
class GetSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
118
|
+
constructor() {
|
|
119
|
+
super();
|
|
120
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
InventoryResponseModels.GetSegmentOperationResponse = GetSegmentOperationResponse;
|
|
124
|
+
class GetStatisticsLeaderboardAroundItemOperationResponse extends CustomOperationResponseAbstract {
|
|
125
|
+
constructor() {
|
|
126
|
+
super();
|
|
127
|
+
this.responseDataCls = InventoryModels.GetStatisticsLeaderboardResponseData;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
InventoryResponseModels.GetStatisticsLeaderboardAroundItemOperationResponse = GetStatisticsLeaderboardAroundItemOperationResponse;
|
|
131
|
+
class GetStatisticsLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
132
|
+
constructor() {
|
|
133
|
+
super();
|
|
134
|
+
this.responseDataCls = InventoryModels.GetStatisticsLeaderboardResponseData;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
InventoryResponseModels.GetStatisticsLeaderboardOperationResponse = GetStatisticsLeaderboardOperationResponse;
|
|
138
|
+
class GetTagOperationResponse extends CustomOperationResponseAbstract {
|
|
139
|
+
constructor() {
|
|
140
|
+
super();
|
|
141
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
InventoryResponseModels.GetTagOperationResponse = GetTagOperationResponse;
|
|
145
|
+
class GetTsCreateOperationResponse extends CustomOperationResponseAbstract {
|
|
146
|
+
constructor() {
|
|
147
|
+
super();
|
|
148
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
InventoryResponseModels.GetTsCreateOperationResponse = GetTsCreateOperationResponse;
|
|
152
|
+
class RemoveSegmentOperationResponse extends CustomOperationResponseAbstract {
|
|
153
|
+
constructor() {
|
|
154
|
+
super();
|
|
155
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
InventoryResponseModels.RemoveSegmentOperationResponse = RemoveSegmentOperationResponse;
|
|
159
|
+
class RemoveTagOperationResponse extends CustomOperationResponseAbstract {
|
|
160
|
+
constructor() {
|
|
161
|
+
super();
|
|
162
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
InventoryResponseModels.RemoveTagOperationResponse = RemoveTagOperationResponse;
|
|
166
|
+
class SetAmountOperationResponse extends CustomOperationResponseAbstract {
|
|
167
|
+
constructor() {
|
|
168
|
+
super();
|
|
169
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
InventoryResponseModels.SetAmountOperationResponse = SetAmountOperationResponse;
|
|
173
|
+
class SetAvatarOperationResponse extends CustomOperationResponseAbstract {
|
|
174
|
+
constructor() {
|
|
175
|
+
super();
|
|
176
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
InventoryResponseModels.SetAvatarOperationResponse = SetAvatarOperationResponse;
|
|
180
|
+
class SetCustomDataOperationResponse extends CustomOperationResponseAbstract {
|
|
181
|
+
constructor() {
|
|
182
|
+
super();
|
|
183
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
InventoryResponseModels.SetCustomDataOperationResponse = SetCustomDataOperationResponse;
|
|
187
|
+
class SetDisplayNameOperationResponse extends CustomOperationResponseAbstract {
|
|
188
|
+
constructor() {
|
|
189
|
+
super();
|
|
190
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
InventoryResponseModels.SetDisplayNameOperationResponse = SetDisplayNameOperationResponse;
|
|
194
|
+
class SetItemDataOperationResponse extends CustomOperationResponseAbstract {
|
|
195
|
+
constructor() {
|
|
196
|
+
super();
|
|
197
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
InventoryResponseModels.SetItemDataOperationResponse = SetItemDataOperationResponse;
|
|
201
|
+
class SetItemStatisticsOperationResponse extends CustomOperationResponseAbstract {
|
|
202
|
+
constructor() {
|
|
203
|
+
super();
|
|
204
|
+
this.responseDataCls = InventoryModels.InventoryResponseData;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
InventoryResponseModels.SetItemStatisticsOperationResponse = SetItemStatisticsOperationResponse;
|
|
208
|
+
class SetOwnerOperationResponse extends CustomOperationResponseAbstract {
|
|
209
|
+
constructor() {
|
|
210
|
+
super();
|
|
211
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
InventoryResponseModels.SetOwnerOperationResponse = SetOwnerOperationResponse;
|
|
215
|
+
class SetRemoveStatusOperationResponse extends CustomOperationResponseAbstract {
|
|
216
|
+
constructor() {
|
|
217
|
+
super();
|
|
218
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
InventoryResponseModels.SetRemoveStatusOperationResponse = SetRemoveStatusOperationResponse;
|
|
222
|
+
class SetTagOperationResponse extends CustomOperationResponseAbstract {
|
|
223
|
+
constructor() {
|
|
224
|
+
super();
|
|
225
|
+
this.responseDataCls = InventoryModels.EmptyResponseData;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
InventoryResponseModels.SetTagOperationResponse = SetTagOperationResponse;
|
|
229
|
+
class GetCreateLeaderboardOperationResponse extends CustomOperationResponseAbstract {
|
|
230
|
+
constructor() {
|
|
231
|
+
super();
|
|
232
|
+
this.responseDataCls = InventoryModels.GetCreateLeaderboardResponseData;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
InventoryResponseModels.GetCreateLeaderboardOperationResponse = GetCreateLeaderboardOperationResponse;
|
|
236
|
+
class GetStatisticsLogOperationResponse extends CustomOperationResponseAbstract {
|
|
237
|
+
constructor() {
|
|
238
|
+
super();
|
|
239
|
+
this.responseDataCls = InventoryModels.GetStatisticsLogResponseData;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
InventoryResponseModels.GetStatisticsLogOperationResponse = GetStatisticsLogOperationResponse;
|
|
243
|
+
})(InventoryResponseModels || (InventoryResponseModels = {}));
|
|
@@ -21,6 +21,7 @@ export declare namespace MasterPlayerModels {
|
|
|
21
21
|
countryCode?: boolean;
|
|
22
22
|
email?: boolean;
|
|
23
23
|
tsLastLogin?: boolean;
|
|
24
|
+
pushNotifications?: boolean;
|
|
24
25
|
playerDataKeys?: Array<string>;
|
|
25
26
|
playerCurrencyKeys?: Array<string>;
|
|
26
27
|
playerStatisticsKeys?: Array<string>;
|
|
@@ -830,6 +831,73 @@ export declare namespace MasterPlayerModels {
|
|
|
830
831
|
}
|
|
831
832
|
class AdminUnlinkWindowsPhoneDeviceIdRequestData extends ServerUnlinkWindowsPhoneDeviceIdRequestData {
|
|
832
833
|
}
|
|
834
|
+
class SendSocketOperationEventRequestData {
|
|
835
|
+
userId?: string;
|
|
836
|
+
eventCode: number;
|
|
837
|
+
eventParameters?: GNHashtable;
|
|
838
|
+
eventEncrypted?: boolean;
|
|
839
|
+
}
|
|
840
|
+
class ServerSendSocketOperationEventRequestData extends SendSocketOperationEventRequestData {
|
|
841
|
+
userId: string;
|
|
842
|
+
}
|
|
843
|
+
class AdminSendSocketOperationEventRequestData extends ServerSendSocketOperationEventRequestData {
|
|
844
|
+
}
|
|
845
|
+
class SendEmailRequestData {
|
|
846
|
+
userId?: string;
|
|
847
|
+
subject: string;
|
|
848
|
+
contentHtml: string;
|
|
849
|
+
}
|
|
850
|
+
class ServerSendEmailRequestData extends SendEmailRequestData {
|
|
851
|
+
userId: string;
|
|
852
|
+
}
|
|
853
|
+
class AdminSendEmailRequestData extends ServerSendEmailRequestData {
|
|
854
|
+
}
|
|
855
|
+
class AddPushNotificationRequestData {
|
|
856
|
+
userId?: string;
|
|
857
|
+
token: string;
|
|
858
|
+
platformType: number;
|
|
859
|
+
}
|
|
860
|
+
class ServerAddPushNotificationRequestData extends AddPushNotificationRequestData {
|
|
861
|
+
userId: string;
|
|
862
|
+
}
|
|
863
|
+
class AdminAddPushNotificationRequestData extends ServerAddPushNotificationRequestData {
|
|
864
|
+
}
|
|
865
|
+
class GetPushNotificationRequestData {
|
|
866
|
+
userId?: string;
|
|
867
|
+
}
|
|
868
|
+
class ServerGetPushNotificationRequestData extends GetPushNotificationRequestData {
|
|
869
|
+
userId: string;
|
|
870
|
+
}
|
|
871
|
+
class AdminGetPushNotificationRequestData extends ServerGetPushNotificationRequestData {
|
|
872
|
+
}
|
|
873
|
+
class RemovePushNotificationRequestData {
|
|
874
|
+
userId?: string;
|
|
875
|
+
pushId: string;
|
|
876
|
+
}
|
|
877
|
+
class ServerRemovePushNotificationRequestData extends RemovePushNotificationRequestData {
|
|
878
|
+
userId: string;
|
|
879
|
+
}
|
|
880
|
+
class AdminRemovePushNotificationRequestData extends ServerRemovePushNotificationRequestData {
|
|
881
|
+
}
|
|
882
|
+
class SendPushNotificationRequestData {
|
|
883
|
+
userId?: string;
|
|
884
|
+
title: string;
|
|
885
|
+
body: string;
|
|
886
|
+
badge?: number;
|
|
887
|
+
sound?: string;
|
|
888
|
+
icon?: string;
|
|
889
|
+
data?: GNHashtable;
|
|
890
|
+
}
|
|
891
|
+
class ServerSendPushNotificationRequestData extends SendPushNotificationRequestData {
|
|
892
|
+
userId: string;
|
|
893
|
+
}
|
|
894
|
+
class AdminSendPushNotificationRequestData extends ServerSendPushNotificationRequestData {
|
|
895
|
+
}
|
|
896
|
+
class PushNotificationItem {
|
|
897
|
+
token: string;
|
|
898
|
+
pushId: string;
|
|
899
|
+
platformType: number;
|
|
900
|
+
}
|
|
833
901
|
class InfoResponseParameters {
|
|
834
902
|
external?: ExternalItem;
|
|
835
903
|
segments?: Array<string>;
|
|
@@ -846,6 +914,7 @@ export declare namespace MasterPlayerModels {
|
|
|
846
914
|
ipAddressCreate?: string;
|
|
847
915
|
countryCode?: string;
|
|
848
916
|
email?: string;
|
|
917
|
+
pushNotifications?: Array<MasterPlayerModels.PushNotificationItem>;
|
|
849
918
|
}
|
|
850
919
|
class MasterPlayerResponseData {
|
|
851
920
|
infoResponseParameters: InfoResponseParameters;
|
|
@@ -934,6 +1003,12 @@ export declare namespace MasterPlayerModels {
|
|
|
934
1003
|
results: Array<MasterPlayerLogResponseData>;
|
|
935
1004
|
token?: string;
|
|
936
1005
|
}
|
|
1006
|
+
class AddPushNotificationResponseData {
|
|
1007
|
+
pushId: string;
|
|
1008
|
+
}
|
|
1009
|
+
class SendPushNotificationResponseData {
|
|
1010
|
+
message: string;
|
|
1011
|
+
}
|
|
937
1012
|
class EmptyResponseData {
|
|
938
1013
|
}
|
|
939
1014
|
}
|