/** * 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. */ /** * Message Envelope * @export * @interface Envelope */ export interface Envelope { /** * The email address the server is sending to. Note this might not always be the address within the message headers. For that reason you should also look at the headers parameter. * @type {string} * @memberof Envelope */ to?: string; /** * The full list of recipients that the remote server is attempting to send to in this transaction. * @type {Array} * @memberof Envelope */ recipients?: Array; /** * The email address that the server was sending from. Note this might not always be the address within the message headers. For that reason you should also look at the headers parameter. * @type {string} * @memberof Envelope */ from?: string; /** * The domain reported by the sending server as it sends the helo or ehlo command. * @type {string} * @memberof Envelope */ helo_domain?: string; /** * The remote IP address of the sending server if available. * @type {string} * @memberof Envelope */ remote_ip?: string; /** * The SPF result for the given IP address and Domain. * @type {string} * @memberof Envelope */ spf?: string; } /** * Check if a given object implements the Envelope interface. */ export declare function instanceOfEnvelope(value: object): value is Envelope; export declare function EnvelopeFromJSON(json: any): Envelope; export declare function EnvelopeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Envelope; export declare function EnvelopeToJSON(json: any): Envelope; export declare function EnvelopeToJSONTyped(value?: Envelope | null, ignoreDiscriminator?: boolean): any;