promote-email-templates 0.0.19 → 0.1.0

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 (104) hide show
  1. package/.react-email/.eslintrc.js +52 -0
  2. package/.react-email/.prettierignore +3 -0
  3. package/.react-email/.prettierrc.js +8 -0
  4. package/.react-email/license.md +7 -0
  5. package/.react-email/next.config.js +36 -0
  6. package/.react-email/package.json +1 -0
  7. package/.react-email/postcss.config.js +8 -0
  8. package/.react-email/readme.md +44 -0
  9. package/.react-email/src/actions/get-email-path-from-slug.ts +26 -0
  10. package/.react-email/src/actions/get-emails-directory-metadata.spec.ts +73 -0
  11. package/.react-email/src/actions/get-emails-directory-metadata.ts +91 -0
  12. package/.react-email/src/actions/render-email-by-path.tsx +59 -0
  13. package/.react-email/src/app/favicon.ico +0 -0
  14. package/.react-email/src/app/globals.css +35 -0
  15. package/.react-email/src/app/inter.ts +7 -0
  16. package/.react-email/src/app/layout.tsx +36 -0
  17. package/.react-email/src/app/logo.png +0 -0
  18. package/.react-email/src/app/page.tsx +47 -0
  19. package/.react-email/src/app/preview/[...slug]/page.tsx +65 -0
  20. package/.react-email/src/app/preview/[...slug]/preview.tsx +141 -0
  21. package/.react-email/src/app/preview/[...slug]/rendering-error.tsx +40 -0
  22. package/.react-email/src/components/button.tsx +90 -0
  23. package/.react-email/src/components/code-container.tsx +145 -0
  24. package/.react-email/src/components/code.tsx +112 -0
  25. package/.react-email/src/components/heading.tsx +113 -0
  26. package/.react-email/src/components/icons/icon-arrow-down.tsx +16 -0
  27. package/.react-email/src/components/icons/icon-base.tsx +24 -0
  28. package/.react-email/src/components/icons/icon-button.tsx +23 -0
  29. package/.react-email/src/components/icons/icon-check.tsx +19 -0
  30. package/.react-email/src/components/icons/icon-clipboard.tsx +40 -0
  31. package/.react-email/src/components/icons/icon-download.tsx +19 -0
  32. package/.react-email/src/components/icons/icon-file.tsx +19 -0
  33. package/.react-email/src/components/icons/icon-folder-open.tsx +19 -0
  34. package/.react-email/src/components/icons/icon-folder.tsx +18 -0
  35. package/.react-email/src/components/icons/icon-hide-sidebar.tsx +23 -0
  36. package/.react-email/src/components/icons/icon-monitor.tsx +19 -0
  37. package/.react-email/src/components/icons/icon-phone.tsx +26 -0
  38. package/.react-email/src/components/icons/icon-source.tsx +19 -0
  39. package/.react-email/src/components/index.ts +7 -0
  40. package/.react-email/src/components/logo.tsx +64 -0
  41. package/.react-email/src/components/send.tsx +135 -0
  42. package/.react-email/src/components/shell.tsx +115 -0
  43. package/.react-email/src/components/sidebar/index.ts +1 -0
  44. package/.react-email/src/components/sidebar/sidebar-directory-children.tsx +134 -0
  45. package/.react-email/src/components/sidebar/sidebar-directory.tsx +106 -0
  46. package/.react-email/src/components/sidebar/sidebar.tsx +45 -0
  47. package/.react-email/src/components/text.tsx +99 -0
  48. package/.react-email/src/components/tooltip-content.tsx +32 -0
  49. package/.react-email/src/components/tooltip.tsx +19 -0
  50. package/.react-email/src/components/topbar.tsx +161 -0
  51. package/.react-email/src/contexts/emails.tsx +127 -0
  52. package/.react-email/src/hooks/use-hot-reload.ts +35 -0
  53. package/.react-email/src/hooks/use-rendering-metadata.ts +36 -0
  54. package/.react-email/src/utils/cn.ts +6 -0
  55. package/.react-email/src/utils/constants.ts +6 -0
  56. package/.react-email/src/utils/copy-text-to-clipboard.ts +7 -0
  57. package/.react-email/src/utils/emails-directory-absolute-path.ts +34 -0
  58. package/.react-email/src/utils/get-email-component.ts +108 -0
  59. package/.react-email/src/utils/improve-error-with-sourcemap.ts +55 -0
  60. package/.react-email/src/utils/index.ts +5 -0
  61. package/.react-email/src/utils/language-map.ts +7 -0
  62. package/.react-email/src/utils/static-node-modules-for-vm.ts +92 -0
  63. package/.react-email/src/utils/types/as.ts +26 -0
  64. package/.react-email/src/utils/types/email-template.ts +8 -0
  65. package/.react-email/src/utils/types/error-object.ts +11 -0
  66. package/.react-email/src/utils/types/hot-reload-change.ts +6 -0
  67. package/.react-email/src/utils/types/hot-reload-event.ts +6 -0
  68. package/.react-email/src/utils/unreachable.ts +8 -0
  69. package/.react-email/tailwind.config.ts +94 -0
  70. package/dist/index.d.mts +217 -83
  71. package/dist/index.d.ts +217 -83
  72. package/dist/index.js +362 -105
  73. package/dist/index.mjs +359 -105
  74. package/package.json +1 -1
  75. package/emails/admin/abort-order-request.tsx +0 -58
  76. package/emails/admin/index.ts +0 -2
  77. package/emails/admin/revert-payment-request-admin.tsx +0 -54
  78. package/emails/all/index.ts +0 -1
  79. package/emails/all/welcome.tsx +0 -104
  80. package/emails/brand/evidences-accepted-brand.tsx +0 -59
  81. package/emails/brand/evidences-submitted-brand.tsx +0 -65
  82. package/emails/brand/index.ts +0 -6
  83. package/emails/brand/new-order-created-brand.tsx +0 -74
  84. package/emails/brand/order-accepted-brand.tsx +0 -63
  85. package/emails/brand/order-cancelled-brand.tsx +0 -68
  86. package/emails/brand/order-rejected-brand.tsx +0 -79
  87. package/emails/creator/evidences-approved-creator.tsx +0 -62
  88. package/emails/creator/evidences-rejected-creator.tsx +0 -74
  89. package/emails/creator/index.ts +0 -5
  90. package/emails/creator/new-order-created-creator.tsx +0 -70
  91. package/emails/creator/order-cancelled-creator.tsx +0 -69
  92. package/emails/creator/order-payment-creator.tsx +0 -58
  93. package/emails/index.ts +0 -5
  94. package/emails/shared/components/base-head.tsx +0 -19
  95. package/emails/shared/components/comment-component.tsx +0 -32
  96. package/emails/shared/components/footer.tsx +0 -84
  97. package/emails/shared/components/header.tsx +0 -24
  98. package/emails/shared/components/new-order-info.tsx +0 -60
  99. package/emails/shared/components/payment-amount.tsx +0 -37
  100. package/emails/shared/components/user-Info.tsx +0 -55
  101. package/emails/shared/index.ts +0 -3
  102. package/emails/shared/styles.ts +0 -72
  103. package/emails/shared/types.ts +0 -179
  104. package/emails/shared/values.ts +0 -19
