import { DefaultClient, PBResponse } from "./client"; export class Application { pk?: string; name?: string; slug?: string; provider?: number; launch_url?: string; meta_launch_url?: string; meta_icon?: string; meta_description?: string; meta_publisher?: string; policies?: string[]; static get(slug: string): Promise { return DefaultClient.fetch(["core", "applications", slug]); } static list(filter?: { [key: string]: any }): Promise> { return DefaultClient.fetch>(["core", "applications"], filter); } }