@intlayer/backend 8.7.12 → 8.7.13

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 (142) hide show
  1. package/README.md +27 -1
  2. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/solid.json +4990 -0
  3. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/svelte.json +4987 -0
  4. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/vue.json +4975 -0
  5. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_astro_lit.json +9936 -8930
  6. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_astro_vanilla.json +7963 -6949
  7. package/dist/assets/utils/AI/askDocQuestion/embeddings/docs/en/readme.json +12908 -12288
  8. package/dist/esm/controllers/oAuth2.controller.mjs +21 -1
  9. package/dist/esm/controllers/oAuth2.controller.mjs.map +1 -1
  10. package/dist/esm/controllers/stripe.controller.mjs +86 -2
  11. package/dist/esm/controllers/stripe.controller.mjs.map +1 -1
  12. package/dist/esm/controllers/translation.controller.mjs +2 -0
  13. package/dist/esm/controllers/translation.controller.mjs.map +1 -1
  14. package/dist/esm/emails/InviteUserEmail.mjs +1541 -1
  15. package/dist/esm/emails/InviteUserEmail.mjs.map +1 -1
  16. package/dist/esm/emails/MagicLinkEmail.mjs +1128 -1
  17. package/dist/esm/emails/MagicLinkEmail.mjs.map +1 -1
  18. package/dist/esm/emails/OAuthTokenCreatedEmail.mjs +1389 -1
  19. package/dist/esm/emails/OAuthTokenCreatedEmail.mjs.map +1 -1
  20. package/dist/esm/emails/PasswordChangeConfirmation.mjs +814 -1
  21. package/dist/esm/emails/PasswordChangeConfirmation.mjs.map +1 -1
  22. package/dist/esm/emails/ResetUserPassword.mjs +1132 -1
  23. package/dist/esm/emails/ResetUserPassword.mjs.map +1 -1
  24. package/dist/esm/emails/SubscriptionPaymentCancellation.mjs +913 -1
  25. package/dist/esm/emails/SubscriptionPaymentCancellation.mjs.map +1 -1
  26. package/dist/esm/emails/SubscriptionPaymentError.mjs +908 -1
  27. package/dist/esm/emails/SubscriptionPaymentError.mjs.map +1 -1
  28. package/dist/esm/emails/SubscriptionPaymentSuccess.mjs +935 -1
  29. package/dist/esm/emails/SubscriptionPaymentSuccess.mjs.map +1 -1
  30. package/dist/esm/emails/ValidateUserEmail.mjs +1111 -1
  31. package/dist/esm/emails/ValidateUserEmail.mjs.map +1 -1
  32. package/dist/esm/emails/Welcome.mjs +1004 -1
  33. package/dist/esm/emails/Welcome.mjs.map +1 -1
  34. package/dist/esm/emails/index.mjs +7 -7
  35. package/dist/esm/index.mjs +8 -2
  36. package/dist/esm/index.mjs.map +1 -1
  37. package/dist/esm/middlewares/oAuth2.middleware.mjs +2 -2
  38. package/dist/esm/middlewares/oAuth2.middleware.mjs.map +1 -1
  39. package/dist/esm/routes/audit.routes.mjs +5 -4
  40. package/dist/esm/routes/audit.routes.mjs.map +1 -1
  41. package/dist/esm/routes/dictionary.routes.mjs +4 -3
  42. package/dist/esm/routes/dictionary.routes.mjs.map +1 -1
  43. package/dist/esm/routes/organization.routes.mjs +3 -2
  44. package/dist/esm/routes/organization.routes.mjs.map +1 -1
  45. package/dist/esm/routes/paramsSchemas.mjs +67 -0
  46. package/dist/esm/routes/paramsSchemas.mjs.map +1 -0
  47. package/dist/esm/routes/project.routes.mjs +2 -1
  48. package/dist/esm/routes/project.routes.mjs.map +1 -1
  49. package/dist/esm/routes/showcaseProject.routes.mjs +5 -4
  50. package/dist/esm/routes/showcaseProject.routes.mjs.map +1 -1
  51. package/dist/esm/routes/stripe.routes.mjs +19 -1
  52. package/dist/esm/routes/stripe.routes.mjs.map +1 -1
  53. package/dist/esm/routes/tags.routes.mjs +3 -2
  54. package/dist/esm/routes/tags.routes.mjs.map +1 -1
  55. package/dist/esm/routes/translate.routes.mjs +6 -5
  56. package/dist/esm/routes/translate.routes.mjs.map +1 -1
  57. package/dist/esm/routes/user.routes.mjs +5 -4
  58. package/dist/esm/routes/user.routes.mjs.map +1 -1
  59. package/dist/esm/schemas/oAuth2.schema.mjs +1 -1
  60. package/dist/esm/schemas/oAuth2.schema.mjs.map +1 -1
  61. package/dist/esm/services/email.service.mjs +338 -38
  62. package/dist/esm/services/email.service.mjs.map +1 -1
  63. package/dist/esm/services/oAuth2.service.mjs +20 -2
  64. package/dist/esm/services/oAuth2.service.mjs.map +1 -1
  65. package/dist/esm/services/subscription.service.mjs +5 -2
  66. package/dist/esm/services/subscription.service.mjs.map +1 -1
  67. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/solid.json +4990 -0
  68. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/svelte.json +4987 -0
  69. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/benchmark/vue.json +4975 -0
  70. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_astro_lit.json +9936 -8930
  71. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/intlayer_with_astro_vanilla.json +7963 -6949
  72. package/dist/esm/utils/AI/askDocQuestion/embeddings/docs/en/readme.json +12908 -12288
  73. package/dist/esm/utils/auth/getAuth.mjs +6 -0
  74. package/dist/esm/utils/auth/getAuth.mjs.map +1 -1
  75. package/dist/esm/utils/errors/errorCodes.mjs +3917 -287
  76. package/dist/esm/utils/errors/errorCodes.mjs.map +1 -1
  77. package/dist/esm/utils/mongoDB/connectDB.mjs +5 -0
  78. package/dist/esm/utils/mongoDB/connectDB.mjs.map +1 -1
  79. package/dist/esm/utils/oAuth2.mjs +6 -2
  80. package/dist/esm/utils/oAuth2.mjs.map +1 -1
  81. package/dist/esm/utils/plan.mjs +13 -1
  82. package/dist/esm/utils/plan.mjs.map +1 -1
  83. package/dist/types/controllers/oAuth2.controller.d.ts +11 -1
  84. package/dist/types/controllers/oAuth2.controller.d.ts.map +1 -1
  85. package/dist/types/controllers/stripe.controller.d.ts +22 -2
  86. package/dist/types/controllers/stripe.controller.d.ts.map +1 -1
  87. package/dist/types/controllers/translation.controller.d.ts.map +1 -1
  88. package/dist/types/emails/InviteUserEmail.d.ts +181 -1
  89. package/dist/types/emails/InviteUserEmail.d.ts.map +1 -1
  90. package/dist/types/emails/MagicLinkEmail.d.ts +106 -1
  91. package/dist/types/emails/MagicLinkEmail.d.ts.map +1 -1
  92. package/dist/types/emails/OAuthTokenCreatedEmail.d.ts +166 -1
  93. package/dist/types/emails/OAuthTokenCreatedEmail.d.ts.map +1 -1
  94. package/dist/types/emails/PasswordChangeConfirmation.d.ts +91 -1
  95. package/dist/types/emails/PasswordChangeConfirmation.d.ts.map +1 -1
  96. package/dist/types/emails/ResetUserPassword.d.ts +106 -1
  97. package/dist/types/emails/ResetUserPassword.d.ts.map +1 -1
  98. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts +151 -1
  99. package/dist/types/emails/SubscriptionPaymentCancellation.d.ts.map +1 -1
  100. package/dist/types/emails/SubscriptionPaymentError.d.ts +151 -1
  101. package/dist/types/emails/SubscriptionPaymentError.d.ts.map +1 -1
  102. package/dist/types/emails/SubscriptionPaymentSuccess.d.ts +151 -1
  103. package/dist/types/emails/SubscriptionPaymentSuccess.d.ts.map +1 -1
  104. package/dist/types/emails/ValidateUserEmail.d.ts +106 -1
  105. package/dist/types/emails/ValidateUserEmail.d.ts.map +1 -1
  106. package/dist/types/emails/Welcome.d.ts +106 -1
  107. package/dist/types/emails/Welcome.d.ts.map +1 -1
  108. package/dist/types/emails/index.d.ts +7 -7
  109. package/dist/types/export.d.ts +3 -3
  110. package/dist/types/middlewares/oAuth2.middleware.d.ts.map +1 -1
  111. package/dist/types/routes/audit.routes.d.ts.map +1 -1
  112. package/dist/types/routes/dictionary.routes.d.ts.map +1 -1
  113. package/dist/types/routes/organization.routes.d.ts.map +1 -1
  114. package/dist/types/routes/paramsSchemas.d.ts +102 -0
  115. package/dist/types/routes/paramsSchemas.d.ts.map +1 -0
  116. package/dist/types/routes/project.routes.d.ts.map +1 -1
  117. package/dist/types/routes/showcaseProject.routes.d.ts.map +1 -1
  118. package/dist/types/routes/stripe.routes.d.ts +15 -0
  119. package/dist/types/routes/stripe.routes.d.ts.map +1 -1
  120. package/dist/types/routes/tags.routes.d.ts.map +1 -1
  121. package/dist/types/routes/translate.routes.d.ts.map +1 -1
  122. package/dist/types/routes/user.routes.d.ts.map +1 -1
  123. package/dist/types/schemas/dictionary.schema.d.ts +8 -8
  124. package/dist/types/schemas/discussion.schema.d.ts +8 -8
  125. package/dist/types/schemas/organization.schema.d.ts +5 -5
  126. package/dist/types/schemas/plans.schema.d.ts +7 -7
  127. package/dist/types/schemas/project.schema.d.ts +9 -9
  128. package/dist/types/schemas/session.schema.d.ts +7 -7
  129. package/dist/types/schemas/showcaseProject.schema.d.ts +18 -18
  130. package/dist/types/schemas/tag.schema.d.ts +7 -7
  131. package/dist/types/services/email.service.d.ts.map +1 -1
  132. package/dist/types/services/oAuth2.service.d.ts +6 -1
  133. package/dist/types/services/oAuth2.service.d.ts.map +1 -1
  134. package/dist/types/types/plan.types.d.ts +2 -2
  135. package/dist/types/utils/errors/errorCodes.d.ts +3634 -4
  136. package/dist/types/utils/errors/errorCodes.d.ts.map +1 -1
  137. package/dist/types/utils/mongoDB/connectDB.d.ts.map +1 -1
  138. package/dist/types/utils/oAuth2.d.ts +3 -1
  139. package/dist/types/utils/oAuth2.d.ts.map +1 -1
  140. package/dist/types/utils/plan.d.ts +2 -1
  141. package/dist/types/utils/plan.d.ts.map +1 -1
  142. package/package.json +13 -12