package/dist/index.js CHANGED
@@ -24,6 +24,9 @@ __export(emails_exports, {
24
24
  EvidenceApprovedCreator: () => EvidenceApprovedCreator,
25
25
  EvidencesRejectedCreator: () => EvidencesRejectedCreator,
26
26
  EvidencesSubmittedBrand: () => EvidencesSubmittedBrand,
27
+ NewJobApplicationUnapprovedCreator: () => NewJobApplicationUnapprovedCreator,
28
+ NewJobApplicationsReceivedBrand: () => NewJobApplicationsReceivedBrand,
29
+ NewJobCreatedBrand: () => NewJobCreatedBrand,
27
30
  NewOrderCreatedBrand: () => NewOrderCreatedBrand,
28
31
  NewOrderCreatedCreator: () => NewOrderCreatedCreator,
29
32
  OrderAcceptedBrand: () => OrderAcceptedBrand,
@@ -100,7 +103,7 @@ var button = {
100
103
  display: "block",
101
104
  color: colors.white,
102
105
  padding: "15px 20px",
103
- width: "auto",
106
+ width: "fit-content",
104
107
  borderRadius: "8px",
105
108
  justifyContent: "center",
106
109
  margin: "0 auto",
@@ -125,16 +128,19 @@ var import_components = require("@react-email/components");
125
128
 
126
129
  // emails/shared/values.ts
127
130
  var appBaseUrl = `https://promote.co.mz`;
128
- var assetsBasePath = `https://s3.us-east-2.amazonaws.com/promote-mz.com/assets`;
131
+ var assetsBasePath = `https://s3.us-east-2.amazonaws.com/promote-co-mz/assets`;
129
132
  var appRoutes = {
130
133
  homePageRoute: `${appBaseUrl}/home`,
131
134
  creatorsList: `${appBaseUrl}/content-creators`,
132
135
  creatorPrivateProfile: `${appBaseUrl}/content-creators/profile`,
133
136
  termsAndConditions: `${appBaseUrl}/terms-and-conditions`,
137
+ jobsList: `${appBaseUrl}/jobs`,
134
138
  creatorOrderDetails: (orderId) => `${appBaseUrl}/content-creators/profile/orders/${orderId}`,
135
139
  brandOrderDetails: (orderId) => `${appBaseUrl}/brands/orders/${orderId}`,
140
+ brandJobDetails: (jobId) => `${appBaseUrl}/brands/jobs/${jobId}`,
136
141
  adminOrderDetails: (orderId) => `${appBaseUrl}/admin/orders/${orderId}`,
137
- creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`
142
+ creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`,
143
+ brandConversation: (conversationPath, chatRoomId) => `${appBaseUrl}/${conversationPath}?chatRoomId=${chatRoomId}`
138
144
  };
139
145
  var socialNetworkLinks = {
140
146
  linkedin: "https://www.linkedin.com/company/promotemz",
@@ -434,7 +440,7 @@ var import_jsx_runtime9 = require("react/jsx-runtime");
434
440
  function EvidencesSubmittedBrand(props) {
435
441
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Html, { style: rootStyles, children: [
436
442
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(BaseHead, {}),
437
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Preview, { children: "Evid\xEAncias submetidas \u{1F195}" }),
443
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Preview, { children: "Materiais de Entrega submetidos \u{1F195}" }),
438
444
  /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_components9.Body, { style: { ...main, ...baseContainer }, children: [
439
445
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Header, {}),
440
446
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(UserInfo, { photo: props.creator.photo, name: props.creator.name, userType: "creator" /* CREATOR */, username: props.creator.username }),
@@ -449,19 +455,19 @@ function EvidencesSubmittedBrand(props) {
449
455
  " ",
450
456
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Link, { href: appRoutes.creatorPublicProfile(props.creator.username), target: "_blank", style: link, children: props.creator.name }),
451
457
  " ",
452
- "submeteu novas evid\xEAncias para o seu",
458
+ "submeteu novo material de entrega para o seu",
453
459
  " ",
454
460
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Link, { href: appRoutes.brandOrderDetails(props.order.id), target: "_blank", style: link, children: "pedido. \u{1F680}" }),
455
461
  " ",
456
462
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("br", {}),
457
- " Por favor, verifique as evid\xEAncias submetidas e ",
463
+ " Por favor, verifique os materiais de entrega submetidos e ",
458
464
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: "aprove \u2705" }),
459
465
  " ou ",
460
466
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("b", { children: "rejeite \u274C" }),
461
467
  " o trabalho."
462
468
  ] })
