()
| 128 | |
| 129 | // Run all examples |
| 130 | async function runExamples() { |
| 131 | console.log('🚀 Brevo Email Service Examples\n'); |
| 132 | |
| 133 | await verifyBrevoConnection(); |
| 134 | console.log(''); |
| 135 | |
| 136 | await sendSimpleEmail(); |
| 137 | console.log(''); |
| 138 | |
| 139 | await sendWelcomeEmail(); |
| 140 | console.log(''); |
| 141 | |
| 142 | await sendPasswordResetEmail(); |
| 143 | console.log(''); |
| 144 | |
| 145 | await sendBulkEmail(); |
| 146 | console.log(''); |
| 147 | |
| 148 | console.log('✨ All examples completed!'); |
| 149 | } |
| 150 | |
| 151 | // Only run if this file is executed directly |
| 152 | if (import.meta.url === `file://${process.argv[1]}`) { |
no test coverage detected