@acorex-platform/extension-communication-telegram-client 0.0.54 → 0.0.56

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.
@@ -0,0 +1,122 @@
1
+ {
2
+ "settings": {
3
+ "telegram": {
4
+ "test": {
5
+ "action": "Send Test Message",
6
+ "dialog": {
7
+ "title": "Send Telegram Test Message",
8
+ "actions": {
9
+ "send": "Send Test Message"
10
+ },
11
+ "fields": {
12
+ "chat-id": {
13
+ "title": "Chat ID",
14
+ "placeholder": "Enter Telegram chat ID"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "chat-id-required": "Telegram chat ID is required.",
20
+ "success": "Test message sent successfully.",
21
+ "failed": "Telegram test failed."
22
+ }
23
+ },
24
+ "errors": {
25
+ "chat-id-required": "Telegram chat ID is required.",
26
+ "bot-token-not-configured": "Telegram is not connected yet. Connect Telegram in Administration → Integrations first.",
27
+ "tenant-required": "Tenant context is required to send a test message.",
28
+ "chat-not-found": "Telegram chat was not found. Verify the chat ID and make sure you have started a conversation with the bot.",
29
+ "bot-unauthorized": "Telegram rejected the bot token. Verify the token from BotFather.",
30
+ "bot-blocked": "The bot was blocked by this chat. Unblock the bot and try again.",
31
+ "bot-cannot-initiate": "The bot cannot message this chat until the user starts the bot or adds it to the group.",
32
+ "api-error": "Telegram could not send the message. Check bot settings and try again."
33
+ }
34
+ },
35
+ "tenant-integration": {
36
+ "section-title": "Communication",
37
+ "section-description": "Connect messaging providers used to send tenant communications.",
38
+ "connections-panel": {
39
+ "title": "Providers",
40
+ "description": "Connect Telegram, WhatsApp, and other communication providers for this tenant."
41
+ }
42
+ },
43
+ "user-integration": {
44
+ "section-title": "Telegram",
45
+ "section-description": "Connect your Telegram account to receive platform messages.",
46
+ "connection-title": "Account",
47
+ "connection-description": "Link Telegram so the platform can send you messages.",
48
+ "not-configured-badge": "Not Configured",
49
+ "not-configured-notice": "Telegram is not connected yet. Ask an administrator to connect Telegram in Administration → Integrations."
50
+ },
51
+ "delivery-channel": {
52
+ "title": "Telegram",
53
+ "description": "Receive communications on Telegram when your Telegram account is connected."
54
+ }
55
+ },
56
+ "integration": {
57
+ "display-name": "Telegram",
58
+ "description": "Connect a Telegram bot for outbound messages, or link your account to receive them.",
59
+ "domain": {
60
+ "title": "Communication",
61
+ "description": "Messaging providers for outbound communications."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "Telegram bot link",
66
+ "instructions": "Open your bot in Telegram and press Start to link your account."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "Connect Telegram",
73
+ "configure-title": "Configure Telegram",
74
+ "instructions": "<p>Paste the bot token from <a href=\"https://t.me/BotFather\" target=\"_blank\" rel=\"noopener noreferrer\">@BotFather</a>.</p>",
75
+ "fields": {
76
+ "display-name": "Display Name",
77
+ "bot-token": "Bot Token"
78
+ },
79
+ "placeholders": {
80
+ "display-name": "Telegram",
81
+ "bot-token": "Enter bot token"
82
+ },
83
+ "actions": {
84
+ "save": "Save"
85
+ }
86
+ },
87
+ "messages": {
88
+ "bot-token-required": "Bot token is required.",
89
+ "success": "Telegram bot connected successfully."
90
+ }
91
+ },
92
+ "dialog": {
93
+ "title": "Connect Telegram",
94
+ "instructions": "<p>Click <strong>Connect</strong> to open the Telegram bot, press <strong>Start</strong>, and keep this window open while we confirm the connection.</p><p>If automatic linking does not work, paste your numeric chat ID below (from <a href=\"https://t.me/userinfobot\" target=\"_blank\" rel=\"noopener noreferrer\">@userinfobot</a>) and click <strong>Connect</strong>.</p>",
95
+ "manual-hint": "If automatic linking does not work, paste your numeric chat ID below (from @userinfobot) and click Connect.",
96
+ "fields": {
97
+ "chat-id": {
98
+ "title": "Chat ID (optional)",
99
+ "placeholder": "Enter numeric chat ID"
100
+ }
101
+ },
102
+ "actions": {
103
+ "connect": "Connect"
104
+ }
105
+ },
106
+ "messages": {
107
+ "expired": "The Telegram link expired. Try connecting again.",
108
+ "timeout": "Telegram connection timed out. Open the bot, press Start, and try again.",
109
+ "failed": "Telegram connection failed.",
110
+ "success": "Telegram account connected successfully."
111
+ }
112
+ }
113
+ },
114
+ "templates": {
115
+ "channels": {
116
+ "telegram": "Telegram",
117
+ "not-configured": {
118
+ "telegram": "Telegram is not connected yet. You can draft templates now, but messages will not send until Telegram is connected in Integrations."
119
+ }
120
+ }
121
+ }
122
+ }
@@ -0,0 +1,122 @@
1
+ {
2
+ "settings": {
3
+ "telegram": {
4
+ "test": {
5
+ "action": "Send Test Message",
6
+ "dialog": {
7
+ "title": "Send Telegram Test Message",
8
+ "actions": {
9
+ "send": "Send Test Message"
10
+ },
11
+ "fields": {
12
+ "chat-id": {
13
+ "title": "Chat ID",
14
+ "placeholder": "Enter Telegram chat ID"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "chat-id-required": "Telegram chat ID is required.",
20
+ "success": "Test message sent successfully.",
21
+ "failed": "Telegram test failed."
22
+ }
23
+ },
24
+ "errors": {
25
+ "chat-id-required": "Telegram chat ID is required.",
26
+ "bot-token-not-configured": "Telegram is not connected yet. Connect Telegram in Administration → Integrations first.",
27
+ "tenant-required": "Tenant context is required to send a test message.",
28
+ "chat-not-found": "Telegram chat was not found. Verify the chat ID and make sure you have started a conversation with the bot.",
29
+ "bot-unauthorized": "Telegram rejected the bot token. Verify the token from BotFather.",
30
+ "bot-blocked": "The bot was blocked by this chat. Unblock the bot and try again.",
31
+ "bot-cannot-initiate": "The bot cannot message this chat until the user starts the bot or adds it to the group.",
32
+ "api-error": "Telegram could not send the message. Check bot settings and try again."
33
+ }
34
+ },
35
+ "tenant-integration": {
36
+ "section-title": "Communication",
37
+ "section-description": "Connect messaging providers used to send tenant communications.",
38
+ "connections-panel": {
39
+ "title": "Providers",
40
+ "description": "Connect Telegram, WhatsApp, and other communication providers for this tenant."
41
+ }
42
+ },
43
+ "user-integration": {
44
+ "section-title": "Telegram",
45
+ "section-description": "Connect your Telegram account to receive platform messages.",
46
+ "connection-title": "Account",
47
+ "connection-description": "Link Telegram so the platform can send you messages.",
48
+ "not-configured-badge": "Not Configured",
49
+ "not-configured-notice": "Telegram is not connected yet. Ask an administrator to connect Telegram in Administration → Integrations."
50
+ },
51
+ "delivery-channel": {
52
+ "title": "Telegram",
53
+ "description": "Receive communications on Telegram when your Telegram account is connected."
54
+ }
55
+ },
56
+ "integration": {
57
+ "display-name": "Telegram",
58
+ "description": "Connect a Telegram bot for outbound messages, or link your account to receive them.",
59
+ "domain": {
60
+ "title": "Communication",
61
+ "description": "Messaging providers for outbound communications."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "Telegram bot link",
66
+ "instructions": "Open your bot in Telegram and press Start to link your account."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "Connect Telegram",
73
+ "configure-title": "Configure Telegram",
74
+ "instructions": "<p>Paste the bot token from <a href=\"https://t.me/BotFather\" target=\"_blank\" rel=\"noopener noreferrer\">@BotFather</a>.</p>",
75
+ "fields": {
76
+ "display-name": "Display Name",
77
+ "bot-token": "Bot Token"
78
+ },
79
+ "placeholders": {
80
+ "display-name": "Telegram",
81
+ "bot-token": "Enter bot token"
82
+ },
83
+ "actions": {
84
+ "save": "Save"
85
+ }
86
+ },
87
+ "messages": {
88
+ "bot-token-required": "Bot token is required.",
89
+ "success": "Telegram bot connected successfully."
90
+ }
91
+ },
92
+ "dialog": {
93
+ "title": "Connect Telegram",
94
+ "instructions": "<p>Click <strong>Connect</strong> to open the Telegram bot, press <strong>Start</strong>, and keep this window open while we confirm the connection.</p><p>If automatic linking does not work, paste your numeric chat ID below (from <a href=\"https://t.me/userinfobot\" target=\"_blank\" rel=\"noopener noreferrer\">@userinfobot</a>) and click <strong>Connect</strong>.</p>",
95
+ "manual-hint": "If automatic linking does not work, paste your numeric chat ID below (from @userinfobot) and click Connect.",
96
+ "fields": {
97
+ "chat-id": {
98
+ "title": "Chat ID (optional)",
99
+ "placeholder": "Enter numeric chat ID"
100
+ }
101
+ },
102
+ "actions": {
103
+ "connect": "Connect"
104
+ }
105
+ },
106
+ "messages": {
107
+ "expired": "The Telegram link expired. Try connecting again.",
108
+ "timeout": "Telegram connection timed out. Open the bot, press Start, and try again.",
109
+ "failed": "Telegram connection failed.",
110
+ "success": "Telegram account connected successfully."
111
+ }
112
+ }
113
+ },
114
+ "templates": {
115
+ "channels": {
116
+ "telegram": "Telegram",
117
+ "not-configured": {
118
+ "telegram": "Telegram is not connected yet. You can draft templates now, but messages will not send until Telegram is connected in Integrations."
119
+ }
120
+ }
121
+ }
122
+ }
@@ -0,0 +1,122 @@
1
+ {
2
+ "settings": {
3
+ "telegram": {
4
+ "test": {
5
+ "action": "ارسال پیام آزمایشی",
6
+ "dialog": {
7
+ "title": "ارسال پیام آزمایشی تلگرام",
8
+ "actions": {
9
+ "send": "ارسال پیام آزمایشی"
10
+ },
11
+ "fields": {
12
+ "chat-id": {
13
+ "title": "شناسه گفتگو",
14
+ "placeholder": "شناسه گفتگوی تلگرام را وارد کنید"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "chat-id-required": "شناسه گفتگوی تلگرام الزامی است.",
20
+ "success": "پیام آزمایشی با موفقیت ارسال شد.",
21
+ "failed": "آزمایش تلگرام ناموفق بود."
22
+ }
23
+ },
24
+ "errors": {
25
+ "chat-id-required": "شناسه گفتگوی تلگرام الزامی است.",
26
+ "bot-token-not-configured": "تلگرام هنوز متصل نشده است. ابتدا تلگرام را در مدیریت ← یکپارچه‌سازی‌ها متصل کنید.",
27
+ "tenant-required": "برای ارسال پیام آزمایشی، زمینه مستاجر الزامی است.",
28
+ "chat-not-found": "گفتگوی تلگرام پیدا نشد. شناسه گفتگو را بررسی کنید و مطمئن شوید با ربات گفتگو را آغاز کرده‌اید.",
29
+ "bot-unauthorized": "تلگرام توکن ربات را رد کرد. توکن را از BotFather بررسی کنید.",
30
+ "bot-blocked": "ربات توسط این گفتگو مسدود شده است. ربات را از مسدودیت خارج کنید و دوباره تلاش کنید.",
31
+ "bot-cannot-initiate": "ربات تا زمانی که کاربر ربات را آغاز کند یا آن را به گروه اضافه کند، نمی‌تواند به این گفتگو پیام بدهد.",
32
+ "api-error": "تلگرام نتوانست پیام را ارسال کند. تنظیمات ربات را بررسی کنید و دوباره تلاش کنید."
33
+ }
34
+ },
35
+ "tenant-integration": {
36
+ "section-title": "ارتباطات",
37
+ "section-description": "ارائه‌دهندگان پیام‌رسانی مورد استفاده برای ارسال ارتباطات مستاجر را متصل کنید.",
38
+ "connections-panel": {
39
+ "title": "ارائه‌دهندگان",
40
+ "description": "تلگرام، واتساپ و سایر ارائه‌دهندگان ارتباطی را برای این مستاجر متصل کنید."
41
+ }
42
+ },
43
+ "user-integration": {
44
+ "section-title": "تلگرام",
45
+ "section-description": "حساب تلگرام خود را برای دریافت پیام‌های پلتفرم متصل کنید.",
46
+ "connection-title": "حساب",
47
+ "connection-description": "تلگرام را متصل کنید تا پلتفرم بتواند برای شما پیام ارسال کند.",
48
+ "not-configured-badge": "پیکربندی نشده",
49
+ "not-configured-notice": "تلگرام هنوز متصل نشده است. از مدیر بخواهید تلگرام را در مدیریت ← یکپارچه‌سازی‌ها متصل کند."
50
+ },
51
+ "delivery-channel": {
52
+ "title": "تلگرام",
53
+ "description": "دریافت ارتباطات در تلگرام وقتی حساب تلگرام شما متصل است."
54
+ }
55
+ },
56
+ "integration": {
57
+ "display-name": "Telegram",
58
+ "description": "ربات Telegram را برای پیام‌های خروجی متصل کنید، یا حساب خود را برای دریافت پیام‌ها پیوند دهید.",
59
+ "domain": {
60
+ "title": "ارتباطات",
61
+ "description": "ارائه‌دهندگان پیام‌رسانی برای ارتباطات خروجی."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "اتصال ربات تلگرام",
66
+ "instructions": "ربات را در تلگرام باز کنید و Start را بزنید تا حساب شما متصل شود."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "اتصال تلگرام",
73
+ "configure-title": "پیکربندی تلگرام",
74
+ "instructions": "<p>توکن ربات را از <a href=\"https://t.me/BotFather\" target=\"_blank\" rel=\"noopener noreferrer\">@BotFather</a> جای‌گذاری کنید.</p>",
75
+ "fields": {
76
+ "display-name": "نام نمایشی",
77
+ "bot-token": "توکن ربات"
78
+ },
79
+ "placeholders": {
80
+ "display-name": "Telegram",
81
+ "bot-token": "توکن ربات را وارد کنید"
82
+ },
83
+ "actions": {
84
+ "save": "ذخیره"
85
+ }
86
+ },
87
+ "messages": {
88
+ "bot-token-required": "توکن ربات الزامی است.",
89
+ "success": "ربات تلگرام با موفقیت متصل شد."
90
+ }
91
+ },
92
+ "dialog": {
93
+ "title": "اتصال تلگرام",
94
+ "instructions": "<p><strong>اتصال</strong> را بزنید تا ربات تلگرام باز شود، <strong>Start</strong> را فشار دهید و این پنجره را تا تأیید اتصال باز نگه دارید.</p><p>اگر اتصال خودکار کار نکرد، شناسه عددی گفتگو را از <a href=\"https://t.me/userinfobot\" target=\"_blank\" rel=\"noopener noreferrer\">@userinfobot</a> در فیلد زیر بگذارید و <strong>اتصال</strong> را بزنید.</p>",
95
+ "manual-hint": "اگر اتصال خودکار کار نکرد، شناسه عددی گفتگو را از @userinfobot در فیلد زیر بگذارید و Connect را بزنید.",
96
+ "fields": {
97
+ "chat-id": {
98
+ "title": "شناسه گفتگو (اختیاری)",
99
+ "placeholder": "شناسه عددی گفتگو را وارد کنید"
100
+ }
101
+ },
102
+ "actions": {
103
+ "connect": "اتصال"
104
+ }
105
+ },
106
+ "messages": {
107
+ "expired": "لینک تلگرام منقضی شد. دوباره تلاش کنید.",
108
+ "timeout": "اتصال تلگرام زمان‌دار شد. ربات را باز کنید، Start را بزنید و دوباره تلاش کنید.",
109
+ "failed": "اتصال تلگرام ناموفق بود.",
110
+ "success": "حساب تلگرام با موفقیت متصل شد."
111
+ }
112
+ }
113
+ },
114
+ "templates": {
115
+ "channels": {
116
+ "telegram": "تلگرام",
117
+ "not-configured": {
118
+ "telegram": "تلگرام هنوز متصل نشده است. می‌توانید همین حالا قالب بنویسید، اما تا اتصال تلگرام در یکپارچه‌سازی‌ها پیامی ارسال نمی‌شود."
119
+ }
120
+ }
121
+ }
122
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/extension-communication-telegram-client",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0 || ^22.0.0",