34 lines
734 B
TypeScript
34 lines
734 B
TypeScript
/**
|
|
* Generated by orval v8.2.0 🍺
|
|
* Do not edit manually.
|
|
* OpenClaw Agency API
|
|
* OpenAPI spec version: 0.3.0
|
|
*/
|
|
import { customFetch } from "../../mutator";
|
|
|
|
/**
|
|
* @summary Health
|
|
*/
|
|
export type healthHealthGetResponse200 = {
|
|
data: unknown;
|
|
status: 200;
|
|
};
|
|
|
|
export type healthHealthGetResponseSuccess = healthHealthGetResponse200 & {
|
|
headers: Headers;
|
|
};
|
|
export type healthHealthGetResponse = healthHealthGetResponseSuccess;
|
|
|
|
export const getHealthHealthGetUrl = () => {
|
|
return `/health`;
|
|
};
|
|
|
|
export const healthHealthGet = async (
|
|
options?: RequestInit,
|
|
): Promise<healthHealthGetResponse> => {
|
|
return customFetch<healthHealthGetResponse>(getHealthHealthGetUrl(), {
|
|
...options,
|
|
method: "GET",
|
|
});
|
|
};
|