/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface MessageAttachment */ export interface MessageAttachment { /** * File ID returned from the upload-url endpoint. Absent for legacy attachments. * @type {string} * @memberof MessageAttachment */ fileId?: string; /** * MIME type of the file. Usually a supported upload type, but responses may also carry legacy or Canvas-provided content types. * @type {string} * @memberof MessageAttachment */ mimeType: string; /** * Original filename of the uploaded file * @type {string} * @memberof MessageAttachment */ name: string; /** * For S3 attachments: a fresh signed GET URL (expires in 30 minutes). For canvas-file attachments: the permanent Canvas file URL. * @type {string} * @memberof MessageAttachment */ url?: string; /** * Attachment type identifier (e.g. 'canvas-file'). * @type {string} * @memberof MessageAttachment */ type?: string; /** * Canvas course name the file belongs to. * @type {string} * @memberof MessageAttachment */ courseName?: string; /** * True when the stored file is no longer retrievable, so no `url` is issued for it and it is excluded from AI context. Re-upload the file to use it again. * @type {boolean} * @memberof MessageAttachment */ unavailable?: boolean; /** * When the file was first found to be no longer retrievable. Present only alongside `unavailable`. * @type {Date} * @memberof MessageAttachment */ missingAt?: Date; } /** * Check if a given object implements the MessageAttachment interface. */ export declare function instanceOfMessageAttachment(value: object): value is MessageAttachment; export declare function MessageAttachmentFromJSON(json: any): MessageAttachment; export declare function MessageAttachmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageAttachment; export declare function MessageAttachmentToJSON(json: any): MessageAttachment; export declare function MessageAttachmentToJSONTyped(value?: MessageAttachment | null, ignoreDiscriminator?: boolean): any;