| Requires any of the roles: | SystemAdministrator, Manager, Customer |
| POST | /phone-numbers/sync |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*
/**
* Syncs list of phone numbers with Twilio detecting any newly ported numbers, status changes, etc.
*/
@Api(Description="Syncs list of phone numbers with Twilio detecting any newly ported numbers, status changes, etc.")
open class SyncPhoneNumbers : IPost
{
/**
* The account ID you want to sync
*/
@ApiMember(Description="The account ID you want to sync")
open var accountId:String? = null
}
open class SyncPhoneNumbersResponse
{
open var newPhoneNumbers:ArrayList<EndpointInfo>? = null
open var updatedPhoneNumbers:ArrayList<EndpointInfo>? = null
}
open class EndpointInfo : EntityInfo()
{
/**
* The account ID this endpoint is associated with
*/
@ApiMember(Description="The account ID this endpoint is associated with")
open var accountId:String? = null
/**
* The name of the account this endpoint is associated with
*/
@ApiMember(Description="The name of the account this endpoint is associated with")
open var accountName:String? = null
/**
* The ID of the customer this endpoint is associated with
*/
@ApiMember(Description="The ID of the customer this endpoint is associated with")
open var customerId:String? = null
/**
* The name of the customer this endpoint is associated with
*/
@ApiMember(Description="The name of the customer this endpoint is associated with")
open var customerName:String? = null
/**
* The third party reference ID for the endpoint
*/
@ApiMember(Description="The third party reference ID for the endpoint")
open var referenceId:String? = null
/**
* The breadcrumb to the customer for this endpoint
*/
@ApiMember(Description="The breadcrumb to the customer for this endpoint")
open var customerBreadcrumb:ArrayList<CustomerBreadcrumb>? = null
/**
* The display name of the endpoint
*/
@ApiMember(Description="The display name of the endpoint")
open var displayName:String? = null
/**
* The type of endpoint
*/
@ApiMember(Description="The type of endpoint")
@SerializedName("type") open var Type:EndpointTypes? = null
/**
* Extra info for this endpoint (typically to show in grid)
*/
@ApiMember(Description="Extra info for this endpoint (typically to show in grid)")
open var extraInformation:String? = null
/**
* The ID of the flow to use for voice
*/
@ApiMember(Description="The ID of the flow to use for voice")
open var flowId:String? = null
/**
* The name of the flow to use for voice
*/
@ApiMember(Description="The name of the flow to use for voice")
open var flowName:String? = null
/**
* The params for the voice flow
*/
@ApiMember(Description="The params for the voice flow")
open var flowParams:Struct? = null
/**
* Whether to use a single flow always or use scheduled flow system
*/
@ApiMember(Description="Whether to use a single flow always or use scheduled flow system")
open var flowSchedule:EndpointFlowSchedules? = null
/**
* This endpoint's schedule
*/
@ApiMember(Description="This endpoint's schedule")
open var schedule:Schedule? = null
/**
* The list of scheduled flows when using scheduling
*/
@ApiMember(Description="The list of scheduled flows when using scheduling")
open var scheduledFlows:ArrayList<ScheduledFlow>? = null
/**
* Disable SMS
*/
@ApiMember(Description="Disable SMS")
open var disableSms:Boolean? = null
/**
* Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number
*/
@ApiMember(Description="Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number")
open var useExternal10DlcCampaign:Boolean? = null
/**
* Is this a virtual phone number?
*/
@ApiMember(Description="Is this a virtual phone number?")
open var isVirtualPhoneNumber:Boolean? = null
/**
* Is caller ID verified for this virtual number?
*/
@ApiMember(Description="Is caller ID verified for this virtual number?")
open var isCallerIdVerified:Boolean? = null
/**
* The verification code for this number
*/
@ApiMember(Description="The verification code for this number")
open var callerIdVerificationCode:String? = null
/**
* The phone number
*/
@ApiMember(Description="The phone number")
open var phoneNumber:String? = null
/**
* The Sid of the phone number
*/
@ApiMember(Description="The Sid of the phone number")
open var phoneNumberSid:String? = null
/**
* The caller ID Name (CNAM) for the phone number
*/
@ApiMember(Description="The caller ID Name (CNAM) for the phone number")
open var callerIdName:String? = null
/**
* The address SID associated with the phone number
*/
@ApiMember(Description="The address SID associated with the phone number")
open var addressSid:String? = null
/**
* Do not touch this phone number - for BYOA accounts
*/
@ApiMember(Description="Do not touch this phone number - for BYOA accounts")
open var doNotTouchPhoneNumber:Boolean? = null
/**
* Is this number enrolled in a 10DLC messaging service campaign
*/
@ApiMember(Description="Is this number enrolled in a 10DLC messaging service campaign")
open var isEnrolledIn10DlcService:Boolean? = null
/**
* Whether we look up caller ID or not
*/
@ApiMember(Description="Whether we look up caller ID or not")
open var enableCallerIdLookup:Boolean? = null
/**
* The email address of the user
*/
@ApiMember(Description="The email address of the user")
open var userEmailAddress:String? = null
/**
* The Twilio Region for the SIP endpoint
*/
@ApiMember(Description="The Twilio Region for the SIP endpoint")
open var sipRegion:TwilioSipRegions? = null
/**
* The Twilio Sid of the credentials for Sip
*/
@ApiMember(Description="The Twilio Sid of the credentials for Sip")
open var sipCredentialSid:String? = null
/**
* The Twilio SIP user name
*/
@ApiMember(Description="The Twilio SIP user name")
open var sipUserName:String? = null
/**
* The Twilio SIP password
*/
@ApiMember(Description="The Twilio SIP password")
open var sipPassword:String? = null
/**
* The SIP domain
*/
@ApiMember(Description="The SIP domain")
open var sipDomain:String? = null
/**
* Is emergency calling enabled on this number?
*/
@ApiMember(Description="Is emergency calling enabled on this number?")
open var enableEmergencyCalling:Boolean? = null
/**
* The SID of the emergency address for this number
*/
@ApiMember(Description="The SID of the emergency address for this number")
open var emergencyAddressSid:String? = null
/**
* The ID of the phone number to use for emergency dialing
*/
@ApiMember(Description="The ID of the phone number to use for emergency dialing")
open var emergencyPhoneNumberId:String? = null
/**
* The current agent state of this user endpoint
*/
@ApiMember(Description="The current agent state of this user endpoint")
open var agentState:AgentStates? = null
/**
* The current agent state reason of this user endpoint
*/
@ApiMember(Description="The current agent state reason of this user endpoint")
open var agentStateReason:AgentStateReasons? = null
/**
* The mode for this user
*/
@ApiMember(Description="The mode for this user")
open var userMode:UserModes? = null
/**
* The ID of the file to use for voicemail greeting
*/
@ApiMember(Description="The ID of the file to use for voicemail greeting")
open var voicemailGreetingId:String? = null
/**
* The endpoint's data
*/
@ApiMember(Description="The endpoint's data")
@SerializedName("data") open var Data:Struct? = null
/**
* The email address for email endpoints
*/
@ApiMember(Description="The email address for email endpoints")
open var emailAddress:String? = null
/**
* The first name of the user (for user endpoints)
*/
@ApiMember(Description="The first name of the user (for user endpoints)")
open var userFirstName:String? = null
/**
* The last name of the user (for user endpoints)
*/
@ApiMember(Description="The last name of the user (for user endpoints)")
open var userLastName:String? = null
/**
* The URL of an image for this user's avatar
*/
@ApiMember(Description="The URL of an image for this user's avatar")
open var avatarUrl:String? = null
/**
* Does this user have manager role?
*/
@ApiMember(Description="Does this user have manager role?")
open var managerRole:UserManagerRoles? = null
/**
* The read/write/delete access that the user has in the dashboard
*/
@ApiMember(Description="The read/write/delete access that the user has in the dashboard")
open var managerAccess:UserManagerAccess? = null
/**
* The list of dashboard permissions for when the manager role is custom
*/
@ApiMember(Description="The list of dashboard permissions for when the manager role is custom")
open var dashboardPermissions:ArrayList<DashboardPermissions>? = null
/**
* The type of visibility this user has to their own fields
*/
@ApiMember(Description="The type of visibility this user has to their own fields")
open var myFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to customer fields
*/
@ApiMember(Description="The type of visibility this user has to customer fields")
open var customerFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to other user fields
*/
@ApiMember(Description="The type of visibility this user has to other user fields")
open var otherUserFieldPermissions:UserDataFieldModes? = null
/**
* The type of visibility this user has to other endpoint fields
*/
@ApiMember(Description="The type of visibility this user has to other endpoint fields")
open var otherEndpointFieldPermissions:UserDataFieldModes? = null
/**
* The name of this endpoint (for bots etc.)
*/
@ApiMember(Description="The name of this endpoint (for bots etc.)")
open var name:String? = null
/**
* The list of tags for this endpoint
*/
@ApiMember(Description="The list of tags for this endpoint")
open var tags:ArrayList<Tag>? = null
/**
* The list of action URLs
*/
@ApiMember(Description="The list of action URLs")
open var actionUrls:ArrayList<EndpointActionUrl>? = null
/**
* The list of members in this team
*/
@ApiMember(Description="The list of members in this team")
open var teamMemberIds:ArrayList<String>? = null
/**
* Visibility of this user/team in contact lists
*/
@ApiMember(Description="Visibility of this user/team in contact lists")
open var contactListVisibility:CustomerVisibility? = null
/**
* The list of contacts personal to this user
*/
@ApiMember(Description="The list of contacts personal to this user")
open var contacts:ArrayList<EndpointContact>? = null
/**
* The documo ID for this number
*/
@ApiMember(Description="The documo ID for this number")
open var documoId:String? = null
/**
* Integration data for this endpoint
*/
@ApiMember(Description="Integration data for this endpoint")
open var integrationData:EntityIntegrationData? = null
/**
* Settings for third party phone system
*/
@ApiMember(Description="Settings for third party phone system")
open var thirdPartyPhoneSystemSettings:ThirdPartyPhoneSystemSettings? = null
/**
* Should this user override the parent customer's app settings
*/
@ApiMember(Description="Should this user override the parent customer's app settings")
open var overrideAppSettings:Boolean? = null
/**
* App / Portal settings for this user
*/
@ApiMember(Description="App / Portal settings for this user")
open var appSettings:AppSettings? = null
/**
* Configuration for the AI assistant
*/
@ApiMember(Description="Configuration for the AI assistant")
open var assistantSettings:AssistantSettings? = null
/**
* Configuration for the embed
*/
@ApiMember(Description="Configuration for the embed")
open var embedSettings:EmbedSettings? = null
}
open class EntityInfo
{
/**
* The ID of the object
*/
@ApiMember(Description="The ID of the object")
open var id:String? = null
/**
* The date the object was created
*/
@ApiMember(Description="The date the object was created")
open var dateCreated:String? = null
/**
* The date the object was last modified
*/
@ApiMember(Description="The date the object was last modified")
open var dateLastModified:String? = null
/**
* The user that created this object
*/
@ApiMember(Description="The user that created this object")
open var createdBy:String? = null
/**
* The user that last modified this object
*/
@ApiMember(Description="The user that last modified this object")
open var lastModifiedBy:String? = null
}
open class CustomerBreadcrumb
{
open var id:String? = null
open var name:String? = null
}
enum class EndpointTypes
{
PhoneNumber,
User,
FaxNumber,
EmailAddress,
Unused1,
Unused2,
Unused3,
Unused4,
Unused5,
Team,
Assistant,
}
open class Struct : HashMap<String,Value>()
{
}
open class Value
{
open var boolValue:Boolean? = null
open var stringValue:String? = null
open var numberValue:Double? = null
open var listValue:ArrayList<Struct>? = null
open var structValue:Struct? = null
}
enum class EndpointFlowSchedules
{
Always,
Scheduled,
Simple,
}
open class Schedule
{
open var timeZoneId:String? = null
open var inherit:Boolean? = null
open var forceClosed:Boolean? = null
open var rules:ArrayList<SchedulingRule>? = null
open var defaultState:String? = null
}
open class SchedulingRule
{
open var id:String? = null
open var name:String? = null
open var priority:Int? = null
open var state:String? = null
open var source:String? = null
open var condition:String? = null
open var simpleRuleType:SimpleSchedulingRuleTypes? = null
open var customerState:String? = null
open var flowId:String? = null
open var flowParams:Struct? = null
open var isAllDay:Boolean? = null
open var startDate:String? = null
open var startTime:String? = null
open var endTime:String? = null
open var bySetPosition:ArrayList<Int>? = null
open var byMonth:ArrayList<Int>? = null
open var byWeekNo:ArrayList<Int>? = null
open var byYearDay:ArrayList<Int>? = null
open var byMonthDay:ArrayList<Int>? = null
open var byDay:ArrayList<ScheduleDay>? = null
open var byHour:ArrayList<Int>? = null
open var byMinute:ArrayList<Int>? = null
open var interval:Int? = null
open var count:Int? = null
open var untilDate:String? = null
open var frequency:SchedulingRuleFrequency? = null
}
enum class SimpleSchedulingRuleTypes
{
Always,
CustomerState,
Time,
}
open class ScheduleDay
{
open var offset:Int? = null
open var dayOfWeek:DayOfWeek? = null
}
enum class SchedulingRuleFrequency
{
None,
Secondly,
Minutely,
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
}
open class ScheduledFlow
{
open var stateName:String? = null
open var flowId:String? = null
open var flowParams:Struct? = null
}
enum class TwilioSipRegions
{
NorthAmericaVirginia,
NorthAmericaOregon,
EuropeIreland,
EuropeFrankfurt,
AsiaPacificSingapore,
AsiaPacificTokyo,
AsiaPacificSydney,
SouthAmericaSanPaolo,
}
enum class AgentStates
{
Unknown,
Ready,
NotReady,
LoggedOut,
WrapUp,
Outgoing,
Other,
}
enum class AgentStateReasons
{
Unknown,
SetByUser,
MissedCall,
SetBySystem,
}
enum class UserModes
{
SoftPhone,
Sip,
Flow,
DataOnly,
ThirdParty,
}
enum class UserManagerRoles
{
None,
Manager,
VoicemailAndCallHistory,
Custom,
}
enum class UserManagerAccess
{
ReadOnly,
ReadWrite,
ReadWriteDelete,
}
enum class DashboardPermissions
{
ViewFiles,
ViewNotifications,
ViewSessions,
ViewEndpoints,
ViewReports,
ViewCustomers,
ViewFlows,
ViewCallCenter,
}
enum class UserDataFieldModes
{
Hidden,
ReadOnly,
ReadWrite,
}
open class Tag
{
open var id:String? = null
open var name:String? = null
open var color:TagColors? = null
}
enum class TagColors
{
Magenta,
Red,
Volcano,
Orange,
Gold,
Lime,
Green,
Cyan,
Blue,
GeekBlue,
Purple,
}
open class EndpointActionUrl
{
open var id:String? = null
open var url:String? = null
open var method:ActionUrlHttpMethods? = null
}
enum class ActionUrlHttpMethods
{
Get,
Post,
}
enum class CustomerVisibility
{
None,
CurrentCustomer,
CurrentAndChildCustomers,
}
open class EndpointContact
{
open var id:String? = null
open var displayName:String? = null
open var address:String? = null
}
open class EntityIntegrationData : HashMap<String,IntegrationData>()
{
}
open class IntegrationData
{
open var thirdPartyId:String? = null
}
open class ThirdPartyPhoneSystemSettings
{
@SerializedName("type") open var Type:ThirdPartyPhoneSystemTypes? = null
open var sipSettings:ThirdPartySipSettings? = null
open var demoSettings:ThirdPartyDemoSettings? = null
}
enum class ThirdPartyPhoneSystemTypes
{
Demo,
Sip,
}
open class ThirdPartySipSettings
{
open var accounts:ArrayList<ThirdPartySipAccountSettings>? = null
}
open class ThirdPartySipAccountSettings
{
open var number:String? = null
open var agent:String? = null
open var authName:String? = null
open var userName:String? = null
open var displayName:String? = null
open var password:String? = null
open var userDomain:String? = null
open var registrationExpires:Int? = null
open var transportType:TransportTypes? = null
open var localIP:String? = null
open var localPort:Int? = null
open var sipServer:String? = null
open var sipServerPort:Int? = null
open var outboundServer:String? = null
open var outboundServerPort:Int? = null
open var stunServer:String? = null
open var stunPort:Int? = null
open var audioPlaybackDeviceName:String? = null
open var audioRecordingDeviceName:String? = null
open var audioCodecs:ArrayList<AudioCodecTypes>? = null
open var dtmfMethod:DtmfMethods? = null
}
enum class TransportTypes
{
Udp,
Tls,
Tcp,
Pers,
}
enum class AudioCodecTypes(val value:Int)
{
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),
}
enum class DtmfMethods
{
RfC2833,
Info,
}
open class ThirdPartyDemoSettings
{
open var extension:String? = null
}
open class AppSettings
{
open var enablePhoneNumberManagement:Boolean? = null
open var enableDeviceManagement:Boolean? = null
open var enableDialer:Boolean? = null
open var enableCallHistory:Boolean? = null
open var enableAssistants:Boolean? = null
open var showFileNameInMessageCenter:Boolean? = null
open var chakraTheme:String? = null
open var customCss:String? = null
open var pageTitle:String? = null
open var stringMappings:String? = null
open var logoutUrl:String? = null
open var portMyNumberUrl:String? = null
}
open class AssistantSettings
{
open var companyName:String? = null
open var greeting:String? = null
open var companyInformation:String? = null
open var customPrompt:String? = null
open var voice:String? = null
open var voiceStyle:String? = null
open var tuning:AssistantTunings? = null
open var words:ArrayList<AssistantWord>? = null
open var links:ArrayList<AssistantLink>? = null
open var contacts:ArrayList<AssistantContact>? = null
open var integrations:ArrayList<AssistantIntegration>? = null
}
enum class AssistantTunings
{
Accuracy,
Speed,
}
open class AssistantWord
{
open var word:String? = null
open var pronounced:String? = null
}
open class AssistantLink
{
open var url:String? = null
open var description:String? = null
}
open class AssistantContact
{
open var name:String? = null
open var phoneNumber:String? = null
open var transferType:AssistantTransferTypes? = null
open var about:String? = null
open var emailAddress:String? = null
open var takeMessageFields:ArrayList<AssistantTakeMessageField>? = null
}
enum class AssistantTransferTypes
{
Blind,
Supervised,
MessagesOnly,
}
open class AssistantTakeMessageField
{
open var name:String? = null
open var description:String? = null
open var required:Boolean? = null
}
open class AssistantIntegration
{
open var uri:String? = null
open var httpMethod:String? = null
open var authToken:String? = null
}
open class EmbedSettings
{
open var enabled:Boolean? = null
open var allowedHosts:String? = null
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /phone-numbers/sync HTTP/1.1
Host: team.evovoice.io
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SyncPhoneNumbers xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Endpoints">
<AccountId>String</AccountId>
</SyncPhoneNumbers>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SyncPhoneNumbersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api.Endpoints">
<NewPhoneNumbers>
<EndpointInfo>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</CreatedBy>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateCreated>
<DateLastModified xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateLastModified>
<Id xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</Id>
<LastModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</LastModifiedBy>
<AccountId>String</AccountId>
<AccountName>String</AccountName>
<ActionUrls>
<EndpointActionUrl>
<Id>String</Id>
<Method>GET</Method>
<Url>String</Url>
</EndpointActionUrl>
</ActionUrls>
<AddressSid>String</AddressSid>
<AgentState>Unknown</AgentState>
<AgentStateReason>Unknown</AgentStateReason>
<AppSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<d4p1:ChakraTheme>String</d4p1:ChakraTheme>
<d4p1:CustomCss>String</d4p1:CustomCss>
<d4p1:EnableAssistants>false</d4p1:EnableAssistants>
<d4p1:EnableCallHistory>false</d4p1:EnableCallHistory>
<d4p1:EnableDeviceManagement>false</d4p1:EnableDeviceManagement>
<d4p1:EnableDialer>false</d4p1:EnableDialer>
<d4p1:EnablePhoneNumberManagement>false</d4p1:EnablePhoneNumberManagement>
<d4p1:LogoutUrl>String</d4p1:LogoutUrl>
<d4p1:PageTitle>String</d4p1:PageTitle>
<d4p1:PortMyNumberUrl>String</d4p1:PortMyNumberUrl>
<d4p1:ShowFileNameInMessageCenter>false</d4p1:ShowFileNameInMessageCenter>
<d4p1:StringMappings>String</d4p1:StringMappings>
</AppSettings>
<AssistantSettings>
<CompanyInformation>String</CompanyInformation>
<CompanyName>String</CompanyName>
<Contacts>
<AssistantContact>
<About>String</About>
<EmailAddress>String</EmailAddress>
<Name>String</Name>
<PhoneNumber>String</PhoneNumber>
<TakeMessageFields>
<AssistantTakeMessageField>
<Description>String</Description>
<Name>String</Name>
<Required>false</Required>
</AssistantTakeMessageField>
</TakeMessageFields>
<TransferType>Blind</TransferType>
</AssistantContact>
</Contacts>
<CustomPrompt>String</CustomPrompt>
<Greeting>String</Greeting>
<Integrations>
<AssistantIntegration>
<AuthToken>String</AuthToken>
<HttpMethod>String</HttpMethod>
<Uri>String</Uri>
</AssistantIntegration>
</Integrations>
<Links>
<AssistantLink>
<Description>String</Description>
<Url>String</Url>
</AssistantLink>
</Links>
<Tuning>Accuracy</Tuning>
<Voice>String</Voice>
<VoiceStyle>String</VoiceStyle>
<Words>
<AssistantWord>
<Pronounced>String</Pronounced>
<Word>String</Word>
</AssistantWord>
</Words>
</AssistantSettings>
<AvatarUrl>String</AvatarUrl>
<CallerIdName>String</CallerIdName>
<CallerIdVerificationCode>String</CallerIdVerificationCode>
<ContactListVisibility>None</ContactListVisibility>
<Contacts>
<EndpointContact>
<Address>String</Address>
<DisplayName>String</DisplayName>
<Id>String</Id>
</EndpointContact>
</Contacts>
<CustomerBreadcrumb xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<d4p1:CustomerBreadcrumb>
<d4p1:Id>String</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
</d4p1:CustomerBreadcrumb>
</CustomerBreadcrumb>
<CustomerFieldPermissions>Hidden</CustomerFieldPermissions>
<CustomerId>String</CustomerId>
<CustomerName>String</CustomerName>
<DashboardPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Authentication">
<d4p1:DashboardPermissions>ViewFiles</d4p1:DashboardPermissions>
</DashboardPermissions>
<Data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<DisableSms>false</DisableSms>
<DisplayName>String</DisplayName>
<DoNotTouchPhoneNumber>false</DoNotTouchPhoneNumber>
<DocumoId>String</DocumoId>
<EmailAddress>String</EmailAddress>
<EmbedSettings>
<AllowedHosts>String</AllowedHosts>
<Enabled>false</Enabled>
</EmbedSettings>
<EmergencyAddressSid>String</EmergencyAddressSid>
<EmergencyPhoneNumberId>String</EmergencyPhoneNumberId>
<EnableCallerIdLookup>false</EnableCallerIdLookup>
<EnableEmergencyCalling>false</EnableEmergencyCalling>
<ExtraInformation>String</ExtraInformation>
<FlowId>String</FlowId>
<FlowName>String</FlowName>
<FlowParams xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<FlowSchedule>Always</FlowSchedule>
<IntegrationData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Integrations">
<d6p1:ThirdPartyId>String</d6p1:ThirdPartyId>
</d4p1:Value>
</d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
</IntegrationData>
<IsCallerIdVerified>false</IsCallerIdVerified>
<IsEnrolledIn10DlcService>false</IsEnrolledIn10DlcService>
<IsVirtualPhoneNumber>false</IsVirtualPhoneNumber>
<ManagerAccess>ReadOnly</ManagerAccess>
<ManagerRole>None</ManagerRole>
<MyFieldPermissions>Hidden</MyFieldPermissions>
<Name>String</Name>
<OtherEndpointFieldPermissions>Hidden</OtherEndpointFieldPermissions>
<OtherUserFieldPermissions>Hidden</OtherUserFieldPermissions>
<OverrideAppSettings>false</OverrideAppSettings>
<PhoneNumber>String</PhoneNumber>
<PhoneNumberSid>String</PhoneNumberSid>
<ReferenceId>String</ReferenceId>
<Schedule xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Scheduling">
<d4p1:DefaultState>String</d4p1:DefaultState>
<d4p1:ForceClosed>false</d4p1:ForceClosed>
<d4p1:Inherit>false</d4p1:Inherit>
<d4p1:Rules>
<d4p1:SchedulingRule>
<d4p1:ByDay>
<d4p1:ScheduleDay>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:Offset>0</d4p1:Offset>
</d4p1:ScheduleDay>
</d4p1:ByDay>
<d4p1:ByHour xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByHour>
<d4p1:ByMinute xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMinute>
<d4p1:ByMonth xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonth>
<d4p1:ByMonthDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonthDay>
<d4p1:BySetPosition xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:BySetPosition>
<d4p1:ByWeekNo xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByWeekNo>
<d4p1:ByYearDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByYearDay>
<d4p1:Condition>String</d4p1:Condition>
<d4p1:Count>0</d4p1:Count>
<d4p1:CustomerState>String</d4p1:CustomerState>
<d4p1:EndTime>String</d4p1:EndTime>
<d4p1:FlowId>String</d4p1:FlowId>
<d4p1:FlowParams xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d4p1:Frequency>None</d4p1:Frequency>
<d4p1:Id>String</d4p1:Id>
<d4p1:Interval>0</d4p1:Interval>
<d4p1:IsAllDay>false</d4p1:IsAllDay>
<d4p1:Name>String</d4p1:Name>
<d4p1:Priority>0</d4p1:Priority>
<d4p1:SimpleRuleType>Always</d4p1:SimpleRuleType>
<d4p1:Source>String</d4p1:Source>
<d4p1:StartDate>String</d4p1:StartDate>
<d4p1:StartTime>String</d4p1:StartTime>
<d4p1:State>String</d4p1:State>
<d4p1:UntilDate>String</d4p1:UntilDate>
</d4p1:SchedulingRule>
</d4p1:Rules>
<d4p1:TimeZoneId>String</d4p1:TimeZoneId>
</Schedule>
<ScheduledFlows>
<ScheduledFlow>
<FlowId>String</FlowId>
<FlowParams xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<StateName>String</StateName>
</ScheduledFlow>
</ScheduledFlows>
<SipCredentialSid>String</SipCredentialSid>
<SipDomain>String</SipDomain>
<SipPassword>String</SipPassword>
<SipRegion>NorthAmericaVirginia</SipRegion>
<SipUserName>String</SipUserName>
<Tags xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Settings">
<d4p1:Tag>
<d4p1:Color>Magenta</d4p1:Color>
<d4p1:Id>String</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
</d4p1:Tag>
</Tags>
<TeamMemberIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</TeamMemberIds>
<ThirdPartyPhoneSystemSettings>
<DemoSettings>
<Extension>String</Extension>
</DemoSettings>
<SipSettings>
<Accounts>
<ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
<Agent>String</Agent>
<AudioCodecs>
<ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>PCMU</ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>
</AudioCodecs>
<AudioPlaybackDeviceName>String</AudioPlaybackDeviceName>
<AudioRecordingDeviceName>String</AudioRecordingDeviceName>
<AuthName>String</AuthName>
<DTMFMethod>RFC2833</DTMFMethod>
<DisplayName>String</DisplayName>
<LocalIP>String</LocalIP>
<LocalPort>0</LocalPort>
<Number>String</Number>
<OutboundServer>String</OutboundServer>
<OutboundServerPort>0</OutboundServerPort>
<Password>String</Password>
<RegistrationExpires>0</RegistrationExpires>
<SipServer>String</SipServer>
<SipServerPort>0</SipServerPort>
<StunPort>0</StunPort>
<StunServer>String</StunServer>
<TransportType>UDP</TransportType>
<UserDomain>String</UserDomain>
<UserName>String</UserName>
</ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
</Accounts>
</SipSettings>
<Type>Demo</Type>
</ThirdPartyPhoneSystemSettings>
<Type>PhoneNumber</Type>
<UseExternal10DlcCampaign>false</UseExternal10DlcCampaign>
<UserEmailAddress>String</UserEmailAddress>
<UserFirstName>String</UserFirstName>
<UserLastName>String</UserLastName>
<UserMode>SoftPhone</UserMode>
<VoicemailGreetingId>String</VoicemailGreetingId>
</EndpointInfo>
</NewPhoneNumbers>
<UpdatedPhoneNumbers>
<EndpointInfo>
<CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</CreatedBy>
<DateCreated xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateCreated>
<DateLastModified xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</DateLastModified>
<Id xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</Id>
<LastModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">String</LastModifiedBy>
<AccountId>String</AccountId>
<AccountName>String</AccountName>
<ActionUrls>
<EndpointActionUrl>
<Id>String</Id>
<Method>GET</Method>
<Url>String</Url>
</EndpointActionUrl>
</ActionUrls>
<AddressSid>String</AddressSid>
<AgentState>Unknown</AgentState>
<AgentStateReason>Unknown</AgentStateReason>
<AppSettings xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<d4p1:ChakraTheme>String</d4p1:ChakraTheme>
<d4p1:CustomCss>String</d4p1:CustomCss>
<d4p1:EnableAssistants>false</d4p1:EnableAssistants>
<d4p1:EnableCallHistory>false</d4p1:EnableCallHistory>
<d4p1:EnableDeviceManagement>false</d4p1:EnableDeviceManagement>
<d4p1:EnableDialer>false</d4p1:EnableDialer>
<d4p1:EnablePhoneNumberManagement>false</d4p1:EnablePhoneNumberManagement>
<d4p1:LogoutUrl>String</d4p1:LogoutUrl>
<d4p1:PageTitle>String</d4p1:PageTitle>
<d4p1:PortMyNumberUrl>String</d4p1:PortMyNumberUrl>
<d4p1:ShowFileNameInMessageCenter>false</d4p1:ShowFileNameInMessageCenter>
<d4p1:StringMappings>String</d4p1:StringMappings>
</AppSettings>
<AssistantSettings>
<CompanyInformation>String</CompanyInformation>
<CompanyName>String</CompanyName>
<Contacts>
<AssistantContact>
<About>String</About>
<EmailAddress>String</EmailAddress>
<Name>String</Name>
<PhoneNumber>String</PhoneNumber>
<TakeMessageFields>
<AssistantTakeMessageField>
<Description>String</Description>
<Name>String</Name>
<Required>false</Required>
</AssistantTakeMessageField>
</TakeMessageFields>
<TransferType>Blind</TransferType>
</AssistantContact>
</Contacts>
<CustomPrompt>String</CustomPrompt>
<Greeting>String</Greeting>
<Integrations>
<AssistantIntegration>
<AuthToken>String</AuthToken>
<HttpMethod>String</HttpMethod>
<Uri>String</Uri>
</AssistantIntegration>
</Integrations>
<Links>
<AssistantLink>
<Description>String</Description>
<Url>String</Url>
</AssistantLink>
</Links>
<Tuning>Accuracy</Tuning>
<Voice>String</Voice>
<VoiceStyle>String</VoiceStyle>
<Words>
<AssistantWord>
<Pronounced>String</Pronounced>
<Word>String</Word>
</AssistantWord>
</Words>
</AssistantSettings>
<AvatarUrl>String</AvatarUrl>
<CallerIdName>String</CallerIdName>
<CallerIdVerificationCode>String</CallerIdVerificationCode>
<ContactListVisibility>None</ContactListVisibility>
<Contacts>
<EndpointContact>
<Address>String</Address>
<DisplayName>String</DisplayName>
<Id>String</Id>
</EndpointContact>
</Contacts>
<CustomerBreadcrumb xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Customers">
<d4p1:CustomerBreadcrumb>
<d4p1:Id>String</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
</d4p1:CustomerBreadcrumb>
</CustomerBreadcrumb>
<CustomerFieldPermissions>Hidden</CustomerFieldPermissions>
<CustomerId>String</CustomerId>
<CustomerName>String</CustomerName>
<DashboardPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Authentication">
<d4p1:DashboardPermissions>ViewFiles</d4p1:DashboardPermissions>
</DashboardPermissions>
<Data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<DisableSms>false</DisableSms>
<DisplayName>String</DisplayName>
<DoNotTouchPhoneNumber>false</DoNotTouchPhoneNumber>
<DocumoId>String</DocumoId>
<EmailAddress>String</EmailAddress>
<EmbedSettings>
<AllowedHosts>String</AllowedHosts>
<Enabled>false</Enabled>
</EmbedSettings>
<EmergencyAddressSid>String</EmergencyAddressSid>
<EmergencyPhoneNumberId>String</EmergencyPhoneNumberId>
<EnableCallerIdLookup>false</EnableCallerIdLookup>
<EnableEmergencyCalling>false</EnableEmergencyCalling>
<ExtraInformation>String</ExtraInformation>
<FlowId>String</FlowId>
<FlowName>String</FlowName>
<FlowParams xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<FlowSchedule>Always</FlowSchedule>
<IntegrationData xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
<d4p1:Key>String</d4p1:Key>
<d4p1:Value xmlns:d6p1="http://schemas.datacontract.org/2004/07/Voice.Api.Integrations">
<d6p1:ThirdPartyId>String</d6p1:ThirdPartyId>
</d4p1:Value>
</d4p1:KeyValueOfstringIntegrationDataY_SkqLnhh>
</IntegrationData>
<IsCallerIdVerified>false</IsCallerIdVerified>
<IsEnrolledIn10DlcService>false</IsEnrolledIn10DlcService>
<IsVirtualPhoneNumber>false</IsVirtualPhoneNumber>
<ManagerAccess>ReadOnly</ManagerAccess>
<ManagerRole>None</ManagerRole>
<MyFieldPermissions>Hidden</MyFieldPermissions>
<Name>String</Name>
<OtherEndpointFieldPermissions>Hidden</OtherEndpointFieldPermissions>
<OtherUserFieldPermissions>Hidden</OtherUserFieldPermissions>
<OverrideAppSettings>false</OverrideAppSettings>
<PhoneNumber>String</PhoneNumber>
<PhoneNumberSid>String</PhoneNumberSid>
<ReferenceId>String</ReferenceId>
<Schedule xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Scheduling">
<d4p1:DefaultState>String</d4p1:DefaultState>
<d4p1:ForceClosed>false</d4p1:ForceClosed>
<d4p1:Inherit>false</d4p1:Inherit>
<d4p1:Rules>
<d4p1:SchedulingRule>
<d4p1:ByDay>
<d4p1:ScheduleDay>
<d4p1:DayOfWeek>Sunday</d4p1:DayOfWeek>
<d4p1:Offset>0</d4p1:Offset>
</d4p1:ScheduleDay>
</d4p1:ByDay>
<d4p1:ByHour xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByHour>
<d4p1:ByMinute xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMinute>
<d4p1:ByMonth xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonth>
<d4p1:ByMonthDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByMonthDay>
<d4p1:BySetPosition xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:BySetPosition>
<d4p1:ByWeekNo xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByWeekNo>
<d4p1:ByYearDay xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d7p1:int>0</d7p1:int>
</d4p1:ByYearDay>
<d4p1:Condition>String</d4p1:Condition>
<d4p1:Count>0</d4p1:Count>
<d4p1:CustomerState>String</d4p1:CustomerState>
<d4p1:EndTime>String</d4p1:EndTime>
<d4p1:FlowId>String</d4p1:FlowId>
<d4p1:FlowParams xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<d4p1:Frequency>None</d4p1:Frequency>
<d4p1:Id>String</d4p1:Id>
<d4p1:Interval>0</d4p1:Interval>
<d4p1:IsAllDay>false</d4p1:IsAllDay>
<d4p1:Name>String</d4p1:Name>
<d4p1:Priority>0</d4p1:Priority>
<d4p1:SimpleRuleType>Always</d4p1:SimpleRuleType>
<d4p1:Source>String</d4p1:Source>
<d4p1:StartDate>String</d4p1:StartDate>
<d4p1:StartTime>String</d4p1:StartTime>
<d4p1:State>String</d4p1:State>
<d4p1:UntilDate>String</d4p1:UntilDate>
</d4p1:SchedulingRule>
</d4p1:Rules>
<d4p1:TimeZoneId>String</d4p1:TimeZoneId>
</Schedule>
<ScheduledFlows>
<ScheduledFlow>
<FlowId>String</FlowId>
<FlowParams xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
<StateName>String</StateName>
</ScheduledFlow>
</ScheduledFlows>
<SipCredentialSid>String</SipCredentialSid>
<SipDomain>String</SipDomain>
<SipPassword>String</SipPassword>
<SipRegion>NorthAmericaVirginia</SipRegion>
<SipUserName>String</SipUserName>
<Tags xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Settings">
<d4p1:Tag>
<d4p1:Color>Magenta</d4p1:Color>
<d4p1:Id>String</d4p1:Id>
<d4p1:Name>String</d4p1:Name>
</d4p1:Tag>
</Tags>
<TeamMemberIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</TeamMemberIds>
<ThirdPartyPhoneSystemSettings>
<DemoSettings>
<Extension>String</Extension>
</DemoSettings>
<SipSettings>
<Accounts>
<ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
<Agent>String</Agent>
<AudioCodecs>
<ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>PCMU</ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>
</AudioCodecs>
<AudioPlaybackDeviceName>String</AudioPlaybackDeviceName>
<AudioRecordingDeviceName>String</AudioRecordingDeviceName>
<AuthName>String</AuthName>
<DTMFMethod>RFC2833</DTMFMethod>
<DisplayName>String</DisplayName>
<LocalIP>String</LocalIP>
<LocalPort>0</LocalPort>
<Number>String</Number>
<OutboundServer>String</OutboundServer>
<OutboundServerPort>0</OutboundServerPort>
<Password>String</Password>
<RegistrationExpires>0</RegistrationExpires>
<SipServer>String</SipServer>
<SipServerPort>0</SipServerPort>
<StunPort>0</StunPort>
<StunServer>String</StunServer>
<TransportType>UDP</TransportType>
<UserDomain>String</UserDomain>
<UserName>String</UserName>
</ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
</Accounts>
</SipSettings>
<Type>Demo</Type>
</ThirdPartyPhoneSystemSettings>
<Type>PhoneNumber</Type>
<UseExternal10DlcCampaign>false</UseExternal10DlcCampaign>
<UserEmailAddress>String</UserEmailAddress>
<UserFirstName>String</UserFirstName>
<UserLastName>String</UserLastName>
<UserMode>SoftPhone</UserMode>
<VoicemailGreetingId>String</VoicemailGreetingId>
</EndpointInfo>
</UpdatedPhoneNumbers>
</SyncPhoneNumbersResponse>