@xmobitea/gn-typescript-client 2.0.4 → 2.0.6

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 (105) hide show
  1. package/GNServerSettingsConfig.debug.json +3 -3
  2. package/dist/gn.js.client.js +50188 -0
  3. package/dist/gn.js.client.min.js +1 -1
  4. package/dist/index.d.ts +190 -190
  5. package/dist/index.js +24803 -22847
  6. package/dist/runtime/GNNetwork.d.ts +66 -67
  7. package/dist/runtime/GNNetworkAuthenticateApi.d.ts +28 -27
  8. package/dist/runtime/GNNetworkCharacterPlayerApi.d.ts +156 -156
  9. package/dist/runtime/GNNetworkContentApi.d.ts +33 -33
  10. package/dist/runtime/GNNetworkDashboardApi.d.ts +30 -30
  11. package/dist/runtime/GNNetworkGamePlayerApi.d.ts +153 -153
  12. package/dist/runtime/GNNetworkGroupApi.d.ts +120 -120
  13. package/dist/runtime/GNNetworkInventoryApi.d.ts +108 -108
  14. package/dist/runtime/GNNetworkMasterPlayerApi.d.ts +217 -217
  15. package/dist/runtime/GNNetworkStoreInventoryApi.d.ts +39 -39
  16. package/dist/runtime/common/Action0.d.ts +1 -1
  17. package/dist/runtime/common/Action1.d.ts +1 -1
  18. package/dist/runtime/common/Action2.d.ts +1 -1
  19. package/dist/runtime/common/Action3.d.ts +1 -1
  20. package/dist/runtime/common/Action4.d.ts +1 -1
  21. package/dist/runtime/common/GNData.d.ts +69 -69
  22. package/dist/runtime/config/GNServerSettings.d.ts +64 -64
  23. package/dist/runtime/constant/Commands.d.ts +17 -17
  24. package/dist/runtime/constant/EventCode.d.ts +8 -8
  25. package/dist/runtime/constant/OperationCode.d.ts +175 -174
  26. package/dist/runtime/constant/ReturnCode.d.ts +14 -14
  27. package/dist/runtime/constant/enumType/FriendStatus.d.ts +6 -6
  28. package/dist/runtime/constant/enumType/GoogleLoginType.d.ts +4 -4
  29. package/dist/runtime/constant/enumType/GroupStatus.d.ts +6 -6
  30. package/dist/runtime/constant/enumType/InvalidMemberType.d.ts +17 -17
  31. package/dist/runtime/constant/enumType/ItemType.d.ts +4 -4
  32. package/dist/runtime/constant/enumType/LoginType.d.ts +10 -10
  33. package/dist/runtime/constant/enumType/OwnerType.d.ts +6 -6
  34. package/dist/runtime/constant/enumType/PermissionDataItem.d.ts +4 -4
  35. package/dist/runtime/constant/enumType/RequestRole.d.ts +5 -5
  36. package/dist/runtime/constant/enumType/RequestType.d.ts +12 -12
  37. package/dist/runtime/constant/enumType/StatisticsAggregationMethod.d.ts +6 -6
  38. package/dist/runtime/constant/enumType/UserRoleType.d.ts +8 -8
  39. package/dist/runtime/constant/errorCode/GNErrorCode.d.ts +40 -39
  40. package/dist/runtime/constant/parameterCode/GNParameterCode.d.ts +376 -375
  41. package/dist/runtime/constant/parameterCode/ParameterCode.d.ts +6 -6
  42. package/dist/runtime/entity/DataMember.d.ts +77 -77
  43. package/dist/runtime/entity/GNMetadata.d.ts +22 -22
  44. package/dist/runtime/entity/InvalidMember.d.ts +5 -5
  45. package/dist/runtime/entity/OperationEvent.d.ts +14 -14
  46. package/dist/runtime/entity/OperationHelper.d.ts +7 -7
  47. package/dist/runtime/entity/OperationRequest.d.ts +21 -21
  48. package/dist/runtime/entity/OperationResponse.d.ts +27 -27
  49. package/dist/runtime/entity/models/AuthenticateModels.d.ts +116 -108
  50. package/dist/runtime/entity/models/AuthenticateRequestModels.d.ts +118 -111
  51. package/dist/runtime/entity/models/AuthenticateResponseModels.d.ts +52 -34
  52. package/dist/runtime/entity/models/CharacterPlayerModels.d.ts +493 -493
  53. package/dist/runtime/entity/models/CharacterPlayerRequestModels.d.ts +726 -726
  54. package/dist/runtime/entity/models/CharacterPlayerResponseModels.d.ts +148 -100
  55. package/dist/runtime/entity/models/ContentModels.d.ts +90 -90
  56. package/dist/runtime/entity/models/ContentRequestModels.d.ts +111 -111
  57. package/dist/runtime/entity/models/ContentResponseModels.d.ts +25 -18
  58. package/dist/runtime/entity/models/DashboardModels.d.ts +546 -545
  59. package/dist/runtime/entity/models/DashboardRequestModels.d.ts +132 -132
  60. package/dist/runtime/entity/models/DashboardResponseModels.d.ts +58 -40
  61. package/dist/runtime/entity/models/GamePlayerModels.d.ts +531 -531
  62. package/dist/runtime/entity/models/GamePlayerRequestModels.d.ts +711 -711
  63. package/dist/runtime/entity/models/GamePlayerResponseModels.d.ts +145 -98
  64. package/dist/runtime/entity/models/GenericModels.d.ts +59 -59
  65. package/dist/runtime/entity/models/GroupModels.d.ts +387 -387
  66. package/dist/runtime/entity/models/GroupRequestModels.d.ts +546 -546
  67. package/dist/runtime/entity/models/GroupResponseModels.d.ts +112 -76
  68. package/dist/runtime/entity/models/InventoryModels.d.ts +331 -331
  69. package/dist/runtime/entity/models/InventoryRequestModels.d.ts +486 -486
  70. package/dist/runtime/entity/models/InventoryResponseModels.d.ts +100 -68
  71. package/dist/runtime/entity/models/MasterPlayerModels.d.ts +767 -767
  72. package/dist/runtime/entity/models/MasterPlayerRequestModels.d.ts +1033 -1033
  73. package/dist/runtime/entity/models/MasterPlayerResponseModels.d.ts +211 -142
  74. package/dist/runtime/entity/models/StoreInventoryModels.d.ts +187 -187
  75. package/dist/runtime/entity/models/StoreInventoryRequestModels.d.ts +141 -141
  76. package/dist/runtime/entity/models/StoreInventoryResponseModels.d.ts +31 -22
  77. package/dist/runtime/entity/request/CustomOperationRequest.d.ts +21 -19
  78. package/dist/runtime/entity/response/CustomOperationResponse.d.ts +20 -19
  79. package/dist/runtime/helper/CodeHelper.d.ts +15 -15
  80. package/dist/runtime/helper/ConverterService.d.ts +14 -14
  81. package/dist/runtime/helper/GNSupport.d.ts +5 -5
  82. package/dist/runtime/logger/GNDebug.d.ts +15 -15
  83. package/dist/runtime/networking/AuthenticateStatus.d.ts +8 -11
  84. package/dist/runtime/networking/IPeer.d.ts +12 -12
  85. package/dist/runtime/networking/NetworkingPeer.d.ts +40 -40
  86. package/dist/runtime/networking/OperationPending.d.ts +30 -30
  87. package/dist/runtime/networking/PeerBase.d.ts +30 -30
  88. package/dist/runtime/networking/handler/IServerEventHandler.d.ts +14 -14
  89. package/dist/runtime/networking/handler/OnCharacterPlayerFriendUpdateEventHandler.d.ts +13 -13
  90. package/dist/runtime/networking/handler/OnCharacterPlayerGroupUpdateEventHandler.d.ts +13 -13
  91. package/dist/runtime/networking/handler/OnGamePlayerFriendUpdateEventHandler.d.ts +13 -13
  92. package/dist/runtime/networking/handler/OnGamePlayerGroupUpdateEventHandler.d.ts +13 -13
  93. package/dist/runtime/networking/handler/OnGroupMemberUpdateEventHandler.d.ts +12 -12
  94. package/dist/runtime/networking/handler/OnGroupMessageUpdateEventHandler.d.ts +12 -12
  95. package/dist/runtime/networking/http/HttpPeer.d.ts +24 -24
  96. package/dist/runtime/networking/http/NetworkingHttpPeerBase.d.ts +11 -11
  97. package/dist/runtime/networking/http/NetworkingPeerAxiosRequest.d.ts +13 -13
  98. package/dist/runtime/networking/socket/NetworkingPeerSocketIOClient.d.ts +25 -25
  99. package/dist/runtime/networking/socket/NetworkingSocketPeerBase.d.ts +48 -48
  100. package/dist/runtime/networking/socket/SocketPeer.d.ts +28 -28
  101. package/dist/runtime/typescript/ServiceUpdate.d.ts +6 -6
  102. package/package.json +16 -14
  103. package/tsconfig-build.min.udm.json +13 -0
  104. package/tsconfig.min.udm.json +9 -0
  105. package/webpack.config.min.udm.js +48 -0
