execution/read-runtime-offboarding-status
@sarj-ai/workspace-sync/execution/read-runtime-offboarding-status ยท Source
import type { WorkspaceRuntimeConfiguration as ValidatedEnv } from "./runtime-configuration.ts";export declare function readRuntimeOffboardingStatus(env: ValidatedEnv, subject: string, db?: D1Database): Promise<{ complete: boolean; googleState: "active" | "archived" | "deleted" | "suspended" | "unknown"; googleUserId: string | null; observedAt: string; providers: { accountState: "absent" | "active" | "inactive" | "unknown"; blocker: "automation_disabled" | "deactivation_pending" | "duplicate_identity" | "github_identity_missing" | "google_authority_unavailable" | "google_identity_active" | "google_identity_ambiguous" | "google_identity_missing" | "manual_deactivation_required" | "parent_mutation_safety_unresolved" | "parent_schedule_health_unavailable" | "parent_schedule_unhealthy" | "provider_auth_failed" | "provider_authority_unavailable" | "provider_credentials_missing" | "provider_endpoint_not_found" | "provider_inventory_incomplete" | "provider_network_failed" | "provider_rate_limited" | "provider_read_failed" | "provider_request_rejected" | "provider_response_empty" | "provider_root_anchor_missing" | "provider_schema_invalid" | "provider_service_unavailable" | "provider_state_conflict" | "provider_timeout" | "snapshot_below_floor" | "unsupported" | null; capability: "automatic" | "manual" | "unsupported"; observedAt: string; provider: "ashby" | "attio" | "github" | "linear" | "pagerduty" | "sentry" | "slack" | "trycomp"; verified: boolean; }[];}>;