UNPKG

@valapi/valorant-api.com

Version:

Valorant API - valorant-api.com

34 lines (33 loc) 1.23 kB
import type { Language } from "../client/ValorantApiCom"; import { ValorantApiComService } from "../client/ValorantApiComService"; import type { LanguageResponse, Response } from "../client/ValorantApiComService"; export declare namespace Sprays { interface SprayLevels<L extends Language> { uuid: string; sprayLevel: number; displayName: LanguageResponse<string, L>; displayIcon: string; assetPath: string; } interface Sprays<L extends Language> { uuid: string; displayName: LanguageResponse<string, L>; category: string; themeUuid: string; isNullSpray: boolean; hideIfNotOwned: boolean; displayIcon: string; fullIcon: string; fullTransparentIcon: string; animationPng: string; animationGif: string; assetPath: string; levels: Array<Sprays.SprayLevels<L>>; } } export declare class Sprays<L extends Language = any> extends ValorantApiComService { get(): Response<Sprays.Sprays<L>[]>; getLevels(): Response<Sprays.SprayLevels<L>[]>; getByUuid(uuid: string): Response<Sprays.Sprays<L>>; getLevelByUuid(uuid: string): Response<Sprays.SprayLevels<L>>; }