463
469
  ] }),
464
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER EVID\xCANCIAS" }) }),
470
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_components9.Link, { href: appRoutes.brandOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER MATERIAL" }) }),
465
471
  /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Footer, {})
466
472
  ] })
467
473
  ] });
@@ -492,7 +498,7 @@ var import_jsx_runtime10 = require("react/jsx-runtime");
492
498
  function NewOrderInfo(props) {
493
499
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Section, { children: [
494
500
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Row, { style: rowItem, children: [
495
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Column, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Text, { style: leftText, children: "Paconte:" }) }),
501
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Column, { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Text, { style: leftText, children: "Pacote:" }) }),
496
502
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Column, { align: "right", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_components10.Text, { style: rightText, children: props.packageName }) })
497
503
  ] }),
498
504
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_components10.Row, { style: rowItem, children: [
@@ -769,33 +775,166 @@ var reasonContainer2 = {
769
775
  margin: "30px 0"
770
776
  };
771
777
 
772
- // emails/creator/evidences-approved-creator.tsx
778
+ // emails/brand/new-job-created-brand.tsx
773
779
  var import_components16 = require("@react-email/components");
774
780
  var import_jsx_runtime16 = require("react/jsx-runtime");
775
- function EvidenceApprovedCreator(props) {
781
+ function NewJobCreatedBrand(props) {
776
782
  return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Html, { style: rootStyles, children: [
777
783
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(BaseHead, {}),
778
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Preview, { children: "Evid\xEAncia aprovada \u2705" }),
784
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Preview, { children: "Novo Job Publicado" }),
779
785
  /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Body, { style: { ...main, ...baseContainer }, children: [
780
786
  /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Header, {}),
781
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
782
787
  /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Container, { style: { ...baseContentContainer }, children: [
783
788
  /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Text, { style: baseText, children: [
789
+ "Ol\xE1, ",
790
+ props.brand.name,
791
+ ","
792
+ ] }),
793
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Text, { style: baseText, children: [
794
+ "Parab\xE9ns \u{1F389}, publicou com sucesso o novo job para a campanha ",
795
+ " ",
796
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("span", { style: link, children: [
797
+ props.campaign.name,
798
+ "."
799
+ ] }),
800
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("br", {}),
801
+ " Por favor, revise os detalhes abaixo \u{1F680}:"
802
+ ] })
803
+ ] }),
804
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Container, { style: jobDetails, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(NewOrderInfo, { orderCreatedAt: props.job.createdAt, packageName: props.campaign.name, packagePrice: props.job.jobCommission }) }),
805
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Link, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button, width: "120px" }, children: "VER JOB" }) }),
806
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Footer, {})
807
+ ] })
808
+ ] });
809
+ }
810
+ NewJobCreatedBrand.PreviewProps = {
811
+ brand: {
812
+ name: "Vodacom Mz"
813
+ },
814
+ campaign: {
815
+ name: "Megas ate dormir",
816
+ description: "Ganhe megas so por publicar uma foto com a vodacom"
817
+ },
818
+ job: {
819
+ id: "1",
820
+ createdAt: "20 de Agosto, 2021",
821
+ jobCommission: "1000"
822
+ }
823
+ };
824
+ var jobDetails = {
825
+ ...baseContentContainer,
826
+ marginTop: "30px",
827
+ marginBottom: "40px"
828
+ };
829
+
830
+ // emails/brand/new-job-application-received-brand.tsx
831
+ var import_components17 = require("@react-email/components");
832
+ var import_jsx_runtime17 = require("react/jsx-runtime");
833
+ function NewJobApplicationsReceivedBrand(props) {
834
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Html, { style: rootStyles, children: [
835
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BaseHead, {}),
836
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Preview, { children: "Nova Candidatura Recebida para o Job" }),
837
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Body, { style: { ...main, ...baseContainer }, children: [
838
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Header, {}),
839
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Container, { style: { ...baseContentContainer }, children: [
840
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
841
+ "Ol\xE1, ",
842
+ props.brand.name,
843
+ ","
844
+ ] }),
845
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
846
+ "Voc\xEA recebeu uma nova candidatura para o job da campanha",
847
+ " ",
848
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("span", { style: link, children: [
849
+ props.campaign.name,
850
+ "."
851
+ ] }),
852
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("br", {}),
853
+ " Revise os detalhes da candidatura abaixo \u{1F680}:"
854
+ ] })
855
+ ] }),
856
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
857
+ UserInfo,
858
+ {
859
+ photo: props.creatorCandidate.photo,
860
+ name: props.creatorCandidate.name,
861
+ userType: "creator" /* CREATOR */,
862
+ username: props.creatorCandidate.username
863
+ }
864
+ ),
865
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Container, { style: jobDetails2, children: [
866
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
867
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("strong", { children: "Or\xE7amento desejado:" }),
868
+ " ",
869
+ props.jobApplication.desired_budget ? `MZN ${props.jobApplication.desired_budget}` : "N\xE3o informado"
870
+ ] }),
871
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
872
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("strong", { children: "Observa\xE7\xF5es:" }),
873
+ " ",
874
+ props.jobApplication.observations || "Nenhuma observa\xE7\xE3o"
875
+ ] })
876
+ ] }),
877
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Link, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button }, children: "VER CANDIDATURA" }) }),
878
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Footer, {})
879
+ ] })
880
+ ] });
881
+ }
882
+ NewJobApplicationsReceivedBrand.PreviewProps = {
883
+ brand: {
884
+ name: "Vodacom Mz"
885
+ },
886
+ campaign: {
887
+ name: "Megas at\xE9 Dormir",
888
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
889
+ },
890
+ job: {
891
+ id: "1",
892
+ jobCommission: "1000"
893
+ },
894
+ jobApplication: {
895
+ id: "1",
896
+ desired_budget: 1500,
897
+ observations: "Gostaria de discutir mais sobre os requisitos da campanha."
898
+ },
899
+ creatorCandidate: {
900
+ name: "Jo\xE3o Silva",
901
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/creator-photo.jpg",
902
+ username: "joaosilva"
903
+ }
904
+ };
905
+ var jobDetails2 = {
906
+ ...baseContentContainer,
907
+ marginTop: "30px",
908
+ marginBottom: "40px"
909
+ };
910
+
911
+ // emails/creator/evidences-approved-creator.tsx
912
+ var import_components18 = require("@react-email/components");
913
+ var import_jsx_runtime18 = require("react/jsx-runtime");
914
+ function EvidenceApprovedCreator(props) {
915
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Html, { style: rootStyles, children: [
916
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(BaseHead, {}),
917
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Preview, { children: "Material de Entrega aprovado \u2705" }),
918
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Body, { style: { ...main, ...baseContainer }, children: [
919
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Header, {}),
920
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
921
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Container, { style: { ...baseContentContainer }, children: [
922
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
784
923
  "Ol\xE1, ",
785
924
  props.creator.name,
786
925
  " \u{1F38A},"
787
926
  ] }),
788
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_components16.Text, { style: baseText, children: [
789
- "Actualiza\xE7\xF5es, a",
927
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
928
+ "Actualiza\xE7\xF5es, o",
790
929
  " ",
791
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Link, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "evid\xEAncia" }),
930
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Link, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "material de entrega" }),
792
931
  " ",
