• Copies the files for storing the resources, metadata, and thumbnail of an item or group to a storage item with a specified path by collecting files into zip files.

    Parameters

    • files: ISourceFile[]

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

    • destinationItemId: string

      Id of item to receive copy of resource/metadata/thumbnail

    • destinationAuthentication: UserSession

      Credentials for the request to the storage

    • filesPerZip: number = 40

      Number of files to include per zip file; AGO limits zips to 50 files

    Returns Promise<IAssociatedFileCopyResults[]>

    A promise which resolves to a list of the result of the copies