/* Options: Date: 2025-05-05 00:19:18 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: ListConversations.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Voice.Api.Messaging; namespace Voice.Api.Messaging { public partial class ConversationInfo { public virtual string Id { get; set; } public virtual string EndpointId { get; set; } public virtual string OtherAddress { get; set; } public virtual MessageInfo MostRecentMessage { get; set; } } [Route("/conversations", "GET")] public partial class ListConversations : IReturn { /// ///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 virtual List AccountIds { get; set; } /// ///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 virtual List EndpointIds { get; set; } /// ///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 virtual List CustomerIds { get; set; } /// ///The start date for the conversations you want to retrieve /// [ApiMember(Description="The start date for the conversations you want to retrieve")] public virtual string AfterDate { get; set; } } public partial class ListConversationsResponse { public virtual List Conversations { get; set; } } public partial class MessageInfo { public virtual string Id { get; set; } public virtual string AccountId { get; set; } public virtual string CustomerId { get; set; } public virtual string EndpointId { get; set; } public virtual string EndpointDisplayName { get; set; } public virtual string Date { get; set; } public virtual MessageDirections Direction { get; set; } public virtual string OtherAddress { get; set; } public virtual string Sender { get; set; } public virtual string Text { get; set; } public virtual bool IsUnread { get; set; } } }