@bigbinary/neeto-message-templates-frontend 0.4.5 → 0.5.1

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/README.md CHANGED
@@ -70,6 +70,9 @@ You can learn more about usage here:
70
70
  yarn add @bigbinary/neeto-message-templates-frontend
71
71
  ```
72
72
 
73
+ ### Instructions for development
74
+ Check the [Frontend package development guide](https://neeto-engineering.neetokb.com/p/a-d34cb4b0) for step-by-step instructions to develop the frontend package.
75
+
73
76
  ### Components
74
77
  #### `MessageTemplates` ([source code](https://github.com/bigbinary/neeto-message-templates-nano/blob/80a73223e8facf21a0135675d4dc837645d0f2b0/app/javascript/src/components/MessageTemplates/index.jsx))
75
78
  This component is used to manage message templates in your web application. It provides a user-friendly interface for viewing, adding, and editing templates, along with filtering and search capabilities.
@@ -8,6 +8,7 @@
8
8
  "editSmsTemplate": "Edit SMS template",
9
9
  "editWhatsappTemplate": "Edit whatsapp template",
10
10
  "search": "Search {{what}}",
11
+ "searchApiTemplates": "Search API templates",
11
12
  "markAsActive": "Mark as active",
12
13
  "markAsInactive": "Mark as inactive",
13
14
  "close": "Close",
@@ -23,14 +24,15 @@
23
24
  "subject": "Subject",
24
25
  "title": "Template",
25
26
  "active": "Active",
26
- "templateDeleteConfirmation": "Are you sure want to delete <strong>{{name}}</strong>. This action cannot be undone.",
27
- "deleteTemplate": "Delete {{label, anyCase}}",
27
+ "templateDeleteConfirmation": "You are deleting the template <strong>{{name}}</strong>. This can't be undone.",
28
+ "deleteTemplate": "Delete {{label, anyCase}}?",
28
29
  "emailTemplates": "Email templates",
29
30
  "emailTemplate": "Email template",
30
31
  "smsTemplates": "SMS templates",
31
32
  "smsTemplate": "SMS template",
32
33
  "whatsappTemplates": "Whatsapp Templates",
33
34
  "whatsappTemplate": "Whatsapp Template",
35
+ "apiTemplates": "API templates",
34
36
  "emptyState": "There are no {{type, anyCase}} to show.",
35
37
  "sendTestEmail": "Send test email",
36
38
  "sendTestSms": "Send test SMS",
@@ -56,6 +58,22 @@
56
58
  },
57
59
  "common": {
58
60
  "send": "Send"
61
+ },
62
+ "yes": "Yes",
63
+ "no": "No",
64
+ "api": {
65
+ "sendToApi": "Send to API",
66
+ "endpoint": "Endpoint",
67
+ "additionalData": "Additional data",
68
+ "addApiTemplate": "Add new API template",
69
+ "addKeyValuePair": "Add new key value pair",
70
+ "key": "Key",
71
+ "value": "Value",
72
+ "deleteApiTemplate": "Delete API template?",
73
+ "validation": {
74
+ "endpointPresence": "Endpoint is required",
75
+ "validEndpoint": "Endpoint should be valid URL"
76
+ }
59
77
  }
60
78
  },
61
79
  "messageType": {