@intlayer/backend 5.1.5 → 5.1.6

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 (245) hide show
  1. package/dist/cjs/controllers/ai.controller.cjs +61 -43
  2. package/dist/cjs/controllers/ai.controller.cjs.map +1 -1
  3. package/dist/cjs/controllers/dictionary.controller.cjs +1 -1
  4. package/dist/cjs/controllers/dictionary.controller.cjs.map +1 -1
  5. package/dist/cjs/controllers/organization.controller.cjs +17 -1
  6. package/dist/cjs/controllers/organization.controller.cjs.map +1 -1
  7. package/dist/cjs/controllers/project.controller.cjs +1 -0
  8. package/dist/cjs/controllers/project.controller.cjs.map +1 -1
  9. package/dist/cjs/controllers/sessionAuth.controller.cjs +6 -12
  10. package/dist/cjs/controllers/sessionAuth.controller.cjs.map +1 -1
  11. package/dist/cjs/controllers/stripe.controller.cjs +31 -10
  12. package/dist/cjs/controllers/stripe.controller.cjs.map +1 -1
  13. package/dist/cjs/controllers/tag.controller.cjs +0 -7
  14. package/dist/cjs/controllers/tag.controller.cjs.map +1 -1
  15. package/dist/cjs/controllers/user.controller.cjs +1 -1
  16. package/dist/cjs/controllers/user.controller.cjs.map +1 -1
  17. package/dist/cjs/emails/InviteUserEmail.cjs +3 -3
  18. package/dist/cjs/emails/InviteUserEmail.cjs.map +1 -1
  19. package/dist/cjs/emails/PasswordChangeConfirmation.cjs +3 -3
  20. package/dist/cjs/emails/PasswordChangeConfirmation.cjs.map +1 -1
  21. package/dist/cjs/emails/ResetUserPassword.cjs +3 -3
  22. package/dist/cjs/emails/ResetUserPassword.cjs.map +1 -1
  23. package/dist/cjs/emails/SubscriptionPaymentCancellation.cjs +19 -3
  24. package/dist/cjs/emails/SubscriptionPaymentCancellation.cjs.map +1 -1
  25. package/dist/cjs/emails/SubscriptionPaymentError.cjs +19 -3
  26. package/dist/cjs/emails/SubscriptionPaymentError.cjs.map +1 -1
  27. package/dist/cjs/emails/SubscriptionPaymentSuccess.cjs +19 -3
  28. package/dist/cjs/emails/SubscriptionPaymentSuccess.cjs.map +1 -1
  29. package/dist/cjs/emails/ValidateUserEmail.cjs +3 -3
  30. package/dist/cjs/emails/ValidateUserEmail.cjs.map +1 -1
  31. package/dist/cjs/emails/Welcome.cjs +3 -3
  32. package/dist/cjs/emails/Welcome.cjs.map +1 -1
  33. package/dist/cjs/export.cjs +10 -10
  34. package/dist/cjs/export.cjs.map +1 -1
  35. package/dist/cjs/routes/ai.routes.cjs +21 -15
  36. package/dist/cjs/routes/ai.routes.cjs.map +1 -1
  37. package/dist/cjs/routes/dictionary.routes.cjs +15 -12
  38. package/dist/cjs/routes/dictionary.routes.cjs.map +1 -1
  39. package/dist/cjs/routes/event-listener.routes.cjs +4 -4
  40. package/dist/cjs/routes/event-listener.routes.cjs.map +1 -1
  41. package/dist/cjs/routes/organization.routes.cjs +15 -15
  42. package/dist/cjs/routes/organization.routes.cjs.map +1 -1
  43. package/dist/cjs/routes/project.routes.cjs +30 -18
  44. package/dist/cjs/routes/project.routes.cjs.map +1 -1
  45. package/dist/cjs/routes/sessionAuth.routes.cjs +38 -35
  46. package/dist/cjs/routes/sessionAuth.routes.cjs.map +1 -1
  47. package/dist/cjs/routes/stripe.routes.cjs +23 -11
  48. package/dist/cjs/routes/stripe.routes.cjs.map +1 -1
  49. package/dist/cjs/routes/tags.routes.cjs +11 -11
  50. package/dist/cjs/routes/tags.routes.cjs.map +1 -1
  51. package/dist/cjs/routes/user.routes.cjs +13 -13
  52. package/dist/cjs/routes/user.routes.cjs.map +1 -1
  53. package/dist/cjs/schemas/project.schema.cjs +2 -2
  54. package/dist/cjs/schemas/project.schema.cjs.map +1 -1
  55. package/dist/cjs/services/dictionary.service.cjs +0 -6
  56. package/dist/cjs/services/dictionary.service.cjs.map +1 -1
  57. package/dist/cjs/services/email.service.cjs +1 -1
  58. package/dist/cjs/services/email.service.cjs.map +1 -1
  59. package/dist/cjs/services/subscription.service.cjs +81 -2
  60. package/dist/cjs/services/subscription.service.cjs.map +1 -1
  61. package/dist/cjs/utils/AI/{askDocQuestion.cjs → askDocQuestion/askDocQuestion.cjs} +1 -1
  62. package/dist/cjs/utils/AI/askDocQuestion/askDocQuestion.cjs.map +1 -0
  63. package/dist/{esm/utils/AI → cjs/utils/AI/askDocQuestion}/embeddings.json +4288 -4288
  64. package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/index.cjs +5 -3
  65. package/dist/cjs/utils/AI/auditDictionary/index.cjs.map +1 -0
  66. package/dist/cjs/utils/{auditDictionaryField → AI/auditDictionaryField}/index.cjs +5 -3
  67. package/dist/cjs/utils/AI/auditDictionaryField/index.cjs.map +1 -0
  68. package/dist/cjs/utils/{auditDictionaryMetadata → AI/auditDictionaryMetadata}/index.cjs +5 -3
  69. package/dist/cjs/utils/AI/auditDictionaryMetadata/index.cjs.map +1 -0
  70. package/dist/cjs/utils/AI/autocomplete/PROMPT.md +13 -0
  71. package/dist/cjs/utils/AI/autocomplete/index.cjs +73 -0
  72. package/dist/cjs/utils/AI/autocomplete/index.cjs.map +1 -0
  73. package/dist/cjs/utils/auditTag/index.cjs +4 -2
  74. package/dist/cjs/utils/auditTag/index.cjs.map +1 -1
  75. package/dist/cjs/utils/errors/errorCodes.cjs +26 -0
  76. package/dist/cjs/utils/errors/errorCodes.cjs.map +1 -1
  77. package/dist/cjs/utils/mongoDB/connectDB.cjs +10 -0
  78. package/dist/cjs/utils/mongoDB/connectDB.cjs.map +1 -1
  79. package/dist/cjs/webhooks/stripe.webhook.cjs +42 -0
  80. package/dist/cjs/webhooks/stripe.webhook.cjs.map +1 -1
  81. package/dist/esm/controllers/ai.controller.mjs +59 -42
  82. package/dist/esm/controllers/ai.controller.mjs.map +1 -1
  83. package/dist/esm/controllers/dictionary.controller.mjs +1 -1
  84. package/dist/esm/controllers/dictionary.controller.mjs.map +1 -1
  85. package/dist/esm/controllers/organization.controller.mjs +18 -2
  86. package/dist/esm/controllers/organization.controller.mjs.map +1 -1
  87. package/dist/esm/controllers/project.controller.mjs +1 -0
  88. package/dist/esm/controllers/project.controller.mjs.map +1 -1
  89. package/dist/esm/controllers/sessionAuth.controller.mjs +6 -12
  90. package/dist/esm/controllers/sessionAuth.controller.mjs.map +1 -1
  91. package/dist/esm/controllers/stripe.controller.mjs +30 -10
  92. package/dist/esm/controllers/stripe.controller.mjs.map +1 -1
  93. package/dist/esm/controllers/tag.controller.mjs +0 -7
  94. package/dist/esm/controllers/tag.controller.mjs.map +1 -1
  95. package/dist/esm/controllers/user.controller.mjs +2 -2
  96. package/dist/esm/controllers/user.controller.mjs.map +1 -1
  97. package/dist/esm/emails/InviteUserEmail.mjs +3 -3
  98. package/dist/esm/emails/InviteUserEmail.mjs.map +1 -1
  99. package/dist/esm/emails/PasswordChangeConfirmation.mjs +3 -3
  100. package/dist/esm/emails/PasswordChangeConfirmation.mjs.map +1 -1
  101. package/dist/esm/emails/ResetUserPassword.mjs +3 -3
  102. package/dist/esm/emails/ResetUserPassword.mjs.map +1 -1
  103. package/dist/esm/emails/SubscriptionPaymentCancellation.mjs +19 -3
  104. package/dist/esm/emails/SubscriptionPaymentCancellation.mjs.map +1 -1
  105. package/dist/esm/emails/SubscriptionPaymentError.mjs +19 -3
  106. package/dist/esm/emails/SubscriptionPaymentError.mjs.map +1 -1
  107. package/dist/esm/emails/SubscriptionPaymentSuccess.mjs +19 -3
  108. package/dist/esm/emails/SubscriptionPaymentSuccess.mjs.map +1 -1
  109. package/dist/esm/emails/ValidateUserEmail.mjs +3 -3
  110. package/dist/esm/emails/ValidateUserEmail.mjs.map +1 -1
  111. package/dist/esm/emails/Welcome.mjs +3 -3
  112. package/dist/esm/emails/Welcome.mjs.map +1 -1
  113. package/dist/esm/export.mjs +10 -10
  114. package/dist/esm/export.mjs.map +1 -1
  115. package/dist/esm/routes/ai.routes.mjs +22 -15
  116. package/dist/esm/routes/ai.routes.mjs.map +1 -1
  117. package/dist/esm/routes/dictionary.routes.mjs +14 -11
  118. package/dist/esm/routes/dictionary.routes.mjs.map +1 -1
  119. package/dist/esm/routes/event-listener.routes.mjs +4 -4
  120. package/dist/esm/routes/event-listener.routes.mjs.map +1 -1
  121. package/dist/esm/routes/organization.routes.mjs +13 -13
  122. package/dist/esm/routes/organization.routes.mjs.map +1 -1
  123. package/dist/esm/routes/project.routes.mjs +28 -16
  124. package/dist/esm/routes/project.routes.mjs.map +1 -1
  125. package/dist/esm/routes/sessionAuth.routes.mjs +37 -34
  126. package/dist/esm/routes/sessionAuth.routes.mjs.map +1 -1
  127. package/dist/esm/routes/stripe.routes.mjs +22 -9
  128. package/dist/esm/routes/stripe.routes.mjs.map +1 -1
  129. package/dist/esm/routes/tags.routes.mjs +9 -9
  130. package/dist/esm/routes/tags.routes.mjs.map +1 -1
  131. package/dist/esm/routes/user.routes.mjs +11 -11
  132. package/dist/esm/routes/user.routes.mjs.map +1 -1
  133. package/dist/esm/schemas/project.schema.mjs +2 -2
  134. package/dist/esm/schemas/project.schema.mjs.map +1 -1
  135. package/dist/esm/services/dictionary.service.mjs +0 -6
  136. package/dist/esm/services/dictionary.service.mjs.map +1 -1
  137. package/dist/esm/services/email.service.mjs +1 -1
  138. package/dist/esm/services/email.service.mjs.map +1 -1
  139. package/dist/esm/services/subscription.service.mjs +78 -1
  140. package/dist/esm/services/subscription.service.mjs.map +1 -1
  141. package/dist/esm/utils/AI/{askDocQuestion.mjs → askDocQuestion/askDocQuestion.mjs} +1 -1
  142. package/dist/esm/utils/AI/askDocQuestion/askDocQuestion.mjs.map +1 -0
  143. package/dist/{cjs/utils/AI → esm/utils/AI/askDocQuestion}/embeddings.json +4288 -4288
  144. package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/index.mjs +5 -3
  145. package/dist/esm/utils/AI/auditDictionary/index.mjs.map +1 -0
  146. package/dist/esm/utils/{auditDictionaryField → AI/auditDictionaryField}/index.mjs +5 -3
  147. package/dist/esm/utils/AI/auditDictionaryField/index.mjs.map +1 -0
  148. package/dist/esm/utils/{auditDictionaryMetadata → AI/auditDictionaryMetadata}/index.mjs +5 -3
  149. package/dist/esm/utils/AI/auditDictionaryMetadata/index.mjs.map +1 -0
  150. package/dist/esm/utils/AI/autocomplete/PROMPT.md +13 -0
  151. package/dist/esm/utils/AI/autocomplete/index.mjs +48 -0
  152. package/dist/esm/utils/AI/autocomplete/index.mjs.map +1 -0
  153. package/dist/esm/utils/auditTag/index.mjs +4 -2
  154. package/dist/esm/utils/auditTag/index.mjs.map +1 -1
  155. package/dist/esm/utils/errors/errorCodes.mjs +26 -0
  156. package/dist/esm/utils/errors/errorCodes.mjs.map +1 -1
  157. package/dist/esm/utils/mongoDB/connectDB.mjs +10 -0
  158. package/dist/esm/utils/mongoDB/connectDB.mjs.map +1 -1
  159. package/dist/esm/webhooks/stripe.webhook.mjs +32 -0
  160. package/dist/esm/webhooks/stripe.webhook.mjs.map +1 -1
  161. package/dist/types/controllers/ai.controller.d.ts +17 -2
  162. package/dist/types/controllers/ai.controller.d.ts.map +1 -1
  163. package/dist/types/controllers/organization.controller.d.ts.map +1 -1
  164. package/dist/types/controllers/project.controller.d.ts.map +1 -1
  165. package/dist/types/controllers/sessionAuth.controller.d.ts +4 -3
  166. package/dist/types/controllers/sessionAuth.controller.d.ts.map +1 -1
  167. package/dist/types/controllers/stripe.controller.d.ts +15 -7
  168. package/dist/types/controllers/stripe.controller.d.ts.map +1 -1
  169. package/dist/types/controllers/tag.controller.d.ts.map +1 -1
  170. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +4 -3
  171. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts.map +1 -1
  172. package/dist/types/emails/SubscriptionPaymentError.d.ts +4 -3
  173. package/dist/types/emails/SubscriptionPaymentError.d.ts.map +1 -1
  174. package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +4 -3
  175. package/dist/types/emails/SubscriptionPaymentSuccess.d.ts.map +1 -1
  176. package/dist/types/export.d.ts +5 -5
  177. package/dist/types/export.d.ts.map +1 -1
  178. package/dist/types/routes/ai.routes.d.ts +6 -1
  179. package/dist/types/routes/ai.routes.d.ts.map +1 -1
  180. package/dist/types/routes/dictionary.routes.d.ts +4 -4
  181. package/dist/types/routes/dictionary.routes.d.ts.map +1 -1
  182. package/dist/types/routes/event-listener.routes.d.ts +1 -1
  183. package/dist/types/routes/event-listener.routes.d.ts.map +1 -1
  184. package/dist/types/routes/organization.routes.d.ts +5 -5
  185. package/dist/types/routes/organization.routes.d.ts.map +1 -1
  186. package/dist/types/routes/project.routes.d.ts +5 -5
  187. package/dist/types/routes/project.routes.d.ts.map +1 -1
  188. package/dist/types/routes/sessionAuth.routes.d.ts +4 -7
  189. package/dist/types/routes/sessionAuth.routes.d.ts.map +1 -1
  190. package/dist/types/routes/stripe.routes.d.ts +6 -1
  191. package/dist/types/routes/stripe.routes.d.ts.map +1 -1
  192. package/dist/types/routes/tags.routes.d.ts +3 -3
  193. package/dist/types/routes/tags.routes.d.ts.map +1 -1
  194. package/dist/types/routes/user.routes.d.ts +4 -4
  195. package/dist/types/routes/user.routes.d.ts.map +1 -1
  196. package/dist/types/services/dictionary.service.d.ts.map +1 -1
  197. package/dist/types/services/subscription.service.d.ts +9 -0
  198. package/dist/types/services/subscription.service.d.ts.map +1 -1
  199. package/dist/types/utils/AI/askDocQuestion/askDocQuestion.d.ts.map +1 -0
  200. package/dist/types/utils/{auditDictionary → AI/auditDictionary}/index.d.ts +8 -5
  201. package/dist/types/utils/AI/auditDictionary/index.d.ts.map +1 -0
  202. package/dist/types/utils/{auditDictionaryField → AI/auditDictionaryField}/index.d.ts +8 -5
  203. package/dist/types/utils/AI/auditDictionaryField/index.d.ts.map +1 -0
  204. package/dist/types/utils/{auditDictionaryMetadata → AI/auditDictionaryMetadata}/index.d.ts +8 -5
  205. package/dist/types/utils/AI/auditDictionaryMetadata/index.d.ts.map +1 -0
  206. package/dist/types/utils/AI/autocomplete/index.d.ts +22 -0
  207. package/dist/types/utils/AI/autocomplete/index.d.ts.map +1 -0
  208. package/dist/types/utils/auditTag/index.d.ts +7 -4
  209. package/dist/types/utils/auditTag/index.d.ts.map +1 -1
  210. package/dist/types/utils/errors/errorCodes.d.ts +26 -0
  211. package/dist/types/utils/errors/errorCodes.d.ts.map +1 -1
  212. package/dist/types/utils/mongoDB/connectDB.d.ts.map +1 -1
  213. package/dist/types/webhooks/stripe.webhook.d.ts.map +1 -1
  214. package/package.json +11 -10
  215. package/dist/cjs/utils/AI/askDocQuestion.cjs.map +0 -1
  216. package/dist/cjs/utils/auditDictionary/index.cjs.map +0 -1
  217. package/dist/cjs/utils/auditDictionaryField/index.cjs.map +0 -1
  218. package/dist/cjs/utils/auditDictionaryMetadata/index.cjs.map +0 -1
  219. package/dist/esm/utils/AI/askDocQuestion.mjs.map +0 -1
  220. package/dist/esm/utils/auditDictionary/index.mjs.map +0 -1
  221. package/dist/esm/utils/auditDictionaryField/index.mjs.map +0 -1
  222. package/dist/esm/utils/auditDictionaryMetadata/index.mjs.map +0 -1
  223. package/dist/types/utils/AI/askDocQuestion.d.ts.map +0 -1
  224. package/dist/types/utils/auditDictionary/index.d.ts.map +0 -1
  225. package/dist/types/utils/auditDictionaryField/index.d.ts.map +0 -1
  226. package/dist/types/utils/auditDictionaryMetadata/index.d.ts.map +0 -1
  227. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/CJS_FORMAT.md +0 -0
  228. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/JSON_FORMAT.md +0 -0
  229. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/JSX_FORMAT.md +0 -0
  230. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/MJS_FORMAT.md +0 -0
  231. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/PROMPT.md +0 -0
  232. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/TSX_FORMAT.md +0 -0
  233. /package/dist/cjs/utils/{auditDictionary → AI/auditDictionary}/TS_FORMAT.md +0 -0
  234. /package/dist/cjs/utils/{auditDictionaryField → AI/auditDictionaryField}/PROMPT.md +0 -0
  235. /package/dist/cjs/utils/{auditDictionaryMetadata → AI/auditDictionaryMetadata}/PROMPT.md +0 -0
  236. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/CJS_FORMAT.md +0 -0
  237. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/JSON_FORMAT.md +0 -0
  238. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/JSX_FORMAT.md +0 -0
  239. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/MJS_FORMAT.md +0 -0
  240. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/PROMPT.md +0 -0
  241. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/TSX_FORMAT.md +0 -0
  242. /package/dist/esm/utils/{auditDictionary → AI/auditDictionary}/TS_FORMAT.md +0 -0
  243. /package/dist/esm/utils/{auditDictionaryField → AI/auditDictionaryField}/PROMPT.md +0 -0
  244. /package/dist/esm/utils/{auditDictionaryMetadata → AI/auditDictionaryMetadata}/PROMPT.md +0 -0
  245. /package/dist/types/utils/AI/{askDocQuestion.d.ts → askDocQuestion/askDocQuestion.d.ts} +0 -0
