@capillarytech/creatives-library 8.0.325 → 8.0.327-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.
Files changed (72) hide show
  1. package/package.json +1 -1
  2. package/services/api.js +17 -0
  3. package/services/tests/api.test.js +85 -0
  4. package/utils/commonUtils.js +10 -0
  5. package/utils/tagValidations.js +2 -3
  6. package/utils/tests/commonUtil.test.js +169 -0
  7. package/utils/tests/tagValidations.test.js +1 -35
  8. package/v2Components/CapTagList/index.js +22 -14
  9. package/v2Components/CapTagList/style.scss +0 -48
  10. package/v2Components/CapTagListWithInput/index.js +0 -4
  11. package/v2Components/CapWhatsappCTA/index.js +0 -2
  12. package/v2Components/CommonTestAndPreview/AddTestCustomer.js +42 -0
  13. package/v2Components/CommonTestAndPreview/CustomerCreationModal.js +155 -0
  14. package/v2Components/CommonTestAndPreview/ExistingCustomerModal.js +93 -0
  15. package/v2Components/CommonTestAndPreview/SendTestMessage.js +79 -51
  16. package/v2Components/CommonTestAndPreview/_commonTestAndPreview.scss +135 -36
  17. package/v2Components/CommonTestAndPreview/actions.js +10 -0
  18. package/v2Components/CommonTestAndPreview/constants.js +15 -1
  19. package/v2Components/CommonTestAndPreview/index.js +315 -15
  20. package/v2Components/CommonTestAndPreview/messages.js +106 -0
  21. package/v2Components/CommonTestAndPreview/reducer.js +10 -0
  22. package/v2Components/CommonTestAndPreview/tests/AddTestCustomer.test.js +66 -0
  23. package/v2Components/CommonTestAndPreview/tests/CommonTestAndPreview.addTestCustomer.test.js +648 -0
  24. package/v2Components/CommonTestAndPreview/tests/CustomValuesEditor.test.js +24 -0
  25. package/v2Components/CommonTestAndPreview/tests/CustomerCreationModal.test.js +174 -0
  26. package/v2Components/CommonTestAndPreview/tests/ExistingCustomerModal.test.js +114 -0
  27. package/v2Components/CommonTestAndPreview/tests/SendTestMessage.test.js +52 -0
  28. package/v2Components/CommonTestAndPreview/tests/constants.test.js +31 -1
  29. package/v2Components/CommonTestAndPreview/tests/index.test.js +36 -0
  30. package/v2Components/CommonTestAndPreview/tests/reducer.test.js +71 -0
  31. package/v2Components/CommonTestAndPreview/tests/selectors.test.js +17 -0
  32. package/v2Components/FormBuilder/index.js +0 -7
  33. package/v2Components/HtmlEditor/HTMLEditor.js +1 -6
  34. package/v2Components/HtmlEditor/__tests__/HTMLEditor.apiErrors.test.js +0 -1
  35. package/v2Components/HtmlEditor/__tests__/HTMLEditor.test.js +2 -927
  36. package/v2Components/HtmlEditor/components/CodeEditorPane/index.js +0 -3
  37. package/v2Containers/BeeEditor/index.js +0 -3
  38. package/v2Containers/CreativesContainer/SlideBoxContent.js +1 -28
  39. package/v2Containers/CreativesContainer/index.js +6 -10
  40. package/v2Containers/Email/index.js +0 -1
  41. package/v2Containers/EmailWrapper/components/EmailHTMLEditor.js +1 -7
  42. package/v2Containers/EmailWrapper/components/EmailWrapperView.js +0 -3
  43. package/v2Containers/EmailWrapper/components/__tests__/EmailHTMLEditor.test.js +2 -20
  44. package/v2Containers/EmailWrapper/components/__tests__/EmailWrapperView.test.js +1 -16
  45. package/v2Containers/EmailWrapper/hooks/useEmailWrapper.js +0 -3
  46. package/v2Containers/EmailWrapper/index.js +0 -4
  47. package/v2Containers/EmailWrapper/tests/useEmailWrapper.edgeCases.test.js +0 -1
  48. package/v2Containers/EmailWrapper/tests/useEmailWrapper.test.js +0 -9
  49. package/v2Containers/InAppWrapper/hooks/__tests__/useInAppWrapper.test.js +0 -19
  50. package/v2Containers/InAppWrapper/hooks/useInAppWrapper.js +0 -3
  51. package/v2Containers/InAppWrapper/index.js +0 -3
  52. package/v2Containers/MobilePush/Create/index.js +0 -2
  53. package/v2Containers/MobilePush/Edit/index.js +0 -2
  54. package/v2Containers/MobilepushWrapper/index.js +1 -3
  55. package/v2Containers/Rcs/index.js +1 -9
  56. package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +1886 -1754
  57. package/v2Containers/Sms/Create/index.js +0 -2
  58. package/v2Containers/Sms/Edit/index.js +0 -2
  59. package/v2Containers/SmsTrai/Edit/index.js +0 -2
  60. package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +351 -318
  61. package/v2Containers/SmsWrapper/index.js +0 -2
  62. package/v2Containers/TagList/index.js +2 -41
  63. package/v2Containers/TagList/messages.js +0 -4
  64. package/v2Containers/TagList/tests/TagList.test.js +20 -122
  65. package/v2Containers/TagList/tests/mockdata.js +0 -17
  66. package/v2Containers/Viber/index.js +0 -5
  67. package/v2Containers/WebPush/Create/hooks/useTagManagement.js +2 -0
  68. package/v2Containers/WebPush/Create/index.js +1 -9
  69. package/v2Containers/Whatsapp/index.js +0 -5
  70. package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +5586 -5232
  71. package/v2Containers/Zalo/index.js +0 -2
  72. package/v2Components/CapTagListWithInput/__tests__/CapTagListWithInput.test.js +0 -63
@@ -14061,6 +14061,7 @@ new message content.",
14061
14061
  <InjectIntl(TestAndPreviewSlidebox)
