@bigbinary/neeto-webhooks-frontend 3.0.2 → 3.0.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/README.md CHANGED
@@ -75,7 +75,18 @@ The engine is used to manage webhooks across neeto products.
75
75
  cancel: "Booking cancellation"
76
76
  ```
77
77
 
78
- 8. Add the permission `neeto_webhooks_engine.manage_webhooks` to your
78
+ 8. (Optional) Configure taxonomy identifiers to automatically inject taxonomy
79
+ values into translation strings. The values can then be used in locale strings
80
+ as interpolation variables.
81
+
82
+ ```ruby
83
+ NeetoWebhooksEngine.taxonomy_identifiers = {
84
+ customer: "singular",
85
+ teamMember: "singular"
86
+ }
87
+ ```
88
+
89
+ 9. Add the permission `neeto_webhooks_engine.manage_webhooks` to your
79
90
  `permissions.yml` file.
80
91
 
81
92
  ### Usage
@@ -0,0 +1,112 @@
1
+ {
2
+ "neetoWebhooks": {
3
+ "common": {
4
+ "event_one": "אירוע",
5
+ "event_other": "אירועים",
6
+ "endpoint": "נקודת קצה",
7
+ "responseStatus": "סטטוס תגובה",
8
+ "webhookWithCount": "{{count}} ווב הוק",
9
+ "webhookWithCount_other": "{{count}} ווב הוקים"
10
+ },
11
+ "entity": {
12
+ "webhook": "ווב הוק",
13
+ "configure": "הגדר"
14
+ },
15
+ "buttons": {
16
+ "save": "שמור",
17
+ "saveChanges": "שמור שינויים",
18
+ "cancel": "ביטול",
19
+ "delete": "מחק",
20
+ "edit": "ערוך",
21
+ "viewDetails": "צפה בפרטים",
22
+ "regenerate": "שחזר",
23
+ "generateSecretKey": "צור מפתח סודי"
24
+ },
25
+ "errors": {
26
+ "webhook": {
27
+ "required": "הכנס את כתובת ה-URL של הנקודת קצה שלך",
28
+ "invalidUrl": "הכנס כתובת URL חוקית",
29
+ "invalidUrlProtocol": "הכנס כתובת URL חוקית. ה-URL חייב להתחיל ב-http או https",
30
+ "urlNotUnique": "כתובת ה-URL של הנקודת קצה חייבת להיות ייחודית",
31
+ "events": {
32
+ "required": "בחר לפחות אירוע ווב הוק אחד"
33
+ }
34
+ }
35
+ },
36
+ "delivery": {
37
+ "title": "משלוחים",
38
+ "redeliver": "שובח",
39
+ "redelivery": "שובח",
40
+ "request": "בקשה",
41
+ "response": "תגובה",
42
+ "header": "כותרת",
43
+ "body": "גוף",
44
+ "payload": "מטען",
45
+ "deliveryId": "מזהה משלוח",
46
+ "sid": "מזהה",
47
+ "helpDescription": "פרטים הקשורים לתגובה שהתקבלה כאשר המוצר מתפקד עם הנקודת קצה המצוינת בווב הוק.",
48
+ "empty": {
49
+ "title": "אין משלוחים להציג.",
50
+ "description": "לא נשלחו אירועים לווב הוק הזה"
51
+ }
52
+ },
53
+ "webhook": {
54
+ "title": "ווב הוקים",
55
+ "description": "כל פרטי אירוע פעולה חדשים יפורסמו לכתובות ה-URL של הווב הוק המוגדרות",
56
+ "helpDescription": "קבל ווב הוק כאשר האירועים המצוינים מתרחשים.",
57
+ "empty": "אין ווב הוקים להציג.",
58
+ "emptyHelpText": "מה זה ווב הוק?",
59
+ "add": "הוסף ווב הוק חדש",
60
+ "endpoint": "נקודת קצה",
61
+ "event_one": "אירוע",
62
+ "event_other": "אירועים",
63
+ "endpointPlaceholder": "הכנס כתובת URL של נקודת קצה",
64
+ "eventPlaceholder": "בחר אירועי ווב הוק",
65
+ "secret": "מפתח סודי (אופציונלי)",
66
+ "secretkeyHelpTitle": "מפתח סודי",
67
+ "secretkeyHelpDescription": "הוספת מפתח סודי תעזור לך לאמת שהבקשה לווב הוק נשלחה באמת מ-Neeto.",
68
+ "secretPlaceholder": "הכנס מפתח סודי",
69
+ "edit": "ערוך ווב הוק",
70
+ "active": "פעיל",
71
+ "activeStatuses": {
72
+ "active": "פעיל",
73
+ "inactive": "לא פעיל"
74
+ },
75
+ "statusActiveHelpDescription": "הווב הוק פעיל כרגע. העבר למצב לא פעיל.",
76
+ "statusInactiveHelpDescription": "הווב הוק לא פעיל כרגע. העבר למצב פעיל.",
77
+ "version": "גרסה",
78
+ "versionStatus": {
79
+ "expired": {
80
+ "title": "ווב הוק פג",
81
+ "message": "גרסת הווב הוק הזו פג עתה ולא ניתן לערוך אותה. ניתן רק למחוק."
82
+ },
83
+ "deprecated": {
84
+ "title": "ווב הוק Deprecated",
85
+ "message": "גרסת הווב הוק הזו מפסיקה את התמיכה ולא ניתן לערוך אותה. ניתן רק למחוק."
86
+ },
87
+ "expiresIn": {
88
+ "days": "פג תוקף בעוד {{count}} יום",
89
+ "days_other": "פג תוקף בעוד {{count}} ימים",
90
+ "hoursAndMinutes": "פג תוקף בעוד {{hours}} שעה{{hoursPlural}} ו{{minutes}} דקות{{minutesPlural}}"
91
+ },
92
+ "expiredOn": "פג תוקף ב{{date}}",
93
+ "moreDetails": "עוד פרטים."
94
+ }
95
+ },
96
+ "operation": {
97
+ "edit": "ערוך",
98
+ "delete": "מחק"
99
+ },
100
+ "alert": {
101
+ "delete": {
102
+ "title": "מחק {{entity}}?",
103
+ "message": "אתה מוחק את {{entity}} לצמיתות. זה לא ניתן לביטול."
104
+ }
105
+ },
106
+ "tableHeaders": {
107
+ "active": "פעיל",
108
+ "details": "פרטים",
109
+ "createdAt": "נוצר ב"
110
+ }
111
+ }
112
+ }
@@ -1352,7 +1352,7 @@ var Webhooks$1 = withReactQuery(Webhooks);
1352
1352
 
1353
1353
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}
1354
1354
 
1355
- var css = ".neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{flex-wrap:wrap}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3NyYy9zdHlsZXNoZWV0cy9tYWluLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0Usa0VBQ0UsY0FBSiIsInNvdXJjZXNDb250ZW50IjpbIi5uZWV0by1tb2xlY3VsZXMtaGVhZGVyIHtcbiAgLm5lZXRvLW1vbGVjdWxlcy1oZWFkZXJfX2JyZWFkY3J1bWJzLXdyYXAge1xuICAgIGZsZXgtd3JhcDogd3JhcDtcbiAgfVxufVxuIl19 */";
1355
+ var css = ".neeto-molecules-header .neeto-molecules-header__breadcrumbs-wrap{flex-wrap:wrap}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC9qYXZhc2NyaXB0L3NyYy9zdHlsZXNoZWV0cy9tYWluLmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxrRUFDRSxjQUNGIiwic291cmNlc0NvbnRlbnQiOlsiLm5lZXRvLW1vbGVjdWxlcy1oZWFkZXIgLm5lZXRvLW1vbGVjdWxlcy1oZWFkZXJfX2JyZWFkY3J1bWJzLXdyYXAge1xuICBmbGV4LXdyYXA6IHdyYXA7XG59XG4iXX0= */";
1356
1356
  n(css,{});
1357
1357
 
1358
1358
  var NeetoWebhooks = function NeetoWebhooks(_ref) {