/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; export type AssetCertificateListInputBody = { /** * A list of SHA-256 certificate fingerprints. */ certificateIds: Array | null; }; /** @internal */ export type AssetCertificateListInputBody$Outbound = { certificate_ids: Array | null; }; /** @internal */ export const AssetCertificateListInputBody$outboundSchema: z.ZodType< AssetCertificateListInputBody$Outbound, z.ZodTypeDef, AssetCertificateListInputBody > = z.object({ certificateIds: z.nullable(z.array(z.string())), }).transform((v) => { return remap$(v, { certificateIds: "certificate_ids", }); }); export function assetCertificateListInputBodyToJSON( assetCertificateListInputBody: AssetCertificateListInputBody, ): string { return JSON.stringify( AssetCertificateListInputBody$outboundSchema.parse( assetCertificateListInputBody, ), ); }