/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { CatalogTypeAttributePayloadV2, CatalogTypeAttributePayloadV2$inboundSchema, CatalogTypeAttributePayloadV2$Outbound, CatalogTypeAttributePayloadV2$outboundSchema, } from "./catalogtypeattributepayloadv2.js"; export type UpdateTypeSchemaRequestBody = { attributes: Array; version: number; }; /** @internal */ export const UpdateTypeSchemaRequestBody$inboundSchema: z.ZodType< UpdateTypeSchemaRequestBody, z.ZodTypeDef, unknown > = z.object({ attributes: z.array(CatalogTypeAttributePayloadV2$inboundSchema), version: z.number().int(), }); /** @internal */ export type UpdateTypeSchemaRequestBody$Outbound = { attributes: Array; version: number; }; /** @internal */ export const UpdateTypeSchemaRequestBody$outboundSchema: z.ZodType< UpdateTypeSchemaRequestBody$Outbound, z.ZodTypeDef, UpdateTypeSchemaRequestBody > = z.object({ attributes: z.array(CatalogTypeAttributePayloadV2$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 UpdateTypeSchemaRequestBody$ { /** @deprecated use `UpdateTypeSchemaRequestBody$inboundSchema` instead. */ export const inboundSchema = UpdateTypeSchemaRequestBody$inboundSchema; /** @deprecated use `UpdateTypeSchemaRequestBody$outboundSchema` instead. */ export const outboundSchema = UpdateTypeSchemaRequestBody$outboundSchema; /** @deprecated use `UpdateTypeSchemaRequestBody$Outbound` instead. */ export type Outbound = UpdateTypeSchemaRequestBody$Outbound; }