1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-11-21 17:56:56 +02:00

Обновление данных доков

This commit is contained in:
Anton Titovets 2024-08-13 16:36:00 +03:00
parent 6221f659f8
commit 01dda94800
337 changed files with 5700 additions and 5911 deletions

View File

@ -198,11 +198,14 @@
Функция ПреобразоватьТекст(Текст)
Если СтрНайти(Текст, "ПараметрыФункции") Тогда
ЕстьRU = СтрНайти(Текст, "ПараметрыФункции") <> 0;
ЕстьEN = СтрНайти(Текст, "FunctionParameters") <> 0;
Если ЕстьRU Или ЕстьEN Тогда
РазбитоеЗначение = СтрРазделить(Текст, "=", Ложь);
ИмяПараметра = ОпределитьИмяПараметра(Текст);
ИмяПараметра = ОпределитьИмяПараметра(Текст, ?(ЕстьRU, "ПараметрыФункции", "FunctionParameters"));
Попытка
Значение = OPI_ПолучениеДанныхТестов.ПолучитьПараметр(ИмяПараметра);
@ -219,15 +222,19 @@
ОпределениеПараметра = "ПараметрыФункции[""" + ИмяПараметра + """]";
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
ОпределениеПараметра = "FunctionParameters[""" + ИмяПараметра + """]";
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
КонецЕсли;
Возврат Текст;
КонецФункции
Функция ОпределитьИмяПараметра(Текст)
Функция ОпределитьИмяПараметра(Текст, Коллекция)
НачалоПараметра = СтрНайти(Текст, "ПараметрыФункции[""") + 18;
НачалоПараметра = СтрНайти(Текст, Коллекция + "[""") + 18;
КонецПараметра = СтрНайти(Текст, """]");
Имя = Сред(Текст, НачалоПараметра, КонецПараметра - НачалоПараметра);

View File

@ -99,7 +99,7 @@
ТекстТекущейСтроки = МодульТестов.ПолучитьСтроку(НомерСтроки + 1);
ТекстПримера = "";
ТекущаяСтруктураЗначений = Новый Структура();
ТекущаяСтруктураЗначений = Новый Соответствие();
ПрошлаяПустая = Ложь;
Пока СтрНайти(ТекстТекущейСтроки, "END") = 0
@ -108,7 +108,7 @@
ТекущаяПустая = Ложь;
ЭтоСкип = СтрНайти(ТекстТекущейСтроки, "SKIP") <> 0;
ЭтоЛог = СтрНайти(ТекстТекущейСтроки, "ЗаписатьЛог") <> 0;
ЭтоЛог = СтрНайти(ТекстТекущейСтроки, "ЗаписатьЛог") <> 0 Или СтрНайти(ТекстТекущейСтроки, "WriteLog") <> 0;
Если Не ЗначениеЗаполнено(СокрЛП(ТекстТекущейСтроки))
Или ЭтоСкип Или ЭтоЛог Тогда
@ -183,11 +183,18 @@
Функция ПреобразоватьТекст(Текст)
Если СтрНайти(Текст, "ПараметрыФункции") Тогда
ЕстьRU = СтрНайти(Текст, "ПараметрыФункции") <> 0;
ЕстьEN = СтрНайти(Текст, "FunctionParameters") <> 0;
Если ЕстьRU Или ЕстьEN Тогда
Если ЕстьEN Тогда
А = 1;
КонецЕсли;
РазбитоеЗначение = СтрРазделить(Текст, "=", Ложь);
ИмяПараметра = ОпределитьИмяПараметра(Текст);
ИмяПараметра = ОпределитьИмяПараметра(Текст, ?(ЕстьRU, "ПараметрыФункции", "FunctionParameters"));
Попытка
Значение = OPI_ПолучениеДанныхТестов.ПолучитьПараметр(ИмяПараметра);
@ -204,15 +211,19 @@
ОпределениеПараметра = "ПараметрыФункции[""" + ИмяПараметра + """]";
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
ОпределениеПараметра = "FunctionParameters[""" + ИмяПараметра + """]";
Текст = СтрЗаменить(Текст, ОпределениеПараметра, """" + Строка(Значение) + """");
КонецЕсли;
Возврат Текст;
КонецФункции
Функция ОпределитьИмяПараметра(Текст)
Функция ОпределитьИмяПараметра(Текст, Коллекция)
НачалоПараметра = СтрНайти(Текст, "ПараметрыФункции[""") + 18;
НачалоПараметра = СтрНайти(Текст, Коллекция + "[""") + СтрДлина(Коллекция) + 2;
КонецПараметра = СтрНайти(Текст, """]");
Имя = Сред(Текст, НачалоПараметра, КонецПараметра - НачалоПараметра);

View File

@ -1,8 +1,8 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Type": "string",
"Name": "TEXT_FIELD",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"ExternalID": "BITRIX_TEXT_FIELD",
"Title": "Text field"
}

View File

@ -1,6 +1,6 @@
{
"Color": "0026FF",
"URL": "b24-ar17wx.bitrix24.by",
"PrevStageID": "Result[result]",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Color": "0026FF",
"PrevStageID": "Result[result]"
}

View File

@ -1,6 +1,6 @@
{
"Text": "Another comment",
"PostID": "440",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "Another comment"
}

View File

@ -1,6 +1,6 @@
{
"Visibility": "UA",
"PostID": "440",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Visibility": "UA"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"TaskID": "1082",
"Text": "Task uninpossible, don't split up",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "Task uninpossible, don't split up"
}

View File

@ -1,8 +1,8 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"TaskID": "1088",
"Time": "7200",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Time": "7200",
"Text": "Time spent on work",
"UserID": "10"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"TaskID": "1080",
"Text": "Checklist element",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "Checklist element"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "452",
"Color": "PURPLE",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Color": "PURPLE"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "452",
"UserID": "10",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"UserID": "10"
}

View File

@ -1,6 +1,6 @@
{
"Image": "https://openintegrations.dev/test_data/picture.jpg",
"B64Image": "GetBase64StringFromBinaryData(Image)",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"B64Image": "GetBase64StringFromBinaryData(Image)"
}

View File

@ -1,7 +1,7 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Name": "Subordinate department",
"ParentID": "68",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"ParentID": "68",
"Name": "Subordinate department",
"HeadID": "1"
}

View File

@ -1,8 +1,8 @@
{
"UserID": "10",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"UserID": "10",
"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",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"
}

View File

@ -1,8 +1,8 @@
{
"Text": "Text of post",
"Title": "Post title",
"Image1": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "Text of post",
"Title": "Post title"
}

View File

@ -1,5 +1,5 @@
{
"StorageID": "3",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"StorageID": "3"
}

View File

@ -1,8 +1,8 @@
{
"UserID": "10",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"UserID": "10",
"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",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"File": "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"
}

View File

@ -1,7 +1,7 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Hour": "3600",
"Day": "24",
"Responsible": "1",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Responsible": "1"
}

View File

@ -1,7 +1,7 @@
{
"FromID": "1080",
"DestinationID": "1078",
"LinkType": "2",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"LinkType": "2"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "452",
"UserID": "10",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"UserID": "10"
}

View File

@ -0,0 +1,4 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "chat4",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"ChatID": "chat4",
"UserID": "10"
}

View File

@ -1,5 +1,5 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"StorageID": "3",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"StorageID": "3"
}

View File

@ -1,5 +1,5 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"StorageID": "3",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"StorageID": "3"
}

View File

@ -1,5 +1,5 @@
{
"Indent": "1",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Indent": "1"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Hour": "3600",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Hour": "3600",
"UserID": "1"
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Hour": "3600",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Hour": "3600",
"UserID": "1"
}

View File

@ -0,0 +1,6 @@
{
"FolderID": 5016,
"FileID": 5010,
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
}

View File

@ -1,6 +1,6 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Hour": "3600",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Hour": "3600",
"UserID": "1"
}

View File

@ -2,8 +2,8 @@
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "452",
"File": "https://openintegrations.dev/test_data/document.docx // Binary Data, URL or path to file",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Description": "Very important file",
"FolderID": "Directory[result][ID]",
"FileID": "UploadedFile[result][ID]",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"FileID": "UploadedFile[result][ID]"
}

View File

@ -1,9 +1,9 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"ChatID": "chat + 450",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"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",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"UserID": "10"
}

View File

@ -1,5 +1,5 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Status": "away",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Status": "away"
}

View File

@ -1,7 +1,7 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"Hour": "3600",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Hour": "3600",
"UserID": "1",
"Report": "Late"
}

View File

@ -1,7 +1,7 @@
{
"URL": "b24-ar17wx.bitrix24.by",
"DepartmentID": "70",
"ParentID": "1",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"ParentID": "1",
"HeadID": "10"
}

View File

@ -1,6 +1,6 @@
{
"Color": "000000",
"StageID": "320",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Color": "000000"
}

View File

@ -2,6 +2,6 @@
"URL": "b24-ar17wx.bitrix24.by",
"TaskID": "1082",
"CommentID": "2936",
"Text": "The task has been changed, let's split up",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "The task has been changed, let's split up"
}

View File

@ -2,7 +2,7 @@
"URL": "b24-ar17wx.bitrix24.by",
"TaskID": "1088",
"RecordID": "308",
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Text": "The text I forgot last time",
"Time": "4800",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Time": "4800"
}

View File

@ -1,9 +1,9 @@
{
"Filename2": "Picture2.jpg",
"Name": "Picture1.jpg",
"Image2": "https://openintegrations.dev/test_data/picture.jpg // Local path, URL or Binary Data",
"Image": "https://openintegrations.dev/test_data/picture2.jpg // Local path, URL or Binary Data",
"DestinationID": "5016",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Filename2": "Picture2.jpg",
"Name": "Picture1.jpg"
}

View File

@ -1,9 +1,9 @@
{
"Filename2": "Picture2.jpg",
"Name": "Picture1.jpg",
"Image2": "https://openintegrations.dev/test_data/picture.jpg // Local path, URL or Binary Data",
"Image": "https://openintegrations.dev/test_data/picture2.jpg // Local path, URL or Binary Data",
"DestinationID": "3",
"URL": "b24-ar17wx.bitrix24.by",
"Token": "fe3fa966006e9f06006b12e400000001000..."
"Token": "fe3fa966006e9f06006b12e400000001000...",
"Filename2": "Picture2.jpg",
"Name": "Picture1.jpg",
"DestinationID": "3"
}

View File

@ -1,4 +1,4 @@
{
"Tag": "Important",
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
"Tag": "Important"
}

View File

@ -1,4 +1,4 @@
{
"Tag": "Important",
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
"Tag": "Important"
}

View File

@ -0,0 +1,3 @@
{
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
}

View File

@ -1,4 +1,4 @@
{
"TargetPath": "/pic.png",
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ..."
"Token": "sl.B6AQWp9MlZlz4iaf41whVKxX9-MXeCiQhPRe4YIRxFmZ3zHsdjmOAatzgaWVhqmlIOvDD6WIUQ...",
"TargetPath": "/pic.png"
}

View File

@ -0,0 +1,5 @@
{
"AppKey": "oynqxds...",
"AppSecret": "tk2oewn...",
"RefreshToken": "oZFWg3DmZ_IAAAAAAAAAAWilOA0M1SjV..."
}

View File

@ -0,0 +1,4 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"Chat": "-1001971186208"
}

View File

@ -0,0 +1,5 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"Chat": "-1001971186208",
"Topic": "3896"
}

View File

@ -0,0 +1,5 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"Chat": "-1001971186208",
"Topic": "3896"
}

View File

@ -0,0 +1,4 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"Chat": "-1001971186208"
}

View File

@ -0,0 +1,4 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"ChannelID": "@testsichee"
}

View File

@ -0,0 +1,3 @@
{
"Token": "6129457865:AAFyzNYOAFbu..."
}

View File

@ -0,0 +1,5 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"Chat": "-1001971186208",
"Topic": "3896"
}

View File

@ -1,4 +1,8 @@
{
"Token": "111111111:AACccNYOAFbuhAL5GAaaBbbbOjZYFvLZZZZ",
"ChatID": "461699897",
"Text": "Строковое значение",
"Image": "https://openintegrations.dev/test_data/picture.jpg",
"Video": "https://openintegrations.dev/test_data/video.mp4",
"Description": "Pictures group"
}

View File

@ -0,0 +1,7 @@
{
"Token": "6129457865:AAFyzNYOAFbu...",
"ChatID": "461699897",
"ChannelID": "@testsichee",
"Text": "Строковое значение",
"Image": "https://openintegrations.dev/test_data/picture.jpg"
}

View File

@ -1,6 +1,6 @@
{
"Parameters": "GetVKParameters()",
"Image1": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or binary Data",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path to file or binary Data",
"Selection": "125"
"Selection": "125",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"Property": "648"
"Property": "648",
"Parameters": "GetVKParameters()"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"Product": "9372711",
"Selection": "125"
"Selection": "125",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"DiscussionID": "51798392"
"DiscussionID": "51798392",
"Parameters": "GetVKParameters()"
}

View File

@ -1,8 +1,8 @@
{
"Parameters": "GetVKParameters()",
"CampaignNumber": "1030425511",
"DailyLimit": "150",
"CategoryNumber": "126",
"PostID": "3356",
"AccountID": "1607951446"
"AccountID": "1607951446",
"Parameters": "GetVKParameters()",
"DailyLimit": "150",
"CategoryNumber": "126"
}

View File

@ -0,0 +1,3 @@
{
"AccountID": "1607951446"
}

View File

@ -1,8 +1,8 @@
{
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
"Video": "https://openintegrations.dev/test_data/video.mp4 // URL, Path or Binary Data",
"Parameters": "GetVKParameters()",
"Text": "Post from autotest",
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
"Video": "https://openintegrations.dev/test_data/video.mp4 // URL, Path or Binary Data",
"TFN": "GetTempFileName(png)"
}

View File

@ -1,8 +1,8 @@
{
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
"Parameters": "GetVKParameters()",
"Text": "Post from autotest",
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path or Binary Data",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg // URL, Path or Binary Data",
"TFN": "GetTempFileName(png)"
}

View File

@ -0,0 +1,6 @@
{
"Image1": "https://openintegrations.dev/test_data/picture.jpg",
"Image2": "https://openintegrations.dev/test_data/picture2.jpg",
"PropVariant1": 2054,
"PropVariant2": 2055
}

View File

@ -1,6 +1,6 @@
{
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or Binary Data",
"Parameters": "GetVKParameters()",
"URL": "https://github.com/Bayselonarrend/OpenIntegrations",
"Image": "https://openintegrations.dev/test_data/picture.jpg // URL, Path to file or Binary Data",
"TFN": "GetTempFileName(png)"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"AlbumID": "305187504"
"AlbumID": "305187504",
"Parameters": "GetVKParameters()"
}

View File

@ -0,0 +1,3 @@
{
"Selection": 125
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"ImageID": "457246566"
"ImageID": "457246566",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"PostID": "3356"
"PostID": "3356",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"Product": "9372711"
"Product": "9372711",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"Property": "648"
"Property": "648",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"Option": "2054"
"Option": "2054",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"Product": "9372711"
"Product": "9372711",
"Parameters": "GetVKParameters()"
}

View File

@ -1,5 +1,5 @@
{
"Property": "648",
"Parameters": "GetVKParameters()",
"Name": "Color (change.)",
"Property": "648"
"Name": "Color (change.)"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"Property": "648",
"Option": "2054"
"Option": "2054",
"Parameters": "GetVKParameters()"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"Item1": "9372712",
"Item2": "9372714"
"Item2": "9372714",
"Parameters": "GetVKParameters()"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"Item1": "9372712",
"Item2": "9372714"
"Item2": "9372714",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"PostID": "3356"
"PostID": "3356",
"Parameters": "GetVKParameters()"
}

View File

@ -1,4 +1,4 @@
{
"Parameters": "GetVKParameters()",
"DiscussionID": "51798392"
"DiscussionID": "51798392",
"Parameters": "GetVKParameters()"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"AccountID": "1607951446",
"AdID": "0"
"AdID": "0",
"Parameters": "GetVKParameters()"
}

View File

@ -0,0 +1,3 @@
{
"DiscussionID": 51798392
}

View File

@ -0,0 +1,4 @@
{
"Product": 9372711,
"Selection": 125
}

View File

@ -0,0 +1,4 @@
{
"AlbumID": 305187504,
"Image": "https://openintegrations.dev/test_data/picture.jpg"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"Video": "https://openintegrations.dev/test_data/video.mp4",
"Parameters": "GetVKParameters()",
"Description": "Video description"
}

View File

@ -1,5 +1,5 @@
{
"Parameters": "GetVKParameters()",
"PostID": "3356",
"Parameters": "GetVKParameters()",
"WallID": "Parameters[owner_id]"
}

View File

@ -1,6 +1,6 @@
{
"Parameters": "GetVKParameters()",
"Text": "Message from autotest",
"UserID": "657846756",
"Communitytoken": "vk1.a.IzbBGUkYUvrNfMt_sknCcC66hyYifL0U1Bb8CVYCNFBUVfpsJtzZ_K5LwCzURr2_uCzEaP_AK1QmInp9sGp7fu_CtEDSipFWFXJo0y8I..."
"Communitytoken": "vk1.a.IzbBGUkYUvrNfMt_sknCcC66hyYifL0U1Bb8CVYCNFBUVfpsJtzZ_K5LwCzURr2_uCzEaP_AK1QmInp9sGp7fu_CtEDSipFWFXJo0y8I...",
"Parameters": "GetVKParameters()",
"Text": "Message from autotest"
}

View File

@ -0,0 +1,4 @@
{
"Token": "001.3501506236.091...",
"ChatID": "689203963@chat.agent"
}

View File

@ -0,0 +1,5 @@
{
"Token": "001.3501506236.091...",
"ChatID": "AoLI0egLWBSLR1Ngn2w",
"FileID": "I000bPVBYaNQkn9Fg3oY0066ba35811bd"
}

View File

@ -1,7 +1,7 @@
{
"Token": "001.3501506236.091...",
"ChatID": "AoLI0egLWBSLR1Ngn2w",
"Text": "File caption",
"File": "https://openintegrations.dev/test_data/document.docx // URL",
"Text": "File caption",
"FilePath": "GetTempFileName(docx) // Path"
}

View File

@ -1,7 +1,7 @@
{
"Token": "001.3501506236.091...",
"ChatID": "689203963@chat.agent",
"Text": "<b>Bold text</b>",
"ReplyID": "7402287649739767956",
"Text": "<b>Bold text</b>",
"Markup": "HTML"
}

View File

@ -2,7 +2,7 @@
"Token": "001.3501506236.091...",
"ChatID": "689203963@chat.agent",
"ReplyID": "7402287649739767956",
"Text": "File caption",
"File": "https://openintegrations.dev/test_data/song.m4a // URL",
"Text": "File caption",
"FilePath": "GetTempFileName(m4a) // Path"
}

View File

@ -0,0 +1,3 @@
{
"Token": "y0_AgAAAABdylaOAAs0QgAAAAD5i-a..."
}

View File

@ -1,12 +1,12 @@
 URL = FunctionParameters["Bitrix24_URL"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Type = "date";
Name = "BIRTHDAY_FIELD";
Result = OPI_Bitrix24.AddCustomTaskField(URL, Type, Name);
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Type = "string";
Name = "TEXT_FIELD";

View File

@ -1,18 +1,16 @@
 Name = "New stage";
Color = "0026FF";
URL = FunctionParameters["Bitrix24_URL"];
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, 6);
OPI_TestDataRetrieval.WriteLog(Result, "AddKanbanStage (wh)", "Bitrix24");
PrevStageID = Result["result"];
Name = "New stage 2";
Color = "0026FF";
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddKanbanStage(URL, Name, Color, PrevStageID, , True, Token);

View File

@ -1,13 +1,11 @@
 Text = "Comment for post";
PostID = FunctionParameters["Bitrix24_PostID"];
URL = FunctionParameters["Bitrix24_URL"];
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text);
OPI_TestDataRetrieval.WriteLog(Result, "AddPostComment (wh)", "Bitrix24");
Text = "Another comment";
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostComment(URL, PostID, Text, Token);

View File

@ -1,12 +1,10 @@
 Visibility = "UA";
PostID = FunctionParameters["Bitrix24_PostID"];
URL = FunctionParameters["Bitrix24_URL"];
PostID = "440";
URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility);
OPI_TestDataRetrieval.WriteLog(Result, "AddPostRecipients (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Result = OPI_Bitrix24.AddPostRecipients(URL, PostID, Visibility, Token);

View File

@ -1,14 +1,12 @@
 URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_CommentsTaskID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1082";
Text = "Task impossible, let's split up";
Result = OPI_Bitrix24.AddTaskComment(URL, TaskID, Text);
OPI_TestDataRetrieval.WriteLog(Result, "AddTaskComment (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Text = "Task uninpossible, don't split up";

View File

@ -1,14 +1,12 @@
 URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_ElapsedTaskID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1088";
Time = 3600;
Result = OPI_Bitrix24.AddTaskTimeAccounting(URL, TaskID, Time);
OPI_TestDataRetrieval.WriteLog(Result, "AddTaskTimeAccounting (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
Text = "Time spent on work";
UserID = 10;

View File

@ -1,12 +1,10 @@
 URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID);
OPI_TestDataRetrieval.WriteLog(Result, "StopWatchingTask (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
TaskID = FunctionParameters["Bitrix24_TaskID"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTaskToFavorites(URL, TaskID, Token);

View File

@ -1,14 +1,12 @@
 URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Text = "Checklist element";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, True);
OPI_TestDataRetrieval.WriteLog(Result, "AddTasksChecklistElement (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
TaskID = FunctionParameters["Bitrix24_TaskID"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.AddTasksChecklistElement(URL, TaskID, Text, , Token);

View File

@ -1,5 +1,5 @@
 URL = FunctionParameters["Bitrix24_URL"];
ChatID = FunctionParameters["Bitrix24_HookChatID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
ChatID = "450";
UserIDs = New Array;
UserIDs.Add(10);
@ -7,11 +7,9 @@
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserIDs);
OPI_TestDataRetrieval.WriteLog(Result, "AddUsersToChat (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
ChatID = FunctionParameters["Bitrix24_ChatID"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
ChatID = "452";
UserID = 10;
Result = OPI_Bitrix24.AddUsersToChat(URL, ChatID, UserID, True, Token);

View File

@ -1,12 +1,10 @@
 URL = FunctionParameters["Bitrix24_URL"];
TaskID = FunctionParameters["Bitrix24_HookTaskID"];
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/f2ppp8uucc891111/";
TaskID = "1078";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID);
OPI_TestDataRetrieval.WriteLog(Result, "ApproveTask (wh)", "Bitrix24");
URL = FunctionParameters["Bitrix24_Domain"];
Token = FunctionParameters["Bitrix24_Token"];
TaskID = FunctionParameters["Bitrix24_TaskID"];
URL = "b24-ar17wx.bitrix24.by";
Token = "fe3fa966006e9f06006b12e400000001000...";
TaskID = "1080";
Result = OPI_Bitrix24.ApproveTask(URL, TaskID, Token);

Some files were not shown because too many files have changed in this diff Show More