UNPKG

@adobe/pdfservices-node-sdk

Version:

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

51 lines 1.75 kB
"use strict"; /* * Copyright 2024 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.PermissionsSettingsProperties = void 0; class PermissionsSettingsProperties { constructor(permissions) { this._assistiveTechnology = permissions?.assistive_technology; this._formFilling = permissions?.form_filling; this._copying = permissions?.copying; this._pageExtraction = permissions?.page_extraction; this._documentAssembly = permissions?.document_assembly; this._commenting = permissions?.commenting; this._printing = permissions?.printing; this._editing = permissions?.editing; } get hasAssistiveTechnology() { return this._assistiveTechnology; } get isFormFillingAllowed() { return this._formFilling; } get isCopyingAllowed() { return this._copying; } get isPageExtractionAllowed() { return this._pageExtraction; } get isDocumentAssemblyAllowed() { return this._documentAssembly; } get isCommentingAllowed() { return this._commenting; } get printingPermissionLevel() { return this._printing; } get isEditingAllowed() { return this._editing; } } exports.PermissionsSettingsProperties = PermissionsSettingsProperties; //# sourceMappingURL=PermissionsSettingsProperties.js.map