Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class EaCServiceClient
extends EaCBaseClient
import { EaCServiceClient } from "https://deno.land/x/fathym_everything_as_code@v0.0.329-integration/src/eac/client/EaCServiceClient.ts";

Constructors

new
EaCServiceClient(baseUrl: URL, apiToken: string)

Methods

Commit<T extends EverythingAsCode>(eac: T, processingSeconds: number): Promise<EaCCommitResponse>
Connections<T extends EverythingAsCode>(eac: T): Promise<T>
Create<T extends EverythingAsCode>(
eac: T,
username: string,
processingSeconds: number,
): Promise<EaCCommitResponse>
CurrentStatus(entLookup: string): Promise<EaCStatus>
Delete(
archive: boolean,
processingSeconds: number,
): Promise<EaCCommitResponse>
Get<T extends EverythingAsCode>(entLookup: string): Promise<T>
InviteUser(entLookup: string, userEaC: UserEaCRecord): Promise<EaCCommitResponse>
JWT(
entLookup: string | undefined,
username: string,
expTime?: number,
): Promise<{ Token: string; }>
ListForUser(parentEntLookup?: string): Promise<UserEaCRecord[]>
ListStati(
entLookup: string,
take?: number,
statusTypes?: EaCStatusProcessingTypes[],
): Promise<EaCStatus[]>
ListUsers(entLookup: string): Promise<UserEaCRecord[]>
Status(entLookup: string, commitId: string): Promise<EaCStatus>