/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 5d0125d16622 */ import * as z from "zod/v3"; export type PostApiIndexV1DebugDatasourceStatusRequest = { /** * The datasource to get debug status for. */ datasource: string; }; /** @internal */ export type PostApiIndexV1DebugDatasourceStatusRequest$Outbound = { datasource: string; }; /** @internal */ export const PostApiIndexV1DebugDatasourceStatusRequest$outboundSchema: z.ZodType< PostApiIndexV1DebugDatasourceStatusRequest$Outbound, z.ZodTypeDef, PostApiIndexV1DebugDatasourceStatusRequest > = z.object({ datasource: z.string(), }); export function postApiIndexV1DebugDatasourceStatusRequestToJSON( postApiIndexV1DebugDatasourceStatusRequest: PostApiIndexV1DebugDatasourceStatusRequest, ): string { return JSON.stringify( PostApiIndexV1DebugDatasourceStatusRequest$outboundSchema.parse( postApiIndexV1DebugDatasourceStatusRequest, ), ); }