@heliyos/heliyos-api-core 1.0.56 → 1.0.58

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.
@@ -7,12 +7,10 @@
7
7
  <title>Password Reset Request</title>
8
8
  <style>
9
9
  body {
10
- font-family: 'Arial', sans-serif;
10
+ font-family: Arial, sans-serif;
11
11
  line-height: 1.6;
12
12
  color: #0e0d0c;
13
- /* --text-000 */
14
13
  background-color: #f8f8f6;
15
- /* --background */
16
14
  margin: 0;
17
15
  padding: 0;
18
16
  }
@@ -20,52 +18,57 @@
20
18
  .container {
21
19
  max-width: 600px;
22
20
  margin: 20px auto;
23
- background-color: #f5f2e9;
24
- /* --card */
21
+ background-color: #ffffff;
25
22
  border-radius: 12px;
26
- /* --radius */
27
23
  overflow: hidden;
28
- box-shadow: 0 0 10px #e6e6e6;
29
- /* Solid color instead of rgba */
24
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
30
25
  }
31
26
 
32
27
  .header {
33
- background-color: #b44f2b;
34
- /* --primary */
35
- color: #ffffff;
36
- /* --primary-foreground */
37
- padding: 20px;
28
+ background-color: #7c3aed;
29
+ padding: 30px 20px;
38
30
  text-align: center;
39
31
  }
40
32
 
33
+ .header img {
34
+ max-width: 180px;
35
+ height: auto;
36
+ }
37
+
41
38
  .content {
42
39
  padding: 30px;
43
40
  color: #2c2721;
44
- /* --card-foreground */
45
41
  }
46
42
 
47
43
  .button {
48
44
  display: inline-block;
49
45
  padding: 12px 24px;
50
- background-color: #1c6bba;
51
- /* --secondary */
46
+ background-color: #7c3aed;
52
47
  color: #ffffff !important;
53
- /* --secondary-foreground */
54
48
  text-decoration: none;
55
- border-radius: 12px;
56
- /* --radius */
49
+ border-radius: 8px;
57
50
  font-weight: bold;
58
51
  margin-top: 20px;
59
52
  }
60
53
 
54
+ .button:hover {
55
+ background-color: #6d28d9;
56
+ }
57
+
61
58
  .footer {
62
59
  background-color: #ebe7db;
63
- /* --muted */
64
60
  padding: 20px;
65
61
  text-align: center;
66
62
  font-size: 12px;
67
63
  color: #5c5545;
68
- /* --muted-foreground */
64
+ }
65
+
66
+ .warning-box {
67
+ background-color: #fff3cd;
68
+ border-left: 4px solid #ffc107;
69
+ padding: 16px;
70
+ margin: 20px 0;
71
+ border-radius: 4px;
69
72
  }
70
73
  </style>
71
74
  </head>
@@ -73,19 +76,24 @@
73
76
  <body>
74
77
  <div class="container">
75
78
  <div class="header">
76
- <h1>Password Reset Request</h1>
79
+ <img src="https://assets.heliyos.ai/heliyos-logo-white.png" alt="Heliyos AI">
77
80
  </div>
78
81
  <div class="content">
82
+ <h2 style="margin-top: 0; color: #0e0d0c;">Password Reset Request</h2>
79
83
  <p>Hello {{name}},</p>
80
- <p>We received a request to reset your password. If you didn't make this request, please ignore this email.
84
+ <p>We received a request to reset your password for your Heliyos AI account. If you didn't make this request, please ignore this email.
81
85
  </p>
82
86
  <p>To reset your password, click the button below:</p>
83
87
  <p style="text-align: center;">
84
88
  <a href="{{password_recovery_url}}" class="button">Reset Password</a>
85
89
  </p>
86
- <p>This link will expire in 24 hours for security reasons.</p>
90
+
91
+ <div class="warning-box">
92
+ <p style="margin: 0;"><strong>⏰ This link will expire in 24 hours</strong> for security reasons.</p>
93
+ </div>
94
+
87
95
  <p>If you're having trouble clicking the button, copy and paste the following URL into your web browser:</p>
88
- <p style="word-break: break-all;">{{password_recovery_url}}</p>
96
+ <p style="word-break: break-all; font-size: 13px; color: #5c5545;">{{password_recovery_url}}</p>
89
97
  <p>If you didn't request a password reset, please contact our support team immediately.</p>
90
98
  </div>
91
99
  <div class="footer">
@@ -95,4 +103,4 @@
95
103
  </div>
96
104
  </body>
97
105
 
98
- </html>
106
+ </html>
@@ -5,5 +5,7 @@ export declare const emailTemplates: {
5
5
  invitingNewUser: string;
6
6
  forgotPassword: string;
7
7
  passwordResetSuccess: string;
8
+ notificationImmediate: string;
9
+ notificationDailySummary: string;
8
10
  };
9
11
  export declare const getEmailTemplate: (template: string, data: object) => string;
@@ -37,6 +37,8 @@ exports.emailTemplates = {
37
37
  invitingNewUser: "inviting-new-user.html",
38
38
  forgotPassword: "forgot-password.html",
39
39
  passwordResetSuccess: "password-reset-success.html",
40
+ notificationImmediate: "notification-immediate.html",
41
+ notificationDailySummary: "notification-daily-summary.html",
40
42
  };
