@acorex-platform/extension-communication-meta-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,129 @@
1
+ {
2
+ "settings": {
3
+ "whatsapp": {
4
+ "test": {
5
+ "action": "Send Test Message",
6
+ "dialog": {
7
+ "title": "Send WhatsApp Test Message",
8
+ "actions": {
9
+ "send": "Send Test Message"
10
+ },
11
+ "fields": {
12
+ "phone-number": {
13
+ "title": "Phone Number",
14
+ "placeholder": "Enter E.164 phone number (e.g. 15551234567)"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "phone-number-required": "WhatsApp phone number is required.",
20
+ "success": "Test message sent successfully.",
21
+ "failed": "WhatsApp test failed."
22
+ }
23
+ },
24
+ "errors": {
25
+ "phone-number-required": "WhatsApp phone number is required.",
26
+ "access-token-not-configured": "WhatsApp is not connected yet. Connect WhatsApp in Administration → Integrations first.",
27
+ "phone-number-id-not-configured": "WhatsApp phone number ID is missing. Reconnect WhatsApp in Administration → Integrations.",
28
+ "tenant-required": "Tenant context is required to send a test message.",
29
+ "recipient-not-found": "WhatsApp could not deliver to this phone number. Verify the number and opt-in status.",
30
+ "unauthorized": "Meta rejected the access token. Verify the token and WhatsApp Business permissions.",
31
+ "outside-window": "Free-form messages are only allowed inside the 24-hour customer service window. Use an approved template outside that window.",
32
+ "api-error": "WhatsApp could not send the message. Check Meta 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": "WhatsApp",
45
+ "section-description": "Connect your WhatsApp number to receive platform messages.",
46
+ "connection-title": "Account",
47
+ "connection-description": "Link a WhatsApp phone number so the platform can send you messages.",
48
+ "not-configured-badge": "Not Configured",
49
+ "not-configured-notice": "WhatsApp is not connected yet. Ask an administrator to connect WhatsApp in Administration → Integrations."
50
+ },
51
+ "delivery-channel": {
52
+ "title": "WhatsApp",
53
+ "description": "Receive communications on WhatsApp when your WhatsApp account is connected."
54
+ }
55
+ },
56
+ "integration": {
57
+ "display-name": "WhatsApp",
58
+ "description": "Connect WhatsApp Cloud API for outbound messages, or link your number to receive them.",
59
+ "domain": {
60
+ "title": "Communication",
61
+ "description": "Messaging providers for outbound communications."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "WhatsApp phone number",
66
+ "instructions": "Enter the E.164 phone number that should receive platform WhatsApp messages."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "Connect WhatsApp",
73
+ "configure-title": "Configure WhatsApp",
74
+ "instructions": "<p>Enter your Meta WhatsApp Cloud API credentials from the Meta developer console.</p>",
75
+ "fields": {
76
+ "display-name": "Display Name",
77
+ "access-token": "Access Token",
78
+ "phone-number-id": "Phone Number ID",
79
+ "webhook-verify-token": "Webhook Verify Token",
80
+ "app-secret": "App Secret"
81
+ },
82
+ "placeholders": {
83
+ "display-name": "WhatsApp",
84
+ "access-token": "Enter access token",
85
+ "phone-number-id": "Enter phone number ID",
86
+ "webhook-verify-token": "Optional verify token",
87
+ "app-secret": "Optional app secret"
88
+ },
89
+ "actions": {
90
+ "save": "Save"
91
+ }
92
+ },
93
+ "messages": {
94
+ "credentials-required": "Access token and phone number ID are required.",
95
+ "success": "WhatsApp Cloud API connected successfully."
96
+ }
97
+ },
98
+ "dialog": {
99
+ "title": "Connect WhatsApp",
100
+ "instructions": "<p>Enter the <strong>E.164 phone number</strong> that should receive platform WhatsApp messages (digits with country code, optional leading +).</p><p>The recipient must have opted in to messages from your WhatsApp Business number. Free-form text only works inside the 24-hour customer service window.</p>",
101
+ "fields": {
102
+ "phone-number": {
103
+ "title": "Phone Number",
104
+ "placeholder": "15551234567"
105
+ },
106
+ "display-name": {
107
+ "title": "Display Name (Optional)",
108
+ "placeholder": "Optional label"
109
+ }
110
+ },
111
+ "actions": {
112
+ "connect": "Connect"
113
+ }
114
+ },
115
+ "messages": {
116
+ "failed": "WhatsApp connection failed.",
117
+ "success": "WhatsApp number connected successfully."
118
+ }
119
+ }
120
+ },
121
+ "templates": {
122
+ "channels": {
123
+ "whatsapp": "WhatsApp",
124
+ "not-configured": {
125
+ "whatsapp": "WhatsApp is not connected yet. You can draft templates now, but messages will not send until WhatsApp is connected in Administration → Integrations."
126
+ }
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "settings": {
3
+ "whatsapp": {
4
+ "test": {
5
+ "action": "Send Test Message",
6
+ "dialog": {
7
+ "title": "Send WhatsApp Test Message",
8
+ "actions": {
9
+ "send": "Send Test Message"
10
+ },
11
+ "fields": {
12
+ "phone-number": {
13
+ "title": "Phone Number",
14
+ "placeholder": "Enter E.164 phone number (e.g. 15551234567)"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "phone-number-required": "WhatsApp phone number is required.",
20
+ "success": "Test message sent successfully.",
21
+ "failed": "WhatsApp test failed."
22
+ }
23
+ },
24
+ "errors": {
25
+ "phone-number-required": "WhatsApp phone number is required.",
26
+ "access-token-not-configured": "WhatsApp is not connected yet. Connect WhatsApp in Administration → Integrations first.",
27
+ "phone-number-id-not-configured": "WhatsApp phone number ID is missing. Reconnect WhatsApp in Administration → Integrations.",
28
+ "tenant-required": "Tenant context is required to send a test message.",
29
+ "recipient-not-found": "WhatsApp could not deliver to this phone number. Verify the number and opt-in status.",
30
+ "unauthorized": "Meta rejected the access token. Verify the token and WhatsApp Business permissions.",
31
+ "outside-window": "Free-form messages are only allowed inside the 24-hour customer service window. Use an approved template outside that window.",
32
+ "api-error": "WhatsApp could not send the message. Check Meta 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": "WhatsApp",
45
+ "section-description": "Connect your WhatsApp number to receive platform messages.",
46
+ "connection-title": "Account",
47
+ "connection-description": "Link a WhatsApp phone number so the platform can send you messages.",
48
+ "not-configured-badge": "Not Configured",
49
+ "not-configured-notice": "WhatsApp is not connected yet. Ask an administrator to connect WhatsApp in Administration → Integrations."
50
+ },
51
+ "delivery-channel": {
52
+ "title": "WhatsApp",
53
+ "description": "Receive communications on WhatsApp when your WhatsApp account is connected."
54
+ }
55
+ },
56
+ "integration": {
57
+ "display-name": "WhatsApp",
58
+ "description": "Connect WhatsApp Cloud API for outbound messages, or link your number to receive them.",
59
+ "domain": {
60
+ "title": "Communication",
61
+ "description": "Messaging providers for outbound communications."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "WhatsApp phone number",
66
+ "instructions": "Enter the E.164 phone number that should receive platform WhatsApp messages."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "Connect WhatsApp",
73
+ "configure-title": "Configure WhatsApp",
74
+ "instructions": "<p>Enter your Meta WhatsApp Cloud API credentials from the Meta developer console.</p>",
75
+ "fields": {
76
+ "display-name": "Display Name",
77
+ "access-token": "Access Token",
78
+ "phone-number-id": "Phone Number ID",
79
+ "webhook-verify-token": "Webhook Verify Token",
80
+ "app-secret": "App Secret"
81
+ },
82
+ "placeholders": {
83
+ "display-name": "WhatsApp",
84
+ "access-token": "Enter access token",
85
+ "phone-number-id": "Enter phone number ID",
86
+ "webhook-verify-token": "Optional verify token",
87
+ "app-secret": "Optional app secret"
88
+ },
89
+ "actions": {
90
+ "save": "Save"
91
+ }
92
+ },
93
+ "messages": {
94
+ "credentials-required": "Access token and phone number ID are required.",
95
+ "success": "WhatsApp Cloud API connected successfully."
96
+ }
97
+ },
98
+ "dialog": {
99
+ "title": "Connect WhatsApp",
100
+ "instructions": "<p>Enter the <strong>E.164 phone number</strong> that should receive platform WhatsApp messages (digits with country code, optional leading +).</p><p>The recipient must have opted in to messages from your WhatsApp Business number. Free-form text only works inside the 24-hour customer service window.</p>",
101
+ "fields": {
102
+ "phone-number": {
103
+ "title": "Phone Number",
104
+ "placeholder": "15551234567"
105
+ },
106
+ "display-name": {
107
+ "title": "Display Name (Optional)",
108
+ "placeholder": "Optional label"
109
+ }
110
+ },
111
+ "actions": {
112
+ "connect": "Connect"
113
+ }
114
+ },
115
+ "messages": {
116
+ "failed": "WhatsApp connection failed.",
117
+ "success": "WhatsApp number connected successfully."
118
+ }
119
+ }
120
+ },
121
+ "templates": {
122
+ "channels": {
123
+ "whatsapp": "WhatsApp",
124
+ "not-configured": {
125
+ "whatsapp": "WhatsApp is not connected yet. You can draft templates now, but messages will not send until WhatsApp is connected in Administration → Integrations."
126
+ }
127
+ }
128
+ }
129
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "settings": {
3
+ "whatsapp": {
4
+ "test": {
5
+ "action": "ارسال پیام آزمایشی",
6
+ "dialog": {
7
+ "title": "ارسال پیام آزمایشی واتساپ",
8
+ "actions": {
9
+ "send": "ارسال پیام آزمایشی"
10
+ },
11
+ "fields": {
12
+ "phone-number": {
13
+ "title": "شماره تلفن",
14
+ "placeholder": "شماره با فرمت E.164 وارد کنید (مثلاً 989121234567)"
15
+ }
16
+ }
17
+ },
18
+ "messages": {
19
+ "phone-number-required": "شماره تلفن واتساپ الزامی است.",
20
+ "success": "پیام آزمایشی با موفقیت ارسال شد.",
21
+ "failed": "آزمایش واتساپ ناموفق بود."
22
+ }
23
+ },
24
+ "errors": {
25
+ "phone-number-required": "شماره تلفن واتساپ الزامی است.",
26
+ "access-token-not-configured": "واتساپ هنوز متصل نشده است. ابتدا واتساپ را در مدیریت ← یکپارچه‌سازی‌ها متصل کنید.",
27
+ "phone-number-id-not-configured": "شناسه شماره تلفن واتساپ موجود نیست. واتساپ را دوباره در مدیریت ← یکپارچه‌سازی‌ها متصل کنید.",
28
+ "tenant-required": "برای ارسال پیام آزمایشی، زمینه مستاجر الزامی است.",
29
+ "recipient-not-found": "واتساپ نتوانست به این شماره ارسال کند. شماره و وضعیت opt-in را بررسی کنید.",
30
+ "unauthorized": "متا توکن دسترسی را رد کرد. توکن و مجوزهای واتساپ بیزینس را بررسی کنید.",
31
+ "outside-window": "پیام‌های آزاد فقط در پنجره ۲۴ ساعته پشتیبانی مشتری مجاز هستند. خارج از این پنجره از قالب تأییدشده استفاده کنید.",
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": "WhatsApp",
58
+ "description": "WhatsApp Cloud API را برای پیام‌های خروجی متصل کنید، یا شماره خود را برای دریافت پیام‌ها پیوند دهید.",
59
+ "domain": {
60
+ "title": "ارتباطات",
61
+ "description": "ارائه‌دهندگان پیام‌رسانی برای ارتباطات خروجی."
62
+ },
63
+ "auth": {
64
+ "link": {
65
+ "label": "شماره تلفن واتساپ",
66
+ "instructions": "شماره تلفن با فرمت E.164 را وارد کنید که باید پیام‌های واتساپ پلتفرم را دریافت کند."
67
+ }
68
+ },
69
+ "connect": {
70
+ "tenant": {
71
+ "dialog": {
72
+ "title": "اتصال واتساپ",
73
+ "configure-title": "پیکربندی واتساپ",
74
+ "instructions": "<p>اعتبارنامه‌های Meta WhatsApp Cloud API را از کنسول توسعه‌دهندگان متا وارد کنید.</p>",
75
+ "fields": {
76
+ "display-name": "نام نمایشی",
77
+ "access-token": "توکن دسترسی",
78
+ "phone-number-id": "شناسه شماره تلفن",
79
+ "webhook-verify-token": "توکن تأیید وب‌هوک",
80
+ "app-secret": "رمز اپلیکیشن"
81
+ },
82
+ "placeholders": {
83
+ "display-name": "WhatsApp",
84
+ "access-token": "توکن دسترسی را وارد کنید",
85
+ "phone-number-id": "شناسه شماره تلفن را وارد کنید",
86
+ "webhook-verify-token": "توکن تأیید اختیاری",
87
+ "app-secret": "رمز اپلیکیشن اختیاری"
88
+ },
89
+ "actions": {
90
+ "save": "ذخیره"
91
+ }
92
+ },
93
+ "messages": {
94
+ "credentials-required": "توکن دسترسی و شناسه شماره تلفن الزامی هستند.",
95
+ "success": "WhatsApp Cloud API با موفقیت متصل شد."
96
+ }
97
+ },
98
+ "dialog": {
99
+ "title": "اتصال واتساپ",
100
+ "instructions": "<p><strong>شماره تلفن با فرمت E.164</strong> را وارد کنید که باید پیام‌های واتساپ پلتفرم را دریافت کند (ارقام با کد کشور، علامت + اختیاری).</p><p>گیرنده باید برای دریافت پیام از شماره واتساپ بیزینس شما opt-in کرده باشد. متن آزاد فقط داخل پنجره ۲۴ ساعته پشتیبانی مشتری کار می‌کند.</p>",
101
+ "fields": {
102
+ "phone-number": {
103
+ "title": "شماره تلفن",
104
+ "placeholder": "989121234567"
105
+ },
106
+ "display-name": {
107
+ "title": "نام نمایشی (اختیاری)",
108
+ "placeholder": "برچسب اختیاری"
109
+ }
110
+ },
111
+ "actions": {
112
+ "connect": "اتصال"
113
+ }
114
+ },
115
+ "messages": {
116
+ "failed": "اتصال واتساپ ناموفق بود.",
117
+ "success": "شماره واتساپ با موفقیت متصل شد."
118
+ }
119
+ }
120
+ },
121
+ "templates": {
122
+ "channels": {
123
+ "whatsapp": "واتساپ",
124
+ "not-configured": {
125
+ "whatsapp": "واتساپ هنوز متصل نشده است. می‌توانید قالب‌ها را پیش‌نویس کنید، اما تا اتصال واتساپ در یکپارچه‌سازی‌ها پیام‌ها ارسال نمی‌شوند."
126
+ }
127
+ }
128
+ }
129
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex-platform/extension-communication-meta-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",