/* tslint:disable */ /* eslint-disable */ /** * ChatGPT Function * Backend for Azure OpenAI integrations * * The version of the OpenAPI document: v1.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. */ import { mapValues } from '../runtime'; /** * * @export * @interface EmailContentResponse */ export interface EmailContentResponse { /** * * @type {boolean} * @memberof EmailContentResponse */ success?: boolean; /** * * @type {string} * @memberof EmailContentResponse */ message?: string; /** * * @type {string} * @memberof EmailContentResponse */ subject?: string; /** * * @type {string} * @memberof EmailContentResponse */ body?: string; /** * * @type {string} * @memberof EmailContentResponse */ companyName?: string; /** * * @type {string} * @memberof EmailContentResponse */ contactId?: string; /** * * @type {string} * @memberof EmailContentResponse */ salesforceData?: string; /** * * @type {string} * @memberof EmailContentResponse */ externalResearch?: string; } /** * Check if a given object implements the EmailContentResponse interface. */ export function instanceOfEmailContentResponse(value: object): value is EmailContentResponse { return true; } export function EmailContentResponseFromJSON(json: any): EmailContentResponse { return EmailContentResponseFromJSONTyped(json, false); } export function EmailContentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailContentResponse { if (json == null) { return json; } return { 'success': json['success'] == null ? undefined : json['success'], 'message': json['message'] == null ? undefined : json['message'], 'subject': json['subject'] == null ? undefined : json['subject'], 'body': json['body'] == null ? undefined : json['body'], 'companyName': json['companyName'] == null ? undefined : json['companyName'], 'contactId': json['contactId'] == null ? undefined : json['contactId'], 'salesforceData': json['salesforceData'] == null ? undefined : json['salesforceData'], 'externalResearch': json['externalResearch'] == null ? undefined : json['externalResearch'], }; } export function EmailContentResponseToJSON(json: any): EmailContentResponse { return EmailContentResponseToJSONTyped(json, false); } export function EmailContentResponseToJSONTyped(value?: EmailContentResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'success': value['success'], 'message': value['message'], 'subject': value['subject'], 'body': value['body'], 'companyName': value['companyName'], 'contactId': value['contactId'], 'salesforceData': value['salesforceData'], 'externalResearch': value['externalResearch'], }; }