import { GraphSdk } from './GraphSdk'; import { NodeSdk } from './NodeSdk'; import { EdgeSdk } from './EdgeSdk'; import { RouteSdk } from './RouteSdk'; import { TenantSdk } from './TenantSdk'; import { UserSdk } from './UserSdk'; import { CredentialSdk } from './CredentialSdk'; import { TagSdk } from './TagSdk'; import { LabelSdk } from './LabelSdk'; import { VectorSdk } from './VectorSdk'; import { AuthenticationSdk } from './AuthenticationSdk'; import { SdkConfiguration } from './SdkConfiguration'; import { BackupSdk } from './BackupSdk'; import { AdminSdk } from './AdminSdk'; /** * LiteGraph SDK class. * Extends the SdkBase class. * @module LiteGraphSdk * @extends SdkBase */ export default class LiteGraphSdk { config: SdkConfiguration; /** * Instantiate the SDK. * @param {string} endpoint - The endpoint URL. * @param {string} [tenantGuid] - The tenant GUID. * @param {string} [accessKey] - The access key. */ Graph: GraphSdk; Node: NodeSdk; Edge: EdgeSdk; Route: RouteSdk; Tenant: TenantSdk; User: UserSdk; Credential: CredentialSdk; Tag: TagSdk; Label: LabelSdk; Vector: VectorSdk; Authentication: AuthenticationSdk; Backup: BackupSdk; Admin: AdminSdk; constructor(endpoint?: string, tenantGuid?: string, accessKey?: string); /** * Validates API connectivity using a HEAD request. * @param {AbortController} [cancellationToken] - Optional cancellation token for cancelling the request. * @return {Promise} Resolves to true if the connection is successful. * @throws {Error} Rejects with the error in case of failure. */ validateConnectivity(cancellationToken?: AbortController): Promise; }