1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-08-10 22:41:43 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-07-11 11:31:42 +03:00
parent 72119b68ea
commit 5d577c34bf
70 changed files with 8480 additions and 8444 deletions

View File

@@ -6,7 +6,6 @@
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");

View File

@@ -9,7 +9,6 @@
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);

View File

@@ -18,5 +18,4 @@
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text, ReplyID, Keyboard, Markup);

View File

@@ -38,7 +38,6 @@ import TabItem from '@theme/TabItem';
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");

View File

@@ -40,7 +40,6 @@ import TabItem from '@theme/TabItem';
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);

View File

@@ -58,7 +58,6 @@ Method at API documentation: [GET /messages/sendText](https://teams.vk.com/botap
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text, ReplyID, Keyboard, Markup);
```

View File

@@ -6,7 +6,6 @@
Свойства.Вставить("Имя" , "title");
Свойства.Вставить("Описание" , "rich_text");
Свойства.Вставить("Номер" , "number");
Свойства.Вставить("Статус" , "status");
Свойства.Вставить("Дата создания", "date");
Свойства.Вставить("Картинка" , "files");
Свойства.Вставить("Активен" , "checkbox");

View File

@@ -9,7 +9,6 @@
Свойства.Вставить("Имя" , "ООО Вектор");
Свойства.Вставить("Описание" , "Наш первый клиент");
Свойства.Вставить("Номер" , 1);
Свойства.Вставить("Статус" , "Обычный");
Свойства.Вставить("Дата создания", OPI_Инструменты.ПолучитьТекущуюДату());
Свойства.Вставить("Картинка" , Картинка);
Свойства.Вставить("Активен" , Истина);

View File

@@ -18,5 +18,4 @@
Клавиатура.Добавить(МассивСтрокиКнопок);
Клавиатура.Добавить(МассивСтрокиКнопок);
Результат = OPI_VKTeams.ОтправитьТекстовоеСообщение(Токен, IDЧата, Текст, IDЦитируемого, Клавиатура, Разметка);

View File

@@ -38,7 +38,6 @@ import TabItem from '@theme/TabItem';
Свойства.Вставить("Имя" , "title");
Свойства.Вставить("Описание" , "rich_text");
Свойства.Вставить("Номер" , "number");
Свойства.Вставить("Статус" , "status");
Свойства.Вставить("Дата создания", "date");
Свойства.Вставить("Картинка" , "files");
Свойства.Вставить("Активен" , "checkbox");

View File

@@ -40,7 +40,6 @@ import TabItem from '@theme/TabItem';
Свойства.Вставить("Имя" , "ООО Вектор");
Свойства.Вставить("Описание" , "Наш первый клиент");
Свойства.Вставить("Номер" , 1);
Свойства.Вставить("Статус" , "Обычный");
Свойства.Вставить("Дата создания", OPI_Инструменты.ПолучитьТекущуюДату());
Свойства.Вставить("Картинка" , Картинка);
Свойства.Вставить("Активен" , Истина);

View File

@@ -58,7 +58,6 @@ import TabItem from '@theme/TabItem';
Клавиатура.Добавить(МассивСтрокиКнопок);
Клавиатура.Добавить(МассивСтрокиКнопок);
Результат = OPI_VKTeams.ОтправитьТекстовоеСообщение(Токен, IDЧата, Текст, IDЦитируемого, Клавиатура, Разметка);
```

File diff suppressed because it is too large Load Diff

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -30,6 +30,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -873,17 +873,17 @@ EndFunction
// Map Of KeyAndValue - serialized JSON response from Slack
Function AddExternalFile(Val Token, Val URL, Val Title) Export
String_ = "String";
URL = "https://slack.com/api/files.remote.add";
Headers = GetAuthorizationHeader(Token);
UID = String(New UUID());
String_ = "String";
RequestURL = "https://slack.com/api/files.remote.add";
Headers = GetAuthorizationHeader(Token);
UID = String(New UUID());
Parameters = New Structure;
OPI_Tools.AddField("external_url", URL , String_, Parameters);
OPI_Tools.AddField("external_id" , UID , String_, Parameters);
OPI_Tools.AddField("title" , Title , String_, Parameters);
Response = OPI_HTTPRequests.Get(URL, Parameters, Headers);
Response = OPI_HTTPRequests.Get(RequestURL, Parameters, Headers);
Return Response;

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -36,6 +36,7 @@
// BSLLS:NumberOfParams-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -36,6 +36,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:UnusedLocalVariable-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check method-too-many-params
//@skip-check wrong-string-literal-content

View File

