@starklabs/forge 1.3.23 → 1.3.24-beta.1

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 (694) hide show
  1. package/dist/js/account/index.d.ts +1 -1
  2. package/dist/js/account/index.d.ts.map +1 -1
  3. package/dist/js/account/index.js +14 -7
  4. package/dist/js/account/index.js.map +1 -1
  5. package/dist/js/account/me.delete.d.ts +2 -2
  6. package/dist/js/account/me.delete.d.ts.map +1 -1
  7. package/dist/js/account/me.delete.js +15 -6
  8. package/dist/js/account/me.delete.js.map +1 -1
  9. package/dist/js/account/me.update.d.ts +3 -3
  10. package/dist/js/account/me.update.d.ts.map +1 -1
  11. package/dist/js/account/me.update.js +20 -7
  12. package/dist/js/account/me.update.js.map +1 -1
  13. package/dist/js/app.js +21 -8
  14. package/dist/js/app.js.map +1 -1
  15. package/dist/js/auth/builtin/auth.collection.d.ts.map +1 -1
  16. package/dist/js/auth/builtin/auth.collection.js +21 -11
  17. package/dist/js/auth/builtin/auth.collection.js.map +1 -1
  18. package/dist/js/auth/forgotPassword.d.ts +4 -4
  19. package/dist/js/auth/forgotPassword.d.ts.map +1 -1
  20. package/dist/js/auth/forgotPassword.js +12 -6
  21. package/dist/js/auth/forgotPassword.js.map +1 -1
  22. package/dist/js/auth/index.d.ts +1 -1
  23. package/dist/js/auth/index.d.ts.map +1 -1
  24. package/dist/js/auth/index.js +16 -8
  25. package/dist/js/auth/index.js.map +1 -1
  26. package/dist/js/auth/login.d.ts +4 -4
  27. package/dist/js/auth/login.d.ts.map +1 -1
  28. package/dist/js/auth/login.js +8 -4
  29. package/dist/js/auth/login.js.map +1 -1
  30. package/dist/js/auth/logout.js +6 -1
  31. package/dist/js/auth/logout.js.map +1 -1
  32. package/dist/js/auth/refresh.js +9 -0
  33. package/dist/js/auth/refresh.js.map +1 -1
  34. package/dist/js/auth/resendOTP.d.ts +4 -4
  35. package/dist/js/auth/resendOTP.d.ts.map +1 -1
  36. package/dist/js/auth/resendOTP.js +14 -4
  37. package/dist/js/auth/resendOTP.js.map +1 -1
  38. package/dist/js/auth/resetPassword.d.ts +4 -4
  39. package/dist/js/auth/resetPassword.d.ts.map +1 -1
  40. package/dist/js/auth/resetPassword.js +14 -4
  41. package/dist/js/auth/resetPassword.js.map +1 -1
  42. package/dist/js/auth/signup.d.ts +4 -4
  43. package/dist/js/auth/signup.d.ts.map +1 -1
  44. package/dist/js/auth/signup.js +10 -5
  45. package/dist/js/auth/signup.js.map +1 -1
  46. package/dist/js/auth/utils/authenticateUser.d.ts +3 -3
  47. package/dist/js/auth/utils/authenticateUser.d.ts.map +1 -1
  48. package/dist/js/auth/utils/authenticateUser.js +13 -3
  49. package/dist/js/auth/utils/authenticateUser.js.map +1 -1
  50. package/dist/js/auth/utils/createOTPModel.d.ts +1 -1
  51. package/dist/js/auth/utils/createOTPModel.d.ts.map +1 -1
  52. package/dist/js/auth/utils/createOTPModel.js +8 -3
  53. package/dist/js/auth/utils/createOTPModel.js.map +1 -1
  54. package/dist/js/auth/utils/createOTPUser.d.ts +3 -3
  55. package/dist/js/auth/utils/createOTPUser.d.ts.map +1 -1
  56. package/dist/js/auth/utils/createOTPUser.js +11 -3
  57. package/dist/js/auth/utils/createOTPUser.js.map +1 -1
  58. package/dist/js/auth/utils/createUser.d.ts +3 -3
  59. package/dist/js/auth/utils/createUser.d.ts.map +1 -1
  60. package/dist/js/auth/utils/createUser.js +12 -2
  61. package/dist/js/auth/utils/createUser.js.map +1 -1
  62. package/dist/js/auth/utils/findRefreshToken.js +5 -1
  63. package/dist/js/auth/utils/findRefreshToken.js.map +1 -1
  64. package/dist/js/auth/utils/findRefreshTokenUser.js +1 -0
  65. package/dist/js/auth/utils/findRefreshTokenUser.js.map +1 -1
  66. package/dist/js/auth/utils/getOTPUser.js +3 -0
  67. package/dist/js/auth/utils/getOTPUser.js.map +1 -1
  68. package/dist/js/auth/utils/getUser.d.ts +3 -3
  69. package/dist/js/auth/utils/getUser.d.ts.map +1 -1
  70. package/dist/js/auth/utils/getUser.js +6 -2
  71. package/dist/js/auth/utils/getUser.js.map +1 -1
  72. package/dist/js/auth/utils/handleGetToken.d.ts.map +1 -1
  73. package/dist/js/auth/utils/handleGetToken.js +2 -2
  74. package/dist/js/auth/utils/handleGetToken.js.map +1 -1
  75. package/dist/js/auth/utils/handleRefreshTokenValidation.js +7 -1
  76. package/dist/js/auth/utils/handleRefreshTokenValidation.js.map +1 -1
  77. package/dist/js/auth/utils/handleRotateRefreshToken.js +7 -1
  78. package/dist/js/auth/utils/handleRotateRefreshToken.js.map +1 -1
  79. package/dist/js/auth/utils/modeMap.d.ts +12 -12
  80. package/dist/js/auth/utils/otpVerifiedResponse.js +1 -0
  81. package/dist/js/auth/utils/otpVerifiedResponse.js.map +1 -1
  82. package/dist/js/auth/utils/sendCookie.js +10 -0
  83. package/dist/js/auth/utils/sendCookie.js.map +1 -1
  84. package/dist/js/auth/utils/sendOTP.d.ts.map +1 -1
  85. package/dist/js/auth/utils/sendOTP.js +15 -14
  86. package/dist/js/auth/utils/sendOTP.js.map +1 -1
  87. package/dist/js/auth/utils/verifyCredentials.d.ts +3 -3
  88. package/dist/js/auth/utils/verifyCredentials.d.ts.map +1 -1
  89. package/dist/js/auth/utils/verifyCredentials.js +8 -6
  90. package/dist/js/auth/utils/verifyCredentials.js.map +1 -1
  91. package/dist/js/auth/verifyOTP.d.ts +4 -4
  92. package/dist/js/auth/verifyOTP.d.ts.map +1 -1
  93. package/dist/js/auth/verifyOTP.js +18 -5
  94. package/dist/js/auth/verifyOTP.js.map +1 -1
  95. package/dist/js/config/auth.envs.d.ts +4 -0
  96. package/dist/js/config/auth.envs.d.ts.map +1 -0
  97. package/dist/js/config/auth.envs.js +79 -0
  98. package/dist/js/config/auth.envs.js.map +1 -0
  99. package/dist/js/config/cloudinary.js +1 -0
  100. package/dist/js/config/cloudinary.js.map +1 -1
  101. package/dist/js/config/duration.js +7 -0
  102. package/dist/js/config/duration.js.map +1 -1
  103. package/dist/js/config/email.envs.d.ts +4 -0
  104. package/dist/js/config/email.envs.d.ts.map +1 -0
  105. package/dist/js/config/email.envs.js +50 -0
  106. package/dist/js/config/email.envs.js.map +1 -0
  107. package/dist/js/config/envs.d.ts.map +1 -1
  108. package/dist/js/config/envs.js +7 -57
  109. package/dist/js/config/envs.js.map +1 -1
  110. package/dist/js/config/handleReqType.d.ts +1 -1
  111. package/dist/js/config/handleReqType.d.ts.map +1 -1
  112. package/dist/js/config/handleReqType.js +4 -3
  113. package/dist/js/config/handleReqType.js.map +1 -1
  114. package/dist/js/config/handlerMap.js +4 -0
  115. package/dist/js/config/handlerMap.js.map +1 -1
  116. package/dist/js/config/refreshModel.js +1 -0
  117. package/dist/js/config/refreshModel.js.map +1 -1
  118. package/dist/js/config/sendEmail.d.ts.map +1 -1
  119. package/dist/js/config/sendEmail.js +4 -1
  120. package/dist/js/config/sendEmail.js.map +1 -1
  121. package/dist/js/crud/bunch.crud.js +2 -0
  122. package/dist/js/crud/bunch.crud.js.map +1 -1
  123. package/dist/js/crud/create.d.ts +4 -4
  124. package/dist/js/crud/create.d.ts.map +1 -1
  125. package/dist/js/crud/create.js +23 -8
  126. package/dist/js/crud/create.js.map +1 -1
  127. package/dist/js/crud/createBulk.d.ts +4 -4
  128. package/dist/js/crud/createBulk.d.ts.map +1 -1
  129. package/dist/js/crud/createBulk.js +8 -3
  130. package/dist/js/crud/createBulk.js.map +1 -1
  131. package/dist/js/crud/email/index.d.ts +2 -0
  132. package/dist/js/crud/email/index.d.ts.map +1 -0
  133. package/dist/js/crud/email/index.js +2 -0
  134. package/dist/js/crud/email/index.js.map +1 -0
  135. package/dist/js/crud/encryption/handleDecryption.js +8 -3
  136. package/dist/js/crud/encryption/handleDecryption.js.map +1 -1
  137. package/dist/js/crud/encryption/handleEncryption.js +7 -3
  138. package/dist/js/crud/encryption/handleEncryption.js.map +1 -1
  139. package/dist/js/crud/handleUploads/file.add.d.ts +4 -4
  140. package/dist/js/crud/handleUploads/file.add.d.ts.map +1 -1
  141. package/dist/js/crud/handleUploads/file.add.js +16 -9
  142. package/dist/js/crud/handleUploads/file.add.js.map +1 -1
  143. package/dist/js/crud/handleUploads/file.delete.d.ts +4 -4
  144. package/dist/js/crud/handleUploads/file.delete.d.ts.map +1 -1
  145. package/dist/js/crud/handleUploads/file.delete.js +14 -5
  146. package/dist/js/crud/handleUploads/file.delete.js.map +1 -1
  147. package/dist/js/crud/handleUploads/file.update.d.ts +4 -4
  148. package/dist/js/crud/handleUploads/file.update.d.ts.map +1 -1
  149. package/dist/js/crud/handleUploads/file.update.js +15 -5
  150. package/dist/js/crud/handleUploads/file.update.js.map +1 -1
  151. package/dist/js/crud/index.d.ts +1 -1
  152. package/dist/js/crud/index.d.ts.map +1 -1
  153. package/dist/js/crud/index.js +18 -11
  154. package/dist/js/crud/index.js.map +1 -1
  155. package/dist/js/crud/read.d.ts +4 -4
  156. package/dist/js/crud/read.d.ts.map +1 -1
  157. package/dist/js/crud/read.js +19 -11
  158. package/dist/js/crud/read.js.map +1 -1
  159. package/dist/js/crud/readAll.d.ts +3 -3
  160. package/dist/js/crud/readAll.d.ts.map +1 -1
  161. package/dist/js/crud/readAll.js +16 -8
  162. package/dist/js/crud/readAll.js.map +1 -1
  163. package/dist/js/crud/remove.d.ts +3 -3
  164. package/dist/js/crud/remove.d.ts.map +1 -1
  165. package/dist/js/crud/remove.js +19 -8
  166. package/dist/js/crud/remove.js.map +1 -1
  167. package/dist/js/crud/removeAll.d.ts +3 -3
  168. package/dist/js/crud/removeAll.d.ts.map +1 -1
  169. package/dist/js/crud/removeAll.js +13 -5
  170. package/dist/js/crud/removeAll.js.map +1 -1
  171. package/dist/js/crud/removeMultiple.d.ts +4 -4
  172. package/dist/js/crud/removeMultiple.d.ts.map +1 -1
  173. package/dist/js/crud/removeMultiple.js +18 -7
  174. package/dist/js/crud/removeMultiple.js.map +1 -1
  175. package/dist/js/crud/security/handleDecryption.js +8 -3
  176. package/dist/js/crud/security/handleDecryption.js.map +1 -1
  177. package/dist/js/crud/security/handleEncryption.js +7 -3
  178. package/dist/js/crud/security/handleEncryption.js.map +1 -1
  179. package/dist/js/crud/security/handleHashing.js +8 -3
  180. package/dist/js/crud/security/handleHashing.js.map +1 -1
  181. package/dist/js/crud/update.d.ts +4 -4
  182. package/dist/js/crud/update.d.ts.map +1 -1
  183. package/dist/js/crud/update.js +24 -9
  184. package/dist/js/crud/update.js.map +1 -1
  185. package/dist/js/crud/utils/authorizeAccess.d.ts +2 -2
  186. package/dist/js/crud/utils/authorizeAccess.d.ts.map +1 -1
  187. package/dist/js/crud/utils/authorizeAccess.js +19 -13
  188. package/dist/js/crud/utils/authorizeAccess.js.map +1 -1
  189. package/dist/js/crud/utils/getItem.d.ts +3 -3
  190. package/dist/js/crud/utils/getItem.d.ts.map +1 -1
  191. package/dist/js/crud/utils/getItem.js +18 -9
  192. package/dist/js/crud/utils/getItem.js.map +1 -1
  193. package/dist/js/crud/utils/runActions.d.ts +2 -3
  194. package/dist/js/crud/utils/runActions.d.ts.map +1 -1
  195. package/dist/js/crud/utils/runActions.js +14 -4
  196. package/dist/js/crud/utils/runActions.js.map +1 -1
  197. package/dist/js/email/index.d.ts +4 -0
  198. package/dist/js/email/index.d.ts.map +1 -0
  199. package/dist/js/email/index.js +180 -0
  200. package/dist/js/email/index.js.map +1 -0
  201. package/dist/js/email/templates/account.created.d.ts +4 -0
  202. package/dist/js/email/templates/account.created.d.ts.map +1 -0
  203. package/dist/js/email/templates/account.created.email.d.ts +4 -0
  204. package/dist/js/email/templates/account.created.email.d.ts.map +1 -0
  205. package/dist/js/email/templates/account.created.email.js +165 -0
  206. package/dist/js/email/templates/account.created.email.js.map +1 -0
  207. package/dist/js/email/templates/account.created.js +122 -0
  208. package/dist/js/email/templates/account.created.js.map +1 -0
  209. package/dist/js/email/templates/account.deleted.d.ts +4 -0
  210. package/dist/js/email/templates/account.deleted.d.ts.map +1 -0
  211. package/dist/js/email/templates/account.deleted.js +111 -0
  212. package/dist/js/email/templates/account.deleted.js.map +1 -0
  213. package/dist/js/email/templates/account.updated.d.ts +4 -0
  214. package/dist/js/email/templates/account.updated.d.ts.map +1 -0
  215. package/dist/js/email/templates/account.updated.js +128 -0
  216. package/dist/js/email/templates/account.updated.js.map +1 -0
  217. package/dist/js/email/templates/announcement.d.ts +4 -0
  218. package/dist/js/email/templates/announcement.d.ts.map +1 -0
  219. package/dist/js/email/templates/announcement.js +122 -0
  220. package/dist/js/email/templates/announcement.js.map +1 -0
  221. package/dist/js/email/templates/api.key.created.d.ts +4 -0
  222. package/dist/js/email/templates/api.key.created.d.ts.map +1 -0
  223. package/dist/js/email/templates/api.key.created.js +159 -0
  224. package/dist/js/email/templates/api.key.created.js.map +1 -0
  225. package/dist/js/email/templates/api.key.revoked.d.ts +4 -0
  226. package/dist/js/email/templates/api.key.revoked.d.ts.map +1 -0
  227. package/dist/js/email/templates/api.key.revoked.js +134 -0
  228. package/dist/js/email/templates/api.key.revoked.js.map +1 -0
  229. package/dist/js/email/templates/contact.form.d.ts +4 -0
  230. package/dist/js/email/templates/contact.form.d.ts.map +1 -0
  231. package/dist/js/email/templates/contact.form.js +134 -0
  232. package/dist/js/email/templates/contact.form.js.map +1 -0
  233. package/dist/js/email/templates/daily.report.d.ts +4 -0
  234. package/dist/js/email/templates/daily.report.d.ts.map +1 -0
  235. package/dist/js/email/templates/daily.report.js +143 -0
  236. package/dist/js/email/templates/daily.report.js.map +1 -0
  237. package/dist/js/email/templates/email.changed.d.ts +4 -0
  238. package/dist/js/email/templates/email.changed.d.ts.map +1 -0
  239. package/dist/js/email/templates/email.changed.js +122 -0
  240. package/dist/js/email/templates/email.changed.js.map +1 -0
  241. package/dist/js/email/templates/feedback.d.ts +4 -0
  242. package/dist/js/email/templates/feedback.d.ts.map +1 -0
  243. package/dist/js/email/templates/feedback.js +136 -0
  244. package/dist/js/email/templates/feedback.js.map +1 -0
  245. package/dist/js/email/templates/index.d.ts +46 -0
  246. package/dist/js/email/templates/index.d.ts.map +1 -0
  247. package/dist/js/email/templates/index.js +46 -0
  248. package/dist/js/email/templates/index.js.map +1 -0
  249. package/dist/js/email/templates/invoice.d.ts +4 -0
  250. package/dist/js/email/templates/invoice.d.ts.map +1 -0
  251. package/dist/js/email/templates/invoice.js +147 -0
  252. package/dist/js/email/templates/invoice.js.map +1 -0
  253. package/dist/js/email/templates/login.alert.d.ts +4 -0
  254. package/dist/js/email/templates/login.alert.d.ts.map +1 -0
  255. package/dist/js/email/templates/login.alert.js +147 -0
  256. package/dist/js/email/templates/login.alert.js.map +1 -0
  257. package/dist/js/email/templates/magic.link.d.ts +4 -0
  258. package/dist/js/email/templates/magic.link.d.ts.map +1 -0
  259. package/dist/js/email/templates/magic.link.js +126 -0
  260. package/dist/js/email/templates/magic.link.js.map +1 -0
  261. package/dist/js/email/templates/maintenance.d.ts +4 -0
  262. package/dist/js/email/templates/maintenance.d.ts.map +1 -0
  263. package/dist/js/email/templates/maintenance.js +132 -0
  264. package/dist/js/email/templates/maintenance.js.map +1 -0
  265. package/dist/js/email/templates/member.added.d.ts +4 -0
  266. package/dist/js/email/templates/member.added.d.ts.map +1 -0
  267. package/dist/js/email/templates/member.added.js +122 -0
  268. package/dist/js/email/templates/member.added.js.map +1 -0
  269. package/dist/js/email/templates/member.removed.d.ts +4 -0
  270. package/dist/js/email/templates/member.removed.d.ts.map +1 -0
  271. package/dist/js/email/templates/member.removed.js +122 -0
  272. package/dist/js/email/templates/member.removed.js.map +1 -0
  273. package/dist/js/email/templates/mention.d.ts +4 -0
  274. package/dist/js/email/templates/mention.d.ts.map +1 -0
  275. package/dist/js/email/templates/mention.js +134 -0
  276. package/dist/js/email/templates/mention.js.map +1 -0
  277. package/dist/js/email/templates/monthly.report.d.ts +4 -0
  278. package/dist/js/email/templates/monthly.report.d.ts.map +1 -0
  279. package/dist/js/email/templates/monthly.report.js +143 -0
  280. package/dist/js/email/templates/monthly.report.js.map +1 -0
  281. package/dist/js/email/templates/new.comment.d.ts +4 -0
  282. package/dist/js/email/templates/new.comment.d.ts.map +1 -0
  283. package/dist/js/email/templates/new.comment.js +134 -0
  284. package/dist/js/email/templates/new.comment.js.map +1 -0
  285. package/dist/js/email/templates/new.device.login.d.ts +4 -0
  286. package/dist/js/email/templates/new.device.login.d.ts.map +1 -0
  287. package/dist/js/email/templates/new.device.login.js +147 -0
  288. package/dist/js/email/templates/new.device.login.js.map +1 -0
  289. package/dist/js/email/templates/new.message.d.ts +4 -0
  290. package/dist/js/email/templates/new.message.d.ts.map +1 -0
  291. package/dist/js/email/templates/new.message.js +134 -0
  292. package/dist/js/email/templates/new.message.js.map +1 -0
  293. package/dist/js/email/templates/notification.d.ts +4 -0
  294. package/dist/js/email/templates/notification.d.ts.map +1 -0
  295. package/dist/js/email/templates/notification.js +122 -0
  296. package/dist/js/email/templates/notification.js.map +1 -0
  297. package/dist/js/email/templates/order.cancelled.d.ts +4 -0
  298. package/dist/js/email/templates/order.cancelled.d.ts.map +1 -0
  299. package/dist/js/email/templates/order.cancelled.js +132 -0
  300. package/dist/js/email/templates/order.cancelled.js.map +1 -0
  301. package/dist/js/email/templates/order.confirmation.d.ts +4 -0
  302. package/dist/js/email/templates/order.confirmation.d.ts.map +1 -0
  303. package/dist/js/email/templates/order.confirmation.js +143 -0
  304. package/dist/js/email/templates/order.confirmation.js.map +1 -0
  305. package/dist/js/email/templates/order.delivered.d.ts +4 -0
  306. package/dist/js/email/templates/order.delivered.d.ts.map +1 -0
  307. package/dist/js/email/templates/order.delivered.js +122 -0
  308. package/dist/js/email/templates/order.delivered.js.map +1 -0
  309. package/dist/js/email/templates/order.shipped.d.ts +4 -0
  310. package/dist/js/email/templates/order.shipped.d.ts.map +1 -0
  311. package/dist/js/email/templates/order.shipped.js +143 -0
  312. package/dist/js/email/templates/order.shipped.js.map +1 -0
  313. package/dist/js/email/templates/organization.invitation.d.ts +4 -0
  314. package/dist/js/email/templates/organization.invitation.d.ts.map +1 -0
  315. package/dist/js/email/templates/organization.invitation.js +126 -0
  316. package/dist/js/email/templates/organization.invitation.js.map +1 -0
  317. package/dist/js/email/templates/otp.verfication.d.ts +4 -0
  318. package/dist/js/email/templates/otp.verfication.d.ts.map +1 -0
  319. package/dist/js/email/templates/otp.verfication.js +117 -0
  320. package/dist/js/email/templates/otp.verfication.js.map +1 -0
  321. package/dist/js/email/templates/password.changed.d.ts +4 -0
  322. package/dist/js/email/templates/password.changed.d.ts.map +1 -0
  323. package/dist/js/email/templates/password.changed.js +155 -0
  324. package/dist/js/email/templates/password.changed.js.map +1 -0
  325. package/dist/js/email/templates/password.expiring.d.ts +4 -0
  326. package/dist/js/email/templates/password.expiring.d.ts.map +1 -0
  327. package/dist/js/email/templates/password.expiring.js +122 -0
  328. package/dist/js/email/templates/password.expiring.js.map +1 -0
  329. package/dist/js/email/templates/password.reset.d.ts +4 -0
  330. package/dist/js/email/templates/password.reset.d.ts.map +1 -0
  331. package/dist/js/email/templates/password.reset.js +138 -0
  332. package/dist/js/email/templates/password.reset.js.map +1 -0
  333. package/dist/js/email/templates/payment.failed.d.ts +4 -0
  334. package/dist/js/email/templates/payment.failed.d.ts.map +1 -0
  335. package/dist/js/email/templates/payment.failed.js +155 -0
  336. package/dist/js/email/templates/payment.failed.js.map +1 -0
  337. package/dist/js/email/templates/payment.success.d.ts +4 -0
  338. package/dist/js/email/templates/payment.success.d.ts.map +1 -0
  339. package/dist/js/email/templates/payment.success.js +143 -0
  340. package/dist/js/email/templates/payment.success.js.map +1 -0
  341. package/dist/js/email/templates/receipt.d.ts +4 -0
  342. package/dist/js/email/templates/receipt.d.ts.map +1 -0
  343. package/dist/js/email/templates/receipt.js +147 -0
  344. package/dist/js/email/templates/receipt.js.map +1 -0
  345. package/dist/js/email/templates/reminder.d.ts +4 -0
  346. package/dist/js/email/templates/reminder.d.ts.map +1 -0
  347. package/dist/js/email/templates/reminder.js +122 -0
  348. package/dist/js/email/templates/reminder.js.map +1 -0
  349. package/dist/js/email/templates/security.alert.d.ts +4 -0
  350. package/dist/js/email/templates/security.alert.d.ts.map +1 -0
  351. package/dist/js/email/templates/security.alert.js +155 -0
  352. package/dist/js/email/templates/security.alert.js.map +1 -0
  353. package/dist/js/email/templates/subscription.cancelled.d.ts +4 -0
  354. package/dist/js/email/templates/subscription.cancelled.d.ts.map +1 -0
  355. package/dist/js/email/templates/subscription.cancelled.js +122 -0
  356. package/dist/js/email/templates/subscription.cancelled.js.map +1 -0
  357. package/dist/js/email/templates/subscription.created.d.ts +4 -0
  358. package/dist/js/email/templates/subscription.created.d.ts.map +1 -0
  359. package/dist/js/email/templates/subscription.created.js +143 -0
  360. package/dist/js/email/templates/subscription.created.js.map +1 -0
  361. package/dist/js/email/templates/subscription.renewed.d.ts +4 -0
  362. package/dist/js/email/templates/subscription.renewed.d.ts.map +1 -0
  363. package/dist/js/email/templates/subscription.renewed.js +143 -0
  364. package/dist/js/email/templates/subscription.renewed.js.map +1 -0
  365. package/dist/js/email/templates/support.ticket.d.ts +4 -0
  366. package/dist/js/email/templates/support.ticket.d.ts.map +1 -0
  367. package/dist/js/email/templates/support.ticket.js +143 -0
  368. package/dist/js/email/templates/support.ticket.js.map +1 -0
  369. package/dist/js/email/templates/team.invitation.d.ts +4 -0
  370. package/dist/js/email/templates/team.invitation.d.ts.map +1 -0
  371. package/dist/js/email/templates/team.invitation.js +126 -0
  372. package/dist/js/email/templates/team.invitation.js.map +1 -0
  373. package/dist/js/email/templates/trial.ending.d.ts +4 -0
  374. package/dist/js/email/templates/trial.ending.d.ts.map +1 -0
  375. package/dist/js/email/templates/trial.ending.js +122 -0
  376. package/dist/js/email/templates/trial.ending.js.map +1 -0
  377. package/dist/js/email/templates/two.factor.code.d.ts +4 -0
  378. package/dist/js/email/templates/two.factor.code.d.ts.map +1 -0
  379. package/dist/js/email/templates/two.factor.code.js +121 -0
  380. package/dist/js/email/templates/two.factor.code.js.map +1 -0
  381. package/dist/js/email/templates/verify.email.d.ts +4 -0
  382. package/dist/js/email/templates/verify.email.d.ts.map +1 -0
  383. package/dist/js/email/templates/verify.email.js +126 -0
  384. package/dist/js/email/templates/verify.email.js.map +1 -0
  385. package/dist/js/email/templates/weekly.report.d.ts +4 -0
  386. package/dist/js/email/templates/weekly.report.d.ts.map +1 -0
  387. package/dist/js/email/templates/weekly.report.js +143 -0
  388. package/dist/js/email/templates/weekly.report.js.map +1 -0
  389. package/dist/js/email/templates/welcome.d.ts +4 -0
  390. package/dist/js/email/templates/welcome.d.ts.map +1 -0
  391. package/dist/js/email/templates/welcome.email.d.ts +4 -0
  392. package/dist/js/email/templates/welcome.email.d.ts.map +1 -0
  393. package/dist/js/email/templates/welcome.email.js +417 -0
  394. package/dist/js/email/templates/welcome.email.js.map +1 -0
  395. package/dist/js/email/templates/welcome.js +122 -0
  396. package/dist/js/email/templates/welcome.js.map +1 -0
  397. package/dist/js/email/utils/auto-fields.d.ts +68 -0
  398. package/dist/js/email/utils/auto-fields.d.ts.map +1 -0
  399. package/dist/js/email/utils/auto-fields.js +232 -0
  400. package/dist/js/email/utils/auto-fields.js.map +1 -0
  401. package/dist/js/email/utils/auto-fields.type.d.ts +18 -0
  402. package/dist/js/email/utils/auto-fields.type.d.ts.map +1 -0
  403. package/dist/js/email/utils/auto-fields.type.js +2 -0
  404. package/dist/js/email/utils/auto-fields.type.js.map +1 -0
  405. package/dist/js/email/utils/emailTemplates.d.ts +2 -0
  406. package/dist/js/email/utils/emailTemplates.d.ts.map +1 -0
  407. package/dist/js/email/utils/emailTemplates.js +49 -0
  408. package/dist/js/email/utils/emailTemplates.js.map +1 -0
  409. package/dist/js/email/utils/handleEmailTemplateConfig.d.ts +4 -0
  410. package/dist/js/email/utils/handleEmailTemplateConfig.d.ts.map +1 -0
  411. package/dist/js/email/utils/handleEmailTemplateConfig.js +47 -0
  412. package/dist/js/email/utils/handleEmailTemplateConfig.js.map +1 -0
  413. package/dist/js/health/health.collection.js +11 -11
  414. package/dist/js/health/health.collection.js.map +1 -1
  415. package/dist/js/health/index.d.ts +1 -1
  416. package/dist/js/health/index.d.ts.map +1 -1
  417. package/dist/js/health/index.js +2 -2
  418. package/dist/js/health/index.js.map +1 -1
  419. package/dist/js/lib/OAuthProviders.js +1 -1
  420. package/dist/js/lib/OAuthProviders.js.map +1 -1
  421. package/dist/js/lib/db.js +1 -0
  422. package/dist/js/lib/db.js.map +1 -1
  423. package/dist/js/lib/model.factory.d.ts +10 -1
  424. package/dist/js/lib/model.factory.d.ts.map +1 -1
  425. package/dist/js/lib/model.factory.js +18 -4
  426. package/dist/js/lib/model.factory.js.map +1 -1
  427. package/dist/js/lib/model.registry.js +1 -0
  428. package/dist/js/lib/model.registry.js.map +1 -1
  429. package/dist/js/lib/mongoose.fields.js +20 -0
  430. package/dist/js/lib/mongoose.fields.js.map +1 -1
  431. package/dist/js/lib/schema.builder.js +3 -0
  432. package/dist/js/lib/schema.builder.js.map +1 -1
  433. package/dist/js/lib/unified.fields.d.ts +5 -0
  434. package/dist/js/lib/unified.fields.d.ts.map +1 -1
  435. package/dist/js/lib/unified.fields.js +56 -0
  436. package/dist/js/lib/unified.fields.js.map +1 -1
  437. package/dist/js/lib/unified.types.d.ts +3 -0
  438. package/dist/js/lib/unified.types.d.ts.map +1 -1
  439. package/dist/js/lib/zod.factory.d.ts +13 -0
  440. package/dist/js/lib/zod.factory.d.ts.map +1 -1
  441. package/dist/js/lib/zod.factory.js +14 -0
  442. package/dist/js/lib/zod.factory.js.map +1 -1
  443. package/dist/js/lib/zod.fields.d.ts +55 -0
  444. package/dist/js/lib/zod.fields.d.ts.map +1 -1
  445. package/dist/js/lib/zod.fields.js +56 -0
  446. package/dist/js/lib/zod.fields.js.map +1 -1
  447. package/dist/js/middleware/error.middleware.js +1 -0
  448. package/dist/js/middleware/error.middleware.js.map +1 -1
  449. package/dist/js/middleware/multer.middleware.d.ts +1 -1
  450. package/dist/js/middleware/multer.middleware.d.ts.map +1 -1
  451. package/dist/js/middleware/multer.middleware.js +22 -7
  452. package/dist/js/middleware/multer.middleware.js.map +1 -1
  453. package/dist/js/terminal/appInfo.js +11 -11
  454. package/dist/js/terminal/appInfo.js.map +1 -1
  455. package/dist/js/terminal/logger.js +1 -1
  456. package/dist/js/terminal/logger.js.map +1 -1
  457. package/dist/js/types/ActionHandler.d.ts +82 -14
  458. package/dist/js/types/ActionHandler.d.ts.map +1 -1
  459. package/dist/js/types/Collection.d.ts +104 -15
  460. package/dist/js/types/Collection.d.ts.map +1 -1
  461. package/dist/js/types/Constructor.d.ts +4 -2
  462. package/dist/js/types/Constructor.d.ts.map +1 -1
  463. package/dist/js/types/EmailActionTemplate.d.ts +52 -0
  464. package/dist/js/types/EmailActionTemplate.d.ts.map +1 -0
  465. package/dist/js/types/EmailActionTemplate.js +2 -0
  466. package/dist/js/types/EmailActionTemplate.js.map +1 -0
  467. package/dist/js/types/Route.d.ts +131 -14
  468. package/dist/js/types/Route.d.ts.map +1 -1
  469. package/dist/js/types/Routepath.js +15 -0
  470. package/dist/js/types/Routepath.js.map +1 -1
  471. package/dist/js/types/email/account.created.type.d.ts +10 -0
  472. package/dist/js/types/email/account.created.type.d.ts.map +1 -0
  473. package/dist/js/types/email/account.created.type.js +2 -0
  474. package/dist/js/types/email/account.created.type.js.map +1 -0
  475. package/dist/js/types/email/account.deleted.type.d.ts +10 -0
  476. package/dist/js/types/email/account.deleted.type.d.ts.map +1 -0
  477. package/dist/js/types/email/account.deleted.type.js +2 -0
  478. package/dist/js/types/email/account.deleted.type.js.map +1 -0
  479. package/dist/js/types/email/account.updated.type.d.ts +12 -0
  480. package/dist/js/types/email/account.updated.type.d.ts.map +1 -0
  481. package/dist/js/types/email/account.updated.type.js +2 -0
  482. package/dist/js/types/email/account.updated.type.js.map +1 -0
  483. package/dist/js/types/email/announcement.type.d.ts +13 -0
  484. package/dist/js/types/email/announcement.type.d.ts.map +1 -0
  485. package/dist/js/types/email/announcement.type.js +2 -0
  486. package/dist/js/types/email/announcement.type.js.map +1 -0
  487. package/dist/js/types/email/api.key.created.type.d.ts +14 -0
  488. package/dist/js/types/email/api.key.created.type.d.ts.map +1 -0
  489. package/dist/js/types/email/api.key.created.type.js +2 -0
  490. package/dist/js/types/email/api.key.created.type.js.map +1 -0
  491. package/dist/js/types/email/api.key.revoked.type.d.ts +14 -0
  492. package/dist/js/types/email/api.key.revoked.type.d.ts.map +1 -0
  493. package/dist/js/types/email/api.key.revoked.type.js +2 -0
  494. package/dist/js/types/email/api.key.revoked.type.js.map +1 -0
  495. package/dist/js/types/email/contact.form.type.d.ts +11 -0
  496. package/dist/js/types/email/contact.form.type.d.ts.map +1 -0
  497. package/dist/js/types/email/contact.form.type.js +2 -0
  498. package/dist/js/types/email/contact.form.type.js.map +1 -0
  499. package/dist/js/types/email/daily.report.type.d.ts +14 -0
  500. package/dist/js/types/email/daily.report.type.d.ts.map +1 -0
  501. package/dist/js/types/email/daily.report.type.js +2 -0
  502. package/dist/js/types/email/daily.report.type.js.map +1 -0
  503. package/dist/js/types/email/email.changed.type.d.ts +12 -0
  504. package/dist/js/types/email/email.changed.type.d.ts.map +1 -0
  505. package/dist/js/types/email/email.changed.type.js +2 -0
  506. package/dist/js/types/email/email.changed.type.js.map +1 -0
  507. package/dist/js/types/email/feedback.type.d.ts +11 -0
  508. package/dist/js/types/email/feedback.type.d.ts.map +1 -0
  509. package/dist/js/types/email/feedback.type.js +2 -0
  510. package/dist/js/types/email/feedback.type.js.map +1 -0
  511. package/dist/js/types/email/index.d.ts +46 -0
  512. package/dist/js/types/email/index.d.ts.map +1 -0
  513. package/dist/js/types/email/index.js +2 -0
  514. package/dist/js/types/email/index.js.map +1 -0
  515. package/dist/js/types/email/invoice.type.d.ts +14 -0
  516. package/dist/js/types/email/invoice.type.d.ts.map +1 -0
  517. package/dist/js/types/email/invoice.type.js +2 -0
  518. package/dist/js/types/email/invoice.type.js.map +1 -0
  519. package/dist/js/types/email/login.alert.type.d.ts +12 -0
  520. package/dist/js/types/email/login.alert.type.d.ts.map +1 -0
  521. package/dist/js/types/email/login.alert.type.js +2 -0
  522. package/dist/js/types/email/login.alert.type.js.map +1 -0
  523. package/dist/js/types/email/magic.link.type.d.ts +11 -0
  524. package/dist/js/types/email/magic.link.type.d.ts.map +1 -0
  525. package/dist/js/types/email/magic.link.type.js +2 -0
  526. package/dist/js/types/email/magic.link.type.js.map +1 -0
  527. package/dist/js/types/email/maintenance.type.d.ts +13 -0
  528. package/dist/js/types/email/maintenance.type.d.ts.map +1 -0
  529. package/dist/js/types/email/maintenance.type.js +2 -0
  530. package/dist/js/types/email/maintenance.type.js.map +1 -0
  531. package/dist/js/types/email/member.added.type.d.ts +14 -0
  532. package/dist/js/types/email/member.added.type.d.ts.map +1 -0
  533. package/dist/js/types/email/member.added.type.js +2 -0
  534. package/dist/js/types/email/member.added.type.js.map +1 -0
  535. package/dist/js/types/email/member.removed.type.d.ts +14 -0
  536. package/dist/js/types/email/member.removed.type.d.ts.map +1 -0
  537. package/dist/js/types/email/member.removed.type.js +2 -0
  538. package/dist/js/types/email/member.removed.type.js.map +1 -0
  539. package/dist/js/types/email/mention.type.d.ts +12 -0
  540. package/dist/js/types/email/mention.type.d.ts.map +1 -0
  541. package/dist/js/types/email/mention.type.js +2 -0
  542. package/dist/js/types/email/mention.type.js.map +1 -0
  543. package/dist/js/types/email/monthly.report.type.d.ts +14 -0
  544. package/dist/js/types/email/monthly.report.type.d.ts.map +1 -0
  545. package/dist/js/types/email/monthly.report.type.js +2 -0
  546. package/dist/js/types/email/monthly.report.type.js.map +1 -0
  547. package/dist/js/types/email/new.comment.type.d.ts +12 -0
  548. package/dist/js/types/email/new.comment.type.d.ts.map +1 -0
  549. package/dist/js/types/email/new.comment.type.js +2 -0
  550. package/dist/js/types/email/new.comment.type.js.map +1 -0
  551. package/dist/js/types/email/new.device.login.type.d.ts +11 -0
  552. package/dist/js/types/email/new.device.login.type.d.ts.map +1 -0
  553. package/dist/js/types/email/new.device.login.type.js +2 -0
  554. package/dist/js/types/email/new.device.login.type.js.map +1 -0
  555. package/dist/js/types/email/new.message.type.d.ts +11 -0
  556. package/dist/js/types/email/new.message.type.d.ts.map +1 -0
  557. package/dist/js/types/email/new.message.type.js +2 -0
  558. package/dist/js/types/email/new.message.type.js.map +1 -0
  559. package/dist/js/types/email/notification.type.d.ts +13 -0
  560. package/dist/js/types/email/notification.type.d.ts.map +1 -0
  561. package/dist/js/types/email/notification.type.js +2 -0
  562. package/dist/js/types/email/notification.type.js.map +1 -0
  563. package/dist/js/types/email/order.cancelled.type.d.ts +12 -0
  564. package/dist/js/types/email/order.cancelled.type.d.ts.map +1 -0
  565. package/dist/js/types/email/order.cancelled.type.js +2 -0
  566. package/dist/js/types/email/order.cancelled.type.js.map +1 -0
  567. package/dist/js/types/email/order.confirmation.type.d.ts +13 -0
  568. package/dist/js/types/email/order.confirmation.type.d.ts.map +1 -0
  569. package/dist/js/types/email/order.confirmation.type.js +2 -0
  570. package/dist/js/types/email/order.confirmation.type.js.map +1 -0
  571. package/dist/js/types/email/order.delivered.type.d.ts +12 -0
  572. package/dist/js/types/email/order.delivered.type.d.ts.map +1 -0
  573. package/dist/js/types/email/order.delivered.type.js +2 -0
  574. package/dist/js/types/email/order.delivered.type.js.map +1 -0
  575. package/dist/js/types/email/order.shipped.type.d.ts +14 -0
  576. package/dist/js/types/email/order.shipped.type.d.ts.map +1 -0
  577. package/dist/js/types/email/order.shipped.type.js +2 -0
  578. package/dist/js/types/email/order.shipped.type.js.map +1 -0
  579. package/dist/js/types/email/organization.invitation.type.d.ts +13 -0
  580. package/dist/js/types/email/organization.invitation.type.d.ts.map +1 -0
  581. package/dist/js/types/email/organization.invitation.type.js +2 -0
  582. package/dist/js/types/email/organization.invitation.type.js.map +1 -0
  583. package/dist/js/types/email/otp.verification.type.d.ts +11 -0
  584. package/dist/js/types/email/otp.verification.type.d.ts.map +1 -0
  585. package/dist/js/types/email/otp.verification.type.js +2 -0
  586. package/dist/js/types/email/otp.verification.type.js.map +1 -0
  587. package/dist/js/types/email/password.changed.type.d.ts +12 -0
  588. package/dist/js/types/email/password.changed.type.d.ts.map +1 -0
  589. package/dist/js/types/email/password.changed.type.js +2 -0
  590. package/dist/js/types/email/password.changed.type.js.map +1 -0
  591. package/dist/js/types/email/password.expiring.type.d.ts +12 -0
  592. package/dist/js/types/email/password.expiring.type.d.ts.map +1 -0
  593. package/dist/js/types/email/password.expiring.type.js +2 -0
  594. package/dist/js/types/email/password.expiring.type.js.map +1 -0
  595. package/dist/js/types/email/password.reset.type.d.ts +11 -0
  596. package/dist/js/types/email/password.reset.type.d.ts.map +1 -0
  597. package/dist/js/types/email/password.reset.type.js +2 -0
  598. package/dist/js/types/email/password.reset.type.js.map +1 -0
  599. package/dist/js/types/email/payment.failed.type.d.ts +14 -0
  600. package/dist/js/types/email/payment.failed.type.d.ts.map +1 -0
  601. package/dist/js/types/email/payment.failed.type.js +2 -0
  602. package/dist/js/types/email/payment.failed.type.js.map +1 -0
  603. package/dist/js/types/email/payment.success.type.d.ts +13 -0
  604. package/dist/js/types/email/payment.success.type.d.ts.map +1 -0
  605. package/dist/js/types/email/payment.success.type.js +2 -0
  606. package/dist/js/types/email/payment.success.type.js.map +1 -0
  607. package/dist/js/types/email/receipt.type.d.ts +14 -0
  608. package/dist/js/types/email/receipt.type.d.ts.map +1 -0
  609. package/dist/js/types/email/receipt.type.js +2 -0
  610. package/dist/js/types/email/receipt.type.js.map +1 -0
  611. package/dist/js/types/email/reminder.type.d.ts +12 -0
  612. package/dist/js/types/email/reminder.type.d.ts.map +1 -0
  613. package/dist/js/types/email/reminder.type.js +2 -0
  614. package/dist/js/types/email/reminder.type.js.map +1 -0
  615. package/dist/js/types/email/security.alert.type.d.ts +12 -0
  616. package/dist/js/types/email/security.alert.type.d.ts.map +1 -0
  617. package/dist/js/types/email/security.alert.type.js +2 -0
  618. package/dist/js/types/email/security.alert.type.js.map +1 -0
  619. package/dist/js/types/email/static-config.type.d.ts +8 -0
  620. package/dist/js/types/email/static-config.type.d.ts.map +1 -0
  621. package/dist/js/types/email/static-config.type.js +2 -0
  622. package/dist/js/types/email/static-config.type.js.map +1 -0
  623. package/dist/js/types/email/subscription.cancelled.type.d.ts +12 -0
  624. package/dist/js/types/email/subscription.cancelled.type.d.ts.map +1 -0
  625. package/dist/js/types/email/subscription.cancelled.type.js +2 -0
  626. package/dist/js/types/email/subscription.cancelled.type.js.map +1 -0
  627. package/dist/js/types/email/subscription.created.type.d.ts +13 -0
  628. package/dist/js/types/email/subscription.created.type.d.ts.map +1 -0
  629. package/dist/js/types/email/subscription.created.type.js +2 -0
  630. package/dist/js/types/email/subscription.created.type.js.map +1 -0
  631. package/dist/js/types/email/subscription.renewed.type.d.ts +14 -0
  632. package/dist/js/types/email/subscription.renewed.type.d.ts.map +1 -0
  633. package/dist/js/types/email/subscription.renewed.type.js +2 -0
  634. package/dist/js/types/email/subscription.renewed.type.js.map +1 -0
  635. package/dist/js/types/email/support.ticket.type.d.ts +14 -0
  636. package/dist/js/types/email/support.ticket.type.d.ts.map +1 -0
  637. package/dist/js/types/email/support.ticket.type.js +2 -0
  638. package/dist/js/types/email/support.ticket.type.js.map +1 -0
  639. package/dist/js/types/email/team.invitation.type.d.ts +13 -0
  640. package/dist/js/types/email/team.invitation.type.d.ts.map +1 -0
  641. package/dist/js/types/email/team.invitation.type.js +2 -0
  642. package/dist/js/types/email/team.invitation.type.js.map +1 -0
  643. package/dist/js/types/email/trial.ending.type.d.ts +13 -0
  644. package/dist/js/types/email/trial.ending.type.d.ts.map +1 -0
  645. package/dist/js/types/email/trial.ending.type.js +2 -0
  646. package/dist/js/types/email/trial.ending.type.js.map +1 -0
  647. package/dist/js/types/email/two.factor.code.type.d.ts +11 -0
  648. package/dist/js/types/email/two.factor.code.type.d.ts.map +1 -0
  649. package/dist/js/types/email/two.factor.code.type.js +2 -0
  650. package/dist/js/types/email/two.factor.code.type.js.map +1 -0
  651. package/dist/js/types/email/verify.email.type.d.ts +11 -0
  652. package/dist/js/types/email/verify.email.type.d.ts.map +1 -0
  653. package/dist/js/types/email/verify.email.type.js +2 -0
  654. package/dist/js/types/email/verify.email.type.js.map +1 -0
  655. package/dist/js/types/email/weekly.report.type.d.ts +14 -0
  656. package/dist/js/types/email/weekly.report.type.d.ts.map +1 -0
  657. package/dist/js/types/email/weekly.report.type.js +2 -0
  658. package/dist/js/types/email/weekly.report.type.js.map +1 -0
  659. package/dist/js/types/email/welcome.type.d.ts +10 -0
  660. package/dist/js/types/email/welcome.type.d.ts.map +1 -0
  661. package/dist/js/types/email/welcome.type.js +2 -0
  662. package/dist/js/types/email/welcome.type.js.map +1 -0
  663. package/dist/js/types/upload.d.ts +57 -5
  664. package/dist/js/types/upload.d.ts.map +1 -1
  665. package/dist/js/upload/create.js +9 -6
  666. package/dist/js/upload/create.js.map +1 -1
  667. package/dist/js/upload/delete.js +21 -21
  668. package/dist/js/upload/delete.js.map +1 -1
  669. package/dist/js/upload/update.js +21 -21
  670. package/dist/js/upload/update.js.map +1 -1
  671. package/dist/js/utils/getErrorDetail.d.ts +2 -2
  672. package/dist/js/utils/getErrorDetail.d.ts.map +1 -1
  673. package/dist/js/utils/getErrorDetail.js +2 -2
  674. package/dist/js/utils/getErrorDetail.js.map +1 -1
  675. package/dist/js/utils/getModel.d.ts +3 -3
  676. package/dist/js/utils/getModel.d.ts.map +1 -1
  677. package/dist/js/utils/getModel.js +6 -6
  678. package/dist/js/utils/getModel.js.map +1 -1
  679. package/dist/js/utils/libsodium.js +6 -0
  680. package/dist/js/utils/libsodium.js.map +1 -1
  681. package/dist/js/utils/otpPurposes.js +38 -0
  682. package/dist/js/utils/otpPurposes.js.map +1 -1
  683. package/dist/js/utils/sanitize.js +23 -2
  684. package/dist/js/utils/sanitize.js.map +1 -1
  685. package/dist/js/utils/saveRefreshToken.js +2 -1
  686. package/dist/js/utils/saveRefreshToken.js.map +1 -1
  687. package/dist/js/utils/validate.js +5 -3
  688. package/dist/js/utils/validate.js.map +1 -1
  689. package/dist/js/utils/validationKeyError.d.ts +1 -1
  690. package/dist/js/utils/validationKeyError.d.ts.map +1 -1
  691. package/dist/js/utils/validationKeyError.js +13 -8
  692. package/dist/js/utils/validationKeyError.js.map +1 -1
  693. package/package.json +1 -1
  694. package/readme.md +29 -29
