/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 035e473248e4 */ import * as z from "zod/v3"; /** * Describes the request body of the /getdatasourceconfig API call */ export type GetDatasourceConfigRequest = { /** * Datasource name for which config is needed. */ datasource: string; }; /** @internal */ export type GetDatasourceConfigRequest$Outbound = { datasource: string; }; /** @internal */ export const GetDatasourceConfigRequest$outboundSchema: z.ZodType< GetDatasourceConfigRequest$Outbound, z.ZodTypeDef, GetDatasourceConfigRequest > = z.object({ datasource: z.string(), }); export function getDatasourceConfigRequestToJSON( getDatasourceConfigRequest: GetDatasourceConfigRequest, ): string { return JSON.stringify( GetDatasourceConfigRequest$outboundSchema.parse(getDatasourceConfigRequest), ); }