/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type ImportMasterJsonRequestDto = { /** * The locale for which translations are being imported */ locale: string; /** * Master JSON object containing all translations organized by workflow identifier */ masterJson: { [k: string]: any }; }; /** @internal */ export type ImportMasterJsonRequestDto$Outbound = { locale: string; masterJson: { [k: string]: any }; }; /** @internal */ export const ImportMasterJsonRequestDto$outboundSchema: z.ZodType< ImportMasterJsonRequestDto$Outbound, z.ZodTypeDef, ImportMasterJsonRequestDto > = z.object({ locale: z.string(), masterJson: z.record(z.any()), }); export function importMasterJsonRequestDtoToJSON( importMasterJsonRequestDto: ImportMasterJsonRequestDto, ): string { return JSON.stringify( ImportMasterJsonRequestDto$outboundSchema.parse(importMasterJsonRequestDto), ); }