Evo Voice

<back to all web services

ListEndpoints

Lists all endpoints

Requires Authentication
Requires any of the roles:SystemAdministrator, Manager, Customer
The following routes are available for this service:
GET/endpoints
"use strict";
/** @typedef {'Ascend'|'Descend'} */
export var SortOrders;
(function (SortOrders) {
    SortOrders["Ascend"] = "Ascend"
    SortOrders["Descend"] = "Descend"
})(SortOrders || (SortOrders = {}));
/** @typedef T {any} */
export class ListRequest {
    /** @param {{page?:number,all?:boolean,countPerPage?:number,specificIds?:string[],sortField?:string,sortOrder?:SortOrders,simplifiedPaging?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {number}
     * @description The page of data to retrieve */
    page;
    /**
     * @type {boolean}
     * @description If you want all objects to be returned. This should be used with care */
    all;
    /**
     * @type {number}
     * @description The number per page to retrieve */
    countPerPage;
    /**
     * @type {string[]}
     * @description Specific IDs */
    specificIds;
    /**
     * @type {string}
     * @description Specify a sort field */
    sortField;
    /**
     * @type {SortOrders}
     * @description Specify a sort order */
    sortOrder;
    /**
     * @type {boolean}
     * @description Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array */
    simplifiedPaging;
}
export class EntityInfo {
    /** @param {{id?:string,dateCreated?:string,dateLastModified?:string,createdBy?:string,lastModifiedBy?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description The ID of the object */
    id;
    /**
     * @type {string}
     * @description The date the object was created */
    dateCreated;
    /**
     * @type {string}
     * @description The date the object was last modified */
    dateLastModified;
    /**
     * @type {string}
     * @description The user that created this object */
    createdBy;
    /**
     * @type {string}
     * @description The user that last modified this object */
    lastModifiedBy;
}
export class CustomerBreadcrumb {
    /** @param {{id?:string,name?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    name;
}
/** @typedef {'PhoneNumber'|'User'|'FaxNumber'|'EmailAddress'|'Unused_1'|'Unused_2'|'Unused_3'|'Unused_4'|'Unused_5'|'Team'|'Assistant'} */
export var EndpointTypes;
(function (EndpointTypes) {
    EndpointTypes["PhoneNumber"] = "PhoneNumber"
    EndpointTypes["User"] = "User"
    EndpointTypes["FaxNumber"] = "FaxNumber"
    EndpointTypes["EmailAddress"] = "EmailAddress"
    EndpointTypes["Unused_1"] = "Unused_1"
    EndpointTypes["Unused_2"] = "Unused_2"
    EndpointTypes["Unused_3"] = "Unused_3"
    EndpointTypes["Unused_4"] = "Unused_4"
    EndpointTypes["Unused_5"] = "Unused_5"
    EndpointTypes["Team"] = "Team"
    EndpointTypes["Assistant"] = "Assistant"
})(EndpointTypes || (EndpointTypes = {}));
export class Value {
    /** @param {{boolValue?:boolean,stringValue?:string,numberValue?:number,listValue?:Struct[],structValue?:Struct}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?boolean} */
    boolValue;
    /** @type {string} */
    stringValue;
    /** @type {?number} */
    numberValue;
    /** @type {Struct[]} */
    listValue;
    /** @type {Struct} */
    structValue;
}
class Dictionary {}
export class Struct extends Dictionary {
    constructor(init) { super(init); Object.assign(this, init) }
}
/** @typedef {'Always'|'Scheduled'|'Simple'} */
export var EndpointFlowSchedules;
(function (EndpointFlowSchedules) {
    EndpointFlowSchedules["Always"] = "Always"
    EndpointFlowSchedules["Scheduled"] = "Scheduled"
    EndpointFlowSchedules["Simple"] = "Simple"
})(EndpointFlowSchedules || (EndpointFlowSchedules = {}));
/** @typedef {'Always'|'CustomerState'|'Time'} */
export var SimpleSchedulingRuleTypes;
(function (SimpleSchedulingRuleTypes) {
    SimpleSchedulingRuleTypes["Always"] = "Always"
    SimpleSchedulingRuleTypes["CustomerState"] = "CustomerState"
    SimpleSchedulingRuleTypes["Time"] = "Time"
})(SimpleSchedulingRuleTypes || (SimpleSchedulingRuleTypes = {}));
export class ScheduleDay {
    /** @param {{offset?:number,dayOfWeek?:DayOfWeek}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    offset;
    /** @type {DayOfWeek} */
    dayOfWeek;
}
/** @typedef {'None'|'Secondly'|'Minutely'|'Hourly'|'Daily'|'Weekly'|'Monthly'|'Yearly'} */
export var SchedulingRuleFrequency;
(function (SchedulingRuleFrequency) {
    SchedulingRuleFrequency["None"] = "None"
    SchedulingRuleFrequency["Secondly"] = "Secondly"
    SchedulingRuleFrequency["Minutely"] = "Minutely"
    SchedulingRuleFrequency["Hourly"] = "Hourly"
    SchedulingRuleFrequency["Daily"] = "Daily"
    SchedulingRuleFrequency["Weekly"] = "Weekly"
    SchedulingRuleFrequency["Monthly"] = "Monthly"
    SchedulingRuleFrequency["Yearly"] = "Yearly"
})(SchedulingRuleFrequency || (SchedulingRuleFrequency = {}));
export class SchedulingRule {
    /** @param {{id?:string,name?:string,priority?:number,state?:string,source?:string,condition?:string,simpleRuleType?:SimpleSchedulingRuleTypes,customerState?:string,flowId?:string,flowParams?:Struct,isAllDay?:boolean,startDate?:string,startTime?:string,endTime?:string,bySetPosition?:number[],byMonth?:number[],byWeekNo?:number[],byYearDay?:number[],byMonthDay?:number[],byDay?:ScheduleDay[],byHour?:number[],byMinute?:number[],interval?:number,count?:number,untilDate?:string,frequency?:SchedulingRuleFrequency}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    name;
    /** @type {number} */
    priority;
    /** @type {string} */
    state;
    /** @type {string} */
    source;
    /** @type {string} */
    condition;
    /** @type {SimpleSchedulingRuleTypes} */
    simpleRuleType;
    /** @type {string} */
    customerState;
    /** @type {string} */
    flowId;
    /** @type {Struct} */
    flowParams;
    /** @type {boolean} */
    isAllDay;
    /** @type {string} */
    startDate;
    /** @type {string} */
    startTime;
    /** @type {string} */
    endTime;
    /** @type {number[]} */
    bySetPosition;
    /** @type {number[]} */
    byMonth;
    /** @type {number[]} */
    byWeekNo;
    /** @type {number[]} */
    byYearDay;
    /** @type {number[]} */
    byMonthDay;
    /** @type {ScheduleDay[]} */
    byDay;
    /** @type {number[]} */
    byHour;
    /** @type {number[]} */
    byMinute;
    /** @type {number} */
    interval;
    /** @type {number} */
    count;
    /** @type {string} */
    untilDate;
    /** @type {SchedulingRuleFrequency} */
    frequency;
}
export class Schedule {
    /** @param {{timeZoneId?:string,inherit?:boolean,forceClosed?:boolean,rules?:SchedulingRule[],defaultState?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    timeZoneId;
    /** @type {boolean} */
    inherit;
    /** @type {boolean} */
    forceClosed;
    /** @type {SchedulingRule[]} */
    rules;
    /** @type {string} */
    defaultState;
}
export class ScheduledFlow {
    /** @param {{stateName?:string,flowId?:string,flowParams?:Struct}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    stateName;
    /** @type {string} */
    flowId;
    /** @type {Struct} */
    flowParams;
}
/** @typedef {'NorthAmericaVirginia'|'NorthAmericaOregon'|'EuropeIreland'|'EuropeFrankfurt'|'AsiaPacificSingapore'|'AsiaPacificTokyo'|'AsiaPacificSydney'|'SouthAmericaSanPaolo'} */
export var TwilioSipRegions;
(function (TwilioSipRegions) {
    TwilioSipRegions["NorthAmericaVirginia"] = "NorthAmericaVirginia"
    TwilioSipRegions["NorthAmericaOregon"] = "NorthAmericaOregon"
    TwilioSipRegions["EuropeIreland"] = "EuropeIreland"
    TwilioSipRegions["EuropeFrankfurt"] = "EuropeFrankfurt"
    TwilioSipRegions["AsiaPacificSingapore"] = "AsiaPacificSingapore"
    TwilioSipRegions["AsiaPacificTokyo"] = "AsiaPacificTokyo"
    TwilioSipRegions["AsiaPacificSydney"] = "AsiaPacificSydney"
    TwilioSipRegions["SouthAmericaSanPaolo"] = "SouthAmericaSanPaolo"
})(TwilioSipRegions || (TwilioSipRegions = {}));
/** @typedef {'Unknown'|'Ready'|'NotReady'|'LoggedOut'|'WrapUp'|'Outgoing'|'Other'} */
export var AgentStates;
(function (AgentStates) {
    AgentStates["Unknown"] = "Unknown"
    AgentStates["Ready"] = "Ready"
    AgentStates["NotReady"] = "NotReady"
    AgentStates["LoggedOut"] = "LoggedOut"
    AgentStates["WrapUp"] = "WrapUp"
    AgentStates["Outgoing"] = "Outgoing"
    AgentStates["Other"] = "Other"
})(AgentStates || (AgentStates = {}));
/** @typedef {'Unknown'|'SetByUser'|'MissedCall'|'SetBySystem'} */
export var AgentStateReasons;
(function (AgentStateReasons) {
    AgentStateReasons["Unknown"] = "Unknown"
    AgentStateReasons["SetByUser"] = "SetByUser"
    AgentStateReasons["MissedCall"] = "MissedCall"
    AgentStateReasons["SetBySystem"] = "SetBySystem"
})(AgentStateReasons || (AgentStateReasons = {}));
/** @typedef {'SoftPhone'|'Sip'|'Flow'|'DataOnly'|'ThirdParty'} */
export var UserModes;
(function (UserModes) {
    UserModes["SoftPhone"] = "SoftPhone"
    UserModes["Sip"] = "Sip"
    UserModes["Flow"] = "Flow"
    UserModes["DataOnly"] = "DataOnly"
    UserModes["ThirdParty"] = "ThirdParty"
})(UserModes || (UserModes = {}));
/** @typedef {'None'|'Manager'|'VoicemailAndCallHistory'|'Custom'} */
export var UserManagerRoles;
(function (UserManagerRoles) {
    UserManagerRoles["None"] = "None"
    UserManagerRoles["Manager"] = "Manager"
    UserManagerRoles["VoicemailAndCallHistory"] = "VoicemailAndCallHistory"
    UserManagerRoles["Custom"] = "Custom"
})(UserManagerRoles || (UserManagerRoles = {}));
/** @typedef {'ViewFiles'|'ViewNotifications'|'ViewSessions'|'ViewEndpoints'|'ViewReports'|'ViewCustomers'|'ViewFlows'} */
export var DashboardPermissions;
(function (DashboardPermissions) {
    DashboardPermissions["ViewFiles"] = "ViewFiles"
    DashboardPermissions["ViewNotifications"] = "ViewNotifications"
    DashboardPermissions["ViewSessions"] = "ViewSessions"
    DashboardPermissions["ViewEndpoints"] = "ViewEndpoints"
    DashboardPermissions["ViewReports"] = "ViewReports"
    DashboardPermissions["ViewCustomers"] = "ViewCustomers"
    DashboardPermissions["ViewFlows"] = "ViewFlows"
})(DashboardPermissions || (DashboardPermissions = {}));
/** @typedef {'Hidden'|'ReadOnly'|'ReadWrite'} */
export var UserDataFieldModes;
(function (UserDataFieldModes) {
    UserDataFieldModes["Hidden"] = "Hidden"
    UserDataFieldModes["ReadOnly"] = "ReadOnly"
    UserDataFieldModes["ReadWrite"] = "ReadWrite"
})(UserDataFieldModes || (UserDataFieldModes = {}));
/** @typedef {'Magenta'|'Red'|'Volcano'|'Orange'|'Gold'|'Lime'|'Green'|'Cyan'|'Blue'|'GeekBlue'|'Purple'} */
export var TagColors;
(function (TagColors) {
    TagColors["Magenta"] = "Magenta"
    TagColors["Red"] = "Red"
    TagColors["Volcano"] = "Volcano"
    TagColors["Orange"] = "Orange"
    TagColors["Gold"] = "Gold"
    TagColors["Lime"] = "Lime"
    TagColors["Green"] = "Green"
    TagColors["Cyan"] = "Cyan"
    TagColors["Blue"] = "Blue"
    TagColors["GeekBlue"] = "GeekBlue"
    TagColors["Purple"] = "Purple"
})(TagColors || (TagColors = {}));
export class Tag {
    /** @param {{id?:string,name?:string,color?:TagColors}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    name;
    /** @type {TagColors} */
    color;
}
/** @typedef {'GET'|'POST'} */
export var ActionUrlHttpMethods;
(function (ActionUrlHttpMethods) {
    ActionUrlHttpMethods["GET"] = "GET"
    ActionUrlHttpMethods["POST"] = "POST"
})(ActionUrlHttpMethods || (ActionUrlHttpMethods = {}));
export class EndpointActionUrl {
    /** @param {{id?:string,url?:string,method?:ActionUrlHttpMethods}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    url;
    /** @type {ActionUrlHttpMethods} */
    method;
}
/** @typedef {'None'|'CurrentCustomer'|'CurrentAndChildCustomers'} */
export var CustomerVisibility;
(function (CustomerVisibility) {
    CustomerVisibility["None"] = "None"
    CustomerVisibility["CurrentCustomer"] = "CurrentCustomer"
    CustomerVisibility["CurrentAndChildCustomers"] = "CurrentAndChildCustomers"
})(CustomerVisibility || (CustomerVisibility = {}));
export class EndpointContact {
    /** @param {{id?:string,displayName?:string,address?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    id;
    /** @type {string} */
    displayName;
    /** @type {string} */
    address;
}
export class IntegrationData {
    /** @param {{thirdPartyId?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    thirdPartyId;
}
export class EntityIntegrationData extends Dictionary {
    constructor(init) { super(init); Object.assign(this, init) }
}
/** @typedef {'Demo'|'Sip'} */
export var ThirdPartyPhoneSystemTypes;
(function (ThirdPartyPhoneSystemTypes) {
    ThirdPartyPhoneSystemTypes["Demo"] = "Demo"
    ThirdPartyPhoneSystemTypes["Sip"] = "Sip"
})(ThirdPartyPhoneSystemTypes || (ThirdPartyPhoneSystemTypes = {}));
/** @typedef {'UDP'|'TLS'|'TCP'|'PERS'} */
export var TransportTypes;
(function (TransportTypes) {
    TransportTypes["UDP"] = "UDP"
    TransportTypes["TLS"] = "TLS"
    TransportTypes["TCP"] = "TCP"
    TransportTypes["PERS"] = "PERS"
})(TransportTypes || (TransportTypes = {}));
/** @typedef {number} */
export var AudioCodecTypes;
(function (AudioCodecTypes) {
    AudioCodecTypes[AudioCodecTypes["PCMU"] = 0] = "PCMU"
    AudioCodecTypes[AudioCodecTypes["GSM"] = 3] = "GSM"
    AudioCodecTypes[AudioCodecTypes["PCMA"] = 8] = "PCMA"
    AudioCodecTypes[AudioCodecTypes["G722"] = 9] = "G722"
    AudioCodecTypes[AudioCodecTypes["G729"] = 18] = "G729"
    AudioCodecTypes[AudioCodecTypes["ILBC"] = 97] = "ILBC"
    AudioCodecTypes[AudioCodecTypes["AMR"] = 98] = "AMR"
    AudioCodecTypes[AudioCodecTypes["AMRWB"] = 99] = "AMRWB"
    AudioCodecTypes[AudioCodecTypes["SPEEX"] = 100] = "SPEEX"
    AudioCodecTypes[AudioCodecTypes["DTMF"] = 101] = "DTMF"
    AudioCodecTypes[AudioCodecTypes["SPEEXWB"] = 102] = "SPEEXWB"
    AudioCodecTypes[AudioCodecTypes["ISACWB"] = 103] = "ISACWB"
    AudioCodecTypes[AudioCodecTypes["ISACSWB"] = 104] = "ISACSWB"
    AudioCodecTypes[AudioCodecTypes["OPUS"] = 105] = "OPUS"
    AudioCodecTypes[AudioCodecTypes["G7221"] = 121] = "G7221"
    AudioCodecTypes[AudioCodecTypes["NONE"] = -1] = "NONE"
})(AudioCodecTypes || (AudioCodecTypes = {}));
/** @typedef {'RFC2833'|'INFO'} */
export var DtmfMethods;
(function (DtmfMethods) {
    DtmfMethods["RFC2833"] = "RFC2833"
    DtmfMethods["INFO"] = "INFO"
})(DtmfMethods || (DtmfMethods = {}));
export class ThirdPartySipAccountSettings {
    /** @param {{number?:string,agent?:string,authName?:string,userName?:string,displayName?:string,password?:string,userDomain?:string,registrationExpires?:number,transportType?:TransportTypes,localIP?:string,localPort?:number,sipServer?:string,sipServerPort?:number,outboundServer?:string,outboundServerPort?:number,stunServer?:string,stunPort?:number,audioPlaybackDeviceName?:string,audioRecordingDeviceName?:string,audioCodecs?:AudioCodecTypes[],dtmfMethod?:DtmfMethods}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    number;
    /** @type {string} */
    agent;
    /** @type {string} */
    authName;
    /** @type {string} */
    userName;
    /** @type {string} */
    displayName;
    /** @type {string} */
    password;
    /** @type {string} */
    userDomain;
    /** @type {number} */
    registrationExpires;
    /** @type {TransportTypes} */
    transportType;
    /** @type {string} */
    localIP;
    /** @type {number} */
    localPort;
    /** @type {string} */
    sipServer;
    /** @type {number} */
    sipServerPort;
    /** @type {string} */
    outboundServer;
    /** @type {number} */
    outboundServerPort;
    /** @type {string} */
    stunServer;
    /** @type {number} */
    stunPort;
    /** @type {string} */
    audioPlaybackDeviceName;
    /** @type {string} */
    audioRecordingDeviceName;
    /** @type {AudioCodecTypes[]} */
    audioCodecs;
    /** @type {DtmfMethods} */
    dtmfMethod;
}
export class ThirdPartySipSettings {
    /** @param {{accounts?:ThirdPartySipAccountSettings[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ThirdPartySipAccountSettings[]} */
    accounts;
}
export class ThirdPartyDemoSettings {
    /** @param {{extension?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    extension;
}
export class ThirdPartyPhoneSystemSettings {
    /** @param {{type?:ThirdPartyPhoneSystemTypes,sipSettings?:ThirdPartySipSettings,demoSettings?:ThirdPartyDemoSettings}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ThirdPartyPhoneSystemTypes} */
    type;
    /** @type {ThirdPartySipSettings} */
    sipSettings;
    /** @type {ThirdPartyDemoSettings} */
    demoSettings;
}
export class AppSettings {
    /** @param {{enablePhoneNumberManagement?:boolean,enableDeviceManagement?:boolean,enableDialer?:boolean,enableCallHistory?:boolean,enableAssistants?:boolean,showFileNameInMessageCenter?:boolean,chakraTheme?:string,customCss?:string,pageTitle?:string,stringMappings?:string,logoutUrl?:string,portMyNumberUrl?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    enablePhoneNumberManagement;
    /** @type {boolean} */
    enableDeviceManagement;
    /** @type {boolean} */
    enableDialer;
    /** @type {boolean} */
    enableCallHistory;
    /** @type {boolean} */
    enableAssistants;
    /** @type {boolean} */
    showFileNameInMessageCenter;
    /** @type {string} */
    chakraTheme;
    /** @type {string} */
    customCss;
    /** @type {string} */
    pageTitle;
    /** @type {string} */
    stringMappings;
    /** @type {string} */
    logoutUrl;
    /** @type {string} */
    portMyNumberUrl;
}
/** @typedef {'Accuracy'|'Speed'} */
export var AssistantTunings;
(function (AssistantTunings) {
    AssistantTunings["Accuracy"] = "Accuracy"
    AssistantTunings["Speed"] = "Speed"
})(AssistantTunings || (AssistantTunings = {}));
export class AssistantWord {
    /** @param {{word?:string,pronounced?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    word;
    /** @type {string} */
    pronounced;
}
export class AssistantLink {
    /** @param {{url?:string,description?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    url;
    /** @type {string} */
    description;
}
/** @typedef {'Blind'|'Supervised'|'MessagesOnly'} */
export var AssistantTransferTypes;
(function (AssistantTransferTypes) {
    AssistantTransferTypes["Blind"] = "Blind"
    AssistantTransferTypes["Supervised"] = "Supervised"
    AssistantTransferTypes["MessagesOnly"] = "MessagesOnly"
})(AssistantTransferTypes || (AssistantTransferTypes = {}));
export class AssistantTakeMessageField {
    /** @param {{name?:string,description?:string,required?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    name;
    /** @type {string} */
    description;
    /** @type {boolean} */
    required;
}
export class AssistantContact {
    /** @param {{name?:string,phoneNumber?:string,transferType?:AssistantTransferTypes,about?:string,emailAddress?:string,takeMessageFields?:AssistantTakeMessageField[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    name;
    /** @type {string} */
    phoneNumber;
    /** @type {AssistantTransferTypes} */
    transferType;
    /** @type {string} */
    about;
    /** @type {string} */
    emailAddress;
    /** @type {AssistantTakeMessageField[]} */
    takeMessageFields;
}
export class AssistantIntegration {
    /** @param {{uri?:string,httpMethod?:string,authToken?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    uri;
    /** @type {string} */
    httpMethod;
    /** @type {string} */
    authToken;
}
export class AssistantSettings {
    /** @param {{companyName?:string,greeting?:string,companyInformation?:string,customPrompt?:string,voice?:string,voiceStyle?:string,tuning?:AssistantTunings,words?:AssistantWord[],links?:AssistantLink[],contacts?:AssistantContact[],integrations?:AssistantIntegration[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    companyName;
    /** @type {string} */
    greeting;
    /** @type {string} */
    companyInformation;
    /** @type {string} */
    customPrompt;
    /** @type {string} */
    voice;
    /** @type {string} */
    voiceStyle;
    /** @type {AssistantTunings} */
    tuning;
    /** @type {AssistantWord[]} */
    words;
    /** @type {AssistantLink[]} */
    links;
    /** @type {AssistantContact[]} */
    contacts;
    /** @type {AssistantIntegration[]} */
    integrations;
}
export class EmbedSettings {
    /** @param {{enabled?:boolean,allowedHosts?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {boolean} */
    enabled;
    /** @type {string} */
    allowedHosts;
}
export class EndpointInfo extends EntityInfo {
    /** @param {{accountId?:string,accountName?:string,customerId?:string,customerName?:string,referenceId?:string,customerBreadcrumb?:CustomerBreadcrumb[],displayName?:string,type?:EndpointTypes,extraInformation?:string,flowId?:string,flowName?:string,flowParams?:Struct,flowSchedule?:EndpointFlowSchedules,schedule?:Schedule,scheduledFlows?:ScheduledFlow[],disableSms?:boolean,useExternal10DlcCampaign?:boolean,isVirtualPhoneNumber?:boolean,isCallerIdVerified?:boolean,callerIdVerificationCode?:string,phoneNumber?:string,phoneNumberSid?:string,callerIdName?:string,addressSid?:string,doNotTouchPhoneNumber?:boolean,isEnrolledIn10DlcService?:boolean,enableCallerIdLookup?:boolean,userEmailAddress?:string,sipRegion?:TwilioSipRegions,sipCredentialSid?:string,sipUserName?:string,sipPassword?:string,sipDomain?:string,enableEmergencyCalling?:boolean,emergencyAddressSid?:string,emergencyPhoneNumberId?:string,agentState?:AgentStates,agentStateReason?:AgentStateReasons,userMode?:UserModes,voicemailGreetingId?:string,data?:Struct,emailAddress?:string,userFirstName?:string,userLastName?:string,avatarUrl?:string,managerRole?:UserManagerRoles,dashboardPermissions?:DashboardPermissions[],myFieldPermissions?:UserDataFieldModes,customerFieldPermissions?:UserDataFieldModes,otherUserFieldPermissions?:UserDataFieldModes,otherEndpointFieldPermissions?:UserDataFieldModes,name?:string,tags?:Tag[],actionUrls?:EndpointActionUrl[],teamMemberIds?:string[],contactListVisibility?:CustomerVisibility,contacts?:EndpointContact[],documoId?:string,integrationData?:EntityIntegrationData,thirdPartyPhoneSystemSettings?:ThirdPartyPhoneSystemSettings,overrideAppSettings?:boolean,appSettings?:AppSettings,assistantSettings?:AssistantSettings,embedSettings?:EmbedSettings,id?:string,dateCreated?:string,dateLastModified?:string,createdBy?:string,lastModifiedBy?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {string}
     * @description The account ID this endpoint is associated with */
    accountId;
    /**
     * @type {string}
     * @description The name of the account this endpoint is associated with */
    accountName;
    /**
     * @type {string}
     * @description The ID of the customer this endpoint is associated with */
    customerId;
    /**
     * @type {string}
     * @description The name of the customer this endpoint is associated with */
    customerName;
    /**
     * @type {string}
     * @description The third party reference ID for the endpoint */
    referenceId;
    /**
     * @type {CustomerBreadcrumb[]}
     * @description The breadcrumb to the customer for this endpoint */
    customerBreadcrumb;
    /**
     * @type {string}
     * @description The display name of the endpoint */
    displayName;
    /**
     * @type {EndpointTypes}
     * @description The type of endpoint */
    type;
    /**
     * @type {string}
     * @description Extra info for this endpoint (typically to show in grid) */
    extraInformation;
    /**
     * @type {string}
     * @description The ID of the flow to use for voice */
    flowId;
    /**
     * @type {string}
     * @description The name of the flow to use for voice */
    flowName;
    /**
     * @type {Struct}
     * @description The params for the voice flow */
    flowParams;
    /**
     * @type {EndpointFlowSchedules}
     * @description Whether to use a single flow always or use scheduled flow system */
    flowSchedule;
    /**
     * @type {Schedule}
     * @description This endpoint's schedule */
    schedule;
    /**
     * @type {ScheduledFlow[]}
     * @description The list of scheduled flows when using scheduling */
    scheduledFlows;
    /**
     * @type {boolean}
     * @description Disable SMS */
    disableSms;
    /**
     * @type {boolean}
     * @description Set this to true to prevent Evo Voice from overriding the 10DLC / SMS settings for this number */
    useExternal10DlcCampaign;
    /**
     * @type {boolean}
     * @description Is this a virtual phone number? */
    isVirtualPhoneNumber;
    /**
     * @type {boolean}
     * @description Is caller ID verified for this virtual number? */
    isCallerIdVerified;
    /**
     * @type {string}
     * @description The verification code for this number */
    callerIdVerificationCode;
    /**
     * @type {string}
     * @description The phone number */
    phoneNumber;
    /**
     * @type {string}
     * @description The Sid of the phone number */
    phoneNumberSid;
    /**
     * @type {string}
     * @description The caller ID Name (CNAM) for the phone number */
    callerIdName;
    /**
     * @type {string}
     * @description The address SID associated with the phone number */
    addressSid;
    /**
     * @type {boolean}
     * @description Do not touch this phone number - for BYOA accounts */
    doNotTouchPhoneNumber;
    /**
     * @type {boolean}
     * @description Is this number enrolled in a 10DLC messaging service campaign */
    isEnrolledIn10DlcService;
    /**
     * @type {boolean}
     * @description Whether we look up caller ID or not */
    enableCallerIdLookup;
    /**
     * @type {string}
     * @description The email address of the user */
    userEmailAddress;
    /**
     * @type {TwilioSipRegions}
     * @description The Twilio Region for the SIP endpoint */
    sipRegion;
    /**
     * @type {string}
     * @description The Twilio Sid of the credentials for Sip */
    sipCredentialSid;
    /**
     * @type {string}
     * @description The Twilio SIP user name */
    sipUserName;
    /**
     * @type {string}
     * @description The Twilio SIP password */
    sipPassword;
    /**
     * @type {string}
     * @description The SIP domain */
    sipDomain;
    /**
     * @type {boolean}
     * @description Is emergency calling enabled on this number? */
    enableEmergencyCalling;
    /**
     * @type {string}
     * @description The SID of the emergency address for this number */
    emergencyAddressSid;
    /**
     * @type {string}
     * @description The ID of the phone number to use for emergency dialing */
    emergencyPhoneNumberId;
    /**
     * @type {AgentStates}
     * @description The current agent state of this user endpoint */
    agentState;
    /**
     * @type {AgentStateReasons}
     * @description The current agent state reason of this user endpoint */
    agentStateReason;
    /**
     * @type {UserModes}
     * @description The mode for this user */
    userMode;
    /**
     * @type {string}
     * @description The ID of the file to use for voicemail greeting */
    voicemailGreetingId;
    /**
     * @type {Struct}
     * @description The endpoint's data */
    data;
    /**
     * @type {string}
     * @description The email address for email endpoints */
    emailAddress;
    /**
     * @type {string}
     * @description The first name of the user (for user endpoints) */
    userFirstName;
    /**
     * @type {string}
     * @description The last name of the user (for user endpoints) */
    userLastName;
    /**
     * @type {string}
     * @description The URL of an image for this user's avatar */
    avatarUrl;
    /**
     * @type {UserManagerRoles}
     * @description Does this user have manager role? */
    managerRole;
    /**
     * @type {DashboardPermissions[]}
     * @description The list of dashboard permissions for when the manager role is custom */
    dashboardPermissions;
    /**
     * @type {UserDataFieldModes}
     * @description The type of visibility this user has to their own fields */
    myFieldPermissions;
    /**
     * @type {UserDataFieldModes}
     * @description The type of visibility this user has to customer fields */
    customerFieldPermissions;
    /**
     * @type {UserDataFieldModes}
     * @description The type of visibility this user has to other user fields */
    otherUserFieldPermissions;
    /**
     * @type {UserDataFieldModes}
     * @description The type of visibility this user has to other endpoint fields */
    otherEndpointFieldPermissions;
    /**
     * @type {string}
     * @description The name of this endpoint (for bots etc.) */
    name;
    /**
     * @type {Tag[]}
     * @description The list of tags for this endpoint */
    tags;
    /**
     * @type {EndpointActionUrl[]}
     * @description The list of action URLs */
    actionUrls;
    /**
     * @type {string[]}
     * @description The list of members in this team */
    teamMemberIds;
    /**
     * @type {CustomerVisibility}
     * @description Visibility of this user/team in contact lists */
    contactListVisibility;
    /**
     * @type {EndpointContact[]}
     * @description The list of contacts personal to this user */
    contacts;
    /**
     * @type {string}
     * @description The documo ID for this number */
    documoId;
    /**
     * @type {EntityIntegrationData}
     * @description Integration data for this endpoint */
    integrationData;
    /**
     * @type {ThirdPartyPhoneSystemSettings}
     * @description Settings for third party phone system */
    thirdPartyPhoneSystemSettings;
    /**
     * @type {boolean}
     * @description Should this user override the parent customer's app settings */
    overrideAppSettings;
    /**
     * @type {AppSettings}
     * @description App / Portal settings for this user */
    appSettings;
    /**
     * @type {AssistantSettings}
     * @description Configuration for the AI assistant */
    assistantSettings;
    /**
     * @type {EmbedSettings}
     * @description Configuration for the embed */
    embedSettings;
}
export class ListEndpoints extends ListRequest {
    /** @param {{accountIds?:string[],customerIds?:string[],referenceIds?:string[],shallowParent?:boolean,flowIds?:string[],flowState?:string,tagIds?:string[],nameFilter?:string,phoneNumberFilter?:string,type?:EndpointTypes,types?:EndpointTypes[],userMode?:UserModes,dataFilters?:string[],sipUserName?:string,flowParametersFilter?:string,page?:number,all?:boolean,countPerPage?:number,specificIds?:string[],sortField?:string,sortOrder?:SortOrders,simplifiedPaging?:boolean}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {string[]}
     * @description The IDs of the account whose endpoints you want to retrieve */
    accountIds;
    /**
     * @type {string[]}
     * @description The IDs of the customers whose endpoints you want to retrieve */
    customerIds;
    /**
     * @type {string[]}
     * @description The third party IDs of endpoints you want to retrieve */
    referenceIds;
    /**
     * @type {boolean}
     * @description If you want a shall parent customer filter (e.g. no deep children) */
    shallowParent;
    /**
     * @type {string[]}
     * @description The IDs of the flows whose endpoints you want to retrieve */
    flowIds;
    /**
     * @type {string}
     * @description The state where the specified flow IDs should be */
    flowState;
    /**
     * @type {string[]}
     * @description The list of tag IDs to filter by (must contain all) */
    tagIds;
    /**
     * @type {string}
     * @description Filter by name */
    nameFilter;
    /**
     * @type {string}
     * @description Filter by phone number */
    phoneNumberFilter;
    /**
     * @type {?EndpointTypes}
     * @description Filter by type */
    type;
    /**
     * @type {EndpointTypes[]}
     * @description Filter by types */
    types;
    /**
     * @type {?UserModes}
     * @description Filter by user mode */
    userMode;
    /**
     * @type {string[]}
     * @description Filters for any endpoint data fields. Format for each entry should be 'FieldName=Value'. We do not support numeric or boolean currently */
    dataFilters;
    /**
     * @type {string}
     * @description Filter by SIP user name */
    sipUserName;
    /**
     * @type {string}
     * @description Filter by flow parameters (this must be a JSON struct) */
    flowParametersFilter;
}
export class BillingItem {
    /** @param {{baseCost?:number,rawUnitMultiplier?:number,unitCost?:number,allowance?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    baseCost;
    /** @type {number} */
    rawUnitMultiplier;
    /** @type {number} */
    unitCost;
    /** @type {number} */
    allowance;
}
export class BillingSettings {
    /** @param {{base?:BillingItem,localNumbers?:BillingItem,tollFreeNumbers?:BillingItem,inboundVoiceCalls?:BillingItem,outboundVoiceCalls?:BillingItem,inboundFaxes?:BillingItem,outboundFaxes?:BillingItem,inboundSmsMessages?:BillingItem,outboundSmsMessages?:BillingItem,aiInsights?:BillingItem,aiLiveMinutes?:BillingItem}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {BillingItem} */
    base;
    /** @type {BillingItem} */
    localNumbers;
    /** @type {BillingItem} */
    tollFreeNumbers;
    /** @type {BillingItem} */
    inboundVoiceCalls;
    /** @type {BillingItem} */
    outboundVoiceCalls;
    /** @type {BillingItem} */
    inboundFaxes;
    /** @type {BillingItem} */
    outboundFaxes;
    /** @type {BillingItem} */
    inboundSmsMessages;
    /** @type {BillingItem} */
    outboundSmsMessages;
    /** @type {BillingItem} */
    aiInsights;
    /** @type {BillingItem} */
    aiLiveMinutes;
}
export class AccountInfo extends EntityInfo {
    /** @param {{name?:string,parentAccountId?:string,twilioAccountSid?:string,ancestorIds?:string[],maxPhoneNumbers?:number,isBYOA?:boolean,trustHubProfileSid?:string,logoId?:string,logoUri?:string,billingSettings?:BillingSettings,id?:string,dateCreated?:string,dateLastModified?:string,createdBy?:string,lastModifiedBy?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /**
     * @type {string}
     * @description The name of this account */
    name;
    /**
     * @type {string}
     * @description The ID of this account's parent */
    parentAccountId;
    /**
     * @type {string}
     * @description The twilio account SID */
    twilioAccountSid;
    /**
     * @type {string[]}
     * @description The ancestors of this account. Useful for breadcrumbs */
    ancestorIds;
    /**
     * @type {number}
     * @description The max number of phone numbers this account can have */
    maxPhoneNumbers;
    /**
     * @type {boolean}
     * @description This account is BYOA */
    isBYOA;
    /**
     * @type {string}
     * @description TrustHub Profile Sid */
    trustHubProfileSid;
    /**
     * @type {string}
     * @description The ID of the logo file */
    logoId;
    /**
     * @type {string}
     * @description The URI of the logo file */
    logoUri;
    /**
     * @type {BillingSettings}
     * @description The billing settings for this account */
    billingSettings;
}
/** @typedef T {any} */
export class ListResponse {
    /** @param {{items?:AccountInfo[],totalCount?:number,totalPages?:number,hasMorePages?:boolean}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {AccountInfo[]}
     * @description The items */
    items;
    /**
     * @type {number}
     * @description The total number of items */
    totalCount;
    /**
     * @type {number}
     * @description The total number of pages */
    totalPages;
    /**
     * @type {boolean}
     * @description Are there more pages of items? Used with simplified paging */
    hasMorePages;
}

JavaScript ListEndpoints DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /endpoints HTTP/1.1 
Host: team.evovoice.io 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ListResponseOfEndpointInfoWeVlXEog xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Voice.Api">
  <HasMorePages>false</HasMorePages>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Voice.Api.Endpoints">
    <d2p1:EndpointInfo>
      <CreatedBy>String</CreatedBy>
      <DateCreated>String</DateCreated>
      <DateLastModified>String</DateLastModified>
      <Id>String</Id>
      <LastModifiedBy>String</LastModifiedBy>
      <d2p1:AccountId>String</d2p1:AccountId>
      <d2p1:AccountName>String</d2p1:AccountName>
      <d2p1:ActionUrls>
        <d2p1:EndpointActionUrl>
          <d2p1:Id>String</d2p1:Id>
          <d2p1:Method>GET</d2p1:Method>
          <d2p1:Url>String</d2p1:Url>
        </d2p1:EndpointActionUrl>
      </d2p1:ActionUrls>
      <d2p1:AddressSid>String</d2p1:AddressSid>
      <d2p1:AgentState>Unknown</d2p1:AgentState>
      <d2p1:AgentStateReason>Unknown</d2p1:AgentStateReason>
      <d2p1: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>
      </d2p1:AppSettings>
      <d2p1:AssistantSettings>
        <d2p1:CompanyInformation>String</d2p1:CompanyInformation>
        <d2p1:CompanyName>String</d2p1:CompanyName>
        <d2p1:Contacts>
          <d2p1:AssistantContact>
            <d2p1:About>String</d2p1:About>
            <d2p1:EmailAddress>String</d2p1:EmailAddress>
            <d2p1:Name>String</d2p1:Name>
            <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
            <d2p1:TakeMessageFields>
              <d2p1:AssistantTakeMessageField>
                <d2p1:Description>String</d2p1:Description>
                <d2p1:Name>String</d2p1:Name>
                <d2p1:Required>false</d2p1:Required>
              </d2p1:AssistantTakeMessageField>
            </d2p1:TakeMessageFields>
            <d2p1:TransferType>Blind</d2p1:TransferType>
          </d2p1:AssistantContact>
        </d2p1:Contacts>
        <d2p1:CustomPrompt>String</d2p1:CustomPrompt>
        <d2p1:Greeting>String</d2p1:Greeting>
        <d2p1:Integrations>
          <d2p1:AssistantIntegration>
            <d2p1:AuthToken>String</d2p1:AuthToken>
            <d2p1:HttpMethod>String</d2p1:HttpMethod>
            <d2p1:Uri>String</d2p1:Uri>
          </d2p1:AssistantIntegration>
        </d2p1:Integrations>
        <d2p1:Links>
          <d2p1:AssistantLink>
            <d2p1:Description>String</d2p1:Description>
            <d2p1:Url>String</d2p1:Url>
          </d2p1:AssistantLink>
        </d2p1:Links>
        <d2p1:Tuning>Accuracy</d2p1:Tuning>
        <d2p1:Voice>String</d2p1:Voice>
        <d2p1:VoiceStyle>String</d2p1:VoiceStyle>
        <d2p1:Words>
          <d2p1:AssistantWord>
            <d2p1:Pronounced>String</d2p1:Pronounced>
            <d2p1:Word>String</d2p1:Word>
          </d2p1:AssistantWord>
        </d2p1:Words>
      </d2p1:AssistantSettings>
      <d2p1:AvatarUrl>String</d2p1:AvatarUrl>
      <d2p1:CallerIdName>String</d2p1:CallerIdName>
      <d2p1:CallerIdVerificationCode>String</d2p1:CallerIdVerificationCode>
      <d2p1:ContactListVisibility>None</d2p1:ContactListVisibility>
      <d2p1:Contacts>
        <d2p1:EndpointContact>
          <d2p1:Address>String</d2p1:Address>
          <d2p1:DisplayName>String</d2p1:DisplayName>
          <d2p1:Id>String</d2p1:Id>
        </d2p1:EndpointContact>
      </d2p1:Contacts>
      <d2p1: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>
      </d2p1:CustomerBreadcrumb>
      <d2p1:CustomerFieldPermissions>Hidden</d2p1:CustomerFieldPermissions>
      <d2p1:CustomerId>String</d2p1:CustomerId>
      <d2p1:CustomerName>String</d2p1:CustomerName>
      <d2p1:DashboardPermissions xmlns:d4p1="http://schemas.datacontract.org/2004/07/Voice.Api.Authentication">
        <d4p1:DashboardPermissions>ViewFiles</d4p1:DashboardPermissions>
      </d2p1:DashboardPermissions>
      <d2p1:Data xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      <d2p1:DisableSms>false</d2p1:DisableSms>
      <d2p1:DisplayName>String</d2p1:DisplayName>
      <d2p1:DoNotTouchPhoneNumber>false</d2p1:DoNotTouchPhoneNumber>
      <d2p1:DocumoId>String</d2p1:DocumoId>
      <d2p1:EmailAddress>String</d2p1:EmailAddress>
      <d2p1:EmbedSettings>
        <d2p1:AllowedHosts>String</d2p1:AllowedHosts>
        <d2p1:Enabled>false</d2p1:Enabled>
      </d2p1:EmbedSettings>
      <d2p1:EmergencyAddressSid>String</d2p1:EmergencyAddressSid>
      <d2p1:EmergencyPhoneNumberId>String</d2p1:EmergencyPhoneNumberId>
      <d2p1:EnableCallerIdLookup>false</d2p1:EnableCallerIdLookup>
      <d2p1:EnableEmergencyCalling>false</d2p1:EnableEmergencyCalling>
      <d2p1:ExtraInformation>String</d2p1:ExtraInformation>
      <d2p1:FlowId>String</d2p1:FlowId>
      <d2p1:FlowName>String</d2p1:FlowName>
      <d2p1:FlowParams xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
      <d2p1:FlowSchedule>Always</d2p1:FlowSchedule>
      <d2p1: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>
      </d2p1:IntegrationData>
      <d2p1:IsCallerIdVerified>false</d2p1:IsCallerIdVerified>
      <d2p1:IsEnrolledIn10DlcService>false</d2p1:IsEnrolledIn10DlcService>
      <d2p1:IsVirtualPhoneNumber>false</d2p1:IsVirtualPhoneNumber>
      <d2p1:ManagerRole>None</d2p1:ManagerRole>
      <d2p1:MyFieldPermissions>Hidden</d2p1:MyFieldPermissions>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:OtherEndpointFieldPermissions>Hidden</d2p1:OtherEndpointFieldPermissions>
      <d2p1:OtherUserFieldPermissions>Hidden</d2p1:OtherUserFieldPermissions>
      <d2p1:OverrideAppSettings>false</d2p1:OverrideAppSettings>
      <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
      <d2p1:PhoneNumberSid>String</d2p1:PhoneNumberSid>
      <d2p1:ReferenceId>String</d2p1:ReferenceId>
      <d2p1: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>
      </d2p1:Schedule>
      <d2p1:ScheduledFlows>
        <d2p1:ScheduledFlow>
          <d2p1:FlowId>String</d2p1:FlowId>
          <d2p1:FlowParams xmlns:d6p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
          <d2p1:StateName>String</d2p1:StateName>
        </d2p1:ScheduledFlow>
      </d2p1:ScheduledFlows>
      <d2p1:SipCredentialSid>String</d2p1:SipCredentialSid>
      <d2p1:SipDomain>String</d2p1:SipDomain>
      <d2p1:SipPassword>String</d2p1:SipPassword>
      <d2p1:SipRegion>NorthAmericaVirginia</d2p1:SipRegion>
      <d2p1:SipUserName>String</d2p1:SipUserName>
      <d2p1: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>
      </d2p1:Tags>
      <d2p1:TeamMemberIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:TeamMemberIds>
      <d2p1:ThirdPartyPhoneSystemSettings>
        <d2p1:DemoSettings>
          <d2p1:Extension>String</d2p1:Extension>
        </d2p1:DemoSettings>
        <d2p1:SipSettings>
          <d2p1:Accounts>
            <d2p1:ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
              <d2p1:Agent>String</d2p1:Agent>
              <d2p1:AudioCodecs>
                <d2p1:ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>PCMU</d2p1:ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.AudioCodecTypes>
              </d2p1:AudioCodecs>
              <d2p1:AudioPlaybackDeviceName>String</d2p1:AudioPlaybackDeviceName>
              <d2p1:AudioRecordingDeviceName>String</d2p1:AudioRecordingDeviceName>
              <d2p1:AuthName>String</d2p1:AuthName>
              <d2p1:DTMFMethod>RFC2833</d2p1:DTMFMethod>
              <d2p1:DisplayName>String</d2p1:DisplayName>
              <d2p1:LocalIP>String</d2p1:LocalIP>
              <d2p1:LocalPort>0</d2p1:LocalPort>
              <d2p1:Number>String</d2p1:Number>
              <d2p1:OutboundServer>String</d2p1:OutboundServer>
              <d2p1:OutboundServerPort>0</d2p1:OutboundServerPort>
              <d2p1:Password>String</d2p1:Password>
              <d2p1:RegistrationExpires>0</d2p1:RegistrationExpires>
              <d2p1:SipServer>String</d2p1:SipServer>
              <d2p1:SipServerPort>0</d2p1:SipServerPort>
              <d2p1:StunPort>0</d2p1:StunPort>
              <d2p1:StunServer>String</d2p1:StunServer>
              <d2p1:TransportType>UDP</d2p1:TransportType>
              <d2p1:UserDomain>String</d2p1:UserDomain>
              <d2p1:UserName>String</d2p1:UserName>
            </d2p1:ThirdPartyPhoneSystemSettings.ThirdPartySipSettings.ThirdPartySipAccountSettings>
          </d2p1:Accounts>
        </d2p1:SipSettings>
        <d2p1:Type>Demo</d2p1:Type>
      </d2p1:ThirdPartyPhoneSystemSettings>
      <d2p1:Type>PhoneNumber</d2p1:Type>
      <d2p1:UseExternal10DlcCampaign>false</d2p1:UseExternal10DlcCampaign>
      <d2p1:UserEmailAddress>String</d2p1:UserEmailAddress>
      <d2p1:UserFirstName>String</d2p1:UserFirstName>
      <d2p1:UserLastName>String</d2p1:UserLastName>
      <d2p1:UserMode>SoftPhone</d2p1:UserMode>
      <d2p1:VoicemailGreetingId>String</d2p1:VoicemailGreetingId>
    </d2p1:EndpointInfo>
  </Items>
  <TotalCount>0</TotalCount>
  <TotalPages>0</TotalPages>
</ListResponseOfEndpointInfoWeVlXEog>