@aglyn/shared-util-email 1.0.0-beta.218 → 1.0.0-beta.220
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/README.md +58 -19
- package/package.json +3 -3
- package/src/index.d.ts +2 -0
- package/src/index.js +9 -1
- package/src/index.js.map +1 -1
- package/src/lib/email-delivery-events.d.ts +41 -48
- package/src/lib/email-delivery-events.js +18 -247
- package/src/lib/email-delivery-events.js.map +1 -1
- package/src/lib/email-health.d.ts +30 -43
- package/src/lib/email-health.js +45 -141
- package/src/lib/email-health.js.map +1 -1
- package/src/lib/hosted-page-screen.d.ts +27 -0
- package/src/lib/hosted-page-screen.js +228 -23
- package/src/lib/hosted-page-screen.js.map +1 -1
- package/src/lib/mail-provider-resend.d.ts +194 -0
- package/src/lib/mail-provider-resend.js +649 -0
- package/src/lib/mail-provider-resend.js.map +1 -0
- package/src/lib/mail-provider-webhook.d.ts +80 -0
- package/src/lib/mail-provider-webhook.js +156 -0
- package/src/lib/mail-provider-webhook.js.map +1 -0
- package/src/lib/mail-provider.d.ts +148 -0
- package/src/lib/mail-provider.js +84 -0
- package/src/lib/mail-provider.js.map +1 -0
- package/src/lib/mail-providers.d.ts +99 -0
- package/src/lib/mail-providers.js +182 -0
- package/src/lib/mail-providers.js.map +1 -0
- package/src/lib/outbound-phishing-screen.d.ts +80 -3
- package/src/lib/outbound-phishing-screen.js +457 -29
- package/src/lib/outbound-phishing-screen.js.map +1 -1
- package/src/lib/received-email.d.ts +7 -44
- package/src/lib/received-email.js +8 -104
- package/src/lib/received-email.js.map +1 -1
- package/src/lib/risk-notice-catalog.d.ts +32 -2
- package/src/lib/risk-notice-catalog.js +86 -55
- package/src/lib/risk-notice-catalog.js.map +1 -1
- package/src/lib/send-ceilings.d.ts +0 -57
- package/src/lib/send-ceilings.js +0 -47
- package/src/lib/send-ceilings.js.map +1 -1
- package/src/lib/send-email.d.ts +52 -58
- package/src/lib/send-email.js +128 -134
- package/src/lib/send-email.js.map +1 -1
- package/src/lib/send-rate.js +4 -3
- package/src/lib/send-rate.js.map +1 -1
- package/src/lib/sending-domain.d.ts +15 -0
- package/src/lib/sending-domain.js.map +1 -1
- package/src/lib/system-email-catalog.js +37 -11
- package/src/lib/system-email-catalog.js.map +1 -1
- package/src/lib/tenant-email-catalog.d.ts +7 -0
- package/src/lib/tenant-email-catalog.js +10 -591
- package/src/lib/tenant-email-catalog.js.map +1 -1
- package/src/lib/tenant-emails.generated.d.ts +11 -0
- package/src/lib/tenant-emails.generated.js +649 -0
- package/src/lib/tenant-emails.generated.js.map +1 -0
|
@@ -0,0 +1,649 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED FILE — do not edit. Regenerate with:
|
|
3
|
+
* node tools/scripts/generate-plugin-manifests.mjs
|
|
4
|
+
*
|
|
5
|
+
* The emails sites send their own customers (AGL-3080): what each plugin's
|
|
6
|
+
* `tenantEmails` entry returned when this file was generated, in config
|
|
7
|
+
* order. `TENANT_EMAILS` in `tenant-email-catalog.ts` is this list.
|
|
8
|
+
* Source of truth: plugins.config.json and the entries it names.
|
|
9
|
+
*/ export const PLUGIN_TENANT_EMAILS = [
|
|
10
|
+
{
|
|
11
|
+
"key": "booking-confirmed",
|
|
12
|
+
"name": "Booking confirmed",
|
|
13
|
+
"description": "Confirms a booking to the customer, for paid and free services.",
|
|
14
|
+
"pluginId": "bookings",
|
|
15
|
+
"plugin": "Bookings",
|
|
16
|
+
"control": "besigner",
|
|
17
|
+
"defaultSubject": "Booking confirmed: {{service.name}}",
|
|
18
|
+
"mergeTokens": [
|
|
19
|
+
{
|
|
20
|
+
"name": "name",
|
|
21
|
+
"description": "The customer's name",
|
|
22
|
+
"sample": "Alex"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "service.name",
|
|
26
|
+
"description": "The booked service",
|
|
27
|
+
"sample": "Consultation"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "when",
|
|
31
|
+
"description": "Formatted date and time of the booking",
|
|
32
|
+
"sample": "Monday, June 1, 2026 at 9:00 AM"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "timezone",
|
|
36
|
+
"description": "Timezone the time is shown in",
|
|
37
|
+
"sample": "America/Chicago"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "booking.payment",
|
|
41
|
+
"description": "What a paid booking charged, as a sentence; empty for a free booking",
|
|
42
|
+
"sample": "You paid $95.00."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "booking.ref",
|
|
46
|
+
"description": "Booking reference id",
|
|
47
|
+
"sample": "bk_123"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"defaultBody": [
|
|
51
|
+
{
|
|
52
|
+
"block": "text",
|
|
53
|
+
"text": "Booking confirmed",
|
|
54
|
+
"variant": "heading"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"block": "text",
|
|
58
|
+
"text": "Hi {{name}}, your booking with {{host.businessName}} is confirmed: \"{{service.name}}\" on {{when}} ({{timezone}}).",
|
|
59
|
+
"variant": "body"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"block": "text",
|
|
63
|
+
"text": "{{booking.payment}}",
|
|
64
|
+
"variant": "body"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"block": "text",
|
|
68
|
+
"text": "Reference: {{booking.ref}}",
|
|
69
|
+
"variant": "caption"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"footerReason": "You’re receiving this because you booked with {{host.businessName}}."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"key": "booking-reminder",
|
|
76
|
+
"name": "Booking reminder",
|
|
77
|
+
"description": "Reminds the customer of an upcoming booking.",
|
|
78
|
+
"pluginId": "bookings",
|
|
79
|
+
"plugin": "Bookings",
|
|
80
|
+
"control": "besigner",
|
|
81
|
+
"defaultSubject": "Reminder: {{service.name}} is coming up",
|
|
82
|
+
"mergeTokens": [
|
|
83
|
+
{
|
|
84
|
+
"name": "name",
|
|
85
|
+
"description": "The customer's name",
|
|
86
|
+
"sample": "Alex"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "service.name",
|
|
90
|
+
"description": "The booked service",
|
|
91
|
+
"sample": "Consultation"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "when",
|
|
95
|
+
"description": "Formatted date and time of the booking",
|
|
96
|
+
"sample": "Tuesday, June 2, 2026 at 9:00 AM"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "timezone",
|
|
100
|
+
"description": "Timezone the time is shown in",
|
|
101
|
+
"sample": "America/Chicago"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"defaultBody": [
|
|
105
|
+
{
|
|
106
|
+
"block": "text",
|
|
107
|
+
"text": "Hi {{name}}, this is a reminder of your booking with {{host.businessName}}: \"{{service.name}}\" on {{when}} ({{timezone}}).",
|
|
108
|
+
"variant": "body"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"footerReason": "You’re receiving this because you have a booking with {{host.businessName}}."
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "order-receipt",
|
|
115
|
+
"name": "Order receipt",
|
|
116
|
+
"description": "Sent to the buyer after a successful order or checkout.",
|
|
117
|
+
"pluginId": "commerce",
|
|
118
|
+
"plugin": "Commerce",
|
|
119
|
+
"control": "besigner",
|
|
120
|
+
"defaultSubject": "Receipt for your order",
|
|
121
|
+
"mergeTokens": [
|
|
122
|
+
{
|
|
123
|
+
"name": "order.summary",
|
|
124
|
+
"description": "The ordered items, one per line (with any license/download links)",
|
|
125
|
+
"sample": "House Blend × 2 — $24.00"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "order.total",
|
|
129
|
+
"description": "Order total",
|
|
130
|
+
"sample": "$24.00"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "order.ref",
|
|
134
|
+
"description": "Order reference id",
|
|
135
|
+
"sample": "cs_test_123"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "store.receiptFooter",
|
|
139
|
+
"description": "The Receipt footer from the store settings; empty when none is set",
|
|
140
|
+
"sample": "Returns are accepted within 30 days."
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"defaultBody": [
|
|
144
|
+
{
|
|
145
|
+
"block": "text",
|
|
146
|
+
"text": "Thanks for your purchase!",
|
|
147
|
+
"variant": "heading"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"block": "text",
|
|
151
|
+
"text": "Here is the receipt for your order from {{host.businessName}}.",
|
|
152
|
+
"variant": "body"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"block": "text",
|
|
156
|
+
"text": "{{order.summary}}",
|
|
157
|
+
"variant": "body"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"block": "text",
|
|
161
|
+
"text": "Total charged: {{order.total}}",
|
|
162
|
+
"variant": "body"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"block": "text",
|
|
166
|
+
"text": "{{store.receiptFooter}}",
|
|
167
|
+
"variant": "body"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"block": "text",
|
|
171
|
+
"text": "Order reference: {{order.ref}}",
|
|
172
|
+
"variant": "caption"
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
"footerReason": "You’re receiving this because you placed an order with {{host.businessName}}."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"key": "sale-notification",
|
|
179
|
+
"name": "New sale",
|
|
180
|
+
"description": "Notifies the seller when an order is placed.",
|
|
181
|
+
"pluginId": "commerce",
|
|
182
|
+
"plugin": "Commerce",
|
|
183
|
+
"control": "besigner",
|
|
184
|
+
"defaultSubject": "New order on {{site.name}}",
|
|
185
|
+
"mergeTokens": [
|
|
186
|
+
{
|
|
187
|
+
"name": "site.name",
|
|
188
|
+
"description": "The site the sale happened on",
|
|
189
|
+
"sample": "Northwind Coffee"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "order.summary",
|
|
193
|
+
"description": "The ordered items",
|
|
194
|
+
"sample": "House Blend — $12.00"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "order.total",
|
|
198
|
+
"description": "Order total",
|
|
199
|
+
"sample": "$12.00"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "buyer.email",
|
|
203
|
+
"description": "The buyer's email",
|
|
204
|
+
"sample": "buyer@example.com"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "order.ref",
|
|
208
|
+
"description": "Order reference id",
|
|
209
|
+
"sample": "cs_test_123"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"defaultBody": [
|
|
213
|
+
{
|
|
214
|
+
"block": "text",
|
|
215
|
+
"text": "You made a sale",
|
|
216
|
+
"variant": "heading"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"block": "text",
|
|
220
|
+
"text": "A new order came in on {{site.name}}.",
|
|
221
|
+
"variant": "body"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"block": "text",
|
|
225
|
+
"text": "{{order.summary}}",
|
|
226
|
+
"variant": "body"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"block": "text",
|
|
230
|
+
"text": "Total: {{order.total}}",
|
|
231
|
+
"variant": "body"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"block": "text",
|
|
235
|
+
"text": "Buyer: {{buyer.email}} · Order {{order.ref}}",
|
|
236
|
+
"variant": "caption"
|
|
237
|
+
}
|
|
238
|
+
],
|
|
239
|
+
"footerReason": "You’re receiving this because you manage {{host.businessName}}."
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"key": "reservation-confirmed",
|
|
243
|
+
"name": "Reservation confirmed",
|
|
244
|
+
"description": "Confirms a paid reservation to the customer.",
|
|
245
|
+
"pluginId": "commerce",
|
|
246
|
+
"plugin": "Commerce",
|
|
247
|
+
"control": "besigner",
|
|
248
|
+
"defaultSubject": "Reservation confirmed",
|
|
249
|
+
"mergeTokens": [
|
|
250
|
+
{
|
|
251
|
+
"name": "reservation.checkIn",
|
|
252
|
+
"description": "Check-in date",
|
|
253
|
+
"sample": "Mon, 01 Jun 2026"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "reservation.nights",
|
|
257
|
+
"description": "Number of nights",
|
|
258
|
+
"sample": "2"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "reservation.paid",
|
|
262
|
+
"description": "What the guest was charged today, lodging tax included; a charge that carried lodging tax names it, as in “$254.40, including $14.40 lodging tax”",
|
|
263
|
+
"sample": "$240.00"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "reservation.balance",
|
|
267
|
+
"description": "What is still owed for the stay and where it is paid, as a sentence; empty when the stay is paid in full",
|
|
268
|
+
"sample": "Still to pay: $360.00, at the property. It has not been charged."
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "reservation.ref",
|
|
272
|
+
"description": "Reservation reference id",
|
|
273
|
+
"sample": "resv_123"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"defaultBody": [
|
|
277
|
+
{
|
|
278
|
+
"block": "text",
|
|
279
|
+
"text": "Reservation confirmed",
|
|
280
|
+
"variant": "heading"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"block": "text",
|
|
284
|
+
"text": "Your stay at {{host.businessName}} is confirmed.",
|
|
285
|
+
"variant": "body"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"block": "text",
|
|
289
|
+
"text": "Check-in: {{reservation.checkIn}}",
|
|
290
|
+
"variant": "body"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"block": "text",
|
|
294
|
+
"text": "Nights: {{reservation.nights}}",
|
|
295
|
+
"variant": "body"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"block": "text",
|
|
299
|
+
"text": "Paid today: {{reservation.paid}}",
|
|
300
|
+
"variant": "body"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"block": "text",
|
|
304
|
+
"text": "{{reservation.balance}}",
|
|
305
|
+
"variant": "body"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"block": "text",
|
|
309
|
+
"text": "Reference: {{reservation.ref}}",
|
|
310
|
+
"variant": "caption"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"footerReason": "You’re receiving this because you made a reservation with {{host.businessName}}."
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"key": "gift-card",
|
|
317
|
+
"name": "Gift card delivery",
|
|
318
|
+
"description": "Delivers a purchased gift card to its recipient.",
|
|
319
|
+
"pluginId": "commerce",
|
|
320
|
+
"plugin": "Commerce",
|
|
321
|
+
"control": "besigner",
|
|
322
|
+
"defaultSubject": "Your gift card for {{host.businessName}}",
|
|
323
|
+
"mergeTokens": [
|
|
324
|
+
{
|
|
325
|
+
"name": "giftcard.code",
|
|
326
|
+
"description": "The gift card code",
|
|
327
|
+
"sample": "GC-ABC123DEF456"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "giftcard.value",
|
|
331
|
+
"description": "The gift card value",
|
|
332
|
+
"sample": "$25.00"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "giftcard.note",
|
|
336
|
+
"description": "The note written when the card was issued by hand; empty for a card bought at checkout",
|
|
337
|
+
"sample": "Happy birthday, Sam!"
|
|
338
|
+
}
|
|
339
|
+
],
|
|
340
|
+
"defaultBody": [
|
|
341
|
+
{
|
|
342
|
+
"block": "text",
|
|
343
|
+
"text": "Your gift card",
|
|
344
|
+
"variant": "heading"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"block": "text",
|
|
348
|
+
"text": "You have a {{giftcard.value}} gift card for {{host.businessName}}.",
|
|
349
|
+
"variant": "body"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"block": "text",
|
|
353
|
+
"text": "{{giftcard.note}}",
|
|
354
|
+
"variant": "body"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"block": "text",
|
|
358
|
+
"text": "Gift card code: {{giftcard.code}}",
|
|
359
|
+
"variant": "body"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"block": "text",
|
|
363
|
+
"text": "Enter the code at checkout on {{host.url}} to use its balance.",
|
|
364
|
+
"variant": "body"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"block": "button",
|
|
368
|
+
"label": "Visit {{host.businessName}}",
|
|
369
|
+
"href": "{{host.url}}"
|
|
370
|
+
}
|
|
371
|
+
],
|
|
372
|
+
"footerReason": "You’re receiving this because a gift card from {{host.businessName}} was sent to this address."
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"key": "supplier-fulfillment",
|
|
376
|
+
"name": "Supplier fulfillment",
|
|
377
|
+
"description": "Tells a dropship supplier there is a new order to fulfill.",
|
|
378
|
+
"pluginId": "commerce",
|
|
379
|
+
"plugin": "Commerce",
|
|
380
|
+
"control": "fixed"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"key": "back-in-stock",
|
|
384
|
+
"name": "Back in stock",
|
|
385
|
+
"description": "Tells a customer a product they watched is available again.",
|
|
386
|
+
"pluginId": "commerce",
|
|
387
|
+
"plugin": "Commerce",
|
|
388
|
+
"control": "besigner",
|
|
389
|
+
"defaultSubject": "Back in stock: {{product.name}}",
|
|
390
|
+
"mergeTokens": [
|
|
391
|
+
{
|
|
392
|
+
"name": "product.name",
|
|
393
|
+
"description": "The product that restocked",
|
|
394
|
+
"sample": "House Blend"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "product.url",
|
|
398
|
+
"description": "Link to the product page",
|
|
399
|
+
"sample": "https://shop.example.com/products/house-blend"
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"defaultBody": [
|
|
403
|
+
{
|
|
404
|
+
"block": "text",
|
|
405
|
+
"text": "{{product.name}} is back in stock at {{host.businessName}}.",
|
|
406
|
+
"variant": "body"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"block": "button",
|
|
410
|
+
"label": "View product",
|
|
411
|
+
"href": "{{product.url}}"
|
|
412
|
+
}
|
|
413
|
+
],
|
|
414
|
+
"footerReason": "You’re receiving this because you asked {{host.businessName}} to tell you when this was back."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"key": "abandoned-cart",
|
|
418
|
+
"name": "Abandoned cart",
|
|
419
|
+
"description": "Reminds a shopper of items left in their cart.",
|
|
420
|
+
"requiresFeature": "abandonedCart",
|
|
421
|
+
"pluginId": "commerce",
|
|
422
|
+
"plugin": "Commerce",
|
|
423
|
+
"control": "besigner",
|
|
424
|
+
"defaultSubject": "You left something in your cart",
|
|
425
|
+
"mergeTokens": [
|
|
426
|
+
{
|
|
427
|
+
"name": "cart.url",
|
|
428
|
+
"description": "Link back to the shopper cart",
|
|
429
|
+
"sample": "https://shop.example.com/cart"
|
|
430
|
+
}
|
|
431
|
+
],
|
|
432
|
+
"defaultBody": [
|
|
433
|
+
{
|
|
434
|
+
"block": "text",
|
|
435
|
+
"text": "You left items in your cart at {{host.businessName}}. Pick up where you left off.",
|
|
436
|
+
"variant": "body"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"block": "button",
|
|
440
|
+
"label": "Return to cart",
|
|
441
|
+
"href": "{{cart.url}}"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"block": "text",
|
|
445
|
+
"text": "Nothing in your cart is held for you.",
|
|
446
|
+
"variant": "caption"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"footerReason": "You’re receiving this because you started a checkout with {{host.businessName}}."
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"key": "member-post",
|
|
453
|
+
"name": "New member post",
|
|
454
|
+
"description": "Notifies members when new members-only content is posted.",
|
|
455
|
+
"pluginId": "commerce",
|
|
456
|
+
"plugin": "Commerce",
|
|
457
|
+
"control": "besigner",
|
|
458
|
+
"defaultSubject": "{{post.title}}",
|
|
459
|
+
"mergeTokens": [
|
|
460
|
+
{
|
|
461
|
+
"name": "post.title",
|
|
462
|
+
"description": "The post’s title",
|
|
463
|
+
"sample": "This month in the studio"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"name": "post.body",
|
|
467
|
+
"description": "The post, as its author wrote it",
|
|
468
|
+
"sample": "Three new pieces are up for members first."
|
|
469
|
+
}
|
|
470
|
+
],
|
|
471
|
+
"defaultBody": [
|
|
472
|
+
{
|
|
473
|
+
"block": "text",
|
|
474
|
+
"text": "{{post.title}}",
|
|
475
|
+
"variant": "heading"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"block": "text",
|
|
479
|
+
"text": "{{post.body}}",
|
|
480
|
+
"variant": "body"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"footerReason": "You’re receiving this because you’re a member of {{host.businessName}}."
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"key": "member-password-reset",
|
|
487
|
+
"name": "Member password reset",
|
|
488
|
+
"description": "Resets a site member's password — a store-member account, separate from a console login. Sent when the member asks, and when a site administrator starts a reset for them.",
|
|
489
|
+
"pluginId": "commerce",
|
|
490
|
+
"plugin": "Commerce",
|
|
491
|
+
"control": "besigner",
|
|
492
|
+
"defaultSubject": "Reset your {{site.name}} password",
|
|
493
|
+
"mergeTokens": [
|
|
494
|
+
{
|
|
495
|
+
"name": "site.name",
|
|
496
|
+
"description": "The site’s name",
|
|
497
|
+
"sample": "Northwind Coffee"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "reset.intro",
|
|
501
|
+
"description": "Who started the reset",
|
|
502
|
+
"sample": "Someone asked to reset the password for your Northwind Coffee account."
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "resetUrl",
|
|
506
|
+
"description": "The one-time reset link",
|
|
507
|
+
"sample": "https://shop.example.com/recover?token=…"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"name": "reset.note",
|
|
511
|
+
"description": "How long the link lasts, and what to do if unexpected",
|
|
512
|
+
"sample": "The link works once and expires in 1 hour. If you did not ask for this, you can safely ignore this email — your password is unchanged."
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"defaultBody": [
|
|
516
|
+
{
|
|
517
|
+
"block": "text",
|
|
518
|
+
"text": "Reset your password",
|
|
519
|
+
"variant": "heading"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"block": "text",
|
|
523
|
+
"text": "{{reset.intro}}",
|
|
524
|
+
"variant": "body"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"block": "button",
|
|
528
|
+
"label": "Set a new password",
|
|
529
|
+
"href": "{{resetUrl}}"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"block": "text",
|
|
533
|
+
"text": "{{reset.note}}",
|
|
534
|
+
"variant": "caption"
|
|
535
|
+
}
|
|
536
|
+
],
|
|
537
|
+
"footerReason": "You’re receiving this because a password reset was started for your {{host.businessName}} account."
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"key": "member-password-changed",
|
|
541
|
+
"name": "Member password changed",
|
|
542
|
+
"description": "Tells a site member that a site administrator set a new password on their account.",
|
|
543
|
+
"pluginId": "commerce",
|
|
544
|
+
"plugin": "Commerce",
|
|
545
|
+
"control": "besigner",
|
|
546
|
+
"defaultSubject": "Your {{site.name}} password was changed",
|
|
547
|
+
"mergeTokens": [
|
|
548
|
+
{
|
|
549
|
+
"name": "site.name",
|
|
550
|
+
"description": "The site’s name",
|
|
551
|
+
"sample": "Northwind Coffee"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"name": "signInUrl",
|
|
555
|
+
"description": "Where the member signs back in",
|
|
556
|
+
"sample": "https://shop.example.com"
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
"defaultBody": [
|
|
560
|
+
{
|
|
561
|
+
"block": "text",
|
|
562
|
+
"text": "Your password was changed",
|
|
563
|
+
"variant": "heading"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"block": "text",
|
|
567
|
+
"text": "An administrator of {{site.name}} set a new password on your account and signed you out on every device. To sign back in, get the new password from them, or choose \"Forgot password?\" on the sign-in page to set your own.",
|
|
568
|
+
"variant": "body"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"block": "button",
|
|
572
|
+
"label": "Sign in",
|
|
573
|
+
"href": "{{signInUrl}}"
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
"block": "text",
|
|
577
|
+
"text": "If you did not expect this, contact the site owner.",
|
|
578
|
+
"variant": "caption"
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"footerReason": "You’re receiving this because the password on your {{host.businessName}} account was changed."
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"key": "newsletter-confirmation",
|
|
585
|
+
"name": "Subscription confirmation",
|
|
586
|
+
"description": "Asks someone who signed up for a site’s emails to confirm the address before anything is sent to it.",
|
|
587
|
+
"pluginId": "commerce",
|
|
588
|
+
"plugin": "Commerce",
|
|
589
|
+
"control": "besigner",
|
|
590
|
+
"defaultSubject": "Confirm your subscription",
|
|
591
|
+
"mergeTokens": [
|
|
592
|
+
{
|
|
593
|
+
"name": "stream.name",
|
|
594
|
+
"description": "What they signed up for",
|
|
595
|
+
"sample": "Newsletter"
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"name": "confirmUrl",
|
|
599
|
+
"description": "The confirmation link",
|
|
600
|
+
"sample": "https://shop.example.com/subscribe/confirm?token=…"
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"defaultBody": [
|
|
604
|
+
{
|
|
605
|
+
"block": "text",
|
|
606
|
+
"text": "Confirm your subscription",
|
|
607
|
+
"variant": "heading"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"block": "text",
|
|
611
|
+
"text": "Please confirm that you want to get {{stream.name}} emails from {{host.businessName}} at this address.",
|
|
612
|
+
"variant": "body"
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
"block": "button",
|
|
616
|
+
"label": "Confirm my subscription",
|
|
617
|
+
"href": "{{confirmUrl}}"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"block": "text",
|
|
621
|
+
"text": "The link works for three days. If you did not sign up, ignore this message — nothing will be sent.",
|
|
622
|
+
"variant": "caption"
|
|
623
|
+
}
|
|
624
|
+
],
|
|
625
|
+
"footerReason": "You’re receiving this because this address was entered on {{host.businessName}}’s signup form."
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"key": "campaign",
|
|
629
|
+
"name": "Campaign broadcast",
|
|
630
|
+
"description": "A campaign sent to the site's subscriber list.",
|
|
631
|
+
"pluginId": "marketing",
|
|
632
|
+
"plugin": "Marketing",
|
|
633
|
+
"control": "external",
|
|
634
|
+
"authoredIn": "Marketing → Campaigns",
|
|
635
|
+
"footerReason": "You’re receiving this email from {{host.businessName}}."
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"key": "workflow-email",
|
|
639
|
+
"name": "Workflow email step",
|
|
640
|
+
"description": "An email sent by a workflow's send-email action when its trigger fires.",
|
|
641
|
+
"pluginId": "workflows",
|
|
642
|
+
"plugin": "Workflows",
|
|
643
|
+
"control": "external",
|
|
644
|
+
"authoredIn": "the workflow that sends it",
|
|
645
|
+
"footerReason": "You’re receiving this because you’re in touch with {{host.businessName}}."
|
|
646
|
+
}
|
|
647
|
+
];
|
|
648
|
+
|
|
649
|
+
//# sourceMappingURL=tenant-emails.generated.js.map
|