import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LayoutControlsDto } from "./layoutcontrolsdto.js"; import { ResourceOriginEnum } from "./resourceoriginenum.js"; import { ResourceTypeEnum } from "./resourcetypeenum.js"; /** * User who last updated the layout */ export type UpdatedBy = { /** * User ID */ id: string; /** * User first name */ firstName?: string | null | undefined; /** * User last name */ lastName?: string | null | undefined; /** * User external ID */ externalId?: string | null | undefined; }; export type LayoutResponseDto = { /** * Unique internal identifier of the layout */ id: string; /** * Unique identifier for the layout */ layoutId: string; /** * Slug of the layout */ slug: string; /** * Name of the layout */ name: string; /** * Whether the layout is the default layout */ isDefault: boolean; /** * Whether the layout translations are enabled */ isTranslationEnabled: boolean; /** * Last updated timestamp */ updatedAt: string; /** * User who last updated the layout */ updatedBy?: UpdatedBy | null | undefined; /** * Creation timestamp */ createdAt: string; /** * Origin of the layout */ origin: ResourceOriginEnum; /** * Type of the layout */ type: ResourceTypeEnum; /** * The variables JSON Schema for the layout */ variables?: { [k: string]: any; } | null | undefined; /** * Controls metadata for the layout */ controls: LayoutControlsDto; }; /** @internal */ export declare const UpdatedBy$inboundSchema: z.ZodType; export declare function updatedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const LayoutResponseDto$inboundSchema: z.ZodType; export declare function layoutResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=layoutresponsedto.d.ts.map