14062
14062
  actions={
14063
14063
  Object {
14064
+ "addTestCustomer": [Function],
14064
14065
  "clearCustomerSearchState": [Function],
14065
14066
  "clearPrefilledValues": [Function],
14066
14067
  "clearPreviewErrors": [Function],
@@ -14171,6 +14172,7 @@ new message content.",
14171
14172
  <TestAndPreviewSlidebox
14172
14173
  actions={
14173
14174
  Object {
14175
+ "addTestCustomer": [Function],
14174
14176
  "clearCustomerSearchState": [Function],
14175
14177
  "clearPrefilledValues": [Function],
14176
14178
  "clearPreviewErrors": [Function],
@@ -16530,6 +16532,7 @@ new message content.",
16530
16532
  <CommonTestAndPreview
16531
16533
  actions={
16532
16534
  Object {
16535
+ "addTestCustomer": [Function],
16533
16536
  "clearCustomerSearchState": [Function],
16534
16537
  "clearPrefilledValues": [Function],
16535
16538
  "clearPreviewErrors": [Function],
@@ -18906,174 +18909,182 @@ new message content.",
18906
18909
  closeIconSize="m"
18907
18910
  closeIconType="close"
18908
18911
  content={
18909
- <CapRow
18910
- className="test-preview-container"
18912
+ <CapSpin
18913
+ className="common-test-preview-lookup-spin "
18914
+ spinning={false}
18911
18915
  >
18912
18916
  <CapRow
18913
- className="test-and-preview-panels"
18917
+ className="test-preview-container"
18914
18918
  >
18915
18919
  <CapRow
18916
- className="left-panel"
18920
+ className="test-and-preview-panels"
18917
18921
  >
18918
- <LeftPanelContent
18919
- customers={Immutable.List []}
18920
- enableCustomerSearch={true}
18921
- enableTagExtraction={true}
18922
- error7078Message={null}
18923
- extractedTags={Immutable.List []}
18924
- handleClearSelection={[Function]}
18925
- handleCustomerSelect={[Function]}
18926
- handleExtractTags={[Function]}
18927
- handleSearchCustomer={[Function]}
18928
- isExtractingTags={false}
18929
- isSearchingCustomer={false}
18930
- renderCustomValuesEditor={[Function]}
18931
- selectedCustomer={null}
18932
- tagsExtracted={false}
18933
- />
18934
- <CapDivider
18935
- className="panel-divider"
18936
- />
18937
18922
  <CapRow
18938
- className="panel-section send-test-section"
18923
+ className="left-panel"
18939
18924
  >
18940
- <SendTestMessage
18941
- channel="RCS"
18942
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
18943
- deliverySettings={
18944
- Object {
18945
- "cdmaSenderId": "",
18946
- "domainGatewayMapId": null,
18947
- "domainId": null,
18948
- "gsmSenderId": "",
18949
- "smsFallbackDomainId": null,
18925
+ <LeftPanelContent
18926
+ customers={Immutable.List []}
18927
+ enableCustomerSearch={true}
18928
+ enableTagExtraction={true}
18929
+ error7078Message={null}
18930
+ extractedTags={Immutable.List []}
18931
+ handleClearSelection={[Function]}
18932
+ handleCustomerSelect={[Function]}
18933
+ handleExtractTags={[Function]}
18934
+ handleSearchCustomer={[Function]}
18935
+ isExtractingTags={false}
18936
+ isSearchingCustomer={false}
18937
+ renderCustomValuesEditor={[Function]}
18938
+ selectedCustomer={null}
18939
+ tagsExtracted={false}
18940
+ />
18941
+ <CapDivider
18942
+ className="panel-divider"
18943
+ />
18944
+ <CapRow
18945
+ className="panel-section send-test-section"
18946
+ >
18947
+ <SendTestMessage
18948
+ channel="RCS"
18949
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
18950
+ deliverySettings={
18951
+ Object {
18952
+ "cdmaSenderId": "",
18953
+ "domainGatewayMapId": null,
18954
+ "domainId": null,
18955
+ "gsmSenderId": "",
18956
+ "smsFallbackDomainId": null,
18957
+ }
18950
18958
  }
18951
- }
18952
- formData={
18953
- Object {
18954
- "versions": Object {
18955
- "base": Object {
18956
- "content": Object {
18957
- "RCS": Object {
18958
- "rcsContent": Object {
18959
- "accessToken": "",
18960
- "accountId": "",
18961
- "accountName": "",
18962
- "cardContent": Array [
18963
- Object {
18964
- "description": "",
18965
- "mediaType": "NONE",
18966
- "suggestions": Array [
18967
- Object {
18968
- "index": 0,
18969
- "isSaved": true,
18970
- "phoneNumber": "",
18971
- "postback": "stop",
18972
- "text": "stop",
18973
- "type": "QUICK_REPLY",
18974
- "url": null,
18975
- },
18976
- ],
18977
- "title": "",
18959
+ formData={
18960
+ Object {
18961
+ "versions": Object {
18962
+ "base": Object {
18963
+ "content": Object {
18964
+ "RCS": Object {
18965
+ "rcsContent": Object {
18966
+ "accessToken": "",
18967
+ "accountId": "",
18968
+ "accountName": "",
18969
+ "cardContent": Array [
18970
+ Object {
18971
+ "description": "",
18972
+ "mediaType": "NONE",
18973
+ "suggestions": Array [
18974
+ Object {
18975
+ "index": 0,
18976
+ "isSaved": true,
18977
+ "phoneNumber": "",
18978
+ "postback": "stop",
18979
+ "text": "stop",
18980
+ "type": "QUICK_REPLY",
18981
+ "url": null,
18982
+ },
18983
+ ],
18984
+ "title": "",
18985
+ },
18986
+ ],
18987
+ "cardSettings": Object {
18988
+ "cardOrientation": "VERTICAL",
18989
+ "cardWidth": "SMALL",
18978
18990
  },
18979
- ],
18980
- "cardSettings": Object {
18981
- "cardOrientation": "VERTICAL",
18982
- "cardWidth": "SMALL",
18991
+ "cardType": "STANDALONE",
18992
+ "contentType": "text_message",
18993
+ "hostName": "",
18983
18994
  },
18984
- "cardType": "STANDALONE",
18985
- "contentType": "text_message",
18986
- "hostName": "",
18987
18995
  },
18988
18996
  },
18989
18997
  },
18990
18998
  },
18991
- },
18992
- }
18993
- }
18994
- formatMessage={[Function]}
18995
- handleSendTestMessage={[Function]}
18996
- handleTestEntitiesChange={[Function]}
18997
- isChannelSmsFallbackPreviewEnabled={false}
18998
- isFetchingTestCustomers={false}
18999
- isFetchingTestGroups={false}
19000
- isLoadingSenderDetails={false}
19001
- isSendingTestMessage={false}
19002
- onSaveDeliverySettings={[Function]}
19003
- registeredSenderIds={Array []}
19004
- selectedTestEntities={Array []}
19005
- senderDetailsByChannel={
19006
- Object {
19007
- "EMAIL": Array [],
19008
- "SMS": Array [],
19009
- "WHATSAPP": Array [],
18999
+ }
19010
19000
  }
19011
- }
19012
- smsTraiDltEnabled={false}
19013
- testEntitiesTreeData={
19014
- Array [
19001
+ formatMessage={[Function]}
19002
+ handleSendTestMessage={[Function]}
19003
+ handleTestEntitiesChange={[Function]}
19004
+ isChannelSmsFallbackPreviewEnabled={false}
19005
+ isFetchingTestCustomers={false}
19006
+ isFetchingTestGroups={false}
19007
+ isLoadingSenderDetails={false}
19008
+ isSendingTestMessage={false}
19009
+ onSaveDeliverySettings={[Function]}
19010
+ registeredSenderIds={Array []}
19011
+ renderAddTestCustomerButton={[Function]}
19012
+ searchValue=""
19013
+ selectedTestEntities={Array []}
19014
+ senderDetailsByChannel={
19015
19015
  Object {
19016
- "children": Immutable.List [],
19017
- "selectable": false,
19018
- "title": "Groups",
19019
- "value": "groups-node",
19020
- },
19021
- Object {
19022
- "children": Immutable.List [],
19023
- "selectable": false,
19024
- "title": "Individuals",
19025
- "value": "customers-node",
19016
+ "EMAIL": Array [],
19017
+ "SMS": Array [],
19018
+ "WHATSAPP": Array [],
19019
+ }
19020
+ }
19021
+ setSearchValue={[Function]}
19022
+ smsTraiDltEnabled={false}
19023
+ testEntitiesTreeData={
19024
+ Array [
19025
+ Object {
19026
+ "children": Immutable.List [],
19027
+ "selectable": false,
19028
+ "title": "Groups",
19029
+ "value": "groups-node",
19030
+ },
19031
+ Object {
19032
+ "children": Immutable.List [],
19033
+ "selectable": false,
19034
+ "title": "Individuals",
19035
+ "value": "customers-node",
19036
+ },
19037
+ ]
19038
+ }
19039
+ wecrmAccounts={Array []}
19040
+ />
19041
+ </CapRow>
19042
+ <CapDivider
19043
+ className="panel-divider"
19044
+ />
19045
+ </CapRow>
19046
+ <CapRow
19047
+ className="right-panel"
19048
+ >
19049
+ <PreviewSection
19050
+ unifiedPreviewProps={
19051
+ Object {
19052
+ "activePreviewTab": "rcs",
19053
+ "channel": "RCS",
19054
+ "content": Object {
19055
+ "suggestions": Array [
19056
+ Object {
19057
+ "index": 0,
19058
+ "isSaved": true,
19059
+ "phoneNumber": "",
19060
+ "postback": "stop",
19061
+ "text": "stop",
19062
+ "type": "QUICK_REPLY",
19063
+ "url": null,
19064
+ },
19065
+ ],
19066
+ "templateHeader": "",
19067
+ "templateMessage": "",
19026
19068
  },
19027
- ]
19069
+ "device": "desktop",
19070
+ "error": null,
19071
+ "formatMessage": [Function],
19072
+ "isUpdating": false,
19073
+ "lastModified": undefined,
19074
+ "onDeviceChange": [Function],
19075
+ "onPreviewTabChange": [Function],
19076
+ "selectedCustomer": null,
19077
+ "showDeviceToggle": true,
19078
+ "smsFallbackContent": null,
19079
+ "smsFallbackResolvedText": undefined,
19080
+ "updatedByName": undefined,
19081
+ }
19028
19082
  }
19029
- wecrmAccounts={Array []}
19030
19083
  />
19031
19084
  </CapRow>
19032
- <CapDivider
19033
- className="panel-divider"
19034
- />
19035
- </CapRow>
19036
- <CapRow
19037
- className="right-panel"
19038
- >
19039
- <PreviewSection
19040
- unifiedPreviewProps={
19041
- Object {
19042
- "activePreviewTab": "rcs",
19043
- "channel": "RCS",
19044
- "content": Object {
19045
- "suggestions": Array [
19046
- Object {
19047
- "index": 0,
19048
- "isSaved": true,
19049
- "phoneNumber": "",
19050
- "postback": "stop",
19051
- "text": "stop",
19052
- "type": "QUICK_REPLY",
19053
- "url": null,
19054
- },
19055
- ],
19056
- "templateHeader": "",
19057
- "templateMessage": "",
19058
- },
19059
- "device": "desktop",
19060
- "error": null,
19061
- "formatMessage": [Function],
19062
- "isUpdating": false,
19063
- "lastModified": undefined,
19064
- "onDeviceChange": [Function],
19065
- "onPreviewTabChange": [Function],
19066
- "selectedCustomer": null,
19067
- "showDeviceToggle": true,
19068
- "smsFallbackContent": null,
19069
- "smsFallbackResolvedText": undefined,
19070
- "updatedByName": undefined,
19071
- }
19072
- }
19073
- />
19074
19085
  </CapRow>
19075
19086
  </CapRow>
19076
- </CapRow>
19087
+ </CapSpin>
19077
19088
  }
19078
19089
  handleClose={[Function]}
19079
19090
  header={
@@ -33177,6 +33188,7 @@ new message content.",
33177
33188
  <InjectIntl(TestAndPreviewSlidebox)
33178
33189
  actions={
33179
33190
  Object {
33191
+ "addTestCustomer": [Function],
33180
33192
  "clearCustomerSearchState": [Function],
33181
33193
  "clearPrefilledValues": [Function],
33182
33194
  "clearPreviewErrors": [Function],
@@ -33287,6 +33299,7 @@ new message content.",
33287
33299
  <TestAndPreviewSlidebox
33288
33300
  actions={
33289
33301
  Object {
33302
+ "addTestCustomer": [Function],
33290
33303
  "clearCustomerSearchState": [Function],
33291
33304
  "clearPrefilledValues": [Function],
33292
33305
  "clearPreviewErrors": [Function],
@@ -35646,6 +35659,7 @@ new message content.",
35646
35659
  <CommonTestAndPreview
35647
35660
  actions={
35648
35661
  Object {
35662
+ "addTestCustomer": [Function],
35649
35663
  "clearCustomerSearchState": [Function],
35650
35664
  "clearPrefilledValues": [Function],
35651
35665
  "clearPreviewErrors": [Function],
@@ -38022,174 +38036,182 @@ new message content.",
38022
38036
  closeIconSize="m"
38023
38037
  closeIconType="close"
38024
38038
  content={
38025
- <CapRow
38026
- className="test-preview-container"
38039
+ <CapSpin
38040
+ className="common-test-preview-lookup-spin "
38041
+ spinning={false}
38027
38042
  >
38028
38043
  <CapRow
38029
- className="test-and-preview-panels"
38044
+ className="test-preview-container"
38030
38045
  >
38031
38046
  <CapRow
38032
- className="left-panel"
38047
+ className="test-and-preview-panels"
38033
38048
  >
38034
- <LeftPanelContent
38035
- customers={Immutable.List []}
38036
- enableCustomerSearch={true}
38037
- enableTagExtraction={true}
38038
- error7078Message={null}
38039
- extractedTags={Immutable.List []}
38040
- handleClearSelection={[Function]}
38041
- handleCustomerSelect={[Function]}
38042
- handleExtractTags={[Function]}
38043
- handleSearchCustomer={[Function]}
38044
- isExtractingTags={false}
38045
- isSearchingCustomer={false}
38046
- renderCustomValuesEditor={[Function]}
38047
- selectedCustomer={null}
38048
- tagsExtracted={false}
38049
- />
38050
- <CapDivider
38051
- className="panel-divider"
38052
- />
38053
38049
  <CapRow
38054
- className="panel-section send-test-section"
38050
+ className="left-panel"
38055
38051
  >
38056
- <SendTestMessage
38057
- channel="RCS"
38058
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
38059
- deliverySettings={
38060
- Object {
38061
- "cdmaSenderId": "",
38062
- "domainGatewayMapId": null,
38063
- "domainId": null,
38064
- "gsmSenderId": "",
38065
- "smsFallbackDomainId": null,
38052
+ <LeftPanelContent
38053
+ customers={Immutable.List []}
38054
+ enableCustomerSearch={true}
38055
+ enableTagExtraction={true}
38056
+ error7078Message={null}
38057
+ extractedTags={Immutable.List []}
38058
+ handleClearSelection={[Function]}
38059
+ handleCustomerSelect={[Function]}
38060
+ handleExtractTags={[Function]}
38061
+ handleSearchCustomer={[Function]}
38062
+ isExtractingTags={false}
38063
+ isSearchingCustomer={false}
38064
+ renderCustomValuesEditor={[Function]}
38065
+ selectedCustomer={null}
38066
+ tagsExtracted={false}
38067
+ />
38068
+ <CapDivider
38069
+ className="panel-divider"
38070
+ />
38071
+ <CapRow
38072
+ className="panel-section send-test-section"
38073
+ >
38074
+ <SendTestMessage
38075
+ channel="RCS"
38076
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
38077
+ deliverySettings={
38078
+ Object {
38079
+ "cdmaSenderId": "",
38080
+ "domainGatewayMapId": null,
38081
+ "domainId": null,
38082
+ "gsmSenderId": "",
38083
+ "smsFallbackDomainId": null,
38084
+ }
38066
38085
  }
38067
- }
38068
- formData={
38069
- Object {
38070
- "versions": Object {
38071
- "base": Object {
38072
- "content": Object {
38073
- "RCS": Object {
38074
- "rcsContent": Object {
38075
- "accessToken": "",
38076
- "accountId": "",
38077
- "accountName": "",
38078
- "cardContent": Array [
38079
- Object {
38080
- "description": "",
38081
- "mediaType": "NONE",
38082
- "suggestions": Array [
38083
- Object {
38084
- "index": 0,
38085
- "isSaved": true,
38086
- "phoneNumber": "",
38087
- "postback": "stop",
38088
- "text": "stop",
38089
- "type": "QUICK_REPLY",
38090
- "url": null,
38091
- },
38092
- ],
38093
- "title": "",
38086
+ formData={
38087
+ Object {
38088
+ "versions": Object {
38089
+ "base": Object {
38090
+ "content": Object {
38091
+ "RCS": Object {
38092
+ "rcsContent": Object {
38093
+ "accessToken": "",
38094
+ "accountId": "",
38095
+ "accountName": "",
38096
+ "cardContent": Array [
38097
+ Object {
38098
+ "description": "",
38099
+ "mediaType": "NONE",
38100
+ "suggestions": Array [
38101
+ Object {
38102
+ "index": 0,
38103
+ "isSaved": true,
38104
+ "phoneNumber": "",
38105
+ "postback": "stop",
38106
+ "text": "stop",
38107
+ "type": "QUICK_REPLY",
38108
+ "url": null,
38109
+ },
38110
+ ],
38111
+ "title": "",
38112
+ },
38113
+ ],
38114
+ "cardSettings": Object {
38115
+ "cardOrientation": "VERTICAL",
38116
+ "cardWidth": "SMALL",
38094
38117
  },
38095
- ],
38096
- "cardSettings": Object {
38097
- "cardOrientation": "VERTICAL",
38098
- "cardWidth": "SMALL",
38118
+ "cardType": "STANDALONE",
38119
+ "contentType": "text_message",
38120
+ "hostName": "",
38099
38121
  },
38100
- "cardType": "STANDALONE",
38101
- "contentType": "text_message",
38102
- "hostName": "",
38103
38122
  },
38104
38123
  },
38105
38124
  },
38106
38125
  },
38107
- },
38108
- }
38109
- }
38110
- formatMessage={[Function]}
38111
- handleSendTestMessage={[Function]}
38112
- handleTestEntitiesChange={[Function]}
38113
- isChannelSmsFallbackPreviewEnabled={false}
38114
- isFetchingTestCustomers={false}
38115
- isFetchingTestGroups={false}
38116
- isLoadingSenderDetails={false}
38117
- isSendingTestMessage={false}
38118
- onSaveDeliverySettings={[Function]}
38119
- registeredSenderIds={Array []}
38120
- selectedTestEntities={Array []}
38121
- senderDetailsByChannel={
38122
- Object {
38123
- "EMAIL": Array [],
38124
- "SMS": Array [],
38125
- "WHATSAPP": Array [],
38126
+ }
38126
38127
  }
38127
- }
38128
- smsTraiDltEnabled={false}
38129
- testEntitiesTreeData={
38130
- Array [
38128
+ formatMessage={[Function]}
38129
+ handleSendTestMessage={[Function]}
38130
+ handleTestEntitiesChange={[Function]}
38131
+ isChannelSmsFallbackPreviewEnabled={false}
38132
+ isFetchingTestCustomers={false}
38133
+ isFetchingTestGroups={false}
38134
+ isLoadingSenderDetails={false}
38135
+ isSendingTestMessage={false}
38136
+ onSaveDeliverySettings={[Function]}
38137
+ registeredSenderIds={Array []}
38138
+ renderAddTestCustomerButton={[Function]}
38139
+ searchValue=""
38140
+ selectedTestEntities={Array []}
38141
+ senderDetailsByChannel={
38131
38142
  Object {
38132
- "children": Immutable.List [],
38133
- "selectable": false,
38134
- "title": "Groups",
38135
- "value": "groups-node",
38136
- },
38137
- Object {
38138
- "children": Immutable.List [],
38139
- "selectable": false,
38140
- "title": "Individuals",
38141
- "value": "customers-node",
38143
+ "EMAIL": Array [],
38144
+ "SMS": Array [],
38145
+ "WHATSAPP": Array [],
38146
+ }
38147
+ }
38148
+ setSearchValue={[Function]}
38149
+ smsTraiDltEnabled={false}
38150
+ testEntitiesTreeData={
38151
+ Array [
38152
+ Object {
38153
+ "children": Immutable.List [],
38154
+ "selectable": false,
38155
+ "title": "Groups",
38156
+ "value": "groups-node",
38157
+ },
38158
+ Object {
38159
+ "children": Immutable.List [],
38160
+ "selectable": false,
38161
+ "title": "Individuals",
38162
+ "value": "customers-node",
38163
+ },
38164
+ ]
38165
+ }
38166
+ wecrmAccounts={Array []}
38167
+ />
38168
+ </CapRow>
38169
+ <CapDivider
38170
+ className="panel-divider"
38171
+ />
38172
+ </CapRow>
38173
+ <CapRow
38174
+ className="right-panel"
38175
+ >
38176
+ <PreviewSection
38177
+ unifiedPreviewProps={
38178
+ Object {
38179
+ "activePreviewTab": "rcs",
38180
+ "channel": "RCS",
38181
+ "content": Object {
38182
+ "suggestions": Array [
38183
+ Object {
38184
+ "index": 0,
38185
+ "isSaved": true,
38186
+ "phoneNumber": "",
38187
+ "postback": "stop",
38188
+ "text": "stop",
38189
+ "type": "QUICK_REPLY",
38190
+ "url": null,
38191
+ },
38192
+ ],
38193
+ "templateHeader": "",
38194
+ "templateMessage": "",
38142
38195
  },
38143
- ]
38196
+ "device": "desktop",
38197
+ "error": null,
38198
+ "formatMessage": [Function],
38199
+ "isUpdating": false,
38200
+ "lastModified": undefined,
38201
+ "onDeviceChange": [Function],
38202
+ "onPreviewTabChange": [Function],
38203
+ "selectedCustomer": null,
38204
+ "showDeviceToggle": true,
38205
+ "smsFallbackContent": null,
38206
+ "smsFallbackResolvedText": undefined,
38207
+ "updatedByName": undefined,
38208
+ }
38144
38209
  }
38145
- wecrmAccounts={Array []}
38146
38210
  />
38147
38211
  </CapRow>
38148
- <CapDivider
38149
- className="panel-divider"
38150
- />
38151
- </CapRow>
38152
- <CapRow
38153
- className="right-panel"
38154
- >
38155
- <PreviewSection
38156
- unifiedPreviewProps={
38157
- Object {
38158
- "activePreviewTab": "rcs",
38159
- "channel": "RCS",
38160
- "content": Object {
38161
- "suggestions": Array [
38162
- Object {
38163
- "index": 0,
38164
- "isSaved": true,
38165
- "phoneNumber": "",
38166
- "postback": "stop",
38167
- "text": "stop",
38168
- "type": "QUICK_REPLY",
38169
- "url": null,
38170
- },
38171
- ],
38172
- "templateHeader": "",
38173
- "templateMessage": "",
38174
- },
38175
- "device": "desktop",
38176
- "error": null,
38177
- "formatMessage": [Function],
38178
- "isUpdating": false,
38179
- "lastModified": undefined,
38180
- "onDeviceChange": [Function],
38181
- "onPreviewTabChange": [Function],
38182
- "selectedCustomer": null,
38183
- "showDeviceToggle": true,
38184
- "smsFallbackContent": null,
38185
- "smsFallbackResolvedText": undefined,
38186
- "updatedByName": undefined,
38187
- }
38188
- }
38189
- />
38190
38212
  </CapRow>
38191
38213
  </CapRow>
38192
- </CapRow>
38214
+ </CapSpin>
38193
38215
  }
38194
38216
  handleClose={[Function]}
38195
38217
  header={
@@ -52885,6 +52907,7 @@ new message content.",
52885
52907
  <InjectIntl(TestAndPreviewSlidebox)
52886
52908
  actions={
52887
52909
  Object {
52910
+ "addTestCustomer": [Function],
52888
52911
  "clearCustomerSearchState": [Function],
52889
52912
  "clearPrefilledValues": [Function],
52890
52913
  "clearPreviewErrors": [Function],
@@ -52995,6 +53018,7 @@ new message content.",
52995
53018
  <TestAndPreviewSlidebox
52996
53019
  actions={
52997
53020
  Object {
53021
+ "addTestCustomer": [Function],
52998
53022
  "clearCustomerSearchState": [Function],
52999
53023
  "clearPrefilledValues": [Function],
53000
53024
  "clearPreviewErrors": [Function],
@@ -55354,6 +55378,7 @@ new message content.",
55354
55378
  <CommonTestAndPreview
55355
55379
  actions={
55356
55380
  Object {
55381
+ "addTestCustomer": [Function],
55357
55382
  "clearCustomerSearchState": [Function],
55358
55383
  "clearPrefilledValues": [Function],
55359
55384
  "clearPreviewErrors": [Function],
@@ -57730,174 +57755,182 @@ new message content.",
57730
57755
  closeIconSize="m"
57731
57756
  closeIconType="close"
57732
57757
  content={
57733
- <CapRow
57734
- className="test-preview-container"
57758
+ <CapSpin
57759
+ className="common-test-preview-lookup-spin "
57760
+ spinning={false}
57735
57761
  >
57736
57762
  <CapRow
57737
- className="test-and-preview-panels"
57763
+ className="test-preview-container"
57738
57764
  >
57739
57765
  <CapRow
57740
- className="left-panel"
57766
+ className="test-and-preview-panels"
57741
57767
  >
57742
- <LeftPanelContent
57743
- customers={Immutable.List []}
57744
- enableCustomerSearch={true}
57745
- enableTagExtraction={true}
57746
- error7078Message={null}
57747
- extractedTags={Immutable.List []}
57748
- handleClearSelection={[Function]}
57749
- handleCustomerSelect={[Function]}
57750
- handleExtractTags={[Function]}
57751
- handleSearchCustomer={[Function]}
57752
- isExtractingTags={false}
57753
- isSearchingCustomer={false}
57754
- renderCustomValuesEditor={[Function]}
57755
- selectedCustomer={null}
57756
- tagsExtracted={false}
57757
- />
57758
- <CapDivider
57759
- className="panel-divider"
57760
- />
57761
57768
  <CapRow
57762
- className="panel-section send-test-section"
57769
+ className="left-panel"
57763
57770
  >
57764
- <SendTestMessage
57765
- channel="RCS"
57766
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
57767
- deliverySettings={
57768
- Object {
57769
- "cdmaSenderId": "",
57770
- "domainGatewayMapId": null,
57771
- "domainId": null,
57772
- "gsmSenderId": "",
57773
- "smsFallbackDomainId": null,
57771
+ <LeftPanelContent
57772
+ customers={Immutable.List []}
57773
+ enableCustomerSearch={true}
57774
+ enableTagExtraction={true}
57775
+ error7078Message={null}
57776
+ extractedTags={Immutable.List []}
57777
+ handleClearSelection={[Function]}
57778
+ handleCustomerSelect={[Function]}
57779
+ handleExtractTags={[Function]}
57780
+ handleSearchCustomer={[Function]}
57781
+ isExtractingTags={false}
57782
+ isSearchingCustomer={false}
57783
+ renderCustomValuesEditor={[Function]}
57784
+ selectedCustomer={null}
57785
+ tagsExtracted={false}
57786
+ />
57787
+ <CapDivider
57788
+ className="panel-divider"
57789
+ />
57790
+ <CapRow
57791
+ className="panel-section send-test-section"
57792
+ >
57793
+ <SendTestMessage
57794
+ channel="RCS"
57795
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
57796
+ deliverySettings={
57797
+ Object {
57798
+ "cdmaSenderId": "",
57799
+ "domainGatewayMapId": null,
57800
+ "domainId": null,
57801
+ "gsmSenderId": "",
57802
+ "smsFallbackDomainId": null,
57803
+ }
57774
57804
  }
57775
- }
57776
- formData={
57777
- Object {
57778
- "versions": Object {
57779
- "base": Object {
57780
- "content": Object {
57781
- "RCS": Object {
57782
- "rcsContent": Object {
57783
- "accessToken": "",
57784
- "accountId": "",
57785
- "accountName": "",
57786
- "cardContent": Array [
57787
- Object {
57788
- "description": "",
57789
- "mediaType": "NONE",
57790
- "suggestions": Array [
57791
- Object {
57792
- "index": 0,
57793
- "isSaved": true,
57794
- "phoneNumber": "",
57795
- "postback": "stop",
57796
- "text": "stop",
57797
- "type": "QUICK_REPLY",
57798
- "url": null,
57799
- },
57800
- ],
57801
- "title": "",
57805
+ formData={
57806
+ Object {
57807
+ "versions": Object {
57808
+ "base": Object {
57809
+ "content": Object {
57810
+ "RCS": Object {
57811
+ "rcsContent": Object {
57812
+ "accessToken": "",
57813
+ "accountId": "",
57814
+ "accountName": "",
57815
+ "cardContent": Array [
57816
+ Object {
57817
+ "description": "",
57818
+ "mediaType": "NONE",
57819
+ "suggestions": Array [
57820
+ Object {
57821
+ "index": 0,
57822
+ "isSaved": true,
57823
+ "phoneNumber": "",
57824
+ "postback": "stop",
57825
+ "text": "stop",
57826
+ "type": "QUICK_REPLY",
57827
+ "url": null,
57828
+ },
57829
+ ],
57830
+ "title": "",
57831
+ },
57832
+ ],
57833
+ "cardSettings": Object {
57834
+ "cardOrientation": "VERTICAL",
57835
+ "cardWidth": "SMALL",
57802
57836
  },
57803
- ],
57804
- "cardSettings": Object {
57805
- "cardOrientation": "VERTICAL",
57806
- "cardWidth": "SMALL",
57837
+ "cardType": "STANDALONE",
57838
+ "contentType": "text_message",
57839
+ "hostName": "",
57807
57840
  },
57808
- "cardType": "STANDALONE",
57809
- "contentType": "text_message",
57810
- "hostName": "",
57811
57841
  },
57812
57842
  },
57813
57843
  },
57814
57844
  },
57815
- },
57816
- }
57817
- }
57818
- formatMessage={[Function]}
57819
- handleSendTestMessage={[Function]}
57820
- handleTestEntitiesChange={[Function]}
57821
- isChannelSmsFallbackPreviewEnabled={false}
57822
- isFetchingTestCustomers={false}
57823
- isFetchingTestGroups={false}
57824
- isLoadingSenderDetails={false}
57825
- isSendingTestMessage={false}
57826
- onSaveDeliverySettings={[Function]}
57827
- registeredSenderIds={Array []}
57828
- selectedTestEntities={Array []}
57829
- senderDetailsByChannel={
57830
- Object {
57831
- "EMAIL": Array [],
57832
- "SMS": Array [],
57833
- "WHATSAPP": Array [],
57845
+ }
57834
57846
  }
57835
- }
57836
- smsTraiDltEnabled={false}
57837
- testEntitiesTreeData={
57838
- Array [
57847
+ formatMessage={[Function]}
57848
+ handleSendTestMessage={[Function]}
57849
+ handleTestEntitiesChange={[Function]}
57850
+ isChannelSmsFallbackPreviewEnabled={false}
57851
+ isFetchingTestCustomers={false}
57852
+ isFetchingTestGroups={false}
57853
+ isLoadingSenderDetails={false}
57854
+ isSendingTestMessage={false}
57855
+ onSaveDeliverySettings={[Function]}
57856
+ registeredSenderIds={Array []}
57857
+ renderAddTestCustomerButton={[Function]}
57858
+ searchValue=""
57859
+ selectedTestEntities={Array []}
57860
+ senderDetailsByChannel={
57839
57861
  Object {
57840
- "children": Immutable.List [],
57841
- "selectable": false,
57842
- "title": "Groups",
57843
- "value": "groups-node",
57844
- },
57845
- Object {
57846
- "children": Immutable.List [],
57847
- "selectable": false,
57848
- "title": "Individuals",
57849
- "value": "customers-node",
57862
+ "EMAIL": Array [],
57863
+ "SMS": Array [],
57864
+ "WHATSAPP": Array [],
57865
+ }
57866
+ }
57867
+ setSearchValue={[Function]}
57868
+ smsTraiDltEnabled={false}
57869
+ testEntitiesTreeData={
57870
+ Array [
57871
+ Object {
57872
+ "children": Immutable.List [],
57873
+ "selectable": false,
57874
+ "title": "Groups",
57875
+ "value": "groups-node",
57876
+ },
57877
+ Object {
57878
+ "children": Immutable.List [],
57879
+ "selectable": false,
57880
+ "title": "Individuals",
57881
+ "value": "customers-node",
57882
+ },
57883
+ ]
57884
+ }
57885
+ wecrmAccounts={Array []}
57886
+ />
57887
+ </CapRow>
57888
+ <CapDivider
57889
+ className="panel-divider"
57890
+ />
57891
+ </CapRow>
57892
+ <CapRow
57893
+ className="right-panel"
57894
+ >
57895
+ <PreviewSection
57896
+ unifiedPreviewProps={
57897
+ Object {
57898
+ "activePreviewTab": "rcs",
57899
+ "channel": "RCS",
57900
+ "content": Object {
57901
+ "suggestions": Array [
57902
+ Object {
57903
+ "index": 0,
57904
+ "isSaved": true,
57905
+ "phoneNumber": "",
57906
+ "postback": "stop",
57907
+ "text": "stop",
57908
+ "type": "QUICK_REPLY",
57909
+ "url": null,
57910
+ },
57911
+ ],
57912
+ "templateHeader": "",
57913
+ "templateMessage": "",
57850
57914
  },
57851
- ]
57915
+ "device": "desktop",
57916
+ "error": null,
57917
+ "formatMessage": [Function],
57918
+ "isUpdating": false,
57919
+ "lastModified": undefined,
57920
+ "onDeviceChange": [Function],
57921
+ "onPreviewTabChange": [Function],
57922
+ "selectedCustomer": null,
57923
+ "showDeviceToggle": true,
57924
+ "smsFallbackContent": null,
57925
+ "smsFallbackResolvedText": undefined,
57926
+ "updatedByName": undefined,
57927
+ }
57852
57928
  }
57853
- wecrmAccounts={Array []}
57854
57929
  />
57855
57930
  </CapRow>
57856
- <CapDivider
57857
- className="panel-divider"
57858
- />
57859
- </CapRow>
57860
- <CapRow
57861
- className="right-panel"
57862
- >
57863
- <PreviewSection
57864
- unifiedPreviewProps={
57865
- Object {
57866
- "activePreviewTab": "rcs",
57867
- "channel": "RCS",
57868
- "content": Object {
57869
- "suggestions": Array [
57870
- Object {
57871
- "index": 0,
57872
- "isSaved": true,
57873
- "phoneNumber": "",
57874
- "postback": "stop",
57875
- "text": "stop",
57876
- "type": "QUICK_REPLY",
57877
- "url": null,
57878
- },
57879
- ],
57880
- "templateHeader": "",
57881
- "templateMessage": "",
57882
- },
57883
- "device": "desktop",
57884
- "error": null,
57885
- "formatMessage": [Function],
57886
- "isUpdating": false,
57887
- "lastModified": undefined,
57888
- "onDeviceChange": [Function],
57889
- "onPreviewTabChange": [Function],
57890
- "selectedCustomer": null,
57891
- "showDeviceToggle": true,
57892
- "smsFallbackContent": null,
57893
- "smsFallbackResolvedText": undefined,
57894
- "updatedByName": undefined,
57895
- }
57896
- }
57897
- />
57898
57931
  </CapRow>
57899
57932
  </CapRow>
57900
- </CapRow>
57933
+ </CapSpin>
57901
57934
  }
57902
57935
  handleClose={[Function]}
57903
57936
  header={
@@ -73231,6 +73264,7 @@ new message content.",
73231
73264
  <InjectIntl(TestAndPreviewSlidebox)
73232
73265
  actions={
73233
73266
  Object {
73267
+ "addTestCustomer": [Function],
73234
73268
  "clearCustomerSearchState": [Function],
73235
73269
  "clearPrefilledValues": [Function],
73236
73270
  "clearPreviewErrors": [Function],
@@ -73341,6 +73375,7 @@ new message content.",
73341
73375
  <TestAndPreviewSlidebox
73342
73376
  actions={
73343
73377
  Object {
73378
+ "addTestCustomer": [Function],
73344
73379
  "clearCustomerSearchState": [Function],
73345
73380
  "clearPrefilledValues": [Function],
73346
73381
  "clearPreviewErrors": [Function],
@@ -75700,6 +75735,7 @@ new message content.",
75700
75735
  <CommonTestAndPreview
75701
75736
  actions={
75702
75737
  Object {
75738
+ "addTestCustomer": [Function],
75703
75739
  "clearCustomerSearchState": [Function],
75704
75740
  "clearPrefilledValues": [Function],
75705
75741
  "clearPreviewErrors": [Function],
@@ -78076,174 +78112,182 @@ new message content.",
78076
78112
  closeIconSize="m"
78077
78113
  closeIconType="close"
78078
78114
  content={
78079
- <CapRow
78080
- className="test-preview-container"
78115
+ <CapSpin
78116
+ className="common-test-preview-lookup-spin "
78117
+ spinning={false}
78081
78118
  >
78082
78119
  <CapRow
78083
- className="test-and-preview-panels"
78120
+ className="test-preview-container"
78084
78121
  >
78085
78122
  <CapRow
78086
- className="left-panel"
78123
+ className="test-and-preview-panels"
78087
78124
  >
78088
- <LeftPanelContent
78089
- customers={Immutable.List []}
78090
- enableCustomerSearch={true}
78091
- enableTagExtraction={true}
78092
- error7078Message={null}
78093
- extractedTags={Immutable.List []}
78094
- handleClearSelection={[Function]}
78095
- handleCustomerSelect={[Function]}
78096
- handleExtractTags={[Function]}
78097
- handleSearchCustomer={[Function]}
78098
- isExtractingTags={false}
78099
- isSearchingCustomer={false}
78100
- renderCustomValuesEditor={[Function]}
78101
- selectedCustomer={null}
78102
- tagsExtracted={false}
78103
- />
78104
- <CapDivider
78105
- className="panel-divider"
78106
- />
78107
78125
  <CapRow
78108
- className="panel-section send-test-section"
78126
+ className="left-panel"
78109
78127
  >
78110
- <SendTestMessage
78111
- channel="RCS"
78112
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
78113
- deliverySettings={
78114
- Object {
78115
- "cdmaSenderId": "",
78116
- "domainGatewayMapId": null,
78117
- "domainId": null,
78118
- "gsmSenderId": "",
78119
- "smsFallbackDomainId": null,
78128
+ <LeftPanelContent
78129
+ customers={Immutable.List []}
78130
+ enableCustomerSearch={true}
78131
+ enableTagExtraction={true}
78132
+ error7078Message={null}
78133
+ extractedTags={Immutable.List []}
78134
+ handleClearSelection={[Function]}
78135
+ handleCustomerSelect={[Function]}
78136
+ handleExtractTags={[Function]}
78137
+ handleSearchCustomer={[Function]}
78138
+ isExtractingTags={false}
78139
+ isSearchingCustomer={false}
78140
+ renderCustomValuesEditor={[Function]}
78141
+ selectedCustomer={null}
78142
+ tagsExtracted={false}
78143
+ />
78144
+ <CapDivider
78145
+ className="panel-divider"
78146
+ />
78147
+ <CapRow
78148
+ className="panel-section send-test-section"
78149
+ >
78150
+ <SendTestMessage
78151
+ channel="RCS"
78152
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
78153
+ deliverySettings={
78154
+ Object {
78155
+ "cdmaSenderId": "",
78156
+ "domainGatewayMapId": null,
78157
+ "domainId": null,
78158
+ "gsmSenderId": "",
78159
+ "smsFallbackDomainId": null,
78160
+ }
78120
78161
  }
78121
- }
78122
- formData={
78123
- Object {
78124
- "versions": Object {
78125
- "base": Object {
78126
- "content": Object {
78127
- "RCS": Object {
78128
- "rcsContent": Object {
78129
- "accessToken": "",
78130
- "accountId": "",
78131
- "accountName": "",
78132
- "cardContent": Array [
78133
- Object {
78134
- "description": "",
78135
- "mediaType": "NONE",
78136
- "suggestions": Array [
78137
- Object {
78138
- "index": 0,
78139
- "isSaved": true,
78140
- "phoneNumber": "",
78141
- "postback": "stop",
78142
- "text": "stop",
78143
- "type": "QUICK_REPLY",
78144
- "url": null,
78145
- },
78146
- ],
78147
- "title": "",
78162
+ formData={
78163
+ Object {
78164
+ "versions": Object {
78165
+ "base": Object {
78166
+ "content": Object {
78167
+ "RCS": Object {
78168
+ "rcsContent": Object {
78169
+ "accessToken": "",
78170
+ "accountId": "",
78171
+ "accountName": "",
78172
+ "cardContent": Array [
78173
+ Object {
78174
+ "description": "",
78175
+ "mediaType": "NONE",
78176
+ "suggestions": Array [
78177
+ Object {
78178
+ "index": 0,
78179
+ "isSaved": true,
78180
+ "phoneNumber": "",
78181
+ "postback": "stop",
78182
+ "text": "stop",
78183
+ "type": "QUICK_REPLY",
78184
+ "url": null,
78185
+ },
78186
+ ],
78187
+ "title": "",
78188
+ },
78189
+ ],
78190
+ "cardSettings": Object {
78191
+ "cardOrientation": "VERTICAL",
78192
+ "cardWidth": "SMALL",
78148
78193
  },
78149
- ],
78150
- "cardSettings": Object {
78151
- "cardOrientation": "VERTICAL",
78152
- "cardWidth": "SMALL",
78194
+ "cardType": "STANDALONE",
78195
+ "contentType": "text_message",
78196
+ "hostName": "",
78153
78197
  },
78154
- "cardType": "STANDALONE",
78155
- "contentType": "text_message",
78156
- "hostName": "",
78157
78198
  },
78158
78199
  },
78159
78200
  },
78160
78201
  },
78161
- },
78162
- }
78163
- }
78164
- formatMessage={[Function]}
78165
- handleSendTestMessage={[Function]}
78166
- handleTestEntitiesChange={[Function]}
78167
- isChannelSmsFallbackPreviewEnabled={false}
78168
- isFetchingTestCustomers={false}
78169
- isFetchingTestGroups={false}
78170
- isLoadingSenderDetails={false}
78171
- isSendingTestMessage={false}
78172
- onSaveDeliverySettings={[Function]}
78173
- registeredSenderIds={Array []}
78174
- selectedTestEntities={Array []}
78175
- senderDetailsByChannel={
78176
- Object {
78177
- "EMAIL": Array [],
78178
- "SMS": Array [],
78179
- "WHATSAPP": Array [],
78202
+ }
78180
78203
  }
78181
- }
78182
- smsTraiDltEnabled={false}
78183
- testEntitiesTreeData={
78184
- Array [
78204
+ formatMessage={[Function]}
78205
+ handleSendTestMessage={[Function]}
78206
+ handleTestEntitiesChange={[Function]}
78207
+ isChannelSmsFallbackPreviewEnabled={false}
78208
+ isFetchingTestCustomers={false}
78209
+ isFetchingTestGroups={false}
78210
+ isLoadingSenderDetails={false}
78211
+ isSendingTestMessage={false}
78212
+ onSaveDeliverySettings={[Function]}
78213
+ registeredSenderIds={Array []}
78214
+ renderAddTestCustomerButton={[Function]}
78215
+ searchValue=""
78216
+ selectedTestEntities={Array []}
78217
+ senderDetailsByChannel={
78185
78218
  Object {
78186
- "children": Immutable.List [],
78187
- "selectable": false,
78188
- "title": "Groups",
78189
- "value": "groups-node",
78190
- },
78191
- Object {
78192
- "children": Immutable.List [],
78193
- "selectable": false,
78194
- "title": "Individuals",
78195
- "value": "customers-node",
78219
+ "EMAIL": Array [],
78220
+ "SMS": Array [],
78221
+ "WHATSAPP": Array [],
78222
+ }
78223
+ }
78224
+ setSearchValue={[Function]}
78225
+ smsTraiDltEnabled={false}
78226
+ testEntitiesTreeData={
78227
+ Array [
78228
+ Object {
78229
+ "children": Immutable.List [],
78230
+ "selectable": false,
78231
+ "title": "Groups",
78232
+ "value": "groups-node",
78233
+ },
78234
+ Object {
78235
+ "children": Immutable.List [],
78236
+ "selectable": false,
78237
+ "title": "Individuals",
78238
+ "value": "customers-node",
78239
+ },
78240
+ ]
78241
+ }
78242
+ wecrmAccounts={Array []}
78243
+ />
78244
+ </CapRow>
78245
+ <CapDivider
78246
+ className="panel-divider"
78247
+ />
78248
+ </CapRow>
78249
+ <CapRow
78250
+ className="right-panel"
78251
+ >
78252
+ <PreviewSection
78253
+ unifiedPreviewProps={
78254
+ Object {
78255
+ "activePreviewTab": "rcs",
78256
+ "channel": "RCS",
78257
+ "content": Object {
78258
+ "suggestions": Array [
78259
+ Object {
78260
+ "index": 0,
78261
+ "isSaved": true,
78262
+ "phoneNumber": "",
78263
+ "postback": "stop",
78264
+ "text": "stop",
78265
+ "type": "QUICK_REPLY",
78266
+ "url": null,
78267
+ },
78268
+ ],
78269
+ "templateHeader": "",
78270
+ "templateMessage": "",
78196
78271
  },
78197
- ]
78272
+ "device": "desktop",
78273
+ "error": null,
78274
+ "formatMessage": [Function],
78275
+ "isUpdating": false,
78276
+ "lastModified": undefined,
78277
+ "onDeviceChange": [Function],
78278
+ "onPreviewTabChange": [Function],
78279
+ "selectedCustomer": null,
78280
+ "showDeviceToggle": true,
78281
+ "smsFallbackContent": null,
78282
+ "smsFallbackResolvedText": undefined,
78283
+ "updatedByName": undefined,
78284
+ }
78198
78285
  }
78199
- wecrmAccounts={Array []}
78200
78286
  />
78201
78287
  </CapRow>
78202
- <CapDivider
78203
- className="panel-divider"
78204
- />
78205
- </CapRow>
78206
- <CapRow
78207
- className="right-panel"
78208
- >
78209
- <PreviewSection
78210
- unifiedPreviewProps={
78211
- Object {
78212
- "activePreviewTab": "rcs",
78213
- "channel": "RCS",
78214
- "content": Object {
78215
- "suggestions": Array [
78216
- Object {
78217
- "index": 0,
78218
- "isSaved": true,
78219
- "phoneNumber": "",
78220
- "postback": "stop",
78221
- "text": "stop",
78222
- "type": "QUICK_REPLY",
78223
- "url": null,
78224
- },
78225
- ],
78226
- "templateHeader": "",
78227
- "templateMessage": "",
78228
- },
78229
- "device": "desktop",
78230
- "error": null,
78231
- "formatMessage": [Function],
78232
- "isUpdating": false,
78233
- "lastModified": undefined,
78234
- "onDeviceChange": [Function],
78235
- "onPreviewTabChange": [Function],
78236
- "selectedCustomer": null,
78237
- "showDeviceToggle": true,
78238
- "smsFallbackContent": null,
78239
- "smsFallbackResolvedText": undefined,
78240
- "updatedByName": undefined,
78241
- }
78242
- }
78243
- />
78244
78288
  </CapRow>
78245
78289
  </CapRow>
78246
- </CapRow>
78290
+ </CapSpin>
78247
78291
  }
78248
78292
  handleClose={[Function]}
78249
78293
  header={
@@ -92347,6 +92391,7 @@ new message content.",
92347
92391
  <InjectIntl(TestAndPreviewSlidebox)
92348
92392
  actions={
92349
92393
  Object {
92394
+ "addTestCustomer": [Function],
92350
92395
  "clearCustomerSearchState": [Function],
92351
92396
  "clearPrefilledValues": [Function],
92352
92397
  "clearPreviewErrors": [Function],
@@ -92457,6 +92502,7 @@ new message content.",
92457
92502
  <TestAndPreviewSlidebox
92458
92503
  actions={
92459
92504
  Object {
92505
+ "addTestCustomer": [Function],
92460
92506
  "clearCustomerSearchState": [Function],
92461
92507
  "clearPrefilledValues": [Function],
92462
92508
  "clearPreviewErrors": [Function],
@@ -94816,6 +94862,7 @@ new message content.",
94816
94862
  <CommonTestAndPreview
94817
94863
  actions={
94818
94864
  Object {
94865
+ "addTestCustomer": [Function],
94819
94866
  "clearCustomerSearchState": [Function],
94820
94867
  "clearPrefilledValues": [Function],
94821
94868
  "clearPreviewErrors": [Function],
@@ -97192,174 +97239,182 @@ new message content.",
97192
97239
  closeIconSize="m"
97193
97240
  closeIconType="close"
97194
97241
  content={
97195
- <CapRow
97196
- className="test-preview-container"
97242
+ <CapSpin
97243
+ className="common-test-preview-lookup-spin "
97244
+ spinning={false}
97197
97245
  >
97198
97246
  <CapRow
97199
- className="test-and-preview-panels"
97247
+ className="test-preview-container"
97200
97248
  >
97201
97249
  <CapRow
97202
- className="left-panel"
97250
+ className="test-and-preview-panels"
97203
97251
  >
97204
- <LeftPanelContent
97205
- customers={Immutable.List []}
97206
- enableCustomerSearch={true}
97207
- enableTagExtraction={true}
97208
- error7078Message={null}
97209
- extractedTags={Immutable.List []}
97210
- handleClearSelection={[Function]}
97211
- handleCustomerSelect={[Function]}
97212
- handleExtractTags={[Function]}
97213
- handleSearchCustomer={[Function]}
97214
- isExtractingTags={false}
97215
- isSearchingCustomer={false}
97216
- renderCustomValuesEditor={[Function]}
97217
- selectedCustomer={null}
97218
- tagsExtracted={false}
97219
- />
97220
- <CapDivider
97221
- className="panel-divider"
97222
- />
97223
97252
  <CapRow
97224
- className="panel-section send-test-section"
97253
+ className="left-panel"
97225
97254
  >
97226
- <SendTestMessage
97227
- channel="RCS"
97228
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
97229
- deliverySettings={
97230
- Object {
97231
- "cdmaSenderId": "",
97232
- "domainGatewayMapId": null,
97233
- "domainId": null,
97234
- "gsmSenderId": "",
97235
- "smsFallbackDomainId": null,
97255
+ <LeftPanelContent
97256
+ customers={Immutable.List []}
97257
+ enableCustomerSearch={true}
97258
+ enableTagExtraction={true}
97259
+ error7078Message={null}
97260
+ extractedTags={Immutable.List []}
97261
+ handleClearSelection={[Function]}
97262
+ handleCustomerSelect={[Function]}
97263
+ handleExtractTags={[Function]}
97264
+ handleSearchCustomer={[Function]}
97265
+ isExtractingTags={false}
97266
+ isSearchingCustomer={false}
97267
+ renderCustomValuesEditor={[Function]}
97268
+ selectedCustomer={null}
97269
+ tagsExtracted={false}
97270
+ />
97271
+ <CapDivider
97272
+ className="panel-divider"
97273
+ />
97274
+ <CapRow
97275
+ className="panel-section send-test-section"
97276
+ >
97277
+ <SendTestMessage
97278
+ channel="RCS"
97279
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
97280
+ deliverySettings={
97281
+ Object {
97282
+ "cdmaSenderId": "",
97283
+ "domainGatewayMapId": null,
97284
+ "domainId": null,
97285
+ "gsmSenderId": "",
97286
+ "smsFallbackDomainId": null,
97287
+ }
97236
97288
  }
97237
- }
97238
- formData={
97239
- Object {
97240
- "versions": Object {
97241
- "base": Object {
97242
- "content": Object {
97243
- "RCS": Object {
97244
- "rcsContent": Object {
97245
- "accessToken": "",
97246
- "accountId": "",
97247
- "accountName": "",
97248
- "cardContent": Array [
97249
- Object {
97250
- "description": "",
97251
- "mediaType": "NONE",
97252
- "suggestions": Array [
97253
- Object {
97254
- "index": 0,
97255
- "isSaved": true,
97256
- "phoneNumber": "",
97257
- "postback": "stop",
97258
- "text": "stop",
97259
- "type": "QUICK_REPLY",
97260
- "url": null,
97261
- },
97262
- ],
97263
- "title": "",
97289
+ formData={
97290
+ Object {
97291
+ "versions": Object {
97292
+ "base": Object {
97293
+ "content": Object {
97294
+ "RCS": Object {
97295
+ "rcsContent": Object {
97296
+ "accessToken": "",
97297
+ "accountId": "",
97298
+ "accountName": "",
97299
+ "cardContent": Array [
97300
+ Object {
97301
+ "description": "",
97302
+ "mediaType": "NONE",
97303
+ "suggestions": Array [
97304
+ Object {
97305
+ "index": 0,
97306
+ "isSaved": true,
97307
+ "phoneNumber": "",
97308
+ "postback": "stop",
97309
+ "text": "stop",
97310
+ "type": "QUICK_REPLY",
97311
+ "url": null,
97312
+ },
97313
+ ],
97314
+ "title": "",
97315
+ },
97316
+ ],
97317
+ "cardSettings": Object {
97318
+ "cardOrientation": "VERTICAL",
97319
+ "cardWidth": "SMALL",
97264
97320
  },
97265
- ],
97266
- "cardSettings": Object {
97267
- "cardOrientation": "VERTICAL",
97268
- "cardWidth": "SMALL",
97321
+ "cardType": "STANDALONE",
97322
+ "contentType": "text_message",
97323
+ "hostName": "",
97269
97324
  },
97270
- "cardType": "STANDALONE",
97271
- "contentType": "text_message",
97272
- "hostName": "",
97273
97325
  },
97274
97326
  },
97275
97327
  },
97276
97328
  },
97277
- },
97278
- }
97279
- }
97280
- formatMessage={[Function]}
97281
- handleSendTestMessage={[Function]}
97282
- handleTestEntitiesChange={[Function]}
97283
- isChannelSmsFallbackPreviewEnabled={false}
97284
- isFetchingTestCustomers={false}
97285
- isFetchingTestGroups={false}
97286
- isLoadingSenderDetails={false}
97287
- isSendingTestMessage={false}
97288
- onSaveDeliverySettings={[Function]}
97289
- registeredSenderIds={Array []}
97290
- selectedTestEntities={Array []}
97291
- senderDetailsByChannel={
97292
- Object {
97293
- "EMAIL": Array [],
97294
- "SMS": Array [],
97295
- "WHATSAPP": Array [],
97329
+ }
97296
97330
  }
97297
- }
97298
- smsTraiDltEnabled={false}
97299
- testEntitiesTreeData={
97300
- Array [
97331
+ formatMessage={[Function]}
97332
+ handleSendTestMessage={[Function]}
97333
+ handleTestEntitiesChange={[Function]}
97334
+ isChannelSmsFallbackPreviewEnabled={false}
97335
+ isFetchingTestCustomers={false}
97336
+ isFetchingTestGroups={false}
97337
+ isLoadingSenderDetails={false}
97338
+ isSendingTestMessage={false}
97339
+ onSaveDeliverySettings={[Function]}
97340
+ registeredSenderIds={Array []}
97341
+ renderAddTestCustomerButton={[Function]}
97342
+ searchValue=""
97343
+ selectedTestEntities={Array []}
97344
+ senderDetailsByChannel={
97301
97345
  Object {
97302
- "children": Immutable.List [],
97303
- "selectable": false,
97304
- "title": "Groups",
97305
- "value": "groups-node",
97306
- },
97307
- Object {
97308
- "children": Immutable.List [],
97309
- "selectable": false,
97310
- "title": "Individuals",
97311
- "value": "customers-node",
97346
+ "EMAIL": Array [],
97347
+ "SMS": Array [],
97348
+ "WHATSAPP": Array [],
97349
+ }
97350
+ }
97351
+ setSearchValue={[Function]}
97352
+ smsTraiDltEnabled={false}
97353
+ testEntitiesTreeData={
97354
+ Array [
97355
+ Object {
97356
+ "children": Immutable.List [],
97357
+ "selectable": false,
97358
+ "title": "Groups",
97359
+ "value": "groups-node",
97360
+ },
97361
+ Object {
97362
+ "children": Immutable.List [],
97363
+ "selectable": false,
97364
+ "title": "Individuals",
97365
+ "value": "customers-node",
97366
+ },
97367
+ ]
97368
+ }
97369
+ wecrmAccounts={Array []}
97370
+ />
97371
+ </CapRow>
97372
+ <CapDivider
97373
+ className="panel-divider"
97374
+ />
97375
+ </CapRow>
97376
+ <CapRow
97377
+ className="right-panel"
97378
+ >
97379
+ <PreviewSection
97380
+ unifiedPreviewProps={
97381
+ Object {
97382
+ "activePreviewTab": "rcs",
97383
+ "channel": "RCS",
97384
+ "content": Object {
97385
+ "suggestions": Array [
97386
+ Object {
97387
+ "index": 0,
97388
+ "isSaved": true,
97389
+ "phoneNumber": "",
97390
+ "postback": "stop",
97391
+ "text": "stop",
97392
+ "type": "QUICK_REPLY",
97393
+ "url": null,
97394
+ },
97395
+ ],
97396
+ "templateHeader": "",
97397
+ "templateMessage": "",
97312
97398
  },
97313
- ]
97399
+ "device": "desktop",
97400
+ "error": null,
97401
+ "formatMessage": [Function],
97402
+ "isUpdating": false,
97403
+ "lastModified": undefined,
97404
+ "onDeviceChange": [Function],
97405
+ "onPreviewTabChange": [Function],
97406
+ "selectedCustomer": null,
97407
+ "showDeviceToggle": true,
97408
+ "smsFallbackContent": null,
97409
+ "smsFallbackResolvedText": undefined,
97410
+ "updatedByName": undefined,
97411
+ }
97314
97412
  }
97315
- wecrmAccounts={Array []}
97316
97413
  />
97317
97414
  </CapRow>
97318
- <CapDivider
97319
- className="panel-divider"
97320
- />
97321
- </CapRow>
97322
- <CapRow
97323
- className="right-panel"
97324
- >
97325
- <PreviewSection
97326
- unifiedPreviewProps={
97327
- Object {
97328
- "activePreviewTab": "rcs",
97329
- "channel": "RCS",
97330
- "content": Object {
97331
- "suggestions": Array [
97332
- Object {
97333
- "index": 0,
97334
- "isSaved": true,
97335
- "phoneNumber": "",
97336
- "postback": "stop",
97337
- "text": "stop",
97338
- "type": "QUICK_REPLY",
97339
- "url": null,
97340
- },
97341
- ],
97342
- "templateHeader": "",
97343
- "templateMessage": "",
97344
- },
97345
- "device": "desktop",
97346
- "error": null,
97347
- "formatMessage": [Function],
97348
- "isUpdating": false,
97349
- "lastModified": undefined,
97350
- "onDeviceChange": [Function],
97351
- "onPreviewTabChange": [Function],
97352
- "selectedCustomer": null,
97353
- "showDeviceToggle": true,
97354
- "smsFallbackContent": null,
97355
- "smsFallbackResolvedText": undefined,
97356
- "updatedByName": undefined,
97357
- }
97358
- }
97359
- />
97360
97415
  </CapRow>
97361
97416
  </CapRow>
97362
- </CapRow>
97417
+ </CapSpin>
97363
97418
  }
97364
97419
  handleClose={[Function]}
97365
97420
  header={
@@ -115038,6 +115093,7 @@ new message content.",
115038
115093
  <InjectIntl(TestAndPreviewSlidebox)
115039
115094
  actions={
115040
115095
  Object {
115096
+ "addTestCustomer": [Function],
115041
115097
  "clearCustomerSearchState": [Function],
115042
115098
  "clearPrefilledValues": [Function],
115043
115099
  "clearPreviewErrors": [Function],
@@ -115153,6 +115209,7 @@ new message content.",
115153
115209
  <TestAndPreviewSlidebox
115154
115210
  actions={
115155
115211
  Object {
115212
+ "addTestCustomer": [Function],
115156
115213
  "clearCustomerSearchState": [Function],
115157
115214
  "clearPrefilledValues": [Function],
115158
115215
  "clearPreviewErrors": [Function],
@@ -117517,6 +117574,7 @@ new message content.",
117517
117574
  <CommonTestAndPreview
117518
117575
  actions={
117519
117576
  Object {
117577
+ "addTestCustomer": [Function],
117520
117578
  "clearCustomerSearchState": [Function],
117521
117579
  "clearPrefilledValues": [Function],
117522
117580
  "clearPreviewErrors": [Function],
@@ -119898,179 +119956,187 @@ new message content.",
119898
119956
  closeIconSize="m"
119899
119957
  closeIconType="close"
119900
119958
  content={
119901
- <CapRow
119902
- className="test-preview-container"
119959
+ <CapSpin
119960
+ className="common-test-preview-lookup-spin "
119961
+ spinning={false}
119903
119962
  >
119904
119963
  <CapRow
119905
- className="test-and-preview-panels"
119964
+ className="test-preview-container"
119906
119965
  >
119907
119966
  <CapRow
119908
- className="left-panel"
119967
+ className="test-and-preview-panels"
119909
119968
  >
119910
- <LeftPanelContent
119911
- customers={Immutable.List []}
119912
- enableCustomerSearch={true}
119913
- enableTagExtraction={true}
119914
- error7078Message={null}
119915
- extractedTags={Immutable.List []}
119916
- handleClearSelection={[Function]}
119917
- handleCustomerSelect={[Function]}
119918
- handleExtractTags={[Function]}
119919
- handleSearchCustomer={[Function]}
119920
- isExtractingTags={false}
119921
- isSearchingCustomer={false}
119922
- renderCustomValuesEditor={[Function]}
119923
- selectedCustomer={null}
119924
- tagsExtracted={false}
119925
- />
119926
- <CapDivider
119927
- className="panel-divider"
119928
- />
119929
119969
  <CapRow
119930
- className="panel-section send-test-section"
119970
+ className="left-panel"
119931
119971
  >
119932
- <SendTestMessage
119933
- channel="RCS"
119934
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
119935
- deliverySettings={
119936
- Object {
119937
- "cdmaSenderId": "",
119938
- "domainGatewayMapId": null,
119939
- "domainId": null,
119940
- "gsmSenderId": "",
119941
- "smsFallbackDomainId": null,
119972
+ <LeftPanelContent
119973
+ customers={Immutable.List []}
119974
+ enableCustomerSearch={true}
119975
+ enableTagExtraction={true}
119976
+ error7078Message={null}
119977
+ extractedTags={Immutable.List []}
119978
+ handleClearSelection={[Function]}
119979
+ handleCustomerSelect={[Function]}
119980
+ handleExtractTags={[Function]}
119981
+ handleSearchCustomer={[Function]}
119982
+ isExtractingTags={false}
119983
+ isSearchingCustomer={false}
119984
+ renderCustomValuesEditor={[Function]}
119985
+ selectedCustomer={null}
119986
+ tagsExtracted={false}
119987
+ />
119988
+ <CapDivider
119989
+ className="panel-divider"
119990
+ />
119991
+ <CapRow
119992
+ className="panel-section send-test-section"
119993
+ >
119994
+ <SendTestMessage
119995
+ channel="RCS"
119996
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
119997
+ deliverySettings={
119998
+ Object {
119999
+ "cdmaSenderId": "",
120000
+ "domainGatewayMapId": null,
120001
+ "domainId": null,
120002
+ "gsmSenderId": "",
120003
+ "smsFallbackDomainId": null,
120004
+ }
119942
120005
  }
119943
- }
119944
- formData={
119945
- Object {
119946
- "versions": Object {
119947
- "base": Object {
119948
- "content": Object {
119949
- "RCS": Object {
119950
- "rcsContent": Object {
119951
- "accessToken": "",
119952
- "accountId": "",
119953
- "accountName": "",
119954
- "cardContent": Array [
119955
- Object {
119956
- "description": "",
119957
- "media": Object {
119958
- "height": "MEDIUM",
119959
- "mediaUrl": "",
119960
- "thumbnailUrl": "",
119961
- },
119962
- "mediaType": "IMAGE",
119963
- "suggestions": Array [
119964
- Object {
119965
- "index": 0,
119966
- "isSaved": true,
119967
- "phoneNumber": "",
119968
- "postback": "stop",
119969
- "text": "stop",
119970
- "type": "QUICK_REPLY",
119971
- "url": null,
120006
+ formData={
120007
+ Object {
120008
+ "versions": Object {
120009
+ "base": Object {
120010
+ "content": Object {
120011
+ "RCS": Object {
120012
+ "rcsContent": Object {
120013
+ "accessToken": "",
120014
+ "accountId": "",
120015
+ "accountName": "",
120016
+ "cardContent": Array [
120017
+ Object {
120018
+ "description": "",
120019
+ "media": Object {
120020
+ "height": "MEDIUM",
120021
+ "mediaUrl": "",
120022
+ "thumbnailUrl": "",
119972
120023
  },
119973
- ],
119974
- "title": "",
120024
+ "mediaType": "IMAGE",
120025
+ "suggestions": Array [
120026
+ Object {
120027
+ "index": 0,
120028
+ "isSaved": true,
120029
+ "phoneNumber": "",
120030
+ "postback": "stop",
120031
+ "text": "stop",
120032
+ "type": "QUICK_REPLY",
120033
+ "url": null,
120034
+ },
120035
+ ],
120036
+ "title": "",
120037
+ },
120038
+ ],
120039
+ "cardSettings": Object {
120040
+ "cardOrientation": "VERTICAL",
120041
+ "cardWidth": "MEDIUM",
119975
120042
  },
119976
- ],
119977
- "cardSettings": Object {
119978
- "cardOrientation": "VERTICAL",
119979
- "cardWidth": "MEDIUM",
120043
+ "cardType": "STANDALONE",
120044
+ "contentType": "rich_card",
120045
+ "hostName": "",
119980
120046
  },
119981
- "cardType": "STANDALONE",
119982
- "contentType": "rich_card",
119983
- "hostName": "",
119984
120047
  },
119985
120048
  },
119986
120049
  },
119987
120050
  },
119988
- },
119989
- }
119990
- }
119991
- formatMessage={[Function]}
119992
- handleSendTestMessage={[Function]}
119993
- handleTestEntitiesChange={[Function]}
119994
- isChannelSmsFallbackPreviewEnabled={false}
119995
- isFetchingTestCustomers={false}
119996
- isFetchingTestGroups={false}
119997
- isLoadingSenderDetails={false}
119998
- isSendingTestMessage={false}
119999
- onSaveDeliverySettings={[Function]}
120000
- registeredSenderIds={Array []}
120001
- selectedTestEntities={Array []}
120002
- senderDetailsByChannel={
120003
- Object {
120004
- "EMAIL": Array [],
120005
- "SMS": Array [],
120006
- "WHATSAPP": Array [],
120051
+ }
120007
120052
  }
120008
- }
120009
- smsTraiDltEnabled={false}
120010
- testEntitiesTreeData={
120011
- Array [
120053
+ formatMessage={[Function]}
120054
+ handleSendTestMessage={[Function]}
120055
+ handleTestEntitiesChange={[Function]}
120056
+ isChannelSmsFallbackPreviewEnabled={false}
120057
+ isFetchingTestCustomers={false}
120058
+ isFetchingTestGroups={false}
120059
+ isLoadingSenderDetails={false}
120060
+ isSendingTestMessage={false}
120061
+ onSaveDeliverySettings={[Function]}
120062
+ registeredSenderIds={Array []}
120063
+ renderAddTestCustomerButton={[Function]}
120064
+ searchValue=""
120065
+ selectedTestEntities={Array []}
120066
+ senderDetailsByChannel={
120012
120067
  Object {
120013
- "children": Immutable.List [],
120014
- "selectable": false,
120015
- "title": "Groups",
120016
- "value": "groups-node",
120017
- },
120018
- Object {
120019
- "children": Immutable.List [],
120020
- "selectable": false,
120021
- "title": "Individuals",
120022
- "value": "customers-node",
120068
+ "EMAIL": Array [],
120069
+ "SMS": Array [],
120070
+ "WHATSAPP": Array [],
120071
+ }
120072
+ }
120073
+ setSearchValue={[Function]}
120074
+ smsTraiDltEnabled={false}
120075
+ testEntitiesTreeData={
120076
+ Array [
120077
+ Object {
120078
+ "children": Immutable.List [],
120079
+ "selectable": false,
120080
+ "title": "Groups",
120081
+ "value": "groups-node",
120082
+ },
120083
+ Object {
120084
+ "children": Immutable.List [],
120085
+ "selectable": false,
120086
+ "title": "Individuals",
120087
+ "value": "customers-node",
120088
+ },
120089
+ ]
120090
+ }
120091
+ wecrmAccounts={Array []}
120092
+ />
120093
+ </CapRow>
120094
+ <CapDivider
120095
+ className="panel-divider"
120096
+ />
120097
+ </CapRow>
120098
+ <CapRow
120099
+ className="right-panel"
120100
+ >
120101
+ <PreviewSection
120102
+ unifiedPreviewProps={
120103
+ Object {
120104
+ "activePreviewTab": "rcs",
120105
+ "channel": "RCS",
120106
+ "content": Object {
120107
+ "suggestions": Array [
120108
+ Object {
120109
+ "index": 0,
120110
+ "isSaved": true,
120111
+ "phoneNumber": "",
120112
+ "postback": "stop",
120113
+ "text": "stop",
120114
+ "type": "QUICK_REPLY",
120115
+ "url": null,
120116
+ },
120117
+ ],
120118
+ "templateHeader": "",
120119
+ "templateMessage": "",
120023
120120
  },
120024
- ]
120121
+ "device": "desktop",
120122
+ "error": null,
120123
+ "formatMessage": [Function],
120124
+ "isUpdating": false,
120125
+ "lastModified": undefined,
120126
+ "onDeviceChange": [Function],
120127
+ "onPreviewTabChange": [Function],
120128
+ "selectedCustomer": null,
120129
+ "showDeviceToggle": true,
120130
+ "smsFallbackContent": null,
120131
+ "smsFallbackResolvedText": undefined,
120132
+ "updatedByName": undefined,
120133
+ }
120025
120134
  }
120026
- wecrmAccounts={Array []}
120027
120135
  />
120028
120136
  </CapRow>
120029
- <CapDivider
120030
- className="panel-divider"
120031
- />
120032
- </CapRow>
120033
- <CapRow
120034
- className="right-panel"
120035
- >
120036
- <PreviewSection
120037
- unifiedPreviewProps={
120038
- Object {
120039
- "activePreviewTab": "rcs",
120040
- "channel": "RCS",
120041
- "content": Object {
120042
- "suggestions": Array [
120043
- Object {
120044
- "index": 0,
120045
- "isSaved": true,
120046
- "phoneNumber": "",
120047
- "postback": "stop",
120048
- "text": "stop",
120049
- "type": "QUICK_REPLY",
120050
- "url": null,
120051
- },
120052
- ],
120053
- "templateHeader": "",
120054
- "templateMessage": "",
120055
- },
120056
- "device": "desktop",
120057
- "error": null,
120058
- "formatMessage": [Function],
120059
- "isUpdating": false,
120060
- "lastModified": undefined,
120061
- "onDeviceChange": [Function],
120062
- "onPreviewTabChange": [Function],
120063
- "selectedCustomer": null,
120064
- "showDeviceToggle": true,
120065
- "smsFallbackContent": null,
120066
- "smsFallbackResolvedText": undefined,
120067
- "updatedByName": undefined,
120068
- }
120069
- }
120070
- />
120071
120137
  </CapRow>
120072
120138
  </CapRow>
120073
- </CapRow>
120139
+ </CapSpin>
120074
120140
  }
120075
120141
  handleClose={[Function]}
120076
120142
  header={
@@ -137749,6 +137815,7 @@ new message content.",
137749
137815
  <InjectIntl(TestAndPreviewSlidebox)
137750
137816
  actions={
137751
137817
  Object {
137818
+ "addTestCustomer": [Function],
137752
137819
  "clearCustomerSearchState": [Function],
137753
137820
  "clearPrefilledValues": [Function],
137754
137821
  "clearPreviewErrors": [Function],
@@ -137864,6 +137931,7 @@ new message content.",
137864
137931
  <TestAndPreviewSlidebox
137865
137932
  actions={
137866
137933
  Object {
137934
+ "addTestCustomer": [Function],
137867
137935
  "clearCustomerSearchState": [Function],
137868
137936
  "clearPrefilledValues": [Function],
137869
137937
  "clearPreviewErrors": [Function],
@@ -140228,6 +140296,7 @@ new message content.",
140228
140296
  <CommonTestAndPreview
140229
140297
  actions={
140230
140298
  Object {
140299
+ "addTestCustomer": [Function],
140231
140300
  "clearCustomerSearchState": [Function],
140232
140301
  "clearPrefilledValues": [Function],
140233
140302
  "clearPreviewErrors": [Function],
@@ -142609,179 +142678,187 @@ new message content.",
142609
142678
  closeIconSize="m"
142610
142679
  closeIconType="close"
142611
142680
  content={
142612
- <CapRow
142613
- className="test-preview-container"
142681
+ <CapSpin
142682
+ className="common-test-preview-lookup-spin "
142683
+ spinning={false}
142614
142684
  >
142615
142685
  <CapRow
142616
- className="test-and-preview-panels"
142686
+ className="test-preview-container"
142617
142687
  >
142618
142688
  <CapRow
142619
- className="left-panel"
142689
+ className="test-and-preview-panels"
142620
142690
  >
142621
- <LeftPanelContent
142622
- customers={Immutable.List []}
142623
- enableCustomerSearch={true}
142624
- enableTagExtraction={true}
142625
- error7078Message={null}
142626
- extractedTags={Immutable.List []}
142627
- handleClearSelection={[Function]}
142628
- handleCustomerSelect={[Function]}
142629
- handleExtractTags={[Function]}
142630
- handleSearchCustomer={[Function]}
142631
- isExtractingTags={false}
142632
- isSearchingCustomer={false}
142633
- renderCustomValuesEditor={[Function]}
142634
- selectedCustomer={null}
142635
- tagsExtracted={false}
142636
- />
142637
- <CapDivider
142638
- className="panel-divider"
142639
- />
142640
142691
  <CapRow
142641
- className="panel-section send-test-section"
142692
+ className="left-panel"
142642
142693
  >
142643
- <SendTestMessage
142644
- channel="RCS"
142645
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
142646
- deliverySettings={
142647
- Object {
142648
- "cdmaSenderId": "",
142649
- "domainGatewayMapId": null,
142650
- "domainId": null,
142651
- "gsmSenderId": "",
142652
- "smsFallbackDomainId": null,
142694
+ <LeftPanelContent
142695
+ customers={Immutable.List []}
142696
+ enableCustomerSearch={true}
142697
+ enableTagExtraction={true}
142698
+ error7078Message={null}
142699
+ extractedTags={Immutable.List []}
142700
+ handleClearSelection={[Function]}
142701
+ handleCustomerSelect={[Function]}
142702
+ handleExtractTags={[Function]}
142703
+ handleSearchCustomer={[Function]}
142704
+ isExtractingTags={false}
142705
+ isSearchingCustomer={false}
142706
+ renderCustomValuesEditor={[Function]}
142707
+ selectedCustomer={null}
142708
+ tagsExtracted={false}
142709
+ />
142710
+ <CapDivider
142711
+ className="panel-divider"
142712
+ />
142713
+ <CapRow
142714
+ className="panel-section send-test-section"
142715
+ >
142716
+ <SendTestMessage
142717
+ channel="RCS"
142718
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
142719
+ deliverySettings={
142720
+ Object {
142721
+ "cdmaSenderId": "",
142722
+ "domainGatewayMapId": null,
142723
+ "domainId": null,
142724
+ "gsmSenderId": "",
142725
+ "smsFallbackDomainId": null,
142726
+ }
142653
142727
  }
142654
- }
142655
- formData={
142656
- Object {
142657
- "versions": Object {
142658
- "base": Object {
142659
- "content": Object {
142660
- "RCS": Object {
142661
- "rcsContent": Object {
142662
- "accessToken": "",
142663
- "accountId": "",
142664
- "accountName": "",
142665
- "cardContent": Array [
142666
- Object {
142667
- "description": "",
142668
- "media": Object {
142669
- "height": "MEDIUM",
142670
- "mediaUrl": "",
142671
- "thumbnailUrl": "",
142672
- },
142673
- "mediaType": "IMAGE",
142674
- "suggestions": Array [
142675
- Object {
142676
- "index": 0,
142677
- "isSaved": true,
142678
- "phoneNumber": "",
142679
- "postback": "stop",
142680
- "text": "stop",
142681
- "type": "QUICK_REPLY",
142682
- "url": null,
142728
+ formData={
142729
+ Object {
142730
+ "versions": Object {
142731
+ "base": Object {
142732
+ "content": Object {
142733
+ "RCS": Object {
142734
+ "rcsContent": Object {
142735
+ "accessToken": "",
142736
+ "accountId": "",
142737
+ "accountName": "",
142738
+ "cardContent": Array [
142739
+ Object {
142740
+ "description": "",
142741
+ "media": Object {
142742
+ "height": "MEDIUM",
142743
+ "mediaUrl": "",
142744
+ "thumbnailUrl": "",
142683
142745
  },
142684
- ],
142685
- "title": "",
142746
+ "mediaType": "IMAGE",
142747
+ "suggestions": Array [
142748
+ Object {
142749
+ "index": 0,
142750
+ "isSaved": true,
142751
+ "phoneNumber": "",
142752
+ "postback": "stop",
142753
+ "text": "stop",
142754
+ "type": "QUICK_REPLY",
142755
+ "url": null,
142756
+ },
142757
+ ],
142758
+ "title": "",
142759
+ },
142760
+ ],
142761
+ "cardSettings": Object {
142762
+ "cardOrientation": "VERTICAL",
142763
+ "cardWidth": "MEDIUM",
142686
142764
  },
142687
- ],
142688
- "cardSettings": Object {
142689
- "cardOrientation": "VERTICAL",
142690
- "cardWidth": "MEDIUM",
142765
+ "cardType": "STANDALONE",
142766
+ "contentType": "rich_card",
142767
+ "hostName": "",
142691
142768
  },
142692
- "cardType": "STANDALONE",
142693
- "contentType": "rich_card",
142694
- "hostName": "",
142695
142769
  },
142696
142770
  },
142697
142771
  },
142698
142772
  },
142699
- },
142700
- }
142701
- }
142702
- formatMessage={[Function]}
142703
- handleSendTestMessage={[Function]}
142704
- handleTestEntitiesChange={[Function]}
142705
- isChannelSmsFallbackPreviewEnabled={false}
142706
- isFetchingTestCustomers={false}
142707
- isFetchingTestGroups={false}
142708
- isLoadingSenderDetails={false}
142709
- isSendingTestMessage={false}
142710
- onSaveDeliverySettings={[Function]}
142711
- registeredSenderIds={Array []}
142712
- selectedTestEntities={Array []}
142713
- senderDetailsByChannel={
142714
- Object {
142715
- "EMAIL": Array [],
142716
- "SMS": Array [],
142717
- "WHATSAPP": Array [],
142773
+ }
142718
142774
  }
142719
- }
142720
- smsTraiDltEnabled={false}
142721
- testEntitiesTreeData={
142722
- Array [
142775
+ formatMessage={[Function]}
142776
+ handleSendTestMessage={[Function]}
142777
+ handleTestEntitiesChange={[Function]}
142778
+ isChannelSmsFallbackPreviewEnabled={false}
142779
+ isFetchingTestCustomers={false}
142780
+ isFetchingTestGroups={false}
142781
+ isLoadingSenderDetails={false}
142782
+ isSendingTestMessage={false}
142783
+ onSaveDeliverySettings={[Function]}
142784
+ registeredSenderIds={Array []}
142785
+ renderAddTestCustomerButton={[Function]}
142786
+ searchValue=""
142787
+ selectedTestEntities={Array []}
142788
+ senderDetailsByChannel={
142723
142789
  Object {
142724
- "children": Immutable.List [],
142725
- "selectable": false,
142726
- "title": "Groups",
142727
- "value": "groups-node",
142728
- },
142729
- Object {
142730
- "children": Immutable.List [],
142731
- "selectable": false,
142732
- "title": "Individuals",
142733
- "value": "customers-node",
142790
+ "EMAIL": Array [],
142791
+ "SMS": Array [],
142792
+ "WHATSAPP": Array [],
142793
+ }
142794
+ }
142795
+ setSearchValue={[Function]}
142796
+ smsTraiDltEnabled={false}
142797
+ testEntitiesTreeData={
142798
+ Array [
142799
+ Object {
142800
+ "children": Immutable.List [],
142801
+ "selectable": false,
142802
+ "title": "Groups",
142803
+ "value": "groups-node",
142804
+ },
142805
+ Object {
142806
+ "children": Immutable.List [],
142807
+ "selectable": false,
142808
+ "title": "Individuals",
142809
+ "value": "customers-node",
142810
+ },
142811
+ ]
142812
+ }
142813
+ wecrmAccounts={Array []}
142814
+ />
142815
+ </CapRow>
142816
+ <CapDivider
142817
+ className="panel-divider"
142818
+ />
142819
+ </CapRow>
142820
+ <CapRow
142821
+ className="right-panel"
142822
+ >
142823
+ <PreviewSection
142824
+ unifiedPreviewProps={
142825
+ Object {
142826
+ "activePreviewTab": "rcs",
142827
+ "channel": "RCS",
142828
+ "content": Object {
142829
+ "suggestions": Array [
142830
+ Object {
142831
+ "index": 0,
142832
+ "isSaved": true,
142833
+ "phoneNumber": "",
142834
+ "postback": "stop",
142835
+ "text": "stop",
142836
+ "type": "QUICK_REPLY",
142837
+ "url": null,
142838
+ },
142839
+ ],
142840
+ "templateHeader": "",
142841
+ "templateMessage": "",
142734
142842
  },
142735
- ]
142843
+ "device": "desktop",
142844
+ "error": null,
142845
+ "formatMessage": [Function],
142846
+ "isUpdating": false,
142847
+ "lastModified": undefined,
142848
+ "onDeviceChange": [Function],
142849
+ "onPreviewTabChange": [Function],
142850
+ "selectedCustomer": null,
142851
+ "showDeviceToggle": true,
142852
+ "smsFallbackContent": null,
142853
+ "smsFallbackResolvedText": undefined,
142854
+ "updatedByName": undefined,
142855
+ }
142736
142856
  }
142737
- wecrmAccounts={Array []}
142738
142857
  />
142739
142858
  </CapRow>
142740
- <CapDivider
142741
- className="panel-divider"
142742
- />
142743
- </CapRow>
142744
- <CapRow
142745
- className="right-panel"
142746
- >
142747
- <PreviewSection
142748
- unifiedPreviewProps={
142749
- Object {
142750
- "activePreviewTab": "rcs",
142751
- "channel": "RCS",
142752
- "content": Object {
142753
- "suggestions": Array [
142754
- Object {
142755
- "index": 0,
142756
- "isSaved": true,
142757
- "phoneNumber": "",
142758
- "postback": "stop",
142759
- "text": "stop",
142760
- "type": "QUICK_REPLY",
142761
- "url": null,
142762
- },
142763
- ],
142764
- "templateHeader": "",
142765
- "templateMessage": "",
142766
- },
142767
- "device": "desktop",
142768
- "error": null,
142769
- "formatMessage": [Function],
142770
- "isUpdating": false,
142771
- "lastModified": undefined,
142772
- "onDeviceChange": [Function],
142773
- "onPreviewTabChange": [Function],
142774
- "selectedCustomer": null,
142775
- "showDeviceToggle": true,
142776
- "smsFallbackContent": null,
142777
- "smsFallbackResolvedText": undefined,
142778
- "updatedByName": undefined,
142779
- }
142780
- }
142781
- />
142782
142859
  </CapRow>
142783
142860
  </CapRow>
142784
- </CapRow>
142861
+ </CapSpin>
142785
142862
  }
142786
142863
  handleClose={[Function]}
142787
142864
  header={
@@ -161402,6 +161479,7 @@ new message content.",
161402
161479
  <InjectIntl(TestAndPreviewSlidebox)
161403
161480
  actions={
161404
161481
  Object {
161482
+ "addTestCustomer": [Function],
161405
161483
  "clearCustomerSearchState": [Function],
161406
161484
  "clearPrefilledValues": [Function],
161407
161485
  "clearPreviewErrors": [Function],
@@ -161512,6 +161590,7 @@ new message content.",
161512
161590
  <TestAndPreviewSlidebox
161513
161591
  actions={
161514
161592
  Object {
161593
+ "addTestCustomer": [Function],
161515
161594
  "clearCustomerSearchState": [Function],
161516
161595
  "clearPrefilledValues": [Function],
161517
161596
  "clearPreviewErrors": [Function],
@@ -163871,6 +163950,7 @@ new message content.",
163871
163950
  <CommonTestAndPreview
163872
163951
  actions={
163873
163952
  Object {
163953
+ "addTestCustomer": [Function],
163874
163954
  "clearCustomerSearchState": [Function],
163875
163955
  "clearPrefilledValues": [Function],
163876
163956
  "clearPreviewErrors": [Function],
@@ -166247,174 +166327,182 @@ new message content.",
166247
166327
  closeIconSize="m"
166248
166328
  closeIconType="close"
166249
166329
  content={
166250
- <CapRow
166251
- className="test-preview-container"
166330
+ <CapSpin
166331
+ className="common-test-preview-lookup-spin "
166332
+ spinning={false}
166252
166333
  >
166253
166334
  <CapRow
166254
- className="test-and-preview-panels"
166335
+ className="test-preview-container"
166255
166336
  >
166256
166337
  <CapRow
166257
- className="left-panel"
166338
+ className="test-and-preview-panels"
166258
166339
  >
166259
- <LeftPanelContent
166260
- customers={Immutable.List []}
166261
- enableCustomerSearch={true}
166262
- enableTagExtraction={true}
166263
- error7078Message={null}
166264
- extractedTags={Immutable.List []}
166265
- handleClearSelection={[Function]}
166266
- handleCustomerSelect={[Function]}
166267
- handleExtractTags={[Function]}
166268
- handleSearchCustomer={[Function]}
166269
- isExtractingTags={false}
166270
- isSearchingCustomer={false}
166271
- renderCustomValuesEditor={[Function]}
166272
- selectedCustomer={null}
166273
- tagsExtracted={false}
166274
- />
166275
- <CapDivider
166276
- className="panel-divider"
166277
- />
166278
166340
  <CapRow
166279
- className="panel-section send-test-section"
166341
+ className="left-panel"
166280
166342
  >
166281
- <SendTestMessage
166282
- channel="RCS"
166283
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
166284
- deliverySettings={
166285
- Object {
166286
- "cdmaSenderId": "",
166287
- "domainGatewayMapId": null,
166288
- "domainId": null,
166289
- "gsmSenderId": "",
166290
- "smsFallbackDomainId": null,
166343
+ <LeftPanelContent
166344
+ customers={Immutable.List []}
166345
+ enableCustomerSearch={true}
166346
+ enableTagExtraction={true}
166347
+ error7078Message={null}
166348
+ extractedTags={Immutable.List []}
166349
+ handleClearSelection={[Function]}
166350
+ handleCustomerSelect={[Function]}
166351
+ handleExtractTags={[Function]}
166352
+ handleSearchCustomer={[Function]}
166353
+ isExtractingTags={false}
166354
+ isSearchingCustomer={false}
166355
+ renderCustomValuesEditor={[Function]}
166356
+ selectedCustomer={null}
166357
+ tagsExtracted={false}
166358
+ />
166359
+ <CapDivider
166360
+ className="panel-divider"
166361
+ />
166362
+ <CapRow
166363
+ className="panel-section send-test-section"
166364
+ >
166365
+ <SendTestMessage
166366
+ channel="RCS"
166367
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
166368
+ deliverySettings={
166369
+ Object {
166370
+ "cdmaSenderId": "",
166371
+ "domainGatewayMapId": null,
166372
+ "domainId": null,
166373
+ "gsmSenderId": "",
166374
+ "smsFallbackDomainId": null,
166375
+ }
166291
166376
  }
166292
- }
166293
- formData={
166294
- Object {
166295
- "versions": Object {
166296
- "base": Object {
166297
- "content": Object {
166298
- "RCS": Object {
166299
- "rcsContent": Object {
166300
- "accessToken": "",
166301
- "accountId": "",
166302
- "accountName": "",
166303
- "cardContent": Array [
166304
- Object {
166305
- "description": "",
166306
- "mediaType": "NONE",
166307
- "suggestions": Array [
166308
- Object {
166309
- "index": 0,
166310
- "isSaved": true,
166311
- "phoneNumber": "",
166312
- "postback": "stop",
166313
- "text": "stop",
166314
- "type": "QUICK_REPLY",
166315
- "url": null,
166316
- },
166317
- ],
166318
- "title": "",
166377
+ formData={
166378
+ Object {
166379
+ "versions": Object {
166380
+ "base": Object {
166381
+ "content": Object {
166382
+ "RCS": Object {
166383
+ "rcsContent": Object {
166384
+ "accessToken": "",
166385
+ "accountId": "",
166386
+ "accountName": "",
166387
+ "cardContent": Array [
166388
+ Object {
166389
+ "description": "",
166390
+ "mediaType": "NONE",
166391
+ "suggestions": Array [
166392
+ Object {
166393
+ "index": 0,
166394
+ "isSaved": true,
166395
+ "phoneNumber": "",
166396
+ "postback": "stop",
166397
+ "text": "stop",
166398
+ "type": "QUICK_REPLY",
166399
+ "url": null,
166400
+ },
166401
+ ],
166402
+ "title": "",
166403
+ },
166404
+ ],
166405
+ "cardSettings": Object {
166406
+ "cardOrientation": "VERTICAL",
166407
+ "cardWidth": "SMALL",
166319
166408
  },
166320
- ],
166321
- "cardSettings": Object {
166322
- "cardOrientation": "VERTICAL",
166323
- "cardWidth": "SMALL",
166409
+ "cardType": "STANDALONE",
166410
+ "contentType": "text_message",
166411
+ "hostName": "",
166324
166412
  },
166325
- "cardType": "STANDALONE",
166326
- "contentType": "text_message",
166327
- "hostName": "",
166328
166413
  },
166329
166414
  },
166330
166415
  },
166331
166416
  },
166332
- },
166333
- }
166334
- }
166335
- formatMessage={[Function]}
166336
- handleSendTestMessage={[Function]}
166337
- handleTestEntitiesChange={[Function]}
166338
- isChannelSmsFallbackPreviewEnabled={false}
166339
- isFetchingTestCustomers={false}
166340
- isFetchingTestGroups={false}
166341
- isLoadingSenderDetails={false}
166342
- isSendingTestMessage={false}
166343
- onSaveDeliverySettings={[Function]}
166344
- registeredSenderIds={Array []}
166345
- selectedTestEntities={Array []}
166346
- senderDetailsByChannel={
166347
- Object {
166348
- "EMAIL": Array [],
166349
- "SMS": Array [],
166350
- "WHATSAPP": Array [],
166417
+ }
166351
166418
  }
166352
- }
166353
- smsTraiDltEnabled={false}
166354
- testEntitiesTreeData={
166355
- Array [
166419
+ formatMessage={[Function]}
166420
+ handleSendTestMessage={[Function]}
166421
+ handleTestEntitiesChange={[Function]}
166422
+ isChannelSmsFallbackPreviewEnabled={false}
166423
+ isFetchingTestCustomers={false}
166424
+ isFetchingTestGroups={false}
166425
+ isLoadingSenderDetails={false}
166426
+ isSendingTestMessage={false}
166427
+ onSaveDeliverySettings={[Function]}
166428
+ registeredSenderIds={Array []}
166429
+ renderAddTestCustomerButton={[Function]}
166430
+ searchValue=""
166431
+ selectedTestEntities={Array []}
166432
+ senderDetailsByChannel={
166356
166433
  Object {
166357
- "children": Immutable.List [],
166358
- "selectable": false,
166359
- "title": "Groups",
166360
- "value": "groups-node",
166361
- },
166362
- Object {
166363
- "children": Immutable.List [],
166364
- "selectable": false,
166365
- "title": "Individuals",
166366
- "value": "customers-node",
166434
+ "EMAIL": Array [],
166435
+ "SMS": Array [],
166436
+ "WHATSAPP": Array [],
166437
+ }
166438
+ }
166439
+ setSearchValue={[Function]}
166440
+ smsTraiDltEnabled={false}
166441
+ testEntitiesTreeData={
166442
+ Array [
166443
+ Object {
166444
+ "children": Immutable.List [],
166445
+ "selectable": false,
166446
+ "title": "Groups",
166447
+ "value": "groups-node",
166448
+ },
166449
+ Object {
166450
+ "children": Immutable.List [],
166451
+ "selectable": false,
166452
+ "title": "Individuals",
166453
+ "value": "customers-node",
166454
+ },
166455
+ ]
166456
+ }
166457
+ wecrmAccounts={Array []}
166458
+ />
166459
+ </CapRow>
166460
+ <CapDivider
166461
+ className="panel-divider"
166462
+ />
166463
+ </CapRow>
166464
+ <CapRow
166465
+ className="right-panel"
166466
+ >
166467
+ <PreviewSection
166468
+ unifiedPreviewProps={
166469
+ Object {
166470
+ "activePreviewTab": "rcs",
166471
+ "channel": "RCS",
166472
+ "content": Object {
166473
+ "suggestions": Array [
166474
+ Object {
166475
+ "index": 0,
166476
+ "isSaved": true,
166477
+ "phoneNumber": "",
166478
+ "postback": "stop",
166479
+ "text": "stop",
166480
+ "type": "QUICK_REPLY",
166481
+ "url": null,
166482
+ },
166483
+ ],
166484
+ "templateHeader": "",
166485
+ "templateMessage": "",
166367
166486
  },
166368
- ]
166487
+ "device": "desktop",
166488
+ "error": null,
166489
+ "formatMessage": [Function],
166490
+ "isUpdating": false,
166491
+ "lastModified": undefined,
166492
+ "onDeviceChange": [Function],
166493
+ "onPreviewTabChange": [Function],
166494
+ "selectedCustomer": null,
166495
+ "showDeviceToggle": true,
166496
+ "smsFallbackContent": null,
166497
+ "smsFallbackResolvedText": undefined,
166498
+ "updatedByName": undefined,
166499
+ }
166369
166500
  }
166370
- wecrmAccounts={Array []}
166371
166501
  />
166372
166502
  </CapRow>
166373
- <CapDivider
166374
- className="panel-divider"
166375
- />
166376
- </CapRow>
166377
- <CapRow
166378
- className="right-panel"
166379
- >
166380
- <PreviewSection
166381
- unifiedPreviewProps={
166382
- Object {
166383
- "activePreviewTab": "rcs",
166384
- "channel": "RCS",
166385
- "content": Object {
166386
- "suggestions": Array [
166387
- Object {
166388
- "index": 0,
166389
- "isSaved": true,
166390
- "phoneNumber": "",
166391
- "postback": "stop",
166392
- "text": "stop",
166393
- "type": "QUICK_REPLY",
166394
- "url": null,
166395
- },
166396
- ],
166397
- "templateHeader": "",
166398
- "templateMessage": "",
166399
- },
166400
- "device": "desktop",
166401
- "error": null,
166402
- "formatMessage": [Function],
166403
- "isUpdating": false,
166404
- "lastModified": undefined,
166405
- "onDeviceChange": [Function],
166406
- "onPreviewTabChange": [Function],
166407
- "selectedCustomer": null,
166408
- "showDeviceToggle": true,
166409
- "smsFallbackContent": null,
166410
- "smsFallbackResolvedText": undefined,
166411
- "updatedByName": undefined,
166412
- }
166413
- }
166414
- />
166415
166503
  </CapRow>
166416
166504
  </CapRow>
166417
- </CapRow>
166505
+ </CapSpin>
166418
166506
  }
166419
166507
  handleClose={[Function]}
166420
166508
  header={
@@ -180498,6 +180586,7 @@ new message content.",
180498
180586
  <InjectIntl(TestAndPreviewSlidebox)
180499
180587
  actions={
180500
180588
  Object {
180589
+ "addTestCustomer": [Function],
180501
180590
  "clearCustomerSearchState": [Function],
180502
180591
  "clearPrefilledValues": [Function],
180503
180592
  "clearPreviewErrors": [Function],
@@ -180608,6 +180697,7 @@ new message content.",
180608
180697
  <TestAndPreviewSlidebox
180609
180698
  actions={
180610
180699
  Object {
180700
+ "addTestCustomer": [Function],
180611
180701
  "clearCustomerSearchState": [Function],
180612
180702
  "clearPrefilledValues": [Function],
180613
180703
  "clearPreviewErrors": [Function],
@@ -182967,6 +183057,7 @@ new message content.",
182967
183057
  <CommonTestAndPreview
182968
183058
  actions={
182969
183059
  Object {
183060
+ "addTestCustomer": [Function],
182970
183061
  "clearCustomerSearchState": [Function],
182971
183062
  "clearPrefilledValues": [Function],
182972
183063
  "clearPreviewErrors": [Function],
@@ -185343,174 +185434,182 @@ new message content.",
185343
185434
  closeIconSize="m"
185344
185435
  closeIconType="close"
185345
185436
  content={
185346
- <CapRow
185347
- className="test-preview-container"
185437
+ <CapSpin
185438
+ className="common-test-preview-lookup-spin "
185439
+ spinning={false}
185348
185440
  >
185349
185441
  <CapRow
185350
- className="test-and-preview-panels"
185442
+ className="test-preview-container"
185351
185443
  >
185352
185444
  <CapRow
185353
- className="left-panel"
185445
+ className="test-and-preview-panels"
185354
185446
  >
185355
- <LeftPanelContent
185356
- customers={Immutable.List []}
185357
- enableCustomerSearch={true}
185358
- enableTagExtraction={true}
185359
- error7078Message={null}
185360
- extractedTags={Immutable.List []}
185361
- handleClearSelection={[Function]}
185362
- handleCustomerSelect={[Function]}
185363
- handleExtractTags={[Function]}
185364
- handleSearchCustomer={[Function]}
185365
- isExtractingTags={false}
185366
- isSearchingCustomer={false}
185367
- renderCustomValuesEditor={[Function]}
185368
- selectedCustomer={null}
185369
- tagsExtracted={false}
185370
- />
185371
- <CapDivider
185372
- className="panel-divider"
185373
- />
185374
185447
  <CapRow
185375
- className="panel-section send-test-section"
185448
+ className="left-panel"
185376
185449
  >
185377
- <SendTestMessage
185378
- channel="RCS"
185379
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
185380
- deliverySettings={
185381
- Object {
185382
- "cdmaSenderId": "",
185383
- "domainGatewayMapId": null,
185384
- "domainId": null,
185385
- "gsmSenderId": "",
185386
- "smsFallbackDomainId": null,
185450
+ <LeftPanelContent
185451
+ customers={Immutable.List []}
185452
+ enableCustomerSearch={true}
185453
+ enableTagExtraction={true}
185454
+ error7078Message={null}
185455
+ extractedTags={Immutable.List []}
185456
+ handleClearSelection={[Function]}
185457
+ handleCustomerSelect={[Function]}
185458
+ handleExtractTags={[Function]}
185459
+ handleSearchCustomer={[Function]}
185460
+ isExtractingTags={false}
185461
+ isSearchingCustomer={false}
185462
+ renderCustomValuesEditor={[Function]}
185463
+ selectedCustomer={null}
185464
+ tagsExtracted={false}
185465
+ />
185466
+ <CapDivider
185467
+ className="panel-divider"
185468
+ />
185469
+ <CapRow
185470
+ className="panel-section send-test-section"
185471
+ >
185472
+ <SendTestMessage
185473
+ channel="RCS"
185474
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
185475
+ deliverySettings={
185476
+ Object {
185477
+ "cdmaSenderId": "",
185478
+ "domainGatewayMapId": null,
185479
+ "domainId": null,
185480
+ "gsmSenderId": "",
185481
+ "smsFallbackDomainId": null,
185482
+ }
185387
185483
  }
185388
- }
185389
- formData={
185390
- Object {
185391
- "versions": Object {
185392
- "base": Object {
185393
- "content": Object {
185394
- "RCS": Object {
185395
- "rcsContent": Object {
185396
- "accessToken": "",
185397
- "accountId": "",
185398
- "accountName": "",
185399
- "cardContent": Array [
185400
- Object {
185401
- "description": "",
185402
- "mediaType": "NONE",
185403
- "suggestions": Array [
185404
- Object {
185405
- "index": 0,
185406
- "isSaved": true,
185407
- "phoneNumber": "",
185408
- "postback": "stop",
185409
- "text": "stop",
185410
- "type": "QUICK_REPLY",
185411
- "url": null,
185412
- },
185413
- ],
185414
- "title": "",
185484
+ formData={
185485
+ Object {
185486
+ "versions": Object {
185487
+ "base": Object {
185488
+ "content": Object {
185489
+ "RCS": Object {
185490
+ "rcsContent": Object {
185491
+ "accessToken": "",
185492
+ "accountId": "",
185493
+ "accountName": "",
185494
+ "cardContent": Array [
185495
+ Object {
185496
+ "description": "",
185497
+ "mediaType": "NONE",
185498
+ "suggestions": Array [
185499
+ Object {
185500
+ "index": 0,
185501
+ "isSaved": true,
185502
+ "phoneNumber": "",
185503
+ "postback": "stop",
185504
+ "text": "stop",
185505
+ "type": "QUICK_REPLY",
185506
+ "url": null,
185507
+ },
185508
+ ],
185509
+ "title": "",
185510
+ },
185511
+ ],
185512
+ "cardSettings": Object {
185513
+ "cardOrientation": "VERTICAL",
185514
+ "cardWidth": "SMALL",
185415
185515
  },
185416
- ],
185417
- "cardSettings": Object {
185418
- "cardOrientation": "VERTICAL",
185419
- "cardWidth": "SMALL",
185516
+ "cardType": "STANDALONE",
185517
+ "contentType": "text_message",
185518
+ "hostName": "",
185420
185519
  },
185421
- "cardType": "STANDALONE",
185422
- "contentType": "text_message",
185423
- "hostName": "",
185424
185520
  },
185425
185521
  },
185426
185522
  },
185427
185523
  },
185428
- },
185429
- }
185430
- }
185431
- formatMessage={[Function]}
185432
- handleSendTestMessage={[Function]}
185433
- handleTestEntitiesChange={[Function]}
185434
- isChannelSmsFallbackPreviewEnabled={false}
185435
- isFetchingTestCustomers={false}
185436
- isFetchingTestGroups={false}
185437
- isLoadingSenderDetails={false}
185438
- isSendingTestMessage={false}
185439
- onSaveDeliverySettings={[Function]}
185440
- registeredSenderIds={Array []}
185441
- selectedTestEntities={Array []}
185442
- senderDetailsByChannel={
185443
- Object {
185444
- "EMAIL": Array [],
185445
- "SMS": Array [],
185446
- "WHATSAPP": Array [],
185524
+ }
185447
185525
  }
185448
- }
185449
- smsTraiDltEnabled={false}
185450
- testEntitiesTreeData={
185451
- Array [
185452
- Object {
185453
- "children": Immutable.List [],
185454
- "selectable": false,
185455
- "title": "Groups",
185456
- "value": "groups-node",
185457
- },
185526
+ formatMessage={[Function]}
185527
+ handleSendTestMessage={[Function]}
185528
+ handleTestEntitiesChange={[Function]}
185529
+ isChannelSmsFallbackPreviewEnabled={false}
185530
+ isFetchingTestCustomers={false}
185531
+ isFetchingTestGroups={false}
185532
+ isLoadingSenderDetails={false}
185533
+ isSendingTestMessage={false}
185534
+ onSaveDeliverySettings={[Function]}
185535
+ registeredSenderIds={Array []}
185536
+ renderAddTestCustomerButton={[Function]}
185537
+ searchValue=""
185538
+ selectedTestEntities={Array []}
185539
+ senderDetailsByChannel={
185458
185540
  Object {
185459
- "children": Immutable.List [],
185460
- "selectable": false,
185461
- "title": "Individuals",
185462
- "value": "customers-node",
185541
+ "EMAIL": Array [],
185542
+ "SMS": Array [],
185543
+ "WHATSAPP": Array [],
185544
+ }
185545
+ }
185546
+ setSearchValue={[Function]}
185547
+ smsTraiDltEnabled={false}
185548
+ testEntitiesTreeData={
185549
+ Array [
185550
+ Object {
185551
+ "children": Immutable.List [],
185552
+ "selectable": false,
185553
+ "title": "Groups",
185554
+ "value": "groups-node",
185555
+ },
185556
+ Object {
185557
+ "children": Immutable.List [],
185558
+ "selectable": false,
185559
+ "title": "Individuals",
185560
+ "value": "customers-node",
185561
+ },
185562
+ ]
185563
+ }
185564
+ wecrmAccounts={Array []}
185565
+ />
185566
+ </CapRow>
185567
+ <CapDivider
185568
+ className="panel-divider"
185569
+ />
185570
+ </CapRow>
185571
+ <CapRow
185572
+ className="right-panel"
185573
+ >
185574
+ <PreviewSection
185575
+ unifiedPreviewProps={
185576
+ Object {
185577
+ "activePreviewTab": "rcs",
185578
+ "channel": "RCS",
185579
+ "content": Object {
185580
+ "suggestions": Array [
185581
+ Object {
185582
+ "index": 0,
185583
+ "isSaved": true,
185584
+ "phoneNumber": "",
185585
+ "postback": "stop",
185586
+ "text": "stop",
185587
+ "type": "QUICK_REPLY",
185588
+ "url": null,
185589
+ },
185590
+ ],
185591
+ "templateHeader": "",
185592
+ "templateMessage": "",
185463
185593
  },
185464
- ]
185594
+ "device": "desktop",
185595
+ "error": null,
185596
+ "formatMessage": [Function],
185597
+ "isUpdating": false,
185598
+ "lastModified": undefined,
185599
+ "onDeviceChange": [Function],
185600
+ "onPreviewTabChange": [Function],
185601
+ "selectedCustomer": null,
185602
+ "showDeviceToggle": true,
185603
+ "smsFallbackContent": null,
185604
+ "smsFallbackResolvedText": undefined,
185605
+ "updatedByName": undefined,
185606
+ }
185465
185607
  }
185466
- wecrmAccounts={Array []}
185467
185608
  />
185468
185609
  </CapRow>
185469
- <CapDivider
185470
- className="panel-divider"
185471
- />
185472
- </CapRow>
185473
- <CapRow
185474
- className="right-panel"
185475
- >
185476
- <PreviewSection
185477
- unifiedPreviewProps={
185478
- Object {
185479
- "activePreviewTab": "rcs",
185480
- "channel": "RCS",
185481
- "content": Object {
185482
- "suggestions": Array [
185483
- Object {
185484
- "index": 0,
185485
- "isSaved": true,
185486
- "phoneNumber": "",
185487
- "postback": "stop",
185488
- "text": "stop",
185489
- "type": "QUICK_REPLY",
185490
- "url": null,
185491
- },
185492
- ],
185493
- "templateHeader": "",
185494
- "templateMessage": "",
185495
- },
185496
- "device": "desktop",
185497
- "error": null,
185498
- "formatMessage": [Function],
185499
- "isUpdating": false,
185500
- "lastModified": undefined,
185501
- "onDeviceChange": [Function],
185502
- "onPreviewTabChange": [Function],
185503
- "selectedCustomer": null,
185504
- "showDeviceToggle": true,
185505
- "smsFallbackContent": null,
185506
- "smsFallbackResolvedText": undefined,
185507
- "updatedByName": undefined,
185508
- }
185509
- }
185510
- />
185511
185610
  </CapRow>
185512
185611
  </CapRow>
185513
- </CapRow>
185612
+ </CapSpin>
185514
185613
  }
185515
185614
  handleClose={[Function]}
185516
185615
  header={
@@ -199594,6 +199693,7 @@ new message content.",
199594
199693
  <InjectIntl(TestAndPreviewSlidebox)
199595
199694
  actions={
199596
199695
  Object {
199696
+ "addTestCustomer": [Function],
199597
199697
  "clearCustomerSearchState": [Function],
199598
199698
  "clearPrefilledValues": [Function],
199599
199699
  "clearPreviewErrors": [Function],
@@ -199704,6 +199804,7 @@ new message content.",
199704
199804
  <TestAndPreviewSlidebox
199705
199805
  actions={
199706
199806
  Object {
199807
+ "addTestCustomer": [Function],
199707
199808
  "clearCustomerSearchState": [Function],
199708
199809
  "clearPrefilledValues": [Function],
199709
199810
  "clearPreviewErrors": [Function],
@@ -202063,6 +202164,7 @@ new message content.",
202063
202164
  <CommonTestAndPreview
202064
202165
  actions={
202065
202166
  Object {
202167
+ "addTestCustomer": [Function],
202066
202168
  "clearCustomerSearchState": [Function],
202067
202169
  "clearPrefilledValues": [Function],
202068
202170
  "clearPreviewErrors": [Function],
@@ -204439,174 +204541,182 @@ new message content.",
204439
204541
  closeIconSize="m"
204440
204542
  closeIconType="close"
204441
204543
  content={
204442
- <CapRow
204443
- className="test-preview-container"
204544
+ <CapSpin
204545
+ className="common-test-preview-lookup-spin "
204546
+ spinning={false}
204444
204547
  >
204445
204548
  <CapRow
204446
- className="test-and-preview-panels"
204549
+ className="test-preview-container"
204447
204550
  >
204448
204551
  <CapRow
204449
- className="left-panel"
204552
+ className="test-and-preview-panels"
204450
204553
  >
204451
- <LeftPanelContent
204452
- customers={Immutable.List []}
204453
- enableCustomerSearch={true}
204454
- enableTagExtraction={true}
204455
- error7078Message={null}
204456
- extractedTags={Immutable.List []}
204457
- handleClearSelection={[Function]}
204458
- handleCustomerSelect={[Function]}
204459
- handleExtractTags={[Function]}
204460
- handleSearchCustomer={[Function]}
204461
- isExtractingTags={false}
204462
- isSearchingCustomer={false}
204463
- renderCustomValuesEditor={[Function]}
204464
- selectedCustomer={null}
204465
- tagsExtracted={false}
204466
- />
204467
- <CapDivider
204468
- className="panel-divider"
204469
- />
204470
204554
  <CapRow
204471
- className="panel-section send-test-section"
204555
+ className="left-panel"
204472
204556
  >
204473
- <SendTestMessage
204474
- channel="RCS"
204475
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
204476
- deliverySettings={
204477
- Object {
204478
- "cdmaSenderId": "",
204479
- "domainGatewayMapId": null,
204480
- "domainId": null,
204481
- "gsmSenderId": "",
204482
- "smsFallbackDomainId": null,
204557
+ <LeftPanelContent
204558
+ customers={Immutable.List []}
204559
+ enableCustomerSearch={true}
204560
+ enableTagExtraction={true}
204561
+ error7078Message={null}
204562
+ extractedTags={Immutable.List []}
204563
+ handleClearSelection={[Function]}
204564
+ handleCustomerSelect={[Function]}
204565
+ handleExtractTags={[Function]}
204566
+ handleSearchCustomer={[Function]}
204567
+ isExtractingTags={false}
204568
+ isSearchingCustomer={false}
204569
+ renderCustomValuesEditor={[Function]}
204570
+ selectedCustomer={null}
204571
+ tagsExtracted={false}
204572
+ />
204573
+ <CapDivider
204574
+ className="panel-divider"
204575
+ />
204576
+ <CapRow
204577
+ className="panel-section send-test-section"
204578
+ >
204579
+ <SendTestMessage
204580
+ channel="RCS"
204581
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
204582
+ deliverySettings={
204583
+ Object {
204584
+ "cdmaSenderId": "",
204585
+ "domainGatewayMapId": null,
204586
+ "domainId": null,
204587
+ "gsmSenderId": "",
204588
+ "smsFallbackDomainId": null,
204589
+ }
204483
204590
  }
204484
- }
204485
- formData={
204486
- Object {
204487
- "versions": Object {
204488
- "base": Object {
204489
- "content": Object {
204490
- "RCS": Object {
204491
- "rcsContent": Object {
204492
- "accessToken": "",
204493
- "accountId": "",
204494
- "accountName": "",
204495
- "cardContent": Array [
204496
- Object {
204497
- "description": "",
204498
- "mediaType": "NONE",
204499
- "suggestions": Array [
204500
- Object {
204501
- "index": 0,
204502
- "isSaved": true,
204503
- "phoneNumber": "",
204504
- "postback": "stop",
204505
- "text": "stop",
204506
- "type": "QUICK_REPLY",
204507
- "url": null,
204508
- },
204509
- ],
204510
- "title": "",
204591
+ formData={
204592
+ Object {
204593
+ "versions": Object {
204594
+ "base": Object {
204595
+ "content": Object {
204596
+ "RCS": Object {
204597
+ "rcsContent": Object {
204598
+ "accessToken": "",
204599
+ "accountId": "",
204600
+ "accountName": "",
204601
+ "cardContent": Array [
204602
+ Object {
204603
+ "description": "",
204604
+ "mediaType": "NONE",
204605
+ "suggestions": Array [
204606
+ Object {
204607
+ "index": 0,
204608
+ "isSaved": true,
204609
+ "phoneNumber": "",
204610
+ "postback": "stop",
204611
+ "text": "stop",
204612
+ "type": "QUICK_REPLY",
204613
+ "url": null,
204614
+ },
204615
+ ],
204616
+ "title": "",
204617
+ },
204618
+ ],
204619
+ "cardSettings": Object {
204620
+ "cardOrientation": "VERTICAL",
204621
+ "cardWidth": "SMALL",
204511
204622
  },
204512
- ],
204513
- "cardSettings": Object {
204514
- "cardOrientation": "VERTICAL",
204515
- "cardWidth": "SMALL",
204623
+ "cardType": "STANDALONE",
204624
+ "contentType": "text_message",
204625
+ "hostName": "",
204516
204626
  },
204517
- "cardType": "STANDALONE",
204518
- "contentType": "text_message",
204519
- "hostName": "",
204520
204627
  },
204521
204628
  },
204522
204629
  },
204523
204630
  },
204524
- },
204525
- }
204526
- }
204527
- formatMessage={[Function]}
204528
- handleSendTestMessage={[Function]}
204529
- handleTestEntitiesChange={[Function]}
204530
- isChannelSmsFallbackPreviewEnabled={false}
204531
- isFetchingTestCustomers={false}
204532
- isFetchingTestGroups={false}
204533
- isLoadingSenderDetails={false}
204534
- isSendingTestMessage={false}
204535
- onSaveDeliverySettings={[Function]}
204536
- registeredSenderIds={Array []}
204537
- selectedTestEntities={Array []}
204538
- senderDetailsByChannel={
204539
- Object {
204540
- "EMAIL": Array [],
204541
- "SMS": Array [],
204542
- "WHATSAPP": Array [],
204631
+ }
204543
204632
  }
204544
- }
204545
- smsTraiDltEnabled={false}
204546
- testEntitiesTreeData={
204547
- Array [
204548
- Object {
204549
- "children": Immutable.List [],
204550
- "selectable": false,
204551
- "title": "Groups",
204552
- "value": "groups-node",
204553
- },
204633
+ formatMessage={[Function]}
204634
+ handleSendTestMessage={[Function]}
204635
+ handleTestEntitiesChange={[Function]}
204636
+ isChannelSmsFallbackPreviewEnabled={false}
204637
+ isFetchingTestCustomers={false}
204638
+ isFetchingTestGroups={false}
204639
+ isLoadingSenderDetails={false}
204640
+ isSendingTestMessage={false}
204641
+ onSaveDeliverySettings={[Function]}
204642
+ registeredSenderIds={Array []}
204643
+ renderAddTestCustomerButton={[Function]}
204644
+ searchValue=""
204645
+ selectedTestEntities={Array []}
204646
+ senderDetailsByChannel={
204554
204647
  Object {
204555
- "children": Immutable.List [],
204556
- "selectable": false,
204557
- "title": "Individuals",
204558
- "value": "customers-node",
204648
+ "EMAIL": Array [],
204649
+ "SMS": Array [],
204650
+ "WHATSAPP": Array [],
204651
+ }
204652
+ }
204653
+ setSearchValue={[Function]}
204654
+ smsTraiDltEnabled={false}
204655
+ testEntitiesTreeData={
204656
+ Array [
204657
+ Object {
204658
+ "children": Immutable.List [],
204659
+ "selectable": false,
204660
+ "title": "Groups",
204661
+ "value": "groups-node",
204662
+ },
204663
+ Object {
204664
+ "children": Immutable.List [],
204665
+ "selectable": false,
204666
+ "title": "Individuals",
204667
+ "value": "customers-node",
204668
+ },
204669
+ ]
204670
+ }
204671
+ wecrmAccounts={Array []}
204672
+ />
204673
+ </CapRow>
204674
+ <CapDivider
204675
+ className="panel-divider"
204676
+ />
204677
+ </CapRow>
204678
+ <CapRow
204679
+ className="right-panel"
204680
+ >
204681
+ <PreviewSection
204682
+ unifiedPreviewProps={
204683
+ Object {
204684
+ "activePreviewTab": "rcs",
204685
+ "channel": "RCS",
204686
+ "content": Object {
204687
+ "suggestions": Array [
204688
+ Object {
204689
+ "index": 0,
204690
+ "isSaved": true,
204691
+ "phoneNumber": "",
204692
+ "postback": "stop",
204693
+ "text": "stop",
204694
+ "type": "QUICK_REPLY",
204695
+ "url": null,
204696
+ },
204697
+ ],
204698
+ "templateHeader": "",
204699
+ "templateMessage": "",
204559
204700
  },
204560
- ]
204701
+ "device": "desktop",
204702
+ "error": null,
204703
+ "formatMessage": [Function],
204704
+ "isUpdating": false,
204705
+ "lastModified": undefined,
204706
+ "onDeviceChange": [Function],
204707
+ "onPreviewTabChange": [Function],
204708
+ "selectedCustomer": null,
204709
+ "showDeviceToggle": true,
204710
+ "smsFallbackContent": null,
204711
+ "smsFallbackResolvedText": undefined,
204712
+ "updatedByName": undefined,
204713
+ }
204561
204714
  }
204562
- wecrmAccounts={Array []}
204563
204715
  />
204564
204716
  </CapRow>
204565
- <CapDivider
204566
- className="panel-divider"
204567
- />
204568
- </CapRow>
204569
- <CapRow
204570
- className="right-panel"
204571
- >
204572
- <PreviewSection
204573
- unifiedPreviewProps={
204574
- Object {
204575
- "activePreviewTab": "rcs",
204576
- "channel": "RCS",
204577
- "content": Object {
204578
- "suggestions": Array [
204579
- Object {
204580
- "index": 0,
204581
- "isSaved": true,
204582
- "phoneNumber": "",
204583
- "postback": "stop",
204584
- "text": "stop",
204585
- "type": "QUICK_REPLY",
204586
- "url": null,
204587
- },
204588
- ],
204589
- "templateHeader": "",
204590
- "templateMessage": "",
204591
- },
204592
- "device": "desktop",
204593
- "error": null,
204594
- "formatMessage": [Function],
204595
- "isUpdating": false,
204596
- "lastModified": undefined,
204597
- "onDeviceChange": [Function],
204598
- "onPreviewTabChange": [Function],
204599
- "selectedCustomer": null,
204600
- "showDeviceToggle": true,
204601
- "smsFallbackContent": null,
204602
- "smsFallbackResolvedText": undefined,
204603
- "updatedByName": undefined,
204604
- }
204605
- }
204606
- />
204607
204717
  </CapRow>
204608
204718
  </CapRow>
204609
- </CapRow>
204719
+ </CapSpin>
204610
204720
  }
204611
204721
  handleClose={[Function]}
204612
204722
  header={
@@ -218690,6 +218800,7 @@ new message content.",
218690
218800
  <InjectIntl(TestAndPreviewSlidebox)
218691
218801
  actions={
218692
218802
  Object {
218803
+ "addTestCustomer": [Function],
218693
218804
  "clearCustomerSearchState": [Function],
218694
218805
  "clearPrefilledValues": [Function],
218695
218806
  "clearPreviewErrors": [Function],
@@ -218800,6 +218911,7 @@ new message content.",
218800
218911
  <TestAndPreviewSlidebox
218801
218912
  actions={
218802
218913
  Object {
218914
+ "addTestCustomer": [Function],
218803
218915
  "clearCustomerSearchState": [Function],
218804
218916
  "clearPrefilledValues": [Function],
218805
218917
  "clearPreviewErrors": [Function],
@@ -221159,6 +221271,7 @@ new message content.",
221159
221271
  <CommonTestAndPreview
221160
221272
  actions={
221161
221273
  Object {
221274
+ "addTestCustomer": [Function],
221162
221275
  "clearCustomerSearchState": [Function],
221163
221276
  "clearPrefilledValues": [Function],
221164
221277
  "clearPreviewErrors": [Function],
@@ -223535,174 +223648,182 @@ new message content.",
223535
223648
  closeIconSize="m"
223536
223649
  closeIconType="close"
223537
223650
  content={
223538
- <CapRow
223539
- className="test-preview-container"
223651
+ <CapSpin
223652
+ className="common-test-preview-lookup-spin "
223653
+ spinning={false}
223540
223654
  >
223541
223655
  <CapRow
223542
- className="test-and-preview-panels"
223656
+ className="test-preview-container"
223543
223657
  >
223544
223658
  <CapRow
223545
- className="left-panel"
223659
+ className="test-and-preview-panels"
223546
223660
  >
223547
- <LeftPanelContent
223548
- customers={Immutable.List []}
223549
- enableCustomerSearch={true}
223550
- enableTagExtraction={true}
223551
- error7078Message={null}
223552
- extractedTags={Immutable.List []}
223553
- handleClearSelection={[Function]}
223554
- handleCustomerSelect={[Function]}
223555
- handleExtractTags={[Function]}
223556
- handleSearchCustomer={[Function]}
223557
- isExtractingTags={false}
223558
- isSearchingCustomer={false}
223559
- renderCustomValuesEditor={[Function]}
223560
- selectedCustomer={null}
223561
- tagsExtracted={false}
223562
- />
223563
- <CapDivider
223564
- className="panel-divider"
223565
- />
223566
223661
  <CapRow
223567
- className="panel-section send-test-section"
223662
+ className="left-panel"
223568
223663
  >
223569
- <SendTestMessage
223570
- channel="RCS"
223571
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
223572
- deliverySettings={
223573
- Object {
223574
- "cdmaSenderId": "",
223575
- "domainGatewayMapId": null,
223576
- "domainId": null,
223577
- "gsmSenderId": "",
223578
- "smsFallbackDomainId": null,
223664
+ <LeftPanelContent
223665
+ customers={Immutable.List []}
223666
+ enableCustomerSearch={true}
223667
+ enableTagExtraction={true}
223668
+ error7078Message={null}
223669
+ extractedTags={Immutable.List []}
223670
+ handleClearSelection={[Function]}
223671
+ handleCustomerSelect={[Function]}
223672
+ handleExtractTags={[Function]}
223673
+ handleSearchCustomer={[Function]}
223674
+ isExtractingTags={false}
223675
+ isSearchingCustomer={false}
223676
+ renderCustomValuesEditor={[Function]}
223677
+ selectedCustomer={null}
223678
+ tagsExtracted={false}
223679
+ />
223680
+ <CapDivider
223681
+ className="panel-divider"
223682
+ />
223683
+ <CapRow
223684
+ className="panel-section send-test-section"
223685
+ >
223686
+ <SendTestMessage
223687
+ channel="RCS"
223688
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\",\\"suggestions\\":[{\\"index\\":0,\\"type\\":\\"QUICK_REPLY\\",\\"text\\":\\"stop\\",\\"phoneNumber\\":\\"\\",\\"url\\":null,\\"postback\\":\\"stop\\",\\"isSaved\\":true}]}"
223689
+ deliverySettings={
223690
+ Object {
223691
+ "cdmaSenderId": "",
223692
+ "domainGatewayMapId": null,
223693
+ "domainId": null,
223694
+ "gsmSenderId": "",
223695
+ "smsFallbackDomainId": null,
223696
+ }
223579
223697
  }
223580
- }
223581
- formData={
223582
- Object {
223583
- "versions": Object {
223584
- "base": Object {
223585
- "content": Object {
223586
- "RCS": Object {
223587
- "rcsContent": Object {
223588
- "accessToken": "",
223589
- "accountId": "",
223590
- "accountName": "",
223591
- "cardContent": Array [
223592
- Object {
223593
- "description": "",
223594
- "mediaType": "NONE",
223595
- "suggestions": Array [
223596
- Object {
223597
- "index": 0,
223598
- "isSaved": true,
223599
- "phoneNumber": "",
223600
- "postback": "stop",
223601
- "text": "stop",
223602
- "type": "QUICK_REPLY",
223603
- "url": null,
223604
- },
223605
- ],
223606
- "title": "",
223698
+ formData={
223699
+ Object {
223700
+ "versions": Object {
223701
+ "base": Object {
223702
+ "content": Object {
223703
+ "RCS": Object {
223704
+ "rcsContent": Object {
223705
+ "accessToken": "",
223706
+ "accountId": "",
223707
+ "accountName": "",
223708
+ "cardContent": Array [
223709
+ Object {
223710
+ "description": "",
223711
+ "mediaType": "NONE",
223712
+ "suggestions": Array [
223713
+ Object {
223714
+ "index": 0,
223715
+ "isSaved": true,
223716
+ "phoneNumber": "",
223717
+ "postback": "stop",
223718
+ "text": "stop",
223719
+ "type": "QUICK_REPLY",
223720
+ "url": null,
223721
+ },
223722
+ ],
223723
+ "title": "",
223724
+ },
223725
+ ],
223726
+ "cardSettings": Object {
223727
+ "cardOrientation": "VERTICAL",
223728
+ "cardWidth": "SMALL",
223607
223729
  },
223608
- ],
223609
- "cardSettings": Object {
223610
- "cardOrientation": "VERTICAL",
223611
- "cardWidth": "SMALL",
223730
+ "cardType": "STANDALONE",
223731
+ "contentType": "text_message",
223732
+ "hostName": "",
223612
223733
  },
223613
- "cardType": "STANDALONE",
223614
- "contentType": "text_message",
223615
- "hostName": "",
223616
223734
  },
223617
223735
  },
223618
223736
  },
223619
223737
  },
223620
- },
223621
- }
223622
- }
223623
- formatMessage={[Function]}
223624
- handleSendTestMessage={[Function]}
223625
- handleTestEntitiesChange={[Function]}
223626
- isChannelSmsFallbackPreviewEnabled={false}
223627
- isFetchingTestCustomers={false}
223628
- isFetchingTestGroups={false}
223629
- isLoadingSenderDetails={false}
223630
- isSendingTestMessage={false}
223631
- onSaveDeliverySettings={[Function]}
223632
- registeredSenderIds={Array []}
223633
- selectedTestEntities={Array []}
223634
- senderDetailsByChannel={
223635
- Object {
223636
- "EMAIL": Array [],
223637
- "SMS": Array [],
223638
- "WHATSAPP": Array [],
223738
+ }
223639
223739
  }
223640
- }
223641
- smsTraiDltEnabled={false}
223642
- testEntitiesTreeData={
223643
- Array [
223740
+ formatMessage={[Function]}
223741
+ handleSendTestMessage={[Function]}
223742
+ handleTestEntitiesChange={[Function]}
223743
+ isChannelSmsFallbackPreviewEnabled={false}
223744
+ isFetchingTestCustomers={false}
223745
+ isFetchingTestGroups={false}
223746
+ isLoadingSenderDetails={false}
223747
+ isSendingTestMessage={false}
223748
+ onSaveDeliverySettings={[Function]}
223749
+ registeredSenderIds={Array []}
223750
+ renderAddTestCustomerButton={[Function]}
223751
+ searchValue=""
223752
+ selectedTestEntities={Array []}
223753
+ senderDetailsByChannel={
223644
223754
  Object {
223645
- "children": Immutable.List [],
223646
- "selectable": false,
223647
- "title": "Groups",
223648
- "value": "groups-node",
223649
- },
223650
- Object {
223651
- "children": Immutable.List [],
223652
- "selectable": false,
223653
- "title": "Individuals",
223654
- "value": "customers-node",
223755
+ "EMAIL": Array [],
223756
+ "SMS": Array [],
223757
+ "WHATSAPP": Array [],
223758
+ }
223759
+ }
223760
+ setSearchValue={[Function]}
223761
+ smsTraiDltEnabled={false}
223762
+ testEntitiesTreeData={
223763
+ Array [
223764
+ Object {
223765
+ "children": Immutable.List [],
223766
+ "selectable": false,
223767
+ "title": "Groups",
223768
+ "value": "groups-node",
223769
+ },
223770
+ Object {
223771
+ "children": Immutable.List [],
223772
+ "selectable": false,
223773
+ "title": "Individuals",
223774
+ "value": "customers-node",
223775
+ },
223776
+ ]
223777
+ }
223778
+ wecrmAccounts={Array []}
223779
+ />
223780
+ </CapRow>
223781
+ <CapDivider
223782
+ className="panel-divider"
223783
+ />
223784
+ </CapRow>
223785
+ <CapRow
223786
+ className="right-panel"
223787
+ >
223788
+ <PreviewSection
223789
+ unifiedPreviewProps={
223790
+ Object {
223791
+ "activePreviewTab": "rcs",
223792
+ "channel": "RCS",
223793
+ "content": Object {
223794
+ "suggestions": Array [
223795
+ Object {
223796
+ "index": 0,
223797
+ "isSaved": true,
223798
+ "phoneNumber": "",
223799
+ "postback": "stop",
223800
+ "text": "stop",
223801
+ "type": "QUICK_REPLY",
223802
+ "url": null,
223803
+ },
223804
+ ],
223805
+ "templateHeader": "",
223806
+ "templateMessage": "",
223655
223807
  },
223656
- ]
223808
+ "device": "desktop",
223809
+ "error": null,
223810
+ "formatMessage": [Function],
223811
+ "isUpdating": false,
223812
+ "lastModified": undefined,
223813
+ "onDeviceChange": [Function],
223814
+ "onPreviewTabChange": [Function],
223815
+ "selectedCustomer": null,
223816
+ "showDeviceToggle": true,
223817
+ "smsFallbackContent": null,
223818
+ "smsFallbackResolvedText": undefined,
223819
+ "updatedByName": undefined,
223820
+ }
223657
223821
  }
223658
- wecrmAccounts={Array []}
223659
223822
  />
223660
223823
  </CapRow>
223661
- <CapDivider
223662
- className="panel-divider"
223663
- />
223664
- </CapRow>
223665
- <CapRow
223666
- className="right-panel"
223667
- >
223668
- <PreviewSection
223669
- unifiedPreviewProps={
223670
- Object {
223671
- "activePreviewTab": "rcs",
223672
- "channel": "RCS",
223673
- "content": Object {
223674
- "suggestions": Array [
223675
- Object {
223676
- "index": 0,
223677
- "isSaved": true,
223678
- "phoneNumber": "",
223679
- "postback": "stop",
223680
- "text": "stop",
223681
- "type": "QUICK_REPLY",
223682
- "url": null,
223683
- },
223684
- ],
223685
- "templateHeader": "",
223686
- "templateMessage": "",
223687
- },
223688
- "device": "desktop",
223689
- "error": null,
223690
- "formatMessage": [Function],
223691
- "isUpdating": false,
223692
- "lastModified": undefined,
223693
- "onDeviceChange": [Function],
223694
- "onPreviewTabChange": [Function],
223695
- "selectedCustomer": null,
223696
- "showDeviceToggle": true,
223697
- "smsFallbackContent": null,
223698
- "smsFallbackResolvedText": undefined,
223699
- "updatedByName": undefined,
223700
- }
223701
- }
223702
- />
223703
223824
  </CapRow>
223704
223825
  </CapRow>
223705
- </CapRow>
223826
+ </CapSpin>
223706
223827
  }
223707
223828
  handleClose={[Function]}
223708
223829
  header={
@@ -235597,6 +235718,7 @@ new message content.",
235597
235718
  <InjectIntl(TestAndPreviewSlidebox)
235598
235719
  actions={
235599
235720
  Object {
235721
+ "addTestCustomer": [Function],
235600
235722
  "clearCustomerSearchState": [Function],
235601
235723
  "clearPrefilledValues": [Function],
235602
235724
  "clearPreviewErrors": [Function],
@@ -235704,6 +235826,7 @@ new message content.",
235704
235826
  <TestAndPreviewSlidebox
235705
235827
  actions={
235706
235828
  Object {
235829
+ "addTestCustomer": [Function],
235707
235830
  "clearCustomerSearchState": [Function],
235708
235831
  "clearPrefilledValues": [Function],
235709
235832
  "clearPreviewErrors": [Function],
@@ -238060,6 +238183,7 @@ new message content.",
238060
238183
  <CommonTestAndPreview
238061
238184
  actions={
238062
238185
  Object {
238186
+ "addTestCustomer": [Function],
238063
238187
  "clearCustomerSearchState": [Function],
238064
238188
  "clearPrefilledValues": [Function],
238065
238189
  "clearPreviewErrors": [Function],
@@ -240433,169 +240557,177 @@ new message content.",
240433
240557
  closeIconSize="m"
240434
240558
  closeIconType="close"
240435
240559
  content={
240436
- <CapRow
240437
- className="test-preview-container"
240560
+ <CapSpin
240561
+ className="common-test-preview-lookup-spin "
240562
+ spinning={false}
240438
240563
  >
240439
240564
  <CapRow
240440
- className="test-and-preview-panels"
240565
+ className="test-preview-container"
240441
240566
  >
240442
240567
  <CapRow
240443
- className="left-panel"
240568
+ className="test-and-preview-panels"
240444
240569
  >
240445
- <LeftPanelContent
240446
- customers={Immutable.List []}
240447
- enableCustomerSearch={true}
240448
- enableTagExtraction={true}
240449
- error7078Message={null}
240450
- extractedTags={Array []}
240451
- handleClearSelection={[Function]}
240452
- handleCustomerSelect={[Function]}
240453
- handleExtractTags={[Function]}
240454
- handleSearchCustomer={[Function]}
240455
- isExtractingTags={false}
240456
- isSearchingCustomer={false}
240457
- renderCustomValuesEditor={[Function]}
240458
- selectedCustomer={null}
240459
- tagsExtracted={false}
240460
- />
240461
- <CapDivider
240462
- className="panel-divider"
240463
- />
240464
240570
  <CapRow
240465
- className="panel-section send-test-section"
240571
+ className="left-panel"
240466
240572
  >
240467
- <SendTestMessage
240468
- channel="RCS"
240469
- content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\"}"
240470
- deliverySettings={
240471
- Object {
240472
- "cdmaSenderId": "",
240473
- "domainGatewayMapId": null,
240474
- "domainId": null,
240475
- "gsmSenderId": "",
240476
- "smsFallbackDomainId": null,
240573
+ <LeftPanelContent
240574
+ customers={Immutable.List []}
240575
+ enableCustomerSearch={true}
240576
+ enableTagExtraction={true}
240577
+ error7078Message={null}
240578
+ extractedTags={Array []}
240579
+ handleClearSelection={[Function]}
240580
+ handleCustomerSelect={[Function]}
240581
+ handleExtractTags={[Function]}
240582
+ handleSearchCustomer={[Function]}
240583
+ isExtractingTags={false}
240584
+ isSearchingCustomer={false}
240585
+ renderCustomValuesEditor={[Function]}
240586
+ selectedCustomer={null}
240587
+ tagsExtracted={false}
240588
+ />
240589
+ <CapDivider
240590
+ className="panel-divider"
240591
+ />
240592
+ <CapRow
240593
+ className="panel-section send-test-section"
240594
+ >
240595
+ <SendTestMessage
240596
+ channel="RCS"
240597
+ content="{\\"templateHeader\\":\\"\\",\\"templateMessage\\":\\"\\"}"
240598
+ deliverySettings={
240599
+ Object {
240600
+ "cdmaSenderId": "",
240601
+ "domainGatewayMapId": null,
240602
+ "domainId": null,
240603
+ "gsmSenderId": "",
240604
+ "smsFallbackDomainId": null,
240605
+ }
240477
240606
  }
240478
- }
240479
- formData={
240480
- Object {
240481
- "templateConfigs": Object {
240482
- "registeredSenderIds": Array [],
240483
- "template": "Fallback SMS for image",
240484
- "templateId": "",
240485
- "traiDltEnabled": undefined,
240486
- },
240487
- "versions": Object {
240488
- "base": Object {
240489
- "content": Object {
240490
- "RCS": Object {
240491
- "rcsContent": Object {
240492
- "accessToken": "",
240493
- "accountId": "",
240494
- "accountName": "",
240495
- "cardContent": Array [
240496
- Object {
240497
- "cardVarMapped": Object {},
240498
- "description": "",
240499
- "mediaType": "NONE",
240500
- "title": "",
240607
+ formData={
240608
+ Object {
240609
+ "templateConfigs": Object {
240610
+ "registeredSenderIds": Array [],
240611
+ "template": "Fallback SMS for image",
240612
+ "templateId": "",
240613
+ "traiDltEnabled": undefined,
240614
+ },
240615
+ "versions": Object {
240616
+ "base": Object {
240617
+ "content": Object {
240618
+ "RCS": Object {
240619
+ "rcsContent": Object {
240620
+ "accessToken": "",
240621
+ "accountId": "",
240622
+ "accountName": "",
240623
+ "cardContent": Array [
240624
+ Object {
240625
+ "cardVarMapped": Object {},
240626
+ "description": "",
240627
+ "mediaType": "NONE",
240628
+ "title": "",
240629
+ },
240630
+ ],
240631
+ "cardSettings": Object {
240632
+ "cardOrientation": "VERTICAL",
240633
+ "cardWidth": "SMALL",
240501
240634
  },
240502
- ],
240503
- "cardSettings": Object {
240504
- "cardOrientation": "VERTICAL",
240505
- "cardWidth": "SMALL",
240635
+ "cardType": "STANDALONE",
240636
+ "contentType": "rich_card",
240637
+ "hostName": "",
240638
+ },
240639
+ "smsFallBackContent": Object {
240640
+ "message": "Fallback SMS for image",
240641
+ "smsContent": "Fallback SMS for image",
240642
+ "smsTemplateName": "",
240643
+ "unicodeValidity": true,
240506
240644
  },
240507
- "cardType": "STANDALONE",
240508
- "contentType": "rich_card",
240509
- "hostName": "",
240510
- },
240511
- "smsFallBackContent": Object {
240512
- "message": "Fallback SMS for image",
240513
- "smsContent": "Fallback SMS for image",
240514
- "smsTemplateName": "",
240515
- "unicodeValidity": true,
240516
240645
  },
240517
240646
  },
240518
240647
  },
240519
240648
  },
240520
- },
240521
- }
240522
- }
240523
- formatMessage={[Function]}
240524
- handleSendTestMessage={[Function]}
240525
- handleTestEntitiesChange={[Function]}
240526
- isChannelSmsFallbackPreviewEnabled={true}
240527
- isFetchingTestCustomers={false}
240528
- isFetchingTestGroups={false}
240529
- isLoadingSenderDetails={false}
240530
- isSendingTestMessage={false}
240531
- onSaveDeliverySettings={[Function]}
240532
- registeredSenderIds={Array []}
240533
- selectedTestEntities={Array []}
240534
- senderDetailsByChannel={
240535
- Object {
240536
- "EMAIL": Array [],
240537
- "SMS": Array [],
240538
- "WHATSAPP": Array [],
240649
+ }
240539
240650
  }
240540
- }
240541
- smsTraiDltEnabled={false}
240542
- testEntitiesTreeData={
240543
- Array [
240651
+ formatMessage={[Function]}
240652
+ handleSendTestMessage={[Function]}
240653
+ handleTestEntitiesChange={[Function]}
240654
+ isChannelSmsFallbackPreviewEnabled={true}
240655
+ isFetchingTestCustomers={false}
240656
+ isFetchingTestGroups={false}
240657
+ isLoadingSenderDetails={false}
240658
+ isSendingTestMessage={false}
240659
+ onSaveDeliverySettings={[Function]}
240660
+ registeredSenderIds={Array []}
240661
+ renderAddTestCustomerButton={[Function]}
240662
+ searchValue=""
240663
+ selectedTestEntities={Array []}
240664
+ senderDetailsByChannel={
240544
240665
  Object {
240545
- "children": Immutable.List [],
240546
- "selectable": false,
240547
- "title": "Groups",
240548
- "value": "groups-node",
240666
+ "EMAIL": Array [],
240667
+ "SMS": Array [],
240668
+ "WHATSAPP": Array [],
240669
+ }
240670
+ }
240671
+ setSearchValue={[Function]}
240672
+ smsTraiDltEnabled={false}
240673
+ testEntitiesTreeData={
240674
+ Array [
240675
+ Object {
240676
+ "children": Immutable.List [],
240677
+ "selectable": false,
240678
+ "title": "Groups",
240679
+ "value": "groups-node",
240680
+ },
240681
+ Object {
240682
+ "children": Immutable.List [],
240683
+ "selectable": false,
240684
+ "title": "Individuals",
240685
+ "value": "customers-node",
240686
+ },
240687
+ ]
240688
+ }
240689
+ wecrmAccounts={Array []}
240690
+ />
240691
+ </CapRow>
240692
+ <CapDivider
240693
+ className="panel-divider"
240694
+ />
240695
+ </CapRow>
240696
+ <CapRow
240697
+ className="right-panel"
240698
+ >
240699
+ <PreviewSection
240700
+ unifiedPreviewProps={
240701
+ Object {
240702
+ "activePreviewTab": "rcs",
240703
+ "channel": "RCS",
240704
+ "content": Object {
240705
+ "templateHeader": "",
240706
+ "templateMessage": "",
240549
240707
  },
240550
- Object {
240551
- "children": Immutable.List [],
240552
- "selectable": false,
240553
- "title": "Individuals",
240554
- "value": "customers-node",
240708
+ "device": "desktop",
240709
+ "error": null,
240710
+ "formatMessage": [Function],
240711
+ "isUpdating": false,
240712
+ "lastModified": undefined,
240713
+ "onDeviceChange": [Function],
240714
+ "onPreviewTabChange": [Function],
240715
+ "selectedCustomer": null,
240716
+ "showDeviceToggle": true,
240717
+ "smsFallbackContent": Object {
240718
+ "rcsSmsFallbackVarMapped": Object {},
240719
+ "templateContent": "Fallback SMS for image",
240720
+ "templateName": "",
240555
240721
  },
240556
- ]
240722
+ "smsFallbackResolvedText": undefined,
240723
+ "updatedByName": undefined,
240724
+ }
240557
240725
  }
240558
- wecrmAccounts={Array []}
240559
240726
  />
240560
240727
  </CapRow>
240561
- <CapDivider
240562
- className="panel-divider"
240563
- />
240564
- </CapRow>
240565
- <CapRow
240566
- className="right-panel"
240567
- >
240568
- <PreviewSection
240569
- unifiedPreviewProps={
240570
- Object {
240571
- "activePreviewTab": "rcs",
240572
- "channel": "RCS",
240573
- "content": Object {
240574
- "templateHeader": "",
240575
- "templateMessage": "",
240576
- },
240577
- "device": "desktop",
240578
- "error": null,
240579
- "formatMessage": [Function],
240580
- "isUpdating": false,
240581
- "lastModified": undefined,
240582
- "onDeviceChange": [Function],
240583
- "onPreviewTabChange": [Function],
240584
- "selectedCustomer": null,
240585
- "showDeviceToggle": true,
240586
- "smsFallbackContent": Object {
240587
- "rcsSmsFallbackVarMapped": Object {},
240588
- "templateContent": "Fallback SMS for image",
240589
- "templateName": "",
240590
- },
240591
- "smsFallbackResolvedText": undefined,
240592
- "updatedByName": undefined,
240593
- }
240594
- }
240595
- />
240596
240728
  </CapRow>
240597
240729
  </CapRow>
240598
- </CapRow>
240730
+ </CapSpin>
240599
240731
  }
240600
240732
  handleClose={[Function]}
240601
240733
  header={