/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: e77209c3d267 */ import * as z from "zod/v3"; /** * Describes the request body for /getdocumentstatus API call */ export type GetDocumentStatusRequest = { /** * Datasource to get fetch document status for */ datasource: string; /** * 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 GetDocumentStatusRequest$Outbound = { datasource: string; objectType: string; docId: string; }; /** @internal */ export const GetDocumentStatusRequest$outboundSchema: z.ZodType< GetDocumentStatusRequest$Outbound, z.ZodTypeDef, GetDocumentStatusRequest > = z.object({ datasource: z.string(), objectType: z.string(), docId: z.string(), }); export function getDocumentStatusRequestToJSON( getDocumentStatusRequest: GetDocumentStatusRequest, ): string { return JSON.stringify( GetDocumentStatusRequest$outboundSchema.parse(getDocumentStatusRequest), ); }