1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2024-10-04 13:35:56 +03:00
parent 690d525b70
commit 1dd489de49
191 changed files with 5195 additions and 5073 deletions

View File

@@ -1,7 +1,7 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Image = "https://openyellow.neocities.org/test_data/picture2.jpg";
Result = OPI_Bitrix24.ChangeChatPicture(URL, ChatID, Image);

View File

@@ -1,4 +1,4 @@
 Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
 Image = "https://openyellow.neocities.org/test_data/picture.jpg";
OPI_TypeConversion.GetBinaryData(Image);
B64Image = GetBase64StringFromBinaryData(Image);

View File

@@ -1,7 +1,7 @@
 Text = "Text of post";
Title = "Post title";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Path or Binary Data
Files = New Map;
Files.Insert("1.png", Image1);

View File

@@ -1,4 +1,4 @@
 Name = "Image";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
URL = "https://openyellow.neocities.org/test_data/document.docx";
Result = OPI_Bitrix24.GetFileBlock(Name, URL);

View File

@@ -1,4 +1,4 @@
 Name = "Image";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
URL = "https://openyellow.neocities.org/test_data/picture.jpg";
Result = OPI_Bitrix24.GetPictureBlock(Name, URL);

View File

@@ -1,6 +1,6 @@
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
ChatID = "872";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // Binary Data, URL or path to file
File = "https://openyellow.neocities.org/test_data/document.docx"; // Binary Data, URL or path to file
Description = "Very important file";
Directory = OPI_Bitrix24.GetChatFilesFolder(URL, ChatID);

View File

@@ -1,6 +1,6 @@
 Text = "New post text";
Title = "New post title";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
PostID = "836";
Files = New Map;

View File

@@ -1,8 +1,8 @@
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://openyellow.neocities.org/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = "10842";

View File

@@ -1,8 +1,8 @@
 Filename2 = "Picture2.jpg";
Name = "Picture1.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // Local path, URL or Binary Data
Image2 = "https://openyellow.neocities.org/test_data/picture.jpg"; // Local path, URL or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture2.jpg"; // Local path, URL or Binary Data
DestinationID = 3;

View File

@@ -1,6 +1,6 @@
 Path = "/New/pic.png";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@@ -1,5 +1,5 @@
 Path = "/New/url_doc.docx";
Token = "sl.B9sYGdZdLILSnqlGZCwLFCstq1B1GsgevbBkwi4UK_UlNyhGAoJ1fKoXMy3dQhkEb3e80HTL6g...";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
URL = "https://openyellow.neocities.org/test_data/document.docx";
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);

View File

@@ -5,8 +5,8 @@
Description = "TestEventDescription";
Hour = 3600;
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Binary or Path to file
Attachments = New Map;
Attachments.Insert("Image1", Image1);

View File

@@ -1,6 +1,6 @@
 Token = "ya29.a0AcM612xw6IRwwkQIOEhizd2pJ6LLI4UAhdhxmXDGEzYkcfUPrLYgDDwbsSi5iQdc78WPs_1_Qor5KipuV6mAIvr6z-AKzrBaMT4erIR5T...";
NewName = "UpdatedFile.jpg";
Identifier = "1f-YrvMCEZ7r3JWlLGM39zn6dctvFjwCi";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary Data or Path to file
File = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Binary Data or Path to file
Result = OPI_GoogleDrive.UpdateFile(Token, Identifier, File, NewName);

View File

@@ -1,5 +1,5 @@
 Token = "ya29.a0AcM612xw6IRwwkQIOEhizd2pJ6LLI4UAhdhxmXDGEzYkcfUPrLYgDDwbsSi5iQdc78WPs_1_Qor5KipuV6mAIvr6z-AKzrBaMT4erIR5T...";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
Directory = "191iyaa6-2BCNRPOF0F8mQ0TuNWPNesdM";
Description = OPI_GoogleDrive.GetFileDescription();

View File

@@ -1,5 +1,5 @@
 Token = "7419cd51de4037f7...";
Data = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Data = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
Path = "testfolder/test_pic.png";
Result = OPI_Neocities.UploadFile(Token, Path, Data);

View File

@@ -1,8 +1,8 @@
 Token = "7419cd51de4037f7...";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif"; // URL, Path or Binary Data
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Path or Binary Data
GIF = "https://openyellow.neocities.org/test_data/animation.gif"; // URL, Path or Binary Data
FileMapping = New Map;
FileMapping.Insert("test/pic1.png", Image1);

View File

@@ -1,6 +1,6 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Base = "11282aa7-fc4e-810b-ab77-cef5a2a3443e";
Image_ = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary Data or Path to file
Image_ = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Binary Data or Path to file
Image = New Map;
Image.Insert("Logo", Image_);

View File

@@ -1,7 +1,7 @@
 Token = "secret_9RsfMrRMqZwqp0Zl0B...";
Page = "11282aa7-fc4e-814c-990c-dd3c9c3c2c22";
Icon = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Cover = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Icon = "https://openyellow.neocities.org/test_data/picture.jpg";
Cover = "https://openyellow.neocities.org/test_data/picture2.jpg";
Archive = False;
Properties = New Map;

View File

@@ -1,7 +1,7 @@
 ClientID = "2128753";
APIKey = "7cc90d26-33e4-499b...";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg";
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg";
Video = "https://rutube.ru/video/c6cc4d620b1d4338901770a44b3e82f4/";
ImageArray = New Array;

View File

@@ -2,8 +2,8 @@
APIKey = "7cc90d26-33e4-499b...";
ProductID = "1202180384";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg";
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg";
MarketingColor = "GREEN";

View File

@@ -1,5 +1,5 @@
 Token = "xoxb-6965308400114-696804637...";
