@xmobitea/gn-typescript-client 2.6.12 → 2.6.13-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 (241) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +339 -34236
  3. package/dist/runtime/GNNetwork.d.ts +1 -1
  4. package/dist/runtime/GNNetwork.js +273 -0
  5. package/dist/runtime/GNNetworkAuthenticateApi.js +122 -0
  6. package/dist/runtime/GNNetworkCharacterPlayerApi.js +968 -0
  7. package/dist/runtime/GNNetworkCloudScriptApi.js +104 -0
  8. package/dist/runtime/GNNetworkContentApi.js +140 -0
  9. package/dist/runtime/GNNetworkDashboardApi.js +170 -0
  10. package/dist/runtime/GNNetworkGamePlayerApi.js +950 -0
  11. package/dist/runtime/GNNetworkGroupApi.js +734 -0
  12. package/dist/runtime/GNNetworkInventoryApi.js +626 -0
  13. package/dist/runtime/GNNetworkMasterPlayerApi.js +1550 -0
  14. package/dist/runtime/GNNetworkMultiplayerApi.js +194 -0
  15. package/dist/runtime/GNNetworkStoreInventoryApi.js +266 -0
  16. package/dist/runtime/common/Action0.js +1 -0
  17. package/dist/runtime/common/Action1.js +1 -0
  18. package/dist/runtime/common/Action2.js +1 -0
  19. package/dist/runtime/common/Action3.js +1 -0
  20. package/dist/runtime/common/Action4.js +1 -0
  21. package/dist/runtime/common/GNData.js +209 -0
  22. package/dist/runtime/config/GNServerSettings.js +156 -0
  23. package/dist/runtime/constant/Commands.js +20 -0
  24. package/dist/runtime/constant/EventCode.js +8 -0
  25. package/dist/runtime/constant/OperationCode.js +221 -0
  26. package/dist/runtime/constant/ReturnCode.js +14 -0
  27. package/dist/runtime/constant/enumType/ExecuteResponseStatus.js +8 -0
  28. package/dist/runtime/constant/enumType/FriendStatus.js +7 -0
  29. package/dist/runtime/constant/enumType/GoogleLoginType.js +5 -0
  30. package/dist/runtime/constant/enumType/GroupStatus.js +7 -0
  31. package/dist/runtime/constant/enumType/InvalidMemberType.js +18 -0
  32. package/dist/runtime/constant/enumType/ItemType.js +5 -0
  33. package/dist/runtime/constant/enumType/MatchmakingMemberStatus.js +6 -0
  34. package/dist/runtime/constant/enumType/MatchmakingTicketStatus.js +8 -0
  35. package/dist/runtime/constant/enumType/OwnerType.js +9 -0
  36. package/dist/runtime/constant/enumType/PermissionDataItem.js +5 -0
  37. package/dist/runtime/constant/enumType/PushPlatformType.js +5 -0
  38. package/dist/runtime/constant/enumType/RequestRole.js +6 -0
  39. package/dist/runtime/constant/enumType/RequestType.js +15 -0
  40. package/dist/runtime/constant/enumType/StoreItemType.js +5 -0
  41. package/dist/runtime/constant/enumType/StoreReceiveType.js +8 -0
  42. package/dist/runtime/constant/errorCode/ErrorCode.js +52 -0
  43. package/dist/runtime/constant/parameterCode/ParameterCode.js +617 -0
  44. package/dist/runtime/entity/DataMember.js +208 -0
  45. package/dist/runtime/entity/GNMetadata.js +11 -0
  46. package/dist/runtime/entity/InvalidMember.js +1 -0
  47. package/dist/runtime/entity/OperationEvent.js +24 -0
  48. package/dist/runtime/entity/OperationRequest.js +42 -0
  49. package/dist/runtime/entity/OperationResponse.js +73 -0
  50. package/dist/runtime/entity/models/AuthenticateModels.js +426 -0
  51. package/dist/runtime/entity/models/AuthenticateRequestModels.js +188 -0
  52. package/dist/runtime/entity/models/AuthenticateResponseModels.js +131 -0
  53. package/dist/runtime/entity/models/CharacterPlayerModels.js +1433 -0
  54. package/dist/runtime/entity/models/CharacterPlayerRequestModels.js +1386 -0
  55. package/dist/runtime/entity/models/CharacterPlayerResponseModels.js +376 -0
  56. package/dist/runtime/entity/models/CloudScriptModels.js +197 -0
  57. package/dist/runtime/entity/models/CloudScriptRequestModels.js +138 -0
  58. package/dist/runtime/entity/models/CloudScriptResponseModels.js +40 -0
  59. package/dist/runtime/entity/models/ContentModels.js +203 -0
  60. package/dist/runtime/entity/models/ContentRequestModels.js +190 -0
  61. package/dist/runtime/entity/models/ContentResponseModels.js +54 -0
  62. package/dist/runtime/entity/models/DashboardModels.js +3002 -0
  63. package/dist/runtime/entity/models/DashboardRequestModels.js +268 -0
  64. package/dist/runtime/entity/models/DashboardResponseModels.js +187 -0
  65. package/dist/runtime/entity/models/GamePlayerModels.js +1591 -0
  66. package/dist/runtime/entity/models/GamePlayerRequestModels.js +1360 -0
  67. package/dist/runtime/entity/models/GamePlayerResponseModels.js +369 -0
  68. package/dist/runtime/entity/models/GenericModels.js +177 -0
  69. package/dist/runtime/entity/models/GroupModels.js +1135 -0
  70. package/dist/runtime/entity/models/GroupRequestModels.js +1048 -0
  71. package/dist/runtime/entity/models/GroupResponseModels.js +285 -0
  72. package/dist/runtime/entity/models/InventoryModels.js +915 -0
  73. package/dist/runtime/entity/models/InventoryRequestModels.js +892 -0
  74. package/dist/runtime/entity/models/InventoryResponseModels.js +243 -0
  75. package/dist/runtime/entity/models/MasterPlayerModels.js +2573 -0
  76. package/dist/runtime/entity/models/MasterPlayerRequestModels.js +2228 -0
  77. package/dist/runtime/entity/models/MasterPlayerResponseModels.js +607 -0
  78. package/dist/runtime/entity/models/MultiplayerModels.js +404 -0
  79. package/dist/runtime/entity/models/MultiplayerRequestModels.js +268 -0
  80. package/dist/runtime/entity/models/MultiplayerResponseModels.js +75 -0
  81. package/dist/runtime/entity/models/StoreInventoryModels.js +797 -0
  82. package/dist/runtime/entity/models/StoreInventoryRequestModels.js +372 -0
  83. package/dist/runtime/entity/models/StoreInventoryResponseModels.js +103 -0
  84. package/dist/runtime/entity/request/CustomOperationRequest.js +24 -0
  85. package/dist/runtime/entity/response/CustomOperationResponse.js +29 -0
  86. package/dist/runtime/entity/response/GetAuthInfoResponse.js +2 -0
  87. package/dist/runtime/entity/response/HealthCheckResponse.js +2 -0
  88. package/dist/runtime/entity/response/UploadFileResponse.js +2 -0
  89. package/dist/runtime/helper/CodeHelper.js +63 -0
  90. package/dist/runtime/helper/ConverterService.js +275 -0
  91. package/dist/runtime/helper/EnumUtility.js +33 -0
  92. package/dist/runtime/helper/GNSupport.d.ts +20 -0
  93. package/dist/runtime/helper/GNSupport.js +47 -0
  94. package/dist/runtime/helper/GNUtils.js +72 -0
  95. package/dist/runtime/helper/MessagePackConverterService.js +9 -0
  96. package/dist/runtime/{entity → helper}/OperationHelper.d.ts +1 -1
  97. package/dist/runtime/helper/OperationHelper.js +24 -0
  98. package/dist/runtime/helper/StorageService.d.ts +18 -0
  99. package/dist/runtime/helper/StorageService.js +62 -0
  100. package/dist/runtime/logger/GNDebug.js +29 -0
  101. package/dist/runtime/networking/AuthenticateStatus.js +14 -0
  102. package/dist/runtime/networking/IPeer.js +1 -0
  103. package/dist/runtime/networking/NetworkingPeer.d.ts +1 -1
  104. package/dist/runtime/networking/NetworkingPeer.js +210 -0
  105. package/dist/runtime/networking/OperationPending.js +53 -0
  106. package/dist/runtime/networking/PeerBase.js +161 -0
  107. package/dist/runtime/networking/handler/IServerEventHandler.js +13 -0
  108. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.js +39 -0
  109. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.js +39 -0
  110. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.js +39 -0
  111. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.js +39 -0
  112. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.js +35 -0
  113. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.js +43 -0
  114. package/dist/runtime/networking/http/HttpPeer.js +123 -0
  115. package/dist/runtime/networking/http/NetworkingHttpPeerBase.js +9 -0
  116. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.js +179 -0
  117. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.js +130 -0
  118. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.js +165 -0
  119. package/dist/runtime/networking/socket/SocketPeer.js +115 -0
  120. package/dist/runtime/typescript/ServiceUpdate.d.ts +2 -0
  121. package/dist/runtime/typescript/ServiceUpdate.js +22 -0
  122. package/docs/COCOS_CREATOR_INTEGRATION.md +116 -0
  123. package/examples/cocos-creator/GearNExample.ts.txt +176 -0
  124. package/package.json +4 -3
  125. package/srcSwift/Package.swift +32 -0
  126. package/srcSwift/Sources/GearN/runtime/GNNetwork.swift +530 -0
  127. package/srcSwift/Sources/GearN/runtime/GNNetworkAuthenticateApi.swift +178 -0
  128. package/srcSwift/Sources/GearN/runtime/GNNetworkCharacterPlayerApi.swift +1162 -0
  129. package/srcSwift/Sources/GearN/runtime/GNNetworkCloudScriptApi.swift +154 -0
  130. package/srcSwift/Sources/GearN/runtime/GNNetworkContentApi.swift +208 -0
  131. package/srcSwift/Sources/GearN/runtime/GNNetworkDashboardApi.swift +240 -0
  132. package/srcSwift/Sources/GearN/runtime/GNNetworkGamePlayerApi.swift +1369 -0
  133. package/srcSwift/Sources/GearN/runtime/GNNetworkGroupApi.swift +1100 -0
  134. package/srcSwift/Sources/GearN/runtime/GNNetworkInventoryApi.swift +937 -0
  135. package/srcSwift/Sources/GearN/runtime/GNNetworkMasterPlayerApi.swift +2323 -0
  136. package/srcSwift/Sources/GearN/runtime/GNNetworkMultiplayerApi.swift +298 -0
  137. package/srcSwift/Sources/GearN/runtime/GNNetworkStoreInventoryApi.swift +397 -0
  138. package/srcSwift/Sources/GearN/runtime/common/Action0.swift +3 -0
  139. package/srcSwift/Sources/GearN/runtime/common/Action1.swift +3 -0
  140. package/srcSwift/Sources/GearN/runtime/common/Action2.swift +3 -0
  141. package/srcSwift/Sources/GearN/runtime/common/Action3.swift +3 -0
  142. package/srcSwift/Sources/GearN/runtime/common/Action4.swift +3 -0
  143. package/srcSwift/Sources/GearN/runtime/common/GNArray.swift +204 -0
  144. package/srcSwift/Sources/GearN/runtime/common/GNData.swift +108 -0
  145. package/srcSwift/Sources/GearN/runtime/common/GNHashtable.swift +200 -0
  146. package/srcSwift/Sources/GearN/runtime/config/GNServerSettings.swift +95 -0
  147. package/srcSwift/Sources/GearN/runtime/constant/Commands.swift +28 -0
  148. package/srcSwift/Sources/GearN/runtime/constant/EventCode.swift +10 -0
  149. package/srcSwift/Sources/GearN/runtime/constant/OperationCode.swift +252 -0
  150. package/srcSwift/Sources/GearN/runtime/constant/ReturnCode.swift +19 -0
  151. package/srcSwift/Sources/GearN/runtime/constant/enumType/ExecuteResponseStatus.swift +9 -0
  152. package/srcSwift/Sources/GearN/runtime/constant/enumType/FriendStatus.swift +8 -0
  153. package/srcSwift/Sources/GearN/runtime/constant/enumType/GoogleLoginType.swift +6 -0
  154. package/srcSwift/Sources/GearN/runtime/constant/enumType/GroupStatus.swift +8 -0
  155. package/srcSwift/Sources/GearN/runtime/constant/enumType/InvalidMemberType.swift +19 -0
  156. package/srcSwift/Sources/GearN/runtime/constant/enumType/ItemType.swift +6 -0
  157. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingMemberStatus.swift +7 -0
  158. package/srcSwift/Sources/GearN/runtime/constant/enumType/MatchmakingTicketStatus.swift +9 -0
  159. package/srcSwift/Sources/GearN/runtime/constant/enumType/OwnerType.swift +10 -0
  160. package/srcSwift/Sources/GearN/runtime/constant/enumType/PermissionDataItem.swift +6 -0
  161. package/srcSwift/Sources/GearN/runtime/constant/enumType/PushPlatformType.swift +6 -0
  162. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestRole.swift +7 -0
  163. package/srcSwift/Sources/GearN/runtime/constant/enumType/RequestType.swift +16 -0
  164. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreItemType.swift +6 -0
  165. package/srcSwift/Sources/GearN/runtime/constant/enumType/StoreReceiveType.swift +9 -0
  166. package/srcSwift/Sources/GearN/runtime/constant/errorCode/ErrorCode.swift +58 -0
  167. package/srcSwift/Sources/GearN/runtime/constant/parameterCode/ParameterCode.swift +672 -0
  168. package/srcSwift/Sources/GearN/runtime/entity/DataMember.swift +196 -0
  169. package/srcSwift/Sources/GearN/runtime/entity/GNMetadata.swift +9 -0
  170. package/srcSwift/Sources/GearN/runtime/entity/InvalidMember.swift +11 -0
  171. package/srcSwift/Sources/GearN/runtime/entity/OperationEvent.swift +38 -0
  172. package/srcSwift/Sources/GearN/runtime/entity/OperationHelper.swift +28 -0
  173. package/srcSwift/Sources/GearN/runtime/entity/OperationRequest.swift +62 -0
  174. package/srcSwift/Sources/GearN/runtime/entity/OperationResponse.swift +98 -0
  175. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateModels.swift +351 -0
  176. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateRequestModels.swift +81 -0
  177. package/srcSwift/Sources/GearN/runtime/entity/models/AuthenticateResponseModels.swift +108 -0
  178. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerModels.swift +1045 -0
  179. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerRequestModels.swift +821 -0
  180. package/srcSwift/Sources/GearN/runtime/entity/models/CharacterPlayerResponseModels.swift +588 -0
  181. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptModels.swift +187 -0
  182. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptRequestModels.swift +84 -0
  183. package/srcSwift/Sources/GearN/runtime/entity/models/CloudScriptResponseModels.swift +59 -0
  184. package/srcSwift/Sources/GearN/runtime/entity/models/ContentModels.swift +195 -0
  185. package/srcSwift/Sources/GearN/runtime/entity/models/ContentRequestModels.swift +116 -0
  186. package/srcSwift/Sources/GearN/runtime/entity/models/ContentResponseModels.swift +81 -0
  187. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardModels.swift +426 -0
  188. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardRequestModels.swift +160 -0
  189. package/srcSwift/Sources/GearN/runtime/entity/models/DashboardResponseModels.swift +82 -0
  190. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerModels.swift +1334 -0
  191. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerRequestModels.swift +643 -0
  192. package/srcSwift/Sources/GearN/runtime/entity/models/GamePlayerResponseModels.swift +213 -0
  193. package/srcSwift/Sources/GearN/runtime/entity/models/GenericModels.swift +171 -0
  194. package/srcSwift/Sources/GearN/runtime/entity/models/GroupModels.swift +850 -0
  195. package/srcSwift/Sources/GearN/runtime/entity/models/GroupRequestModels.swift +485 -0
  196. package/srcSwift/Sources/GearN/runtime/entity/models/GroupResponseModels.swift +165 -0
  197. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryModels.swift +679 -0
  198. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryRequestModels.swift +413 -0
  199. package/srcSwift/Sources/GearN/runtime/entity/models/InventoryResponseModels.swift +141 -0
  200. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerModels.swift +378 -0
  201. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerRequestModels.swift +147 -0
  202. package/srcSwift/Sources/GearN/runtime/entity/models/MasterPlayerResponseModels.swift +318 -0
  203. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerModels.swift +319 -0
  204. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerRequestModels.swift +125 -0
  205. package/srcSwift/Sources/GearN/runtime/entity/models/MultiplayerResponseModels.swift +45 -0
  206. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryModels.swift +633 -0
  207. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryRequestModels.swift +173 -0
  208. package/srcSwift/Sources/GearN/runtime/entity/models/StoreInventoryResponseModels.swift +61 -0
  209. package/srcSwift/Sources/GearN/runtime/entity/request/CustomOperationRequest.swift +42 -0
  210. package/srcSwift/Sources/GearN/runtime/entity/response/CustomOperationResponse.swift +49 -0
  211. package/srcSwift/Sources/GearN/runtime/entity/response/GetAuthInfoResponse.swift +43 -0
  212. package/srcSwift/Sources/GearN/runtime/entity/response/HealthCheckResponse.swift +86 -0
  213. package/srcSwift/Sources/GearN/runtime/entity/response/UploadFileResponse.swift +15 -0
  214. package/srcSwift/Sources/GearN/runtime/helper/CodeHelper.swift +107 -0
  215. package/srcSwift/Sources/GearN/runtime/helper/ConverterService.swift +98 -0
  216. package/srcSwift/Sources/GearN/runtime/helper/EnumUtility.swift +34 -0
  217. package/srcSwift/Sources/GearN/runtime/helper/GNSupport.swift +41 -0
  218. package/srcSwift/Sources/GearN/runtime/helper/GNUtils.swift +66 -0
  219. package/srcSwift/Sources/GearN/runtime/helper/MessagePackConverterService.swift +21 -0
  220. package/srcSwift/Sources/GearN/runtime/helper/StorageService.swift +29 -0
  221. package/srcSwift/Sources/GearN/runtime/logger/GNDebug.swift +33 -0
  222. package/srcSwift/Sources/GearN/runtime/networking/AuthenticateStatus.swift +24 -0
  223. package/srcSwift/Sources/GearN/runtime/networking/IPeer.swift +8 -0
  224. package/srcSwift/Sources/GearN/runtime/networking/NetworkingPeer.swift +368 -0
  225. package/srcSwift/Sources/GearN/runtime/networking/OperationPending.swift +81 -0
  226. package/srcSwift/Sources/GearN/runtime/networking/PeerBase.swift +228 -0
  227. package/srcSwift/Sources/GearN/runtime/networking/handler/IServerEventHandler.swift +20 -0
  228. package/srcSwift/Sources/GearN/runtime/networking/http/HttpPeer.swift +226 -0
  229. package/srcSwift/Sources/GearN/runtime/networking/http/HttpTypes.swift +24 -0
  230. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingHttpPeerBase.swift +13 -0
  231. package/srcSwift/Sources/GearN/runtime/networking/http/NetworkingPeerUrlSession.swift +125 -0
  232. package/srcSwift/Sources/GearN/runtime/networking/request/NetRequest.swift +19 -0
  233. package/srcSwift/Sources/GearN/runtime/networking/response/NetResponse.swift +13 -0
  234. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingPeerSocketIOClient.swift +244 -0
  235. package/srcSwift/Sources/GearN/runtime/networking/socket/NetworkingSocketPeerBase.swift +59 -0
  236. package/srcSwift/Sources/GearN/runtime/networking/socket/SocketPeer.swift +136 -0
  237. package/tsconfig-build.cocos.json +31 -0
  238. package/webpack.config.cocos.mjs +78 -0
  239. package/dist/gearn.js.client.js +0 -47228
  240. package/dist/gearn.js.client.min.js +0 -2
  241. package/dist/gearn.js.client.min.js.LICENSE.txt +0 -14
