class EaCServiceClient
extends EaCBaseClient
import { EaCServiceClient } from "https://deno.land/x/fathym_everything_as_code_api@v0.1.24/src/client/EaCServiceClient.ts";
Constructors
new
EaCServiceClient(baseUrl: URL, apiToken: string)Methods
CancelLicense(): Promise<unknown>
entLookup: string,
username: string,
licLookup: string,
Commit<T extends EverythingAsCode>(eac: T, processingSeconds: number): Promise<EaCCommitResponse>
Connections<T extends EverythingAsCode>(eac: T): Promise<T>
Create<T extends EverythingAsCode>(): Promise<EaCCommitResponse>
eac: T,
username: string,
processingSeconds: number,
CurrentStatus(entLookup: string): Promise<EaCStatus>
Delete<TEaC extends EverythingAsCode = EverythingAsCode>(): Promise<EaCCommitResponse>
Get<T extends EverythingAsCode>(entLookup: string): Promise<T>
GetLicense(): Promise<{ Active: boolean; License: UserEaCLicense; }>
entLookup: string,
username: string,
licLookup: string,
GetLicenses(entLookup: string, username: string): Promise<Record<string, UserEaCLicense>>
InviteUser(entLookup: string, userEaC: UserEaCRecord): Promise<EaCCommitResponse>
JWT(): Promise<{ Token: string; }>
entLookup: string | undefined,
username: string,
expTime?: number,
LicenseSubscription(): Promise<unknown>
entLookup: string,
username: string,
licLookup: string,
planLookup: string,
priceLookup: string,
ListForUser(username: string, parentEntLookup?: string): Promise<UserEaCRecord[]>
ListUsers(entLookup: string): Promise<UserEaCRecord[]>