/** * Canonical operation-code strings recognised by the GearN backend. * * Every typed `*OperationRequest` wrapper sets one of these values * as its `operationCode`, the SDK transports embed the value into * the wire frame produced by {@link OperationHelper.toSocketData} * and the URL produced by {@link HttpPeer.send}, and log lines * surface the same string for traceability. * * Grouping inside this class mirrors the backend's capability * areas (dashboard / authenticate / link / unlink / character / * game-player / master-player / group / inventory / store / * multiplayer / cloudscript / content). Each group maps roughly * to a {@link RequestType} value and to a public `*Api` * namespace on {@link GNNetwork}, but the mapping is not strictly * one-to-one: dashboard operations span several `*Api` instances * (`.dashboard`, `.authenticate.admin`, ...) because the backend * resolves the role from the auth token rather than from a * dedicated request type. * * Adding a new code: extend the matching group and ship a typed * wrapper that references the new name, plus the matching method * on the relevant `*Api` class. Renaming an existing code requires * a coordinated backend change. */ export declare class OperationCode { /** * Dashboard and administrative maintenance operations. */ static readonly LoginByAdminAccount: string; static readonly ChangePasswordAdminAccount: string; static readonly GetGameList: string; static readonly GetMasterGameSettings: string; static readonly SetMasterGameSettings: string; static readonly CreateAdminAccount: string; static readonly RemoveAdminAccount: string; static readonly SetPasswordAdminAccount: string; static readonly SetSecretKeyAdminAccount: string; static readonly GetGameInformation: string; static readonly SetGameInformation: string; static readonly GetAdminAccountList: string; static readonly CreateGame: string; static readonly GetServerLog: string; static readonly GetSecretInfoInformation: string; static readonly GetSecretInfoList: string; static readonly CreateSecretInfo: string; static readonly SetSecretInfoInformation: string; static readonly GetUsernameAdminAccount: string; static readonly GetAnalytics: string; static readonly GetEventCallbackCloudScript: string; static readonly SetEventCallbackCloudScript: string; static readonly ResetStatisticsLeaderboard: string; static readonly GetBackupStatisticsLeaderboardVersion: string; static readonly GetServerGameData: string; static readonly DeleteInDatabase: string; /** * Client authentication and account-bootstrap operations. */ static readonly LoginByAccount: string; static readonly LoginByAndroidDeviceId: string; static readonly LoginByApple: string; static readonly LoginByCustomDeviceId: string; static readonly LoginByCustomId: string; static readonly LoginByEditorDeviceId: string; static readonly LoginByFacebook: string; static readonly LoginByGenericService: string; static readonly LoginByGoogle: string; static readonly LoginByiOSDeviceId: string; static readonly LoginByLinuxDeviceId: string; static readonly LoginByMacOSDeviceId: string; static readonly LoginByWindowsDeviceId: string; static readonly LoginByWindowsPhoneDeviceId: string; static readonly RegisterAccount: string; /** * External identity link operations for existing accounts. */ static readonly LinkAccount: string; static readonly LinkAndroidDeviceId: string; static readonly LinkApple: string; static readonly LinkCustomDeviceId: string; static readonly LinkCustomId: string; static readonly LinkEditorDeviceId: string; static readonly LinkFacebook: string; static readonly LinkGenericService: string; static readonly LinkGoogle: string; static readonly LinkiOSDeviceId: string; static readonly LinkLinuxDeviceId: string; static readonly LinkMacOSDeviceId: string; static readonly LinkWindowsDeviceId: string; static readonly LinkWindowsPhoneDeviceId: string; /** * External identity unlink operations for existing accounts. */ static readonly UnlinkAccount: string; static readonly UnlinkAndroidDeviceId: string; static readonly UnlinkApple: string; static readonly UnlinkCustomDeviceId: string; static readonly UnlinkCustomId: string; static readonly UnlinkEditorDeviceId: string; static readonly UnlinkFacebook: string; static readonly UnlinkGenericService: string; static readonly UnlinkGoogle: string; static readonly UnlinkiOSDeviceId: string; static readonly UnlinkLinuxDeviceId: string; static readonly UnlinkMacOSDeviceId: string; static readonly UnlinkWindowsDeviceId: string; static readonly UnlinkWindowsPhoneDeviceId: string; /** * Shared profile metadata operations reused across player-like entities. */ static readonly AddSegment: string; static readonly RemoveSegment: string; static readonly GetSegment: string; static readonly SetTag: string; static readonly GetTag: string; static readonly SetDisplayName: string; static readonly GetDisplayName: string; static readonly GetTsCreate: string; static readonly GetIpAddressCreate: string; static readonly GetTsLastLogin: string; static readonly SetPlayerBan: string; static readonly GetPlayerBan: string; static readonly SetCountryCode: string; static readonly GetCountryCode: string; static readonly ChangeAccountPassword: string; static readonly ResetAccountPassword: string; static readonly SetAvatar: string; static readonly GetAvatar: string; static readonly ChangePlayerCurrency: string; static readonly GetPlayerCurrency: string; static readonly ChangePlayerStatistics: string; static readonly GetPlayerStatistics: string; static readonly GetStatisticsLeaderboard: string; static readonly GetStatisticsLeaderboardAroundPlayer: string; static readonly SetCustomData: string; static readonly GetCustomData: string; static readonly SetPlayerData: string; static readonly GetPlayerData: string; /** * Composite profile and search operations. */ static readonly GetPlayerInformation: string; static readonly GetPlayersWithApple: string; static readonly GetPlayersWithFacebook: string; static readonly GetPlayersWithGoogle: string; static readonly GetPlayersWithGenericService: string; static readonly GetPlayersWithSegment: string; static readonly GetPlayersWithTag: string; static readonly GetExternal: string; static readonly GetCatalogId: string; static readonly GetOwnerInfo: string; static readonly GetOnlineStatus: string; static readonly RemovePlayerItem: string; static readonly RemovePlayerCharacter: string; static readonly AddPlayerFriend: string; static readonly RemovePlayerFriend: string; static readonly GetPlayerInventory: string; static readonly GetPlayerCharacter: string; static readonly GetPlayerFriend: string; static readonly GetPlayerGroup: string; static readonly CreateGroup: string; static readonly JoinGroup: string; static readonly CreatePlayerItem: string; static readonly CreatePlayerCharacter: string; static readonly GetOwner: string; static readonly GetRemoveStatus: string; static readonly ChangeGroupStatistics: string; static readonly SetGroupData: string; static readonly GetGroupCurrency: string; static readonly ChangeGroupCurrency: string; static readonly CreateGroupItem: string; static readonly GetStatisticsLeaderboardAroundGroup: string; static readonly GetGroupsWithTag: string; static readonly GetGroupsWithSegment: string; static readonly GetGroupStatistics: string; static readonly GetGroupInventory: string; static readonly GetGroupData: string; static readonly GetGroupInformation: string; static readonly GetMembers: string; static readonly ChangeItemStatistics: string; static readonly SetItemData: string; static readonly GetItemData: string; static readonly GetStatisticsLeaderboardAroundItem: string; static readonly GetItemsWithTag: string; static readonly GetItemsWithSegment: string; static readonly GetItemStatistics: string; static readonly GetItemInformation: string; static readonly GetAmount: string; static readonly GetItemType: string; static readonly UpdateTsLastLogin: string; static readonly SetRemoveStatus: string; static readonly SetAmount: string; static readonly RemoveGroup: string; static readonly LeaveGroup: string; static readonly AddMember: string; static readonly RemoveMember: string; static readonly GetContentData: string; static readonly SetContentData: string; static readonly GetGroupMessage: string; static readonly SendGroupMessage: string; static readonly GetPlayersWithDisplayName: string; static readonly GetItemsWithDisplayName: string; static readonly GetGroupsWithDisplayName: string; static readonly SetOwner: string; static readonly RemoveGroupItem: string; static readonly GetClassId: string; /** * Store catalog and commerce operations. */ static readonly GetStoreItemInformation: string; static readonly GetStoreItemsWithTag: string; static readonly CreateStoreItem: string; static readonly RemoveTag: string; static readonly BuyStoreItem: string; static readonly ValidateAppleAppStoreReceipt: string; static readonly ValidateGooglePlayStoreReceipt: string; static readonly ValidateFacebookStoreReceipt: string; static readonly GetFriendStatisticsLeaderboardAroundPlayer: string; static readonly GetFriendStatisticsLeaderboard: string; static readonly SetEmail: string; static readonly GetEmail: string; /** * Content/file metadata upload and download operations. */ static readonly CreateNewFileUploadInfo: string; static readonly GetFileUploadInfo: string; static readonly RequestDownloadFileUploadInfo: string; static readonly RemoveFileUploadInfo: string; static readonly GetFileUploadInfoList: string; static readonly SetStoreItemInformation: string; static readonly RefreshAuthToken: string; /** * Multiplayer matchmaking and match-query operations. */ static readonly CancelAllMatchmakingTicket: string; static readonly CancelMatchmakingTicket: string; static readonly CreateMatchmakingTicket: string; static readonly GetMatch: string; static readonly GetMatchmakingTicket: string; static readonly GetQueueStatistics: string; static readonly JoinMatchmakingTicket: string; static readonly ListMatchmakingTicketsForPlayer: string; static readonly GetCurrencyLeaderboard: string; /** * CloudScript management and execution operations. */ static readonly ExecuteFunction: string; static readonly GetFunctions: string; static readonly AddFunction: string; static readonly EditFunction: string; static readonly GetFunction: string; /** * Provider-specific platform login/link/unlink and lookup operations. */ static readonly LoginByGooglePlayGameService: string; static readonly LoginByGameCenter: string; static readonly LinkGooglePlayGameService: string; static readonly LinkGameCenter: string; static readonly UnlinkGooglePlayGameService: string; static readonly UnlinkGameCenter: string; static readonly GetPlayersWithGooglePlayGameService: string; static readonly GetPlayersWithGameCenter: string; static readonly GetLastLoginLeaderboard: string; static readonly GetCreateLeaderboard: string; /** * Administrative multiplayer inspection operations. */ static readonly GetAllMatchmakingTicket: string; static readonly GetAllMatch: string; /** * Event-delivery, audit-log, and realtime utility operations. */ static readonly SendSocketOperationEvent: string; static readonly GetStatisticsLog: string; static readonly GetCurrencyLog: string; /** * Store gifting and store-log inspection operations. */ static readonly PresentStoreItem: string; static readonly GetStoreLog: string; /** * Outbound email and push-notification operations. */ static readonly SendEmail: string; static readonly SendPushNotification: string; static readonly AddPushNotification: string; static readonly RemovePushNotification: string; static readonly GetPushNotification: string; /** * Post-purchase store-usage tracking operations. */ static readonly GetStoreUsed: string; static readonly RemoveStoreUsed: string; }