import { DefaultClient, PBResponse, QueryArguments } from "./Client"; export class Provider { pk: number; name: string; authorization_flow: string; verbose_name: string; verbose_name_plural: string; constructor() { throw Error(); } static get(slug: string): Promise { return DefaultClient.fetch(["providers", "all", slug]); } static list(filter?: QueryArguments): Promise> { return DefaultClient.fetch>(["providers", "all"], filter); } }