@@ -0,0 +1,178 @@
1
+ import Foundation
2
+
3
+ public class AuthenticateApi {
4
+ public var server: ServerAuthenticateApi = ServerAuthenticateApi()
5
+ public var admin: AdminAuthenticateApi = AdminAuthenticateApi()
6
+
7
+ public init() {}
8
+
9
+ // MARK: - loginByAccount
10
+ public func loginByAccount(requestData: AuthenticateModels.LoginByAccountRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
11
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAccountOperationResponse.self)
12
+ }
13
+
14
+ public func loginByAccountAsync(requestData: AuthenticateModels.LoginByAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByAccountOperationResponse {
15
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAccountOperationResponse.self)
16
+ }
17
+
18
+ // MARK: - loginByAndroidDeviceId
19
+ public func loginByAndroidDeviceId(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
20
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse.self)
21
+ }
22
+
23
+ public func loginByAndroidDeviceIdAsync(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse {
24
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse.self)
25
+ }
26
+
27
+ // MARK: - loginByApple
28
+ public func loginByApple(requestData: AuthenticateModels.LoginByAppleRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByAppleOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
29
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByAppleOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAppleOperationResponse.self)
30
+ }
31
+
32
+ public func loginByAppleAsync(requestData: AuthenticateModels.LoginByAppleRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByAppleOperationResponse {
33
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByAppleOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByAppleOperationResponse.self)
34
+ }
35
+
36
+ // MARK: - loginByCustomDeviceId
37
+ public func loginByCustomDeviceId(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
38
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse.self)
39
+ }
40
+
41
+ public func loginByCustomDeviceIdAsync(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse {
42
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse.self)
43
+ }
44
+
45
+ // MARK: - loginByCustomId
46
+ public func loginByCustomId(requestData: AuthenticateModels.LoginByCustomIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByCustomIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
47
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByCustomIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByCustomIdOperationResponse.self)
48
+ }
49
+
50
+ public func loginByCustomIdAsync(requestData: AuthenticateModels.LoginByCustomIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByCustomIdOperationResponse {
51
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByCustomIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByCustomIdOperationResponse.self)
52
+ }
53
+
54
+ // MARK: - loginByEditorDeviceId
55
+ public func loginByEditorDeviceId(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
56
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse.self)
57
+ }
58
+
59
+ public func loginByEditorDeviceIdAsync(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse {
60
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse.self)
61
+ }
62
+
63
+ // MARK: - loginByFacebook
64
+ public func loginByFacebook(requestData: AuthenticateModels.LoginByFacebookRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByFacebookOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
65
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByFacebookOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByFacebookOperationResponse.self)
66
+ }
67
+
68
+ public func loginByFacebookAsync(requestData: AuthenticateModels.LoginByFacebookRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByFacebookOperationResponse {
69
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByFacebookOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByFacebookOperationResponse.self)
70
+ }
71
+
72
+ // MARK: - loginByGenericService
73
+ public func loginByGenericService(requestData: AuthenticateModels.LoginByGenericServiceRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByGenericServiceOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
74
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByGenericServiceOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGenericServiceOperationResponse.self)
75
+ }
76
+
77
+ public func loginByGenericServiceAsync(requestData: AuthenticateModels.LoginByGenericServiceRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByGenericServiceOperationResponse {
78
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByGenericServiceOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGenericServiceOperationResponse.self)
79
+ }
80
+
81
+ // MARK: - loginByGoogle
82
+ public func loginByGoogle(requestData: AuthenticateModels.LoginByGoogleRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByGoogleOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
83
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByGoogleOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGoogleOperationResponse.self)
84
+ }
85
+
86
+ public func loginByGoogleAsync(requestData: AuthenticateModels.LoginByGoogleRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByGoogleOperationResponse {
87
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByGoogleOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGoogleOperationResponse.self)
88
+ }
89
+
90
+ // MARK: - loginByGooglePlayGameService
91
+ public func loginByGooglePlayGameService(requestData: AuthenticateModels.LoginByGooglePlayGameServiceRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
92
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse.self)
93
+ }
94
+
95
+ public func loginByGooglePlayGameServiceAsync(requestData: AuthenticateModels.LoginByGooglePlayGameServiceRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse {
96
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse.self)
97
+ }
98
+
99
+ // MARK: - loginByGameCenter
100
+ public func loginByGameCenter(requestData: AuthenticateModels.LoginByGameCenterRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByGameCenterOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
101
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByGameCenterOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGameCenterOperationResponse.self)
102
+ }
103
+
104
+ public func loginByGameCenterAsync(requestData: AuthenticateModels.LoginByGameCenterRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByGameCenterOperationResponse {
105
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByGameCenterOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByGameCenterOperationResponse.self)
106
+ }
107
+
108
+ // MARK: - loginByiOSDeviceId
109
+ public func loginByiOSDeviceId(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
110
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse.self)
111
+ }
112
+
113
+ public func loginByiOSDeviceIdAsync(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse {
114
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse.self)
115
+ }
116
+
117
+ // MARK: - loginByLinuxDeviceId
118
+ public func loginByLinuxDeviceId(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
119
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse.self)
120
+ }
121
+
122
+ public func loginByLinuxDeviceIdAsync(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse {
123
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse.self)
124
+ }
125
+
126
+ // MARK: - loginByMacOSDeviceId
127
+ public func loginByMacOSDeviceId(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
128
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse.self)
129
+ }
130
+
131
+ public func loginByMacOSDeviceIdAsync(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse {
132
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse.self)
133
+ }
134
+
135
+ // MARK: - loginByWindowsDeviceId
136
+ public func loginByWindowsDeviceId(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
137
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse.self)
138
+ }
139
+
140
+ public func loginByWindowsDeviceIdAsync(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse {
141
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse.self)
142
+ }
143
+
144
+ // MARK: - loginByWindowsPhoneDeviceId
145
+ public func loginByWindowsPhoneDeviceId(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, onResponse: Action1<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
146
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse.self)
147
+ }
148
+
149
+ public func loginByWindowsPhoneDeviceIdAsync(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse {
150
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse.self)
151
+ }
152
+
153
+ // MARK: - registerAccount
154
+ public func registerAccount(requestData: AuthenticateModels.RegisterAccountRequestData, onResponse: Action1<AuthenticateResponseModels.RegisterAccountOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
155
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.RegisterAccountOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.RegisterAccountOperationResponse.self)
156
+ }
157
+
158
+ public func registerAccountAsync(requestData: AuthenticateModels.RegisterAccountRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.RegisterAccountOperationResponse {
159
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.RegisterAccountOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.RegisterAccountOperationResponse.self)
160
+ }
161
+
162
+ // MARK: - refreshAuthToken
163
+ public func refreshAuthToken(requestData: AuthenticateModels.RefreshAuthTokenRequestData, onResponse: Action1<AuthenticateResponseModels.RefreshAuthTokenOperationResponse>? = nil, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) {
164
+ GNNetwork.sendViaHttpTRequestTResponse(request: AuthenticateRequestModels.RefreshAuthTokenOperationRequest(requestData: requestData, timeout: timeout), onResponse: onResponse, overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.RefreshAuthTokenOperationResponse.self)
165
+ }
166
+
167
+ public func refreshAuthTokenAsync(requestData: AuthenticateModels.RefreshAuthTokenRequestData, overrideAuthToken: String? = nil, overrideSecretKey: String? = nil, customTags: GNHashtable? = nil, timeout: Int = OperationRequest.defaultTimeOut) async -> AuthenticateResponseModels.RefreshAuthTokenOperationResponse {
168
+ return await GNNetwork.sendViaHttpTRequestTResponseAsync(request: AuthenticateRequestModels.RefreshAuthTokenOperationRequest(requestData: requestData, timeout: timeout), overrideAuthToken: overrideAuthToken, overrideSecretKey: overrideSecretKey, customTags: customTags, responseType: AuthenticateResponseModels.RefreshAuthTokenOperationResponse.self)
169
+ }
170
+ }
171
+
172
+ public class ServerAuthenticateApi {
173
+ public init() {}
174
+ }
175
+
176
+ public class AdminAuthenticateApi {
177
+ public init() {}
178
+ }