/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type IncidentDurationMetricV2 = { /** * Unique ID of this incident duration metric */ id: string; /** * Unique name of this duration metric */ name: string; }; /** @internal */ export const IncidentDurationMetricV2$inboundSchema: z.ZodType< IncidentDurationMetricV2, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); /** @internal */ export type IncidentDurationMetricV2$Outbound = { id: string; name: string; }; /** @internal */ export const IncidentDurationMetricV2$outboundSchema: z.ZodType< IncidentDurationMetricV2$Outbound, z.ZodTypeDef, IncidentDurationMetricV2 > = z.object({ id: z.string(), name: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace IncidentDurationMetricV2$ { /** @deprecated use `IncidentDurationMetricV2$inboundSchema` instead. */ export const inboundSchema = IncidentDurationMetricV2$inboundSchema; /** @deprecated use `IncidentDurationMetricV2$outboundSchema` instead. */ export const outboundSchema = IncidentDurationMetricV2$outboundSchema; /** @deprecated use `IncidentDurationMetricV2$Outbound` instead. */ export type Outbound = IncidentDurationMetricV2$Outbound; }