UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

29 lines (28 loc) 1.12 kB
import { PDFServicesJobStatusResponse } from "./PDFServicesJobStatusResponse"; /** * Response object for {@link PDFServicesJob}. * * @typeParam T - Type of result in `PDFServicesResponse`. It will be an implementation of * {@link PDFServicesJobResult}. */ export declare class PDFServicesResponse<T> extends PDFServicesJobStatusResponse { private readonly _result; /** * Constructs {@link PDFServicesJob} response with its status, headers and result. * * @param status Status of the {@link PDFServicesJob}. * @param headers Headers of the `PDFServicesResponse`. * @param result result for the {@link PDFServicesJob}, it will be an extension of {@link PDFServicesJobResult}. * @typeParam T - Type of result in `PDFServicesResponse`. It will be an implementation of * {@link PDFServicesJobResult}. */ constructor(status: string, headers: { [key: string]: string; }, result: T | null); /** * Returns instance of result of {@link PDFServicesJob}. * * @returns result of {@link PDFServicesJob} */ get result(): T | null; }