@@ -0,0 +1,147 @@
1
+ const receiptEmail = ({ receiptNumber, companyUrl, companyName, userName, paymentDate, paymentMethod, paymentAmount, receiptUrl, companyAddress, userEmail, 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>Receipt for your payment — ${receiptNumber}</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: #16A34A; }
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
+ Payment received. Here's your receipt.
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:#16A34A;border-radius:16px 16px 0 0;" bgcolor="#16A34A">&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:#E3F4E9;text-align:center;vertical-align:middle;" bgcolor="#E3F4E9">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#16A34A" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M6.5 2.5h8.3L19.5 7.7V21.5h-13z"/><path d="M14.8 2.5V7.7h4.7"/></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
+ Payment received — here's your receipt
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}, thanks for your payment. Here's your receipt for your records.</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%">Receipt number</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;">${receiptNumber}</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%">Date</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;">${paymentDate}</td>
88
+ </tr>
89
+ <tr>
90
+ <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%">Payment method</td>
91
+ <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;">${paymentMethod}</td>
92
+ </tr>
93
+ <tr>
94
+ <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%">Amount paid</td>
95
+ <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;">${paymentAmount}</td>
96
+ </tr>
97
+ </table>
98
+ </td>
99
+ </tr>
100
+ </table>
101
+
102
+
103
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
104
+ <tr>
105
+ <td style="border-radius:10px;background-color:#16A34A;" bgcolor="#16A34A">
106
+ <a href="${receiptUrl}" target="_blank"
107
+ 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;
108
+ color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
109
+ Download receipt
110
+ </a>
111
+ </td>
112
+ </tr>
113
+ </table>
114
+
115
+
116
+
117
+ </td>
118
+ </tr>
119
+ </table>
120
+
121
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
122
+ <tr>
123
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
124
+ <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;">
125
+ ${companyName} &middot; ${companyAddress}
126
+ </p>
127
+ <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;">
128
+ This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
129
+ </p>
130
+ <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;">
131
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
132
+ &nbsp;&middot;&nbsp;
133
+ &copy; ${currentYear} ${companyName}. All rights reserved.
134
+ </p>
135
+ </td>
136
+ </tr>
137
+ </table>
138
+
139
+ </div>
140
+ <!--[if mso]></td></tr></table><![endif]-->
141
+ </center>
142
+ </body>
143
+ </html>
144
+ `;
145
+ };
146
+ export default receiptEmail;
147
+ //# sourceMappingURL=receipt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"receipt.js","sourceRoot":"","sources":["../../../../src/js/email/templates/receipt.ts"],"names":[],"mappings":"AAEA,MAAM,YAAY,GAAG,CAAC,EACpB,aAAa,EACb,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,aAAa,EACb,UAAU,EACV,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GACc,EAAU,EAAE;IACrC,OAAO;;;;;;;;oCAQ2B,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAqC1B,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ;;;;;;;;;;kMAUG,aAAa;;;;+NAIgB,WAAW;;;;+NAIX,aAAa;;;;+NAIb,aAAa;;;;;;;;;;;qBAWvN,UAAU;;;;;;;;;;;;;;;;;;;gBAmBf,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ReminderEmailPlaceholders } from "../../types/email/reminder.type.js";
2
+ declare const reminderEmail: ({ reminderTitle, companyUrl, companyName, userName, reminderDueDate, reminderUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: ReminderEmailPlaceholders) => string;
3
+ export default reminderEmail;
4
+ //# sourceMappingURL=reminder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reminder.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/reminder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAEpF,QAAA,MAAM,aAAa,GAAI,2JAYpB,yBAAyB,KAAG,MAuH9B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,122 @@
1
+ const reminderEmail = ({ reminderTitle, companyUrl, companyName, userName, reminderDueDate, reminderUrl, companyAddress, userEmail, 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>Reminder: ${reminderTitle}</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: #F59E0B; }
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
+ ${reminderTitle} is coming up.
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:#F59E0B;border-radius:16px 16px 0 0;" bgcolor="#F59E0B">&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:#FEF3E2;text-align:center;vertical-align:middle;" bgcolor="#FEF3E2">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#F59E0B" 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="M12 7.2V12l3.2 2.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
+ Reminder: ${reminderTitle}
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}, just a reminder that <strong>${reminderTitle}</strong> is due on ${reminderDueDate}.</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:#F59E0B;" bgcolor="#F59E0B">
81
+ <a href="${reminderUrl}" 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
+ View details
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 reminderEmail;
122
+ //# sourceMappingURL=reminder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reminder.js","sourceRoot":"","sources":["../../../../src/js/email/templates/reminder.ts"],"names":[],"mappings":"AAEA,MAAM,aAAa,GAAG,CAAC,EACrB,aAAa,EACb,UAAU,EACV,WAAW,EACX,QAAQ,EACR,eAAe,EACf,WAAW,EACX,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GACe,EAAU,EAAE;IACtC,OAAO;;;;;;;;mBAQU,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;MAyB1B,aAAa;;;;;;;;;;;;uBAYI,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;0BAsB9K,aAAa;;;uLAGgJ,QAAQ,kCAAkC,aAAa,uBAAuB,eAAe;;;;;;;;qBAQ/P,WAAW;;;;;;;;;;;;;;;;;;;gBAmBhB,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SecurityAlertEmailPlaceholders } from "../../types/email/security.alert.type.js";
2
+ declare const securityAlertEmail: ({ companyUrl, companyName, userName, activityDescription, location, loginTime, secureAccountUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: SecurityAlertEmailPlaceholders) => string;
3
+ export default securityAlertEmail;
4
+ //# sourceMappingURL=security.alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.alert.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/security.alert.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE/F,QAAA,MAAM,kBAAkB,GAAI,0KAazB,8BAA8B,KAAG,MAwJnC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,155 @@
1
+ const securityAlertEmail = ({ companyUrl, companyName, userName, activityDescription, location, loginTime, secureAccountUrl, companyAddress, userEmail, 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>Security alert on your account</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: #DC2626; }
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
+ We detected unusual activity on your account.
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:#DC2626;border-radius:16px 16px 0 0;" bgcolor="#DC2626">&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:#FBE5E5;text-align:center;vertical-align:middle;" bgcolor="#FBE5E5">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#DC2626" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.5l9.3 16.5H2.7z"/><path d="M12 10v4"/><path d="M12 17.2h.01"/></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
+ Unusual activity detected
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}, we noticed the following activity on your ${companyName} account that looked unusual:</p>
74
+
75
+ <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="margin:24px 0;">
76
+ <tr>
77
+ <td style="background-color:#FCE9E9;border-left:3px solid #DC2626;border-radius:8px;padding:14px 18px;">
78
+ <table role="presentation" cellpadding="0" cellspacing="0">
79
+ <tr>
80
+ <td style="vertical-align:top;padding-right:10px;padding-top:1px;"><svg width="17" height="17" viewBox="0 0 24 24" fill="none" stroke="#DC2626" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.5l9.3 16.5H2.7z"/><path d="M12 10v4"/><path d="M12 17.2h.01"/></svg></td>
81
+ <td style="font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:13.5px;line-height:20px;color:#0F172A;">If this wasn't you, secure your account immediately by resetting your password.</td>
82
+ </tr>
83
+ </table>
84
+ </td>
85
+ </tr>
86
+ </table>
87
+
88
+ <table role="presentation" cellpadding="0" cellspacing="0" width="100%" style="margin:24px 0;">
89
+ <tr>
90
+ <td style="background-color:#F8FAFC;border:1px solid #E2E8F0;border-radius:12px;padding:4px 20px;">
91
+ <table role="presentation" cellpadding="0" cellspacing="0" width="100%">
92
+
93
+ <tr>
94
+ <td style="padding:12px 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:14px;color:#94A3B8;" width="42%">Activity</td>
95
+ <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;">${activityDescription}</td>
96
+ </tr>
97
+ <tr>
98
+ <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%">Location</td>
99
+ <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;">${location}</td>
100
+ </tr>
101
+ <tr>
102
+ <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%">Time</td>
103
+ <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;">${loginTime}</td>
104
+ </tr>
105
+ </table>
106
+ </td>
107
+ </tr>
108
+ </table>
109
+
110
+
111
+ <table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
112
+ <tr>
113
+ <td style="border-radius:10px;background-color:#DC2626;" bgcolor="#DC2626">
114
+ <a href="${secureAccountUrl}" target="_blank"
115
+ 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;
116
+ color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
117
+ Secure my account
118
+ </a>
119
+ </td>
120
+ </tr>
121
+ </table>
122
+
123
+
124
+
125
+ </td>
126
+ </tr>
127
+ </table>
128
+
129
+ <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
130
+ <tr>
131
+ <td style="padding:28px 24px 8px 24px;text-align:center;">
132
+ <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;">
133
+ ${companyName} &middot; ${companyAddress}
134
+ </p>
135
+ <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;">
136
+ This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
137
+ </p>
138
+ <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;">
139
+ <a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
140
+ &nbsp;&middot;&nbsp;
141
+ &copy; ${currentYear} ${companyName}. All rights reserved.
142
+ </p>
143
+ </td>
144
+ </tr>
145
+ </table>
146
+
147
+ </div>
148
+ <!--[if mso]></td></tr></table><![endif]-->
149
+ </center>
150
+ </body>
151
+ </html>
152
+ `;
153
+ };
154
+ export default securityAlertEmail;
155
+ //# sourceMappingURL=security.alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.alert.js","sourceRoot":"","sources":["../../../../src/js/email/templates/security.alert.ts"],"names":[],"mappings":"AAEA,MAAM,kBAAkB,GAAG,CAAC,EAC1B,UAAU,EACV,WAAW,EACX,QAAQ,EACR,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GACoB,EAAU,EAAE;IAC3C,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBA6Cc,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,+CAA+C,WAAW;;;;;;;;;;;;;;;;;;;;;;kMAsBvD,mBAAmB;;;;+NAIU,QAAQ;;;;+NAIR,SAAS;;;;;;;;;;;qBAWnN,gBAAgB;;;;;;;;;;;;;;;;;;;gBAmBrB,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubscriptionCancelledEmailPlaceholders } from "../../types/email/subscription.cancelled.type.js";
2
+ declare const subscriptionCancelledEmail: ({ planName, cancellationDate, companyUrl, companyName, userName, resubscribeUrl, supportEmail, companyAddress, userEmail, unsubscribeUrl, currentYear, }: SubscriptionCancelledEmailPlaceholders) => string;
3
+ export default subscriptionCancelledEmail;
4
+ //# sourceMappingURL=subscription.cancelled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.cancelled.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.cancelled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,kDAAkD,CAAC;AAE/G,QAAA,MAAM,0BAA0B,GAAI,0JAYjC,sCAAsC,KAAG,MAuH3C,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,122 @@
1
+ const subscriptionCancelledEmail = ({ planName, cancellationDate, companyUrl, companyName, userName, resubscribeUrl, 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 ${planName} subscription was cancelled</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: #64748B; }
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 subscription will end on ${cancellationDate}.
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:#64748B;border-radius:16px 16px 0 0;" bgcolor="#64748B">&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:#ECEEF1;text-align:center;vertical-align:middle;" bgcolor="#ECEEF1">
64
+ <div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#64748B" 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="M9 9l6 6M15 9l-6 6"/></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 subscription has been cancelled
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}, we're sorry to see you go. Your <strong>${planName}</strong> subscription has been cancelled and will remain active until ${cancellationDate}.</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:#64748B;" bgcolor="#64748B">
81
+ <a href="${resubscribeUrl}" 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
+ Resubscribe
85
+ </a>
86
+ </td>
87
+ </tr>
88
+ </table>
89
+
90
+ <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;">We'd love to hear why — reply to this email or reach ${supportEmail} anytime.</p>
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 subscriptionCancelledEmail;
122
+ //# sourceMappingURL=subscription.cancelled.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.cancelled.js","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.cancelled.ts"],"names":[],"mappings":"AAEA,MAAM,0BAA0B,GAAG,CAAC,EAClC,QAAQ,EACR,gBAAgB,EAChB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,cAAc,EACd,SAAS,EACT,cAAc,EACd,WAAW,GAC4B,EAAU,EAAE;IACnD,OAAO;;;;;;;;cAQK,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;oCAyBc,gBAAgB;;;;;;;;;;;;uBAY7B,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,6CAA6C,QAAQ,0EAA0E,gBAAgB;;;;;;;;qBAQzT,cAAc;;;;;;;;;yOASsM,YAAY;;;;;;;;;;gBAUrO,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubscriptionCreatedEmailPlaceholders } from "../../types/email/subscription.created.type.js";
2
+ declare const subscriptionCreatedEmail: ({ planName, companyUrl, companyName, userName, billingCycle, nextBillingDate, billingUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: SubscriptionCreatedEmailPlaceholders) => string;
3
+ export default subscriptionCreatedEmail;
4
+ //# sourceMappingURL=subscription.created.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscription.created.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.created.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAE3G,QAAA,MAAM,wBAAwB,GAAI,mKAa/B,oCAAoC,KAAG,MA4IzC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}