@vicacha-devs/medusa-plugin-notifications 0.0.0-stage → 0.1.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/.medusa/server/src/admin/index.cjs +4215 -0
- package/.medusa/server/src/admin/index.js +4193 -0
- package/.medusa/server/src/api/admin/mpn/broadcasts/route.js +99 -0
- package/.medusa/server/src/api/admin/mpn/channels/route.js +109 -0
- package/.medusa/server/src/api/admin/mpn/logs/route.js +33 -0
- package/.medusa/server/src/api/admin/mpn/mappings/[id]/route.js +33 -0
- package/.medusa/server/src/api/admin/mpn/mappings/route.js +51 -0
- package/.medusa/server/src/api/admin/mpn/render-template/route.js +37 -0
- package/.medusa/server/src/api/admin/mpn/sandbox/route.js +36 -0
- package/.medusa/server/src/api/admin/mpn/send/route.js +135 -0
- package/.medusa/server/src/api/admin/mpn/templates/[id]/route.js +77 -0
- package/.medusa/server/src/api/admin/mpn/templates/route.js +71 -0
- package/.medusa/server/src/api/admin/plugin/route.js +4 -0
- package/.medusa/server/src/api/middlewares.js +28 -0
- package/.medusa/server/src/api/store/mpn/consent/route.js +37 -0
- package/.medusa/server/src/api/store/mpn/webhooks/[provider]/route.js +97 -0
- package/.medusa/server/src/api/store/plugin/route.js +4 -0
- package/.medusa/server/src/api/validators.js +118 -0
- package/.medusa/server/src/hooks/index.js +7 -0
- package/.medusa/server/src/hooks/use-mpn-channels.js +13 -0
- package/.medusa/server/src/hooks/use-mpn-dispatch.js +45 -0
- package/.medusa/server/src/hooks/use-mpn-mappings.js +21 -0
- package/.medusa/server/src/hooks/use-mpn-templates.js +34 -0
- package/.medusa/server/src/hooks/use-order-notifications-widget-state.js +79 -0
- package/.medusa/server/src/hooks/use-sdk-primitives.js +113 -0
- package/.medusa/server/src/index.js +14 -0
- package/.medusa/server/src/integrations/automations-action-handler.js +112 -0
- package/.medusa/server/src/jobs/abandoned-cart-recovery.js +123 -0
- package/.medusa/server/src/jobs/log-retention-and-broadcasts.js +15 -0
- package/.medusa/server/src/modules/notifications/i18n/index.js +65 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/ar.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/de.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/en.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/es.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/fr.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/it.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/nl.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/pl.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/pt.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/locales/tr.js +76 -0
- package/.medusa/server/src/modules/notifications/i18n/types.js +2 -0
- package/.medusa/server/src/modules/notifications/index.js +9 -0
- package/.medusa/server/src/modules/notifications/integrations/documents-and-b2b-resolver.js +129 -0
- package/.medusa/server/src/modules/notifications/migrations/Migration20261010000000.js +184 -0
- package/.medusa/server/src/modules/notifications/models/index.js +118 -0
- package/.medusa/server/src/modules/notifications/renderer/block-helpers.js +36 -0
- package/.medusa/server/src/modules/notifications/renderer/email.js +161 -0
- package/.medusa/server/src/modules/notifications/renderer/index.js +240 -0
- package/.medusa/server/src/modules/notifications/renderer/slack.js +114 -0
- package/.medusa/server/src/modules/notifications/renderer/telegram.js +99 -0
- package/.medusa/server/src/modules/notifications/renderer/whatsapp.js +91 -0
- package/.medusa/server/src/modules/notifications/service-helpers/channel-config.js +45 -0
- package/.medusa/server/src/modules/notifications/service-helpers/consent.js +65 -0
- package/.medusa/server/src/modules/notifications/service-helpers/delivery-log.js +29 -0
- package/.medusa/server/src/modules/notifications/service-helpers/event-conditions.js +46 -0
- package/.medusa/server/src/modules/notifications/service-helpers/external-templates.js +80 -0
- package/.medusa/server/src/modules/notifications/service-helpers/recipient-resolution.js +85 -0
- package/.medusa/server/src/modules/notifications/service-helpers/sender-profiles.js +29 -0
- package/.medusa/server/src/modules/notifications/service-helpers/template-blocks.js +81 -0
- package/.medusa/server/src/modules/notifications/service-helpers/template-catalog.js +129 -0
- package/.medusa/server/src/modules/notifications/service-helpers/template-render.js +65 -0
- package/.medusa/server/src/modules/notifications/service.js +339 -0
- package/.medusa/server/src/modules/notifications/types.js +2 -0
- package/.medusa/server/src/modules/notifications/utils/auth-presets.js +140 -0
- package/.medusa/server/src/modules/notifications/utils/interpolation.js +178 -0
- package/.medusa/server/src/modules/notifications/utils/security.js +312 -0
- package/.medusa/server/src/modules/notifications/utils/system-presets.js +651 -0
- package/.medusa/server/src/modules/notifications/utils/transformers.js +358 -0
- package/.medusa/server/src/providers/dummy-sandbox/index.js +96 -0
- package/.medusa/server/src/providers/email-smtp/index.js +187 -0
- package/.medusa/server/src/providers/index.js +7 -0
- package/.medusa/server/src/providers/slack/index.js +54 -0
- package/.medusa/server/src/providers/sms/index.js +254 -0
- package/.medusa/server/src/providers/telegram/index.js +119 -0
- package/.medusa/server/src/providers/whatsapp/index.js +371 -0
- package/.medusa/server/src/rbac.js +109 -0
- package/.medusa/server/src/sdk/client.js +186 -0
- package/.medusa/server/src/sdk/index.js +3 -0
- package/.medusa/server/src/sdk/query-keys.js +61 -0
- package/.medusa/server/src/subscribers/customer-and-document-events.js +33 -0
- package/.medusa/server/src/subscribers/fulfillment-and-inventory-events.js +30 -0
- package/.medusa/server/src/subscribers/order-events.js +28 -0
- package/.medusa/server/src/types/constants.js +129 -0
- package/.medusa/server/src/types/core.js +2 -0
- package/.medusa/server/src/types/domain.js +2 -0
- package/.medusa/server/src/types/enums.js +53 -0
- package/.medusa/server/src/types/errors.js +28 -0
- package/.medusa/server/src/types/hooks.js +2 -0
- package/.medusa/server/src/types/index.js +12 -0
- package/.medusa/server/src/types/providers.js +2 -0
- package/.medusa/server/src/types/records.js +2 -0
- package/.medusa/server/src/types/render.js +2 -0
- package/.medusa/server/src/types/sdk-api.js +2 -0
- package/.medusa/server/src/types/translations.js +2 -0
- package/.medusa/server/src/workflows/index.js +461 -0
- package/LICENSE +21 -0
- package/README.md +389 -2
- package/package.json +138 -3
- package/src/admin/README.md +123 -0
- package/src/admin/components/mpn/broadcast-consent-section.tsx +62 -0
- package/src/admin/components/mpn/broadcasts-tab.tsx +208 -0
- package/src/admin/components/mpn/channels-main-section.tsx +205 -0
- package/src/admin/components/mpn/channels-side-section.tsx +88 -0
- package/src/admin/components/mpn/channels-tab.tsx +130 -0
- package/src/admin/components/mpn/constants.ts +8 -0
- package/src/admin/components/mpn/delivery-logs-tab.tsx +70 -0
- package/src/admin/components/mpn/event-mapping-form.tsx +191 -0
- package/src/admin/components/mpn/event-mappings-tab.tsx +165 -0
- package/src/admin/components/mpn/header-bar.tsx +35 -0
- package/src/admin/components/mpn/index.ts +17 -0
- package/src/admin/components/mpn/overview-cards.tsx +103 -0
- package/src/admin/components/mpn/sandbox-tab.tsx +93 -0
- package/src/admin/components/mpn/template-editor-section.tsx +203 -0
- package/src/admin/components/mpn/template-preview-section.tsx +122 -0
- package/src/admin/components/mpn/templates-list-section.tsx +115 -0
- package/src/admin/components/mpn/templates-tab.tsx +188 -0
- package/src/admin/components/mpn/use-notification-studio.ts +84 -0
- package/src/admin/components/rbac-guard.tsx +153 -0
- package/src/admin/i18n/README.md +134 -0
- package/src/admin/i18n/index.ts +23 -0
- package/src/admin/i18n/json/ar.json +157 -0
- package/src/admin/i18n/json/de.json +157 -0
- package/src/admin/i18n/json/en.json +157 -0
- package/src/admin/i18n/json/es.json +157 -0
- package/src/admin/i18n/json/fr.json +157 -0
- package/src/admin/i18n/json/it.json +157 -0
- package/src/admin/i18n/json/nl.json +157 -0
- package/src/admin/i18n/json/pl.json +157 -0
- package/src/admin/i18n/json/pt.json +157 -0
- package/src/admin/i18n/json/tr.json +157 -0
- package/src/admin/routes/mpn/broadcasts/page.tsx +75 -0
- package/src/admin/routes/mpn/channels/page.tsx +66 -0
- package/src/admin/routes/mpn/logs/page.tsx +50 -0
- package/src/admin/routes/mpn/mappings/page.tsx +62 -0
- package/src/admin/routes/mpn/page.tsx +200 -0
- package/src/admin/routes/mpn/sandbox/page.tsx +53 -0
- package/src/admin/routes/mpn/templates/page.tsx +55 -0
- package/src/admin/tsconfig.json +23 -0
- package/src/admin/vite-env.d.ts +1 -0
- package/src/admin/widgets/order-notifications-widget.tsx +178 -0
- package/src/api/README.md +98 -0
- package/src/api/admin/mpn/broadcasts/route.ts +130 -0
- package/src/api/admin/mpn/channels/route.ts +143 -0
- package/src/api/admin/mpn/logs/route.ts +41 -0
- package/src/api/admin/mpn/mappings/[id]/route.ts +45 -0
- package/src/api/admin/mpn/mappings/route.ts +68 -0
- package/src/api/admin/mpn/render-template/route.ts +46 -0
- package/src/api/admin/mpn/sandbox/route.ts +51 -0
- package/src/api/admin/mpn/send/route.ts +163 -0
- package/src/api/admin/mpn/templates/[id]/route.ts +101 -0
- package/src/api/admin/mpn/templates/route.ts +99 -0
- package/src/api/admin/plugin/route.ts +5 -0
- package/src/api/middlewares.ts +42 -0
- package/src/api/store/mpn/consent/route.ts +45 -0
- package/src/api/store/mpn/webhooks/[provider]/route.ts +119 -0
- package/src/api/store/plugin/route.ts +5 -0
- package/src/api/validators.ts +149 -0
- package/src/hooks/index.ts +14 -0
- package/src/hooks/use-mpn-channels.ts +43 -0
- package/src/hooks/use-mpn-dispatch.ts +149 -0
- package/src/hooks/use-mpn-mappings.ts +75 -0
- package/src/hooks/use-mpn-templates.ts +120 -0
- package/src/hooks/use-order-notifications-widget-state.ts +103 -0
- package/src/hooks/use-sdk-primitives.ts +157 -0
- package/src/index.ts +16 -0
- package/src/integrations/automations-action-handler.ts +156 -0
- package/src/jobs/README.md +41 -0
- package/src/jobs/abandoned-cart-recovery.ts +152 -0
- package/src/jobs/log-retention-and-broadcasts.ts +23 -0
- package/src/links/README.md +52 -0
- package/src/modules/README.md +99 -0
- package/src/modules/notifications/i18n/index.ts +83 -0
- package/src/modules/notifications/i18n/locales/ar.ts +84 -0
- package/src/modules/notifications/i18n/locales/de.ts +83 -0
- package/src/modules/notifications/i18n/locales/en.ts +84 -0
- package/src/modules/notifications/i18n/locales/es.ts +84 -0
- package/src/modules/notifications/i18n/locales/fr.ts +82 -0
- package/src/modules/notifications/i18n/locales/it.ts +82 -0
- package/src/modules/notifications/i18n/locales/nl.ts +83 -0
- package/src/modules/notifications/i18n/locales/pl.ts +84 -0
- package/src/modules/notifications/i18n/locales/pt.ts +82 -0
- package/src/modules/notifications/i18n/locales/tr.ts +86 -0
- package/src/modules/notifications/i18n/types.ts +1 -0
- package/src/modules/notifications/index.ts +10 -0
- package/src/modules/notifications/integrations/documents-and-b2b-resolver.ts +168 -0
- package/src/modules/notifications/migrations/Migration20261010000000.ts +185 -0
- package/src/modules/notifications/models/index.ts +125 -0
- package/src/modules/notifications/renderer/block-helpers.ts +51 -0
- package/src/modules/notifications/renderer/email.ts +281 -0
- package/src/modules/notifications/renderer/index.ts +301 -0
- package/src/modules/notifications/renderer/slack.ts +168 -0
- package/src/modules/notifications/renderer/telegram.ts +161 -0
- package/src/modules/notifications/renderer/whatsapp.ts +156 -0
- package/src/modules/notifications/service-helpers/channel-config.ts +65 -0
- package/src/modules/notifications/service-helpers/consent.ts +88 -0
- package/src/modules/notifications/service-helpers/delivery-log.ts +56 -0
- package/src/modules/notifications/service-helpers/event-conditions.ts +66 -0
- package/src/modules/notifications/service-helpers/external-templates.ts +127 -0
- package/src/modules/notifications/service-helpers/recipient-resolution.ts +124 -0
- package/src/modules/notifications/service-helpers/sender-profiles.ts +34 -0
- package/src/modules/notifications/service-helpers/template-blocks.ts +116 -0
- package/src/modules/notifications/service-helpers/template-catalog.ts +170 -0
- package/src/modules/notifications/service-helpers/template-render.ts +113 -0
- package/src/modules/notifications/service.ts +588 -0
- package/src/modules/notifications/types.ts +1 -0
- package/src/modules/notifications/utils/auth-presets.ts +145 -0
- package/src/modules/notifications/utils/interpolation.ts +231 -0
- package/src/modules/notifications/utils/security.ts +378 -0
- package/src/modules/notifications/utils/system-presets.ts +695 -0
- package/src/modules/notifications/utils/transformers.ts +456 -0
- package/src/providers/README.md +92 -0
- package/src/providers/dummy-sandbox/index.ts +143 -0
- package/src/providers/email-smtp/index.ts +257 -0
- package/src/providers/index.ts +38 -0
- package/src/providers/slack/index.ts +82 -0
- package/src/providers/sms/index.ts +342 -0
- package/src/providers/telegram/index.ts +181 -0
- package/src/providers/whatsapp/index.ts +505 -0
- package/src/rbac.ts +123 -0
- package/src/sdk/client.ts +319 -0
- package/src/sdk/index.ts +48 -0
- package/src/sdk/query-keys.ts +89 -0
- package/src/subscribers/README.md +50 -0
- package/src/subscribers/customer-and-document-events.ts +36 -0
- package/src/subscribers/fulfillment-and-inventory-events.ts +35 -0
- package/src/subscribers/order-events.ts +31 -0
- package/src/types/constants.ts +143 -0
- package/src/types/core.ts +96 -0
- package/src/types/domain.ts +84 -0
- package/src/types/enums.ts +73 -0
- package/src/types/errors.ts +32 -0
- package/src/types/hooks.ts +48 -0
- package/src/types/index.ts +11 -0
- package/src/types/providers.ts +96 -0
- package/src/types/records.ts +100 -0
- package/src/types/render.ts +74 -0
- package/src/types/sdk-api.ts +228 -0
- package/src/types/translations.ts +75 -0
- package/src/workflows/README.md +67 -0
- package/src/workflows/index.ts +619 -0
- package/tsconfig.json +40 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "الإشعارات"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "استوديو الإشعارات متعدد القنوات (البريد، واتساب/OpenWA، تيليجرام، SMS، سلاك)",
|
|
7
|
+
"subtitle": "منشئ القوالب والكتل المرئية، ربط أحداث المتجر، بوابات الإرسال المتعددة، سجل الموافقات، وبيئة اختبار رموز التحقق OTP.",
|
|
8
|
+
"languageLabel": "اللغة",
|
|
9
|
+
"refresh": "تحديث الاستوديو",
|
|
10
|
+
"successBadge": "نجاح",
|
|
11
|
+
"errorBadge": "خطأ"
|
|
12
|
+
},
|
|
13
|
+
"tabs": {
|
|
14
|
+
"templates": "القوالب والمنشئ المرئي ({{count}})",
|
|
15
|
+
"mappings": "ربط الأحداث ({{count}})",
|
|
16
|
+
"channels": "القنوات (OpenWA / تيليجرام / SMS)",
|
|
17
|
+
"logs": "سجلات التسليم ({{count}})",
|
|
18
|
+
"broadcasts": "الحملات وسجل الموافقات",
|
|
19
|
+
"sandbox": "صندوق اختبار OTP ({{count}})"
|
|
20
|
+
},
|
|
21
|
+
"templates": {
|
|
22
|
+
"title": "القوالب",
|
|
23
|
+
"filterChannel": "تصفية حسب القناة",
|
|
24
|
+
"allChannels": "جميع القنوات",
|
|
25
|
+
"modeLabel": "الوضع: {{mode}}",
|
|
26
|
+
"inspectPreview": "فحص / معاينة",
|
|
27
|
+
"cloneToDb": "نسخ لقاعدة البيانات",
|
|
28
|
+
"saveButton": "حفظ القالب والكتل",
|
|
29
|
+
"subjectLabel": "عنوان الرسالة (البريد / الموضوع)",
|
|
30
|
+
"metaTemplateLabel": "اسم قالب Meta WABA (واتساب الرسمي)",
|
|
31
|
+
"rawContentLabel": "محتوى القالب النصي (يدعم {{data.*}} و {{translations.*}} و {{ .var }})",
|
|
32
|
+
"blockTreeLabel": "شجرة الكتل المرئية ({{count}} كتل)",
|
|
33
|
+
"removeBlock": "حذف",
|
|
34
|
+
"previewTitle": "معاينة مباشرة متعددة القنوات ({{locale}})",
|
|
35
|
+
"contextPlaceholder": "السياق",
|
|
36
|
+
"localePlaceholder": "اللغة",
|
|
37
|
+
"subjectPrefix": "الموضوع: {{subject}}",
|
|
38
|
+
"encodingBadge": "الترميز: {{encoding}}",
|
|
39
|
+
"segmentsBadge": "المقاطع: {{segments}} ({{chars}} حرف)",
|
|
40
|
+
"waButtonPrefix": "[زر واتساب] {{title}}",
|
|
41
|
+
"tgInlinePrefix": "[زر تيليجرام] {{text}}",
|
|
42
|
+
"emptySelection": "اختر قالباً من القائمة لاستعراض شجرة الكتل أو نسخ قالب نظام أو معاينة المخرجات بجميع اللغات."
|
|
43
|
+
},
|
|
44
|
+
"mappings": {
|
|
45
|
+
"title": "إنشاء ربط: حدث ← قناة ← قالب",
|
|
46
|
+
"eventLabel": "حدث متجر Medusa",
|
|
47
|
+
"channelLabel": "القناة",
|
|
48
|
+
"templateLabel": "القالب",
|
|
49
|
+
"recipientRuleLabel": "قاعدة المستلم",
|
|
50
|
+
"ruleCustomerAuto": "العميل تلقائياً",
|
|
51
|
+
"ruleOrderEmail": "بريد الطلب",
|
|
52
|
+
"ruleOrderPhone": "هاتف الطلب (E.164)",
|
|
53
|
+
"ruleCustomerTelegram": "تيليجرام العميل المباشر",
|
|
54
|
+
"ruleMerchantChannel": "قناة / مجموعة المتجر",
|
|
55
|
+
"ruleB2bAccounting": "مسؤول المحاسبة B2B",
|
|
56
|
+
"threadIdLabel": "معرّف موضوع تيليجرام Thread ID (اختياري)",
|
|
57
|
+
"threadIdPlaceholder": "مثال: 42",
|
|
58
|
+
"attachInvoiceLabel": "إرفاق فاتورة PDF تلقائياً من medusa-documents-plugin (للبريد وواتساب/OpenWA وتيليجرام)",
|
|
59
|
+
"addMappingButton": "إضافة ربط نشط",
|
|
60
|
+
"colEvent": "الحدث",
|
|
61
|
+
"colChannel": "القناة",
|
|
62
|
+
"colTemplate": "القالب",
|
|
63
|
+
"colRecipientRule": "قاعدة المستلم",
|
|
64
|
+
"colAttachments": "المرفقات",
|
|
65
|
+
"colAction": "إجراء",
|
|
66
|
+
"deleteButton": "حذف"
|
|
67
|
+
},
|
|
68
|
+
"channels": {
|
|
69
|
+
"whatsappTitle": "بوابة واتساب و OpenWA",
|
|
70
|
+
"whatsappSubtitle": "التبديل بين واجهة Meta Cloud الرسمية (قوالب WABA) أو البوابات المستضافة ذاتياً OpenWA / WAHA / Evolution API.",
|
|
71
|
+
"activeDriverLabel": "المشغّل النشط",
|
|
72
|
+
"driverMetaCloud": "Meta Cloud API (واتساب الرسمي)",
|
|
73
|
+
"driverOpenWa": "OpenWA (@open-wa/wa-automate REST)",
|
|
74
|
+
"driverWaha": "WAHA (WhatsApp HTTP API)",
|
|
75
|
+
"driverEvolution": "Evolution API v2",
|
|
76
|
+
"gatewayUrlLabel": "رابط بوابة OpenWA / WAHA / Evolution",
|
|
77
|
+
"saveWhatsappButton": "حفظ مشغّل واتساب",
|
|
78
|
+
"telegramTitle": "إشعارات تيليجرام",
|
|
79
|
+
"verifiedBadge": "موثّق",
|
|
80
|
+
"unverifiedBadge": "غير موثّق",
|
|
81
|
+
"telegramSubtitle": "إعداد المجموعة الفائقة للمتجر (-100... أو @channel). تغيير المعرّف يعيد ضبط التوثيق حتى تنجح رسالة الاختبار.",
|
|
82
|
+
"merchantChannelLabel": "معرّف قناة / مجموعة المتجر",
|
|
83
|
+
"merchantChannelPlaceholder": "-1001234567890 أو @my_store_alerts",
|
|
84
|
+
"saveChannelIdButton": "حفظ معرّف القناة",
|
|
85
|
+
"sendTestButton": "إرسال رسالة تجريبية",
|
|
86
|
+
"smsTitle": "مشغّل الرسائل النصية SMS",
|
|
87
|
+
"smsSubtitle": "اختر Twilio SMS/MMS أو Signal House (10DLC) أو MSG91 Flow أو SMSAPI أو بيئة الاختبار.",
|
|
88
|
+
"smsDriverLabel": "مشغّل SMS",
|
|
89
|
+
"driverTwilio": "Twilio (SMS / MMS + خدمة الرسائل)",
|
|
90
|
+
"driverSignalHouse": "Signal House (10DLC واستعادة السلة)",
|
|
91
|
+
"driverMsg91": "MSG91 Flow API",
|
|
92
|
+
"driverSmsApi": "SMSAPI",
|
|
93
|
+
"driverDummy": "بيئة اختبار OTP محلية",
|
|
94
|
+
"saveSmsButton": "حفظ مشغّل SMS"
|
|
95
|
+
},
|
|
96
|
+
"logs": {
|
|
97
|
+
"title": "سجل التسليم المحمي (إخفاء البيانات الشخصية ومنع التكرار)",
|
|
98
|
+
"colEvent": "الحدث",
|
|
99
|
+
"colChannel": "القناة",
|
|
100
|
+
"colRecipient": "المستلم (مخفي جزئياً)",
|
|
101
|
+
"colStatus": "الحالة",
|
|
102
|
+
"colExternalId": "المعرّف الخارجي"
|
|
103
|
+
},
|
|
104
|
+
"broadcasts": {
|
|
105
|
+
"title": "ملخص الموافقات (TCPA / 10DLC) وحملات البث للعملاء",
|
|
106
|
+
"smsOptedIn": "مشتركو SMS: {{count}}",
|
|
107
|
+
"whatsappOptedIn": "مشتركو واتساب: {{count}}",
|
|
108
|
+
"telegramLinked": "تيليجرام مرتبط: {{count}}",
|
|
109
|
+
"optedOut": "ألغوا الاشتراك (STOP): {{count}}",
|
|
110
|
+
"campaignNameLabel": "اسم الحملة",
|
|
111
|
+
"campaignNamePlaceholder": "عروض نهاية الأسبوع",
|
|
112
|
+
"channelLabel": "القناة",
|
|
113
|
+
"templateLabel": "القالب",
|
|
114
|
+
"sendNowButton": "إرسال الحملة الآن",
|
|
115
|
+
"colCampaign": "الحملة",
|
|
116
|
+
"colChannel": "القناة",
|
|
117
|
+
"colStatus": "الحالة",
|
|
118
|
+
"colSentTotal": "المرسل / الإجمالي"
|
|
119
|
+
},
|
|
120
|
+
"sandbox": {
|
|
121
|
+
"title": "بيئة الاختبار المحلية للرسائل ورموز التحقق OTP",
|
|
122
|
+
"subtitle": "التقاط رموز التحقق OTP وإشعارات الاختبار محلياً دون إرسال رسائل فعلية عبر شركات الاتصالات.",
|
|
123
|
+
"clearButton": "مسح الرسائل الملتقطة",
|
|
124
|
+
"colChannel": "القناة",
|
|
125
|
+
"colRecipient": "المستلم",
|
|
126
|
+
"colOtp": "رمز OTP المستخرج",
|
|
127
|
+
"colBody": "نص الرسالة"
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"title": "إشعارات الطلب متعددة القنوات ({{count}})",
|
|
131
|
+
"subtitle": "إرسال أو إعادة إرسال بريد إلكتروني أو واتساب/OpenWA أو تيليجرام أو SMS لهذا الطلب (مع إرفاق فاتورة PDF اختيارياً).",
|
|
132
|
+
"channelPlaceholder": "القناة",
|
|
133
|
+
"templatePlaceholder": "القالب",
|
|
134
|
+
"attachInvoiceLabel": "إرفاق فاتورة PDF (إن وجدت)",
|
|
135
|
+
"sending": "جارٍ الإرسال...",
|
|
136
|
+
"sendResendButton": "إرسال / إعادة إرسال الإشعار",
|
|
137
|
+
"dispatchedSuccess": "تم إرسال إشعار {{channel}} بنجاح",
|
|
138
|
+
"dispatchFailed": "تعذر إرسال الإشعار",
|
|
139
|
+
"colChannel": "القناة",
|
|
140
|
+
"colEventTemplate": "الحدث / القالب",
|
|
141
|
+
"colRecipient": "المستلم",
|
|
142
|
+
"colStatus": "الحالة"
|
|
143
|
+
},
|
|
144
|
+
"messages": {
|
|
145
|
+
"loadStudioError": "تعذر تحميل بيانات استوديو الإشعارات.",
|
|
146
|
+
"clonedPresetSuccess": "تم نسخ القالب الافتراضي إلى قالب قابل للتعديل '{{label}}'.",
|
|
147
|
+
"clonePresetError": "تعذر نسخ القالب الافتراضي.",
|
|
148
|
+
"savedTemplateSuccess": "تم حفظ القالب وشجرة الكتل بنجاح.",
|
|
149
|
+
"saveTemplateError": "تعذر حفظ القالب.",
|
|
150
|
+
"createdMappingSuccess": "تم إنشاء ربط نشط للحدث '{{event}}' ← '{{channel}}'.",
|
|
151
|
+
"createMappingError": "تعذر إنشاء ربط الحدث.",
|
|
152
|
+
"verifiedChannelSuccess": "تم توثيق قناة '{{channel}}' وإرسال رسالة تجريبية.",
|
|
153
|
+
"savedChannelSuccess": "تم حفظ إعدادات قناة '{{channel}}'.",
|
|
154
|
+
"channelActionError": "فشل إجراء {{action}} لقناة {{channel}}",
|
|
155
|
+
"broadcastSentSuccess": "تم إطلاق حملة البث للمستلمين المشتركين."
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Benachrichtigungen"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Multi-Channel-Benachrichtigungsstudio (E-Mail, WhatsApp/OpenWA, Telegram, SMS, Slack)",
|
|
7
|
+
"subtitle": "Visueller Block- & Raw-Vorlagen-Editor, DB-Ereigniszuordnungen, Multi-Driver-Gateways, Einwilligungsregister und Dummy-OTP-Sandbox.",
|
|
8
|
+
"languageLabel": "Sprache",
|
|
9
|
+
"refresh": "Studio aktualisieren",
|
|
10
|
+
"successBadge": "ERFOLG",
|
|
11
|
+
"errorBadge": "FEHLER"
|
|
12
|
+
},
|
|
13
|
+
"tabs": {
|
|
14
|
+
"templates": "Vorlagen & Visueller Editor ({{count}})",
|
|
15
|
+
"mappings": "Ereigniszuordnungen ({{count}})",
|
|
16
|
+
"channels": "Kanäle (OpenWA / Telegram / SMS)",
|
|
17
|
+
"logs": "Zustellprotokolle ({{count}})",
|
|
18
|
+
"broadcasts": "Broadcasts & Einwilligungen",
|
|
19
|
+
"sandbox": "Dummy-OTP-Sandbox ({{count}})"
|
|
20
|
+
},
|
|
21
|
+
"templates": {
|
|
22
|
+
"title": "Vorlagen",
|
|
23
|
+
"filterChannel": "Kanal filtern",
|
|
24
|
+
"allChannels": "Alle Kanäle",
|
|
25
|
+
"modeLabel": "Modus: {{mode}}",
|
|
26
|
+
"inspectPreview": "Prüfen / Vorschau",
|
|
27
|
+
"cloneToDb": "In DB klonen",
|
|
28
|
+
"saveButton": "Vorlage & Blöcke speichern",
|
|
29
|
+
"subjectLabel": "Betreffzeile (E-Mail / Titel)",
|
|
30
|
+
"metaTemplateLabel": "Meta WABA-Vorlagenname (WhatsApp Cloud)",
|
|
31
|
+
"rawContentLabel": "Raw-Vorlageninhalt (unterstützt {{data.*}}, {{translations.*}} und {{ .var }})",
|
|
32
|
+
"blockTreeLabel": "Visueller Blockbaum ({{count}} Blöcke)",
|
|
33
|
+
"removeBlock": "Entfernen",
|
|
34
|
+
"previewTitle": "Live-Multi-Channel-Vorschau ({{locale}})",
|
|
35
|
+
"contextPlaceholder": "Kontext",
|
|
36
|
+
"localePlaceholder": "Sprache",
|
|
37
|
+
"subjectPrefix": "Betreff: {{subject}}",
|
|
38
|
+
"encodingBadge": "Kodierung: {{encoding}}",
|
|
39
|
+
"segmentsBadge": "Segmente: {{segments}} ({{chars}} Zeichen)",
|
|
40
|
+
"waButtonPrefix": "[WA-Button] {{title}}",
|
|
41
|
+
"tgInlinePrefix": "[TG-Inline] {{text}}",
|
|
42
|
+
"emptySelection": "Wählen Sie links eine Vorlage aus, um den Blockbaum zu prüfen, eine Systemvorlage zu klonen oder die Vorschau anzuzeigen."
|
|
43
|
+
},
|
|
44
|
+
"mappings": {
|
|
45
|
+
"title": "Ereignis → Kanal → Vorlagen-Zuordnung erstellen",
|
|
46
|
+
"eventLabel": "Medusa Store-Ereignis",
|
|
47
|
+
"channelLabel": "Kanal",
|
|
48
|
+
"templateLabel": "Vorlage",
|
|
49
|
+
"recipientRuleLabel": "Empfängerregel",
|
|
50
|
+
"ruleCustomerAuto": "Kunde Automatisch",
|
|
51
|
+
"ruleOrderEmail": "Bestell-E-Mail",
|
|
52
|
+
"ruleOrderPhone": "Bestelltelefon (E.164)",
|
|
53
|
+
"ruleCustomerTelegram": "Kunden-Telegram-DM",
|
|
54
|
+
"ruleMerchantChannel": "Händlerkanal / Gruppe",
|
|
55
|
+
"ruleB2bAccounting": "B2B-Buchhaltungskontakt",
|
|
56
|
+
"threadIdLabel": "Telegram-Thema Thread-ID (Optional)",
|
|
57
|
+
"threadIdPlaceholder": "z. B. 42",
|
|
58
|
+
"attachInvoiceLabel": "PDF-Rechnung aus medusa-documents-plugin automatisch anhängen (E-Mail, WhatsApp/OpenWA & Telegram)",
|
|
59
|
+
"addMappingButton": "Aktive Zuordnung hinzufügen",
|
|
60
|
+
"colEvent": "Ereignis",
|
|
61
|
+
"colChannel": "Kanal",
|
|
62
|
+
"colTemplate": "Vorlage",
|
|
63
|
+
"colRecipientRule": "Empfängerregel",
|
|
64
|
+
"colAttachments": "Anhänge",
|
|
65
|
+
"colAction": "Aktion",
|
|
66
|
+
"deleteButton": "Löschen"
|
|
67
|
+
},
|
|
68
|
+
"channels": {
|
|
69
|
+
"whatsappTitle": "WhatsApp & OpenWA Gateway",
|
|
70
|
+
"whatsappSubtitle": "Wechseln Sie zwischen der offiziellen Meta Cloud API (WABA-Vorlagen) und selbst gehostetem OpenWA / WAHA / Evolution API.",
|
|
71
|
+
"activeDriverLabel": "Aktiver Treiber",
|
|
72
|
+
"driverMetaCloud": "Meta Cloud API (Offizielles WABA)",
|
|
73
|
+
"driverOpenWa": "OpenWA (@open-wa/wa-automate REST)",
|
|
74
|
+
"driverWaha": "WAHA (WhatsApp HTTP API)",
|
|
75
|
+
"driverEvolution": "Evolution API v2",
|
|
76
|
+
"gatewayUrlLabel": "OpenWA / WAHA / Evolution Gateway-URL",
|
|
77
|
+
"saveWhatsappButton": "WhatsApp-Treiber speichern",
|
|
78
|
+
"telegramTitle": "Telegram-Benachrichtigungen",
|
|
79
|
+
"verifiedBadge": "Verifiziert",
|
|
80
|
+
"unverifiedBadge": "Nicht verifiziert",
|
|
81
|
+
"telegramSubtitle": "Konfigurieren Sie die Händler-Supergruppe (-100... oder @kanal). Das Ändern der ID setzt die Verifizierung zurück.",
|
|
82
|
+
"merchantChannelLabel": "Händlerkanal / Supergruppen-ID",
|
|
83
|
+
"merchantChannelPlaceholder": "-1001234567890 oder @my_store_alerts",
|
|
84
|
+
"saveChannelIdButton": "Kanal-ID speichern",
|
|
85
|
+
"sendTestButton": "Testnachricht senden",
|
|
86
|
+
"smsTitle": "SMS-Anbietertreiber",
|
|
87
|
+
"smsSubtitle": "Wählen Sie Twilio SMS/MMS, Signal House (10DLC), MSG91 Flow, SMSAPI oder Dummy-Sandbox.",
|
|
88
|
+
"smsDriverLabel": "SMS-Treiber",
|
|
89
|
+
"driverTwilio": "Twilio (SMS / MMS + Messaging Service)",
|
|
90
|
+
"driverSignalHouse": "Signal House (10DLC & Warenkorbrettung)",
|
|
91
|
+
"driverMsg91": "MSG91 Flow API",
|
|
92
|
+
"driverSmsApi": "SMSAPI",
|
|
93
|
+
"driverDummy": "Dummy-OTP-Sandbox (Test)",
|
|
94
|
+
"saveSmsButton": "SMS-Treiber speichern"
|
|
95
|
+
},
|
|
96
|
+
"logs": {
|
|
97
|
+
"title": "Geschwärztes Zustellprotokoll (PII-maskiert & Idempotent)",
|
|
98
|
+
"colEvent": "Ereignis",
|
|
99
|
+
"colChannel": "Kanal",
|
|
100
|
+
"colRecipient": "Empfänger (Maskiert)",
|
|
101
|
+
"colStatus": "Status",
|
|
102
|
+
"colExternalId": "Externe ID"
|
|
103
|
+
},
|
|
104
|
+
"broadcasts": {
|
|
105
|
+
"title": "TCPA / 10DLC Einwilligungsübersicht & Kundengruppen-Broadcasts",
|
|
106
|
+
"smsOptedIn": "SMS Opt-In: {{count}}",
|
|
107
|
+
"whatsappOptedIn": "WhatsApp Opt-In: {{count}}",
|
|
108
|
+
"telegramLinked": "Telegram Verknüpft: {{count}}",
|
|
109
|
+
"optedOut": "Abgemeldet (STOP): {{count}}",
|
|
110
|
+
"campaignNameLabel": "Kampagnenname",
|
|
111
|
+
"campaignNamePlaceholder": "Wochenend-Flash-Sale",
|
|
112
|
+
"channelLabel": "Kanal",
|
|
113
|
+
"templateLabel": "Vorlage",
|
|
114
|
+
"sendNowButton": "Broadcast jetzt senden",
|
|
115
|
+
"colCampaign": "Kampagne",
|
|
116
|
+
"colChannel": "Kanal",
|
|
117
|
+
"colStatus": "Status",
|
|
118
|
+
"colSentTotal": "Gesendet / Gesamt"
|
|
119
|
+
},
|
|
120
|
+
"sandbox": {
|
|
121
|
+
"title": "Dummy-SMS / OTP & Multi-Channel-Sandbox",
|
|
122
|
+
"subtitle": "Erfasst OTP-Verifizierungscodes und Testbenachrichtigungen lokal ohne echten Versand.",
|
|
123
|
+
"clearButton": "Erfasste Nachrichten löschen",
|
|
124
|
+
"colChannel": "Kanal",
|
|
125
|
+
"colRecipient": "Empfänger",
|
|
126
|
+
"colOtp": "Extrahierter OTP",
|
|
127
|
+
"colBody": "Nachrichtentext"
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"title": "Multi-Channel-Bestellbenachrichtigungen ({{count}})",
|
|
131
|
+
"subtitle": "Senden oder wiederholen Sie E-Mail, WhatsApp/OpenWA, Telegram oder SMS für diese Bestellung (optional mit PDF-Rechnung).",
|
|
132
|
+
"channelPlaceholder": "Kanal",
|
|
133
|
+
"templatePlaceholder": "Vorlage",
|
|
134
|
+
"attachInvoiceLabel": "PDF-Rechnung anhängen (falls vorhanden)",
|
|
135
|
+
"sending": "Wird gesendet...",
|
|
136
|
+
"sendResendButton": "Benachrichtigung senden / erneut senden",
|
|
137
|
+
"dispatchedSuccess": "{{channel}}-Benachrichtigung gesendet",
|
|
138
|
+
"dispatchFailed": "Benachrichtigung konnte nicht gesendet werden",
|
|
139
|
+
"colChannel": "Kanal",
|
|
140
|
+
"colEventTemplate": "Ereignis / Vorlage",
|
|
141
|
+
"colRecipient": "Empfänger",
|
|
142
|
+
"colStatus": "Status"
|
|
143
|
+
},
|
|
144
|
+
"messages": {
|
|
145
|
+
"loadStudioError": "Notification Studio-Daten konnten nicht geladen werden.",
|
|
146
|
+
"clonedPresetSuccess": "Systemvorlage in bearbeitbare DB-Vorlage '{{label}}' geklont.",
|
|
147
|
+
"clonePresetError": "Systemvorlage konnte nicht geklont werden.",
|
|
148
|
+
"savedTemplateSuccess": "Vorlage & Blockbaum gespeichert.",
|
|
149
|
+
"saveTemplateError": "Vorlage konnte nicht gespeichert werden.",
|
|
150
|
+
"createdMappingSuccess": "Aktive Zuordnung für '{{event}}' -> '{{channel}}' erstellt.",
|
|
151
|
+
"createMappingError": "Ereigniszuordnung konnte nicht erstellt werden.",
|
|
152
|
+
"verifiedChannelSuccess": "Kanal '{{channel}}' verifiziert und Testnachricht gesendet.",
|
|
153
|
+
"savedChannelSuccess": "Konfiguration für '{{channel}}' gespeichert.",
|
|
154
|
+
"channelActionError": "Aktion {{action}} für {{channel}} fehlgeschlagen",
|
|
155
|
+
"broadcastSentSuccess": "Broadcast-Kampagne an Opt-In-Empfänger gesendet."
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Notifications"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Multi-Channel Notification Studio (Email, WhatsApp/OpenWA, Telegram, SMS, Slack)",
|
|
7
|
+
"subtitle": "Visual Block & Raw Template Builder, DB Event Mappings, Multi-Driver Gateways, Consent Ledger, and Dummy OTP Sandbox.",
|
|
8
|
+
"languageLabel": "Language",
|
|
9
|
+
"refresh": "Refresh Studio",
|
|
10
|
+
"successBadge": "SUCCESS",
|
|
11
|
+
"errorBadge": "ERROR"
|
|
12
|
+
},
|
|
13
|
+
"tabs": {
|
|
14
|
+
"templates": "Templates & Visual Builder ({{count}})",
|
|
15
|
+
"mappings": "Event Mappings ({{count}})",
|
|
16
|
+
"channels": "Channels (OpenWA / Telegram / SMS)",
|
|
17
|
+
"logs": "Delivery Logs ({{count}})",
|
|
18
|
+
"broadcasts": "Broadcasts & Consent Ledger",
|
|
19
|
+
"sandbox": "Dummy OTP Sandbox ({{count}})"
|
|
20
|
+
},
|
|
21
|
+
"templates": {
|
|
22
|
+
"title": "Templates",
|
|
23
|
+
"filterChannel": "Filter Channel",
|
|
24
|
+
"allChannels": "All Channels",
|
|
25
|
+
"modeLabel": "Mode: {{mode}}",
|
|
26
|
+
"inspectPreview": "Inspect / Preview",
|
|
27
|
+
"cloneToDb": "Clone to DB",
|
|
28
|
+
"saveButton": "Save Template & Blocks",
|
|
29
|
+
"subjectLabel": "Subject Line (Email / Title)",
|
|
30
|
+
"metaTemplateLabel": "Meta WABA Template Name (WhatsApp Cloud)",
|
|
31
|
+
"rawContentLabel": "Raw Template Content (supports {{data.*}}, {{translations.*}}, and {{ .var }})",
|
|
32
|
+
"blockTreeLabel": "Visual Block Tree ({{count}} blocks)",
|
|
33
|
+
"removeBlock": "Remove",
|
|
34
|
+
"previewTitle": "Live Multi-Channel Preview ({{locale}})",
|
|
35
|
+
"contextPlaceholder": "Context",
|
|
36
|
+
"localePlaceholder": "Locale",
|
|
37
|
+
"subjectPrefix": "Subject: {{subject}}",
|
|
38
|
+
"encodingBadge": "Encoding: {{encoding}}",
|
|
39
|
+
"segmentsBadge": "Segments: {{segments}} ({{chars}} chars)",
|
|
40
|
+
"waButtonPrefix": "[WA Button] {{title}}",
|
|
41
|
+
"tgInlinePrefix": "[TG Inline] {{text}}",
|
|
42
|
+
"emptySelection": "Select a template on the left to inspect its block tree, clone a system preset, or preview its rendered output across locales."
|
|
43
|
+
},
|
|
44
|
+
"mappings": {
|
|
45
|
+
"title": "Create Event → Channel → Template Mapping",
|
|
46
|
+
"eventLabel": "Medusa Store Event",
|
|
47
|
+
"channelLabel": "Channel",
|
|
48
|
+
"templateLabel": "Template",
|
|
49
|
+
"recipientRuleLabel": "Recipient Rule",
|
|
50
|
+
"ruleCustomerAuto": "Customer Auto",
|
|
51
|
+
"ruleOrderEmail": "Order Email",
|
|
52
|
+
"ruleOrderPhone": "Order Phone (E.164)",
|
|
53
|
+
"ruleCustomerTelegram": "Customer Telegram DM",
|
|
54
|
+
"ruleMerchantChannel": "Merchant Channel / Group",
|
|
55
|
+
"ruleB2bAccounting": "B2B Accounting Contact",
|
|
56
|
+
"threadIdLabel": "Telegram Topic Thread ID (Optional)",
|
|
57
|
+
"threadIdPlaceholder": "e.g. 42",
|
|
58
|
+
"attachInvoiceLabel": "Auto-attach PDF Invoice from medusa-documents-plugin (Email, WhatsApp/OpenWA & Telegram)",
|
|
59
|
+
"addMappingButton": "Add Active Mapping",
|
|
60
|
+
"colEvent": "Event",
|
|
61
|
+
"colChannel": "Channel",
|
|
62
|
+
"colTemplate": "Template",
|
|
63
|
+
"colRecipientRule": "Recipient Rule",
|
|
64
|
+
"colAttachments": "Attachments",
|
|
65
|
+
"colAction": "Action",
|
|
66
|
+
"deleteButton": "Delete"
|
|
67
|
+
},
|
|
68
|
+
"channels": {
|
|
69
|
+
"whatsappTitle": "WhatsApp & OpenWA Gateway",
|
|
70
|
+
"whatsappSubtitle": "Switch between Official Meta Cloud API (WABA Templates) and self-hosted OpenWA / WAHA / Evolution API.",
|
|
71
|
+
"activeDriverLabel": "Active Driver",
|
|
72
|
+
"driverMetaCloud": "Meta Cloud API (Official WABA)",
|
|
73
|
+
"driverOpenWa": "OpenWA (@open-wa/wa-automate REST)",
|
|
74
|
+
"driverWaha": "WAHA (WhatsApp HTTP API)",
|
|
75
|
+
"driverEvolution": "Evolution API v2",
|
|
76
|
+
"gatewayUrlLabel": "OpenWA / WAHA / Evolution Gateway URL",
|
|
77
|
+
"saveWhatsappButton": "Save WhatsApp Driver",
|
|
78
|
+
"telegramTitle": "Telegram Notifications",
|
|
79
|
+
"verifiedBadge": "Verified",
|
|
80
|
+
"unverifiedBadge": "Unverified",
|
|
81
|
+
"telegramSubtitle": "Configure Merchant Supergroup (-100... or @channel). Changing the channel ID resets verification until a test message succeeds.",
|
|
82
|
+
"merchantChannelLabel": "Merchant Channel / Supergroup ID",
|
|
83
|
+
"merchantChannelPlaceholder": "-1001234567890 or @my_store_alerts",
|
|
84
|
+
"saveChannelIdButton": "Save Channel ID",
|
|
85
|
+
"sendTestButton": "Send Test Message",
|
|
86
|
+
"smsTitle": "SMS Carrier Driver",
|
|
87
|
+
"smsSubtitle": "Select Twilio SMS/MMS, Signal House (10DLC), MSG91 Flow, SMSAPI, or Dummy Sandbox.",
|
|
88
|
+
"smsDriverLabel": "SMS Driver",
|
|
89
|
+
"driverTwilio": "Twilio (SMS / MMS + Messaging Service)",
|
|
90
|
+
"driverSignalHouse": "Signal House (10DLC & Cart Recovery)",
|
|
91
|
+
"driverMsg91": "MSG91 Flow API",
|
|
92
|
+
"driverSmsApi": "SMSAPI",
|
|
93
|
+
"driverDummy": "Dummy OTP Sandbox (Testing)",
|
|
94
|
+
"saveSmsButton": "Save SMS Driver"
|
|
95
|
+
},
|
|
96
|
+
"logs": {
|
|
97
|
+
"title": "Redacted Delivery Ledger (PII Masked & Idempotent)",
|
|
98
|
+
"colEvent": "Event",
|
|
99
|
+
"colChannel": "Channel",
|
|
100
|
+
"colRecipient": "Recipient (Masked)",
|
|
101
|
+
"colStatus": "Status",
|
|
102
|
+
"colExternalId": "External ID"
|
|
103
|
+
},
|
|
104
|
+
"broadcasts": {
|
|
105
|
+
"title": "TCPA / 10DLC Consent Summary & Customer Group Broadcasts",
|
|
106
|
+
"smsOptedIn": "SMS Opted-In: {{count}}",
|
|
107
|
+
"whatsappOptedIn": "WhatsApp Opted-In: {{count}}",
|
|
108
|
+
"telegramLinked": "Telegram Linked: {{count}}",
|
|
109
|
+
"optedOut": "Opted-Out (STOP): {{count}}",
|
|
110
|
+
"campaignNameLabel": "Campaign Name",
|
|
111
|
+
"campaignNamePlaceholder": "Weekend Flash Sale",
|
|
112
|
+
"channelLabel": "Channel",
|
|
113
|
+
"templateLabel": "Template",
|
|
114
|
+
"sendNowButton": "Send Broadcast Now",
|
|
115
|
+
"colCampaign": "Campaign",
|
|
116
|
+
"colChannel": "Channel",
|
|
117
|
+
"colStatus": "Status",
|
|
118
|
+
"colSentTotal": "Sent / Total"
|
|
119
|
+
},
|
|
120
|
+
"sandbox": {
|
|
121
|
+
"title": "Dummy SMS / OTP & Multi-Channel Sandbox",
|
|
122
|
+
"subtitle": "Captures OTP verification codes and test notifications locally without sending real carrier messages.",
|
|
123
|
+
"clearButton": "Clear Captured Messages",
|
|
124
|
+
"colChannel": "Channel",
|
|
125
|
+
"colRecipient": "Recipient",
|
|
126
|
+
"colOtp": "Extracted OTP",
|
|
127
|
+
"colBody": "Message Body"
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"title": "Multi-Channel Order Notifications ({{count}})",
|
|
131
|
+
"subtitle": "Send or resend Email, WhatsApp/OpenWA, Telegram, or SMS for this order (with optional PDF invoice attachment).",
|
|
132
|
+
"channelPlaceholder": "Channel",
|
|
133
|
+
"templatePlaceholder": "Template",
|
|
134
|
+
"attachInvoiceLabel": "Attach Invoice PDF (if generated)",
|
|
135
|
+
"sending": "Sending...",
|
|
136
|
+
"sendResendButton": "Send / Resend Notification",
|
|
137
|
+
"dispatchedSuccess": "Dispatched {{channel}} notification",
|
|
138
|
+
"dispatchFailed": "Failed to dispatch notification",
|
|
139
|
+
"colChannel": "Channel",
|
|
140
|
+
"colEventTemplate": "Event / Template",
|
|
141
|
+
"colRecipient": "Recipient",
|
|
142
|
+
"colStatus": "Status"
|
|
143
|
+
},
|
|
144
|
+
"messages": {
|
|
145
|
+
"loadStudioError": "Failed to load Notification Studio data.",
|
|
146
|
+
"clonedPresetSuccess": "Cloned preset into editable DB template '{{label}}'.",
|
|
147
|
+
"clonePresetError": "Failed to clone system preset.",
|
|
148
|
+
"savedTemplateSuccess": "Saved template & block tree.",
|
|
149
|
+
"saveTemplateError": "Failed to save template.",
|
|
150
|
+
"createdMappingSuccess": "Created active mapping for '{{event}}' -> '{{channel}}'.",
|
|
151
|
+
"createMappingError": "Failed to create event mapping.",
|
|
152
|
+
"verifiedChannelSuccess": "Verified '{{channel}}' channel and sent test message.",
|
|
153
|
+
"savedChannelSuccess": "Saved '{{channel}}' configuration.",
|
|
154
|
+
"channelActionError": "Failed to {{action}} {{channel}}",
|
|
155
|
+
"broadcastSentSuccess": "Broadcast campaign dispatched to opted-in recipients."
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nav": {
|
|
3
|
+
"label": "Notificaciones"
|
|
4
|
+
},
|
|
5
|
+
"header": {
|
|
6
|
+
"title": "Estudio de Notificaciones Multicanal (Email, WhatsApp/OpenWA, Telegram, SMS, Slack)",
|
|
7
|
+
"subtitle": "Constructor visual de bloques y plantillas, mapeo de eventos en BD, pasarelas multi-driver, registro de consentimiento y sandbox OTP.",
|
|
8
|
+
"languageLabel": "Idioma",
|
|
9
|
+
"refresh": "Actualizar Estudio",
|
|
10
|
+
"successBadge": "ÉXITO",
|
|
11
|
+
"errorBadge": "ERROR"
|
|
12
|
+
},
|
|
13
|
+
"tabs": {
|
|
14
|
+
"templates": "Plantillas y Constructor Visual ({{count}})",
|
|
15
|
+
"mappings": "Mapeo de Eventos ({{count}})",
|
|
16
|
+
"channels": "Canales (OpenWA / Telegram / SMS)",
|
|
17
|
+
"logs": "Registros de Envío ({{count}})",
|
|
18
|
+
"broadcasts": "Campañas y Consentimiento",
|
|
19
|
+
"sandbox": "Sandbox OTP de Prueba ({{count}})"
|
|
20
|
+
},
|
|
21
|
+
"templates": {
|
|
22
|
+
"title": "Plantillas",
|
|
23
|
+
"filterChannel": "Filtrar Canal",
|
|
24
|
+
"allChannels": "Todos los Canales",
|
|
25
|
+
"modeLabel": "Modo: {{mode}}",
|
|
26
|
+
"inspectPreview": "Inspeccionar / Vista Previa",
|
|
27
|
+
"cloneToDb": "Clonar a BD",
|
|
28
|
+
"saveButton": "Guardar Plantilla y Bloques",
|
|
29
|
+
"subjectLabel": "Asunto (Email / Título)",
|
|
30
|
+
"metaTemplateLabel": "Nombre de Plantilla Meta WABA (WhatsApp Cloud)",
|
|
31
|
+
"rawContentLabel": "Contenido de Plantilla Raw (soporta {{data.*}}, {{translations.*}} y {{ .var }})",
|
|
32
|
+
"blockTreeLabel": "Árbol Visual de Bloques ({{count}} bloques)",
|
|
33
|
+
"removeBlock": "Eliminar",
|
|
34
|
+
"previewTitle": "Vista Previa Multicanal en Vivo ({{locale}})",
|
|
35
|
+
"contextPlaceholder": "Contexto",
|
|
36
|
+
"localePlaceholder": "Idioma",
|
|
37
|
+
"subjectPrefix": "Asunto: {{subject}}",
|
|
38
|
+
"encodingBadge": "Codificación: {{encoding}}",
|
|
39
|
+
"segmentsBadge": "Segmentos: {{segments}} ({{chars}} caracteres)",
|
|
40
|
+
"waButtonPrefix": "[Botón WA] {{title}}",
|
|
41
|
+
"tgInlinePrefix": "[Botón TG] {{text}}",
|
|
42
|
+
"emptySelection": "Selecciona una plantilla a la izquierda para inspeccionar sus bloques, clonar un preset del sistema o previsualizarla."
|
|
43
|
+
},
|
|
44
|
+
"mappings": {
|
|
45
|
+
"title": "Crear Mapeo Evento → Canal → Plantilla",
|
|
46
|
+
"eventLabel": "Evento de Tienda Medusa",
|
|
47
|
+
"channelLabel": "Canal",
|
|
48
|
+
"templateLabel": "Plantilla",
|
|
49
|
+
"recipientRuleLabel": "Regla de Destinatario",
|
|
50
|
+
"ruleCustomerAuto": "Cliente Automático",
|
|
51
|
+
"ruleOrderEmail": "Email del Pedido",
|
|
52
|
+
"ruleOrderPhone": "Teléfono del Pedido (E.164)",
|
|
53
|
+
"ruleCustomerTelegram": "Telegram DM del Cliente",
|
|
54
|
+
"ruleMerchantChannel": "Canal / Grupo del Comercio",
|
|
55
|
+
"ruleB2bAccounting": "Contacto de Contabilidad B2B",
|
|
56
|
+
"threadIdLabel": "ID de Tema / Hilo de Telegram (Opcional)",
|
|
57
|
+
"threadIdPlaceholder": "ej. 42",
|
|
58
|
+
"attachInvoiceLabel": "Adjuntar Factura PDF automáticamente desde medusa-documents-plugin (Email, WhatsApp/OpenWA y Telegram)",
|
|
59
|
+
"addMappingButton": "Añadir Mapeo Activo",
|
|
60
|
+
"colEvent": "Evento",
|
|
61
|
+
"colChannel": "Canal",
|
|
62
|
+
"colTemplate": "Plantilla",
|
|
63
|
+
"colRecipientRule": "Regla de Destinatario",
|
|
64
|
+
"colAttachments": "Adjuntos",
|
|
65
|
+
"colAction": "Acción",
|
|
66
|
+
"deleteButton": "Eliminar"
|
|
67
|
+
},
|
|
68
|
+
"channels": {
|
|
69
|
+
"whatsappTitle": "Pasarela WhatsApp y OpenWA",
|
|
70
|
+
"whatsappSubtitle": "Alterna entre Meta Cloud API Oficial (Plantillas WABA) y servidores propios OpenWA / WAHA / Evolution API.",
|
|
71
|
+
"activeDriverLabel": "Driver Activo",
|
|
72
|
+
"driverMetaCloud": "Meta Cloud API (WABA Oficial)",
|
|
73
|
+
"driverOpenWa": "OpenWA (@open-wa/wa-automate REST)",
|
|
74
|
+
"driverWaha": "WAHA (WhatsApp HTTP API)",
|
|
75
|
+
"driverEvolution": "Evolution API v2",
|
|
76
|
+
"gatewayUrlLabel": "URL de Pasarela OpenWA / WAHA / Evolution",
|
|
77
|
+
"saveWhatsappButton": "Guardar Driver WhatsApp",
|
|
78
|
+
"telegramTitle": "Notificaciones de Telegram",
|
|
79
|
+
"verifiedBadge": "Verificado",
|
|
80
|
+
"unverifiedBadge": "Sin Verificar",
|
|
81
|
+
"telegramSubtitle": "Configura el supergrupo del comercio (-100... o @canal). Cambiar el ID reinicia la verificación hasta enviar un mensaje de prueba.",
|
|
82
|
+
"merchantChannelLabel": "ID de Canal / Supergrupo del Comercio",
|
|
83
|
+
"merchantChannelPlaceholder": "-1001234567890 o @mis_alertas",
|
|
84
|
+
"saveChannelIdButton": "Guardar ID de Canal",
|
|
85
|
+
"sendTestButton": "Enviar Mensaje de Prueba",
|
|
86
|
+
"smsTitle": "Driver de Operador SMS",
|
|
87
|
+
"smsSubtitle": "Selecciona Twilio SMS/MMS, Signal House (10DLC), MSG91 Flow, SMSAPI o Sandbox OTP.",
|
|
88
|
+
"smsDriverLabel": "Driver SMS",
|
|
89
|
+
"driverTwilio": "Twilio (SMS / MMS + Messaging Service)",
|
|
90
|
+
"driverSignalHouse": "Signal House (10DLC y Recuperación de Carrito)",
|
|
91
|
+
"driverMsg91": "MSG91 Flow API",
|
|
92
|
+
"driverSmsApi": "SMSAPI",
|
|
93
|
+
"driverDummy": "Sandbox OTP Dummy (Pruebas)",
|
|
94
|
+
"saveSmsButton": "Guardar Driver SMS"
|
|
95
|
+
},
|
|
96
|
+
"logs": {
|
|
97
|
+
"title": "Registro de Entregas Redactado (PII Enmascarado e Idempotente)",
|
|
98
|
+
"colEvent": "Evento",
|
|
99
|
+
"colChannel": "Canal",
|
|
100
|
+
"colRecipient": "Destinatario (Enmascarado)",
|
|
101
|
+
"colStatus": "Estado",
|
|
102
|
+
"colExternalId": "ID Externo"
|
|
103
|
+
},
|
|
104
|
+
"broadcasts": {
|
|
105
|
+
"title": "Resumen de Consentimiento TCPA / 10DLC y Difusiones a Clientes",
|
|
106
|
+
"smsOptedIn": "SMS Suscritos: {{count}}",
|
|
107
|
+
"whatsappOptedIn": "WhatsApp Suscritos: {{count}}",
|
|
108
|
+
"telegramLinked": "Telegram Vinculados: {{count}}",
|
|
109
|
+
"optedOut": "Bajas (STOP): {{count}}",
|
|
110
|
+
"campaignNameLabel": "Nombre de Campaña",
|
|
111
|
+
"campaignNamePlaceholder": "Oferta Relámpago de Fin de Semana",
|
|
112
|
+
"channelLabel": "Canal",
|
|
113
|
+
"templateLabel": "Plantilla",
|
|
114
|
+
"sendNowButton": "Enviar Difusión Ahora",
|
|
115
|
+
"colCampaign": "Campaña",
|
|
116
|
+
"colChannel": "Canal",
|
|
117
|
+
"colStatus": "Estado",
|
|
118
|
+
"colSentTotal": "Enviados / Total"
|
|
119
|
+
},
|
|
120
|
+
"sandbox": {
|
|
121
|
+
"title": "Sandbox Local de SMS / OTP y Multicanal",
|
|
122
|
+
"subtitle": "Captura códigos OTP de verificación y notificaciones de prueba localmente sin enviar mensajes reales.",
|
|
123
|
+
"clearButton": "Limpiar Mensajes Capturados",
|
|
124
|
+
"colChannel": "Canal",
|
|
125
|
+
"colRecipient": "Destinatario",
|
|
126
|
+
"colOtp": "OTP Extraído",
|
|
127
|
+
"colBody": "Cuerpo del Mensaje"
|
|
128
|
+
},
|
|
129
|
+
"widget": {
|
|
130
|
+
"title": "Notificaciones Multicanal del Pedido ({{count}})",
|
|
131
|
+
"subtitle": "Envía o reenvía Email, WhatsApp/OpenWA, Telegram o SMS para este pedido (con factura PDF opcional).",
|
|
132
|
+
"channelPlaceholder": "Canal",
|
|
133
|
+
"templatePlaceholder": "Plantilla",
|
|
134
|
+
"attachInvoiceLabel": "Adjuntar Factura PDF (si fue generada)",
|
|
135
|
+
"sending": "Enviando...",
|
|
136
|
+
"sendResendButton": "Enviar / Reenviar Notificación",
|
|
137
|
+
"dispatchedSuccess": "Notificación enviada por {{channel}}",
|
|
138
|
+
"dispatchFailed": "Error al enviar la notificación",
|
|
139
|
+
"colChannel": "Canal",
|
|
140
|
+
"colEventTemplate": "Evento / Plantilla",
|
|
141
|
+
"colRecipient": "Destinatario",
|
|
142
|
+
"colStatus": "Estado"
|
|
143
|
+
},
|
|
144
|
+
"messages": {
|
|
145
|
+
"loadStudioError": "Error al cargar los datos del Estudio de Notificaciones.",
|
|
146
|
+
"clonedPresetSuccess": "Preset clonado en plantilla editable '{{label}}'.",
|
|
147
|
+
"clonePresetError": "Error al clonar el preset del sistema.",
|
|
148
|
+
"savedTemplateSuccess": "Plantilla y árbol de bloques guardados.",
|
|
149
|
+
"saveTemplateError": "Error al guardar la plantilla.",
|
|
150
|
+
"createdMappingSuccess": "Mapeo activo creado para '{{event}}' -> '{{channel}}'.",
|
|
151
|
+
"createMappingError": "Error al crear el mapeo de eventos.",
|
|
152
|
+
"verifiedChannelSuccess": "Canal '{{channel}}' verificado y mensaje de prueba enviado.",
|
|
153
|
+
"savedChannelSuccess": "Configuración de '{{channel}}' guardada.",
|
|
154
|
+
"channelActionError": "Error al ejecutar {{action}} en {{channel}}",
|
|
155
|
+
"broadcastSentSuccess": "Campaña de difusión enviada a los destinatarios suscritos."
|
|
156
|
+
}
|
|
157
|
+
}
|