/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { CatalogTypeAttributeV2, CatalogTypeAttributeV2$inboundSchema, CatalogTypeAttributeV2$Outbound, CatalogTypeAttributeV2$outboundSchema, } from "./catalogtypeattributev2.js"; export type CatalogTypeSchemaV2 = { /** * Attributes of this catalog type */ attributes: Array; /** * The version number of this schema */ version: number; }; /** @internal */ export const CatalogTypeSchemaV2$inboundSchema: z.ZodType< CatalogTypeSchemaV2, z.ZodTypeDef, unknown > = z.object({ attributes: z.array(CatalogTypeAttributeV2$inboundSchema), version: z.number().int(), }); /** @internal */ export type CatalogTypeSchemaV2$Outbound = { attributes: Array; version: number; }; /** @internal */ export const CatalogTypeSchemaV2$outboundSchema: z.ZodType< CatalogTypeSchemaV2$Outbound, z.ZodTypeDef, CatalogTypeSchemaV2 > = z.object({ attributes: z.array(CatalogTypeAttributeV2$outboundSchema), version: z.number().int(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace CatalogTypeSchemaV2$ { /** @deprecated use `CatalogTypeSchemaV2$inboundSchema` instead. */ export const inboundSchema = CatalogTypeSchemaV2$inboundSchema; /** @deprecated use `CatalogTypeSchemaV2$outboundSchema` instead. */ export const outboundSchema = CatalogTypeSchemaV2$outboundSchema; /** @deprecated use `CatalogTypeSchemaV2$Outbound` instead. */ export type Outbound = CatalogTypeSchemaV2$Outbound; }