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,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.AddCalendarToList(Token, Calendar);
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
|
||||
Result = OPI_GoogleCalendar.ClearMainCalendar(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Name = "TestCalendar";
|
||||
|
||||
Result = OPI_GoogleCalendar.CreateCalendar(Token, Name);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
CurrentDate = OPI_Tools.GetCurrentDate();
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
Name = "New event";
|
||||
Description = "TestEventDescription";
|
||||
Hour = 3600;
|
||||
|
||||
Image1 = FunctionParameters["Picture"]; // URL, Binary or File path
|
||||
Image2 = FunctionParameters["Picture2"]; // URL, Binary or File path
|
||||
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
|
||||
Attachments = New Map;
|
||||
|
||||
Attachments.Insert("Image1", Image1);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendar(Token, Calendar);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteCalendarFromList(Token, Calendar);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Event = FunctionParameters["Google_EventID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
Event = "grp898u8b3rf9ujm0bree4644g";
|
||||
|
||||
Result = OPI_GoogleCalendar.DeleteEvent(Token, Calendar, Event);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
Name = "New name";
|
||||
Description = "New description";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Event = FunctionParameters["Google_EventID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
Event = "grp898u8b3rf9ujm0bree4644g";
|
||||
Description = "New event description";
|
||||
|
||||
EventDescription = New Map;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
PrimaryColor = "#000000";
|
||||
SecondaryColor = "#ffd800";
|
||||
Hidden = False;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Result = OPI_GoogleCalendar.GetCalendarList(Token);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@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 = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Event = FunctionParameters["Google_EventID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
Event = "grp898u8b3rf9ujm0bree4644g";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEvent(Token, Calendar, Event);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetEventList(Token, Calendar);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Calendar = FunctionParameters["Google_NewCalendarID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Calendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.GetListCalendar(Token, Calendar);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Token = FunctionParameters["Google_Token"];
|
||||
Event = FunctionParameters["Google_EventID"];
|
||||
Token = "ya29.a0AS3H6NxB7WbMUyy-yHnfRFo_Sv93kSJ3qRUtm2Iz4ECHVXn6mxSdB_skIS4UjiiI5q31PT-HL6O-1hC-8T_AgNAMsGHBh28RbM4ISAvKK...";
|
||||
Event = "grp898u8b3rf9ujm0bree4644g";
|
||||
|
||||
SourceCalendar = FunctionParameters["Google_NewCalendarID"];
|
||||
TargetCalendar = FunctionParameters["Google_CalendarID"];
|
||||
SourceCalendar = "d98570b97b8f7acd2724ff3693ace760f9d5022ffe4903dcefeed3f362ce81ba@group.calendar.google.com";
|
||||
TargetCalendar = "bayselonarrend@gmail.com";
|
||||
|
||||
Result = OPI_GoogleCalendar.MoveEvent(Token, SourceCalendar, TargetCalendar, Event);
|
||||
|
||||
Reference in New Issue
Block a user