@@ -506,7 +506,7 @@ Function AnswerButtonEvent(Val Token
String_ = "String";
URL = "/messages/answerCallbackQuery";
RequestURL = "/messages/answerCallbackQuery";
Parameters = NormalizeMain(URL, Token);
OPI_Tools.AddField("queryId" , EventID , String_ , Parameters);
@@ -514,7 +514,7 @@ Function AnswerButtonEvent(Val Token
OPI_Tools.AddField("url" , URL , String_ , Parameters);
OPI_Tools.AddField("showAlert", AsAlert , "Boolean", Parameters);
Response = OPI_HTTPRequests.Get(URL, Parameters);
Response = OPI_HTTPRequests.Get(RequestURL, Parameters);
Return Response;

View File

@@ -31,6 +31,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -7761,7 +7762,6 @@ Procedure Notion_CreateDatabase(FunctionParameters)
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");
@@ -7852,7 +7852,6 @@ Procedure Notion_CreatePageInDatabase(FunctionParameters)
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);
@@ -13481,15 +13480,16 @@ Procedure VKTeams_SendTextMessage(FunctionParameters)
ButtonsLineArray.Add(OPI_VKTeams.MakeActionButton("Button2", , "https://openintegrations.dev"));
// BSLLS:DuplicatedInsertionIntoCollection-off // SKIP
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
// BSLLS:DuplicatedInsertionIntoCollection-on // SKIP
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text, ReplyID, Keyboard, Markup);
// END
OPI_TestDataRetrieval.WriteLog(Result, "SendTextMessage", "VkTeams");
OPI_TestDataRetrieval.Check_VKTMessage(Result);
MessageID = Result["msgId"];

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -6953,7 +6954,6 @@ Procedure CLI_Notion_CreateDatabase(FunctionParameters)
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");
@@ -7057,7 +7057,6 @@ Procedure CLI_Notion_CreatePageInDatabase(FunctionParameters)
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);
@@ -9200,8 +9199,10 @@ Procedure CLI_VKTeams_SendTextMessage(FunctionParameters)
Button = OPI_TestDataRetrieval.ExecuteTestCLI("vkteams", "MakeActionButton", Options);
ButtonsLineArray.Add(Button);
// BSLLS:DuplicatedInsertionIntoCollection-off
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
// BSLLS:DuplicatedInsertionIntoCollection-on
Options = New Structure;
Options.Insert("token" , Token);

View File

@@ -34,6 +34,7 @@
// BSLLS:AssignAliasFieldsInQuery-off
// BSLLS:NumberOfParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -31,6 +31,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:NumberOfOptionalParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-unused-local-variable
//@skip-check method-too-many-params

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -30,6 +30,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:AssignAliasFieldsInQuery-off
// BSLLS:NumberOfParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -873,17 +873,17 @@ EndFunction
// Map Of KeyAndValue - serialized JSON response from Slack
Function AddExternalFile(Val Token, Val URL, Val Title) Export
String_ = "String";
URL = "https://slack.com/api/files.remote.add";
Headers = GetAuthorizationHeader(Token);
UID = String(New UUID());
String_ = "String";
RequestURL = "https://slack.com/api/files.remote.add";
Headers = GetAuthorizationHeader(Token);
UID = String(New UUID());
Parameters = New Structure;
OPI_Tools.AddField("external_url", URL , String_, Parameters);
OPI_Tools.AddField("external_id" , UID , String_, Parameters);
OPI_Tools.AddField("title" , Title , String_, Parameters);
Response = OPI_HTTPRequests.Get(URL, Parameters, Headers);
Response = OPI_HTTPRequests.Get(RequestURL, Parameters, Headers);
Return Response;

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -36,6 +36,7 @@
// BSLLS:NumberOfParams-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -7761,7 +7762,6 @@ Procedure Notion_CreateDatabase(FunctionParameters)
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");
@@ -7852,7 +7852,6 @@ Procedure Notion_CreatePageInDatabase(FunctionParameters)
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);
@@ -13481,15 +13480,16 @@ Procedure VKTeams_SendTextMessage(FunctionParameters)
ButtonsLineArray.Add(OPI_VKTeams.MakeActionButton("Button2", , "https://openintegrations.dev"));
// BSLLS:DuplicatedInsertionIntoCollection-off // SKIP
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
// BSLLS:DuplicatedInsertionIntoCollection-on // SKIP
Result = OPI_VKTeams.SendTextMessage(Token, ChatID, Text, ReplyID, Keyboard, Markup);
// END
OPI_TestDataRetrieval.WriteLog(Result, "SendTextMessage", "VkTeams");
OPI_TestDataRetrieval.Check_VKTMessage(Result);
MessageID = Result["msgId"];

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -6953,7 +6954,6 @@ Procedure CLI_Notion_CreateDatabase(FunctionParameters)
Properties.Insert("Name" , "title");
Properties.Insert("Description" , "rich_text");
Properties.Insert("Number" , "number");
Properties.Insert("Status" , "status");
Properties.Insert("CreationDate", "date");
Properties.Insert("Image" , "files");
Properties.Insert("Active" , "checkbox");
@@ -7057,7 +7057,6 @@ Procedure CLI_Notion_CreatePageInDatabase(FunctionParameters)
Properties.Insert("Name" , "LLC Vector");
Properties.Insert("Description" , "OurFirstClient");
Properties.Insert("Number" , 1);
Properties.Insert("Status" , "Regular");
Properties.Insert("CreationDate", OPI_Tools.GetCurrentDate());
Properties.Insert("Image" , Image);
Properties.Insert("Active" , True);
@@ -9200,8 +9199,10 @@ Procedure CLI_VKTeams_SendTextMessage(FunctionParameters)
Button = OPI_TestDataRetrieval.ExecuteTestCLI("vkteams", "MakeActionButton", Options);
ButtonsLineArray.Add(Button);
// BSLLS:DuplicatedInsertionIntoCollection-off
Keyboard.Add(ButtonsLineArray);
Keyboard.Add(ButtonsLineArray);
// BSLLS:DuplicatedInsertionIntoCollection-on
Options = New Structure;
Options.Insert("token" , Token);

