@capillarytech/creatives-library 8.0.328 → 8.0.330-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/constants/unified.js +4 -0
- package/package.json +1 -1
- package/services/api.js +17 -0
- package/services/tests/api.test.js +85 -0
- package/utils/commonUtils.js +28 -0
- package/utils/tagValidations.js +2 -3
- package/utils/templateVarUtils.js +35 -6
- package/utils/tests/commonUtil.test.js +169 -0
- package/utils/tests/tagValidations.test.js +1 -1
- package/utils/tests/templateVarUtils.test.js +44 -0
- package/v2Components/CommonTestAndPreview/AddTestCustomer.js +42 -0
- package/v2Components/CommonTestAndPreview/CustomerCreationModal.js +155 -0
- package/v2Components/CommonTestAndPreview/ExistingCustomerModal.js +93 -0
- package/v2Components/CommonTestAndPreview/SendTestMessage.js +79 -51
- package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +134 -34
- package/v2Components/CommonTestAndPreview/actions.js +10 -0
- package/v2Components/CommonTestAndPreview/constants.js +15 -1
- package/v2Components/CommonTestAndPreview/index.js +364 -72
- package/v2Components/CommonTestAndPreview/messages.js +106 -0
- package/v2Components/CommonTestAndPreview/reducer.js +10 -0
- package/v2Components/CommonTestAndPreview/tests/AddTestCustomer.test.js +66 -0
- package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +648 -0
- package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +24 -0
- package/v2Components/CommonTestAndPreview/tests/CustomerCreationModal.test.js +174 -0
- package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +114 -0
- package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +52 -0
- package/v2Components/CommonTestAndPreview/tests/constants.test.js +31 -1
- package/v2Components/CommonTestAndPreview/tests/index.test.js +36 -0
- package/v2Components/CommonTestAndPreview/tests/reducer.test.js +71 -0
- package/v2Components/CommonTestAndPreview/tests/selectors.test.js +17 -0
- package/v2Components/SmsFallback/smsFallbackUtils.js +14 -3
- package/v2Components/SmsFallback/tests/smsFallbackUtils.test.js +16 -0
- package/v2Components/TestAndPreviewSlidebox/index.js +5 -0
- package/v2Containers/CreativesContainer/index.js +15 -10
- package/v2Containers/Rcs/constants.js +6 -2
- package/v2Containers/Rcs/index.js +219 -91
- package/v2Containers/Rcs/messages.js +2 -1
- package/v2Containers/Rcs/rcsLibraryHydrationUtils.js +20 -0
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +2370 -1758
- package/v2Containers/Rcs/tests/rcsLibraryHydrationUtils.test.js +67 -0
- package/v2Containers/Rcs/tests/utils.test.js +56 -0
- package/v2Containers/Rcs/utils.js +53 -6
- package/v2Containers/SmsTrai/Edit/index.js +27 -0
- package/v2Containers/SmsTrai/Edit/messages.js +5 -0
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +357 -324
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +5586 -5212
|
@@ -3292,7 +3292,7 @@ FREE GIFTS-
|
|
|
3292
3292
|
</div>
|
|
3293
3293
|
</Edit__TraiEditTemplateDetails>
|
|
3294
3294
|
<CapColumn
|
|
3295
|
-
key=".
|
|
3295
|
+
key=".2"
|
|
3296
3296
|
span={14}
|
|
3297
3297
|
>
|
|
3298
3298
|
<Col
|
|
@@ -4552,7 +4552,7 @@ FREE GIFTS-
|
|
|
4552
4552
|
</Col>
|
|
4553
4553
|
</CapColumn>
|
|
4554
4554
|
<CapColumn
|
|
4555
|
-
key=".
|
|
4555
|
+
key=".3"
|
|
4556
4556
|
offset={1}
|
|
4557
4557
|
span={8}
|
|
4558
4558
|
>
|
|
@@ -6705,6 +6705,7 @@ FREE GIFTS-
|
|
|
6705
6705
|
<InjectIntl(TestAndPreviewSlidebox)
|
|
6706
6706
|
actions={
|
|
6707
6707
|
Object {
|
|
6708
|
+
"addTestCustomer": [Function],
|
|
6708
6709
|
"clearCustomerSearchState": [Function],
|
|
6709
6710
|
"clearPrefilledValues": [Function],
|
|
6710
6711
|
"clearPreviewErrors": [Function],
|
|
@@ -6785,6 +6786,7 @@ FREE GIFTS-
|
|
|
6785
6786
|
<TestAndPreviewSlidebox
|
|
6786
6787
|
actions={
|
|
6787
6788
|
Object {
|
|
6789
|
+
"addTestCustomer": [Function],
|
|
6788
6790
|
"clearCustomerSearchState": [Function],
|
|
6789
6791
|
"clearPrefilledValues": [Function],
|
|
6790
6792
|
"clearPreviewErrors": [Function],
|
|
@@ -9115,6 +9117,7 @@ new message content.",
|
|
|
9115
9117
|
<CommonTestAndPreview
|
|
9116
9118
|
actions={
|
|
9117
9119
|
Object {
|
|
9120
|
+
"addTestCustomer": [Function],
|
|
9118
9121
|
"clearCustomerSearchState": [Function],
|
|
9119
9122
|
"clearPrefilledValues": [Function],
|
|
9120
9123
|
"clearPreviewErrors": [Function],
|
|
@@ -11462,40 +11465,44 @@ new message content.",
|
|
|
11462
11465
|
closeIconSize="m"
|
|
11463
11466
|
closeIconType="close"
|
|
11464
11467
|
content={
|
|
11465
|
-
<
|
|
11466
|
-
className="test-preview-
|
|
11468
|
+
<CapSpin
|
|
11469
|
+
className="common-test-preview-lookup-spin "
|
|
11470
|
+
spinning={false}
|
|
11467
11471
|
>
|
|
11468
11472
|
<CapRow
|
|
11469
|
-
className="test-
|
|
11473
|
+
className="test-preview-container"
|
|
11470
11474
|
>
|
|
11471
11475
|
<CapRow
|
|
11472
|
-
className="
|
|
11476
|
+
className="test-and-preview-panels"
|
|
11473
11477
|
>
|
|
11474
|
-
<LeftPanelContent
|
|
11475
|
-
customers={Immutable.List []}
|
|
11476
|
-
enableCustomerSearch={true}
|
|
11477
|
-
enableTagExtraction={true}
|
|
11478
|
-
error7078Message={null}
|
|
11479
|
-
extractedTags={Array []}
|
|
11480
|
-
handleClearSelection={[Function]}
|
|
11481
|
-
handleCustomerSelect={[Function]}
|
|
11482
|
-
handleExtractTags={[Function]}
|
|
11483
|
-
handleSearchCustomer={[Function]}
|
|
11484
|
-
isExtractingTags={false}
|
|
11485
|
-
isSearchingCustomer={false}
|
|
11486
|
-
renderCustomValuesEditor={[Function]}
|
|
11487
|
-
selectedCustomer={null}
|
|
11488
|
-
tagsExtracted={false}
|
|
11489
|
-
/>
|
|
11490
|
-
<CapDivider
|
|
11491
|
-
className="panel-divider"
|
|
11492
|
-
/>
|
|
11493
11478
|
<CapRow
|
|
11494
|
-
className="panel
|
|
11479
|
+
className="left-panel"
|
|
11495
11480
|
>
|
|
11496
|
-
<
|
|
11497
|
-
|
|
11498
|
-
|
|
11481
|
+
<LeftPanelContent
|
|
11482
|
+
customers={Immutable.List []}
|
|
11483
|
+
enableCustomerSearch={true}
|
|
11484
|
+
enableTagExtraction={true}
|
|
11485
|
+
error7078Message={null}
|
|
11486
|
+
extractedTags={Array []}
|
|
11487
|
+
handleClearSelection={[Function]}
|
|
11488
|
+
handleCustomerSelect={[Function]}
|
|
11489
|
+
handleExtractTags={[Function]}
|
|
11490
|
+
handleSearchCustomer={[Function]}
|
|
11491
|
+
isExtractingTags={false}
|
|
11492
|
+
isSearchingCustomer={false}
|
|
11493
|
+
renderCustomValuesEditor={[Function]}
|
|
11494
|
+
selectedCustomer={null}
|
|
11495
|
+
tagsExtracted={false}
|
|
11496
|
+
/>
|
|
11497
|
+
<CapDivider
|
|
11498
|
+
className="panel-divider"
|
|
11499
|
+
/>
|
|
11500
|
+
<CapRow
|
|
11501
|
+
className="panel-section send-test-section"
|
|
11502
|
+
>
|
|
11503
|
+
<SendTestMessage
|
|
11504
|
+
channel="SMS"
|
|
11505
|
+
content="LATEST FASHION@VISHAL
|
|
11499
11506
|
{#var#}
|
|
11500
11507
|
|
|
11501
11508
|
BUY1GET1-
|
|
@@ -11506,19 +11513,19 @@ BUY1GET1-
|
|
|
11506
11513
|
FREE GIFTS-
|
|
11507
11514
|
{#var#}
|
|
11508
11515
|
{#var#}"
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11516
|
+
deliverySettings={
|
|
11517
|
+
Object {
|
|
11518
|
+
"cdmaSenderId": "",
|
|
11519
|
+
"domainGatewayMapId": null,
|
|
11520
|
+
"domainId": null,
|
|
11521
|
+
"gsmSenderId": "",
|
|
11522
|
+
}
|
|
11515
11523
|
}
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
"template": "LATEST FASHION@VISHAL
|
|
11524
|
+
formData={
|
|
11525
|
+
Object {
|
|
11526
|
+
"templateConfigs": Object {
|
|
11527
|
+
"registeredSenderIds": Array [],
|
|
11528
|
+
"template": "LATEST FASHION@VISHAL
|
|
11522
11529
|
{#var#}
|
|
11523
11530
|
|
|
11524
11531
|
BUY1GET1-
|
|
@@ -11529,62 +11536,65 @@ BUY1GET1-
|
|
|
11529
11536
|
FREE GIFTS-
|
|
11530
11537
|
{#var#}
|
|
11531
11538
|
{#var#}",
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
|
-
|
|
11535
|
-
|
|
11536
|
-
}
|
|
11537
|
-
formatMessage={[Function]}
|
|
11538
|
-
handleSendTestMessage={[Function]}
|
|
11539
|
-
handleTestEntitiesChange={[Function]}
|
|
11540
|
-
isChannelSmsFallbackPreviewEnabled={false}
|
|
11541
|
-
isFetchingTestCustomers={false}
|
|
11542
|
-
isFetchingTestGroups={false}
|
|
11543
|
-
isLoadingSenderDetails={false}
|
|
11544
|
-
isSendingTestMessage={false}
|
|
11545
|
-
onSaveDeliverySettings={[Function]}
|
|
11546
|
-
registeredSenderIds={Array []}
|
|
11547
|
-
selectedTestEntities={Array []}
|
|
11548
|
-
senderDetailsByChannel={
|
|
11549
|
-
Object {
|
|
11550
|
-
"EMAIL": Array [],
|
|
11551
|
-
"SMS": Array [],
|
|
11552
|
-
"WHATSAPP": Array [],
|
|
11539
|
+
"templateId": "'1107160207324585172'",
|
|
11540
|
+
"traiDltEnabled": undefined,
|
|
11541
|
+
},
|
|
11542
|
+
}
|
|
11553
11543
|
}
|
|
11554
|
-
|
|
11555
|
-
|
|
11556
|
-
|
|
11557
|
-
|
|
11558
|
-
|
|
11559
|
-
|
|
11560
|
-
|
|
11561
|
-
|
|
11562
|
-
|
|
11563
|
-
|
|
11544
|
+
formatMessage={[Function]}
|
|
11545
|
+
handleSendTestMessage={[Function]}
|
|
11546
|
+
handleTestEntitiesChange={[Function]}
|
|
11547
|
+
isChannelSmsFallbackPreviewEnabled={false}
|
|
11548
|
+
isFetchingTestCustomers={false}
|
|
11549
|
+
isFetchingTestGroups={false}
|
|
11550
|
+
isLoadingSenderDetails={false}
|
|
11551
|
+
isSendingTestMessage={false}
|
|
11552
|
+
onSaveDeliverySettings={[Function]}
|
|
11553
|
+
registeredSenderIds={Array []}
|
|
11554
|
+
renderAddTestCustomerButton={[Function]}
|
|
11555
|
+
searchValue=""
|
|
11556
|
+
selectedTestEntities={Array []}
|
|
11557
|
+
senderDetailsByChannel={
|
|
11564
11558
|
Object {
|
|
11565
|
-
"
|
|
11566
|
-
"
|
|
11567
|
-
"
|
|
11568
|
-
|
|
11569
|
-
|
|
11570
|
-
]
|
|
11571
|
-
|
|
11572
|
-
|
|
11559
|
+
"EMAIL": Array [],
|
|
11560
|
+
"SMS": Array [],
|
|
11561
|
+
"WHATSAPP": Array [],
|
|
11562
|
+
}
|
|
11563
|
+
}
|
|
11564
|
+
setSearchValue={[Function]}
|
|
11565
|
+
smsTraiDltEnabled={false}
|
|
11566
|
+
testEntitiesTreeData={
|
|
11567
|
+
Array [
|
|
11568
|
+
Object {
|
|
11569
|
+
"children": Immutable.List [],
|
|
11570
|
+
"selectable": false,
|
|
11571
|
+
"title": "Groups",
|
|
11572
|
+
"value": "groups-node",
|
|
11573
|
+
},
|
|
11574
|
+
Object {
|
|
11575
|
+
"children": Immutable.List [],
|
|
11576
|
+
"selectable": false,
|
|
11577
|
+
"title": "Individuals",
|
|
11578
|
+
"value": "customers-node",
|
|
11579
|
+
},
|
|
11580
|
+
]
|
|
11581
|
+
}
|
|
11582
|
+
wecrmAccounts={Array []}
|
|
11583
|
+
/>
|
|
11584
|
+
</CapRow>
|
|
11585
|
+
<CapDivider
|
|
11586
|
+
className="panel-divider"
|
|
11573
11587
|
/>
|
|
11574
11588
|
</CapRow>
|
|
11575
|
-
<
|
|
11576
|
-
className="panel
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11584
|
-
Object {
|
|
11585
|
-
"activePreviewTab": "rcs",
|
|
11586
|
-
"channel": "SMS",
|
|
11587
|
-
"content": "LATEST FASHION@VISHAL
|
|
11589
|
+
<CapRow
|
|
11590
|
+
className="right-panel"
|
|
11591
|
+
>
|
|
11592
|
+
<PreviewSection
|
|
11593
|
+
unifiedPreviewProps={
|
|
11594
|
+
Object {
|
|
11595
|
+
"activePreviewTab": "rcs",
|
|
11596
|
+
"channel": "SMS",
|
|
11597
|
+
"content": "LATEST FASHION@VISHAL
|
|
11588
11598
|
{#var#}
|
|
11589
11599
|
|
|
11590
11600
|
BUY1GET1-
|
|
@@ -11595,24 +11605,25 @@ BUY1GET1-
|
|
|
11595
11605
|
FREE GIFTS-
|
|
11596
11606
|
{#var#}
|
|
11597
11607
|
{#var#}",
|
|
11598
|
-
|
|
11599
|
-
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11606
|
-
|
|
11607
|
-
|
|
11608
|
-
|
|
11609
|
-
|
|
11608
|
+
"device": "desktop",
|
|
11609
|
+
"error": null,
|
|
11610
|
+
"formatMessage": [Function],
|
|
11611
|
+
"isUpdating": false,
|
|
11612
|
+
"lastModified": undefined,
|
|
11613
|
+
"onDeviceChange": [Function],
|
|
11614
|
+
"onPreviewTabChange": [Function],
|
|
11615
|
+
"selectedCustomer": null,
|
|
11616
|
+
"showDeviceToggle": true,
|
|
11617
|
+
"smsFallbackContent": null,
|
|
11618
|
+
"smsFallbackResolvedText": undefined,
|
|
11619
|
+
"updatedByName": undefined,
|
|
11620
|
+
}
|
|
11610
11621
|
}
|
|
11611
|
-
|
|
11612
|
-
|
|
11622
|
+
/>
|
|
11623
|
+
</CapRow>
|
|
11613
11624
|
</CapRow>
|
|
11614
11625
|
</CapRow>
|
|
11615
|
-
</
|
|
11626
|
+
</CapSpin>
|
|
11616
11627
|
}
|
|
11617
11628
|
handleClose={[Function]}
|
|
11618
11629
|
header={
|
|
@@ -14951,7 +14962,7 @@ FREE GIFTS-
|
|
|
14951
14962
|
</div>
|
|
14952
14963
|
</Edit__TraiEditTemplateDetails>
|
|
14953
14964
|
<CapColumn
|
|
14954
|
-
key=".
|
|
14965
|
+
key=".2"
|
|
14955
14966
|
span={14}
|
|
14956
14967
|
>
|
|
14957
14968
|
<Col
|
|
@@ -16211,7 +16222,7 @@ FREE GIFTS-
|
|
|
16211
16222
|
</Col>
|
|
16212
16223
|
</CapColumn>
|
|
16213
16224
|
<CapColumn
|
|
16214
|
-
key=".
|
|
16225
|
+
key=".3"
|
|
16215
16226
|
offset={1}
|
|
16216
16227
|
span={8}
|
|
16217
16228
|
>
|
|
@@ -18364,6 +18375,7 @@ FREE GIFTS-
|
|
|
18364
18375
|
<InjectIntl(TestAndPreviewSlidebox)
|
|
18365
18376
|
actions={
|
|
18366
18377
|
Object {
|
|
18378
|
+
"addTestCustomer": [Function],
|
|
18367
18379
|
"clearCustomerSearchState": [Function],
|
|
18368
18380
|
"clearPrefilledValues": [Function],
|
|
18369
18381
|
"clearPreviewErrors": [Function],
|
|
@@ -18444,6 +18456,7 @@ FREE GIFTS-
|
|
|
18444
18456
|
<TestAndPreviewSlidebox
|
|
18445
18457
|
actions={
|
|
18446
18458
|
Object {
|
|
18459
|
+
"addTestCustomer": [Function],
|
|
18447
18460
|
"clearCustomerSearchState": [Function],
|
|
18448
18461
|
"clearPrefilledValues": [Function],
|
|
18449
18462
|
"clearPreviewErrors": [Function],
|
|
@@ -20774,6 +20787,7 @@ new message content.",
|
|
|
20774
20787
|
<CommonTestAndPreview
|
|
20775
20788
|
actions={
|
|
20776
20789
|
Object {
|
|
20790
|
+
"addTestCustomer": [Function],
|
|
20777
20791
|
"clearCustomerSearchState": [Function],
|
|
20778
20792
|
"clearPrefilledValues": [Function],
|
|
20779
20793
|
"clearPreviewErrors": [Function],
|
|
@@ -23121,40 +23135,44 @@ new message content.",
|
|
|
23121
23135
|
closeIconSize="m"
|
|
23122
23136
|
closeIconType="close"
|
|
23123
23137
|
content={
|
|
23124
|
-
<
|
|
23125
|
-
className="test-preview-
|
|
23138
|
+
<CapSpin
|
|
23139
|
+
className="common-test-preview-lookup-spin "
|
|
23140
|
+
spinning={false}
|
|
23126
23141
|
>
|
|
23127
23142
|
<CapRow
|
|
23128
|
-
className="test-
|
|
23143
|
+
className="test-preview-container"
|
|
23129
23144
|
>
|
|
23130
23145
|
<CapRow
|
|
23131
|
-
className="
|
|
23146
|
+
className="test-and-preview-panels"
|
|
23132
23147
|
>
|
|
23133
|
-
<LeftPanelContent
|
|
23134
|
-
customers={Immutable.List []}
|
|
23135
|
-
enableCustomerSearch={true}
|
|
23136
|
-
enableTagExtraction={true}
|
|
23137
|
-
error7078Message={null}
|
|
23138
|
-
extractedTags={Array []}
|
|
23139
|
-
handleClearSelection={[Function]}
|
|
23140
|
-
handleCustomerSelect={[Function]}
|
|
23141
|
-
handleExtractTags={[Function]}
|
|
23142
|
-
handleSearchCustomer={[Function]}
|
|
23143
|
-
isExtractingTags={false}
|
|
23144
|
-
isSearchingCustomer={false}
|
|
23145
|
-
renderCustomValuesEditor={[Function]}
|
|
23146
|
-
selectedCustomer={null}
|
|
23147
|
-
tagsExtracted={false}
|
|
23148
|
-
/>
|
|
23149
|
-
<CapDivider
|
|
23150
|
-
className="panel-divider"
|
|
23151
|
-
/>
|
|
23152
23148
|
<CapRow
|
|
23153
|
-
className="panel
|
|
23149
|
+
className="left-panel"
|
|
23154
23150
|
>
|
|
23155
|
-
<
|
|
23156
|
-
|
|
23157
|
-
|
|
23151
|
+
<LeftPanelContent
|
|
23152
|
+
customers={Immutable.List []}
|
|
23153
|
+
enableCustomerSearch={true}
|
|
23154
|
+
enableTagExtraction={true}
|
|
23155
|
+
error7078Message={null}
|
|
23156
|
+
extractedTags={Array []}
|
|
23157
|
+
handleClearSelection={[Function]}
|
|
23158
|
+
handleCustomerSelect={[Function]}
|
|
23159
|
+
handleExtractTags={[Function]}
|
|
23160
|
+
handleSearchCustomer={[Function]}
|
|
23161
|
+
isExtractingTags={false}
|
|
23162
|
+
isSearchingCustomer={false}
|
|
23163
|
+
renderCustomValuesEditor={[Function]}
|
|
23164
|
+
selectedCustomer={null}
|
|
23165
|
+
tagsExtracted={false}
|
|
23166
|
+
/>
|
|
23167
|
+
<CapDivider
|
|
23168
|
+
className="panel-divider"
|
|
23169
|
+
/>
|
|
23170
|
+
<CapRow
|
|
23171
|
+
className="panel-section send-test-section"
|
|
23172
|
+
>
|
|
23173
|
+
<SendTestMessage
|
|
23174
|
+
channel="SMS"
|
|
23175
|
+
content="LATEST FASHION@VISHAL
|
|
23158
23176
|
{#var#}
|
|
23159
23177
|
|
|
23160
23178
|
BUY1GET1-
|
|
@@ -23165,19 +23183,19 @@ BUY1GET1-
|
|
|
23165
23183
|
FREE GIFTS-
|
|
23166
23184
|
{#var#}
|
|
23167
23185
|
{#var#}"
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
|
|
23172
|
-
|
|
23173
|
-
|
|
23186
|
+
deliverySettings={
|
|
23187
|
+
Object {
|
|
23188
|
+
"cdmaSenderId": "",
|
|
23189
|
+
"domainGatewayMapId": null,
|
|
23190
|
+
"domainId": null,
|
|
23191
|
+
"gsmSenderId": "",
|
|
23192
|
+
}
|
|
23174
23193
|
}
|
|
23175
|
-
|
|
23176
|
-
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
"template": "LATEST FASHION@VISHAL
|
|
23194
|
+
formData={
|
|
23195
|
+
Object {
|
|
23196
|
+
"templateConfigs": Object {
|
|
23197
|
+
"registeredSenderIds": Array [],
|
|
23198
|
+
"template": "LATEST FASHION@VISHAL
|
|
23181
23199
|
{#var#}
|
|
23182
23200
|
|
|
23183
23201
|
BUY1GET1-
|
|
@@ -23188,62 +23206,65 @@ BUY1GET1-
|
|
|
23188
23206
|
FREE GIFTS-
|
|
23189
23207
|
{#var#}
|
|
23190
23208
|
{#var#}",
|
|
23191
|
-
|
|
23192
|
-
|
|
23193
|
-
|
|
23194
|
-
|
|
23195
|
-
}
|
|
23196
|
-
formatMessage={[Function]}
|
|
23197
|
-
handleSendTestMessage={[Function]}
|
|
23198
|
-
handleTestEntitiesChange={[Function]}
|
|
23199
|
-
isChannelSmsFallbackPreviewEnabled={false}
|
|
23200
|
-
isFetchingTestCustomers={false}
|
|
23201
|
-
isFetchingTestGroups={false}
|
|
23202
|
-
isLoadingSenderDetails={false}
|
|
23203
|
-
isSendingTestMessage={false}
|
|
23204
|
-
onSaveDeliverySettings={[Function]}
|
|
23205
|
-
registeredSenderIds={Array []}
|
|
23206
|
-
selectedTestEntities={Array []}
|
|
23207
|
-
senderDetailsByChannel={
|
|
23208
|
-
Object {
|
|
23209
|
-
"EMAIL": Array [],
|
|
23210
|
-
"SMS": Array [],
|
|
23211
|
-
"WHATSAPP": Array [],
|
|
23209
|
+
"templateId": "'1107160207324585172'",
|
|
23210
|
+
"traiDltEnabled": undefined,
|
|
23211
|
+
},
|
|
23212
|
+
}
|
|
23212
23213
|
}
|
|
23213
|
-
|
|
23214
|
-
|
|
23215
|
-
|
|
23216
|
-
|
|
23217
|
-
|
|
23218
|
-
|
|
23219
|
-
|
|
23220
|
-
|
|
23221
|
-
|
|
23222
|
-
|
|
23214
|
+
formatMessage={[Function]}
|
|
23215
|
+
handleSendTestMessage={[Function]}
|
|
23216
|
+
handleTestEntitiesChange={[Function]}
|
|
23217
|
+
isChannelSmsFallbackPreviewEnabled={false}
|
|
23218
|
+
isFetchingTestCustomers={false}
|
|
23219
|
+
isFetchingTestGroups={false}
|
|
23220
|
+
isLoadingSenderDetails={false}
|
|
23221
|
+
isSendingTestMessage={false}
|
|
23222
|
+
onSaveDeliverySettings={[Function]}
|
|
23223
|
+
registeredSenderIds={Array []}
|
|
23224
|
+
renderAddTestCustomerButton={[Function]}
|
|
23225
|
+
searchValue=""
|
|
23226
|
+
selectedTestEntities={Array []}
|
|
23227
|
+
senderDetailsByChannel={
|
|
23223
23228
|
Object {
|
|
23224
|
-
"
|
|
23225
|
-
"
|
|
23226
|
-
"
|
|
23227
|
-
|
|
23228
|
-
|
|
23229
|
-
]
|
|
23230
|
-
|
|
23231
|
-
|
|
23229
|
+
"EMAIL": Array [],
|
|
23230
|
+
"SMS": Array [],
|
|
23231
|
+
"WHATSAPP": Array [],
|
|
23232
|
+
}
|
|
23233
|
+
}
|
|
23234
|
+
setSearchValue={[Function]}
|
|
23235
|
+
smsTraiDltEnabled={false}
|
|
23236
|
+
testEntitiesTreeData={
|
|
23237
|
+
Array [
|
|
23238
|
+
Object {
|
|
23239
|
+
"children": Immutable.List [],
|
|
23240
|
+
"selectable": false,
|
|
23241
|
+
"title": "Groups",
|
|
23242
|
+
"value": "groups-node",
|
|
23243
|
+
},
|
|
23244
|
+
Object {
|
|
23245
|
+
"children": Immutable.List [],
|
|
23246
|
+
"selectable": false,
|
|
23247
|
+
"title": "Individuals",
|
|
23248
|
+
"value": "customers-node",
|
|
23249
|
+
},
|
|
23250
|
+
]
|
|
23251
|
+
}
|
|
23252
|
+
wecrmAccounts={Array []}
|
|
23253
|
+
/>
|
|
23254
|
+
</CapRow>
|
|
23255
|
+
<CapDivider
|
|
23256
|
+
className="panel-divider"
|
|
23232
23257
|
/>
|
|
23233
23258
|
</CapRow>
|
|
23234
|
-
<
|
|
23235
|
-
className="panel
|
|
23236
|
-
|
|
23237
|
-
|
|
23238
|
-
|
|
23239
|
-
|
|
23240
|
-
|
|
23241
|
-
|
|
23242
|
-
|
|
23243
|
-
Object {
|
|
23244
|
-
"activePreviewTab": "rcs",
|
|
23245
|
-
"channel": "SMS",
|
|
23246
|
-
"content": "LATEST FASHION@VISHAL
|
|
23259
|
+
<CapRow
|
|
23260
|
+
className="right-panel"
|
|
23261
|
+
>
|
|
23262
|
+
<PreviewSection
|
|
23263
|
+
unifiedPreviewProps={
|
|
23264
|
+
Object {
|
|
23265
|
+
"activePreviewTab": "rcs",
|
|
23266
|
+
"channel": "SMS",
|
|
23267
|
+
"content": "LATEST FASHION@VISHAL
|
|
23247
23268
|
{#var#}
|
|
23248
23269
|
|
|
23249
23270
|
BUY1GET1-
|
|
@@ -23254,24 +23275,25 @@ BUY1GET1-
|
|
|
23254
23275
|
FREE GIFTS-
|
|
23255
23276
|
{#var#}
|
|
23256
23277
|
{#var#}",
|
|
23257
|
-
|
|
23258
|
-
|
|
23259
|
-
|
|
23260
|
-
|
|
23261
|
-
|
|
23262
|
-
|
|
23263
|
-
|
|
23264
|
-
|
|
23265
|
-
|
|
23266
|
-
|
|
23267
|
-
|
|
23268
|
-
|
|
23278
|
+
"device": "desktop",
|
|
23279
|
+
"error": null,
|
|
23280
|
+
"formatMessage": [Function],
|
|
23281
|
+
"isUpdating": false,
|
|
23282
|
+
"lastModified": undefined,
|
|
23283
|
+
"onDeviceChange": [Function],
|
|
23284
|
+
"onPreviewTabChange": [Function],
|
|
23285
|
+
"selectedCustomer": null,
|
|
23286
|
+
"showDeviceToggle": true,
|
|
23287
|
+
"smsFallbackContent": null,
|
|
23288
|
+
"smsFallbackResolvedText": undefined,
|
|
23289
|
+
"updatedByName": undefined,
|
|
23290
|
+
}
|
|
23269
23291
|
}
|
|
23270
|
-
|
|
23271
|
-
|
|
23292
|
+
/>
|
|
23293
|
+
</CapRow>
|
|
23272
23294
|
</CapRow>
|
|
23273
23295
|
</CapRow>
|
|
23274
|
-
</
|
|
23296
|
+
</CapSpin>
|
|
23275
23297
|
}
|
|
23276
23298
|
handleClose={[Function]}
|
|
23277
23299
|
header={
|
|
@@ -26610,7 +26632,7 @@ FREE GIFTS-
|
|
|
26610
26632
|
</div>
|
|
26611
26633
|
</Edit__TraiEditTemplateDetails>
|
|
26612
26634
|
<CapColumn
|
|
26613
|
-
key=".
|
|
26635
|
+
key=".2"
|
|
26614
26636
|
span={14}
|
|
26615
26637
|
>
|
|
26616
26638
|
<Col
|
|
@@ -27870,7 +27892,7 @@ FREE GIFTS-
|
|
|
27870
27892
|
</Col>
|
|
27871
27893
|
</CapColumn>
|
|
27872
27894
|
<CapColumn
|
|
27873
|
-
key=".
|
|
27895
|
+
key=".3"
|
|
27874
27896
|
offset={1}
|
|
27875
27897
|
span={8}
|
|
27876
27898
|
>
|
|
@@ -30023,6 +30045,7 @@ FREE GIFTS-
|
|
|
30023
30045
|
<InjectIntl(TestAndPreviewSlidebox)
|
|
30024
30046
|
actions={
|
|
30025
30047
|
Object {
|
|
30048
|
+
"addTestCustomer": [Function],
|
|
30026
30049
|
"clearCustomerSearchState": [Function],
|
|
30027
30050
|
"clearPrefilledValues": [Function],
|
|
30028
30051
|
"clearPreviewErrors": [Function],
|
|
@@ -30103,6 +30126,7 @@ FREE GIFTS-
|
|
|
30103
30126
|
<TestAndPreviewSlidebox
|
|
30104
30127
|
actions={
|
|
30105
30128
|
Object {
|
|
30129
|
+
"addTestCustomer": [Function],
|
|
30106
30130
|
"clearCustomerSearchState": [Function],
|
|
30107
30131
|
"clearPrefilledValues": [Function],
|
|
30108
30132
|
"clearPreviewErrors": [Function],
|
|
@@ -32433,6 +32457,7 @@ new message content.",
|
|
|
32433
32457
|
<CommonTestAndPreview
|
|
32434
32458
|
actions={
|
|
32435
32459
|
Object {
|
|
32460
|
+
"addTestCustomer": [Function],
|
|
32436
32461
|
"clearCustomerSearchState": [Function],
|
|
32437
32462
|
"clearPrefilledValues": [Function],
|
|
32438
32463
|
"clearPreviewErrors": [Function],
|
|
@@ -34780,40 +34805,44 @@ new message content.",
|
|
|
34780
34805
|
closeIconSize="m"
|
|
34781
34806
|
closeIconType="close"
|
|
34782
34807
|
content={
|
|
34783
|
-
<
|
|
34784
|
-
className="test-preview-
|
|
34808
|
+
<CapSpin
|
|
34809
|
+
className="common-test-preview-lookup-spin "
|
|
34810
|
+
spinning={false}
|
|
34785
34811
|
>
|
|
34786
34812
|
<CapRow
|
|
34787
|
-
className="test-
|
|
34813
|
+
className="test-preview-container"
|
|
34788
34814
|
>
|
|
34789
34815
|
<CapRow
|
|
34790
|
-
className="
|
|
34816
|
+
className="test-and-preview-panels"
|
|
34791
34817
|
>
|
|
34792
|
-
<LeftPanelContent
|
|
34793
|
-
customers={Immutable.List []}
|
|
34794
|
-
enableCustomerSearch={true}
|
|
34795
|
-
enableTagExtraction={true}
|
|
34796
|
-
error7078Message={null}
|
|
34797
|
-
extractedTags={Array []}
|
|
34798
|
-
handleClearSelection={[Function]}
|
|
34799
|
-
handleCustomerSelect={[Function]}
|
|
34800
|
-
handleExtractTags={[Function]}
|
|
34801
|
-
handleSearchCustomer={[Function]}
|
|
34802
|
-
isExtractingTags={false}
|
|
34803
|
-
isSearchingCustomer={false}
|
|
34804
|
-
renderCustomValuesEditor={[Function]}
|
|
34805
|
-
selectedCustomer={null}
|
|
34806
|
-
tagsExtracted={false}
|
|
34807
|
-
/>
|
|
34808
|
-
<CapDivider
|
|
34809
|
-
className="panel-divider"
|
|
34810
|
-
/>
|
|
34811
34818
|
<CapRow
|
|
34812
|
-
className="panel
|
|
34819
|
+
className="left-panel"
|
|
34813
34820
|
>
|
|
34814
|
-
<
|
|
34815
|
-
|
|
34816
|
-
|
|
34821
|
+
<LeftPanelContent
|
|
34822
|
+
customers={Immutable.List []}
|
|
34823
|
+
enableCustomerSearch={true}
|
|
34824
|
+
enableTagExtraction={true}
|
|
34825
|
+
error7078Message={null}
|
|
34826
|
+
extractedTags={Array []}
|
|
34827
|
+
handleClearSelection={[Function]}
|
|
34828
|
+
handleCustomerSelect={[Function]}
|
|
34829
|
+
handleExtractTags={[Function]}
|
|
34830
|
+
handleSearchCustomer={[Function]}
|
|
34831
|
+
isExtractingTags={false}
|
|
34832
|
+
isSearchingCustomer={false}
|
|
34833
|
+
renderCustomValuesEditor={[Function]}
|
|
34834
|
+
selectedCustomer={null}
|
|
34835
|
+
tagsExtracted={false}
|
|
34836
|
+
/>
|
|
34837
|
+
<CapDivider
|
|
34838
|
+
className="panel-divider"
|
|
34839
|
+
/>
|
|
34840
|
+
<CapRow
|
|
34841
|
+
className="panel-section send-test-section"
|
|
34842
|
+
>
|
|
34843
|
+
<SendTestMessage
|
|
34844
|
+
channel="SMS"
|
|
34845
|
+
content="LATEST FASHION@VISHAL
|
|
34817
34846
|
{#var#}
|
|
34818
34847
|
|
|
34819
34848
|
BUY1GET1-
|
|
@@ -34824,19 +34853,19 @@ BUY1GET1-
|
|
|
34824
34853
|
FREE GIFTS-
|
|
34825
34854
|
{#var#}
|
|
34826
34855
|
{#var#}"
|
|
34827
|
-
|
|
34828
|
-
|
|
34829
|
-
|
|
34830
|
-
|
|
34831
|
-
|
|
34832
|
-
|
|
34856
|
+
deliverySettings={
|
|
34857
|
+
Object {
|
|
34858
|
+
"cdmaSenderId": "",
|
|
34859
|
+
"domainGatewayMapId": null,
|
|
34860
|
+
"domainId": null,
|
|
34861
|
+
"gsmSenderId": "",
|
|
34862
|
+
}
|
|
34833
34863
|
}
|
|
34834
|
-
|
|
34835
|
-
|
|
34836
|
-
|
|
34837
|
-
|
|
34838
|
-
|
|
34839
|
-
"template": "LATEST FASHION@VISHAL
|
|
34864
|
+
formData={
|
|
34865
|
+
Object {
|
|
34866
|
+
"templateConfigs": Object {
|
|
34867
|
+
"registeredSenderIds": Array [],
|
|
34868
|
+
"template": "LATEST FASHION@VISHAL
|
|
34840
34869
|
{#var#}
|
|
34841
34870
|
|
|
34842
34871
|
BUY1GET1-
|
|
@@ -34847,62 +34876,65 @@ BUY1GET1-
|
|
|
34847
34876
|
FREE GIFTS-
|
|
34848
34877
|
{#var#}
|
|
34849
34878
|
{#var#}",
|
|
34850
|
-
|
|
34851
|
-
|
|
34852
|
-
|
|
34853
|
-
|
|
34854
|
-
}
|
|
34855
|
-
formatMessage={[Function]}
|
|
34856
|
-
handleSendTestMessage={[Function]}
|
|
34857
|
-
handleTestEntitiesChange={[Function]}
|
|
34858
|
-
isChannelSmsFallbackPreviewEnabled={false}
|
|
34859
|
-
isFetchingTestCustomers={false}
|
|
34860
|
-
isFetchingTestGroups={false}
|
|
34861
|
-
isLoadingSenderDetails={false}
|
|
34862
|
-
isSendingTestMessage={false}
|
|
34863
|
-
onSaveDeliverySettings={[Function]}
|
|
34864
|
-
registeredSenderIds={Array []}
|
|
34865
|
-
selectedTestEntities={Array []}
|
|
34866
|
-
senderDetailsByChannel={
|
|
34867
|
-
Object {
|
|
34868
|
-
"EMAIL": Array [],
|
|
34869
|
-
"SMS": Array [],
|
|
34870
|
-
"WHATSAPP": Array [],
|
|
34879
|
+
"templateId": "'1107160207324585172'",
|
|
34880
|
+
"traiDltEnabled": undefined,
|
|
34881
|
+
},
|
|
34882
|
+
}
|
|
34871
34883
|
}
|
|
34872
|
-
|
|
34873
|
-
|
|
34874
|
-
|
|
34875
|
-
|
|
34884
|
+
formatMessage={[Function]}
|
|
34885
|
+
handleSendTestMessage={[Function]}
|
|
34886
|
+
handleTestEntitiesChange={[Function]}
|
|
34887
|
+
isChannelSmsFallbackPreviewEnabled={false}
|
|
34888
|
+
isFetchingTestCustomers={false}
|
|
34889
|
+
isFetchingTestGroups={false}
|
|
34890
|
+
isLoadingSenderDetails={false}
|
|
34891
|
+
isSendingTestMessage={false}
|
|
34892
|
+
onSaveDeliverySettings={[Function]}
|
|
34893
|
+
registeredSenderIds={Array []}
|
|
34894
|
+
renderAddTestCustomerButton={[Function]}
|
|
34895
|
+
searchValue=""
|
|
34896
|
+
selectedTestEntities={Array []}
|
|
34897
|
+
senderDetailsByChannel={
|
|
34876
34898
|
Object {
|
|
34877
|
-
"
|
|
34878
|
-
"
|
|
34879
|
-
"
|
|
34880
|
-
|
|
34881
|
-
|
|
34882
|
-
|
|
34883
|
-
|
|
34884
|
-
|
|
34885
|
-
|
|
34886
|
-
|
|
34887
|
-
|
|
34888
|
-
|
|
34889
|
-
|
|
34890
|
-
|
|
34899
|
+
"EMAIL": Array [],
|
|
34900
|
+
"SMS": Array [],
|
|
34901
|
+
"WHATSAPP": Array [],
|
|
34902
|
+
}
|
|
34903
|
+
}
|
|
34904
|
+
setSearchValue={[Function]}
|
|
34905
|
+
smsTraiDltEnabled={false}
|
|
34906
|
+
testEntitiesTreeData={
|
|
34907
|
+
Array [
|
|
34908
|
+
Object {
|
|
34909
|
+
"children": Immutable.List [],
|
|
34910
|
+
"selectable": false,
|
|
34911
|
+
"title": "Groups",
|
|
34912
|
+
"value": "groups-node",
|
|
34913
|
+
},
|
|
34914
|
+
Object {
|
|
34915
|
+
"children": Immutable.List [],
|
|
34916
|
+
"selectable": false,
|
|
34917
|
+
"title": "Individuals",
|
|
34918
|
+
"value": "customers-node",
|
|
34919
|
+
},
|
|
34920
|
+
]
|
|
34921
|
+
}
|
|
34922
|
+
wecrmAccounts={Array []}
|
|
34923
|
+
/>
|
|
34924
|
+
</CapRow>
|
|
34925
|
+
<CapDivider
|
|
34926
|
+
className="panel-divider"
|
|
34891
34927
|
/>
|
|
34892
34928
|
</CapRow>
|
|
34893
|
-
<
|
|
34894
|
-
className="panel
|
|
34895
|
-
|
|
34896
|
-
|
|
34897
|
-
|
|
34898
|
-
|
|
34899
|
-
|
|
34900
|
-
|
|
34901
|
-
|
|
34902
|
-
Object {
|
|
34903
|
-
"activePreviewTab": "rcs",
|
|
34904
|
-
"channel": "SMS",
|
|
34905
|
-
"content": "LATEST FASHION@VISHAL
|
|
34929
|
+
<CapRow
|
|
34930
|
+
className="right-panel"
|
|
34931
|
+
>
|
|
34932
|
+
<PreviewSection
|
|
34933
|
+
unifiedPreviewProps={
|
|
34934
|
+
Object {
|
|
34935
|
+
"activePreviewTab": "rcs",
|
|
34936
|
+
"channel": "SMS",
|
|
34937
|
+
"content": "LATEST FASHION@VISHAL
|
|
34906
34938
|
{#var#}
|
|
34907
34939
|
|
|
34908
34940
|
BUY1GET1-
|
|
@@ -34913,24 +34945,25 @@ BUY1GET1-
|
|
|
34913
34945
|
FREE GIFTS-
|
|
34914
34946
|
{#var#}
|
|
34915
34947
|
{#var#}",
|
|
34916
|
-
|
|
34917
|
-
|
|
34918
|
-
|
|
34919
|
-
|
|
34920
|
-
|
|
34921
|
-
|
|
34922
|
-
|
|
34923
|
-
|
|
34924
|
-
|
|
34925
|
-
|
|
34926
|
-
|
|
34927
|
-
|
|
34948
|
+
"device": "desktop",
|
|
34949
|
+
"error": null,
|
|
34950
|
+
"formatMessage": [Function],
|
|
34951
|
+
"isUpdating": false,
|
|
34952
|
+
"lastModified": undefined,
|
|
34953
|
+
"onDeviceChange": [Function],
|
|
34954
|
+
"onPreviewTabChange": [Function],
|
|
34955
|
+
"selectedCustomer": null,
|
|
34956
|
+
"showDeviceToggle": true,
|
|
34957
|
+
"smsFallbackContent": null,
|
|
34958
|
+
"smsFallbackResolvedText": undefined,
|
|
34959
|
+
"updatedByName": undefined,
|
|
34960
|
+
}
|
|
34928
34961
|
}
|
|
34929
|
-
|
|
34930
|
-
|
|
34962
|
+
/>
|
|
34963
|
+
</CapRow>
|
|
34931
34964
|
</CapRow>
|
|
34932
34965
|
</CapRow>
|
|
34933
|
-
</
|
|
34966
|
+
</CapSpin>
|
|
34934
34967
|
}
|
|
34935
34968
|
handleClose={[Function]}
|
|
34936
34969
|
header={
|