Interface DeviceFileCreateRequest

Construct a type with the properties of T except for those in type K.

interface DeviceFileCreateRequest {
    access_type?: AccessTypeEnum;
    app_metadata?: Record<string, any>;
    content_upload_id?: string;
    download_type?: DownloadTypeEnum;
    expires_at?: null | string;
    folder_id?: string;
    instance_id: string;
    is_asset?: boolean;
    metadata?: Record<string, any>;
    name?: string;
    owned_by_id?: null | number;
    path: string;
    permissions?: FilePermissionRequest;
    tags?: string[];
    thumbnail?: Blob;
    thumbnail_upload_id?: string;
    transcript?: string;
    type?: FileTypeEnum;
    url?: string;
}

Hierarchy (View Summary)

Properties

access_type?: AccessTypeEnum
app_metadata?: Record<string, any>
content_upload_id?: string
download_type?: DownloadTypeEnum
expires_at?: null | string
folder_id?: string
instance_id: string
is_asset?: boolean

Deprecated: Please use the 'type' field instead. This field is maintained for backward compatibility and may be removed in future releases.

metadata?: Record<string, any>
name?: string
owned_by_id?: null | number
path: string
permissions?: FilePermissionRequest
tags?: string[]
thumbnail?: Blob
thumbnail_upload_id?: string
transcript?: string
url?: string