@xmobitea/gn-typescript-client 2.6.7 → 2.6.8-tsc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/index.js +337 -34170
  2. package/dist/runtime/GNNetwork.js +250 -0
  3. package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
  4. package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
  5. package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
  6. package/dist/runtime/GNNetworkContentApi.js +140 -0
  7. package/dist/runtime/GNNetworkDashboardApi.js +170 -0
  8. package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
  9. package/dist/runtime/GNNetworkGroupApi.js +734 -0
  10. package/dist/runtime/GNNetworkInventoryApi.js +626 -0
  11. package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
  12. package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
  13. package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
  14. package/dist/runtime/common/Action0.js +1 -0
  15. package/dist/runtime/common/Action1.js +1 -0
  16. package/dist/runtime/common/Action2.js +1 -0
  17. package/dist/runtime/common/Action3.js +1 -0
  18. package/dist/runtime/common/Action4.js +1 -0
  19. package/dist/runtime/common/GNData.js +211 -0
  20. package/dist/runtime/config/GNServerSettings.js +149 -0
  21. package/dist/runtime/constant/Commands.js +19 -0
  22. package/dist/runtime/constant/EventCode.js +8 -0
  23. package/dist/runtime/constant/OperationCode.js +221 -0
  24. package/dist/runtime/constant/ReturnCode.js +14 -0
  25. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  26. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  27. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  28. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  29. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  30. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  31. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  32. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  33. package/dist/runtime/constant/enumType/OwnerType.js +9 -0
  34. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  35. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  36. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  37. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  38. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  39. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  40. package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
  41. package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
  42. package/dist/runtime/entity/DataMember.js +208 -0
  43. package/dist/runtime/entity/GNMetadata.js +11 -0
  44. package/dist/runtime/entity/InvalidMember.js +1 -0
  45. package/dist/runtime/entity/OperationEvent.js +24 -0
  46. package/dist/runtime/entity/OperationHelper.js +24 -0
  47. package/dist/runtime/entity/OperationRequest.js +42 -0
  48. package/dist/runtime/entity/OperationResponse.js +73 -0
  49. package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
  50. package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
  51. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  52. package/dist/runtime/entity/models/CharacterPlayerModels.js +1437 -0
  53. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
  54. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  55. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  56. package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
  57. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  58. package/dist/runtime/entity/models/ContentModels.js +203 -0
  59. package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
  60. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  61. package/dist/runtime/entity/models/DashboardModels.js +3002 -0
  62. package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
  63. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  64. package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
  65. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
  66. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  67. package/dist/runtime/entity/models/GenericModels.js +177 -0
  68. package/dist/runtime/entity/models/GroupModels.js +1139 -0
  69. package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
  70. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  71. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  72. package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
  73. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  74. package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
  75. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
  76. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  77. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  78. package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
  79. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  80. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  81. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
  82. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  83. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  84. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  85. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  86. package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
  87. package/dist/runtime/helper/CodeHelper.js +63 -0
  88. package/dist/runtime/helper/ConverterService.js +275 -0
  89. package/dist/runtime/helper/EnumUtility.js +33 -0
  90. package/dist/runtime/helper/GNSupport.js +8 -0
  91. package/dist/runtime/helper/GNUtils.js +72 -0
  92. package/dist/runtime/helper/MessagePackConverterService.js +9 -0
  93. package/dist/runtime/logger/GNDebug.js +29 -0
  94. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  95. package/dist/runtime/networking/IPeer.js +1 -0
  96. package/dist/runtime/networking/NetworkingPeer.js +178 -0
  97. package/dist/runtime/networking/OperationPending.js +53 -0
  98. package/dist/runtime/networking/PeerBase.js +161 -0
  99. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  100. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  101. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  102. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  103. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  104. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  105. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
  106. package/dist/runtime/networking/http/HttpPeer.js +122 -0
  107. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +6 -0
  108. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +164 -0
  109. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
  110. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
  111. package/dist/runtime/networking/socket/SocketPeer.js +115 -0
  112. package/dist/runtime/typescript/ServiceUpdate.js +12 -0
  113. package/package.json +1 -1
  114. package/dist/gearn.js.client.js +0 -46892
  115. package/dist/gearn.js.client.min.js +0 -2
  116. package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