793
- "que submeteste foi aprovada pela marca \u{1F389}."
932
+ "que submeteste foi aprovado pela marca \u{1F389}."
794
933
  ] }),
795
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Text, { style: baseText, children: "Aguarde pela aprova\xE7\xE3o total por parte da marca para receberes o pagamento. Se tiveres alguma d\xFAvida, n\xE3o hesites em contactar" })
934
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Text, { style: baseText, children: "Aguarde pela aprova\xE7\xE3o total por parte da marca para receberes o pagamento. Se tiveres alguma d\xFAvida, n\xE3o hesites em contactar" })
796
935
  ] }),
797
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_components16.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
798
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Footer, {})
936
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
937
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Footer, {})
799
938
  ] })
800
939
  ] });
801
940
  }
@@ -814,34 +953,34 @@ EvidenceApprovedCreator.PreviewProps = {
814
953
  };
815
954
 
816
955
  // emails/creator/evidences-rejected-creator.tsx
817
- var import_components17 = require("@react-email/components");
818
- var import_jsx_runtime17 = require("react/jsx-runtime");
956
+ var import_components19 = require("@react-email/components");
957
+ var import_jsx_runtime19 = require("react/jsx-runtime");
819
958
  function EvidencesRejectedCreator(props) {
820
- return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Html, { style: rootStyles, children: [
821
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(BaseHead, {}),
822
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Preview, { children: "Evi\xEAncia rejeitada \u274C" }),
823
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Body, { style: { ...main, ...baseContainer }, children: [
824
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Header, {}),
825
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
826
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Container, { style: { ...baseContentContainer }, children: [
827
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
959
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Html, { style: rootStyles, children: [
960
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BaseHead, {}),
961
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Preview, { children: "Evi\xEAncia rejeitada \u274C" }),
962
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Body, { style: { ...main, ...baseContainer }, children: [
963
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Header, {}),
964
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
965
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Container, { style: { ...baseContentContainer }, children: [
966
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
828
967
  "Ol\xE1, ",
829
968
  props.creator.name,
830
969
  ","
831
970
  ] }),
832
- /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_components17.Text, { style: baseText, children: [
833
- "A",
971
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
972
+ "O",
834
973
  " ",
835
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Link, { href: props.evidenceLink, target: "_blank", style: link, children: "evid\xEAncia" }),
974
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Link, { href: props.evidenceLink, target: "_blank", style: link, children: "material de entrega" }),
836
975
  " ",
837
976
  "foi rejeitada \u274C pela marca.",
838
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("br", {}),
977
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("br", {}),
839
978
  "Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
840
979
  ] })
841
980
  ] }),
