@starklabs/forge 1.3.24-beta.0 → 1.3.24-beta.2

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.
Files changed (553) hide show
  1. package/dist/js/account/me.get.js +1 -1
  2. package/dist/js/account/me.get.js.map +1 -1
  3. package/dist/js/admin/builtin/admin.collection.d.ts +4 -0
  4. package/dist/js/admin/builtin/admin.collection.d.ts.map +1 -0
  5. package/dist/js/admin/builtin/admin.collection.js +17 -0
  6. package/dist/js/admin/builtin/admin.collection.js.map +1 -0
  7. package/dist/js/admin/bunch.admin.d.ts +3 -0
  8. package/dist/js/admin/bunch.admin.d.ts.map +1 -0
  9. package/dist/js/admin/bunch.admin.js +3 -0
  10. package/dist/js/admin/bunch.admin.js.map +1 -0
  11. package/dist/js/admin/check.admin.d.ts +2 -0
  12. package/dist/js/admin/check.admin.d.ts.map +1 -0
  13. package/dist/js/admin/check.admin.js +2 -0
  14. package/dist/js/admin/check.admin.js.map +1 -0
  15. package/dist/js/admin/check.d.ts +7 -0
  16. package/dist/js/admin/check.d.ts.map +1 -0
  17. package/dist/js/admin/check.js +38 -0
  18. package/dist/js/admin/check.js.map +1 -0
  19. package/dist/js/admin/index.d.ts +3 -2
  20. package/dist/js/admin/index.d.ts.map +1 -1
  21. package/dist/js/admin/index.js +46 -2
  22. package/dist/js/admin/index.js.map +1 -1
  23. package/dist/js/app.d.ts.map +1 -1
  24. package/dist/js/app.js +13 -9
  25. package/dist/js/app.js.map +1 -1
  26. package/dist/js/auth/builtin/auth.collection.d.ts.map +1 -1
  27. package/dist/js/auth/builtin/auth.collection.js +12 -2
  28. package/dist/js/auth/builtin/auth.collection.js.map +1 -1
  29. package/dist/js/auth/builtin/getValidations.js +2 -2
  30. package/dist/js/auth/builtin/getValidations.js.map +1 -1
  31. package/dist/js/auth/forgotPassword.js +2 -2
  32. package/dist/js/auth/forgotPassword.js.map +1 -1
  33. package/dist/js/auth/index.js +5 -5
  34. package/dist/js/auth/index.js.map +1 -1
  35. package/dist/js/auth/login.js +2 -2
  36. package/dist/js/auth/login.js.map +1 -1
  37. package/dist/js/auth/logout.js +3 -3
  38. package/dist/js/auth/logout.js.map +1 -1
  39. package/dist/js/auth/refresh.js +4 -4
  40. package/dist/js/auth/refresh.js.map +1 -1
  41. package/dist/js/auth/resendOTP.js +2 -2
  42. package/dist/js/auth/resendOTP.js.map +1 -1
  43. package/dist/js/auth/resetPassword.js +2 -2
  44. package/dist/js/auth/resetPassword.js.map +1 -1
  45. package/dist/js/auth/signup.js +2 -2
  46. package/dist/js/auth/signup.js.map +1 -1
  47. package/dist/js/auth/utils/authenticateUser.js +6 -6
  48. package/dist/js/auth/utils/authenticateUser.js.map +1 -1
  49. package/dist/js/auth/utils/createOTPModel.js +2 -2
  50. package/dist/js/auth/utils/createOTPModel.js.map +1 -1
  51. package/dist/js/auth/utils/createOTPUser.js +2 -2
  52. package/dist/js/auth/utils/createOTPUser.js.map +1 -1
  53. package/dist/js/auth/utils/createUser.js +6 -6
  54. package/dist/js/auth/utils/createUser.js.map +1 -1
  55. package/dist/js/auth/utils/getOTPUser.js +2 -2
  56. package/dist/js/auth/utils/getOTPUser.js.map +1 -1
  57. package/dist/js/auth/utils/getUser.js +2 -2
  58. package/dist/js/auth/utils/getUser.js.map +1 -1
  59. package/dist/js/auth/utils/handleGetToken.d.ts.map +1 -1
  60. package/dist/js/auth/utils/handleGetToken.js +4 -4
  61. package/dist/js/auth/utils/handleGetToken.js.map +1 -1
  62. package/dist/js/auth/utils/handleRotateRefreshToken.js +2 -2
  63. package/dist/js/auth/utils/handleRotateRefreshToken.js.map +1 -1
  64. package/dist/js/auth/utils/otpVerifiedResponse.js +2 -2
  65. package/dist/js/auth/utils/otpVerifiedResponse.js.map +1 -1
  66. package/dist/js/auth/utils/sendCookie.js +3 -3
  67. package/dist/js/auth/utils/sendCookie.js.map +1 -1
  68. package/dist/js/auth/utils/sendOTP.d.ts.map +1 -1
  69. package/dist/js/auth/utils/sendOTP.js +15 -14
  70. package/dist/js/auth/utils/sendOTP.js.map +1 -1
  71. package/dist/js/auth/utils/verifyCredentials.js +2 -2
  72. package/dist/js/auth/utils/verifyCredentials.js.map +1 -1
  73. package/dist/js/auth/verifyOTP.js +2 -2
  74. package/dist/js/auth/verifyOTP.js.map +1 -1
  75. package/dist/js/config/auth.envs.d.ts +4 -0
  76. package/dist/js/config/auth.envs.d.ts.map +1 -0
  77. package/dist/js/config/auth.envs.js +79 -0
  78. package/dist/js/config/auth.envs.js.map +1 -0
  79. package/dist/js/config/defaultConfig.d.ts.map +1 -1
  80. package/dist/js/config/defaultConfig.js +4 -1
  81. package/dist/js/config/defaultConfig.js.map +1 -1
  82. package/dist/js/config/email.envs.d.ts +4 -0
  83. package/dist/js/config/email.envs.d.ts.map +1 -0
  84. package/dist/js/config/email.envs.js +54 -0
  85. package/dist/js/config/email.envs.js.map +1 -0
  86. package/dist/js/config/envs.d.ts.map +1 -1
  87. package/dist/js/config/envs.js +6 -76
  88. package/dist/js/config/envs.js.map +1 -1
  89. package/dist/js/config/handleReqType.d.ts.map +1 -1
  90. package/dist/js/config/handleReqType.js +3 -1
  91. package/dist/js/config/handleReqType.js.map +1 -1
  92. package/dist/js/config/handlerMap.d.ts.map +1 -1
  93. package/dist/js/config/handlerMap.js +8 -1
  94. package/dist/js/config/handlerMap.js.map +1 -1
  95. package/dist/js/config/sendEmail.d.ts.map +1 -1
  96. package/dist/js/config/sendEmail.js +3 -1
  97. package/dist/js/config/sendEmail.js.map +1 -1
  98. package/dist/js/crud/read.d.ts.map +1 -1
  99. package/dist/js/crud/read.js +3 -4
  100. package/dist/js/crud/read.js.map +1 -1
  101. package/dist/js/crud/readAll.d.ts.map +1 -1
  102. package/dist/js/crud/readAll.js.map +1 -1
  103. package/dist/js/crud/utils/runActions.d.ts +2 -3
  104. package/dist/js/crud/utils/runActions.d.ts.map +1 -1
  105. package/dist/js/crud/utils/runActions.js +13 -4
  106. package/dist/js/crud/utils/runActions.js.map +1 -1
  107. package/dist/js/email/index.d.ts +4 -0
  108. package/dist/js/email/index.d.ts.map +1 -0
  109. package/dist/js/email/index.js +180 -0
  110. package/dist/js/email/index.js.map +1 -0
  111. package/dist/js/email/templates/account.created.d.ts +4 -0
  112. package/dist/js/email/templates/account.created.d.ts.map +1 -0
  113. package/dist/js/email/templates/account.created.email.d.ts +4 -0
  114. package/dist/js/email/templates/account.created.email.d.ts.map +1 -0
  115. package/dist/js/email/templates/account.created.email.js +165 -0
  116. package/dist/js/email/templates/account.created.email.js.map +1 -0
  117. package/dist/js/email/templates/account.created.js +122 -0
  118. package/dist/js/email/templates/account.created.js.map +1 -0
  119. package/dist/js/email/templates/account.deleted.d.ts +4 -0
  120. package/dist/js/email/templates/account.deleted.d.ts.map +1 -0
  121. package/dist/js/email/templates/account.deleted.js +111 -0
  122. package/dist/js/email/templates/account.deleted.js.map +1 -0
  123. package/dist/js/email/templates/account.updated.d.ts +4 -0
  124. package/dist/js/email/templates/account.updated.d.ts.map +1 -0
  125. package/dist/js/email/templates/account.updated.js +128 -0
  126. package/dist/js/email/templates/account.updated.js.map +1 -0
  127. package/dist/js/email/templates/announcement.d.ts +4 -0
  128. package/dist/js/email/templates/announcement.d.ts.map +1 -0
  129. package/dist/js/email/templates/announcement.js +122 -0
  130. package/dist/js/email/templates/announcement.js.map +1 -0
  131. package/dist/js/email/templates/api.key.created.d.ts +4 -0
  132. package/dist/js/email/templates/api.key.created.d.ts.map +1 -0
  133. package/dist/js/email/templates/api.key.created.js +159 -0
  134. package/dist/js/email/templates/api.key.created.js.map +1 -0
  135. package/dist/js/email/templates/api.key.revoked.d.ts +4 -0
  136. package/dist/js/email/templates/api.key.revoked.d.ts.map +1 -0
  137. package/dist/js/email/templates/api.key.revoked.js +134 -0
  138. package/dist/js/email/templates/api.key.revoked.js.map +1 -0
  139. package/dist/js/email/templates/contact.form.d.ts +4 -0
  140. package/dist/js/email/templates/contact.form.d.ts.map +1 -0
  141. package/dist/js/email/templates/contact.form.js +134 -0
  142. package/dist/js/email/templates/contact.form.js.map +1 -0
  143. package/dist/js/email/templates/daily.report.d.ts +4 -0
  144. package/dist/js/email/templates/daily.report.d.ts.map +1 -0
  145. package/dist/js/email/templates/daily.report.js +143 -0
  146. package/dist/js/email/templates/daily.report.js.map +1 -0
  147. package/dist/js/email/templates/email.changed.d.ts +4 -0
  148. package/dist/js/email/templates/email.changed.d.ts.map +1 -0
  149. package/dist/js/email/templates/email.changed.js +122 -0
  150. package/dist/js/email/templates/email.changed.js.map +1 -0
  151. package/dist/js/email/templates/feedback.d.ts +4 -0
  152. package/dist/js/email/templates/feedback.d.ts.map +1 -0
  153. package/dist/js/email/templates/feedback.js +136 -0
  154. package/dist/js/email/templates/feedback.js.map +1 -0
  155. package/dist/js/email/templates/index.d.ts +46 -0
  156. package/dist/js/email/templates/index.d.ts.map +1 -0
  157. package/dist/js/email/templates/index.js +46 -0
  158. package/dist/js/email/templates/index.js.map +1 -0
  159. package/dist/js/email/templates/invoice.d.ts +4 -0
  160. package/dist/js/email/templates/invoice.d.ts.map +1 -0
  161. package/dist/js/email/templates/invoice.js +147 -0
  162. package/dist/js/email/templates/invoice.js.map +1 -0
  163. package/dist/js/email/templates/login.alert.d.ts +4 -0
  164. package/dist/js/email/templates/login.alert.d.ts.map +1 -0
  165. package/dist/js/email/templates/login.alert.js +147 -0
  166. package/dist/js/email/templates/login.alert.js.map +1 -0
  167. package/dist/js/email/templates/magic.link.d.ts +4 -0
  168. package/dist/js/email/templates/magic.link.d.ts.map +1 -0
  169. package/dist/js/email/templates/magic.link.js +126 -0
  170. package/dist/js/email/templates/magic.link.js.map +1 -0
  171. package/dist/js/email/templates/maintenance.d.ts +4 -0
  172. package/dist/js/email/templates/maintenance.d.ts.map +1 -0
  173. package/dist/js/email/templates/maintenance.js +132 -0
  174. package/dist/js/email/templates/maintenance.js.map +1 -0
  175. package/dist/js/email/templates/member.added.d.ts +4 -0
  176. package/dist/js/email/templates/member.added.d.ts.map +1 -0
  177. package/dist/js/email/templates/member.added.js +122 -0
  178. package/dist/js/email/templates/member.added.js.map +1 -0
  179. package/dist/js/email/templates/member.removed.d.ts +4 -0
  180. package/dist/js/email/templates/member.removed.d.ts.map +1 -0
  181. package/dist/js/email/templates/member.removed.js +122 -0
  182. package/dist/js/email/templates/member.removed.js.map +1 -0
  183. package/dist/js/email/templates/mention.d.ts +4 -0
  184. package/dist/js/email/templates/mention.d.ts.map +1 -0
  185. package/dist/js/email/templates/mention.js +134 -0
  186. package/dist/js/email/templates/mention.js.map +1 -0
  187. package/dist/js/email/templates/monthly.report.d.ts +4 -0
  188. package/dist/js/email/templates/monthly.report.d.ts.map +1 -0
  189. package/dist/js/email/templates/monthly.report.js +143 -0
  190. package/dist/js/email/templates/monthly.report.js.map +1 -0
  191. package/dist/js/email/templates/new.comment.d.ts +4 -0
  192. package/dist/js/email/templates/new.comment.d.ts.map +1 -0
  193. package/dist/js/email/templates/new.comment.js +134 -0
  194. package/dist/js/email/templates/new.comment.js.map +1 -0
  195. package/dist/js/email/templates/new.device.login.d.ts +4 -0
  196. package/dist/js/email/templates/new.device.login.d.ts.map +1 -0
  197. package/dist/js/email/templates/new.device.login.js +147 -0
  198. package/dist/js/email/templates/new.device.login.js.map +1 -0
  199. package/dist/js/email/templates/new.message.d.ts +4 -0
  200. package/dist/js/email/templates/new.message.d.ts.map +1 -0
  201. package/dist/js/email/templates/new.message.js +134 -0
  202. package/dist/js/email/templates/new.message.js.map +1 -0
  203. package/dist/js/email/templates/notification.d.ts +4 -0
  204. package/dist/js/email/templates/notification.d.ts.map +1 -0
  205. package/dist/js/email/templates/notification.js +122 -0
  206. package/dist/js/email/templates/notification.js.map +1 -0
  207. package/dist/js/email/templates/order.cancelled.d.ts +4 -0
  208. package/dist/js/email/templates/order.cancelled.d.ts.map +1 -0
  209. package/dist/js/email/templates/order.cancelled.js +132 -0
  210. package/dist/js/email/templates/order.cancelled.js.map +1 -0
  211. package/dist/js/email/templates/order.confirmation.d.ts +4 -0
  212. package/dist/js/email/templates/order.confirmation.d.ts.map +1 -0
  213. package/dist/js/email/templates/order.confirmation.js +143 -0
  214. package/dist/js/email/templates/order.confirmation.js.map +1 -0
  215. package/dist/js/email/templates/order.delivered.d.ts +4 -0
  216. package/dist/js/email/templates/order.delivered.d.ts.map +1 -0
  217. package/dist/js/email/templates/order.delivered.js +122 -0
  218. package/dist/js/email/templates/order.delivered.js.map +1 -0
  219. package/dist/js/email/templates/order.shipped.d.ts +4 -0
  220. package/dist/js/email/templates/order.shipped.d.ts.map +1 -0
  221. package/dist/js/email/templates/order.shipped.js +143 -0
  222. package/dist/js/email/templates/order.shipped.js.map +1 -0
  223. package/dist/js/email/templates/organization.invitation.d.ts +4 -0
  224. package/dist/js/email/templates/organization.invitation.d.ts.map +1 -0
  225. package/dist/js/email/templates/organization.invitation.js +126 -0
  226. package/dist/js/email/templates/organization.invitation.js.map +1 -0
  227. package/dist/js/email/templates/otp.verfication.d.ts +4 -0
  228. package/dist/js/email/templates/otp.verfication.d.ts.map +1 -0
  229. package/dist/js/email/templates/otp.verfication.js +117 -0
  230. package/dist/js/email/templates/otp.verfication.js.map +1 -0
  231. package/dist/js/email/templates/password.changed.d.ts +4 -0
  232. package/dist/js/email/templates/password.changed.d.ts.map +1 -0
  233. package/dist/js/email/templates/password.changed.js +155 -0
  234. package/dist/js/email/templates/password.changed.js.map +1 -0
  235. package/dist/js/email/templates/password.expiring.d.ts +4 -0
  236. package/dist/js/email/templates/password.expiring.d.ts.map +1 -0
  237. package/dist/js/email/templates/password.expiring.js +122 -0
  238. package/dist/js/email/templates/password.expiring.js.map +1 -0
  239. package/dist/js/email/templates/password.reset.d.ts +4 -0
  240. package/dist/js/email/templates/password.reset.d.ts.map +1 -0
  241. package/dist/js/email/templates/password.reset.js +138 -0
  242. package/dist/js/email/templates/password.reset.js.map +1 -0
  243. package/dist/js/email/templates/payment.failed.d.ts +4 -0
  244. package/dist/js/email/templates/payment.failed.d.ts.map +1 -0
  245. package/dist/js/email/templates/payment.failed.js +155 -0
  246. package/dist/js/email/templates/payment.failed.js.map +1 -0
  247. package/dist/js/email/templates/payment.success.d.ts +4 -0
  248. package/dist/js/email/templates/payment.success.d.ts.map +1 -0
  249. package/dist/js/email/templates/payment.success.js +143 -0
  250. package/dist/js/email/templates/payment.success.js.map +1 -0
  251. package/dist/js/email/templates/receipt.d.ts +4 -0
  252. package/dist/js/email/templates/receipt.d.ts.map +1 -0
  253. package/dist/js/email/templates/receipt.js +147 -0
  254. package/dist/js/email/templates/receipt.js.map +1 -0
  255. package/dist/js/email/templates/reminder.d.ts +4 -0
  256. package/dist/js/email/templates/reminder.d.ts.map +1 -0
  257. package/dist/js/email/templates/reminder.js +122 -0
  258. package/dist/js/email/templates/reminder.js.map +1 -0
  259. package/dist/js/email/templates/security.alert.d.ts +4 -0
  260. package/dist/js/email/templates/security.alert.d.ts.map +1 -0
  261. package/dist/js/email/templates/security.alert.js +155 -0
  262. package/dist/js/email/templates/security.alert.js.map +1 -0
  263. package/dist/js/email/templates/subscription.cancelled.d.ts +4 -0
  264. package/dist/js/email/templates/subscription.cancelled.d.ts.map +1 -0
  265. package/dist/js/email/templates/subscription.cancelled.js +122 -0
  266. package/dist/js/email/templates/subscription.cancelled.js.map +1 -0
  267. package/dist/js/email/templates/subscription.created.d.ts +4 -0
  268. package/dist/js/email/templates/subscription.created.d.ts.map +1 -0
  269. package/dist/js/email/templates/subscription.created.js +143 -0
  270. package/dist/js/email/templates/subscription.created.js.map +1 -0
  271. package/dist/js/email/templates/subscription.renewed.d.ts +4 -0
  272. package/dist/js/email/templates/subscription.renewed.d.ts.map +1 -0
  273. package/dist/js/email/templates/subscription.renewed.js +143 -0
  274. package/dist/js/email/templates/subscription.renewed.js.map +1 -0
  275. package/dist/js/email/templates/support.ticket.d.ts +4 -0
  276. package/dist/js/email/templates/support.ticket.d.ts.map +1 -0
  277. package/dist/js/email/templates/support.ticket.js +143 -0
  278. package/dist/js/email/templates/support.ticket.js.map +1 -0
  279. package/dist/js/email/templates/team.invitation.d.ts +4 -0
  280. package/dist/js/email/templates/team.invitation.d.ts.map +1 -0
  281. package/dist/js/email/templates/team.invitation.js +126 -0
  282. package/dist/js/email/templates/team.invitation.js.map +1 -0
  283. package/dist/js/email/templates/trial.ending.d.ts +4 -0
  284. package/dist/js/email/templates/trial.ending.d.ts.map +1 -0
  285. package/dist/js/email/templates/trial.ending.js +122 -0
  286. package/dist/js/email/templates/trial.ending.js.map +1 -0
  287. package/dist/js/email/templates/two.factor.code.d.ts +4 -0
  288. package/dist/js/email/templates/two.factor.code.d.ts.map +1 -0
  289. package/dist/js/email/templates/two.factor.code.js +121 -0
  290. package/dist/js/email/templates/two.factor.code.js.map +1 -0
  291. package/dist/js/email/templates/verify.email.d.ts +4 -0
  292. package/dist/js/email/templates/verify.email.d.ts.map +1 -0
  293. package/dist/js/email/templates/verify.email.js +126 -0
  294. package/dist/js/email/templates/verify.email.js.map +1 -0
  295. package/dist/js/email/templates/weekly.report.d.ts +4 -0
  296. package/dist/js/email/templates/weekly.report.d.ts.map +1 -0
  297. package/dist/js/email/templates/weekly.report.js +143 -0
  298. package/dist/js/email/templates/weekly.report.js.map +1 -0
  299. package/dist/js/email/templates/welcome.d.ts +4 -0
  300. package/dist/js/email/templates/welcome.d.ts.map +1 -0
  301. package/dist/js/email/templates/welcome.email.d.ts +4 -0
  302. package/dist/js/email/templates/welcome.email.d.ts.map +1 -0
  303. package/dist/js/email/templates/welcome.email.js +417 -0
  304. package/dist/js/email/templates/welcome.email.js.map +1 -0
  305. package/dist/js/email/templates/welcome.js +122 -0
  306. package/dist/js/email/templates/welcome.js.map +1 -0
  307. package/dist/js/email/utils/auto-fields.d.ts +68 -0
  308. package/dist/js/email/utils/auto-fields.d.ts.map +1 -0
  309. package/dist/js/email/utils/auto-fields.js +232 -0
  310. package/dist/js/email/utils/auto-fields.js.map +1 -0
  311. package/dist/js/email/utils/auto-fields.type.d.ts +18 -0
  312. package/dist/js/email/utils/auto-fields.type.d.ts.map +1 -0
  313. package/dist/js/email/utils/auto-fields.type.js +2 -0
  314. package/dist/js/email/utils/auto-fields.type.js.map +1 -0
  315. package/dist/js/email/utils/emailTemplates.d.ts +2 -0
  316. package/dist/js/email/utils/emailTemplates.d.ts.map +1 -0
  317. package/dist/js/email/utils/emailTemplates.js +49 -0
  318. package/dist/js/email/utils/emailTemplates.js.map +1 -0
  319. package/dist/js/email/utils/handleEmailTemplateConfig.d.ts +4 -0
  320. package/dist/js/email/utils/handleEmailTemplateConfig.d.ts.map +1 -0
  321. package/dist/js/email/utils/handleEmailTemplateConfig.js +47 -0
  322. package/dist/js/email/utils/handleEmailTemplateConfig.js.map +1 -0
  323. package/dist/js/lib/db.js +5 -1
  324. package/dist/js/lib/db.js.map +1 -1
  325. package/dist/js/lib/model.factory.js +1 -1
  326. package/dist/js/lib/model.factory.js.map +1 -1
  327. package/dist/js/middleware/auth.middleware.d.ts +20 -1
  328. package/dist/js/middleware/auth.middleware.d.ts.map +1 -1
  329. package/dist/js/middleware/auth.middleware.js +27 -26
  330. package/dist/js/middleware/auth.middleware.js.map +1 -1
  331. package/dist/js/terminal/appInfo.js +3 -3
  332. package/dist/js/terminal/appInfo.js.map +1 -1
  333. package/dist/js/terminal/logger.d.ts +23 -1
  334. package/dist/js/terminal/logger.d.ts.map +1 -1
  335. package/dist/js/terminal/logger.js +221 -51
  336. package/dist/js/terminal/logger.js.map +1 -1
  337. package/dist/js/terminal/loggerConfig.js.map +1 -1
  338. package/dist/js/types/ActionHandler.d.ts +49 -56
  339. package/dist/js/types/ActionHandler.d.ts.map +1 -1
  340. package/dist/js/types/Collection.d.ts +1 -1
  341. package/dist/js/types/Collection.d.ts.map +1 -1
  342. package/dist/js/types/Constructor.d.ts +8 -2
  343. package/dist/js/types/Constructor.d.ts.map +1 -1
  344. package/dist/js/types/EmailActionTemplate.d.ts +52 -0
  345. package/dist/js/types/EmailActionTemplate.d.ts.map +1 -0
  346. package/dist/js/types/EmailActionTemplate.js +2 -0
  347. package/dist/js/types/EmailActionTemplate.js.map +1 -0
  348. package/dist/js/types/Route.d.ts +4 -3
  349. package/dist/js/types/Route.d.ts.map +1 -1
  350. package/dist/js/types/adminHandlers.d.ts +2 -0
  351. package/dist/js/types/adminHandlers.d.ts.map +1 -0
  352. package/dist/js/types/adminHandlers.js +2 -0
  353. package/dist/js/types/adminHandlers.js.map +1 -0
  354. package/dist/js/types/email/account.created.type.d.ts +10 -0
  355. package/dist/js/types/email/account.created.type.d.ts.map +1 -0
  356. package/dist/js/types/email/account.created.type.js +2 -0
  357. package/dist/js/types/email/account.created.type.js.map +1 -0
  358. package/dist/js/types/email/account.deleted.type.d.ts +10 -0
  359. package/dist/js/types/email/account.deleted.type.d.ts.map +1 -0
  360. package/dist/js/types/email/account.deleted.type.js +2 -0
  361. package/dist/js/types/email/account.deleted.type.js.map +1 -0
  362. package/dist/js/types/email/account.updated.type.d.ts +12 -0
  363. package/dist/js/types/email/account.updated.type.d.ts.map +1 -0
  364. package/dist/js/types/email/account.updated.type.js +2 -0
  365. package/dist/js/types/email/account.updated.type.js.map +1 -0
  366. package/dist/js/types/email/announcement.type.d.ts +13 -0
  367. package/dist/js/types/email/announcement.type.d.ts.map +1 -0
  368. package/dist/js/types/email/announcement.type.js +2 -0
  369. package/dist/js/types/email/announcement.type.js.map +1 -0
  370. package/dist/js/types/email/api.key.created.type.d.ts +14 -0
  371. package/dist/js/types/email/api.key.created.type.d.ts.map +1 -0
  372. package/dist/js/types/email/api.key.created.type.js +2 -0
  373. package/dist/js/types/email/api.key.created.type.js.map +1 -0
  374. package/dist/js/types/email/api.key.revoked.type.d.ts +14 -0
  375. package/dist/js/types/email/api.key.revoked.type.d.ts.map +1 -0
  376. package/dist/js/types/email/api.key.revoked.type.js +2 -0
  377. package/dist/js/types/email/api.key.revoked.type.js.map +1 -0
  378. package/dist/js/types/email/contact.form.type.d.ts +11 -0
  379. package/dist/js/types/email/contact.form.type.d.ts.map +1 -0
  380. package/dist/js/types/email/contact.form.type.js +2 -0
  381. package/dist/js/types/email/contact.form.type.js.map +1 -0
  382. package/dist/js/types/email/daily.report.type.d.ts +14 -0
  383. package/dist/js/types/email/daily.report.type.d.ts.map +1 -0
  384. package/dist/js/types/email/daily.report.type.js +2 -0
  385. package/dist/js/types/email/daily.report.type.js.map +1 -0
  386. package/dist/js/types/email/email.changed.type.d.ts +12 -0
  387. package/dist/js/types/email/email.changed.type.d.ts.map +1 -0
  388. package/dist/js/types/email/email.changed.type.js +2 -0
  389. package/dist/js/types/email/email.changed.type.js.map +1 -0
  390. package/dist/js/types/email/feedback.type.d.ts +11 -0
  391. package/dist/js/types/email/feedback.type.d.ts.map +1 -0
  392. package/dist/js/types/email/feedback.type.js +2 -0
  393. package/dist/js/types/email/feedback.type.js.map +1 -0
  394. package/dist/js/types/email/index.d.ts +46 -0
  395. package/dist/js/types/email/index.d.ts.map +1 -0
  396. package/dist/js/types/email/index.js +2 -0
  397. package/dist/js/types/email/index.js.map +1 -0
  398. package/dist/js/types/email/invoice.type.d.ts +14 -0
  399. package/dist/js/types/email/invoice.type.d.ts.map +1 -0
  400. package/dist/js/types/email/invoice.type.js +2 -0
  401. package/dist/js/types/email/invoice.type.js.map +1 -0
  402. package/dist/js/types/email/login.alert.type.d.ts +12 -0
  403. package/dist/js/types/email/login.alert.type.d.ts.map +1 -0
  404. package/dist/js/types/email/login.alert.type.js +2 -0
  405. package/dist/js/types/email/login.alert.type.js.map +1 -0
  406. package/dist/js/types/email/magic.link.type.d.ts +11 -0
  407. package/dist/js/types/email/magic.link.type.d.ts.map +1 -0
  408. package/dist/js/types/email/magic.link.type.js +2 -0
  409. package/dist/js/types/email/magic.link.type.js.map +1 -0
  410. package/dist/js/types/email/maintenance.type.d.ts +13 -0
  411. package/dist/js/types/email/maintenance.type.d.ts.map +1 -0
  412. package/dist/js/types/email/maintenance.type.js +2 -0
  413. package/dist/js/types/email/maintenance.type.js.map +1 -0
  414. package/dist/js/types/email/member.added.type.d.ts +14 -0
  415. package/dist/js/types/email/member.added.type.d.ts.map +1 -0
  416. package/dist/js/types/email/member.added.type.js +2 -0
  417. package/dist/js/types/email/member.added.type.js.map +1 -0
  418. package/dist/js/types/email/member.removed.type.d.ts +14 -0
  419. package/dist/js/types/email/member.removed.type.d.ts.map +1 -0
  420. package/dist/js/types/email/member.removed.type.js +2 -0
  421. package/dist/js/types/email/member.removed.type.js.map +1 -0
  422. package/dist/js/types/email/mention.type.d.ts +12 -0
  423. package/dist/js/types/email/mention.type.d.ts.map +1 -0
  424. package/dist/js/types/email/mention.type.js +2 -0
  425. package/dist/js/types/email/mention.type.js.map +1 -0
  426. package/dist/js/types/email/monthly.report.type.d.ts +14 -0
  427. package/dist/js/types/email/monthly.report.type.d.ts.map +1 -0
  428. package/dist/js/types/email/monthly.report.type.js +2 -0
  429. package/dist/js/types/email/monthly.report.type.js.map +1 -0
  430. package/dist/js/types/email/new.comment.type.d.ts +12 -0
  431. package/dist/js/types/email/new.comment.type.d.ts.map +1 -0
  432. package/dist/js/types/email/new.comment.type.js +2 -0
  433. package/dist/js/types/email/new.comment.type.js.map +1 -0
  434. package/dist/js/types/email/new.device.login.type.d.ts +11 -0
  435. package/dist/js/types/email/new.device.login.type.d.ts.map +1 -0
  436. package/dist/js/types/email/new.device.login.type.js +2 -0
  437. package/dist/js/types/email/new.device.login.type.js.map +1 -0
  438. package/dist/js/types/email/new.message.type.d.ts +11 -0
  439. package/dist/js/types/email/new.message.type.d.ts.map +1 -0
  440. package/dist/js/types/email/new.message.type.js +2 -0
  441. package/dist/js/types/email/new.message.type.js.map +1 -0
  442. package/dist/js/types/email/notification.type.d.ts +13 -0
  443. package/dist/js/types/email/notification.type.d.ts.map +1 -0
  444. package/dist/js/types/email/notification.type.js +2 -0
  445. package/dist/js/types/email/notification.type.js.map +1 -0
  446. package/dist/js/types/email/order.cancelled.type.d.ts +12 -0
  447. package/dist/js/types/email/order.cancelled.type.d.ts.map +1 -0
  448. package/dist/js/types/email/order.cancelled.type.js +2 -0
  449. package/dist/js/types/email/order.cancelled.type.js.map +1 -0
  450. package/dist/js/types/email/order.confirmation.type.d.ts +13 -0
  451. package/dist/js/types/email/order.confirmation.type.d.ts.map +1 -0
  452. package/dist/js/types/email/order.confirmation.type.js +2 -0
  453. package/dist/js/types/email/order.confirmation.type.js.map +1 -0
  454. package/dist/js/types/email/order.delivered.type.d.ts +12 -0
  455. package/dist/js/types/email/order.delivered.type.d.ts.map +1 -0
  456. package/dist/js/types/email/order.delivered.type.js +2 -0
  457. package/dist/js/types/email/order.delivered.type.js.map +1 -0
  458. package/dist/js/types/email/order.shipped.type.d.ts +14 -0
  459. package/dist/js/types/email/order.shipped.type.d.ts.map +1 -0
  460. package/dist/js/types/email/order.shipped.type.js +2 -0
  461. package/dist/js/types/email/order.shipped.type.js.map +1 -0
  462. package/dist/js/types/email/organization.invitation.type.d.ts +13 -0
  463. package/dist/js/types/email/organization.invitation.type.d.ts.map +1 -0
  464. package/dist/js/types/email/organization.invitation.type.js +2 -0
  465. package/dist/js/types/email/organization.invitation.type.js.map +1 -0
  466. package/dist/js/types/email/otp.verification.type.d.ts +11 -0
  467. package/dist/js/types/email/otp.verification.type.d.ts.map +1 -0
  468. package/dist/js/types/email/otp.verification.type.js +2 -0
  469. package/dist/js/types/email/otp.verification.type.js.map +1 -0
  470. package/dist/js/types/email/password.changed.type.d.ts +12 -0
  471. package/dist/js/types/email/password.changed.type.d.ts.map +1 -0
  472. package/dist/js/types/email/password.changed.type.js +2 -0
  473. package/dist/js/types/email/password.changed.type.js.map +1 -0
  474. package/dist/js/types/email/password.expiring.type.d.ts +12 -0
  475. package/dist/js/types/email/password.expiring.type.d.ts.map +1 -0
  476. package/dist/js/types/email/password.expiring.type.js +2 -0
  477. package/dist/js/types/email/password.expiring.type.js.map +1 -0
  478. package/dist/js/types/email/password.reset.type.d.ts +11 -0
  479. package/dist/js/types/email/password.reset.type.d.ts.map +1 -0
  480. package/dist/js/types/email/password.reset.type.js +2 -0
  481. package/dist/js/types/email/password.reset.type.js.map +1 -0
  482. package/dist/js/types/email/payment.failed.type.d.ts +14 -0
  483. package/dist/js/types/email/payment.failed.type.d.ts.map +1 -0
  484. package/dist/js/types/email/payment.failed.type.js +2 -0
  485. package/dist/js/types/email/payment.failed.type.js.map +1 -0
  486. package/dist/js/types/email/payment.success.type.d.ts +13 -0
  487. package/dist/js/types/email/payment.success.type.d.ts.map +1 -0
  488. package/dist/js/types/email/payment.success.type.js +2 -0
  489. package/dist/js/types/email/payment.success.type.js.map +1 -0
  490. package/dist/js/types/email/receipt.type.d.ts +14 -0
  491. package/dist/js/types/email/receipt.type.d.ts.map +1 -0
  492. package/dist/js/types/email/receipt.type.js +2 -0
  493. package/dist/js/types/email/receipt.type.js.map +1 -0
  494. package/dist/js/types/email/reminder.type.d.ts +12 -0
  495. package/dist/js/types/email/reminder.type.d.ts.map +1 -0
  496. package/dist/js/types/email/reminder.type.js +2 -0
  497. package/dist/js/types/email/reminder.type.js.map +1 -0
  498. package/dist/js/types/email/security.alert.type.d.ts +12 -0
  499. package/dist/js/types/email/security.alert.type.d.ts.map +1 -0
  500. package/dist/js/types/email/security.alert.type.js +2 -0
  501. package/dist/js/types/email/security.alert.type.js.map +1 -0
  502. package/dist/js/types/email/static-config.type.d.ts +8 -0
  503. package/dist/js/types/email/static-config.type.d.ts.map +1 -0
  504. package/dist/js/types/email/static-config.type.js +2 -0
  505. package/dist/js/types/email/static-config.type.js.map +1 -0
  506. package/dist/js/types/email/subscription.cancelled.type.d.ts +12 -0
  507. package/dist/js/types/email/subscription.cancelled.type.d.ts.map +1 -0
  508. package/dist/js/types/email/subscription.cancelled.type.js +2 -0
  509. package/dist/js/types/email/subscription.cancelled.type.js.map +1 -0
  510. package/dist/js/types/email/subscription.created.type.d.ts +13 -0
  511. package/dist/js/types/email/subscription.created.type.d.ts.map +1 -0
  512. package/dist/js/types/email/subscription.created.type.js +2 -0
  513. package/dist/js/types/email/subscription.created.type.js.map +1 -0
  514. package/dist/js/types/email/subscription.renewed.type.d.ts +14 -0
  515. package/dist/js/types/email/subscription.renewed.type.d.ts.map +1 -0
  516. package/dist/js/types/email/subscription.renewed.type.js +2 -0
  517. package/dist/js/types/email/subscription.renewed.type.js.map +1 -0
  518. package/dist/js/types/email/support.ticket.type.d.ts +14 -0
  519. package/dist/js/types/email/support.ticket.type.d.ts.map +1 -0
  520. package/dist/js/types/email/support.ticket.type.js +2 -0
  521. package/dist/js/types/email/support.ticket.type.js.map +1 -0
  522. package/dist/js/types/email/team.invitation.type.d.ts +13 -0
  523. package/dist/js/types/email/team.invitation.type.d.ts.map +1 -0
  524. package/dist/js/types/email/team.invitation.type.js +2 -0
  525. package/dist/js/types/email/team.invitation.type.js.map +1 -0
  526. package/dist/js/types/email/trial.ending.type.d.ts +13 -0
  527. package/dist/js/types/email/trial.ending.type.d.ts.map +1 -0
  528. package/dist/js/types/email/trial.ending.type.js +2 -0
  529. package/dist/js/types/email/trial.ending.type.js.map +1 -0
  530. package/dist/js/types/email/two.factor.code.type.d.ts +11 -0
  531. package/dist/js/types/email/two.factor.code.type.d.ts.map +1 -0
  532. package/dist/js/types/email/two.factor.code.type.js +2 -0
  533. package/dist/js/types/email/two.factor.code.type.js.map +1 -0
  534. package/dist/js/types/email/verify.email.type.d.ts +11 -0
  535. package/dist/js/types/email/verify.email.type.d.ts.map +1 -0
  536. package/dist/js/types/email/verify.email.type.js +2 -0
  537. package/dist/js/types/email/verify.email.type.js.map +1 -0
  538. package/dist/js/types/email/weekly.report.type.d.ts +14 -0
  539. package/dist/js/types/email/weekly.report.type.d.ts.map +1 -0
  540. package/dist/js/types/email/weekly.report.type.js +2 -0
  541. package/dist/js/types/email/weekly.report.type.js.map +1 -0
  542. package/dist/js/types/email/welcome.type.d.ts +10 -0
  543. package/dist/js/types/email/welcome.type.d.ts.map +1 -0
  544. package/dist/js/types/email/welcome.type.js +2 -0
  545. package/dist/js/types/email/welcome.type.js.map +1 -0
  546. package/dist/js/types/email.js +0 -13
  547. package/dist/js/types/email.js.map +1 -1
  548. package/dist/js/utils/getErrorDetail.d.ts +1 -1
  549. package/dist/js/utils/handleJWT.js +1 -1
  550. package/dist/js/utils/handleJWT.js.map +1 -1
  551. package/dist/js/utils/response.js +3 -3
  552. package/dist/js/utils/response.js.map +1 -1
  553. package/package.json +2 -1