View File

@@ -31,6 +31,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:NumberOfOptionalParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-unused-local-variable
//@skip-check method-too-many-params

View File

@@ -36,6 +36,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:UnusedLocalVariable-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check method-too-many-params
//@skip-check wrong-string-literal-content

View File

@@ -506,7 +506,7 @@ Function AnswerButtonEvent(Val Token
String_ = "String";
URL = "/messages/answerCallbackQuery";
RequestURL = "/messages/answerCallbackQuery";
Parameters = NormalizeMain(URL, Token);
OPI_Tools.AddField("queryId" , EventID , String_ , Parameters);
@@ -514,7 +514,7 @@ Function AnswerButtonEvent(Val Token
OPI_Tools.AddField("url" , URL , String_ , Parameters);
OPI_Tools.AddField("showAlert", AsAlert , "Boolean", Parameters);
Response = OPI_HTTPRequests.Get(URL, Parameters);
Response = OPI_HTTPRequests.Get(RequestURL, Parameters);
Return Response;

View File

@@ -31,6 +31,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -30,6 +30,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -33,6 +33,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -873,17 +873,17 @@
// Соответствие Из КлючИЗначение - сериализованный JSON ответа от Slack
Функция ДобавитьВнешнийФайл(Знач Токен, Знач URL, Знач Заголовок) Экспорт
Строка_ = "Строка";
URL = "https://slack.com/api/files.remote.add";
Заголовки = ПолучитьЗаголовокАвторизации(Токен);
UID = Строка(Новый УникальныйИдентификатор());
Строка_ = "Строка";
URLЗапроса = "https://slack.com/api/files.remote.add";
Заголовки = ПолучитьЗаголовокАвторизации(Токен);
UID = Строка(Новый УникальныйИдентификатор());
Параметры = Новый Структура;
OPI_Инструменты.ДобавитьПоле("external_url", URL , Строка_, Параметры);
OPI_Инструменты.ДобавитьПоле("external_id" , UID , Строка_, Параметры);
OPI_Инструменты.ДобавитьПоле("title" , Заголовок , Строка_, Параметры);
Ответ = OPI_ЗапросыHTTP.Get(URL, Параметры, Заголовки);
Ответ = OPI_ЗапросыHTTP.Get(URLЗапроса, Параметры, Заголовки);
Возврат Ответ;

View File

@@ -34,6 +34,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -36,6 +36,7 @@
// BSLLS:NumberOfParams-off
// BSLLS:LineLength-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -36,6 +36,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:UnusedLocalVariable-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check method-too-many-params
//@skip-check wrong-string-literal-content

View File

@@ -506,15 +506,15 @@
Строка_ = "Строка";
URL = "/messages/answerCallbackQuery";
Параметры = НормализоватьОснову(URL, Токен);
URLЗапроса = "/messages/answerCallbackQuery";
Параметры = НормализоватьОснову(URL, Токен);
OPI_Инструменты.ДобавитьПоле("queryId" , IDСобытия , Строка_ , Параметры);
OPI_Инструменты.ДобавитьПоле("text" , Текст , Строка_ , Параметры);
OPI_Инструменты.ДобавитьПоле("url" , URL , Строка_ , Параметры);
OPI_Инструменты.ДобавитьПоле("showAlert", ЭтоПредупреждение , "Булево", Параметры);
Ответ = OPI_ЗапросыHTTP.Get(URL, Параметры);
Ответ = OPI_ЗапросыHTTP.Get(URLЗапроса, Параметры);
Возврат Ответ;

View File

@@ -31,6 +31,7 @@
// BSLLS:IncorrectLineBreak-off
// BSLLS:UsingServiceTag-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -7761,7 +7762,6 @@
Свойства.Вставить("Имя" , "title");
Свойства.Вставить("Описание" , "rich_text");
Свойства.Вставить("Номер" , "number");
Свойства.Вставить("Статус" , "status");
Свойства.Вставить("Дата создания", "date");
Свойства.Вставить("Картинка" , "files");
Свойства.Вставить("Активен" , "checkbox");
@@ -7852,7 +7852,6 @@
Свойства.Вставить("Имя" , "ООО Вектор");
Свойства.Вставить("Описание" , "Наш первый клиент");
Свойства.Вставить("Номер" , 1);
Свойства.Вставить("Статус" , "Обычный");
Свойства.Вставить("Дата создания", OPI_Инструменты.ПолучитьТекущуюДату());
Свойства.Вставить("Картинка" , Картинка);
Свойства.Вставить("Активен" , Истина);
@@ -13481,15 +13480,16 @@
МассивСтрокиКнопок.Добавить(OPI_VKTeams.СформироватьКнопкуДействия("Кнопка2", , "https://openintegrations.dev"));
// BSLLS:DuplicatedInsertionIntoCollection-off // SKIP
Клавиатура.Добавить(МассивСтрокиКнопок);
Клавиатура.Добавить(МассивСтрокиКнопок);
// BSLLS:DuplicatedInsertionIntoCollection-on // SKIP
Результат = OPI_VKTeams.ОтправитьТекстовоеСообщение(Токен, IDЧата, Текст, IDЦитируемого, Клавиатура, Разметка);
// END
OPI_ПолучениеДанныхТестов.ЗаписатьЛог(Результат, "ОтправитьТекстовоеСообщение", "VkTeams");
OPI_ПолучениеДанныхТестов.Проверка_ВКТСообщение(Результат);
IDСообщения = Результат["msgId"];

View File

@@ -45,6 +45,7 @@
// BSLLS:NestedFunctionInParameters-off
// BSLLS:MissingTemporaryFileDeletion-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check undefined-variable
//@skip-check wrong-string-literal-content
@@ -6953,7 +6954,6 @@
Свойства.Вставить("Имя" , "title");
Свойства.Вставить("Описание" , "rich_text");
Свойства.Вставить("Номер" , "number");
Свойства.Вставить("Статус" , "status");
Свойства.Вставить("Дата создания", "date");
Свойства.Вставить("Картинка" , "files");
Свойства.Вставить("Активен" , "checkbox");
@@ -7057,7 +7057,6 @@
Свойства.Вставить("Имя" , "ООО Вектор");
Свойства.Вставить("Описание" , "Наш первый клиент");
Свойства.Вставить("Номер" , 1);
Свойства.Вставить("Статус" , "Обычный");
Свойства.Вставить("Дата создания", OPI_Инструменты.ПолучитьТекущуюДату());
Свойства.Вставить("Картинка" , Картинка);
Свойства.Вставить("Активен" , Истина);
@@ -9200,8 +9199,10 @@
Кнопка = OPI_ПолучениеДанныхТестов.ВыполнитьТестCLI("vkteams", "СформироватьКнопкуДействия", Опции);
МассивСтрокиКнопок.Добавить(Кнопка);
// BSLLS:DuplicatedInsertionIntoCollection-off
Клавиатура.Добавить(МассивСтрокиКнопок);
Клавиатура.Добавить(МассивСтрокиКнопок);
// BSLLS:DuplicatedInsertionIntoCollection-on
Опции = Новый Структура;
Опции.Вставить("token" , Токен);

View File

@@ -34,6 +34,7 @@
// BSLLS:AssignAliasFieldsInQuery-off
// BSLLS:NumberOfParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-structure-top-region
//@skip-check module-structure-method-in-regions

View File

@@ -31,6 +31,7 @@
// BSLLS:UsingServiceTag-off
// BSLLS:NumberOfOptionalParams-off
// BSLLS:UsingSynchronousCalls-off
// BSLLS:MagicNumber-off
//@skip-check module-unused-local-variable
//@skip-check method-too-many-params