/* Options: Date: 2025-05-04 22:10:03 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SyncPhoneNumbers.* //ExcludeTypes: //DefaultImports: */ export class NodeParameterMap { [key:string] : NodeParameter; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export interface IReturn { createResponse(): T; } export interface IPost { } export class EndpointInfo extends EntityInfo { /** @description The account ID this endpoint is associated with */ // @ApiMember(Description="The account ID this endpoint is associated with") public accountId: string; /** @description The name of the account this endpoint is associated with */ // @ApiMember(Description="The name of the account this endpoint is associated with") public accountName: string; /** @description The ID of the customer this endpoint is associated with */ // @ApiMember(Description="The ID of the customer this endpoint is associated with") public customerId: string; /** @description The name of the customer this endpoint is associated with */ // @ApiMember(Description="The name of the customer this endpoint is associated with") public customerName: string; /** @description The third party reference ID for the endpoint */ // @ApiMember(Description="The third party reference ID for the endpoint") public referenceId: string; /** @description The breadcrumb to the customer for this endpoint */ // @ApiMember(Description="The breadcrumb to the customer for this endpoint") public customerBreadcrumb: CustomerBreadcrumb[]; /** @description The display name of the endpoint */ // @ApiMember(Description="The display name of the endpoint") public displayName: string; /** @description The type of endpoint */ // @ApiMember(Description="The type of endpoint") public type: EndpointTypes; /** @description Extra info for this endpoint (typically to show in grid) */ // @ApiMember(Description="Extra info for this endpoint (typically to show in grid)") public extraInformation: string; /** @description The ID of the flow to use for voice */ // @ApiMember(Description="The ID of the flow to use for voice") public flowId: string; /** @description The name of the flow to use for voice */ // @ApiMember(Description="The name of the flow to use for voice") public flowName: string; /** @description The params for the voice flow */ // @ApiMember(Description="The params for the voice flow") public flowParams: Struct; /** @description 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") public flowSchedule: EndpointFlowSchedules; /** @description This endpoint's schedule */ // @ApiMember(Description="This endpoint's schedule") public schedule: Schedule; /** @description The list of scheduled flows when using scheduling */ // @ApiMember(Description="The list of scheduled flows when using scheduling") public scheduledFlows: ScheduledFlow[]; /** @description Disable SMS */ // @ApiMember(Description="Disable SMS") public disableSms: boolean; /** @description 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") public useExternal10DlcCampaign: boolean; /** @description Is this a virtual phone number? */ // @ApiMember(Description="Is this a virtual phone number?") public isVirtualPhoneNumber: boolean; /** @description Is caller ID verified for this virtual number? */ // @ApiMember(Description="Is caller ID verified for this virtual number?") public isCallerIdVerified: boolean; /** @description The verification code for this number */ // @ApiMember(Description="The verification code for this number") public callerIdVerificationCode: string; /** @description The phone number */ // @ApiMember(Description="The phone number") public phoneNumber: string; /** @description The Sid of the phone number */ // @ApiMember(Description="The Sid of the phone number") public phoneNumberSid: string; /** @description The caller ID Name (CNAM) for the phone number */ // @ApiMember(Description="The caller ID Name (CNAM) for the phone number") public callerIdName: string; /** @description The address SID associated with the phone number */ // @ApiMember(Description="The address SID associated with the phone number") public addressSid: string; /** @description Do not touch this phone number - for BYOA accounts */ // @ApiMember(Description="Do not touch this phone number - for BYOA accounts") public doNotTouchPhoneNumber: boolean; /** @description Is this number enrolled in a 10DLC messaging service campaign */ // @ApiMember(Description="Is this number enrolled in a 10DLC messaging service campaign") public isEnrolledIn10DlcService: boolean; /** @description Whether we look up caller ID or not */ // @ApiMember(Description="Whether we look up caller ID or not") public enableCallerIdLookup: boolean; /** @description The email address of the user */ // @ApiMember(Description="The email address of the user") public userEmailAddress: string; /** @description The Twilio Region for the SIP endpoint */ // @ApiMember(Description="The Twilio Region for the SIP endpoint") public sipRegion: TwilioSipRegions; /** @description The Twilio Sid of the credentials for Sip */ // @ApiMember(Description="The Twilio Sid of the credentials for Sip") public sipCredentialSid: string; /** @description The Twilio SIP user name */ // @ApiMember(Description="The Twilio SIP user name") public sipUserName: string; /** @description The Twilio SIP password */ // @ApiMember(Description="The Twilio SIP password") public sipPassword: string; /** @description The SIP domain */ // @ApiMember(Description="The SIP domain") public sipDomain: string; /** @description Is emergency calling enabled on this number? */ // @ApiMember(Description="Is emergency calling enabled on this number?") public enableEmergencyCalling: boolean; /** @description The SID of the emergency address for this number */ // @ApiMember(Description="The SID of the emergency address for this number") public emergencyAddressSid: string; /** @description The ID of the phone number to use for emergency dialing */ // @ApiMember(Description="The ID of the phone number to use for emergency dialing") public emergencyPhoneNumberId: string; /** @description The current agent state of this user endpoint */ // @ApiMember(Description="The current agent state of this user endpoint") public agentState: AgentStates; /** @description The current agent state reason of this user endpoint */ // @ApiMember(Description="The current agent state reason of this user endpoint") public agentStateReason: AgentStateReasons; /** @description The mode for this user */ // @ApiMember(Description="The mode for this user") public userMode: UserModes; /** @description The ID of the file to use for voicemail greeting */ // @ApiMember(Description="The ID of the file to use for voicemail greeting") public voicemailGreetingId: string; /** @description The endpoint's data */ // @ApiMember(Description="The endpoint's data") public data: Struct; /** @description The email address for email endpoints */ // @ApiMember(Description="The email address for email endpoints") public emailAddress: string; /** @description The first name of the user (for user endpoints) */ // @ApiMember(Description="The first name of the user (for user endpoints)") public userFirstName: string; /** @description The last name of the user (for user endpoints) */ // @ApiMember(Description="The last name of the user (for user endpoints)") public userLastName: string; /** @description The URL of an image for this user's avatar */ // @ApiMember(Description="The URL of an image for this user's avatar") public avatarUrl: string; /** @description Does this user have manager role? */ // @ApiMember(Description="Does this user have manager role?") public managerRole: UserManagerRoles; /** @description 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") public dashboardPermissions: DashboardPermissions[]; /** @description The type of visibility this user has to their own fields */ // @ApiMember(Description="The type of visibility this user has to their own fields") public myFieldPermissions: UserDataFieldModes; /** @description The type of visibility this user has to customer fields */ // @ApiMember(Description="The type of visibility this user has to customer fields") public customerFieldPermissions: UserDataFieldModes; /** @description The type of visibility this user has to other user fields */ // @ApiMember(Description="The type of visibility this user has to other user fields") public otherUserFieldPermissions: UserDataFieldModes; /** @description The type of visibility this user has to other endpoint fields */ // @ApiMember(Description="The type of visibility this user has to other endpoint fields") public otherEndpointFieldPermissions: UserDataFieldModes; /** @description The name of this endpoint (for bots etc.) */ // @ApiMember(Description="The name of this endpoint (for bots etc.)") public name: string; /** @description The list of tags for this endpoint */ // @ApiMember(Description="The list of tags for this endpoint") public tags: Tag[]; /** @description The list of action URLs */ // @ApiMember(Description="The list of action URLs") public actionUrls: EndpointActionUrl[]; /** @description The list of members in this team */ // @ApiMember(Description="The list of members in this team") public teamMemberIds: string[]; /** @description Visibility of this user/team in contact lists */ // @ApiMember(Description="Visibility of this user/team in contact lists") public contactListVisibility: CustomerVisibility; /** @description The list of contacts personal to this user */ // @ApiMember(Description="The list of contacts personal to this user") public contacts: EndpointContact[]; /** @description The documo ID for this number */ // @ApiMember(Description="The documo ID for this number") public documoId: string; /** @description Integration data for this endpoint */ // @ApiMember(Description="Integration data for this endpoint") public integrationData: EntityIntegrationData; /** @description Settings for third party phone system */ // @ApiMember(Description="Settings for third party phone system") public thirdPartyPhoneSystemSettings: ThirdPartyPhoneSystemSettings; /** @description Should this user override the parent customer's app settings */ // @ApiMember(Description="Should this user override the parent customer's app settings") public overrideAppSettings: boolean; /** @description App / Portal settings for this user */ // @ApiMember(Description="App / Portal settings for this user") public appSettings: AppSettings; /** @description Configuration for the AI assistant */ // @ApiMember(Description="Configuration for the AI assistant") public assistantSettings: AssistantSettings; /** @description Configuration for the embed */ // @ApiMember(Description="Configuration for the embed") public embedSettings: EmbedSettings; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } export class SyncPhoneNumbersResponse { public newPhoneNumbers: EndpointInfo[]; public updatedPhoneNumbers: EndpointInfo[]; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Syncs list of phone numbers with Twilio detecting any newly ported numbers, status changes, etc. */ // @Route("/phone-numbers/sync", "POST") // @Api(Description="Syncs list of phone numbers with Twilio detecting any newly ported numbers, status changes, etc.") export class SyncPhoneNumbers implements IReturn, IPost { /** @description The account ID you want to sync */ // @ApiMember(Description="The account ID you want to sync") public accountId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'SyncPhoneNumbers'; } public getMethod() { return 'POST'; } public createResponse() { return new SyncPhoneNumbersResponse(); } }