Represents an uploaded file in the SDK.

interface ESPFileInterface {
    description?: string;
    downloadUrl?: string;
    entityId?: string;
    entityType?: string;
    fileId: string;
    fileMd5?: string;
    fileName?: string;
    fileType?: string;
    metadata?: string | Record<string, unknown>;
    public?: boolean;
    s3Key?: string;
    timestamp?: string;
    userId?: string;
    userName?: string;
}

Implemented by

Properties

description?: string
downloadUrl?: string
entityId?: string
entityType?: string
fileId: string
fileMd5?: string

Hex MD5 checksum of the file content.

fileName?: string
fileType?: string
metadata?: string | Record<string, unknown>
public?: boolean
s3Key?: string
timestamp?: string
userId?: string
userName?: string