842
- props.reason && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { style: reasonContainer3, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
843
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_components17.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
844
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Footer, {})
981
+ props.reason && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { style: reasonContainer3, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
982
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
983
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Footer, {})
845
984
  ] })
846
985
  ] });
847
986
  }
@@ -866,37 +1005,37 @@ var reasonContainer3 = {
866
1005
  };
867
1006
 
868
1007
  // emails/creator/order-cancelled-creator.tsx
869
- var import_components18 = require("@react-email/components");
870
- var import_jsx_runtime18 = require("react/jsx-runtime");
1008
+ var import_components20 = require("@react-email/components");
1009
+ var import_jsx_runtime20 = require("react/jsx-runtime");
871
1010
  function OrderCancelledCreator(props) {
872
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Html, { style: rootStyles, children: [
873
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(BaseHead, {}),
874
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Preview, { children: "Pedido cancelado \u274C" }),
875
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Body, { style: { ...main, ...baseContainer }, children: [
876
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Header, {}),
877
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
878
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Container, { style: { ...baseContentContainer }, children: [
879
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
1011
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Html, { style: rootStyles, children: [
1012
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(BaseHead, {}),
1013
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Preview, { children: "Pedido cancelado \u274C" }),
1014
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Body, { style: { ...main, ...baseContainer }, children: [
1015
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Header, {}),
1016
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
1017
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Container, { style: { ...baseContentContainer }, children: [
1018
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
880
1019
  "Ol\xE1, ",
881
1020
  props.creator.name,
882
1021
  ","
883
1022
  ] }),
884
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Text, { style: baseText, children: [
1023
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
885
1024
  "Infelizmente o",
886
1025
  " ",
887
- /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_components18.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
1026
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
888
1027
  "pedido #",
889
1028
  props.order.id
890
1029
  ] }),
891
1030
  " ",
892
1031
  "foi cancelado \u274C antes da sua conclus\xE3o.",
893
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("br", {}),
1032
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("br", {}),
894
1033
  "Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
895
1034
  ] })
896
1035
  ] }),
897
- props.reason && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { style: reasonContainer4, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
898
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_components18.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
899
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Footer, {})
1036
+ props.reason && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { style: reasonContainer4, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
1037
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
1038
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Footer, {})
900
1039
  ] })
901
1040
  ] });
902
1041
  }
@@ -916,35 +1055,35 @@ var reasonContainer4 = {
916
1055
  };
917
1056
 
918
1057
  // emails/creator/order-payment-creator.tsx