Title = "NewFile";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL, Binary Data or Path to file
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL, Binary Data or Path to file
Result = OPI_Slack.AddExternalFile(Token, File, Title);

View File

@@ -1,7 +1,7 @@
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
User = "U06UABH3APP";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
Text = "Ephemeral message";
Block = OPI_Slack.GenerateImageBlock(Image, "Image");

View File

@@ -9,7 +9,7 @@
// With attachments (picture block in the example)
Text = "Message with picture";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
BlockArray = New Array;
Block = OPI_Slack.GenerateImageBlock(Image, "Image");

View File

@@ -1,6 +1,6 @@
 Token = "xoxb-6965308400114-696804637...";
Channel = "C06UFNUTKUL";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL, Binary Data or Path to file
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL, Binary Data or Path to file
FileName = "megadoc.docx";
Title = "NewFile";

View File

@@ -1,4 +1,4 @@
 FileID = "CQACAgIAAx0EcNsaZQACIzFm-WB2un7AYov-xNbc_geFgGTM_gACbmQAAi3jyUs9kgABMFstY_82BA";
 FileID = "AgACAgIAAxkDAAIfmWb-MR8PQhrvZHiqLmG6UdiAAznzAALj5DEb1I7wSxB3bmqDIveAAQADAgADcwADNgQ";
Token = "6129457865:AAFyzNYOAFbu...";
Result = OPI_Telegram.DownloadFile(Token, FileID);

View File

@@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Audio = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.mp3";
Audio = "https://openyellow.neocities.org/test_data/song.mp3";
AudioPath = GetTempFileName("mp3");
CopyFile(Audio, AudioPath);

View File

@@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Document = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Document = "https://openyellow.neocities.org/test_data/document.docx";
DocumentPath = GetTempFileName("docx");
CopyFile(Document, DocumentPath);

View File

@@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif";
GIF = "https://openyellow.neocities.org/test_data/animation.gif";
GifPath = GetTempFileName("gif");
CopyFile(GIF, GifPath);

View File

@@ -1,8 +1,8 @@
 Token = "6129457865:AAFyzNYOAFbu...";
ChatID = "461699897";
Text = "Строковое значение";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
Video = "https://openyellow.neocities.org/test_data/video.mp4";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@@ -2,7 +2,7 @@
ChatID = "461699897";
ChannelID = "@testsichee";
Text = "Строковое значение";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Video = "https://openyellow.neocities.org/test_data/video.mp4";
VideoPath = GetTempFileName("mp4");
CopyFile(Video, VideoPath);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Binary or Path to file
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Binary or Path to file
Selection = "121";
ImageArray = New Array;

View File

@@ -2,8 +2,8 @@
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4"; // URL, Path or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
Video = "https://openyellow.neocities.org/test_data/video.mp4"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@@ -2,8 +2,8 @@
Text = "Post from autotest";
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path or Binary Data
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg"; // URL, Path or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image2, TFN);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Name = "TestCollection";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image = "https://openyellow.neocities.org/test_data/picture.jpg";
Main = True;
Hidden = False;

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg";
Image1 = "https://openyellow.neocities.org/test_data/picture.jpg";
Image2 = "https://openyellow.neocities.org/test_data/picture2.jpg";
PropVariant1 = "2450";
PropVariant2 = "2451";

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
URL = "https://github.com/Bayselonarrend/OpenIntegrations";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);
Image = New BinaryData(TFN);

View File

@@ -2,7 +2,7 @@
ImageDescription = "AutoTestImage";
AlbumID = "305905563";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL, Path to file or Binary Data
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Video = "https://openyellow.neocities.org/test_data/video.mp4";
Name = "NewVideo";
Description = "Video description";

View File

@@ -1,7 +1,7 @@
 Token = "001.3501506236.091...";
ChatID = "AoLI0egLWBSLR1Ngn2w";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/spy2.png"; // URL
File = "https://openyellow.neocities.org/test_data/spy2.png"; // URL
FilePath = GetTempFileName("png"); // Path
CopyFile(File, FilePath);

View File

@@ -2,7 +2,7 @@
ChatID = "AoLI0egLWBSLR1Ngn2w";
Text = "File caption";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx"; // URL
File = "https://openyellow.neocities.org/test_data/document.docx"; // URL
FilePath = GetTempFileName("docx"); // Path
CopyFile(File, FilePath);

View File

@@ -3,7 +3,7 @@
ReplyID = "7419291601358293295";
Text = "File caption";
File = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/song.m4a" ; // URL
File = "https://openyellow.neocities.org/test_data/song.m4a" ; // URL
FilePath = GetTempFileName("m4a"); // Path
CopyFile(File, FilePath);

View File

@@ -1,5 +1,5 @@
 Extension = "docx";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
URL = "https://openyellow.neocities.org/test_data/document.docx";
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
Token = "523b5b25ed27e6ec-fdf013e4...";

View File

@@ -1,5 +1,5 @@
 Description = "TestMessage";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
URL = "https://openyellow.neocities.org/test_data/picture.jpg";
UserID = "d3jxe61Z4W73nmNkjYGgZg==";
Token = "523b5b25ed27e6ec-fdf013e4...";

View File

@@ -2,7 +2,7 @@
Path2 = "/" + String(New UUID) + ".png";
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL
Image = "https://openyellow.neocities.org/test_data/picture.jpg"; // URL
TFN = GetTempFileName("png"); // Path
CopyFile(Image, TFN);

View File

@@ -1,5 +1,5 @@
 Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
Address = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
Address = "https://openyellow.neocities.org/test_data/picture.jpg";
Path = "/" + String(New UUID) + ".png";
Result = OPI_YandexDisk.UploadFileByURL(Token, Path, Address);