/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { BulkReportItem, BulkReportItem$Outbound, BulkReportItem$outboundSchema, } from "./bulkreportitem.js"; /** * Each `batch` item is a `custom_report` or a `general_ledger` report. */ export type BulkReportBody = { /** * One report per item. Up to 25 items per batch, across any combination of companies the partner is mapped to. */ batch: Array; }; /** @internal */ export type BulkReportBody$Outbound = { batch: Array; }; /** @internal */ export const BulkReportBody$outboundSchema: z.ZodType< BulkReportBody$Outbound, z.ZodTypeDef, BulkReportBody > = z.object({ batch: z.array(BulkReportItem$outboundSchema), }); export function bulkReportBodyToJSON(bulkReportBody: BulkReportBody): string { return JSON.stringify(BulkReportBody$outboundSchema.parse(bulkReportBody)); }