' Options:
'Date: 2025-05-04 22:36:18
'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: AppUploadFile.*
'''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
Imports Voice.Api.Customers
Imports Voice.Api.App.Portal
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.App.Portal
'''
'''Creates a new file. You can either upload directly or via form files multipart
'''
Public Partial Class AppUploadFile
Implements IReturn(Of FileInfo)
Public Overridable Property FileName As String
Public Overridable Property AccountId As String
Public Overridable Property CustomerId 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
Public Enum FileTypes
Upload
VoiceMessage
CallRecording
Fax
Attachment
FaxOutgoing
End Enum
End Namespace
End Namespace