• Get the base velocity url from the current orgs subscription info

    This function will update the input templateDictionary arg with the velocity url so we can reuse it without pinging the org again for subsequent requests to the velocity api.

    Parameters

    • authentication: UserSession

      Credentials for the requests

    • templateDictionary: any

      Hash of facts: folder id, org URL, adlib replacements

    Returns Promise<string>

    a promise that will resolve with the velocity url or an empty string when the org does not support velocity