Common utility functions.
email.utils.ts
- Email processing utilities (filename parsing, interviewee name extraction)pdfExtractor.ts
- PDF text extraction utilitiesprocess-timing.utils.ts
- Process timing calculations and formatting utilitiesnotion-properties.utils.ts
- Notion property creation and formatting utilities
createTotalQuestionsProperty(count)
- Creates number property for total questions countcreateCompletedQuestionsProperty(count)
- Creates number property for completed questions countextractPageIdFromWebhook(webhookBody)
- Extracts page ID from Notion webhook payloadextractFullNameFromPage(page)
- Extracts full name from Notion page Name propertytext-redaction.utils.ts
- Text redaction utilities for sensitive information
redactPersonName(text, fullName)
- Redacts person's name from text, replacing with "Respondent"