/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Headers } from './Headers'; import type { CloudmailinAttachment } from './CloudmailinAttachment'; import type { Envelope } from './Envelope'; /** * JSON schema for the CloudMainIn message format * @export * @interface CloudmailinMessage */ export interface CloudmailinMessage { /** * * @type {Envelope} * @memberof CloudmailinMessage */ envelope?: Envelope; /** * * @type {Headers} * @memberof CloudmailinMessage */ headers?: Headers; /** * Message body, as plain text. * @type {string} * @memberof CloudmailinMessage */ plain?: string; /** * Message body, as html. * @type {string} * @memberof CloudmailinMessage */ html?: string; /** * Message reply if found. * @type {string} * @memberof CloudmailinMessage */ reply_plain?: string; /** * Attachments to the message. * @type {Array} * @memberof CloudmailinMessage */ attachments?: Array; } /** * Check if a given object implements the CloudmailinMessage interface. */ export declare function instanceOfCloudmailinMessage(value: object): value is CloudmailinMessage; export declare function CloudmailinMessageFromJSON(json: any): CloudmailinMessage; export declare function CloudmailinMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): CloudmailinMessage; export declare function CloudmailinMessageToJSON(json: any): CloudmailinMessage; export declare function CloudmailinMessageToJSONTyped(value?: CloudmailinMessage | null, ignoreDiscriminator?: boolean): any;