@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.
- package/dist/js/account/index.d.ts +1 -1
- package/dist/js/account/index.d.ts.map +1 -1
- package/dist/js/account/index.js +14 -7
- package/dist/js/account/index.js.map +1 -1
- package/dist/js/account/me.delete.d.ts +2 -2
- package/dist/js/account/me.delete.d.ts.map +1 -1
- package/dist/js/account/me.delete.js +15 -6
- package/dist/js/account/me.delete.js.map +1 -1
- package/dist/js/account/me.update.d.ts +3 -3
- package/dist/js/account/me.update.d.ts.map +1 -1
- package/dist/js/account/me.update.js +20 -7
- package/dist/js/account/me.update.js.map +1 -1
- package/dist/js/app.js +21 -8
- package/dist/js/app.js.map +1 -1
- package/dist/js/auth/builtin/auth.collection.d.ts.map +1 -1
- package/dist/js/auth/builtin/auth.collection.js +21 -11
- package/dist/js/auth/builtin/auth.collection.js.map +1 -1
- package/dist/js/auth/forgotPassword.d.ts +4 -4
- package/dist/js/auth/forgotPassword.d.ts.map +1 -1
- package/dist/js/auth/forgotPassword.js +12 -6
- package/dist/js/auth/forgotPassword.js.map +1 -1
- package/dist/js/auth/index.d.ts +1 -1
- package/dist/js/auth/index.d.ts.map +1 -1
- package/dist/js/auth/index.js +16 -8
- package/dist/js/auth/index.js.map +1 -1
- package/dist/js/auth/login.d.ts +4 -4
- package/dist/js/auth/login.d.ts.map +1 -1
- package/dist/js/auth/login.js +8 -4
- package/dist/js/auth/login.js.map +1 -1
- package/dist/js/auth/logout.js +6 -1
- package/dist/js/auth/logout.js.map +1 -1
- package/dist/js/auth/refresh.js +9 -0
- package/dist/js/auth/refresh.js.map +1 -1
- package/dist/js/auth/resendOTP.d.ts +4 -4
- package/dist/js/auth/resendOTP.d.ts.map +1 -1
- package/dist/js/auth/resendOTP.js +14 -4
- package/dist/js/auth/resendOTP.js.map +1 -1
- package/dist/js/auth/resetPassword.d.ts +4 -4
- package/dist/js/auth/resetPassword.d.ts.map +1 -1
- package/dist/js/auth/resetPassword.js +14 -4
- package/dist/js/auth/resetPassword.js.map +1 -1
- package/dist/js/auth/signup.d.ts +4 -4
- package/dist/js/auth/signup.d.ts.map +1 -1
- package/dist/js/auth/signup.js +10 -5
- package/dist/js/auth/signup.js.map +1 -1
- package/dist/js/auth/utils/authenticateUser.d.ts +3 -3
- package/dist/js/auth/utils/authenticateUser.d.ts.map +1 -1
- package/dist/js/auth/utils/authenticateUser.js +13 -3
- package/dist/js/auth/utils/authenticateUser.js.map +1 -1
- package/dist/js/auth/utils/createOTPModel.d.ts +1 -1
- package/dist/js/auth/utils/createOTPModel.d.ts.map +1 -1
- package/dist/js/auth/utils/createOTPModel.js +8 -3
- package/dist/js/auth/utils/createOTPModel.js.map +1 -1
- package/dist/js/auth/utils/createOTPUser.d.ts +3 -3
- package/dist/js/auth/utils/createOTPUser.d.ts.map +1 -1
- package/dist/js/auth/utils/createOTPUser.js +11 -3
- package/dist/js/auth/utils/createOTPUser.js.map +1 -1
- package/dist/js/auth/utils/createUser.d.ts +3 -3
- package/dist/js/auth/utils/createUser.d.ts.map +1 -1
- package/dist/js/auth/utils/createUser.js +12 -2
- package/dist/js/auth/utils/createUser.js.map +1 -1
- package/dist/js/auth/utils/findRefreshToken.js +5 -1
- package/dist/js/auth/utils/findRefreshToken.js.map +1 -1
- package/dist/js/auth/utils/findRefreshTokenUser.js +1 -0
- package/dist/js/auth/utils/findRefreshTokenUser.js.map +1 -1
- package/dist/js/auth/utils/getOTPUser.js +3 -0
- package/dist/js/auth/utils/getOTPUser.js.map +1 -1
- package/dist/js/auth/utils/getUser.d.ts +3 -3
- package/dist/js/auth/utils/getUser.d.ts.map +1 -1
- package/dist/js/auth/utils/getUser.js +6 -2
- package/dist/js/auth/utils/getUser.js.map +1 -1
- package/dist/js/auth/utils/handleGetToken.d.ts.map +1 -1
- package/dist/js/auth/utils/handleGetToken.js +2 -2
- package/dist/js/auth/utils/handleGetToken.js.map +1 -1
- package/dist/js/auth/utils/handleRefreshTokenValidation.js +7 -1
- package/dist/js/auth/utils/handleRefreshTokenValidation.js.map +1 -1
- package/dist/js/auth/utils/handleRotateRefreshToken.js +7 -1
- package/dist/js/auth/utils/handleRotateRefreshToken.js.map +1 -1
- package/dist/js/auth/utils/modeMap.d.ts +12 -12
- package/dist/js/auth/utils/otpVerifiedResponse.js +1 -0
- package/dist/js/auth/utils/otpVerifiedResponse.js.map +1 -1
- package/dist/js/auth/utils/sendCookie.js +10 -0
- package/dist/js/auth/utils/sendCookie.js.map +1 -1
- package/dist/js/auth/utils/sendOTP.d.ts.map +1 -1
- package/dist/js/auth/utils/sendOTP.js +15 -14
- package/dist/js/auth/utils/sendOTP.js.map +1 -1
- package/dist/js/auth/utils/verifyCredentials.d.ts +3 -3
- package/dist/js/auth/utils/verifyCredentials.d.ts.map +1 -1
- package/dist/js/auth/utils/verifyCredentials.js +8 -6
- package/dist/js/auth/utils/verifyCredentials.js.map +1 -1
- package/dist/js/auth/verifyOTP.d.ts +4 -4
- package/dist/js/auth/verifyOTP.d.ts.map +1 -1
- package/dist/js/auth/verifyOTP.js +18 -5
- package/dist/js/auth/verifyOTP.js.map +1 -1
- package/dist/js/config/auth.envs.d.ts +4 -0
- package/dist/js/config/auth.envs.d.ts.map +1 -0
- package/dist/js/config/auth.envs.js +79 -0
- package/dist/js/config/auth.envs.js.map +1 -0
- package/dist/js/config/cloudinary.js +1 -0
- package/dist/js/config/cloudinary.js.map +1 -1
- package/dist/js/config/duration.js +7 -0
- package/dist/js/config/duration.js.map +1 -1
- package/dist/js/config/email.envs.d.ts +4 -0
- package/dist/js/config/email.envs.d.ts.map +1 -0
- package/dist/js/config/email.envs.js +50 -0
- package/dist/js/config/email.envs.js.map +1 -0
- package/dist/js/config/envs.d.ts.map +1 -1
- package/dist/js/config/envs.js +7 -57
- package/dist/js/config/envs.js.map +1 -1
- package/dist/js/config/handleReqType.d.ts +1 -1
- package/dist/js/config/handleReqType.d.ts.map +1 -1
- package/dist/js/config/handleReqType.js +4 -3
- package/dist/js/config/handleReqType.js.map +1 -1
- package/dist/js/config/handlerMap.js +4 -0
- package/dist/js/config/handlerMap.js.map +1 -1
- package/dist/js/config/refreshModel.js +1 -0
- package/dist/js/config/refreshModel.js.map +1 -1
- package/dist/js/config/sendEmail.d.ts.map +1 -1
- package/dist/js/config/sendEmail.js +4 -1
- package/dist/js/config/sendEmail.js.map +1 -1
- package/dist/js/crud/bunch.crud.js +2 -0
- package/dist/js/crud/bunch.crud.js.map +1 -1
- package/dist/js/crud/create.d.ts +4 -4
- package/dist/js/crud/create.d.ts.map +1 -1
- package/dist/js/crud/create.js +23 -8
- package/dist/js/crud/create.js.map +1 -1
- package/dist/js/crud/createBulk.d.ts +4 -4
- package/dist/js/crud/createBulk.d.ts.map +1 -1
- package/dist/js/crud/createBulk.js +8 -3
- package/dist/js/crud/createBulk.js.map +1 -1
- package/dist/js/crud/email/index.d.ts +2 -0
- package/dist/js/crud/email/index.d.ts.map +1 -0
- package/dist/js/crud/email/index.js +2 -0
- package/dist/js/crud/email/index.js.map +1 -0
- package/dist/js/crud/encryption/handleDecryption.js +8 -3
- package/dist/js/crud/encryption/handleDecryption.js.map +1 -1
- package/dist/js/crud/encryption/handleEncryption.js +7 -3
- package/dist/js/crud/encryption/handleEncryption.js.map +1 -1
- package/dist/js/crud/handleUploads/file.add.d.ts +4 -4
- package/dist/js/crud/handleUploads/file.add.d.ts.map +1 -1
- package/dist/js/crud/handleUploads/file.add.js +16 -9
- package/dist/js/crud/handleUploads/file.add.js.map +1 -1
- package/dist/js/crud/handleUploads/file.delete.d.ts +4 -4
- package/dist/js/crud/handleUploads/file.delete.d.ts.map +1 -1
- package/dist/js/crud/handleUploads/file.delete.js +14 -5
- package/dist/js/crud/handleUploads/file.delete.js.map +1 -1
- package/dist/js/crud/handleUploads/file.update.d.ts +4 -4
- package/dist/js/crud/handleUploads/file.update.d.ts.map +1 -1
- package/dist/js/crud/handleUploads/file.update.js +15 -5
- package/dist/js/crud/handleUploads/file.update.js.map +1 -1
- package/dist/js/crud/index.d.ts +1 -1
- package/dist/js/crud/index.d.ts.map +1 -1
- package/dist/js/crud/index.js +18 -11
- package/dist/js/crud/index.js.map +1 -1
- package/dist/js/crud/read.d.ts +4 -4
- package/dist/js/crud/read.d.ts.map +1 -1
- package/dist/js/crud/read.js +19 -11
- package/dist/js/crud/read.js.map +1 -1
- package/dist/js/crud/readAll.d.ts +3 -3
- package/dist/js/crud/readAll.d.ts.map +1 -1
- package/dist/js/crud/readAll.js +16 -8
- package/dist/js/crud/readAll.js.map +1 -1
- package/dist/js/crud/remove.d.ts +3 -3
- package/dist/js/crud/remove.d.ts.map +1 -1
- package/dist/js/crud/remove.js +19 -8
- package/dist/js/crud/remove.js.map +1 -1
- package/dist/js/crud/removeAll.d.ts +3 -3
- package/dist/js/crud/removeAll.d.ts.map +1 -1
- package/dist/js/crud/removeAll.js +13 -5
- package/dist/js/crud/removeAll.js.map +1 -1
- package/dist/js/crud/removeMultiple.d.ts +4 -4
- package/dist/js/crud/removeMultiple.d.ts.map +1 -1
- package/dist/js/crud/removeMultiple.js +18 -7
- package/dist/js/crud/removeMultiple.js.map +1 -1
- package/dist/js/crud/security/handleDecryption.js +8 -3
- package/dist/js/crud/security/handleDecryption.js.map +1 -1
- package/dist/js/crud/security/handleEncryption.js +7 -3
- package/dist/js/crud/security/handleEncryption.js.map +1 -1
- package/dist/js/crud/security/handleHashing.js +8 -3
- package/dist/js/crud/security/handleHashing.js.map +1 -1
- package/dist/js/crud/update.d.ts +4 -4
- package/dist/js/crud/update.d.ts.map +1 -1
- package/dist/js/crud/update.js +24 -9
- package/dist/js/crud/update.js.map +1 -1
- package/dist/js/crud/utils/authorizeAccess.d.ts +2 -2
- package/dist/js/crud/utils/authorizeAccess.d.ts.map +1 -1
- package/dist/js/crud/utils/authorizeAccess.js +19 -13
- package/dist/js/crud/utils/authorizeAccess.js.map +1 -1
- package/dist/js/crud/utils/getItem.d.ts +3 -3
- package/dist/js/crud/utils/getItem.d.ts.map +1 -1
- package/dist/js/crud/utils/getItem.js +18 -9
- package/dist/js/crud/utils/getItem.js.map +1 -1
- package/dist/js/crud/utils/runActions.d.ts +2 -3
- package/dist/js/crud/utils/runActions.d.ts.map +1 -1
- package/dist/js/crud/utils/runActions.js +14 -4
- package/dist/js/crud/utils/runActions.js.map +1 -1
- package/dist/js/email/index.d.ts +4 -0
- package/dist/js/email/index.d.ts.map +1 -0
- package/dist/js/email/index.js +180 -0
- package/dist/js/email/index.js.map +1 -0
- package/dist/js/email/templates/account.created.d.ts +4 -0
- package/dist/js/email/templates/account.created.d.ts.map +1 -0
- package/dist/js/email/templates/account.created.email.d.ts +4 -0
- package/dist/js/email/templates/account.created.email.d.ts.map +1 -0
- package/dist/js/email/templates/account.created.email.js +165 -0
- package/dist/js/email/templates/account.created.email.js.map +1 -0
- package/dist/js/email/templates/account.created.js +122 -0
- package/dist/js/email/templates/account.created.js.map +1 -0
- package/dist/js/email/templates/account.deleted.d.ts +4 -0
- package/dist/js/email/templates/account.deleted.d.ts.map +1 -0
- package/dist/js/email/templates/account.deleted.js +111 -0
- package/dist/js/email/templates/account.deleted.js.map +1 -0
- package/dist/js/email/templates/account.updated.d.ts +4 -0
- package/dist/js/email/templates/account.updated.d.ts.map +1 -0
- package/dist/js/email/templates/account.updated.js +128 -0
- package/dist/js/email/templates/account.updated.js.map +1 -0
- package/dist/js/email/templates/announcement.d.ts +4 -0
- package/dist/js/email/templates/announcement.d.ts.map +1 -0
- package/dist/js/email/templates/announcement.js +122 -0
- package/dist/js/email/templates/announcement.js.map +1 -0
- package/dist/js/email/templates/api.key.created.d.ts +4 -0
- package/dist/js/email/templates/api.key.created.d.ts.map +1 -0
- package/dist/js/email/templates/api.key.created.js +159 -0
- package/dist/js/email/templates/api.key.created.js.map +1 -0
- package/dist/js/email/templates/api.key.revoked.d.ts +4 -0
- package/dist/js/email/templates/api.key.revoked.d.ts.map +1 -0
- package/dist/js/email/templates/api.key.revoked.js +134 -0
- package/dist/js/email/templates/api.key.revoked.js.map +1 -0
- package/dist/js/email/templates/contact.form.d.ts +4 -0
- package/dist/js/email/templates/contact.form.d.ts.map +1 -0
- package/dist/js/email/templates/contact.form.js +134 -0
- package/dist/js/email/templates/contact.form.js.map +1 -0
- package/dist/js/email/templates/daily.report.d.ts +4 -0
- package/dist/js/email/templates/daily.report.d.ts.map +1 -0
- package/dist/js/email/templates/daily.report.js +143 -0
- package/dist/js/email/templates/daily.report.js.map +1 -0
- package/dist/js/email/templates/email.changed.d.ts +4 -0
- package/dist/js/email/templates/email.changed.d.ts.map +1 -0
- package/dist/js/email/templates/email.changed.js +122 -0
- package/dist/js/email/templates/email.changed.js.map +1 -0
- package/dist/js/email/templates/feedback.d.ts +4 -0
- package/dist/js/email/templates/feedback.d.ts.map +1 -0
- package/dist/js/email/templates/feedback.js +136 -0
- package/dist/js/email/templates/feedback.js.map +1 -0
- package/dist/js/email/templates/index.d.ts +46 -0
- package/dist/js/email/templates/index.d.ts.map +1 -0
- package/dist/js/email/templates/index.js +46 -0
- package/dist/js/email/templates/index.js.map +1 -0
- package/dist/js/email/templates/invoice.d.ts +4 -0
- package/dist/js/email/templates/invoice.d.ts.map +1 -0
- package/dist/js/email/templates/invoice.js +147 -0
- package/dist/js/email/templates/invoice.js.map +1 -0
- package/dist/js/email/templates/login.alert.d.ts +4 -0
- package/dist/js/email/templates/login.alert.d.ts.map +1 -0
- package/dist/js/email/templates/login.alert.js +147 -0
- package/dist/js/email/templates/login.alert.js.map +1 -0
- package/dist/js/email/templates/magic.link.d.ts +4 -0
- package/dist/js/email/templates/magic.link.d.ts.map +1 -0
- package/dist/js/email/templates/magic.link.js +126 -0
- package/dist/js/email/templates/magic.link.js.map +1 -0
- package/dist/js/email/templates/maintenance.d.ts +4 -0
- package/dist/js/email/templates/maintenance.d.ts.map +1 -0
- package/dist/js/email/templates/maintenance.js +132 -0
- package/dist/js/email/templates/maintenance.js.map +1 -0
- package/dist/js/email/templates/member.added.d.ts +4 -0
- package/dist/js/email/templates/member.added.d.ts.map +1 -0
- package/dist/js/email/templates/member.added.js +122 -0
- package/dist/js/email/templates/member.added.js.map +1 -0
- package/dist/js/email/templates/member.removed.d.ts +4 -0
- package/dist/js/email/templates/member.removed.d.ts.map +1 -0
- package/dist/js/email/templates/member.removed.js +122 -0
- package/dist/js/email/templates/member.removed.js.map +1 -0
- package/dist/js/email/templates/mention.d.ts +4 -0
- package/dist/js/email/templates/mention.d.ts.map +1 -0
- package/dist/js/email/templates/mention.js +134 -0
- package/dist/js/email/templates/mention.js.map +1 -0
- package/dist/js/email/templates/monthly.report.d.ts +4 -0
- package/dist/js/email/templates/monthly.report.d.ts.map +1 -0
- package/dist/js/email/templates/monthly.report.js +143 -0
- package/dist/js/email/templates/monthly.report.js.map +1 -0
- package/dist/js/email/templates/new.comment.d.ts +4 -0
- package/dist/js/email/templates/new.comment.d.ts.map +1 -0
- package/dist/js/email/templates/new.comment.js +134 -0
- package/dist/js/email/templates/new.comment.js.map +1 -0
- package/dist/js/email/templates/new.device.login.d.ts +4 -0
- package/dist/js/email/templates/new.device.login.d.ts.map +1 -0
- package/dist/js/email/templates/new.device.login.js +147 -0
- package/dist/js/email/templates/new.device.login.js.map +1 -0
- package/dist/js/email/templates/new.message.d.ts +4 -0
- package/dist/js/email/templates/new.message.d.ts.map +1 -0
- package/dist/js/email/templates/new.message.js +134 -0
- package/dist/js/email/templates/new.message.js.map +1 -0
- package/dist/js/email/templates/notification.d.ts +4 -0
- package/dist/js/email/templates/notification.d.ts.map +1 -0
- package/dist/js/email/templates/notification.js +122 -0
- package/dist/js/email/templates/notification.js.map +1 -0
- package/dist/js/email/templates/order.cancelled.d.ts +4 -0
- package/dist/js/email/templates/order.cancelled.d.ts.map +1 -0
- package/dist/js/email/templates/order.cancelled.js +132 -0
- package/dist/js/email/templates/order.cancelled.js.map +1 -0
- package/dist/js/email/templates/order.confirmation.d.ts +4 -0
- package/dist/js/email/templates/order.confirmation.d.ts.map +1 -0
- package/dist/js/email/templates/order.confirmation.js +143 -0
- package/dist/js/email/templates/order.confirmation.js.map +1 -0
- package/dist/js/email/templates/order.delivered.d.ts +4 -0
- package/dist/js/email/templates/order.delivered.d.ts.map +1 -0
- package/dist/js/email/templates/order.delivered.js +122 -0
- package/dist/js/email/templates/order.delivered.js.map +1 -0
- package/dist/js/email/templates/order.shipped.d.ts +4 -0
- package/dist/js/email/templates/order.shipped.d.ts.map +1 -0
- package/dist/js/email/templates/order.shipped.js +143 -0
- package/dist/js/email/templates/order.shipped.js.map +1 -0
- package/dist/js/email/templates/organization.invitation.d.ts +4 -0
- package/dist/js/email/templates/organization.invitation.d.ts.map +1 -0
- package/dist/js/email/templates/organization.invitation.js +126 -0
- package/dist/js/email/templates/organization.invitation.js.map +1 -0
- package/dist/js/email/templates/otp.verfication.d.ts +4 -0
- package/dist/js/email/templates/otp.verfication.d.ts.map +1 -0
- package/dist/js/email/templates/otp.verfication.js +117 -0
- package/dist/js/email/templates/otp.verfication.js.map +1 -0
- package/dist/js/email/templates/password.changed.d.ts +4 -0
- package/dist/js/email/templates/password.changed.d.ts.map +1 -0
- package/dist/js/email/templates/password.changed.js +155 -0
- package/dist/js/email/templates/password.changed.js.map +1 -0
- package/dist/js/email/templates/password.expiring.d.ts +4 -0
- package/dist/js/email/templates/password.expiring.d.ts.map +1 -0
- package/dist/js/email/templates/password.expiring.js +122 -0
- package/dist/js/email/templates/password.expiring.js.map +1 -0
- package/dist/js/email/templates/password.reset.d.ts +4 -0
- package/dist/js/email/templates/password.reset.d.ts.map +1 -0
- package/dist/js/email/templates/password.reset.js +138 -0
- package/dist/js/email/templates/password.reset.js.map +1 -0
- package/dist/js/email/templates/payment.failed.d.ts +4 -0
- package/dist/js/email/templates/payment.failed.d.ts.map +1 -0
- package/dist/js/email/templates/payment.failed.js +155 -0
- package/dist/js/email/templates/payment.failed.js.map +1 -0
- package/dist/js/email/templates/payment.success.d.ts +4 -0
- package/dist/js/email/templates/payment.success.d.ts.map +1 -0
- package/dist/js/email/templates/payment.success.js +143 -0
- package/dist/js/email/templates/payment.success.js.map +1 -0
- package/dist/js/email/templates/receipt.d.ts +4 -0
- package/dist/js/email/templates/receipt.d.ts.map +1 -0
- package/dist/js/email/templates/receipt.js +147 -0
- package/dist/js/email/templates/receipt.js.map +1 -0
- package/dist/js/email/templates/reminder.d.ts +4 -0
- package/dist/js/email/templates/reminder.d.ts.map +1 -0
- package/dist/js/email/templates/reminder.js +122 -0
- package/dist/js/email/templates/reminder.js.map +1 -0
- package/dist/js/email/templates/security.alert.d.ts +4 -0
- package/dist/js/email/templates/security.alert.d.ts.map +1 -0
- package/dist/js/email/templates/security.alert.js +155 -0
- package/dist/js/email/templates/security.alert.js.map +1 -0
- package/dist/js/email/templates/subscription.cancelled.d.ts +4 -0
- package/dist/js/email/templates/subscription.cancelled.d.ts.map +1 -0
- package/dist/js/email/templates/subscription.cancelled.js +122 -0
- package/dist/js/email/templates/subscription.cancelled.js.map +1 -0
- package/dist/js/email/templates/subscription.created.d.ts +4 -0
- package/dist/js/email/templates/subscription.created.d.ts.map +1 -0
- package/dist/js/email/templates/subscription.created.js +143 -0
- package/dist/js/email/templates/subscription.created.js.map +1 -0
- package/dist/js/email/templates/subscription.renewed.d.ts +4 -0
- package/dist/js/email/templates/subscription.renewed.d.ts.map +1 -0
- package/dist/js/email/templates/subscription.renewed.js +143 -0
- package/dist/js/email/templates/subscription.renewed.js.map +1 -0
- package/dist/js/email/templates/support.ticket.d.ts +4 -0
- package/dist/js/email/templates/support.ticket.d.ts.map +1 -0
- package/dist/js/email/templates/support.ticket.js +143 -0
- package/dist/js/email/templates/support.ticket.js.map +1 -0
- package/dist/js/email/templates/team.invitation.d.ts +4 -0
- package/dist/js/email/templates/team.invitation.d.ts.map +1 -0
- package/dist/js/email/templates/team.invitation.js +126 -0
- package/dist/js/email/templates/team.invitation.js.map +1 -0
- package/dist/js/email/templates/trial.ending.d.ts +4 -0
- package/dist/js/email/templates/trial.ending.d.ts.map +1 -0
- package/dist/js/email/templates/trial.ending.js +122 -0
- package/dist/js/email/templates/trial.ending.js.map +1 -0
- package/dist/js/email/templates/two.factor.code.d.ts +4 -0
- package/dist/js/email/templates/two.factor.code.d.ts.map +1 -0
- package/dist/js/email/templates/two.factor.code.js +121 -0
- package/dist/js/email/templates/two.factor.code.js.map +1 -0
- package/dist/js/email/templates/verify.email.d.ts +4 -0
- package/dist/js/email/templates/verify.email.d.ts.map +1 -0
- package/dist/js/email/templates/verify.email.js +126 -0
- package/dist/js/email/templates/verify.email.js.map +1 -0
- package/dist/js/email/templates/weekly.report.d.ts +4 -0
- package/dist/js/email/templates/weekly.report.d.ts.map +1 -0
- package/dist/js/email/templates/weekly.report.js +143 -0
- package/dist/js/email/templates/weekly.report.js.map +1 -0
- package/dist/js/email/templates/welcome.d.ts +4 -0
- package/dist/js/email/templates/welcome.d.ts.map +1 -0
- package/dist/js/email/templates/welcome.email.d.ts +4 -0
- package/dist/js/email/templates/welcome.email.d.ts.map +1 -0
- package/dist/js/email/templates/welcome.email.js +417 -0
- package/dist/js/email/templates/welcome.email.js.map +1 -0
- package/dist/js/email/templates/welcome.js +122 -0
- package/dist/js/email/templates/welcome.js.map +1 -0
- package/dist/js/email/utils/auto-fields.d.ts +68 -0
- package/dist/js/email/utils/auto-fields.d.ts.map +1 -0
- package/dist/js/email/utils/auto-fields.js +232 -0
- package/dist/js/email/utils/auto-fields.js.map +1 -0
- package/dist/js/email/utils/auto-fields.type.d.ts +18 -0
- package/dist/js/email/utils/auto-fields.type.d.ts.map +1 -0
- package/dist/js/email/utils/auto-fields.type.js +2 -0
- package/dist/js/email/utils/auto-fields.type.js.map +1 -0
- package/dist/js/email/utils/emailTemplates.d.ts +2 -0
- package/dist/js/email/utils/emailTemplates.d.ts.map +1 -0
- package/dist/js/email/utils/emailTemplates.js +49 -0
- package/dist/js/email/utils/emailTemplates.js.map +1 -0
- package/dist/js/email/utils/handleEmailTemplateConfig.d.ts +4 -0
- package/dist/js/email/utils/handleEmailTemplateConfig.d.ts.map +1 -0
- package/dist/js/email/utils/handleEmailTemplateConfig.js +47 -0
- package/dist/js/email/utils/handleEmailTemplateConfig.js.map +1 -0
- package/dist/js/health/health.collection.js +11 -11
- package/dist/js/health/health.collection.js.map +1 -1
- package/dist/js/health/index.d.ts +1 -1
- package/dist/js/health/index.d.ts.map +1 -1
- package/dist/js/health/index.js +2 -2
- package/dist/js/health/index.js.map +1 -1
- package/dist/js/lib/OAuthProviders.js +1 -1
- package/dist/js/lib/OAuthProviders.js.map +1 -1
- package/dist/js/lib/db.js +1 -0
- package/dist/js/lib/db.js.map +1 -1
- package/dist/js/lib/model.factory.d.ts +10 -1
- package/dist/js/lib/model.factory.d.ts.map +1 -1
- package/dist/js/lib/model.factory.js +18 -4
- package/dist/js/lib/model.factory.js.map +1 -1
- package/dist/js/lib/model.registry.js +1 -0
- package/dist/js/lib/model.registry.js.map +1 -1
- package/dist/js/lib/mongoose.fields.js +20 -0
- package/dist/js/lib/mongoose.fields.js.map +1 -1
- package/dist/js/lib/schema.builder.js +3 -0
- package/dist/js/lib/schema.builder.js.map +1 -1
- package/dist/js/lib/unified.fields.d.ts +5 -0
- package/dist/js/lib/unified.fields.d.ts.map +1 -1
- package/dist/js/lib/unified.fields.js +56 -0
- package/dist/js/lib/unified.fields.js.map +1 -1
- package/dist/js/lib/unified.types.d.ts +3 -0
- package/dist/js/lib/unified.types.d.ts.map +1 -1
- package/dist/js/lib/zod.factory.d.ts +13 -0
- package/dist/js/lib/zod.factory.d.ts.map +1 -1
- package/dist/js/lib/zod.factory.js +14 -0
- package/dist/js/lib/zod.factory.js.map +1 -1
- package/dist/js/lib/zod.fields.d.ts +55 -0
- package/dist/js/lib/zod.fields.d.ts.map +1 -1
- package/dist/js/lib/zod.fields.js +56 -0
- package/dist/js/lib/zod.fields.js.map +1 -1
- package/dist/js/middleware/error.middleware.js +1 -0
- package/dist/js/middleware/error.middleware.js.map +1 -1
- package/dist/js/middleware/multer.middleware.d.ts +1 -1
- package/dist/js/middleware/multer.middleware.d.ts.map +1 -1
- package/dist/js/middleware/multer.middleware.js +22 -7
- package/dist/js/middleware/multer.middleware.js.map +1 -1
- package/dist/js/terminal/appInfo.js +11 -11
- package/dist/js/terminal/appInfo.js.map +1 -1
- package/dist/js/terminal/logger.js +1 -1
- package/dist/js/terminal/logger.js.map +1 -1
- package/dist/js/types/ActionHandler.d.ts +82 -14
- package/dist/js/types/ActionHandler.d.ts.map +1 -1
- package/dist/js/types/Collection.d.ts +104 -15
- package/dist/js/types/Collection.d.ts.map +1 -1
- package/dist/js/types/Constructor.d.ts +4 -2
- package/dist/js/types/Constructor.d.ts.map +1 -1
- package/dist/js/types/EmailActionTemplate.d.ts +52 -0
- package/dist/js/types/EmailActionTemplate.d.ts.map +1 -0
- package/dist/js/types/EmailActionTemplate.js +2 -0
- package/dist/js/types/EmailActionTemplate.js.map +1 -0
- package/dist/js/types/Route.d.ts +131 -14
- package/dist/js/types/Route.d.ts.map +1 -1
- package/dist/js/types/Routepath.js +15 -0
- package/dist/js/types/Routepath.js.map +1 -1
- package/dist/js/types/email/account.created.type.d.ts +10 -0
- package/dist/js/types/email/account.created.type.d.ts.map +1 -0
- package/dist/js/types/email/account.created.type.js +2 -0
- package/dist/js/types/email/account.created.type.js.map +1 -0
- package/dist/js/types/email/account.deleted.type.d.ts +10 -0
- package/dist/js/types/email/account.deleted.type.d.ts.map +1 -0
- package/dist/js/types/email/account.deleted.type.js +2 -0
- package/dist/js/types/email/account.deleted.type.js.map +1 -0
- package/dist/js/types/email/account.updated.type.d.ts +12 -0
- package/dist/js/types/email/account.updated.type.d.ts.map +1 -0
- package/dist/js/types/email/account.updated.type.js +2 -0
- package/dist/js/types/email/account.updated.type.js.map +1 -0
- package/dist/js/types/email/announcement.type.d.ts +13 -0
- package/dist/js/types/email/announcement.type.d.ts.map +1 -0
- package/dist/js/types/email/announcement.type.js +2 -0
- package/dist/js/types/email/announcement.type.js.map +1 -0
- package/dist/js/types/email/api.key.created.type.d.ts +14 -0
- package/dist/js/types/email/api.key.created.type.d.ts.map +1 -0
- package/dist/js/types/email/api.key.created.type.js +2 -0
- package/dist/js/types/email/api.key.created.type.js.map +1 -0
- package/dist/js/types/email/api.key.revoked.type.d.ts +14 -0
- package/dist/js/types/email/api.key.revoked.type.d.ts.map +1 -0
- package/dist/js/types/email/api.key.revoked.type.js +2 -0
- package/dist/js/types/email/api.key.revoked.type.js.map +1 -0
- package/dist/js/types/email/contact.form.type.d.ts +11 -0
- package/dist/js/types/email/contact.form.type.d.ts.map +1 -0
- package/dist/js/types/email/contact.form.type.js +2 -0
- package/dist/js/types/email/contact.form.type.js.map +1 -0
- package/dist/js/types/email/daily.report.type.d.ts +14 -0
- package/dist/js/types/email/daily.report.type.d.ts.map +1 -0
- package/dist/js/types/email/daily.report.type.js +2 -0
- package/dist/js/types/email/daily.report.type.js.map +1 -0
- package/dist/js/types/email/email.changed.type.d.ts +12 -0
- package/dist/js/types/email/email.changed.type.d.ts.map +1 -0
- package/dist/js/types/email/email.changed.type.js +2 -0
- package/dist/js/types/email/email.changed.type.js.map +1 -0
- package/dist/js/types/email/feedback.type.d.ts +11 -0
- package/dist/js/types/email/feedback.type.d.ts.map +1 -0
- package/dist/js/types/email/feedback.type.js +2 -0
- package/dist/js/types/email/feedback.type.js.map +1 -0
- package/dist/js/types/email/index.d.ts +46 -0
- package/dist/js/types/email/index.d.ts.map +1 -0
- package/dist/js/types/email/index.js +2 -0
- package/dist/js/types/email/index.js.map +1 -0
- package/dist/js/types/email/invoice.type.d.ts +14 -0
- package/dist/js/types/email/invoice.type.d.ts.map +1 -0
- package/dist/js/types/email/invoice.type.js +2 -0
- package/dist/js/types/email/invoice.type.js.map +1 -0
- package/dist/js/types/email/login.alert.type.d.ts +12 -0
- package/dist/js/types/email/login.alert.type.d.ts.map +1 -0
- package/dist/js/types/email/login.alert.type.js +2 -0
- package/dist/js/types/email/login.alert.type.js.map +1 -0
- package/dist/js/types/email/magic.link.type.d.ts +11 -0
- package/dist/js/types/email/magic.link.type.d.ts.map +1 -0
- package/dist/js/types/email/magic.link.type.js +2 -0
- package/dist/js/types/email/magic.link.type.js.map +1 -0
- package/dist/js/types/email/maintenance.type.d.ts +13 -0
- package/dist/js/types/email/maintenance.type.d.ts.map +1 -0
- package/dist/js/types/email/maintenance.type.js +2 -0
- package/dist/js/types/email/maintenance.type.js.map +1 -0
- package/dist/js/types/email/member.added.type.d.ts +14 -0
- package/dist/js/types/email/member.added.type.d.ts.map +1 -0
- package/dist/js/types/email/member.added.type.js +2 -0
- package/dist/js/types/email/member.added.type.js.map +1 -0
- package/dist/js/types/email/member.removed.type.d.ts +14 -0
- package/dist/js/types/email/member.removed.type.d.ts.map +1 -0
- package/dist/js/types/email/member.removed.type.js +2 -0
- package/dist/js/types/email/member.removed.type.js.map +1 -0
- package/dist/js/types/email/mention.type.d.ts +12 -0
- package/dist/js/types/email/mention.type.d.ts.map +1 -0
- package/dist/js/types/email/mention.type.js +2 -0
- package/dist/js/types/email/mention.type.js.map +1 -0
- package/dist/js/types/email/monthly.report.type.d.ts +14 -0
- package/dist/js/types/email/monthly.report.type.d.ts.map +1 -0
- package/dist/js/types/email/monthly.report.type.js +2 -0
- package/dist/js/types/email/monthly.report.type.js.map +1 -0
- package/dist/js/types/email/new.comment.type.d.ts +12 -0
- package/dist/js/types/email/new.comment.type.d.ts.map +1 -0
- package/dist/js/types/email/new.comment.type.js +2 -0
- package/dist/js/types/email/new.comment.type.js.map +1 -0
- package/dist/js/types/email/new.device.login.type.d.ts +11 -0
- package/dist/js/types/email/new.device.login.type.d.ts.map +1 -0
- package/dist/js/types/email/new.device.login.type.js +2 -0
- package/dist/js/types/email/new.device.login.type.js.map +1 -0
- package/dist/js/types/email/new.message.type.d.ts +11 -0
- package/dist/js/types/email/new.message.type.d.ts.map +1 -0
- package/dist/js/types/email/new.message.type.js +2 -0
- package/dist/js/types/email/new.message.type.js.map +1 -0
- package/dist/js/types/email/notification.type.d.ts +13 -0
- package/dist/js/types/email/notification.type.d.ts.map +1 -0
- package/dist/js/types/email/notification.type.js +2 -0
- package/dist/js/types/email/notification.type.js.map +1 -0
- package/dist/js/types/email/order.cancelled.type.d.ts +12 -0
- package/dist/js/types/email/order.cancelled.type.d.ts.map +1 -0
- package/dist/js/types/email/order.cancelled.type.js +2 -0
- package/dist/js/types/email/order.cancelled.type.js.map +1 -0
- package/dist/js/types/email/order.confirmation.type.d.ts +13 -0
- package/dist/js/types/email/order.confirmation.type.d.ts.map +1 -0
- package/dist/js/types/email/order.confirmation.type.js +2 -0
- package/dist/js/types/email/order.confirmation.type.js.map +1 -0
- package/dist/js/types/email/order.delivered.type.d.ts +12 -0
- package/dist/js/types/email/order.delivered.type.d.ts.map +1 -0
- package/dist/js/types/email/order.delivered.type.js +2 -0
- package/dist/js/types/email/order.delivered.type.js.map +1 -0
- package/dist/js/types/email/order.shipped.type.d.ts +14 -0
- package/dist/js/types/email/order.shipped.type.d.ts.map +1 -0
- package/dist/js/types/email/order.shipped.type.js +2 -0
- package/dist/js/types/email/order.shipped.type.js.map +1 -0
- package/dist/js/types/email/organization.invitation.type.d.ts +13 -0
- package/dist/js/types/email/organization.invitation.type.d.ts.map +1 -0
- package/dist/js/types/email/organization.invitation.type.js +2 -0
- package/dist/js/types/email/organization.invitation.type.js.map +1 -0
- package/dist/js/types/email/otp.verification.type.d.ts +11 -0
- package/dist/js/types/email/otp.verification.type.d.ts.map +1 -0
- package/dist/js/types/email/otp.verification.type.js +2 -0
- package/dist/js/types/email/otp.verification.type.js.map +1 -0
- package/dist/js/types/email/password.changed.type.d.ts +12 -0
- package/dist/js/types/email/password.changed.type.d.ts.map +1 -0
- package/dist/js/types/email/password.changed.type.js +2 -0
- package/dist/js/types/email/password.changed.type.js.map +1 -0
- package/dist/js/types/email/password.expiring.type.d.ts +12 -0
- package/dist/js/types/email/password.expiring.type.d.ts.map +1 -0
- package/dist/js/types/email/password.expiring.type.js +2 -0
- package/dist/js/types/email/password.expiring.type.js.map +1 -0
- package/dist/js/types/email/password.reset.type.d.ts +11 -0
- package/dist/js/types/email/password.reset.type.d.ts.map +1 -0
- package/dist/js/types/email/password.reset.type.js +2 -0
- package/dist/js/types/email/password.reset.type.js.map +1 -0
- package/dist/js/types/email/payment.failed.type.d.ts +14 -0
- package/dist/js/types/email/payment.failed.type.d.ts.map +1 -0
- package/dist/js/types/email/payment.failed.type.js +2 -0
- package/dist/js/types/email/payment.failed.type.js.map +1 -0
- package/dist/js/types/email/payment.success.type.d.ts +13 -0
- package/dist/js/types/email/payment.success.type.d.ts.map +1 -0
- package/dist/js/types/email/payment.success.type.js +2 -0
- package/dist/js/types/email/payment.success.type.js.map +1 -0
- package/dist/js/types/email/receipt.type.d.ts +14 -0
- package/dist/js/types/email/receipt.type.d.ts.map +1 -0
- package/dist/js/types/email/receipt.type.js +2 -0
- package/dist/js/types/email/receipt.type.js.map +1 -0
- package/dist/js/types/email/reminder.type.d.ts +12 -0
- package/dist/js/types/email/reminder.type.d.ts.map +1 -0
- package/dist/js/types/email/reminder.type.js +2 -0
- package/dist/js/types/email/reminder.type.js.map +1 -0
- package/dist/js/types/email/security.alert.type.d.ts +12 -0
- package/dist/js/types/email/security.alert.type.d.ts.map +1 -0
- package/dist/js/types/email/security.alert.type.js +2 -0
- package/dist/js/types/email/security.alert.type.js.map +1 -0
- package/dist/js/types/email/static-config.type.d.ts +8 -0
- package/dist/js/types/email/static-config.type.d.ts.map +1 -0
- package/dist/js/types/email/static-config.type.js +2 -0
- package/dist/js/types/email/static-config.type.js.map +1 -0
- package/dist/js/types/email/subscription.cancelled.type.d.ts +12 -0
- package/dist/js/types/email/subscription.cancelled.type.d.ts.map +1 -0
- package/dist/js/types/email/subscription.cancelled.type.js +2 -0
- package/dist/js/types/email/subscription.cancelled.type.js.map +1 -0
- package/dist/js/types/email/subscription.created.type.d.ts +13 -0
- package/dist/js/types/email/subscription.created.type.d.ts.map +1 -0
- package/dist/js/types/email/subscription.created.type.js +2 -0
- package/dist/js/types/email/subscription.created.type.js.map +1 -0
- package/dist/js/types/email/subscription.renewed.type.d.ts +14 -0
- package/dist/js/types/email/subscription.renewed.type.d.ts.map +1 -0
- package/dist/js/types/email/subscription.renewed.type.js +2 -0
- package/dist/js/types/email/subscription.renewed.type.js.map +1 -0
- package/dist/js/types/email/support.ticket.type.d.ts +14 -0
- package/dist/js/types/email/support.ticket.type.d.ts.map +1 -0
- package/dist/js/types/email/support.ticket.type.js +2 -0
- package/dist/js/types/email/support.ticket.type.js.map +1 -0
- package/dist/js/types/email/team.invitation.type.d.ts +13 -0
- package/dist/js/types/email/team.invitation.type.d.ts.map +1 -0
- package/dist/js/types/email/team.invitation.type.js +2 -0
- package/dist/js/types/email/team.invitation.type.js.map +1 -0
- package/dist/js/types/email/trial.ending.type.d.ts +13 -0
- package/dist/js/types/email/trial.ending.type.d.ts.map +1 -0
- package/dist/js/types/email/trial.ending.type.js +2 -0
- package/dist/js/types/email/trial.ending.type.js.map +1 -0
- package/dist/js/types/email/two.factor.code.type.d.ts +11 -0
- package/dist/js/types/email/two.factor.code.type.d.ts.map +1 -0
- package/dist/js/types/email/two.factor.code.type.js +2 -0
- package/dist/js/types/email/two.factor.code.type.js.map +1 -0
- package/dist/js/types/email/verify.email.type.d.ts +11 -0
- package/dist/js/types/email/verify.email.type.d.ts.map +1 -0
- package/dist/js/types/email/verify.email.type.js +2 -0
- package/dist/js/types/email/verify.email.type.js.map +1 -0
- package/dist/js/types/email/weekly.report.type.d.ts +14 -0
- package/dist/js/types/email/weekly.report.type.d.ts.map +1 -0
- package/dist/js/types/email/weekly.report.type.js +2 -0
- package/dist/js/types/email/weekly.report.type.js.map +1 -0
- package/dist/js/types/email/welcome.type.d.ts +10 -0
- package/dist/js/types/email/welcome.type.d.ts.map +1 -0
- package/dist/js/types/email/welcome.type.js +2 -0
- package/dist/js/types/email/welcome.type.js.map +1 -0
- package/dist/js/types/upload.d.ts +57 -5
- package/dist/js/types/upload.d.ts.map +1 -1
- package/dist/js/upload/create.js +9 -6
- package/dist/js/upload/create.js.map +1 -1
- package/dist/js/upload/delete.js +21 -21
- package/dist/js/upload/delete.js.map +1 -1
- package/dist/js/upload/update.js +21 -21
- package/dist/js/upload/update.js.map +1 -1
- package/dist/js/utils/getErrorDetail.d.ts +2 -2
- package/dist/js/utils/getErrorDetail.d.ts.map +1 -1
- package/dist/js/utils/getErrorDetail.js +2 -2
- package/dist/js/utils/getErrorDetail.js.map +1 -1
- package/dist/js/utils/getModel.d.ts +3 -3
- package/dist/js/utils/getModel.d.ts.map +1 -1
- package/dist/js/utils/getModel.js +6 -6
- package/dist/js/utils/getModel.js.map +1 -1
- package/dist/js/utils/libsodium.js +6 -0
- package/dist/js/utils/libsodium.js.map +1 -1
- package/dist/js/utils/otpPurposes.js +38 -0
- package/dist/js/utils/otpPurposes.js.map +1 -1
- package/dist/js/utils/sanitize.js +23 -2
- package/dist/js/utils/sanitize.js.map +1 -1
- package/dist/js/utils/saveRefreshToken.js +2 -1
- package/dist/js/utils/saveRefreshToken.js.map +1 -1
- package/dist/js/utils/validate.js +5 -3
- package/dist/js/utils/validate.js.map +1 -1
- package/dist/js/utils/validationKeyError.d.ts +1 -1
- package/dist/js/utils/validationKeyError.d.ts.map +1 -1
- package/dist/js/utils/validationKeyError.js +13 -8
- package/dist/js/utils/validationKeyError.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +29 -29
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
const subscriptionCreatedEmail = ({ planName, companyUrl, companyName, userName, billingCycle, nextBillingDate, billingUrl, 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>You're subscribed to ${planName}</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
|
+
Your ${planName} subscription is now active.
|
|
36
|
+
‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
|
|
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"> </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"><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 subscription is active
|
|
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 subscribing to <strong>${planName}</strong>. Your plan is now active.</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%">Plan</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;">${planName}</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%">Billing cycle</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;">${billingCycle}</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%">Next billing date</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;">${nextBillingDate}</td>
|
|
92
|
+
</tr>
|
|
93
|
+
</table>
|
|
94
|
+
</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
|
|
100
|
+
<tr>
|
|
101
|
+
<td style="border-radius:10px;background-color:#16A34A;" bgcolor="#16A34A">
|
|
102
|
+
<a href="${billingUrl}" target="_blank"
|
|
103
|
+
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;
|
|
104
|
+
color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
|
|
105
|
+
Manage subscription
|
|
106
|
+
</a>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
</table>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td>
|
|
114
|
+
</tr>
|
|
115
|
+
</table>
|
|
116
|
+
|
|
117
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
|
|
118
|
+
<tr>
|
|
119
|
+
<td style="padding:28px 24px 8px 24px;text-align:center;">
|
|
120
|
+
<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;">
|
|
121
|
+
${companyName} · ${companyAddress}
|
|
122
|
+
</p>
|
|
123
|
+
<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;">
|
|
124
|
+
This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
|
|
125
|
+
</p>
|
|
126
|
+
<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;">
|
|
127
|
+
<a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
|
|
128
|
+
·
|
|
129
|
+
© ${currentYear} ${companyName}. All rights reserved.
|
|
130
|
+
</p>
|
|
131
|
+
</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</table>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
<!--[if mso]></td></tr></table><![endif]-->
|
|
137
|
+
</center>
|
|
138
|
+
</body>
|
|
139
|
+
</html>
|
|
140
|
+
`;
|
|
141
|
+
};
|
|
142
|
+
export default subscriptionCreatedEmail;
|
|
143
|
+
//# sourceMappingURL=subscription.created.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.created.js","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.created.ts"],"names":[],"mappings":"AAEA,MAAM,wBAAwB,GAAG,CAAC,EAChC,QAAQ,EACR,UAAU,EACV,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,UAAU,EACV,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GAC0B,EAAU,EAAE;IACjD,OAAO;;;;;;;;8BAQqB,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;WAyB3B,QAAQ;;;;;;;;;;;;uBAYI,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,uCAAuC,QAAQ;;;;;;;;;;kMAU5C,QAAQ;;;;+NAIqB,YAAY;;;;+NAIZ,eAAe;;;;;;;;;;;qBAWzN,UAAU;;;;;;;;;;;;;;;;;;;gBAmBf,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SubscriptionRenewedEmailPlaceholders } from "../../types/email/subscription.renewed.type.js";
|
|
2
|
+
declare const subscriptionRenewedEmail: ({ planName, billingCycle, companyUrl, companyName, userName, paymentAmount, nextBillingDate, billingUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: SubscriptionRenewedEmailPlaceholders) => string;
|
|
3
|
+
export default subscriptionRenewedEmail;
|
|
4
|
+
//# sourceMappingURL=subscription.renewed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.renewed.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.renewed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,gDAAgD,CAAC;AAE3G,QAAA,MAAM,wBAAwB,GAAI,kLAc/B,oCAAoC,KAAG,MA4IzC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
const subscriptionRenewedEmail = ({ planName, billingCycle, companyUrl, companyName, userName, paymentAmount, nextBillingDate, billingUrl, 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>Your ${planName} subscription renewed</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
|
+
Your subscription was renewed for another ${billingCycle}.
|
|
36
|
+
‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
|
|
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"> </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="M4.5 12a7.5 7.5 0 0113-5"/><path d="M19.5 12a7.5 7.5 0 01-13 5"/><path d="M17.2 3.5v4h-4"/><path d="M6.8 20.5v-4h4"/></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 renewed
|
|
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 <strong>${planName}</strong> subscription has renewed successfully.</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%">Plan</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;">${planName}</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%">Amount charged</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;">${paymentAmount}</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%">Next billing date</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;">${nextBillingDate}</td>
|
|
92
|
+
</tr>
|
|
93
|
+
</table>
|
|
94
|
+
</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
|
|
100
|
+
<tr>
|
|
101
|
+
<td style="border-radius:10px;background-color:#16A34A;" bgcolor="#16A34A">
|
|
102
|
+
<a href="${billingUrl}" target="_blank"
|
|
103
|
+
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;
|
|
104
|
+
color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
|
|
105
|
+
View billing details
|
|
106
|
+
</a>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
</table>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td>
|
|
114
|
+
</tr>
|
|
115
|
+
</table>
|
|
116
|
+
|
|
117
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
|
|
118
|
+
<tr>
|
|
119
|
+
<td style="padding:28px 24px 8px 24px;text-align:center;">
|
|
120
|
+
<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;">
|
|
121
|
+
${companyName} · ${companyAddress}
|
|
122
|
+
</p>
|
|
123
|
+
<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;">
|
|
124
|
+
This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
|
|
125
|
+
</p>
|
|
126
|
+
<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;">
|
|
127
|
+
<a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
|
|
128
|
+
·
|
|
129
|
+
© ${currentYear} ${companyName}. All rights reserved.
|
|
130
|
+
</p>
|
|
131
|
+
</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</table>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
<!--[if mso]></td></tr></table><![endif]-->
|
|
137
|
+
</center>
|
|
138
|
+
</body>
|
|
139
|
+
</html>
|
|
140
|
+
`;
|
|
141
|
+
};
|
|
142
|
+
export default subscriptionRenewedEmail;
|
|
143
|
+
//# sourceMappingURL=subscription.renewed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.renewed.js","sourceRoot":"","sources":["../../../../src/js/email/templates/subscription.renewed.ts"],"names":[],"mappings":"AAEA,MAAM,wBAAwB,GAAG,CAAC,EAChC,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,WAAW,EACX,QAAQ,EACR,aAAa,EACb,eAAe,EACf,UAAU,EACV,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GAC0B,EAAU,EAAE;IACjD,OAAO;;;;;;;;cAQK,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;gDAyB0B,YAAY;;;;;;;;;;;;uBAYrC,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,kBAAkB,QAAQ;;;;;;;;;;kMAUvB,QAAQ;;;;+NAIqB,aAAa;;;;+NAIb,eAAe;;;;;;;;;;;qBAWzN,UAAU;;;;;;;;;;;;;;;;;;;gBAmBf,WAAW,aAAa,cAAc;;;uCAGf,SAAS,gCAAgC,YAAY,sDAAsD,YAAY;;;yBAGrI,cAAc;;uBAEhB,WAAW,IAAI,WAAW;;;;;;;;;;;CAWhD,CAAC;AACF,CAAC,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { SupportTicketEmailPlaceholders } from "../../types/email/support.ticket.type.js";
|
|
2
|
+
declare const supportTicketEmail: ({ ticketId, ticketSubject, companyUrl, companyName, userName, ticketStatus, agentName, ticketUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: SupportTicketEmailPlaceholders) => string;
|
|
3
|
+
export default supportTicketEmail;
|
|
4
|
+
//# sourceMappingURL=support.ticket.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support.ticket.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/support.ticket.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE/F,QAAA,MAAM,kBAAkB,GAAI,2KAczB,8BAA8B,KAAG,MA4InC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
const supportTicketEmail = ({ ticketId, ticketSubject, companyUrl, companyName, userName, ticketStatus, agentName, ticketUrl, 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>Support ticket ${ticketId} — ${ticketSubject}</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: #0D9488; }
|
|
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
|
+
Update on your support ticket ${ticketId}.
|
|
36
|
+
‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
|
|
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:#0D9488;border-radius:16px 16px 0 0;" bgcolor="#0D9488"> </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:#E2F2F1;text-align:center;vertical-align:middle;" bgcolor="#E2F2F1">
|
|
64
|
+
<div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#0D9488" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 13.2a7.5 7.5 0 0115 0v3.8a2 2 0 01-2 2h-.8v-5.6h2.8"/><path d="M4.5 17v-3.8a2 2 0 012-2h.8v5.6H6.5a2 2 0 01-2-2z" transform="scale(-1,1) translate(-24,0)"/><path d="M6.3 19.2h1a1 1 0 001-1v-3.4a1 1 0 00-1-1h-1.8v3.4a2 2 0 002 2z"/></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 support ticket has been 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}, here's the latest on ticket <strong>${ticketId}</strong>: ${ticketSubject}.</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%">Ticket ID</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;">${ticketId}</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%">Status</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;">${ticketStatus}</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%">Assigned to</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;">${agentName}</td>
|
|
92
|
+
</tr>
|
|
93
|
+
</table>
|
|
94
|
+
</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
<table role="presentation" cellpadding="0" cellspacing="0" style="margin:28px 0 4px 0;">
|
|
100
|
+
<tr>
|
|
101
|
+
<td style="border-radius:10px;background-color:#0D9488;" bgcolor="#0D9488">
|
|
102
|
+
<a href="${ticketUrl}" target="_blank"
|
|
103
|
+
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;
|
|
104
|
+
color:#ffffff;text-decoration:none;border-radius:10px;letter-spacing:-0.01em;">
|
|
105
|
+
View ticket
|
|
106
|
+
</a>
|
|
107
|
+
</td>
|
|
108
|
+
</tr>
|
|
109
|
+
</table>
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</td>
|
|
114
|
+
</tr>
|
|
115
|
+
</table>
|
|
116
|
+
|
|
117
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
|
|
118
|
+
<tr>
|
|
119
|
+
<td style="padding:28px 24px 8px 24px;text-align:center;">
|
|
120
|
+
<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;">
|
|
121
|
+
${companyName} · ${companyAddress}
|
|
122
|
+
</p>
|
|
123
|
+
<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;">
|
|
124
|
+
This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
|
|
125
|
+
</p>
|
|
126
|
+
<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;">
|
|
127
|
+
<a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
|
|
128
|
+
·
|
|
129
|
+
© ${currentYear} ${companyName}. All rights reserved.
|
|
130
|
+
</p>
|
|
131
|
+
</td>
|
|
132
|
+
</tr>
|
|
133
|
+
</table>
|
|
134
|
+
|
|
135
|
+
</div>
|
|
136
|
+
<!--[if mso]></td></tr></table><![endif]-->
|
|
137
|
+
</center>
|
|
138
|
+
</body>
|
|
139
|
+
</html>
|
|
140
|
+
`;
|
|
141
|
+
};
|
|
142
|
+
export default supportTicketEmail;
|
|
143
|
+
//# sourceMappingURL=support.ticket.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"support.ticket.js","sourceRoot":"","sources":["../../../../src/js/email/templates/support.ticket.ts"],"names":[],"mappings":"AAEA,MAAM,kBAAkB,GAAG,CAAC,EAC1B,QAAQ,EACR,aAAa,EACb,UAAU,EACV,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GACoB,EAAU,EAAE;IAC3C,OAAO;;;;;;;;wBAQe,QAAQ,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;oCAyBf,QAAQ;;;;;;;;;;;;uBAYrB,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;uLAyBjB,QAAQ,yCAAyC,QAAQ,cAAc,aAAa;;;;;;;;;;kMAUzE,QAAQ;;;;+NAIqB,YAAY;;;;+NAIZ,SAAS;;;;;;;;;;;qBAWnN,SAAS;;;;;;;;;;;;;;;;;;;gBAmBd,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 { TeamInvitationEmailPlaceholders } from "../../types/email/team.invitation.type.js";
|
|
2
|
+
declare const teamInvitationEmail: ({ inviterName, teamName, companyName, companyUrl, memberRole, inviteUrl, expiryDate, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: TeamInvitationEmailPlaceholders) => string;
|
|
3
|
+
export default teamInvitationEmail;
|
|
4
|
+
//# sourceMappingURL=team.invitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.invitation.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/team.invitation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAEjG,QAAA,MAAM,mBAAmB,GAAI,8JAa1B,+BAA+B,KAAG,MA2HpC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
const teamInvitationEmail = ({ inviterName, teamName, companyName, companyUrl, memberRole, inviteUrl, expiryDate, 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>${inviterName} invited you to join ${teamName} on ${companyName}</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: #7C3AED; }
|
|
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
|
+
Join ${teamName} on ${companyName} — accept your invitation.
|
|
36
|
+
‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌
|
|
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:#7C3AED;border-radius:16px 16px 0 0;" bgcolor="#7C3AED"> </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:#EFE7FD;text-align:center;vertical-align:middle;" bgcolor="#EFE7FD">
|
|
64
|
+
<div style="font-size:0;line-height:0;"><svg width="26" height="26" viewBox="0 0 24 24" fill="none" stroke="#7C3AED" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><circle cx="9" cy="8.2" r="3"/><path d="M3.2 19.5c0-3 2.6-5.2 5.8-5.2s5.8 2.2 5.8 5.2"/><circle cx="17" cy="9" r="2.3"/><path d="M20.8 19.5c0-2.3-1.7-4.2-4-4.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
|
+
You've been invited to a team
|
|
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;">${inviterName} has invited you to join <strong>${teamName}</strong> on ${companyName} as a ${memberRole}.</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:#7C3AED;" bgcolor="#7C3AED">
|
|
81
|
+
<a href="${inviteUrl}" 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
|
+
Accept invitation
|
|
85
|
+
</a>
|
|
86
|
+
</td>
|
|
87
|
+
</tr>
|
|
88
|
+
</table>
|
|
89
|
+
|
|
90
|
+
<p style="margin:16px 0 0 0;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:13px;line-height:20px;color:#94A3B8;">
|
|
91
|
+
Or copy and paste this link into your browser:<br>
|
|
92
|
+
<span style="color:#475569;word-break:break-all;">${inviteUrl}</span>
|
|
93
|
+
</p>
|
|
94
|
+
<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;">This invitation expires on ${expiryDate}.</p>
|
|
95
|
+
|
|
96
|
+
</td>
|
|
97
|
+
</tr>
|
|
98
|
+
</table>
|
|
99
|
+
|
|
100
|
+
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="max-width:600px;margin:0 auto;">
|
|
101
|
+
<tr>
|
|
102
|
+
<td style="padding:28px 24px 8px 24px;text-align:center;">
|
|
103
|
+
<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;">
|
|
104
|
+
${companyName} · ${companyAddress}
|
|
105
|
+
</p>
|
|
106
|
+
<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;">
|
|
107
|
+
This email was sent to ${userEmail}. Need help? <a href="mailto:${supportEmail}" style="color:#94A3B8;text-decoration:underline;">${supportEmail}</a>
|
|
108
|
+
</p>
|
|
109
|
+
<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;">
|
|
110
|
+
<a href="${unsubscribeUrl}" style="color:#94A3B8;text-decoration:underline;">Unsubscribe</a>
|
|
111
|
+
·
|
|
112
|
+
© ${currentYear} ${companyName}. All rights reserved.
|
|
113
|
+
</p>
|
|
114
|
+
</td>
|
|
115
|
+
</tr>
|
|
116
|
+
</table>
|
|
117
|
+
|
|
118
|
+
</div>
|
|
119
|
+
<!--[if mso]></td></tr></table><![endif]-->
|
|
120
|
+
</center>
|
|
121
|
+
</body>
|
|
122
|
+
</html>
|
|
123
|
+
`;
|
|
124
|
+
};
|
|
125
|
+
export default teamInvitationEmail;
|
|
126
|
+
//# sourceMappingURL=team.invitation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.invitation.js","sourceRoot":"","sources":["../../../../src/js/email/templates/team.invitation.ts"],"names":[],"mappings":"AAEA,MAAM,mBAAmB,GAAG,CAAC,EAC3B,WAAW,EACX,QAAQ,EACR,WAAW,EACX,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,cAAc,EACd,SAAS,EACT,YAAY,EACZ,cAAc,EACd,WAAW,GACqB,EAAU,EAAE;IAC5C,OAAO;;;;;;;;SAQA,WAAW,wBAAwB,QAAQ,OAAO,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;WAyB3D,QAAQ,OAAO,WAAW;;;;;;;;;;;;uBAYd,UAAU;6LAC4J,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;oLAyBpB,WAAW,oCAAoC,QAAQ,gBAAgB,WAAW,SAAS,UAAU;;;;;;;;qBAQpQ,SAAS;;;;;;;;;;;0DAW4B,SAAS;;+MAE4I,UAAU;;;;;;;;;;gBAUzM,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 { TrialEndingEmailPlaceholders } from "../../types/email/trial.ending.type.js";
|
|
2
|
+
declare const trialEndingEmail: ({ daysRemaining, companyName, trialEndDate, companyUrl, userName, planName, billingUrl, companyAddress, userEmail, supportEmail, unsubscribeUrl, currentYear, }: TrialEndingEmailPlaceholders) => string;
|
|
3
|
+
export default trialEndingEmail;
|
|
4
|
+
//# sourceMappingURL=trial.ending.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trial.ending.d.ts","sourceRoot":"","sources":["../../../../src/js/email/templates/trial.ending.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAE3F,QAAA,MAAM,gBAAgB,GAAI,iKAavB,4BAA4B,KAAG,MAuHjC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|