You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
небольшие правки перевода
This commit is contained in:
@@ -14,7 +14,7 @@ sidebar_position: 2
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 4
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ sidebar_position: 5
|
||||
| Hidden | --hidden | Boolean | Hidden calendar |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ sidebar_position: 1
|
||||
| Token | --token | String | Token |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - Array of calendar data mappings
|
||||
Returns: Map Of KeyAndValue - Array of calendar data mappings
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 3
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ sidebar_position: 4
|
||||
| Token | --token | String | Token |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 1
|
||||
| Name | --title | String | Name of the created calendar |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 5
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ sidebar_position: 3
|
||||
| Description | --description | String | New calendar description |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 2
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ sidebar_position: 4
|
||||
|-|-|-|-|
|
||||
| Token | --token | String | Token |
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
| EventDescription | --props | Key-Value Pair | Event description |
|
||||
| EventDescription | --props | Map Of KeyAndValue | Event description |
|
||||
|
||||
|
||||
Returns: String, Arbitrary, HTTPResponse, BinaryData, Undefined - Google server response
|
||||
@@ -24,16 +24,16 @@ sidebar_position: 4
|
||||
Attachments.Insert("Image1", "https://opi.neocities.org/assets/images/logo_long-e8fdcca6ff8b32e679ea49a1ccdd3eac.png");
|
||||
Attachments.Insert("Image2", "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/Media/logo.png?v1");
|
||||
|
||||
EventMatch = New Map;
|
||||
EventMatch.Insert("Description", Description);
|
||||
EventMatch.Insert("Title", Name);
|
||||
EventMatch.Insert("Venue", "On office");
|
||||
EventMatch.Insert("StartDate", CurrentSessionDate());
|
||||
EventMatch.Insert("EndDate", EventMatch["StartDate"] + 3600);
|
||||
EventMatch.Insert("ArrayOfAttachmentURLs", Attachments);
|
||||
EventMatch.Insert("SendNotifications", True);
|
||||
EventMap = New Map;
|
||||
EventMap.Insert("Description", Description);
|
||||
EventMap.Insert("Title", Name);
|
||||
EventMap.Insert("Venue", "On office");
|
||||
EventMap.Insert("StartDate", CurrentSessionDate());
|
||||
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600);
|
||||
EventMap.Insert("ArrayOfAttachmentURLs", Attachments);
|
||||
EventMap.Insert("SendNotifications", True);
|
||||
|
||||
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMatch);
|
||||
Response = OPI_GoogleCalendar.CreateEvent(Token, Calendar, EventMap);
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ sidebar_position: 7
|
||||
| Event | --event | String | Event ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -16,15 +16,15 @@ sidebar_position: 6
|
||||
| Event | --event | String | Event ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
EventMatch = New Map;
|
||||
EventMatch.Insert("Description", "Test event description (change.)");
|
||||
EventMap = New Map;
|
||||
EventMap.Insert("Description", "Test event description (change.)");
|
||||
|
||||
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMatch, "j4nonfcc0m2...");
|
||||
Response = OPI_GoogleCalendar.EditEvent(Token, "55868c32be16935f0...", EventMap, "j4nonfcc0m2...");
|
||||
Response = OPI_Tools.JSONString(Response);
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ sidebar_position: 1
|
||||
|-|-|-|-|
|
||||
|
||||
|
||||
Returns: Key-Value Pair - Empty event template
|
||||
Returns: Map Of KeyAndValue - Empty event template
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
@@ -30,13 +30,13 @@ sidebar_position: 1
|
||||
|
||||
```json title="Result"
|
||||
|
||||
EventMatch = New Map;
|
||||
EventMatch.Insert("Description", ""); // Event description
|
||||
EventMatch.Insert("Title", "New event"); // Title events
|
||||
EventMatch.Insert("Venue", ""); // String description of the venue of the event
|
||||
EventMatch.Insert("StartDate", CurrentSessionDate()); // Date of start events
|
||||
EventMatch.Insert("EndDate", EventMatch["StartDate"] + 3600); // Date of end events
|
||||
EventMatch.Insert("ArrayOfAttachmentURLs", New Map); // Key - name, Value - URL to file
|
||||
EventMatch.Insert("SendNotifications", True); // Indication of sending notifications to participants
|
||||
EventMap = New Map;
|
||||
EventMap.Insert("Description", ""); // Event description
|
||||
EventMap.Insert("Title", "New event"); // Title events
|
||||
EventMap.Insert("Venue", ""); // String description of the venue of the event
|
||||
EventMap.Insert("StartDate", CurrentSessionDate()); // Date of start events
|
||||
EventMap.Insert("EndDate", EventMap["StartDate"] + 3600); // Date of end events
|
||||
EventMap.Insert("ArrayOfAttachmentURLs", New Map); // Key - name, Value - URL to file
|
||||
EventMap.Insert("SendNotifications", True); // Indication of sending notifications to participants
|
||||
|
||||
```
|
||||
|
||||
@@ -14,7 +14,7 @@ sidebar_position: 2
|
||||
| Calendar | --calendar | String | Calendar ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - Array of event mappings
|
||||
Returns: Map Of KeyAndValue - Array of event maps
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ sidebar_position: 3
|
||||
| Event | --event | String | Event ID |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ sidebar_position: 5
|
||||
| Event | --event | String | ID of the source calendar event |
|
||||
|
||||
|
||||
Returns: Key-Value Pair - serialized JSON response from Google
|
||||
Returns: Map Of KeyAndValue - serialized JSON response from Google
|
||||
|
||||
```bsl title="Code example"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user