Skip to content
Sarj Workspace Sync

trycomp/plan

@sarj-ai/workspace-sync/trycomp/plan ยท Source

import type { GoogleGroupSnapshot } from "../org-sync/channel-model.ts";
import type { GoogleDirectoryUser } from "../org-sync/model.ts";
import type { TrycompMember, TrycompPlan } from "./model.ts";
export declare function buildTrycompPlan(input: {
automaticIdentityLimit?: 1;
offboardingOnly?: boolean;
activeGoogleUserCount?: number;
activationDeniedEmails?: readonly string[];
contractorGroup: GoogleGroupSnapshot;
excludedGoogleUserIds: readonly string[];
expectedContractorGroupId: string;
googleUsers: readonly GoogleDirectoryUser[];
managedDomain: string;
minimumGoogleUsers: number;
protectedEmails?: readonly string[];
protectedGoogleUserIds?: readonly string[];
writeProtectedEmails?: readonly string[];
writeProtectedGoogleUserIds?: readonly string[];
trycompMembers: readonly TrycompMember[];
}): Promise<TrycompPlan>;
export declare function buildGoogleEmailIndex(users: readonly GoogleDirectoryUser[], errors: string[]): Map<string, GoogleDirectoryUser>;