/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: c12918115231 */ import * as z from "zod/v3"; /** * Describes the request body of the /debug/{datasource}/document API call. */ export type DebugDocumentRequest = { /** * Object type of the document to get the status for. */ objectType: string; /** * Glean Document ID within the datasource to get the status for. */ docId: string; }; /** @internal */ export type DebugDocumentRequest$Outbound = { objectType: string; docId: string; }; /** @internal */ export const DebugDocumentRequest$outboundSchema: z.ZodType< DebugDocumentRequest$Outbound, z.ZodTypeDef, DebugDocumentRequest > = z.object({ objectType: z.string(), docId: z.string(), }); export function debugDocumentRequestToJSON( debugDocumentRequest: DebugDocumentRequest, ): string { return JSON.stringify( DebugDocumentRequest$outboundSchema.parse(debugDocumentRequest), ); }