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

Доп проверки в main.os

This commit is contained in:
Anton Titovets
2024-09-25 16:46:44 +03:00
parent 0c25b5a241
commit 9e87a89c17
520 changed files with 6149 additions and 6143 deletions

View File

@@ -1,8 +1,8 @@
 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 = "122";
Image1 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg"; // URL, Path to file or binary Data
Image2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg"; // URL, Path to file or binary Data
Selection = "121";
ImageArray = New Array;
ImageArray.Add(Image1);

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Property = "720";
Property = "793";
OptionArray = New Array;
OptionArray.Add("Yellow");
OptionArray.Add("Blue");

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9485960";
Selection = "122";
Product = "9612449";
Selection = "121";
Result = OPI_VK.AddProductToCollection(Product, Selection, Parameters);

View File

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

View File

@@ -1,9 +1,9 @@
 Parameters = GetVKParameters();
CampaignNumber = "1030500683";
CampaignNumber = "1030649520";
DailyLimit = 150;
CategoryNumber = 126;
PostID = "3754";
PostID = "4155";
AccountID = "1607951446";
Result = OPI_VK.CreateAd(CampaignNumber

View File

@@ -2,8 +2,8 @@
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
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
TFN = GetTempFileName("png");
CopyFile(Image, TFN);

View File

@@ -2,8 +2,8 @@
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
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
TFN = GetTempFileName("png");
CopyFile(Image2, TFN);

View File

@@ -1,9 +1,9 @@
 Parameters = GetVKParameters();
Image1 = "https://openintegrations.dev/test_data/picture.jpg";
Image2 = "https://openintegrations.dev/test_data/picture2.jpg";
PropVariant1 = "2239";
PropVariant2 = "2240";
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";
PropVariant1 = "2410";
PropVariant2 = "2411";
ImageArray = New Array;
ImageArray.Add(Image1);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Option = "2239";
Option = "2410";
Result = OPI_VK.DeleteProductPropertyVariant(Option, Parameters);

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Property = "720";
Option = "2239";
Property = "793";
Option = "2410";
Value = "New variant name";
Result = OPI_VK.EditProductPropertyVariant(Value

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9485961";
Item2 = "9485962";
Item1 = "9612450";
Item2 = "9612451";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

@@ -1,7 +1,7 @@
 Parameters = GetVKParameters();
Item1 = "9485961";
Item2 = "9485962";
Item1 = "9612450";
Item2 = "9612451";
ProductsArray = New Array;
ProductsArray.Add(Item1);

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
 Parameters = GetVKParameters();
Product = "9485960";
Selection = "122";
Product = "9612449";
Selection = "121";
Result = OPI_VK.RemoveProductFromSelection(Product, Selection, Parameters);

View File

@@ -1,8 +1,8 @@
 Parameters = GetVKParameters();
ImageDescription = "AutoTestImage";
AlbumID = "305499809";
AlbumID = "305834379";
Image = "https://openintegrations.dev/test_data/picture.jpg"; // URL, Path to file or Binary Data
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/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://openintegrations.dev/test_data/video.mp4";
Video = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/video.mp4";
Name = "NewVideo";
Description = "Video description";

View File

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