You've already forked OpenIntegrations
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:
1
docs/en/data/GoogleCalendar/FormCodeRetrievalLink.json
vendored
Normal file
1
docs/en/data/GoogleCalendar/FormCodeRetrievalLink.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com"}
|
||||
1
docs/en/data/GoogleCalendar/GetServiceAccountToken.json
vendored
Normal file
1
docs/en/data/GoogleCalendar/GetServiceAccountToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Data":"https://hut.openintegrations.dev/secret_test_data/google_service.json"}
|
||||
1
docs/en/data/GoogleCalendar/GetTokenByCode.json
vendored
Normal file
1
docs/en/data/GoogleCalendar/GetTokenByCode.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","Code":"4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg"}
|
||||
1
docs/en/data/GoogleCalendar/RefreshToken.json
vendored
Normal file
1
docs/en/data/GoogleCalendar/RefreshToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","RefreshToken":"1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu..."}
|
||||
1
docs/en/data/GoogleDrive/FormCodeRetrievalLink.json
vendored
Normal file
1
docs/en/data/GoogleDrive/FormCodeRetrievalLink.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com"}
|
||||
1
docs/en/data/GoogleDrive/GetServiceAccountToken.json
vendored
Normal file
1
docs/en/data/GoogleDrive/GetServiceAccountToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Data":"https://hut.openintegrations.dev/secret_test_data/google_service.json"}
|
||||
1
docs/en/data/GoogleDrive/GetTokenByCode.json
vendored
Normal file
1
docs/en/data/GoogleDrive/GetTokenByCode.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","Code":"4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg"}
|
||||
1
docs/en/data/GoogleDrive/RefreshToken.json
vendored
Normal file
1
docs/en/data/GoogleDrive/RefreshToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","RefreshToken":"1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu..."}
|
||||
1
docs/en/data/GoogleSheets/FormCodeRetrievalLink.json
vendored
Normal file
1
docs/en/data/GoogleSheets/FormCodeRetrievalLink.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com"}
|
||||
1
docs/en/data/GoogleSheets/GetServiceAccountToken.json
vendored
Normal file
1
docs/en/data/GoogleSheets/GetServiceAccountToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"Data":"https://hut.openintegrations.dev/secret_test_data/google_service.json"}
|
||||
1
docs/en/data/GoogleSheets/GetTokenByCode.json
vendored
Normal file
1
docs/en/data/GoogleSheets/GetTokenByCode.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","Code":"4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg"}
|
||||
1
docs/en/data/GoogleSheets/RefreshToken.json
vendored
Normal file
1
docs/en/data/GoogleSheets/RefreshToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com","ClientSecret":"GOCSPX-v--MJyEjtV...","RefreshToken":"1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu..."}
|
||||
1
docs/en/data/VK/GetAuthParameters.json
vendored
Normal file
1
docs/en/data/VK/GetAuthParameters.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"GroupID":"218861756","AppID":"51694790","Token":"vk1.a.bem0q4ee0ZFzipCOx9iuOETGXuSligRy2xM7y_6QLt_rntCagXXIxt928Thwa9Gt_rhmLw2yUr9sOzW8EoOTg8QyNVvJ0S4gq4y5tBj-..."}
|
||||
1
docs/en/data/YandexDisk/ConvertCodeToToken.json
vendored
Normal file
1
docs/en/data/YandexDisk/ConvertCodeToToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"cc2ce9d60deb4975be58866d32dbe7aa","ClientSecret":"7cc0b903d33e41c1..."}
|
||||
1
docs/en/data/YandexDisk/GetConfirmationCode.json
vendored
Normal file
1
docs/en/data/YandexDisk/GetConfirmationCode.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"cc2ce9d60deb4975be58866d32dbe7aa"}
|
||||
1
docs/en/data/YandexDisk/RefreshToken.json
vendored
Normal file
1
docs/en/data/YandexDisk/RefreshToken.json
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"ClientID":"cc2ce9d60deb4975be58866d32dbe7aa","ClientSecret":"7cc0b903d33e41c1...","RefreshToken":"2:AAA:AAAAAF3KVo4:1:vN9dU6_Xgy1tspd9:pV56l8VYsiFCSSE61kJRIsTwtb4i..."}
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.AddCalendarToList(Token, Calendar);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
|
||||
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Name = "TestCalendar";
|
||||
|
||||
Result = OPI_GoogleCalendar.CreateCalendar(Token, Name);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
Name = "New event";
|
||||
Description = "TestEventDescription";
|
||||
Hour = 3600;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Event = "tnvpqno5gbcbcpi2bkpore15u0";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
Event = "cleq9gonpetak02g9uh7l5ecuo";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteEvent(Token, Calendar, Event);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
Name = "New name";
|
||||
Description = "New description";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Event = "tnvpqno5gbcbcpi2bkpore15u0";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
Event = "cleq9gonpetak02g9uh7l5ecuo";
|
||||
Description = "New event description";
|
||||
|
||||
EventDescription = New Map;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
PrimaryColor = "#000000";
|
||||
SecondaryColor = "#ffd800";
|
||||
Hidden = False;
|
||||
|
||||
2
docs/en/examples/GoogleCalendar/FormCodeRetrievalLink.txt
vendored
Normal file
2
docs/en/examples/GoogleCalendar/FormCodeRetrievalLink.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
Result = OPI_GoogleCalendar.FormCodeRetrievalLink(ClientID);
|
||||
@@ -1,2 +1,2 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Result = OPI_GoogleCalendar.GetCalendarList(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetCalendarMetadata(Token, Calendar);
|
||||
|
||||
6
docs/en/examples/GoogleCalendar/GetEvent.txt
vendored
6
docs/en/examples/GoogleCalendar/GetEvent.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Event = "tnvpqno5gbcbcpi2bkpore15u0";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
Event = "cleq9gonpetak02g9uh7l5ecuo";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEvent(Token, Calendar, Event);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEventList(Token, Calendar);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetListCalendar(Token, Calendar);
|
||||
|
||||
8
docs/en/examples/GoogleCalendar/GetServiceAccountToken.txt
vendored
Normal file
8
docs/en/examples/GoogleCalendar/GetServiceAccountToken.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Data = "https://hut.openintegrations.dev/secret_test_data/google_service.json"; // URL, binary Data, file or collection
|
||||
|
||||
Scope = New Array;
|
||||
Scope.Add("https://www.googleapis.com/auth/calendar");
|
||||
Scope.Add("https://www.googleapis.com/auth/drive");
|
||||
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
|
||||
|
||||
Result = OPI_GoogleCalendar.GetServiceAccountToken(Data, Scope);
|
||||
5
docs/en/examples/GoogleCalendar/GetTokenByCode.txt
vendored
Normal file
5
docs/en/examples/GoogleCalendar/GetTokenByCode.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
Code = "4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetTokenByCode(ClientID, ClientSecret, Code);
|
||||
@@ -1,7 +1,7 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Event = "tnvpqno5gbcbcpi2bkpore15u0";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Event = "cleq9gonpetak02g9uh7l5ecuo";
|
||||
|
||||
SourceCalendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
SourceCalendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
TargetCalendar = "bayselonarrend@gmail.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.MoveEvent(Token, SourceCalendar, TargetCalendar, Event);
|
||||
|
||||
5
docs/en/examples/GoogleCalendar/RefreshToken.txt
vendored
Normal file
5
docs/en/examples/GoogleCalendar/RefreshToken.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
RefreshToken = "1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu...";
|
||||
|
||||
Result = OPI_GoogleCalendar.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
2
docs/en/examples/GoogleDrive/CopyObject.txt
vendored
2
docs/en/examples/GoogleDrive/CopyObject.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
NewName = "CopiedFile.jpeg";
|
||||
NewParent = "root";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
Comment = "Comment text";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Directory = "1RA5EV-HEr2SDzooZLmZ2h6HnnmZ0EHzP";
|
||||
Name = "TestFolder";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
CommentID = "AAABt0KYbD8";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
|
||||
Result = OPI_GoogleDrive.DeleteObject(Token, Identifier);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
|
||||
Result = OPI_GoogleDrive.DownloadFile(Token, Identifier);
|
||||
|
||||
2
docs/en/examples/GoogleDrive/FormCodeRetrievalLink.txt
vendored
Normal file
2
docs/en/examples/GoogleDrive/FormCodeRetrievalLink.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
Result = OPI_GoogleDrive.FormCodeRetrievalLink(ClientID);
|
||||
2
docs/en/examples/GoogleDrive/GetComment.txt
vendored
2
docs/en/examples/GoogleDrive/GetComment.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
CommentID = "AAABt0KYbD8";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
|
||||
Result = OPI_GoogleDrive.GetCommentList(Token, Identifier);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Name = "TestFolder";
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
|
||||
Result = OPI_GoogleDrive.GetDirectoriesList(Token, Name, True);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Directory = "root";
|
||||
NameContains = "data";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1RA5EV-HEr2SDzooZLmZ2h6HnnmZ0EHzP";
|
||||
|
||||
Result = OPI_GoogleDrive.GetObjectInformation(Token, Identifier);
|
||||
|
||||
8
docs/en/examples/GoogleDrive/GetServiceAccountToken.txt
vendored
Normal file
8
docs/en/examples/GoogleDrive/GetServiceAccountToken.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Data = "https://hut.openintegrations.dev/secret_test_data/google_service.json"; // URL, binary Data, file or collection
|
||||
|
||||
Scope = New Array;
|
||||
Scope.Add("https://www.googleapis.com/auth/calendar");
|
||||
Scope.Add("https://www.googleapis.com/auth/drive");
|
||||
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
|
||||
|
||||
Result = OPI_GoogleDrive.GetServiceAccountToken(Data, Scope);
|
||||
5
docs/en/examples/GoogleDrive/GetTokenByCode.txt
vendored
Normal file
5
docs/en/examples/GoogleDrive/GetTokenByCode.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
Code = "4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg";
|
||||
|
||||
Result = OPI_GoogleDrive.GetTokenByCode(ClientID, ClientSecret, Code);
|
||||
5
docs/en/examples/GoogleDrive/RefreshToken.txt
vendored
Normal file
5
docs/en/examples/GoogleDrive/RefreshToken.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
RefreshToken = "1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu...";
|
||||
|
||||
Result = OPI_GoogleDrive.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
2
docs/en/examples/GoogleDrive/UpdateFile.txt
vendored
2
docs/en/examples/GoogleDrive/UpdateFile.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
NewName = "UpdatedFile.jpg";
|
||||
Identifier = "1vuDUwLA8D2NBmWO3jxpcg8kRpUEa3TJ_";
|
||||
File = "https://hut.openintegrations.dev/test_data/picture2.jpg"; // URL, Binary Data or File path
|
||||
|
||||
2
docs/en/examples/GoogleDrive/UploadFile.txt
vendored
2
docs/en/examples/GoogleDrive/UploadFile.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg";
|
||||
Directory = "1RA5EV-HEr2SDzooZLmZ2h6HnnmZ0EHzP";
|
||||
|
||||
|
||||
4
docs/en/examples/GoogleSheets/AddSheet.txt
vendored
4
docs/en/examples/GoogleSheets/AddSheet.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Name = "TestSheet";
|
||||
|
||||
Result = OPI_GoogleSheets.AddSheet(Token, Spreadsheet, Name);
|
||||
|
||||
4
docs/en/examples/GoogleSheets/ClearCells.txt
vendored
4
docs/en/examples/GoogleSheets/ClearCells.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Sheet = "Sheet2";
|
||||
|
||||
CellsArray = New Array;
|
||||
|
||||
8
docs/en/examples/GoogleSheets/CopySheet.txt
vendored
8
docs/en/examples/GoogleSheets/CopySheet.txt
vendored
@@ -1,6 +1,6 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
From = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Target = "1U45h3zOMXIQAtuckz5yUl91vf1J9rrG_7Xw_0WjG8Xg";
|
||||
Sheet = "965200285";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
From = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Target = "1lywwBcpNIbVySmtPYfPniPj9v-uYSYLaLfvlka00kWQ";
|
||||
Sheet = "1661987743";
|
||||
|
||||
Result = OPI_GoogleSheets.CopySheet(Token, From, Target, Sheet);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Name = "TestTable";
|
||||
|
||||
SheetArray = New Array;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Sheet = "965200285";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Sheet = "1661987743";
|
||||
|
||||
Result = OPI_GoogleSheets.DeleteSheet(Token, Spreadsheet, Sheet);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Name = "Test table (changed.)";
|
||||
|
||||
Result = OPI_GoogleSheets.EditSpreadsheetTitle(Token, Spreadsheet, Name);
|
||||
|
||||
2
docs/en/examples/GoogleSheets/FormCodeRetrievalLink.txt
vendored
Normal file
2
docs/en/examples/GoogleSheets/FormCodeRetrievalLink.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
Result = OPI_GoogleSheets.FormCodeRetrievalLink(ClientID);
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Sheet = "Sheet2";
|
||||
|
||||
CellsArray = New Array;
|
||||
|
||||
8
docs/en/examples/GoogleSheets/GetServiceAccountToken.txt
vendored
Normal file
8
docs/en/examples/GoogleSheets/GetServiceAccountToken.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
Data = "https://hut.openintegrations.dev/secret_test_data/google_service.json"; // URL, binary Data, file or collection
|
||||
|
||||
Scope = New Array;
|
||||
Scope.Add("https://www.googleapis.com/auth/calendar");
|
||||
Scope.Add("https://www.googleapis.com/auth/drive");
|
||||
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
|
||||
|
||||
Result = OPI_GoogleSheets.GetServiceAccountToken(Data, Scope);
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Identifier = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Identifier = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
|
||||
Result = OPI_GoogleSheets.GetSpreadsheet(Token, Identifier);
|
||||
|
||||
4
docs/en/examples/GoogleSheets/GetTable.txt
vendored
4
docs/en/examples/GoogleSheets/GetTable.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
|
||||
Result = OPI_GoogleSheets.GetSpreadsheet(Token, Spreadsheet);
|
||||
|
||||
5
docs/en/examples/GoogleSheets/GetTokenByCode.txt
vendored
Normal file
5
docs/en/examples/GoogleSheets/GetTokenByCode.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
Code = "4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg";
|
||||
|
||||
Result = OPI_GoogleSheets.GetTokenByCode(ClientID, ClientSecret, Code);
|
||||
5
docs/en/examples/GoogleSheets/RefreshToken.txt
vendored
Normal file
5
docs/en/examples/GoogleSheets/RefreshToken.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
RefreshToken = "1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu...";
|
||||
|
||||
Result = OPI_GoogleSheets.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Spreadsheet = "1sKgpq2l1cZ_Tw7CZ_kpO_sJ7-BHtfjfFduMHueCzw8k";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Spreadsheet = "1XPza7Y3tZiGIx8Ben5ELY48P1QIHYhYjVC1Jdrht-JQ";
|
||||
Sheet = "Sheet2";
|
||||
|
||||
ValueMapping = New Map;
|
||||
|
||||
5
docs/en/examples/VK/GetAuthParameters.txt
vendored
Normal file
5
docs/en/examples/VK/GetAuthParameters.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
GroupID = "218861756";
|
||||
AppID = "51694790";
|
||||
Token = "vk1.a.bem0q4ee0ZFzipCOx9iuOETGXuSligRy2xM7y_6QLt_rntCagXXIxt928Thwa9Gt_rhmLw2yUr9sOzW8EoOTg8QyNVvJ0S4gq4y5tBj-...";
|
||||
|
||||
Result = OPI_VK.GetAuthParameters(GroupID, AppID, Token);
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/52941c06-9715-4fd6-8362-808594ec9a70.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/d3b18a1c-a25e-4de8-b996-8e904330bf32.png";
|
||||
|
||||
Result = OPI_YandexDisk.CancelObjectPublication(Token, Path);
|
||||
|
||||
5
docs/en/examples/YandexDisk/ConvertCodeToToken.txt
vendored
Normal file
5
docs/en/examples/YandexDisk/ConvertCodeToToken.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "cc2ce9d60deb4975be58866d32dbe7aa";
|
||||
ClientSecret = "7cc0b903d33e41c1...";
|
||||
DeviceCode = "12345678";
|
||||
|
||||
Result = OPI_YandexDisk.ConvertCodeToToken(ClientID, ClientSecret, DeviceCode);
|
||||
2
docs/en/examples/YandexDisk/CreateFolder.txt
vendored
2
docs/en/examples/YandexDisk/CreateFolder.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/" + String(New UUID);
|
||||
|
||||
Result = OPI_YandexDisk.CreateFolder(Token, Path);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "/52941c06-9715-4fd6-8362-808594ec9a70.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Original = "/d3b18a1c-a25e-4de8-b996-8e904330bf32.png";
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.CreateObjectCopy(Token, Original, Path, True);
|
||||
|
||||
4
docs/en/examples/YandexDisk/DeleteObject.txt
vendored
4
docs/en/examples/YandexDisk/DeleteObject.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/99943bd3-2dd3-4c96-8023-68d05070d720.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/bfca8f29-5b7a-4dc4-bd3a-3cdec0c4c961.png";
|
||||
|
||||
Result = OPI_YandexDisk.DeleteObject(Token, Path, False);
|
||||
|
||||
4
docs/en/examples/YandexDisk/DownloadFile.txt
vendored
4
docs/en/examples/YandexDisk/DownloadFile.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/083e3a22-fbba-4336-83ce-8febedbd4892.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/7907ad42-4d89-4dd1-8294-2b975d85bdac.png";
|
||||
|
||||
Result = OPI_YandexDisk.DownloadFile(Token, Path);
|
||||
|
||||
3
docs/en/examples/YandexDisk/GetConfirmationCode.txt
vendored
Normal file
3
docs/en/examples/YandexDisk/GetConfirmationCode.txt
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
ClientID = "cc2ce9d60deb4975be58866d32dbe7aa";
|
||||
|
||||
Result = OPI_YandexDisk.GetConfirmationCode(ClientID);
|
||||
@@ -1,2 +1,2 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Result = OPI_YandexDisk.GetDiskInformation(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/083e3a22-fbba-4336-83ce-8febedbd4892.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/7907ad42-4d89-4dd1-8294-2b975d85bdac.png";
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLink(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/zVMzUp6pNPCYyw";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
URL = "https://yadi.sk/d/gKS8XiBbJ87eCw";
|
||||
|
||||
Result = OPI_YandexDisk.GetDownloadLinkForPublicObject(Token, URL);
|
||||
|
||||
2
docs/en/examples/YandexDisk/GetFilesList.txt
vendored
2
docs/en/examples/YandexDisk/GetFilesList.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Count = 2;
|
||||
OffsetFromStart = 1;
|
||||
FilterByType = "image";
|
||||
|
||||
4
docs/en/examples/YandexDisk/GetObject.txt
vendored
4
docs/en/examples/YandexDisk/GetObject.txt
vendored
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/99943bd3-2dd3-4c96-8023-68d05070d720.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/bfca8f29-5b7a-4dc4-bd3a-3cdec0c4c961.png";
|
||||
|
||||
Result = OPI_YandexDisk.GetObject(Token, Path);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/zVMzUp6pNPCYyw";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
URL = "https://yadi.sk/d/gKS8XiBbJ87eCw";
|
||||
|
||||
Result = OPI_YandexDisk.GetPublicObject(Token, URL);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Count = 2;
|
||||
OffsetFromStart = 1;
|
||||
|
||||
|
||||
4
docs/en/examples/YandexDisk/MoveObject.txt
vendored
4
docs/en/examples/YandexDisk/MoveObject.txt
vendored
@@ -1,5 +1,5 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Original = "/52941c06-9715-4fd6-8362-808594ec9a70.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Original = "/d3b18a1c-a25e-4de8-b996-8e904330bf32.png";
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
Result = OPI_YandexDisk.MoveObject(Token, Original, Path, True);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Path = "/52941c06-9715-4fd6-8362-808594ec9a70.png";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Path = "/d3b18a1c-a25e-4de8-b996-8e904330bf32.png";
|
||||
|
||||
Result = OPI_YandexDisk.PublishObject(Token, Path);
|
||||
|
||||
5
docs/en/examples/YandexDisk/RefreshToken.txt
vendored
Normal file
5
docs/en/examples/YandexDisk/RefreshToken.txt
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
ClientID = "cc2ce9d60deb4975be58866d32dbe7aa";
|
||||
ClientSecret = "7cc0b903d33e41c1...";
|
||||
RefreshToken = "2:AAA:AAAAAF3KVo4:1:vN9dU6_Xgy1tspd9:pV56l8VYsiFCSSE61kJRIsTwtb4i...";
|
||||
|
||||
Result = OPI_YandexDisk.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
URL = "https://yadi.sk/d/zVMzUp6pNPCYyw";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
URL = "https://yadi.sk/d/gKS8XiBbJ87eCw";
|
||||
|
||||
Result = OPI_YandexDisk.SavePublicObjectToDisk(Token, URL);
|
||||
|
||||
2
docs/en/examples/YandexDisk/UploadFile.txt
vendored
2
docs/en/examples/YandexDisk/UploadFile.txt
vendored
@@ -1,7 +1,7 @@
|
||||
Path1 = "/" + String(New UUID) + ".png";
|
||||
Path2 = "/" + String(New UUID) + ".png";
|
||||
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Image = "https://hut.openintegrations.dev/test_data/picture.jpg"; // URL
|
||||
|
||||
TFN = GetTempFileName("png"); // Path
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = "y0_AgAAAABdylaOAAs0QgAAAAD5i-a...";
|
||||
Token = "y0__xCOranuBRj1uTsgs8z_iRV...";
|
||||
Address = "https://hut.openintegrations.dev/test_data/picture.jpg";
|
||||
Path = "/" + String(New UUID) + ".png";
|
||||
|
||||
|
||||
37
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Add-scheduled-task.mdx
vendored
Normal file
37
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Add-scheduled-task.mdx
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
description: Add scheduled task and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Add scheduled task
|
||||
Adds a new handler to the project
|
||||
|
||||
|
||||
|
||||
`Function AddScheduledTask(Val Project, Val HandlersKey, Val Schedule) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| HandlersKey | --handler | String | ✔ | Handlers key |
|
||||
| Schedule | --cron | String | ✔ | Schedule in extended cron format |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Task addition result
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
Schedule format:<br/>sec min hour day of month month day of week year<br/>0 30 9,12,15 1,15 May-Aug Mon,Wed,Fri 2018/2
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
32
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Delete-scheduled-task.mdx
vendored
Normal file
32
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Delete-scheduled-task.mdx
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
description: Delete scheduled task and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Delete scheduled task
|
||||
Deletes scheduled task from project
|
||||
|
||||
|
||||
|
||||
`Function DeleteScheduledTask(Val Project, Val TaskID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| TaskID | --task | Number | ✔ | Task ID |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Deleting result
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Get-scheduled-task-list.mdx
vendored
Normal file
31
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Get-scheduled-task-list.mdx
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
description: Get scheduled task list and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get scheduled task list
|
||||
Gets the list of scheduled tasks in the project
|
||||
|
||||
|
||||
|
||||
`Function GetScheduledTaskList(Val Project) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Task list
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
32
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Get-scheduled-task.mdx
vendored
Normal file
32
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Get-scheduled-task.mdx
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
description: Get scheduled task and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get scheduled task
|
||||
Gets task information by ID
|
||||
|
||||
|
||||
|
||||
`Function GetScheduledTask(Val Project, Val TaskID) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| TaskID | --task | String | ✔ | Task ID |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Handlers information
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
33
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Update-scheduled-task.mdx
vendored
Normal file
33
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/Update-scheduled-task.mdx
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
sidebar_position: 5
|
||||
description: Update scheduled task and other functions to work with Melezh in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Update scheduled task
|
||||
Changes the schedule of the selected scheduled task
|
||||
|
||||
|
||||
|
||||
`Function UpdateScheduledTask(Val Project, Val TaskID, Val Schedule = "", Val HandlersKey = "") Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Project | --proj | String | ✔ | Project filepath |
|
||||
| TaskID | --task | String | ✔ | Task ID |
|
||||
| Schedule | --cron | String | ✖ | Schedule in extended cron format |
|
||||
|
||||
|
||||
Returns: Structure Of KeyAndValue - Task update result
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/_category_.json
vendored
Normal file
4
docs/en/md/Addons/Melezh/Console-Interface/Scheduled-tasks/_category_.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Scheduled tasks",
|
||||
"position": "5"
|
||||
}
|
||||
39
docs/en/md/GoogleCalendar/Authorization/Form-code-retrieval-link.mdx
vendored
Normal file
39
docs/en/md/GoogleCalendar/Authorization/Form-code-retrieval-link.mdx
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
description: Generate code retrieval link and other functions to work with Google Calendar in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Google Calendar]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Generate code retrieval link
|
||||
Returns URL for browser authorization
|
||||
|
||||
|
||||
|
||||
`Function FormCodeRetrievalLink(Val ClientID, Val Calendar = True, Val Drive = True, Val Sheets = True) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| ClientID | --id | String | ✔ | Client ID |
|
||||
| Calendar | --calendar | Boolean | ✖ | Calendar methods permission |
|
||||
| Drive | --drive | Boolean | ✖ | Drive methods permission |
|
||||
| Sheets | --sheets | Boolean | ✖ | Sheets methods permission |
|
||||
|
||||
|
||||
Returns: String - Code retrieval link
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
Result = OPI_GoogleCalendar.FormCodeRetrievalLink(ClientID);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
50
docs/en/md/GoogleCalendar/Authorization/Get-service-account-token.mdx
vendored
Normal file
50
docs/en/md/GoogleCalendar/Authorization/Get-service-account-token.mdx
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
sidebar_position: 4
|
||||
description: Get service account token and other functions to work with Google Calendar in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Google Calendar]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get service account token
|
||||
Gets authorization token by service account data
|
||||
|
||||
|
||||
|
||||
`Function GetServiceAccountToken(Val Data, Val Scope, Val Expire = 3600) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| Data | --auth | Arbitrary | ✔ | JSON authorization data as a file, collection or binary data |
|
||||
| Scope | --scope | Array Of String | ✔ | Scope or array of scopes |
|
||||
| Expire | --exp | Number | ✖ | Token lifetime in seconds |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
<br/>
|
||||
|
||||
:::tip
|
||||
List of available scopes: [developers.google.com](https:
|
||||
|
||||
developers.google.com/identity/protocols/oauth2/scopes)
|
||||
:::
|
||||
<br/>
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Data = "https://hut.openintegrations.dev/secret_test_data/google_service.json"; // URL, binary Data, file or collection
|
||||
|
||||
Scope = New Array;
|
||||
Scope.Add("https://www.googleapis.com/auth/calendar");
|
||||
Scope.Add("https://www.googleapis.com/auth/drive");
|
||||
Scope.Add("https://www.googleapis.com/auth/spreadsheets");
|
||||
|
||||
Result = OPI_GoogleCalendar.GetServiceAccountToken(Data, Scope);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
41
docs/en/md/GoogleCalendar/Authorization/Get-token-by-code.mdx
vendored
Normal file
41
docs/en/md/GoogleCalendar/Authorization/Get-token-by-code.mdx
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
description: Get token by code and other functions to work with Google Calendar in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Google Calendar]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Get token by code
|
||||
Gets token by code from browser authorization
|
||||
|
||||
|
||||
|
||||
`Function GetTokenByCode(Val ClientID, Val ClientSecret, Val Code) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| ClientID | --id | String | ✔ | Client ID |
|
||||
| ClientSecret | --secret | String | ✔ | Client secret |
|
||||
| Code | --code | String | ✔ | Code from browser |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
Code = "4/0AeaYSHBDZAbAtChyjMxPKa0DXIilJYYcVCgKYzA_CPmCPSt1mg_KqxI4w5CP3lTlYibpGg";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetTokenByCode(ClientID, ClientSecret, Code);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
41
docs/en/md/GoogleCalendar/Authorization/Refresh-token.mdx
vendored
Normal file
41
docs/en/md/GoogleCalendar/Authorization/Refresh-token.mdx
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
sidebar_position: 3
|
||||
description: Refresh token and other functions to work with Google Calendar in the Open Integration Package, a free open-source integration library for 1C:Enterprise 8, OneScript and CLI
|
||||
keywords: [1C, 1С, 1С:Enterprise, 1С:Enterprise 8.3, API, Integration, Services, Exchange, OneScript, CLI, Google Calendar]
|
||||
---
|
||||
|
||||
import Tabs from '@theme/Tabs';
|
||||
import TabItem from '@theme/TabItem';
|
||||
|
||||
# Refresh token
|
||||
Updates token by Refresh token
|
||||
|
||||
|
||||
|
||||
`Function RefreshToken(Val ClientID, Val ClientSecret, Val RefreshToken) Export`
|
||||
|
||||
| Parameter | CLI option | Type | Required | Description |
|
||||
|-|-|-|-|-|
|
||||
| ClientID | --id | String | ✔ | Client ID |
|
||||
| ClientSecret | --secret | String | ✔ | Client secret |
|
||||
| RefreshToken | --refresh | String | ✔ | Refresh token |
|
||||
|
||||
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
<br/>
|
||||
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
ClientID = "345925493105-641q49rl4oflrtr46fkgqf5upiltr4bg.apps.googleusercontent.com";
|
||||
ClientSecret = "GOCSPX-v--MJyEjtV...";
|
||||
RefreshToken = "1//09J8_kLVO7HENCgYIARAAGAkSNwF-L9IrtySthNY3OrNP5Qu...";
|
||||
|
||||
Result = OPI_GoogleCalendar.RefreshToken(ClientID, ClientSecret, RefreshToken);
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
4
docs/en/md/GoogleCalendar/Authorization/_category_.json
vendored
Normal file
4
docs/en/md/GoogleCalendar/Authorization/_category_.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"label": "Authorization",
|
||||
"position": "2"
|
||||
}
|
||||
@@ -27,8 +27,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
```bsl title="1C:Enterprise/OneScript code example"
|
||||
Token = "ya29.a0ATi6K2tVhkOEu91I_FKDEZ7_olNcPRKrwKbGh7GiFIzwDZjaTNm46ErGj-Lju2am1aAUurgQyVnv0f3G4L7keHSXYNhuCPGvTvzjRdPQJNz_0LzKWjviK54u4...";
|
||||
Calendar = "27c0997a94ab1fa7a33cc8e22f5286319a5d71143235f31fcce71adf79941e8a@group.calendar.google.com";
|
||||
Token = "ya29.a0ATi6K2vCKZGdsROD6p4-PsRwj0R0IJCCgFNKVTrqZmarMewY0YTQB537qkfJ660fM22IAhP9gcaBIfx5DKhOVduDiMzGSG_R5TPqzjZkS0nkthqIOxp27om7j...";
|
||||
Calendar = "87fa05b23e74b693ae929144676b8a5f8a29e745ab5cf931c5f9897c1c8cc2fc@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.AddCalendarToList(Token, Calendar);
|
||||
```
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user