919
- var import_components19 = require("@react-email/components");
920
- var import_jsx_runtime19 = require("react/jsx-runtime");
1058
+ var import_components21 = require("@react-email/components");
1059
+ var import_jsx_runtime21 = require("react/jsx-runtime");
921
1060
  function OrderPaymentCreator(props) {
922
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Html, { style: rootStyles, children: [
923
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(BaseHead, {}),
924
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Preview, { children: "Pagamento Liberado \u2705" }),
925
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Body, { style: { ...main, ...baseContainer }, children: [
926
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Header, {}),
927
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
928
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Container, { style: { ...baseContentContainer }, children: [
929
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
1061
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Html, { style: rootStyles, children: [
1062
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(BaseHead, {}),
1063
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Preview, { children: "Pagamento Liberado \u2705" }),
1064
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Body, { style: { ...main, ...baseContainer }, children: [
1065
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Header, {}),
1066
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
1067
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Container, { style: { ...baseContentContainer }, children: [
1068
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Text, { style: baseText, children: [
930
1069
  "Ol\xE1, ",
931
1070
  props.creator.name,
932
1071
  " \u{1F38A},"
933
1072
  ] }),
934
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Text, { style: baseText, children: [
1073
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Text, { style: baseText, children: [
935
1074
  "Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
936
1075
  " ",
937
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_components19.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
1076
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Link, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
938
1077
  "ordem #",
939
1078
  props.order.id
940
1079
  ] }),
941
1080
  " "
942
1081
  ] }),
943
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Text, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
1082
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Text, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
944
1083
  ] }),
945
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(PaymentAmount, { totalAmount: props.totalAmount }),
946
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_components19.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
947
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Footer, {})
1084
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(PaymentAmount, { totalAmount: props.totalAmount }),
1085
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Container, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
1086
+ /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Footer, {})
948
1087
  ] })
949
1088
  ] });
950
1089
  }
@@ -959,32 +1098,32 @@ OrderPaymentCreator.PreviewProps = {
959
1098
  };
960
1099
 
961
1100
  // emails/creator/new-order-created-creator.tsx
962
- var import_components20 = require("@react-email/components");
963
- var import_jsx_runtime20 = require("react/jsx-runtime");
1101
+ var import_components22 = require("@react-email/components");
1102
+ var import_jsx_runtime22 = require("react/jsx-runtime");
964
1103
  function NewOrderCreatedCreator(props) {
965
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Html, { style: rootStyles, children: [
966
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(BaseHead, {}),
967
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Preview, { children: "Novo Pedido Recebido" }),
968
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Body, { style: { ...main, ...baseContainer }, children: [
969
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Header, {}),
970
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
971
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Container, { style: { ...baseContentContainer }, children: [
972
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
1104
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Html, { style: rootStyles, children: [
1105
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(BaseHead, {}),
1106
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Preview, { children: "Novo Pedido Recebido" }),
1107
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Body, { style: { ...main, ...baseContainer }, children: [
1108
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Header, {}),
1109
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
1110
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Container, { style: { ...baseContentContainer }, children: [
1111
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Text, { style: baseText, children: [
973
1112
  "Ol\xE1, ",
974
1113
  props.creator.name,
975
1114
  ","
976
1115
  ] }),
977
- /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(import_components20.Text, { style: baseText, children: [
1116
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(import_components22.Text, { style: baseText, children: [
978
1117
  "Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
979
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("span", { style: { color: colors.primary }, children: props.brand.name }),
1118
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("span", { style: { color: colors.primary }, children: props.brand.name }),
980
1119
  ".",
981
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("br", {}),
1120
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("br", {}),
982
1121
  " Por favor, revise os detalhes abaixo \u{1F680}:"
983
1122
  ] })
984
1123
  ] }),
985
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Container, { style: orderDetails2, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
986
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_components20.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
987
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Footer, {})
1124
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Container, { style: orderDetails2, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
1125
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_components22.Link, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
1126
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Footer, {})
988
1127
  ] })
989
1128
  ] });
990
1129
  }
@@ -1011,51 +1150,112 @@ var orderDetails2 = {
1011
1150
  marginBottom: "40px"
1012
1151
  };
1013
1152
 
1153
+ // emails/creator/new-job-application-unapproved-creator.tsx
1154
+ var import_components23 = require("@react-email/components");
1155
+ var import_jsx_runtime23 = require("react/jsx-runtime");
1156
+ function NewJobApplicationUnapprovedCreator(props) {
1157
+ return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Html, { style: rootStyles, children: [
1158
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(BaseHead, {}),
1159
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Preview, { children: "Actualiza\xE7\xE3o sobre sua candidatura ao job" }),
1160
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Body, { style: { ...main, ...baseContainer }, children: [
1161
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Header, {}),
1162
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Container, { style: { ...baseContentContainer }, children: [
1163
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Text, { style: baseText2, children: [
1164
+ "Ol\xE1, ",
1165
+ props.creator.name,
1166
+ ","
1167
+ ] }),
1168
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Text, { style: baseText2, children: [
1169
+ "Infelizmente, sua candidatura para o job da campanha",
1170
+ " ",
1171
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { style: link, children: props.campaign.name }),
1172
+ " n\xE3o foi aprovada.",
1173
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("br", {}),
1174
+ "Agradecemos por seu interesse e participa\xE7\xE3o!"
1175
+ ] }),
1176
+ props.jobApplication.rejectionReason && /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(import_components23.Text, { style: baseText2, children: [
1177
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("strong", { children: "Motivo:" }),
1178
+ " ",
1179
+ props.jobApplication.rejectionReason
1180
+ ] }),
1181
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Text, { style: baseText2, children: "N\xE3o desanime! Continue acompanhando outras oportunidades que possam surgir na plataforma. \u{1F680}" })
1182
+ ] }),
1183
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_components23.Link, { href: appRoutes.jobsList, style: { ...button }, children: "VER OUTRAS OPORTUNIDADES" }) }),
1184
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(Footer, {})
1185
+ ] })
1186
+ ] });
1187
+ }
1188
+ NewJobApplicationUnapprovedCreator.PreviewProps = {
1189
+ creator: {
1190
+ name: "K\xE1tia Vanessa",
1191
+ email: "katia@example.com"
1192
+ },
1193
+ campaign: {
1194
+ name: "Megas at\xE9 Dormir",
1195
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
1196
+ },
1197
+ jobApplication: {
1198
+ id: "1",
1199
+ rejectionReason: "N\xE3o atingiu os requisitos esperados para o job."
1200
+ }
1201
+ };
1202
+ var baseText2 = {
1203
+ fontSize: "16px",
1204
+ lineHeight: "24px",
1205
+ color: "#333"
1206
+ };
1207
+
1014
1208
  // emails/all/welcome.tsx
