/* Options: Date: 2025-05-04 22:48: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: AppGetHomeInformation.* //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.Portal; using Voice.Api.Messaging; using Voice.Api.Files; using Voice.Api.Sessions; namespace Voice.Api.Files { public partial class FileInfo : EntityInfo { /// ///The type of file this is /// [ApiMember(Description="The type of file this is")] public virtual FileTypes Type { get; set; } /// ///The account ID this file is associated with /// [ApiMember(Description="The account ID this file is associated with")] public virtual string AccountId { get; set; } /// ///The name of the account this file is associated with /// [ApiMember(Description="The name of the account this file is associated with")] public virtual string AccountName { get; set; } /// ///The ID of the customer this file is associated with /// [ApiMember(Description="The ID of the customer this file is associated with")] public virtual string CustomerId { get; set; } /// ///The name of the customer this file is associated with /// [ApiMember(Description="The name of the customer this file is associated with")] public virtual string CustomerName { get; set; } /// ///The breadcrumb to the customer for this file /// [ApiMember(Description="The breadcrumb to the customer for this file")] public virtual List CustomerBreadcrumb { get; set; } /// ///The ID of the user this file is assocaited with /// [ApiMember(Description="The ID of the user this file is assocaited with")] public virtual string UserId { get; set; } /// ///The name of the user this file is associated with /// [ApiMember(Description="The name of the user this file is associated with")] public virtual string UserName { get; set; } /// ///The original file name for the file /// [ApiMember(Description="The original file name for the file")] public virtual string FileName { get; set; } /// ///The URI of the file /// [ApiMember(Description="The URI of the file")] public virtual string Uri { get; set; } /// ///The Content type of the file /// [ApiMember(Description="The Content type of the file")] public virtual string ContentType { get; set; } /// ///The size of the file /// [ApiMember(Description="The size of the file")] public virtual long ContentLength { get; set; } /// ///The Twilio ID of the recording /// [ApiMember(Description="The Twilio ID of the recording")] public virtual string RecordingSid { get; set; } /// ///The duration of the recording in seconds /// [ApiMember(Description="The duration of the recording in seconds")] public virtual int RecordingDuration { get; set; } /// ///Who is the recording from? /// [ApiMember(Description="Who is the recording from?")] public virtual string RecordingFrom { get; set; } /// ///Transcription (if available) /// [ApiMember(Description="Transcription (if available)")] public virtual string Transcription { get; set; } /// ///From Address (e.g. caller ID) for incoming calls /// [ApiMember(Description="From Address (e.g. caller ID) for incoming calls")] public virtual string FromAddress { get; set; } /// ///To Address (e.g. dialed number) for outgoing calls /// [ApiMember(Description="To Address (e.g. dialed number) for outgoing calls")] public virtual string ToAddress { get; set; } /// ///The AI transcription for this call /// [ApiMember(Description="The AI transcription for this call")] public virtual string AITranscription { get; set; } } } 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; } } 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; } } } namespace Voice.Api.Portal { [Route("/portal/home", "GET")] public partial class AppGetHomeInformation : IReturn { public virtual string AccountId { get; set; } public virtual string CustomerId { get; set; } public virtual string FromDate { get; set; } } public partial class AppHomeCallMetric { public virtual string MetricKey { get; set; } public virtual double Total { get; set; } public virtual double Average { get; set; } } public partial class AppHomeInformation { public virtual bool IsHostedSuiteCustomer { get; set; } public virtual List Conversations { get; set; } public virtual List Calls { get; set; } public virtual List CallMetrics { get; set; } public virtual List Voicemail { get; set; } public virtual List Forms { get; set; } } public partial class HostedSuiteCompletedForm { public virtual string Id { get; set; } public virtual string Name { get; set; } public virtual string DateCreated { get; set; } public virtual string DateCompleted { get; set; } public virtual string FormId { get; set; } public virtual string FormName { get; set; } public virtual string ClientId { get; set; } public virtual string ClientName { get; set; } public virtual string ContactId { get; set; } public virtual string ContactName { get; set; } public virtual List ContactsIds { get; set; } public virtual List ContactsNames { get; set; } public virtual string EmailSubject { get; set; } public virtual string CallerNumber { get; set; } public virtual List Fields { get; set; } } public partial class HostedSuiteCompletedFormField { public virtual string Name { get; set; } public virtual List Values { get; set; } } } namespace Voice.Api.Sessions { public partial class SessionInfo : EntityInfo { /// ///The state of the session /// [ApiMember(Description="The state of the session")] public virtual SessionDialState DialState { get; set; } /// ///The call state of the session /// [ApiMember(Description="The call state of the session")] public virtual SessionCallState CallState { get; set; } /// ///The queue state of the session /// [ApiMember(Description="The queue state of the session")] public virtual SessionQueueStates QueueState { get; set; } /// ///The ID of the account associated with the flow /// [ApiMember(Description="The ID of the account associated with the flow")] public virtual string AccountId { get; set; } /// ///The name of the account associated with the session /// [ApiMember(Description="The name of the account associated with the session")] public virtual string AccountName { get; set; } /// ///The ID of the customer this session is associated with /// [ApiMember(Description="The ID of the customer this session is associated with")] public virtual string CustomerId { get; set; } /// ///The customer breadcrumb this session is associated with /// [ApiMember(Description="The customer breadcrumb this session is associated with")] public virtual List CustomerBreadcrumb { get; set; } /// ///The name of the customer this session is associated with /// [ApiMember(Description="The name of the customer this session is associated with")] public virtual string CustomerName { get; set; } /// ///The ID of the endpoint associated with this session /// [ApiMember(Description="The ID of the endpoint associated with this session")] public virtual string EndpointId { get; set; } /// ///The name of the endpoint associated with this session /// [ApiMember(Description="The name of the endpoint associated with this session")] public virtual string EndpointName { get; set; } /// ///The date the call completed /// [ApiMember(Description="The date the call completed")] public virtual string DateCompleted { get; set; } /// ///The destination of the session (e.g. what was entered into the Dial box) /// [ApiMember(Description="The destination of the session (e.g. what was entered into the Dial box)")] public virtual string Destination { get; set; } /// ///The to address if any /// [ApiMember(Description="The to address if any")] public virtual string ToAddress { get; set; } /// ///The from address if any /// [ApiMember(Description="The from address if any")] public virtual string FromAddress { get; set; } /// ///The from name if any /// [ApiMember(Description="The from name if any")] public virtual string FromName { get; set; } /// ///Answered by name (if any) /// [ApiMember(Description="Answered by name (if any)")] public virtual string AnsweredByName { get; set; } /// ///The ID of the queue member assigned to this call /// [ApiMember(Description="The ID of the queue member assigned to this call")] public virtual string QueueMemberId { get; set; } /// ///The flow channel /// [ApiMember(Description="The flow channel")] public virtual FlowChannels Channel { get; set; } /// ///Has the session ended /// [ApiMember(Description="Has the session ended")] public virtual bool Ended { get; set; } /// ///The outcome of the call /// [ApiMember(Description="The outcome of the call")] public virtual string Outcome { get; set; } /// ///The twilio Call SID of this session /// [ApiMember(Description="The twilio Call SID of this session")] public virtual string CallSid { get; set; } /// ///Any console data for this session /// [ApiMember(Description="Any console data for this session")] public virtual string ConsoleData { get; set; } /// ///The name of the hold queue for this call /// [ApiMember(Description="The name of the hold queue for this call")] public virtual string HoldQueueName { get; set; } /// ///The user ID who put this call on hold /// [ApiMember(Description="The user ID who put this call on hold")] public virtual string HeldByUserId { get; set; } /// ///The reason for the hold /// [ApiMember(Description="The reason for the hold")] public virtual SessionHoldReasons HoldReason { get; set; } /// ///The SID of the conference if in a conference call /// [ApiMember(Description="The SID of the conference if in a conference call")] public virtual string ConferenceSid { get; set; } /// ///The display name for this session /// [ApiMember(Description="The display name for this session")] public virtual string DisplayName { get; set; } /// ///The log entries for this session /// [ApiMember(Description="The log entries for this session")] public virtual List Log { get; set; } /// ///The members of this session /// [ApiMember(Description="The members of this session")] public virtual List Members { get; set; } /// ///The callback number (typically used for SIP to User calls) /// [ApiMember(Description="The callback number (typically used for SIP to User calls)")] public virtual string CallbackNumber { get; set; } /// ///The ID of the endpoint that answered /// [ApiMember(Description="The ID of the endpoint that answered")] public virtual string AnsweredById { get; set; } /// ///Is this session incoming or outgoing? /// [ApiMember(Description="Is this session incoming or outgoing?")] public virtual SessionDirections Direction { get; set; } /// ///The phone number that this session is coming from (used with SMS chats) /// [ApiMember(Description="The phone number that this session is coming from (used with SMS chats)")] public virtual string FromPhoneNumber { get; set; } /// ///The Call SID of the most recently added conference participant /// [ApiMember(Description="The Call SID of the most recently added conference participant")] public virtual string MostRecentParticipantCallSid { get; set; } /// ///Was this session missed? /// [ApiMember(Description="Was this session missed?")] public virtual bool WasMissed { get; set; } /// ///The ring queue that the call is currently in /// [ApiMember(Description="The ring queue that the call is currently in")] public virtual string RingQueueId { get; set; } } }