41
43
  const getEmailTemplate = (template, data) => {
42
44
  const filePath = path.join(__dirname, template);
@@ -10,9 +10,7 @@
10
10
  font-family: Arial, sans-serif;
11
11
  line-height: 1.6;
12
12
  color: #0e0d0c;
13
- /* --text-000 */
14
13
  background-color: #f8f8f6;
15
- /* --background */
16
14
  margin: 0;
17
15
  padding: 0;
18
16
  }
@@ -20,52 +18,57 @@
20
18
  .container {
21
19
  max-width: 600px;
22
20
  margin: 20px auto;
23
- background-color: #f5f2e9;
24
- /* --card */
21
+ background-color: #ffffff;
25
22
  border-radius: 12px;
26
- /* --radius */
27
23
  overflow: hidden;
28
- box-shadow: 0 0 10px #e6e6e6;
29
- /* Solid color instead of rgba */
24
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
30
25
  }
31
26
 
32
27
  .header {
33
- background-color: #b44f2b;
34
- /* --primary */
35
- color: #ffffff;
36
- /* --primary-foreground */
37
- padding: 20px;
28
+ background-color: #7c3aed;
29
+ padding: 30px 20px;
38
30
  text-align: center;
39
31
  }
40
32
 
33
+ .header img {
34
+ max-width: 180px;
35
+ height: auto;
36
+ }
37
+
41
38
  .content {
42
39
  padding: 30px;
43
40
  color: #2c2721;
44
- /* --card-foreground */
45
41
  }
46
42
 
47
43
  .button {
48
44
  display: inline-block;
49
45
  padding: 12px 24px;
50
- background-color: #1c6bba;
51
- /* --secondary */
46
+ background-color: #7c3aed;
52
47
  color: #ffffff !important;
53
- /* --secondary-foreground */
54
48
  text-decoration: none;
55
- border-radius: 12px;
56
- /* --radius */
49
+ border-radius: 8px;
57
50
  font-weight: bold;
58
51
  margin-top: 20px;
59
52
  }
60
53
 
54
+ .button:hover {
55
+ background-color: #6d28d9;
56
+ }
57
+
61
58
  .footer {
62
59
  background-color: #ebe7db;
63
- /* --muted */
64
60
  padding: 20px;
65
61
  text-align: center;
66
62
  font-size: 12px;
67
63
  color: #5c5545;
68
- /* --muted-foreground */
64
+ }
65
+
66
+ .highlight-box {
67
+ background-color: #f5f2e9;
68
+ border-left: 4px solid #7c3aed;
69
+ padding: 16px;
70
+ margin: 20px 0;
71
+ border-radius: 4px;
69
72
  }
70
73
  </style>
71
74
  </head>
@@ -73,20 +76,25 @@
73
76
  <body>
74
77
  <div class="container">
75
78
  <div class="header">
76
- <h1>You're Invited!</h1>
79
+ <img src="https://assets.heliyos.ai/heliyos-logo-white.png" alt="Heliyos AI">
77
80
  </div>
78
81
  <div class="content">
79
- <p>Hello {{full_name}},</p>
80
- <p>You've been invited to join the {{organization_name}} team on our platform!</p>
81
- <p>Since you already have an account with us, you can simply click the button below to accept the invitation
82
- and join the team:</p>
82
+ <p>Hello {{fullName}},</p>
83
+ <p>Great news! You've been invited to join the <strong>{{organization_name}}</strong> team on Heliyos AI!</p>
84
+
85
+ <div class="highlight-box">
86
+ <p style="margin: 0;"><strong>Since you already have a Heliyos account, getting started is easy.</strong> Just click the button below to accept the invitation and join the team.</p>
87
+ </div>
88
+
83
89
  <p style="text-align: center;">
84
90
  <a href="{{url}}" class="button">Accept Invitation</a>
85
91
  </p>
86
92
  <p>If you're having trouble with the button, you can copy and paste the following URL into your web browser:
87
93
  </p>
88
- <p style="word-break: break-all;">{{url}}</p>
94
+ <p style="word-break: break-all; font-size: 13px; color: #5c5545;">{{url}}</p>
89
95
 
96
+ <p>Once you accept, you'll be able to collaborate with your team and access all of Heliyos AI's powerful features.</p>
97
+
90
98
  <p>If you have any questions, please don't hesitate to reach out to our support team.</p>
91
99
  <p>Best regards,<br>The {{company_name}} Team</p>
92
100
  </div>
@@ -97,4 +105,4 @@
97
105
  </div>
98
106
  </body>
99
107
 
100
- </html>
108
+ </html>
@@ -4,15 +4,13 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <title>You're Invited to Join Our Platform!</title>
7
+ <title>You're Invited to Join Heliyos AI!</title>
8
8
  <style>
9
9
  body {
10
10
  font-family: Arial, sans-serif;
11
11
  line-height: 1.6;
12
12
  color: #0e0d0c;
13
- /* --text-000 */
14
13
  background-color: #f8f8f6;
15
- /* --background */
16
14
  margin: 0;
17
15
  padding: 0;
18
16
  }