1015
- var import_components21 = require("@react-email/components");
1016
- var import_jsx_runtime21 = require("react/jsx-runtime");
1209
+ var import_components24 = require("@react-email/components");
1210
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1017
1211
  function Welcome({ name, userType }) {
1018
1212
  const content2 = {
1019
1213
  ["brand" /* BRAND */]: {
1020
1214
  startLink: appRoutes.creatorsList,
1021
- description: " Obrigado por se registrar. Estamos muito felizes por t\xEA-lo a bordo. Explore nossa plataforma e descubra os melhores influenciadores e criadores de conte\xFAdo para suas necessidades de marketing."
1215
+ description: `Agora fazes parte da Promote, a primeira plataforma de Conte\xFAdo Gerado pelo Usu\xE1rio (UGC) em Mo\xE7ambique.
1216
+ Como Marca, podes conectar-te com criadores e escolher os que melhor se alinham \xE0 tua vis\xE3o para criar o conte\xFAdo ideal.
1217
+
1218
+ Agradecemos pelo teu registo e vamos manter-te informado sobre atualiza\xE7\xF5es e o lan\xE7amento oficial.`
1022
1219
  },
1023
1220
  ["creator" /* CREATOR */]: {
1024
1221
  startLink: appRoutes.creatorPrivateProfile,
1025
- description: " Obrigado por se registrar. Estamos muito felizes por t\xEA-lo a bordo. Explore nossa plataforma e descubra as melhores marcas para colaborar."
1222
+ description: `Parab\xE9ns! Agora fazes parte da Promote, a primeira plataforma de Conte\xFAdo Gerado pelo Usu\xE1rio (UGC) em Mo\xE7ambique.
1223
+ Como Criador, vais poder conectar-te com marcas e ag\xEAncias, mostrar o teu talento e candidatar-te a diversos projectos.
1224
+
1225
+ Agradecemos pelo teu registo e vamos manter-te informado sobre novidades e o lan\xE7amento oficial.`
1026
1226
  }
1027
1227
  };
1028
- return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Html, { style: rootStyles, children: [
1029
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(BaseHead, {}),
1030
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Preview, { children: "Bem-vindo a Promote" }),
1031
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Body, { style: { ...main, ...baseContainer }, children: [
1032
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Container, { style: headContainer, children: [
1033
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Img, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
1034
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Img, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Promote Logo", style: welcomeImage })
1228
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Html, { style: rootStyles, children: [
1229
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(BaseHead, {}),
1230
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Preview, { children: "Bem-vindo \xE0 Promote" }),
1231
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Body, { style: { ...main, ...baseContainer }, children: [
1232
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Container, { style: headContainer, children: [
1233
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Img, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
1234
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Img, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Bem-vindo \xE0 Promote", style: welcomeImage })
1035
1235
  ] }),
1036
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Container, { style: baseContentContainer, children: [
1037
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Heading, { as: "h1", style: title3, children: [
1236
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Container, { style: baseContentContainer, children: [
1237
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Heading, { as: "h1", style: title3, children: [
1038
1238
  "Ol\xE1 ",
1039
1239
  name || "{{nome}}",
1040
1240
  " \u{1F389},"
1041
1241
  ] }),
1042
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Text, { style: textInfo, children: content2[userType]?.description }),
1043
- /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(import_components21.Text, { style: textInfo, children: [
1044
- "Em caso de qualquer d\xFAvida, entre em conctato connosco atrav\xE9s do e-mail:",
1242
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Text, { style: textInfo, children: content2[userType]?.description }),
1243
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_components24.Text, { style: textInfo, children: [
1244
+ "Se tiveres alguma d\xFAvida ou sugest\xE3o, n\xE3o hesites em contactar-nos atrav\xE9s do e-mail:",
1045
1245
  " ",
1046
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Link, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
1246
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Link, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
1047
1247
  " ",
1048
1248
  "\u{1F680}"
1049
1249
  ] })
1050
1250
  ] }),
1051
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Container, { style: baseContentContainer, children: userType && /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_components21.Link, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
1052
- /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(Footer, {})
1251
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Container, { style: baseContentContainer, children: userType && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_components24.Link, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
1252
+ /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(Footer, {})
1053
1253
  ] })
1054
1254
  ] });
1055
1255
  }
1056
1256
  Welcome.PreviewProps = {
1057
- name: "Jo\xE3o ant\xF3nio",
1058
- userType: "brand" /* BRAND */
1257
+ name: "Jo\xE3o Ant\xF3nio",
1258
+ userType: "creator" /* CREATOR */
1059
1259
  };
1060
1260
  var headContainer = {
1061
1261
  ...baseContentContainer,
@@ -1087,14 +1287,71 @@ var title3 = {
1087
1287
  var textInfo = {
1088
1288
  ...baseText,
1089
1289
  marginTop: "20px",
1290
+ marginBottom: "20px",
1291
+ textAlign: "justify",
1292
+ whiteSpace: "pre-line"
1293
+ };
1294
+
1295
+ // emails/all/new-message-notification.tsx
1296
+ var import_components25 = require("@react-email/components");
1297
+ var import_jsx_runtime25 = require("react/jsx-runtime");
1298
+ function NewMessageNotification(props) {
1299
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Html, { style: rootStyles, children: [
1300
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(BaseHead, {}),
1301
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Preview, { children: "Nova mensagem recebida \u{1F195}" }),
1302
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Body, { style: { ...main, ...baseContainer }, children: [
1303
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Header, {}),
1304
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(UserInfo, { photo: props.sender.photo, name: props.sender.name, userType: props.sender.userType, username: props.sender.username }),
1305
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Container, { style: { ...baseContentContainer }, children: [
1306
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Text, { style: baseText, children: [
1307
+ "Ol\xE1, ",
1308
+ props.recipient.name,
1309
+ ","
1310
+ ] }),
1311
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(import_components25.Text, { style: baseText, children: [
1312
+ "Voc\xEA recebeu uma nova mensagem de ",
1313
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { style: link, children: props.sender.name }),
1314
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("br", {}),
1315
+ " Veja o conte\xFAdo da mensagem abaixo:"
1316
+ ] })
1317
+ ] }),
1318
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Container, { style: messageContainer, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(CommentComponent, { title: `Mensagem enviada em ${props.message.createdAt}:`, comment: props.message.content }) }),
1319
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Container, { style: { ...baseContentContainer }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_components25.Link, { href: `${appRoutes.brandConversation(props.conversationPath, props.chatRoomId)}`, style: { ...button, width: "150px" }, children: "VER CONVERSA" }) }),
1320
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(Footer, {})
1321
+ ] })
1322
+ ] });
1323
+ }
1324
+ var messageContainer = {
1325
+ ...baseContentContainer,
1326
+ marginTop: "20px",
1090
1327
  marginBottom: "20px"
1091
1328
  };
