@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.
- package/dist/email/forgot-password.html +34 -26
- package/dist/email/index.d.ts +2 -0
- package/dist/email/index.js +2 -0
- package/dist/email/inviting-existing-user.html +35 -27
- package/dist/email/inviting-new-user.html +50 -34
- package/dist/email/notification-daily-summary.html +397 -0
- package/dist/email/notification-immediate.html +185 -0
- package/dist/email/password-reset-success.html +45 -29
- package/dist/email/signup-step-1.html +34 -27
- package/dist/email/signup-step-2.html +69 -39
- package/package.json +1 -1
- package/src/email/forgot-password.html +34 -26
- package/src/email/index.ts +2 -0
- package/src/email/inviting-existing-user.html +35 -27
- package/src/email/inviting-new-user.html +50 -34
- package/src/email/notification-daily-summary.html +397 -0
- package/src/email/notification-immediate.html +185 -0
- package/src/email/password-reset-success.html +45 -29
- package/src/email/signup-step-1.html +34 -27
- package/src/email/signup-step-2.html +69 -39
|
@@ -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: #
|
|
24
|
-
/* --card */
|
|
21
|
+
background-color: #ffffff;
|
|
25
22
|
border-radius: 12px;
|
|
26
|
-
/* --radius */
|
|
27
23
|
overflow: hidden;
|
|
28
|
-
box-shadow: 0 0
|
|
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: #
|
|
34
|
-
|
|
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: #
|
|
51
|
-
/* --secondary */
|
|
46
|
+
background-color: #7c3aed;
|
|
52
47
|
color: #ffffff !important;
|
|
53
|
-
/* --secondary-foreground */
|
|
54
48
|
text-decoration: none;
|
|
55
|
-
border-radius:
|
|
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
|
-
|
|
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
|
-
<
|
|
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 {{
|
|
80
|
-
<p>You've been invited to join the {{organization_name}} team on
|
|
81
|
-
|
|
82
|
-
|
|
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
|
|
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: #
|
|
24
|
-
/* --card */
|
|
21
|
+
background-color: #ffffff;
|
|
25
22
|
border-radius: 12px;
|
|
26
|
-
/* --radius */
|
|
27
23
|
overflow: hidden;
|
|
28
|
-
box-shadow: 0 0
|
|
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: #
|
|
34
|
-
|
|
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: #
|
|
51
|
-
/* --secondary */
|
|
46
|
+
background-color: #7c3aed;
|
|
52
47
|
color: #ffffff !important;
|
|
53
|
-
/* --secondary-foreground */
|
|
54
48
|
text-decoration: none;
|
|
55
|
-
border-radius:
|
|
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
|
-
|
|
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
|
-
<
|
|
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
|
|
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
|
-
<
|
|
91
|
-
|
|
92
|
-
<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
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>
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>Daily Summary - Heliyos</title>
|
|
8
|
+
<style>
|
|
9
|
+
body {
|
|
10
|
+
font-family: Arial, sans-serif;
|
|
11
|
+
line-height: 1.6;
|
|
12
|
+
color: #0e0d0c;
|
|
13
|
+
background-color: #f8f8f6;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.container {
|
|
19
|
+
max-width: 600px;
|
|
20
|
+
margin: 20px auto;
|
|
21
|
+
background-color: #ffffff;
|
|
22
|
+
border-radius: 12px;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.header {
|
|
28
|
+
background-color: #7c3aed;
|
|
29
|
+
padding: 30px 20px;
|
|
30
|
+
text-align: center;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.header img {
|
|
34
|
+
max-width: 180px;
|
|
35
|
+
height: auto;
|
|
36
|
+
margin-bottom: 12px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.header-title {
|
|
40
|
+
color: #ffffff;
|
|
41
|
+
font-size: 24px;
|
|
42
|
+
font-weight: bold;
|
|
43
|
+
margin: 10px 0 4px 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.header-date {
|
|
47
|
+
color: #ffffff;
|
|
48
|
+
opacity: 0.9;
|
|
49
|
+
font-size: 14px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.content {
|
|
53
|
+
padding: 30px;
|
|
54
|
+
background-color: #ffffff;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.greeting {
|
|
58
|
+
font-size: 16px;
|
|
59
|
+
color: #0e0d0c;
|
|
60
|
+
margin-bottom: 20px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.section {
|
|
64
|
+
margin: 24px 0;
|
|
65
|
+
padding: 20px;
|
|
66
|
+
background-color: #f5f2e9;
|
|
67
|
+
border-radius: 8px;
|
|
68
|
+
border-left: 4px solid #7c3aed;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.section-header {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: space-between;
|
|
74
|
+
align-items: center;
|
|
75
|
+
margin-bottom: 16px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.section-title {
|
|
79
|
+
font-size: 18px;
|
|
80
|
+
font-weight: bold;
|
|
81
|
+
color: #0e0d0c;
|
|
82
|
+
margin: 0;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.section-count {
|
|
86
|
+
background-color: #7c3aed;
|
|
87
|
+
color: #ffffff;
|
|
88
|
+
padding: 4px 12px;
|
|
89
|
+
border-radius: 12px;
|
|
90
|
+
font-size: 12px;
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.section-content {
|
|
95
|
+
color: #2c2721;
|
|
96
|
+
line-height: 1.8;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.item {
|
|
100
|
+
margin: 12px 0;
|
|
101
|
+
padding: 12px;
|
|
102
|
+
background-color: #ffffff;
|
|
103
|
+
border-radius: 6px;
|
|
104
|
+
border: 1px solid #7c3aed;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.item-summary {
|
|
108
|
+
margin-top: 8px;
|
|
109
|
+
color: #2c2721;
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
line-height: 1.6;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.item-details {
|
|
115
|
+
margin-top: 10px;
|
|
116
|
+
background-color: #f8f5ff;
|
|
117
|
+
border-radius: 6px;
|
|
118
|
+
padding: 10px;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.detail-row {
|
|
122
|
+
font-size: 13px;
|
|
123
|
+
color: #3f2d63;
|
|
124
|
+
margin: 4px 0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.detail-row strong {
|
|
128
|
+
color: #2b1d4d;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.item-link {
|
|
132
|
+
margin-top: 10px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.item-link a {
|
|
136
|
+
color: #7c3aed;
|
|
137
|
+
text-decoration: none;
|
|
138
|
+
font-weight: bold;
|
|
139
|
+
font-size: 13px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.item-title {
|
|
143
|
+
font-weight: bold;
|
|
144
|
+
color: #0e0d0c;
|
|
145
|
+
margin-bottom: 4px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.item-meta {
|
|
149
|
+
font-size: 13px;
|
|
150
|
+
color: #5c5545;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.org-summary-box {
|
|
154
|
+
background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
|
|
155
|
+
color: #ffffff;
|
|
156
|
+
padding: 20px;
|
|
157
|
+
border-radius: 8px;
|
|
158
|
+
margin: 24px 0;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.org-summary-box h3 {
|
|
162
|
+
margin: 0 0 12px 0;
|
|
163
|
+
font-size: 18px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.org-summary-box p {
|
|
167
|
+
margin: 8px 0;
|
|
168
|
+
line-height: 1.6;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.button {
|
|
172
|
+
display: inline-block;
|
|
173
|
+
padding: 10px 20px;
|
|
174
|
+
background-color: #7c3aed;
|
|
175
|
+
color: #ffffff !important;
|
|
176
|
+
text-decoration: none;
|
|
177
|
+
border-radius: 6px;
|
|
178
|
+
font-weight: bold;
|
|
179
|
+
font-size: 13px;
|
|
180
|
+
margin-top: 8px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.button:hover {
|
|
184
|
+
background-color: #6d28d9;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.view-all-link {
|
|
188
|
+
text-align: right;
|
|
189
|
+
margin-top: 12px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.view-all-link a {
|
|
193
|
+
color: #7c3aed;
|
|
194
|
+
text-decoration: none;
|
|
195
|
+
font-weight: bold;
|
|
196
|
+
font-size: 14px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.footer {
|
|
200
|
+
background-color: #7c3aed;
|
|
201
|
+
padding: 20px;
|
|
202
|
+
text-align: center;
|
|
203
|
+
font-size: 12px;
|
|
204
|
+
color: #ffffff;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.footer a {
|
|
208
|
+
color: #ffffff;
|
|
209
|
+
text-decoration: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.divider {
|
|
213
|
+
height: 1px;
|
|
214
|
+
background-color: #ebe7db;
|
|
215
|
+
margin: 24px 0;
|
|
216
|
+
}
|
|
217
|
+
</style>
|
|
218
|
+
</head>
|
|
219
|
+
|
|
220
|
+
<body>
|
|
221
|
+
<div class="container">
|
|
222
|
+
<div class="header">
|
|
223
|
+
<img src="https://assets.heliyos.ai/heliyos-logo-white.png" alt="Heliyos AI">
|
|
224
|
+
<div class="header-title">Daily Activity Summary</div>
|
|
225
|
+
<div class="header-date">{{date}}</div>
|
|
226
|
+
</div>
|
|
227
|
+
<div class="content">
|
|
228
|
+
<div class="greeting">
|
|
229
|
+
Hello,<br>
|
|
230
|
+
Here's your daily summary of activities in your Heliyos workspace.
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
{{#if has_org_summary}}
|
|
234
|
+
<div class="org-summary-box">
|
|
235
|
+
<h3>📊 Organization Summary</h3>
|
|
236
|
+
<p>{{org_summary}}</p>
|
|
237
|
+
</div>
|
|
238
|
+
{{/if}}
|
|
239
|
+
|
|
240
|
+
{{#if has_tasks}}
|
|
241
|
+
<div class="section">
|
|
242
|
+
<div class="section-header">
|
|
243
|
+
<h2 class="section-title">✅ Tasks</h2>
|
|
244
|
+
<span class="section-count">{{tasks_count}}</span>
|
|
245
|
+
</div>
|
|
246
|
+
<div class="section-content">
|
|
247
|
+
{{#each tasks}}
|
|
248
|
+
<div class="item">
|
|
249
|
+
<div class="item-title">{{this.title}}</div>
|
|
250
|
+
<div class="item-meta">{{this.type}} • {{this.actor}} • {{this.time}}</div>
|
|
251
|
+
{{#if this.summary}}
|
|
252
|
+
<div class="item-summary">{{this.summary}}</div>
|
|
253
|
+
{{/if}}
|
|
254
|
+
{{#if this.details}}
|
|
255
|
+
<div class="item-details">
|
|
256
|
+
{{#each this.details}}
|
|
257
|
+
<div class="detail-row"><strong>{{this.label}}:</strong> {{this.value}}</div>
|
|
258
|
+
{{/each}}
|
|
259
|
+
</div>
|
|
260
|
+
{{/if}}
|
|
261
|
+
{{#if this.view_url}}
|
|
262
|
+
<div class="item-link">
|
|
263
|
+
<a href="{{this.view_url}}">View in App →</a>
|
|
264
|
+
</div>
|
|
265
|
+
{{/if}}
|
|
266
|
+
</div>
|
|
267
|
+
{{/each}}
|
|
268
|
+
</div>
|
|
269
|
+
<div class="view-all-link">
|
|
270
|
+
<a href="{{tasks_url}}">View all tasks →</a>
|
|
271
|
+
</div>
|
|
272
|
+
</div>
|
|
273
|
+
{{/if}}
|
|
274
|
+
|
|
275
|
+
{{#if has_deals}}
|
|
276
|
+
<div class="section">
|
|
277
|
+
<div class="section-header">
|
|
278
|
+
<h2 class="section-title">💰 Deals</h2>
|
|
279
|
+
<span class="section-count">{{deals_count}}</span>
|
|
280
|
+
</div>
|
|
281
|
+
<div class="section-content">
|
|
282
|
+
{{#each deals}}
|
|
283
|
+
<div class="item">
|
|
284
|
+
<div class="item-title">{{this.title}}</div>
|
|
285
|
+
<div class="item-meta">{{this.type}} • {{this.actor}} • {{this.time}}</div>
|
|
286
|
+
{{#if this.summary}}
|
|
287
|
+
<div class="item-summary">{{this.summary}}</div>
|
|
288
|
+
{{/if}}
|
|
289
|
+
{{#if this.details}}
|
|
290
|
+
<div class="item-details">
|
|
291
|
+
{{#each this.details}}
|
|
292
|
+
<div class="detail-row"><strong>{{this.label}}:</strong> {{this.value}}</div>
|
|
293
|
+
{{/each}}
|
|
294
|
+
</div>
|
|
295
|
+
{{/if}}
|
|
296
|
+
{{#if this.view_url}}
|
|
297
|
+
<div class="item-link">
|
|
298
|
+
<a href="{{this.view_url}}">View in App →</a>
|
|
299
|
+
</div>
|
|
300
|
+
{{/if}}
|
|
301
|
+
</div>
|
|
302
|
+
{{/each}}
|
|
303
|
+
</div>
|
|
304
|
+
<div class="view-all-link">
|
|
305
|
+
<a href="{{deals_url}}">View all deals →</a>
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
{{/if}}
|
|
309
|
+
|
|
310
|
+
{{#if has_approvals}}
|
|
311
|
+
<div class="section">
|
|
312
|
+
<div class="section-header">
|
|
313
|
+
<h2 class="section-title">✔️ Approvals</h2>
|
|
314
|
+
<span class="section-count">{{approvals_count}}</span>
|
|
315
|
+
</div>
|
|
316
|
+
<div class="section-content">
|
|
317
|
+
{{#each approvals}}
|
|
318
|
+
<div class="item">
|
|
319
|
+
<div class="item-title">{{this.title}}</div>
|
|
320
|
+
<div class="item-meta">{{this.status}} • {{this.actor}} • {{this.time}}</div>
|
|
321
|
+
{{#if this.summary}}
|
|
322
|
+
<div class="item-summary">{{this.summary}}</div>
|
|
323
|
+
{{/if}}
|
|
324
|
+
{{#if this.details}}
|
|
325
|
+
<div class="item-details">
|
|
326
|
+
{{#each this.details}}
|
|
327
|
+
<div class="detail-row"><strong>{{this.label}}:</strong> {{this.value}}</div>
|
|
328
|
+
{{/each}}
|
|
329
|
+
</div>
|
|
330
|
+
{{/if}}
|
|
331
|
+
{{#if this.view_url}}
|
|
332
|
+
<div class="item-link">
|
|
333
|
+
<a href="{{this.view_url}}">View in App →</a>
|
|
334
|
+
</div>
|
|
335
|
+
{{/if}}
|
|
336
|
+
</div>
|
|
337
|
+
{{/each}}
|
|
338
|
+
</div>
|
|
339
|
+
<div class="view-all-link">
|
|
340
|
+
<a href="{{approvals_url}}">View all approvals →</a>
|
|
341
|
+
</div>
|
|
342
|
+
</div>
|
|
343
|
+
{{/if}}
|
|
344
|
+
|
|
345
|
+
{{#if has_leadsets}}
|
|
346
|
+
<div class="section">
|
|
347
|
+
<div class="section-header">
|
|
348
|
+
<h2 class="section-title">📋 Leadsets</h2>
|
|
349
|
+
<span class="section-count">{{leadsets_count}}</span>
|
|
350
|
+
</div>
|
|
351
|
+
<div class="section-content">
|
|
352
|
+
{{#each leadsets}}
|
|
353
|
+
<div class="item">
|
|
354
|
+
<div class="item-title">{{this.title}}</div>
|
|
355
|
+
<div class="item-meta">{{this.records_count}} records available • {{this.time}}</div>
|
|
356
|
+
{{#if this.summary}}
|
|
357
|
+
<div class="item-summary">{{this.summary}}</div>
|
|
358
|
+
{{/if}}
|
|
359
|
+
{{#if this.details}}
|
|
360
|
+
<div class="item-details">
|
|
361
|
+
{{#each this.details}}
|
|
362
|
+
<div class="detail-row"><strong>{{this.label}}:</strong> {{this.value}}</div>
|
|
363
|
+
{{/each}}
|
|
364
|
+
</div>
|
|
365
|
+
{{/if}}
|
|
366
|
+
{{#if this.view_url}}
|
|
367
|
+
<div class="item-link">
|
|
368
|
+
<a href="{{this.view_url}}">View in App →</a>
|
|
369
|
+
</div>
|
|
370
|
+
{{/if}}
|
|
371
|
+
</div>
|
|
372
|
+
{{/each}}
|
|
373
|
+
</div>
|
|
374
|
+
<div class="view-all-link">
|
|
375
|
+
<a href="{{leadsets_url}}">View all leadsets →</a>
|
|
376
|
+
</div>
|
|
377
|
+
</div>
|
|
378
|
+
{{/if}}
|
|
379
|
+
|
|
380
|
+
<div class="divider"></div>
|
|
381
|
+
|
|
382
|
+
<p style="text-align: center; color: #5c5545; font-size: 14px;">
|
|
383
|
+
You received this email because you have daily notifications enabled.<br>
|
|
384
|
+
<a href="{{settings_url}}" style="color: #7c3aed;">Manage your notification preferences</a>
|
|
385
|
+
</p>
|
|
386
|
+
</div>
|
|
387
|
+
<div class="footer">
|
|
388
|
+
<p>© {{year}} {{company_name}}. All rights reserved.</p>
|
|
389
|
+
<p>
|
|
390
|
+
<a href="{{settings_url}}">Notification Settings</a> |
|
|
391
|
+
This is an automated message, please do not reply.
|
|
392
|
+
</p>
|
|
393
|
+
</div>
|
|
394
|
+
</div>
|
|
395
|
+
</body>
|
|
396
|
+
|
|
397
|
+
</html>
|