Skip to main content
Go to Latest
class EaCServiceClient
extends EaCBaseClient
Re-export
import { EaCServiceClient } from "https://deno.land/x/fathym_everything_as_code@v0.0.306-thinky/fresh.mod.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>