/* Options: Date: 2025-05-04 22:40:39 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListConversations.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export class MessageInfo { public id: string; public accountId: string; public customerId: string; public endpointId: string; public endpointDisplayName: string; public date: string; public direction: MessageDirections; public otherAddress: string; public sender: string; public text: string; public isUnread: boolean; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ConversationInfo { public id: string; public endpointId: string; public otherAddress: string; public mostRecentMessage: MessageInfo; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class ListConversationsResponse { public conversations: ConversationInfo[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @Route("/conversations", "GET") export class ListConversations implements IReturn { /** @description The IDs of the account whose conversations you want to retrieve */ // @ApiMember(Description="The IDs of the account whose conversations you want to retrieve") public accountIds: string[]; /** @description The list of endpoint IDs whose conversations you want to retrieve */ // @ApiMember(Description="The list of endpoint IDs whose conversations you want to retrieve") public endpointIds: string[]; /** @description The list of customer IDs whose conversations you want to retrieve */ // @ApiMember(Description="The list of customer IDs whose conversations you want to retrieve") public customerIds: string[]; /** @description The start date for the conversations you want to retrieve */ // @ApiMember(Description="The start date for the conversations you want to retrieve") public afterDate: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ListConversations'; } public getMethod() { return 'GET'; } public createResponse() { return new ListConversationsResponse(); } }