/** * API of the server (auto-generated code) */ import { HTTPMimeType, HTTPRequestModel, ModelResponseHttp, RESTConfig, RESTRequestJson, RESTRequestJsonArray } from "./rest-tools" import {RestErrorResponse, isHealthResult, HealthResult, } from "./model" export namespace HealthCheck { export function getHealth({ restConfig, }: { restConfig: RESTConfig, }): Promise { return RESTRequestJson({ restModel: { endPoint: "/health_check", requestType: HTTPRequestModel.GET, accept: HTTPMimeType.JSON, }, restConfig, }, isHealthResult); }; }