@blackcode_sa/metaestetics-api 1.14.60 → 1.14.63

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.
@@ -771,7 +771,15 @@ var NotificationsAdmin = class {
771
771
  data: {
772
772
  notificationId: notification.id,
773
773
  notificationType: notification.notificationType,
774
- userId: notification.userId
774
+ userId: notification.userId,
775
+ // Deep linking data
776
+ type: notification.appointmentId ? "appointment" : "system",
777
+ appointmentId: notification.appointmentId,
778
+ // Explicit deep link for navigation
779
+ deepLink: notification.appointmentId ? {
780
+ screen: "AppointmentDetail",
781
+ params: { appointmentId: notification.appointmentId }
782
+ } : void 0
775
783
  }
776
784
  }));
777
785
  }
@@ -2446,295 +2454,172 @@ var appointmentCancelledTemplate = `
2446
2454
  <meta charset="UTF-8">
2447
2455
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2448
2456
  <title>Appointment Cancelled</title>
2449
- <style>
2450
- body {
2451
- margin: 0;
2452
- padding: 0;
2453
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2454
- background: linear-gradient(135deg, #d4736c 0%, #b85450 100%);
2455
- min-height: 100vh;
2456
- }
2457
- .email-container {
2458
- max-width: 600px;
2459
- margin: 0 auto;
2460
- background: #ffffff;
2461
- border-radius: 20px;
2462
- overflow: hidden;
2463
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
2464
- margin-top: 40px;
2465
- margin-bottom: 40px;
2466
- }
2467
- .header {
2468
- background: linear-gradient(135deg, #d4736c 0%, #b85450 100%);
2469
- padding: 40px 30px;
2470
- text-align: center;
2471
- color: white;
2472
- }
2473
- .header h1 {
2474
- margin: 0;
2475
- font-size: 28px;
2476
- font-weight: 300;
2477
- letter-spacing: 1px;
2478
- }
2479
- .header .subtitle {
2480
- margin: 10px 0 0 0;
2481
- font-size: 16px;
2482
- opacity: 0.9;
2483
- font-weight: 300;
2484
- }
2485
- .content {
2486
- padding: 40px 30px;
2487
- }
2488
- .greeting {
2489
- font-size: 18px;
2490
- color: #333;
2491
- margin-bottom: 25px;
2492
- font-weight: 400;
2493
- }
2494
- .cancellation-notice {
2495
- background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
2496
- border-radius: 15px;
2497
- padding: 25px;
2498
- margin: 25px 0;
2499
- border-left: 5px solid #d4736c;
2500
- }
2501
- .cancellation-notice p {
2502
- margin: 0;
2503
- color: #c62828;
2504
- font-size: 15px;
2505
- font-weight: 500;
2506
- line-height: 1.6;
2507
- }
2508
- .cancelled-by-info {
2509
- background: #fafafa;
2510
- border-radius: 10px;
2511
- padding: 15px 20px;
2512
- margin-top: 15px;
2513
- }
2514
- .cancelled-by-info .label {
2515
- font-size: 12px;
2516
- color: #757575;
2517
- text-transform: uppercase;
2518
- letter-spacing: 0.5px;
2519
- margin-bottom: 5px;
2520
- }
2521
- .cancelled-by-info .value {
2522
- font-size: 14px;
2523
- color: #424242;
2524
- font-weight: 500;
2525
- }
2526
- .reason-box {
2527
- background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
2528
- border-radius: 15px;
2529
- padding: 20px;
2530
- margin: 20px 0;
2531
- border-left: 5px solid #ffa000;
2532
- }
2533
- .reason-box .label {
2534
- font-size: 14px;
2535
- font-weight: 600;
2536
- color: #e65100;
2537
- margin-bottom: 8px;
2538
- }
2539
- .reason-box .reason-text {
2540
- font-size: 15px;
2541
- color: #424242;
2542
- line-height: 1.6;
2543
- font-style: italic;
2544
- }
2545
- .appointment-card {
2546
- background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
2547
- border-radius: 15px;
2548
- padding: 30px;
2549
- margin: 25px 0;
2550
- border-left: 5px solid #9e9e9e;
2551
- opacity: 0.9;
2552
- }
2553
- .appointment-title {
2554
- font-size: 20px;
2555
- color: #757575;
2556
- margin-bottom: 20px;
2557
- font-weight: 600;
2558
- }
2559
- .appointment-details {
2560
- display: grid;
2561
- gap: 15px;
2562
- }
2563
- .detail-row {
2564
- display: flex;
2565
- align-items: center;
2566
- padding: 8px 0;
2567
- }
2568
- .detail-label {
2569
- font-weight: 600;
2570
- color: #757575;
2571
- min-width: 120px;
2572
- font-size: 14px;
2573
- }
2574
- .detail-value {
2575
- color: #616161;
2576
- font-size: 16px;
2577
- font-weight: 500;
2578
- text-decoration: line-through;
2579
- }
2580
- .procedure-name {
2581
- color: #757575;
2582
- font-weight: 600;
2583
- }
2584
- .clinic-name {
2585
- color: #9e9e9e;
2586
- font-weight: 600;
2587
- }
2588
- .rebook-section {
2589
- background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
2590
- border-radius: 15px;
2591
- padding: 25px;
2592
- margin: 30px 0;
2593
- text-align: center;
2594
- border-left: 5px solid #4caf50;
2595
- }
2596
- .rebook-section h3 {
2597
- margin: 0 0 15px 0;
2598
- color: #2e7d32;
2599
- font-weight: 600;
2600
- font-size: 18px;
2601
- }
2602
- .rebook-section p {
2603
- margin: 0;
2604
- color: #555;
2605
- font-size: 15px;
2606
- line-height: 1.6;
2607
- }
2608
- .support-section {
2609
- background: #f8f9fa;
2610
- border-radius: 15px;
2611
- padding: 20px;
2612
- margin: 25px 0;
2613
- text-align: center;
2614
- }
2615
- .support-section h4 {
2616
- margin: 0 0 10px 0;
2617
- color: #555;
2618
- font-weight: 600;
2619
- font-size: 16px;
2620
- }
2621
- .support-section p {
2622
- margin: 0;
2623
- color: #757575;
2624
- font-size: 14px;
2625
- line-height: 1.6;
2626
- }
2627
- .footer {
2628
- background: #f8f9fa;
2629
- padding: 25px 30px;
2630
- text-align: center;
2631
- color: #666;
2632
- font-size: 14px;
2633
- border-top: 1px solid #eee;
2634
- }
2635
- .logo {
2636
- font-size: 24px;
2637
- font-weight: 700;
2638
- color: white;
2639
- margin-bottom: 5px;
2640
- }
2641
- .divider {
2642
- height: 2px;
2643
- background: linear-gradient(90deg, #d4736c, #b85450);
2644
- margin: 25px 0;
2645
- border-radius: 1px;
2646
- }
2647
- .icon {
2648
- text-align: center;
2649
- margin: 20px 0;
2650
- font-size: 48px;
2651
- }
2652
- </style>
2457
+ <!--[if mso]>
2458
+ <noscript>
2459
+ <xml>
2460
+ <o:OfficeDocumentSettings>
2461
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2462
+ </o:OfficeDocumentSettings>
2463
+ </xml>
2464
+ </noscript>
2465
+ <![endif]-->
2653
2466
  </head>
2654
- <body>
2655
- <div class="email-container">
2656
- <div class="header">
2657
- <div class="logo">MetaEstetics</div>
2658
- <h1>Appointment Cancelled</h1>
2659
- <div class="subtitle">We're Sorry to See This Change</div>
2660
- </div>
2467
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2468
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2469
+ <tr>
2470
+ <td align="center" style="padding: 40px 20px;">
2471
+ <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);">
2661
2472
 
2662
- <div class="content">
2663
- <div class="icon">&#10060;</div>
2473
+ <!-- Header -->
2474
+ <tr>
2475
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2476
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2477
+ <tr>
2478
+ <td>
2479
+ <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;">MetaEstetics</h1>
2480
+ </td>
2481
+ </tr>
2482
+ </table>
2483
+ </td>
2484
+ </tr>
2664
2485
 
2665
- <div class="greeting">
2666
- Dear <strong>{{recipientName}}</strong>,
2667
- </div>
2486
+ <!-- Cancellation Banner -->
2487
+ <tr>
2488
+ <td style="padding: 0;">
2489
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #fa003f;">
2490
+ <tr>
2491
+ <td style="padding: 20px 48px;">
2492
+ <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;">Appointment Cancelled</p>
2493
+ </td>
2494
+ </tr>
2495
+ </table>
2496
+ </td>
2497
+ </tr>
2668
2498
 
2669
- <div class="cancellation-notice">
2670
- <p><strong>Your appointment has been cancelled.</strong> We wanted to let you know that the following appointment is no longer scheduled.</p>
2671
- <div class="cancelled-by-info">
2672
- <div class="label">Cancelled By</div>
2673
- <div class="value">{{cancelledByDisplay}}</div>
2674
- </div>
2675
- </div>
2499
+ <!-- Main Content -->
2500
+ <tr>
2501
+ <td style="padding: 40px 48px;">
2676
2502
 
2677
- {{#if cancellationReason}}
2678
- <div class="reason-box">
2679
- <div class="label">Reason for Cancellation</div>
2680
- <div class="reason-text">"{{cancellationReason}}"</div>
2681
- </div>
2682
- {{/if}}
2503
+ <!-- Greeting -->
2504
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2505
+ Dear {{recipientName}},
2506
+ </p>
2683
2507
 
2684
- <div class="appointment-card">
2685
- <div class="appointment-title">Cancelled Appointment Details</div>
2686
- <div class="appointment-details">
2687
- <div class="detail-row">
2688
- <div class="detail-label">Procedure:</div>
2689
- <div class="detail-value procedure-name">{{procedureName}}</div>
2690
- </div>
2691
- <div class="detail-row">
2692
- <div class="detail-label">Date:</div>
2693
- <div class="detail-value">{{appointmentDate}}</div>
2694
- </div>
2695
- <div class="detail-row">
2696
- <div class="detail-label">Time:</div>
2697
- <div class="detail-value">{{appointmentTime}}</div>
2698
- </div>
2699
- <div class="detail-row">
2700
- <div class="detail-label">Practitioner:</div>
2701
- <div class="detail-value">{{practitionerName}}</div>
2702
- </div>
2703
- <div class="detail-row">
2704
- <div class="detail-label">Location:</div>
2705
- <div class="detail-value clinic-name">{{clinicName}}</div>
2706
- </div>
2707
- </div>
2708
- </div>
2508
+ <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;">
2509
+ We regret to inform you that your appointment has been cancelled. Please see the details below.
2510
+ </p>
2709
2511
 
2710
- <div class="divider"></div>
2512
+ <!-- Cancelled By Info -->
2513
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 24px;">
2514
+ <tr>
2515
+ <td style="padding: 16px 20px; background-color: #fef2f2; border-left: 3px solid #fa003f;">
2516
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Cancelled By</p>
2517
+ <p style="margin: 0; font-size: 15px; color: #333333; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{cancelledByDisplay}}</p>
2518
+ </td>
2519
+ </tr>
2520
+ </table>
2711
2521
 
2712
- <div class="rebook-section">
2713
- <h3>Would You Like to Reschedule?</h3>
2714
- <p>
2715
- We'd love to see you! If you'd like to book a new appointment,
2716
- simply open the MetaEstetics app and browse available times that work for you.
2717
- </p>
2718
- </div>
2522
+ {{#if cancellationReason}}
2523
+ <!-- Cancellation Reason -->
2524
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2525
+ <tr>
2526
+ <td style="padding: 20px 24px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2527
+ <p style="margin: 0 0 8px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Reason</p>
2528
+ <p style="margin: 0; font-size: 15px; color: #555555; line-height: 1.6; font-style: italic; font-family: Georgia, 'Times New Roman', serif;">"{{cancellationReason}}"</p>
2529
+ </td>
2530
+ </tr>
2531
+ </table>
2532
+ {{/if}}
2719
2533
 
2720
- <div class="support-section">
2721
- <h4>Need Assistance?</h4>
2722
- <p>
2723
- If you have any questions about this cancellation or need help rebooking,
2724
- please contact {{clinicName}} directly through the app or reach out to our support team.
2725
- </p>
2726
- </div>
2727
- </div>
2534
+ <!-- Cancelled Appointment Details -->
2535
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2536
+ <tr>
2537
+ <td style="padding: 24px;">
2538
+ <p style="margin: 0 0 16px 0; font-size: 12px; font-weight: 600; color: #999999; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Cancelled Appointment</p>
2728
2539
 
2729
- <div class="footer">
2730
- <p style="margin: 0 0 10px 0;">
2731
- <strong>MetaEstetics</strong> - Premium Aesthetic Services
2732
- </p>
2733
- <p style="margin: 0; font-size: 12px; color: #999;">
2734
- This is an automated message. Please do not reply to this email.
2735
- </p>
2736
- </div>
2737
- </div>
2540
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2541
+ <tr>
2542
+ <td style="padding-bottom: 12px;">
2543
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Procedure</p>
2544
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{procedureName}}</p>
2545
+ </td>
2546
+ </tr>
2547
+ <tr>
2548
+ <td style="padding-bottom: 12px;">
2549
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Date & Time</p>
2550
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{appointmentDate}} at {{appointmentTime}}</p>
2551
+ </td>
2552
+ </tr>
2553
+ <tr>
2554
+ <td style="padding-bottom: 12px;">
2555
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Practitioner</p>
2556
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2557
+ </td>
2558
+ </tr>
2559
+ <tr>
2560
+ <td>
2561
+ <p style="margin: 0 0 2px 0; font-size: 11px; color: #999999; text-transform: uppercase; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Location</p>
2562
+ <p style="margin: 0; font-size: 15px; color: #888888; text-decoration: line-through; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{clinicName}}</p>
2563
+ </td>
2564
+ </tr>
2565
+ </table>
2566
+ </td>
2567
+ </tr>
2568
+ </table>
2569
+
2570
+ <!-- Divider -->
2571
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2572
+ <tr>
2573
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2574
+ </tr>
2575
+ </table>
2576
+
2577
+ <!-- Rebook Section -->
2578
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #f0faf4; border-left: 3px solid #00BB38;">
2579
+ <tr>
2580
+ <td style="padding: 28px;">
2581
+ <p style="margin: 0 0 12px 0; font-size: 15px; font-weight: 600; color: #00BB38; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Book a New Appointment</p>
2582
+ <p style="margin: 0 0 20px 0; font-size: 14px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2583
+ We'd love to see you. Open the MetaEstetics app to browse available times and book a new appointment.
2584
+ </p>
2585
+ <table role="presentation" cellspacing="0" cellpadding="0" border="0">
2586
+ <tr>
2587
+ <td style="background-color: #67574A; border-radius: 2px;">
2588
+ <a href="#" style="display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; color: #ffffff; text-decoration: none; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Book New Appointment</a>
2589
+ </td>
2590
+ </tr>
2591
+ </table>
2592
+ </td>
2593
+ </tr>
2594
+ </table>
2595
+
2596
+ <!-- Support Info -->
2597
+ <p style="margin: 0; font-size: 13px; color: #868686; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2598
+ If you have any questions about this cancellation, please contact {{clinicName}} directly through the app.
2599
+ </p>
2600
+
2601
+ </td>
2602
+ </tr>
2603
+
2604
+ <!-- Footer -->
2605
+ <tr>
2606
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2607
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2608
+ <tr>
2609
+ <td>
2610
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2611
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services</p>
2612
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEstetics. Please do not reply directly to this email.</p>
2613
+ </td>
2614
+ </tr>
2615
+ </table>
2616
+ </td>
2617
+ </tr>
2618
+
2619
+ </table>
2620
+ </td>
2621
+ </tr>
2622
+ </table>
2738
2623
  </body>
2739
2624
  </html>
2740
2625
  `;
