import { Action1 } from "./common/Action1"; import { GNHashtable } from "./common/GNData"; import { InventoryModels } from "./entity/models/InventoryModels"; import { InventoryResponseModels } from "./entity/models/InventoryResponseModels"; /** * Public client-scoped namespace for the Inventory domain. * * Reachable through {@link GNNetwork.inventory} after * {@link GNNetwork.init}. Manages every item-level entity in * the system — both the catalog metadata (per `classId`) and * the per-owner inventory ledger (per `itemId`). * * Functional groupings: * * 1. **Catalog metadata** — `getItemMetadata`, * `getItemsMetadata`, `getItemsMetadataWithSegment`. The * catalog is configured server-side and exposes * `ItemType` ({@link ItemType}) plus optional descriptive * fields. * 2. **Ownership lookup** — `getItem`, `getItems`, * `getItemsWithOwner` (filter by {@link OwnerType} + * `ownerId`), `getItemsWithClassId`, * `getItemsWithSegment`, `getItemsWithTag`. * 3. **Mutations** — `createItem`, `removeItem`, * `setItemAmount` (for `Stackable` items), * `addItemAmount`, `subtractItemAmount`, * `transferItem`, `transferItemAmount`. Stackability is * governed by {@link ItemType} on the catalog row. * 4. **Per-item custom data / tags / segments** — * `getCustomData`, `setCustomData`, `getTag`, `setTag`, * `getSegment`, `addSegment`, `removeSegment`. * 5. **Statistics & audit log** — `getItemStatistics`, * `setItemStatistics`, `addItemStatistics`, * `getItemLog`. The audit log is read-only and tracks * every state mutation for compliance. * * Common contract: same as {@link GamePlayerApi} (HTTP / * `RequestType.Inventory` / `RequestRole.Client`, * callback + Promise variants, `.server` / `.admin` * sub-namespaces). */ export declare class InventoryApi { /** Server-scoped inventory operations for trusted backend callers. */ server: ServerInventoryApi; /** Admin-scoped inventory operations for dashboard, GM, or backoffice callers. */ admin: AdminInventoryApi; /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: InventoryModels.AddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: InventoryModels.AddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAmount operation and returns the typed response via callback. */ getAmount(requestData: InventoryModels.GetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAmount operation and resolves with the typed response. */ getAmountAsync(requestData: InventoryModels.GetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: InventoryModels.GetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: InventoryModels.GetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCatalogId operation and returns the typed response via callback. */ getCatalogId(requestData: InventoryModels.GetCatalogIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCatalogId operation and resolves with the typed response. */ getCatalogIdAsync(requestData: InventoryModels.GetCatalogIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getClassId operation and returns the typed response via callback. */ getClassId(requestData: InventoryModels.GetClassIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getClassId operation and resolves with the typed response. */ getClassIdAsync(requestData: InventoryModels.GetClassIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: InventoryModels.GetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: InventoryModels.GetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: InventoryModels.GetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: InventoryModels.GetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemData operation and returns the typed response via callback. */ getItemData(requestData: InventoryModels.GetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemData operation and resolves with the typed response. */ getItemDataAsync(requestData: InventoryModels.GetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemInformation operation and returns the typed response via callback. */ getItemInformation(requestData: InventoryModels.GetItemInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemInformation operation and resolves with the typed response. */ getItemInformationAsync(requestData: InventoryModels.GetItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemStatistics operation and returns the typed response via callback. */ getItemStatistics(requestData: InventoryModels.GetItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemStatistics operation and resolves with the typed response. */ getItemStatisticsAsync(requestData: InventoryModels.GetItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithDisplayName operation and returns the typed response via callback. */ getItemsWithDisplayName(requestData: InventoryModels.GetItemsWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithDisplayName operation and resolves with the typed response. */ getItemsWithDisplayNameAsync(requestData: InventoryModels.GetItemsWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithSegment operation and returns the typed response via callback. */ getItemsWithSegment(requestData: InventoryModels.GetItemsWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithSegment operation and resolves with the typed response. */ getItemsWithSegmentAsync(requestData: InventoryModels.GetItemsWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithTag operation and returns the typed response via callback. */ getItemsWithTag(requestData: InventoryModels.GetItemsWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithTag operation and resolves with the typed response. */ getItemsWithTagAsync(requestData: InventoryModels.GetItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemType operation and returns the typed response via callback. */ getItemType(requestData: InventoryModels.GetItemTypeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemType operation and resolves with the typed response. */ getItemTypeAsync(requestData: InventoryModels.GetItemTypeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOwner operation and returns the typed response via callback. */ getOwner(requestData: InventoryModels.GetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOwner operation and resolves with the typed response. */ getOwnerAsync(requestData: InventoryModels.GetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getRemoveStatus operation and returns the typed response via callback. */ getRemoveStatus(requestData: InventoryModels.GetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getRemoveStatus operation and resolves with the typed response. */ getRemoveStatusAsync(requestData: InventoryModels.GetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: InventoryModels.GetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: InventoryModels.GetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundItem operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundItem(requestData: InventoryModels.GetStatisticsLeaderboardAroundItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundItem operation and resolves with the typed response. */ getStatisticsLeaderboardAroundItemAsync(requestData: InventoryModels.GetStatisticsLeaderboardAroundItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: InventoryModels.GetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: InventoryModels.GetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: InventoryModels.GetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: InventoryModels.GetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: InventoryModels.GetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: InventoryModels.GetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: InventoryModels.RemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: InventoryModels.RemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: InventoryModels.RemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: InventoryModels.RemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAmount operation and returns the typed response via callback. */ setAmount(requestData: InventoryModels.SetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAmount operation and resolves with the typed response. */ setAmountAsync(requestData: InventoryModels.SetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: InventoryModels.SetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: InventoryModels.SetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: InventoryModels.SetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: InventoryModels.SetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: InventoryModels.SetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: InventoryModels.SetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setItemData operation and returns the typed response via callback. */ setItemData(requestData: InventoryModels.SetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setItemData operation and resolves with the typed response. */ setItemDataAsync(requestData: InventoryModels.SetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changeItemStatistics operation and returns the typed response via callback. */ changeItemStatistics(requestData: InventoryModels.ChangeItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changeItemStatistics operation and resolves with the typed response. */ changeItemStatisticsAsync(requestData: InventoryModels.ChangeItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setOwner operation and returns the typed response via callback. */ setOwner(requestData: InventoryModels.SetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setOwner operation and resolves with the typed response. */ setOwnerAsync(requestData: InventoryModels.SetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setRemoveStatus operation and returns the typed response via callback. */ setRemoveStatus(requestData: InventoryModels.SetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setRemoveStatus operation and resolves with the typed response. */ setRemoveStatusAsync(requestData: InventoryModels.SetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: InventoryModels.SetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: InventoryModels.SetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: InventoryModels.GetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: InventoryModels.GetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: InventoryModels.GetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: InventoryModels.GetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; } /** * Server-scoped Inventory namespace, reachable through * `GNNetwork.inventory.server`. * * Mirrors every method on {@link InventoryApi} but uses the * `Server*RequestData` DTO variants. The server flavour * accepts an explicit `ownerType` + `ownerId` so a trusted * backend can act on any owner's inventory ledger without * holding their auth token. Always pass a valid server-side * `secretKey`. */ export declare class ServerInventoryApi { /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: InventoryModels.ServerAddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: InventoryModels.ServerAddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAmount operation and returns the typed response via callback. */ getAmount(requestData: InventoryModels.ServerGetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAmount operation and resolves with the typed response. */ getAmountAsync(requestData: InventoryModels.ServerGetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: InventoryModels.ServerGetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: InventoryModels.ServerGetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCatalogId operation and returns the typed response via callback. */ getCatalogId(requestData: InventoryModels.ServerGetCatalogIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCatalogId operation and resolves with the typed response. */ getCatalogIdAsync(requestData: InventoryModels.ServerGetCatalogIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getClassId operation and returns the typed response via callback. */ getClassId(requestData: InventoryModels.ServerGetClassIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getClassId operation and resolves with the typed response. */ getClassIdAsync(requestData: InventoryModels.ServerGetClassIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: InventoryModels.ServerGetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: InventoryModels.ServerGetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: InventoryModels.ServerGetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: InventoryModels.ServerGetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemData operation and returns the typed response via callback. */ getItemData(requestData: InventoryModels.ServerGetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemData operation and resolves with the typed response. */ getItemDataAsync(requestData: InventoryModels.ServerGetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemInformation operation and returns the typed response via callback. */ getItemInformation(requestData: InventoryModels.ServerGetItemInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemInformation operation and resolves with the typed response. */ getItemInformationAsync(requestData: InventoryModels.ServerGetItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemStatistics operation and returns the typed response via callback. */ getItemStatistics(requestData: InventoryModels.ServerGetItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemStatistics operation and resolves with the typed response. */ getItemStatisticsAsync(requestData: InventoryModels.ServerGetItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithDisplayName operation and returns the typed response via callback. */ getItemsWithDisplayName(requestData: InventoryModels.ServerGetItemsWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithDisplayName operation and resolves with the typed response. */ getItemsWithDisplayNameAsync(requestData: InventoryModels.ServerGetItemsWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithSegment operation and returns the typed response via callback. */ getItemsWithSegment(requestData: InventoryModels.ServerGetItemsWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithSegment operation and resolves with the typed response. */ getItemsWithSegmentAsync(requestData: InventoryModels.ServerGetItemsWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithTag operation and returns the typed response via callback. */ getItemsWithTag(requestData: InventoryModels.ServerGetItemsWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithTag operation and resolves with the typed response. */ getItemsWithTagAsync(requestData: InventoryModels.ServerGetItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemType operation and returns the typed response via callback. */ getItemType(requestData: InventoryModels.ServerGetItemTypeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemType operation and resolves with the typed response. */ getItemTypeAsync(requestData: InventoryModels.ServerGetItemTypeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOwner operation and returns the typed response via callback. */ getOwner(requestData: InventoryModels.ServerGetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOwner operation and resolves with the typed response. */ getOwnerAsync(requestData: InventoryModels.ServerGetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getRemoveStatus operation and returns the typed response via callback. */ getRemoveStatus(requestData: InventoryModels.ServerGetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getRemoveStatus operation and resolves with the typed response. */ getRemoveStatusAsync(requestData: InventoryModels.ServerGetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: InventoryModels.ServerGetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: InventoryModels.ServerGetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundItem operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundItem(requestData: InventoryModels.ServerGetStatisticsLeaderboardAroundItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundItem operation and resolves with the typed response. */ getStatisticsLeaderboardAroundItemAsync(requestData: InventoryModels.ServerGetStatisticsLeaderboardAroundItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: InventoryModels.ServerGetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: InventoryModels.ServerGetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: InventoryModels.ServerGetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: InventoryModels.ServerGetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: InventoryModels.ServerGetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: InventoryModels.ServerGetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: InventoryModels.ServerRemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: InventoryModels.ServerRemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: InventoryModels.ServerRemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: InventoryModels.ServerRemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAmount operation and returns the typed response via callback. */ setAmount(requestData: InventoryModels.ServerSetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAmount operation and resolves with the typed response. */ setAmountAsync(requestData: InventoryModels.ServerSetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: InventoryModels.ServerSetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: InventoryModels.ServerSetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: InventoryModels.ServerSetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: InventoryModels.ServerSetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: InventoryModels.ServerSetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: InventoryModels.ServerSetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setItemData operation and returns the typed response via callback. */ setItemData(requestData: InventoryModels.ServerSetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setItemData operation and resolves with the typed response. */ setItemDataAsync(requestData: InventoryModels.ServerSetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changeItemStatistics operation and returns the typed response via callback. */ changeItemStatistics(requestData: InventoryModels.ServerChangeItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changeItemStatistics operation and resolves with the typed response. */ changeItemStatisticsAsync(requestData: InventoryModels.ServerChangeItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setOwner operation and returns the typed response via callback. */ setOwner(requestData: InventoryModels.ServerSetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setOwner operation and resolves with the typed response. */ setOwnerAsync(requestData: InventoryModels.ServerSetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setRemoveStatus operation and returns the typed response via callback. */ setRemoveStatus(requestData: InventoryModels.ServerSetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setRemoveStatus operation and resolves with the typed response. */ setRemoveStatusAsync(requestData: InventoryModels.ServerSetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: InventoryModels.ServerSetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: InventoryModels.ServerSetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: InventoryModels.ServerGetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: InventoryModels.ServerGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: InventoryModels.ServerGetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: InventoryModels.ServerGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; } /** * Admin-scoped Inventory namespace, reachable through * `GNNetwork.inventory.admin`. * * Mirrors {@link ServerInventoryApi} but routed through * {@link RequestRole.Admin}. The backend uses the caller's * admin auth token to authorise privileged operations such as * editing catalog metadata, force-creating items, bypassing * stack-limit checks, etc. Reserved for dashboard / GM / * backoffice tools. */ export declare class AdminInventoryApi { /** * Sends the addSegment operation and returns the typed response via callback. */ addSegment(requestData: InventoryModels.AdminAddSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the addSegment operation and resolves with the typed response. */ addSegmentAsync(requestData: InventoryModels.AdminAddSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAmount operation and returns the typed response via callback. */ getAmount(requestData: InventoryModels.AdminGetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAmount operation and resolves with the typed response. */ getAmountAsync(requestData: InventoryModels.AdminGetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getAvatar operation and returns the typed response via callback. */ getAvatar(requestData: InventoryModels.AdminGetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getAvatar operation and resolves with the typed response. */ getAvatarAsync(requestData: InventoryModels.AdminGetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCatalogId operation and returns the typed response via callback. */ getCatalogId(requestData: InventoryModels.AdminGetCatalogIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCatalogId operation and resolves with the typed response. */ getCatalogIdAsync(requestData: InventoryModels.AdminGetCatalogIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getClassId operation and returns the typed response via callback. */ getClassId(requestData: InventoryModels.AdminGetClassIdRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getClassId operation and resolves with the typed response. */ getClassIdAsync(requestData: InventoryModels.AdminGetClassIdRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCustomData operation and returns the typed response via callback. */ getCustomData(requestData: InventoryModels.AdminGetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCustomData operation and resolves with the typed response. */ getCustomDataAsync(requestData: InventoryModels.AdminGetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getDisplayName operation and returns the typed response via callback. */ getDisplayName(requestData: InventoryModels.AdminGetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getDisplayName operation and resolves with the typed response. */ getDisplayNameAsync(requestData: InventoryModels.AdminGetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemData operation and returns the typed response via callback. */ getItemData(requestData: InventoryModels.AdminGetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemData operation and resolves with the typed response. */ getItemDataAsync(requestData: InventoryModels.AdminGetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemInformation operation and returns the typed response via callback. */ getItemInformation(requestData: InventoryModels.AdminGetItemInformationRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemInformation operation and resolves with the typed response. */ getItemInformationAsync(requestData: InventoryModels.AdminGetItemInformationRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemStatistics operation and returns the typed response via callback. */ getItemStatistics(requestData: InventoryModels.AdminGetItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemStatistics operation and resolves with the typed response. */ getItemStatisticsAsync(requestData: InventoryModels.AdminGetItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithDisplayName operation and returns the typed response via callback. */ getItemsWithDisplayName(requestData: InventoryModels.AdminGetItemsWithDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithDisplayName operation and resolves with the typed response. */ getItemsWithDisplayNameAsync(requestData: InventoryModels.AdminGetItemsWithDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithSegment operation and returns the typed response via callback. */ getItemsWithSegment(requestData: InventoryModels.AdminGetItemsWithSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithSegment operation and resolves with the typed response. */ getItemsWithSegmentAsync(requestData: InventoryModels.AdminGetItemsWithSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemsWithTag operation and returns the typed response via callback. */ getItemsWithTag(requestData: InventoryModels.AdminGetItemsWithTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemsWithTag operation and resolves with the typed response. */ getItemsWithTagAsync(requestData: InventoryModels.AdminGetItemsWithTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getItemType operation and returns the typed response via callback. */ getItemType(requestData: InventoryModels.AdminGetItemTypeRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getItemType operation and resolves with the typed response. */ getItemTypeAsync(requestData: InventoryModels.AdminGetItemTypeRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getOwner operation and returns the typed response via callback. */ getOwner(requestData: InventoryModels.AdminGetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getOwner operation and resolves with the typed response. */ getOwnerAsync(requestData: InventoryModels.AdminGetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getRemoveStatus operation and returns the typed response via callback. */ getRemoveStatus(requestData: InventoryModels.AdminGetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getRemoveStatus operation and resolves with the typed response. */ getRemoveStatusAsync(requestData: InventoryModels.AdminGetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getSegment operation and returns the typed response via callback. */ getSegment(requestData: InventoryModels.AdminGetSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getSegment operation and resolves with the typed response. */ getSegmentAsync(requestData: InventoryModels.AdminGetSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboardAroundItem operation and returns the typed response via callback. */ getStatisticsLeaderboardAroundItem(requestData: InventoryModels.AdminGetStatisticsLeaderboardAroundItemRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboardAroundItem operation and resolves with the typed response. */ getStatisticsLeaderboardAroundItemAsync(requestData: InventoryModels.AdminGetStatisticsLeaderboardAroundItemRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLeaderboard operation and returns the typed response via callback. */ getStatisticsLeaderboard(requestData: InventoryModels.AdminGetStatisticsLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLeaderboard operation and resolves with the typed response. */ getStatisticsLeaderboardAsync(requestData: InventoryModels.AdminGetStatisticsLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTag operation and returns the typed response via callback. */ getTag(requestData: InventoryModels.AdminGetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTag operation and resolves with the typed response. */ getTagAsync(requestData: InventoryModels.AdminGetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getTsCreate operation and returns the typed response via callback. */ getTsCreate(requestData: InventoryModels.AdminGetTsCreateRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getTsCreate operation and resolves with the typed response. */ getTsCreateAsync(requestData: InventoryModels.AdminGetTsCreateRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeSegment operation and returns the typed response via callback. */ removeSegment(requestData: InventoryModels.AdminRemoveSegmentRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeSegment operation and resolves with the typed response. */ removeSegmentAsync(requestData: InventoryModels.AdminRemoveSegmentRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the removeTag operation and returns the typed response via callback. */ removeTag(requestData: InventoryModels.AdminRemoveTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the removeTag operation and resolves with the typed response. */ removeTagAsync(requestData: InventoryModels.AdminRemoveTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAmount operation and returns the typed response via callback. */ setAmount(requestData: InventoryModels.AdminSetAmountRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAmount operation and resolves with the typed response. */ setAmountAsync(requestData: InventoryModels.AdminSetAmountRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setAvatar operation and returns the typed response via callback. */ setAvatar(requestData: InventoryModels.AdminSetAvatarRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setAvatar operation and resolves with the typed response. */ setAvatarAsync(requestData: InventoryModels.AdminSetAvatarRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setCustomData operation and returns the typed response via callback. */ setCustomData(requestData: InventoryModels.AdminSetCustomDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setCustomData operation and resolves with the typed response. */ setCustomDataAsync(requestData: InventoryModels.AdminSetCustomDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setDisplayName operation and returns the typed response via callback. */ setDisplayName(requestData: InventoryModels.AdminSetDisplayNameRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setDisplayName operation and resolves with the typed response. */ setDisplayNameAsync(requestData: InventoryModels.AdminSetDisplayNameRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setItemData operation and returns the typed response via callback. */ setItemData(requestData: InventoryModels.AdminSetItemDataRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setItemData operation and resolves with the typed response. */ setItemDataAsync(requestData: InventoryModels.AdminSetItemDataRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the changeItemStatistics operation and returns the typed response via callback. */ changeItemStatistics(requestData: InventoryModels.AdminChangeItemStatisticsRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the changeItemStatistics operation and resolves with the typed response. */ changeItemStatisticsAsync(requestData: InventoryModels.AdminChangeItemStatisticsRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setOwner operation and returns the typed response via callback. */ setOwner(requestData: InventoryModels.AdminSetOwnerRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setOwner operation and resolves with the typed response. */ setOwnerAsync(requestData: InventoryModels.AdminSetOwnerRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setRemoveStatus operation and returns the typed response via callback. */ setRemoveStatus(requestData: InventoryModels.AdminSetRemoveStatusRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setRemoveStatus operation and resolves with the typed response. */ setRemoveStatusAsync(requestData: InventoryModels.AdminSetRemoveStatusRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the setTag operation and returns the typed response via callback. */ setTag(requestData: InventoryModels.AdminSetTagRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the setTag operation and resolves with the typed response. */ setTagAsync(requestData: InventoryModels.AdminSetTagRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getCreateLeaderboard operation and returns the typed response via callback. */ getCreateLeaderboard(requestData: InventoryModels.AdminGetCreateLeaderboardRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getCreateLeaderboard operation and resolves with the typed response. */ getCreateLeaderboardAsync(requestData: InventoryModels.AdminGetCreateLeaderboardRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; /** * Sends the getStatisticsLog operation and returns the typed response via callback. */ getStatisticsLog(requestData: InventoryModels.AdminGetStatisticsLogRequestData, onResponse?: Action1, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): void; /** * Sends the getStatisticsLog operation and resolves with the typed response. */ getStatisticsLogAsync(requestData: InventoryModels.AdminGetStatisticsLogRequestData, overrideAuthToken?: string, overrideSecretKey?: string, customTags?: GNHashtable, timeout?: number): Promise; }