/* * 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 CatalogTypeAttributePathItemV2 = { /** * the ID of the attribute to use */ attributeId: string; /** * the name of the attribute to use */ attributeName: string; }; /** @internal */ export const CatalogTypeAttributePathItemV2$inboundSchema: z.ZodType< CatalogTypeAttributePathItemV2, z.ZodTypeDef, unknown > = z.object({ attribute_id: z.string(), attribute_name: z.string(), }).transform((v) => { return remap$(v, { "attribute_id": "attributeId", "attribute_name": "attributeName", }); }); /** @internal */ export type CatalogTypeAttributePathItemV2$Outbound = { attribute_id: string; attribute_name: string; }; /** @internal */ export const CatalogTypeAttributePathItemV2$outboundSchema: z.ZodType< CatalogTypeAttributePathItemV2$Outbound, z.ZodTypeDef, CatalogTypeAttributePathItemV2 > = z.object({ attributeId: z.string(), attributeName: z.string(), }).transform((v) => { return remap$(v, { attributeId: "attribute_id", attributeName: "attribute_name", }); }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace CatalogTypeAttributePathItemV2$ { /** @deprecated use `CatalogTypeAttributePathItemV2$inboundSchema` instead. */ export const inboundSchema = CatalogTypeAttributePathItemV2$inboundSchema; /** @deprecated use `CatalogTypeAttributePathItemV2$outboundSchema` instead. */ export const outboundSchema = CatalogTypeAttributePathItemV2$outboundSchema; /** @deprecated use `CatalogTypeAttributePathItemV2$Outbound` instead. */ export type Outbound = CatalogTypeAttributePathItemV2$Outbound; }