@capillarytech/creatives-library 0.0.7 → 0.0.9
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/components/Ckeditor/index.js +3 -0
- package/components/FormBuilder/index.js +61 -7
- package/containers/Email/actions.js +2 -1
- package/containers/Email/index.js +178 -62
- package/containers/Email/reducer.js +4 -1
- package/containers/Email/sagas.js +5 -5
- package/containers/Templates/index.js +7 -1
- package/package.json +1 -1
- package/routes.js +1 -1
- package/services/api.js +4 -4
- package/utils/smscharcount.js +320 -300
package/package.json
CHANGED
package/routes.js
CHANGED
package/services/api.js
CHANGED
|
@@ -273,13 +273,13 @@ export const getCmsTemplateSettings = (cmsType, projectId, cmsMode, langId) => {
|
|
|
273
273
|
return API.get(url);
|
|
274
274
|
};
|
|
275
275
|
|
|
276
|
-
export const getCmsTemplateData = (cmsType, projectId) => {
|
|
277
|
-
const url = `${API_ENDPOINT}/cms/getContent?type=${cmsType}&projectId=${projectId}`;
|
|
276
|
+
export const getCmsTemplateData = (cmsType, projectId, langId) => {
|
|
277
|
+
const url = `${API_ENDPOINT}/cms/getContent?type=${cmsType}&projectId=${projectId}&langId=${langId}`;
|
|
278
278
|
return API.get(url);
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
export const getCmsData = (cmsType, projectId) => {
|
|
282
|
-
const url = `${API_ENDPOINT}/cms/getCmsData?type=${cmsType}&projectId=${projectId}`;
|
|
281
|
+
export const getCmsData = (cmsType, projectId, langId) => {
|
|
282
|
+
const url = `${API_ENDPOINT}/cms/getCmsData?type=${cmsType}&projectId=${projectId}&langId=${langId}`;
|
|
283
283
|
return API.get(url);
|
|
284
284
|
};
|
|
285
285
|
|