core/src/main/java/com/opentext/ia/sdk/client/impl/InfoArchiveRestClient.java
@Override
  @Deprecated
  public LinkContainer uploadTransformation(ExportTransformation exportTransformation, InputStream zip)
      throws IOException {
    String uri = exportTransformation.getUri(LINK_EXPORT_TRANSFORMATION_ZIP);
    return restClient.post(uri, LinkContainer.class, new BinaryPart("file", zip, "stylesheet.zip"));
  }
@Override
  @Deprecated
  public LinkContainer uploadTransformation(ExportTransformation exportTransformation, InputStream zip)
      throws IOException {
    String uri = exportTransformation.getUri(LINK_EXPORT_TRANSFORMATION_ZIP);
    return restClient.post(uri, LinkContainer.class, new BinaryPart("file", zip, "stylesheet.zip"));
  }
Upload the transformation zip with the stylesheet into Archive.
@param exportTransformation The export transformation.
@param zip The input stream of zip with stylesheet.
@throws IOException When an I/O error occurs
@return The uploaded transformation
@deprecated Use declarative configuration to define transformations