@@ -0,0 +1,165 @@
1
+ const accountCreatedEmail = ({ companyName, companyUrl, userName, userEmail, dashboardUrl, companyAddress, supportEmail, unsubscribeUrl, currentYear, }) => {
2
+ return `<!DOCTYPE html>
3
+ <html
4
+ lang="en"
5
+ xmlns="http://www.w3.org/1999/xhtml"
6
+ xmlns:v="urn:schemas-microsoft-com:vml"
7
+ xmlns:o="urn:schemas-microsoft-com:office:office"
8
+ >
9
+ <head>
10
+ <meta charset="utf-8">
11
+ <meta name="viewport" content="width=device-width, initial-scale=1">
12
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
13
+ <meta name="color-scheme" content="light">
14
+ <meta name="supported-color-schemes" content="light">
15
+ <title>Your account has been created</title>
16
+ <!--[if mso]>
17
+ <noscript>
18
+ <xml>
19
+ <o:OfficeDocumentSettings>
20
+ <o:PixelsPerInch>96</o:PixelsPerInch>
21
+ </o:OfficeDocumentSettings>
22
+ </xml>
23
+ </noscript>
24
+ <style>table {border-collapse:collapse;} .fallback-font {font-family: Arial, sans-serif;}</style>
25
+ <![endif]-->
26
+ <style>
27
+ body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
28
+ table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
29
+ img { -ms-interpolation-mode: bicubic; border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
30
+ body { margin: 0; padding: 0; width: 100% !important; background-color: #F1F5F9; }
31
+ a { color: #0EA5E9; }
32
+ @media screen and (max-width: 600px) {
33
+ .email-container { width: 100% !important; }
34
+ .fluid-padding { padding-left: 24px !important; padding-right: 24px !important; }
35
+ }
36
+ </style>
37
+ </head>
38
+ <body style="margin:0;padding:0;background-color:#F1F5F9;">
39
+ <div style="display:none;max-height:0;overflow:hidden;mso-hide:all;font-size:1px;line-height:1px;color:#F1F5F9;">
40
+ Your ${companyName} account is set up and ready.
41
+ &nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;
42
+ </div>
43
+
44
+ <center style="width:100%;background-color:#F1F5F9;">
45
+ <!--[if mso]>
46
+ <table role="presentation" width="600" align="center" cellpadding="0" cellspacing="0"><tr><td>
47
+ <![endif]-->
48
+
49
+ <div class="email-container" style="max-width:600px;margin:0 auto;">
50
+
51
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
52
+ <tr>
53
+ <td style="padding:36px 24px 20px 24px;text-align:center;">
54
+ <a href="${companyUrl}" target="_blank" style="text-decoration:none;">
55
+ <span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:19px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">${companyName}</span>
56
+ </a>
57
+ </td>
58
+ </tr>
59
+ </table>
60
+
61
+ <table
62
+ role="presentation"
63
+ width="100%"
64
+ cellpadding="0"
65
+ cellspacing="0"
66
+ style="max-width:600px;margin:0 auto;background-color:#FFFFFF;border-radius:16px;border:1px solid #E2E8F0;"
67
+ >
68
+ <tr>
69
+ <td
70
+ style="height:4px;line-height:4px;font-size:4px;background-color:#0EA5E9;border-radius:16px 16px 0 0;"
71
+ bgcolor="#0EA5E9"
72
+ >
73
+ &nbsp;
74
+ </td>
75
+ </tr>
76
+
77
+ <tr>
78
+ <td class="fluid-padding" style="padding:40px 40px 36px 40px;">
79
+
80
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 24px 0;">
81
+ <tr>
82
+ <td
83
+ width="56"
84
+ height="56"
85
+ style="width:56px;height:56px;border-radius:16px;background-color:#E2F4FC;text-align:center;vertical-align:middle;"
86
+ bgcolor="#E2F4FC"
87
+ >
88
+ <div style="font-size:0;line-height:0;">
89
+ <svg
90
+ width="26"
91
+ height="26"
92
+ viewBox="0 0 24 24"
93
+ fill="none"
94
+ stroke="#0EA5E9"
95
+ stroke-width="1.7"
96
+ stroke-linecap="round"
97
+ stroke-linejoin="round"
98
+ xmlns="http://www.w3.org/2000/svg"
99
+ >
100
+ <circle cx="12" cy="12" r="9"/>
101
+ <path d="M8 12.2l2.7 2.7L16 9.5"/>
102
+ </svg>
103
+ </div>
104
+ </td>
105
+ </tr>
106
+ </table>
107
+
108
+ <h1 style="margin:0 0 16px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:22px;line-height:28px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">
109
+ Your account is ready
110
+ </h1>
111
+
112
+ <p style="margin:0 0 14px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:24px;color:#475569;">
113
+ Hi ${userName}, your ${companyName} account has been created successfully with the email ${userEmail}.
114
+ </p>
115
+
116
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
117
+ <tr>
118
+ <td style="border-radius:10px;background-color:#0EA5E9;" bgcolor="#0EA5E9">
119
+ <a
120
+ href="${dashboardUrl}"
121
+ target="_blank"
122
+ style="display:inline-block;padding:13px 28px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:600;color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;"
123
+ >
124
+ Get started
125
+ </a>
126
+ </td>
127
+ </tr>
128
+ </table>
129
+
130
+ </td>
131
+ </tr>
132
+ </table>
133
+
134
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
135
+ <tr>
136
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
137
+
138
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
139
+ ${companyName} &middot; ${companyAddress}
140
+ </p>
141
+
142
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
143
+ This email was sent to ${userEmail}. Need help?
144
+ <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
145
+ </p>
146
+
147
+ <p style="margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
148
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
149
+ &nbsp;&middot;&nbsp;
150
+ &copy; ${currentYear} ${companyName}. All rights reserved.
151
+ </p>
152
+
153
+ </td>
154
+ </tr>
155
+ </table>
156
+
157
+ </div>
158
+
159
+ <!--[if mso]></td></tr></table><![endif]-->
160
+ </center>
161
+ </body>
162
+ </html>`;
163
+ };
164
+ export default accountCreatedEmail;
165
+ //# sourceMappingURL=account.created.email.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.created.email.js","sourceRoot":"","sources":["../../../../src/js/email/templates/account.created.email.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAG,CAAC,EAC3B,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,WAAW,GACqB,EAAU,EAAE;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCE,WAAW;;;;;;;;;;;;;;uBAcC,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBA0DrL,QAAQ,UAAU,WAAW,yDAAyD,SAAS;;;;;;;4BAOtF,YAAY;;;;;;;;;;;;;;;;;;;gBAmBxB,WAAW,aAAa,cAAc;;;;uCAIf,SAAS;gCAChB,YAAY,sDAAsD,YAAY;;;;yBAIrF,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;;QAYzC,CAAC;AACT,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,122 @@
1
+ const accountCreatedEmail = ({ companyName, companyUrl, userName, userEmail, dashboardUrl, companyAddress, supportEmail, unsubscribeUrl, currentYear, }) => {
2
+ return `<!DOCTYPE html>
3
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="color-scheme" content="light">
9
+ <meta name="supported-color-schemes" content="light">
10
+ <title>Your account has been created</title>
11
+ <!--[if mso]>
12
+ <noscript>
13
+ <xml>
14
+ <o:OfficeDocumentSettings>
15
+ <o:PixelsPerInch>96</o:PixelsPerInch>
16
+ </o:OfficeDocumentSettings>
17
+ </xml>
18
+ </noscript>
19
+ <style>table {border-collapse:collapse;} .fallback-font {font-family: Arial, sans-serif;}</style>
20
+ <![endif]-->
21
+ <style>
22
+ body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
23
+ table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
24
+ img { -ms-interpolation-mode: bicubic; border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
25
+ body { margin: 0; padding: 0; width: 100% !important; background-color: #F1F5F9; }
26
+ a { color: #0EA5E9; }
27
+ @media screen and (max-width: 600px) {
28
+ .email-container { width: 100% !important; }
29
+ .fluid-padding { padding-left: 24px !important; padding-right: 24px !important; }
30
+ }
31
+ </style>
32
+ </head>
33
+ <body style="margin:0;padding:0;background-color:#F1F5F9;">
34
+ <div style="display:none;max-height:0;overflow:hidden;mso-hide:all;font-size:1px;line-height:1px;color:#F1F5F9;">
35
+ Your ${companyName} account is set up and ready.
36
+ &nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;
37
+ </div>
38
+ <center style="width:100%;background-color:#F1F5F9;">
39
+ <!--[if mso]>
40
+ <table role="presentation" width="600" align="center" cellpadding="0" cellspacing="0"><tr><td>
41
+ <![endif]-->
42
+ <div class="email-container" style="max-width:600px;margin:0 auto;">
43
+
44
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
45
+ <tr>
46
+ <td style="padding:36px 24px 20px 24px;text-align:center;">
47
+ <a href="${companyUrl}" target="_blank" style="text-decoration:none;">
48
+ <span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:19px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">${companyName}</span>
49
+ </a>
50
+ </td>
51
+ </tr>
52
+ </table>
53
+
54
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0"
55
+ style="max-width:600px;margin:0 auto;background-color:#FFFFFF;border-radius:16px;border:1px solid #E2E8F0;">
56
+ <tr><td style="height:4px;line-height:4px;font-size:4px;background-color:#0EA5E9;border-radius:16px 16px 0 0;" bgcolor="#0EA5E9">&nbsp;</td></tr>
57
+ <tr>
58
+ <td class="fluid-padding" style="padding:40px 40px 36px 40px;">
59
+
60
+
61
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 24px 0;">
62
+ <tr>
63
+ <td width="56" height="56" style="width:56px;height:56px;border-radius:16px;background-color:#E2F4FC;text-align:center;vertical-align:middle;" bgcolor="#E2F4FC">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0EA5E9" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><circle cx="12" cy="12" r="9"/><path d="M8 12.2l2.7 2.7L16 9.5"/></svg></div>
65
+ </td>
66
+ </tr>
67
+ </table>
68
+
69
+ <h1 style="margin:0 0 16px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:22px;line-height:28px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">
70
+ Your account is ready
71
+ </h1>
72
+
73
+ <p style="margin:0 0 14px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:24px;color:#475569;">Hi ${userName}, your ${companyName} account has been created successfully with the email ${userEmail}.</p>
74
+
75
+
76
+
77
+
78
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
79
+ <tr>
80
+ <td style="border-radius:10px;background-color:#0EA5E9;" bgcolor="#0EA5E9">
81
+ <a href="${dashboardUrl}" target="_blank"
82
+ style="display:inline-block;padding:13px 28px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;font-weight:600;
83
+ color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
84
+ Get started
85
+ </a>
86
+ </td>
87
+ </tr>
88
+ </table>
89
+
90
+
91
+
92
+ </td>
93
+ </tr>
94
+ </table>
95
+
96
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
97
+ <tr>
98
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
99
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
100
+ ${companyName} &middot; ${companyAddress}
101
+ </p>
102
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
103
+ This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
104
+ </p>
105
+ <p style="margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
106
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
107
+ &nbsp;&middot;&nbsp;
108
+ &copy; ${currentYear} ${companyName}. All rights reserved.
109
+ </p>
110
+ </td>
111
+ </tr>
112
+ </table>
113
+
114
+ </div>
115
+ <!--[if mso]></td></tr></table><![endif]-->
116
+ </center>
117
+ </body>
118
+ </html>
119
+ `;
120
+ };
121
+ export default accountCreatedEmail;
122
+ //# sourceMappingURL=account.created.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.created.js","sourceRoot":"","sources":["../../../../src/js/email/templates/account.created.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAG,CAAC,EAC3B,WAAW,EACX,UAAU,EACV,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,WAAW,GACqB,EAAU,EAAE;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiCE,WAAW;;;;;;;;;;;;uBAYC,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,UAAU,WAAW,yDAAyD,SAAS;;;;;;;;qBAQjQ,YAAY;;;;;;;;;;;;;;;;;;;gBAmBjB,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { AccountDeletedEmailPlaceholders } from "../../types/email/account.deleted.type.js";
2
+ declare const accountDeletedEmail: ({ companyName, companyUrl, userName, deletionDate, supportEmail, companyAddress, userEmail, unsubscribeUrl, currentYear, }: AccountDeletedEmailPlaceholders) => string;
3
+ export default accountDeletedEmail;
4
+ //# sourceMappingURL=account.deleted.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.deleted.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/account.deleted.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAEjG,QAAA,MAAM,mBAAmB,GAAI,4HAU1B,+BAA+B,KAAG,MA4GpC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,111 @@
1
+ const accountDeletedEmail = ({ companyName, companyUrl, userName, deletionDate, supportEmail, companyAddress, userEmail, unsubscribeUrl, currentYear, }) => {
2
+ return `<!DOCTYPE html>
3
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="color-scheme" content="light">
9
+ <meta name="supported-color-schemes" content="light">
10
+ <title>Your account has been deleted</title>
11
+ <!--[if mso]>
12
+ <noscript>
13
+ <xml>
14
+ <o:OfficeDocumentSettings>
15
+ <o:PixelsPerInch>96</o:PixelsPerInch>
16
+ </o:OfficeDocumentSettings>
17
+ </xml>
18
+ </noscript>
19
+ <style>table {border-collapse:collapse;} .fallback-font {font-family: Arial, sans-serif;}</style>
20
+ <![endif]-->
21
+ <style>
22
+ body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
23
+ table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
24
+ img { -ms-interpolation-mode: bicubic; border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
25
+ body { margin: 0; padding: 0; width: 100% !important; background-color: #F1F5F9; }
26
+ a { color: #475569; }
27
+ @media screen and (max-width: 600px) {
28
+ .email-container { width: 100% !important; }
29
+ .fluid-padding { padding-left: 24px !important; padding-right: 24px !important; }
30
+ }
31
+ </style>
32
+ </head>
33
+ <body style="margin:0;padding:0;background-color:#F1F5F9;">
34
+ <div style="display:none;max-height:0;overflow:hidden;mso-hide:all;font-size:1px;line-height:1px;color:#F1F5F9;">
35
+ Your ${companyName} account and associated data have been removed.
36
+ &nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;
37
+ </div>
38
+ <center style="width:100%;background-color:#F1F5F9;">
39
+ <!--[if mso]>
40
+ <table role="presentation" width="600" align="center" cellpadding="0" cellspacing="0"><tr><td>
41
+ <![endif]-->
42
+ <div class="email-container" style="max-width:600px;margin:0 auto;">
43
+
44
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
45
+ <tr>
46
+ <td style="padding:36px 24px 20px 24px;text-align:center;">
47
+ <a href="${companyUrl}" target="_blank" style="text-decoration:none;">
48
+ <span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:19px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">${companyName}</span>
49
+ </a>
50
+ </td>
51
+ </tr>
52
+ </table>
53
+
54
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0"
55
+ style="max-width:600px;margin:0 auto;background-color:#FFFFFF;border-radius:16px;border:1px solid #E2E8F0;">
56
+ <tr><td style="height:4px;line-height:4px;font-size:4px;background-color:#475569;border-radius:16px 16px 0 0;" bgcolor="#475569">&nbsp;</td></tr>
57
+ <tr>
58
+ <td class="fluid-padding" style="padding:40px 40px 36px 40px;">
59
+
60
+
61
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 24px 0;">
62
+ <tr>
63
+ <td width="56" height="56" style="width:56px;height:56px;border-radius:16px;background-color:#E9EBED;text-align:center;vertical-align:middle;" bgcolor="#E9EBED">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#475569" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M5 7h14"/><path d="M9.5 7V4.3h5V7"/><path d="M7 7l1 13h8l1-13"/></svg></div>
65
+ </td>
66
+ </tr>
67
+ </table>
68
+
69
+ <h1 style="margin:0 0 16px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:22px;line-height:28px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">
70
+ Your account has been deleted
71
+ </h1>
72
+
73
+ <p style="margin:0 0 14px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:24px;color:#475569;">Hi ${userName}, as requested, your ${companyName} account and associated data were permanently deleted on ${deletionDate}.</p><p style="margin:0 0 14px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:24px;color:#475569;">If this was a mistake or you'd like to come back, we'd love to have you again.</p>
74
+
75
+
76
+
77
+
78
+
79
+ <p style="margin:20px 0 0 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:13px;line-height:20px;color:#94A3B8;">Didn't request this? Contact ${supportEmail} immediately.</p>
80
+
81
+ </td>
82
+ </tr>
83
+ </table>
84
+
85
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
86
+ <tr>
87
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
88
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
89
+ ${companyName} &middot; ${companyAddress}
90
+ </p>
91
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
92
+ This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
93
+ </p>
94
+ <p style="margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
95
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
96
+ &nbsp;&middot;&nbsp;
97
+ &copy; ${currentYear} ${companyName}. All rights reserved.
98
+ </p>
99
+ </td>
100
+ </tr>
101
+ </table>
102
+
103
+ </div>
104
+ <!--[if mso]></td></tr></table><![endif]-->
105
+ </center>
106
+ </body>
107
+ </html>
108
+ `;
109
+ };
110
+ export default accountDeletedEmail;
111
+ //# sourceMappingURL=account.deleted.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.deleted.js","sourceRoot":"","sources":["../../../../src/js/email/templates/account.deleted.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAG,CAAC,EAC3B,WAAW,EACX,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,SAAS,EACT,cAAc,EACd,WAAW,GACqB,EAAU,EAAE;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiCE,WAAW;;;;;;;;;;;;uBAYC,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,wBAAwB,WAAW,4DAA4D,YAAY;;;;;;iNAMzF,YAAY;;;;;;;;;;gBAU7M,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { AccountUpdatedEmailPlaceholders } from "../../types/email/account.updated.type.js";
2
+ declare const accountUpdatedEmail: ({ companyUrl, companyName, userName, changeDate, fieldChanged, newValue, supportEmail, companyAddress, userEmail, unsubscribeUrl, currentYear, }: AccountUpdatedEmailPlaceholders) => string;
3
+ export default accountUpdatedEmail;
4
+ //# sourceMappingURL=account.updated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.updated.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/account.updated.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAEjG,QAAA,MAAM,mBAAmB,GAAI,kJAY1B,+BAA+B,KAAG,MA6HpC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,128 @@
1
+ const accountUpdatedEmail = ({ companyUrl, companyName, userName, changeDate, fieldChanged, newValue, supportEmail, companyAddress, userEmail, unsubscribeUrl, currentYear, }) => {
2
+ return `<!DOCTYPE html>
3
+ <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
4
+ <head>
5
+ <meta charset="utf-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
8
+ <meta name="color-scheme" content="light">
9
+ <meta name="supported-color-schemes" content="light">
10
+ <title>Your account details were updated</title>
11
+ <!--[if mso]>
12
+ <noscript>
13
+ <xml>
14
+ <o:OfficeDocumentSettings>
15
+ <o:PixelsPerInch>96</o:PixelsPerInch>
16
+ </o:OfficeDocumentSettings>
17
+ </xml>
18
+ </noscript>
19
+ <style>table {border-collapse:collapse;} .fallback-font {font-family: Arial, sans-serif;}</style>
20
+ <![endif]-->
21
+ <style>
22
+ body, table, td, a { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
23
+ table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; }
24
+ img { -ms-interpolation-mode: bicubic; border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
25
+ body { margin: 0; padding: 0; width: 100% !important; background-color: #F1F5F9; }
26
+ a { color: #0EA5E9; }
27
+ @media screen and (max-width: 600px) {
28
+ .email-container { width: 100% !important; }
29
+ .fluid-padding { padding-left: 24px !important; padding-right: 24px !important; }
30
+ }
31
+ </style>
32
+ </head>
33
+ <body style="margin:0;padding:0;background-color:#F1F5F9;">
34
+ <div style="display:none;max-height:0;overflow:hidden;mso-hide:all;font-size:1px;line-height:1px;color:#F1F5F9;">
35
+ A change was made to your account information.
36
+ &nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;
37
+ </div>
38
+ <center style="width:100%;background-color:#F1F5F9;">
39
+ <!--[if mso]>
40
+ <table role="presentation" width="600" align="center" cellpadding="0" cellspacing="0"><tr><td>
41
+ <![endif]-->
42
+ <div class="email-container" style="max-width:600px;margin:0 auto;">
43
+
44
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
45
+ <tr>
46
+ <td style="padding:36px 24px 20px 24px;text-align:center;">
47
+ <a href="${companyUrl}" target="_blank" style="text-decoration:none;">
48
+ <span style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:19px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">${companyName}</span>
49
+ </a>
50
+ </td>
51
+ </tr>
52
+ </table>
53
+
54
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0"
55
+ style="max-width:600px;margin:0 auto;background-color:#FFFFFF;border-radius:16px;border:1px solid #E2E8F0;">
56
+ <tr><td style="height:4px;line-height:4px;font-size:4px;background-color:#0EA5E9;border-radius:16px 16px 0 0;" bgcolor="#0EA5E9">&nbsp;</td></tr>
57
+ <tr>
58
+ <td class="fluid-padding" style="padding:40px 40px 36px 40px;">
59
+
60
+
61
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:0 0 24px 0;">
62
+ <tr>
63
+ <td width="56" height="56" style="width:56px;height:56px;border-radius:16px;background-color:#E2F4FC;text-align:center;vertical-align:middle;" bgcolor="#E2F4FC">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0EA5E9" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 19.5h4L18 10l-4-4L4.5 15.5v4z"/><path d="M13 7l4 4"/></svg></div>
65
+ </td>
66
+ </tr>
67
+ </table>
68
+
69
+ <h1 style="margin:0 0 16px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:22px;line-height:28px;font-weight:700;color:#0F172A;letter-spacing:-0.02em;">
70
+ Account details updated
71
+ </h1>
72
+
73
+ <p style="margin:0 0 14px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:24px;color:#475569;">Hi ${userName}, this confirms the following change was made to your ${companyName} account on ${changeDate}:</p>
74
+
75
+
76
+ <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="margin:24px 0;">
77
+ <tr>
78
+ <td style="background-color:#F8FAFC;border:1px solid #E2E8F0;border-radius:12px;padding:4px 20px;">
79
+ <table role="presentation" cellpadding="0" cellspacing="0" width="100%">
80
+
81
+ <tr>
82
+ <td style="padding:12px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#94A3B8;" width="42%">Field updated</td>
83
+ <td style="padding:12px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#0F172A;font-weight:600;text-align:right;">${fieldChanged}</td>
84
+ </tr>
85
+ <tr>
86
+ <td style="padding:12px 0;border-top:1px solid #E2E8F0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#94A3B8;" width="42%">New value</td>
87
+ <td style="padding:12px 0;border-top:1px solid #E2E8F0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#0F172A;font-weight:600;text-align:right;">${newValue}</td>
88
+ </tr>
89
+ </table>
90
+ </td>
91
+ </tr>
92
+ </table>
93
+
94
+
95
+
96
+ <p style="margin:20px 0 0 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:13px;line-height:20px;color:#94A3B8;">If you didn't make this change, contact ${supportEmail} right away.</p>
97
+
98
+ </td>
99
+ </tr>
100
+ </table>
101
+
102
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
103
+ <tr>
104
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
105
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
106
+ ${companyName} &middot; ${companyAddress}
107
+ </p>
108
+ <p style="margin:0 0 6px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
109
+ This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
110
+ </p>
111
+ <p style="margin:0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:12.5px;line-height:18px;color:#94A3B8;">
112
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
113
+ &nbsp;&middot;&nbsp;
114
+ &copy; ${currentYear} ${companyName}. All rights reserved.
115
+ </p>
116
+ </td>
117
+ </tr>
118
+ </table>
119
+
120
+ </div>
121
+ <!--[if mso]></td></tr></table><![endif]-->
122
+ </center>
123
+ </body>
124
+ </html>
125
+ `;
126
+ };
127
+ export default accountUpdatedEmail;
128
+ //# sourceMappingURL=account.updated.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.updated.js","sourceRoot":"","sources":["../../../../src/js/email/templates/account.updated.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAG,CAAC,EAC3B,UAAU,EACV,WAAW,EACX,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,SAAS,EACT,cAAc,EACd,WAAW,GACqB,EAAU,EAAE;IAC5C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA6Cc,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,yDAAyD,WAAW,eAAe,UAAU;;;;;;;;;;kMAU1F,YAAY;;;;+NAIiB,QAAQ;;;;;;;;;4NASX,YAAY;;;;;;;;;;gBAUxN,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { AnnouncementEmailPlaceholders } from "../../types/email/announcement.type.js";
2
+ declare const announcementEmail: ({ announcementTitle, announcementSummary, companyUrl, companyName, userName, announcementBody, learnMoreUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: AnnouncementEmailPlaceholders) => string;
3
+ export default announcementEmail;
4
+ //# sourceMappingURL=announcement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"announcement.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/announcement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAE5F,QAAA,MAAM,iBAAiB,GAAI,sLAaxB,6BAA6B,KAAG,MAuHlC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}