/** * 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. */ import type { AdminExchangeMessage } from './AdminExchangeMessage'; import type { AdminExchangeChat } from './AdminExchangeChat'; /** * * @export * @interface AdminLastExchange */ export interface AdminLastExchange { /** * * @type {string} * @memberof AdminLastExchange */ accountUserId: string; /** * External user identifier supplied by the consumer * @type {string} * @memberof AdminLastExchange */ userId: string | null; /** * * @type {Date} * @memberof AdminLastExchange */ userCreatedAt: Date; /** * Total non-synthetic user-role messages this user has sent across all chats * @type {number} * @memberof AdminLastExchange */ userMessageCount: number; /** * Number of distinct chats in which the user sent a message * @type {number} * @memberof AdminLastExchange */ chatCount: number; /** * The chat containing the user's last message * @type {AdminExchangeChat} * @memberof AdminLastExchange */ chat: AdminExchangeChat; /** * The last non-synthetic message the user sent * @type {AdminExchangeMessage} * @memberof AdminLastExchange */ lastUserMessage: AdminExchangeMessage; /** * The first assistant message that followed the user's last message in the same chat. Null when the assistant never replied (for example the stream failed or was abandoned mid-flight). * @type {AdminExchangeMessage} * @memberof AdminLastExchange */ assistantResponse: AdminExchangeMessage | null; } /** * Check if a given object implements the AdminLastExchange interface. */ export declare function instanceOfAdminLastExchange(value: object): value is AdminLastExchange; export declare function AdminLastExchangeFromJSON(json: any): AdminLastExchange; export declare function AdminLastExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminLastExchange; export declare function AdminLastExchangeToJSON(json: any): AdminLastExchange; export declare function AdminLastExchangeToJSONTyped(value?: AdminLastExchange | null, ignoreDiscriminator?: boolean): any;