@capillarytech/creatives-library 9.0.11 → 9.0.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/package.json
CHANGED
|
@@ -16,6 +16,7 @@ import { isTraiDLTEnable } from '../../utils/common';
|
|
|
16
16
|
import { formatString } from '../../utils/Formatter';
|
|
17
17
|
import {
|
|
18
18
|
CAP_SPACE_12,
|
|
19
|
+
ICON_SIZE_M,
|
|
19
20
|
} from '@capillarytech/cap-ui-library/styled/variables';
|
|
20
21
|
import { WHATSAPP_HELP_DOC_LINK, JOURNEY } from './constants';
|
|
21
22
|
|
|
@@ -23,8 +24,14 @@ const { CapLabelInline } = CapLabel;
|
|
|
23
24
|
const StyledLabel = styled(CapLabelInline)`
|
|
24
25
|
margin-right: ${CAP_SPACE_12};
|
|
25
26
|
`;
|
|
27
|
+
// CapIcons.BackIcon renders an <svg width="1em" height="1em">, so its size follows
|
|
28
|
+
// the inherited font-size. Pin it to the medium icon size (24px) and center it so
|
|
29
|
+
// the back arrow matches the header title instead of collapsing to a tiny glyph.
|
|
26
30
|
const PrefixWrapper = styled.div`
|
|
27
31
|
margin-right: 16px;
|
|
32
|
+
display: inline-flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
font-size: ${ICON_SIZE_M};
|
|
28
35
|
`;
|
|
29
36
|
const renderData = (type, value, channel) => (
|
|
30
37
|
<StyledLabel className={channel?.toLowerCase() === ZALO ? 'zalo-template-name-spacing' : ''} type={type}>
|
|
@@ -39,6 +39,7 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
39
39
|
currentTab: 1,
|
|
40
40
|
isEdit: false,
|
|
41
41
|
loading: false,
|
|
42
|
+
isSaving: false,
|
|
42
43
|
isFormValid: true,
|
|
43
44
|
injectedTags: {},
|
|
44
45
|
checkValidation: false,
|
|
@@ -570,26 +571,33 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
570
571
|
},
|
|
571
572
|
};
|
|
572
573
|
this.isTagLoaded = false;
|
|
574
|
+
this.isSubmitting = false;
|
|
573
575
|
}
|
|
574
576
|
|
|
575
577
|
componentWillMount() {
|
|
578
|
+
// NOTE: API dispatches must NOT live here. componentWillMount runs in React's
|
|
579
|
+
// render phase, which React 18 (createRoot/concurrent) may execute more than
|
|
580
|
+
// once per commit — causing every dispatched request to fire twice. All
|
|
581
|
+
// side-effects are in componentDidMount (commit phase, runs exactly once).
|
|
576
582
|
if (this.props.params.id) {
|
|
577
|
-
this.props.actions.getTemplateDetails(this.props.params.id, 'ebill');
|
|
578
583
|
this.setState({isEdit: true});
|
|
579
584
|
}
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
componentDidMount() {
|
|
588
|
+
if (this.props.params.id) {
|
|
589
|
+
this.props.actions.getTemplateDetails(this.props.params.id, 'ebill');
|
|
590
|
+
}
|
|
580
591
|
|
|
581
592
|
if (!_.isEmpty(this.props.Templates.edmTemplate) && this.props.Templates.edmTemplate.versions.base.is_drag_drop) {
|
|
582
593
|
this.props.actions.getCmsData('edm', this.props.Templates.edmTemplate.versions.base.drag_drop_id);
|
|
583
594
|
}
|
|
584
|
-
}
|
|
585
595
|
|
|
586
|
-
componentDidMount() {
|
|
587
596
|
const query = {
|
|
588
597
|
layout: 'EBILL',
|
|
589
598
|
type: 'LAYOUT',
|
|
590
599
|
};
|
|
591
600
|
this.props.globalActions.fetchSchemaForEntity(query);
|
|
592
|
-
|
|
593
601
|
}
|
|
594
602
|
|
|
595
603
|
componentWillReceiveProps(nextProps) {
|
|
@@ -609,7 +617,7 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
609
617
|
this.setEditState(nextProps.Ebill.templateDetails);
|
|
610
618
|
}
|
|
611
619
|
|
|
612
|
-
if (nextProps.Ebill.createResponse && nextProps.Ebill.createResponse.templateId) {
|
|
620
|
+
if (nextProps.Ebill.createResponse && nextProps.Ebill.createResponse.templateId && !_.isEqual(nextProps.Ebill.createResponse, this.props.Ebill.createResponse)) {
|
|
613
621
|
let message;
|
|
614
622
|
if (this.state.isEdit) {
|
|
615
623
|
message = getMessageObject('success', this.props.intl.formatMessage(messages.ebillEditSuccess), true);
|
|
@@ -618,6 +626,8 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
618
626
|
}
|
|
619
627
|
this.props.globalActions.addMessageToQueue(message);
|
|
620
628
|
this.props.actions.clearCRUDResponse();
|
|
629
|
+
this.isSubmitting = false;
|
|
630
|
+
this.setState({ isSaving: false });
|
|
621
631
|
const module = this.props.location.query.module ? this.props.location.query.module : 'default';
|
|
622
632
|
const type = this.props.location.query.type;
|
|
623
633
|
this.props.router.push({
|
|
@@ -629,6 +639,8 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
629
639
|
if (nextProps.Ebill.createTemplateError && !_.isEqual(nextProps.Ebill.createTemplateError, this.props.Ebill.createTemplateError)) {
|
|
630
640
|
const message = getMessageObject('error', (nextProps.Ebill.createTemplateErrorMessage && nextProps.Ebill.createTemplateErrorMessage !== '') ? nextProps.Ebill.createTemplateErrorMessage : this.props.intl.formatMessage(messages.somethingWentWrong), true);
|
|
631
641
|
this.props.globalActions.addMessageToQueue(message);
|
|
642
|
+
this.isSubmitting = false;
|
|
643
|
+
this.setState({ isSaving: false });
|
|
632
644
|
}
|
|
633
645
|
|
|
634
646
|
|
|
@@ -773,11 +785,23 @@ export class Ebill extends React.Component { // eslint-disable-line react/prefer
|
|
|
773
785
|
saveFormData = (formData) => {
|
|
774
786
|
//Logic to save in db etc
|
|
775
787
|
// const isValidated = this.validateFormData(formData);
|
|
776
|
-
//
|
|
788
|
+
//
|
|
777
789
|
// if (!isValidated) {
|
|
778
790
|
// return;
|
|
779
791
|
// }
|
|
780
|
-
|
|
792
|
+
|
|
793
|
+
// Guard against duplicate submissions. Uses a synchronous instance flag
|
|
794
|
+
// (NOT React state) because setState is async — two onSubmit invocations in
|
|
795
|
+
// the same tick would both read a stale `false` and each dispatch a
|
|
796
|
+
// createTemplate, firing POST /templates/EBILL twice. The instance flag
|
|
797
|
+
// flips synchronously, so the second call is dropped immediately.
|
|
798
|
+
// Reset once the create/update response or error is received in componentWillReceiveProps.
|
|
799
|
+
if (this.isSubmitting) {
|
|
800
|
+
return;
|
|
801
|
+
}
|
|
802
|
+
this.isSubmitting = true;
|
|
803
|
+
this.setState({ isSaving: true });
|
|
804
|
+
|
|
781
805
|
const obj = {};
|
|
782
806
|
obj.versions = {
|
|
783
807
|
base: {},
|
|
@@ -646,7 +646,7 @@ export class Templates extends React.Component { // eslint-disable-line react/pr
|
|
|
646
646
|
}
|
|
647
647
|
|
|
648
648
|
|
|
649
|
-
if (selectedChannel === "ebill" && nextProps.CreateEbill && nextProps.CreateEbill.createResponse && nextProps.CreateEbill.createResponse.templateId && nextProps.CreateEbill.createResponse.templateId !== '') {
|
|
649
|
+
if (selectedChannel === "ebill" && nextProps.CreateEbill && nextProps.CreateEbill.createResponse && nextProps.CreateEbill.createResponse.templateId && nextProps.CreateEbill.createResponse.templateId !== '' && !isEqual(nextProps.CreateEbill.createResponse, this.props.CreateEbill && this.props.CreateEbill.createResponse)) {
|
|
650
650
|
const message = `${this.state.channel} ${this.props.intl.formatMessage(messages.templateDuplicateSuccess)}`;
|
|
651
651
|
CapNotification.success({key: 'duplicateSucess', message});
|
|
652
652
|
this.getAllTemplates({params, resetPage: true});
|
|
@@ -96461,7 +96461,6 @@ new message content.",
|
|
|
96461
96461
|
<React.Fragment>
|
|
96462
96462
|
<CapButton
|
|
96463
96463
|
data-testid="suffix-button"
|
|
96464
|
-
disabled={false}
|
|
96465
96464
|
isAddBtn={true}
|
|
96466
96465
|
onClick={[Function]}
|
|
96467
96466
|
type="flat"
|
|
@@ -97276,7 +97275,6 @@ new message content.",
|
|
|
97276
97275
|
</div>
|
|
97277
97276
|
<CapButton
|
|
97278
97277
|
data-testid="suffix-button"
|
|
97279
|
-
disabled={false}
|
|
97280
97278
|
isAddBtn={true}
|
|
97281
97279
|
onClick={[Function]}
|
|
97282
97280
|
type="flat"
|
|
@@ -97285,7 +97283,6 @@ new message content.",
|
|
|
97285
97283
|
className="cap-button-v2 flat-btn add-btn has-icon"
|
|
97286
97284
|
danger={false}
|
|
97287
97285
|
data-testid="suffix-button"
|
|
97288
|
-
disabled={false}
|
|
97289
97286
|
onClick={[Function]}
|
|
97290
97287
|
type="default"
|
|
97291
97288
|
>
|
|
@@ -97394,7 +97391,6 @@ new message content.",
|
|
|
97394
97391
|
}
|
|
97395
97392
|
}
|
|
97396
97393
|
disabled={false}
|
|
97397
|
-
errorMessage={false}
|
|
97398
97394
|
id="whatsapp-create-template-message-input"
|
|
97399
97395
|
onChange={[Function]}
|
|
97400
97396
|
value=""
|
|
@@ -97413,7 +97409,6 @@ new message content.",
|
|
|
97413
97409
|
}
|
|
97414
97410
|
}
|
|
97415
97411
|
disabled={false}
|
|
97416
|
-
errorMessage={false}
|
|
97417
97412
|
id="whatsapp-create-template-message-input"
|
|
97418
97413
|
key="component"
|
|
97419
97414
|
onChange={[Function]}
|
|
@@ -100604,7 +100599,7 @@ new message content.",
|
|
|
100604
100599
|
>
|
|
100605
100600
|
<CapCheckbox
|
|
100606
100601
|
autoFocus={true}
|
|
100607
|
-
checked={
|
|
100602
|
+
checked={true}
|
|
100608
100603
|
className="whatsapp-unsubscribe-checkbox whatsapp-create-unsubscribe-checkbox"
|
|
100609
100604
|
data-testid="whatsapp-unsubscribe-checkbox"
|
|
100610
100605
|
disabled={false}
|
|
@@ -100618,7 +100613,7 @@ new message content.",
|
|
|
100618
100613
|
>
|
|
100619
100614
|
<Checkbox
|
|
100620
100615
|
autoFocus={true}
|
|
100621
|
-
checked={
|
|
100616
|
+
checked={true}
|
|
100622
100617
|
data-testid="whatsapp-unsubscribe-checkbox"
|
|
100623
100618
|
disabled={false}
|
|
100624
100619
|
onChange={[Function]}
|
|
@@ -100628,13 +100623,13 @@ new message content.",
|
|
|
100628
100623
|
disabled={false}
|
|
100629
100624
|
>
|
|
100630
100625
|
<label
|
|
100631
|
-
className="ant-checkbox-wrapper css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
100626
|
+
className="ant-checkbox-wrapper ant-checkbox-wrapper-checked css-var-root ant-checkbox-css-var css-dev-only-do-not-override-dbp7pc"
|
|
100632
100627
|
onClick={[Function]}
|
|
100633
100628
|
style={Object {}}
|
|
100634
100629
|
>
|
|
100635
100630
|
<ForwardRef
|
|
100636
100631
|
autoFocus={true}
|
|
100637
|
-
checked={
|
|
100632
|
+
checked={true}
|
|
100638
100633
|
className="ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
100639
100634
|
data-testid="whatsapp-unsubscribe-checkbox"
|
|
100640
100635
|
disabled={false}
|
|
@@ -100643,11 +100638,11 @@ new message content.",
|
|
|
100643
100638
|
prefixCls="ant-checkbox"
|
|
100644
100639
|
>
|
|
100645
100640
|
<span
|
|
100646
|
-
className="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc"
|
|
100641
|
+
className="ant-checkbox ant-wave-target css-dev-only-do-not-override-dbp7pc ant-checkbox-checked"
|
|
100647
100642
|
>
|
|
100648
100643
|
<input
|
|
100649
100644
|
autoFocus={true}
|
|
100650
|
-
checked={
|
|
100645
|
+
checked={true}
|
|
100651
100646
|
className="ant-checkbox-input"
|
|
100652
100647
|
data-testid="whatsapp-unsubscribe-checkbox"
|
|
100653
100648
|
disabled={false}
|
|
@@ -101139,7 +101134,8 @@ new message content.",
|
|
|
101139
101134
|
"accountName": "WhatsppTest",
|
|
101140
101135
|
"templateFooter": "",
|
|
101141
101136
|
"templateHeader": "",
|
|
101142
|
-
"templateMsg": "
|
|
101137
|
+
"templateMsg": "
|
|
101138
|
+
undefined",
|
|
101143
101139
|
}
|
|
101144
101140
|
}
|
|
101145
101141
|
device="android"
|
|
@@ -102205,7 +102201,8 @@ new message content.",
|
|
|
102205
102201
|
"accountName": "WhatsppTest",
|
|
102206
102202
|
"templateFooter": "",
|
|
102207
102203
|
"templateHeader": "",
|
|
102208
|
-
"templateMsg": "
|
|
102204
|
+
"templateMsg": "
|
|
102205
|
+
undefined",
|
|
102209
102206
|
}
|
|
102210
102207
|
}
|
|
102211
102208
|
device="android"
|
|
@@ -103341,7 +103338,19 @@ new message content.",
|
|
|
103341
103338
|
"rowGap": undefined,
|
|
103342
103339
|
}
|
|
103343
103340
|
}
|
|
103344
|
-
|
|
103341
|
+
>
|
|
103342
|
+
<CapLabel
|
|
103343
|
+
type="label5"
|
|
103344
|
+
>
|
|
103345
|
+
<div
|
|
103346
|
+
className="cap-label cap-label-div label5"
|
|
103347
|
+
style={Object {}}
|
|
103348
|
+
>
|
|
103349
|
+
<br />
|
|
103350
|
+
undefined
|
|
103351
|
+
</div>
|
|
103352
|
+
</CapLabel>
|
|
103353
|
+
</div>
|
|
103345
103354
|
</Row>
|
|
103346
103355
|
</CapRow>
|
|
103347
103356
|
</div>
|
|
@@ -103549,10 +103558,12 @@ new message content.",
|
|
|
103549
103558
|
"mediaType": "TEXT",
|
|
103550
103559
|
"senderMobNum": "",
|
|
103551
103560
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103552
|
-
"templateEditor": "
|
|
103561
|
+
"templateEditor": "
|
|
103562
|
+
undefined",
|
|
103553
103563
|
"templateFooter": "",
|
|
103554
103564
|
"templateHeader": "",
|
|
103555
|
-
"templateMsg": "
|
|
103565
|
+
"templateMsg": "
|
|
103566
|
+
undefined",
|
|
103556
103567
|
"templateName": "",
|
|
103557
103568
|
"varMapped": Object {},
|
|
103558
103569
|
"whatsappDocParams": Object {},
|
|
@@ -103579,10 +103590,12 @@ new message content.",
|
|
|
103579
103590
|
"mediaType": "TEXT",
|
|
103580
103591
|
"senderMobNum": "",
|
|
103581
103592
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103582
|
-
"templateEditor": "
|
|
103593
|
+
"templateEditor": "
|
|
103594
|
+
undefined",
|
|
103583
103595
|
"templateFooter": "",
|
|
103584
103596
|
"templateHeader": "",
|
|
103585
|
-
"templateMsg": "
|
|
103597
|
+
"templateMsg": "
|
|
103598
|
+
undefined",
|
|
103586
103599
|
"templateName": "",
|
|
103587
103600
|
"varMapped": Object {},
|
|
103588
103601
|
"whatsappDocParams": Object {},
|
|
@@ -103612,10 +103625,12 @@ new message content.",
|
|
|
103612
103625
|
"mediaType": "TEXT",
|
|
103613
103626
|
"senderMobNum": "",
|
|
103614
103627
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103615
|
-
"templateEditor": "
|
|
103628
|
+
"templateEditor": "
|
|
103629
|
+
undefined",
|
|
103616
103630
|
"templateFooter": "",
|
|
103617
103631
|
"templateHeader": "",
|
|
103618
|
-
"templateMsg": "
|
|
103632
|
+
"templateMsg": "
|
|
103633
|
+
undefined",
|
|
103619
103634
|
"templateName": "",
|
|
103620
103635
|
"varMapped": Object {},
|
|
103621
103636
|
"whatsappDocParams": Object {},
|
|
@@ -103642,10 +103657,12 @@ new message content.",
|
|
|
103642
103657
|
"mediaType": "TEXT",
|
|
103643
103658
|
"senderMobNum": "",
|
|
103644
103659
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103645
|
-
"templateEditor": "
|
|
103660
|
+
"templateEditor": "
|
|
103661
|
+
undefined",
|
|
103646
103662
|
"templateFooter": "",
|
|
103647
103663
|
"templateHeader": "",
|
|
103648
|
-
"templateMsg": "
|
|
103664
|
+
"templateMsg": "
|
|
103665
|
+
undefined",
|
|
103649
103666
|
"templateName": "",
|
|
103650
103667
|
"varMapped": Object {},
|
|
103651
103668
|
"whatsappDocParams": Object {},
|
|
@@ -103676,10 +103693,12 @@ new message content.",
|
|
|
103676
103693
|
"mediaType": "TEXT",
|
|
103677
103694
|
"senderMobNum": "",
|
|
103678
103695
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103679
|
-
"templateEditor": "
|
|
103696
|
+
"templateEditor": "
|
|
103697
|
+
undefined",
|
|
103680
103698
|
"templateFooter": "",
|
|
103681
103699
|
"templateHeader": "",
|
|
103682
|
-
"templateMsg": "
|
|
103700
|
+
"templateMsg": "
|
|
103701
|
+
undefined",
|
|
103683
103702
|
"templateName": "",
|
|
103684
103703
|
"varMapped": Object {},
|
|
103685
103704
|
"whatsappDocParams": Object {},
|
|
@@ -103706,10 +103725,12 @@ new message content.",
|
|
|
103706
103725
|
"mediaType": "TEXT",
|
|
103707
103726
|
"senderMobNum": "",
|
|
103708
103727
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103709
|
-
"templateEditor": "
|
|
103728
|
+
"templateEditor": "
|
|
103729
|
+
undefined",
|
|
103710
103730
|
"templateFooter": "",
|
|
103711
103731
|
"templateHeader": "",
|
|
103712
|
-
"templateMsg": "
|
|
103732
|
+
"templateMsg": "
|
|
103733
|
+
undefined",
|
|
103713
103734
|
"templateName": "",
|
|
103714
103735
|
"varMapped": Object {},
|
|
103715
103736
|
"whatsappDocParams": Object {},
|
|
@@ -103739,10 +103760,12 @@ new message content.",
|
|
|
103739
103760
|
"mediaType": "TEXT",
|
|
103740
103761
|
"senderMobNum": "",
|
|
103741
103762
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103742
|
-
"templateEditor": "
|
|
103763
|
+
"templateEditor": "
|
|
103764
|
+
undefined",
|
|
103743
103765
|
"templateFooter": "",
|
|
103744
103766
|
"templateHeader": "",
|
|
103745
|
-
"templateMsg": "
|
|
103767
|
+
"templateMsg": "
|
|
103768
|
+
undefined",
|
|
103746
103769
|
"templateName": "",
|
|
103747
103770
|
"varMapped": Object {},
|
|
103748
103771
|
"whatsappDocParams": Object {},
|
|
@@ -103769,10 +103792,12 @@ new message content.",
|
|
|
103769
103792
|
"mediaType": "TEXT",
|
|
103770
103793
|
"senderMobNum": "",
|
|
103771
103794
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103772
|
-
"templateEditor": "
|
|
103795
|
+
"templateEditor": "
|
|
103796
|
+
undefined",
|
|
103773
103797
|
"templateFooter": "",
|
|
103774
103798
|
"templateHeader": "",
|
|
103775
|
-
"templateMsg": "
|
|
103799
|
+
"templateMsg": "
|
|
103800
|
+
undefined",
|
|
103776
103801
|
"templateName": "",
|
|
103777
103802
|
"varMapped": Object {},
|
|
103778
103803
|
"whatsappDocParams": Object {},
|
|
@@ -103803,10 +103828,12 @@ new message content.",
|
|
|
103803
103828
|
"mediaType": "TEXT",
|
|
103804
103829
|
"senderMobNum": "",
|
|
103805
103830
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103806
|
-
"templateEditor": "
|
|
103831
|
+
"templateEditor": "
|
|
103832
|
+
undefined",
|
|
103807
103833
|
"templateFooter": "",
|
|
103808
103834
|
"templateHeader": "",
|
|
103809
|
-
"templateMsg": "
|
|
103835
|
+
"templateMsg": "
|
|
103836
|
+
undefined",
|
|
103810
103837
|
"templateName": "",
|
|
103811
103838
|
"varMapped": Object {},
|
|
103812
103839
|
"whatsappDocParams": Object {},
|
|
@@ -103833,10 +103860,12 @@ new message content.",
|
|
|
103833
103860
|
"mediaType": "TEXT",
|
|
103834
103861
|
"senderMobNum": "",
|
|
103835
103862
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103836
|
-
"templateEditor": "
|
|
103863
|
+
"templateEditor": "
|
|
103864
|
+
undefined",
|
|
103837
103865
|
"templateFooter": "",
|
|
103838
103866
|
"templateHeader": "",
|
|
103839
|
-
"templateMsg": "
|
|
103867
|
+
"templateMsg": "
|
|
103868
|
+
undefined",
|
|
103840
103869
|
"templateName": "",
|
|
103841
103870
|
"varMapped": Object {},
|
|
103842
103871
|
"whatsappDocParams": Object {},
|
|
@@ -103885,10 +103914,12 @@ new message content.",
|
|
|
103885
103914
|
"mediaType": "TEXT",
|
|
103886
103915
|
"senderMobNum": "",
|
|
103887
103916
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103888
|
-
"templateEditor": "
|
|
103917
|
+
"templateEditor": "
|
|
103918
|
+
undefined",
|
|
103889
103919
|
"templateFooter": "",
|
|
103890
103920
|
"templateHeader": "",
|
|
103891
|
-
"templateMsg": "
|
|
103921
|
+
"templateMsg": "
|
|
103922
|
+
undefined",
|
|
103892
103923
|
"templateName": "",
|
|
103893
103924
|
"varMapped": Object {},
|
|
103894
103925
|
"whatsappDocParams": Object {},
|
|
@@ -103919,10 +103950,12 @@ new message content.",
|
|
|
103919
103950
|
"mediaType": "TEXT",
|
|
103920
103951
|
"senderMobNum": "",
|
|
103921
103952
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103922
|
-
"templateEditor": "
|
|
103953
|
+
"templateEditor": "
|
|
103954
|
+
undefined",
|
|
103923
103955
|
"templateFooter": "",
|
|
103924
103956
|
"templateHeader": "",
|
|
103925
|
-
"templateMsg": "
|
|
103957
|
+
"templateMsg": "
|
|
103958
|
+
undefined",
|
|
103926
103959
|
"templateName": "",
|
|
103927
103960
|
"varMapped": Object {},
|
|
103928
103961
|
"whatsappDocParams": Object {},
|
|
@@ -103995,10 +104028,12 @@ new message content.",
|
|
|
103995
104028
|
"mediaType": "TEXT",
|
|
103996
104029
|
"senderMobNum": "",
|
|
103997
104030
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
103998
|
-
"templateEditor": "
|
|
104031
|
+
"templateEditor": "
|
|
104032
|
+
undefined",
|
|
103999
104033
|
"templateFooter": "",
|
|
104000
104034
|
"templateHeader": "",
|
|
104001
|
-
"templateMsg": "
|
|
104035
|
+
"templateMsg": "
|
|
104036
|
+
undefined",
|
|
104002
104037
|
"templateName": "",
|
|
104003
104038
|
"varMapped": Object {},
|
|
104004
104039
|
"whatsappDocParams": Object {},
|
|
@@ -104030,10 +104065,12 @@ new message content.",
|
|
|
104030
104065
|
"mediaType": "TEXT",
|
|
104031
104066
|
"senderMobNum": "",
|
|
104032
104067
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
104033
|
-
"templateEditor": "
|
|
104068
|
+
"templateEditor": "
|
|
104069
|
+
undefined",
|
|
104034
104070
|
"templateFooter": "",
|
|
104035
104071
|
"templateHeader": "",
|
|
104036
|
-
"templateMsg": "
|
|
104072
|
+
"templateMsg": "
|
|
104073
|
+
undefined",
|
|
104037
104074
|
"templateName": "",
|
|
104038
104075
|
"varMapped": Object {},
|
|
104039
104076
|
"whatsappDocParams": Object {},
|
|
@@ -106360,10 +106397,12 @@ new message content.",
|
|
|
106360
106397
|
"mediaType": "TEXT",
|
|
106361
106398
|
"senderMobNum": "",
|
|
106362
106399
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
106363
|
-
"templateEditor": "
|
|
106400
|
+
"templateEditor": "
|
|
106401
|
+
undefined",
|
|
106364
106402
|
"templateFooter": "",
|
|
106365
106403
|
"templateHeader": "",
|
|
106366
|
-
"templateMsg": "
|
|
106404
|
+
"templateMsg": "
|
|
106405
|
+
undefined",
|
|
106367
106406
|
"templateName": "",
|
|
106368
106407
|
"varMapped": Object {},
|
|
106369
106408
|
"whatsappDocParams": Object {},
|
|
@@ -106394,10 +106433,12 @@ new message content.",
|
|
|
106394
106433
|
"mediaType": "TEXT",
|
|
106395
106434
|
"senderMobNum": "",
|
|
106396
106435
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
106397
|
-
"templateEditor": "
|
|
106436
|
+
"templateEditor": "
|
|
106437
|
+
undefined",
|
|
106398
106438
|
"templateFooter": "",
|
|
106399
106439
|
"templateHeader": "",
|
|
106400
|
-
"templateMsg": "
|
|
106440
|
+
"templateMsg": "
|
|
106441
|
+
undefined",
|
|
106401
106442
|
"templateName": "",
|
|
106402
106443
|
"varMapped": Object {},
|
|
106403
106444
|
"whatsappDocParams": Object {},
|
|
@@ -108729,7 +108770,7 @@ new message content.",
|
|
|
108729
108770
|
>
|
|
108730
108771
|
<SendTestMessage
|
|
108731
108772
|
channel="WHATSAPP"
|
|
108732
|
-
content="{\\"templateMsg\\":\\"\\",\\"templateHeader\\":\\"\\",\\"templateFooter\\":\\"\\",\\"_id\\":null,\\"templateName\\":\\"\\",\\"templateEditor\\":\\"\\",\\"category\\":\\"\\",\\"language\\":\\"en\\",\\"varMapped\\":{},\\"buttonType\\":\\"NONE\\",\\"mediaType\\":\\"TEXT\\",\\"isPreviewUrl\\":false,\\"headerVarMapped\\":{},\\"headerTemplate\\":\\"\\",\\"whatsappVideoSrcAndPreview\\":{\\"whatsappVideoSrc\\":\\"\\",\\"whatsappVideoPreviewImg\\":\\"\\"},\\"whatsappDocSource\\":\\"\\",\\"whatsappDocParams\\":{},\\"accountId\\":\\"\\",\\"sourceAccountIdentifier\\":\\"AC41030cebba9e2f1ce37c78235da0ee18\\",\\"accountName\\":\\"WhatsppTest\\",\\"senderMobNum\\":\\"\\",\\"domainId\\":null}"
|
|
108773
|
+
content="{\\"templateMsg\\":\\"\\\\nundefined\\",\\"templateHeader\\":\\"\\",\\"templateFooter\\":\\"\\",\\"_id\\":null,\\"templateName\\":\\"\\",\\"templateEditor\\":\\"\\\\nundefined\\",\\"category\\":\\"\\",\\"language\\":\\"en\\",\\"varMapped\\":{},\\"buttonType\\":\\"NONE\\",\\"mediaType\\":\\"TEXT\\",\\"isPreviewUrl\\":false,\\"headerVarMapped\\":{},\\"headerTemplate\\":\\"\\",\\"whatsappVideoSrcAndPreview\\":{\\"whatsappVideoSrc\\":\\"\\",\\"whatsappVideoPreviewImg\\":\\"\\"},\\"whatsappDocSource\\":\\"\\",\\"whatsappDocParams\\":{},\\"accountId\\":\\"\\",\\"sourceAccountIdentifier\\":\\"AC41030cebba9e2f1ce37c78235da0ee18\\",\\"accountName\\":\\"WhatsppTest\\",\\"senderMobNum\\":\\"\\",\\"domainId\\":null}"
|
|
108733
108774
|
deliverySettings={
|
|
108734
108775
|
Object {
|
|
108735
108776
|
"domainId": null,
|
|
@@ -108752,10 +108793,12 @@ new message content.",
|
|
|
108752
108793
|
"mediaType": "TEXT",
|
|
108753
108794
|
"senderMobNum": "",
|
|
108754
108795
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
108755
|
-
"templateEditor": "
|
|
108796
|
+
"templateEditor": "
|
|
108797
|
+
undefined",
|
|
108756
108798
|
"templateFooter": "",
|
|
108757
108799
|
"templateHeader": "",
|
|
108758
|
-
"templateMsg": "
|
|
108800
|
+
"templateMsg": "
|
|
108801
|
+
undefined",
|
|
108759
108802
|
"templateName": "",
|
|
108760
108803
|
"varMapped": Object {},
|
|
108761
108804
|
"whatsappDocParams": Object {},
|
|
@@ -108825,10 +108868,12 @@ new message content.",
|
|
|
108825
108868
|
"mediaType": "TEXT",
|
|
108826
108869
|
"senderMobNum": "",
|
|
108827
108870
|
"sourceAccountIdentifier": "AC41030cebba9e2f1ce37c78235da0ee18",
|
|
108828
|
-
"templateEditor": "
|
|
108871
|
+
"templateEditor": "
|
|
108872
|
+
undefined",
|
|
108829
108873
|
"templateFooter": "",
|
|
108830
108874
|
"templateHeader": "",
|
|
108831
|
-
"templateMsg": "
|
|
108875
|
+
"templateMsg": "
|
|
108876
|
+
undefined",
|
|
108832
108877
|
"templateName": "",
|
|
108833
108878
|
"varMapped": Object {},
|
|
108834
108879
|
"whatsappDocParams": Object {},
|