@@ -28,6 +28,7 @@ var import_components = require("@react-email/components");
28
28
  const SubscriptionPaymentErrorEN = ({
29
29
  username,
30
30
  planName,
31
+ organizationName,
31
32
  errorDate,
32
33
  retryPaymentLink
33
34
  }) => {
@@ -39,7 +40,7 @@ const SubscriptionPaymentErrorEN = ({
39
40
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
40
41
  import_components.Img,
41
42
  {
42
- src: `https://intlayer.org/favicon-32x32.png`,
43
+ src: "https://intlayer.org/apple-touch-icon.png",
43
44
  width: "40",
44
45
  height: "37",
45
46
  alt: "Intlayer",
@@ -60,6 +61,10 @@ const SubscriptionPaymentErrorEN = ({
60
61
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: errorDate }),
61
62
  ". Please update your payment information to ensure continued access to your subscription."
62
63
  ] }),
64
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
65
+ "Organization: ",
66
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
67
+ ] }),
63
68
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
64
69
  import_components.Button,
65
70
  {
@@ -74,6 +79,7 @@ const SubscriptionPaymentErrorEN = ({
74
79
  const SubscriptionPaymentErrorFR = ({
75
80
  username,
76
81
  planName,
82
+ organizationName,
77
83
  errorDate,
78
84
  retryPaymentLink
79
85
  }) => {
@@ -85,7 +91,7 @@ const SubscriptionPaymentErrorFR = ({
85
91
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
86
92
  import_components.Img,
87
93
  {
88
- src: `https://intlayer.org/favicon-32x32.png`,
94
+ src: "https://intlayer.org/apple-touch-icon.png",
89
95
  width: "40",
90
96
  height: "37",
91
97
  alt: "Intlayer",
@@ -106,6 +112,10 @@ const SubscriptionPaymentErrorFR = ({
106
112
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: errorDate }),
107
113
  ". Veuillez mettre \xE0 jour vos informations de paiement pour garantir un acc\xE8s continu \xE0 votre abonnement."
108
114
  ] }),
115
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
116
+ "Organisation : ",
117
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
118
+ ] }),
109
119
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
110
120
  import_components.Button,
111
121
  {
@@ -120,6 +130,7 @@ const SubscriptionPaymentErrorFR = ({
120
130
  const SubscriptionPaymentErrorES = ({
121
131
  username,
122
132
  planName,
133
+ organizationName,
123
134
  errorDate,
124
135
  retryPaymentLink
125
136
  }) => {
@@ -131,7 +142,7 @@ const SubscriptionPaymentErrorES = ({
131
142
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
132
143
  import_components.Img,
133
144
  {
134
- src: `https://intlayer.org/favicon-32x32.png`,
145
+ src: "https://intlayer.org/apple-touch-icon.png",
135
146
  width: "40",
136
147
  height: "37",
137
148
  alt: "Intlayer",
@@ -152,6 +163,10 @@ const SubscriptionPaymentErrorES = ({
152
163
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: errorDate }),
153
164
  ". Por favor, actualiza tu informaci\xF3n de pago para garantizar el acceso continuo a tu suscripci\xF3n."
154
165
  ] }),
166
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
167
+ "Organizaci\xF3n : ",
168
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
169
+ ] }),
155
170
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
156
171
  import_components.Button,
157
172
  {
@@ -167,6 +182,7 @@ const PreviewProps = {
167
182
  username: "John Doe",
168
183
  email: "john.doe@example.com",
169
184
  planName: "Pro Plan",
185
+ organizationName: "My Organization",
170
186
  errorDate: "November 18, 2024",
171
187
  retryPaymentLink: "https://intlayer.org/retry-payment"
172
188
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/emails/SubscriptionPaymentError.tsx"],"sourcesContent":["import {\n Html,\n Head,\n Preview,\n Tailwind,\n Body,\n Section,\n Img,\n Heading,\n Container,\n Button,\n Text,\n} from '@react-email/components';\n\nexport type SubscriptionPaymentErrorProps = {\n username: string; // The name of the user receiving the email\n email: string; // The email address of the user\n planName: string; // The name of the subscription plan\n errorDate: string; // The date the payment error occurred\n retryPaymentLink: string; // A link for the user to retry their payment\n};\n\n// Payment Error Email - English (EN)\nexport const SubscriptionPaymentErrorEN = ({\n username,\n planName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `There was an issue with your ${planName} subscription payment`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Payment Issue Detected\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n We encountered an issue processing your payment for the{' '}\n <strong>{planName}</strong> plan on <strong>{errorDate}</strong>.\n Please update your payment information to ensure continued access\n to your subscription.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Retry Payment\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Payment Error Email - French (FR)\nexport const SubscriptionPaymentErrorFR = ({\n username,\n planName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `Un problème est survenu avec votre paiement pour l'abonnement ${planName}`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Problème de Paiement\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Nous avons rencontré un problème lors du traitement de votre\n paiement pour le plan <strong>{planName}</strong> le{' '}\n <strong>{errorDate}</strong>. Veuillez mettre à jour vos\n informations de paiement pour garantir un accès continu à votre\n abonnement.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Réessayer le Paiement\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Payment Error Email - Spanish (ES)\nexport const SubscriptionPaymentErrorES = ({\n username,\n planName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `Hubo un problema con el pago de tu suscripción ${planName}`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Problema de Pago\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hubo un problema al procesar tu pago para el plan{' '}\n <strong>{planName}</strong> el <strong>{errorDate}</strong>. Por\n favor, actualiza tu información de pago para garantizar el acceso\n continuo a tu suscripción.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Reintentar el Pago\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Preview Props Example\nconst PreviewProps: SubscriptionPaymentErrorProps = {\n username: 'John Doe',\n email: 'john.doe@example.com',\n planName: 'Pro Plan',\n errorDate: 'November 18, 2024',\n retryPaymentLink: 'https://intlayer.org/retry-payment',\n};\n\nSubscriptionPaymentErrorEN.PreviewProps = PreviewProps;\nSubscriptionPaymentErrorFR.PreviewProps = PreviewProps;\nSubscriptionPaymentErrorES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAiCM;AAjCN,wBAYO;AAWA,MAAM,6BAA6B,CAAC;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAqC;AACnC,QAAM,cAAc,gCAAgC,QAAQ;AAE5D,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,4CAAC,6BAAQ,WAAU,qEAAoE,oCAEvF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC/C;AAAA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J;AAGO,MAAM,6BAA6B,CAAC;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAqC;AACnC,QAAM,cAAc,qDAAkD,QAAQ;AAE9E,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,4CAAC,6BAAQ,WAAU,qEAAoE,8BAEvF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAChD;AAAA,QAAS;AAAA,SACjB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACJ;AAAA,QAClD,4CAAC,YAAQ,oBAAS;AAAA,QAAS;AAAA,QAAI,4CAAC,YAAQ,qBAAU;AAAA,QAAS;AAAA,SAG7D;AAAA,MACA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAGA,MAAM,eAA8C;AAAA,EAClD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,UAAU;AAAA,EACV,WAAW;AAAA,EACX,kBAAkB;AACpB;AAEA,2BAA2B,eAAe;AAC1C,2BAA2B,eAAe;AAC1C,2BAA2B,eAAe;","names":[]}
1
+ {"version":3,"sources":["../../../src/emails/SubscriptionPaymentError.tsx"],"sourcesContent":["import {\n Html,\n Head,\n Preview,\n Tailwind,\n Body,\n Section,\n Img,\n Heading,\n Container,\n Button,\n Text,\n} from '@react-email/components';\n\nexport type SubscriptionPaymentErrorProps = {\n username: string; // The name of the user receiving the email\n email: string; // The email address of the user\n planName: string; // The name of the subscription plan\n organizationName: string; // The name of the organization\n errorDate: string; // The date the payment error occurred\n retryPaymentLink: string; // A link for the user to retry their payment\n};\n\n// Payment Error Email - English (EN)\nexport const SubscriptionPaymentErrorEN = ({\n username,\n planName,\n organizationName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `There was an issue with your ${planName} subscription payment`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Payment Issue Detected\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n We encountered an issue processing your payment for the{' '}\n <strong>{planName}</strong> plan on <strong>{errorDate}</strong>.\n Please update your payment information to ensure continued access\n to your subscription.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organization: <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Retry Payment\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Payment Error Email - French (FR)\nexport const SubscriptionPaymentErrorFR = ({\n username,\n planName,\n organizationName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `Un problème est survenu avec votre paiement pour l'abonnement ${planName}`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Problème de Paiement\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Nous avons rencontré un problème lors du traitement de votre\n paiement pour le plan <strong>{planName}</strong> le{' '}\n <strong>{errorDate}</strong>. Veuillez mettre à jour vos\n informations de paiement pour garantir un accès continu à votre\n abonnement.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organisation : <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Réessayer le Paiement\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Payment Error Email - Spanish (ES)\nexport const SubscriptionPaymentErrorES = ({\n username,\n planName,\n organizationName,\n errorDate,\n retryPaymentLink,\n}: SubscriptionPaymentErrorProps) => {\n const previewText = `Hubo un problema con el pago de tu suscripción ${planName}`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Problema de Pago\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hubo un problema al procesar tu pago para el plan{' '}\n <strong>{planName}</strong> el <strong>{errorDate}</strong>. Por\n favor, actualiza tu información de pago para garantizar el acceso\n continuo a tu suscripción.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organización : <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={retryPaymentLink}\n >\n Reintentar el Pago\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\n// Preview Props Example\nconst PreviewProps: SubscriptionPaymentErrorProps = {\n username: 'John Doe',\n email: 'john.doe@example.com',\n planName: 'Pro Plan',\n organizationName: 'My Organization',\n errorDate: 'November 18, 2024',\n retryPaymentLink: 'https://intlayer.org/retry-payment',\n};\n\nSubscriptionPaymentErrorEN.PreviewProps = PreviewProps;\nSubscriptionPaymentErrorFR.PreviewProps = PreviewProps;\nSubscriptionPaymentErrorES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAmCM;AAnCN,wBAYO;AAYA,MAAM,6BAA6B,CAAC;AAAA,EACzC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAqC;AACnC,QAAM,cAAc,gCAAgC,QAAQ;AAE5D,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAA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WAAU,yCAAwC;AAAA;AAAA,QACvC,4CAAC,YAAQ,4BAAiB;AAAA,SAC3C;AAAA,MACA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAGA,MAAM,eAA8C;AAAA,EAClD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,kBAAkB;AACpB;AAEA,2BAA2B,eAAe;AAC1C,2BAA2B,eAAe;AAC1C,2BAA2B,eAAe;","names":[]}
@@ -28,6 +28,7 @@ var import_components = require("@react-email/components");
28
28
  const SubscriptionPaymentSuccessEN = ({
29
29
  username,
30
30
  planName,
31
+ organizationName,
31
32
  subscriptionStartDate,
32
33
  manageSubscriptionLink
33
34
  }) => {
@@ -39,7 +40,7 @@ const SubscriptionPaymentSuccessEN = ({
39
40
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
40
41
  import_components.Img,
41
42
  {
42
- src: `https://intlayer.org/favicon-32x32.png`,
43
+ src: "https://intlayer.org/apple-touch-icon.png",
43
44
  width: "40",
44
45
  height: "37",
45
46
  alt: "Intlayer",
@@ -62,6 +63,10 @@ const SubscriptionPaymentSuccessEN = ({
62
63
  "Start Date: ",
63
64
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: subscriptionStartDate })
64
65
  ] }),
66
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
67
+ "Organization: ",
68
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
69
+ ] }),
65
70
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
66
71
  import_components.Button,
67
72
  {
@@ -76,6 +81,7 @@ const SubscriptionPaymentSuccessEN = ({
76
81
  const SubscriptionPaymentSuccessFR = ({
77
82
  username,
78
83
  planName,
84
+ organizationName,
79
85
  subscriptionStartDate,
80
86
  manageSubscriptionLink
81
87
  }) => {
@@ -87,7 +93,7 @@ const SubscriptionPaymentSuccessFR = ({
87
93
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
88
94
  import_components.Img,
89
95
  {
90
- src: `https://intlayer.org/favicon-32x32.png`,
96
+ src: "https://intlayer.org/apple-touch-icon.png",
91
97
  width: "40",
92
98
  height: "37",
93
99
  alt: "Intlayer",
@@ -110,6 +116,10 @@ const SubscriptionPaymentSuccessFR = ({
110
116
  "Date de d\xE9but : ",
111
117
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: subscriptionStartDate })
112
118
  ] }),
119
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
120
+ "Organisation : ",
121
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
122
+ ] }),
113
123
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
114
124
  import_components.Button,
115
125
  {
@@ -124,6 +134,7 @@ const SubscriptionPaymentSuccessFR = ({
124
134
  const SubscriptionPaymentSuccessES = ({
125
135
  username,
126
136
  planName,
137
+ organizationName,
127
138
  subscriptionStartDate,
128
139
  manageSubscriptionLink
129
140
  }) => {
@@ -135,7 +146,7 @@ const SubscriptionPaymentSuccessES = ({
135
146
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
136
147
  import_components.Img,
137
148
  {
138
- src: `https://intlayer.org/favicon-32x32.png`,
149
+ src: "https://intlayer.org/apple-touch-icon.png",
139
150
  width: "40",
140
151
  height: "37",
141
152
  alt: "Intlayer",
@@ -158,6 +169,10 @@ const SubscriptionPaymentSuccessES = ({
158
169
  "Fecha de inicio: ",
159
170
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: subscriptionStartDate })
160
171
  ] }),
172
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_components.Text, { className: "text-[14px] leading-[24px] text-black", children: [
173
+ "Organizaci\xF3n: ",
174
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: organizationName })
175
+ ] }),
161
176
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "my-[32px] text-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
162
177
  import_components.Button,
163
178
  {
@@ -173,6 +188,7 @@ const PreviewProps = {
173
188
  username: "John Doe",
174
189
  email: "john.doe@example.com",
175
190
  planName: "Pro Plan",
191
+ organizationName: "My Organization",
176
192
  subscriptionStartDate: "November 20, 2024",
177
193
  manageSubscriptionLink: "https://intlayer.org/manage-subscription"
178
194
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/emails/SubscriptionPaymentSuccess.tsx"],"sourcesContent":["import {\n Html,\n Head,\n Preview,\n Tailwind,\n Body,\n Section,\n Img,\n Heading,\n Container,\n Button,\n Text,\n} from '@react-email/components';\n\nexport type SubscriptionPaymentSuccessProps = {\n username: string; // The name of the user receiving the email\n email: string; // The email address of the user\n planName: string; // The name of the subscription plan\n subscriptionStartDate: string; // The start date of the subscription\n manageSubscriptionLink: string; // A link for the user to manage their subscription\n};\n\nexport const SubscriptionPaymentSuccessEN = ({\n username,\n planName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Your payment for ${planName} subscription is confirmed`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Payment Confirmed\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Thank you for your payment! Your subscription to the{' '}\n <strong>{planName}</strong> plan is now active.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Start Date: <strong>{subscriptionStartDate}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Manage Your Subscription\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const SubscriptionPaymentSuccessFR = ({\n username,\n planName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Votre paiement pour l'abonnement ${planName} est confirmé`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Paiement Confirmé\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Merci pour votre paiement ! Votre abonnement au plan{' '}\n <strong>{planName}</strong> est maintenant actif.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Date de début : <strong>{subscriptionStartDate}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Gérer votre abonnement\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const SubscriptionPaymentSuccessES = ({\n username,\n planName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Tu pago por la suscripción ${planName} ha sido confirmado`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Pago Confirmado\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ¡Gracias por tu pago! Tu suscripción al plan{' '}\n <strong>{planName}</strong> ya está activa.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Fecha de inicio: <strong>{subscriptionStartDate}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Gestionar tu suscripción\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst PreviewProps: SubscriptionPaymentSuccessProps = {\n username: 'John Doe',\n email: 'john.doe@example.com',\n planName: 'Pro Plan',\n subscriptionStartDate: 'November 20, 2024',\n manageSubscriptionLink: 'https://intlayer.org/manage-subscription',\n};\n\nSubscriptionPaymentSuccessEN.PreviewProps = PreviewProps;\nSubscriptionPaymentSuccessFR.PreviewProps = PreviewProps;\nSubscriptionPaymentSuccessES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgCM;AAhCN,wBAYO;AAUA,MAAM,+BAA+B,CAAC;AAAA,EAC3C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAuC;AACrC,QAAM,cAAc,oBAAoB,QAAQ;AAEhD,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,4CAAC,6BAAQ,WAAU,qEAAoE,+BAEvF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC/C;AAAA,QAAS;AAAA,SAClB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACD;AAAA,QACrD,4CAAC,YAAQ,oBAAS;AAAA,QAAS;AAAA,SAC7B;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC1C,4CAAC,YAAQ,iCAAsB;AAAA,SAC7C;AAAA,MACA,4CAAC,6BAAQ,WAA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K;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,4CAAC,6BAAQ,WAAU,qEAAoE,6BAEvF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAChD;AAAA,QAAS;AAAA,SACjB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACT;AAAA,QAC7C,4CAAC,YAAQ,oBAAS;AAAA,QAAS;AAAA,SAC7B;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACrC,4CAAC,YAAQ,iCAAsB;AAAA,SAClD;AAAA,MACA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAgD;AAAA,EACpD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,wBAAwB;AAC1B;AAEA,6BAA6B,eAAe;AAC5C,6BAA6B,eAAe;AAC5C,6BAA6B,eAAe;","names":[]}
1
+ {"version":3,"sources":["../../../src/emails/SubscriptionPaymentSuccess.tsx"],"sourcesContent":["import {\n Html,\n Head,\n Preview,\n Tailwind,\n Body,\n Section,\n Img,\n Heading,\n Container,\n Button,\n Text,\n} from '@react-email/components';\n\nexport type SubscriptionPaymentSuccessProps = {\n username: string; // The name of the user receiving the email\n email: string; // The email address of the user\n planName: string; // The name of the subscription plan\n organizationName: string; // The name of the organization\n subscriptionStartDate: string; // The start date of the subscription\n manageSubscriptionLink: string; // A link for the user to manage their subscription\n};\n\nexport const SubscriptionPaymentSuccessEN = ({\n username,\n planName,\n organizationName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Your payment for ${planName} subscription is confirmed`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Payment Confirmed\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Thank you for your payment! Your subscription to the{' '}\n <strong>{planName}</strong> plan is now active.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Start Date: <strong>{subscriptionStartDate}</strong>\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organization: <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Manage Your Subscription\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const SubscriptionPaymentSuccessFR = ({\n username,\n planName,\n organizationName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Votre paiement pour l'abonnement ${planName} est confirmé`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Paiement Confirmé\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Merci pour votre paiement ! Votre abonnement au plan{' '}\n <strong>{planName}</strong> est maintenant actif.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Date de début : <strong>{subscriptionStartDate}</strong>\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organisation : <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Gérer votre abonnement\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const SubscriptionPaymentSuccessES = ({\n username,\n planName,\n organizationName,\n subscriptionStartDate,\n manageSubscriptionLink,\n}: SubscriptionPaymentSuccessProps) => {\n const previewText = `Tu pago por la suscripción ${planName} ha sido confirmado`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Pago Confirmado\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ¡Gracias por tu pago! Tu suscripción al plan{' '}\n <strong>{planName}</strong> ya está activa.\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Fecha de inicio: <strong>{subscriptionStartDate}</strong>\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Organización: <strong>{organizationName}</strong>\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={manageSubscriptionLink}\n >\n Gestionar tu suscripción\n </Button>\n </Section>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst PreviewProps: SubscriptionPaymentSuccessProps = {\n username: 'John Doe',\n email: 'john.doe@example.com',\n planName: 'Pro Plan',\n organizationName: 'My Organization',\n subscriptionStartDate: 'November 20, 2024',\n manageSubscriptionLink: 'https://intlayer.org/manage-subscription',\n};\n\nSubscriptionPaymentSuccessEN.PreviewProps = PreviewProps;\nSubscriptionPaymentSuccessFR.PreviewProps = PreviewProps;\nSubscriptionPaymentSuccessES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAkCM;AAlCN,wBAYO;AAWA,MAAM,+BAA+B,CAAC;AAAA,EAC3C;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF,MAAuC;AACrC,QAAM,cAAc,oBAAoB,QAAQ;AAEhD,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAI;A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AAwC;AAAA;AAAA,QACrC,4CAAC,YAAQ,iCAAsB;AAAA,SAClD;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACxC,4CAAC,YAAQ,4BAAiB;AAAA,SAC1C;AAAA,MACA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAgD;AAAA,EACpD,UAAU;AAAA,EACV,OAAO;AAAA,EACP,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,uBAAuB;AAAA,EACvB,wBAAwB;AAC1B;AAEA,6BAA6B,eAAe;AAC5C,6BAA6B,eAAe;AAC5C,6BAA6B,eAAe;","names":[]}
@@ -37,7 +37,7 @@ const ValidateUserEmailEN = ({
37
37
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
38
38
  import_components.Img,
39
39
  {
40
- src: `https://intlayer.org/favicon-32x32.png`,
40
+ src: "https://intlayer.org/apple-touch-icon.png",
41
41
  width: "40",
42
42
  height: "37",
43
43
  alt: "Intlayer",
@@ -100,7 +100,7 @@ const ValidateUserEmailFR = ({
100
100
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
101
101
  import_components.Img,
102
102
  {
103
- src: `https://intlayer.org/favicon-32x32.png`,
103
+ src: "https://intlayer.org/apple-touch-icon.png",
104
104
  width: "40",
105
105
  height: "37",
106
106
  alt: "Intlayer",
@@ -163,7 +163,7 @@ const ValidateUserEmailES = ({
163
163
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
164
164
  import_components.Img,
165
165
  {
166
- src: `https://intlayer.org/favicon-32x32.png`,
166
+ src: "https://intlayer.org/apple-touch-icon.png",
167
167
  width: "40",
168
168
  height: "37",
169
169
  alt: "Intlayer",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/emails/ValidateUserEmail.tsx"],"sourcesContent":["import {\n Body,\n Button,\n Container,\n Head,\n Heading,\n Hr,\n Html,\n Img,\n Link,\n Preview,\n Section,\n Text,\n Tailwind,\n} from '@react-email/components';\n\nexport type ValidateUserEmailProps = {\n username: string;\n validationLink: string;\n};\n\nexport const ValidateUserEmailEN = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Validate your email for Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Validate your email for <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Please validate your email address to complete your registration\n on <strong>Intlayer</strong>.\n </Text>\n\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Validate Email\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n or copy and paste this URL into your browser:{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n This email was intended for{' '}\n <span className=\"text-black\">{username}</span>. If you were not\n expecting this email, you can ignore it. If you are concerned\n about your account's safety, please reply to this email to get in\n touch with us.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const ValidateUserEmailFR = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Validez votre e-mail pour Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Validez votre e-mail pour <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Veuillez valider votre adresse e-mail pour compléter votre\n inscription sur <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Valider l'e-mail\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ou copiez et collez cette URL dans votre navigateur :{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Cet e-mail était destiné à{' '}\n <span className=\"text-black\">{username}</span>. Si vous\n n'attendiez pas cet e-mail, vous pouvez l'ignorer. Si vous êtes\n préoccupé par la sécurité de votre compte, veuillez répondre à cet\n e-mail pour nous contacter.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const ValidateUserEmailES = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Valida tu correo electrónico para Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Valida tu correo electrónico para <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Por favor valida tu dirección de correo electrónico para completar\n tu registro en <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Validar Email\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n o copia y pega esta URL en tu navegador:{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Este correo fue enviado a{' '}\n <span className=\"text-black\">{username}</span>. Si no esperabas\n este correo, puedes ignorarlo. Si estás preocupado por la\n seguridad de tu cuenta, por favor responde a este correo para\n contactarte con nosotros.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst previewProps: ValidateUserEmailProps = {\n username: 'alanturing',\n validationLink: 'https://intlayer.org/validate/foo',\n};\n\nValidateUserEmailEN.PreviewProps = previewProps;\nValidateUserEmailFR.PreviewProps = previewProps;\nValidateUserEmailES.PreviewProps = previewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BM;AA7BN,wBAcO;AAOA,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AACF,MAA8B;AAC5B,QAAM,cAAc;AAEpB,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,6CAAC,6BAAQ,WAAU,qEAAoE;AAAA;AAAA,QAC7D,4CAAC,YAAO,sBAAQ;AAAA,SAC1C;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC/C;AAAA,QAAS;AAAA,SAClB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAEnD,4CAAC,YAAO,sBAAQ;AAAA,QAAS;AAAA,SAC9B;AAAA,MAEA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACR;AAAA,QAC9C;AAAA,UAAC;AAAA;AAAA,YACC,MAAM;AAAA,YACN,WAAU;AAAA,YAET;AAAA;AAAA,QACH;AAAA,SACF;AAAA,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AK,WAAU,cAAc,oBAAS;AAAA,QAAO;AAAA,SAIhD;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAuC;AAAA,EAC3C,UAAU;AAAA,EACV,gBAAgB;AAClB;AAEA,oBAAoB,eAAe;AACnC,oBAAoB,eAAe;AACnC,oBAAoB,eAAe;","names":[]}
1
+ {"version":3,"sources":["../../../src/emails/ValidateUserEmail.tsx"],"sourcesContent":["import {\n Body,\n Button,\n Container,\n Head,\n Heading,\n Hr,\n Html,\n Img,\n Link,\n Preview,\n Section,\n Text,\n Tailwind,\n} from '@react-email/components';\n\nexport type ValidateUserEmailProps = {\n username: string;\n validationLink: string;\n};\n\nexport const ValidateUserEmailEN = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Validate your email for Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Validate your email for <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Please validate your email address to complete your registration\n on <strong>Intlayer</strong>.\n </Text>\n\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Validate Email\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n or copy and paste this URL into your browser:{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n This email was intended for{' '}\n <span className=\"text-black\">{username}</span>. If you were not\n expecting this email, you can ignore it. If you are concerned\n about your account's safety, please reply to this email to get in\n touch with us.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const ValidateUserEmailFR = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Validez votre e-mail pour Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Validez votre e-mail pour <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Veuillez valider votre adresse e-mail pour compléter votre\n inscription sur <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Valider l'e-mail\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ou copiez et collez cette URL dans votre navigateur :{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Cet e-mail était destiné à{' '}\n <span className=\"text-black\">{username}</span>. Si vous\n n'attendiez pas cet e-mail, vous pouvez l'ignorer. Si vous êtes\n préoccupé par la sécurité de votre compte, veuillez répondre à cet\n e-mail pour nous contacter.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const ValidateUserEmailES = ({\n username,\n validationLink,\n}: ValidateUserEmailProps) => {\n const previewText = `Valida tu correo electrónico para Intlayer`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Valida tu correo electrónico para <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Por favor valida tu dirección de correo electrónico para completar\n tu registro en <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={validationLink}\n >\n Validar Email\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n o copia y pega esta URL en tu navegador:{' '}\n <Link\n href={validationLink}\n className=\"text-[#E879BA] no-underline\"\n >\n {validationLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Este correo fue enviado a{' '}\n <span className=\"text-black\">{username}</span>. Si no esperabas\n este correo, puedes ignorarlo. Si estás preocupado por la\n seguridad de tu cuenta, por favor responde a este correo para\n contactarte con nosotros.\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst previewProps: ValidateUserEmailProps = {\n username: 'alanturing',\n validationLink: 'https://intlayer.org/validate/foo',\n};\n\nValidateUserEmailEN.PreviewProps = previewProps;\nValidateUserEmailFR.PreviewProps = previewProps;\nValidateUserEmailES.PreviewProps = previewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA6BM;AA7BN,wBAcO;AAOA,MAAM,sBAAsB,CAAC;AAAA,EAClC;AAAA,EACA;AACF,MAA8B;AAC5B,QAAM,cAAc;AAEpB,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAI;AAAA,UACJ,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,6CAAC,6BAAQ,WAAU,qEAAoE;AAAA;AAAA,QAC7D,4CAAC,YAAO,sBAAQ;AAAA,SAC1C;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC/C;AAAA,QAAS;AAAA,SAClB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAEnD,4CAAC,YAAO,sBAAQ;AAAA,QAAS;AAAA,SAC9B;AAAA,MAEA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACR;AAAA,QAC9C;AAA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AU,8DAA6D;AAAA,MAC3E,6CAAC,0BAAK,WAAU,6CAA4C;AAAA;AAAA,QAChC;AAAA,QAC1B,4CAAC,UAAK,WAAU,cAAc,oBAAS;AAAA,QAAO;AAAA,SAIhD;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAuC;AAAA,EAC3C,UAAU;AAAA,EACV,gBAAgB;AAClB;AAEA,oBAAoB,eAAe;AACnC,oBAAoB,eAAe;AACnC,oBAAoB,eAAe;","names":[]}
@@ -34,7 +34,7 @@ const WelcomeEmailEN = ({ username, loginLink }) => {
34
34
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
35
35
  import_components.Img,
36
36
  {
37
- src: `https://intlayer.org/favicon-32x32.png`,
37
+ src: "https://intlayer.org/apple-touch-icon.png",
38
38
  width: "40",
39
39
  height: "37",
40
40
  alt: "Intlayer",
@@ -82,7 +82,7 @@ const WelcomeEmailFR = ({ username, loginLink }) => {
82
82
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
83
83
  import_components.Img,
84
84
  {
85
- src: `https://intlayer.org/favicon-32x32.png`,
85
+ src: "https://intlayer.org/apple-touch-icon.png",
86
86
  width: "40",
87
87
  height: "37",
88
88
  alt: "Intlayer",
@@ -130,7 +130,7 @@ const WelcomeEmailES = ({ username, loginLink }) => {
130
130
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Section, { className: "mt-[32px]", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
131
131
  import_components.Img,
132
132
  {
133
- src: `https://intlayer.org/favicon-32x32.png`,
133
+ src: "https://intlayer.org/apple-touch-icon.png",
134
134
  width: "40",
135
135
  height: "37",
136
136
  alt: "Intlayer",
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/emails/Welcome.tsx"],"sourcesContent":["import {\n Body,\n Button,\n Container,\n Head,\n Heading,\n Hr,\n Html,\n Img,\n Preview,\n Section,\n Text,\n Tailwind,\n Link,\n} from '@react-email/components';\n\nexport type WelcomeEmailProps = {\n username: string;\n loginLink: string;\n};\n\nexport const WelcomeEmailEN = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `Welcome to Intlayer!`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Welcome to <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n We're excited to have you on board! Get started by logging in to\n your <strong>Intlayer</strong> account.\n </Text>\n\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Log In to Your Account\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n or copy and paste this URL into your browser:{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n If you have any questions or need help getting started, feel free\n to reply to this email. We're here to help!\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const WelcomeEmailFR = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `Bienvenue chez Intlayer !`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Bienvenue chez <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Nous sommes ravis de vous avoir parmi nous ! Commencez par vous\n connecter à votre compte <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Connectez-vous à votre compte\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ou copiez et collez cette URL dans votre navigateur :{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Si vous avez des questions ou besoin d'aide pour commencer,\n n'hésitez pas à répondre à cet e-mail. Nous sommes là pour vous\n aider !\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const WelcomeEmailES = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `¡Bienvenido a Intlayer!`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src={`https://intlayer.org/favicon-32x32.png`}\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Bienvenido a <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ¡Estamos emocionados de tenerte a bordo! Comienza iniciando sesión\n en tu cuenta de <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Inicia sesión en tu cuenta\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n o copia y pega esta URL en tu navegador:{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Si tienes preguntas o necesitas ayuda para comenzar, no dudes en\n responder a este correo electrónico. ¡Estamos aquí para ayudarte!\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst PreviewProps: WelcomeEmailProps = {\n username: 'alanturing',\n loginLink: 'https://intlayer.org/login',\n};\n\nWelcomeEmailEN.PreviewProps = PreviewProps;\nWelcomeEmailFR.PreviewProps = PreviewProps;\nWelcomeEmailES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BM;AA1BN,wBAcO;AAOA,MAAM,iBAAiB,CAAC,EAAE,UAAU,UAAU,MAAyB;AAC5E,QAAM,cAAc;AAEpB,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;A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;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAChD;AAAA,QAAS;AAAA,SACjB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAEtC,4CAAC,YAAO,sBAAQ;AAAA,QAAS;AAAA,SAC3C;AAAA,MACA,4CAAC,6BAAQ,WAAU,yBACjB;AAAA,QAAC;AAAA;AAAA,UACC,WAAU;AAAA,UACV,MAAM;AAAA,UACP;AAAA;AAAA,MAED,GACF;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QACb;AAAA,QACzC,4CAAC,0BAAK,MAAM,WAAW,WAAU,+BAC9B,qBACH;AAAA,SACF;AAAA,MACA,4CAAC,wBAAG,WAAU,8DAA6D;AAAA,MAC3E,4CAAC,0BAAK,WAAU,6CAA4C,yJAG5D;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAkC;AAAA,EACtC,UAAU;AAAA,EACV,WAAW;AACb;AAEA,eAAe,eAAe;AAC9B,eAAe,eAAe;AAC9B,eAAe,eAAe;","names":[]}
1
+ {"version":3,"sources":["../../../src/emails/Welcome.tsx"],"sourcesContent":["import {\n Body,\n Button,\n Container,\n Head,\n Heading,\n Hr,\n Html,\n Img,\n Preview,\n Section,\n Text,\n Tailwind,\n Link,\n} from '@react-email/components';\n\nexport type WelcomeEmailProps = {\n username: string;\n loginLink: string;\n};\n\nexport const WelcomeEmailEN = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `Welcome to Intlayer!`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Welcome to <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hello {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n We're excited to have you on board! Get started by logging in to\n your <strong>Intlayer</strong> account.\n </Text>\n\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Log In to Your Account\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n or copy and paste this URL into your browser:{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n If you have any questions or need help getting started, feel free\n to reply to this email. We're here to help!\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const WelcomeEmailFR = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `Bienvenue chez Intlayer !`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Bienvenue chez <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Bonjour {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Nous sommes ravis de vous avoir parmi nous ! Commencez par vous\n connecter à votre compte <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Connectez-vous à votre compte\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ou copiez et collez cette URL dans votre navigateur :{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Si vous avez des questions ou besoin d'aide pour commencer,\n n'hésitez pas à répondre à cet e-mail. Nous sommes là pour vous\n aider !\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nexport const WelcomeEmailES = ({ username, loginLink }: WelcomeEmailProps) => {\n const previewText = `¡Bienvenido a Intlayer!`;\n\n return (\n <Html>\n <Head />\n <Preview>{previewText}</Preview>\n <Tailwind>\n <Body className=\"m-auto px-2 font-sans\">\n <Container className=\"mx-auto my-[40px] max-w-[465px] rounded-xl border border-solid border-[#eaeaea] bg-white p-[20px]\">\n <Section className=\"mt-[32px]\">\n <Img\n src=\"https://intlayer.org/apple-touch-icon.png\"\n width=\"40\"\n height=\"37\"\n alt=\"Intlayer\"\n className=\"mx-auto my-0\"\n />\n </Section>\n <Heading className=\"mx-0 my-[30px] p-0 text-center text-[24px] font-normal text-black\">\n Bienvenido a <strong>Intlayer</strong>\n </Heading>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n Hola {username},\n </Text>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n ¡Estamos emocionados de tenerte a bordo! Comienza iniciando sesión\n en tu cuenta de <strong>Intlayer</strong>.\n </Text>\n <Section className=\"my-[32px] text-center\">\n <Button\n className=\"rounded-md bg-[#000000] px-5 py-3 text-center text-[12px] font-semibold text-white no-underline\"\n href={loginLink}\n >\n Inicia sesión en tu cuenta\n </Button>\n </Section>\n <Text className=\"text-[14px] leading-[24px] text-black\">\n o copia y pega esta URL en tu navegador:{' '}\n <Link href={loginLink} className=\"text-[#E879BA] no-underline\">\n {loginLink}\n </Link>\n </Text>\n <Hr className=\"mx-0 my-[26px] w-full border border-solid border-[#eaeaea]\" />\n <Text className=\"text-[12px] leading-[24px] text-[#666666]\">\n Si tienes preguntas o necesitas ayuda para comenzar, no dudes en\n responder a este correo electrónico. ¡Estamos aquí para ayudarte!\n </Text>\n </Container>\n </Body>\n </Tailwind>\n </Html>\n );\n};\n\nconst PreviewProps: WelcomeEmailProps = {\n username: 'alanturing',\n loginLink: 'https://intlayer.org/login',\n};\n\nWelcomeEmailEN.PreviewProps = PreviewProps;\nWelcomeEmailFR.PreviewProps = PreviewProps;\nWelcomeEmailES.PreviewProps = PreviewProps;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0BM;AA1BN,wBAcO;AAOA,MAAM,iBAAiB,CAAC,EAAE,UAAU,UAAU,MAAyB;AAC5E,QAAM,cAAc;AAEpB,SACE,6CAAC,0BACC;AAAA,gDAAC,0BAAK;AAAA,IACN,4CAAC,6BAAS,uBAAY;AAAA,IACtB,4CAAC,8BACC,sDAAC,0BAAK,WAAU,yBACd,uDAAC,+BAAU,WAAU,qGACnB;AAAA,kDAAC,6BAAQ,WAAU,aACjB;AAAA,QAAC;AAAA;AAAA,UACC,KAAI;AAAA,UACJ,OAAM;AAAA,UACN,QAAO;AAAA,UACP,KAAI;AAAA,UACJ,WAAU;AAAA;AAAA,MACZ,GACF;AAAA,MACA,6CAAC,6BAAQ,WAAU,qEAAoE;AAAA;AAAA,QAC1E,4CAAC,YAAO,sBAAQ;AAAA,SAC7B;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA;AAAA,QAC/C;AAAA,QAAS;AAAA,SAClB;AAAA,MACA,6CAAC,0BAAK,WAAU,yCAAwC;AAAA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,4CAAC,0BAAK,WAAU,6CAA4C,yJAG5D;AAAA,OACF,GACF,GACF;AAAA,KACF;AAEJ;AAEA,MAAM,eAAkC;AAAA,EACtC,UAAU;AAAA,EACV,WAAW;AACb;AAEA,eAAe,eAAe;AAC9B,eAAe,eAAe;AAC9B,eAAe,eAAe;","names":[]}
@@ -19,11 +19,11 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
  var export_exports = {};
21
21
  __export(export_exports, {
22
- dictionaryRoutes: () => import_dictionary.dictionaryRoutes,
23
- organizationRoutes: () => import_organization.organizationRoutes,
24
- projectRoutes: () => import_project.projectRoutes,
25
- sessionAuthRoutes: () => import_sessionAuth.sessionAuthRoutes,
26
- userRoutes: () => import_user.userRoutes
22
+ getDictionaryRoutes: () => import_dictionary.getDictionaryRoutes,
23
+ getOrganizationRoutes: () => import_organization.getOrganizationRoutes,
24
+ getProjectRoutes: () => import_project.getProjectRoutes,
25
+ getSessionAuthRoutes: () => import_sessionAuth.getSessionAuthRoutes,
26
+ getUserRoutes: () => import_user.getUserRoutes
27
27
  });
28
28
  module.exports = __toCommonJS(export_exports);
29
29
  var import_user = require('./routes/user.routes.cjs');
@@ -36,11 +36,11 @@ __reExport(export_exports, require('./utils/httpStatusCodes.cjs'), module.export
36
36
  __reExport(export_exports, require('./utils/responseData.cjs'), module.exports);
37
37
  // Annotate the CommonJS export names for ESM import in node:
38
38
  0 && (module.exports = {
39
- dictionaryRoutes,
40
- organizationRoutes,
41
- projectRoutes,
42
- sessionAuthRoutes,
43
- userRoutes,
39
+ getDictionaryRoutes,
40
+ getOrganizationRoutes,
41
+ getProjectRoutes,
42
+ getSessionAuthRoutes,
43
+ getUserRoutes,
44
44
  ...require('./utils/cookies.cjs'),
45
45
  ...require('./utils/httpStatusCodes.cjs'),
46
46
  ...require('./utils/responseData.cjs')
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/export.ts"],"sourcesContent":["// Routes\nexport { userRoutes } from '@routes/user.routes';\nexport { organizationRoutes } from '@routes/organization.routes';\nexport { projectRoutes } from '@routes/project.routes';\nexport { dictionaryRoutes } from '@routes/dictionary.routes';\nexport { sessionAuthRoutes } from '@routes/sessionAuth.routes';\n\n// Controllers types\nexport type * from '@controllers/sessionAuth.controller';\nexport type * from '@controllers/oAuth2.controller';\nexport type * from '@controllers/organization.controller';\nexport type * from '@controllers/project.controller';\nexport type * from '@controllers/projectAccessKey.controller';\nexport type * from '@controllers/user.controller';\nexport type * from '@controllers/dictionary.controller';\nexport type * from '@controllers/stripe.controller';\nexport type * from '@controllers/ai.controller';\nexport type * from '@controllers/tag.controller';\n\n// Objects types\nexport type * from '@/types/organization.types';\nexport type * from '@/types/project.types';\nexport type * from '@/types/user.types';\nexport type * from '@/types/dictionary.types';\nexport type * from '@/types/plan.types';\nexport type * from '@/types/tag.types';\nexport type * from '@/types/oAuth2.types';\n\n// Utils\nexport * from '@utils/cookies';\nexport * from '@utils/httpStatusCodes';\nexport * from '@utils/responseData';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAA2B;AAC3B,0BAAmC;AACnC,qBAA8B;AAC9B,wBAAiC;AACjC,yBAAkC;AAwBlC,2BAAc,2BA7Bd;AA8BA,2BAAc,mCA9Bd;AA+BA,2BAAc,gCA/Bd;","names":[]}
1
+ {"version":3,"sources":["../../src/export.ts"],"sourcesContent":["// Routes\nexport { getUserRoutes } from '@routes/user.routes';\nexport { getOrganizationRoutes } from '@routes/organization.routes';\nexport { getProjectRoutes } from '@routes/project.routes';\nexport { getDictionaryRoutes } from '@routes/dictionary.routes';\nexport { getSessionAuthRoutes } from '@routes/sessionAuth.routes';\n\n// Controllers types\nexport type * from '@controllers/sessionAuth.controller';\nexport type * from '@controllers/oAuth2.controller';\nexport type * from '@controllers/organization.controller';\nexport type * from '@controllers/project.controller';\nexport type * from '@controllers/projectAccessKey.controller';\nexport type * from '@controllers/user.controller';\nexport type * from '@controllers/dictionary.controller';\nexport type * from '@controllers/stripe.controller';\nexport type * from '@controllers/ai.controller';\nexport type * from '@controllers/tag.controller';\n\n// Objects types\nexport type * from '@/types/organization.types';\nexport type * from '@/types/project.types';\nexport type * from '@/types/user.types';\nexport type * from '@/types/dictionary.types';\nexport type * from '@/types/plan.types';\nexport type * from '@/types/tag.types';\nexport type * from '@/types/oAuth2.types';\n\n// Utils\nexport * from '@utils/cookies';\nexport * from '@utils/httpStatusCodes';\nexport * from '@utils/responseData';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAA8B;AAC9B,0BAAsC;AACtC,qBAAiC;AACjC,wBAAoC;AACpC,yBAAqC;AAwBrC,2BAAc,2BA7Bd;AA8BA,2BAAc,mCA9Bd;AA+BA,2BAAc,gCA/Bd;","names":[]}
@@ -19,57 +19,63 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
19
19
  var ai_routes_exports = {};
20
20
  __export(ai_routes_exports, {
21
21
  aiRouter: () => aiRouter,
22
- aiRoutes: () => aiRoutes
22
+ getAiRoutes: () => getAiRoutes
23
23
  });
24
24
  module.exports = __toCommonJS(ai_routes_exports);
25
25
  var import_ai = require('./../controllers/ai.controller.cjs');
26
26
  var import_express = require("express");
27
27
  const aiRouter = (0, import_express.Router)();
28
- const baseURL = `${process.env.BACKEND_URL}/api/ai`;
29
- const aiRoutes = {
28
+ const baseURL = () => `${process.env.BACKEND_URL}/api/ai`;
29
+ const getAiRoutes = () => ({
30
30
  auditContentDeclaration: {
31
31
  urlModel: "/audit/dictionary",
32
- url: `${baseURL}/audit/dictionary`,
32
+ url: `${baseURL()}/audit/dictionary`,
33
33
  method: "POST"
34
34
  },
35
35
  auditContentDeclarationField: {
36
36
  urlModel: "/audit/dictionary/field",
37
- url: `${baseURL}/audit/dictionary/field`,
37
+ url: `${baseURL()}/audit/dictionary/field`,
38
38
  method: "POST"
39
39
  },
40
40
  auditContentDeclarationMetadata: {
41
41
  urlModel: "/audit/dictionary/metadata",
42
- url: `${baseURL}/audit/dictionary/metadata`,
42
+ url: `${baseURL()}/audit/dictionary/metadata`,
43
43
  method: "POST"
44
44
  },
45
45
  auditTag: {
46
46
  urlModel: "/audit/tag",
47
- url: `${baseURL}/audit/tag`,
47
+ url: `${baseURL()}/audit/tag`,
48
48
  method: "POST"
49
49
  },
50
50
  ask: {
51
51
  urlModel: "/ask",
52
- url: `${baseURL}/ask`,
52
+ url: `${baseURL()}/ask`,
53
+ method: "POST"
54
+ },
55
+ autocomplete: {
56
+ urlModel: "/autocomplete",
57
+ url: `${baseURL()}/autocomplete`,
53
58
  method: "POST"
54
59
  }
55
- };
60
+ });
56
61
  aiRouter.post(
57
- aiRoutes.auditContentDeclaration.urlModel,
62
+ getAiRoutes().auditContentDeclaration.urlModel,
58
63
  import_ai.auditContentDeclaration
59
64
  );
60
65
  aiRouter.post(
61
- aiRoutes.auditContentDeclarationField.urlModel,
66
+ getAiRoutes().auditContentDeclarationField.urlModel,
62
67
  import_ai.auditContentDeclarationField
63
68
  );
64
69
  aiRouter.post(
65
- aiRoutes.auditContentDeclarationMetadata.urlModel,
70
+ getAiRoutes().auditContentDeclarationMetadata.urlModel,
66
71
  import_ai.auditContentDeclarationMetadata
67
72
  );
68
- aiRouter.post(aiRoutes.ask.urlModel, import_ai.askDocQuestion);
69
- aiRouter.post(aiRoutes.auditTag.urlModel, import_ai.auditTag);
73
+ aiRouter.post(getAiRoutes().ask.urlModel, import_ai.askDocQuestion);
74
+ aiRouter.post(getAiRoutes().auditTag.urlModel, import_ai.auditTag);
75
+ aiRouter.post(getAiRoutes().autocomplete.urlModel, import_ai.autocomplete);
70
76
  // Annotate the CommonJS export names for ESM import in node:
71
77
  0 && (module.exports = {
72
78
  aiRouter,
73
- aiRoutes
79
+ getAiRoutes
74
80
  });
75
81
  //# sourceMappingURL=ai.routes.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":["import {\n askDocQuestion,\n auditContentDeclaration,\n auditContentDeclarationField,\n auditContentDeclarationMetadata,\n auditTag,\n} from '@controllers/ai.controller';\nimport { Router } from 'express';\nimport type { Routes } from '@/types/Routes';\n\nexport const aiRouter: Router = Router();\n\nconst baseURL = `${process.env.BACKEND_URL}/api/ai`;\n\nexport const aiRoutes = {\n auditContentDeclaration: {\n urlModel: '/audit/dictionary',\n url: `${baseURL}/audit/dictionary`,\n method: 'POST',\n },\n auditContentDeclarationField: {\n urlModel: '/audit/dictionary/field',\n url: `${baseURL}/audit/dictionary/field`,\n method: 'POST',\n },\n auditContentDeclarationMetadata: {\n urlModel: '/audit/dictionary/metadata',\n url: `${baseURL}/audit/dictionary/metadata`,\n method: 'POST',\n },\n auditTag: {\n urlModel: '/audit/tag',\n url: `${baseURL}/audit/tag`,\n method: 'POST',\n },\n ask: {\n urlModel: '/ask',\n url: `${baseURL}/ask`,\n method: 'POST',\n },\n} satisfies Routes;\n\naiRouter.post(\n aiRoutes.auditContentDeclaration.urlModel,\n auditContentDeclaration\n);\naiRouter.post(\n aiRoutes.auditContentDeclarationField.urlModel,\n auditContentDeclarationField\n);\naiRouter.post(\n aiRoutes.auditContentDeclarationMetadata.urlModel,\n auditContentDeclarationMetadata\n);\naiRouter.post(aiRoutes.ask.urlModel, askDocQuestion);\n\naiRouter.post(aiRoutes.auditTag.urlModel, auditTag);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAMO;AACP,qBAAuB;AAGhB,MAAM,eAAmB,uBAAO;AAEvC,MAAM,UAAU,GAAG,QAAQ,IAAI,WAAW;AAEnC,MAAM,WAAW;AAAA,EACtB,yBAAyB;AAAA,IACvB,UAAU;AAAA,IACV,KAAK,GAAG,OAAO;AAAA,IACf,QAAQ;AAAA,EACV;AAAA,EACA,8BAA8B;AAAA,IAC5B,UAAU;AAAA,IACV,KAAK,GAAG,OAAO;AAAA,IACf,QAAQ;AAAA,EACV;AAAA,EACA,iCAAiC;AAAA,IAC/B,UAAU;AAAA,IACV,KAAK,GAAG,OAAO;AAAA,IACf,QAAQ;AAAA,EACV;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,KAAK,GAAG,OAAO;AAAA,IACf,QAAQ;AAAA,EACV;AAAA,EACA,KAAK;AAAA,IACH,UAAU;AAAA,IACV,KAAK,GAAG,OAAO;AAAA,IACf,QAAQ;AAAA,EACV;AACF;AAEA,SAAS;AAAA,EACP,SAAS,wBAAwB;AAAA,EACjC;AACF;AACA,SAAS;AAAA,EACP,SAAS,6BAA6B;AAAA,EACtC;AACF;AACA,SAAS;AAAA,EACP,SAAS,gCAAgC;AAAA,EACzC;AACF;AACA,SAAS,KAAK,SAAS,IAAI,UAAU,wBAAc;AAEnD,SAAS,KAAK,SAAS,SAAS,UAAU,kBAAQ;","names":[]}
1
+ {"version":3,"sources":["../../../src/routes/ai.routes.ts"],"sourcesContent":["import {\n askDocQuestion,\n auditContentDeclaration,\n auditContentDeclarationField,\n auditContentDeclarationMetadata,\n auditTag,\n autocomplete,\n} from '@controllers/ai.controller';\nimport { Router } from 'express';\nimport type { Routes } from '@/types/Routes';\n\nexport const aiRouter: Router = Router();\n\nconst baseURL = () => `${process.env.BACKEND_URL}/api/ai`;\n\nexport const getAiRoutes = () =>\n ({\n auditContentDeclaration: {\n urlModel: '/audit/dictionary',\n url: `${baseURL()}/audit/dictionary`,\n method: 'POST',\n },\n auditContentDeclarationField: {\n urlModel: '/audit/dictionary/field',\n url: `${baseURL()}/audit/dictionary/field`,\n method: 'POST',\n },\n auditContentDeclarationMetadata: {\n urlModel: '/audit/dictionary/metadata',\n url: `${baseURL()}/audit/dictionary/metadata`,\n method: 'POST',\n },\n auditTag: {\n urlModel: '/audit/tag',\n url: `${baseURL()}/audit/tag`,\n method: 'POST',\n },\n ask: {\n urlModel: '/ask',\n url: `${baseURL()}/ask`,\n method: 'POST',\n },\n autocomplete: {\n urlModel: '/autocomplete',\n url: `${baseURL()}/autocomplete`,\n method: 'POST',\n },\n }) satisfies Routes;\n\naiRouter.post(\n getAiRoutes().auditContentDeclaration.urlModel,\n auditContentDeclaration\n);\naiRouter.post(\n getAiRoutes().auditContentDeclarationField.urlModel,\n auditContentDeclarationField\n);\naiRouter.post(\n getAiRoutes().auditContentDeclarationMetadata.urlModel,\n auditContentDeclarationMetadata\n);\naiRouter.post(getAiRoutes().ask.urlModel, askDocQuestion);\n\naiRouter.post(getAiRoutes().auditTag.urlModel, auditTag);\n\naiRouter.post(getAiRoutes().autocomplete.urlModel, autocomplete);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAOO;AACP,qBAAuB;AAGhB,MAAM,eAAmB,uBAAO;AAEvC,MAAM,UAAU,MAAM,GAAG,QAAQ,IAAI,WAAW;AAEzC,MAAM,cAAc,OACxB;AAAA,EACC,yBAAyB;AAAA,IACvB,UAAU;AAAA,IACV,KAAK,GAAG,QAAQ,CAAC;AAAA,IACjB,QAAQ;AAAA,EACV;AAAA,EACA,8BAA8B;AAAA,IAC5B,UAAU;AAAA,IACV,KAAK,GAAG,QAAQ,CAAC;AAAA,IACjB,QAAQ;AAAA,EACV;AAAA,EACA,iCAAiC;AAAA,IAC/B,UAAU;AAAA,IACV,KAAK,GAAG,QAAQ,CAAC;AAAA,IACjB,QAAQ;AAAA,EACV;AAAA,EACA,UAAU;AAAA,IACR,UAAU;AAAA,IACV,KAAK,GAAG,QAAQ,CAAC;AAAA,IACjB,QAAQ;AAAA,EACV;AAAA,EACA,KAAK;AAAA,IACH,UAAU;AAAA,IACV,KAAK,GAAG,QAAQ,CAAC;AAAA,IACjB,QAAQ;AAAA,EACV;AAAA,EACA,cAAc;AAAA,IACZ,UAAU;AAAA,IACV,KAAK,G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