/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { remap as remap$ } from "../../lib/primitives.js"; import { IncidentAttachmentV1, IncidentAttachmentV1$inboundSchema, IncidentAttachmentV1$Outbound, IncidentAttachmentV1$outboundSchema, } from "./incidentattachmentv1.js"; export type ListResponseBody7 = { incidentAttachments: Array; }; /** @internal */ export const ListResponseBody7$inboundSchema: z.ZodType< ListResponseBody7, z.ZodTypeDef, unknown > = z.object({ incident_attachments: z.array(IncidentAttachmentV1$inboundSchema), }).transform((v) => { return remap$(v, { "incident_attachments": "incidentAttachments", }); }); /** @internal */ export type ListResponseBody7$Outbound = { incident_attachments: Array; }; /** @internal */ export const ListResponseBody7$outboundSchema: z.ZodType< ListResponseBody7$Outbound, z.ZodTypeDef, ListResponseBody7 > = z.object({ incidentAttachments: z.array(IncidentAttachmentV1$outboundSchema), }).transform((v) => { return remap$(v, { incidentAttachments: "incident_attachments", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace ListResponseBody7$ { /** @deprecated use `ListResponseBody7$inboundSchema` instead. */ export const inboundSchema = ListResponseBody7$inboundSchema; /** @deprecated use `ListResponseBody7$outboundSchema` instead. */ export const outboundSchema = ListResponseBody7$outboundSchema; /** @deprecated use `ListResponseBody7$Outbound` instead. */ export type Outbound = ListResponseBody7$Outbound; }