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

JF Тестов CLI

This commit is contained in:
Anton
2024-10-14 22:16:49 +03:00
parent 45d6bccb94
commit 33c347253e
738 changed files with 9727 additions and 7971 deletions

View File

@@ -1,5 +1,5 @@
 Tag = "Important";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/mydoc.docx";
Result = OPI_Dropbox.AddTag(Token, Path, Tag);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Email = "h5bk6ft62s@privaterelay.appleid.com";
File = "kJU6-a-pT48AAAAAAAAABw";

View File

@@ -1,5 +1,5 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Email = "h5bk6ft62s@privaterelay.appleid.com";
Folder = "11727195745"; // shared_folder_id
Folder = "11718251425"; // shared_folder_id
Result = OPI_Dropbox.AddUsersToFolder(Token, Folder, Email, False);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
File = "kJU6-a-pT48AAAAAAAAABw";
Result = OPI_Dropbox.CancelFilePublication(Token, File);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Folder = "11727195745";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Folder = "11718251425";
Result = OPI_Dropbox.CancelFolderPublication(Token, Folder);

View File

@@ -1,5 +1,5 @@
 Original = "/New/pic.png";
Copy = "/New/pic_copy.png";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.CopyObject(Token, Original, Copy);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New catalog";
Result = OPI_Dropbox.CreateFolder(Token, Path);

View File

@@ -1,4 +1,4 @@
 Path = "/New/pic.png";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.DeleteObject(Token, Path);

View File

@@ -1,5 +1,5 @@
 Tag = "Important";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/mydoc.docx";
Result = OPI_Dropbox.DeleteTag(Token, Path, Tag);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/pic.png";
Result = OPI_Dropbox.DownloadFile(Token, Path);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New";
Result = OPI_Dropbox.DownloadFolder(Token, Path);

View File

@@ -1,3 +1,3 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.GetAccountInformation(Token);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
JobID = "dbjid:AACP-Bd0jYrnvlGEezhk65FDN-1sAlXg1FmEfjWibO2qt3sc3Yca2HQhzQuHu7aSqBCdN2pmgpS2ZUd8RkM2Yu8J";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
JobID = "dbjid:AAAH9yg4plbs9p6Aec5ZRTD_UggHVT6pb7y5f8g7IQPqd-ycRAK7_EVMtBW4mb71V2l21bNK5y9UJ2K-J6XdKqyF";
Result = OPI_Dropbox.GetAsynchronousChangeStatus(Token, JobID);

View File

@@ -1,4 +1,4 @@
 Path = "/New";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.GetListOfFolderFiles(Token, Path, True);

View File

@@ -1,4 +1,4 @@
 Path = "/New/pic.png";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.GetObjectInformation(Token, Path, True);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/pic.png";
Result = OPI_Dropbox.GetObjectVersionList(Token, Path, 1);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/mydoc.docx";
Result = OPI_Dropbox.GetPreview(Token, Path);

View File

@@ -1,3 +1,3 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.GetSpaceUsageData(Token);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
PathsArray = New Array;
PathsArray.Add("/New/Dogs.mp3");

View File

@@ -1,5 +1,5 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
WorkID = "4SQ3zikww9gAAAAAAAAAAQ";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
WorkID = "fryxiKn8Wk8AAAAAAAAAAQ";
Status = "in_progress";
WHile Status = "in_progress" Do

View File

@@ -1,5 +1,5 @@
 OriginalPath = "/New/pic.png";
TargetPath = "/pic.png";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Result = OPI_Dropbox.MoveObject(Token, OriginalPath, TargetPath);

View File

@@ -1,4 +1,4 @@
 Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New";
Result = OPI_Dropbox.PublishFolder(Token, Path);

View File

@@ -1,5 +1,5 @@
 Version = "6246a08b887a8bd841553";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
 Version = "6245b65c252c0bd841553";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Path = "/New/pic.png";
Result = OPI_Dropbox.RestoreObjectToVersion(Token, Path, Version);

View File

@@ -1,6 +1,6 @@
 Path = "/New/pic.png";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
Image = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);

View File

@@ -1,5 +1,5 @@
 Path = "/New/url_doc.docx";
Token = "sl.B-uquz3utwEHepKzyqLBfnFvmY1EWTYDus5LDjT5ux5srp9PJRtr7CvMv20nVl2rRGC3K4J_X5...";
URL = "https://api.athenaeum.digital/test_data/document.docx";
Token = "sl.B-u6EfyYuXzsEJud9asIzJsbw4J9TkpH4larM2xfRqRbMWSAfPQy0ZjwM3t0iyBzpWyf5KvFaK...";
URL = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx";
Result = OPI_Dropbox.UploadFileByURL(Token, URL, Path);