bungie-api-ts
Version:
TypeScript mappings for the Bungie.net API
46 lines (45 loc) • 1.63 kB
TypeScript
/**
* Bungie.Net API
* These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
*
* OpenAPI spec version: 2.21.9
* Contact: support@bungie.com
*
* NOTE: This class is auto generated by the bungie-api-ts code generator program.
* https://github.com/DestinyItemManager/bungie-api-ts
* Do not edit these files manually.
*/
import { HttpClient } from '../http.js';
import { CoreSettingsConfiguration, CoreSystem, GlobalAlert } from './interfaces.js';
import { ServerResponse } from '../common.js';
/** List of available localization cultures */
export declare function getAvailableLocales(http: HttpClient): Promise<
ServerResponse<{
[key: string]: string;
}>
>;
/** Get the common settings used by the Bungie.Net environment. */
export declare function getCommonSettings(
http: HttpClient
): Promise<ServerResponse<CoreSettingsConfiguration>>;
/**
* Get the user-specific system overrides that should be respected alongside common
* systems.
*/
export declare function getUserSystemOverrides(http: HttpClient): Promise<
ServerResponse<{
[key: string]: CoreSystem;
}>
>;
export interface GetGlobalAlertsParams {
/** Determines whether Streaming Alerts are included in results */
includestreaming?: boolean;
}
/**
* Gets any active global alert for display in the forum banners, help pages, etc.
* Usually used for DOC alerts.
*/
export declare function getGlobalAlerts(
http: HttpClient,
params: GetGlobalAlertsParams
): Promise<ServerResponse<GlobalAlert[]>>;