@capillarytech/creatives-library 8.0.241 → 8.0.242-alpha.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.
- package/package.json +1 -1
- package/sagas/__tests__/assetPolling.test.js +607 -0
- package/sagas/assetPolling.js +156 -0
- package/services/api.js +16 -0
- package/services/tests/api.test.js +124 -0
- package/translations/en.json +1 -0
- package/utils/assetStatusConstants.js +12 -0
- package/utils/asyncAssetUpload.js +161 -0
- package/utils/tests/asyncAssetUpload.test.js +292 -0
- package/utils/transformerUtils.js +42 -0
- package/v2Components/CapImageUpload/constants.js +2 -0
- package/v2Components/CapImageUpload/index.js +54 -14
- package/v2Components/CapImageUpload/index.scss +4 -1
- package/v2Components/CapImageUpload/messages.js +4 -0
- package/v2Components/CapImageUrlUpload/constants.js +19 -0
- package/v2Components/CapImageUrlUpload/index.js +455 -0
- package/v2Components/CapImageUrlUpload/index.scss +35 -0
- package/v2Components/CapImageUrlUpload/messages.js +47 -0
- package/v2Containers/App/constants.js +5 -0
- package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +1 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +57 -2
- package/v2Containers/CreativesContainer/SlideBoxHeader.js +1 -0
- package/v2Containers/CreativesContainer/constants.js +2 -0
- package/v2Containers/CreativesContainer/index.js +152 -0
- package/v2Containers/CreativesContainer/messages.js +4 -0
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +3 -0
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +2 -0
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +25 -0
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +18 -0
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +46 -0
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +4 -0
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +8 -0
- package/v2Containers/Templates/ChannelTypeIllustration.js +13 -1
- package/v2Containers/Templates/_templates.scss +203 -0
- package/v2Containers/Templates/actions.js +2 -1
- package/v2Containers/Templates/constants.js +1 -0
- package/v2Containers/Templates/index.js +273 -30
- package/v2Containers/Templates/messages.js +24 -0
- package/v2Containers/Templates/reducer.js +2 -0
- package/v2Containers/Templates/tests/index.test.js +10 -0
- package/v2Containers/TemplatesV2/index.js +3 -2
- package/v2Containers/TemplatesV2/messages.js +4 -0
- package/v2Containers/WebPush/Create/components/ButtonForm.js +175 -0
- package/v2Containers/WebPush/Create/components/ButtonItem.js +101 -0
- package/v2Containers/WebPush/Create/components/ButtonList.js +144 -0
- package/v2Containers/WebPush/Create/components/_buttons.scss +246 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonForm.test.js +554 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonItem.test.js +607 -0
- package/v2Containers/WebPush/Create/components/tests/ButtonList.test.js +633 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonForm.test.js.snap +666 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonItem.test.js.snap +74 -0
- package/v2Containers/WebPush/Create/components/tests/__snapshots__/ButtonList.test.js.snap +80 -0
- package/v2Containers/WebPush/Create/index.js +1755 -0
- package/v2Containers/WebPush/Create/index.scss +123 -0
- package/v2Containers/WebPush/Create/messages.js +199 -0
- package/v2Containers/WebPush/Create/preview/DevicePreviewContent.js +241 -0
- package/v2Containers/WebPush/Create/preview/NotificationContainer.js +290 -0
- package/v2Containers/WebPush/Create/preview/PreviewContent.js +81 -0
- package/v2Containers/WebPush/Create/preview/PreviewControls.js +240 -0
- package/v2Containers/WebPush/Create/preview/PreviewDisclaimer.js +23 -0
- package/v2Containers/WebPush/Create/preview/WebPushPreview.js +144 -0
- package/v2Containers/WebPush/Create/preview/assets/Light.svg +53 -0
- package/v2Containers/WebPush/Create/preview/assets/Top.svg +5 -0
- package/v2Containers/WebPush/Create/preview/assets/chrome-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/edge-icon.png +0 -0
- package/v2Containers/WebPush/Create/preview/assets/firefox-icon.svg +106 -0
- package/v2Containers/WebPush/Create/preview/assets/iOS.svg +26 -0
- package/v2Containers/WebPush/Create/preview/assets/opera-icon.svg +18 -0
- package/v2Containers/WebPush/Create/preview/assets/safari-icon.svg +29 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileChromeHeader.js +44 -0
- package/v2Containers/WebPush/Create/preview/components/AndroidMobileExpanded.js +110 -0
- package/v2Containers/WebPush/Create/preview/components/IOSHeader.js +45 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationExpandedContent.js +72 -0
- package/v2Containers/WebPush/Create/preview/components/NotificationHeader.js +55 -0
- package/v2Containers/WebPush/Create/preview/components/WindowsChromeExpanded.js +70 -0
- package/v2Containers/WebPush/Create/preview/components/tests/AndroidMobileExpanded.test.js +512 -0
- package/v2Containers/WebPush/Create/preview/components/tests/__snapshots__/AndroidMobileExpanded.test.js.snap +77 -0
- package/v2Containers/WebPush/Create/preview/config/notificationMappings.js +527 -0
- package/v2Containers/WebPush/Create/preview/constants.js +162 -0
- package/v2Containers/WebPush/Create/preview/notification-container.scss +104 -0
- package/v2Containers/WebPush/Create/preview/preview.scss +409 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-chrome.scss +300 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-edge.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-firefox.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-mobile-opera.scss +12 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-chrome.scss +303 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-edge.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-firefox.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_android-tablet-opera.scss +11 -0
- package/v2Containers/WebPush/Create/preview/styles/_base.scss +188 -0
- package/v2Containers/WebPush/Create/preview/styles/_ios.scss +106 -0
- package/v2Containers/WebPush/Create/preview/styles/_ipados.scss +107 -0
- package/v2Containers/WebPush/Create/preview/styles/_macos-chrome.scss +75 -0
- package/v2Containers/WebPush/Create/preview/styles/_windows-chrome.scss +174 -0
- package/v2Containers/WebPush/Create/preview/tests/DevicePreviewContent.test.js +909 -0
- package/v2Containers/WebPush/Create/preview/tests/NotificationContainer.test.js +1077 -0
- package/v2Containers/WebPush/Create/preview/tests/PreviewControls.test.js +723 -0
- package/v2Containers/WebPush/Create/preview/tests/WebPushPreview.test.js +943 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/DevicePreviewContent.test.js.snap +128 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/NotificationContainer.test.js.snap +121 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/PreviewControls.test.js.snap +144 -0
- package/v2Containers/WebPush/Create/preview/tests/__snapshots__/WebPushPreview.test.js.snap +127 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.js +116 -0
- package/v2Containers/WebPush/Create/utils/urlValidation.test.js +449 -0
- package/v2Containers/WebPush/actions.js +60 -0
- package/v2Containers/WebPush/constants.js +108 -0
- package/v2Containers/WebPush/index.js +2 -0
- package/v2Containers/WebPush/reducer.js +104 -0
- package/v2Containers/WebPush/sagas.js +119 -0
- package/v2Containers/WebPush/selectors.js +65 -0
- package/v2Containers/WebPush/tests/reducer.test.js +863 -0
- package/v2Containers/WebPush/tests/sagas.test.js +566 -0
- package/v2Containers/WebPush/tests/selectors.test.js +960 -0
- package/v2Containers/Whatsapp/constants.js +9 -0
- package/v2Containers/Whatsapp/reducer.js +34 -5
- package/v2Containers/Whatsapp/sagas.js +61 -10
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +132 -0
- package/v2Containers/Whatsapp/tests/reducer.test.js +188 -0
- package/v2Containers/Whatsapp/tests/saga.test.js +420 -7
|
@@ -28,6 +28,10 @@ import { getWhatsappContent } from '../Whatsapp/utils';
|
|
|
28
28
|
import * as commonUtil from '../../utils/common';
|
|
29
29
|
import Zalo from '../Zalo';
|
|
30
30
|
import MobilePushNew from '../MobilePushNew';
|
|
31
|
+
import WebPush from '../WebPush';
|
|
32
|
+
import DevicePreviewContent from '../WebPush/Create/preview/DevicePreviewContent';
|
|
33
|
+
import { LAYOUT_MODE } from '../WebPush/Create/preview/constants';
|
|
34
|
+
import { WEBPUSH_CONTENT_FIELDS, WEBPUSH_TEMPLATE_PATHS } from '../WebPush/constants';
|
|
31
35
|
const CreativesWrapper = styled.div`
|
|
32
36
|
.ant-popover,
|
|
33
37
|
.ant-notification,
|
|
@@ -164,6 +168,7 @@ export function SlideBoxContent(props) {
|
|
|
164
168
|
handleTestAndPreview,
|
|
165
169
|
handleCloseTestAndPreview,
|
|
166
170
|
isTestAndPreviewMode,
|
|
171
|
+
supportedTags = [],
|
|
167
172
|
} = props;
|
|
168
173
|
const type = (messageDetails.type || '').toLowerCase(); // type is context in get tags values : outbound | dvs | referral | loyalty | coupons
|
|
169
174
|
const query = { type: !isFullMode && 'embedded', module: isFullMode ? 'default' : 'library', isEditFromCampaigns: (templateData || {}).isEditFromCampaigns};
|
|
@@ -200,6 +205,7 @@ export function SlideBoxContent(props) {
|
|
|
200
205
|
const isCreateRcs = isCreate && channel === constants.RCS;
|
|
201
206
|
const isCreateMPush = isCreate && channel === constants.MOBILE_PUSH;
|
|
202
207
|
const isCreateCallTask = isCreate && channel === constants.CALL_TASK;
|
|
208
|
+
const isCreateWebPush = isCreate && channel === constants.WEBPUSH;
|
|
203
209
|
let isEditSms = false;
|
|
204
210
|
let isEditEmailWithId = false;
|
|
205
211
|
let isEmailEditWithContent = false;
|
|
@@ -207,12 +213,14 @@ export function SlideBoxContent(props) {
|
|
|
207
213
|
let isEmailPreview = false;
|
|
208
214
|
let isMpushPreview = false;
|
|
209
215
|
let isInappPreview = false;
|
|
216
|
+
let isWebPushPreview = false;
|
|
210
217
|
let isEditCallTask = false;
|
|
211
218
|
let isEditMPush = false;
|
|
212
219
|
let isEditFacebook = false;
|
|
213
220
|
let isEditFTP = false;
|
|
214
221
|
let isEditWhatsapp = false;
|
|
215
222
|
let isEditInApp = false;
|
|
223
|
+
let isEditWebPush = false;
|
|
216
224
|
let isEditRcs = false;
|
|
217
225
|
let isEditZalo = false;
|
|
218
226
|
const isEmailCreate = isCreate && channel === constants.EMAIL;
|
|
@@ -226,10 +234,12 @@ export function SlideBoxContent(props) {
|
|
|
226
234
|
isEditFacebook = isEdit && channel === constants.FACEBOOK;
|
|
227
235
|
isEditWhatsapp = isEdit && channel === constants.WHATSAPP;
|
|
228
236
|
isEditRcs = isEdit && channel === constants.RCS;
|
|
237
|
+
isEditWebPush = isEdit && channel === constants.WEBPUSH;
|
|
229
238
|
isPreview = slidBoxContent === 'preview' && [constants.SMS, constants.LINE, constants.WHATSAPP, constants.FACEBOOK, constants.VIBER, constants.RCS].includes(channel);
|
|
230
239
|
isEmailPreview = slidBoxContent === 'preview' && channel === constants.EMAIL;
|
|
231
240
|
isMpushPreview = slidBoxContent === 'preview' && channel === constants.MOBILE_PUSH;
|
|
232
241
|
isInappPreview = slidBoxContent === 'preview' && channel === constants.INAPP;
|
|
242
|
+
isWebPushPreview = slidBoxContent === 'preview' && channel === constants.WEBPUSH;
|
|
233
243
|
isEditFTP = isEdit && [constants.NO_COMMUNICATION, constants.FTP].includes(channel);
|
|
234
244
|
isEditZalo = isEdit && channel?.toUpperCase() === constants.ZALO;
|
|
235
245
|
isEditInApp = isEdit && channel === constants.INAPP;
|
|
@@ -477,8 +487,30 @@ export function SlideBoxContent(props) {
|
|
|
477
487
|
templateData={templateData}
|
|
478
488
|
channel={channel}
|
|
479
489
|
forwardedTags={forwardedTags}
|
|
480
|
-
|
|
490
|
+
/>
|
|
481
491
|
)}
|
|
492
|
+
{isWebPushPreview && (() => {
|
|
493
|
+
const webpushContent = get(templateData, WEBPUSH_TEMPLATE_PATHS.CONTENT, {});
|
|
494
|
+
const notificationTitle = webpushContent?.[WEBPUSH_CONTENT_FIELDS.TITLE] || '';
|
|
495
|
+
const notificationBody = webpushContent?.[WEBPUSH_CONTENT_FIELDS.MESSAGE] || '';
|
|
496
|
+
const imageSrc = webpushContent?.[WEBPUSH_CONTENT_FIELDS.IMAGE] || '';
|
|
497
|
+
const brandIconSrc = webpushContent?.[WEBPUSH_CONTENT_FIELDS.BRAND_ICON] || '';
|
|
498
|
+
// Extract URL from onClickAction or use empty string
|
|
499
|
+
const url = webpushContent?.[WEBPUSH_CONTENT_FIELDS.ON_CLICK_ACTION]?.url || '';
|
|
500
|
+
|
|
501
|
+
return (
|
|
502
|
+
<div className="webpush-preview-container">
|
|
503
|
+
<DevicePreviewContent
|
|
504
|
+
notificationTitle={notificationTitle}
|
|
505
|
+
notificationBody={notificationBody}
|
|
506
|
+
url={url}
|
|
507
|
+
imageSrc={imageSrc}
|
|
508
|
+
brandIconSrc={brandIconSrc}
|
|
509
|
+
layoutMode={LAYOUT_MODE.COMPACT}
|
|
510
|
+
/>
|
|
511
|
+
</div>
|
|
512
|
+
);
|
|
513
|
+
})()}
|
|
482
514
|
|
|
483
515
|
{
|
|
484
516
|
(currentChannel === constants.WECHAT && !!slidBoxContent) && <WechatWrapper
|
|
@@ -979,6 +1011,28 @@ export function SlideBoxContent(props) {
|
|
|
979
1011
|
/>
|
|
980
1012
|
)}
|
|
981
1013
|
|
|
1014
|
+
{(isCreateWebPush || isEditWebPush) && (
|
|
1015
|
+
<WebPush
|
|
1016
|
+
isFullMode={isFullMode}
|
|
1017
|
+
handleClose={handleClose}
|
|
1018
|
+
onCreateComplete={onCreateComplete}
|
|
1019
|
+
getFormData={getFormData}
|
|
1020
|
+
isGetFormData={isGetFormData}
|
|
1021
|
+
templateData={isEditWebPush ? templateData : undefined}
|
|
1022
|
+
creativesMode={creativesMode}
|
|
1023
|
+
params={isEditWebPush && templateData ? { id: templateData._id } : undefined}
|
|
1024
|
+
location={{
|
|
1025
|
+
pathname: isEditWebPush ? '/webpush/edit' : '/webpush/create',
|
|
1026
|
+
query,
|
|
1027
|
+
search: '',
|
|
1028
|
+
}}
|
|
1029
|
+
getDefaultTags={type}
|
|
1030
|
+
forwardedTags={forwardedTags}
|
|
1031
|
+
supportedTags={supportedTags}
|
|
1032
|
+
selectedOfferDetails={selectedOfferDetails}
|
|
1033
|
+
eventContextTags={eventContextTags}
|
|
1034
|
+
/>
|
|
1035
|
+
)}
|
|
982
1036
|
{isCreateRcs && (<Rcs
|
|
983
1037
|
{...rcsCommonProps}
|
|
984
1038
|
showLiquidErrorInFooter={showLiquidErrorInFooter}
|
|
@@ -1035,6 +1089,7 @@ SlideBoxContent.propTypes = {
|
|
|
1035
1089
|
onValidationFail: PropTypes.func,
|
|
1036
1090
|
channelsToHide: PropTypes.array,
|
|
1037
1091
|
forwardedTags: PropTypes.object,
|
|
1092
|
+
supportedTags: PropTypes.array,
|
|
1038
1093
|
selectedOfferDetails: PropTypes.array,
|
|
1039
1094
|
channelsToDisable: PropTypes.array,
|
|
1040
1095
|
weChatTemplateType: PropTypes.string,
|
|
@@ -1050,7 +1105,7 @@ SlideBoxContent.propTypes = {
|
|
|
1050
1105
|
onFTPSubmit: PropTypes.func,
|
|
1051
1106
|
messageStrategy: PropTypes.string,
|
|
1052
1107
|
fbAdManager: PropTypes.string,
|
|
1053
|
-
showDisabledFBInfo: PropTypes.
|
|
1108
|
+
showDisabledFBInfo: PropTypes.bool,
|
|
1054
1109
|
orgUnitId: PropTypes.any,
|
|
1055
1110
|
smsRegister: PropTypes.any,
|
|
1056
1111
|
getCmsTemplatesInProgress: PropTypes.bool,
|
|
@@ -71,6 +71,7 @@ export function SlideBoxHeader(props) {
|
|
|
71
71
|
rcs: <FormattedMessage {...messages.rcsCreative} />,
|
|
72
72
|
zalo: <FormattedMessage {...messages.zaloTemplate} />,
|
|
73
73
|
viber: <FormattedMessage {...messages.viberTemplate} />,
|
|
74
|
+
webpush: <FormattedMessage {...messages.webPushTemplate} />,
|
|
74
75
|
};
|
|
75
76
|
return labels[currentChannel.toLowerCase()];
|
|
76
77
|
};
|
|
@@ -21,6 +21,8 @@ export const PUSH = "PUSH";
|
|
|
21
21
|
export const RCS = "RCS";
|
|
22
22
|
export const ZALO = "ZALO";
|
|
23
23
|
export const INAPP = "INAPP";
|
|
24
|
+
export const WEBPUSH = "WEBPUSH";
|
|
25
|
+
export const WEBPUSH_BRAND_ICON = "WEBPUSH_BRAND_ICON";
|
|
24
26
|
export const PREVIEW = "preview";
|
|
25
27
|
export const EDIT_TEMPLATE = "editTemplate";
|
|
26
28
|
export const JOURNEY = "journey";
|
|
@@ -708,6 +708,68 @@ export class Creatives extends React.Component {
|
|
|
708
708
|
};
|
|
709
709
|
break;
|
|
710
710
|
}
|
|
711
|
+
case constants.WEBPUSH: {
|
|
712
|
+
// Convert from campaign format (messageContent.content.content) to creatives format
|
|
713
|
+
const webpushContent = get(templateData, 'content', {});
|
|
714
|
+
const accountId = get(templateData, 'accountId');
|
|
715
|
+
const templateName = templateData.name || 'Campaign message WebPush content';
|
|
716
|
+
const brandIcon = webpushContent.iconImageUrl || '';
|
|
717
|
+
|
|
718
|
+
// Map cta to onClickAction
|
|
719
|
+
let onClickAction = null;
|
|
720
|
+
if (webpushContent.cta) {
|
|
721
|
+
if (webpushContent.cta.type === 'EXTERNAL_URL') {
|
|
722
|
+
onClickAction = {
|
|
723
|
+
type: 'URL',
|
|
724
|
+
url: webpushContent.cta.actionLink || '',
|
|
725
|
+
};
|
|
726
|
+
} else {
|
|
727
|
+
onClickAction = {
|
|
728
|
+
type: webpushContent.cta.type || 'SITE_URL',
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
// Map expandableDetails.ctas to ctas array
|
|
734
|
+
let ctas = [];
|
|
735
|
+
if (webpushContent.expandableDetails?.ctas && webpushContent.expandableDetails.ctas.length > 0) {
|
|
736
|
+
ctas = webpushContent.expandableDetails.ctas.map((ctaItem) => ({
|
|
737
|
+
actionText: ctaItem.title || ctaItem.actionText || '',
|
|
738
|
+
type: 'URL',
|
|
739
|
+
actionLink: ctaItem.actionLink || '',
|
|
740
|
+
}));
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
// Map expandableDetails.media to image if present
|
|
744
|
+
let image = null;
|
|
745
|
+
if (webpushContent.expandableDetails?.media && webpushContent.expandableDetails.media.length > 0) {
|
|
746
|
+
const firstMedia = webpushContent.expandableDetails.media[0];
|
|
747
|
+
if (firstMedia.type === 'IMAGE' && firstMedia.url) {
|
|
748
|
+
image = firstMedia.url;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
creativesTemplateData = {
|
|
753
|
+
type: channel,
|
|
754
|
+
name: templateData.messageSubject,
|
|
755
|
+
versions: {
|
|
756
|
+
base: {
|
|
757
|
+
content: {
|
|
758
|
+
webpush: {
|
|
759
|
+
title: webpushContent.title || '',
|
|
760
|
+
message: webpushContent.message || '',
|
|
761
|
+
...(brandIcon && { brandIcon }),
|
|
762
|
+
...(onClickAction && { onClickAction }),
|
|
763
|
+
...(ctas.length > 0 && { ctas }),
|
|
764
|
+
...(image && { image, mediaType: "IMAGE" }),
|
|
765
|
+
},
|
|
766
|
+
},
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
definition: { accountId },
|
|
770
|
+
};
|
|
771
|
+
break;
|
|
772
|
+
}
|
|
711
773
|
default:
|
|
712
774
|
break;
|
|
713
775
|
}
|
|
@@ -1122,6 +1184,96 @@ export class Creatives extends React.Component {
|
|
|
1122
1184
|
}
|
|
1123
1185
|
}
|
|
1124
1186
|
break;
|
|
1187
|
+
case constants.WEBPUSH: {
|
|
1188
|
+
if (template.value) {
|
|
1189
|
+
const channelTemplate = template.value;
|
|
1190
|
+
const accountId = get(channelTemplate, 'definition.accountId');
|
|
1191
|
+
const webpushContent = get(channelTemplate, 'versions.base.content.webpush', {});
|
|
1192
|
+
|
|
1193
|
+
const iconImageUrl = webpushContent.brandIcon || webpushContent.iconImageUrl || '';
|
|
1194
|
+
|
|
1195
|
+
// Map onClickAction to cta
|
|
1196
|
+
let cta = null;
|
|
1197
|
+
if (webpushContent.onClickAction) {
|
|
1198
|
+
if (webpushContent.onClickAction.type === 'URL') {
|
|
1199
|
+
cta = {
|
|
1200
|
+
type: 'EXTERNAL_URL',
|
|
1201
|
+
actionLink: webpushContent.onClickAction.url || '',
|
|
1202
|
+
};
|
|
1203
|
+
} else {
|
|
1204
|
+
cta = {
|
|
1205
|
+
type: webpushContent.onClickAction.type || 'SITE_URL',
|
|
1206
|
+
actionLink: webpushContent.onClickAction.url || '',
|
|
1207
|
+
};
|
|
1208
|
+
}
|
|
1209
|
+
} else if (webpushContent.cta) {
|
|
1210
|
+
// Fallback to cta if onClickAction is not present
|
|
1211
|
+
cta = {
|
|
1212
|
+
type: webpushContent.cta.type || 'EXTERNAL_URL',
|
|
1213
|
+
actionLink: webpushContent.cta.actionLink || '',
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
// Map ctas array to expandableDetails.ctas
|
|
1218
|
+
let expandableDetails = null;
|
|
1219
|
+
const hasCtas = webpushContent.ctas && webpushContent.ctas.length > 0;
|
|
1220
|
+
const hasImage = webpushContent.image;
|
|
1221
|
+
|
|
1222
|
+
if (hasCtas || hasImage) {
|
|
1223
|
+
expandableDetails = {
|
|
1224
|
+
media: [],
|
|
1225
|
+
ctas: [],
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
// Map image to expandableDetails.media
|
|
1229
|
+
if (hasImage) {
|
|
1230
|
+
expandableDetails.media = [{
|
|
1231
|
+
url: webpushContent.image,
|
|
1232
|
+
type: 'IMAGE',
|
|
1233
|
+
}];
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
// Map ctas array to expandableDetails.ctas
|
|
1237
|
+
if (hasCtas) {
|
|
1238
|
+
expandableDetails.ctas = webpushContent.ctas.map((ctaItem) => ({
|
|
1239
|
+
type: ctaItem.type === 'URL' ? 'EXTERNAL_URL' : ctaItem.type,
|
|
1240
|
+
action: ctaItem.action || '',
|
|
1241
|
+
title: ctaItem.actionText || ctaItem.title || '',
|
|
1242
|
+
actionLink: ctaItem.actionLink || '',
|
|
1243
|
+
}));
|
|
1244
|
+
}
|
|
1245
|
+
} else if (webpushContent.expandableDetails) {
|
|
1246
|
+
// If expandableDetails already exists, use it
|
|
1247
|
+
expandableDetails = {
|
|
1248
|
+
media: webpushContent.expandableDetails.media || [],
|
|
1249
|
+
ctas: webpushContent.expandableDetails.ctas || [],
|
|
1250
|
+
};
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
// Convert from creatives format to campaign format
|
|
1254
|
+
templateData = {
|
|
1255
|
+
channel,
|
|
1256
|
+
messageContent: {
|
|
1257
|
+
content: {
|
|
1258
|
+
channel: 'WEBPUSH',
|
|
1259
|
+
accountId,
|
|
1260
|
+
isDefault: false,
|
|
1261
|
+
storeType: 'REGISTERED_STORE',
|
|
1262
|
+
content: {
|
|
1263
|
+
title: webpushContent.title || '',
|
|
1264
|
+
message: webpushContent.message || '',
|
|
1265
|
+
...(iconImageUrl && { iconImageUrl }),
|
|
1266
|
+
...(cta && { cta }),
|
|
1267
|
+
...(expandableDetails && { expandableDetails }),
|
|
1268
|
+
},
|
|
1269
|
+
messageSubject: channelTemplate?.name ? channelTemplate.name : 'messageSubject',
|
|
1270
|
+
offers: [],
|
|
1271
|
+
},
|
|
1272
|
+
},
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
break;
|
|
1276
|
+
}
|
|
1125
1277
|
default:
|
|
1126
1278
|
break;
|
|
1127
1279
|
}
|
|
@@ -338,6 +338,10 @@ export default defineMessages({
|
|
|
338
338
|
id: `${scope}.rcsCreative`,
|
|
339
339
|
defaultMessage: `RCS creative`,
|
|
340
340
|
},
|
|
341
|
+
"webPushTemplate": {
|
|
342
|
+
id: `${scope}.webPushTemplate`,
|
|
343
|
+
defaultMessage: `Web Push Template`,
|
|
344
|
+
},
|
|
341
345
|
"templateNameEmpty": {
|
|
342
346
|
id: `${scope}.templateNameEmpty`,
|
|
343
347
|
defaultMessage: `Template name cannot be empty`
|
|
@@ -1896,6 +1896,7 @@ new message content.",
|
|
|
1896
1896
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
1897
1897
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
1898
1898
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
1899
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
1899
1900
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
1900
1901
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
1901
1902
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -5579,6 +5580,7 @@ new message content.",
|
|
|
5579
5580
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
5580
5581
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
5581
5582
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
5583
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
5582
5584
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
5583
5585
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
5584
5586
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -9401,6 +9403,7 @@ new message content.",
|
|
|
9401
9403
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
9402
9404
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
9403
9405
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
9406
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
9404
9407
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
9405
9408
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
9406
9409
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -1896,6 +1896,7 @@ new message content.",
|
|
|
1896
1896
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
1897
1897
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
1898
1898
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
1899
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
1899
1900
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
1900
1901
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
1901
1902
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -21169,6 +21170,7 @@ new message content.",
|
|
|
21169
21170
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
21170
21171
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
21171
21172
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
21173
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
21172
21174
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
21173
21175
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
21174
21176
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -1896,6 +1896,7 @@ new message content.",
|
|
|
1896
1896
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
1897
1897
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
1898
1898
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
1899
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
1899
1900
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
1900
1901
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
1901
1902
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -19889,6 +19890,7 @@ new message content.",
|
|
|
19889
19890
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
19890
19891
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
19891
19892
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
19893
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
19892
19894
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
19893
19895
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
19894
19896
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -22435,6 +22437,7 @@ new message content.",
|
|
|
22435
22437
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
22436
22438
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
22437
22439
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
22440
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
22438
22441
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
22439
22442
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
22440
22443
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -25412,6 +25415,7 @@ new message content.",
|
|
|
25412
25415
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
25413
25416
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
25414
25417
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
25418
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
25415
25419
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
25416
25420
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
25417
25421
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -27666,6 +27670,7 @@ new message content.",
|
|
|
27666
27670
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
27667
27671
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
27668
27672
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
27673
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
27669
27674
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
27670
27675
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
27671
27676
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -29941,6 +29946,7 @@ new message content.",
|
|
|
29941
29946
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
29942
29947
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
29943
29948
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
29949
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
29944
29950
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
29945
29951
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
29946
29952
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -32228,6 +32234,7 @@ new message content.",
|
|
|
32228
32234
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
32229
32235
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
32230
32236
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
32237
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
32231
32238
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
32232
32239
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
32233
32240
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -34500,6 +34507,7 @@ new message content.",
|
|
|
34500
34507
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
34501
34508
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
34502
34509
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
34510
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
34503
34511
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
34504
34512
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
34505
34513
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -59779,6 +59787,7 @@ new message content.",
|
|
|
59779
59787
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
59780
59788
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
59781
59789
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
59790
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
59782
59791
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
59783
59792
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
59784
59793
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -62517,6 +62526,7 @@ new message content.",
|
|
|
62517
62526
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
62518
62527
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
62519
62528
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
62529
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
62520
62530
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
62521
62531
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
62522
62532
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -65851,6 +65861,7 @@ new message content.",
|
|
|
65851
65861
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
65852
65862
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
65853
65863
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
65864
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
65854
65865
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
65855
65866
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
65856
65867
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -68589,6 +68600,7 @@ new message content.",
|
|
|
68589
68600
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
68590
68601
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
68591
68602
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
68603
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
68592
68604
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
68593
68605
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
68594
68606
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -72296,6 +72308,7 @@ new message content.",
|
|
|
72296
72308
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
72297
72309
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
72298
72310
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
72311
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
72299
72312
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
72300
72313
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
72301
72314
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -75476,6 +75489,7 @@ new message content.",
|
|
|
75476
75489
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
75477
75490
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
75478
75491
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
75492
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
75479
75493
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
75480
75494
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
75481
75495
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -78512,6 +78526,7 @@ new message content.",
|
|
|
78512
78526
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
78513
78527
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
78514
78528
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
78529
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
78515
78530
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
78516
78531
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
78517
78532
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -81559,6 +81574,7 @@ new message content.",
|
|
|
81559
81574
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
81560
81575
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
81561
81576
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
81577
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
81562
81578
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
81563
81579
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
81564
81580
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -87368,6 +87384,7 @@ new message content.",
|
|
|
87368
87384
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
87369
87385
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
87370
87386
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
87387
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
87371
87388
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
87372
87389
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
87373
87390
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -90520,6 +90537,7 @@ new message content.",
|
|
|
90520
90537
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
90521
90538
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
90522
90539
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
90540
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
90523
90541
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
90524
90542
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
90525
90543
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -93603,6 +93621,7 @@ new message content.",
|
|
|
93603
93621
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
93604
93622
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
93605
93623
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
93624
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
93606
93625
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
93607
93626
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
93608
93627
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -96585,6 +96604,7 @@ new message content.",
|
|
|
96585
96604
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
96586
96605
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
96587
96606
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
96607
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
96588
96608
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
96589
96609
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
96590
96610
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -99327,6 +99347,7 @@ new message content.",
|
|
|
99327
99347
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
99328
99348
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
99329
99349
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
99350
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
99330
99351
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
99331
99352
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
99332
99353
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -102002,6 +102023,7 @@ new message content.",
|
|
|
102002
102023
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
102003
102024
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
102004
102025
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
102026
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
102005
102027
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
102006
102028
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
102007
102029
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -104256,6 +104278,7 @@ new message content.",
|
|
|
104256
104278
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
104257
104279
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
104258
104280
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
104281
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
104259
104282
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
104260
104283
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
104261
104284
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -106531,6 +106554,7 @@ new message content.",
|
|
|
106531
106554
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
106532
106555
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
106533
106556
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
106557
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
106534
106558
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
106535
106559
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
106536
106560
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|
|
@@ -108818,6 +108842,7 @@ new message content.",
|
|
|
108818
108842
|
"creatives.containersV2.WeChat.templateName": "Template Name",
|
|
108819
108843
|
"creatives.containersV2.WeChat.wechatCreateSuccess": "WeChat template mapped successfully",
|
|
108820
108844
|
"creatives.containersV2.WeChat.wechatEditSuccess": "WeChat template edited successfully",
|
|
108845
|
+
"creatives.containersV2.WebPush.addLabels": "Add labels",
|
|
108821
108846
|
"creatives.containersV2.Whatsapp.IncorrectCategoryError": "INCORRECT CATEGORY: Message content different from expected content in the category selected. Refer {here} for expected content in each category.",
|
|
108822
108847
|
"creatives.containersV2.Whatsapp.accountUpdate": "Account update",
|
|
108823
108848
|
"creatives.containersV2.Whatsapp.accountUpdateTooltip": "Let customers know about updates or changes to their accounts.",
|