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

Main build (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot)
2025-08-18 16:58:37 +03:00
parent ad416ffacd
commit 00b71369a3
1264 changed files with 88709 additions and 86989 deletions

View File

@@ -2,7 +2,7 @@
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, Binary or File path
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Binary or File path
Selection = "136";
Selection = "138";
ImageArray = New Array;
ImageArray.Add(Image1);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Property = "3785";
Property = "4016";
OptionArray = New Array;
OptionArray.Add("Yellow");
OptionArray.Add("Blue");
@@ -10,5 +10,4 @@
Result = OPI_VK.AddProductPropertyVariant(Value, Property, Parameters);
FunctionParameters.Insert(ParameterName, VariantID);
EndDo;

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11567997";
Selection = "136";
Product = "11699769";
Selection = "138";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);

View File

@@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "54010476";
DiscussionID = "54059973";
Result = OPI_VK.CloseDiscussion(DiscussionID, False, Parameters);

View File

@@ -1,10 +1,14 @@
 Parameters = GetVKParameters();
CampaignNumber = "1031461042";
CampaignNumber = "1031506955";
DailyLimit = 150;
CategoryNumber = 126;
PostID = "9028";
PostID = "9171";
AccountID = "1607951446";
Result = OPI_VK.CreateAd(CampaignNumber, DailyLimit, CategoryNumber, PostID, AccountID,
Parameters);
Result = OPI_VK.CreateAd(CampaignNumber
, DailyLimit
, CategoryNumber
, PostID
, AccountID
, Parameters);

View File

@@ -2,8 +2,8 @@
Image1 = "https://hut.openintegrations.dev/test_data/picture.jpg";
Image2 = "https://hut.openintegrations.dev/test_data/picture2.jpg";
PropVariant1 = "7209";
PropVariant2 = "7210";
PropVariant1 = "7484";
PropVariant2 = "7485";
ImageArray = New Array;
ImageArray.Add(Image1);
@@ -29,22 +29,3 @@
Product.Insert("PropertyValues" , PropVariant1);
Result = OPI_VK.AddProduct(Product, , Parameters);
OPI_TestDataRetrieval.Check_VKProduct(Result);
ProductID = Result["response"]["market_item_id"];
OPI_TestDataRetrieval.WriteParameter("VK_MarketItemID2", ProductID);
FunctionParameters.Insert("VK_MarketItemID2", ProductID);
Product.Insert("Name" , "Test product (another)");
Product.Insert("PropertyValues", PropVariant2);
Result = OPI_VK.AddProduct(Product, , Parameters);
OPI_TestDataRetrieval.Check_VKProduct(Result);
ProductID = Result["response"]["market_item_id"];
OPI_TestDataRetrieval.WriteParameter("VK_MarketItemID3", ProductID);
FunctionParameters.Insert("VK_MarketItemID3", ProductID);
OPI_Tools.Pause(5);

View File

@@ -7,5 +7,3 @@
Image = New BinaryData(TFN);
Result = OPI_VK.CreateStory(Image, URL, Parameters);
Result = OPI_VK.CreateStory(TFN, , Parameters);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
AlbumID = "309542423";
AlbumID = "309772305";
Result = OPI_VK.DeleteAlbum(AlbumID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Selection = "136";
Selection = "138";
Result = OPI_VK.DeleteSelection(Selection, Parameters);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
ImageID = "457257894";
ImageID = "457258189";
Result = OPI_VK.DeleteImage(ImageID, Parameters);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "9028";
PostID = "9171";
Result = OPI_VK.DeletePost(PostID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Product = "11567997";
Product = "11699769";
Result = OPI_VK.DeleteProduct(Product, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
Property = "3785";
Property = "4016";
Result = OPI_VK.DeleteProductProperty(Property, Parameters);

View File

@@ -1,9 +1,5 @@
 Parameters = GetVKParameters();
Option = "7209";
Option = "7484";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);
OPI_TestDataRetrieval.Check_VKTrue(Result);
OPI_Tools.Pause(5);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11567997";
Product = "11699769";
ProductDescription = New Map;
ProductDescription.Insert("Name", "EditedTestProduct");

View File

@@ -1,10 +1,6 @@
 Parameters = GetVKParameters();
Name = "EditedCollection";
Selection = "136";
Selection = "138";
Result = OPI_VK.EditProductCollection(Name, Selection, , , , Parameters);
OPI_TestDataRetrieval.Check_VKTrue(Result);
OPI_Tools.Pause(5);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Name = "Color (change.)";
Property = "3785";
Property = "4016";
Result = OPI_VK.EditProductProperty(Name, Property, Parameters);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Property = "3785";
Option = "7209";
Property = "4016";
Option = "7484";
Value = "New variant name";
Result = OPI_VK.EditProductPropertyVariant(Value, Property, Option, Parameters);

View File

@@ -2,4 +2,4 @@
ButtonArray.Add("Button 1");
ButtonArray.Add("Button 2");
Keyboard = OPI_VK.FormKeyboard(ButtonArray);
Result = OPI_VK.FormKeyboard(ButtonArray);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "11568001";
Item2 = "11568002";
Item1 = "11699773";
Item2 = "11699774";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
Selection = "136";
Selection = "138";
Result = OPI_VK.GetSelectionsByID(Selection, Parameters);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "11568001";
Item2 = "11568002";
Item1 = "11699773";
Item2 = "11699774";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -1,4 +1,4 @@
 Parameters = GetVKParameters();
PostID = "9028";
PostID = "9171";
Result = OPI_VK.LikePost(PostID, , Parameters);

View File

@@ -1,3 +1,3 @@
 Parameters = GetVKParameters();
DiscussionID = "54010476";
DiscussionID = "54059973";
Result = OPI_VK.OpenDiscussion(DiscussionID, Parameters);

View File

@@ -1,5 +1,5 @@
 Parameters = GetVKParameters();
DiscussionID = "54010476";
DiscussionID = "54059973";
Message = "I like yellow more";
Result = OPI_VK.WriteInDiscussion(DiscussionID, Message, Parameters);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "11567997";
Selection = "136";
Product = "11699769";
Selection = "138";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
ImageDescription = "AutoTestImage";
AlbumID = "309542423";
AlbumID = "309772305";
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL, File path or Binary Data
TFN = GetTempFileName("png");

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Text = "NewComment";
PostID = "9028";
PostID = "9171";
WallID = Parameters["owner_id"];
Result = OPI_VK.WriteComment(PostID, WallID, Text, Parameters);