adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
295 lines • 7.07 kB
TypeScript
/**
* Adobe PDF Services Configuration and Client Setup
* Phase 1: Foundation for Adobe PDF Services Integration
*/
import { AdobeConfig } from './types.js';
/**
* Default Adobe PDF Services configuration
* Uses environment variables for secure credential management
*/
export declare const getAdobeConfig: () => AdobeConfig;
/**
* Default PDF templates for different document types
*/
export declare const DEFAULT_PDF_TEMPLATES: {
corporate: {
id: string;
name: string;
description: string;
corporateFonts: {
family: string;
variants: string[];
fallback: string[];
}[];
watermark: {
text: string;
opacity: number;
position: "center";
};
headerFooter: {
header: {
left: string;
center: string;
right: string;
height: number;
};
footer: {
left: string;
center: string;
right: string;
height: number;
};
};
colorScheme: {
primary: string;
secondary: string;
accent: string;
text: string;
background: string;
border: string;
};
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
pageLayout: "A4";
};
technical: {
id: string;
name: string;
description: string;
corporateFonts: {
family: string;
variants: string[];
fallback: string[];
}[];
colorScheme: {
primary: string;
secondary: string;
accent: string;
text: string;
background: string;
border: string;
};
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
pageLayout: "A4";
};
executive: {
id: string;
name: string;
description: string;
corporateFonts: {
family: string;
variants: string[];
fallback: string[];
}[];
colorScheme: {
primary: string;
secondary: string;
accent: string;
text: string;
background: string;
border: string;
};
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
pageLayout: "A4";
};
proposal: {
id: string;
name: string;
description: string;
corporateFonts: {
family: string;
variants: string[];
fallback: string[];
}[];
watermark: {
text: string;
opacity: number;
position: "center";
};
colorScheme: {
primary: string;
secondary: string;
accent: string;
text: string;
background: string;
border: string;
};
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
pageLayout: "A4";
};
};
/**
* Default brand guidelines for corporate compliance
*/
export declare const DEFAULT_BRAND_GUIDELINES: {
colorPalette: {
primary: string;
secondary: string;
accent: string;
text: string;
background: string;
border: string;
};
typography: {
headings: {
family: string;
size: number;
weight: string;
color: string;
}[];
body: {
family: string;
size: number;
weight: string;
color: string;
};
captions: {
family: string;
size: number;
weight: string;
color: string;
};
lineHeight: number;
spacing: {
paragraphs: number;
sections: number;
lists: number;
};
};
logoPlacement: {
minSize: {
width: number;
height: number;
};
maxSize: {
width: number;
height: number;
};
clearSpace: number;
allowedPositions: string[];
};
layoutRules: {
gridSystem: {
columns: number;
gutters: number;
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
};
margins: {
top: number;
bottom: number;
left: number;
right: number;
};
columns: number;
gutters: number;
};
};
/**
* Adobe API endpoints and service URLs
*/
export declare const ADOBE_ENDPOINTS: {
AUTH: string;
PDF_SERVICES: string;
CREATE_PDF: string;
COMBINE_PDF: string;
COMPRESS_PDF: string;
EXTRACT_PDF: string;
OCR_PDF: string;
PROTECT_PDF: string;
REMOVE_PROTECTION: string;
LINEARIZE_PDF: string;
EXPORT_PDF: string;
DOCUMENT_GENERATION: string;
};
/**
* Adobe API rate limiting and retry configuration
*/
export declare const ADOBE_API_LIMITS: {
REQUESTS_PER_MINUTE: number;
REQUESTS_PER_HOUR: number;
MAX_FILE_SIZE_MB: number;
MAX_PAGES_PER_DOCUMENT: number;
TIMEOUT_MS: number;
RETRY_DELAYS: number[];
CIRCUIT_BREAKER_THRESHOLD: number;
CIRCUIT_BREAKER_RESET_TIMEOUT: number;
};
/**
* Document processing quality presets
*/
export declare const QUALITY_PRESETS: {
draft: {
compression: "high";
imageQuality: number;
optimizeFor: string;
colorSpace: string;
};
standard: {
compression: "medium";
imageQuality: number;
optimizeFor: string;
colorSpace: string;
};
high: {
compression: "low";
imageQuality: number;
optimizeFor: string;
colorSpace: string;
};
print: {
compression: "none";
imageQuality: number;
optimizeFor: string;
colorSpace: string;
};
};
/**
* Error codes for Adobe integration
*/
export declare const ADOBE_ERROR_CODES: {
AUTH_FAILED: string;
INVALID_CONFIG: string;
API_ERROR: string;
TIMEOUT: string;
RATE_LIMITED: string;
FILE_TOO_LARGE: string;
INVALID_FORMAT: string;
PROCESSING_FAILED: string;
TEMPLATE_NOT_FOUND: string;
BRAND_VIOLATION: string;
};
/**
* Success status codes
*/
export declare const ADOBE_SUCCESS_CODES: {
DOCUMENT_CREATED: string;
PROCESSING_COMPLETE: string;
BRAND_COMPLIANT: string;
QUALITY_VALIDATED: string;
};
export declare const config: AdobeConfig;
//# sourceMappingURL=config.d.ts.map