' Options: 'Date: 2025-05-04 23:38:08 'Version: 8.71 'Tip: To override a DTO option, remove "''" prefix before updating 'BaseUrl: https://team.evovoice.io ' '''GlobalNamespace: '''MakePartial: True '''MakeVirtual: True '''MakeDataContractsExtensible: False '''AddReturnMarker: True '''AddDescriptionAsComments: True '''AddDataContractAttributes: False '''AddIndexesToDataMembers: False '''AddGeneratedCodeAttributes: False '''AddResponseStatus: False '''AddImplicitVersion: '''InitializeCollections: False '''ExportValueTypes: False 'IncludeTypes: ResendNotification.* '''ExcludeTypes: '''AddNamespaces: '''AddDefaultXmlNamespace: http://schemas.servicestack.net/types Imports System Imports System.IO Imports System.Collections Imports System.Collections.Generic Imports System.Runtime.Serialization Imports ServiceStack Imports ServiceStack.DataAnnotations Imports Voice.Api.Notifications Imports Voice.Api Imports Voice.Api.Customers Imports Voice.Api.Files Namespace Global Namespace Voice.Api Public Partial Class EntityInfo ''' '''The ID of the object ''' Public Overridable Property Id As String ''' '''The date the object was created ''' Public Overridable Property DateCreated As String ''' '''The date the object was last modified ''' Public Overridable Property DateLastModified As String ''' '''The user that created this object ''' Public Overridable Property CreatedBy As String ''' '''The user that last modified this object ''' Public Overridable Property LastModifiedBy As String End Class End Namespace Namespace Voice.Api.Customers Public Partial Class CustomerBreadcrumb Public Overridable Property Id As String Public Overridable Property Name As String End Class End Namespace Namespace Voice.Api.Files Public Partial Class FileInfo Inherits EntityInfo ''' '''The type of file this is ''' Public Overridable Property Type As FileTypes ''' '''The account ID this file is associated with ''' Public Overridable Property AccountId As String ''' '''The name of the account this file is associated with ''' Public Overridable Property AccountName As String ''' '''The ID of the customer this file is associated with ''' Public Overridable Property CustomerId As String ''' '''The name of the customer this file is associated with ''' Public Overridable Property CustomerName As String ''' '''The breadcrumb to the customer for this file ''' Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb) ''' '''The ID of the user this file is assocaited with ''' Public Overridable Property UserId As String ''' '''The name of the user this file is associated with ''' Public Overridable Property UserName As String ''' '''The original file name for the file ''' Public Overridable Property FileName As String ''' '''The URI of the file ''' Public Overridable Property Uri As String ''' '''The Content type of the file ''' Public Overridable Property ContentType As String ''' '''The size of the file ''' Public Overridable Property ContentLength As Long ''' '''The Twilio ID of the recording ''' Public Overridable Property RecordingSid As String ''' '''The duration of the recording in seconds ''' Public Overridable Property RecordingDuration As Integer ''' '''Who is the recording from? ''' Public Overridable Property RecordingFrom As String ''' '''Transcription (if available) ''' Public Overridable Property Transcription As String ''' '''From Address (e.g. caller ID) for incoming calls ''' Public Overridable Property FromAddress As String ''' '''To Address (e.g. dialed number) for outgoing calls ''' Public Overridable Property ToAddress As String ''' '''The AI transcription for this call ''' Public Overridable Property AITranscription As String End Class End Namespace Namespace Voice.Api.Notifications Public Partial Class NotificationInfo Inherits EntityInfo ''' '''The account ID this endpoint is associated with ''' Public Overridable Property AccountId As String ''' '''The name of the account this endpoint is associated with ''' Public Overridable Property AccountName As String ''' '''The ID of the customer this endpoint is associated with ''' Public Overridable Property CustomerId As String ''' '''The name of the customer this endpoint is associated with ''' Public Overridable Property CustomerName As String ''' '''The breadcrumb to the customer for this endpoint ''' Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb) ''' '''The type of notification ''' Public Overridable Property Type As NotificationTypes ''' '''The subject of the notification ''' Public Overridable Property Subject As String ''' '''The body of the notification ''' Public Overridable Property Body As String ''' '''The recipients of this notification ''' Public Overridable Property Recipients As List(Of NotificationRecipientInfo) ''' '''The list of attachments ''' Public Overridable Property Attachments As List(Of FileInfo) ''' '''The original from for the session ''' Public Overridable Property From As String ''' '''The original To for the session ''' Public Overridable Property [To] As String ''' '''Was there an error? ''' Public Overridable Property [Error] As Boolean ''' '''The error message ''' Public Overridable Property ErrorMessage As String End Class Public Partial Class NotificationRecipientInfo ''' '''The address of the recipient ''' Public Overridable Property Address As String ''' '''Extra info about the recipient e.g. CC, BCC ''' Public Overridable Property Extra As String ''' '''The name of the recipient ''' Public Overridable Property Name As String End Class Public Enum NotificationTypes Email Sms Push IncomingCall OutgoingCall End Enum Public Partial Class ResendNotification Implements IReturn(Of NotificationInfo) ''' '''The ID of the notification to resend ''' Public Overridable Property NotificationId As String End Class End Namespace End Namespace