@blackcode_sa/metaestetics-api 1.14.69 → 1.14.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14097,249 +14097,221 @@ var PatientInviteMailingService = class extends BaseMailingService {
14097
14097
  // src/admin/mailing/clinicWelcome/templates/welcome.template.ts
14098
14098
  var clinicWelcomeTemplate = `
14099
14099
  <!DOCTYPE html>
14100
- <html>
14100
+ <html lang="en">
14101
14101
  <head>
14102
- <meta charset="UTF-8">
14103
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
14104
- <title>Welcome to MetaEsthetics</title>
14105
- <style>
14106
- body {
14107
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
14108
- line-height: 1.6;
14109
- color: #333;
14110
- margin: 0;
14111
- padding: 0;
14112
- background-color: #f5f5f5;
14113
- }
14114
- .container {
14115
- max-width: 600px;
14116
- margin: 0 auto;
14117
- padding: 20px;
14118
- }
14119
- .header {
14120
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
14121
- padding: 40px 20px;
14122
- text-align: center;
14123
- border-radius: 8px 8px 0 0;
14124
- }
14125
- .header h1 {
14126
- color: white;
14127
- margin: 0;
14128
- font-size: 28px;
14129
- font-weight: 600;
14130
- }
14131
- .header p {
14132
- color: rgba(255, 255, 255, 0.9);
14133
- margin: 10px 0 0 0;
14134
- font-size: 16px;
14135
- }
14136
- .content {
14137
- padding: 40px 30px;
14138
- background-color: #ffffff;
14139
- }
14140
- .greeting {
14141
- font-size: 18px;
14142
- color: #333;
14143
- margin-bottom: 20px;
14144
- }
14145
- .message {
14146
- font-size: 16px;
14147
- color: #555;
14148
- margin-bottom: 25px;
14149
- }
14150
- .highlight-box {
14151
- background: linear-gradient(135deg, #f6f9fc 0%, #eef2f7 100%);
14152
- border-left: 4px solid #667eea;
14153
- padding: 20px;
14154
- margin: 25px 0;
14155
- border-radius: 0 8px 8px 0;
14156
- }
14157
- .highlight-box h3 {
14158
- margin: 0 0 10px 0;
14159
- color: #333;
14160
- font-size: 16px;
14161
- }
14162
- .highlight-box p {
14163
- margin: 0;
14164
- color: #555;
14165
- }
14166
- .next-steps {
14167
- margin: 30px 0;
14168
- }
14169
- .next-steps h3 {
14170
- color: #333;
14171
- font-size: 18px;
14172
- margin-bottom: 15px;
14173
- }
14174
- .step {
14175
- display: flex;
14176
- align-items: flex-start;
14177
- margin-bottom: 15px;
14178
- }
14179
- .step-number {
14180
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
14181
- color: white;
14182
- width: 28px;
14183
- height: 28px;
14184
- border-radius: 50%;
14185
- display: flex;
14186
- align-items: center;
14187
- justify-content: center;
14188
- font-weight: 600;
14189
- font-size: 14px;
14190
- margin-right: 12px;
14191
- flex-shrink: 0;
14192
- }
14193
- .step-content {
14194
- flex: 1;
14195
- padding-top: 3px;
14196
- }
14197
- .step-title {
14198
- font-weight: 600;
14199
- color: #333;
14200
- margin-bottom: 3px;
14201
- }
14202
- .step-description {
14203
- color: #666;
14204
- font-size: 14px;
14205
- }
14206
- .button-container {
14207
- text-align: center;
14208
- margin: 35px 0;
14209
- }
14210
- .button {
14211
- display: inline-block;
14212
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
14213
- color: white;
14214
- text-decoration: none;
14215
- padding: 14px 32px;
14216
- border-radius: 6px;
14217
- font-weight: 600;
14218
- font-size: 16px;
14219
- transition: transform 0.2s;
14220
- }
14221
- .button:hover {
14222
- transform: translateY(-2px);
14223
- }
14224
- .support-box {
14225
- background-color: #f8f9fa;
14226
- padding: 20px;
14227
- border-radius: 8px;
14228
- margin-top: 30px;
14229
- text-align: center;
14230
- }
14231
- .support-box p {
14232
- margin: 0 0 10px 0;
14233
- color: #555;
14234
- }
14235
- .support-box a {
14236
- color: #667eea;
14237
- text-decoration: none;
14238
- font-weight: 500;
14239
- }
14240
- .footer {
14241
- padding: 30px;
14242
- text-align: center;
14243
- background-color: #f8f9fa;
14244
- border-radius: 0 0 8px 8px;
14245
- }
14246
- .footer p {
14247
- margin: 5px 0;
14248
- font-size: 13px;
14249
- color: #888;
14250
- }
14251
- .footer a {
14252
- color: #667eea;
14253
- text-decoration: none;
14254
- }
14255
- .social-links {
14256
- margin: 15px 0;
14257
- }
14258
- .social-links a {
14259
- display: inline-block;
14260
- margin: 0 8px;
14261
- color: #888;
14262
- text-decoration: none;
14263
- }
14264
- </style>
14102
+ <meta charset="UTF-8">
14103
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
14104
+ <title>Welcome to MetaEsthetics</title>
14105
+ <!--[if mso]>
14106
+ <noscript>
14107
+ <xml>
14108
+ <o:OfficeDocumentSettings>
14109
+ <o:PixelsPerInch>96</o:PixelsPerInch>
14110
+ </o:OfficeDocumentSettings>
14111
+ </xml>
14112
+ </noscript>
14113
+ <![endif]-->
14265
14114
  </head>
14266
- <body>
14267
- <div class="container">
14268
- <div class="header">
14269
- <h1>Welcome to MetaEsthetics!</h1>
14270
- <p>Your clinic registration is complete</p>
14271
- </div>
14272
- <div class="content">
14273
- <p class="greeting">Hello {{adminName}},</p>
14274
-
14275
- <p class="message">
14276
- Thank you for registering <strong>{{clinicGroupName}}</strong> with MetaEsthetics.
14277
- Your account has been successfully created and you're now ready to start managing
14278
- your aesthetic practice with our comprehensive platform.
14279
- </p>
14280
-
14281
- <div class="highlight-box">
14282
- <h3>Account Details</h3>
14283
- <p><strong>Clinic Group:</strong> {{clinicGroupName}}</p>
14284
- <p><strong>Admin Email:</strong> {{adminEmail}}</p>
14285
- <p><strong>Registration Date:</strong> {{registrationDate}}</p>
14286
- </div>
14115
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
14116
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
14117
+ <tr>
14118
+ <td align="center" style="padding: 40px 20px;">
14119
+ <table role="presentation" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px; background-color: #ffffff; border-radius: 2px; box-shadow: 0 1px 3px rgba(103, 87, 74, 0.08);">
14287
14120
 
14288
- <div class="next-steps">
14289
- <h3>Get Started with MetaEsthetics</h3>
14121
+ <!-- Header -->
14122
+ <tr>
14123
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
14124
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
14125
+ <tr>
14126
+ <td>
14127
+ <h1 style="margin: 0; font-size: 24px; font-weight: 400; color: #67574A; letter-spacing: 2px; text-transform: uppercase; font-family: Georgia, 'Times New Roman', serif;">MetaEsthetics</h1>
14128
+ </td>
14129
+ </tr>
14130
+ </table>
14131
+ </td>
14132
+ </tr>
14290
14133
 
14291
- <div class="step">
14292
- <div class="step-number">1</div>
14293
- <div class="step-content">
14294
- <div class="step-title">Complete Your Profile</div>
14295
- <div class="step-description">Add your clinic details, working hours, and upload photos to attract patients.</div>
14296
- </div>
14297
- </div>
14134
+ <!-- Welcome Banner -->
14135
+ <tr>
14136
+ <td style="padding: 0;">
14137
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #00BB38;">
14138
+ <tr>
14139
+ <td style="padding: 20px 48px;">
14140
+ <p style="margin: 0; font-size: 13px; font-weight: 600; color: #ffffff; letter-spacing: 1.5px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Welcome to MetaEsthetics</p>
14141
+ </td>
14142
+ </tr>
14143
+ </table>
14144
+ </td>
14145
+ </tr>
14298
14146
 
14299
- <div class="step">
14300
- <div class="step-number">2</div>
14301
- <div class="step-content">
14302
- <div class="step-title">Add Your Team</div>
14303
- <div class="step-description">Invite practitioners and staff members to join your clinic.</div>
14304
- </div>
14305
- </div>
14147
+ <!-- Main Content -->
14148
+ <tr>
14149
+ <td style="padding: 40px 48px;">
14306
14150
 
14307
- <div class="step">
14308
- <div class="step-number">3</div>
14309
- <div class="step-content">
14310
- <div class="step-title">Set Up Services</div>
14311
- <div class="step-description">Configure your procedures, pricing, and availability for bookings.</div>
14312
- </div>
14313
- </div>
14151
+ <!-- Greeting -->
14152
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
14153
+ Dear {{adminName}},
14154
+ </p>
14314
14155
 
14315
- <div class="step">
14316
- <div class="step-number">4</div>
14317
- <div class="step-content">
14318
- <div class="step-title">Start Accepting Patients</div>
14319
- <div class="step-description">Begin managing appointments and growing your practice.</div>
14320
- </div>
14321
- </div>
14322
- </div>
14156
+ <p style="margin: 0 0 32px 0; font-size: 16px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
14157
+ Thank you for registering <strong style="color: #67574A;">{{clinicGroupName}}</strong> with MetaEsthetics. Your account has been successfully created and you're now ready to start managing your aesthetic practice.
14158
+ </p>
14323
14159
 
14324
- <div class="button-container">
14325
- <a href="{{dashboardUrl}}" class="button">Go to Dashboard</a>
14326
- </div>
14160
+ <!-- Account Details Card -->
14161
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7; border-left: 3px solid #00BB38;">
14162
+ <tr>
14163
+ <td style="padding: 24px;">
14164
+ <p style="margin: 0 0 16px 0; font-size: 12px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Account Details</p>
14327
14165
 
14328
- <div class="support-box">
14329
- <p>Need help getting started?</p>
14330
- <p>Contact our support team at <a href="mailto:{{supportEmail}}">{{supportEmail}}</a></p>
14331
- </div>
14332
- </div>
14333
- <div class="footer">
14334
- <p>This is an automated message from MetaEsthetics.</p>
14335
- <p>&copy; {{currentYear}} MetaEsthetics. All rights reserved.</p>
14336
- <div class="social-links">
14337
- <a href="https://metaesthetics.net">Website</a> |
14338
- <a href="https://metaesthetics.net/privacy">Privacy Policy</a> |
14339
- <a href="https://metaesthetics.net/terms">Terms of Service</a>
14340
- </div>
14341
- </div>
14342
- </div>
14166
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
14167
+ <tr>
14168
+ <td style="padding-bottom: 12px;">
14169
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Clinic Group</p>
14170
+ <p style="margin: 0; font-size: 15px; color: #67574A; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{clinicGroupName}}</p>
14171
+ </td>
14172
+ </tr>
14173
+ <tr>
14174
+ <td style="padding-bottom: 12px;">
14175
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Admin Email</p>
14176
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{adminEmail}}</p>
14177
+ </td>
14178
+ </tr>
14179
+ <tr>
14180
+ <td>
14181
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #868686; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Registration Date</p>
14182
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{registrationDate}}</p>
14183
+ </td>
14184
+ </tr>
14185
+ </table>
14186
+ </td>
14187
+ </tr>
14188
+ </table>
14189
+
14190
+ <!-- Divider -->
14191
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
14192
+ <tr>
14193
+ <td style="height: 1px; background-color: #e8e4df;"></td>
14194
+ </tr>
14195
+ </table>
14196
+
14197
+ <!-- Getting Started Section -->
14198
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
14199
+ <tr>
14200
+ <td>
14201
+ <p style="margin: 0 0 20px 0; font-size: 14px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Getting Started</p>
14202
+ </td>
14203
+ </tr>
14204
+ </table>
14205
+
14206
+ <!-- Step 1 -->
14207
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 16px;">
14208
+ <tr>
14209
+ <td style="padding: 16px 20px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
14210
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #a48a76; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Step 1</p>
14211
+ <p style="margin: 0 0 4px 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Complete Your Profile</p>
14212
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Add your clinic details, working hours, and upload photos to attract patients.</p>
14213
+ </td>
14214
+ </tr>
14215
+ </table>
14216
+
14217
+ <!-- Step 2 -->
14218
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 16px;">
14219
+ <tr>
14220
+ <td style="padding: 16px 20px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
14221
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #a48a76; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Step 2</p>
14222
+ <p style="margin: 0 0 4px 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Add Your Team</p>
14223
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Invite practitioners and staff members to join your clinic.</p>
14224
+ </td>
14225
+ </tr>
14226
+ </table>
14227
+
14228
+ <!-- Step 3 -->
14229
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 16px;">
14230
+ <tr>
14231
+ <td style="padding: 16px 20px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
14232
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #a48a76; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Step 3</p>
14233
+ <p style="margin: 0 0 4px 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Set Up Services</p>
14234
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Configure your procedures, pricing, and availability for bookings.</p>
14235
+ </td>
14236
+ </tr>
14237
+ </table>
14238
+
14239
+ <!-- Step 4 -->
14240
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
14241
+ <tr>
14242
+ <td style="padding: 16px 20px; background-color: #f0faf4; border-left: 3px solid #00BB38;">
14243
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #00BB38; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Step 4</p>
14244
+ <p style="margin: 0 0 4px 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Start Accepting Patients</p>
14245
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Begin managing appointments and growing your practice.</p>
14246
+ </td>
14247
+ </tr>
14248
+ </table>
14249
+
14250
+ <!-- CTA Button -->
14251
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
14252
+ <tr>
14253
+ <td align="center">
14254
+ <a href="{{dashboardUrl}}" style="display: inline-block; background-color: #67574A; color: #ffffff; text-decoration: none; padding: 14px 32px; border-radius: 4px; font-size: 14px; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; letter-spacing: 0.5px;">Go to Dashboard</a>
14255
+ </td>
14256
+ </tr>
14257
+ </table>
14258
+
14259
+ <!-- Divider -->
14260
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
14261
+ <tr>
14262
+ <td style="height: 1px; background-color: #e8e4df;"></td>
14263
+ </tr>
14264
+ </table>
14265
+
14266
+ <!-- Support Info -->
14267
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px;">
14268
+ <tr>
14269
+ <td style="padding: 20px 24px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
14270
+ <p style="margin: 0 0 8px 0; font-size: 13px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Need Help?</p>
14271
+ <p style="margin: 0; font-size: 14px; color: #555555; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
14272
+ Our support team is here to help you get started. Contact us at <a href="mailto:{{supportEmail}}" style="color: #a48a76; text-decoration: none;">{{supportEmail}}</a>
14273
+ </p>
14274
+ </td>
14275
+ </tr>
14276
+ </table>
14277
+
14278
+ <!-- Thank You -->
14279
+ <p style="margin: 0; font-size: 14px; color: #868686; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
14280
+ Thank you for choosing MetaEsthetics. We look forward to supporting your practice.
14281
+ </p>
14282
+
14283
+ </td>
14284
+ </tr>
14285
+
14286
+ <!-- Footer -->
14287
+ <tr>
14288
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
14289
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
14290
+ <tr>
14291
+ <td>
14292
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">MetaEsthetics</p>
14293
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services Platform</p>
14294
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEsthetics. Please do not reply directly to this email.</p>
14295
+ </td>
14296
+ </tr>
14297
+ </table>
14298
+ </td>
14299
+ </tr>
14300
+
14301
+ </table>
14302
+
14303
+ <!-- Copyright -->
14304
+ <table role="presentation" width="600" cellspacing="0" cellpadding="0" border="0" style="max-width: 600px;">
14305
+ <tr>
14306
+ <td style="padding: 24px 48px; text-align: center;">
14307
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">&copy; {{currentYear}} MetaEsthetics. All rights reserved.</p>
14308
+ </td>
14309
+ </tr>
14310
+ </table>
14311
+
14312
+ </td>
14313
+ </tr>
14314
+ </table>
14343
14315
  </body>
14344
14316
  </html>
14345
14317
  `;