promote-email-templates 0.1.10 → 0.1.12
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.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +8 -2
- package/dist/index.mjs +7 -2
- package/package.json +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -143,6 +143,18 @@ interface OrderRejectedBrandProps {
|
|
|
143
143
|
};
|
|
144
144
|
reason: string;
|
|
145
145
|
}
|
|
146
|
+
interface NewMessageProps {
|
|
147
|
+
recipient: {
|
|
148
|
+
name: string;
|
|
149
|
+
email: string;
|
|
150
|
+
};
|
|
151
|
+
sender: {
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
message: {
|
|
155
|
+
content: string;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
146
158
|
interface NewOrderCreatedBrandProps {
|
|
147
159
|
brand: {
|
|
148
160
|
name: string;
|
|
@@ -262,8 +274,11 @@ declare const colors: {
|
|
|
262
274
|
primary: string;
|
|
263
275
|
white: string;
|
|
264
276
|
black: string;
|
|
277
|
+
black01: string;
|
|
265
278
|
grey: string;
|
|
266
279
|
grey01: string;
|
|
280
|
+
secondary: string;
|
|
281
|
+
green: string;
|
|
267
282
|
};
|
|
268
283
|
declare const rootStyles: {
|
|
269
284
|
width: string;
|
|
@@ -324,6 +339,7 @@ declare const centerText: {
|
|
|
324
339
|
|
|
325
340
|
declare const appBaseUrl = "https://promote.co.mz";
|
|
326
341
|
declare const assetsBasePath = "https://files.promote.co.mz/assets";
|
|
342
|
+
declare const chatbotUrl = "https://suporte.promote.co.mz";
|
|
327
343
|
declare const appRoutes: {
|
|
328
344
|
homePageRoute: string;
|
|
329
345
|
creatorsList: string;
|
|
@@ -668,4 +684,4 @@ declare namespace NewMessageNotification {
|
|
|
668
684
|
declare const NewMessageNotificationText: (props: NewMessageNotificationProps) => Promise<string>;
|
|
669
685
|
declare const NewMessageNotificationHtml: (props: NewMessageNotificationProps) => Promise<string>;
|
|
670
686
|
|
|
671
|
-
export { AbortOrderRequest, AbortOrderRequestHtml, type AbortOrderRequestProps, AbortOrderRequestText, EvidenceApprovedCreator, EvidenceApprovedCreatorHtml, type EvidenceApprovedCreatorProps, EvidenceApprovedCreatorText, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, EvidencesRejectedCreatorHtml, EvidencesRejectedCreatorText, type EvidencesRejectedProps, EvidencesSubmittedBrand, EvidencesSubmittedBrandHtml, EvidencesSubmittedBrandText, NewJobApplicationUnapprovedCreator, NewJobApplicationUnapprovedCreatorHtml, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationUnapprovedCreatorText, NewJobApplicationsReceivedBrand, NewJobApplicationsReceivedBrandHtml, type NewJobApplicationsReceivedBrandProps, NewJobApplicationsReceivedBrandText, NewJobCreatedBrand, NewJobCreatedBrandHtml, type NewJobCreatedBrandProps, NewJobCreatedBrandText, NewMessageNotification, NewMessageNotificationHtml, type NewMessageNotificationProps, NewMessageNotificationText, NewOrderCreatedBrand, NewOrderCreatedBrandHtml, type NewOrderCreatedBrandProps, NewOrderCreatedBrandText, NewOrderCreatedCreator, NewOrderCreatedCreatorHtml, type NewOrderCreatedCreatorProps, NewOrderCreatedCreatorText, OrderAcceptedBrand, OrderAcceptedBrandHtml, type OrderAcceptedBrandProps, OrderAcceptedBrandText, OrderCancelledBrand, OrderCancelledBrandHtml, type OrderCancelledBrandProps, OrderCancelledBrandText, OrderCancelledCreator, OrderCancelledCreatorHtml, type OrderCancelledCreatorProps, OrderCancelledCreatorText, OrderEvidencesAcceptedBrand, OrderEvidencesAcceptedBrandHtml, type OrderEvidencesAcceptedBrandProps, OrderEvidencesAcceptedBrandText, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderPaymentCreatorHtml, OrderPaymentCreatorText, OrderRejectedBrand, OrderRejectedBrandHtml, type OrderRejectedBrandProps, OrderRejectedBrandText, RevertPaymentRequestAdmin, RevertPaymentRequestAdminHtml, type RevertPaymentRequestAdminProps, RevertPaymentRequestAdminText, USER_ROLES, Welcome, WelcomeHtml, type WelcomeTemplateProps, WelcomeText, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };
|
|
687
|
+
export { AbortOrderRequest, AbortOrderRequestHtml, type AbortOrderRequestProps, AbortOrderRequestText, EvidenceApprovedCreator, EvidenceApprovedCreatorHtml, type EvidenceApprovedCreatorProps, EvidenceApprovedCreatorText, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, EvidencesRejectedCreatorHtml, EvidencesRejectedCreatorText, type EvidencesRejectedProps, EvidencesSubmittedBrand, EvidencesSubmittedBrandHtml, EvidencesSubmittedBrandText, NewJobApplicationUnapprovedCreator, NewJobApplicationUnapprovedCreatorHtml, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationUnapprovedCreatorText, NewJobApplicationsReceivedBrand, NewJobApplicationsReceivedBrandHtml, type NewJobApplicationsReceivedBrandProps, NewJobApplicationsReceivedBrandText, NewJobCreatedBrand, NewJobCreatedBrandHtml, type NewJobCreatedBrandProps, NewJobCreatedBrandText, NewMessageNotification, NewMessageNotificationHtml, type NewMessageNotificationProps, NewMessageNotificationText, type NewMessageProps, NewOrderCreatedBrand, NewOrderCreatedBrandHtml, type NewOrderCreatedBrandProps, NewOrderCreatedBrandText, NewOrderCreatedCreator, NewOrderCreatedCreatorHtml, type NewOrderCreatedCreatorProps, NewOrderCreatedCreatorText, OrderAcceptedBrand, OrderAcceptedBrandHtml, type OrderAcceptedBrandProps, OrderAcceptedBrandText, OrderCancelledBrand, OrderCancelledBrandHtml, type OrderCancelledBrandProps, OrderCancelledBrandText, OrderCancelledCreator, OrderCancelledCreatorHtml, type OrderCancelledCreatorProps, OrderCancelledCreatorText, OrderEvidencesAcceptedBrand, OrderEvidencesAcceptedBrandHtml, type OrderEvidencesAcceptedBrandProps, OrderEvidencesAcceptedBrandText, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderPaymentCreatorHtml, OrderPaymentCreatorText, OrderRejectedBrand, OrderRejectedBrandHtml, type OrderRejectedBrandProps, OrderRejectedBrandText, RevertPaymentRequestAdmin, RevertPaymentRequestAdminHtml, type RevertPaymentRequestAdminProps, RevertPaymentRequestAdminText, USER_ROLES, Welcome, WelcomeHtml, type WelcomeTemplateProps, WelcomeText, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, chatbotUrl, colors, link, main, rootStyles, socialNetworkLinks };
|
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,18 @@ interface OrderRejectedBrandProps {
|
|
|
143
143
|
};
|
|
144
144
|
reason: string;
|
|
145
145
|
}
|
|
146
|
+
interface NewMessageProps {
|
|
147
|
+
recipient: {
|
|
148
|
+
name: string;
|
|
149
|
+
email: string;
|
|
150
|
+
};
|
|
151
|
+
sender: {
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
message: {
|
|
155
|
+
content: string;
|
|
156
|
+
};
|
|
157
|
+
}
|
|
146
158
|
interface NewOrderCreatedBrandProps {
|
|
147
159
|
brand: {
|
|
148
160
|
name: string;
|
|
@@ -262,8 +274,11 @@ declare const colors: {
|
|
|
262
274
|
primary: string;
|
|
263
275
|
white: string;
|
|
264
276
|
black: string;
|
|
277
|
+
black01: string;
|
|
265
278
|
grey: string;
|
|
266
279
|
grey01: string;
|
|
280
|
+
secondary: string;
|
|
281
|
+
green: string;
|
|
267
282
|
};
|
|
268
283
|
declare const rootStyles: {
|
|
269
284
|
width: string;
|
|
@@ -324,6 +339,7 @@ declare const centerText: {
|
|
|
324
339
|
|
|
325
340
|
declare const appBaseUrl = "https://promote.co.mz";
|
|
326
341
|
declare const assetsBasePath = "https://files.promote.co.mz/assets";
|
|
342
|
+
declare const chatbotUrl = "https://suporte.promote.co.mz";
|
|
327
343
|
declare const appRoutes: {
|
|
328
344
|
homePageRoute: string;
|
|
329
345
|
creatorsList: string;
|
|
@@ -668,4 +684,4 @@ declare namespace NewMessageNotification {
|
|
|
668
684
|
declare const NewMessageNotificationText: (props: NewMessageNotificationProps) => Promise<string>;
|
|
669
685
|
declare const NewMessageNotificationHtml: (props: NewMessageNotificationProps) => Promise<string>;
|
|
670
686
|
|
|
671
|
-
export { AbortOrderRequest, AbortOrderRequestHtml, type AbortOrderRequestProps, AbortOrderRequestText, EvidenceApprovedCreator, EvidenceApprovedCreatorHtml, type EvidenceApprovedCreatorProps, EvidenceApprovedCreatorText, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, EvidencesRejectedCreatorHtml, EvidencesRejectedCreatorText, type EvidencesRejectedProps, EvidencesSubmittedBrand, EvidencesSubmittedBrandHtml, EvidencesSubmittedBrandText, NewJobApplicationUnapprovedCreator, NewJobApplicationUnapprovedCreatorHtml, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationUnapprovedCreatorText, NewJobApplicationsReceivedBrand, NewJobApplicationsReceivedBrandHtml, type NewJobApplicationsReceivedBrandProps, NewJobApplicationsReceivedBrandText, NewJobCreatedBrand, NewJobCreatedBrandHtml, type NewJobCreatedBrandProps, NewJobCreatedBrandText, NewMessageNotification, NewMessageNotificationHtml, type NewMessageNotificationProps, NewMessageNotificationText, NewOrderCreatedBrand, NewOrderCreatedBrandHtml, type NewOrderCreatedBrandProps, NewOrderCreatedBrandText, NewOrderCreatedCreator, NewOrderCreatedCreatorHtml, type NewOrderCreatedCreatorProps, NewOrderCreatedCreatorText, OrderAcceptedBrand, OrderAcceptedBrandHtml, type OrderAcceptedBrandProps, OrderAcceptedBrandText, OrderCancelledBrand, OrderCancelledBrandHtml, type OrderCancelledBrandProps, OrderCancelledBrandText, OrderCancelledCreator, OrderCancelledCreatorHtml, type OrderCancelledCreatorProps, OrderCancelledCreatorText, OrderEvidencesAcceptedBrand, OrderEvidencesAcceptedBrandHtml, type OrderEvidencesAcceptedBrandProps, OrderEvidencesAcceptedBrandText, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderPaymentCreatorHtml, OrderPaymentCreatorText, OrderRejectedBrand, OrderRejectedBrandHtml, type OrderRejectedBrandProps, OrderRejectedBrandText, RevertPaymentRequestAdmin, RevertPaymentRequestAdminHtml, type RevertPaymentRequestAdminProps, RevertPaymentRequestAdminText, USER_ROLES, Welcome, WelcomeHtml, type WelcomeTemplateProps, WelcomeText, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, colors, link, main, rootStyles, socialNetworkLinks };
|
|
687
|
+
export { AbortOrderRequest, AbortOrderRequestHtml, type AbortOrderRequestProps, AbortOrderRequestText, EvidenceApprovedCreator, EvidenceApprovedCreatorHtml, type EvidenceApprovedCreatorProps, EvidenceApprovedCreatorText, type EvidenceSubmittedBrandProps, EvidencesRejectedCreator, EvidencesRejectedCreatorHtml, EvidencesRejectedCreatorText, type EvidencesRejectedProps, EvidencesSubmittedBrand, EvidencesSubmittedBrandHtml, EvidencesSubmittedBrandText, NewJobApplicationUnapprovedCreator, NewJobApplicationUnapprovedCreatorHtml, type NewJobApplicationUnapprovedCreatorProps, NewJobApplicationUnapprovedCreatorText, NewJobApplicationsReceivedBrand, NewJobApplicationsReceivedBrandHtml, type NewJobApplicationsReceivedBrandProps, NewJobApplicationsReceivedBrandText, NewJobCreatedBrand, NewJobCreatedBrandHtml, type NewJobCreatedBrandProps, NewJobCreatedBrandText, NewMessageNotification, NewMessageNotificationHtml, type NewMessageNotificationProps, NewMessageNotificationText, type NewMessageProps, NewOrderCreatedBrand, NewOrderCreatedBrandHtml, type NewOrderCreatedBrandProps, NewOrderCreatedBrandText, NewOrderCreatedCreator, NewOrderCreatedCreatorHtml, type NewOrderCreatedCreatorProps, NewOrderCreatedCreatorText, OrderAcceptedBrand, OrderAcceptedBrandHtml, type OrderAcceptedBrandProps, OrderAcceptedBrandText, OrderCancelledBrand, OrderCancelledBrandHtml, type OrderCancelledBrandProps, OrderCancelledBrandText, OrderCancelledCreator, OrderCancelledCreatorHtml, type OrderCancelledCreatorProps, OrderCancelledCreatorText, OrderEvidencesAcceptedBrand, OrderEvidencesAcceptedBrandHtml, type OrderEvidencesAcceptedBrandProps, OrderEvidencesAcceptedBrandText, type OrderOrderPaymentCreatorProps, OrderPaymentCreator, OrderPaymentCreatorHtml, OrderPaymentCreatorText, OrderRejectedBrand, OrderRejectedBrandHtml, type OrderRejectedBrandProps, OrderRejectedBrandText, RevertPaymentRequestAdmin, RevertPaymentRequestAdminHtml, type RevertPaymentRequestAdminProps, RevertPaymentRequestAdminText, USER_ROLES, Welcome, WelcomeHtml, type WelcomeTemplateProps, WelcomeText, appBaseUrl, appRoutes, assetsBasePath, baseContainer, baseContentContainer, baseText, button, centerBlock, centerText, chatbotUrl, colors, link, main, rootStyles, socialNetworkLinks };
|
package/dist/index.js
CHANGED
|
@@ -84,6 +84,7 @@ __export(index_exports, {
|
|
|
84
84
|
button: () => button,
|
|
85
85
|
centerBlock: () => centerBlock,
|
|
86
86
|
centerText: () => centerText,
|
|
87
|
+
chatbotUrl: () => chatbotUrl,
|
|
87
88
|
colors: () => colors,
|
|
88
89
|
link: () => link,
|
|
89
90
|
main: () => main,
|
|
@@ -100,8 +101,11 @@ var colors = {
|
|
|
100
101
|
primary: "#FF5C5C",
|
|
101
102
|
white: "#FFFFFF",
|
|
102
103
|
black: "#595959",
|
|
104
|
+
black01: "#000000",
|
|
103
105
|
grey: "#E0E0E0",
|
|
104
|
-
grey01: "#7c7c7c"
|
|
106
|
+
grey01: "#7c7c7c",
|
|
107
|
+
secondary: "#2e96ff",
|
|
108
|
+
green: "#3d645f"
|
|
105
109
|
};
|
|
106
110
|
var rootStyles = {
|
|
107
111
|
width: "100%",
|
|
@@ -166,6 +170,7 @@ var import_components = require("@react-email/components");
|
|
|
166
170
|
// emails/shared/values.ts
|
|
167
171
|
var appBaseUrl = `https://promote.co.mz`;
|
|
168
172
|
var assetsBasePath = `https://files.promote.co.mz/assets`;
|
|
173
|
+
var chatbotUrl = `https://suporte.promote.co.mz`;
|
|
169
174
|
var appRoutes = {
|
|
170
175
|
homePageRoute: `${appBaseUrl}/home`,
|
|
171
176
|
creatorsList: `${appBaseUrl}/content-creators`,
|
|
@@ -830,7 +835,7 @@ function OrderRejectedBrand(props) {
|
|
|
830
835
|
"."
|
|
831
836
|
] }),
|
|
832
837
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)("br", {}),
|
|
833
|
-
"O seu pagamento ser\xE1 reembolsado dentro de
|
|
838
|
+
"O seu pagamento ser\xE1 reembolsado dentro de 72 horas \xFAteis."
|
|
834
839
|
] })
|
|
835
840
|
] }),
|
|
836
841
|
props.reason && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("div", { style: reasonContainer2, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(CommentComponent, { title: "Motivo da Rejei\xE7\xE3o", comment: props.reason }) }),
|
|
@@ -1566,6 +1571,7 @@ var NewMessageNotificationHtml = (props) => {
|
|
|
1566
1571
|
button,
|
|
1567
1572
|
centerBlock,
|
|
1568
1573
|
centerText,
|
|
1574
|
+
chatbotUrl,
|
|
1569
1575
|
colors,
|
|
1570
1576
|
link,
|
|
1571
1577
|
main,
|
package/dist/index.mjs
CHANGED
|
@@ -6,8 +6,11 @@ var colors = {
|
|
|
6
6
|
primary: "#FF5C5C",
|
|
7
7
|
white: "#FFFFFF",
|
|
8
8
|
black: "#595959",
|
|
9
|
+
black01: "#000000",
|
|
9
10
|
grey: "#E0E0E0",
|
|
10
|
-
grey01: "#7c7c7c"
|
|
11
|
+
grey01: "#7c7c7c",
|
|
12
|
+
secondary: "#2e96ff",
|
|
13
|
+
green: "#3d645f"
|
|
11
14
|
};
|
|
12
15
|
var rootStyles = {
|
|
13
16
|
width: "100%",
|
|
@@ -72,6 +75,7 @@ import { Container, Img, Link } from "@react-email/components";
|
|
|
72
75
|
// emails/shared/values.ts
|
|
73
76
|
var appBaseUrl = `https://promote.co.mz`;
|
|
74
77
|
var assetsBasePath = `https://files.promote.co.mz/assets`;
|
|
78
|
+
var chatbotUrl = `https://suporte.promote.co.mz`;
|
|
75
79
|
var appRoutes = {
|
|
76
80
|
homePageRoute: `${appBaseUrl}/home`,
|
|
77
81
|
creatorsList: `${appBaseUrl}/content-creators`,
|
|
@@ -736,7 +740,7 @@ function OrderRejectedBrand(props) {
|
|
|
736
740
|
"."
|
|
737
741
|
] }),
|
|
738
742
|
/* @__PURE__ */ jsx15("br", {}),
|
|
739
|
-
"O seu pagamento ser\xE1 reembolsado dentro de
|
|
743
|
+
"O seu pagamento ser\xE1 reembolsado dentro de 72 horas \xFAteis."
|
|
740
744
|
] })
|
|
741
745
|
] }),
|
|
742
746
|
props.reason && /* @__PURE__ */ jsx15("div", { style: reasonContainer2, children: /* @__PURE__ */ jsx15(CommentComponent, { title: "Motivo da Rejei\xE7\xE3o", comment: props.reason }) }),
|
|
@@ -1471,6 +1475,7 @@ export {
|
|
|
1471
1475
|
button,
|
|
1472
1476
|
centerBlock,
|
|
1473
1477
|
centerText,
|
|
1478
|
+
chatbotUrl,
|
|
1474
1479
|
colors,
|
|
1475
1480
|
link,
|
|
1476
1481
|
main,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "promote-email-templates",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Promote Email Templates",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"@react-email/components": "0.0.41",
|
|
17
17
|
"@react-email/render": "^1.1.2",
|
|
18
18
|
"postcss": "^8.5.3",
|
|
19
|
-
"react": "19.1.0",
|
|
20
|
-
"react-dom": "19.1.0",
|
|
21
|
-
"react-email": "4.0.15"
|
|
19
|
+
"react": "^19.1.0",
|
|
20
|
+
"react-dom": "^19.1.0",
|
|
21
|
+
"react-email": "^4.0.15"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/react": "19.1.5",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
"eslint-plugin-prettier": "^2.7.0",
|
|
31
31
|
"prettier": "3.5.3",
|
|
32
32
|
"tsup": "^8.5.0",
|
|
33
|
-
"typescript": "^5.8.3"
|
|
33
|
+
"typescript": "^5.8.3",
|
|
34
|
+
"next": "15.3.2"
|
|
34
35
|
}
|
|
35
36
|
}
|