@@ -0,0 +1,426 @@
1
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6
+ };
7
+ var __metadata = (this && this.__metadata) || function (k, v) {
8
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
+ };
10
+ import { GNHashtable } from "./../../common/GNData";
11
+ import { ParameterCode } from "./../../constant/parameterCode/ParameterCode";
12
+ import { GNHashtableDataMember, StringDataMember, BooleanDataMember, GNArrayDataMember, NumberDataMember } from "./../DataMember";
13
+ import { GenericModels } from "./GenericModels";
14
+ import { MasterPlayerModels } from "./MasterPlayerModels";
15
+ export var AuthenticateModels;
16
+ (function (AuthenticateModels) {
17
+ class InfoRequestParam {
18
+ }
19
+ __decorate([
20
+ BooleanDataMember({ code: ParameterCode.External, isOptional: true, defaultValue: false }),
21
+ __metadata("design:type", Boolean)
22
+ ], InfoRequestParam.prototype, "external", void 0);
23
+ __decorate([
24
+ BooleanDataMember({ code: ParameterCode.Segments, isOptional: true, defaultValue: false }),
25
+ __metadata("design:type", Boolean)
26
+ ], InfoRequestParam.prototype, "segments", void 0);
27
+ __decorate([
28
+ BooleanDataMember({ code: ParameterCode.CustomDatas, isOptional: true, defaultValue: false }),
29
+ __metadata("design:type", Boolean)
30
+ ], InfoRequestParam.prototype, "customDatas", void 0);
31
+ __decorate([
32
+ BooleanDataMember({ code: ParameterCode.DisplayName, isOptional: true, defaultValue: false }),
33
+ __metadata("design:type", Boolean)
34
+ ], InfoRequestParam.prototype, "displayName", void 0);
35
+ __decorate([
36
+ BooleanDataMember({ code: ParameterCode.Avatar, isOptional: true, defaultValue: false }),
37
+ __metadata("design:type", Boolean)
38
+ ], InfoRequestParam.prototype, "avatar", void 0);
39
+ __decorate([
40
+ BooleanDataMember({ code: ParameterCode.TsCreate, isOptional: true, defaultValue: false }),
41
+ __metadata("design:type", Boolean)
42
+ ], InfoRequestParam.prototype, "tsCreate", void 0);
43
+ __decorate([
44
+ BooleanDataMember({ code: ParameterCode.Tags, isOptional: true, defaultValue: false }),
45
+ __metadata("design:type", Boolean)
46
+ ], InfoRequestParam.prototype, "tags", void 0);
47
+ __decorate([
48
+ BooleanDataMember({ code: ParameterCode.PlayerBan, isOptional: true, defaultValue: false }),
49
+ __metadata("design:type", Boolean)
50
+ ], InfoRequestParam.prototype, "playerBan", void 0);
51
+ __decorate([
52
+ BooleanDataMember({ code: ParameterCode.PlayerCurrencies, isOptional: true, defaultValue: false }),
53
+ __metadata("design:type", Boolean)
54
+ ], InfoRequestParam.prototype, "playerCurrencies", void 0);
55
+ __decorate([
56
+ BooleanDataMember({ code: ParameterCode.PlayerStatistics, isOptional: true, defaultValue: false }),
57
+ __metadata("design:type", Boolean)
58
+ ], InfoRequestParam.prototype, "playerStatistics", void 0);
59
+ __decorate([
60
+ BooleanDataMember({ code: ParameterCode.PlayerDatas, isOptional: true, defaultValue: false }),
61
+ __metadata("design:type", Boolean)
62
+ ], InfoRequestParam.prototype, "playerDatas", void 0);
63
+ __decorate([
64
+ BooleanDataMember({ code: ParameterCode.IpAddressCreate, isOptional: true, defaultValue: false }),
65
+ __metadata("design:type", Boolean)
66
+ ], InfoRequestParam.prototype, "ipAddressCreate", void 0);
67
+ __decorate([
68
+ BooleanDataMember({ code: ParameterCode.CountryCode, isOptional: true, defaultValue: false }),
69
+ __metadata("design:type", Boolean)
70
+ ], InfoRequestParam.prototype, "countryCode", void 0);
71
+ __decorate([
72
+ BooleanDataMember({ code: ParameterCode.Email, isOptional: true, defaultValue: false }),
73
+ __metadata("design:type", Boolean)
74
+ ], InfoRequestParam.prototype, "email", void 0);
75
+ __decorate([
76
+ BooleanDataMember({ code: ParameterCode.TsLastLogin, isOptional: true, defaultValue: false }),
77
+ __metadata("design:type", Boolean)
78
+ ], InfoRequestParam.prototype, "tsLastLogin", void 0);
79
+ __decorate([
80
+ BooleanDataMember({ code: ParameterCode.PushNotifications, isOptional: true, defaultValue: false }),
81
+ __metadata("design:type", Boolean)
82
+ ], InfoRequestParam.prototype, "pushNotifications", void 0);
83
+ __decorate([
84
+ GNArrayDataMember({ code: ParameterCode.PlayerDataKeys, isOptional: true, elementCls: String }),
85
+ __metadata("design:type", Array)
86
+ ], InfoRequestParam.prototype, "playerDataKeys", void 0);
87
+ __decorate([
88
+ GNArrayDataMember({ code: ParameterCode.PlayerCurrencyKeys, isOptional: true, elementCls: String }),
89
+ __metadata("design:type", Array)
90
+ ], InfoRequestParam.prototype, "playerCurrencyKeys", void 0);
91
+ __decorate([
92
+ GNArrayDataMember({ code: ParameterCode.PlayerStatisticsKeys, isOptional: true, elementCls: String }),
93
+ __metadata("design:type", Array)
94
+ ], InfoRequestParam.prototype, "playerStatisticsKeys", void 0);
95
+ __decorate([
96
+ GNArrayDataMember({ code: ParameterCode.CustomDataKeys, isOptional: true, elementCls: String }),
97
+ __metadata("design:type", Array)
98
+ ], InfoRequestParam.prototype, "customDataKeys", void 0);
99
+ __decorate([
100
+ GNArrayDataMember({ code: ParameterCode.TagKeys, isOptional: true, elementCls: String }),
101
+ __metadata("design:type", Array)
102
+ ], InfoRequestParam.prototype, "tagKeys", void 0);
103
+ AuthenticateModels.InfoRequestParam = InfoRequestParam;
104
+ class LoginByAccountRequestData {
105
+ }
106
+ __decorate([
107
+ StringDataMember({ code: ParameterCode.Username, minLength: 6, maxLength: 32, mustNonNull: true }),
108
+ __metadata("design:type", String)
109
+ ], LoginByAccountRequestData.prototype, "username", void 0);
110
+ __decorate([
111
+ StringDataMember({ code: ParameterCode.Password, minLength: 6, maxLength: 64, mustNonNull: true }),
112
+ __metadata("design:type", String)
113
+ ], LoginByAccountRequestData.prototype, "password", void 0);
114
+ __decorate([
115
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
116
+ __metadata("design:type", InfoRequestParam)
117
+ ], LoginByAccountRequestData.prototype, "infoRequestParam", void 0);
118
+ AuthenticateModels.LoginByAccountRequestData = LoginByAccountRequestData;
119
+ class LoginByAndroidDeviceIdRequestData {
120
+ }
121
+ __decorate([
122
+ StringDataMember({ code: ParameterCode.AndroidDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
123
+ __metadata("design:type", String)
124
+ ], LoginByAndroidDeviceIdRequestData.prototype, "androidDeviceId", void 0);
125
+ __decorate([
126
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
127
+ __metadata("design:type", Boolean)
128
+ ], LoginByAndroidDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
129
+ __decorate([
130
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
131
+ __metadata("design:type", InfoRequestParam)
132
+ ], LoginByAndroidDeviceIdRequestData.prototype, "infoRequestParam", void 0);
133
+ AuthenticateModels.LoginByAndroidDeviceIdRequestData = LoginByAndroidDeviceIdRequestData;
134
+ class LoginByAppleRequestData {
135
+ }
136
+ __decorate([
137
+ StringDataMember({ code: ParameterCode.Token, minLength: 32, maxLength: 2048, mustNonNull: true }),
138
+ __metadata("design:type", String)
139
+ ], LoginByAppleRequestData.prototype, "token", void 0);
140
+ __decorate([
141
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
142
+ __metadata("design:type", Boolean)
143
+ ], LoginByAppleRequestData.prototype, "createPlayerIfNotExists", void 0);
144
+ __decorate([
145
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
146
+ __metadata("design:type", InfoRequestParam)
147
+ ], LoginByAppleRequestData.prototype, "infoRequestParam", void 0);
148
+ AuthenticateModels.LoginByAppleRequestData = LoginByAppleRequestData;
149
+ class LoginByCustomDeviceIdRequestData {
150
+ }
151
+ __decorate([
152
+ StringDataMember({ code: ParameterCode.CustomDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
153
+ __metadata("design:type", String)
154
+ ], LoginByCustomDeviceIdRequestData.prototype, "customDeviceId", void 0);
155
+ __decorate([
156
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
157
+ __metadata("design:type", Boolean)
158
+ ], LoginByCustomDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
159
+ __decorate([
160
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
161
+ __metadata("design:type", InfoRequestParam)
162
+ ], LoginByCustomDeviceIdRequestData.prototype, "infoRequestParam", void 0);
163
+ AuthenticateModels.LoginByCustomDeviceIdRequestData = LoginByCustomDeviceIdRequestData;
164
+ class LoginByCustomIdRequestData {
165
+ }
166
+ __decorate([
167
+ StringDataMember({ code: ParameterCode.CustomId, minLength: 6, maxLength: 64, mustNonNull: true }),
168
+ __metadata("design:type", String)
169
+ ], LoginByCustomIdRequestData.prototype, "customId", void 0);
170
+ __decorate([
171
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
172
+ __metadata("design:type", Boolean)
173
+ ], LoginByCustomIdRequestData.prototype, "createPlayerIfNotExists", void 0);
174
+ __decorate([
175
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
176
+ __metadata("design:type", InfoRequestParam)
177
+ ], LoginByCustomIdRequestData.prototype, "infoRequestParam", void 0);
178
+ AuthenticateModels.LoginByCustomIdRequestData = LoginByCustomIdRequestData;
179
+ class LoginByEditorDeviceIdRequestData {
180
+ }
181
+ __decorate([
182
+ StringDataMember({ code: ParameterCode.EditorDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
183
+ __metadata("design:type", String)
184
+ ], LoginByEditorDeviceIdRequestData.prototype, "editorDeviceId", void 0);
185
+ __decorate([
186
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
187
+ __metadata("design:type", Boolean)
188
+ ], LoginByEditorDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
189
+ __decorate([
190
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
191
+ __metadata("design:type", InfoRequestParam)
192
+ ], LoginByEditorDeviceIdRequestData.prototype, "infoRequestParam", void 0);
193
+ AuthenticateModels.LoginByEditorDeviceIdRequestData = LoginByEditorDeviceIdRequestData;
194
+ class LoginByFacebookRequestData {
195
+ }
196
+ __decorate([
197
+ StringDataMember({ code: ParameterCode.Token, minLength: 32, maxLength: 2048, mustNonNull: true }),
198
+ __metadata("design:type", String)
199
+ ], LoginByFacebookRequestData.prototype, "token", void 0);
200
+ __decorate([
201
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
202
+ __metadata("design:type", Boolean)
203
+ ], LoginByFacebookRequestData.prototype, "createPlayerIfNotExists", void 0);
204
+ __decorate([
205
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
206
+ __metadata("design:type", InfoRequestParam)
207
+ ], LoginByFacebookRequestData.prototype, "infoRequestParam", void 0);
208
+ AuthenticateModels.LoginByFacebookRequestData = LoginByFacebookRequestData;
209
+ class LoginByGenericServiceRequestData {
210
+ }
211
+ __decorate([
212
+ StringDataMember({ code: ParameterCode.ServiceName, minLength: 6, maxLength: 32, mustNonNull: true }),
213
+ __metadata("design:type", String)
214
+ ], LoginByGenericServiceRequestData.prototype, "serviceName", void 0);
215
+ __decorate([
216
+ GNHashtableDataMember({ code: ParameterCode.ServiceData, mustNonNull: true }),
217
+ __metadata("design:type", GNHashtable)
218
+ ], LoginByGenericServiceRequestData.prototype, "serviceData", void 0);
219
+ __decorate([
220
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
221
+ __metadata("design:type", Boolean)
222
+ ], LoginByGenericServiceRequestData.prototype, "createPlayerIfNotExists", void 0);
223
+ __decorate([
224
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
225
+ __metadata("design:type", InfoRequestParam)
226
+ ], LoginByGenericServiceRequestData.prototype, "infoRequestParam", void 0);
227
+ AuthenticateModels.LoginByGenericServiceRequestData = LoginByGenericServiceRequestData;
228
+ class LoginByGoogleRequestData {
229
+ }
230
+ __decorate([
231
+ StringDataMember({ code: ParameterCode.Token, minLength: 32, maxLength: 2048, mustNonNull: true }),
232
+ __metadata("design:type", String)
233
+ ], LoginByGoogleRequestData.prototype, "token", void 0);
234
+ __decorate([
235
+ NumberDataMember({ code: ParameterCode.Type, minValue: 1, maxValue: 2, mustInt: true }),
236
+ __metadata("design:type", Number)
237
+ ], LoginByGoogleRequestData.prototype, "type", void 0);
238
+ __decorate([
239
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
240
+ __metadata("design:type", Boolean)
241
+ ], LoginByGoogleRequestData.prototype, "createPlayerIfNotExists", void 0);
242
+ __decorate([
243
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
244
+ __metadata("design:type", InfoRequestParam)
245
+ ], LoginByGoogleRequestData.prototype, "infoRequestParam", void 0);
246
+ AuthenticateModels.LoginByGoogleRequestData = LoginByGoogleRequestData;
247
+ class LoginByGooglePlayGameServiceRequestData {
248
+ }
249
+ __decorate([
250
+ StringDataMember({ code: ParameterCode.Token, minLength: 32, maxLength: 2048, mustNonNull: true }),
251
+ __metadata("design:type", String)
252
+ ], LoginByGooglePlayGameServiceRequestData.prototype, "token", void 0);
253
+ __decorate([
254
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
255
+ __metadata("design:type", Boolean)
256
+ ], LoginByGooglePlayGameServiceRequestData.prototype, "createPlayerIfNotExists", void 0);
257
+ __decorate([
258
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
259
+ __metadata("design:type", InfoRequestParam)
260
+ ], LoginByGooglePlayGameServiceRequestData.prototype, "infoRequestParam", void 0);
261
+ AuthenticateModels.LoginByGooglePlayGameServiceRequestData = LoginByGooglePlayGameServiceRequestData;
262
+ class LoginByGameCenterRequestData {
263
+ }
264
+ __decorate([
265
+ StringDataMember({ code: ParameterCode.PlayerId, minLength: 2, maxLength: 64, mustNonNull: true }),
266
+ __metadata("design:type", String)
267
+ ], LoginByGameCenterRequestData.prototype, "playerId", void 0);
268
+ __decorate([
269
+ StringDataMember({ code: ParameterCode.Name, minLength: 2, maxLength: 128, mustNonNull: true }),
270
+ __metadata("design:type", String)
271
+ ], LoginByGameCenterRequestData.prototype, "name", void 0);
272
+ __decorate([
273
+ StringDataMember({ code: ParameterCode.PublicKeyUrl, minLength: 2, maxLength: 2048, mustNonNull: true }),
274
+ __metadata("design:type", String)
275
+ ], LoginByGameCenterRequestData.prototype, "publicKeyUrl", void 0);
276
+ __decorate([
277
+ StringDataMember({ code: ParameterCode.Signature, minLength: 2, maxLength: 2048, mustNonNull: true }),
278
+ __metadata("design:type", String)
279
+ ], LoginByGameCenterRequestData.prototype, "signature", void 0);
280
+ __decorate([
281
+ StringDataMember({ code: ParameterCode.Salt, minLength: 2, maxLength: 256, mustNonNull: true }),
282
+ __metadata("design:type", String)
283
+ ], LoginByGameCenterRequestData.prototype, "salt", void 0);
284
+ __decorate([
285
+ NumberDataMember({ code: ParameterCode.Timestamp }),
286
+ __metadata("design:type", Number)
287
+ ], LoginByGameCenterRequestData.prototype, "timestamp", void 0);
288
+ __decorate([
289
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
290
+ __metadata("design:type", Boolean)
291
+ ], LoginByGameCenterRequestData.prototype, "createPlayerIfNotExists", void 0);
292
+ __decorate([
293
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
294
+ __metadata("design:type", InfoRequestParam)
295
+ ], LoginByGameCenterRequestData.prototype, "infoRequestParam", void 0);
296
+ AuthenticateModels.LoginByGameCenterRequestData = LoginByGameCenterRequestData;
297
+ class LoginByiOSDeviceIdRequestData {
298
+ }
299
+ __decorate([
300
+ StringDataMember({ code: ParameterCode.iOSDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
301
+ __metadata("design:type", String)
302
+ ], LoginByiOSDeviceIdRequestData.prototype, "iOSDeviceId", void 0);
303
+ __decorate([
304
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
305
+ __metadata("design:type", Boolean)
306
+ ], LoginByiOSDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
307
+ __decorate([
308
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
309
+ __metadata("design:type", InfoRequestParam)
310
+ ], LoginByiOSDeviceIdRequestData.prototype, "infoRequestParam", void 0);
311
+ AuthenticateModels.LoginByiOSDeviceIdRequestData = LoginByiOSDeviceIdRequestData;
312
+ class LoginByLinuxDeviceIdRequestData {
313
+ }
314
+ __decorate([
315
+ StringDataMember({ code: ParameterCode.LinuxDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
316
+ __metadata("design:type", String)
317
+ ], LoginByLinuxDeviceIdRequestData.prototype, "linuxDeviceId", void 0);
318
+ __decorate([
319
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
320
+ __metadata("design:type", Boolean)
321
+ ], LoginByLinuxDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
322
+ __decorate([
323
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
324
+ __metadata("design:type", InfoRequestParam)
325
+ ], LoginByLinuxDeviceIdRequestData.prototype, "infoRequestParam", void 0);
326
+ AuthenticateModels.LoginByLinuxDeviceIdRequestData = LoginByLinuxDeviceIdRequestData;
327
+ class LoginByMacOSDeviceIdRequestData {
328
+ }
329
+ __decorate([
330
+ StringDataMember({ code: ParameterCode.MacOSDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
331
+ __metadata("design:type", String)
332
+ ], LoginByMacOSDeviceIdRequestData.prototype, "macOSDeviceId", void 0);
333
+ __decorate([
334
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
335
+ __metadata("design:type", Boolean)
336
+ ], LoginByMacOSDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
337
+ __decorate([
338
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
339
+ __metadata("design:type", InfoRequestParam)
340
+ ], LoginByMacOSDeviceIdRequestData.prototype, "infoRequestParam", void 0);
341
+ AuthenticateModels.LoginByMacOSDeviceIdRequestData = LoginByMacOSDeviceIdRequestData;
342
+ class LoginByWindowsDeviceIdRequestData {
343
+ }
344
+ __decorate([
345
+ StringDataMember({ code: ParameterCode.WindowsDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
346
+ __metadata("design:type", String)
347
+ ], LoginByWindowsDeviceIdRequestData.prototype, "windowsDeviceId", void 0);
348
+ __decorate([
349
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
350
+ __metadata("design:type", Boolean)
351
+ ], LoginByWindowsDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
352
+ __decorate([
353
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
354
+ __metadata("design:type", InfoRequestParam)
355
+ ], LoginByWindowsDeviceIdRequestData.prototype, "infoRequestParam", void 0);
356
+ AuthenticateModels.LoginByWindowsDeviceIdRequestData = LoginByWindowsDeviceIdRequestData;
357
+ class LoginByWindowsPhoneDeviceIdRequestData {
358
+ }
359
+ __decorate([
360
+ StringDataMember({ code: ParameterCode.WindowsPhoneDeviceId, minLength: 6, maxLength: 64, mustNonNull: true }),
361
+ __metadata("design:type", String)
362
+ ], LoginByWindowsPhoneDeviceIdRequestData.prototype, "windowsPhoneDeviceId", void 0);
363
+ __decorate([
364
+ BooleanDataMember({ code: ParameterCode.CreatePlayerIfNotExists, isOptional: true, defaultValue: false }),
365
+ __metadata("design:type", Boolean)
366
+ ], LoginByWindowsPhoneDeviceIdRequestData.prototype, "createPlayerIfNotExists", void 0);
367
+ __decorate([
368
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
369
+ __metadata("design:type", InfoRequestParam)
370
+ ], LoginByWindowsPhoneDeviceIdRequestData.prototype, "infoRequestParam", void 0);
371
+ AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData = LoginByWindowsPhoneDeviceIdRequestData;
372
+ class RegisterAccountRequestData {
373
+ }
374
+ __decorate([
375
+ StringDataMember({ code: ParameterCode.Username, minLength: 6, maxLength: 32, mustNonNull: true }),
376
+ __metadata("design:type", String)
377
+ ], RegisterAccountRequestData.prototype, "username", void 0);
378
+ __decorate([
379
+ StringDataMember({ code: ParameterCode.Password, minLength: 6, maxLength: 64, mustNonNull: true }),
380
+ __metadata("design:type", String)
381
+ ], RegisterAccountRequestData.prototype, "password", void 0);
382
+ __decorate([
383
+ GNHashtableDataMember({ code: ParameterCode.InfoRequestParam, mustNonNull: true }),
384
+ __metadata("design:type", InfoRequestParam)
385
+ ], RegisterAccountRequestData.prototype, "infoRequestParam", void 0);
386
+ AuthenticateModels.RegisterAccountRequestData = RegisterAccountRequestData;
387
+ class RefreshAuthTokenRequestData {
388
+ }
389
+ AuthenticateModels.RefreshAuthTokenRequestData = RefreshAuthTokenRequestData;
390
+ class AuthenticateResponseData extends MasterPlayerModels.MasterPlayerWithUserIdResponseData {
391
+ }
392
+ __decorate([
393
+ BooleanDataMember({ code: ParameterCode.NewlyCreated, isOptional: true }),
394
+ __metadata("design:type", Boolean)
395
+ ], AuthenticateResponseData.prototype, "newlyCreated", void 0);
396
+ __decorate([
397
+ StringDataMember({ code: ParameterCode.AuthToken, isOptional: true }),
398
+ __metadata("design:type", String)
399
+ ], AuthenticateResponseData.prototype, "authToken", void 0);
400
+ __decorate([
401
+ GNHashtableDataMember({ code: ParameterCode.PlayerBan, isOptional: true }),
402
+ __metadata("design:type", GenericModels.BanItem)
403
+ ], AuthenticateResponseData.prototype, "playerBan", void 0);
404
+ AuthenticateModels.AuthenticateResponseData = AuthenticateResponseData;
405
+ class GenericServiceAuthenticateResponseData extends AuthenticateResponseData {
406
+ }
407
+ __decorate([
408
+ StringDataMember({ code: ParameterCode.ErrorMessage, isOptional: true }),
409
+ __metadata("design:type", String)
410
+ ], GenericServiceAuthenticateResponseData.prototype, "errorMessage", void 0);
411
+ AuthenticateModels.GenericServiceAuthenticateResponseData = GenericServiceAuthenticateResponseData;
412
+ class RefreshAuthTokenResponseData {
413
+ }
414
+ __decorate([
415
+ StringDataMember({ code: ParameterCode.AuthToken, isOptional: true }),
416
+ __metadata("design:type", String)
417
+ ], RefreshAuthTokenResponseData.prototype, "authToken", void 0);
418
+ __decorate([
419
+ GNHashtableDataMember({ code: ParameterCode.PlayerBan, isOptional: true }),
420
+ __metadata("design:type", GenericModels.BanItem)
421
+ ], RefreshAuthTokenResponseData.prototype, "playerBan", void 0);
422
+ AuthenticateModels.RefreshAuthTokenResponseData = RefreshAuthTokenResponseData;
423
+ class EmptyResponseData {
424
+ }
425
+ AuthenticateModels.EmptyResponseData = EmptyResponseData;
426
+ })(AuthenticateModels || (AuthenticateModels = {}));
@@ -0,0 +1,188 @@
1
+ import { OperationCode } from "./../../constant/OperationCode";
2
+ import { RequestRole } from "./../../constant/enumType/RequestRole";
3
+ import { RequestType } from "./../../constant/enumType/RequestType";
4
+ import { CustomOperationRequestAbstract } from "./../request/CustomOperationRequest";
5
+ import { AuthenticateModels } from "./AuthenticateModels";
6
+ export var AuthenticateRequestModels;
7
+ (function (AuthenticateRequestModels) {
8
+ class LoginByAccountOperationRequest extends CustomOperationRequestAbstract {
9
+ constructor(requestData, timeout) {
10
+ super(requestData, timeout);
11
+ this.operationCode = OperationCode.LoginByAccount;
12
+ this.requestType = RequestType.Authenticate;
13
+ this.role = RequestRole.Client;
14
+ this.requestDataCls = AuthenticateModels.LoginByAccountRequestData;
15
+ }
16
+ }
17
+ AuthenticateRequestModels.LoginByAccountOperationRequest = LoginByAccountOperationRequest;
18
+ class LoginByAndroidDeviceIdOperationRequest extends CustomOperationRequestAbstract {
19
+ constructor(requestData, timeout) {
20
+ super(requestData, timeout);
21
+ this.operationCode = OperationCode.LoginByAndroidDeviceId;
22
+ this.requestType = RequestType.Authenticate;
23
+ this.role = RequestRole.Client;
24
+ this.requestDataCls = AuthenticateModels.LoginByAndroidDeviceIdRequestData;
25
+ }
26
+ }
27
+ AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest = LoginByAndroidDeviceIdOperationRequest;
28
+ class LoginByAppleOperationRequest extends CustomOperationRequestAbstract {
29
+ constructor(requestData, timeout) {
30
+ super(requestData, timeout);
31
+ this.operationCode = OperationCode.LoginByApple;
32
+ this.requestType = RequestType.Authenticate;
33
+ this.role = RequestRole.Client;
34
+ this.requestDataCls = AuthenticateModels.LoginByAppleRequestData;
35
+ }
36
+ }
37
+ AuthenticateRequestModels.LoginByAppleOperationRequest = LoginByAppleOperationRequest;
38
+ class LoginByCustomDeviceIdOperationRequest extends CustomOperationRequestAbstract {
39
+ constructor(requestData, timeout) {
40
+ super(requestData, timeout);
41
+ this.operationCode = OperationCode.LoginByCustomDeviceId;
42
+ this.requestType = RequestType.Authenticate;
43
+ this.role = RequestRole.Client;
44
+ this.requestDataCls = AuthenticateModels.LoginByCustomDeviceIdRequestData;
45
+ }
46
+ }
47
+ AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest = LoginByCustomDeviceIdOperationRequest;
48
+ class LoginByCustomIdOperationRequest extends CustomOperationRequestAbstract {
49
+ constructor(requestData, timeout) {
50
+ super(requestData, timeout);
51
+ this.operationCode = OperationCode.LoginByCustomId;
52
+ this.requestType = RequestType.Authenticate;
53
+ this.role = RequestRole.Client;
54
+ this.requestDataCls = AuthenticateModels.LoginByCustomIdRequestData;
55
+ }
56
+ }
57
+ AuthenticateRequestModels.LoginByCustomIdOperationRequest = LoginByCustomIdOperationRequest;
58
+ class LoginByEditorDeviceIdOperationRequest extends CustomOperationRequestAbstract {
59
+ constructor(requestData, timeout) {
60
+ super(requestData, timeout);
61
+ this.operationCode = OperationCode.LoginByEditorDeviceId;
62
+ this.requestType = RequestType.Authenticate;
63
+ this.role = RequestRole.Client;
64
+ this.requestDataCls = AuthenticateModels.LoginByEditorDeviceIdRequestData;
65
+ }
66
+ }
67
+ AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest = LoginByEditorDeviceIdOperationRequest;
68
+ class LoginByFacebookOperationRequest extends CustomOperationRequestAbstract {
69
+ constructor(requestData, timeout) {
70
+ super(requestData, timeout);
71
+ this.operationCode = OperationCode.LoginByFacebook;
72
+ this.requestType = RequestType.Authenticate;
73
+ this.role = RequestRole.Client;
74
+ this.requestDataCls = AuthenticateModels.LoginByFacebookRequestData;
75
+ }
76
+ }
77
+ AuthenticateRequestModels.LoginByFacebookOperationRequest = LoginByFacebookOperationRequest;
78
+ class LoginByGenericServiceOperationRequest extends CustomOperationRequestAbstract {
79
+ constructor(requestData, timeout) {
80
+ super(requestData, timeout);
81
+ this.operationCode = OperationCode.LoginByGenericService;
82
+ this.requestType = RequestType.Authenticate;
83
+ this.role = RequestRole.Client;
84
+ this.requestDataCls = AuthenticateModels.LoginByGenericServiceRequestData;
85
+ }
86
+ }
87
+ AuthenticateRequestModels.LoginByGenericServiceOperationRequest = LoginByGenericServiceOperationRequest;
88
+ class LoginByGoogleOperationRequest extends CustomOperationRequestAbstract {
89
+ constructor(requestData, timeout) {
90
+ super(requestData, timeout);
91
+ this.operationCode = OperationCode.LoginByGoogle;
92
+ this.requestType = RequestType.Authenticate;
93
+ this.role = RequestRole.Client;
94
+ this.requestDataCls = AuthenticateModels.LoginByGoogleRequestData;
95
+ }
96
+ }
97
+ AuthenticateRequestModels.LoginByGoogleOperationRequest = LoginByGoogleOperationRequest;
98
+ class LoginByGooglePlayGameServiceOperationRequest extends CustomOperationRequestAbstract {
99
+ constructor(requestData, timeout) {
100
+ super(requestData, timeout);
101
+ this.operationCode = OperationCode.LoginByGooglePlayGameService;
102
+ this.requestType = RequestType.Authenticate;
103
+ this.role = RequestRole.Client;
104
+ this.requestDataCls = AuthenticateModels.LoginByGooglePlayGameServiceRequestData;
105
+ }
106
+ }
107
+ AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest = LoginByGooglePlayGameServiceOperationRequest;
108
+ class LoginByGameCenterOperationRequest extends CustomOperationRequestAbstract {
109
+ constructor(requestData, timeout) {
110
+ super(requestData, timeout);
111
+ this.operationCode = OperationCode.LoginByGameCenter;
112
+ this.requestType = RequestType.Authenticate;
113
+ this.role = RequestRole.Client;
114
+ this.requestDataCls = AuthenticateModels.LoginByGameCenterRequestData;
115
+ }
116
+ }
117
+ AuthenticateRequestModels.LoginByGameCenterOperationRequest = LoginByGameCenterOperationRequest;
118
+ class LoginByiOSDeviceIdOperationRequest extends CustomOperationRequestAbstract {
119
+ constructor(requestData, timeout) {
120
+ super(requestData, timeout);
121
+ this.operationCode = OperationCode.LoginByiOSDeviceId;
122
+ this.requestType = RequestType.Authenticate;
123
+ this.role = RequestRole.Client;
124
+ this.requestDataCls = AuthenticateModels.LoginByiOSDeviceIdRequestData;
125
+ }
126
+ }
127
+ AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest = LoginByiOSDeviceIdOperationRequest;
128
+ class LoginByLinuxDeviceIdOperationRequest extends CustomOperationRequestAbstract {
129
+ constructor(requestData, timeout) {
130
+ super(requestData, timeout);
131
+ this.operationCode = OperationCode.LoginByLinuxDeviceId;
132
+ this.requestType = RequestType.Authenticate;
133
+ this.role = RequestRole.Client;
134
+ this.requestDataCls = AuthenticateModels.LoginByLinuxDeviceIdRequestData;
135
+ }
136
+ }
137
+ AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest = LoginByLinuxDeviceIdOperationRequest;
138
+ class LoginByMacOSDeviceIdOperationRequest extends CustomOperationRequestAbstract {
139
+ constructor(requestData, timeout) {
140
+ super(requestData, timeout);
141
+ this.operationCode = OperationCode.LoginByMacOSDeviceId;
142
+ this.requestType = RequestType.Authenticate;
143
+ this.role = RequestRole.Client;
144
+ this.requestDataCls = AuthenticateModels.LoginByMacOSDeviceIdRequestData;
145
+ }
146
+ }
147
+ AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest = LoginByMacOSDeviceIdOperationRequest;
148
+ class LoginByWindowsDeviceIdOperationRequest extends CustomOperationRequestAbstract {
149
+ constructor(requestData, timeout) {
150
+ super(requestData, timeout);
151
+ this.operationCode = OperationCode.LoginByWindowsDeviceId;
152
+ this.requestType = RequestType.Authenticate;
153
+ this.role = RequestRole.Client;
154
+ this.requestDataCls = AuthenticateModels.LoginByWindowsDeviceIdRequestData;
155
+ }
156
+ }
157
+ AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest = LoginByWindowsDeviceIdOperationRequest;
158
+ class LoginByWindowsPhoneDeviceIdOperationRequest extends CustomOperationRequestAbstract {
159
+ constructor(requestData, timeout) {
160
+ super(requestData, timeout);
161
+ this.operationCode = OperationCode.LoginByWindowsPhoneDeviceId;
162
+ this.requestType = RequestType.Authenticate;
163
+ this.role = RequestRole.Client;
164
+ this.requestDataCls = AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData;
165
+ }
166
+ }
167
+ AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest = LoginByWindowsPhoneDeviceIdOperationRequest;
168
+ class RegisterAccountOperationRequest extends CustomOperationRequestAbstract {
169
+ constructor(requestData, timeout) {
170
+ super(requestData, timeout);
171
+ this.operationCode = OperationCode.RegisterAccount;
172
+ this.requestType = RequestType.Authenticate;
173
+ this.role = RequestRole.Client;
174
+ this.requestDataCls = AuthenticateModels.RegisterAccountRequestData;
175
+ }
176
+ }
177
+ AuthenticateRequestModels.RegisterAccountOperationRequest = RegisterAccountOperationRequest;
178
+ class RefreshAuthTokenOperationRequest extends CustomOperationRequestAbstract {
179
+ constructor(requestData, timeout) {
180
+ super(requestData, timeout);
181
+ this.operationCode = OperationCode.RefreshAuthToken;
182
+ this.requestType = RequestType.Authenticate;
183
+ this.role = RequestRole.Client;
184
+ this.requestDataCls = AuthenticateModels.RefreshAuthTokenRequestData;
185
+ }
186
+ }
187
+ AuthenticateRequestModels.RefreshAuthTokenOperationRequest = RefreshAuthTokenOperationRequest;
188
+ })(AuthenticateRequestModels || (AuthenticateRequestModels = {}));