@company-semantics/contracts 27.12.0 → 27.13.0

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.
@@ -0,0 +1,973 @@
1
+ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
2
+
3
+ exports[`email render > auth.otp · Default 1`] = `
4
+ {
5
+ "html": "<!DOCTYPE html>
6
+ <html lang="en">
7
+ <head><meta charset="UTF-8"></head>
8
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
9
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Copy/paste code in login form:</p>
10
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; border-radius: 0; margin: 0 0 20px 0;">
11
+ <tr><td style="padding: 20px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; letter-spacing: 4px;">
12
+ <b>&gt;&gt; 123456 &lt;&lt;</b>
13
+ </td></tr>
14
+ </table>
15
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Status: <b>VALID</b></p>
16
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">Expires in: <b>10 mins</b></p>
17
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This code was generated to authorize a login to Company Semantics.<br>It expires automatically and cannot be reused.</p>
18
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">If this wasn't you, no action is required.</p>
19
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
20
+ </body>
21
+ </html>",
22
+ "subject": "Your login code",
23
+ "text": "Your login code is below.
24
+ +------------------+
25
+ | |
26
+ | 123456 |
27
+ | |
28
+ +------------------+
29
+ This code expires in 10 minutes.
30
+
31
+ If you didn't request this code, you can safely ignore this email.
32
+ ---
33
+ Company Semantics
34
+ Questions? Contact support@companysemantics.ai
35
+ ",
36
+ }
37
+ `;
38
+
39
+ exports[`email render > auth.otp · Short expiry 1`] = `
40
+ {
41
+ "html": "<!DOCTYPE html>
42
+ <html lang="en">
43
+ <head><meta charset="UTF-8"></head>
44
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
45
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Copy/paste code in login form:</p>
46
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; border-radius: 0; margin: 0 0 20px 0;">
47
+ <tr><td style="padding: 20px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; letter-spacing: 4px;">
48
+ <b>&gt;&gt; 902413 &lt;&lt;</b>
49
+ </td></tr>
50
+ </table>
51
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Status: <b>VALID</b></p>
52
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">Expires in: <b>1 min</b></p>
53
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This code was generated to authorize a login to Company Semantics.<br>It expires automatically and cannot be reused.</p>
54
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">If this wasn't you, no action is required.</p>
55
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
56
+ </body>
57
+ </html>",
58
+ "subject": "Your login code",
59
+ "text": "Your login code is below.
60
+ +------------------+
61
+ | |
62
+ | 902413 |
63
+ | |
64
+ +------------------+
65
+ This code expires in 1 minute.
66
+
67
+ If you didn't request this code, you can safely ignore this email.
68
+ ---
69
+ Company Semantics
70
+ Questions? Contact support@companysemantics.ai
71
+ ",
72
+ }
73
+ `;
74
+
75
+ exports[`email render > auth.otp · With request metadata 1`] = `
76
+ {
77
+ "html": "<!DOCTYPE html>
78
+ <html lang="en">
79
+ <head><meta charset="UTF-8"></head>
80
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
81
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Copy/paste code in login form:</p>
82
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; border-radius: 0; margin: 0 0 20px 0;">
83
+ <tr><td style="padding: 20px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; letter-spacing: 4px;">
84
+ <b>&gt;&gt; 246810 &lt;&lt;</b>
85
+ </td></tr>
86
+ </table>
87
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Status: <b>VALID</b></p>
88
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">Expires in: <b>5 mins</b></p>
89
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This code was generated to authorize a login to Company Semantics.<br>It expires automatically and cannot be reused.</p>
90
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">If this wasn't you, no action is required.</p>
91
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
92
+ </body>
93
+ </html>",
94
+ "subject": "Your login code",
95
+ "text": "Your login code is below.
96
+ +------------------+
97
+ | |
98
+ | 246810 |
99
+ | |
100
+ +------------------+
101
+ This code expires in 5 minutes.
102
+
103
+ Request details:
104
+ IP address: 203.0.113.4
105
+ Device: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
106
+
107
+ If you didn't request this code, you can safely ignore this email.
108
+ ---
109
+ Company Semantics
110
+ Questions? Contact support@companysemantics.ai
111
+ ",
112
+ }
113
+ `;
114
+
115
+ exports[`email render > chat.shared · Default 1`] = `
116
+ {
117
+ "html": "<!DOCTYPE html>
118
+ <html lang="en">
119
+ <head><meta charset="UTF-8"></head>
120
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
121
+ <p style="margin: 0 0 20px 0; font-size: 14px;">A chat has been shared with you.</p>
122
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 16px 0;">
123
+ <tr>
124
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 0 12px; padding: 10px 14px; min-width: 280px; text-align: right; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">API design discussion</td>
125
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-left: 8px; vertical-align: bottom;">(•̀_ರ╮)</td>
126
+ </tr>
127
+ </table><table cellpadding="0" cellspacing="0" border="0" style="margin: 16px 0;">
128
+ <tr>
129
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-right: 8px; vertical-align: top;">[c_S]</td>
130
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 12px 0; padding: 10px 14px; min-width: 280px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">Here are my thoughts on the REST API design for the new authenticat...</td>
131
+ </tr>
132
+ </table>
133
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; margin: 0 0 16px 0; max-width: 320px; text-align: center;">⋮</p>
134
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 200px;">
135
+ <tr><td style="padding: 12px 20px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px;">
136
+ <a href="https://app.companysemantics.ai/share/abc123" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; SEE MORE &lt;&lt;</b></a>
137
+ </td></tr>
138
+ </table>
139
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This share was sent via Company Semantics.</p>
140
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">If you weren't expecting this, no action is required.</p>
141
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
142
+ </body>
143
+ </html>",
144
+ "subject": "A chat has been shared with you",
145
+ "text": "A chat has been shared with you.
146
+
147
+ ┌────────────────────────────────────┐
148
+ │ API design discussion │ (•̀_ರ╮)
149
+ └────────────────────────────────────┘
150
+
151
+ ┌──────────────────────────────────────┐
152
+ [c_S] │ Here are my thoughts on the REST API │
153
+ │ design for the new authenticatio... │
154
+ └──────────────────────────────────────┘
155
+
156
+
157
+
158
+ *--------------------*
159
+ | |
160
+ | >> SEE MORE << |
161
+ | |
162
+ *--------------------*
163
+
164
+ https://app.companysemantics.ai/share/abc123
165
+
166
+ This share was sent via Company Semantics.
167
+
168
+ If you weren't expecting this, no action is required.
169
+ ---
170
+ Company Semantics
171
+ Questions? Contact support@companysemantics.ai
172
+ ",
173
+ }
174
+ `;
175
+
176
+ exports[`email render > chat.shared · Long preview 1`] = `
177
+ {
178
+ "html": "<!DOCTYPE html>
179
+ <html lang="en">
180
+ <head><meta charset="UTF-8"></head>
181
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
182
+ <p style="margin: 0 0 20px 0; font-size: 14px;">A chat has been shared with you.</p>
183
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 16px 0;">
184
+ <tr>
185
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 0 12px; padding: 10px 14px; min-width: 280px; text-align: right; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">Code review feedback</td>
186
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-left: 8px; vertical-align: bottom;">(•̀_ರ╮)</td>
187
+ </tr>
188
+ </table><table cellpadding="0" cellspacing="0" border="0" style="margin: 16px 0;">
189
+ <tr>
190
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-right: 8px; vertical-align: top;">[c_S]</td>
191
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 12px 0; padding: 10px 14px; min-width: 280px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">I reviewed the pull request and found several areas that need impro...</td>
192
+ </tr>
193
+ </table>
194
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; margin: 0 0 16px 0; max-width: 320px; text-align: center;">⋮</p>
195
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 200px;">
196
+ <tr><td style="padding: 12px 20px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px;">
197
+ <a href="https://app.companysemantics.ai/share/preview789" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; SEE MORE &lt;&lt;</b></a>
198
+ </td></tr>
199
+ </table>
200
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This share was sent via Company Semantics.</p>
201
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">If you weren't expecting this, no action is required.</p>
202
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
203
+ </body>
204
+ </html>",
205
+ "subject": "A chat has been shared with you",
206
+ "text": "A chat has been shared with you.
207
+
208
+ ┌────────────────────────────────────┐
209
+ │ Code review feedback │ (•̀_ರ╮)
210
+ └────────────────────────────────────┘
211
+
212
+ ┌──────────────────────────────────────┐
213
+ [c_S] │ I reviewed the pull request and │
214
+ │ found several areas that need │
215
+ └──────────────────────────────────────┘
216
+
217
+
218
+
219
+ *--------------------*
220
+ | |
221
+ | >> SEE MORE << |
222
+ | |
223
+ *--------------------*
224
+
225
+ https://app.companysemantics.ai/share/preview789
226
+
227
+ This share was sent via Company Semantics.
228
+
229
+ If you weren't expecting this, no action is required.
230
+ ---
231
+ Company Semantics
232
+ Questions? Contact support@companysemantics.ai
233
+ ",
234
+ }
235
+ `;
236
+
237
+ exports[`email render > chat.shared · Long title 1`] = `
238
+ {
239
+ "html": "<!DOCTYPE html>
240
+ <html lang="en">
241
+ <head><meta charset="UTF-8"></head>
242
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
243
+ <p style="margin: 0 0 20px 0; font-size: 14px;">A chat has been shared with you.</p>
244
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 16px 0;">
245
+ <tr>
246
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 0 12px; padding: 10px 14px; min-width: 280px; text-align: right; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">This is a very long chat ti...</td>
247
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-left: 8px; vertical-align: bottom;">(•̀_ರ╮)</td>
248
+ </tr>
249
+ </table><table cellpadding="0" cellspacing="0" border="0" style="margin: 16px 0;">
250
+ <tr>
251
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-right: 8px; vertical-align: top;">[c_S]</td>
252
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 12px 0; padding: 10px 14px; min-width: 280px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">The assistant response preview text.</td>
253
+ </tr>
254
+ </table>
255
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; margin: 0 0 16px 0; max-width: 320px; text-align: center;">⋮</p>
256
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 200px;">
257
+ <tr><td style="padding: 12px 20px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px;">
258
+ <a href="https://app.companysemantics.ai/share/long456" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; SEE MORE &lt;&lt;</b></a>
259
+ </td></tr>
260
+ </table>
261
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This share was sent via Company Semantics.</p>
262
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">If you weren't expecting this, no action is required.</p>
263
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
264
+ </body>
265
+ </html>",
266
+ "subject": "A chat has been shared with you",
267
+ "text": "A chat has been shared with you.
268
+
269
+ ┌────────────────────────────────────┐
270
+ │ This is a very long chat ti... │ (•̀_ರ╮)
271
+ └────────────────────────────────────┘
272
+
273
+ ┌──────────────────────────────────────┐
274
+ [c_S] │ The assistant response preview text. │
275
+ └──────────────────────────────────────┘
276
+
277
+
278
+
279
+ *--------------------*
280
+ | |
281
+ | >> SEE MORE << |
282
+ | |
283
+ *--------------------*
284
+
285
+ https://app.companysemantics.ai/share/long456
286
+
287
+ This share was sent via Company Semantics.
288
+
289
+ If you weren't expecting this, no action is required.
290
+ ---
291
+ Company Semantics
292
+ Questions? Contact support@companysemantics.ai
293
+ ",
294
+ }
295
+ `;
296
+
297
+ exports[`email render > chat.shared · No preview 1`] = `
298
+ {
299
+ "html": "<!DOCTYPE html>
300
+ <html lang="en">
301
+ <head><meta charset="UTF-8"></head>
302
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
303
+ <p style="margin: 0 0 20px 0; font-size: 14px;">A chat has been shared with you.</p>
304
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 16px 0;">
305
+ <tr>
306
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 0 12px; padding: 10px 14px; min-width: 280px; text-align: right; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">Quick sync notes</td>
307
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-left: 8px; vertical-align: bottom;">(•̀_ರ╮)</td>
308
+ </tr>
309
+ </table>
310
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; margin: 0 0 16px 0; max-width: 320px; text-align: center;">⋮</p>
311
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 200px;">
312
+ <tr><td style="padding: 12px 20px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px;">
313
+ <a href="https://app.companysemantics.ai/share/xyz789" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; SEE MORE &lt;&lt;</b></a>
314
+ </td></tr>
315
+ </table>
316
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This share was sent via Company Semantics.</p>
317
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">If you weren't expecting this, no action is required.</p>
318
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
319
+ </body>
320
+ </html>",
321
+ "subject": "A chat has been shared with you",
322
+ "text": "A chat has been shared with you.
323
+
324
+ ┌────────────────────────────────────┐
325
+ │ Quick sync notes │ (•̀_ರ╮)
326
+ └────────────────────────────────────┘
327
+
328
+
329
+
330
+ *--------------------*
331
+ | |
332
+ | >> SEE MORE << |
333
+ | |
334
+ *--------------------*
335
+
336
+ https://app.companysemantics.ai/share/xyz789
337
+
338
+ This share was sent via Company Semantics.
339
+
340
+ If you weren't expecting this, no action is required.
341
+ ---
342
+ Company Semantics
343
+ Questions? Contact support@companysemantics.ai
344
+ ",
345
+ }
346
+ `;
347
+
348
+ exports[`email render > chat.shared · Short 1`] = `
349
+ {
350
+ "html": "<!DOCTYPE html>
351
+ <html lang="en">
352
+ <head><meta charset="UTF-8"></head>
353
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
354
+ <p style="margin: 0 0 20px 0; font-size: 14px;">A chat has been shared with you.</p>
355
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 16px 0;">
356
+ <tr>
357
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 0 12px; padding: 10px 14px; min-width: 280px; text-align: right; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">Hi</td>
358
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-left: 8px; vertical-align: bottom;">(•̀_ರ╮)</td>
359
+ </tr>
360
+ </table><table cellpadding="0" cellspacing="0" border="0" style="margin: 16px 0;">
361
+ <tr>
362
+ <td style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; padding-right: 8px; vertical-align: top;">[c_S]</td>
363
+ <td style="border: 1px solid #1a1a1a; border-radius: 12px 12px 12px 0; padding: 10px 14px; min-width: 280px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">Hello!</td>
364
+ </tr>
365
+ </table>
366
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 20px; margin: 0 0 16px 0; max-width: 320px; text-align: center;">⋮</p>
367
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 200px;">
368
+ <tr><td style="padding: 12px 20px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px;">
369
+ <a href="https://app.companysemantics.ai/share/short123" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; SEE MORE &lt;&lt;</b></a>
370
+ </td></tr>
371
+ </table>
372
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This share was sent via Company Semantics.</p>
373
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">If you weren't expecting this, no action is required.</p>
374
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
375
+ </body>
376
+ </html>",
377
+ "subject": "A chat has been shared with you",
378
+ "text": "A chat has been shared with you.
379
+
380
+ ┌────────────────────────────────────┐
381
+ │ Hi │ (•̀_ರ╮)
382
+ └────────────────────────────────────┘
383
+
384
+ ┌──────────────────────────────────────┐
385
+ [c_S] │ Hello! │
386
+ └──────────────────────────────────────┘
387
+
388
+
389
+
390
+ *--------------------*
391
+ | |
392
+ | >> SEE MORE << |
393
+ | |
394
+ *--------------------*
395
+
396
+ https://app.companysemantics.ai/share/short123
397
+
398
+ This share was sent via Company Semantics.
399
+
400
+ If you weren't expecting this, no action is required.
401
+ ---
402
+ Company Semantics
403
+ Questions? Contact support@companysemantics.ai
404
+ ",
405
+ }
406
+ `;
407
+
408
+ exports[`email render > companyMd.access_request_approved · Editor 1`] = `
409
+ {
410
+ "html": "<!DOCTYPE html>
411
+ <html lang="en">
412
+ <head><meta charset="UTF-8"></head>
413
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
414
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
415
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> approved your request to access <b>"Engineering Handbook"</b> &mdash; you can edit.</p>
416
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
417
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
418
+ <a href="https://app.companysemantics.ai/doc/handbook" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; OPEN &lt;&lt;</b></a>
419
+ </td></tr>
420
+ </table>
421
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">This notification was sent via Company Semantics.</p>
422
+ </body>
423
+ </html>",
424
+ "subject": "Your access request was approved",
425
+ "text": "Hi,
426
+
427
+ Jordan Lee approved your request to access "Engineering Handbook" — you can edit.
428
+
429
+ *--------------------*
430
+ | |
431
+ | >> OPEN << |
432
+ | |
433
+ *--------------------*
434
+
435
+ https://app.companysemantics.ai/doc/handbook
436
+
437
+ This notification was sent via Company Semantics.
438
+ ---
439
+ Company Semantics
440
+ Questions? Contact support@companysemantics.ai
441
+ ",
442
+ }
443
+ `;
444
+
445
+ exports[`email render > companyMd.access_request_approved · Viewer 1`] = `
446
+ {
447
+ "html": "<!DOCTYPE html>
448
+ <html lang="en">
449
+ <head><meta charset="UTF-8"></head>
450
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
451
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
452
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> approved your request to access <b>"Engineering Handbook"</b> &mdash; you can view.</p>
453
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
454
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
455
+ <a href="https://app.companysemantics.ai/doc/handbook" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; OPEN &lt;&lt;</b></a>
456
+ </td></tr>
457
+ </table>
458
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">This notification was sent via Company Semantics.</p>
459
+ </body>
460
+ </html>",
461
+ "subject": "Your access request was approved",
462
+ "text": "Hi,
463
+
464
+ Jordan Lee approved your request to access "Engineering Handbook" — you can view.
465
+
466
+ *--------------------*
467
+ | |
468
+ | >> OPEN << |
469
+ | |
470
+ *--------------------*
471
+
472
+ https://app.companysemantics.ai/doc/handbook
473
+
474
+ This notification was sent via Company Semantics.
475
+ ---
476
+ Company Semantics
477
+ Questions? Contact support@companysemantics.ai
478
+ ",
479
+ }
480
+ `;
481
+
482
+ exports[`email render > companyMd.access_request_denied · No reason 1`] = `
483
+ {
484
+ "html": "<!DOCTYPE html>
485
+ <html lang="en">
486
+ <head><meta charset="UTF-8"></head>
487
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
488
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
489
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> declined your request to access <b>"Engineering Handbook"</b>.</p>
490
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">This notification was sent via Company Semantics.</p>
491
+ </body>
492
+ </html>",
493
+ "subject": "Your access request was reviewed",
494
+ "text": "Hi,
495
+
496
+ Jordan Lee declined your request to access "Engineering Handbook".
497
+
498
+ This notification was sent via Company Semantics.
499
+ ---
500
+ Company Semantics
501
+ Questions? Contact support@companysemantics.ai
502
+ ",
503
+ }
504
+ `;
505
+
506
+ exports[`email render > companyMd.access_request_denied · With reason 1`] = `
507
+ {
508
+ "html": "<!DOCTYPE html>
509
+ <html lang="en">
510
+ <head><meta charset="UTF-8"></head>
511
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
512
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
513
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> declined your request to access <b>"Engineering Handbook"</b>.</p>
514
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0;">
515
+ <tr><td style="border-left: 2px solid #1a1a1a; padding: 4px 14px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">
516
+ <span style="color: #555;">Reason from Jordan Lee:</span><br>This doc is limited to the platform team for now.
517
+ </td></tr>
518
+ </table>
519
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">This notification was sent via Company Semantics.</p>
520
+ </body>
521
+ </html>",
522
+ "subject": "Your access request was reviewed",
523
+ "text": "Hi,
524
+
525
+ Jordan Lee declined your request to access "Engineering Handbook".
526
+
527
+ Reason from Jordan Lee:
528
+ "This doc is limited to the platform team for now."
529
+
530
+ This notification was sent via Company Semantics.
531
+ ---
532
+ Company Semantics
533
+ Questions? Contact support@companysemantics.ai
534
+ ",
535
+ }
536
+ `;
537
+
538
+ exports[`email render > companyMd.access_requested · No message 1`] = `
539
+ {
540
+ "html": "<!DOCTYPE html>
541
+ <html lang="en">
542
+ <head><meta charset="UTF-8"></head>
543
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
544
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
545
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Sam Chen</b> is requesting access to <b>"Engineering Handbook"</b>.</p>
546
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
547
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
548
+ <a href="https://app.companysemantics.ai/doc/handbook?request=req_456" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; REVIEW &lt;&lt;</b></a>
549
+ </td></tr>
550
+ </table>
551
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>You are receiving this because you own this document.</p>
552
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
553
+ </body>
554
+ </html>",
555
+ "subject": "Someone requested access to a document",
556
+ "text": "Hi,
557
+
558
+ Sam Chen is requesting access to "Engineering Handbook".
559
+
560
+ *--------------------*
561
+ | |
562
+ | >> REVIEW << |
563
+ | |
564
+ *--------------------*
565
+
566
+ https://app.companysemantics.ai/doc/handbook?request=req_456
567
+
568
+ This notification was sent via Company Semantics.
569
+ You are receiving this because you own this document.
570
+ ---
571
+ Company Semantics
572
+ Questions? Contact support@companysemantics.ai
573
+ ",
574
+ }
575
+ `;
576
+
577
+ exports[`email render > companyMd.access_requested · With message 1`] = `
578
+ {
579
+ "html": "<!DOCTYPE html>
580
+ <html lang="en">
581
+ <head><meta charset="UTF-8"></head>
582
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
583
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
584
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Sam Chen</b> is requesting access to <b>"Engineering Handbook"</b>.</p>
585
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0;">
586
+ <tr><td style="border-left: 2px solid #1a1a1a; padding: 4px 14px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">
587
+ <span style="color: #555;">Message from Sam Chen:</span><br>I&#39;d like to contribute the onboarding section.
588
+ </td></tr>
589
+ </table>
590
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
591
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
592
+ <a href="https://app.companysemantics.ai/doc/handbook?request=req_123" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; REVIEW &lt;&lt;</b></a>
593
+ </td></tr>
594
+ </table>
595
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>You are receiving this because you own this document.</p>
596
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
597
+ </body>
598
+ </html>",
599
+ "subject": "Someone requested access to a document",
600
+ "text": "Hi,
601
+
602
+ Sam Chen is requesting access to "Engineering Handbook".
603
+
604
+ Message from Sam Chen:
605
+ "I'd like to contribute the onboarding section."
606
+
607
+ *--------------------*
608
+ | |
609
+ | >> REVIEW << |
610
+ | |
611
+ *--------------------*
612
+
613
+ https://app.companysemantics.ai/doc/handbook?request=req_123
614
+
615
+ This notification was sent via Company Semantics.
616
+ You are receiving this because you own this document.
617
+ ---
618
+ Company Semantics
619
+ Questions? Contact support@companysemantics.ai
620
+ ",
621
+ }
622
+ `;
623
+
624
+ exports[`email render > org.invite · Admin 1`] = `
625
+ {
626
+ "html": "<!DOCTYPE html>
627
+ <html lang="en">
628
+ <head><meta charset="UTF-8"></head>
629
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
630
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Workspace invitation.</p>
631
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0;">
632
+ <tr><td style="padding: 20px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
633
+ <a href="https://app.companysemantics.ai/invite/abc123" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; JOIN &lt;&lt;</b></a>
634
+ </td></tr>
635
+ </table>
636
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">From: <b>Alex Rivera</b></p>
637
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Workspace: <b>Acme Corp</b></p>
638
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Role: <b>admin</b></p>
639
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">Expires in: <b>7 days</b></p>
640
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This invitation was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
641
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
642
+ </body>
643
+ </html>",
644
+ "subject": "You have been invited to join a workspace",
645
+ "text": "Workspace invitation.
646
+ *--------------------*
647
+ | |
648
+ | >> JOIN << |
649
+ | |
650
+ *--------------------*
651
+
652
+ From: Alex Rivera
653
+ Workspace: Acme Corp
654
+ Role: admin
655
+ Expires in: 7 days
656
+
657
+ https://app.companysemantics.ai/invite/abc123
658
+
659
+ This invitation was sent via Company Semantics.
660
+ If you weren't expecting this, no action is required.
661
+ ---
662
+ Company Semantics
663
+ Questions? Contact support@companysemantics.ai
664
+ ",
665
+ }
666
+ `;
667
+
668
+ exports[`email render > org.invite · Member 1`] = `
669
+ {
670
+ "html": "<!DOCTYPE html>
671
+ <html lang="en">
672
+ <head><meta charset="UTF-8"></head>
673
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
674
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Workspace invitation.</p>
675
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0;">
676
+ <tr><td style="padding: 20px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
677
+ <a href="https://app.companysemantics.ai/invite/def456" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; JOIN &lt;&lt;</b></a>
678
+ </td></tr>
679
+ </table>
680
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">From: <b>Alex Rivera</b></p>
681
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Workspace: <b>Acme Corp</b></p>
682
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 4px 0;">Role: <b>member</b></p>
683
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">Expires in: <b>7 days</b></p>
684
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This invitation was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
685
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
686
+ </body>
687
+ </html>",
688
+ "subject": "You have been invited to join a workspace",
689
+ "text": "Workspace invitation.
690
+ *--------------------*
691
+ | |
692
+ | >> JOIN << |
693
+ | |
694
+ *--------------------*
695
+
696
+ From: Alex Rivera
697
+ Workspace: Acme Corp
698
+ Role: member
699
+ Expires in: 7 days
700
+
701
+ https://app.companysemantics.ai/invite/def456
702
+
703
+ This invitation was sent via Company Semantics.
704
+ If you weren't expecting this, no action is required.
705
+ ---
706
+ Company Semantics
707
+ Questions? Contact support@companysemantics.ai
708
+ ",
709
+ }
710
+ `;
711
+
712
+ exports[`email render > org.ownership_transfer · No note 1`] = `
713
+ {
714
+ "subject": "You've been invited to become a workspace owner",
715
+ "text": "You have been invited to become the owner of "Acme Corp".
716
+
717
+ To accept this invitation, please click the link below:
718
+ https://app.companysemantics.ai/owner-transfer/accept/tok456
719
+
720
+ This invitation will expire in 14 days.
721
+
722
+ If you did not expect this invitation, you can safely ignore this email.
723
+ ---
724
+ Company Semantics
725
+ Questions? Contact support@companysemantics.ai
726
+ ",
727
+ }
728
+ `;
729
+
730
+ exports[`email render > org.ownership_transfer · With note 1`] = `
731
+ {
732
+ "subject": "You've been invited to become a workspace owner",
733
+ "text": "You have been invited to become the owner of "Acme Corp".
734
+
735
+ Message from the current owner:
736
+ "Handing this over as I move to an advisory role."
737
+
738
+ To accept this invitation, please click the link below:
739
+ https://app.companysemantics.ai/owner-transfer/accept/tok123
740
+
741
+ This invitation will expire in 14 days.
742
+
743
+ If you did not expect this invitation, you can safely ignore this email.
744
+ ---
745
+ Company Semantics
746
+ Questions? Contact support@companysemantics.ai
747
+ ",
748
+ }
749
+ `;
750
+
751
+ exports[`email render > org.ownership_transfer_completed · Default 1`] = `
752
+ {
753
+ "subject": "Workspace ownership has been transferred",
754
+ "text": "The ownership of "Acme Corp" has been transferred to new.owner@acme.com.
755
+
756
+ You are no longer the owner of this workspace, but you remain an admin.
757
+
758
+ If you did not authorize this transfer, please contact support immediately.
759
+ ---
760
+ Company Semantics
761
+ Questions? Contact support@companysemantics.ai
762
+ ",
763
+ }
764
+ `;
765
+
766
+ exports[`email render > org.unit_owner_granted · Delegate, no message 1`] = `
767
+ {
768
+ "html": "<!DOCTYPE html>
769
+ <html lang="en">
770
+ <head><meta charset="UTF-8"></head>
771
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
772
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
773
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> added you as a <b>Delegate</b> of <b>Platform Engineering</b>.</p>
774
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
775
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
776
+ <a href="https://app.companysemantics.ai/org/unit/42" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; VIEW TEAM &lt;&lt;</b></a>
777
+ </td></tr>
778
+ </table>
779
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
780
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
781
+ </body>
782
+ </html>",
783
+ "subject": "You've been added to a team",
784
+ "text": "Hi,
785
+
786
+ Jordan Lee added you as a Delegate of "Platform Engineering".
787
+
788
+ *--------------------*
789
+ | |
790
+ | >> VIEW TEAM << |
791
+ | |
792
+ *--------------------*
793
+
794
+ https://app.companysemantics.ai/org/unit/42
795
+
796
+ This notification was sent via Company Semantics.
797
+ If you weren't expecting this, no action is required.
798
+ ---
799
+ Company Semantics
800
+ Questions? Contact support@companysemantics.ai
801
+ ",
802
+ }
803
+ `;
804
+
805
+ exports[`email render > org.unit_owner_granted · Unit owner + message 1`] = `
806
+ {
807
+ "html": "<!DOCTYPE html>
808
+ <html lang="en">
809
+ <head><meta charset="UTF-8"></head>
810
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
811
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi Sam Chen,</p>
812
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> added you as a <b>Unit owner</b> of <b>Platform Engineering</b>.</p>
813
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0;">
814
+ <tr><td style="border-left: 2px solid #1a1a1a; padding: 4px 14px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">
815
+ <span style="color: #555;">Message from Jordan Lee:</span><br>Welcome aboard — glad to have you owning this team.
816
+ </td></tr>
817
+ </table>
818
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
819
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
820
+ <a href="https://app.companysemantics.ai/org/unit/42" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; VIEW TEAM &lt;&lt;</b></a>
821
+ </td></tr>
822
+ </table>
823
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
824
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
825
+ </body>
826
+ </html>",
827
+ "subject": "You've been added to a team",
828
+ "text": "Hi Sam Chen,
829
+
830
+ Jordan Lee added you as a Unit owner of "Platform Engineering".
831
+
832
+ Message from Jordan Lee:
833
+ "Welcome aboard — glad to have you owning this team."
834
+
835
+ *--------------------*
836
+ | |
837
+ | >> VIEW TEAM << |
838
+ | |
839
+ *--------------------*
840
+
841
+ https://app.companysemantics.ai/org/unit/42
842
+
843
+ This notification was sent via Company Semantics.
844
+ If you weren't expecting this, no action is required.
845
+ ---
846
+ Company Semantics
847
+ Questions? Contact support@companysemantics.ai
848
+ ",
849
+ }
850
+ `;
851
+
852
+ exports[`email render > security.alert · Excessive OTP requests 1`] = `
853
+ {
854
+ "subject": "Security alert for your account",
855
+ "text": "We detected an unusual number of login code requests for your account.
856
+
857
+ Details: 12 login codes requested in 5 minutes
858
+
859
+ If this was you, no action is needed.
860
+ If you didn't request these codes, someone may be trying to access your account.
861
+ We recommend reviewing your account security.
862
+
863
+ Time: Sun, 12 Jul 2026 14:30:00 GMT
864
+ ---
865
+ Company Semantics Security
866
+ Questions? Contact support@companysemantics.ai
867
+ ",
868
+ }
869
+ `;
870
+
871
+ exports[`email render > security.alert · Unusual login location 1`] = `
872
+ {
873
+ "subject": "Security alert for your account",
874
+ "text": "We detected a login attempt from an unusual location.
875
+
876
+ Details: Login from Berlin, DE
877
+
878
+ If this was you, no action is needed.
879
+ If you didn't attempt to log in, please secure your account immediately.
880
+
881
+ Time: Sun, 12 Jul 2026 14:30:00 GMT
882
+ ---
883
+ Company Semantics Security
884
+ Questions? Contact support@companysemantics.ai
885
+ ",
886
+ }
887
+ `;
888
+
889
+ exports[`email render > share.granted · Document · editor · message 1`] = `
890
+ {
891
+ "html": "<!DOCTYPE html>
892
+ <html lang="en">
893
+ <head><meta charset="UTF-8"></head>
894
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
895
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi Sam Chen,</p>
896
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> shared the document <b>"Q3 Roadmap"</b> with you &mdash; you can edit.</p>
897
+ <table cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0;">
898
+ <tr><td style="border-left: 2px solid #1a1a1a; padding: 4px 14px; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 13px; background: #f5f5f5;">
899
+ <span style="color: #555;">Message from Jordan Lee:</span><br>Take a look before Thursday&#39;s planning.
900
+ </td></tr>
901
+ </table>
902
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
903
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
904
+ <a href="https://app.companysemantics.ai/doc/roadmap" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; OPEN &lt;&lt;</b></a>
905
+ </td></tr>
906
+ </table>
907
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
908
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
909
+ </body>
910
+ </html>",
911
+ "subject": "Something has been shared with you",
912
+ "text": "Hi Sam Chen,
913
+
914
+ Jordan Lee shared the document "Q3 Roadmap" with you — you can edit.
915
+
916
+ Message from Jordan Lee:
917
+ "Take a look before Thursday's planning."
918
+
919
+ *--------------------*
920
+ | |
921
+ | >> OPEN << |
922
+ | |
923
+ *--------------------*
924
+
925
+ https://app.companysemantics.ai/doc/roadmap
926
+
927
+ This notification was sent via Company Semantics.
928
+ If you weren't expecting this, no action is required.
929
+ ---
930
+ Company Semantics
931
+ Questions? Contact support@companysemantics.ai
932
+ ",
933
+ }
934
+ `;
935
+
936
+ exports[`email render > share.granted · Meeting · viewer · no title 1`] = `
937
+ {
938
+ "html": "<!DOCTYPE html>
939
+ <html lang="en">
940
+ <head><meta charset="UTF-8"></head>
941
+ <body style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; color: #1a1a1a; margin: 0; padding: 0;">
942
+ <p style="margin: 0 0 20px 0; font-size: 14px;">Hi,</p>
943
+ <p style="margin: 0 0 20px 0; font-size: 14px;"><b>Jordan Lee</b> shared a meeting with you &mdash; you can view.</p>
944
+ <table cellpadding="0" cellspacing="0" border="0" style="border: 2px solid #1a1a1a; margin: 0 0 20px 0; max-width: 220px;">
945
+ <tr><td style="padding: 16px 24px; text-align: center; font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 16px;">
946
+ <a href="https://app.companysemantics.ai/meeting/8842" style="color: #0047FF; text-decoration: underline;"><b>&gt;&gt; OPEN &lt;&lt;</b></a>
947
+ </td></tr>
948
+ </table>
949
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0 0 20px 0;">This notification was sent via Company Semantics.<br>If you weren't expecting this, no action is required.</p>
950
+ <p style="font-family: 'SF Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace; font-size: 14px; margin: 0;">Company Semantics</p>
951
+ </body>
952
+ </html>",
953
+ "subject": "Something has been shared with you",
954
+ "text": "Hi,
955
+
956
+ Jordan Lee shared a meeting with you — you can view.
957
+
958
+ *--------------------*
959
+ | |
960
+ | >> OPEN << |
961
+ | |
962
+ *--------------------*
963
+
964
+ https://app.companysemantics.ai/meeting/8842
965
+
966
+ This notification was sent via Company Semantics.
967
+ If you weren't expecting this, no action is required.
968
+ ---
969
+ Company Semantics
970
+ Questions? Contact support@companysemantics.ai
971
+ ",
972
+ }
973
+ `;