@pithy-sh/email 0.5.0 → 0.6.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.
- package/dist/data/emailJob.d.ts +1 -1
- package/dist/data/tables.d.ts +1 -1
- package/dist/error/errors.d.ts +4 -3
- package/dist/error/errors.d.ts.map +1 -1
- package/dist/templates/messages.d.ts.map +1 -1
- package/dist/templates/messages.es.d.ts.map +1 -1
- package/dist/templates/messages.es.js +26 -0
- package/dist/templates/messages.js +28 -2
- package/dist/templates/precompiled.generated.d.ts +86 -0
- package/dist/templates/precompiled.generated.d.ts.map +1 -1
- package/dist/templates/precompiled.generated.js +1234 -0
- package/dist/templates/registry.d.ts.map +1 -1
- package/dist/templates/registry.js +67 -0
- package/dist/templates/samples.d.ts.map +1 -1
- package/dist/templates/samples.js +15 -0
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/package.json +3 -3
- package/src/error/errors.ts +4 -3
- package/src/templates/messages.es.ts +36 -0
- package/src/templates/messages.ts +36 -2
- package/src/templates/precompiled.generated.ts +417 -0
- package/src/templates/registry.ts +105 -0
- package/src/templates/samples.ts +4 -0
- package/src/version.generated.ts +1 -1
|
@@ -839,6 +839,423 @@ export const precompiledTemplates = {
|
|
|
839
839
|
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/password_changed.text_body",{"name":"t","hash":{"when":(depth0 != null ? lookupProperty(depth0,"when") : depth0)},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":50}}})) != null ? stack1 : "")
|
|
840
840
|
+ " "
|
|
841
841
|
+ ((stack1 = ((helper = (helper = lookupProperty(helpers,"supportUrl") || (depth0 != null ? lookupProperty(depth0,"supportUrl") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"supportUrl","hash":{},"data":data,"loc":{"start":{"line":3,"column":51},"end":{"line":3,"column":65}}}) : helper))) != null ? stack1 : "");
|
|
842
|
+
},"useData":true},
|
|
843
|
+
"accountSuspended:subject": {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
844
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
845
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
846
|
+
return parent[propertyName];
|
|
847
|
+
}
|
|
848
|
+
return undefined
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_suspended.subject",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}}})) != null ? stack1 : "");
|
|
852
|
+
},"useData":true},
|
|
853
|
+
"accountSuspended:html": {"0":function(container,depth0,helpers,partials,data) {
|
|
854
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
855
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
856
|
+
return parent[propertyName];
|
|
857
|
+
}
|
|
858
|
+
return undefined
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":224},"end":{"line":1,"column":268}}}));
|
|
862
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
863
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
864
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
865
|
+
return parent[propertyName];
|
|
866
|
+
}
|
|
867
|
+
return undefined
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":276},"end":{"line":1,"column":304}}}));
|
|
871
|
+
},"2":function(container,depth0,helpers,partials,data) {
|
|
872
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
873
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
874
|
+
return parent[propertyName];
|
|
875
|
+
}
|
|
876
|
+
return undefined
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
return "<p style=\"margin:0 0 8px\">"
|
|
880
|
+
+ container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_suspended.reason",{"name":"t","hash":{"reason":(depth0 != null ? lookupProperty(depth0,"reason") : depth0)},"data":data,"loc":{"start":{"line":1,"column":410},"end":{"line":1,"column":462}}}))
|
|
881
|
+
+ "</p>";
|
|
882
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
883
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
884
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
885
|
+
return parent[propertyName];
|
|
886
|
+
}
|
|
887
|
+
return undefined
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
return "<p style=\"margin:0 0 8px\">"
|
|
891
|
+
+ container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_suspended.until",{"name":"t","hash":{"until":(depth0 != null ? lookupProperty(depth0,"until") : depth0)},"data":data,"loc":{"start":{"line":1,"column":512},"end":{"line":1,"column":561}}}))
|
|
892
|
+
+ "</p>";
|
|
893
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
894
|
+
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
895
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
896
|
+
return parent[propertyName];
|
|
897
|
+
}
|
|
898
|
+
return undefined
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
return ((stack1 = container.invokePartial(lookupProperty(partials,"emailHead"),depth0,{"name":"emailHead","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
902
|
+
+ "<h1 class=\"t-ink\" style=\"margin:0 0 16px; font-size:22px; font-weight:600; letter-spacing:-0.02em; color:"
|
|
903
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"text") : stack1), depth0))
|
|
904
|
+
+ "\">"
|
|
905
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/account_suspended.heading",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":142},"end":{"line":1,"column":181}}}))
|
|
906
|
+
+ "</h1><p style=\"margin:0 0 8px\">"
|
|
907
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":212},"end":{"line":1,"column":311}}})) != null ? stack1 : "")
|
|
908
|
+
+ " "
|
|
909
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/account_suspended.body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":312},"end":{"line":1,"column":366}}}))
|
|
910
|
+
+ "</p>"
|
|
911
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"reason") : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":370},"end":{"line":1,"column":473}}})) != null ? stack1 : "")
|
|
912
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"until") : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":473},"end":{"line":1,"column":572}}})) != null ? stack1 : "")
|
|
913
|
+
+ "<p class=\"t-subtle\" style=\"margin:16px 0 0; font-size:13px; color:"
|
|
914
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"textSubtle") : stack1), depth0))
|
|
915
|
+
+ "\">"
|
|
916
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/account_suspended.contact",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":666},"end":{"line":1,"column":705}}}))
|
|
917
|
+
+ "</p>"
|
|
918
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"emailFoot"),depth0,{"name":"emailFoot","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "");
|
|
919
|
+
},"usePartial":true,"useData":true},
|
|
920
|
+
"accountSuspended:text": {"0":function(container,depth0,helpers,partials,data) {
|
|
921
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
922
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
923
|
+
return parent[propertyName];
|
|
924
|
+
}
|
|
925
|
+
return undefined
|
|
926
|
+
};
|
|
927
|
+
|
|
928
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":56}}})) != null ? stack1 : "");
|
|
929
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
930
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
931
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
932
|
+
return parent[propertyName];
|
|
933
|
+
}
|
|
934
|
+
return undefined
|
|
935
|
+
};
|
|
936
|
+
|
|
937
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":64},"end":{"line":1,"column":92}}})) != null ? stack1 : "");
|
|
938
|
+
},"2":function(container,depth0,helpers,partials,data) {
|
|
939
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
940
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
941
|
+
return parent[propertyName];
|
|
942
|
+
}
|
|
943
|
+
return undefined
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
return "\n\n"
|
|
947
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_suspended.reason",{"name":"t","hash":{"reason":(depth0 != null ? lookupProperty(depth0,"reason") : depth0)},"data":data,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":52}}})) != null ? stack1 : "");
|
|
948
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
949
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
950
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
951
|
+
return parent[propertyName];
|
|
952
|
+
}
|
|
953
|
+
return undefined
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
return "\n\n"
|
|
957
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_suspended.until",{"name":"t","hash":{"until":(depth0 != null ? lookupProperty(depth0,"until") : depth0)},"data":data,"loc":{"start":{"line":7,"column":0},"end":{"line":7,"column":49}}})) != null ? stack1 : "");
|
|
958
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
959
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
960
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
961
|
+
return parent[propertyName];
|
|
962
|
+
}
|
|
963
|
+
return undefined
|
|
964
|
+
};
|
|
965
|
+
|
|
966
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":99}}})) != null ? stack1 : "")
|
|
967
|
+
+ "\n\n"
|
|
968
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/account_suspended.text_body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":59}}})) != null ? stack1 : "")
|
|
969
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"reason") : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":3,"column":59},"end":{"line":5,"column":59}}})) != null ? stack1 : "")
|
|
970
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"until") : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":5,"column":59},"end":{"line":7,"column":56}}})) != null ? stack1 : "")
|
|
971
|
+
+ "\n\n"
|
|
972
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/account_suspended.text_contact",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":9,"column":0},"end":{"line":9,"column":44}}})) != null ? stack1 : "");
|
|
973
|
+
},"useData":true},
|
|
974
|
+
"accountReinstated:subject": {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
975
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
976
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
977
|
+
return parent[propertyName];
|
|
978
|
+
}
|
|
979
|
+
return undefined
|
|
980
|
+
};
|
|
981
|
+
|
|
982
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/account_reinstated.subject",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}}})) != null ? stack1 : "");
|
|
983
|
+
},"useData":true},
|
|
984
|
+
"accountReinstated:html": {"0":function(container,depth0,helpers,partials,data) {
|
|
985
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
986
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
987
|
+
return parent[propertyName];
|
|
988
|
+
}
|
|
989
|
+
return undefined
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":225},"end":{"line":1,"column":269}}}));
|
|
993
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
994
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
995
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
996
|
+
return parent[propertyName];
|
|
997
|
+
}
|
|
998
|
+
return undefined
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":277},"end":{"line":1,"column":305}}}));
|
|
1002
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1003
|
+
var stack1, alias1=container.escapeExpression, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1004
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1005
|
+
return parent[propertyName];
|
|
1006
|
+
}
|
|
1007
|
+
return undefined
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
return ((stack1 = container.invokePartial(lookupProperty(partials,"emailHead"),depth0,{"name":"emailHead","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
1011
|
+
+ "<h1 class=\"t-ink\" style=\"margin:0 0 16px; font-size:22px; font-weight:600; letter-spacing:-0.02em; color:"
|
|
1012
|
+
+ alias1(container.lambda(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"text") : stack1), depth0))
|
|
1013
|
+
+ "\">"
|
|
1014
|
+
+ alias1((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias3).call(alias2,"email/account_reinstated.heading",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":142},"end":{"line":1,"column":182}}}))
|
|
1015
|
+
+ "</h1><p style=\"margin:0 0 8px\">"
|
|
1016
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias2,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":213},"end":{"line":1,"column":312}}})) != null ? stack1 : "")
|
|
1017
|
+
+ " "
|
|
1018
|
+
+ alias1((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias3).call(alias2,"email/account_reinstated.body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":313},"end":{"line":1,"column":368}}}))
|
|
1019
|
+
+ "</p>"
|
|
1020
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"emailFoot"),depth0,{"name":"emailFoot","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "");
|
|
1021
|
+
},"usePartial":true,"useData":true},
|
|
1022
|
+
"accountReinstated:text": {"0":function(container,depth0,helpers,partials,data) {
|
|
1023
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1024
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1025
|
+
return parent[propertyName];
|
|
1026
|
+
}
|
|
1027
|
+
return undefined
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":56}}})) != null ? stack1 : "");
|
|
1031
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
1032
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1033
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1034
|
+
return parent[propertyName];
|
|
1035
|
+
}
|
|
1036
|
+
return undefined
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":64},"end":{"line":1,"column":92}}})) != null ? stack1 : "");
|
|
1040
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1041
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1042
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1043
|
+
return parent[propertyName];
|
|
1044
|
+
}
|
|
1045
|
+
return undefined
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":99}}})) != null ? stack1 : "")
|
|
1049
|
+
+ "\n\n"
|
|
1050
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(alias1,"email/account_reinstated.text_body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":60}}})) != null ? stack1 : "");
|
|
1051
|
+
},"useData":true},
|
|
1052
|
+
"deletionScheduled:subject": {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1053
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1054
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1055
|
+
return parent[propertyName];
|
|
1056
|
+
}
|
|
1057
|
+
return undefined
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/deletion_scheduled.subject",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":58}}})) != null ? stack1 : "");
|
|
1061
|
+
},"useData":true},
|
|
1062
|
+
"deletionScheduled:html": {"0":function(container,depth0,helpers,partials,data) {
|
|
1063
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1064
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1065
|
+
return parent[propertyName];
|
|
1066
|
+
}
|
|
1067
|
+
return undefined
|
|
1068
|
+
};
|
|
1069
|
+
|
|
1070
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":225},"end":{"line":1,"column":269}}}));
|
|
1071
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
1072
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1073
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1074
|
+
return parent[propertyName];
|
|
1075
|
+
}
|
|
1076
|
+
return undefined
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":277},"end":{"line":1,"column":305}}}));
|
|
1080
|
+
},"2":function(container,depth0,helpers,partials,data) {
|
|
1081
|
+
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, alias5=container.lambda, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1082
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1083
|
+
return parent[propertyName];
|
|
1084
|
+
}
|
|
1085
|
+
return undefined
|
|
1086
|
+
};
|
|
1087
|
+
|
|
1088
|
+
return "<!--[if mso]><v:roundrect xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:w=\"urn:schemas-microsoft-com:office:word\" href=\""
|
|
1089
|
+
+ alias4(((helper = (helper = lookupProperty(helpers,"restoreUrl") || (depth0 != null ? lookupProperty(depth0,"restoreUrl") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"restoreUrl","hash":{},"data":data,"loc":{"start":{"line":1,"column":594},"end":{"line":1,"column":608}}}) : helper)))
|
|
1090
|
+
+ "\" style=\"height:44px;v-text-anchor:middle;width:220px;\" arcsize=\"16%\" fillcolor=\""
|
|
1091
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"accent") : stack1), depth0))
|
|
1092
|
+
+ "\" stroke=\"f\"><w:anchorlock/><center style=\"color:#111111;font-family:sans-serif;font-size:14px;font-weight:600;\">"
|
|
1093
|
+
+ alias4((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.cta",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":818},"end":{"line":1,"column":854}}}))
|
|
1094
|
+
+ "</center></v:roundrect><![endif]--><!--[if !mso]><!--><a href=\""
|
|
1095
|
+
+ alias4(((helper = (helper = lookupProperty(helpers,"restoreUrl") || (depth0 != null ? lookupProperty(depth0,"restoreUrl") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"restoreUrl","hash":{},"data":data,"loc":{"start":{"line":1,"column":917},"end":{"line":1,"column":931}}}) : helper)))
|
|
1096
|
+
+ "\" style=\"display:inline-block; margin:24px 0; background-color:"
|
|
1097
|
+
+ alias4(alias5(((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"accent") : stack1), depth0))
|
|
1098
|
+
+ "; color:#111111; font-size:14px; font-weight:600; text-decoration:none; padding:13px 26px; border-radius:8px\">"
|
|
1099
|
+
+ alias4((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.cta",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":1120},"end":{"line":1,"column":1156}}}))
|
|
1100
|
+
+ "</a><!--<![endif]-->";
|
|
1101
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1102
|
+
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1103
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1104
|
+
return parent[propertyName];
|
|
1105
|
+
}
|
|
1106
|
+
return undefined
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1109
|
+
return ((stack1 = container.invokePartial(lookupProperty(partials,"emailHead"),depth0,{"name":"emailHead","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
1110
|
+
+ "<h1 class=\"t-ink\" style=\"margin:0 0 16px; font-size:22px; font-weight:600; letter-spacing:-0.02em; color:"
|
|
1111
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"text") : stack1), depth0))
|
|
1112
|
+
+ "\">"
|
|
1113
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_scheduled.heading",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":142},"end":{"line":1,"column":182}}}))
|
|
1114
|
+
+ "</h1><p style=\"margin:0 0 8px\">"
|
|
1115
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":213},"end":{"line":1,"column":312}}})) != null ? stack1 : "")
|
|
1116
|
+
+ " "
|
|
1117
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_scheduled.body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":313},"end":{"line":1,"column":368}}}))
|
|
1118
|
+
+ "</p><p style=\"margin:0 0 8px\">"
|
|
1119
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_scheduled.purge",{"name":"t","hash":{"purgeOn":(depth0 != null ? lookupProperty(depth0,"purgeOn") : depth0)},"data":data,"loc":{"start":{"line":1,"column":398},"end":{"line":1,"column":452}}}))
|
|
1120
|
+
+ "</p>"
|
|
1121
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"restoreUrl") : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":456},"end":{"line":1,"column":1183}}})) != null ? stack1 : "")
|
|
1122
|
+
+ "<p class=\"t-subtle\" style=\"margin:16px 0 0; font-size:13px; color:"
|
|
1123
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"textSubtle") : stack1), depth0))
|
|
1124
|
+
+ "\">"
|
|
1125
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_scheduled.contact",{"name":"t","hash":{"purgeOn":(depth0 != null ? lookupProperty(depth0,"purgeOn") : depth0)},"data":data,"loc":{"start":{"line":1,"column":1277},"end":{"line":1,"column":1333}}}))
|
|
1126
|
+
+ "</p>"
|
|
1127
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"emailFoot"),depth0,{"name":"emailFoot","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "");
|
|
1128
|
+
},"usePartial":true,"useData":true},
|
|
1129
|
+
"deletionScheduled:text": {"0":function(container,depth0,helpers,partials,data) {
|
|
1130
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1131
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1132
|
+
return parent[propertyName];
|
|
1133
|
+
}
|
|
1134
|
+
return undefined
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":56}}})) != null ? stack1 : "");
|
|
1138
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
1139
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1140
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1141
|
+
return parent[propertyName];
|
|
1142
|
+
}
|
|
1143
|
+
return undefined
|
|
1144
|
+
};
|
|
1145
|
+
|
|
1146
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":64},"end":{"line":1,"column":92}}})) != null ? stack1 : "");
|
|
1147
|
+
},"2":function(container,depth0,helpers,partials,data) {
|
|
1148
|
+
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1149
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1150
|
+
return parent[propertyName];
|
|
1151
|
+
}
|
|
1152
|
+
return undefined
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
return "\n\n"
|
|
1156
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.text_restore",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":7,"column":0},"end":{"line":7,"column":45}}})) != null ? stack1 : "")
|
|
1157
|
+
+ " "
|
|
1158
|
+
+ ((stack1 = ((helper = (helper = lookupProperty(helpers,"restoreUrl") || (depth0 != null ? lookupProperty(depth0,"restoreUrl") : depth0)) != null ? helper : alias2),(typeof helper === "function" ? helper.call(alias1,{"name":"restoreUrl","hash":{},"data":data,"loc":{"start":{"line":7,"column":46},"end":{"line":7,"column":60}}}) : helper))) != null ? stack1 : "");
|
|
1159
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1160
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1161
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1162
|
+
return parent[propertyName];
|
|
1163
|
+
}
|
|
1164
|
+
return undefined
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":99}}})) != null ? stack1 : "")
|
|
1168
|
+
+ "\n\n"
|
|
1169
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.text_body",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":60}}})) != null ? stack1 : "")
|
|
1170
|
+
+ "\n\n"
|
|
1171
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.purge",{"name":"t","hash":{"purgeOn":(depth0 != null ? lookupProperty(depth0,"purgeOn") : depth0)},"data":data,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":54}}})) != null ? stack1 : "")
|
|
1172
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"restoreUrl") : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":5,"column":54},"end":{"line":7,"column":67}}})) != null ? stack1 : "")
|
|
1173
|
+
+ "\n\n"
|
|
1174
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_scheduled.text_contact",{"name":"t","hash":{"purgeOn":(depth0 != null ? lookupProperty(depth0,"purgeOn") : depth0)},"data":data,"loc":{"start":{"line":9,"column":0},"end":{"line":9,"column":61}}})) != null ? stack1 : "");
|
|
1175
|
+
},"useData":true},
|
|
1176
|
+
"deletionComplete:subject": {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1177
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1178
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1179
|
+
return parent[propertyName];
|
|
1180
|
+
}
|
|
1181
|
+
return undefined
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/deletion_complete.subject",{"name":"t","hash":{"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":57}}})) != null ? stack1 : "");
|
|
1185
|
+
},"useData":true},
|
|
1186
|
+
"deletionComplete:html": {"0":function(container,depth0,helpers,partials,data) {
|
|
1187
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1188
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1189
|
+
return parent[propertyName];
|
|
1190
|
+
}
|
|
1191
|
+
return undefined
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":224},"end":{"line":1,"column":268}}}));
|
|
1195
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
1196
|
+
var lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1197
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1198
|
+
return parent[propertyName];
|
|
1199
|
+
}
|
|
1200
|
+
return undefined
|
|
1201
|
+
};
|
|
1202
|
+
|
|
1203
|
+
return container.escapeExpression((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":276},"end":{"line":1,"column":304}}}));
|
|
1204
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1205
|
+
var stack1, alias1=container.lambda, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1206
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1207
|
+
return parent[propertyName];
|
|
1208
|
+
}
|
|
1209
|
+
return undefined
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
return ((stack1 = container.invokePartial(lookupProperty(partials,"emailHead"),depth0,{"name":"emailHead","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
|
|
1213
|
+
+ "<h1 class=\"t-ink\" style=\"margin:0 0 16px; font-size:22px; font-weight:600; letter-spacing:-0.02em; color:"
|
|
1214
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"text") : stack1), depth0))
|
|
1215
|
+
+ "\">"
|
|
1216
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_complete.heading",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":142},"end":{"line":1,"column":181}}}))
|
|
1217
|
+
+ "</h1><p style=\"margin:0 0 8px\">"
|
|
1218
|
+
+ ((stack1 = lookupProperty(helpers,"if").call(alias3,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":212},"end":{"line":1,"column":311}}})) != null ? stack1 : "")
|
|
1219
|
+
+ " "
|
|
1220
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_complete.body",{"name":"t","hash":{"purgedOn":(depth0 != null ? lookupProperty(depth0,"purgedOn") : depth0),"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":1,"column":312},"end":{"line":1,"column":384}}}))
|
|
1221
|
+
+ "</p><p class=\"t-subtle\" style=\"margin:16px 0 0; font-size:13px; color:"
|
|
1222
|
+
+ alias2(alias1(((stack1 = ((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"light") : stack1)) != null ? lookupProperty(stack1,"textSubtle") : stack1), depth0))
|
|
1223
|
+
+ "\">"
|
|
1224
|
+
+ alias2((lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias4).call(alias3,"email/deletion_complete.last",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":482},"end":{"line":1,"column":518}}}))
|
|
1225
|
+
+ "</p>"
|
|
1226
|
+
+ ((stack1 = container.invokePartial(lookupProperty(partials,"emailFoot"),depth0,{"name":"emailFoot","data":data,"helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "");
|
|
1227
|
+
},"usePartial":true,"useData":true},
|
|
1228
|
+
"deletionComplete:text": {"0":function(container,depth0,helpers,partials,data) {
|
|
1229
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1230
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1231
|
+
return parent[propertyName];
|
|
1232
|
+
}
|
|
1233
|
+
return undefined
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting_named",{"name":"t","hash":{"name":(depth0 != null ? lookupProperty(depth0,"name") : depth0)},"data":data,"loc":{"start":{"line":1,"column":12},"end":{"line":1,"column":56}}})) != null ? stack1 : "");
|
|
1237
|
+
},"1":function(container,depth0,helpers,partials,data) {
|
|
1238
|
+
var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1239
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1240
|
+
return parent[propertyName];
|
|
1241
|
+
}
|
|
1242
|
+
return undefined
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
return ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"email/shell.greeting",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":1,"column":64},"end":{"line":1,"column":92}}})) != null ? stack1 : "");
|
|
1246
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
1247
|
+
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
1248
|
+
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
|
1249
|
+
return parent[propertyName];
|
|
1250
|
+
}
|
|
1251
|
+
return undefined
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
return ((stack1 = lookupProperty(helpers,"if").call(alias1,(depth0 != null ? lookupProperty(depth0,"name") : depth0),{"name":"if","hash":{},"fn":container.program(0, data, 0),"inverse":container.program(1, data, 0),"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":99}}})) != null ? stack1 : "")
|
|
1255
|
+
+ "\n\n"
|
|
1256
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_complete.text_body",{"name":"t","hash":{"purgedOn":(depth0 != null ? lookupProperty(depth0,"purgedOn") : depth0),"app":((stack1 = (depth0 != null ? lookupProperty(depth0,"theme") : depth0)) != null ? lookupProperty(stack1,"appName") : stack1)},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":77}}})) != null ? stack1 : "")
|
|
1257
|
+
+ "\n\n"
|
|
1258
|
+
+ ((stack1 = (lookupProperty(helpers,"t")||(depth0 && lookupProperty(depth0,"t"))||alias2).call(alias1,"email/deletion_complete.last",{"name":"t","hash":{},"data":data,"loc":{"start":{"line":5,"column":0},"end":{"line":5,"column":36}}})) != null ? stack1 : "");
|
|
842
1259
|
},"useData":true},
|
|
843
1260
|
"operationalNotice:subject": {"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
844
1261
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
|
@@ -217,6 +217,55 @@ const PasswordChangedPayload = z
|
|
|
217
217
|
})
|
|
218
218
|
.describe("Inputs for the account-credential-changed security notice.");
|
|
219
219
|
|
|
220
|
+
/**
|
|
221
|
+
* The four account-lifecycle notices `@pithy-sh/auth` sends (#620). Every date arrives already written for
|
|
222
|
+
* the reader — `1 November 2026` — because the sender knows the recipient's locale and this template does
|
|
223
|
+
* not, which is the convention `when` set for `securityAlert`.
|
|
224
|
+
*/
|
|
225
|
+
const AccountSuspendedPayload = z
|
|
226
|
+
.object({
|
|
227
|
+
name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
|
|
228
|
+
reason: z
|
|
229
|
+
.string()
|
|
230
|
+
.optional()
|
|
231
|
+
.describe(
|
|
232
|
+
"Why the account was suspended, in the operator's words. Rendered escaped, as every payload value is. Omitted when none was given.",
|
|
233
|
+
),
|
|
234
|
+
until: z
|
|
235
|
+
.string()
|
|
236
|
+
.optional()
|
|
237
|
+
.describe("When the suspension ends by itself, written for the reader. Omitted for one with no end."),
|
|
238
|
+
})
|
|
239
|
+
.describe("Inputs for the notice that an account was suspended.");
|
|
240
|
+
|
|
241
|
+
const AccountReinstatedPayload = z
|
|
242
|
+
.object({
|
|
243
|
+
name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
|
|
244
|
+
})
|
|
245
|
+
.describe("Inputs for the notice that a suspension was lifted.");
|
|
246
|
+
|
|
247
|
+
const DeletionScheduledPayload = z
|
|
248
|
+
.object({
|
|
249
|
+
name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
|
|
250
|
+
purgeOn: z
|
|
251
|
+
.string()
|
|
252
|
+
.describe("The date the account's data will be erased, written for the reader. Until then it can be restored."),
|
|
253
|
+
restoreUrl: z
|
|
254
|
+
.string()
|
|
255
|
+
.optional()
|
|
256
|
+
.describe(
|
|
257
|
+
"Where the account's owner can restore it inside the window. Tracked when click tracking is on. Omitted when the project offers no self-service restore.",
|
|
258
|
+
),
|
|
259
|
+
})
|
|
260
|
+
.describe("Inputs for the notice that an account was deleted and will be erased.");
|
|
261
|
+
|
|
262
|
+
const DeletionCompletePayload = z
|
|
263
|
+
.object({
|
|
264
|
+
name: z.string().optional().describe("The recipient's name, for a personal greeting. Optional."),
|
|
265
|
+
purgedOn: z.string().describe("The date the account's data was erased, written for the reader."),
|
|
266
|
+
})
|
|
267
|
+
.describe("Inputs for the notice that an account's data was erased — sent before the address is.");
|
|
268
|
+
|
|
220
269
|
/** One labeled fact in an operational notice — what makes the notice specific rather than a mood. */
|
|
221
270
|
const OperationalNoticeFact = z
|
|
222
271
|
.object({
|
|
@@ -463,6 +512,62 @@ export const templates: Record<string, EmailTemplate> = {
|
|
|
463
512
|
text: `${greeting}\n\n{{t "email/password_changed.text_body" when=when}} {{supportUrl}}`,
|
|
464
513
|
links: [{ path: "supportUrl", label: "password-support" }],
|
|
465
514
|
},
|
|
515
|
+
// The account lifecycle (#620). Transactional in both axes: a person who unsubscribed from a newsletter has
|
|
516
|
+
// not asked to stop being told their account is shut, and an unsubscribe that reached these would leave
|
|
517
|
+
// somebody locked out with no word of why. Each closes on who to answer — a reply, which reaches the
|
|
518
|
+
// adopter's own sending address — because the screen a locked-out person sees cannot name a person.
|
|
519
|
+
accountSuspended: {
|
|
520
|
+
id: "accountSuspended",
|
|
521
|
+
category: "transactional",
|
|
522
|
+
kind: "transactional",
|
|
523
|
+
width: "narrow",
|
|
524
|
+
payload: AccountSuspendedPayload,
|
|
525
|
+
subject: `{{t "email/account_suspended.subject" app=theme.appName}}`,
|
|
526
|
+
html: layout(
|
|
527
|
+
`${heading('{{t "email/account_suspended.heading"}}')}<p style="margin:0 0 8px">${greeting} {{t "email/account_suspended.body" app=theme.appName}}</p>{{#if reason}}<p style="margin:0 0 8px">{{t "email/account_suspended.reason" reason=reason}}</p>{{/if}}{{#if until}}<p style="margin:0 0 8px">{{t "email/account_suspended.until" until=until}}</p>{{/if}}<p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/account_suspended.contact"}}</p>`,
|
|
528
|
+
),
|
|
529
|
+
text: `${greeting}\n\n{{t "email/account_suspended.text_body" app=theme.appName}}{{#if reason}}\n\n{{t "email/account_suspended.reason" reason=reason}}{{/if}}{{#if until}}\n\n{{t "email/account_suspended.until" until=until}}{{/if}}\n\n{{t "email/account_suspended.text_contact"}}`,
|
|
530
|
+
links: [],
|
|
531
|
+
},
|
|
532
|
+
accountReinstated: {
|
|
533
|
+
id: "accountReinstated",
|
|
534
|
+
category: "transactional",
|
|
535
|
+
kind: "transactional",
|
|
536
|
+
width: "narrow",
|
|
537
|
+
payload: AccountReinstatedPayload,
|
|
538
|
+
subject: `{{t "email/account_reinstated.subject" app=theme.appName}}`,
|
|
539
|
+
html: layout(
|
|
540
|
+
`${heading('{{t "email/account_reinstated.heading"}}')}<p style="margin:0 0 8px">${greeting} {{t "email/account_reinstated.body" app=theme.appName}}</p>`,
|
|
541
|
+
),
|
|
542
|
+
text: `${greeting}\n\n{{t "email/account_reinstated.text_body" app=theme.appName}}`,
|
|
543
|
+
links: [],
|
|
544
|
+
},
|
|
545
|
+
deletionScheduled: {
|
|
546
|
+
id: "deletionScheduled",
|
|
547
|
+
category: "transactional",
|
|
548
|
+
kind: "transactional",
|
|
549
|
+
width: "narrow",
|
|
550
|
+
payload: DeletionScheduledPayload,
|
|
551
|
+
subject: `{{t "email/deletion_scheduled.subject" app=theme.appName}}`,
|
|
552
|
+
html: layout(
|
|
553
|
+
`${heading('{{t "email/deletion_scheduled.heading"}}')}<p style="margin:0 0 8px">${greeting} {{t "email/deletion_scheduled.body" app=theme.appName}}</p><p style="margin:0 0 8px">{{t "email/deletion_scheduled.purge" purgeOn=purgeOn}}</p>{{#if restoreUrl}}${button("restoreUrl", '{{t "email/deletion_scheduled.cta"}}')}{{/if}}<p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/deletion_scheduled.contact" purgeOn=purgeOn}}</p>`,
|
|
554
|
+
),
|
|
555
|
+
text: `${greeting}\n\n{{t "email/deletion_scheduled.text_body" app=theme.appName}}\n\n{{t "email/deletion_scheduled.purge" purgeOn=purgeOn}}{{#if restoreUrl}}\n\n{{t "email/deletion_scheduled.text_restore"}} {{restoreUrl}}{{/if}}\n\n{{t "email/deletion_scheduled.text_contact" purgeOn=purgeOn}}`,
|
|
556
|
+
links: [{ path: "restoreUrl", label: "deletion-restore" }],
|
|
557
|
+
},
|
|
558
|
+
deletionComplete: {
|
|
559
|
+
id: "deletionComplete",
|
|
560
|
+
category: "transactional",
|
|
561
|
+
kind: "transactional",
|
|
562
|
+
width: "narrow",
|
|
563
|
+
payload: DeletionCompletePayload,
|
|
564
|
+
subject: `{{t "email/deletion_complete.subject" app=theme.appName}}`,
|
|
565
|
+
html: layout(
|
|
566
|
+
`${heading('{{t "email/deletion_complete.heading"}}')}<p style="margin:0 0 8px">${greeting} {{t "email/deletion_complete.body" app=theme.appName purgedOn=purgedOn}}</p><p class="t-subtle" style="margin:16px 0 0; font-size:13px; color:{{theme.light.textSubtle}}">{{t "email/deletion_complete.last"}}</p>`,
|
|
567
|
+
),
|
|
568
|
+
text: `${greeting}\n\n{{t "email/deletion_complete.text_body" app=theme.appName purgedOn=purgedOn}}\n\n{{t "email/deletion_complete.last"}}`,
|
|
569
|
+
links: [],
|
|
570
|
+
},
|
|
466
571
|
operationalNotice: {
|
|
467
572
|
id: "operationalNotice",
|
|
468
573
|
category: "transactional",
|
package/src/templates/samples.ts
CHANGED
|
@@ -36,6 +36,10 @@ export const samplePayloads: Record<string, unknown> = {
|
|
|
36
36
|
optOutLabel: "No thanks, take me off this list",
|
|
37
37
|
},
|
|
38
38
|
passwordChanged: { name: "Sam", when: "just now", supportUrl: "https://example.com/support" },
|
|
39
|
+
accountSuspended: { name: "Sam", reason: "A payment is under review.", until: "1 November 2026" },
|
|
40
|
+
accountReinstated: { name: "Sam" },
|
|
41
|
+
deletionScheduled: { name: "Sam", purgeOn: "19 November 2026", restoreUrl: "https://example.com/account/restore" },
|
|
42
|
+
deletionComplete: { name: "Sam", purgedOn: "19 November 2026" },
|
|
39
43
|
// `warning` rather than `info`: a sample is what somebody looks at to decide whether the severity is
|
|
40
44
|
// legible, and the middle level is the one that has to earn its place between the other two.
|
|
41
45
|
operationalNotice: {
|
package/src/version.generated.ts
CHANGED