@@ -20,52 +18,66 @@
20
18
  .container {
21
19
  max-width: 600px;
22
20
  margin: 20px auto;
23
- background-color: #f5f2e9;
24
- /* --card */
21
+ background-color: #ffffff;
25
22
  border-radius: 12px;
26
- /* --radius */
27
23
  overflow: hidden;
28
- box-shadow: 0 0 10px #e6e6e6;
29
- /* Solid color instead of rgba */
24
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
30
25
  }
31
26
 
32
27
  .header {
33
- background-color: #b44f2b;
34
- /* --primary */
35
- color: #ffffff;
36
- /* --primary-foreground */
37
- padding: 20px;
28
+ background-color: #7c3aed;
29
+ padding: 30px 20px;
38
30
  text-align: center;
39
31
  }
40
32
 
33
+ .header img {
34
+ max-width: 180px;
35
+ height: auto;
36
+ }
37
+
41
38
  .content {
42
39
  padding: 30px;
43
40
  color: #2c2721;
44
- /* --card-foreground */
45
41
  }
46
42
 
47
43
  .button {
48
44
  display: inline-block;
49
45
  padding: 12px 24px;
50
- background-color: #1c6bba;
51
- /* --secondary */
46
+ background-color: #7c3aed;
52
47
  color: #ffffff !important;
53
- /* --secondary-foreground */
54
48
  text-decoration: none;
55
- border-radius: 12px;
56
- /* --radius */
49
+ border-radius: 8px;
57
50
  font-weight: bold;
58
51
  margin-top: 20px;
59
52
  }
60
53
 
54
+ .button:hover {
55
+ background-color: #6d28d9;
56
+ }
57
+
61
58
  .footer {
62
59
  background-color: #ebe7db;
63
- /* --muted */
64
60
  padding: 20px;
65
61
  text-align: center;
66
62
  font-size: 12px;
67
63
  color: #5c5545;
68
- /* --muted-foreground */
64
+ }
65
+
66
+ .features-list {
67
+ background-color: #f5f2e9;
68
+ border-left: 4px solid #7c3aed;
69
+ padding: 20px;
70
+ margin: 20px 0;
71
+ border-radius: 4px;
72
+ }
73
+
74
+ .features-list ul {
75
+ margin: 10px 0;
76
+ padding-left: 20px;
77
+ }
78
+
79
+ .features-list li {
80
+ margin: 8px 0;
69
81
  }
70
82
  </style>
71
83
  </head>
@@ -73,11 +85,11 @@
73
85
  <body>
74
86
  <div class="container">
75
87
  <div class="header">
76
- <h1>You're Invited!</h1>
88
+ <img src="https://assets.heliyos.ai/heliyos-logo-white.png" alt="Heliyos AI">
77
89
  </div>
78
90
  <div class="content">
79
- <p>Hello,</p>
80
- <p>You've been invited to join the {{organization_name}} team on our platform!</p>
91
+ <p>Hello {{fullName}},</p>
92
+ <p>You've been invited to join the <strong>{{organization_name}}</strong> team on Heliyos AI!</p>
81
93
  <p>To get started, you'll need to create an account. Don't worry, it's quick and easy. Just click the button
82
94
  below to set up your account and accept the invitation:</p>
83
95
  <p style="text-align: center;">
@@ -85,19 +97,23 @@
85
97
  </p>
86
98
  <p>If you're having trouble with the button, you can copy and paste the following URL into your web browser:
87
99
  </p>
88
- <p style="word-break: break-all;">{{url}}</p>
100
+ <p style="word-break: break-all; font-size: 13px; color: #5c5545;">{{url}}</p>
89
101
 
90
- <p>Here's what you can look forward to on our platform:</p>
91
- <ul>
92
- <li>Collaborate with your team members</li>
93
- <li>Access powerful tools and resources</li>
94
- <li>Stay updated on project progress</li>
95
- <li>And much more!</li>
96
- </ul>
102
+ <div class="features-list">
103
+ <p style="margin-top: 0;"><strong>Here's what you can look forward to with Heliyos AI:</strong></p>
104
+ <ul>
105
+ <li>AI-powered automated updates for your deals and tasks</li>
106
+ <li>Smart lead generation and enrichment</li>
107
+ <li>Seamless collaboration with your team members</li>
108
+ <li>Real-time insights and notifications</li>
109
+ <li>Integration with your favorite tools</li>
110
+ </ul>
111
+ </div>
112
+
97
113
  <p>If you have any questions about this invitation or our platform, please don't hesitate to reach out to
98
114
  our support team.</p>
99
115
  <p>We're excited to have you join us!</p>
100
- <p>Best regards,<br>{{company_name}} Team</p>
116
+ <p>Best regards,<br>The {{company_name}} Team</p>
101
117
  </div>
102
118
  <div class="footer">
103
119
  <p>© {{year}} {{company_name}}. All rights reserved.</p>
@@ -106,4 +122,4 @@
106
122
  </div>
107
123
  </body>
108
124
 
109
- </html>
125
+ </html>