Options
All
  • Public
  • Public/Protected
  • All
Menu

Model class for CXOne configuration

Hierarchy

  • CXoneConfiguration

Index

Constructors

Properties

aahNotificationWssUri: string
remarks
  • agent assist notification websocket URI
acdApiBaseUri: string
remarks
  • CXOne API End point
acdDomain: string
remarks
  • ACD domain url
apiFacadeBaseUri: string
remarks
  • API facade Base URL used to invoke UH API
area: string
remarks
  • area
cluster: string
remarks
  • cluster
dfoApiBaseUri: string
remarks
dfoAppBaseUri: string
remarks
  • DFO APP based End point(2.0)
dfoWssUri: string
remarks
domain: string
remarks
  • domain
isUserHub: boolean
remarks
  • UserHub is enable or not
notificationUri: string
remarks
presenceSyncApiUrl: string
remarks
  • PresenceSync(i.e)Directory 2.0 API end point
presenceSyncWebSocketUrl: string
remarks
  • PresenceSync(i.e)Directory 2.0 WebSocket URL
uiQueueWSBaseUri: string
remarks
  • UIQueue endpoint
userHubBaseUrl: string
remarks
userHubDomain: string
remarks
  • User hub domain url
wfmUri: string
remarks

Methods

  • This method returns wss connection url with query params

    example
    formWssUri(userHubArea, domain, wsQueryParams);
    

    Parameters

    • userHubArea: string

      UserHub region

    • domain: string

      root domain

    • wsQueryParams: WsRequestQueryParams

      object containing tenant & user id

    Returns string

    • api end point
  • getAPIFacadeBaseUri(userHubArea: string, domain: string): string
  • This method returns getAPIFacadeBaseUri

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      apiFacadeDomain

      @example
      getAPIFacadeBaseUri('na1','staging.niceincontact.com');

    Returns string

    • api end point
  • getAahNotificationWssUri(userHubArea: string, domain: string): string
  • This method returns the agent assist notification WS url

    example
    getAahNotificationWssUri('na1','staging.niceincontact.com');
    

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      domain

    Returns string

    • api end point
  • getDfoApiBaseUri(userHubArea: string, domain: string): string
  • This method returns DfoApiBaseUri

    example
    dfoApiBaseUri = "https://api-de-{area}.{domain}/"
    getDfoApiBaseUri('na1','staging.niceincontact.com');
    getDfoApiBaseUri('na2','nicecxone-gov.com');

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      apiFacadeDomain

    Returns string

    • api end point
  • getDfoAppBaseUri(userHubArea: string, domain: string): string
  • This method returns DFO APP baseURI version 2.0, need to replace by latest 3.0 API once available from DFO,

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      apiFacadeDomain

      @example
      getDfoAppBaseUri('na1','staging.niceincontact.com');

    Returns string

    • api end point
  • This method returns Dfo Websocket Uri

    example
    dfoWssUri = "https://api-de-{area}.{domain}/"
    getDfoWssUri('na1','staging.niceincontact.com');
    getDfoWssUri('na2','niceincontact.com'); For FedRamp

    Parameters

    Returns string

    • api end point
  • getFedRampBaseUri(userHubArea: string, isWebSocket: boolean, wsQueryParams?: WsRequestQueryParams): string
  • This method returns DfoApiBaseUri for FedRamp domains

    example
    getFedRampBaseUri('na2', true);
    

    Parameters

    • userHubArea: string

      UserHub region

    • isWebSocket: boolean

      flag for websocket detection

    • Optional wsQueryParams: WsRequestQueryParams

    Returns string

    • api end point
  • getPresenceSyncUri(userHubArea: string, domain: string): string
  • This method returns the Presence sync url

    example
    getPresenceSyncUri('na1','staging.niceincontact.com');
    

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      domain

    Returns string

    • api end point
  • getPresenceSyncWSUri(userHubArea: string, domain: string): string
  • This method returns the Presence sync WS url

    example
    getPresenceSyncWSUri('na1','staging.niceincontact.com');
    

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      domain

    Returns string

    • api end point
  • getUIQueueWSBaseUri(userHubArea: string, domain: string, du?: string): string
  • This method returns getUIQueueWSBaseUri

    Parameters

    • userHubArea: string
    • domain: string
    • du: string = 'du01'

    Returns string

    • api end point
    @example
    getUIQueueWSBaseUri('na2', 'staging.niceincontact.com', 'du01');
  • getUserHubNotificationUri(userHubArea: string, domain: string): string
  • This method returns the notification_uri

    example
    getUserHubNotificationUri('na1','staging.nice-incontact.com');
    

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      domain

    Returns string

    • api end point
  • getUserHubWfmUri(userHubArea: string, domain: string): string
  • This method returns the wfm_uri

    example
    getUserHubWfmUri('na1','staging.nice-incontact.com');
    

    Parameters

    • userHubArea: string

      userHubArea

    • domain: string

      domain

    Returns string

    • api end point
  • parseData(data: {}): void
  • This method to parse CXoneConfiguration data

    Parameters

    • data: {}

      CXoneConfiguration API response

      @example
      const config = new CXoneConfiguration();
      config.parseData(data);
      • [key: string]: string

    Returns void

  • This method is to set the endpoints for user hub and central systems

    example
    setAuthEndPoints(isUserHub);
    

    Parameters

    • isUserHub: boolean

      It would be false if it were the central user.

    • wsQueryParams: WsRequestQueryParams

    Returns void

Generated using TypeDoc