@@ -1,67 +1,66 @@
1
- import { Action0 } from "./common/Action0";
2
- import { Action1 } from "./common/Action1";
3
- import { GNHashtable } from "./common/GNData";
4
- import { GNServerSettings } from "./config/GNServerSettings";
5
- import { OperationRequest } from "./entity/OperationRequest";
6
- import { OperationResponse } from "./entity/OperationResponse";
7
- import { IServerEventHandler } from "./networking/handler/IServerEventHandler";
8
- import { NetworkingPeer } from "./networking/NetworkingPeer";
9
- import { OperationEvent } from "./entity/OperationEvent";
10
- import { AuthenticateStatus } from "./networking/AuthenticateStatus";
11
- import { RequestType } from "./constant/enumType/RequestType";
12
- import { RequestRole } from "./constant/enumType/RequestRole";
13
- import { CustomOperationRequest } from "./entity/request/CustomOperationRequest";
14
- import { CustomOperationResponse } from "./entity/response/CustomOperationResponse";
15
- import { Constructor } from "./entity/GNMetadata";
16
- import { AuthenticateApi } from "./GNNetworkAuthenticateApi";
17
- import { CharacterPlayerApi } from "./GNNetworkCharacterPlayerApi";
18
- import { ContentApi } from "./GNNetworkContentApi";
19
- import { DashboardApi } from "./GNNetworkDashboardApi";
20
- import { GamePlayerApi } from "./GNNetworkGamePlayerApi";
21
- import { GroupApi } from "./GNNetworkGroupApi";
22
- import { InventoryApi } from "./GNNetworkInventoryApi";
23
- import { MasterPlayerApi } from "./GNNetworkMasterPlayerApi";
24
- import { StoreInventoryApi } from "./GNNetworkStoreInventoryApi";
25
- export declare class GNNetwork {
26
- static readonly AUTH_TOKEN_KEY = "[GN]_AUTH_TOKEN_KEY";
27
- static readonly USER_ID_KEY = "[GN]_USER_ID_KEY";
28
- static readonly AUTH_TOKEN_TS_EXPIRE_KEY = "[GN]_AUTH_TOKEN_TS_EXPIRE_KEY";
29
- private static gnServerSettings;
30
- static getGNServerSettings(): GNServerSettings;
31
- static peer: NetworkingPeer;
32
- static getPing(): number;
33
- static getSocketSId(): string;
34
- static isSocketConnected(): boolean;
35
- static getServerTimestamp(): number;
36
- static getAuthenticateStatus(): AuthenticateStatus;
37
- static getPlatform(): number;
38
- static authenticate: AuthenticateApi;
39
- static characterPlayer: CharacterPlayerApi;
40
- static content: ContentApi;
41
- static dashboard: DashboardApi;
42
- static gamePlayer: GamePlayerApi;
43
- static group: GroupApi;
44
- static inventory: InventoryApi;
45
- static masterPlayer: MasterPlayerApi;
46
- static storeInventory: StoreInventoryApi;
47
- static init(gnServerSettings: GNServerSettings): void;
48
- static getClientSdkVersion(): string;
49
- private static initServerSettings;
50
- private static initGNDebug;
51
- private static initGNSocketObject;
52
- static sendViaSocket(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
53
- static sendViaHttp(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
54
- static sendViaSocketTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, cls: Constructor<TResponse>): void;
55
- static sendViaHttpTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, cls: Constructor<TResponse>): void;
56
- static sendViaSocketTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, cls: Constructor<TResponse>): void;
57
- static sendViaHttpTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, cls: Constructor<TResponse>): void;
58
- static connectSocket(_onSocketConnect?: Action0): void;
59
- static disconnectSocket(_onSocketDisconnect?: Action0): void;
60
- static setOnEventHandler(_onEventHandler: Action1<OperationEvent>): void;
61
- static subscriberOnConnectHandler(_onConnectHandler: Action0): void;
62
- static subscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
63
- static unscriberOnConnectHandler(_onConnectHandler: Action0): void;
64
- static unsubscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
65
- static subscriberServerEventHandler(serverEventHandler: IServerEventHandler): void;
66
- static syncTs(onResponse?: Action1<number>): void;
67
- }
1
+ import { Action0 } from "./common/Action0";
2
+ import { Action1 } from "./common/Action1";
3
+ import { GNHashtable } from "./common/GNData";
4
+ import { GNServerSettings } from "./config/GNServerSettings";
5
+ import { OperationRequest } from "./entity/OperationRequest";
6
+ import { OperationResponse } from "./entity/OperationResponse";
7
+ import { IServerEventHandler } from "./networking/handler/IServerEventHandler";
8
+ import { NetworkingPeer } from "./networking/NetworkingPeer";
9
+ import { OperationEvent } from "./entity/OperationEvent";
10
+ import { AuthenticateStatus } from "./networking/AuthenticateStatus";
11
+ import { RequestType } from "./constant/enumType/RequestType";
12
+ import { RequestRole } from "./constant/enumType/RequestRole";
13
+ import { CustomOperationRequest } from "./entity/request/CustomOperationRequest";
14
+ import { CustomOperationResponse } from "./entity/response/CustomOperationResponse";
15
+ import { Constructor } from "./entity/GNMetadata";
16
+ import { AuthenticateApi } from "./GNNetworkAuthenticateApi";
17
+ import { CharacterPlayerApi } from "./GNNetworkCharacterPlayerApi";
18
+ import { ContentApi } from "./GNNetworkContentApi";
19
+ import { DashboardApi } from "./GNNetworkDashboardApi";
20
+ import { GamePlayerApi } from "./GNNetworkGamePlayerApi";
21
+ import { GroupApi } from "./GNNetworkGroupApi";
22
+ import { InventoryApi } from "./GNNetworkInventoryApi";
23
+ import { MasterPlayerApi } from "./GNNetworkMasterPlayerApi";
24
+ import { StoreInventoryApi } from "./GNNetworkStoreInventoryApi";
25
+ export declare class GNNetwork {
26
+ static readonly AUTH_TOKEN_KEY = "[GN]_AUTH_TOKEN_KEY";
27
+ static readonly USER_ID_KEY = "[GN]_USER_ID_KEY";
28
+ private static gnServerSettings;
29
+ static getGNServerSettings(): GNServerSettings;
30
+ static peer: NetworkingPeer;
31
+ static getPing(): number;
32
+ static getSocketSId(): string;
33
+ static isSocketConnected(): boolean;
34
+ static getServerTimestamp(): number;
35
+ static getAuthenticateStatus(): AuthenticateStatus;
36
+ static getPlatform(): number;
37
+ static authenticate: AuthenticateApi;
38
+ static characterPlayer: CharacterPlayerApi;
39
+ static content: ContentApi;
40
+ static dashboard: DashboardApi;
41
+ static gamePlayer: GamePlayerApi;
42
+ static group: GroupApi;
43
+ static inventory: InventoryApi;
44
+ static masterPlayer: MasterPlayerApi;
45
+ static storeInventory: StoreInventoryApi;
46
+ static init(gnServerSettings: GNServerSettings): void;
47
+ static getClientSdkVersion(): string;
48
+ private static initServerSettings;
49
+ private static initGNDebug;
50
+ private static initGNSocketObject;
51
+ static sendViaSocket(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
52
+ static sendViaHttp(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<OperationResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable): void;
53
+ static sendViaSocketTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
54
+ static sendViaHttpTRequestTResponse<TRequest extends CustomOperationRequest, TResponse extends CustomOperationResponse>(request: TRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
55
+ static sendViaSocketTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
56
+ static sendViaHttpTResponse<TResponse extends CustomOperationResponse>(requestType: RequestType, requestRole: RequestRole, request: OperationRequest, onResponse: Action1<TResponse>, overrideAuthToken: string, overrideSecretKey: string, customTags: GNHashtable, customOperationResponseCls: Constructor<TResponse>): void;
57
+ static connectSocket(_onSocketConnect?: Action0): void;
58
+ static disconnectSocket(_onSocketDisconnect?: Action0): void;
59
+ static setOnEventHandler(_onEventHandler: Action1<OperationEvent>): void;
60
+ static subscriberOnConnectHandler(_onConnectHandler: Action0): void;
61
+ static subscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
62
+ static unscriberOnConnectHandler(_onConnectHandler: Action0): void;
63
+ static unsubscriberOnDisconnectHandler(_onDisconnectHandler: Action0): void;
64
+ static subscriberServerEventHandler(serverEventHandler: IServerEventHandler): void;
65
+ static syncTs(onResponse?: Action1<number>): void;
66
+ }
@@ -1,27 +1,28 @@
1
- import { Action1 } from "./common/Action1";
2
- import { GNHashtable } from "./common/GNData";
3
- import { AuthenticateModels } from "./entity/models/AuthenticateModels";
4
- import { AuthenticateResponseModels } from "./entity/models/AuthenticateResponseModels";
5
- export declare class AuthenticateApi {
6
- server: ServerAuthenticateApi;
7
- admin: AdminAuthenticateApi;
8
- loginByAccount(requestData: AuthenticateModels.LoginByAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
9
- loginByAndroidDeviceId(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
10
- loginByApple(requestData: AuthenticateModels.LoginByAppleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAppleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
11
- loginByCustomDeviceId(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
12
- loginByCustomId(requestData: AuthenticateModels.LoginByCustomIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
13
- loginByEditorDeviceId(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
14
- loginByFacebook(requestData: AuthenticateModels.LoginByFacebookRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByFacebookOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
15
- loginByGenericService(requestData: AuthenticateModels.LoginByGenericServiceRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGenericServiceOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
16
- loginByGoogle(requestData: AuthenticateModels.LoginByGoogleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGoogleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
17
- loginByiOSDeviceId(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
18
- loginByLinuxDeviceId(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
19
- loginByMacOSDeviceId(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
20
- loginByWindowsDeviceId(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
21
- loginByWindowsPhoneDeviceId(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
22
- registerAccount(requestData: AuthenticateModels.RegisterAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.RegisterAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
23
- }
24
- export declare class ServerAuthenticateApi {
25
- }
26
- export declare class AdminAuthenticateApi {
27
- }
1
+ import { Action1 } from "./common/Action1";
2
+ import { GNHashtable } from "./common/GNData";
3
+ import { AuthenticateModels } from "./entity/models/AuthenticateModels";
4
+ import { AuthenticateResponseModels } from "./entity/models/AuthenticateResponseModels";
5
+ export declare class AuthenticateApi {
6
+ server: ServerAuthenticateApi;
7
+ admin: AdminAuthenticateApi;
8
+ loginByAccount(requestData: AuthenticateModels.LoginByAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
9
+ loginByAndroidDeviceId(requestData: AuthenticateModels.LoginByAndroidDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
10
+ loginByApple(requestData: AuthenticateModels.LoginByAppleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByAppleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
11
+ loginByCustomDeviceId(requestData: AuthenticateModels.LoginByCustomDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
12
+ loginByCustomId(requestData: AuthenticateModels.LoginByCustomIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByCustomIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
13
+ loginByEditorDeviceId(requestData: AuthenticateModels.LoginByEditorDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
14
+ loginByFacebook(requestData: AuthenticateModels.LoginByFacebookRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByFacebookOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
15
+ loginByGenericService(requestData: AuthenticateModels.LoginByGenericServiceRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGenericServiceOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
16
+ loginByGoogle(requestData: AuthenticateModels.LoginByGoogleRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByGoogleOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
17
+ loginByiOSDeviceId(requestData: AuthenticateModels.LoginByiOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
18
+ loginByLinuxDeviceId(requestData: AuthenticateModels.LoginByLinuxDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
19
+ loginByMacOSDeviceId(requestData: AuthenticateModels.LoginByMacOSDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
20
+ loginByWindowsDeviceId(requestData: AuthenticateModels.LoginByWindowsDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
21
+ loginByWindowsPhoneDeviceId(requestData: AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData, onResponse?: Action1<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
22
+ registerAccount(requestData: AuthenticateModels.RegisterAccountRequestData, onResponse?: Action1<AuthenticateResponseModels.RegisterAccountOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
23
+ refreshAuthToken(requestData: AuthenticateModels.RefreshAuthTokenRequestData, onResponse?: Action1<AuthenticateResponseModels.RefreshAuthTokenOperationResponse>, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void;
24
+ }
25
+ export declare class ServerAuthenticateApi {
26
+ }
27
+ export declare class AdminAuthenticateApi {
28
+ }