' Options: 'Date: 2025-05-04 23:10:04 '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: GetMyFiles.* '''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.Files Imports Voice.Api.App Namespace Global Namespace Voice.Api.App ''' '''Gets the files associated with the authenticated user ''' Public Partial Class GetMyFiles Implements IReturn(Of GetMyFilesResponse) Implements IPost ''' '''Filter by type ''' Public Overridable Property FileTypes As List(Of FileTypes) End Class Public Partial Class GetMyFilesResponse Public Overridable Property Files As List(Of FileInfo) 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 Public Enum FileTypes Upload VoiceMessage CallRecording Fax Attachment FaxOutgoing End Enum End Namespace End Namespace