import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { CatalogTypeAttributePathItemPayloadV2, CatalogTypeAttributePathItemPayloadV2$Outbound } from "./catalogtypeattributepathitempayloadv2.js"; /** * Controls how this attribute is modified */ export declare const CatalogTypeAttributePayloadV2Mode: { readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }; /** * Controls how this attribute is modified */ export type CatalogTypeAttributePayloadV2Mode = ClosedEnum; export type CatalogTypeAttributePayloadV2 = { /** * Whether this attribute is an array */ array: boolean; /** * The attribute to use (if this is a backlink) */ backlinkAttribute?: string | undefined; /** * The ID of this attribute */ id?: string | undefined; /** * Controls how this attribute is modified */ mode?: CatalogTypeAttributePayloadV2Mode | undefined; /** * Unique name of this attribute */ name: string; /** * The path to use (if this is an path) */ path?: Array | undefined; /** * Catalog type name for this attribute */ type: string; }; /** @internal */ export declare const CatalogTypeAttributePayloadV2Mode$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CatalogTypeAttributePayloadV2Mode$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CatalogTypeAttributePayloadV2Mode$ { /** @deprecated use `CatalogTypeAttributePayloadV2Mode$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }>; /** @deprecated use `CatalogTypeAttributePayloadV2Mode$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Unknown: ""; readonly Manual: "manual"; readonly External: "external"; readonly Internal: "internal"; readonly Dynamic: "dynamic"; readonly Backlink: "backlink"; readonly Path: "path"; }>; } /** @internal */ export declare const CatalogTypeAttributePayloadV2$inboundSchema: z.ZodType; /** @internal */ export type CatalogTypeAttributePayloadV2$Outbound = { array: boolean; backlink_attribute?: string | undefined; id?: string | undefined; mode?: string | undefined; name: string; path?: Array | undefined; type: string; }; /** @internal */ export declare const CatalogTypeAttributePayloadV2$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CatalogTypeAttributePayloadV2$ { /** @deprecated use `CatalogTypeAttributePayloadV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CatalogTypeAttributePayloadV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CatalogTypeAttributePayloadV2$Outbound` instead. */ type Outbound = CatalogTypeAttributePayloadV2$Outbound; } //# sourceMappingURL=catalogtypeattributepayloadv2.d.ts.map