' Options: 'Date: 2025-05-04 23:00:33 '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: GetEndpointAppConfig.* '''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.App Imports Voice.Api.Customers Imports Voice.Api.Endpoints Namespace Global Namespace Voice.Api.App Public Partial Class AppConfig ''' '''The ID of this endpoint ''' Public Overridable Property EndpointId As String ''' '''The ID of the account ''' Public Overridable Property AccountId As String ''' '''The customer ID associated with this user ''' Public Overridable Property CustomerId As String ''' '''The access token for use with Twilio Voice ''' Public Overridable Property AccessToken As String ''' '''The access token's identity ''' Public Overridable Property Identity As String ''' '''The email address of the user ''' Public Overridable Property EmailAddress As String ''' '''The user's information ''' Public Overridable Property UserInfo As AppUserInfo ''' '''The agent state (for call center users) ''' Public Overridable Property AgentState As AgentStates ''' '''The agent state reason ''' Public Overridable Property AgentStateReason As AgentStateReasons ''' '''The tabs for the app ''' Public Overridable Property Tabs As List(Of Object) ''' '''The app settings ''' Public Overridable Property AppSettings As AppSettings ''' '''The phone settings for third party connectivity ''' Public Overridable Property ThirdPartyPhoneSystemSettings As ThirdPartyPhoneSystemSettings End Class Public Partial Class AppUserInfo ''' '''The user's first name ''' Public Overridable Property FirstName As String ''' '''The user's last name ''' Public Overridable Property LastName As String ''' '''Shortcut to the user's full name ''' Public Overridable Property Name As String ''' '''The URL to the user's avatar ''' Public Overridable Property AvatarUrl As String End Class Public Enum DeviceTypes Web iOS Android End Enum End Namespace Namespace Voice.Api.Customers Public Partial Class AppSettings Public Overridable Property EnablePhoneNumberManagement As Boolean Public Overridable Property EnableDeviceManagement As Boolean Public Overridable Property EnableDialer As Boolean Public Overridable Property EnableCallHistory As Boolean Public Overridable Property EnableAssistants As Boolean Public Overridable Property ShowFileNameInMessageCenter As Boolean Public Overridable Property ChakraTheme As String Public Overridable Property CustomCss As String Public Overridable Property PageTitle As String Public Overridable Property StringMappings As String Public Overridable Property LogoutUrl As String Public Overridable Property PortMyNumberUrl As String End Class End Namespace Namespace Voice.Api.Endpoints Public Enum AgentStateReasons Unknown SetByUser MissedCall SetBySystem End Enum Public Enum AgentStates Unknown Ready NotReady LoggedOut WrapUp Outgoing Other End Enum Public Partial Class GetEndpointAppConfig Implements IReturn(Of AppConfig) ''' '''The endpoint whose config you want to get (this must be a User) ''' Public Overridable Property EndpointId As String ''' '''The endpoint email address whose config you want to get (this must be a User) - EndpointId takes priority over this ''' Public Overridable Property EndpointEmailAddress As String ''' '''The type of device you are requesting config for ''' Public Overridable Property DeviceType As DeviceTypes ''' '''Use a specific push credential SID ''' Public Overridable Property PushCredentialSid As String ''' '''Use a specific application SID ''' Public Overridable Property ApplicationSid As String ''' '''Is this device operating in a sandbox environment? IOS only. ''' Public Overridable Property Sandbox As Boolean End Class Public Partial Class ThirdPartyPhoneSystemSettings Public Overridable Property Type As ThirdPartyPhoneSystemTypes Public Overridable Property SipSettings As ThirdPartySipSettings Public Overridable Property DemoSettings As ThirdPartyDemoSettings Public Partial Class ThirdPartyDemoSettings Public Overridable Property Extension As String End Class Public Partial Class ThirdPartySipSettings Public Overridable Property Accounts As List(Of ThirdPartySipAccountSettings) Public Enum TransportTypes UDP TLS TCP PERS End Enum Public Enum AudioCodecTypes PCMU = 0 GSM = 3 PCMA = 8 G722 = 9 G729 = 18 ILBC = 97 AMR = 98 AMRWB = 99 SPEEX = 100 DTMF = 101 SPEEXWB = 102 ISACWB = 103 ISACSWB = 104 OPUS = 105 G7221 = 121 NONE = -1 End Enum Public Enum DtmfMethods RFC2833 INFO End Enum Public Partial Class ThirdPartySipAccountSettings Public Overridable Property Number As String Public Overridable Property Agent As String Public Overridable Property AuthName As String Public Overridable Property UserName As String Public Overridable Property DisplayName As String Public Overridable Property Password As String Public Overridable Property UserDomain As String Public Overridable Property RegistrationExpires As Integer Public Overridable Property TransportType As TransportTypes Public Overridable Property LocalIP As String Public Overridable Property LocalPort As Integer Public Overridable Property SipServer As String Public Overridable Property SipServerPort As Integer Public Overridable Property OutboundServer As String Public Overridable Property OutboundServerPort As Integer Public Overridable Property StunServer As String Public Overridable Property StunPort As Integer Public Overridable Property AudioPlaybackDeviceName As String Public Overridable Property AudioRecordingDeviceName As String Public Overridable Property AudioCodecs As List(Of AudioCodecTypes) Public Overridable Property DTMFMethod As DtmfMethods End Class End Class End Class Public Enum ThirdPartyPhoneSystemTypes Demo Sip End Enum End Namespace End Namespace