@capillarytech/creatives-library 3.2.2 → 3.2.4

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/config/app.js CHANGED
@@ -8,7 +8,7 @@ const config = {
8
8
  login_url: 'auth/login',
9
9
  dashboard_url: '/sms',
10
10
  dashboard_url_v2: '/v2',
11
- subscription_api_endpoint: '/arya/api/v1/subscription',
11
+ subscription_api_endpoint: '/arya/api/v1/org-settings/subscription',
12
12
  accountConfig: (strs, accountId) => `${window.location.origin}/org/config/AccountAdd?q=a&channelId=2&accountId=${accountId}&edit=1`,
13
13
  },
14
14
  development: {
@@ -102,4 +102,8 @@ export default defineMessages({
102
102
  id: 'creatives.containers.WeChat.linkCantEmpty',
103
103
  defaultMessage: "Link cannot be empty",
104
104
  },
105
+ "loadingEDMTemplates": {
106
+ id: 'creatives.containers.WeChat.loadingEDMTemplates',
107
+ defaultMessage: "loading EDM Templates",
108
+ },
105
109
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "3.2.2",
4
+ "version": "3.2.4",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -1415,5 +1415,11 @@
1415
1415
  "reon.modules.Login.componentsv2.LoginForm.input.invalidCredentials": "Invalid or Incorrect credentials!",
1416
1416
  "reon.modules.Login.componentsv2.LoginForm.input.loginButton": "Login",
1417
1417
  "reon.modules.Login.componentsv2.LoginForm.input.password": "Password",
1418
- "reon.modules.Login.componentsv2.LoginForm.input.username": "Username or email"
1418
+ "reon.modules.Login.componentsv2.LoginForm.input.username": "Username or email",
1419
+ "creatives.containers.WeChat.loadingEDMTemplates": "loading EDM Templates",
1420
+ "creatives.containersV2.WeChat.select": "Select",
1421
+ "creatives.containersV2.WeChat.newWechat": "New wechat",
1422
+ "creatives.containersV2.WeChat.linkErrorMessage": "Link cannot be empty.",
1423
+ "creatives.containersV2.WeChat.hasInvalidContent": "has invalid content.",
1424
+ "creatives.containersV2.WeChat.templateName": "Template Name"
1419
1425
  }
@@ -1415,5 +1415,11 @@
1415
1415
  "reon.modules.Login.componentsv2.LoginForm.input.invalidCredentials": "",
1416
1416
  "reon.modules.Login.componentsv2.LoginForm.input.loginButton": "",
1417
1417
  "reon.modules.Login.componentsv2.LoginForm.input.password": "",
1418
- "reon.modules.Login.componentsv2.LoginForm.input.username": ""
1418
+ "reon.modules.Login.componentsv2.LoginForm.input.username": "",
1419
+ "creatives.containers.WeChat.loadingEDMTemplates": "",
1420
+ "creatives.containersV2.WeChat.select": "",
1421
+ "creatives.containersV2.WeChat.newWechat": "",
1422
+ "creatives.containersV2.WeChat.linkErrorMessage": "",
1423
+ "creatives.containersV2.WeChat.hasInvalidContent": "",
1424
+ "creatives.containersV2.WeChat.templateName": ""
1419
1425
  }
@@ -1232,7 +1232,7 @@ export class MapTemplates extends React.Component { // eslint-disable-line react
1232
1232
  tip={this.props.intl.formatMessage(messages.gettingTemplateData)}
1233
1233
  spinning={spinning}>
1234
1234
  <div>
1235
- <CapHeading type="h5">Template name</CapHeading>
1235
+ <CapHeading type="h5"><FormattedMessage {...messages.templateName}/></CapHeading>
1236
1236
  <CapHeading type="h3">{weChatData.title}</CapHeading>
1237
1237
  <CapRow className="wechat-container">
1238
1238
  <CapColumn>
@@ -87,19 +87,23 @@ export default defineMessages({
87
87
  defaultMessage: "has valid content.",
88
88
  },
89
89
  "select": {
90
- id: 'creatives.containers.WeChat.select',
90
+ id: 'creatives.containersV2.WeChat.select',
91
91
  defaultMessage: 'Select',
92
92
  },
93
93
  "newWechat": {
94
- id: 'creatives.containers.WeChat.newWechat',
94
+ id: 'creatives.containersV2.WeChat.newWechat',
95
95
  defaultMessage: 'New wechat',
96
96
  },
97
97
  "linkErrorMessage": {
98
- id: 'creatives.containers.WeChat.linkErrorMessage',
98
+ id: 'creatives.containersV2.WeChat.linkErrorMessage',
99
99
  defaultMessage: 'Link cannot be empty.',
100
100
  },
101
101
  "hasInvalidContent": {
102
- id: 'creatives.containers.WeChat.hasInvalidContent',
102
+ id: 'creatives.containersV2.WeChat.hasInvalidContent',
103
103
  defaultMessage: 'has invalid content.',
104
104
  },
105
+ "templateName": {
106
+ id: 'creatives.containersV2.WeChat.templateName',
107
+ defaultMessage: 'Template Name',
108
+ },
105
109
  });