@valapi/valorant-api.com
Version:
Valorant API - valorant-api.com
34 lines • 1.24 kB
TypeScript
import type { ValRequestClient } from "@valapi/lib";
import type { ValAPIClientService, ValAPIResponse } from "../client/Client";
interface ValAPIServiceSprayLevels {
uuid: string;
sprayLevel: number;
displayName: ValAPIResponse<string>;
displayIcon: string;
assetPath: string;
}
interface ValAPIServiceSprays {
uuid: string;
displayName: ValAPIResponse<string>;
category: string;
themeUuid: string;
displayIcon: string;
fullIcon: string;
fullTransparentIcon: string;
animationPng: string;
animationGif: string;
assetPath: string;
levels: Array<ValAPIServiceSprayLevels>;
}
declare class Sprays {
private RequestClient;
private language;
constructor(RequestClient: ValRequestClient, language: string);
get(): Promise<ValAPIClientService<ValAPIServiceSprays[]>>;
getLevels(): Promise<ValAPIClientService<ValAPIServiceSprayLevels[]>>;
getByUuid(uuid: string): Promise<ValAPIClientService<ValAPIServiceSprays>>;
getLevelByUuid(uuid: string): Promise<ValAPIClientService<ValAPIServiceSprayLevels>>;
}
export { Sprays };
export type { ValAPIServiceSprays, ValAPIServiceSprayLevels };
//# sourceMappingURL=Sprays.d.ts.map