@capillarytech/creatives-library 9.1.8-alpha.sprint-cap-214249.38 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/unified.js +4 -0
- package/index.js +13 -0
- package/package.json +1 -1
- package/services/getSchema.js +4 -1
- package/services/tests/getSchema.test.js +2 -2
- package/translations/en.json +1 -0
- package/translations/ja-JP.json +1 -0
- package/translations/zh.json +1 -0
- package/utils/common.js +6 -0
- package/utils/createMobilePushPayload.js +33 -47
- package/utils/tagValidations.js +35 -4
- package/utils/templateVarUtils.js +49 -0
- package/utils/tests/createMobilePushPayload.test.js +8 -102
- package/utils/tests/tagValidations.test.js +48 -0
- package/utils/tests/templateVarUtils.test.js +89 -0
- package/v2Components/CapMpushCTA/index.js +9 -10
- package/v2Components/CapMpushCTA/index.scss +3 -29
- package/v2Components/CapTagList/TagFallbackPanel.js +124 -0
- package/v2Components/CapTagList/constants.js +5 -0
- package/v2Components/CapTagList/index.js +46 -7
- package/v2Components/CapTagList/messages.js +44 -0
- package/v2Components/CapTagList/style.scss +113 -1
- package/v2Components/CapTagList/tests/TagFallback.test.js +222 -0
- package/v2Components/CapTagList/utils.js +17 -0
- package/v2Components/CommonTestAndPreview/UnifiedPreview/MobilePushPreviewContent.js +13 -26
- package/v2Components/CommonTestAndPreview/UnifiedPreview/_unifiedPreview.scss +1 -13
- package/v2Components/CommonTestAndPreview/constants.js +3 -2
- package/v2Components/CommonTestAndPreview/index.js +62 -62
- package/v2Components/CommonTestAndPreview/tests/UnifiedPreview/MobilePushPreviewContent.test.js +5 -79
- package/v2Components/CommonTestAndPreview/tests/index.test.js +0 -86
- package/v2Components/CommonTestAndPreview/tests/utils.test.js +102 -0
- package/v2Components/CommonTestAndPreview/utils.js +42 -3
- package/v2Components/FormBuilder/Classic.js +24 -14
- package/v2Components/FormBuilder/Functional/channels/mobilepush/config.js +1 -0
- package/v2Components/FormBuilder/Functional/channels/mobilepush/getEditorErrorDescriptor.js +1 -1
- package/v2Components/FormBuilder/Functional/channels/mobilepush/tests/validate.test.js +57 -0
- package/v2Components/FormBuilder/Functional/channels/mobilepush/validate.js +4 -4
- package/v2Components/FormBuilder/Functional/channels/sms/getEditorErrorDescriptor.js +3 -0
- package/v2Components/FormBuilder/Functional/channels/sms/tests/getEditorErrorDescriptor.test.js +5 -0
- package/v2Components/FormBuilder/Functional/channels/sms/tests/validate.test.js +6 -0
- package/v2Components/FormBuilder/Functional/channels/sms/validate.js +3 -1
- package/v2Components/FormBuilder/Functional/renderers/mpushRenderers.js +3 -0
- package/v2Components/FormBuilder/Functional/tests/manual.typingPerf.test.js +135 -0
- package/v2Components/FormBuilder/Functional/tests/mpush.crossFlowParity.test.js +1 -1
- package/v2Components/FormBuilder/Functional/tests/mpush.ctaFlows.parity.test.js +320 -0
- package/v2Components/FormBuilder/Functional/tests/mpush.editContainer.parity.test.js +148 -0
- package/v2Components/FormBuilder/Functional/tests/mpush.libraryValidity.parity.test.js +152 -0
- package/v2Components/FormBuilder/Functional/tests/mpush.shellEvents.test.js +1 -1
- package/v2Components/FormBuilder/Functional/tests/mpush.singlePlatform.test.js +1 -1
- package/v2Components/FormBuilder/Functional/tests/mpushRenderers.test.js +22 -0
- package/v2Components/FormBuilder/tests/mpush.characterization.test.js +2 -2
- package/v2Components/TemplatePreview/_templatePreview.scss +2 -12
- package/v2Components/TemplatePreview/index.js +17 -30
- package/v2Components/TemplatePreview/tests/index.test.js +0 -61
- package/v2Containers/Cap/index.js +3 -0
- package/v2Containers/Cap/messages.js +4 -0
- package/v2Containers/Cap/tests/__snapshots__/index.test.js.snap +1 -0
- package/v2Containers/CreativesContainer/SlideBoxContent.js +151 -70
- package/v2Containers/CreativesContainer/index.js +6 -3
- package/v2Containers/CreativesContainer/tests/SlideBoxContent.test.js +0 -29
- package/v2Containers/InApp/index.js +4 -1
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/content.test.js.snap +3 -0
- package/v2Containers/Line/Container/ImageCarousel/tests/__snapshots__/index.test.js.snap +2 -0
- package/v2Containers/Line/Container/Text/index.js +3 -1
- package/v2Containers/Line/Container/Wrapper/tests/__snapshots__/index.test.js.snap +16 -0
- package/v2Containers/Line/Container/tests/__snapshots__/index.test.js.snap +18 -0
- package/v2Containers/MobilePush/Create/_mobilePushCreate.scss +70 -0
- package/v2Containers/MobilePush/Create/actions.js +52 -0
- package/v2Containers/MobilePush/Create/constants.js +26 -0
- package/v2Containers/MobilePush/Create/index.js +2149 -0
- package/v2Containers/MobilePush/Create/messages.js +349 -0
- package/v2Containers/MobilePush/Create/reducer.js +72 -0
- package/v2Containers/MobilePush/Create/sagas.js +79 -0
- package/v2Containers/MobilePush/Create/selectors.js +29 -0
- package/v2Containers/MobilePush/Create/test/contentValidity.test.js +154 -0
- package/v2Containers/MobilePush/Create/test/saga.test.js +19 -0
- package/v2Containers/MobilePush/Create/test/stayOpenOnSave.test.js +80 -0
- package/v2Containers/MobilePush/Edit/_mobilePushCreate.scss +65 -0
- package/v2Containers/MobilePush/Edit/actions.js +94 -0
- package/v2Containers/MobilePush/Edit/constants.js +37 -0
- package/v2Containers/MobilePush/Edit/index.js +2407 -0
- package/v2Containers/MobilePush/Edit/messages.js +341 -0
- package/v2Containers/MobilePush/Edit/reducer.js +113 -0
- package/v2Containers/MobilePush/Edit/sagas.js +113 -0
- package/v2Containers/MobilePush/Edit/selectors.js +33 -0
- package/v2Containers/MobilePush/Edit/test/contentValidity.test.js +149 -0
- package/v2Containers/MobilePush/Edit/test/saga.test.js +255 -0
- package/v2Containers/MobilePush/Edit/test/stayOpenOnSave.test.js +60 -0
- package/v2Containers/MobilePush/commonMethods.js +333 -0
- package/v2Containers/MobilePush/eventsMap.js +130 -0
- package/v2Containers/MobilePush/tests/commonMethods.test.js +401 -0
- package/v2Containers/MobilePushNew/components/CtaButtons.js +47 -52
- package/v2Containers/MobilePushNew/components/MediaUploaders.js +192 -207
- package/v2Containers/MobilePushNew/components/PlatformContentFields.js +121 -116
- package/v2Containers/MobilePushNew/components/tests/CtaButtons.test.js +208 -30
- package/v2Containers/MobilePushNew/components/tests/MediaUploaders.test.js +72 -316
- package/v2Containers/MobilePushNew/components/tests/PlatformContentFields.test.js +16 -45
- package/v2Containers/MobilePushNew/constants.js +0 -5
- package/v2Containers/MobilePushNew/hooks/tests/usePlatformSync.test.js +1 -63
- package/v2Containers/MobilePushNew/hooks/tests/useUpload.test.js +0 -52
- package/v2Containers/MobilePushNew/hooks/usePlatformSync.js +1 -38
- package/v2Containers/MobilePushNew/hooks/useUpload.js +39 -29
- package/v2Containers/MobilePushNew/index.js +192 -454
- package/v2Containers/MobilePushNew/index.scss +4 -188
- package/v2Containers/MobilePushNew/messages.js +6 -86
- package/v2Containers/MobilePushNew/tests/index.test.js +1 -450
- package/v2Containers/MobilePushNew/tests/utils.test.js +0 -25
- package/v2Containers/MobilePushNew/utils.js +0 -8
- package/v2Containers/MobilepushWrapper/_mobilepushWrapper.scss +22 -0
- package/v2Containers/MobilepushWrapper/index.js +178 -0
- package/v2Containers/MobilepushWrapper/messages.js +29 -0
- package/v2Containers/Rcs/index.js +8 -1
- package/v2Containers/Rcs/tests/__snapshots__/index.test.js.snap +59 -0
- package/v2Containers/SmsTrai/Create/tests/__snapshots__/index.test.js.snap +4 -0
- package/v2Containers/SmsTrai/Edit/index.js +17 -7
- package/v2Containers/SmsTrai/Edit/tests/__snapshots__/index.test.js.snap +42 -0
- package/v2Containers/Templates/_templates.scss +2 -10
- package/v2Containers/Templates/index.js +90 -84
- package/v2Containers/Templates/tests/index.test.js +0 -68
- package/v2Containers/Viber/index.js +3 -1
- package/v2Containers/WebPush/Create/utils/validation.js +6 -0
- package/v2Containers/WebPush/Create/utils/validation.test.js +50 -0
- package/v2Containers/Whatsapp/index.js +9 -5
- package/v2Containers/Whatsapp/tests/__snapshots__/index.test.js.snap +2 -2
- package/v2Containers/Zalo/index.js +4 -1
- package/v2Components/CapMpushCTA/tests/index.test.js +0 -89
- /package/{v2Components/FormBuilder/Functional/tests/fixtures/mpushInitialSchema.js → v2Containers/MobilePush/initialSchema.js} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { expectSaga } from "redux-saga-test-plan";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
v2MobilePushWatchDuplicateTemplateSaga,
|
|
5
|
+
v2MobilePushCreateSagas
|
|
6
|
+
} from "../sagas";
|
|
7
|
+
|
|
8
|
+
describe("MPUSH Sagas", () => {
|
|
9
|
+
describe("v2MobilePushCreateSagas Combined", () => {
|
|
10
|
+
it("should initialize all mpush-related watcher sagas without error", () => {
|
|
11
|
+
return expectSaga(v2MobilePushCreateSagas).run();
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
describe("v2MobilePushWatchDuplicateTemplateSaga Combined", () => {
|
|
15
|
+
it("should initialize all mpush-related watcher sagas without error", () => {
|
|
16
|
+
return expectSaga(v2MobilePushWatchDuplicateTemplateSaga).run();
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
});
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { shallow } from 'enzyme';
|
|
3
|
+
import { Create } from '../index';
|
|
4
|
+
|
|
5
|
+
jest.mock('@capillarytech/cap-ui-library', () => ({
|
|
6
|
+
...jest.requireActual('@capillarytech/cap-ui-library'),
|
|
7
|
+
CapNotification: { success: jest.fn(), error: jest.fn() },
|
|
8
|
+
}));
|
|
9
|
+
|
|
10
|
+
const baseProps = (overrides = {}) => ({
|
|
11
|
+
actions: {
|
|
12
|
+
createTemplate: jest.fn((obj, callback) => callback({ templateId: { _id: 'mp-1', name: 'Push' } })),
|
|
13
|
+
clearCreateResponse: jest.fn(),
|
|
14
|
+
},
|
|
15
|
+
globalActions: { fetchSchemaForEntity: jest.fn(), addMessageToQueue: jest.fn() },
|
|
16
|
+
Templates: { selectedWeChatAccount: { id: 'acc-1' } },
|
|
17
|
+
Create: {},
|
|
18
|
+
params: {},
|
|
19
|
+
location: { query: { type: 'library', module: 'default' }, pathname: '/mobilepush/create/text' },
|
|
20
|
+
route: { name: 'mobilepush' },
|
|
21
|
+
router: { push: jest.fn() },
|
|
22
|
+
metaEntities: {},
|
|
23
|
+
intl: { formatMessage: (m) => (m && (m.defaultMessage || m.id)) || '' },
|
|
24
|
+
isFullMode: true,
|
|
25
|
+
getFormLibraryData: jest.fn(),
|
|
26
|
+
onValidationFail: jest.fn(),
|
|
27
|
+
...overrides,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
const render = (overrides) => {
|
|
31
|
+
const props = baseProps(overrides);
|
|
32
|
+
const wrapper = shallow(<Create {...props} />);
|
|
33
|
+
const instance = wrapper.instance();
|
|
34
|
+
instance.getTransformedData = () => ({ name: 'Push', definition: { mode: 'text' } });
|
|
35
|
+
instance.discardValues = jest.fn();
|
|
36
|
+
return { props, wrapper, instance };
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
describe('MobilePush/Create — full mode keeps the slidebox open after saving', () => {
|
|
40
|
+
it('remembers the created template, keeps the form and asks the host to stay open', () => {
|
|
41
|
+
const { props, wrapper, instance } = render();
|
|
42
|
+
|
|
43
|
+
instance.saveFormData({});
|
|
44
|
+
|
|
45
|
+
expect(props.actions.createTemplate.mock.calls[0][0]._id).toBeUndefined();
|
|
46
|
+
expect(wrapper.state('savedTemplateId')).toBe('mp-1');
|
|
47
|
+
expect(instance.discardValues).not.toHaveBeenCalled();
|
|
48
|
+
expect(props.getFormLibraryData).toHaveBeenCalledWith({ _id: 'mp-1', validity: true, keepSlideBoxOpen: true });
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
it('updates the same template on the next save (plain id response too)', () => {
|
|
52
|
+
const { props, instance } = render();
|
|
53
|
+
props.actions.createTemplate.mockImplementation((obj, callback) => callback({ templateId: 'mp-1' }));
|
|
54
|
+
|
|
55
|
+
instance.saveFormData({});
|
|
56
|
+
instance.saveFormData({});
|
|
57
|
+
|
|
58
|
+
expect(props.actions.createTemplate).toHaveBeenCalledTimes(2);
|
|
59
|
+
expect(props.actions.createTemplate.mock.calls[1][0]._id).toBe('mp-1');
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it('re-arms validation on each Save click (false, then true)', () => {
|
|
63
|
+
const { wrapper } = render({ isGetFormData: false });
|
|
64
|
+
wrapper.setState({ startValidation: true }); // left set by the previous save
|
|
65
|
+
|
|
66
|
+
wrapper.setProps({ isGetFormData: true });
|
|
67
|
+
|
|
68
|
+
expect(wrapper.state('startValidation')).toBe(true);
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it('library mode is unchanged: form is discarded and the host is told as before', () => {
|
|
72
|
+
const { props, wrapper, instance } = render({ isFullMode: false });
|
|
73
|
+
|
|
74
|
+
instance.saveFormData({});
|
|
75
|
+
|
|
76
|
+
expect(instance.discardValues).toHaveBeenCalled();
|
|
77
|
+
expect(wrapper.state('savedTemplateId')).toBe('');
|
|
78
|
+
expect(props.getFormLibraryData).toHaveBeenCalledWith({ validity: true });
|
|
79
|
+
});
|
|
80
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
@import "~@capillarytech/cap-ui-library/styles/_variables.scss";
|
|
2
|
+
|
|
3
|
+
.creatives-mobilepush-edit {
|
|
4
|
+
.mobile-push-row{
|
|
5
|
+
margin-bottom: 16px;
|
|
6
|
+
}
|
|
7
|
+
.mobile-push-img button {
|
|
8
|
+
top: 212px;
|
|
9
|
+
}
|
|
10
|
+
.image-container{
|
|
11
|
+
height: 200px;
|
|
12
|
+
border: solid 1px #C2C2C2;
|
|
13
|
+
border-radius: 5px;
|
|
14
|
+
.image-placeholder{
|
|
15
|
+
line-height: 150px;
|
|
16
|
+
}
|
|
17
|
+
&.error{
|
|
18
|
+
border-color: #ea213a;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.ant-tabs-bar{
|
|
22
|
+
margin-bottom: 0 !important;
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
flex-direction: row-reverse;
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
}
|
|
28
|
+
.ant-tabs-tabpane{
|
|
29
|
+
padding: 16px 16px 16px 0;
|
|
30
|
+
border: solid 1px #D6D6D6;
|
|
31
|
+
}
|
|
32
|
+
.ant-tabs-nav-list {
|
|
33
|
+
gap: 0 !important;
|
|
34
|
+
.ant-tabs-tab {
|
|
35
|
+
.form-tab-header{
|
|
36
|
+
padding: $CAP_SPACE_04 $CAP_SPACE_16;
|
|
37
|
+
.unsupported-channel {
|
|
38
|
+
.ant-tabs-nav & {
|
|
39
|
+
display: none;
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.tag-container{
|
|
47
|
+
.ant-col{
|
|
48
|
+
flex: 0 0 100%;
|
|
49
|
+
|
|
50
|
+
button{
|
|
51
|
+
float: right;
|
|
52
|
+
top: 8px;
|
|
53
|
+
z-index: 100;
|
|
54
|
+
padding: unset !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.ant-col:first-child{
|
|
59
|
+
display: flex;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: flex-end;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Create actions
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
import * as types from "./constants";
|
|
9
|
+
|
|
10
|
+
export function defaultAction() {
|
|
11
|
+
return {
|
|
12
|
+
type: types.DEFAULT_ACTION,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export function editTemplate(template, callback) {
|
|
17
|
+
return {
|
|
18
|
+
type: types.EDIT_TEMPLATE_REQUEST, template, callback,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function getTemplateDetails(id) {
|
|
23
|
+
return {
|
|
24
|
+
type: types.GET_TEMPLATE_DETAILS_REQUEST, id,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export function getIosCtas(licenseCode) {
|
|
29
|
+
return {
|
|
30
|
+
type: types.GET_IOS_CTAS, licenseCode,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function uploadAsset(file, assetType, fileParams, mode) {
|
|
35
|
+
return {
|
|
36
|
+
type: types.UPLOAD_ASSET_REQUEST,
|
|
37
|
+
file,
|
|
38
|
+
assetType,
|
|
39
|
+
fileParams,
|
|
40
|
+
mode,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function clearEditResponse() {
|
|
44
|
+
return {
|
|
45
|
+
type: types.CLEAR_EDIT_RESPONSE_REQUEST,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function clearData() {
|
|
50
|
+
return {
|
|
51
|
+
type: types.CLEAR_DATA,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function clearAsset() {
|
|
56
|
+
return {
|
|
57
|
+
type: types.CLEAR_ASSET,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function getWeCrmAccounts(source) {
|
|
62
|
+
return {
|
|
63
|
+
type: types.GET_WECRM_ACCOUNTS_REQUEST, source,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function setWeChatAccount(weChatAccount) {
|
|
68
|
+
return {
|
|
69
|
+
type: types.SET_WECHAT_ACCOUNT,
|
|
70
|
+
weChatAccount,
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function getMobilepushTemplatesList(channel, queryParams) {
|
|
75
|
+
return {
|
|
76
|
+
type: types.GET_MOBILEPUSH_TEMPLATES_LIST_REQUEST,
|
|
77
|
+
channel,
|
|
78
|
+
queryParams,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function setSelectedTemplate(templateData) {
|
|
83
|
+
return {
|
|
84
|
+
type: types.SET_SELECTED_TEMPLATE,
|
|
85
|
+
data: templateData,
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function setTemplateDetails(templateDetails) {
|
|
90
|
+
return {
|
|
91
|
+
type: types.GET_TEMPLATE_DETAILS_SUCCESS,
|
|
92
|
+
data: templateDetails,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Edit constants
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export const DEFAULT_ACTION = 'app/Edit/DEFAULT_ACTION';
|
|
8
|
+
|
|
9
|
+
export const GET_TEMPLATE_DETAILS_REQUEST = 'app/v2Containers/mobilePush/Edit/GET_TEMPLATE_DETAILS_REQUEST';
|
|
10
|
+
export const GET_TEMPLATE_DETAILS_SUCCESS = 'app/v2Containers/mobilePush/Edit/GET_TEMPLATE_DETAILS_SUCCESS';
|
|
11
|
+
export const GET_TEMPLATE_DETAILS_FAILURE = 'app/v2Containers/mobilePush/Edit/GET_TEMPLATE_DETAILS_FAILURE';
|
|
12
|
+
|
|
13
|
+
export const EDIT_TEMPLATE_REQUEST = 'app/v2Containers/mobilePush/Edit/EDIT_TEMPLATE_REQUEST';
|
|
14
|
+
export const EDIT_TEMPLATE_SUCCESS = 'app/v2Containers/mobilePush/Edit/EDIT_TEMPLATE_SUCCESS';
|
|
15
|
+
export const EDIT_TEMPLATE_FAILURE = 'app/v2Containers/mobilePush/Edit/EDIT_TEMPLATE_FAILURE';
|
|
16
|
+
|
|
17
|
+
export const CLEAR_EDIT_RESPONSE_REQUEST = 'app/v2Containers/mobilePush/Edit/CLEAR_EDIT_RESPONSE_REQUEST';
|
|
18
|
+
export const GET_IOS_CTAS = 'app/v2Containers/PushMessage/Edit/GET_IOS_CTAS';
|
|
19
|
+
export const GET_IOS_CTAS_SUCCESS = 'app/v2Containers/PushMessage/Edit/GET_IOS_CTAS_SUCCESS';
|
|
20
|
+
export const GET_IOS_CTAS_FAILURE = 'app/v2Containers/PushMessage/Edit/GET_IOS_CTAS_FAILURE';
|
|
21
|
+
export const UPLOAD_ASSET_REQUEST = 'app/v2Containers/PushMessage/Edit/UPLOAD_ASSET_REQUEST';
|
|
22
|
+
export const UPLOAD_ASSET_SUCCESS = 'app/v2Containers/PushMessage/Edit/UPLOAD_ASSET_SUCCESS';
|
|
23
|
+
export const UPLOAD_ASSET_FAILURE = 'app/v2Containers/PushMessage/Edit/UPLOAD_ASSET_FAILURE';
|
|
24
|
+
export const CLEAR_DATA = 'app/v2Containers/PushMessage/Edit/CLEAR_DATA';
|
|
25
|
+
export const CLEAR_ASSET = 'app/v2Containers/PushMessage/Edit/CLEAR_ASSET';
|
|
26
|
+
export const SET_SELECTED_TEMPLATE = 'app/v2Containers/PushMessage/Edit/SET_SELECTED_TEMPLATE';
|
|
27
|
+
|
|
28
|
+
export const SET_WECHAT_ACCOUNT = "app/v2Containers/MobilePush/SET_WECHAT_ACCOUNT";
|
|
29
|
+
export const GET_WECRM_ACCOUNTS_REQUEST = "app/v2Containers/MobilePush/GET_WECRM_ACCOUNTS_REQUEST";
|
|
30
|
+
export const GET_WECRM_ACCOUNTS_SUCCESS = "app/v2Containers/MobilePush/GET_WECRM_ACCOUNTS_SUCCESS";
|
|
31
|
+
export const GET_WECRM_ACCOUNTS_FAILURE = "app/v2Containers/MobilePush/GET_WECRM_ACCOUNTS_FAILURE";
|
|
32
|
+
|
|
33
|
+
export const GET_MOBILEPUSH_TEMPLATES_LIST_REQUEST = 'app/v2Containers/WeChat/GET_MOBILEPUSH_TEMPLATES_LIST_REQUEST';
|
|
34
|
+
export const GET_MOBILEPUSH_TEMPLATES_LIST_SUCCESS = 'app/v2Containers/WeChat/GET_MOBILEPUSH_TEMPLATES_LIST_SUCCESS';
|
|
35
|
+
export const GET_MOBILEPUSH_TEMPLATES_LIST_FAILURE = 'app/v2Containers/WeChat/GET_MOBILEPUSH_TEMPLATES_LIST_FAILURE';
|
|
36
|
+
|
|
37
|
+
export const MAPP_SDK = 'MAPP_SDK';
|