update help elma

This commit is contained in:
2025-05-27 21:32:35 +04:00
parent a6b05d6789
commit 898b22bf32
4500 changed files with 89372 additions and 120699 deletions

View File

@ -1,20 +1,19 @@
<!DOCTYPE html>
<html lang="ru">
<html lang="en">
<head>
<title>Интеграция с сервисом отправки SMS</title>
<title>Integration with an SMS service</title>
<meta name="generator" content="Help+Manual" />
<meta name="keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Модули интеграции с сервисами отправки SMS нужны для информирования клиентов и сотрудников о любых событиях, возникающих в ходе бизнес-процесса. Например, используя блок..." />
<meta name="description" content="Modules of integration with SMS-sending services are needed to inform customers and employees about any events occurring in the course of the business process. For example,..." />
<meta name="picture" content="" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Cправка по Low-code платформе ELMA365" />
<meta property="og:url" content="https://elma365.com/ru/help" />
<meta property="og:image" content="" />
<meta property="og:site_name" content="ELMA365" />
<meta property="og:title" content="Full documentation for BRIX365 platform. Low-code developer guide. User guide. Admin guide. Developer guide." />
<meta property="og:url" content="https://brix365.com/en/help" />
<meta property="og:image" content="" />
<link rel="icon" href="favicon.png" type="image/png" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
@ -24,7 +23,6 @@
<link rel="stylesheet" href="./article.css" />
<link rel="stylesheet" href="./glossary.css" />
<link rel="stylesheet" href="./theme.css" />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="helpman_settings.js"></script>
<script type="text/javascript" src="helpman_topicinit.js"></script>
@ -36,16 +34,16 @@
</head>
<body>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M6ETBEC1R9"></script><script>window.dataLayer=window.dataLayer || []; function gtag(){dataLayer.push(arguments);}gtag('js', new Date()); gtag('config', 'G-M6ETBEC1R9');</script>
<script>!function(e,t,c,n,r,a,m){e.ym=e.ym||function(){(e.ym.a=e.ym.a||[]).push(arguments)},e.ym.l=1*new Date;for(var s=0;s<document.scripts.length;s++)if(document.scripts[s].src===n)return;a=t.createElement(c),m=t.getElementsByTagName(c)[0],a.async=1,a.src=n,m.parentNode.insertBefore(a,m)}(window,document,"script","https://mc.yandex.ru/metrika/tag.js"),ym(83179930,"init",{clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0})</script><noscript><div><img alt=""src=https://mc.yandex.ru/watch/83179930 style=position:absolute;left:-9999px></div></noscript>
<header class="header elma-365">
<div class="container">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo.svg" alt="header logo">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-en.svg" alt="header logo">
</a>
<!-- <div class="hero__search-form" id="search-panel">
<form class="search-form" onsubmit="ym(83179930,'reachGoal','poisk')">
<form class="search-form" onsubmit="ym(83180416,'reachGoal','poisk')">
<label class="search-form__label">
<span id="reset-search" class="search__icon"></span>
<input class="search-form__input" type="text">
@ -65,7 +63,7 @@
</div>
<div class="header__navi">
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a class="project-link" href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li><li><a class="project-link" href="https://elma365.com/ru/help/business_solutions/-elma365-store.html">Бизнес-решения</a></li></ul></span></li><li><a href="https://api.elma365.com/ru/"target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/"target="_blank">SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/" target="_blank">Академия</a></li><li><a href="https://elma365.com/ru/" target="_blank">Сайт ELMA365</a></li></ul>
<ul class="header__list"><li><span class="solution-select"><span class="solution-select__selected"></span><svg width="7" height="4" viewBox="0 0 7 4" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L3.5 3.5L6 1" stroke="white" stroke-linecap="round" stroke-linejoin="round"/></svg><ul class="solution-select__list"><li><a class="project-link" href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a class="project-link" href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a class="project-link" href="https://brix365.com/en/help/crm/crm_overview.html">CRM</a></li><li><a class="project-link" href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a class="project-link" href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li><li><a class="project-link" href="https://brix365.com/en/help/business_solutions/-elma365-store.html">Business Solutions</a></li></ul></span></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li><li><a href="https://tssdk.brix365.com/" target="_blank">SDK</a></li></ul>
</div>
@ -80,8 +78,8 @@
<aside class="sidebar" id="sidebar">
<div class="sidebar__header">
<a class="header__logo" href="https://elma365.com/ru/help">
<img src="./logo-light.svg">
<a class="header__logo" href="https://brix365.com/en/help">
<img src="./logo-light-en.svg">
</a>
<span class="sidebar__close elma-365-close" id="close"></span>
</div>
@ -94,15 +92,15 @@
<div class="article-inner">
<div class="content">
<header class="article__header">
<div class="article__bread" style="display:flex; gap:10px;">
<div class="article__bread" style="display:flex; gap:10px;">
<span id="subcategory" class="search-res__item-category search-res__item-category_subcategory subcategory article__badge"></span>
<div class="topic__breadcrumbs">
<p><a href="360024498352.html">Модули расширения системы</a> &gt; Примеры модулей интеграции с ELMA365 / Интеграция с сервисом отправки SMS</p>
<p><a href="360024498352.html">Modules</a> &gt; Examples of BRIX integration modules / Integration with an SMS service</p>
</div>
</div>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Интеграция с сервисом отправки SMS</span></h1>
<div class="topic__title"><h1 class="p_Heading1"><span class="f_Heading1">Integration with an SMS service</span></h1>
</div>
</header>
@ -111,55 +109,54 @@
<a href="#h1-article" class="scroll-top"></a>
</div>
<!-- Placeholder for topic body. -->
<p class="p_Normal">Модули интеграции с сервисами отправки SMS нужны для информирования клиентов и сотрудников о любых событиях, возникающих в ходе бизнес-процесса. Например, используя блок <a href="360013409220.html" class="topiclink">Отправить SMS</a>, вы можете настроить автоматическую отправку SMS с данными о статусе заказа для клиентов или с информацией о постановке важных задач для коллег. &nbsp;</p>
<p class="p_Normal">Также такие модули можно использовать при настройке <a href="security_settings.html#authorization" class="topiclink">двухфакторной аутентификации</a> или <a href="security_settings.html#mobile" class="topiclink">авторизации в системе</a> по номеру телефона и одноразовым кодам. </p>
<p class="p_Normal">Вы можете воспользоваться готовыми модулями интеграции <a href="sms-center.html" class="topiclink">SMSЦентр</a> и <a href="smsru.html" class="topiclink">SMSRU</a> или создать пользовательский модуль для работы с другим сервисом. </p>
<h2 class="p_Heading2"><span class="f_Heading2">Создание и настройка модуля интеграции </span></h2>
<p class="p_Normal">Modules of integration with SMS-sending services are needed to inform customers and employees about any events occurring in the course of the business process. For example, using the <a href="360013409220.html" class="topiclink">Send SMS</a> activity, you can set up automatic sending of SMS with order status data for customers or with information about setting important tasks for your co-workers.</p>
<p class="p_Normal">Also, such modules can be used when setting up <a href="security_settings.html#authorization" class="topiclink">two-factor authentication</a> or <a href="security_settings.html#mobile" class="topiclink">logging into the system</a> with phone number and one-time codes.</p>
<h2 class="p_Heading2"><span class="f_Heading2">Create and set up the integration module </span></h2>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">начало&nbsp;внимание</span></p>
<p class="p_Normal">Создавать и настраивать модули могут только пользователи, включённые в группу <a href="360006871932.html#administrators" class="topiclink">Администраторы</a>.</p>
<p class="p_Normal">Only users included in the <a href="360006871932.html#administrators" class="topiclink">Administrators</a> group can create and set up modules.</p>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">конец&nbsp;внимание</span></p>
<p class="p_Normal">Чтобы <a href="create-extention.html" class="topiclink">создать модуль</a> интеграции с сервисом отправки SMS, выполните следующие действия: </p>
<p class="p_Normal">To <a href="create-extention.html" class="topiclink">create a module</a> for integration with an SMS sender, follow the steps below: </p>
<ol style="list-style-type:upper-roman">
<li value="1" class="p_Normal">Перейдите в <span style="font-weight: bold;">Администрирование &gt; Модули</span>. </li><li value="2" class="p_Normal">В правом верхнем углу нажмите кнопку <span style="font-weight: bold;">+Модуль</span> и в открывшемся окне выберите опцию <span style="font-weight: bold;">Создать</span>. </li><li value="3" class="p_Normal">Введите название и описание модуля и нажмите кнопку <span style="font-weight: bold;">Создать</span>. </li><li value="4" class="p_Normal">В настройках модуля перейдите на вкладку <a href="extention-api.html" class="topiclink">Методы API</a> и нажмите кнопку <span style="font-weight: bold;">Редактировать</span>. Откроется редактор методов. </li><li value="5" class="p_Normal">Перейдите на вкладку <span style="font-weight: bold;">Скрипты</span> и подключите следующие интерфейсы: </li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">//&nbsp;руктура&nbsp;данных&nbsp;для&nbsp;хранения&nbsp;ответа&nbsp;проверки&nbsp;соединения.</span><br />
<li value="1" class="p_Normal">Go to <span style="font-weight: bold;">Administration</span> &gt; <span style="font-weight: bold;">Modules</span>. </li><li value="2" class="p_Normal">In the upper right corner, click <span style="font-weight: bold;">+Module</span> and in the window that opens, select the <span style="font-weight: bold;">Create</span> option.</li><li value="3" class="p_Normal">Enter a name and description for the module and click <span style="font-weight: bold;">Create</span>.</li><li value="4" class="p_Normal">In the module settings, go to the <a href="extention-api.html" class="topiclink">API Methods</a> tab and click the <span style="font-weight: bold;">Edit</span> button. The method editor will open.</li><li value="5" class="p_Normal">Go to the <span style="font-weight: bold;">Scripts</span> tab and connect the following interfaces:</li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">//&nbsp;Data&nbsp;structure&nbsp;for&nbsp;storing&nbsp;the&nbsp;connection&nbsp;check&nbsp;response</span><br />
<span class="f_CodeExample" style="font-weight: bold;">interface</span><span class="f_CodeExample">&nbsp;SMSTestConnectionResult&nbsp;{</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;success:&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">boolean</span><span class="f_CodeExample">;</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;failReason:&nbsp;string;</span><br />
<span class="f_CodeExample">}</span><br />
<span class="f_CodeExample">&nbsp;</span><br />
<span class="f_CodeExample">//&nbsp;руктура&nbsp;данных&nbsp;для&nbsp;хранения&nbsp;ответа&nbsp;отправки&nbsp;СМС&nbsp;на&nbsp;номер.</span><br />
<span class="f_CodeExample">//&nbsp;Data&nbsp;structure&nbsp;for&nbsp;storing&nbsp;SMS&nbsp;sending&nbsp;a&nbsp;response&nbsp;to&nbsp;a&nbsp;phone&nbsp;number.</span><br />
<span class="f_CodeExample" style="font-weight: bold;">interface</span><span class="f_CodeExample">&nbsp;SMSSendError&nbsp;{</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;phone:&nbsp;string;</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;statusCode?:&nbsp;number;</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;statusText?:&nbsp;string;</span><br />
<span class="f_CodeExample">}</span></p>
<ol style="list-style-type:upper-roman">
<li value="6" class="p_Normal">Реализуйте функцию отправки SMS: </li></ol>
<li value="6" class="p_Normal">Implement the SMS sending function: </li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">async&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">function</span><span class="f_CodeExample">&nbsp;SMS_SendSMS(phones:&nbsp;string[],&nbsp;msg:&nbsp;string):&nbsp;Promise&lt;SMSSendError[]&gt;&nbsp;{</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;содержимое&nbsp;функции</span><br />
<span class="f_CodeExample">&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;function&nbsp;content</span><br />
<span class="f_CodeExample">}</span></p>
<ol style="list-style-type:upper-roman">
<li value="7" class="p_Normal">Сохраните и опубликуйте скрипт.</li></ol>
<p class="p_Normal">После этого включённый модуль можно использовать для отправки SMS-уведомлений в ходе бизнес-процесса или для авторизации в системе. </p>
<h2 class="p_Heading2"><span class="f_Heading2">Пример интеграции </span></h2>
<p class="p_Normal">Рассмотрим подробнее создание модуля на примере интеграции с сервисом SMS Aero. Для интеграции с этим сервисом требуется дополнительно указывать электронную почту, на которую зарегистрирована учётная запись в SMS Aero, а также API-ключ. Эти поля нужно вынести на страницу настройки модуля. Для этого: </p>
<li value="7" class="p_Normal">Save and publish the script.</li></ol>
<p class="p_Normal">After that, the enabled module can be used to send SMS notifications during the business process or for authorization in the system. </p>
<h2 class="p_Heading2"><span class="f_Heading2">Integration example </span></h2>
<p style="line-height: 1.20; margin: 10px 0 16px 0;"><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;">Let us take a closer look at module creation using the example of integration with the SMS Aero service. In order to integrate with this service, you need to additionally specify the e-mail to which your SMS Aero account is registered, as well as the API key. These fields should be placed on the module settings page. To do this:</span></p>
<ol style="list-style-type:upper-roman">
<li value="1" class="p_Normal">Перейдите на страницу <span style="font-weight: bold;">Администрирование &gt; Модули</span>. В правом верхнем углу нажмите кнопку <span style="font-weight: bold;">+Модуль</span>, а затем <span style="font-weight: bold;">Создать</span>. Укажите название модуля и краткое описание. </li><li value="2" class="p_Normal">Откройте вкладку <span style="font-weight: bold;">Настройки</span> и создайте два строковых поля, в которых будут храниться настройки для подключения к SMS Aero со стороны модуля: </li></ol>
<li value="1" style="line-height: 1.20; margin-top: 10px; margin-right: 0; margin-bottom: 16px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;">Go to the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold; color: #394149;">Administration &gt; Modules</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;"> page. In the upper right corner, click </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold; color: #394149;">+Module</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;">, and then click </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold; color: #394149;">Create</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;">. Specify the name of the module and a brief description.</span></li><li value="2" style="line-height: 1.20; margin-top: 10px; margin-right: 0; margin-bottom: 16px;"><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;">Open the </span><span style="font-family: 'Times New Roman',Times,Georgia,serif; font-weight: bold; color: #394149;">Settings</span><span style="font-family: 'Times New Roman',Times,Georgia,serif; color: #394149;"> tab and create two string fields that will store the settings for connecting to SMS Aero on the module side:</span></li></ol>
<ul style="list-style-type:disc">
<li class="p_Normal"><span style="font-weight: bold;">API key</span> API-ключ для соединения модуля и сервиса SMS Aero; </li><li class="p_Normal"><span style="font-weight: bold;">email</span> — электронная почта, на которую зарегистрирована учётная запись в SMS Aero. Используется для авторизации в сервисе. </li></ul>
<p class="p_Normal" style="margin: 0 0 0 36px;"><img alt="sms-integration-1" width="1106" height="421" style="margin:0;width:1106px;height:421px;border:none" src="sms-integration-1.png"/></p>
<li class="p_Normal"><span style="font-weight: bold;">API key</span>. API key for connecting the module and the SMS Aero service; </li><li class="p_Normal"><span style="font-weight: bold;">email</span>. The email to which the SMS Aero account is registered. Used for authorization in the service. </li></ul>
<p class="p_Normal" style="margin: 0 0 0 36px;"><img alt="sms_integtration 01" width="1153" height="441" style="margin:0;width:1153px;height:441px;border:none" src="hmfile_hash_f3e2dc3a.png"/></p>
<ol style="list-style-type:upper-roman" start="3">
<li value="3" class="p_Normal">Вернитесь на страницу модуля — на ней появятся добавленные в предыдущем пункте поля: </li></ol>
<p class="p_Normal" style="margin: 0 0 0 36px;"><img alt="sms-integration-2" width="709" height="219" style="margin:0;width:709px;height:219px;border:none" src="sms-integration-2.png"/></p>
<li value="3" class="p_Normal">Return to the module page. The fields added in the previous step will appear on it: </li></ol>
<p class="p_Normal" style="margin: 0 0 0 36px;"><img alt="sms_integtration 02" width="897" height="350" style="margin:0;width:897px;height:350px;border:none" src="hmfile_hash_54a2d1c2.png"/></p>
<ol style="list-style-type:upper-roman" start="4">
<li value="4" class="p_Normal">Перейдите в редактор скриптов: <span style="font-weight: bold;">Настройки модуля &gt; Методы API &gt; Скрипты</span> и добавьте в файл следующий код: </li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">//&nbsp;руктура&nbsp;данных&nbsp;для&nbsp;хранения&nbsp;ответа&nbsp;проверки&nbsp;соединения.</span><br />
<li value="4" class="p_Normal"><span style="font-size: 15px; color: #394149;">Go to the script editor: </span><span style="font-size: 15px; font-weight: bold; color: #394149;">Module Settings &gt; API Methods &gt; Scripts</span><span style="font-size: 15px; color: #394149;"> and add the following code to the file</span>: </li></ol>
<p class="p_CodeExample" style="page-break-inside: avoid;"><span class="f_CodeExample">//&nbsp;Data&nbsp;structure&nbsp;for&nbsp;storing&nbsp;the&nbsp;connection&nbsp;check&nbsp;response.</span><br />
<span class="f_CodeExample" style="font-weight: bold;">interface</span><span class="f_CodeExample"> SMSTestConnectionResult {</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample">success: </span><span class="f_CodeExample" style="font-weight: bold;">boolean</span><span class="f_CodeExample">;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample">failReason: string;</span><br />
<span class="f_CodeExample">}</span><br />
<span class="f_CodeExample">&nbsp;</span><br />
<span class="f_CodeExample">//&nbsp;руктура&nbsp;данных&nbsp;для&nbsp;хранения&nbsp;ответа&nbsp;отправки&nbsp;СМС&nbsp;на&nbsp;номер.</span><br />
<span class="f_CodeExample">//&nbsp;Data&nbsp;structure&nbsp;for&nbsp;storing&nbsp;SMS&nbsp;sending&nbsp;a&nbsp;response&nbsp;to&nbsp;a&nbsp;number.</span><br />
<span class="f_CodeExample" style="font-weight: bold;">interface</span><span class="f_CodeExample"> SMSSendError {</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample">phone: string;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample">statusCode?: number;</span><br />
@ -169,7 +166,7 @@
<span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> api_key&nbsp;= Namespace.params.data.api_key</span><br />
<span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> email&nbsp;= Namespace.params.data.email</span><br />
<span class="f_CodeExample">&nbsp;</span><br />
<span class="f_CodeExample">//&nbsp;Отправить&nbsp;СМС&nbsp;на&nbsp;номера.</span><br />
<span class="f_CodeExample">//&nbsp;Send&nbsp;SMS&nbsp;to&nbsp;phone&nbsp;numbers.</span><br />
<span class="f_CodeExample">async </span><span class="f_CodeExample" style="font-weight: bold;">function</span><span class="f_CodeExample"> SMS_sendSMS(phones: string[],&nbsp;msg: string): Promise&lt;SMSSendError[]&gt;&nbsp;{</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> smsErrs: SMSSendError[]&nbsp;=&nbsp;[]</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> authSuccess&nbsp;= await tryAuth()</span><br />
@ -183,7 +180,7 @@
<span class="f_CodeExample">&nbsp;</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">const</span><span class="f_CodeExample"> res&nbsp;= await fetch(`https://${email}:${api_key}@gate.smsaero.ru/v2/sms/send?numbers[]=${phoneListString}&amp;text=${msg}&amp;sign=SMS&nbsp;Aero`)</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">if</span><span class="f_CodeExample"> (!res.ok)&nbsp;{</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_CodeExample">//&nbsp;smsErrs&nbsp;позволяет&nbsp;написать&nbsp;отдельную&nbsp;обработку&nbsp;для&nbsp;каждого&nbsp;номера&nbsp;телефона</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_CodeExample">//&nbsp;smsErrs&nbsp;allows&nbsp;you&nbsp;to&nbsp;write&nbsp;separate&nbsp;processing&nbsp;for&nbsp;each&nbsp;phone&nbsp;number</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_CodeExample">smsErrs.push({phone: '',&nbsp;statusCode:&nbsp;res.status,&nbsp;statusText:&nbsp;res.statusText})</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span> &nbsp; &nbsp; &nbsp; &nbsp;<span class="f_CodeExample" style="font-weight: bold;">return</span><span class="f_CodeExample"> smsErrs</span><br />
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample">}</span><br />
@ -198,25 +195,25 @@
<span style="width:48px;display:inline-block">&nbsp;</span><span class="f_CodeExample" style="font-weight: bold;">return</span><span class="f_CodeExample"> </span><span class="f_CodeExample" style="font-weight: bold;">true</span><br />
<span class="f_CodeExample">}</span></p>
<ol style="list-style-type:upper-roman" start="5">
<li value="5" class="p_Normal">Сохраните и опубликуйте скрипты. </li></ol>
<p class="p_Normal">После включения модуля и заполнения его параметров вы сможете выбрать интеграцию с сервисом SMS Aero при настройке <a href="security_settings.html#authorization" class="topiclink">двухфакторной аутентификации</a>, <a href="security_settings.html#mobile" class="topiclink">авторизации в системе</a> по номеру телефона и одноразовым кодам или блока <a href="360013409220.html" class="topiclink">Отправить SMS</a>. </p>
<li value="5" class="p_Normal">Save and publish the scripts.</li></ol>
<p class="p_Normal">After enabling the module and filling in its parameters, you will be able to choose integration with SMS Aero service when configuring <a href="security_settings.html#authorization" class="topiclink">two-factor authentication</a>, <a href="security_settings.html#mobile" class="topiclink">logging in</a> with phone number and one-time codes or the <a href="360013409220.html" class="topiclink">Send SMS</a> activity . </p>
<div class="bottom-nav">
<a id="prev-link" class="topic__navi_prev" href="360009906679.html">
<a id="prev-link" class="topic__navi_prev" href="two-factor-integration.html">
<span class="bottom-nav__arrow bottom-nav__arrow--prev"></span> <span
class="bottom-nav__link">360009906679.html</span>
class="bottom-nav__link">two-factor-integration.html</span>
</a>
<a id="next-link" class="topic__navi_next" href="solutions-building.html">
<span class="bottom-nav__link">solutions-building.html</span> <span
<a id="next-link" class="topic__navi_next" href="360003861992.html">
<span class="bottom-nav__link">360003861992.html</span> <span
class="bottom-nav__arrow bottom-nav__arrow--next"></span>
</a>
</div>
<!-- добавляет на страницу строку блок Была ли статья полезной? -->
<div class="feedback-wrap"><div class="feedback" id="feedback"><span><b>Была ли статья полезной?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx">Спасибо за ваш отзыв!</div><div id="feedback-success-popup"><div class="wrap"><button type="button" class="feedback-popup-close">×</button><svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_212_2187)"><path d="M22 0.6875C10.2294 0.6875 0.6875 10.2294 0.6875 22C0.6875 33.7706 10.2294 43.3125 22 43.3125C33.7706 43.3125 43.3125 33.7706 43.3125 22C43.3125 10.2294 33.7706 0.6875 22 0.6875ZM22 40.5625C11.8023 40.5625 3.4375 32.3078 3.4375 22C3.4375 11.8024 11.6922 3.4375 22 3.4375C32.1977 3.4375 40.5625 11.6922 40.5625 22C40.5625 32.1976 32.3078 40.5625 22 40.5625ZM34.1713 16.933L18.6613 32.3186C18.257 32.7197 17.604 32.7171 17.203 32.3128L9.82283 24.873C9.42176 24.4686 9.42434 23.8157 9.82867 23.4146L10.5609 22.6884C10.9652 22.2873 11.6181 22.2899 12.0192 22.6942L17.9468 28.6697L31.9926 14.7366C32.3969 14.3356 33.0498 14.3382 33.4509 14.7425L34.1772 15.4747C34.5783 15.879 34.5757 16.532 34.1713 16.933Z" fill="#27AE60"></path></g><defs><clipPath id="clip0_212_2187"><rect width="44" height="44" fill="white"></rect></clipPath></defs></svg><p>Ваш отзыв успешно отправлен!</p><span>Спасибо за обратную связь.</span></div></div><div class="feedback__popup" id="feedback__popup_why"><button type="button" class="feedback-popup-close">×</button><div class="feedback__popup-header">Уточните, почему:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Рекомендации не помогли</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Текст трудно понять</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Нет ответа на мой вопрос</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Содержание статьи не соответствует заголовку</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Другая причина</label></div><div class="feedback__popup" id="feedback__popup-other"><button type="button" class="feedback-popup-close">×</button> <div class="feedback__popup-header">Расскажите, что вам не понравилось в статье:</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Отправить"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg"/><span class="feedback-form__btn-group_yes-btn">Да</span></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg"/><span class="feedback-form__btn-group_no-btn">Нет</span></label></div><select name="category"><option disabled>Выберите вариант</option><option value="bad_recommendation" selected>Рекомендации не помогли</option><option value="difficult_text">Текст трудно понять</option><option value="no_answer">Нет ответа на мой вопрос</option><option value="bad_header">Содержание статьи не соответствует заголовку</option><option value="other_reason">Другая причина</option></select><input type="submit"></form></div></div>
<div class="feedback" id="feedback"><div class="feedback-help"><span><b>Was this helpful?</b></span><form action="" method="POST" class="feedback-form" id="feedback-form"><div class="feedback__popup feedback__popup-response" id="feedback__popup_thx" style="display: none;">Thanks for your feedback!</div><div class="feedback__popup" id="feedback__popup_why" style="display: none;"><div class="feedback__popup-header">Please specify why:</div><input type="radio" name="category" id="bad_recommendation" value="bad_recommendation"><label for="bad_recommendation">Recommendations did not help me</label><input type="radio" name="category" id="difficult_text" value="difficult_text"><label for="difficult_text">Article is hard to understand</label><input type="radio" name="category" id="no_answer" value="no_answer"><label for="no_answer">Didn`t answer my question</label><input type="radio" name="category" id="bad_header" value="bad_header"><label for="bad_header">Content does not match the topic</label><input type="radio" name="category" id="other_reason" value="other_reason"><label for="other_reason">Other</label></div><div class="feedback__popup" id="feedback__popup-other" style="display: none;"><div class="feedback__popup-header">How we can improve it?</div><textarea class="feedback__textarea" name="other" id=""></textarea><input type="submit" class="feedback__other-btn" value="Submit"></div><div class="feedback-form__btn-group"><input type="radio" name="useful" id="feedback__useful_yes" value="true"><label for="feedback__useful_yes"><img src="like.svg" class="small-img" alt="like"><spanclass="feedback-form__btn-group_yes-btn">Yes</spanclass="feedback-form__btn-group_yes-btn"></label><input type="radio" name="useful" id="feedback__useful_no" value="false"><label for="feedback__useful_no"><img src="dislike.svg" class="small-img" alt="dislike"><spanclass="feedback-form__btn-group_no-btn">No</spanclass="feedback-form__btn-group_no-btn"></label></div><select name="category"><option disabled="">Please specify why</option><option value="bad_recommendation" selected="">Recommendations did not help me</option><option value="difficult_text">Article is hard to understand</option><option value="no_answer">Didn`t answer my question</option><option value="bad_header">Content does not match the topic</option><option value="other_reason">Other</option></select><input type="submit"></form></div><div class="found_typo"><p style="margin: 0px; margin-top: 16px !important;"><span><b>Found a typo?</b></span> Select it and press <i>Ctrl+Enter</i> to send us feedback</p></div></div>
</section>
</div>
@ -224,7 +221,7 @@
<input type="checkbox" />
<div class="article__arrow"></div>
<div class="table-of-contents elma365-right" id="toc2Content">
<h3 class="h3-toc">В этой статье</h3>
<h3 class="h3-toc">In this topic</h3>
<nav id="toc2"></nav>
</div>
</aside>
@ -235,63 +232,30 @@
<div class="footer-container">
<div class="footer-mobile">
<ul class="footer-mobile__list"><li><a href="https://api.elma365.com/ru/" target="_blank">API</a></li><li><a href="https://tssdk.elma365.com/" target="_blank">TS SDK</a></li><li><a href="https://community.elma365.com/" target="_blank">Community</a></li><li><a href="https://elma-academy.com/ru/elma365" target="_blank">Академия</a></li></ul><ul class="footer-mobile__list"><li><a href="https://elma365.com/ru/help/platform/get-trial.html">Платформа</a></li><li><a href="https://elma365.com/ru/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://elma365.com/ru/help/service/service-functions.html">Service</a></li><li><a href="https://elma365.com/ru/help/projects/projects-functions.html">Проекты</a></li></ul>
<ul class="footer-mobile__list"><li><a href="https://brix365.com/en/" target="_blank">BRIX</a></li><li><a href="https://tssdk.brix365.com/en/latest/" target="_blank">SDK</a></li><li><a href="https://api.brix365.com/en/" target="_blank">API</a></li></ul><ul class="footer-mobile__list"><li><a href="https://brix365.com/en/help/platform/get-trial.html">Platform</a></li><li><a href="https://brix365.com/en/help/ecm/ecm-functions.html">ECM</a></li><li><a href="https://brix365.com/en/help/service/service-functions.html">Service</a></li><li><a href="https://brix365.com/en/help/projects/projects-functions.html">Projects</a></li></ul>
</div>
<div class="container">
<div class="footer-wrap">
<div><span class="mobile-question-popup">Отправить фидбэк</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Задать вопрос</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Отправить"></div></form><div class="hidden fade-in question-success-xs">Ваш фидбэк отправлен.</div></div>
<div class="footer-flex-b">
<div class="footer-top">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</div>
<div class="footer-line">
<div class="footer-line-copy">
<span class="footer-copy">&copy; 2025
ELMA365
</span>
</div>
<ul class="footer-list">
<li class="footer-item"><a href="https://elma365.com/ru/" target="_blank" class="footer-link" style="color: #0D4A75;"><img src="browse.svg" alt="browse icon" class="footer-img">elma365.com</a></li><li class="footer-item"><a href="https://www.youtube.com/user/ELMABPM" target="_blank" class="footer-link"><img src="yt.svg" alt="youtube icon" class="footer-img"></a></li><li class="footer-item"><a href="https://vk.com/elma_bpm" target="_blank" class="footer-link"><img src="vk.svg" alt="vk icon" class="footer-img"></a></li><li class="footer-item"><a href="https://t.me/elmaday" target="_blank" class="footer-link"><img src="tg.svg" alt="telegram icon" class="footer-img"></a></li><li class="footer-item"><a href="https://dzen.ru/elma" target="_blank" class="footer-link"><img src="dzen.svg" alt="dzen icon" class="footer-img"></a></li>
<li class="footer-item">
<a href="https://navigator.sk.ru/orn/1122971" target="_blank">
<img src="sk-resident.svg" alt="sk icon" class="footer-img" width="117" height="34">
</a>
</li>
</ul>
</div>
</div>
<div class="footer-wrap">
<div><span class="mobile-question-popup">Send feedback</span><form method="POST" action class="question__popup question-xs" id="question__popup"><div class="question-wrap"><span class="close"></span><span class="title">Ask a question</span><label for="help_question" style="display: none;"></label><textarea name="help_question" id="help_question"></textarea><input type="submit" value="Send"></div></form><div class="hidden fade-in question-success-xs">Sent</div></div>
<div class="footer-flex-b">
<span class="footer-copy">&copy; 2025 BRIX</span>
<ul class="footer-list">
<li class="footer-item">
<a href="#" class="arrow-top" style="display: block;"></a>
</li>
</ul>
</div>
</div>
<a href="#" class="arrow-top"></a>
</div>
</footer>
<!-- <script type="text/javascript" src="jquery1.min.js"></script>-->
<iframe name="hmnavigation" style="display:none!important"></iframe>
<!--<script src="./jquery-ui.js"></script> -->
<script src="./jquery-ui.min.js"></script>
<script src="./jquery-ui.js"></script>
<!--script src="//cdn.jsdelivr.net/npm/featherlight@1.7.14/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script-->
<script src="./jquery.tocify.min.js"></script>
<script src="./TypoReporter.min.js"></script>