• Copies the files described by a list of full URLs and folder/filename combinations for the resources and metadata of an item or group to an item.

    Parameters

    • storageAuthentication: UserSession

      Credentials for the request to the storage

    • filePaths: IDeployFileCopyPath[]

      List of item files' URLs and folder/filenames for storing the files

    • sourceItemId: string

      Id of item supplying resource/metadata

    • destinationFolderId: string

      Id of folder

    • destinationItemId: string

      Id of item to receive copy of resource/metadata

    • destinationAuthentication: UserSession

      Credentials for the request to the destination

    • template: any = {}

      Description of item that will receive files

    • templateDictionary: any = {}

      Hash of facts: org URL, adlib replacements, deferreds for dependencies

    Returns Promise<boolean>

    A promise which resolves to a boolean indicating if the copies were successful