promote-email-templates 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -46,7 +46,7 @@ var button = {
46
46
  display: "block",
47
47
  color: colors.white,
48
48
  padding: "15px 20px",
49
- width: "auto",
49
+ width: "fit-content",
50
50
  borderRadius: "8px",
51
51
  justifyContent: "center",
52
52
  margin: "0 auto",
@@ -77,8 +77,10 @@ var appRoutes = {
77
77
  creatorsList: `${appBaseUrl}/content-creators`,
78
78
  creatorPrivateProfile: `${appBaseUrl}/content-creators/profile`,
79
79
  termsAndConditions: `${appBaseUrl}/terms-and-conditions`,
80
+ jobsList: `${appBaseUrl}/jobs`,
80
81
  creatorOrderDetails: (orderId) => `${appBaseUrl}/content-creators/profile/orders/${orderId}`,
81
82
  brandOrderDetails: (orderId) => `${appBaseUrl}/brands/orders/${orderId}`,
83
+ brandJobDetails: (jobId) => `${appBaseUrl}/brands/jobs/${jobId}`,
82
84
  adminOrderDetails: (orderId) => `${appBaseUrl}/admin/orders/${orderId}`,
83
85
  creatorPublicProfile: (username) => `${appBaseUrl}/content-creators/${username}`
84
86
  };
@@ -438,7 +440,7 @@ import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
438
440
  function NewOrderInfo(props) {
439
441
  return /* @__PURE__ */ jsxs8(Section2, { children: [
440
442
  /* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
441
- /* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Paconte:" }) }),
443
+ /* @__PURE__ */ jsx10(Column2, { children: /* @__PURE__ */ jsx10(Text8, { style: leftText, children: "Pacote:" }) }),
442
444
  /* @__PURE__ */ jsx10(Column2, { align: "right", children: /* @__PURE__ */ jsx10(Text8, { style: rightText, children: props.packageName }) })
443
445
  ] }),
444
446
  /* @__PURE__ */ jsxs8(Row2, { style: rowItem, children: [
@@ -715,33 +717,167 @@ var reasonContainer2 = {
715
717
  margin: "30px 0"
716
718
  };
717
719
 
718
- // emails/creator/evidences-approved-creator.tsx
720
+ // emails/brand/new-job-created-brand.tsx
719
721
  import { Body as Body9, Container as Container14, Html as Html9, Link as Link12, Preview as Preview9, Text as Text14 } from "@react-email/components";
720
722
  import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
721
- function EvidenceApprovedCreator(props) {
723
+ function NewJobCreatedBrand(props) {
722
724
  return /* @__PURE__ */ jsxs14(Html9, { style: rootStyles, children: [
723
725
  /* @__PURE__ */ jsx16(BaseHead, {}),
724
- /* @__PURE__ */ jsx16(Preview9, { children: "Evid\xEAncia aprovada \u2705" }),
726
+ /* @__PURE__ */ jsx16(Preview9, { children: "Novo Job Publicado" }),
725
727
  /* @__PURE__ */ jsxs14(Body9, { style: { ...main, ...baseContainer }, children: [
726
728
  /* @__PURE__ */ jsx16(Header, {}),
727
- /* @__PURE__ */ jsx16(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
728
729
  /* @__PURE__ */ jsxs14(Container14, { style: { ...baseContentContainer }, children: [
729
730
  /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
731
+ "Ol\xE1, ",
732
+ props.brand.name,
733
+ ","
734
+ ] }),
735
+ /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
736
+ "Parab\xE9ns \u{1F389}, publicou com sucesso o novo job para a campanha ",
737
+ " ",
738
+ /* @__PURE__ */ jsxs14("span", { style: link, children: [
739
+ props.campaign.name,
740
+ "."
741
+ ] }),
742
+ /* @__PURE__ */ jsx16("br", {}),
743
+ " Por favor, revise os detalhes abaixo \u{1F680}:"
744
+ ] })
745
+ ] }),
746
+ /* @__PURE__ */ jsx16(Container14, { style: jobDetails, children: /* @__PURE__ */ jsx16(NewOrderInfo, { orderCreatedAt: props.job.createdAt, packageName: props.campaign.name, packagePrice: props.job.jobCommission }) }),
747
+ /* @__PURE__ */ jsx16(Container14, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx16(Link12, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button, width: "120px" }, children: "VER JOB" }) }),
748
+ /* @__PURE__ */ jsx16(Footer, {})
749
+ ] })
750
+ ] });
751
+ }
752
+ NewJobCreatedBrand.PreviewProps = {
753
+ brand: {
754
+ name: "Vodacom Mz"
755
+ },
756
+ campaign: {
757
+ name: "Megas ate dormir",
758
+ description: "Ganhe megas so por publicar uma foto com a vodacom",
759
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/8c52bb92-4a8b-472f-89cb-0428b90b8b74.jpg"
760
+ },
761
+ job: {
762
+ id: "1",
763
+ createdAt: "20 de Agosto, 2021",
764
+ jobCommission: "1000"
765
+ }
766
+ };
767
+ var jobDetails = {
768
+ ...baseContentContainer,
769
+ marginTop: "30px",
770
+ marginBottom: "40px"
771
+ };
772
+
773
+ // emails/brand/new-job-application-received-brand.tsx
774
+ import { Body as Body10, Container as Container15, Html as Html10, Link as Link13, Preview as Preview10, Text as Text15 } from "@react-email/components";
775
+ import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
776
+ function NewJobApplicationsReceivedBrand(props) {
777
+ return /* @__PURE__ */ jsxs15(Html10, { style: rootStyles, children: [
778
+ /* @__PURE__ */ jsx17(BaseHead, {}),
779
+ /* @__PURE__ */ jsx17(Preview10, { children: "Nova Candidatura Recebida para o Job" }),
780
+ /* @__PURE__ */ jsxs15(Body10, { style: { ...main, ...baseContainer }, children: [
781
+ /* @__PURE__ */ jsx17(Header, {}),
782
+ /* @__PURE__ */ jsxs15(Container15, { style: { ...baseContentContainer }, children: [
783
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
784
+ "Ol\xE1, ",
785
+ props.brand.name,
786
+ ","
787
+ ] }),
788
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
789
+ "Voc\xEA recebeu uma nova candidatura para o job da campanha",
790
+ " ",
791
+ /* @__PURE__ */ jsxs15("span", { style: link, children: [
792
+ props.campaign.name,
793
+ "."
794
+ ] }),
795
+ /* @__PURE__ */ jsx17("br", {}),
796
+ " Revise os detalhes da candidatura abaixo \u{1F680}:"
797
+ ] })
798
+ ] }),
799
+ /* @__PURE__ */ jsx17(
800
+ UserInfo,
801
+ {
802
+ photo: props.creatorCandidate.photo,
803
+ name: props.creatorCandidate.name,
804
+ userType: "creator" /* CREATOR */,
805
+ username: props.creatorCandidate.username
806
+ }
807
+ ),
808
+ /* @__PURE__ */ jsxs15(Container15, { style: jobDetails2, children: [
809
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
810
+ /* @__PURE__ */ jsx17("strong", { children: "Or\xE7amento desejado:" }),
811
+ " ",
812
+ props.jobApplication.desired_budget ? `MZN ${props.jobApplication.desired_budget}` : "N\xE3o informado"
813
+ ] }),
814
+ /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
815
+ /* @__PURE__ */ jsx17("strong", { children: "Observa\xE7\xF5es:" }),
816
+ " ",
817
+ props.jobApplication.observations || "Nenhuma observa\xE7\xE3o"
818
+ ] })
819
+ ] }),
820
+ /* @__PURE__ */ jsx17(Container15, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx17(Link13, { href: appRoutes.brandJobDetails(props.job.id), style: { ...button }, children: "VER CANDIDATURA" }) }),
821
+ /* @__PURE__ */ jsx17(Footer, {})
822
+ ] })
823
+ ] });
824
+ }
825
+ NewJobApplicationsReceivedBrand.PreviewProps = {
826
+ brand: {
827
+ name: "Vodacom Mz"
828
+ },
829
+ campaign: {
830
+ name: "Megas at\xE9 Dormir",
831
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
832
+ },
833
+ job: {
834
+ id: "1",
835
+ jobCommission: "1000"
836
+ },
837
+ jobApplication: {
838
+ id: "1",
839
+ desired_budget: 1500,
840
+ observations: "Gostaria de discutir mais sobre os requisitos da campanha."
841
+ },
842
+ creatorCandidate: {
843
+ name: "Jo\xE3o Silva",
844
+ photo: "https://s3.us-east-2.amazonaws.com/promote-mz.com/images/creator-photo.jpg",
845
+ username: "joaosilva"
846
+ }
847
+ };
848
+ var jobDetails2 = {
849
+ ...baseContentContainer,
850
+ marginTop: "30px",
851
+ marginBottom: "40px"
852
+ };
853
+
854
+ // emails/creator/evidences-approved-creator.tsx
855
+ import { Body as Body11, Container as Container16, Html as Html11, Link as Link14, Preview as Preview11, Text as Text16 } from "@react-email/components";
856
+ import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
857
+ function EvidenceApprovedCreator(props) {
858
+ return /* @__PURE__ */ jsxs16(Html11, { style: rootStyles, children: [
859
+ /* @__PURE__ */ jsx18(BaseHead, {}),
860
+ /* @__PURE__ */ jsx18(Preview11, { children: "Evid\xEAncia aprovada \u2705" }),
861
+ /* @__PURE__ */ jsxs16(Body11, { style: { ...main, ...baseContainer }, children: [
862
+ /* @__PURE__ */ jsx18(Header, {}),
863
+ /* @__PURE__ */ jsx18(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
864
+ /* @__PURE__ */ jsxs16(Container16, { style: { ...baseContentContainer }, children: [
865
+ /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
730
866
  "Ol\xE1, ",
731
867
  props.creator.name,
732
868
  " \u{1F38A},"
733
869
  ] }),
734
- /* @__PURE__ */ jsxs14(Text14, { style: baseText, children: [
870
+ /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
735
871
  "Actualiza\xE7\xF5es, a",
736
872
  " ",
737
- /* @__PURE__ */ jsx16(Link12, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "evid\xEAncia" }),
873
+ /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.evidenceLink), target: "_blank", style: link, children: "evid\xEAncia" }),
738
874
  " ",
739
875
  "que submeteste foi aprovada pela marca \u{1F389}."
740
876
  ] }),
741
- /* @__PURE__ */ jsx16(Text14, { 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" })
877
+ /* @__PURE__ */ jsx18(Text16, { 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" })
742
878
  ] }),
743
- /* @__PURE__ */ jsx16(Container14, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx16(Link12, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
744
- /* @__PURE__ */ jsx16(Footer, {})
879
+ /* @__PURE__ */ jsx18(Container16, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
880
+ /* @__PURE__ */ jsx18(Footer, {})
745
881
  ] })
746
882
  ] });
747
883
  }
@@ -760,34 +896,34 @@ EvidenceApprovedCreator.PreviewProps = {
760
896
  };
761
897
 
762
898
  // emails/creator/evidences-rejected-creator.tsx
763
- import { Body as Body10, Container as Container15, Html as Html10, Link as Link13, Preview as Preview10, Text as Text15 } from "@react-email/components";
764
- import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
899
+ import { Body as Body12, Container as Container17, Html as Html12, Link as Link15, Preview as Preview12, Text as Text17 } from "@react-email/components";
900
+ import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
765
901
  function EvidencesRejectedCreator(props) {
766
- return /* @__PURE__ */ jsxs15(Html10, { style: rootStyles, children: [
767
- /* @__PURE__ */ jsx17(BaseHead, {}),
768
- /* @__PURE__ */ jsx17(Preview10, { children: "Evi\xEAncia rejeitada \u274C" }),
769
- /* @__PURE__ */ jsxs15(Body10, { style: { ...main, ...baseContainer }, children: [
770
- /* @__PURE__ */ jsx17(Header, {}),
771
- /* @__PURE__ */ jsx17(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
772
- /* @__PURE__ */ jsxs15(Container15, { style: { ...baseContentContainer }, children: [
773
- /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
902
+ return /* @__PURE__ */ jsxs17(Html12, { style: rootStyles, children: [
903
+ /* @__PURE__ */ jsx19(BaseHead, {}),
904
+ /* @__PURE__ */ jsx19(Preview12, { children: "Evi\xEAncia rejeitada \u274C" }),
905
+ /* @__PURE__ */ jsxs17(Body12, { style: { ...main, ...baseContainer }, children: [
906
+ /* @__PURE__ */ jsx19(Header, {}),
907
+ /* @__PURE__ */ jsx19(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
908
+ /* @__PURE__ */ jsxs17(Container17, { style: { ...baseContentContainer }, children: [
909
+ /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
774
910
  "Ol\xE1, ",
775
911
  props.creator.name,
776
912
  ","
777
913
  ] }),
778
- /* @__PURE__ */ jsxs15(Text15, { style: baseText, children: [
914
+ /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
779
915
  "A",
780
916
  " ",
781
- /* @__PURE__ */ jsx17(Link13, { href: props.evidenceLink, target: "_blank", style: link, children: "evid\xEAncia" }),
917
+ /* @__PURE__ */ jsx19(Link15, { href: props.evidenceLink, target: "_blank", style: link, children: "evid\xEAncia" }),
782
918
  " ",
783
919
  "foi rejeitada \u274C pela marca.",
784
- /* @__PURE__ */ jsx17("br", {}),
920
+ /* @__PURE__ */ jsx19("br", {}),
785
921
  "Por favor, reveja o motivo da rejei\xE7\xE3o e submeta novamente."
786
922
  ] })
787
923
  ] }),
788
- props.reason && /* @__PURE__ */ jsx17("div", { style: reasonContainer3, children: /* @__PURE__ */ jsx17(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
789
- /* @__PURE__ */ jsx17(Container15, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx17(Link13, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
790
- /* @__PURE__ */ jsx17(Footer, {})
924
+ props.reason && /* @__PURE__ */ jsx19("div", { style: reasonContainer3, children: /* @__PURE__ */ jsx19(CommentComponent, { title: "Motivo da rejei\xE7\xE3o:", comment: props.reason, danger: true }) }),
925
+ /* @__PURE__ */ jsx19(Container17, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "200px" }, children: "VER PEDIDO" }) }),
926
+ /* @__PURE__ */ jsx19(Footer, {})
791
927
  ] })
792
928
  ] });
793
929
  }
@@ -812,37 +948,37 @@ var reasonContainer3 = {
812
948
  };
813
949
 
814
950
  // emails/creator/order-cancelled-creator.tsx
815
- import { Body as Body11, Container as Container16, Html as Html11, Link as Link14, Preview as Preview11, Text as Text16 } from "@react-email/components";
816
- import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
951
+ import { Body as Body13, Container as Container18, Html as Html13, Link as Link16, Preview as Preview13, Text as Text18 } from "@react-email/components";
952
+ import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
817
953
  function OrderCancelledCreator(props) {
818
- return /* @__PURE__ */ jsxs16(Html11, { style: rootStyles, children: [
819
- /* @__PURE__ */ jsx18(BaseHead, {}),
820
- /* @__PURE__ */ jsx18(Preview11, { children: "Pedido cancelado \u274C" }),
821
- /* @__PURE__ */ jsxs16(Body11, { style: { ...main, ...baseContainer }, children: [
822
- /* @__PURE__ */ jsx18(Header, {}),
823
- /* @__PURE__ */ jsx18(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
824
- /* @__PURE__ */ jsxs16(Container16, { style: { ...baseContentContainer }, children: [
825
- /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
954
+ return /* @__PURE__ */ jsxs18(Html13, { style: rootStyles, children: [
955
+ /* @__PURE__ */ jsx20(BaseHead, {}),
956
+ /* @__PURE__ */ jsx20(Preview13, { children: "Pedido cancelado \u274C" }),
957
+ /* @__PURE__ */ jsxs18(Body13, { style: { ...main, ...baseContainer }, children: [
958
+ /* @__PURE__ */ jsx20(Header, {}),
959
+ /* @__PURE__ */ jsx20(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
960
+ /* @__PURE__ */ jsxs18(Container18, { style: { ...baseContentContainer }, children: [
961
+ /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
826
962
  "Ol\xE1, ",
827
963
  props.creator.name,
828
964
  ","
829
965
  ] }),
830
- /* @__PURE__ */ jsxs16(Text16, { style: baseText, children: [
966
+ /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
831
967
  "Infelizmente o",
832
968
  " ",
833
- /* @__PURE__ */ jsxs16(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
969
+ /* @__PURE__ */ jsxs18(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
834
970
  "pedido #",
835
971
  props.order.id
836
972
  ] }),
837
973
  " ",
838
974
  "foi cancelado \u274C antes da sua conclus\xE3o.",
839
- /* @__PURE__ */ jsx18("br", {}),
975
+ /* @__PURE__ */ jsx20("br", {}),
840
976
  "Agradecemos a sua disponibilidade e esperamos que a pr\xF3xima oportunidade seja um sucesso \u{1F44C}\u{1F3FD}\u{1F44C}\u{1F3FD}!"
841
977
  ] })
842
978
  ] }),
843
- props.reason && /* @__PURE__ */ jsx18("div", { style: reasonContainer4, children: /* @__PURE__ */ jsx18(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
844
- /* @__PURE__ */ jsx18(Container16, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx18(Link14, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
845
- /* @__PURE__ */ jsx18(Footer, {})
979
+ props.reason && /* @__PURE__ */ jsx20("div", { style: reasonContainer4, children: /* @__PURE__ */ jsx20(CommentComponent, { title: "Motivo do cancelamento:", comment: props.reason, danger: true }) }),
980
+ /* @__PURE__ */ jsx20(Container18, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx20(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
981
+ /* @__PURE__ */ jsx20(Footer, {})
846
982
  ] })
847
983
  ] });
848
984
  }
@@ -862,35 +998,35 @@ var reasonContainer4 = {
862
998
  };
863
999
 
864
1000
  // emails/creator/order-payment-creator.tsx
865
- import { Body as Body12, Container as Container17, Html as Html12, Link as Link15, Preview as Preview12, Text as Text17 } from "@react-email/components";
866
- import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
1001
+ import { Body as Body14, Container as Container19, Html as Html14, Link as Link17, Preview as Preview14, Text as Text19 } from "@react-email/components";
1002
+ import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
867
1003
  function OrderPaymentCreator(props) {
868
- return /* @__PURE__ */ jsxs17(Html12, { style: rootStyles, children: [
869
- /* @__PURE__ */ jsx19(BaseHead, {}),
870
- /* @__PURE__ */ jsx19(Preview12, { children: "Pagamento Liberado \u2705" }),
871
- /* @__PURE__ */ jsxs17(Body12, { style: { ...main, ...baseContainer }, children: [
872
- /* @__PURE__ */ jsx19(Header, {}),
873
- /* @__PURE__ */ jsx19(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
874
- /* @__PURE__ */ jsxs17(Container17, { style: { ...baseContentContainer }, children: [
875
- /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
1004
+ return /* @__PURE__ */ jsxs19(Html14, { style: rootStyles, children: [
1005
+ /* @__PURE__ */ jsx21(BaseHead, {}),
1006
+ /* @__PURE__ */ jsx21(Preview14, { children: "Pagamento Liberado \u2705" }),
1007
+ /* @__PURE__ */ jsxs19(Body14, { style: { ...main, ...baseContainer }, children: [
1008
+ /* @__PURE__ */ jsx21(Header, {}),
1009
+ /* @__PURE__ */ jsx21(UserInfo, { photo: `${assetsBasePath}/icons/logo-icon-colored.png`, name: "Promote Team", userType: "brand" /* BRAND */ }),
1010
+ /* @__PURE__ */ jsxs19(Container19, { style: { ...baseContentContainer }, children: [
1011
+ /* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
876
1012
  "Ol\xE1, ",
877
1013
  props.creator.name,
878
1014
  " \u{1F38A},"
879
1015
  ] }),
880
- /* @__PURE__ */ jsxs17(Text17, { style: baseText, children: [
1016
+ /* @__PURE__ */ jsxs19(Text19, { style: baseText, children: [
881
1017
  "Boas Not\xEDcias \u{1F389}, est\xE1 em processamento o pagamento da",
882
1018
  " ",
883
- /* @__PURE__ */ jsxs17(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
1019
+ /* @__PURE__ */ jsxs19(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), target: "_blank", style: link, children: [
884
1020
  "ordem #",
885
1021
  props.order.id
886
1022
  ] }),
887
1023
  " "
888
1024
  ] }),
889
- /* @__PURE__ */ jsx19(Text17, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
1025
+ /* @__PURE__ */ jsx21(Text19, { style: baseText, children: "Espera-se que dentro de 24h o pagamento seja conclu\xEDdo, agradecemos por confiar na Promote." })
890
1026
  ] }),
891
- /* @__PURE__ */ jsx19(PaymentAmount, { totalAmount: props.totalAmount }),
892
- /* @__PURE__ */ jsx19(Container17, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx19(Link15, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
893
- /* @__PURE__ */ jsx19(Footer, {})
1027
+ /* @__PURE__ */ jsx21(PaymentAmount, { totalAmount: props.totalAmount }),
1028
+ /* @__PURE__ */ jsx21(Container19, { style: { ...baseContentContainer, marginTop: "25px" }, children: /* @__PURE__ */ jsx21(Link17, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "150px" }, children: "VER PEDIDO" }) }),
1029
+ /* @__PURE__ */ jsx21(Footer, {})
894
1030
  ] })
895
1031
  ] });
896
1032
  }
@@ -905,32 +1041,32 @@ OrderPaymentCreator.PreviewProps = {
905
1041
  };
906
1042
 
907
1043
  // emails/creator/new-order-created-creator.tsx
908
- import { Body as Body13, Container as Container18, Html as Html13, Link as Link16, Preview as Preview13, Text as Text18 } from "@react-email/components";
909
- import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
1044
+ import { Body as Body15, Container as Container20, Html as Html15, Link as Link18, Preview as Preview15, Text as Text20 } from "@react-email/components";
1045
+ import { jsx as jsx22, jsxs as jsxs20 } from "react/jsx-runtime";
910
1046
  function NewOrderCreatedCreator(props) {
911
- return /* @__PURE__ */ jsxs18(Html13, { style: rootStyles, children: [
912
- /* @__PURE__ */ jsx20(BaseHead, {}),
913
- /* @__PURE__ */ jsx20(Preview13, { children: "Novo Pedido Recebido" }),
914
- /* @__PURE__ */ jsxs18(Body13, { style: { ...main, ...baseContainer }, children: [
915
- /* @__PURE__ */ jsx20(Header, {}),
916
- /* @__PURE__ */ jsx20(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
917
- /* @__PURE__ */ jsxs18(Container18, { style: { ...baseContentContainer }, children: [
918
- /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
1047
+ return /* @__PURE__ */ jsxs20(Html15, { style: rootStyles, children: [
1048
+ /* @__PURE__ */ jsx22(BaseHead, {}),
1049
+ /* @__PURE__ */ jsx22(Preview15, { children: "Novo Pedido Recebido" }),
1050
+ /* @__PURE__ */ jsxs20(Body15, { style: { ...main, ...baseContainer }, children: [
1051
+ /* @__PURE__ */ jsx22(Header, {}),
1052
+ /* @__PURE__ */ jsx22(UserInfo, { photo: props.brand.photo, name: props.brand.name, userType: "brand" /* BRAND */ }),
1053
+ /* @__PURE__ */ jsxs20(Container20, { style: { ...baseContentContainer }, children: [
1054
+ /* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
919
1055
  "Ol\xE1, ",
920
1056
  props.creator.name,
921
1057
  ","
922
1058
  ] }),
923
- /* @__PURE__ */ jsxs18(Text18, { style: baseText, children: [
1059
+ /* @__PURE__ */ jsxs20(Text20, { style: baseText, children: [
924
1060
  "Parab\xE9ns \u{1F389}, voc\xEA recebeu um novo pedido da empresa ",
925
- /* @__PURE__ */ jsx20("span", { style: { color: colors.primary }, children: props.brand.name }),
1061
+ /* @__PURE__ */ jsx22("span", { style: { color: colors.primary }, children: props.brand.name }),
926
1062
  ".",
927
- /* @__PURE__ */ jsx20("br", {}),
1063
+ /* @__PURE__ */ jsx22("br", {}),
928
1064
  " Por favor, revise os detalhes abaixo \u{1F680}:"
929
1065
  ] })
930
1066
  ] }),
931
- /* @__PURE__ */ jsx20(Container18, { style: orderDetails2, children: /* @__PURE__ */ jsx20(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
932
- /* @__PURE__ */ jsx20(Container18, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx20(Link16, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
933
- /* @__PURE__ */ jsx20(Footer, {})
1067
+ /* @__PURE__ */ jsx22(Container20, { style: orderDetails2, children: /* @__PURE__ */ jsx22(NewOrderInfo, { orderCreatedAt: props.order.createdAt, packageName: props.package.name, packagePrice: props.package.price }) }),
1068
+ /* @__PURE__ */ jsx22(Container20, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx22(Link18, { href: appRoutes.creatorOrderDetails(props.order.id), style: { ...button, width: "120px" }, children: "VER PEDIDO" }) }),
1069
+ /* @__PURE__ */ jsx22(Footer, {})
934
1070
  ] })
935
1071
  ] });
936
1072
  }
@@ -957,9 +1093,64 @@ var orderDetails2 = {
957
1093
  marginBottom: "40px"
958
1094
  };
959
1095
 
1096
+ // emails/creator/new-job-application-unapproved-creator.tsx
1097
+ import { Body as Body16, Container as Container21, Html as Html16, Link as Link19, Preview as Preview16, Text as Text21 } from "@react-email/components";
1098
+ import { jsx as jsx23, jsxs as jsxs21 } from "react/jsx-runtime";
1099
+ function NewJobApplicationUnapprovedCreator(props) {
1100
+ return /* @__PURE__ */ jsxs21(Html16, { style: rootStyles, children: [
1101
+ /* @__PURE__ */ jsx23(BaseHead, {}),
1102
+ /* @__PURE__ */ jsx23(Preview16, { children: "Actualiza\xE7\xE3o sobre sua candidatura ao job" }),
1103
+ /* @__PURE__ */ jsxs21(Body16, { style: { ...main, ...baseContainer }, children: [
1104
+ /* @__PURE__ */ jsx23(Header, {}),
1105
+ /* @__PURE__ */ jsxs21(Container21, { style: { ...baseContentContainer }, children: [
1106
+ /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1107
+ "Ol\xE1, ",
1108
+ props.creator.name,
1109
+ ","
1110
+ ] }),
1111
+ /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1112
+ "Infelizmente, sua candidatura para o job da campanha",
1113
+ " ",
1114
+ /* @__PURE__ */ jsx23("span", { style: link, children: props.campaign.name }),
1115
+ " n\xE3o foi aprovada.",
1116
+ /* @__PURE__ */ jsx23("br", {}),
1117
+ "Agradecemos por seu interesse e participa\xE7\xE3o!"
1118
+ ] }),
1119
+ props.jobApplication.rejectionReason && /* @__PURE__ */ jsxs21(Text21, { style: baseText2, children: [
1120
+ /* @__PURE__ */ jsx23("strong", { children: "Motivo:" }),
1121
+ " ",
1122
+ props.jobApplication.rejectionReason
1123
+ ] }),
1124
+ /* @__PURE__ */ jsx23(Text21, { style: baseText2, children: "N\xE3o desanime! Continue acompanhando outras oportunidades que possam surgir na plataforma. \u{1F680}" })
1125
+ ] }),
1126
+ /* @__PURE__ */ jsx23(Container21, { style: { ...baseContentContainer }, children: /* @__PURE__ */ jsx23(Link19, { href: appRoutes.jobsList, style: { ...button }, children: "VER OUTRAS OPORTUNIDADES" }) }),
1127
+ /* @__PURE__ */ jsx23(Footer, {})
1128
+ ] })
1129
+ ] });
1130
+ }
1131
+ NewJobApplicationUnapprovedCreator.PreviewProps = {
1132
+ creator: {
1133
+ name: "K\xE1tia Vanessa",
1134
+ email: "katia@example.com"
1135
+ },
1136
+ campaign: {
1137
+ name: "Megas at\xE9 Dormir",
1138
+ description: "Ganhe megas s\xF3 por publicar uma foto com a Vodacom"
1139
+ },
1140
+ jobApplication: {
1141
+ id: "1",
1142
+ rejectionReason: "N\xE3o atingiu os requisitos esperados para o job."
1143
+ }
1144
+ };
1145
+ var baseText2 = {
1146
+ fontSize: "16px",
1147
+ lineHeight: "24px",
1148
+ color: "#333"
1149
+ };
1150
+
960
1151
  // emails/all/welcome.tsx
961
- import { Body as Body14, Container as Container19, Heading as Heading3, Html as Html14, Img as Img4, Link as Link17, Preview as Preview14, Text as Text19 } from "@react-email/components";
962
- import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
1152
+ import { Body as Body17, Container as Container22, Heading as Heading3, Html as Html17, Img as Img4, Link as Link20, Preview as Preview17, Text as Text22 } from "@react-email/components";
1153
+ import { jsx as jsx24, jsxs as jsxs22 } from "react/jsx-runtime";
963
1154
  function Welcome({ name, userType }) {
964
1155
  const content2 = {
965
1156
  ["brand" /* BRAND */]: {
@@ -971,31 +1162,31 @@ function Welcome({ name, userType }) {
971
1162
  description: " Obrigado por se registrar. Estamos muito felizes por t\xEA-lo a bordo. Explore nossa plataforma e descubra as melhores marcas para colaborar."
972
1163
  }
973
1164
  };
974
- return /* @__PURE__ */ jsxs19(Html14, { style: rootStyles, children: [
975
- /* @__PURE__ */ jsx21(BaseHead, {}),
976
- /* @__PURE__ */ jsx21(Preview14, { children: "Bem-vindo a Promote" }),
977
- /* @__PURE__ */ jsxs19(Body14, { style: { ...main, ...baseContainer }, children: [
978
- /* @__PURE__ */ jsxs19(Container19, { style: headContainer, children: [
979
- /* @__PURE__ */ jsx21(Img4, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
980
- /* @__PURE__ */ jsx21(Img4, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Promote Logo", style: welcomeImage })
1165
+ return /* @__PURE__ */ jsxs22(Html17, { style: rootStyles, children: [
1166
+ /* @__PURE__ */ jsx24(BaseHead, {}),
1167
+ /* @__PURE__ */ jsx24(Preview17, { children: "Bem-vindo a Promote" }),
1168
+ /* @__PURE__ */ jsxs22(Body17, { style: { ...main, ...baseContainer }, children: [
1169
+ /* @__PURE__ */ jsxs22(Container22, { style: headContainer, children: [
1170
+ /* @__PURE__ */ jsx24(Img4, { src: `${assetsBasePath}/icons/logo-icon.png`, alt: "Promote Logo", style: promoteLogo }),
1171
+ /* @__PURE__ */ jsx24(Img4, { src: `${assetsBasePath}/icons/welcome-title.png`, alt: "Promote Logo", style: welcomeImage })
981
1172
  ] }),
982
- /* @__PURE__ */ jsxs19(Container19, { style: baseContentContainer, children: [
983
- /* @__PURE__ */ jsxs19(Heading3, { as: "h1", style: title3, children: [
1173
+ /* @__PURE__ */ jsxs22(Container22, { style: baseContentContainer, children: [
1174
+ /* @__PURE__ */ jsxs22(Heading3, { as: "h1", style: title3, children: [
984
1175
  "Ol\xE1 ",
985
1176
  name || "{{nome}}",
986
1177
  " \u{1F389},"
987
1178
  ] }),
988
- /* @__PURE__ */ jsx21(Text19, { style: textInfo, children: content2[userType]?.description }),
989
- /* @__PURE__ */ jsxs19(Text19, { style: textInfo, children: [
1179
+ /* @__PURE__ */ jsx24(Text22, { style: textInfo, children: content2[userType]?.description }),
1180
+ /* @__PURE__ */ jsxs22(Text22, { style: textInfo, children: [
990
1181
  "Em caso de qualquer d\xFAvida, entre em conctato connosco atrav\xE9s do e-mail:",
991
1182
  " ",
992
- /* @__PURE__ */ jsx21(Link17, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
1183
+ /* @__PURE__ */ jsx24(Link20, { style: link, href: "mailto:help@promote.co.mz", children: "help@promote.co.mz" }),
993
1184
  " ",
994
1185
  "\u{1F680}"
995
1186
  ] })
996
1187
  ] }),
997
- /* @__PURE__ */ jsx21(Container19, { style: baseContentContainer, children: userType && /* @__PURE__ */ jsx21(Link17, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
998
- /* @__PURE__ */ jsx21(Footer, {})
1188
+ /* @__PURE__ */ jsx24(Container22, { style: baseContentContainer, children: userType && /* @__PURE__ */ jsx24(Link20, { href: content2[userType]?.startLink, style: { ...button, width: "150px" }, children: "COME\xC7AR AGORA" }) }),
1189
+ /* @__PURE__ */ jsx24(Footer, {})
999
1190
  ] })
1000
1191
  ] });
1001
1192
  }
@@ -1040,6 +1231,9 @@ export {
1040
1231
  EvidenceApprovedCreator,
1041
1232
  EvidencesRejectedCreator,
1042
1233
  EvidencesSubmittedBrand,
1234
+ NewJobApplicationUnapprovedCreator,
1235
+ NewJobApplicationsReceivedBrand,
1236
+ NewJobCreatedBrand,
1043
1237
  NewOrderCreatedBrand,
1044
1238
  NewOrderCreatedCreator,
1045
1239
  OrderAcceptedBrand,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promote-email-templates",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Promote Email Templates",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",