import { DefaultClient, PBResponse, QueryArguments } from "./Client"; export class Source { pk: string; name: string; slug: string; enabled: boolean; authentication_flow: string; enrollment_flow: string; constructor() { throw Error(); } static get(slug: string): Promise { return DefaultClient.fetch(["sources", "all", slug]); } static list(filter?: QueryArguments): Promise> { return DefaultClient.fetch>(["sources", "all"], filter); } }