1329
+ NewMessageNotification.PreviewProps = {
1330
+ recipient: {
1331
+ name: "Jo\xE3o Ant\xF3nio"
1332
+ },
1333
+ sender: {
1334
+ name: "Promote",
1335
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg",
1336
+ userType: "brand" /* BRAND */,
1337
+ username: "promote"
1338
+ },
1339
+ message: {
1340
+ content: "Ol\xE1, Jo\xE3o Ant\xF3nio, tudo bem? Estou a ver a sua proposta e gostaria de saber se poderia me enviar mais informa\xE7\xF5es sobre o projeto.",
1341
+ createdAt: "10 Janeiro de 2025 \xE0s 14:30"
1342
+ },
1343
+ conversationPath: "/conversations",
1344
+ chatRoomId: "123"
1345
+ };
1092
1346
  // Annotate the CommonJS export names for ESM import in node:
1093
1347
  0 && (module.exports = {
1094
1348
  AbortOrderRequest,
1095
1349
  EvidenceApprovedCreator,
1096
1350
  EvidencesRejectedCreator,
1097
1351
  EvidencesSubmittedBrand,
1352
+ NewJobApplicationUnapprovedCreator,
1353
+ NewJobApplicationsReceivedBrand,
1354
+ NewJobCreatedBrand,
1098
1355
  NewOrderCreatedBrand,
1099
1356
  NewOrderCreatedCreator,
1100
1357
  OrderAcceptedBrand,