' Options:
'Date: 2025-05-05 00:52:36
'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: ListFiles.*
'''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
Imports Voice.Api.Files
Imports Voice.Api.Customers
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
Public Partial Class ListRequest(Of T)
Implements IGet
'''
'''The page of data to retrieve
'''
Public Overridable Property Page As Integer
'''
'''If you want all objects to be returned. This should be used with care
'''
Public Overridable Property All As Boolean
'''
'''The number per page to retrieve
'''
Public Overridable Property CountPerPage As Integer
'''
'''Specific IDs
'''
Public Overridable Property SpecificIds As List(Of String)
'''
'''Specify a sort field
'''
Public Overridable Property SortField As String
'''
'''Specify a sort order
'''
Public Overridable Property SortOrder As SortOrders
'''
'''Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array
'''
Public Overridable Property SimplifiedPaging As Boolean
End Class
Public Partial Class ListResponse(Of T)
'''
'''The items
'''
Public Overridable Property Items As List(Of FileInfo)
'''
'''The total number of items
'''
Public Overridable Property TotalCount As Integer
'''
'''The total number of pages
'''
Public Overridable Property TotalPages As Integer
'''
'''Are there more pages of items? Used with simplified paging
'''
Public Overridable Property HasMorePages As Boolean
End Class
Public Enum SortOrders
Ascend
Descend
End Enum
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
'''
'''Query for files
'''
Public Partial Class ListFiles
Inherits ListRequest(Of FileInfo)
Implements IReturn(Of ListResponse(Of FileInfo))
'''
'''Filter by account id
'''
Public Overridable Property AccountIds As List(Of String)
'''
'''Filter by customer id
'''
Public Overridable Property CustomerIds As List(Of String)
'''
'''Filter by specific session
'''
Public Overridable Property SessionId As String
'''
'''Filter by file name (contains filter)
'''
Public Overridable Property FileName As String
'''
'''Filter by content type (contains filter)
'''
Public Overridable Property ContentType As String
'''
'''Filter by type
'''
Public Overridable Property Type As FileTypes?
'''
'''Filter by date created (start of range)
'''
Public Overridable Property DateCreatedStart As String
'''
'''Filter by date created (end of range)
'''
Public Overridable Property DateCreatedEnd As String
'''
'''Filter by agent ID
'''
Public Overridable Property UserId As String
'''
'''Search transcription
'''
Public Overridable Property TranscriptionContains As String
End Class
End Namespace
End Namespace