@capillarytech/creatives-library 7.14.41 → 7.15.3
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/containers/Cap/tests/__snapshots__/index.test.js.snap +4 -193
- package/containers/LanguageProvider/index.js +0 -2
- package/containers/LanguageProvider/tests/index.test.js +0 -1
- package/i18n.js +8 -11
- package/package.json +1 -1
- package/reducers.js +0 -2
- package/services/api.js +1 -9
- package/translations/en.json +4 -192
- package/translations/zh.json +3 -191
- package/v2Components/CapActionButton/index.js +0 -1
- package/v2Components/CapVideoUpload/index.scss +5 -0
- package/v2Components/FormBuilder/index.js +4 -28
- package/v2Containers/Assets/Gallery/index.js +1 -1
- package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +4 -193
- package/v2Containers/CreativesContainer/constants.js +0 -2
- package/v2Containers/CreativesContainer/index.js +2 -2
- package/v2Containers/CreativesContainer/selectors.js +2 -2
- package/v2Containers/CreativesContainer/tests/__snapshots__/index.test.js.snap +0 -8
- package/v2Containers/CreativesContainer/tests/index.test.js +0 -28
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +12 -582
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +8 -386
- package/v2Containers/Line/Container/Text/index.js +2 -3
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +68 -3285
- package/v2Containers/Line/Container/index.js +1 -1
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +72 -3474
- package/v2Containers/Rcs/index.js +0 -3
- package/v2Containers/Rcs/messages.js +1 -1
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +253 -9383
- package/v2Containers/Sms/Create/actions.js +0 -9
- package/v2Containers/Sms/Create/constants.js +0 -2
- package/v2Containers/Sms/Create/index.js +0 -12
- package/v2Containers/Sms/Create/sagas.js +3 -19
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +16 -772
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +32 -1544
- package/v2Containers/Templates/index.js +3 -2
- package/v2Containers/Templates/messages.js +2 -2
- package/v2Containers/Templates/tests/__snapshots__/index.test.js.snap +0 -16
- package/v2Containers/TemplatesV2/index.js +1 -1
- package/v2Containers/Viber/index.js +0 -1
- package/v2Containers/Whatsapp/index.js +1 -0
- package/v2Containers/Whatsapp/messages.js +1 -1
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +284 -13755
- package/v2Containers/mockdata.js +0 -128
- package/tests/integration/TemplateCreation/TemplateCreation.integration.test.js +0 -420
- package/tests/integration/TemplateCreation/api-response.js +0 -1663
- package/tests/integration/TemplateCreation/helper.js +0 -23
- package/tests/integration/TemplateCreation/mocks/initialState.js +0 -428
- package/tests/integration/TemplateCreation/msw-handler.js +0 -48
- package/translations/ja-JP.json +0 -2013
- package/v2Containers/Sms/Create/tests/sagas.test.js +0 -82
- package/v2Containers/SmsTrai/Create/tests/selectors.test.js +0 -10
|
@@ -11,11 +11,9 @@ import PropTypes from 'prop-types';
|
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import _ from 'lodash';
|
|
13
13
|
import { Tabs, Table, Modal} from 'antd';
|
|
14
|
-
import {
|
|
15
|
-
import { CapSpin, CapDrawer, CapButton, CapInput, CapPopover, CapImage, CapCheckbox, CapRadio, CapSelect, CapTable, CapRow, CapColumn, CapNotification, CapUploader, CapHeading, CapIcon, CapTooltip, CapAiSuggestions} from '@capillarytech/cap-ui-library';
|
|
14
|
+
import { CapSpin, CapDrawer, CapButton, CapInput, CapPopover, CapImage, CapCheckbox, CapRadio, CapSelect, CapTable, CapRow, CapColumn, CapNotification, CapUploader, CapHeading, CapIcon, CapTooltip} from '@capillarytech/cap-ui-library';
|
|
16
15
|
import { injectIntl, intlShape, FormattedMessage } from 'react-intl';
|
|
17
16
|
import LabelHOC from '@capillarytech/cap-ui-library/assets/HOCs/ComponentWithLabelHOC';
|
|
18
|
-
import { createStructuredSelector } from 'reselect';
|
|
19
17
|
import { CAP_SPACE_12, CAP_SPACE_08, FONT_COLOR_05, FONT_COLOR_04 } from '@capillarytech/cap-ui-library/styled/variables';
|
|
20
18
|
import TemplatePreview from '../TemplatePreview';
|
|
21
19
|
import TagList from '../../v2Containers/TagList';
|
|
@@ -26,10 +24,9 @@ import EDMEditor from "../Edmeditor";
|
|
|
26
24
|
import BeeEditor from '../../v2Containers/BeeEditor';
|
|
27
25
|
import CustomPopOver from '../CustomPopOver';
|
|
28
26
|
import messages from './messages';
|
|
29
|
-
import { selectCurrentOrgDetails } from "../../v2Containers/Cap/selectors";
|
|
30
27
|
import './_formBuilder.scss';
|
|
31
28
|
import {updateCharCount, checkUnicode} from "../../utils/smsCharCountV2";
|
|
32
|
-
import { SMS, LINE
|
|
29
|
+
import { SMS, LINE } from '../../v2Containers/CreativesContainer/constants';
|
|
33
30
|
import { validateIfTagClosed } from '../../utils/tagValidations';
|
|
34
31
|
import globalMessages from '../../v2Containers/Cap/messages';
|
|
35
32
|
import { convert } from 'html-to-text';
|
|
@@ -2281,12 +2278,6 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
2281
2278
|
const messageContent = isVersionEnable ? formData[`${currentTab - 1}`][val.id] : formData[val.id];
|
|
2282
2279
|
const { MISSING_TAG_ERROR, UNSUPPORTED_TAG_ERROR, TAG_BRACKET_COUNT_MISMATCH_ERROR } = errorMessageForTags;
|
|
2283
2280
|
const { formatMessage } = this.props.intl;
|
|
2284
|
-
|
|
2285
|
-
const { accessibleFeatures = [] } = this.props.currentOrgDetails || {};
|
|
2286
|
-
const hasAiSuggestionsEnabled = accessibleFeatures.includes(
|
|
2287
|
-
ENABLE_AI_SUGGESTIONS
|
|
2288
|
-
);
|
|
2289
|
-
|
|
2290
2281
|
let errorMessageText = false;
|
|
2291
2282
|
switch (errorType) {
|
|
2292
2283
|
case MISSING_TAG_ERROR:
|
|
@@ -2322,16 +2313,6 @@ class FormBuilder extends React.Component { // eslint-disable-line react/prefer-
|
|
|
2322
2313
|
disabled={val.disabled}
|
|
2323
2314
|
cols={cols}
|
|
2324
2315
|
/>
|
|
2325
|
-
{this.props.schema.channel === "SMS" && this.props.fetchAiSuggestions && hasAiSuggestionsEnabled && (
|
|
2326
|
-
<CapAiSuggestions
|
|
2327
|
-
style={{ bottom: "1rem" }}
|
|
2328
|
-
text={messageContent || ""}
|
|
2329
|
-
setText={(x) => {
|
|
2330
|
-
this.updateFormData(x, val);
|
|
2331
|
-
}}
|
|
2332
|
-
getCompletions={this.props.fetchAiSuggestions}
|
|
2333
|
-
/>
|
|
2334
|
-
)}
|
|
2335
2316
|
</CapColumn>
|
|
2336
2317
|
);
|
|
2337
2318
|
}
|
|
@@ -3636,12 +3617,7 @@ FormBuilder.propTypes = {
|
|
|
3636
3617
|
setDrawerVisibility: PropTypes.bool,
|
|
3637
3618
|
capDrawerContent: PropTypes.array,
|
|
3638
3619
|
isFullMode: PropTypes.bool,
|
|
3639
|
-
fetchAiSuggestions: PropTypes.func,
|
|
3640
|
-
currentOrgDetails: PropTypes.object,
|
|
3641
|
-
};
|
|
3642
3620
|
|
|
3643
|
-
|
|
3644
|
-
currentOrgDetails: selectCurrentOrgDetails(),
|
|
3645
|
-
});
|
|
3621
|
+
};
|
|
3646
3622
|
|
|
3647
|
-
export default
|
|
3623
|
+
export default injectIntl(FormBuilder);
|
|
@@ -306,7 +306,7 @@ export class Gallery extends React.Component { // eslint-disable-line react/pref
|
|
|
306
306
|
getTemplateDataForGrid = ({templates, handlers, filterContent, isLoading, loadingTip}) => {
|
|
307
307
|
const currentChannel = 'gallery';
|
|
308
308
|
const { searchLoader, searchText } = this.state;
|
|
309
|
-
const cardDataList = templates
|
|
309
|
+
const cardDataList = templates.length ? _.map(templates, (template) => {
|
|
310
310
|
const templateData =
|
|
311
311
|
{
|
|
312
312
|
key: `${currentChannel}-card-${template.name}`,
|
|
@@ -78,19 +78,15 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
78
78
|
"app.components.CapVideoUpload.fileFormat": "Format: MP4",
|
|
79
79
|
"app.components.CapVideoUpload.imageReUpload": "Re upload",
|
|
80
80
|
"app.components.CapVideoUpload.or": "OR",
|
|
81
|
-
"app.components.CapVideoUpload.selectFromComputer": "Select from computer",
|
|
82
81
|
"app.components.CapVideoUpload.textMessageAddLabel": "How do you want to upload the image?",
|
|
83
82
|
"app.components.CapVideoUpload.textMessageCreateNew": "Create new",
|
|
84
83
|
"app.components.CapVideoUpload.textMessageORLabel": "OR",
|
|
85
84
|
"app.components.CapVideoUpload.textMessageSelectTemplate": "Select template",
|
|
85
|
+
"app.components.CapVideoUpload.uploadComputer": "Your computer",
|
|
86
86
|
"app.components.CapVideoUpload.videoIncorrectSize": "This file format/size is not supported.",
|
|
87
87
|
"app.components.CapVideoUpload.videoRatioDescription": "Video ratio: 9:16 to 16:9",
|
|
88
88
|
"app.components.CapVideoUpload.videoSizeDescription": "File size: Up to {size}",
|
|
89
|
-
"app.components.CapVideoUpload.whatsappErrorMessage": "Please upload the video with allowed file extension, size, dimension and aspect ratio",
|
|
90
|
-
"app.components.CapVideoUpload.whatsappFileFormat": "Format: MP4",
|
|
91
89
|
"app.components.TemplatePreview.includesOptoutTag": "Includes optout tag",
|
|
92
|
-
"app.components.TemplatePreview.optoutCharactersTotal": "Includes optout tag ({optoutUrlLength} characters)",
|
|
93
|
-
"app.components.TemplatePreview.whatsappMessageLength": "1 Message ({length} characters)",
|
|
94
90
|
"app.v2containers.SmsTrai.Create.deferEdit": "It is highly recommended to use a file directly downloaded from the DLT portal. Editing the file may cause data to truncate unexpectedly.",
|
|
95
91
|
"app.v2containers.SmsTrai.Create.doneButtonLabel": "Done",
|
|
96
92
|
"app.v2containers.SmsTrai.Create.downloadIssues": "Download issues",
|
|
@@ -219,28 +215,18 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
219
215
|
"creatives.componentsV2.CapActionButton.templateButtonLinkPlaceholder": "Enter button link",
|
|
220
216
|
"creatives.componentsV2.CapActionButton.templateButtonText": "Button text",
|
|
221
217
|
"creatives.componentsV2.CapActionButton.templateButtonTextPlaceholder": "Enter button text",
|
|
222
|
-
"creatives.componentsV2.CapDocumentUpload.docErrorDesc": "Please upload the document with allowed file extension and size",
|
|
223
|
-
"creatives.componentsV2.CapDocumentUpload.docReUpload": "Reupload",
|
|
224
|
-
"creatives.componentsV2.CapDocumentUpload.dragAndDrop": "Drag and drop document here",
|
|
225
|
-
"creatives.componentsV2.CapDocumentUpload.format": "Format: {format}",
|
|
226
|
-
"creatives.componentsV2.CapDocumentUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
227
|
-
"creatives.componentsV2.CapDocumentUpload.or": "OR",
|
|
228
|
-
"creatives.componentsV2.CapDocumentUpload.uploadComputer": "Select from computer",
|
|
229
|
-
"creatives.componentsV2.CapDocumentUpload.whatsappDocSize": "Size upto: {size}",
|
|
230
218
|
"creatives.componentsV2.CapImageUpload.aspectRatio": "Aspect ratio: 1:1",
|
|
231
219
|
"creatives.componentsV2.CapImageUpload.dragAndDrop": "Drag and drop image here",
|
|
232
220
|
"creatives.componentsV2.CapImageUpload.format": "Format: JPEG, JPG, PNG",
|
|
233
221
|
"creatives.componentsV2.CapImageUpload.imageDimenstionDescription": "Dimensions upto: {width}px x {height}px",
|
|
234
|
-
"creatives.componentsV2.CapImageUpload.imageErrorDesc": "Please upload the image with allowed file extension, size, dimension and aspect ratio",
|
|
235
222
|
"creatives.componentsV2.CapImageUpload.imageGallery": "Gallery",
|
|
223
|
+
"creatives.componentsV2.CapImageUpload.imageIncorrectSize": "Please upload the image with correct type, size and dimension",
|
|
236
224
|
"creatives.componentsV2.CapImageUpload.imageReUpload": "Reupload",
|
|
237
225
|
"creatives.componentsV2.CapImageUpload.imageSize": "Size upto: 2MB",
|
|
238
226
|
"creatives.componentsV2.CapImageUpload.or": "OR",
|
|
239
227
|
"creatives.componentsV2.CapImageUpload.uploadComputer": "Select from computer",
|
|
240
228
|
"creatives.componentsV2.CapImageUpload.uploadGallery": "Gallery",
|
|
241
229
|
"creatives.componentsV2.CapImageUpload.uploadImageDescription": "The relevant image that complements the message context.",
|
|
242
|
-
"creatives.componentsV2.CapImageUpload.whatsappAspectRatio": "Max aspect ratio: 1.91:1",
|
|
243
|
-
"creatives.componentsV2.CapImageUpload.whatsappImageSize": "Size upto: 5MB",
|
|
244
230
|
"creatives.componentsV2.CapTagList.Cancel": "Cancel",
|
|
245
231
|
"creatives.componentsV2.CapTagList.Ok": "Ok",
|
|
246
232
|
"creatives.componentsV2.CapTagList.all": "All",
|
|
@@ -326,21 +312,8 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
326
312
|
"creatives.componentsV2.SmsTest.header": "This is the SmsTest component !",
|
|
327
313
|
"creatives.componentsV2.SmsTest.inputSmsTemplate": "Please input sms template content.",
|
|
328
314
|
"creatives.componentsV2.SmsTest.inputTemplateName": "Please input template name.",
|
|
329
|
-
"creatives.componentsV2.TemplatePreview.charactersPerSms": "SMS chars",
|
|
330
|
-
"creatives.componentsV2.TemplatePreview.charactersTotal": "{smsCount} SMS ({charCount} characters)",
|
|
331
|
-
"creatives.componentsV2.TemplatePreview.close": "close",
|
|
332
315
|
"creatives.componentsV2.TemplatePreview.playVideo": "Play",
|
|
333
|
-
"creatives.componentsV2.TemplatePreview.preview": "Preview",
|
|
334
|
-
"creatives.componentsV2.TemplatePreview.previewGenerated": "Preview is being generated",
|
|
335
|
-
"creatives.componentsV2.TemplatePreview.previewGenerationMessage": "Preview is being generated",
|
|
336
316
|
"creatives.componentsV2.TemplatePreview.showDetails": "Show details",
|
|
337
|
-
"creatives.componentsV2.TemplatePreview.sms": "SMS",
|
|
338
|
-
"creatives.componentsV2.TemplatePreview.smsFormatType": "Message has unicode characters",
|
|
339
|
-
"creatives.componentsV2.TemplatePreview.smsIcon": "Sms Icon",
|
|
340
|
-
"creatives.componentsV2.TemplatePreview.testMessage": "Test Message",
|
|
341
|
-
"creatives.componentsV2.TemplatePreview.textMessageCharacter": "characters",
|
|
342
|
-
"creatives.componentsV2.TemplatePreview.textMessageLabel": "text msg-",
|
|
343
|
-
"creatives.componentsV2.TemplatePreview.videoPreviewTooltip": "This is just for preview purposes, video cannot be played here",
|
|
344
317
|
"creatives.componentsV2.Toastr.header": "This is the Toastr component !",
|
|
345
318
|
"creatives.componentsV2.ToastrMessage.close": "This is the ToastrMessage component !",
|
|
346
319
|
"creatives.componentsV2.ToastrMessage.header": "This is the ToastrMessage component !",
|
|
@@ -351,7 +324,6 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
351
324
|
"creatives.componentsV2.TopBar.logout": "Logout",
|
|
352
325
|
"creatives.componentsV2.TopBar.profile": "Profile",
|
|
353
326
|
"creatives.componentsV2.TopBar.settings": "Settings",
|
|
354
|
-
"creatives.componentsV2.unbalanacedCurlyBraces": "Invalid label, please close all curly braces",
|
|
355
327
|
"creatives.componentsv2.MobilePushPreviewV2.header": "This is the MobilePushPreviewV2 component !",
|
|
356
328
|
"creatives.containers.Assets.Gallery.alphabetically": "Alphabetically",
|
|
357
329
|
"creatives.containers.Assets.Gallery.assetDeleteFailed": "Image deletion failed.",
|
|
@@ -1090,7 +1062,6 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
1090
1062
|
"creatives.containersV2.Creatives.templateDeleteConfirm": "Are you sure you want to delete this template?",
|
|
1091
1063
|
"creatives.containersV2.Creatives.templateDeleteSuccess": "SMS template deleted successfully",
|
|
1092
1064
|
"creatives.containersV2.Creatives.templateDuplicateSuccess": "Template duplicated successfully",
|
|
1093
|
-
"creatives.containersV2.Creatives.templateNameEmpty": "Template name cannot be empty",
|
|
1094
1065
|
"creatives.containersV2.Creatives.templateSelection": "Template selection",
|
|
1095
1066
|
"creatives.containersV2.Creatives.textTemplate": "Text",
|
|
1096
1067
|
"creatives.containersV2.Creatives.unMapButton": "Unmap",
|
|
@@ -1228,7 +1199,6 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
1228
1199
|
"creatives.containersV2.Email.yes": "Yes",
|
|
1229
1200
|
"creatives.containersV2.EmailWrapper.createMode": "How do you want to create ?",
|
|
1230
1201
|
"creatives.containersV2.EmailWrapper.creativeName": "Creative name",
|
|
1231
|
-
"creatives.containersV2.EmailWrapper.emptyTemplateName": "Please enter template name.",
|
|
1232
1202
|
"creatives.containersV2.EmailWrapper.header": "This is EmailWrapper container !",
|
|
1233
1203
|
"creatives.containersV2.EmailWrapper.invalidUploadFileDesc": "Please select another file with valid file format.",
|
|
1234
1204
|
"creatives.containersV2.EmailWrapper.invalidUploadFileError": "File cannot be uploaded.",
|
|
@@ -1390,8 +1360,7 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
1390
1360
|
"creatives.containersV2.LineImageCarousel.emptyTitleErrorMessage": "Template title can not be empty",
|
|
1391
1361
|
"creatives.containersV2.LineImageCarousel.enterTextActionTypeTitle": "Enter text",
|
|
1392
1362
|
"creatives.containersV2.LineImageCarousel.enterUriActionTypeTitle": "Enter url",
|
|
1393
|
-
"creatives.containersV2.LineImageCarousel.
|
|
1394
|
-
"creatives.containersV2.LineImageCarousel.imageDimenstionDescription": "Format: JPEG, PNG Aspect ratio: 1:1 Dimensions: 1024px x 1024px Size: 1 MB",
|
|
1363
|
+
"creatives.containersV2.LineImageCarousel.imageDimenstionDescription": "Format: JPEG, PNG Aspect Ratio: 1:1 Dimensions: 1024px x 1024px Size: 1 MB",
|
|
1395
1364
|
"creatives.containersV2.LineImageCarousel.imageGallery": "Gallery",
|
|
1396
1365
|
"creatives.containersV2.LineImageCarousel.imageReUpload": "Re upload",
|
|
1397
1366
|
"creatives.containersV2.LineImageCarousel.inValidUrliErrorMessage": "Action content uri is not valid",
|
|
@@ -1507,12 +1476,12 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
1507
1476
|
"creatives.containersV2.LineWrapper.changeModalDescription": "The already added content for this card will be lost by changing the content tab.",
|
|
1508
1477
|
"creatives.containersV2.LineWrapper.changeModalLabel": "Do you still want to make the changes to content tab",
|
|
1509
1478
|
"creatives.containersV2.LineWrapper.changeModalTitle": "Changing content tab?",
|
|
1510
|
-
"creatives.containersV2.LineWrapper.flexLabel": "Card message",
|
|
1511
1479
|
"creatives.containersV2.LineWrapper.imageLabel": "Image",
|
|
1512
1480
|
"creatives.containersV2.LineWrapper.imagemapLabel": "Rich message",
|
|
1513
1481
|
"creatives.containersV2.LineWrapper.modalDiscardChangesButtonLabel": "No",
|
|
1514
1482
|
"creatives.containersV2.LineWrapper.modalSaveChangesButtonLabel": "Yes, change",
|
|
1515
1483
|
"creatives.containersV2.LineWrapper.stickerLabel": "Sticker",
|
|
1484
|
+
"creatives.containersV2.LineWrapper.templateLabel": "Card message",
|
|
1516
1485
|
"creatives.containersV2.LineWrapper.textLabel": "Text",
|
|
1517
1486
|
"creatives.containersV2.LineWrapper.videoLabel": "Rich video message",
|
|
1518
1487
|
"creatives.containersV2.Login.header": "This is login container change !",
|
|
@@ -1667,162 +1636,7 @@ exports[`<Cap /> should render correct component 1`] = `
|
|
|
1667
1636
|
"creatives.containersV2.MobilepushWrapper.image": "Image content",
|
|
1668
1637
|
"creatives.containersV2.MobilepushWrapper.text": "Text content",
|
|
1669
1638
|
"creatives.containersV2.NotFoundPage.header": "Looks like you are lost!",
|
|
1670
|
-
"creatives.containersV2.Rcs.addSmsCreative": "Add SMS creative",
|
|
1671
|
-
"creatives.containersV2.Rcs.buttonTextAndUrl": ", CTA button text & url",
|
|
1672
|
-
"creatives.containersV2.Rcs.disabledMediaTooltip": "Not yet enabled. Coming soon!",
|
|
1673
|
-
"creatives.containersV2.Rcs.dltEditHeader": "Edit SMS",
|
|
1674
|
-
"creatives.containersV2.Rcs.emptyTemplateDescErrorMessage": "Template message cannot be empty",
|
|
1675
|
-
"creatives.containersV2.Rcs.fallbackDesc": "We would suggest to add fallback SMS",
|
|
1676
|
-
"creatives.containersV2.Rcs.fallbackLabel": "Fallback SMS message",
|
|
1677
|
-
"creatives.containersV2.Rcs.fallbackMsgLenError": "Only 1 SMS (160 characters) allowed for fallback sms",
|
|
1678
|
-
"creatives.containersV2.Rcs.fallbackMsgPlaceholder": "Enter the text message content for fallback SMS",
|
|
1679
|
-
"creatives.containersV2.Rcs.fallbackPreviewtitle": "Preview of fallback SMS",
|
|
1680
|
-
"creatives.containersV2.Rcs.fallbackTextAreaLabel": "SMS message",
|
|
1681
|
-
"creatives.containersV2.Rcs.fallbackToolTip": "This is to deliver an RCS message as an SMS message to end users whose phones do not support RCS",
|
|
1682
|
-
"creatives.containersV2.Rcs.image": "and image",
|
|
1683
|
-
"creatives.containersV2.Rcs.mediaImage": "Image",
|
|
1684
|
-
"creatives.containersV2.Rcs.mediaLabel": "Media",
|
|
1685
|
-
"creatives.containersV2.Rcs.mediaNone": "None",
|
|
1686
|
-
"creatives.containersV2.Rcs.mediaVideo": "Video/Slideshow",
|
|
1687
|
-
"creatives.containersV2.Rcs.optional": "(Optional)",
|
|
1688
|
-
"creatives.containersV2.Rcs.rcsCreateNotification": "RCS template created successfully",
|
|
1689
|
-
"creatives.containersV2.Rcs.rcsDltDesc": "Select any of the existing templates",
|
|
1690
|
-
"creatives.containersV2.Rcs.rcsDltTitle": "SMS creative templates",
|
|
1691
|
-
"creatives.containersV2.Rcs.rcsDoneBtnToolTip": "Please add template name {type} to proceed further",
|
|
1692
|
-
"creatives.containersV2.Rcs.rcsEditNotification": "RCS template updated successfully",
|
|
1693
|
-
"creatives.containersV2.Rcs.templateButton": "Buttons",
|
|
1694
|
-
"creatives.containersV2.Rcs.templateButtonDesc": "Use buttons to redirect user to respective link or quick response/ action.",
|
|
1695
|
-
"creatives.containersV2.Rcs.templateCTAButton": "Call to action",
|
|
1696
|
-
"creatives.containersV2.Rcs.templateCTAButtonDesc": "Create up to 3 buttons that let customers respond to your messages or take action.",
|
|
1697
|
-
"creatives.containersV2.Rcs.templateDescLabel": "Text message",
|
|
1698
|
-
"creatives.containersV2.Rcs.templateDescLengthError": "Template message length cannot exceed 1000",
|
|
1699
|
-
"creatives.containersV2.Rcs.templateDescPlaceholder": "Enter the text message",
|
|
1700
|
-
"creatives.containersV2.Rcs.templateQRButton": "Quick reply",
|
|
1701
|
-
"creatives.containersV2.Rcs.templateQRButtonDesc": "Create up to 3 buttons that let customers respond to your messages or take action.",
|
|
1702
|
-
"creatives.containersV2.Rcs.templateTitle": "Title",
|
|
1703
|
-
"creatives.containersV2.Rcs.templateTitlePlaceholder": "Enter title",
|
|
1704
|
-
"creatives.containersV2.Rcs.textMessage": "and text message",
|
|
1705
|
-
"creatives.containersV2.Rcs.totalCharacters": "{smsCount} SMS ({number} characters)",
|
|
1706
1639
|
"creatives.containersV2.TagList.header": "This is TagList container !",
|
|
1707
|
-
"creatives.containersV2.Templates.accountConfigError": "This account is not configured properly. You can configure it",
|
|
1708
|
-
"creatives.containersV2.Templates.all": "All",
|
|
1709
|
-
"creatives.containersV2.Templates.alphabeticallyOption": "Alphabetically",
|
|
1710
|
-
"creatives.containersV2.Templates.areYouSureText": "Confirm delete template",
|
|
1711
|
-
"creatives.containersV2.Templates.blankTemplate": "Blank template",
|
|
1712
|
-
"creatives.containersV2.Templates.campaigns": "Campaigns",
|
|
1713
|
-
"creatives.containersV2.Templates.cancelText": "Cancel",
|
|
1714
|
-
"creatives.containersV2.Templates.category": "Category",
|
|
1715
|
-
"creatives.containersV2.Templates.chooseAccount": "Choose the account to send content",
|
|
1716
|
-
"creatives.containersV2.Templates.clearAll": "Clear all",
|
|
1717
|
-
"creatives.containersV2.Templates.continue": "Continue",
|
|
1718
|
-
"creatives.containersV2.Templates.createEmailActionButton": "Create email",
|
|
1719
|
-
"creatives.containersV2.Templates.createMessageContent": "New message",
|
|
1720
|
-
"creatives.containersV2.Templates.createNewActionButton": "Create new",
|
|
1721
|
-
"creatives.containersV2.Templates.createNewTemplateLink": "Create new template",
|
|
1722
|
-
"creatives.containersV2.Templates.createSmsActionButton": "Create SMS",
|
|
1723
|
-
"creatives.containersV2.Templates.creativeTemplates": "Creative templates",
|
|
1724
|
-
"creatives.containersV2.Templates.creativeTemplatesDesc": "(Select only one creative)",
|
|
1725
|
-
"creatives.containersV2.Templates.creatives": "Creatives",
|
|
1726
|
-
"creatives.containersV2.Templates.creativesTemplatesEdit": "Edit",
|
|
1727
|
-
"creatives.containersV2.Templates.creativesTemplatesSave": "Done",
|
|
1728
|
-
"creatives.containersV2.Templates.deleteButton": "Delete",
|
|
1729
|
-
"creatives.containersV2.Templates.deletedSuccssfully": "Template deleted successfully",
|
|
1730
|
-
"creatives.containersV2.Templates.deletingTemplate": "Deleting template...",
|
|
1731
|
-
"creatives.containersV2.Templates.deletionFailed": "Template deletion failed",
|
|
1732
|
-
"creatives.containersV2.Templates.duplicateButton": "Duplicate",
|
|
1733
|
-
"creatives.containersV2.Templates.duplicatingTemplate": "Duplicating template...",
|
|
1734
|
-
"creatives.containersV2.Templates.ebillHeader": "Ebill",
|
|
1735
|
-
"creatives.containersV2.Templates.ebillPreview": "Ebill preview",
|
|
1736
|
-
"creatives.containersV2.Templates.editButton": "Edit",
|
|
1737
|
-
"creatives.containersV2.Templates.editMessageContent": "Edit message content",
|
|
1738
|
-
"creatives.containersV2.Templates.emailHeader": "Email",
|
|
1739
|
-
"creatives.containersV2.Templates.emailPreview": "Email preview",
|
|
1740
|
-
"creatives.containersV2.Templates.emailTitleIllustartion": "Create an email {template}",
|
|
1741
|
-
"creatives.containersV2.Templates.gettingAllTemplates": "Getting all templates...",
|
|
1742
|
-
"creatives.containersV2.Templates.header": "This is Templates container !",
|
|
1743
|
-
"creatives.containersV2.Templates.imageCarouselTemplate": "Card message",
|
|
1744
|
-
"creatives.containersV2.Templates.imageMapTemplate": "Rich message",
|
|
1745
|
-
"creatives.containersV2.Templates.imageMapVideoTemplate": "Rich video message",
|
|
1746
|
-
"creatives.containersV2.Templates.imageTemplate": "Image",
|
|
1747
|
-
"creatives.containersV2.Templates.invalidUploadFileError": "File cannot be uploaded. Please select another file with valid file format.",
|
|
1748
|
-
"creatives.containersV2.Templates.layoutSelection": "Select layout",
|
|
1749
|
-
"creatives.containersV2.Templates.lineAccount": "Line account",
|
|
1750
|
-
"creatives.containersV2.Templates.lineHeader": "Line",
|
|
1751
|
-
"creatives.containersV2.Templates.mapTemplate": "Map template",
|
|
1752
|
-
"creatives.containersV2.Templates.mapTemplates": "Map templates",
|
|
1753
|
-
"creatives.containersV2.Templates.mobilepushAccount": "Mobilepush account",
|
|
1754
|
-
"creatives.containersV2.Templates.mobilepushHeader": "Mobile Push",
|
|
1755
|
-
"creatives.containersV2.Templates.mostRecentOption": "Most recent",
|
|
1756
|
-
"creatives.containersV2.Templates.newEmailTemplate": "New email {template}",
|
|
1757
|
-
"creatives.containersV2.Templates.newNotificationTemplate": "New notification {template}",
|
|
1758
|
-
"creatives.containersV2.Templates.newRCSTemplate": "New RCS {template}",
|
|
1759
|
-
"creatives.containersV2.Templates.newSMSTemplate": "New SMS {template}",
|
|
1760
|
-
"creatives.containersV2.Templates.newTemplate": "New template",
|
|
1761
|
-
"creatives.containersV2.Templates.newWhatsappTemplate": "Add new Whatsapp {template}",
|
|
1762
|
-
"creatives.containersV2.Templates.noAccountMessage": "Please select an account to proceed",
|
|
1763
|
-
"creatives.containersV2.Templates.noAccountsPresent": "Push notifications are not setup for your brand",
|
|
1764
|
-
"creatives.containersV2.Templates.noAccountsPresentFacebook": "Please setup the Facebook account & Facebook page to start creating content in Capillary's FB content creator.",
|
|
1765
|
-
"creatives.containersV2.Templates.noAccountsPresentLine": "Line accounts are not setup for your brand",
|
|
1766
|
-
"creatives.containersV2.Templates.noAccountsPresentViber": "Viber accounts are not setup for your brand",
|
|
1767
|
-
"creatives.containersV2.Templates.noAccountsPresentWeChat": "Wechat accounts are not setup for your brand",
|
|
1768
|
-
"creatives.containersV2.Templates.noAccountsPresentWhatsapp": "Whatsapp accounts are not setup for your brand",
|
|
1769
|
-
"creatives.containersV2.Templates.noApprovedWhatsappTemplatesDesc": "Please try creating a new template, once it is approved by Whatsapp it will be available here",
|
|
1770
|
-
"creatives.containersV2.Templates.noApprovedWhatsappTemplatesTitle": "Sorry, we couldn’t find any approved templates",
|
|
1771
|
-
"creatives.containersV2.Templates.noFilteredWhatsappTemplatesDesc": "Please try searching with another term or apply different filter",
|
|
1772
|
-
"creatives.containersV2.Templates.noFilteredWhatsappTemplatesTitle": "Sorry, we couldn’t find any matches",
|
|
1773
|
-
"creatives.containersV2.Templates.noTemplatesFound": "No templates found",
|
|
1774
|
-
"creatives.containersV2.Templates.noTemplatesMessage": "No templates available",
|
|
1775
|
-
"creatives.containersV2.Templates.preview": "Preview",
|
|
1776
|
-
"creatives.containersV2.Templates.previewButton": "Preview",
|
|
1777
|
-
"creatives.containersV2.Templates.previewGenerateText": "Preview is being generated...",
|
|
1778
|
-
"creatives.containersV2.Templates.promotional": "Promotional",
|
|
1779
|
-
"creatives.containersV2.Templates.pushTitleIllustartion": "Create a mobile push notification {template}",
|
|
1780
|
-
"creatives.containersV2.Templates.rcsDescIllustartion": "These templates can be reused when creating a new message content",
|
|
1781
|
-
"creatives.containersV2.Templates.rcsDltIllustrationDesc": "Please try creating a new DLT template in SMS section, once it is created, it will be available here",
|
|
1782
|
-
"creatives.containersV2.Templates.rcsDltIllustrationTitle": "Sorry, we couldn’t find any DLT templates",
|
|
1783
|
-
"creatives.containersV2.Templates.rcsTitleIllustartion": "Add new RCS creatives {template}",
|
|
1784
|
-
"creatives.containersV2.Templates.richMediaTemplates": "Rich media templates",
|
|
1785
|
-
"creatives.containersV2.Templates.searchText": "Search",
|
|
1786
|
-
"creatives.containersV2.Templates.selectAccount": "Select account",
|
|
1787
|
-
"creatives.containersV2.Templates.selectButton": "Select",
|
|
1788
|
-
"creatives.containersV2.Templates.selectDefaultButton": "Select",
|
|
1789
|
-
"creatives.containersV2.Templates.selectSmsHeader": "Select SMS template",
|
|
1790
|
-
"creatives.containersV2.Templates.selectWechatHeader": "Select WECHAT template",
|
|
1791
|
-
"creatives.containersV2.Templates.serviceExplicit": "Service explicit",
|
|
1792
|
-
"creatives.containersV2.Templates.serviceImplicit": "Service implicit",
|
|
1793
|
-
"creatives.containersV2.Templates.smsChannelTemplatesHeader": "SMS templates",
|
|
1794
|
-
"creatives.containersV2.Templates.smsHeader": "SMS",
|
|
1795
|
-
"creatives.containersV2.Templates.smsTitleIllustartion": "Create an SMS {template}",
|
|
1796
|
-
"creatives.containersV2.Templates.somethingWentWrong": "Something went wrong!!",
|
|
1797
|
-
"creatives.containersV2.Templates.sortBy": "Sort by",
|
|
1798
|
-
"creatives.containersV2.Templates.status": "Status",
|
|
1799
|
-
"creatives.containersV2.Templates.template": "template",
|
|
1800
|
-
"creatives.containersV2.Templates.templateDeleteConfirm": "Are you sure you wish to delete this template?",
|
|
1801
|
-
"creatives.containersV2.Templates.templateDeleteSuccess": "SMS template deleted successfully",
|
|
1802
|
-
"creatives.containersV2.Templates.templateDuplicateSuccess": "Template duplicated successfully",
|
|
1803
|
-
"creatives.containersV2.Templates.templateSelection": "Template selection",
|
|
1804
|
-
"creatives.containersV2.Templates.textTemplate": "Text",
|
|
1805
|
-
"creatives.containersV2.Templates.unMapButton": "Unmap",
|
|
1806
|
-
"creatives.containersV2.Templates.uploadFile": "Upload file",
|
|
1807
|
-
"creatives.containersV2.Templates.uploadTemplate": "Upload template",
|
|
1808
|
-
"creatives.containersV2.Templates.uploadedAt": "Modified",
|
|
1809
|
-
"creatives.containersV2.Templates.uploadedBy": "Uploaded by",
|
|
1810
|
-
"creatives.containersV2.Templates.uploadingFile": "Uploading file",
|
|
1811
|
-
"creatives.containersV2.Templates.useEditor": "Use editor",
|
|
1812
|
-
"creatives.containersV2.Templates.weChatRichmediaTemplate": "Richmedia template",
|
|
1813
|
-
"creatives.containersV2.Templates.wechatAccount": "Wechat account",
|
|
1814
|
-
"creatives.containersV2.Templates.wechatAccountNotConfigured": "Selected wechat account is not configured to create wechat templates",
|
|
1815
|
-
"creatives.containersV2.Templates.wechatChannelTemplatesHeader": "WECHAT templates",
|
|
1816
|
-
"creatives.containersV2.Templates.wechatHeader": "WECHAT",
|
|
1817
|
-
"creatives.containersV2.Templates.whatsappAccount": "Whatsapp account",
|
|
1818
|
-
"creatives.containersV2.Templates.whatsappDescIllustration": "These templates can be reused when creating a
|
|
1819
|
-
new message content.",
|
|
1820
|
-
"creatives.containersV2.Templates.whatsappMaxTemplates": "WhatsApp allows {maxCount} approved templates. To accommodate new approved templates either delete the existing one or reach out to Capillary POC to increase the limit.",
|
|
1821
|
-
"creatives.containersV2.Templates.whatsappOnlyApprovedTemplates": "Only \\"Approved\\" templates are available here, as you can use those templates to create a message.",
|
|
1822
|
-
"creatives.containersV2.Templates.whatsappOverview": "Overview",
|
|
1823
|
-
"creatives.containersV2.Templates.whatsappTitleIllustration": "Add a new Whatsapp creative {template}",
|
|
1824
|
-
"creatives.containersV2.Templates.yesText": "Yes, delete",
|
|
1825
|
-
"creatives.containersV2.Templates.zipUploadFailed": "Failed to upload zip file",
|
|
1826
1640
|
"creatives.containersV2.TemplatesV2.FTP": "FTP",
|
|
1827
1641
|
"creatives.containersV2.TemplatesV2.callTask": "Call Task",
|
|
1828
1642
|
"creatives.containersV2.TemplatesV2.creatives": "Creatives",
|
|
@@ -1891,8 +1705,6 @@ new message content.",
|
|
|
1891
1705
|
"creatives.containersV2.Whatsapp.alertUpdate": "Alert update",
|
|
1892
1706
|
"creatives.containersV2.Whatsapp.alertUpdateTooltip": "Send important updates or news to customers.",
|
|
1893
1707
|
"creatives.containersV2.Whatsapp.approved": "Approved",
|
|
1894
|
-
"creatives.containersV2.Whatsapp.transactional": "Transactional",
|
|
1895
|
-
"creatives.containersV2.Whatsapp.transactionalTooltip": "Send account updates, order updates, alerts, and more to share important information.",
|
|
1896
1708
|
"creatives.containersV2.addLabels": "Add labels",
|
|
1897
1709
|
"creatives.containersV2.appName": "App Name",
|
|
1898
1710
|
"creatives.containersV2.applyNow": "Apply now",
|
|
@@ -1985,7 +1797,6 @@ new message content.",
|
|
|
1985
1797
|
"creatives.containersV2.richMedia.Create.wechatTitle": "Title",
|
|
1986
1798
|
"creatives.containersV2.richMedia.Create.wrongFormatFile": "Wrong file upoaded. Please upload image file",
|
|
1987
1799
|
"creatives.containersV2.richMedia.Create.wrongUrl": "Enter correct URL",
|
|
1988
|
-
"creatives.containersV2.save": "Save",
|
|
1989
1800
|
"creatives.containersV2.shopNow": "Shop Now",
|
|
1990
1801
|
"creatives.containersV2.signUp": "Sign Up",
|
|
1991
1802
|
"creatives.containersV2.subscribe": "Subscribe",
|
|
@@ -23,5 +23,3 @@ export const SHOW_CONTANER_LOADER = "app/CreativesContainer/SHOW_CONTANER_LOADER
|
|
|
23
23
|
export const HIDE_CONTAINER_LOADER = "app/CreativesContainer/HIDE_CONTAINER_LOADER";
|
|
24
24
|
|
|
25
25
|
export const WHATSAPP_HELP_DOC_LINK = "https://docs.capillarytech.com/docs/create-whatsapp-template";
|
|
26
|
-
|
|
27
|
-
export const ENABLE_AI_SUGGESTIONS = "ENABLE_AI_SUGGESTIONS";
|
|
@@ -484,7 +484,7 @@ export class Creatives extends React.Component {
|
|
|
484
484
|
let templateData = { channel };
|
|
485
485
|
switch (channel) {
|
|
486
486
|
case constants.SMS:
|
|
487
|
-
if (template
|
|
487
|
+
if (template.value.base) {
|
|
488
488
|
const smsBase = template.value.base || {};
|
|
489
489
|
const { isFullMode, smsRegister } = this.props;
|
|
490
490
|
const isTraiDlt = commonUtil.isTraiDLTEnable(isFullMode, smsRegister);
|
|
@@ -513,7 +513,7 @@ export class Creatives extends React.Component {
|
|
|
513
513
|
}
|
|
514
514
|
break;
|
|
515
515
|
case constants.EMAIL:
|
|
516
|
-
if (template
|
|
516
|
+
if (template.value.base) {
|
|
517
517
|
let emailBase = template.value.base;
|
|
518
518
|
const { html_content } = emailBase || {};
|
|
519
519
|
if (!html_content) {
|
|
@@ -16,11 +16,11 @@ const selectCreativesContainerDomain = () => (state) => state.get('creativesCont
|
|
|
16
16
|
|
|
17
17
|
const makeSelectCreativesContainer = () => createSelector(
|
|
18
18
|
selectCreativesContainerDomain(),
|
|
19
|
-
(substate) => substate
|
|
19
|
+
(substate) => substate.toJS()
|
|
20
20
|
);
|
|
21
21
|
const isLoading = () => createSelector(
|
|
22
22
|
makeSelectCreativesContainer(),
|
|
23
|
-
(substate) => substate
|
|
23
|
+
(substate) => substate.containerLoader
|
|
24
24
|
);
|
|
25
25
|
|
|
26
26
|
export default makeSelectCreativesContainer;
|
|
@@ -5,9 +5,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click rcs
|
|
|
5
5
|
className="add-creatives-section creatives-library-mode "
|
|
6
6
|
>
|
|
7
7
|
<CapSlideBox
|
|
8
|
-
closeIconPosition="right"
|
|
9
8
|
closeIconSize="m"
|
|
10
|
-
closeIconType="close"
|
|
11
9
|
content={
|
|
12
10
|
<SlideBoxContent
|
|
13
11
|
currentChannel="RCS"
|
|
@@ -78,9 +76,7 @@ exports[`Test SlideBoxContent container campaign message, add creative click wha
|
|
|
78
76
|
className="add-creatives-section creatives-library-mode "
|
|
79
77
|
>
|
|
80
78
|
<CapSlideBox
|
|
81
|
-
closeIconPosition="right"
|
|
82
79
|
closeIconSize="m"
|
|
83
|
-
closeIconType="close"
|
|
84
80
|
content={
|
|
85
81
|
<SlideBoxContent
|
|
86
82
|
currentChannel="WHATSAPP"
|
|
@@ -151,9 +147,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit all data
|
|
|
151
147
|
className="add-creatives-section creatives-library-mode "
|
|
152
148
|
>
|
|
153
149
|
<CapSlideBox
|
|
154
|
-
closeIconPosition="right"
|
|
155
150
|
closeIconSize="m"
|
|
156
|
-
closeIconType="close"
|
|
157
151
|
content={
|
|
158
152
|
<SlideBoxContent
|
|
159
153
|
currentChannel="WHATSAPP"
|
|
@@ -226,9 +220,7 @@ exports[`Test SlideBoxContent container campaign message, whatsapp edit min data
|
|
|
226
220
|
className="add-creatives-section creatives-library-mode "
|
|
227
221
|
>
|
|
228
222
|
<CapSlideBox
|
|
229
|
-
closeIconPosition="right"
|
|
230
223
|
closeIconSize="m"
|
|
231
|
-
closeIconType="close"
|
|
232
224
|
content={
|
|
233
225
|
<SlideBoxContent
|
|
234
226
|
currentChannel="WHATSAPP"
|
|
@@ -12,10 +12,6 @@ const {
|
|
|
12
12
|
whatsappGetTemplateData2,
|
|
13
13
|
rcsTemplates,
|
|
14
14
|
rcsEditTemplateData,
|
|
15
|
-
smsEditTemplateData,
|
|
16
|
-
smsTemplates,
|
|
17
|
-
emailEditTemplateData,
|
|
18
|
-
emailTemplates,
|
|
19
15
|
} = mockdata;
|
|
20
16
|
|
|
21
17
|
jest.mock('../../../v2Components/FormBuilder', () => ({
|
|
@@ -153,28 +149,4 @@ describe('Test SlideBoxContent container', () => {
|
|
|
153
149
|
expect(getCreativesData).toHaveBeenCalledTimes(1);
|
|
154
150
|
expect(getCreativesData).toHaveBeenCalledWith({ channel: 'RCS' });
|
|
155
151
|
});
|
|
156
|
-
|
|
157
|
-
it('Text getCreatives data for rcs, data from creatives done to campaigns', async () => {
|
|
158
|
-
renderFunction('SMS', 'editTemplate', smsTemplates, smsEditTemplateData );
|
|
159
|
-
renderedComponent.instance().onEditTemplate();
|
|
160
|
-
renderedComponent
|
|
161
|
-
.find('CapSlideBox')
|
|
162
|
-
.props()
|
|
163
|
-
.content.props.getFormData(smsEditTemplateData);
|
|
164
|
-
await tick();
|
|
165
|
-
expect(getCreativesData).toHaveBeenCalledTimes(1);
|
|
166
|
-
expect(getCreativesData).toHaveBeenCalledWith({ channel: 'SMS'});
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
it('Text getCreatives data for email, data from creatives done to campaigns', async () => {
|
|
170
|
-
renderFunction('EMAIL', 'editTemplate', emailTemplates, emailEditTemplateData );
|
|
171
|
-
renderedComponent.instance().onEditTemplate();
|
|
172
|
-
renderedComponent
|
|
173
|
-
.find('CapSlideBox')
|
|
174
|
-
.props()
|
|
175
|
-
.content.props.getFormData(emailEditTemplateData);
|
|
176
|
-
await tick();
|
|
177
|
-
expect(getCreativesData).toHaveBeenCalledTimes(1);
|
|
178
|
-
expect(getCreativesData).toHaveBeenCalledWith({ channel: 'EMAIL'});
|
|
179
|
-
});
|
|
180
152
|
});
|