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