1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00

Правки доков

This commit is contained in:
Anton Titovets
2024-07-10 13:58:29 +03:00
parent 99d11bd36b
commit 8bd11cfb5a
683 changed files with 2837 additions and 2052 deletions
@@ -6,12 +6,10 @@ sidebar_position: 2
Adds an existing calendar to the user's list
<br/>
*Function AddCalendarToList(Val Token, Val Calendar) Export*
`Function AddCalendarToList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 2
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.AddCalendarToList(Token, "55868c32be16935f0..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 4
Removes a calendar from the user's list
<br/>
*Function DeleteCalendarFromList(Val Token, Val Calendar) Export*
`Function DeleteCalendarFromList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 4
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteCalendarFromList(Token, "55868c32be16935f0..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 5
Edits the properties of a calendar from the user's list
<br/>
*Function EditListCalendar(Val Token, Val Calendar, Val PrimaryColor, Val SecondaryColor, Val Hidden = False) Export*
`Function EditListCalendar(Val Token, Val Calendar, Val PrimaryColor, Val SecondaryColor, Val Hidden = False) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -25,6 +23,9 @@ sidebar_position: 5
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
@@ -6,12 +6,10 @@ sidebar_position: 1
Gets an array of account calendars
<br/>
*Function GetCalendarList(Val Token) Export*
`Function GetCalendarList(Val Token) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -21,6 +19,9 @@ sidebar_position: 1
Returns: Map Of KeyAndValue - Array of calendar data mappings
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetCalendarList(Token); //Map
@@ -6,12 +6,10 @@ sidebar_position: 3
Gets a calendar from the user's list by ID
<br/>
*Function GetListCalendar(Val Token, Val Calendar) Export*
`Function GetListCalendar(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 3
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetListCalendar(Token, "55868c32be16935f0..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 4
Clears the event list of the primary calendar
<br/>
*Function ClearMainCalendar(Val Token) Export*
`Function ClearMainCalendar(Val Token) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -21,6 +19,9 @@ sidebar_position: 4
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.ClearMainCalendar(Token);
@@ -6,12 +6,10 @@ sidebar_position: 1
Creates an empty calendar
<br/>
*Function CreateCalendar(Val Token, Val Name) Export*
`Function CreateCalendar(Val Token, Val Name) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 1
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.CreateCalendar(Token, "TestCalendar"); //Map
@@ -6,12 +6,10 @@ sidebar_position: 5
Deletes a calendar by ID
<br/>
*Function DeleteCalendar(Val Token, Val Calendar) Export*
`Function DeleteCalendar(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 5
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteCalendar(Token, "55868c32be16935f0...");
@@ -6,12 +6,10 @@ sidebar_position: 3
Edits properties of an existing calendar
<br/>
*Function EditCalendarMetadata(Val Token, Val Calendar, Val Name = "", Val Description = "") Export*
`Function EditCalendarMetadata(Val Token, Val Calendar, Val Name = "", Val Description = "") Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -24,6 +22,9 @@ sidebar_position: 3
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Name = "TestCalendar (change.)";
@@ -6,12 +6,10 @@ sidebar_position: 2
Gets calendar information by ID
<br/>
*Function GetCalendarMetadata(Val Token, Val Calendar) Export*
`Function GetCalendarMetadata(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 2
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 4
Creates a new event
<br/>
*Function CreateEvent(Val Token, Val Calendar, Val EventDescription) Export*
`Function CreateEvent(Val Token, Val Calendar, Val EventDescription) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -23,6 +21,9 @@ sidebar_position: 4
Returns: String, Arbitrary, HTTPResponse, BinaryData, Undefined - Google server response
```bsl title="Code example"
Attachments = New Map;
@@ -6,12 +6,10 @@ sidebar_position: 7
Deletes an event by ID
<br/>
*Function DeleteEvent(Val Token, Val Calendar, Val Event) Export*
`Function DeleteEvent(Val Token, Val Calendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -23,6 +21,9 @@ sidebar_position: 7
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.DeleteEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 6
Edits an existing event
<br/>
*Function EditEvent(Val Token, Val Calendar, Val EventDescription, Val Event) Export*
`Function EditEvent(Val Token, Val Calendar, Val EventDescription, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -24,6 +22,9 @@ sidebar_position: 6
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
EventMap = New Map;
@@ -6,12 +6,10 @@ sidebar_position: 1
<br/>
*Function GetEventDescription() Export*
`Function GetEventDescription() Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -20,6 +18,9 @@ sidebar_position: 1
Returns: Map Of KeyAndValue - Empty event template
@@ -6,12 +6,10 @@ sidebar_position: 2
Gets the list of all calendar events
<br/>
*Function GetEventList(Val Token, Val Calendar) Export*
`Function GetEventList(Val Token, Val Calendar) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -22,6 +20,9 @@ sidebar_position: 2
Returns: Map Of KeyAndValue - Array of event maps
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetEventList(Token, "55868c32be16935f0...");
@@ -6,12 +6,10 @@ sidebar_position: 3
Gets an event by ID
<br/>
*Function GetEvent(Val Token, Val Calendar, Val Event) Export*
`Function GetEvent(Val Token, Val Calendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -23,6 +21,9 @@ sidebar_position: 3
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.GetEvent(Token, "55868c32be16935f0...", "j4nonfcc0m2..."); //Map
@@ -6,12 +6,10 @@ sidebar_position: 5
Moves an event to another calendar
<br/>
*Function MoveEvent(Val Token, Val SourceCalendar, Val TargetCalendar, Val Event) Export*
`Function MoveEvent(Val Token, Val SourceCalendar, Val TargetCalendar, Val Event) Export`
| Parameter | CLI option | Type | Destination |
|-|-|-|-|
@@ -24,6 +22,9 @@ sidebar_position: 5
Returns: Map Of KeyAndValue - serialized JSON response from Google
```bsl title="Code example"
Response = OPI_GoogleCalendar.MoveEvent(Token, "bayselonarrend@gmail.com", "55868c32be16935f0...", "j4nonfcc0m2..."); //Map