' Options: 'Date: 2025-05-04 23:26:44 '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: SyncPhoneNumbers.* '''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.Endpoints Namespace Global Namespace Voice.Api.Endpoints Public Partial Class EndpointInfo 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 third party reference ID for the endpoint ''' Public Overridable Property ReferenceId As String ''' '''The breadcrumb to the customer for this endpoint ''' Public Overridable Property CustomerBreadcrumb As List(Of CustomerBreadcrumb) ''' '''The display name of the endpoint ''' Public Overridable Property DisplayName As String ''' '''The type of endpoint ''' Public Overridable Property Type As EndpointTypes ''' '''Extra info for this endpoint (typically to show in grid) ''' Public Overridable Property ExtraInformation As String ''' '''The ID of the flow to use for voice ''' Public Overridable Property FlowId As String ''' '''The name of the flow to use for voice ''' Public Overridable Property FlowName As String ''' '''The params for the voice flow ''' Public Overridable Property FlowParams As Struct ''' '''Whether to use a single flow always or use scheduled flow system ''' Public Overridable Property FlowSchedule As EndpointFlowSchedules ''' '''This endpoint's schedule ''' Public Overridable Property Schedule As Schedule ''' '''The list of scheduled flows when using scheduling ''' Public Overridable Property ScheduledFlows As List(Of ScheduledFlow) ''' '''Disable SMS ''' Public Overridable Property DisableSms As Boolean ''' '''Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number ''' Public Overridable Property UseExternal10DlcCampaign As Boolean ''' '''Is this a virtual phone number? ''' Public Overridable Property IsVirtualPhoneNumber As Boolean ''' '''Is caller ID verified for this virtual number? ''' Public Overridable Property IsCallerIdVerified As Boolean ''' '''The verification code for this number ''' Public Overridable Property CallerIdVerificationCode As String ''' '''The phone number ''' Public Overridable Property PhoneNumber As String ''' '''The Sid of the phone number ''' Public Overridable Property PhoneNumberSid As String ''' '''The caller ID Name (CNAM) for the phone number ''' Public Overridable Property CallerIdName As String ''' '''The address SID associated with the phone number ''' Public Overridable Property AddressSid As String ''' '''Do not touch this phone number - for BYOA accounts ''' Public Overridable Property DoNotTouchPhoneNumber As Boolean ''' '''Is this number enrolled in a 10DLC messaging service campaign ''' Public Overridable Property IsEnrolledIn10DlcService As Boolean ''' '''Whether we look up caller ID or not ''' Public Overridable Property EnableCallerIdLookup As Boolean ''' '''The email address of the user ''' Public Overridable Property UserEmailAddress As String ''' '''The Twilio Region for the SIP endpoint ''' Public Overridable Property SipRegion As TwilioSipRegions ''' '''The Twilio Sid of the credentials for Sip ''' Public Overridable Property SipCredentialSid As String ''' '''The Twilio SIP user name ''' Public Overridable Property SipUserName As String ''' '''The Twilio SIP password ''' Public Overridable Property SipPassword As String ''' '''The SIP domain ''' Public Overridable Property SipDomain As String ''' '''Is emergency calling enabled on this number? ''' Public Overridable Property EnableEmergencyCalling As Boolean ''' '''The SID of the emergency address for this number ''' Public Overridable Property EmergencyAddressSid As String ''' '''The ID of the phone number to use for emergency dialing ''' Public Overridable Property EmergencyPhoneNumberId As String ''' '''The current agent state of this user endpoint ''' Public Overridable Property AgentState As AgentStates ''' '''The current agent state reason of this user endpoint ''' Public Overridable Property AgentStateReason As AgentStateReasons ''' '''The mode for this user ''' Public Overridable Property UserMode As UserModes ''' '''The ID of the file to use for voicemail greeting ''' Public Overridable Property VoicemailGreetingId As String ''' '''The endpoint's data ''' Public Overridable Property Data As Struct ''' '''The email address for email endpoints ''' Public Overridable Property EmailAddress As String ''' '''The first name of the user (for user endpoints) ''' Public Overridable Property UserFirstName As String ''' '''The last name of the user (for user endpoints) ''' Public Overridable Property UserLastName As String ''' '''The URL of an image for this user's avatar ''' Public Overridable Property AvatarUrl As String ''' '''Does this user have manager role? ''' Public Overridable Property ManagerRole As UserManagerRoles ''' '''The list of dashboard permissions for when the manager role is custom ''' Public Overridable Property DashboardPermissions As List(Of DashboardPermissions) ''' '''The type of visibility this user has to their own fields ''' Public Overridable Property MyFieldPermissions As UserDataFieldModes ''' '''The type of visibility this user has to customer fields ''' Public Overridable Property CustomerFieldPermissions As UserDataFieldModes ''' '''The type of visibility this user has to other user fields ''' Public Overridable Property OtherUserFieldPermissions As UserDataFieldModes ''' '''The type of visibility this user has to other endpoint fields ''' Public Overridable Property OtherEndpointFieldPermissions As UserDataFieldModes ''' '''The name of this endpoint (for bots etc.) ''' Public Overridable Property Name As String ''' '''The list of tags for this endpoint ''' Public Overridable Property Tags As List(Of Tag) ''' '''The list of action URLs ''' Public Overridable Property ActionUrls As List(Of EndpointActionUrl) ''' '''The list of members in this team ''' Public Overridable Property TeamMemberIds As List(Of String) ''' '''Visibility of this user/team in contact lists ''' Public Overridable Property ContactListVisibility As CustomerVisibility ''' '''The list of contacts personal to this user ''' Public Overridable Property Contacts As List(Of EndpointContact) ''' '''The documo ID for this number ''' Public Overridable Property DocumoId As String ''' '''Integration data for this endpoint ''' Public Overridable Property IntegrationData As EntityIntegrationData ''' '''Settings for third party phone system ''' Public Overridable Property ThirdPartyPhoneSystemSettings As ThirdPartyPhoneSystemSettings ''' '''Should this user override the parent customer's app settings ''' Public Overridable Property OverrideAppSettings As Boolean ''' '''App / Portal settings for this user ''' Public Overridable Property AppSettings As AppSettings ''' '''Configuration for the AI assistant ''' Public Overridable Property AssistantSettings As AssistantSettings ''' '''Configuration for the embed ''' Public Overridable Property EmbedSettings As EmbedSettings End Class ''' '''Syncs list of phone numbers with Twilio detecting any newly ported numbers, status changes, etc. ''' Public Partial Class SyncPhoneNumbers Implements IReturn(Of SyncPhoneNumbersResponse) Implements IPost ''' '''The account ID you want to sync ''' Public Overridable Property AccountId As String End Class Public Partial Class SyncPhoneNumbersResponse Public Overridable Property NewPhoneNumbers As List(Of EndpointInfo) Public Overridable Property UpdatedPhoneNumbers As List(Of EndpointInfo) End Class End Namespace End Namespace