Skip to content

Commit

Permalink
Пересборка доков
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayselonarrend committed Aug 14, 2024
1 parent 64c3b3b commit b0bd851
Show file tree
Hide file tree
Showing 1,282 changed files with 6,690 additions and 7,779 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/os/docs_main.os
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,9 @@

ДокументЛога = Новый ТекстовыйДокумент();
ДокументЛога.Прочитать(ПутьЛога);

Результат = ДокументЛога.ПолучитьТекст();
Результат = СокрЛП(Результат);

Возврат Результат;

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/os/main.os
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@
Сообщить("В словарях есть новые слова без перевода. Перевод и создание CLI не выполнено!");
КонецЕсли;

Сообщить("Обработка завершена!");

КонецПроцедуры

Функция ОпределитьНаборФайловДляСловаря()
Expand Down
4 changes: 2 additions & 2 deletions docs/en/examples/Bitrix24/AddCustomTaskField.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Type = "date";
Name = "BIRTHDAY_FIELD";

Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Type = "string";
Name = "TEXT_FIELD";
Expand Down
4 changes: 2 additions & 2 deletions docs/en/examples/Bitrix24/AddKanbanStage.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
 Name = "New stage";
Color = "0026FF";

URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);

Expand All @@ -11,6 +11,6 @@
Color = "0026FF";

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/AddPostComment.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
 Text = "Comment for post";
PostID = "436";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);

Text = "Another comment";
URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/AddPostRecipients.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
 Visibility = "UA";
PostID = "436";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/AddTaskComment.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1084";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1082";

Text = "Task impossible, let's split up";

Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Text = "Task uninpossible, don't split up";

Expand Down
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/AddTaskTimeAccounting.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1092";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1088";

Time = 3600;

Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Text = "Time spent on work";
UserID = 10;
Expand Down
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/AddTaskToFavorites.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";

Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/AddTasksChecklistElement.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";

Text = "Checklist element";

Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/AddUsersToChat.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
ChatID = "454";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";

UserIDs = New Array;
UserIDs.Add(10);
Expand All @@ -8,8 +8,8 @@
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
ChatID = "456";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
UserID = 10;

Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/ApproveTask.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";

Result = OPI_Bitrix24.ApproveTask(URL, TaskID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);
10 changes: 5 additions & 5 deletions docs/en/examples/Bitrix24/AttachFileToTopic.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
FileID = "5026";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";
FileID = "5006";

Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.AttachFileToTopic(URL, TaskID, FileID, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/ChangeChatColor.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
ChatID = "454";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";

Color = "AZURE";

Result = OPI_Bitrix24.ChangeChatColor(URL, ChatID, Color);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
ChatID = "456";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";

Color = "PURPLE";

Expand Down
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/ChangeChatOwner.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
ChatID = "454";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";

UserID = 10;

Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
ChatID = "456";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";

Result = OPI_Bitrix24.ChangeChatOwner(URL, ChatID, UserID, Token);
10 changes: 5 additions & 5 deletions docs/en/examples/Bitrix24/ChangeChatPicture.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
ChatID = "454";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";

Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Image = "https://openintegrations.dev/test_data/picture2.jpg";

Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
ChatID = "456";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";

Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/ChangeChatTitle.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
ChatID = "454";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
ChatID = "450";

Title = "New chat title";

Result = OPI_Bitrix24.ChangeChatTitle(URL, ChatID, Title);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
ChatID = "456";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";

Title = "Another title";

Expand Down
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/ChangeUserStatus.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
UserID = "82";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
UserID = "78";

Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
UserID = "84";
Token = "fe3fa966006e9f06006b12e400000001000...";
UserID = "80";

Result = OPI_Bitrix24.ChangeUserStatus(URL, UserID, True, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/CheckTaskAccesses.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
ArrayOfUsers.Add("1");
ArrayOfUsers.Add("10");

URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";

Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.CheckTaskAccesses(URL, TaskID, ArrayOfUsers, Token);
8 changes: 4 additions & 4 deletions docs/en/examples/Bitrix24/CompleteTask.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";

Result = OPI_Bitrix24.CompleteTask(URL, TaskID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
TaskID = "1076";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";

Result = OPI_Bitrix24.CompleteTask(URL, TaskID, Token);
12 changes: 6 additions & 6 deletions docs/en/examples/Bitrix24/CompleteTasksChecklistElement.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
TaskID = "1074";
ElementID = "404";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
TaskID = "1078";
ElementID = "396";

Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID);

TaskID = "1076";
ElementID = "408";
TaskID = "1080";
ElementID = "400";

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Result = OPI_Bitrix24.CompleteTasksChecklistElement(URL, TaskID, ElementID, Token);
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/CreateChat.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
 Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
 Image = "https://openintegrations.dev/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);

B64Image = GetBase64StringFromBinaryData(Image);
Expand All @@ -17,12 +17,12 @@
ChatStructure.Insert("AVATAR" , B64Image);
ChatStructure.Insert("OWNER_ID" , 1);

URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Result = OPI_Bitrix24.CreateChat(URL, ChatStructure);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

ChatStructure = New Structure;
ChatStructure.Insert("TYPE" , "CHAT");
Expand Down
6 changes: 3 additions & 3 deletions docs/en/examples/Bitrix24/CreateDepartment.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";

Name = "Main department";
ParentID = 1;

Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";

Name = "Subordinate department";
ParentID = "72";
ParentID = "68";
HeadID = 1;

Result = OPI_Bitrix24.CreateDepartment(URL, Name, ParentID, HeadID, Token);
4 changes: 2 additions & 2 deletions docs/en/examples/Bitrix24/CreatePersonalNotification.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
 UserID = 1;

URL = "https://b24-ar17wx.bitrix24.by/rest/1/ztbe...";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2pp...";
Text = "Message text";
Image = "https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Expand All @@ -12,7 +12,7 @@
Result = OPI_Bitrix24.CreatePersonalNotification(URL, UserID, Text, ,Attachments);

URL = "b24-ar17wx.bitrix24.by";
Token = "c03fa966006e9f06006b12e400000001000...";
Token = "fe3fa966006e9f06006b12e400000001000...";
Tag = "New";
UserID = 10;

Expand Down
Loading

0 comments on commit b0bd851

Please sign in to comment.