import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AttachmentReference } from "./attachmentreference.js"; import { PassThroughBody } from "./passthroughbody.js"; export type Attachment = { /** * A unique identifier for an object. */ id?: string | undefined; /** * The display id of the file */ displayId?: string | null | undefined; /** * The name of the file */ name?: string | null | undefined; /** * The MIME type of the file. */ mimeType?: string | null | undefined; /** * The size of the file in bytes */ size?: number | null | undefined; reference?: AttachmentReference | undefined; /** * Optional description of the file */ description?: string | null | undefined; /** * The URL to download or preview the file */ fileUrl?: string | null | undefined; /** * The folder id where this attachment belong to */ parentFolderId?: string | null | undefined; /** * The user who last updated the object. */ updatedBy?: string | null | undefined; /** * The user who created the object. */ createdBy?: string | null | undefined; /** * The date and time when the object was last updated. */ updatedAt?: Date | null | undefined; /** * The date and time when the object was created. */ createdAt?: Date | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const Attachment$inboundSchema: z.ZodType; export declare function attachmentFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=attachment.d.ts.map