Class TelephonyApi

java.lang.Object
com.mypurecloud.sdk.v2.api.TelephonyApi

public class TelephonyApi extends Object
  • Constructor Details

    • TelephonyApi

      public TelephonyApi()
    • TelephonyApi

      public TelephonyApi(ApiClient apiClient)
  • Method Details

    • deleteTelephonyOrganizationLinkTargetOrganizationId

      public void deleteTelephonyOrganizationLinkTargetOrganizationId(String targetOrganizationId) throws IOException, ApiException
      Delete a link
      Parameters:
      targetOrganizationId - targetOrganizationId (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteTelephonyOrganizationLinkTargetOrganizationIdWithHttpInfo

      public ApiResponse<Void> deleteTelephonyOrganizationLinkTargetOrganizationIdWithHttpInfo(String targetOrganizationId) throws IOException
      Delete a link
      Parameters:
      targetOrganizationId - targetOrganizationId (required)
      Throws:
      IOException - if the request fails to be processed
    • deleteTelephonyOrganizationLinkTargetOrganizationId

      public void deleteTelephonyOrganizationLinkTargetOrganizationId(DeleteTelephonyOrganizationLinkTargetOrganizationIdRequest request) throws IOException, ApiException
      Delete a link
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • deleteTelephonyOrganizationLinkTargetOrganizationId

      public ApiResponse<Void> deleteTelephonyOrganizationLinkTargetOrganizationId(ApiRequest<Void> request) throws IOException
      Delete a link
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyAgentGreetings

      public AgentGreeting getTelephonyAgentGreetings(String agentId) throws IOException, ApiException
      Get an agent's greetings.
      Parameters:
      agentId - User ID (required)
      Returns:
      AgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyAgentGreetingsWithHttpInfo

      public ApiResponse<AgentGreeting> getTelephonyAgentGreetingsWithHttpInfo(String agentId) throws IOException
      Get an agent's greetings.
      Parameters:
      agentId - User ID (required)
      Returns:
      AgentGreeting
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyAgentGreetings

      public AgentGreeting getTelephonyAgentGreetings(GetTelephonyAgentGreetingsRequest request) throws IOException, ApiException
      Get an agent's greetings.
      Parameters:
      request - The request object
      Returns:
      AgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyAgentGreetings

      public ApiResponse<AgentGreeting> getTelephonyAgentGreetings(ApiRequest<Void> request) throws IOException
      Get an agent's greetings.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyAgentsGreetingsMe

      public SelfAgentGreeting getTelephonyAgentsGreetingsMe() throws IOException, ApiException
      Get the agent's own greetings.
      Returns:
      SelfAgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyAgentsGreetingsMeWithHttpInfo

      public ApiResponse<SelfAgentGreeting> getTelephonyAgentsGreetingsMeWithHttpInfo() throws IOException
      Get the agent's own greetings.
      Returns:
      SelfAgentGreeting
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyAgentsGreetingsMe

      public SelfAgentGreeting getTelephonyAgentsGreetingsMe(GetTelephonyAgentsGreetingsMeRequest request) throws IOException, ApiException
      Get the agent's own greetings.
      Parameters:
      request - The request object
      Returns:
      SelfAgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyAgentsGreetingsMe

      public ApiResponse<SelfAgentGreeting> getTelephonyAgentsGreetingsMe(ApiRequest<Void> request) throws IOException
      Get the agent's own greetings.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyCallsMetrics

      public OrganizationCallMetrics getTelephonyCallsMetrics(String metricType) throws IOException, ApiException
      Get the concurrent call metrics for a given organization.
      Parameters:
      metricType - Flag to indicate metric type to fetch. (optional, default to cloud)
      Returns:
      OrganizationCallMetrics
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyCallsMetricsWithHttpInfo

      public ApiResponse<OrganizationCallMetrics> getTelephonyCallsMetricsWithHttpInfo(String metricType) throws IOException
      Get the concurrent call metrics for a given organization.
      Parameters:
      metricType - Flag to indicate metric type to fetch. (optional, default to cloud)
      Returns:
      OrganizationCallMetrics
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyCallsMetrics

      public OrganizationCallMetrics getTelephonyCallsMetrics(GetTelephonyCallsMetricsRequest request) throws IOException, ApiException
      Get the concurrent call metrics for a given organization.
      Parameters:
      request - The request object
      Returns:
      OrganizationCallMetrics
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyCallsMetrics

      public ApiResponse<OrganizationCallMetrics> getTelephonyCallsMetrics(ApiRequest<Void> request) throws IOException
      Get the concurrent call metrics for a given organization.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyMediaregions

      public MediaRegions getTelephonyMediaregions() throws IOException, ApiException
      Retrieve the list of AWS regions media can stream through.
      Returns:
      MediaRegions
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyMediaregionsWithHttpInfo

      public ApiResponse<MediaRegions> getTelephonyMediaregionsWithHttpInfo() throws IOException
      Retrieve the list of AWS regions media can stream through.
      Returns:
      MediaRegions
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyMediaregions

      public MediaRegions getTelephonyMediaregions(GetTelephonyMediaregionsRequest request) throws IOException, ApiException
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - The request object
      Returns:
      MediaRegions
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyMediaregions

      public ApiResponse<MediaRegions> getTelephonyMediaregions(ApiRequest<Void> request) throws IOException
      Retrieve the list of AWS regions media can stream through.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyNumbersRouting

      public NumberRoutingListing getTelephonyNumbersRouting(String before, String after, String pageSize, String numberId, String activeRoutingOrganizationId, String ownerOrganizationId, String status) throws IOException, ApiException
      Get Number Routings by organizationId
      Parameters:
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      numberId - numberId (optional)
      activeRoutingOrganizationId - activeRoutingOrganizationId (optional)
      ownerOrganizationId - ownerOrganizationId (optional)
      status - status (optional)
      Returns:
      NumberRoutingListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyNumbersRoutingWithHttpInfo

      public ApiResponse<NumberRoutingListing> getTelephonyNumbersRoutingWithHttpInfo(String before, String after, String pageSize, String numberId, String activeRoutingOrganizationId, String ownerOrganizationId, String status) throws IOException
      Get Number Routings by organizationId
      Parameters:
      before - The cursor that points to the start of the set of entities that has been returned. (optional)
      after - The cursor that points to the end of the set of entities that has been returned. (optional)
      pageSize - Number of entities to return. Maximum of 200. (optional)
      numberId - numberId (optional)
      activeRoutingOrganizationId - activeRoutingOrganizationId (optional)
      ownerOrganizationId - ownerOrganizationId (optional)
      status - status (optional)
      Returns:
      NumberRoutingListing
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyNumbersRouting

      public NumberRoutingListing getTelephonyNumbersRouting(GetTelephonyNumbersRoutingRequest request) throws IOException, ApiException
      Get Number Routings by organizationId
      Parameters:
      request - The request object
      Returns:
      NumberRoutingListing
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyNumbersRouting

      public ApiResponse<NumberRoutingListing> getTelephonyNumbersRouting(ApiRequest<Void> request) throws IOException
      Get Number Routings by organizationId
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLink

      public List<OrganizationLinkResponse> getTelephonyOrganizationLink() throws IOException, ApiException
      Get organization links
      Returns:
      List
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLinkWithHttpInfo

      public ApiResponse<List<OrganizationLinkResponse>> getTelephonyOrganizationLinkWithHttpInfo() throws IOException
      Get organization links
      Returns:
      List
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLink

      public List<OrganizationLinkResponse> getTelephonyOrganizationLink(GetTelephonyOrganizationLinkRequest request) throws IOException, ApiException
      Get organization links
      Parameters:
      request - The request object
      Returns:
      List
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLink

      public ApiResponse<List<OrganizationLinkResponse>> getTelephonyOrganizationLink(ApiRequest<Void> request) throws IOException
      Get organization links
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLinkRegions

      public List<RegionResponse> getTelephonyOrganizationLinkRegions() throws IOException, ApiException
      Get all the replica regions by primary region
      Returns:
      List
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLinkRegionsWithHttpInfo

      public ApiResponse<List<RegionResponse>> getTelephonyOrganizationLinkRegionsWithHttpInfo() throws IOException
      Get all the replica regions by primary region
      Returns:
      List
      Throws:
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLinkRegions

      public List<RegionResponse> getTelephonyOrganizationLinkRegions(GetTelephonyOrganizationLinkRegionsRequest request) throws IOException, ApiException
      Get all the replica regions by primary region
      Parameters:
      request - The request object
      Returns:
      List
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonyOrganizationLinkRegions

      public ApiResponse<List<RegionResponse>> getTelephonyOrganizationLinkRegions(ApiRequest<Void> request) throws IOException
      Get all the replica regions by primary region
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySettings

      public TelephonySettings getTelephonySettings() throws IOException, ApiException
      Get the global telephony configuration.
      Returns:
      TelephonySettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySettingsWithHttpInfo

      public ApiResponse<TelephonySettings> getTelephonySettingsWithHttpInfo() throws IOException
      Get the global telephony configuration.
      Returns:
      TelephonySettings
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySettings

      public TelephonySettings getTelephonySettings(GetTelephonySettingsRequest request) throws IOException, ApiException
      Get the global telephony configuration.
      Parameters:
      request - The request object
      Returns:
      TelephonySettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySettings

      public ApiResponse<TelephonySettings> getTelephonySettings(ApiRequest<Void> request) throws IOException
      Get the global telephony configuration.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public Callmessage getTelephonySipmessagesConversation(String conversationId) throws IOException, ApiException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      conversationId - Conversation id (required)
      Returns:
      Callmessage
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationWithHttpInfo

      public ApiResponse<Callmessage> getTelephonySipmessagesConversationWithHttpInfo(String conversationId) throws IOException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      conversationId - Conversation id (required)
      Returns:
      Callmessage
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public Callmessage getTelephonySipmessagesConversation(GetTelephonySipmessagesConversationRequest request) throws IOException, ApiException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - The request object
      Returns:
      Callmessage
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversation

      public ApiResponse<Callmessage> getTelephonySipmessagesConversation(ApiRequest<Void> request) throws IOException
      Get a SIP message. Get the raw form of the SIP message
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public Callheader getTelephonySipmessagesConversationHeaders(String conversationId, List<String> keys) throws IOException, ApiException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      conversationId - Conversation id (required)
      keys - comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)
      Returns:
      Callheader
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeadersWithHttpInfo

      public ApiResponse<Callheader> getTelephonySipmessagesConversationHeadersWithHttpInfo(String conversationId, List<String> keys) throws IOException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      conversationId - Conversation id (required)
      keys - comma-separated list of header identifiers to query. e.g. ruri,to,from (optional)
      Returns:
      Callheader
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public Callheader getTelephonySipmessagesConversationHeaders(GetTelephonySipmessagesConversationHeadersRequest request) throws IOException, ApiException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - The request object
      Returns:
      Callheader
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySipmessagesConversationHeaders

      public ApiResponse<Callheader> getTelephonySipmessagesConversationHeaders(ApiRequest<Void> request) throws IOException
      Get SIP headers. Get parsed SIP headers. Returns specific headers if key query parameters are added.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public SipSearchResult getTelephonySiptraces(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException, ApiException
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      dateStart - Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      dateEnd - End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      callId - unique identification of the placed call (optional)
      toUser - User to who the call was placed (optional)
      fromUser - user who placed the call (optional)
      conversationId - Unique identification of the conversation (optional)
      Returns:
      SipSearchResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesWithHttpInfo

      public ApiResponse<SipSearchResult> getTelephonySiptracesWithHttpInfo(Date dateStart, Date dateEnd, String callId, String toUser, String fromUser, String conversationId) throws IOException
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      dateStart - Start date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      dateEnd - End date of the search. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z (required)
      callId - unique identification of the placed call (optional)
      toUser - User to who the call was placed (optional)
      fromUser - user who placed the call (optional)
      conversationId - Unique identification of the conversation (optional)
      Returns:
      SipSearchResult
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public SipSearchResult getTelephonySiptraces(GetTelephonySiptracesRequest request) throws IOException, ApiException
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      request - The request object
      Returns:
      SipSearchResult
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptraces

      public ApiResponse<SipSearchResult> getTelephonySiptraces(ApiRequest<Void> request) throws IOException
      Fetch SIP metadata Fetch SIP metadata that matches a given parameter. If exactMatch is passed as a parameter only sip records that have exactly that value will be returned. For example, some records contain conversationId but not all relevant records for that call may contain the conversationId so only a partial view of the call will be reflected
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(String downloadId) throws IOException, ApiException
      Get signed S3 URL for a pcap download
      Parameters:
      downloadId - unique id for the downloaded file in S3 (required)
      Returns:
      SignedUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadIdWithHttpInfo

      public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadIdWithHttpInfo(String downloadId) throws IOException
      Get signed S3 URL for a pcap download
      Parameters:
      downloadId - unique id for the downloaded file in S3 (required)
      Returns:
      SignedUrlResponse
      Throws:
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public SignedUrlResponse getTelephonySiptracesDownloadDownloadId(GetTelephonySiptracesDownloadDownloadIdRequest request) throws IOException, ApiException
      Get signed S3 URL for a pcap download
      Parameters:
      request - The request object
      Returns:
      SignedUrlResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • getTelephonySiptracesDownloadDownloadId

      public ApiResponse<SignedUrlResponse> getTelephonySiptracesDownloadDownloadId(ApiRequest<Void> request) throws IOException
      Get signed S3 URL for a pcap download
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • patchTelephonyOrganizationLinkApproveRequestingOrganizationId

      public void patchTelephonyOrganizationLinkApproveRequestingOrganizationId(String requestingOrganizationId, OrganizationLinkApprovalRequest body) throws IOException, ApiException
      Approving a requested link
      Parameters:
      requestingOrganizationId - requestingOrganizationId (required)
      body - Approval request body (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchTelephonyOrganizationLinkApproveRequestingOrganizationIdWithHttpInfo

      public ApiResponse<Void> patchTelephonyOrganizationLinkApproveRequestingOrganizationIdWithHttpInfo(String requestingOrganizationId, OrganizationLinkApprovalRequest body) throws IOException
      Approving a requested link
      Parameters:
      requestingOrganizationId - requestingOrganizationId (required)
      body - Approval request body (required)
      Throws:
      IOException - if the request fails to be processed
    • patchTelephonyOrganizationLinkApproveRequestingOrganizationId

      public void patchTelephonyOrganizationLinkApproveRequestingOrganizationId(PatchTelephonyOrganizationLinkApproveRequestingOrganizationIdRequest request) throws IOException, ApiException
      Approving a requested link
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • patchTelephonyOrganizationLinkApproveRequestingOrganizationId

      public ApiResponse<Void> patchTelephonyOrganizationLinkApproveRequestingOrganizationId(ApiRequest<OrganizationLinkApprovalRequest> request) throws IOException
      Approving a requested link
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRouting

      public void postTelephonyNumbersRouting(List<NumberRoutingRequest> body) throws IOException, ApiException
      Update the routing of numbers for one or multiple organizations
      Parameters:
      body - drRoutingList (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingWithHttpInfo

      public ApiResponse<Void> postTelephonyNumbersRoutingWithHttpInfo(List<NumberRoutingRequest> body) throws IOException
      Update the routing of numbers for one or multiple organizations
      Parameters:
      body - drRoutingList (required)
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRouting

      public void postTelephonyNumbersRouting(PostTelephonyNumbersRoutingRequest request) throws IOException, ApiException
      Update the routing of numbers for one or multiple organizations
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRouting

      public ApiResponse<Void> postTelephonyNumbersRouting(ApiRequest<List<NumberRoutingRequest>> request) throws IOException
      Update the routing of numbers for one or multiple organizations
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingAll

      public void postTelephonyNumbersRoutingAll(DisasterRecoveryAllRoutingRequest body) throws IOException, ApiException
      Re-route all numbers on an organization
      Parameters:
      body - Value for all routing request body (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingAllWithHttpInfo

      public ApiResponse<Void> postTelephonyNumbersRoutingAllWithHttpInfo(DisasterRecoveryAllRoutingRequest body) throws IOException
      Re-route all numbers on an organization
      Parameters:
      body - Value for all routing request body (required)
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingAll

      public void postTelephonyNumbersRoutingAll(PostTelephonyNumbersRoutingAllRequest request) throws IOException, ApiException
      Re-route all numbers on an organization
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingAll

      public ApiResponse<Void> postTelephonyNumbersRoutingAll(ApiRequest<DisasterRecoveryAllRoutingRequest> request) throws IOException
      Re-route all numbers on an organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingReset

      public void postTelephonyNumbersRoutingReset(NumberRoutingResetOrganizationRequest body) throws IOException, ApiException
      Reset routing for organization
      Parameters:
      body - Value for bulk routing request body (required)
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingResetWithHttpInfo

      public ApiResponse<Void> postTelephonyNumbersRoutingResetWithHttpInfo(NumberRoutingResetOrganizationRequest body) throws IOException
      Reset routing for organization
      Parameters:
      body - Value for bulk routing request body (required)
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingReset

      public void postTelephonyNumbersRoutingReset(PostTelephonyNumbersRoutingResetRequest request) throws IOException, ApiException
      Reset routing for organization
      Parameters:
      request - The request object
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyNumbersRoutingReset

      public ApiResponse<Void> postTelephonyNumbersRoutingReset(ApiRequest<NumberRoutingResetOrganizationRequest> request) throws IOException
      Reset routing for organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyOrganizationLink

      public OrganizationLink postTelephonyOrganizationLink(CreateOrganizationLink body) throws IOException, ApiException
      Create a link with an organization
      Parameters:
      body - CreateLinkOrg body (required)
      Returns:
      OrganizationLink
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyOrganizationLinkWithHttpInfo

      public ApiResponse<OrganizationLink> postTelephonyOrganizationLinkWithHttpInfo(CreateOrganizationLink body) throws IOException
      Create a link with an organization
      Parameters:
      body - CreateLinkOrg body (required)
      Returns:
      OrganizationLink
      Throws:
      IOException - if the request fails to be processed
    • postTelephonyOrganizationLink

      public OrganizationLink postTelephonyOrganizationLink(PostTelephonyOrganizationLinkRequest request) throws IOException, ApiException
      Create a link with an organization
      Parameters:
      request - The request object
      Returns:
      OrganizationLink
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonyOrganizationLink

      public ApiResponse<OrganizationLink> postTelephonyOrganizationLink(ApiRequest<CreateOrganizationLink> request) throws IOException
      Create a link with an organization
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public SipDownloadResponse postTelephonySiptracesDownload(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException, ApiException
      Request a download of a pcap file to S3
      Parameters:
      sIPSearchPublicRequest - (required)
      Returns:
      SipDownloadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownloadWithHttpInfo

      public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownloadWithHttpInfo(SIPSearchPublicRequest sIPSearchPublicRequest) throws IOException
      Request a download of a pcap file to S3
      Parameters:
      sIPSearchPublicRequest - (required)
      Returns:
      SipDownloadResponse
      Throws:
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public SipDownloadResponse postTelephonySiptracesDownload(PostTelephonySiptracesDownloadRequest request) throws IOException, ApiException
      Request a download of a pcap file to S3
      Parameters:
      request - The request object
      Returns:
      SipDownloadResponse
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • postTelephonySiptracesDownload

      public ApiResponse<SipDownloadResponse> postTelephonySiptracesDownload(ApiRequest<SIPSearchPublicRequest> request) throws IOException
      Request a download of a pcap file to S3
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putTelephonyAgentGreetings

      public AgentGreeting putTelephonyAgentGreetings(String agentId, AgentGreeting body) throws IOException, ApiException
      Updates an agent's greetings.
      Parameters:
      agentId - User ID (required)
      body - Agent Greeting (required)
      Returns:
      AgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonyAgentGreetingsWithHttpInfo

      public ApiResponse<AgentGreeting> putTelephonyAgentGreetingsWithHttpInfo(String agentId, AgentGreeting body) throws IOException
      Updates an agent's greetings.
      Parameters:
      agentId - User ID (required)
      body - Agent Greeting (required)
      Returns:
      AgentGreeting
      Throws:
      IOException - if the request fails to be processed
    • putTelephonyAgentGreetings

      public AgentGreeting putTelephonyAgentGreetings(PutTelephonyAgentGreetingsRequest request) throws IOException, ApiException
      Updates an agent's greetings.
      Parameters:
      request - The request object
      Returns:
      AgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonyAgentGreetings

      public ApiResponse<AgentGreeting> putTelephonyAgentGreetings(ApiRequest<AgentGreeting> request) throws IOException
      Updates an agent's greetings.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putTelephonyAgentsGreetingsMe

      public SelfAgentGreeting putTelephonyAgentsGreetingsMe(SelfAgentGreeting body) throws IOException, ApiException
      Updates the agent's own greetings.
      Parameters:
      body - Agent Greeting (required)
      Returns:
      SelfAgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonyAgentsGreetingsMeWithHttpInfo

      public ApiResponse<SelfAgentGreeting> putTelephonyAgentsGreetingsMeWithHttpInfo(SelfAgentGreeting body) throws IOException
      Updates the agent's own greetings.
      Parameters:
      body - Agent Greeting (required)
      Returns:
      SelfAgentGreeting
      Throws:
      IOException - if the request fails to be processed
    • putTelephonyAgentsGreetingsMe

      public SelfAgentGreeting putTelephonyAgentsGreetingsMe(PutTelephonyAgentsGreetingsMeRequest request) throws IOException, ApiException
      Updates the agent's own greetings.
      Parameters:
      request - The request object
      Returns:
      SelfAgentGreeting
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonyAgentsGreetingsMe

      public ApiResponse<SelfAgentGreeting> putTelephonyAgentsGreetingsMe(ApiRequest<SelfAgentGreeting> request) throws IOException
      Updates the agent's own greetings.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed
    • putTelephonySettings

      public TelephonySettings putTelephonySettings(TelephonySettings body) throws IOException, ApiException
      Update the global telephony configuration.
      Parameters:
      body - Telephony (required)
      Returns:
      TelephonySettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonySettingsWithHttpInfo

      public ApiResponse<TelephonySettings> putTelephonySettingsWithHttpInfo(TelephonySettings body) throws IOException
      Update the global telephony configuration.
      Parameters:
      body - Telephony (required)
      Returns:
      TelephonySettings
      Throws:
      IOException - if the request fails to be processed
    • putTelephonySettings

      public TelephonySettings putTelephonySettings(PutTelephonySettingsRequest request) throws IOException, ApiException
      Update the global telephony configuration.
      Parameters:
      request - The request object
      Returns:
      TelephonySettings
      Throws:
      ApiException - if the request fails on the server
      IOException - if the request fails to be processed
    • putTelephonySettings

      public ApiResponse<TelephonySettings> putTelephonySettings(ApiRequest<TelephonySettings> request) throws IOException
      Update the global telephony configuration.
      Parameters:
      request - The request object
      Returns:
      the response
      Throws:
      IOException - if the request fails to be processed