enterprise-master-data
v1.2.1
Published
Master email touchpoints constants and templates for SimplifyHire enterprise platform
Maintainers
Readme
@simplifyhq/enterprise-master-data
Master email touchpoints constants and templates for SimplifyHire enterprise platform.
Installation
npm install @simplifyhq/enterprise-master-dataUsage
import { EMAIL_TEMPLATES, MASTER_EMAIL_LAYOUT, COMMUNICATION_PREFERENCES } from '@simplifyhq/enterprise-master-data';
// Access email templates
const domainVerificationTemplate = EMAIL_TEMPLATES.find(
template => template.eventCode === 'DOMAIN_NAME_VERIFICATION'
);
// Access email layout configuration
const defaultLayout = MASTER_EMAIL_LAYOUT;
// Access communication preferences
const preferences = COMMUNICATION_PREFERENCES;Features
Email Templates
The package provides a comprehensive collection of email templates for various enterprise scenarios:
- Domain Management: Domain verification and setup emails
- General: Job application notifications
- Offer Management: Offer acceptance and decline notifications
- Contract Management: Contract termination notifications
- Communication: Candidate messaging notifications
- Talent Pool Management: Unbind requests and talent pool notifications
- User Management: User invitations and registrations
- Authentication: Account verification and password reset
- Interview Management: Interview scheduling, confirmations, and feedback
- Analytics: Data report downloads
- Workflow Management: Hiring workflow notifications
- Platform: Various platform-specific notifications
Email Layout Configuration
Standardized email layout configuration with:
- Header configuration (logo, title, background)
- Footer configuration
- Responsive design settings
Communication Preferences
Predefined communication preferences for different event types with email, SMS, and WhatsApp options.
Template Structure
Each email template includes:
category: Template category for organizationdescription: Human-readable descriptionemailTemplate: HTML template with variable placeholderseventCode: Unique identifier for the eventeventName: Event namename: Template namesubject: Email subject line
Variable Placeholders
Templates use variable placeholders in the format {{VARIABLE_NAME}} for dynamic content:
{{ENTERPRISE_NAME}}- Enterprise name{{CANDIDATE_NAME}}- Candidate name{{JOB_TITLE}}- Job title{{APP_NAME}}- Application name- And many more...
Development
Building
npm run buildCleaning
npm run cleanLicense
MIT
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Support
For support, email [email protected] or create an issue in the GitHub repository.