@@ -2744,324 +2629,160 @@ var appointmentRescheduledProposalTemplate = `
2744
2629
  <head>
2745
2630
  <meta charset="UTF-8">
2746
2631
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
2747
- <title>Appointment Reschedule Proposal</title>
2748
- <style>
2749
- body {
2750
- margin: 0;
2751
- padding: 0;
2752
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
2753
- background: linear-gradient(135deg, #a48a76 0%, #67574A 100%);
2754
- min-height: 100vh;
2755
- }
2756
- .email-container {
2757
- max-width: 600px;
2758
- margin: 0 auto;
2759
- background: #ffffff;
2760
- border-radius: 20px;
2761
- overflow: hidden;
2762
- box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
2763
- margin-top: 40px;
2764
- margin-bottom: 40px;
2765
- }
2766
- .header {
2767
- background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
2768
- padding: 40px 30px;
2769
- text-align: center;
2770
- color: white;
2771
- }
2772
- .header h1 {
2773
- margin: 0;
2774
- font-size: 28px;
2775
- font-weight: 300;
2776
- letter-spacing: 1px;
2777
- }
2778
- .header .subtitle {
2779
- margin: 10px 0 0 0;
2780
- font-size: 16px;
2781
- opacity: 0.9;
2782
- font-weight: 300;
2783
- }
2784
- .content {
2785
- padding: 40px 30px;
2786
- }
2787
- .greeting {
2788
- font-size: 18px;
2789
- color: #333;
2790
- margin-bottom: 25px;
2791
- font-weight: 400;
2792
- }
2793
- .info-box {
2794
- background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
2795
- border-radius: 15px;
2796
- padding: 25px;
2797
- margin: 25px 0;
2798
- border-left: 5px solid #ff9800;
2799
- }
2800
- .info-box p {
2801
- margin: 0;
2802
- color: #e65100;
2803
- font-size: 15px;
2804
- font-weight: 500;
2805
- line-height: 1.6;
2806
- }
2807
- .time-comparison {
2808
- display: grid;
2809
- gap: 20px;
2810
- margin: 25px 0;
2811
- }
2812
- .time-card {
2813
- background: linear-gradient(135deg, #f8f6f5 0%, #f5f3f2 100%);
2814
- border-radius: 15px;
2815
- padding: 25px;
2816
- border-left: 5px solid #a48a76;
2817
- }
2818
- .time-card.old-time {
2819
- border-left-color: #9e9e9e;
2820
- opacity: 0.8;
2821
- }
2822
- .time-card.new-time {
2823
- border-left-color: #ff9800;
2824
- background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
2825
- }
2826
- .time-label {
2827
- font-size: 14px;
2828
- font-weight: 600;
2829
- color: #666;
2830
- text-transform: uppercase;
2831
- letter-spacing: 0.5px;
2832
- margin-bottom: 10px;
2833
- }
2834
- .time-label.old {
2835
- color: #757575;
2836
- }
2837
- .time-label.new {
2838
- color: #f57c00;
2839
- }
2840
- .appointment-card {
2841
- background: linear-gradient(135deg, #f8f6f5 0%, #f5f3f2 100%);
2842
- border-radius: 15px;
2843
- padding: 30px;
2844
- margin: 25px 0;
2845
- border-left: 5px solid #a48a76;
2846
- }
2847
- .appointment-title {
2848
- font-size: 20px;
2849
- color: #a48a76;
2850
- margin-bottom: 20px;
2851
- font-weight: 600;
2852
- }
2853
- .appointment-details {
2854
- display: grid;
2855
- gap: 15px;
2856
- }
2857
- .detail-row {
2858
- display: flex;
2859
- align-items: center;
2860
- padding: 8px 0;
2861
- }
2862
- .detail-label {
2863
- font-weight: 600;
2864
- color: #555;
2865
- min-width: 120px;
2866
- font-size: 14px;
2867
- }
2868
- .detail-value {
2869
- color: #333;
2870
- font-size: 16px;
2871
- font-weight: 500;
2872
- }
2873
- .procedure-name {
2874
- color: #67574A;
2875
- font-weight: 600;
2876
- }
2877
- .clinic-name {
2878
- color: #a48a76;
2879
- font-weight: 600;
2880
- }
2881
- .action-section {
2882
- background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
2883
- border-radius: 15px;
2884
- padding: 30px;
2885
- margin: 30px 0;
2886
- text-align: center;
2887
- border-left: 5px solid #4caf50;
2888
- }
2889
- .action-section h3 {
2890
- margin: 0 0 15px 0;
2891
- color: #2e7d32;
2892
- font-weight: 600;
2893
- font-size: 18px;
2894
- }
2895
- .action-section p {
2896
- margin: 0 0 20px 0;
2897
- color: #555;
2898
- font-size: 15px;
2899
- line-height: 1.6;
2900
- }
2901
- .action-required-box {
2902
- background: linear-gradient(135deg, #fff3e0 0%, #ffecb3 100%);
2903
- border: 2px solid #ff9800;
2904
- border-radius: 15px;
2905
- padding: 25px;
2906
- margin: 25px 0;
2907
- text-align: center;
2908
- }
2909
- .action-required-box h3 {
2910
- margin: 0 0 15px 0;
2911
- color: #e65100;
2912
- font-weight: 700;
2913
- font-size: 18px;
2914
- }
2915
- .action-required-box p {
2916
- margin: 0 0 12px 0;
2917
- color: #bf360c;
2918
- font-size: 15px;
2919
- line-height: 1.6;
2920
- }
2921
- .action-required-box p:last-child {
2922
- margin-bottom: 0;
2923
- }
2924
- .pending-notice {
2925
- background: #fff8e1;
2926
- border-radius: 8px;
2927
- padding: 12px 15px;
2928
- margin-top: 15px;
2929
- display: inline-block;
2930
- }
2931
- .pending-notice p {
2932
- margin: 0;
2933
- color: #f57c00;
2934
- font-size: 14px;
2935
- font-weight: 600;
2936
- }
2937
- .footer {
2938
- background: #f8f9fa;
2939
- padding: 25px 30px;
2940
- text-align: center;
2941
- color: #666;
2942
- font-size: 14px;
2943
- border-top: 1px solid #eee;
2944
- }
2945
- .logo {
2946
- font-size: 24px;
2947
- font-weight: 700;
2948
- color: white;
2949
- margin-bottom: 5px;
2950
- }
2951
- .divider {
2952
- height: 2px;
2953
- background: linear-gradient(90deg, #a48a76, #67574A);
2954
- margin: 25px 0;
2955
- border-radius: 1px;
2956
- }
2957
- .icon {
2958
- text-align: center;
2959
- margin: 20px 0;
2960
- font-size: 48px;
2961
- }
2962
- .arrow {
2963
- text-align: center;
2964
- font-size: 32px;
2965
- color: #ff9800;
2966
- margin: 10px 0;
2967
- }
2968
- </style>
2632
+ <title>Appointment Reschedule Request</title>
2633
+ <!--[if mso]>
2634
+ <noscript>
2635
+ <xml>
2636
+ <o:OfficeDocumentSettings>
2637
+ <o:PixelsPerInch>96</o:PixelsPerInch>
2638
+ </o:OfficeDocumentSettings>
2639
+ </xml>
2640
+ </noscript>
2641
+ <![endif]-->
2969
2642
  </head>
2970
- <body>
2971
- <div class="email-container">
2972
- <div class="header">
2973
- <div class="logo">MetaEstetics</div>
2974
- <h1>Appointment Reschedule Proposal</h1>
2975
- <div class="subtitle">Action Required</div>
2976
- </div>
2977
-
2978
- <div class="content">
2979
- <div class="icon">\u{1F4C5}</div>
2980
-
2981
- <div class="greeting">
2982
- Dear <strong>{{patientName}}</strong>,
2983
- </div>
2984
-
2985
- <p style="color: #555; font-size: 16px; line-height: 1.6; margin-bottom: 25px;">
2986
- We hope this message finds you well. We need to propose a new time for your upcoming appointment. Please review the details below and confirm if the new time works for you.
2987
- </p>
2988
-
2989
- <div class="info-box">
2990
- <p><strong>\u26A0\uFE0F Important:</strong> Please respond to this reschedule proposal as soon as possible. Your appointment will remain pending until you confirm or reject the new time.</p>
2991
- </div>
2992
-
2993
- <div class="appointment-card">
2994
- <div class="appointment-title">\u{1F4CB} Appointment Details</div>
2995
- <div class="appointment-details">
2996
- <div class="detail-row">
2997
- <div class="detail-label">Procedure:</div>
2998
- <div class="detail-value procedure-name">{{procedureName}}</div>
2999
- </div>
3000
- <div class="detail-row">
3001
- <div class="detail-label">Practitioner:</div>
3002
- <div class="detail-value">{{practitionerName}}</div>
3003
- </div>
3004
- <div class="detail-row">
3005
- <div class="detail-label">Location:</div>
3006
- <div class="detail-value clinic-name">{{clinicName}}</div>
3007
- </div>
3008
- </div>
3009
- </div>
3010
-
3011
- <div class="time-comparison">
3012
- <div class="time-card old-time">
3013
- <div class="time-label old">Previous Time</div>
3014
- <div style="font-size: 18px; font-weight: 600; color: #424242; margin-bottom: 8px;">{{previousDate}}</div>
3015
- <div style="font-size: 16px; color: #616161;">{{previousTime}}</div>
3016
- </div>
3017
-
3018
- <div class="arrow">\u2193</div>
3019
-
3020
- <div class="time-card new-time">
3021
- <div class="time-label new">Proposed New Time</div>
3022
- <div style="font-size: 18px; font-weight: 600; color: #e65100; margin-bottom: 8px;">{{newDate}}</div>
3023
- <div style="font-size: 16px; color: #f57c00; font-weight: 500;">{{newTime}}</div>
3024
- </div>
3025
- </div>
3026
-
3027
- <div class="divider"></div>
2643
+ <body style="margin: 0; padding: 0; background-color: #f8f6f5; font-family: Georgia, 'Times New Roman', serif;">
2644
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #f8f6f5;">
2645
+ <tr>
2646
+ <td align="center" style="padding: 40px 20px;">
2647
+ <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);">
3028
2648
 
3029
- <div class="action-required-box">
3030
- <h3>Your Response is Required</h3>
3031
- <p>
3032
- <strong>Missed our notification?</strong> Please open the MetaEstetics app to confirm or reject this reschedule request.
3033
- </p>
3034
- <p>
3035
- Please respond as soon as possible so we can finalize your appointment.
3036
- </p>
3037
- <div class="pending-notice">
3038
- <p>Your appointment will remain pending until you respond.</p>
3039
- </div>
3040
- </div>
2649
+ <!-- Header -->
2650
+ <tr>
2651
+ <td style="padding: 48px 48px 32px 48px; border-bottom: 1px solid #f0ebe6;">
2652
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2653
+ <tr>
2654
+ <td>
2655
+ <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;">MetaEstetics</h1>
2656
+ </td>
2657
+ </tr>
2658
+ </table>
2659
+ </td>
2660
+ </tr>
3041
2661
 
3042
- <div class="action-section">
3043
- <h3>How to Respond</h3>
3044
- <p>
3045
- Open the MetaEstetics app and navigate to your appointments.
3046
- If the new time works for you, simply tap "Accept Reschedule".
3047
- If not, you can reject it and we'll work with you to find an alternative time.
3048
- </p>
3049
- </div>
2662
+ <!-- Action Required Banner -->
2663
+ <tr>
2664
+ <td style="padding: 0;">
2665
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="background-color: #a48a76;">
2666
+ <tr>
2667
+ <td style="padding: 20px 48px;">
2668
+ <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;">Action Required</p>
2669
+ </td>
2670
+ </tr>
2671
+ </table>
2672
+ </td>
2673
+ </tr>
3050
2674
 
3051
- <p style="color: #555; font-size: 14px; line-height: 1.6; margin-top: 25px;">
3052
- <strong>Need Help?</strong> If you have any questions or concerns about this reschedule, please contact us directly through the app or reach out to {{clinicName}}.
3053
- </p>
3054
- </div>
3055
-
3056
- <div class="footer">
3057
- <p style="margin: 0 0 10px 0;">
3058
- <strong>MetaEstetics</strong> - Premium Aesthetic Services
3059
- </p>
3060
- <p style="margin: 0; font-size: 12px; color: #999;">
3061
- This is an automated message. Please do not reply to this email.
3062
- </p>
3063
- </div>
3064
- </div>
2675
+ <!-- Main Content -->
2676
+ <tr>
2677
+ <td style="padding: 40px 48px;">
2678
+
2679
+ <!-- Greeting -->
2680
+ <p style="margin: 0 0 24px 0; font-size: 17px; color: #333333; line-height: 1.6; font-family: Georgia, 'Times New Roman', serif;">
2681
+ Dear {{patientName}},
2682
+ </p>
2683
+
2684
+ <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;">
2685
+ {{clinicName}} has proposed a new time for your upcoming appointment. Please review the details below and respond at your earliest convenience.
2686
+ </p>
2687
+
2688
+ <!-- Appointment Info Card -->
2689
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7; border-left: 3px solid #a48a76;">
2690
+ <tr>
2691
+ <td style="padding: 24px;">
2692
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Procedure</p>
2693
+ <p style="margin: 0 0 16px 0; font-size: 18px; color: #67574A; font-weight: 500; font-family: Georgia, 'Times New Roman', serif;">{{procedureName}}</p>
2694
+
2695
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #868686; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Practitioner</p>
2696
+ <p style="margin: 0; font-size: 15px; color: #333333; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{practitionerName}}</p>
2697
+ </td>
2698
+ </tr>
2699
+ </table>
2700
+
2701
+ <!-- Time Comparison -->
2702
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2703
+ <!-- Original Time (Strikethrough) -->
2704
+ <tr>
2705
+ <td style="padding: 20px 24px; background-color: #f5f5f5; border-left: 3px solid #cccccc;">
2706
+ <p style="margin: 0 0 4px 0; font-size: 11px; font-weight: 600; color: #999999; letter-spacing: 1px; text-transform: uppercase; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Original Appointment</p>
2707
+ <p style="margin: 0; font-size: 16px; color: #999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: line-through;">{{previousDate}}</p>
2708
+ <p style="margin: 4px 0 0 0; font-size: 14px; color: #999999; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; text-decoration: line-through;">{{previousTime}}</p>
2709
+ </td>
2710
+ </tr>
2711
+
2712
+ <!-- Spacer -->
2713
+ <tr>
2714
+ <td style="height: 12px;"></td>
2715
+ </tr>
2716
+
2717
+ <!-- New Proposed Time -->
2718
+ <tr>
2719
+ <td style="padding: 24px; background-color: #f8f6f5; border-left: 3px solid #00BB38;">
2720
+ <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;">Proposed New Time</p>
2721
+ <p style="margin: 0; font-size: 18px; color: #333333; font-weight: 600; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{newDate}}</p>
2722
+ <p style="margin: 4px 0 0 0; font-size: 15px; color: #67574A; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">{{newTime}}</p>
2723
+ </td>
2724
+ </tr>
2725
+ </table>
2726
+
2727
+ <!-- Divider -->
2728
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px;">
2729
+ <tr>
2730
+ <td style="height: 1px; background-color: #e8e4df;"></td>
2731
+ </tr>
2732
+ </table>
2733
+
2734
+ <!-- Response Instructions -->
2735
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin-bottom: 32px; background-color: #faf9f7;">
2736
+ <tr>
2737
+ <td style="padding: 28px;">
2738
+ <p style="margin: 0 0 16px 0; font-size: 15px; font-weight: 600; color: #67574A; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">How to Respond</p>
2739
+ <p style="margin: 0 0 16px 0; font-size: 14px; color: #555555; line-height: 1.7; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2740
+ Open the MetaEstetics app to accept or decline this reschedule request. Your appointment will remain pending until you respond.
2741
+ </p>
2742
+ <table role="presentation" cellspacing="0" cellpadding="0" border="0">
2743
+ <tr>
2744
+ <td style="background-color: #67574A; border-radius: 2px;">
2745
+ <a href="#" style="display: inline-block; padding: 14px 32px; font-size: 13px; font-weight: 600; color: #ffffff; text-decoration: none; letter-spacing: 0.5px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Open App</a>
2746
+ </td>
2747
+ </tr>
2748
+ </table>
2749
+ </td>
2750
+ </tr>
2751
+ </table>
2752
+
2753
+ <!-- Pending Notice -->
2754
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2755
+ <tr>
2756
+ <td style="padding: 16px 20px; background-color: #fff8f0; border: 1px solid #f0e6d9; border-radius: 2px;">
2757
+ <p style="margin: 0; font-size: 13px; color: #a48a76; line-height: 1.6; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
2758
+ <strong>Status:</strong> Pending your response. Please respond as soon as possible so we can confirm your appointment.
2759
+ </p>
2760
+ </td>
2761
+ </tr>
2762
+ </table>
2763
+
2764
+ </td>
2765
+ </tr>
2766
+
2767
+ <!-- Footer -->
2768
+ <tr>
2769
+ <td style="padding: 32px 48px; background-color: #faf9f7; border-top: 1px solid #f0ebe6;">
2770
+ <table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
2771
+ <tr>
2772
+ <td>
2773
+ <p style="margin: 0 0 8px 0; font-size: 14px; font-weight: 500; color: #67574A; font-family: Georgia, 'Times New Roman', serif;">{{clinicName}}</p>
2774
+ <p style="margin: 0 0 16px 0; font-size: 13px; color: #868686; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">Premium Aesthetic Services</p>
2775
+ <p style="margin: 0; font-size: 11px; color: #aaaaaa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">This is an automated message from MetaEstetics. Please do not reply directly to this email.</p>
2776
+ </td>
2777
+ </tr>
2778
+ </table>
2779
+ </td>
2780
+ </tr>
2781
+
2782
+ </table>
2783
+ </td>
2784
+ </tr>
2785
+ </table>
3065
2786
  </body>
3066
2787
  </html>
3067
2788
  `;