• Convert a Velocity item into a Template

    Parameters

    • itemInfo: any

      The basic item info

    • destAuthentication: UserSession

      Credentials for requests to the destination organization

    • srcAuthentication: UserSession

      Credentials for requests to source items

    • templateDictionary: any

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

    Returns Promise<IItemTemplate>

    a promise that will resolve the constructed IItemTemplate from the input itemInfo