access-guard/workspace-providers
@sarj-ai/workspace-sync/access-guard/workspace-providers ยท Source
import { type DownstreamAccount, type GitHubAccessRead } from "./model.ts";import type { EmailAccessAuditProvider, GitHubAccessAuditProvider } from "./provider.ts";export declare class AttioAccessProvider implements EmailAccessAuditProvider { #private; readonly name = "attio"; constructor(apiKey: string, expectedWorkspaceId: null | string, fetchImpl?: FetchImpl); listAccounts(_runId: string): Promise<readonly DownstreamAccount[]>;}export declare class GitHubOrganizationAccessProvider implements GitHubAccessAuditProvider { #private; readonly name = "github"; constructor(token: string, organization: string, fetchImpl?: FetchImpl); readAccess(_runId: string): Promise<GitHubAccessRead>;}export declare class PagerDutyAccessProvider implements EmailAccessAuditProvider { #private; readonly name = "pagerduty"; constructor(token: string, fetchImpl?: FetchImpl); listAccounts(_runId: string): Promise<readonly DownstreamAccount[]>;}type FetchImpl = typeof fetch;export {};