import type { files_AdditionalFields } from './files_AdditionalFields'; import type { files_Fields } from './files_Fields'; import type { files_LastModifiedBy } from './files_LastModifiedBy'; export type files_File = { additionalFields?: files_AdditionalFields; /** * ChannelID is the file channel the item belongs to. */ channelId?: string; /** * ClientPermissions controls client read/write access for folders. */ clientPermissions?: files_File.clientPermissions; createdAt?: string; /** * CreatorId is the id of the user who created the file. */ creatorId?: string; data?: string; /** * DownloadURL is a presigned URL for downloading the file's contents. */ downloadUrl?: string; /** * Fields holds the item's name, path, link target, size, and status. */ fields: files_Fields; id?: string; identityId?: string; /** * LastModifiedBy identifies the user who last modified the file. */ lastModifiedBy?: files_LastModifiedBy; object?: string; previousAttributes?: Record; ref?: string; /** * UpdatedDate is when the file was last updated. */ updatedAt?: string; /** * UploadURL is a presigned URL for uploading the file's binary data, set on creation of an unuploaded file. */ uploadUrl?: string; }; export declare namespace files_File { /** * ClientPermissions controls client read/write access for folders. */ enum clientPermissions { READ_WRITE = "read_write", READ_ONLY = "read_only" } }