{
  "key": "ro.pga.epdft",
  "baseUrl": "https://epdft.pgaconsult.ro",
  "name": "Export Page to PDF - Tuning tools",
  "description": "Easily customize your Export to PDF Experience using custom macros and settings.",
  "enableLicensing": true,
  "vendor": {
    "name": "PGAConsult",
    "url": "https://pgaconsult.ro"
  },
  "apiVersion": 1,
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed",
    "uninstalled": "/uninstalled",
    "enabled": "/enabled",
    "disabled": "/disabled"
  },
  "scopes": [
    "READ"
  ],
  "apiMigrations": {
    "gdpr": true,
    "context-qsh": true,
    "signed-install": true
  },
  "modules": {
    "staticContentMacros": [
      {
        "url": "/v1/macro/pdf/noprint?pageId={page.id}&pageVersion={page.version}&macroId={macro.id}&outputType={output.type}&body={macro.body}",
        "description": {
          "value": "Content will not be visible in pdf export"
        },
        "documentation": {
          "url": "https://pga.atlassian.net/wiki/spaces/PDFET"
        },
        "categories": [
          "formatting"
        ],
        "outputType": "block",
        "bodyType": "rich-text",
        "featured": true,
        "aliases": [
          "export-hidden"
        ],
        "icon": {
          "url": "https://epdft.pgaconsult.ro/macro/imgs/notvisibleeyegood.png"
        },
        "name": {
          "value": "PDF Hidden Content",
          "i18n": "pga.epdft.macro.pdfhidden.name"
        },
        "key": "pdf-hidden-content",
        "renderingMethod": "POST"
      },
      {
        "url": "/v1/macro/pdf/onlyprint?pageId={page.id}&pageVersion={page.version}&macroId={macro.id}&pageTitle={page.title}&outputType={output.type}&body={macro.body}",
        "description": {
          "value": "Content will only be visible in pdf export"
        },
        "documentation": {
          "url": "https://pga.atlassian.net/wiki/spaces/PDFET"
        },
        "categories": [
          "formatting"
        ],
        "icon": {
          "url": "https://epdft.pgaconsult.ro/macro/imgs/visibleeye.png"
        },
        "outputType": "block",
        "bodyType": "rich-text",
        "featured": true,
        "name": {
          "value": "PDF Only Content",
          "i18n": "pga.epdft.macro.pdfonly.name"
        },
        "key": "pdf-only-content",
        "renderingMethod": "POST"
      },
      {
        "url": "/v1/macro/formatting/pagetitle?pageId={page.id}&showTitle={showTitle}&pageVersion={page.version}&macroId={macro.id}&titleClass={titleClass}&pageTitle={page.title}&titleId={titleId}&outputType={output.type}&elementType={elementType}",
        "description": {
          "value": "Allow users to add title in specified format"
        },
        "documentation": {
          "url": "https://pga.atlassian.net/wiki/spaces/PDFET"
        },
        "categories": [
          "formatting"
        ],
        "icon": {
          "url": "https://epdft.pgaconsult.ro/macro/imgs/filepage.png"
        },
        "outputType": "block",
        "bodyType": "rich-text",
        "featured": true,
        "name": {
          "value": "PDF Page Title"
        },
        "key": "paga-info-macro",
        "parameters": [
          {
            "identifier": "elementType",
            "name": {
              "value": "Element type"
            },
            "type": "enum",
            "required": true,
            "multiple": false,
            "values": [
              "h1",
              "h2",
              "h3",
              "h4",
              "div",
              "span"
            ]
          },
          {
            "identifier": "titleId",
            "name": {
              "value": "Element id"
            },
            "type": "string",
            "required": false,
            "multiple": false
          },
          {
            "identifier": "titleClass",
            "name": {
              "value": "Element class"
            },
            "type": "string",
            "required": false,
            "multiple": false
          }
        ],
        "imagePlaceholder": {
          "height": 38,
          "width": 500,
          "url": "https://epdft.pgaconsult.ro/macro/imgs/imgholder.png",
          "applyChrome": true
        }
      }
    ]
  }
}
