import { DefaultClient, PBResponse, QueryArguments } from "./client"; export class Provider { pk: number; name: string; authorization_flow: 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); } }