fromFile("pdfservices-api-credentials.json")
           .build();
const executionContext = PDFServicesSdk.ExecutionContext.create(credentials),
       createPDFOperation = PDFServicesSdk.CreatePDF.Operation.createNew(),
       input = PDFServicesSdk.FileRef.createFromLocalFile('files/resources/createPDFInput.docx');

createPDFOperation.setInput(input);

createPDFOperation.execute(executionContext)
    .then(result => result.saveAsFile('output/createPDFFromZip.pdf'))
    .catch(err => console.log(err));
</co