@@ -182,6 +182,898 @@ const SubscriptionPaymentErrorES = ({ username, planName, organizationName, erro
182
182
  }) })
183
183
  ] });
184
184
  };
185
+ const SubscriptionPaymentErrorRU = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
186
+ const previewText = `Возникла проблема с оплатой вашей подписки на ${planName}`;
187
+ return /* @__PURE__ */ jsxs(Html, { children: [
188
+ /* @__PURE__ */ jsx(Head, {}),
189
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
190
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
191
+ className: "m-auto px-2 font-sans",
192
+ children: /* @__PURE__ */ jsxs(Container, {
193
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
194
+ children: [
195
+ /* @__PURE__ */ jsx(Section, {
196
+ className: "mt-[32px]",
197
+ children: /* @__PURE__ */ jsx(Img, {
198
+ src: "https://intlayer.org/apple-touch-icon.png",
199
+ width: "40",
200
+ height: "37",
201
+ alt: "Intlayer",
202
+ className: "mx-auto my-0"
203
+ })
204
+ }),
205
+ /* @__PURE__ */ jsx(Heading, {
206
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
207
+ children: "Обнаружена проблема с оплатой"
208
+ }),
209
+ /* @__PURE__ */ jsxs(Text, {
210
+ className: "text-[14px] text-black leading-[24px]",
211
+ children: [
212
+ "Здравствуйте, ",
213
+ username,
214
+ ","
215
+ ]
216
+ }),
217
+ /* @__PURE__ */ jsxs(Text, {
218
+ className: "text-[14px] text-black leading-[24px]",
219
+ children: [
220
+ "При обработке вашего платежа за тарифный план",
221
+ " ",
222
+ /* @__PURE__ */ jsx("strong", { children: planName }),
223
+ " от ",
224
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
225
+ " ",
226
+ "возникла проблема. Пожалуйста, обновите свою платежную информацию, чтобы обеспечить непрерывный доступ к вашей подписке."
227
+ ]
228
+ }),
229
+ /* @__PURE__ */ jsxs(Text, {
230
+ className: "text-[14px] text-black leading-[24px]",
231
+ children: ["Организация: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
232
+ }),
233
+ /* @__PURE__ */ jsx(Section, {
234
+ className: "my-[32px] text-center",
235
+ children: /* @__PURE__ */ jsx(Button, {
236
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
237
+ href: retryPaymentLink,
238
+ children: "Повторить попытку оплаты"
239
+ })
240
+ })
241
+ ]
242
+ })
243
+ }) })
244
+ ] });
245
+ };
246
+ const SubscriptionPaymentErrorJA = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
247
+ const previewText = `${planName}のサブスクリプション支払いに問題が発生しました`;
248
+ return /* @__PURE__ */ jsxs(Html, { children: [
249
+ /* @__PURE__ */ jsx(Head, {}),
250
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
251
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
252
+ className: "m-auto px-2 font-sans",
253
+ children: /* @__PURE__ */ jsxs(Container, {
254
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
255
+ children: [
256
+ /* @__PURE__ */ jsx(Section, {
257
+ className: "mt-[32px]",
258
+ children: /* @__PURE__ */ jsx(Img, {
259
+ src: "https://intlayer.org/apple-touch-icon.png",
260
+ width: "40",
261
+ height: "37",
262
+ alt: "Intlayer",
263
+ className: "mx-auto my-0"
264
+ })
265
+ }),
266
+ /* @__PURE__ */ jsx(Heading, {
267
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
268
+ children: "支払いの問題が検出されました"
269
+ }),
270
+ /* @__PURE__ */ jsxs(Text, {
271
+ className: "text-[14px] text-black leading-[24px]",
272
+ children: [username, "様、こんにちは。"]
273
+ }),
274
+ /* @__PURE__ */ jsxs(Text, {
275
+ className: "text-[14px] text-black leading-[24px]",
276
+ children: [
277
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
278
+ "に行われた",
279
+ /* @__PURE__ */ jsx("strong", { children: planName }),
280
+ "プランのお支払い処理中に問題が発生しました。サブスクリプションへのアクセスを継続するために、お支払い情報を更新してください。"
281
+ ]
282
+ }),
283
+ /* @__PURE__ */ jsxs(Text, {
284
+ className: "text-[14px] text-black leading-[24px]",
285
+ children: ["組織: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
286
+ }),
287
+ /* @__PURE__ */ jsx(Section, {
288
+ className: "my-[32px] text-center",
289
+ children: /* @__PURE__ */ jsx(Button, {
290
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
291
+ href: retryPaymentLink,
292
+ children: "支払いを再試行する"
293
+ })
294
+ })
295
+ ]
296
+ })
297
+ }) })
298
+ ] });
299
+ };
300
+ const SubscriptionPaymentErrorKO = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
301
+ const previewText = `${planName} 구독 결제에 문제가 발생했습니다`;
302
+ return /* @__PURE__ */ jsxs(Html, { children: [
303
+ /* @__PURE__ */ jsx(Head, {}),
304
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
305
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
306
+ className: "m-auto px-2 font-sans",
307
+ children: /* @__PURE__ */ jsxs(Container, {
308
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
309
+ children: [
310
+ /* @__PURE__ */ jsx(Section, {
311
+ className: "mt-[32px]",
312
+ children: /* @__PURE__ */ jsx(Img, {
313
+ src: "https://intlayer.org/apple-touch-icon.png",
314
+ width: "40",
315
+ height: "37",
316
+ alt: "Intlayer",
317
+ className: "mx-auto my-0"
318
+ })
319
+ }),
320
+ /* @__PURE__ */ jsx(Heading, {
321
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
322
+ children: "결제 문제 발생"
323
+ }),
324
+ /* @__PURE__ */ jsxs(Text, {
325
+ className: "text-[14px] text-black leading-[24px]",
326
+ children: [
327
+ "안녕하세요 ",
328
+ username,
329
+ "님,"
330
+ ]
331
+ }),
332
+ /* @__PURE__ */ jsxs(Text, {
333
+ className: "text-[14px] text-black leading-[24px]",
334
+ children: [
335
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
336
+ "에 귀하의 ",
337
+ /* @__PURE__ */ jsx("strong", { children: planName }),
338
+ " ",
339
+ "플랜 결제를 처리하는 도중 문제가 발생했습니다. 구독을 계속 유지하시려면 결제 정보를 업데이트해 주세요."
340
+ ]
341
+ }),
342
+ /* @__PURE__ */ jsxs(Text, {
343
+ className: "text-[14px] text-black leading-[24px]",
344
+ children: ["조직: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
345
+ }),
346
+ /* @__PURE__ */ jsx(Section, {
347
+ className: "my-[32px] text-center",
348
+ children: /* @__PURE__ */ jsx(Button, {
349
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
350
+ href: retryPaymentLink,
351
+ children: "결제 재시도하기"
352
+ })
353
+ })
354
+ ]
355
+ })
356
+ }) })
357
+ ] });
358
+ };
359
+ const SubscriptionPaymentErrorZH = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
360
+ const previewText = `您的 ${planName} 订阅支付出现问题`;
361
+ return /* @__PURE__ */ jsxs(Html, { children: [
362
+ /* @__PURE__ */ jsx(Head, {}),
363
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
364
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
365
+ className: "m-auto px-2 font-sans",
366
+ children: /* @__PURE__ */ jsxs(Container, {
367
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
368
+ children: [
369
+ /* @__PURE__ */ jsx(Section, {
370
+ className: "mt-[32px]",
371
+ children: /* @__PURE__ */ jsx(Img, {
372
+ src: "https://intlayer.org/apple-touch-icon.png",
373
+ width: "40",
374
+ height: "37",
375
+ alt: "Intlayer",
376
+ className: "mx-auto my-0"
377
+ })
378
+ }),
379
+ /* @__PURE__ */ jsx(Heading, {
380
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
381
+ children: "检测到支付问题"
382
+ }),
383
+ /* @__PURE__ */ jsxs(Text, {
384
+ className: "text-[14px] text-black leading-[24px]",
385
+ children: [username, ",您好!"]
386
+ }),
387
+ /* @__PURE__ */ jsxs(Text, {
388
+ className: "text-[14px] text-black leading-[24px]",
389
+ children: [
390
+ "我们在处理您 ",
391
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
392
+ " 的",
393
+ " ",
394
+ /* @__PURE__ */ jsx("strong", { children: planName }),
395
+ " ",
396
+ "计划支付时遇到问题。请更新您的支付信息, 以确保能够持续访问您的订阅。"
397
+ ]
398
+ }),
399
+ /* @__PURE__ */ jsxs(Text, {
400
+ className: "text-[14px] text-black leading-[24px]",
401
+ children: ["组织:", /* @__PURE__ */ jsx("strong", { children: organizationName })]
402
+ }),
403
+ /* @__PURE__ */ jsx(Section, {
404
+ className: "my-[32px] text-center",
405
+ children: /* @__PURE__ */ jsx(Button, {
406
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
407
+ href: retryPaymentLink,
408
+ children: "重试支付"
409
+ })
410
+ })
411
+ ]
412
+ })
413
+ }) })
414
+ ] });
415
+ };
416
+ const SubscriptionPaymentErrorDE = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
417
+ const previewText = `Es gab ein Problem mit Ihrer Zahlung für das ${planName}-Abonnement`;
418
+ return /* @__PURE__ */ jsxs(Html, { children: [
419
+ /* @__PURE__ */ jsx(Head, {}),
420
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
421
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
422
+ className: "m-auto px-2 font-sans",
423
+ children: /* @__PURE__ */ jsxs(Container, {
424
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
425
+ children: [
426
+ /* @__PURE__ */ jsx(Section, {
427
+ className: "mt-[32px]",
428
+ children: /* @__PURE__ */ jsx(Img, {
429
+ src: "https://intlayer.org/apple-touch-icon.png",
430
+ width: "40",
431
+ height: "37",
432
+ alt: "Intlayer",
433
+ className: "mx-auto my-0"
434
+ })
435
+ }),
436
+ /* @__PURE__ */ jsx(Heading, {
437
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
438
+ children: "Zahlungsproblem erkannt"
439
+ }),
440
+ /* @__PURE__ */ jsxs(Text, {
441
+ className: "text-[14px] text-black leading-[24px]",
442
+ children: [
443
+ "Hallo ",
444
+ username,
445
+ ","
446
+ ]
447
+ }),
448
+ /* @__PURE__ */ jsxs(Text, {
449
+ className: "text-[14px] text-black leading-[24px]",
450
+ children: [
451
+ "beim Verarbeiten Ihrer Zahlung für den ",
452
+ /* @__PURE__ */ jsx("strong", { children: planName }),
453
+ "-Plan am ",
454
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
455
+ " ist ein Problem aufgetreten. Bitte aktualisieren Sie Ihre Zahlungsinformationen, um den fortlaufenden Zugriff auf Ihr Abonnement zu gewährleisten."
456
+ ]
457
+ }),
458
+ /* @__PURE__ */ jsxs(Text, {
459
+ className: "text-[14px] text-black leading-[24px]",
460
+ children: ["Organisation: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
461
+ }),
462
+ /* @__PURE__ */ jsx(Section, {
463
+ className: "my-[32px] text-center",
464
+ children: /* @__PURE__ */ jsx(Button, {
465
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
466
+ href: retryPaymentLink,
467
+ children: "Zahlung erneut versuchen"
468
+ })
469
+ })
470
+ ]
471
+ })
472
+ }) })
473
+ ] });
474
+ };
475
+ const SubscriptionPaymentErrorAR = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
476
+ const previewText = `كانت هناك مشكلة في دفع اشتراكك في ${planName}`;
477
+ return /* @__PURE__ */ jsxs(Html, {
478
+ dir: "rtl",
479
+ children: [
480
+ /* @__PURE__ */ jsx(Head, {}),
481
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
482
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
483
+ className: "m-auto px-2 font-sans",
484
+ children: /* @__PURE__ */ jsxs(Container, {
485
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
486
+ children: [
487
+ /* @__PURE__ */ jsx(Section, {
488
+ className: "mt-[32px]",
489
+ children: /* @__PURE__ */ jsx(Img, {
490
+ src: "https://intlayer.org/apple-touch-icon.png",
491
+ width: "40",
492
+ height: "37",
493
+ alt: "Intlayer",
494
+ className: "mx-auto my-0"
495
+ })
496
+ }),
497
+ /* @__PURE__ */ jsx(Heading, {
498
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
499
+ children: "تم اكتشاف مشكلة في الدفع"
500
+ }),
501
+ /* @__PURE__ */ jsxs(Text, {
502
+ className: "text-[14px] text-black leading-[24px]",
503
+ children: [
504
+ "أهلاً ",
505
+ username,
506
+ "،"
507
+ ]
508
+ }),
509
+ /* @__PURE__ */ jsxs(Text, {
510
+ className: "text-[14px] text-black leading-[24px]",
511
+ children: [
512
+ "لقد واجهنا مشكلة في معالجة دفعتك لخطة ",
513
+ /* @__PURE__ */ jsx("strong", { children: planName }),
514
+ " ",
515
+ "بتاريخ ",
516
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
517
+ ". يرجى تحديث معلومات الدفع الخاصة بك لضمان استمرار الوصول إلى اشتراكك."
518
+ ]
519
+ }),
520
+ /* @__PURE__ */ jsxs(Text, {
521
+ className: "text-[14px] text-black leading-[24px]",
522
+ children: ["المنظمة: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
523
+ }),
524
+ /* @__PURE__ */ jsx(Section, {
525
+ className: "my-[32px] text-center",
526
+ children: /* @__PURE__ */ jsx(Button, {
527
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
528
+ href: retryPaymentLink,
529
+ children: "إعادة محاولة الدفع"
530
+ })
531
+ })
532
+ ]
533
+ })
534
+ }) })
535
+ ]
536
+ });
537
+ };
538
+ const SubscriptionPaymentErrorIT = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
539
+ const previewText = `Si è verificato un problema con il pagamento del tuo abbonamento ${planName}`;
540
+ return /* @__PURE__ */ jsxs(Html, { children: [
541
+ /* @__PURE__ */ jsx(Head, {}),
542
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
543
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
544
+ className: "m-auto px-2 font-sans",
545
+ children: /* @__PURE__ */ jsxs(Container, {
546
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
547
+ children: [
548
+ /* @__PURE__ */ jsx(Section, {
549
+ className: "mt-[32px]",
550
+ children: /* @__PURE__ */ jsx(Img, {
551
+ src: "https://intlayer.org/apple-touch-icon.png",
552
+ width: "40",
553
+ height: "37",
554
+ alt: "Intlayer",
555
+ className: "mx-auto my-0"
556
+ })
557
+ }),
558
+ /* @__PURE__ */ jsx(Heading, {
559
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
560
+ children: "Problema di Pagamento Rilevato"
561
+ }),
562
+ /* @__PURE__ */ jsxs(Text, {
563
+ className: "text-[14px] text-black leading-[24px]",
564
+ children: [
565
+ "Ciao ",
566
+ username,
567
+ ","
568
+ ]
569
+ }),
570
+ /* @__PURE__ */ jsxs(Text, {
571
+ className: "text-[14px] text-black leading-[24px]",
572
+ children: [
573
+ "Abbiamo riscontrato un problema durante l'elaborazione del tuo pagamento per il piano ",
574
+ /* @__PURE__ */ jsx("strong", { children: planName }),
575
+ " il",
576
+ " ",
577
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
578
+ ". Aggiorna le tue informazioni di pagamento per garantire l'accesso continuo al tuo abbonamento."
579
+ ]
580
+ }),
581
+ /* @__PURE__ */ jsxs(Text, {
582
+ className: "text-[14px] text-black leading-[24px]",
583
+ children: ["Organizzazione: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
584
+ }),
585
+ /* @__PURE__ */ jsx(Section, {
586
+ className: "my-[32px] text-center",
587
+ children: /* @__PURE__ */ jsx(Button, {
588
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
589
+ href: retryPaymentLink,
590
+ children: "Riprova il Pagamento"
591
+ })
592
+ })
593
+ ]
594
+ })
595
+ }) })
596
+ ] });
597
+ };
598
+ const SubscriptionPaymentErrorEN_GB = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
599
+ const previewText = `There was an issue with your ${planName} subscription payment`;
600
+ return /* @__PURE__ */ jsxs(Html, { children: [
601
+ /* @__PURE__ */ jsx(Head, {}),
602
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
603
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
604
+ className: "m-auto px-2 font-sans",
605
+ children: /* @__PURE__ */ jsxs(Container, {
606
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
607
+ children: [
608
+ /* @__PURE__ */ jsx(Section, {
609
+ className: "mt-[32px]",
610
+ children: /* @__PURE__ */ jsx(Img, {
611
+ src: "https://intlayer.org/apple-touch-icon.png",
612
+ width: "40",
613
+ height: "37",
614
+ alt: "Intlayer",
615
+ className: "mx-auto my-0"
616
+ })
617
+ }),
618
+ /* @__PURE__ */ jsx(Heading, {
619
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
620
+ children: "Payment Issue Detected"
621
+ }),
622
+ /* @__PURE__ */ jsxs(Text, {
623
+ className: "text-[14px] text-black leading-[24px]",
624
+ children: [
625
+ "Hello ",
626
+ username,
627
+ ","
628
+ ]
629
+ }),
630
+ /* @__PURE__ */ jsxs(Text, {
631
+ className: "text-[14px] text-black leading-[24px]",
632
+ children: [
633
+ "We encountered an issue processing your payment for the",
634
+ " ",
635
+ /* @__PURE__ */ jsx("strong", { children: planName }),
636
+ " plan on ",
637
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
638
+ ". Please update your payment information to ensure continued access to your subscription."
639
+ ]
640
+ }),
641
+ /* @__PURE__ */ jsxs(Text, {
642
+ className: "text-[14px] text-black leading-[24px]",
643
+ children: ["Organisation: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
644
+ }),
645
+ /* @__PURE__ */ jsx(Section, {
646
+ className: "my-[32px] text-center",
647
+ children: /* @__PURE__ */ jsx(Button, {
648
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
649
+ href: retryPaymentLink,
650
+ children: "Retry Payment"
651
+ })
652
+ })
653
+ ]
654
+ })
655
+ }) })
656
+ ] });
657
+ };
658
+ const SubscriptionPaymentErrorPT = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
659
+ const previewText = `Houve um problema com o pagamento da sua assinatura ${planName}`;
660
+ return /* @__PURE__ */ jsxs(Html, { children: [
661
+ /* @__PURE__ */ jsx(Head, {}),
662
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
663
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
664
+ className: "m-auto px-2 font-sans",
665
+ children: /* @__PURE__ */ jsxs(Container, {
666
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
667
+ children: [
668
+ /* @__PURE__ */ jsx(Section, {
669
+ className: "mt-[32px]",
670
+ children: /* @__PURE__ */ jsx(Img, {
671
+ src: "https://intlayer.org/apple-touch-icon.png",
672
+ width: "40",
673
+ height: "37",
674
+ alt: "Intlayer",
675
+ className: "mx-auto my-0"
676
+ })
677
+ }),
678
+ /* @__PURE__ */ jsx(Heading, {
679
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
680
+ children: "Problema de Pagamento Detetado"
681
+ }),
682
+ /* @__PURE__ */ jsxs(Text, {
683
+ className: "text-[14px] text-black leading-[24px]",
684
+ children: [
685
+ "Olá ",
686
+ username,
687
+ ","
688
+ ]
689
+ }),
690
+ /* @__PURE__ */ jsxs(Text, {
691
+ className: "text-[14px] text-black leading-[24px]",
692
+ children: [
693
+ "Encontramos um problema ao processar o seu pagamento para o plano",
694
+ " ",
695
+ /* @__PURE__ */ jsx("strong", { children: planName }),
696
+ " em ",
697
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
698
+ ". Por favor, atualize as suas informações de pagamento para garantir o acesso contínuo à sua assinatura."
699
+ ]
700
+ }),
701
+ /* @__PURE__ */ jsxs(Text, {
702
+ className: "text-[14px] text-black leading-[24px]",
703
+ children: ["Organização: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
704
+ }),
705
+ /* @__PURE__ */ jsx(Section, {
706
+ className: "my-[32px] text-center",
707
+ children: /* @__PURE__ */ jsx(Button, {
708
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
709
+ href: retryPaymentLink,
710
+ children: "Repetir Pagamento"
711
+ })
712
+ })
713
+ ]
714
+ })
715
+ }) })
716
+ ] });
717
+ };
718
+ const SubscriptionPaymentErrorHI = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
719
+ const previewText = `आपकी ${planName} सदस्यता के भुगतान में समस्या आई थी`;
720
+ return /* @__PURE__ */ jsxs(Html, { children: [
721
+ /* @__PURE__ */ jsx(Head, {}),
722
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
723
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
724
+ className: "m-auto px-2 font-sans",
725
+ children: /* @__PURE__ */ jsxs(Container, {
726
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
727
+ children: [
728
+ /* @__PURE__ */ jsx(Section, {
729
+ className: "mt-[32px]",
730
+ children: /* @__PURE__ */ jsx(Img, {
731
+ src: "https://intlayer.org/apple-touch-icon.png",
732
+ width: "40",
733
+ height: "37",
734
+ alt: "Intlayer",
735
+ className: "mx-auto my-0"
736
+ })
737
+ }),
738
+ /* @__PURE__ */ jsx(Heading, {
739
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
740
+ children: "भुगतान समस्या का पता चला"
741
+ }),
742
+ /* @__PURE__ */ jsxs(Text, {
743
+ className: "text-[14px] text-black leading-[24px]",
744
+ children: [
745
+ "नमस्ते ",
746
+ username,
747
+ ","
748
+ ]
749
+ }),
750
+ /* @__PURE__ */ jsxs(Text, {
751
+ className: "text-[14px] text-black leading-[24px]",
752
+ children: [
753
+ "हमें ",
754
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
755
+ " को आपके ",
756
+ /* @__PURE__ */ jsx("strong", { children: planName }),
757
+ " ",
758
+ "प्लान के भुगतान को संसाधित करने में एक समस्या आई। अपनी सदस्यता तक निरंतर पहुँच सुनिश्चित करने के लिए कृपया अपनी भुगतान जानकारी अपडेट करें।"
759
+ ]
760
+ }),
761
+ /* @__PURE__ */ jsxs(Text, {
762
+ className: "text-[14px] text-black leading-[24px]",
763
+ children: ["संगठन: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
764
+ }),
765
+ /* @__PURE__ */ jsx(Section, {
766
+ className: "my-[32px] text-center",
767
+ children: /* @__PURE__ */ jsx(Button, {
768
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
769
+ href: retryPaymentLink,
770
+ children: "भुगतान पुनः प्रयास करें"
771
+ })
772
+ })
773
+ ]
774
+ })
775
+ }) })
776
+ ] });
777
+ };
778
+ const SubscriptionPaymentErrorTR = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
779
+ const previewText = `${planName} abonelik ödemenizde bir sorun oluştu`;
780
+ return /* @__PURE__ */ jsxs(Html, { children: [
781
+ /* @__PURE__ */ jsx(Head, {}),
782
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
783
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
784
+ className: "m-auto px-2 font-sans",
785
+ children: /* @__PURE__ */ jsxs(Container, {
786
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
787
+ children: [
788
+ /* @__PURE__ */ jsx(Section, {
789
+ className: "mt-[32px]",
790
+ children: /* @__PURE__ */ jsx(Img, {
791
+ src: "https://intlayer.org/apple-touch-icon.png",
792
+ width: "40",
793
+ height: "37",
794
+ alt: "Intlayer",
795
+ className: "mx-auto my-0"
796
+ })
797
+ }),
798
+ /* @__PURE__ */ jsx(Heading, {
799
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
800
+ children: "Ödeme Sorunu Tespit Edildi"
801
+ }),
802
+ /* @__PURE__ */ jsxs(Text, {
803
+ className: "text-[14px] text-black leading-[24px]",
804
+ children: [
805
+ "Merhaba ",
806
+ username,
807
+ ","
808
+ ]
809
+ }),
810
+ /* @__PURE__ */ jsxs(Text, {
811
+ className: "text-[14px] text-black leading-[24px]",
812
+ children: [
813
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
814
+ " tarihinde ",
815
+ /* @__PURE__ */ jsx("strong", { children: planName }),
816
+ " ",
817
+ "planı için ödemenizi işleme koyarken bir sorunla karşılaştık. Aboneliğinize kesintisiz erişim sağlamak için lütfen ödeme bilgilerinizi güncelleyin."
818
+ ]
819
+ }),
820
+ /* @__PURE__ */ jsxs(Text, {
821
+ className: "text-[14px] text-black leading-[24px]",
822
+ children: ["Kuruluş: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
823
+ }),
824
+ /* @__PURE__ */ jsx(Section, {
825
+ className: "my-[32px] text-center",
826
+ children: /* @__PURE__ */ jsx(Button, {
827
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
828
+ href: retryPaymentLink,
829
+ children: "Ödemeyi Tekrar Dene"
830
+ })
831
+ })
832
+ ]
833
+ })
834
+ }) })
835
+ ] });
836
+ };
837
+ const SubscriptionPaymentErrorPL = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
838
+ const previewText = `Wystąpił problem z płatnością za Twoją subskrypcję ${planName}`;
839
+ return /* @__PURE__ */ jsxs(Html, { children: [
840
+ /* @__PURE__ */ jsx(Head, {}),
841
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
842
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
843
+ className: "m-auto px-2 font-sans",
844
+ children: /* @__PURE__ */ jsxs(Container, {
845
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
846
+ children: [
847
+ /* @__PURE__ */ jsx(Section, {
848
+ className: "mt-[32px]",
849
+ children: /* @__PURE__ */ jsx(Img, {
850
+ src: "https://intlayer.org/apple-touch-icon.png",
851
+ width: "40",
852
+ height: "37",
853
+ alt: "Intlayer",
854
+ className: "mx-auto my-0"
855
+ })
856
+ }),
857
+ /* @__PURE__ */ jsx(Heading, {
858
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
859
+ children: "Wykryto Problem z Płatnością"
860
+ }),
861
+ /* @__PURE__ */ jsxs(Text, {
862
+ className: "text-[14px] text-black leading-[24px]",
863
+ children: [
864
+ "Witaj ",
865
+ username,
866
+ ","
867
+ ]
868
+ }),
869
+ /* @__PURE__ */ jsxs(Text, {
870
+ className: "text-[14px] text-black leading-[24px]",
871
+ children: [
872
+ "Napotkaliśmy problem podczas przetwarzania płatności za plan",
873
+ " ",
874
+ /* @__PURE__ */ jsx("strong", { children: planName }),
875
+ " w dniu ",
876
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
877
+ ". Zaktualizuj swoje dane płatnicze, aby zapewnić nieprzerwany dostęp do subskrypcji."
878
+ ]
879
+ }),
880
+ /* @__PURE__ */ jsxs(Text, {
881
+ className: "text-[14px] text-black leading-[24px]",
882
+ children: ["Organizacja: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
883
+ }),
884
+ /* @__PURE__ */ jsx(Section, {
885
+ className: "my-[32px] text-center",
886
+ children: /* @__PURE__ */ jsx(Button, {
887
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
888
+ href: retryPaymentLink,
889
+ children: "Ponów Płatność"
890
+ })
891
+ })
892
+ ]
893
+ })
894
+ }) })
895
+ ] });
896
+ };
897
+ const SubscriptionPaymentErrorID = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
898
+ const previewText = `Ada masalah dengan pembayaran langganan ${planName} Anda`;
899
+ return /* @__PURE__ */ jsxs(Html, { children: [
900
+ /* @__PURE__ */ jsx(Head, {}),
901
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
902
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
903
+ className: "m-auto px-2 font-sans",
904
+ children: /* @__PURE__ */ jsxs(Container, {
905
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
906
+ children: [
907
+ /* @__PURE__ */ jsx(Section, {
908
+ className: "mt-[32px]",
909
+ children: /* @__PURE__ */ jsx(Img, {
910
+ src: "https://intlayer.org/apple-touch-icon.png",
911
+ width: "40",
912
+ height: "37",
913
+ alt: "Intlayer",
914
+ className: "mx-auto my-0"
915
+ })
916
+ }),
917
+ /* @__PURE__ */ jsx(Heading, {
918
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
919
+ children: "Masalah Pembayaran Terdeteksi"
920
+ }),
921
+ /* @__PURE__ */ jsxs(Text, {
922
+ className: "text-[14px] text-black leading-[24px]",
923
+ children: [
924
+ "Halo ",
925
+ username,
926
+ ","
927
+ ]
928
+ }),
929
+ /* @__PURE__ */ jsxs(Text, {
930
+ className: "text-[14px] text-black leading-[24px]",
931
+ children: [
932
+ "Kami mengalami masalah saat memproses pembayaran Anda untuk paket",
933
+ " ",
934
+ /* @__PURE__ */ jsx("strong", { children: planName }),
935
+ " pada ",
936
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
937
+ ". Harap perbarui informasi pembayaran Anda untuk memastikan akses berlanjut ke langganan Anda."
938
+ ]
939
+ }),
940
+ /* @__PURE__ */ jsxs(Text, {
941
+ className: "text-[14px] text-black leading-[24px]",
942
+ children: ["Organisasi: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
943
+ }),
944
+ /* @__PURE__ */ jsx(Section, {
945
+ className: "my-[32px] text-center",
946
+ children: /* @__PURE__ */ jsx(Button, {
947
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
948
+ href: retryPaymentLink,
949
+ children: "Coba Lagi Pembayaran"
950
+ })
951
+ })
952
+ ]
953
+ })
954
+ }) })
955
+ ] });
956
+ };
957
+ const SubscriptionPaymentErrorVI = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
958
+ const previewText = `Đã xảy ra vấn đề với thanh toán gói thuê bao ${planName} của bạn`;
959
+ return /* @__PURE__ */ jsxs(Html, { children: [
960
+ /* @__PURE__ */ jsx(Head, {}),
961
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
962
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
963
+ className: "m-auto px-2 font-sans",
964
+ children: /* @__PURE__ */ jsxs(Container, {
965
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
966
+ children: [
967
+ /* @__PURE__ */ jsx(Section, {
968
+ className: "mt-[32px]",
969
+ children: /* @__PURE__ */ jsx(Img, {
970
+ src: "https://intlayer.org/apple-touch-icon.png",
971
+ width: "40",
972
+ height: "37",
973
+ alt: "Intlayer",
974
+ className: "mx-auto my-0"
975
+ })
976
+ }),
977
+ /* @__PURE__ */ jsx(Heading, {
978
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
979
+ children: "Phát Hiện Vấn Đề Thanh Toán"
980
+ }),
981
+ /* @__PURE__ */ jsxs(Text, {
982
+ className: "text-[14px] text-black leading-[24px]",
983
+ children: [
984
+ "Xin chào ",
985
+ username,
986
+ ","
987
+ ]
988
+ }),
989
+ /* @__PURE__ */ jsxs(Text, {
990
+ className: "text-[14px] text-black leading-[24px]",
991
+ children: [
992
+ "Chúng tôi đã gặp sự cố khi xử lý thanh toán của bạn cho gói",
993
+ " ",
994
+ /* @__PURE__ */ jsx("strong", { children: planName }),
995
+ " vào ngày ",
996
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
997
+ ". Vui lòng cập nhật thông tin thanh toán của bạn để đảm bảo quyền truy cập liên tục vào gói thuê bao của bạn."
998
+ ]
999
+ }),
1000
+ /* @__PURE__ */ jsxs(Text, {
1001
+ className: "text-[14px] text-black leading-[24px]",
1002
+ children: ["Tổ chức: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
1003
+ }),
1004
+ /* @__PURE__ */ jsx(Section, {
1005
+ className: "my-[32px] text-center",
1006
+ children: /* @__PURE__ */ jsx(Button, {
1007
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
1008
+ href: retryPaymentLink,
1009
+ children: "Thử lại Thanh toán"
1010
+ })
1011
+ })
1012
+ ]
1013
+ })
1014
+ }) })
1015
+ ] });
1016
+ };
1017
+ const SubscriptionPaymentErrorUK = ({ username, planName, organizationName, errorDate, retryPaymentLink }) => {
1018
+ const previewText = `Виникла проблема з оплатою вашої підписки на ${planName}`;
1019
+ return /* @__PURE__ */ jsxs(Html, { children: [
1020
+ /* @__PURE__ */ jsx(Head, {}),
1021
+ /* @__PURE__ */ jsx(Preview, { children: previewText }),
1022
+ /* @__PURE__ */ jsx(Tailwind, { children: /* @__PURE__ */ jsx(Body, {
1023
+ className: "m-auto px-2 font-sans",
1024
+ children: /* @__PURE__ */ jsxs(Container, {
1025
+ className: "mx-auto my-[40px] max-w-[465px] rounded-xl border border-[#eaeaea] border-solid bg-white p-[20px]",
1026
+ children: [
1027
+ /* @__PURE__ */ jsx(Section, {
1028
+ className: "mt-[32px]",
1029
+ children: /* @__PURE__ */ jsx(Img, {
1030
+ src: "https://intlayer.org/apple-touch-icon.png",
1031
+ width: "40",
1032
+ height: "37",
1033
+ alt: "Intlayer",
1034
+ className: "mx-auto my-0"
1035
+ })
1036
+ }),
1037
+ /* @__PURE__ */ jsx(Heading, {
1038
+ className: "mx-0 my-[30px] p-0 text-center font-normal text-[24px] text-black",
1039
+ children: "Виявлено проблему з оплатою"
1040
+ }),
1041
+ /* @__PURE__ */ jsxs(Text, {
1042
+ className: "text-[14px] text-black leading-[24px]",
1043
+ children: [
1044
+ "Вітаємо, ",
1045
+ username,
1046
+ ","
1047
+ ]
1048
+ }),
1049
+ /* @__PURE__ */ jsxs(Text, {
1050
+ className: "text-[14px] text-black leading-[24px]",
1051
+ children: [
1052
+ "Ми зіткнулися з проблемою під час обробки вашого платежу за тарифний план ",
1053
+ /* @__PURE__ */ jsx("strong", { children: planName }),
1054
+ " від",
1055
+ " ",
1056
+ /* @__PURE__ */ jsx("strong", { children: errorDate }),
1057
+ ". Будь ласка, оновіть свою платіжну інформацію, щоб забезпечити безперервний доступ до вашої підписки."
1058
+ ]
1059
+ }),
1060
+ /* @__PURE__ */ jsxs(Text, {
1061
+ className: "text-[14px] text-black leading-[24px]",
1062
+ children: ["Організація: ", /* @__PURE__ */ jsx("strong", { children: organizationName })]
1063
+ }),
1064
+ /* @__PURE__ */ jsx(Section, {
1065
+ className: "my-[32px] text-center",
1066
+ children: /* @__PURE__ */ jsx(Button, {
1067
+ className: "rounded-md bg-[#000000] px-5 py-3 text-center font-semibold text-[12px] text-white no-underline",
1068
+ href: retryPaymentLink,
1069
+ children: "Повторити спробу оплати"
1070
+ })
1071
+ })
1072
+ ]
1073
+ })
1074
+ }) })
1075
+ ] });
1076
+ };
185
1077
  const PreviewProps = {
186
1078
  username: "John Doe",
187
1079
  email: "john.doe@example.com",
@@ -193,7 +1085,22 @@ const PreviewProps = {
193
1085
  SubscriptionPaymentErrorEN.PreviewProps = PreviewProps;
194
1086
  SubscriptionPaymentErrorFR.PreviewProps = PreviewProps;
195
1087
  SubscriptionPaymentErrorES.PreviewProps = PreviewProps;
1088
+ SubscriptionPaymentErrorRU.PreviewProps = PreviewProps;
1089
+ SubscriptionPaymentErrorJA.PreviewProps = PreviewProps;
1090
+ SubscriptionPaymentErrorKO.PreviewProps = PreviewProps;
1091
+ SubscriptionPaymentErrorZH.PreviewProps = PreviewProps;
1092
+ SubscriptionPaymentErrorDE.PreviewProps = PreviewProps;
1093
+ SubscriptionPaymentErrorAR.PreviewProps = PreviewProps;
1094
+ SubscriptionPaymentErrorIT.PreviewProps = PreviewProps;
1095
+ SubscriptionPaymentErrorEN_GB.PreviewProps = PreviewProps;
1096
+ SubscriptionPaymentErrorPT.PreviewProps = PreviewProps;
1097
+ SubscriptionPaymentErrorHI.PreviewProps = PreviewProps;
1098
+ SubscriptionPaymentErrorTR.PreviewProps = PreviewProps;
1099
+ SubscriptionPaymentErrorPL.PreviewProps = PreviewProps;
1100
+ SubscriptionPaymentErrorID.PreviewProps = PreviewProps;
1101
+ SubscriptionPaymentErrorVI.PreviewProps = PreviewProps;
1102
+ SubscriptionPaymentErrorUK.PreviewProps = PreviewProps;
196
1103
 
197
1104
  //#endregion
198
- export { SubscriptionPaymentErrorEN, SubscriptionPaymentErrorES, SubscriptionPaymentErrorFR };
1105
+ export { SubscriptionPaymentErrorAR, SubscriptionPaymentErrorDE, SubscriptionPaymentErrorEN, SubscriptionPaymentErrorEN_GB, SubscriptionPaymentErrorES, SubscriptionPaymentErrorFR, SubscriptionPaymentErrorHI, SubscriptionPaymentErrorID, SubscriptionPaymentErrorIT, SubscriptionPaymentErrorJA, SubscriptionPaymentErrorKO, SubscriptionPaymentErrorPL, SubscriptionPaymentErrorPT, SubscriptionPaymentErrorRU, SubscriptionPaymentErrorTR, SubscriptionPaymentErrorUK, SubscriptionPaymentErrorVI, SubscriptionPaymentErrorZH };
199
1106
  //# sourceMappingURL=SubscriptionPaymentError.mjs.map