/** * 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 MessageAttachmentsInner */ export interface MessageAttachmentsInner { /** * File ID returned from the upload-url endpoint * @type {string} * @memberof MessageAttachmentsInner */ fileId: string; /** * MIME type of the file * @type {string} * @memberof MessageAttachmentsInner */ mimeType: MessageAttachmentsInnerMimeTypeEnum; /** * Original filename of the uploaded file * @type {string} * @memberof MessageAttachmentsInner */ name: string; /** * Fresh signed GET URL (expires in 30 minutes). Absent for legacy attachments without a fileId. * @type {string} * @memberof MessageAttachmentsInner */ url?: string; } /** * @export */ export declare const MessageAttachmentsInnerMimeTypeEnum: { readonly ImageJpeg: "image/jpeg"; readonly ImageJpg: "image/jpg"; readonly ImagePng: "image/png"; readonly ImageWebp: "image/webp"; readonly ApplicationPdf: "application/pdf"; }; export type MessageAttachmentsInnerMimeTypeEnum = typeof MessageAttachmentsInnerMimeTypeEnum[keyof typeof MessageAttachmentsInnerMimeTypeEnum]; /** * Check if a given object implements the MessageAttachmentsInner interface. */ export declare function instanceOfMessageAttachmentsInner(value: object): value is MessageAttachmentsInner; export declare function MessageAttachmentsInnerFromJSON(json: any): MessageAttachmentsInner; export declare function MessageAttachmentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MessageAttachmentsInner; export declare function MessageAttachmentsInnerToJSON(json: any): MessageAttachmentsInner; export declare function MessageAttachmentsInnerToJSONTyped(value?: MessageAttachmentsInner | null, ignoreDiscriminator?: boolean): any;