From 7f044f31c36d880a5668b55ddf49fffbecf4624b Mon Sep 17 00:00:00 2001 From: Lago Date: Thu, 16 Apr 2026 22:45:12 +0200 Subject: [PATCH] Refactor code structure for improved readability and maintainability --- .power/schemas/appschemas/dataSourcesInfo.ts | 3532 +----- .power/schemas/outlook/outlook.Schema.json | 11174 ----------------- power.config.json | 13 +- src/generated/index.ts | 6 - src/generated/models/Outlook_comModel.ts | 1149 -- src/generated/services/Outlook_comService.ts | 1342 -- 6 files changed, 3 insertions(+), 17213 deletions(-) delete mode 100644 .power/schemas/outlook/outlook.Schema.json delete mode 100644 src/generated/models/Outlook_comModel.ts delete mode 100644 src/generated/services/Outlook_comService.ts diff --git a/.power/schemas/appschemas/dataSourcesInfo.ts b/.power/schemas/appschemas/dataSourcesInfo.ts index ca8ec570..38014335 100644 --- a/.power/schemas/appschemas/dataSourcesInfo.ts +++ b/.power/schemas/appschemas/dataSourcesInfo.ts @@ -4,3534 +4,4 @@ * Changes to this file may be overwritten. */ -export const dataSourcesInfo = { - "outlook": { - "tableId": "", - "version": "", - "primaryKey": "", - "dataSourceType": "Connector", - "apis": { - "CalendarGetTable": { - "path": "/{connectionId}/$metadata.json/datasets/calendars/tables/{table}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactGetTable": { - "path": "/{connectionId}/$metadata.json/datasets/contacts/tables/{table}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "OnUpcomingEvents": { - "path": "/{connectionId}/Events/OnUpcomingEvents", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "lookAheadTimeInMinutes", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnUpcomingEventsV2": { - "path": "/{connectionId}/v2/Events/OnUpcomingEvents", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "lookAheadTimeInMinutes", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "GetEventsCalendarView": { - "path": "/{connectionId}/Events/CalendarView", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "calendarId", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "startDateTimeOffset", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "endDateTimeOffset", - "in": "query", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CreateOnChangedEventPokeSubscription": { - "path": "/{connectionId}/{table}/EventSubscriptionPoke/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "pastDays", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "DeleteEventSubscription": { - "path": "/{connectionId}/EventSubscription/$subscriptions/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "options", - "in": "query", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "RenewEventSubscription": { - "path": "/{connectionId}/EventSubscription/$subscriptions/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "options", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "201": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnFilePickerOpen": { - "path": "/{connectionId}/OnFilePickerOpen", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "operation", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "skip", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "mailboxAddress", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "OnFilePickerBrowse": { - "path": "/{connectionId}/OnFilePickerBrowse", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "operation", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "skip", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "mailboxAddress", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "GetEmails": { - "path": "/{connectionId}/Mail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyUnread", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "searchQuery", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "array" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "SendEmail": { - "path": "/{connectionId}/Mail", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "emailMessage", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "GetEmailsV2": { - "path": "/{connectionId}/v2/Mail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyUnread", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "fetchOnlyFlagged", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "mailboxAddress", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "searchQuery", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "top", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "SendEmailV2": { - "path": "/{connectionId}/v2/Mail", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "emailMessage", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "GetEmail": { - "path": "/{connectionId}/Mail/{messageId}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "internetMessageId", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "DeleteEmail": { - "path": "/{connectionId}/Mail/{messageId}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "Move": { - "path": "/{connectionId}/Mail/Move/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "Flag": { - "path": "/{connectionId}/Mail/Flag/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "MarkAsRead": { - "path": "/{connectionId}/Mail/MarkAsRead/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReplyTo": { - "path": "/{connectionId}/Mail/ReplyTo/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "comment", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "replyAll", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReplyToV2": { - "path": "/{connectionId}/v2/Mail/ReplyTo/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "replyParameters", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReplyToV3": { - "path": "/{connectionId}/v3/Mail/ReplyTo/{messageId}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "replyParameters", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "GetAttachment": { - "path": "/{connectionId}/Mail/{messageId}/Attachments/{attachmentId}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "attachmentId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "string", - "format": "binary" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnNewEmail": { - "path": "/{connectionId}/Mail/OnNewEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "x-ms-operation-context", - "in": "header", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnNewEmailV2": { - "path": "/{connectionId}/v2/Mail/OnNewEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "x-ms-operation-context", - "in": "header", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnFlaggedEmail": { - "path": "/{connectionId}/Mail/OnFlaggedEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnFlaggedEmailV2": { - "path": "/{connectionId}/v2/Mail/OnFlaggedEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnNewMentionMeEmail": { - "path": "/{connectionId}/Mail/OnNewMentionMeEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageIdToFireOnFirstTriggerRun", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "OnNewMentionMeEmailV2": { - "path": "/{connectionId}/v2/Mail/OnNewMentionMeEmail", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "messageIdToFireOnFirstTriggerRun", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "to", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "cc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "toOrCc", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "from", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "includeAttachments", - "in": "query", - "required": false, - "type": "boolean" - }, - { - "name": "subjectFilter", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "202": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "CreateOnNewEmailPokeSubscription": { - "path": "/{connectionId}/MailSubscriptionPoke/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "CreateOnNewMentionMeEmailPokeSubscription": { - "path": "/{connectionId}/MentionMeMailSubscriptionPoke/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "CreateOnFlaggedEmailPokeSubscription": { - "path": "/{connectionId}/FlaggedMailSubscriptionPoke/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "folderPath", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "DeleteOnNewEmailSubscription": { - "path": "/{connectionId}/MailSubscription/$subscriptions/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "options", - "in": "query", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "RenewOnNewEmailSubscription": { - "path": "/{connectionId}/MailSubscription/$subscriptions/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "options", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "201": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "GetDataSetsMetadata": { - "path": "/{connectionId}/$metadata.json/datasets", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "SendMailWithOptions": { - "path": "/{connectionId}/mailwithoptions/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "optionsEmailSubscription", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "SendApprovalMail": { - "path": "/{connectionId}/approvalmail/$subscriptions", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "approvalEmailSubscription", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "201": { - "type": "object" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "DeleteApprovalMailSubscription": { - "path": "/{connectionId}/approvalmail/$subscriptions/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "DeleteOptionsMailSubscription": { - "path": "/{connectionId}/mailwithoptions/$subscriptions/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "400": { - "type": "void" - }, - "401": { - "type": "void" - }, - "403": { - "type": "void" - }, - "500": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "TestConnection": { - "path": "/{connectionId}/testconnection", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetTables": { - "path": "/{connectionId}/datasets/calendars/tables", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetItems": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/items", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarPostItem": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/items", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetItem": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarDeleteItem": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "CalendarPatchItem": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/items/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V3CalendarGetItems": { - "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V3CalendarPostItem": { - "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V2CalendarGetItems": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V2CalendarPostItem": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "GetEventsCalendarViewV2": { - "path": "/{connectionId}/datasets/calendars/v2/tables/items/calendarview", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "calendarId", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "startDateTimeOffset", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "endDateTimeOffset", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "search", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V2CalendarGetItem": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V2CalendarPatchItem": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "V3CalendarPatchItem": { - "path": "/{connectionId}/datasets/calendars/v3/tables/{table}/items/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnNewItems": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/onnewitems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnUpdatedItems": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/onupdateditems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ODataStyleGetOnNewItems": { - "path": "/{connectionId}/datasets({dataset})/tables({table})/onnewitems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dataset", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ODataStyleCalendarGetOnUpdatedItems": { - "path": "/{connectionId}/datasets({dataset})/tables({table})/onupdateditems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "dataset", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnNewItemsV2": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onnewitems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnUpdatedItemsV2": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onupdateditems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnChangedItems": { - "path": "/{connectionId}/datasets/calendars/tables/{table}/onchangeditems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "pastDays", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "CalendarGetOnChangedItemsV2": { - "path": "/{connectionId}/datasets/calendars/v2/tables/{table}/onchangeditems", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "pastDays", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactGetTables": { - "path": "/{connectionId}/datasets/contacts/tables", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactGetItems": { - "path": "/{connectionId}/datasets/contacts/tables/{table}/items", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "$top", - "in": "query", - "required": false, - "type": "integer" - }, - { - "name": "$skip", - "in": "query", - "required": false, - "type": "integer" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactPostItem": { - "path": "/{connectionId}/datasets/contacts/tables/{table}/items", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactGetItem": { - "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "ContactDeleteItem": { - "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", - "method": "DELETE", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ContactPatchItem": { - "path": "/{connectionId}/datasets/contacts/tables/{table}/items/{id}", - "method": "PATCH", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "table", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "item", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "GetDataSets": { - "path": "/{connectionId}/datasets", - "method": "GET", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "object" - }, - "default": { - "type": "void" - } - } - }, - "RespondToEvent": { - "path": "/{connectionId}/codeless/api/v2.0/me/events/{event_id}/{response}", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "event_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "response", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": false, - "type": "object" - } - ], - "responseInfo": { - "202": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ForwardEmail": { - "path": "/{connectionId}/codeless/api/v2.0/me/messages/{message_id}/forward", - "method": "POST", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "message_id", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "body", - "in": "body", - "required": true, - "type": "object" - } - ], - "responseInfo": { - "202": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveResponseGet": { - "path": "/RecordResponse", - "method": "GET", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "sig", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "showConfirm", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "200": { - "type": "string" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveResponsePost": { - "path": "/RecordResponse", - "method": "POST", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "sig", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fromConfirm", - "in": "query", - "required": false, - "type": "boolean" - } - ], - "responseInfo": { - "200": { - "type": "string" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveMailFromSubscription": { - "path": "/MailSubscriptionReceive", - "method": "POST", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "validationtoken", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveMailFromSubscriptionV2": { - "path": "/{subscribedConnectionId}/MailSubscriptionReceive", - "method": "POST", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "subscribedConnectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "validationtoken", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveEventFromSubscription": { - "path": "/EventSubscriptionReceive", - "method": "POST", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "validationtoken", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - }, - "ReceiveEventFromSubscriptionV2": { - "path": "/{subscribedConnectionId}/EventSubscriptionReceive", - "method": "POST", - "parameters": [ - { - "name": "state", - "in": "query", - "required": true, - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "required": true, - "type": "object" - }, - { - "name": "subscribedConnectionId", - "in": "path", - "required": true, - "type": "string" - }, - { - "name": "validationtoken", - "in": "query", - "required": false, - "type": "string" - } - ], - "responseInfo": { - "200": { - "type": "void" - }, - "default": { - "type": "void" - } - } - } - } - } -}; +export const dataSourcesInfo = {}; diff --git a/.power/schemas/outlook/outlook.Schema.json b/.power/schemas/outlook/outlook.Schema.json deleted file mode 100644 index 7fb78627..00000000 --- a/.power/schemas/outlook/outlook.Schema.json +++ /dev/null @@ -1,11174 +0,0 @@ -{ - "name": "shared_outlook", - "id": "/providers/Microsoft.PowerApps/apis/shared_outlook", - "type": "Microsoft.PowerApps/apis", - "properties": { - "displayName": "Outlook.com", - "iconUri": "https://conn-afd-prod-endpoint-bmc9bqahasf3grgk.b01.azurefd.net/releases/v1.0.1797/1.0.1797.4624/outlook/icon.png", - "iconBrandColor": "", - "apiEnvironment": "Shared", - "isCustomApi": false, - "blobUrisAreProxied": false, - "connectionParameters": { - "Token": { - "type": "oauthSetting", - "oAuthSettings": { - "identityProvider": "oauth2generic", - "clientId": "0004c632-673b-4105-9bb6-f3bbd2a927fe", - "scopes": [ - "https://outlook.office.com/mail.readwrite https://outlook.office.com/mail.send https://outlook.office.com/contacts.readwrite https://outlook.office.com/calendars.readwrite offline_access" - ], - "redirectMode": "Global", - "redirectUrl": "https://global.consent.azure-apim.net/redirect", - "properties": { - "IsFirstParty": "False", - "IsOnbehalfofLoginSupported": false - }, - "customParameters": { - "authorizationUrlTemplate": { - "value": "https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize" - }, - "authorizationUrlQueryStringTemplate": { - "value": "?client_id={ClientId}&response_type=code&redirect_uri={RedirectUrl}&response_mode=query&scope={Scopes}&state={State}&prompt=select_account" - }, - "tokenUrlTemplate": { - "value": "https://login.microsoftonline.com/common/oauth2/v2.0/token" - }, - "tokenBodyTemplate": { - "value": "client_id={ClientId}&scope={Scopes}&code={Code}&redirect_uri={RedirectUrl}&grant_type=authorization_code&client_secret={ClientSecret}" - }, - "refreshUrlTemplate": { - "value": "https://login.microsoftonline.com/common/oauth2/v2.0/token" - }, - "refreshBodyTemplate": { - "value": "client_id={ClientId}&scope={Scopes}&refresh_token={RefreshToken}&redirect_uri={RedirectUrl}&grant_type=refresh_token&client_secret={ClientSecret}" - }, - "scopeListDelimiter": { - "value": " " - } - } - }, - "uiDefinition": { - "displayName": "Log in with Outlook.com Credentials", - "description": "Log in with Outlook.com Credentials", - "tooltip": "Provide Outlook.com Credentials", - "constraints": { - "required": "true" - } - } - } - }, - "swagger": { - "swagger": "2.0", - "info": { - "version": "1.0", - "title": "Outlook.com", - "description": "Outlook.com connector allows you to manage your mail, calendars, and contacts. You can perform various actions such as send mail, schedule meetings, add contacts, etc.", - "x-ms-api-annotation": { - "status": "Production" - }, - "x-ms-keywords": [ - "outlook" - ] - }, - "host": "51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net", - "basePath": "/apim/outlook", - "schemes": [ - "https" - ], - "paths": { - "/{connectionId}/$metadata.json/datasets/calendars/tables/{table}": { - "get": { - "tags": [ - "CalendarsTableMetadata" - ], - "summary": "Get calendar metadata", - "description": "This operation gets metadata for a calendar.", - "operationId": "CalendarGetTable", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar.", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TableMetadata" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-metadata" - } - } - }, - "/{connectionId}/$metadata.json/datasets/contacts/tables/{table}": { - "get": { - "tags": [ - "ContactsTableMetadata" - ], - "summary": "Get folder metadata", - "description": "This operation gets metadata for a contacts folder.", - "operationId": "ContactGetTable", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a contacts folder.", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/TableMetadata" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-folder-metadata" - } - } - }, - "/{connectionId}/Events/OnUpcomingEvents": { - "get": { - "tags": [ - "Events" - ], - "summary": "When an upcoming event is starting soon", - "description": "This operation triggers a flow when an upcoming calendar event is starting.", - "operationId": "OnUpcomingEvents", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "query", - "description": "Unique identifier of the calendar.", - "required": true, - "x-ms-summary": "Calendar Id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "lookAheadTimeInMinutes", - "in": "query", - "description": "Time (in minutes) to look ahead for upcoming events.", - "required": false, - "x-ms-summary": "Look-Ahead Time", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 15 - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/CalendarEventList" - } - }, - "202": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, create a calendar item that is starting soon.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnSoonEvents", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-upcoming-event-is-starting-soon-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Events/OnUpcomingEvents": { - "get": { - "tags": [ - "Events" - ], - "summary": "When an upcoming event is starting soon (V2)", - "description": "This operation triggers a flow when an upcoming calendar event is starting.", - "operationId": "OnUpcomingEventsV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "query", - "description": "Unique identifier of the calendar.", - "required": true, - "x-ms-summary": "Calendar Id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "lookAheadTimeInMinutes", - "in": "query", - "description": "Time (in minutes) to look ahead for upcoming events.", - "required": false, - "x-ms-summary": "Look-Ahead Time", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 15 - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/CalendarEventListClientReceive" - } - }, - "202": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, create a calendar item that is starting soon.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnSoonEvents", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-upcoming-event-is-starting-soon-(v2)" - } - } - }, - "/{connectionId}/Events/CalendarView": { - "get": { - "tags": [ - "Events" - ], - "summary": "Get calendar view of events", - "description": "Get calendar view of events.", - "operationId": "GetEventsCalendarView", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "calendarId", - "in": "query", - "description": "Select a calendar.", - "required": true, - "x-ms-summary": "Calendar Id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "startDateTimeOffset", - "in": "query", - "description": "Start time (example: '2017-01-01T08:00:00-07:00').", - "required": true, - "x-ms-summary": "Start Time", - "type": "string" - }, - { - "name": "endDateTimeOffset", - "in": "query", - "description": "End time (example: '2017-02-01T08:00:00-07:00').", - "required": true, - "x-ms-summary": "End Time", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PaginatedListResponse[CalendarEventClientReceiveStringEnums]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-api-annotation": { - "status": "Production", - "family": "GetEventsCalendarView", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-view-of-events-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/{table}/EventSubscriptionPoke/$subscriptions": { - "post": { - "tags": [ - "EventSubscription" - ], - "summary": "When an event is added, updated or deleted in a calendar - Outlook subscription", - "description": "Create an Outlook webhook subscription for the trigger when an event is added, updated or deleted in a calendar.", - "operationId": "CreateOnChangedEventPokeSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar.", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "x-ms-url-encoding": "double", - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "description": "Number of incoming days in calendar to be tracked.", - "required": false, - "x-ms-summary": "Incoming Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 300 - }, - { - "name": "pastDays", - "in": "query", - "description": "Number of past days in calendar to be tracked.", - "required": false, - "x-ms-summary": "Past Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 50 - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-in-a-calendar---outlook-subscription" - } - }, - "x-ms-notification-content": { - "description": "Poke notification", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/EventSubscription/$subscriptions/{id}": { - "delete": { - "tags": [ - "EventSubscription" - ], - "summary": "Delete event subscription", - "description": "This operation deletes an event subscription.", - "operationId": "DeleteEventSubscription", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be deleted.", - "required": true, - "x-ms-summary": "Id of subscription to be deleted", - "type": "string" - }, - { - "name": "options", - "in": "query", - "description": "Subscription options.", - "required": true, - "x-ms-summary": "Subscription options", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-event-subscription" - } - }, - "patch": { - "tags": [ - "EventSubscription" - ], - "summary": "Update web hook", - "description": "Update web hook with renew interval.", - "operationId": "RenewEventSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be renewed.", - "required": true, - "x-ms-summary": "Id of subscription to be renewed", - "type": "string" - }, - { - "name": "options", - "in": "query", - "description": "Subscription options.", - "required": true, - "x-ms-summary": "Subscription options", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "201": { - "description": "Subscription Created" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-web-hook" - } - } - }, - "/{connectionId}/OnFilePickerOpen": { - "get": { - "tags": [ - "FilePicker" - ], - "summary": "When the file picker is opened for the first time", - "description": "When the file picker is opened for the first time.", - "operationId": "OnFilePickerOpen", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "operation", - "in": "query", - "description": "Name of the operation.", - "required": true, - "x-ms-summary": "Name of the operation", - "type": "string" - }, - { - "name": "top", - "in": "query", - "description": "Limit on the number of results to return.", - "required": false, - "x-ms-summary": "Limit on the number of results to return", - "type": "integer", - "format": "int32", - "default": 100 - }, - { - "name": "skip", - "in": "query", - "description": "Number of results to skip.", - "required": false, - "x-ms-summary": "Number of results to skip", - "type": "integer", - "format": "int32", - "default": 0 - }, - { - "name": "mailboxAddress", - "in": "query", - "description": "Mailbox to perform operations for.", - "required": false, - "x-ms-summary": "Mailbox to perform operations for", - "type": "string", - "default": "" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[FilePickerFile]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-the-file-picker-is-opened-for-the-first-time" - } - } - }, - "/{connectionId}/OnFilePickerBrowse": { - "get": { - "tags": [ - "FilePicker" - ], - "summary": "When the file picker is open and being browsed", - "description": "When the file picker is open and being browsed.", - "operationId": "OnFilePickerBrowse", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "operation", - "in": "query", - "description": "Name of the operation.", - "required": true, - "x-ms-summary": "Name of the operation", - "type": "string" - }, - { - "name": "id", - "in": "query", - "description": "Id of the previously selected item.", - "required": true, - "x-ms-summary": "Id of the previously selected item", - "type": "string" - }, - { - "name": "top", - "in": "query", - "description": "Limit on the number of results to return.", - "required": false, - "x-ms-summary": "Limit on the number of results to return", - "type": "integer", - "format": "int32", - "default": 100 - }, - { - "name": "skip", - "in": "query", - "description": "Number of results to skip.", - "required": false, - "x-ms-summary": "Number of results to skip", - "type": "integer", - "format": "int32", - "default": 0 - }, - { - "name": "mailboxAddress", - "in": "query", - "description": "Mailbox to perform operations for.", - "required": false, - "x-ms-summary": "Mailbox to perform operations for", - "type": "string", - "default": "" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[FilePickerFile]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-the-file-picker-is-open-and-being-browsed" - } - } - }, - "/{connectionId}/Mail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "Get emails", - "description": "This operation gets emails from a folder.", - "operationId": "GetEmails", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to retrieve emails from (default: 'Inbox').", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "fetchOnlyUnread", - "in": "query", - "description": "Retrieve only unread emails?.", - "required": false, - "x-ms-summary": "Fetch Only Unread Messages", - "type": "boolean", - "default": true - }, - { - "name": "includeAttachments", - "in": "query", - "description": "If set to true, attachments content will also be retrieved along with the email.", - "required": false, - "x-ms-summary": "Include Attachments", - "type": "boolean", - "default": false - }, - { - "name": "searchQuery", - "in": "query", - "description": "Search query (like in the Outlook client) to filter emails.", - "required": false, - "x-ms-summary": "Search Query", - "type": "string" - }, - { - "name": "top", - "in": "query", - "description": "Number of emails to retrieve (default: 10).", - "required": false, - "x-ms-summary": "Top", - "type": "integer", - "format": "int32", - "default": 10 - }, - { - "name": "skip", - "in": "query", - "description": "Number of emails to skip (default: 0).", - "required": false, - "x-ms-summary": "Skip", - "x-ms-visibility": "internal", - "type": "integer", - "format": "int32", - "default": 0 - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/ClientReceiveMessageStringEnums" - } - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "GetEmails", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-emails-%5bdeprecated%5d" - } - }, - "post": { - "tags": [ - "Mail" - ], - "summary": "Send an email", - "description": "This operation sends an email message.", - "operationId": "SendEmail", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "emailMessage", - "in": "body", - "description": "Email.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSendMessage" - }, - "x-ms-summary": "Email" - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "important", - "x-ms-api-annotation": { - "status": "Production", - "family": "SendEmail", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#send-an-email-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Mail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "Get emails (V2)", - "description": "This operation gets emails from a folder.", - "operationId": "GetEmailsV2", - "consumes": [], - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to retrieve emails from (default: 'Inbox').", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "fetchOnlyUnread", - "in": "query", - "description": "Retrieve only unread emails?.", - "required": false, - "x-ms-summary": "Fetch Only Unread Messages", - "type": "boolean", - "default": true - }, - { - "name": "fetchOnlyFlagged", - "in": "query", - "description": "Retrieve only flagged emails?.", - "required": false, - "x-ms-summary": "Fetch Only Flagged Messages", - "x-ms-visibility": "internal", - "type": "boolean", - "default": false - }, - { - "name": "mailboxAddress", - "in": "query", - "description": "Address of the shared mailbox.", - "required": false, - "x-ms-summary": "Original Mailbox Address", - "x-ms-visibility": "internal", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string" - }, - { - "name": "includeAttachments", - "in": "query", - "description": "If set to true, attachments content will also be retrieved along with the email.", - "required": false, - "x-ms-summary": "Include Attachments", - "type": "boolean", - "default": false - }, - { - "name": "searchQuery", - "in": "query", - "description": "Search query to filter emails. How to use '$search' parameter please refer to: https://docs.microsoft.com/previous-versions/office/office-365-api/api/version-2.0/complex-types-for-mail-contacts-calendar#search-requests.", - "required": false, - "x-ms-summary": "Search Query", - "type": "string" - }, - { - "name": "top", - "in": "query", - "description": "Number of emails to retrieve (default: 10).", - "required": false, - "x-ms-summary": "Top", - "type": "integer", - "format": "int32", - "default": 10 - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/BatchResponse[ClientReceiveMessage]" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "GetEmails", - "revision": 2 - }, - "x-ms-openai-data": { - "openai-enabled": true - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-emails-(v2)" - } - }, - "post": { - "tags": [ - "Mail" - ], - "summary": "Send an email (V2)", - "description": "This operation sends an email message.", - "operationId": "SendEmailV2", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "emailMessage", - "in": "body", - "description": "Email.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSendHtmlMessage" - }, - "x-ms-summary": "Email" - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "x-ms-api-annotation": { - "status": "Production", - "family": "SendEmail", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#send-an-email-(v2)" - } - } - }, - "/{connectionId}/Mail/{messageId}": { - "get": { - "tags": [ - "Mail" - ], - "summary": "Get email", - "description": "This operation gets an email by id.", - "operationId": "GetEmail", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "includeAttachments", - "in": "query", - "description": "If set to true, attachments content will also be retrieved along with the email.", - "required": false, - "x-ms-summary": "Include Attachments", - "type": "boolean", - "default": false - }, - { - "name": "internetMessageId", - "in": "query", - "description": "Internet Message Id.", - "required": false, - "x-ms-summary": "Internet Message Id", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/ClientReceiveMessage" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-email" - } - }, - "delete": { - "tags": [ - "Mail" - ], - "summary": "Delete email", - "description": "This operation deletes an email by id.", - "operationId": "DeleteEmail", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to delete.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-email" - } - } - }, - "/{connectionId}/Mail/Move/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Move email", - "description": "This operation moves an email to the specified folder.", - "operationId": "Move", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to be moved.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to move the email to.", - "required": true, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/ClientReceiveMessageStringEnums" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production" - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#move-email" - } - } - }, - "/{connectionId}/Mail/Flag/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Flag email", - "description": "This operation flags an email.", - "operationId": "Flag", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to be flagged.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production" - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#flag-email" - } - } - }, - "/{connectionId}/Mail/MarkAsRead/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Mark as read", - "description": "This operation marks an email as having been read.", - "operationId": "MarkAsRead", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to be marked as read.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#mark-as-read" - } - } - }, - "/{connectionId}/Mail/ReplyTo/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Reply to email", - "description": "This operation replies to an email.", - "operationId": "ReplyTo", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to reply to.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "comment", - "in": "query", - "description": "Reply comment.", - "required": true, - "x-ms-summary": "Comment", - "type": "string" - }, - { - "name": "replyAll", - "in": "query", - "description": "Reply to all recipients.", - "required": false, - "x-ms-summary": "Reply All", - "type": "boolean", - "default": false - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-api-annotation": { - "status": "Production", - "family": "ReplyTo", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Mail/ReplyTo/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Reply to email (V2)", - "description": "This operation replies to an email.", - "operationId": "ReplyToV2", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to reply to.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "replyParameters", - "in": "body", - "description": "Details of the email reply.", - "required": true, - "schema": { - "$ref": "#/definitions/ReplyMessage" - }, - "x-ms-summary": "Details of the email reply." - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-api-annotation": { - "status": "Production", - "family": "ReplyTo", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-(v2)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v3/Mail/ReplyTo/{messageId}": { - "post": { - "tags": [ - "Mail" - ], - "summary": "Reply to email (V3)", - "description": "This operation replies to an email.", - "operationId": "ReplyToV3", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email to reply to.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "replyParameters", - "in": "body", - "description": "Details of the email reply.", - "required": true, - "schema": { - "$ref": "#/definitions/ReplyHtmlMessage" - }, - "x-ms-summary": "Details of the email reply." - } - ], - "responses": { - "200": { - "description": "Operation was successful" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-api-annotation": { - "status": "Production", - "family": "ReplyTo", - "revision": 3 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#reply-to-email-(v3)" - } - } - }, - "/{connectionId}/Mail/{messageId}/Attachments/{attachmentId}": { - "get": { - "tags": [ - "Mail" - ], - "summary": "Get attachment", - "description": "This operation gets an email attachment by id.", - "operationId": "GetAttachment", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageId", - "in": "path", - "description": "Id of the email.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "attachmentId", - "in": "path", - "description": "Id of the attachment to download.", - "required": true, - "x-ms-summary": "Attachment Id", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "format": "binary", - "type": "string" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-attachment" - } - } - }, - "/{connectionId}/Mail/OnNewEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When a new email arrives", - "description": "This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", - "operationId": "OnNewEmail", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "x-ms-operation-context", - "in": "header", - "description": "Special header to enable operation simulation.", - "required": false, - "x-ms-summary": "x-ms-operation-context", - "x-ms-visibility": "internal", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "important", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, send a new email in your inbox.", - "x-ms-api-annotation": { - "status": "Production", - "family": "OnNewEmail", - "revision": 1 - }, - "x-ms-operation-context": { - "simulate": { - "operationId": "GetEmailsV2", - "parameters": { - "top": 1, - "fetchOnlyUnread": false - } - } - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-arrives-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Mail/OnNewEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When a new email arrives (V2)", - "description": "This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", - "operationId": "OnNewEmailV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "x-ms-operation-context", - "in": "header", - "description": "Special header to enable operation simulation.", - "required": false, - "x-ms-summary": "x-ms-operation-context", - "x-ms-visibility": "internal", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, send a new email in your inbox.", - "x-ms-notification": { - "operationId": "CreateOnNewEmailPokeSubscription" - }, - "x-ms-api-annotation": { - "status": "Production", - "family": "OnNewEmail", - "revision": 2 - }, - "x-ms-operation-context": { - "simulate": { - "operationId": "GetEmailsV2", - "parameters": { - "top": 1, - "fetchOnlyUnread": false - } - } - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-arrives-(v2)" - } - } - }, - "/{connectionId}/Mail/OnFlaggedEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When an email is flagged", - "description": "This operation triggers a flow when an email is flagged.", - "operationId": "OnFlaggedEmail", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "important", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, flag an email in your inbox.", - "x-ms-api-annotation": { - "status": "Production", - "family": "OnFlaggedEmail", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-email-is-flagged-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Mail/OnFlaggedEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When an email is flagged (V2)", - "description": "This operation triggers a flow when an email is flagged.", - "operationId": "OnFlaggedEmailV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, flag an email in your inbox.", - "x-ms-notification": { - "operationId": "CreateOnFlaggedEmailPokeSubscription" - }, - "x-ms-api-annotation": { - "status": "Production", - "family": "OnFlaggedEmail", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-email-is-flagged-(v2)" - } - } - }, - "/{connectionId}/Mail/OnNewMentionMeEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When a new email mentioning me arrives", - "description": "This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", - "operationId": "OnNewMentionMeEmail", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageIdToFireOnFirstTriggerRun", - "in": "query", - "description": "Id of message to fire on first trigger run if supplied.", - "required": false, - "x-ms-summary": "Message Id to Fire on First Trigger Run", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, send a new email to your inbox which mentions you.", - "x-ms-api-annotation": { - "status": "Production", - "family": "OnNewMentionMeEmail", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-mentioning-me-arrives-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/v2/Mail/OnNewMentionMeEmail": { - "get": { - "tags": [ - "Mail" - ], - "summary": "When a new email mentioning me arrives (V2)", - "description": "This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments.", - "operationId": "OnNewMentionMeEmailV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "messageIdToFireOnFirstTriggerRun", - "in": "query", - "description": "Id of message to fire on first trigger run if supplied.", - "required": false, - "x-ms-summary": "Message Id to Fire on First Trigger Run", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string" - }, - { - "name": "to", - "in": "query", - "description": "Recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "cc", - "in": "query", - "description": "CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "toOrCc", - "in": "query", - "description": "To or CC recipient email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "To or CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "from", - "in": "query", - "description": "Sender email addresses separated by semicolons (If any match, the trigger will run).", - "required": false, - "x-ms-summary": "From", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - }, - "type": "string", - "format": "email" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "includeAttachments", - "in": "query", - "description": "Should the response of the trigger include the attachments content.", - "required": false, - "x-ms-summary": "Include Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - }, - { - "name": "subjectFilter", - "in": "query", - "description": "String to look for in the subject line.", - "required": false, - "x-ms-summary": "Subject Filter", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "Operation was successful", - "schema": { - "$ref": "#/definitions/TriggerBatchResponse[ClientReceiveMessage]" - } - }, - "202": { - "description": "Accepted" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, send a new email to your inbox which mentions you.", - "x-ms-notification": { - "operationId": "CreateOnNewMentionMeEmailPokeSubscription" - }, - "x-ms-api-annotation": { - "status": "Production", - "family": "OnNewMentionMeEmail", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-email-mentioning-me-arrives-(v2)" - } - } - }, - "/{connectionId}/MailSubscriptionPoke/$subscriptions": { - "post": { - "tags": [ - "MailSubscription" - ], - "summary": "Create a webhook subscription for the trigger when a new email arrives", - "description": "Create a webhook subscription for the trigger when a new email arrives.", - "operationId": "CreateOnNewEmailPokeSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-a-webhook-subscription-for-the-trigger-when-a-new-email-arrives" - } - }, - "x-ms-notification-content": { - "description": "Poke notification", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/MentionMeMailSubscriptionPoke/$subscriptions": { - "post": { - "tags": [ - "MailSubscription" - ], - "summary": "When a new mentioning me email arrives - Outlook subscription", - "description": "Create an Outlook webhook subscription for the trigger when a new mentioning me email arrives.", - "operationId": "CreateOnNewMentionMeEmailPokeSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-mentioning-me-email-arrives---outlook-subscription" - } - }, - "x-ms-notification-content": { - "description": "Poke notification", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/FlaggedMailSubscriptionPoke/$subscriptions": { - "post": { - "tags": [ - "MailSubscription" - ], - "summary": "Create an Outlook webhook subscription for the trigger when an email is flagged", - "description": "Create an Outlook webhook subscription for the trigger when an email is flagged.", - "operationId": "CreateOnFlaggedEmailPokeSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - }, - { - "name": "folderPath", - "in": "query", - "description": "Mail folder to check for new emails.", - "required": false, - "x-ms-summary": "Folder", - "x-ms-dynamic-values": { - "capability": "file-picker", - "parameters": { - "isFolder": true, - "operation": "MailFolders", - "fileFilter": [], - "dataset": null - }, - "value-path": "Id" - }, - "x-ms-dynamic-tree": { - "settings": { - "canSelectParentNodes": true, - "canSelectLeafNodes": false - }, - "open": { - "operationId": "OnFilePickerOpen", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "operation": { - "value": "MailFolders" - } - } - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "itemValuePath": "Id", - "itemTitlePath": "DisplayName", - "itemIsParent": "(IsFolder eq true)", - "itemFullTitlePath": "Path", - "itemsPath": "value", - "parameters": { - "id": { - "selectedItemValuePath": "Id" - }, - "operation": { - "value": "MailFolders" - } - } - } - }, - "type": "string", - "default": "Inbox" - }, - { - "name": "importance", - "in": "query", - "description": "Importance of the email (Any, High, Normal, Low).", - "required": false, - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced", - "type": "string", - "default": "Any", - "enum": [ - "Any", - "Low", - "Normal", - "High" - ] - }, - { - "name": "fetchOnlyWithAttachment", - "in": "query", - "description": "If set to true, only emails with an attachment will be retrieved. Emails without any attachments will be skipped. If set to false, all emails will be retrieved.", - "required": false, - "x-ms-summary": "Only with Attachments", - "x-ms-visibility": "advanced", - "type": "boolean", - "default": false - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-an-outlook-webhook-subscription-for-the-trigger-when-an-email-is-flagged" - } - }, - "x-ms-notification-content": { - "description": "Poke notification", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/MailSubscription/$subscriptions/{id}": { - "delete": { - "tags": [ - "MailSubscription" - ], - "summary": "Delete mail subscription", - "description": "This operation deletes a mail subscription.", - "operationId": "DeleteOnNewEmailSubscription", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be deleted.", - "required": true, - "x-ms-summary": "Id of subscription to be deleted", - "type": "string" - }, - { - "name": "options", - "in": "query", - "description": "Subscription options.", - "required": true, - "x-ms-summary": "Subscription options", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-mail-subscription" - } - }, - "patch": { - "tags": [ - "MailSubscription" - ], - "summary": "Update web hook", - "description": "Update web hook with renew interval.", - "operationId": "RenewOnNewEmailSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be renewed.", - "required": true, - "x-ms-summary": "Id of subscription to be renewed", - "type": "string" - }, - { - "name": "options", - "in": "query", - "description": "Subscription options.", - "required": true, - "x-ms-summary": "Subscription options", - "type": "string" - }, - { - "name": "subscription", - "in": "body", - "description": "The subscription.", - "required": true, - "schema": { - "$ref": "#/definitions/ClientSubscription" - }, - "x-ms-summary": "The subscription" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "201": { - "description": "Subscription Created" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-web-hook" - } - } - }, - "/{connectionId}/$metadata.json/datasets": { - "get": { - "tags": [ - "Office365DataSetsMetadata" - ], - "operationId": "GetDataSetsMetadata", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataSetsMetadata" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/mailwithoptions/$subscriptions": { - "post": { - "tags": [ - "OptionsEmail" - ], - "summary": "Send email with options", - "description": "This operation sends an email with multiple options and waits for the recipient to respond back with one of the options. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages.", - "operationId": "SendMailWithOptions", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "optionsEmailSubscription", - "in": "body", - "description": "Subscription request for options email.", - "required": true, - "schema": { - "$ref": "#/definitions/OptionsEmailSubscription" - }, - "x-ms-summary": "Subscription request for options email" - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#send-email-with-options" - } - }, - "x-ms-notification-content": { - "description": "Selected Option", - "schema": { - "$ref": "#/definitions/ApprovalEmailResponse" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/approvalmail/$subscriptions": { - "post": { - "tags": [ - "OptionsEmail" - ], - "summary": "Send approval email", - "description": "This operation sends an approval email and waits for a response from the recipient. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages.", - "operationId": "SendApprovalMail", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "approvalEmailSubscription", - "in": "body", - "description": "Subscription request for approval email.", - "required": true, - "schema": { - "$ref": "#/definitions/ApprovalEmailSubscription" - }, - "x-ms-summary": "Subscription request for approval email" - } - ], - "responses": { - "201": { - "description": "Subscription Created", - "schema": { - "$ref": "#/definitions/SubscriptionResponse" - } - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#send-approval-email" - } - }, - "x-ms-notification-content": { - "description": "Selected Option", - "schema": { - "$ref": "#/definitions/ApprovalEmailResponse" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/approvalmail/$subscriptions/{id}": { - "delete": { - "tags": [ - "OptionsEmail" - ], - "summary": "Delete approval email subscription", - "description": "This operation deletes a subscription of approval email.", - "operationId": "DeleteApprovalMailSubscription", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be deleted.", - "required": true, - "x-ms-summary": "Id of subscription to be deleted", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-approval-email-subscription" - } - } - }, - "/{connectionId}/mailwithoptions/$subscriptions/{id}": { - "delete": { - "tags": [ - "OptionsEmail" - ], - "summary": "Delete options email subscription", - "description": "This operation deletes a subscription of options email.", - "operationId": "DeleteOptionsMailSubscription", - "consumes": [], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Id of subscription to be deleted.", - "required": true, - "x-ms-summary": "Id of subscription to be deleted", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "400": { - "description": "BadRequest" - }, - "401": { - "description": "Unauthorized" - }, - "403": { - "description": "Forbidden" - }, - "500": { - "description": "Internal Server Error" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-options-email-subscription" - } - } - }, - "/{connectionId}/testconnection": { - "get": { - "tags": [ - "TestConnection" - ], - "summary": "Tests the connection", - "description": "Tests the connection.", - "operationId": "TestConnection", - "consumes": [], - "produces": [], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#tests-the-connection" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/datasets/calendars/tables": { - "get": { - "tags": [ - "CalendarsTable" - ], - "summary": "Get calendars", - "description": "This operation lists available calendars.", - "operationId": "CalendarGetTables", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[Table]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-openai-data": { - "openai-enabled": true - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-calendars" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/datasets/calendars/tables/{table}/items": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get events (V1)", - "description": "This operation gets events from a calendar. (V1)", - "operationId": "CalendarGetItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[CalendarEventBackend]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetItems", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v1)-%5bdeprecated%5d" - } - }, - "post": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Create event (V1)", - "description": "This operation creates a new event in a calendar. (V1)", - "operationId": "CalendarPostItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to create", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventBackend" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventBackend" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "important", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPostItem", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v1)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/tables/{table}/items/{id}": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get event (V1)", - "description": "This operation gets a specific event from a calendar. (V1)", - "operationId": "CalendarGetItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Item id", - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventBackend" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetItem", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-event-(v1)-%5bdeprecated%5d" - } - }, - "delete": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Delete event", - "description": "This operation deletes an event in a calendar.", - "operationId": "CalendarDeleteItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-event" - } - }, - "patch": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Update event (V1)", - "description": "This operation updates an event in a calendar. (V1)", - "operationId": "CalendarPatchItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to update", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventBackend" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventBackend" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPatchItem", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v1)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/v3/tables/{table}/items": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get events (V3)", - "description": "This operation gets events from a calendar. (V3)", - "operationId": "V3CalendarGetItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventListClientReceive" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetItems", - "revision": 3 - }, - "x-ms-openai-data": { - "openai-enabled": true - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v3)" - } - }, - "post": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Create event (V3)", - "description": "This operation creates a new event in a calendar.", - "operationId": "V3CalendarPostItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to create", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventHtmlClient" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPostItem", - "revision": 3 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v3)" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/{table}/items": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get events (V2)", - "description": "This operation gets events from a calendar. (V2)", - "operationId": "V2CalendarGetItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[CalendarEventClientReceiveStringEnums]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetItems", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-events-(v2)-%5bdeprecated%5d" - } - }, - "post": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Create event (V2)", - "description": "This operation creates a new event in a calendar. (V2)", - "operationId": "V2CalendarPostItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to create", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventClient" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "important", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPostItem", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-event-(v2)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/items/calendarview": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get calendar view of events (V2)", - "description": "This operation gets all events (including instances of recurrences) in a calendar. (V2)", - "operationId": "GetEventsCalendarViewV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "calendarId", - "in": "query", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar Id", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "startDateTimeOffset", - "in": "query", - "description": "Start time (example: '2017-01-01T08:00:00-07:00')", - "required": true, - "x-ms-summary": "Start Time", - "type": "string" - }, - { - "name": "endDateTimeOffset", - "in": "query", - "description": "End time (example: '2017-02-01T08:00:00-07:00')", - "required": true, - "x-ms-summary": "End Time", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "search", - "in": "query", - "description": "Search text for matching event body and subject", - "required": false, - "x-ms-summary": "Search", - "x-ms-visibility": "advanced", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[CalendarEventClientReceiveStringEnums]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "GetEventsCalendarView", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-calendar-view-of-events-(v2)" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/{table}/items/{id}": { - "get": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Get event (V2)", - "description": "This operation gets a specific event from a calendar. (V2)", - "operationId": "V2CalendarGetItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Item id", - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetItem", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-event-(v2)" - } - }, - "patch": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Update event (V2)", - "description": "This operation updates an event in a calendar. (V2)", - "operationId": "V2CalendarPatchItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to update", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventClient" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPatchItem", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v2)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/v3/tables/{table}/items/{id}": { - "patch": { - "tags": [ - "CalendarsTableData" - ], - "summary": "Update event (V3)", - "description": "This operation updates an event in a calendar.", - "operationId": "V3CalendarPatchItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Select an event", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Event to update", - "required": true, - "schema": { - "$ref": "#/definitions/CalendarEventHtmlClient" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarPatchItem", - "revision": 3 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-event-(v3)" - } - } - }, - "/{connectionId}/datasets/calendars/tables/{table}/onnewitems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When a new event is created (V1)", - "description": "This operation triggers a flow when a new event is created in a calendar. (V1)", - "operationId": "CalendarGetOnNewItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventList" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, create a new calendar item.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnNewItems", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-event-is-created-(v1)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/tables/{table}/onupdateditems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When an event is modified (V1)", - "description": "This operation triggers a flow when an event is modified in a calendar. (V1)", - "operationId": "CalendarGetOnUpdatedItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventList" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, update a calendar item.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnUpdatedItems", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-modified-(v1)-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets({dataset})/tables({table})/onnewitems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When a new item is created in a table", - "description": "This operation triggers a flow when a new item is created in a table.", - "operationId": "ODataStyleGetOnNewItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "dataset", - "in": "path", - "description": "dataset name", - "required": true, - "x-ms-summary": "Dataset", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "table name", - "required": true, - "x-ms-summary": "Calendar id", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventList" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, create a new calendar item.", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-item-is-created-in-a-table" - } - } - }, - "/{connectionId}/datasets({dataset})/tables({table})/onupdateditems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When an item is modified", - "description": "This operation triggers a flow when an item is modified in a table.", - "operationId": "ODataStyleCalendarGetOnUpdatedItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "dataset", - "in": "path", - "description": "dataset name", - "required": true, - "x-ms-summary": "Dataset", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "table name", - "required": true, - "x-ms-summary": "Calendar id", - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventList" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, update a calendar item.", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-item-is-modified" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/{table}/onnewitems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When a new event is created (V2)", - "description": "This operation triggers a flow when a new event is created in a calendar. (V2)", - "operationId": "CalendarGetOnNewItemsV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventListClientReceive" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, create a new calendar item.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnNewItems", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-a-new-event-is-created-(v2)" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/{table}/onupdateditems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When an event is modified (V2)", - "description": "This operation triggers a flow when an event is modified in a calendar. (V2)", - "operationId": "CalendarGetOnUpdatedItemsV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventListClientReceive" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, update a calendar item.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnUpdatedItems", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-modified-(v2)" - } - } - }, - "/{connectionId}/datasets/calendars/tables/{table}/onchangeditems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When an event is added, updated or deleted", - "description": "This operation triggers a flow when an event is added, updated or deleted in a calendar.", - "operationId": "CalendarGetOnChangedItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "description": "Number of incoming days in calendar to be tracked", - "required": false, - "x-ms-summary": "Incoming Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 300 - }, - { - "name": "pastDays", - "in": "query", - "description": "Number of past days in calendar to be tracked", - "required": false, - "x-ms-summary": "Past Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 50 - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventListWithActionType" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": true, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, add, update or delete a calendar item.", - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnChangedItems", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-%5bdeprecated%5d" - } - } - }, - "/{connectionId}/datasets/calendars/v2/tables/{table}/onchangeditems": { - "get": { - "tags": [ - "CalendarsTableDataTrigger" - ], - "summary": "When an event is added, updated or deleted (V2)", - "description": "This operation triggers a flow when an event is added, updated or deleted in a calendar.", - "operationId": "CalendarGetOnChangedItemsV2", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a calendar", - "required": true, - "x-ms-summary": "Calendar id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "CalendarGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "incomingDays", - "in": "query", - "description": "Number of incoming days in calendar to be tracked", - "required": false, - "x-ms-summary": "Incoming Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 300 - }, - { - "name": "pastDays", - "in": "query", - "description": "Number of past days in calendar to be tracked", - "required": false, - "x-ms-summary": "Past Days Tracked", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32", - "default": 50 - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/CalendarEventListWithActionType" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-trigger": "batch", - "x-ms-trigger-hint": "To see it work now, add, update or delete a calendar item.", - "x-ms-notification": { - "operationId": "CreateOnChangedEventPokeSubscription" - }, - "x-ms-api-annotation": { - "status": "Production", - "family": "CalendarGetOnChangedItems", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#when-an-event-is-added%2c-updated-or-deleted-(v2)" - } - } - }, - "/{connectionId}/datasets/contacts/tables": { - "get": { - "tags": [ - "ContactsTable" - ], - "summary": "Get contact folders", - "description": "This operation lists available contacts folders.", - "operationId": "ContactGetTables", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[Table]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-openai-data": { - "openai-enabled": true - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-contact-folders" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/datasets/contacts/tables/{table}/items": { - "get": { - "tags": [ - "ContactsTableData" - ], - "summary": "Get contacts", - "description": "This operation gets contacts from a contacts folder.", - "operationId": "ContactGetItems", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Unique identifier of the contacts folder to retrieve", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "$filter", - "in": "query", - "description": "An ODATA filter query to restrict the entries returned (e.g. stringColumn eq 'string' OR numberColumn lt 123).", - "required": false, - "x-ms-summary": "Filter Query", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$orderby", - "in": "query", - "description": "An ODATA orderBy query for specifying the order of entries.", - "required": false, - "x-ms-summary": "Order By", - "x-ms-visibility": "advanced", - "type": "string" - }, - { - "name": "$top", - "in": "query", - "description": "Total number of entries to retrieve (default = all).", - "required": false, - "x-ms-summary": "Top Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - }, - { - "name": "$skip", - "in": "query", - "description": "The number of entries to skip (default = 0).", - "required": false, - "x-ms-summary": "Skip Count", - "x-ms-visibility": "advanced", - "type": "integer", - "format": "int32" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/EntityListResponse[ContactResponse]" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-openai-data": { - "openai-enabled": true - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-contacts" - } - }, - "post": { - "tags": [ - "ContactsTableData" - ], - "summary": "Create contact", - "description": "This operation creates a new contact in a contacts folder.", - "operationId": "ContactPostItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a contacts folder", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Contact to create", - "required": true, - "schema": { - "$ref": "#/definitions/Contact" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContactResponse" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "important", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#create-contact" - } - } - }, - "/{connectionId}/datasets/contacts/tables/{table}/items/{id}": { - "get": { - "tags": [ - "ContactsTableData" - ], - "summary": "Get contact", - "description": "This operation gets a specific contact from a contacts folder.", - "operationId": "ContactGetItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a contacts folder", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of a contact to retrieve", - "required": true, - "x-ms-summary": "Item id", - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContactResponse" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-contact" - } - }, - "delete": { - "tags": [ - "ContactsTableData" - ], - "summary": "Delete contact", - "description": "This operation deletes a contact from a contacts folder.", - "operationId": "ContactDeleteItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a contacts folder", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of contact to delete", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#delete-contact" - } - }, - "patch": { - "tags": [ - "ContactsTableData" - ], - "summary": "Update contact", - "description": "This operation updates a contact in a contacts folder.", - "operationId": "ContactPatchItem", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "table", - "in": "path", - "description": "Select a contacts folder", - "required": true, - "x-ms-summary": "Folder id", - "x-ms-url-encoding": "double", - "x-ms-dynamic-values": { - "operationId": "ContactGetTables", - "parameters": {}, - "value-collection": "value", - "value-path": "Name", - "value-title": "DisplayName" - }, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Unique identifier of contact to update", - "required": true, - "x-ms-summary": "Id", - "x-ms-url-encoding": "double", - "type": "string" - }, - { - "name": "item", - "in": "body", - "description": "Contact item to update", - "required": true, - "schema": { - "$ref": "#/definitions/Contact" - }, - "x-ms-summary": "Item" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ContactResponse" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#update-contact" - } - } - }, - "/{connectionId}/datasets": { - "get": { - "tags": [ - "Office365DataSet" - ], - "summary": "Get datasets", - "description": "This operation gets Contacts or Calendars", - "operationId": "GetDataSets", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DataSetsList" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#get-datasets" - }, - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - } - ] - } - }, - "/{connectionId}/codeless/api/v2.0/me/events/{event_id}/{response}": { - "post": { - "summary": "Respond to an event invite", - "description": "Respond to an event invite.", - "operationId": "RespondToEvent", - "consumes": [ - "application/json", - "text/json" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "event_id", - "in": "path", - "description": "Id of the event to respond to.", - "required": true, - "x-ms-summary": "Event Id", - "type": "string" - }, - { - "name": "response", - "in": "path", - "description": "Response for the event invite", - "required": true, - "x-ms-summary": "Response", - "type": "string", - "enum": [ - "Accept", - "Tentatively Accept", - "Decline" - ] - }, - { - "name": "body", - "in": "body", - "description": "Event invite response body.", - "required": false, - "schema": { - "$ref": "#/definitions/ResponseToEventInvite" - }, - "x-ms-summary": "Event invite response body" - } - ], - "responses": { - "202": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production" - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#respond-to-an-event-invite" - } - } - }, - "/{connectionId}/codeless/api/v2.0/me/messages/{message_id}/forward": { - "post": { - "summary": "Forward an email", - "description": "Forward an email.", - "operationId": "ForwardEmail", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "connectionId", - "in": "path", - "required": true, - "x-ms-visibility": "internal", - "type": "string" - }, - { - "name": "message_id", - "in": "path", - "description": "Id of the message to forward.", - "required": true, - "x-ms-summary": "Message Id", - "type": "string" - }, - { - "name": "body", - "in": "body", - "description": "Direct forward message.", - "required": true, - "schema": { - "$ref": "#/definitions/DirectForwardMessage" - }, - "x-ms-summary": "Direct forward message" - } - ], - "responses": { - "202": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "x-ms-visibility": "advanced", - "x-ms-api-annotation": { - "status": "Production" - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#forward-an-email" - } - } - }, - "/RecordResponse": { - "get": { - "tags": [ - "RecordResponse" - ], - "summary": "Receives response from user", - "description": "This operation gets a response from the user.", - "operationId": "ReceiveResponseGet", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "callback state.", - "required": true, - "x-ms-summary": "callback state", - "type": "string" - }, - { - "name": "sig", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "showConfirm", - "in": "query", - "description": "showConfirm query parameter, if true, then confirmation page will be returned.", - "required": false, - "x-ms-summary": "showConfirm query parameter, if true, then confirmation page will be returned", - "type": "boolean", - "default": false - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receives-response-from-user" - } - }, - "post": { - "tags": [ - "RecordResponse" - ], - "summary": "Receives response from user", - "description": "This operation gets a response from the user.", - "operationId": "ReceiveResponsePost", - "consumes": [], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "callback state.", - "required": true, - "x-ms-summary": "callback state", - "type": "string" - }, - { - "name": "sig", - "in": "query", - "required": false, - "type": "string" - }, - { - "name": "fromConfirm", - "in": "query", - "description": "fromConfirm query parameter, if true, then request is from confirmation page.", - "required": false, - "x-ms-summary": "fromConfirm query parameter, if true, then request is from confirmation page", - "type": "boolean", - "default": false - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "string" - } - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receives-response-from-user" - } - } - }, - "/MailSubscriptionReceive": { - "post": { - "tags": [ - "SubscriptionPayload" - ], - "summary": "Receive mail", - "description": "This operation validates the subscription request.", - "operationId": "ReceiveMailFromSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "Callback state.", - "required": true, - "x-ms-summary": "Callback state", - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "description": "Subscription payload.", - "required": true, - "schema": { - "$ref": "#/definitions/SubscriptionPayload[OutlookReceiveMessage]" - }, - "x-ms-summary": "Subscription payload" - }, - { - "name": "validationtoken", - "in": "query", - "description": "Validation token.", - "required": false, - "x-ms-summary": "Validation token", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "x-ms-api-annotation": { - "status": "Production", - "family": "ReceiveMailFromSubscription", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receive-mail" - } - } - }, - "/{subscribedConnectionId}/MailSubscriptionReceive": { - "post": { - "tags": [ - "SubscriptionPayload" - ], - "summary": "Receive mail (V2)", - "description": "This operation validates the subscription request.", - "operationId": "ReceiveMailFromSubscriptionV2", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "Callback state.", - "required": true, - "x-ms-summary": "Callback state", - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "description": "Subscription payload.", - "required": true, - "schema": { - "$ref": "#/definitions/SubscriptionPayload[OutlookReceiveMessage]" - }, - "x-ms-summary": "Subscription payload" - }, - { - "name": "validationtoken", - "in": "query", - "description": "Validation token.", - "required": false, - "x-ms-summary": "Validation token", - "type": "string" - }, - { - "name": "subscribedConnectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "x-ms-api-annotation": { - "status": "Preview", - "family": "ReceiveMailFromSubscription", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receive-mail-(v2)" - } - } - }, - "/EventSubscriptionReceive": { - "post": { - "tags": [ - "SubscriptionPayload" - ], - "summary": "Receive event", - "description": "This operation validates the subscription request.", - "operationId": "ReceiveEventFromSubscription", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "Callback state.", - "required": true, - "x-ms-summary": "Callback state", - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "description": "Subscription payload.", - "required": true, - "schema": { - "$ref": "#/definitions/SubscriptionPayload[SubscriptionEvent]" - }, - "x-ms-summary": "Subscription payload" - }, - { - "name": "validationtoken", - "in": "query", - "description": "Validation token.", - "required": false, - "x-ms-summary": "Validation token", - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "x-ms-api-annotation": { - "status": "Production", - "family": "ReceiveEventFromSubscription", - "revision": 1 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receive-event" - } - } - }, - "/{subscribedConnectionId}/EventSubscriptionReceive": { - "post": { - "tags": [ - "SubscriptionPayload" - ], - "summary": "Receive event (V2)", - "description": "This operation validates the subscription request.", - "operationId": "ReceiveEventFromSubscriptionV2", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], - "produces": [], - "parameters": [ - { - "name": "state", - "in": "query", - "description": "Callback state.", - "required": true, - "x-ms-summary": "Callback state", - "type": "string" - }, - { - "name": "subscriptionPayload", - "in": "body", - "description": "Subscription payload.", - "required": true, - "schema": { - "$ref": "#/definitions/SubscriptionPayload[SubscriptionEvent]" - }, - "x-ms-summary": "Subscription payload" - }, - { - "name": "validationtoken", - "in": "query", - "description": "Validation token.", - "required": false, - "x-ms-summary": "Validation token", - "type": "string" - }, - { - "name": "subscribedConnectionId", - "in": "path", - "required": true, - "type": "string" - } - ], - "responses": { - "200": { - "description": "OK" - }, - "default": { - "description": "Operation Failed." - } - }, - "deprecated": false, - "security": [], - "x-ms-visibility": "internal", - "x-ms-api-annotation": { - "status": "Preview", - "family": "ReceiveEventFromSubscription", - "revision": 2 - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook/#receive-event-(v2)" - } - } - } - }, - "definitions": { - "TableMetadata": { - "description": "Table metadata", - "type": "object", - "properties": { - "name": { - "description": "Table name", - "type": "string" - }, - "title": { - "description": "Table title", - "type": "string" - }, - "x-ms-permission": { - "description": "Table permission", - "type": "string" - }, - "x-ms-capabilities": { - "$ref": "#/definitions/TableCapabilitiesMetadata" - }, - "schema": { - "$ref": "#/definitions/Object" - }, - "referencedEntities": { - "$ref": "#/definitions/Object" - }, - "webUrl": { - "description": "Url link", - "type": "string" - } - } - }, - "TableCapabilitiesMetadata": { - "description": "Metadata for a table (capabilities)", - "type": "object", - "properties": { - "sortRestrictions": { - "$ref": "#/definitions/TableSortRestrictionsMetadata" - }, - "filterRestrictions": { - "$ref": "#/definitions/TableFilterRestrictionsMetadata" - }, - "selectRestrictions": { - "$ref": "#/definitions/TableSelectRestrictionsMetadata" - }, - "isOnlyServerPagable": { - "description": "Server paging restrictions", - "type": "boolean" - }, - "filterFunctionSupport": { - "description": "List of supported filter capabilities", - "type": "array", - "items": { - "enum": [ - "eq", - "ne", - "gt", - "ge", - "lt", - "le", - "and", - "or", - "contains", - "startswith", - "endswith", - "length", - "indexof", - "replace", - "substring", - "substringof", - "tolower", - "toupper", - "trim", - "concat", - "year", - "month", - "day", - "hour", - "minute", - "second", - "date", - "time", - "now", - "totaloffsetminutes", - "totalseconds", - "floor", - "ceiling", - "round", - "not", - "negate", - "add", - "sub", - "mul", - "div", - "mod", - "sum", - "min", - "max", - "average", - "countdistinct", - "null" - ], - "type": "string" - } - }, - "serverPagingOptions": { - "description": "List of supported server-driven paging capabilities", - "type": "array", - "items": { - "enum": [ - "top", - "skiptoken" - ], - "type": "string" - } - } - } - }, - "Object": { - "type": "object", - "properties": {} - }, - "TableSortRestrictionsMetadata": { - "description": "Metadata for a table (sort restrictions)", - "type": "object", - "properties": { - "sortable": { - "description": "Indicates whether this table has sortable columns", - "type": "boolean" - }, - "unsortableProperties": { - "description": "List of unsortable properties", - "type": "array", - "items": { - "type": "string" - } - }, - "ascendingOnlyProperties": { - "description": "List of properties which support ascending order only", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TableFilterRestrictionsMetadata": { - "description": "Metadata for a table (filter restrictions)", - "type": "object", - "properties": { - "filterable": { - "description": "Indicates whether this table has filterable columns", - "type": "boolean" - }, - "nonFilterableProperties": { - "description": "List of non filterable properties", - "type": "array", - "items": { - "type": "string" - } - }, - "requiredProperties": { - "description": "List of required properties", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "TableSelectRestrictionsMetadata": { - "description": "Metadata for a table (select restrictions)", - "type": "object", - "properties": { - "selectable": { - "description": "Indicates whether this table has selectable columns", - "type": "boolean" - } - } - }, - "CalendarEventList": { - "description": "The list of calendar items", - "type": "object", - "properties": { - "value": { - "description": "List of calendar items", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventBackend" - } - } - } - }, - "CalendarEventBackend": { - "description": "Connector specific calendar event model class for the backend", - "required": [ - "End", - "Start", - "Subject" - ], - "type": "object", - "properties": { - "Id": { - "description": "The Event's unique identifier", - "type": "string", - "x-ms-summary": "Id" - }, - "Attendees": { - "description": "List of attendees for the event", - "type": "array", - "items": { - "$ref": "#/definitions/Attendee" - }, - "x-ms-summary": "Attendees" - }, - "Body": { - "$ref": "#/definitions/ItemBody" - }, - "BodyPreview": { - "description": "The preview of the message associated with the event", - "type": "string", - "x-ms-summary": "Body preview", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the event", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "ChangeKey": { - "description": "This property identifies the version of the event object. Every time the event is changed, ChangeKey changes as well.", - "type": "string", - "x-ms-summary": "Change key", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The date and time that the event was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The date and time that the event was last modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - }, - "End": { - "format": "date-time", - "description": "The end time of the event", - "type": "string", - "x-ms-summary": "End time" - }, - "EndTimeZone": { - "description": "This property specifies the time zone of the meeting end time. The value must be as defined in Windows (example: 'Pacific Standard Time').", - "type": "string", - "x-ms-summary": "End time zone", - "x-ms-visibility": "advanced" - }, - "HasAttachments": { - "description": "Set to true if the event has attachments", - "type": "boolean", - "x-ms-summary": "Has attachments?", - "x-ms-visibility": "advanced" - }, - "ICalUId": { - "description": "A unique identifier that is shared by all instances of an event across different calendars", - "type": "string", - "x-ms-summary": "Event Unique ID", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "The importance of the event: Low, Normal, or High", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "IsCancelled": { - "description": "Set to true if the event has been canceled", - "type": "boolean", - "x-ms-summary": "Is cancelled?", - "x-ms-visibility": "advanced" - }, - "IsOrganizer": { - "description": "Set to true if the message sender is also the organizer", - "type": "boolean", - "x-ms-summary": "Is Organizer", - "x-ms-visibility": "advanced" - }, - "Location": { - "$ref": "#/definitions/Location" - }, - "Organizer": { - "$ref": "#/definitions/Recipient" - }, - "Recurrence": { - "$ref": "#/definitions/PatternedRecurrence" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - }, - "ResponseStatus": { - "$ref": "#/definitions/ResponseStatus" - }, - "SeriesMasterId": { - "description": "Unique identifier for Series Master event type", - "type": "string", - "x-ms-summary": "Series master id", - "x-ms-visibility": "advanced" - }, - "ShowAs": { - "description": "Shows as free or busy", - "enum": [ - "Free", - "Tentative", - "Busy", - "Oof", - "WorkingElsewhere", - "Unknown" - ], - "type": "string", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "Start": { - "format": "date-time", - "description": "The start time of the event", - "type": "string", - "x-ms-summary": "Start time" - }, - "StartTimeZone": { - "description": "This property specifies the time zone of the meeting start time. The value must be as defined in Windows (example: 'Pacific Standard Time').", - "type": "string", - "x-ms-summary": "Start time zone", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Type": { - "description": "The event type: Single Instance, Occurrence, Exception, or Series Master", - "enum": [ - "SingleInstance", - "Occurrence", - "Exception", - "SeriesMaster" - ], - "type": "string", - "x-ms-summary": "Type", - "x-ms-visibility": "advanced" - }, - "WebLink": { - "format": "uri", - "description": "The preview of the message associated with the event", - "type": "string", - "x-ms-summary": "Web link", - "x-ms-visibility": "advanced" - }, - "Reason": { - "description": "The reason property used by O365 sync events protocol, will be 'deleted' if its a deleted event.", - "type": "string", - "x-ms-summary": "Reason", - "x-ms-visibility": "advanced" - } - } - }, - "Attendee": { - "type": "object", - "properties": { - "Status": { - "$ref": "#/definitions/ResponseStatus" - }, - "Type": { - "enum": [ - "Required", - "Optional", - "Resource" - ], - "type": "string" - }, - "EmailAddress": { - "$ref": "#/definitions/EmailAddress" - } - } - }, - "ItemBody": { - "type": "object", - "properties": { - "ContentType": { - "enum": [ - "Text", - "HTML" - ], - "type": "string" - }, - "Content": { - "type": "string" - } - } - }, - "Location": { - "type": "object", - "properties": { - "DisplayName": { - "type": "string" - }, - "Address": { - "$ref": "#/definitions/PhysicalAddress" - }, - "Coordinates": { - "$ref": "#/definitions/GeoCoordinates" - } - } - }, - "Recipient": { - "type": "object", - "properties": { - "EmailAddress": { - "$ref": "#/definitions/EmailAddress" - } - } - }, - "PatternedRecurrence": { - "type": "object", - "properties": { - "Pattern": { - "$ref": "#/definitions/RecurrencePattern" - }, - "Range": { - "$ref": "#/definitions/RecurrenceRange" - } - } - }, - "ResponseStatus": { - "type": "object", - "properties": { - "Response": { - "enum": [ - "None", - "Organizer", - "TentativelyAccepted", - "Accepted", - "Declined", - "NotResponded" - ], - "type": "string" - }, - "Time": { - "format": "date-time", - "type": "string" - } - } - }, - "EmailAddress": { - "type": "object", - "properties": { - "Name": { - "type": "string" - }, - "Address": { - "type": "string", - "format": "email" - } - } - }, - "PhysicalAddress": { - "type": "object", - "properties": { - "Street": { - "type": "string" - }, - "City": { - "type": "string" - }, - "State": { - "type": "string" - }, - "CountryOrRegion": { - "type": "string" - }, - "PostalCode": { - "type": "string" - } - } - }, - "GeoCoordinates": { - "type": "object", - "properties": { - "Altitude": { - "format": "double", - "type": "number" - }, - "Latitude": { - "format": "double", - "type": "number" - }, - "Longitude": { - "format": "double", - "type": "number" - }, - "Accuracy": { - "format": "double", - "type": "number" - }, - "AltitudeAccuracy": { - "format": "double", - "type": "number" - } - } - }, - "RecurrencePattern": { - "type": "object", - "properties": { - "Type": { - "enum": [ - "Daily", - "Weekly", - "AbsoluteMonthly", - "RelativeMonthly", - "AbsoluteYearly", - "RelativeYearly" - ], - "type": "string" - }, - "Interval": { - "format": "int32", - "type": "integer" - }, - "Month": { - "format": "int32", - "type": "integer" - }, - "DayOfMonth": { - "format": "int32", - "type": "integer" - }, - "DaysOfWeek": { - "type": "array", - "items": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - } - }, - "FirstDayOfWeek": { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" - }, - "Index": { - "enum": [ - "First", - "Second", - "Third", - "Fourth", - "Last" - ], - "type": "string" - } - } - }, - "RecurrenceRange": { - "type": "object", - "properties": { - "Type": { - "enum": [ - "EndDate", - "NoEnd", - "Numbered" - ], - "type": "string" - }, - "StartDate": { - "format": "date-time", - "type": "string" - }, - "EndDate": { - "format": "date-time", - "type": "string" - }, - "NumberOfOccurrences": { - "format": "int32", - "type": "integer" - } - } - }, - "CalendarEventListClientReceive": { - "description": "The list of calendar items", - "type": "object", - "properties": { - "value": { - "description": "List of calendar items", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventClientReceive" - } - } - } - }, - "CalendarEventClientReceive": { - "description": "Connector specific calendar event model class for the client", - "type": "object", - "properties": { - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Start": { - "format": "date-time", - "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", - "type": "string", - "x-ms-summary": "Start time" - }, - "End": { - "format": "date-time", - "description": "End time of the event (example: '2016-11-01T15:30:00Z')", - "type": "string", - "x-ms-summary": "End time" - }, - "ShowAs": { - "format": "int32", - "description": "Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4)", - "type": "integer", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "Recurrence": { - "format": "int32", - "description": "The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4)", - "type": "integer", - "x-ms-summary": "Recurrence", - "x-ms-visibility": "advanced" - }, - "ResponseType": { - "format": "int32", - "description": "The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5)", - "type": "integer", - "x-ms-summary": "Response type", - "x-ms-visibility": "advanced" - }, - "ResponseTime": { - "format": "date-time", - "description": "The response time of the event", - "type": "string", - "x-ms-summary": "Response time", - "x-ms-visibility": "advanced" - }, - "ICalUId": { - "description": "A unique identifier that is shared by all instances of an event across different calendars", - "type": "string", - "x-ms-summary": "Event Unique ID", - "x-ms-visibility": "advanced" - }, - "Importance": { - "format": "int32", - "description": "The importance of the event (0 - Low, 1 - Normal, 2 - High)", - "type": "integer", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Id": { - "description": "The event's unique identifier", - "type": "string", - "x-ms-summary": "Id", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The date and time that the event was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The date and time that the event was last modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - }, - "Organizer": { - "format": "email", - "description": "The organizer of the event", - "type": "string", - "x-ms-summary": "Organizer", - "x-ms-visibility": "advanced" - }, - "TimeZone": { - "description": "Time zone of the event", - "type": "string", - "x-ms-summary": "Time zone", - "x-ms-visibility": "advanced" - }, - "SeriesMasterId": { - "description": "Unique identifier for Series Master event type", - "type": "string", - "x-ms-summary": "Series master id", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the event", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "WebLink": { - "format": "uri", - "description": "The URL to open the event in Outlook Web App", - "type": "string", - "x-ms-summary": "Web link", - "x-ms-visibility": "advanced" - }, - "RequiredAttendees": { - "format": "email", - "description": "Required attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Required attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "OptionalAttendees": { - "format": "email", - "description": "Optional attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Optional attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "ResourceAttendees": { - "description": "Resource attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Resource attendees", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body of the message associated with the event", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Set to true if the body is Html", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - }, - "Location": { - "description": "Location of the event", - "type": "string", - "x-ms-summary": "Location", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "RecurrenceEnd": { - "format": "date-time", - "description": "End time of the recurrence", - "type": "string", - "x-ms-summary": "Recurrence end time", - "x-ms-visibility": "advanced" - }, - "NumberOfOccurrences": { - "format": "int32", - "description": "How many times to repeat the event", - "type": "integer", - "x-ms-summary": "Number of occurrences", - "x-ms-visibility": "advanced" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - } - } - }, - "PaginatedListResponse[CalendarEventClientReceiveStringEnums]": { - "description": "Response containing a list and next link", - "type": "object", - "properties": { - "Values": { - "description": "Values", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - } - } - }, - "CalendarEventClientReceiveStringEnums": { - "description": "Connector specific calendar event model class for the client", - "type": "object", - "properties": { - "Importance": { - "description": "The importance of the event: Low, Normal, or High", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "ResponseType": { - "description": "The response type of the event: None, Organizer, TentativelyAccepted, Accepted, Declined or NotResponded", - "enum": [ - "None", - "Organizer", - "TentativelyAccepted", - "Accepted", - "Declined", - "NotResponded" - ], - "type": "string", - "x-ms-summary": "Response type", - "x-ms-visibility": "advanced" - }, - "Recurrence": { - "description": "The recurrence pattern for the event", - "enum": [ - "None", - "Daily", - "Weekly", - "Monthly", - "Yearly" - ], - "type": "string", - "x-ms-summary": "Recurrence", - "x-ms-visibility": "advanced" - }, - "ShowAs": { - "description": "Status to show during the event", - "enum": [ - "Free", - "Tentative", - "Busy", - "Oof", - "WorkingElsewhere", - "Unknown" - ], - "type": "string", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Start": { - "format": "date-time", - "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", - "type": "string", - "x-ms-summary": "Start time" - }, - "End": { - "format": "date-time", - "description": "End time of the event (example: '2016-11-01T15:30:00Z')", - "type": "string", - "x-ms-summary": "End time" - }, - "ResponseTime": { - "format": "date-time", - "description": "The response time of the event", - "type": "string", - "x-ms-summary": "Response time", - "x-ms-visibility": "advanced" - }, - "ICalUId": { - "description": "A unique identifier that is shared by all instances of an event across different calendars", - "type": "string", - "x-ms-summary": "Event Unique ID", - "x-ms-visibility": "advanced" - }, - "Id": { - "description": "The event's unique identifier", - "type": "string", - "x-ms-summary": "Id", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The date and time that the event was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The date and time that the event was last modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - }, - "Organizer": { - "format": "email", - "description": "The organizer of the event", - "type": "string", - "x-ms-summary": "Organizer", - "x-ms-visibility": "advanced" - }, - "TimeZone": { - "description": "Time zone of the event", - "type": "string", - "x-ms-summary": "Time zone", - "x-ms-visibility": "advanced" - }, - "SeriesMasterId": { - "description": "Unique identifier for Series Master event type", - "type": "string", - "x-ms-summary": "Series master id", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the event", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "WebLink": { - "format": "uri", - "description": "The URL to open the event in Outlook Web App", - "type": "string", - "x-ms-summary": "Web link", - "x-ms-visibility": "advanced" - }, - "RequiredAttendees": { - "format": "email", - "description": "Required attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Required attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "OptionalAttendees": { - "format": "email", - "description": "Optional attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Optional attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "ResourceAttendees": { - "description": "Resource attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Resource attendees", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body of the message associated with the event", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Set to true if the body is Html", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - }, - "Location": { - "description": "Location of the event", - "type": "string", - "x-ms-summary": "Location", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "RecurrenceEnd": { - "format": "date-time", - "description": "End time of the recurrence", - "type": "string", - "x-ms-summary": "Recurrence end time", - "x-ms-visibility": "advanced" - }, - "NumberOfOccurrences": { - "format": "int32", - "description": "How many times to repeat the event", - "type": "integer", - "x-ms-summary": "Number of occurrences", - "x-ms-visibility": "advanced" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - } - } - }, - "ClientSubscription": { - "description": "Describes the subscription information.", - "required": [ - "NotificationUrl" - ], - "type": "object", - "properties": { - "NotificationUrl": { - "description": "Callback url to the flow engine. Expected as part of the request and provided by Flow.", - "type": "string", - "x-ms-visibility": "internal", - "x-ms-notification-url": true - } - } - }, - "SubscriptionResponse": { - "description": "Base response model that connector returns to LA engine", - "type": "object", - "properties": { - "id": { - "description": "Id of the subscription", - "type": "string" - }, - "resource": { - "description": "Resource of the subscription request", - "type": "string" - }, - "notificationType": { - "description": "Notification Type", - "type": "string" - }, - "notificationUrl": { - "description": "Notification Url", - "type": "string" - } - } - }, - "EntityListResponse[FilePickerFile]": { - "description": "Entity list response", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/FilePickerFile" - } - } - } - }, - "FilePickerFile": { - "description": "FilePickerFile", - "type": "object", - "properties": { - "Id": { - "description": "Uniquely identifies the file", - "type": "string" - }, - "DisplayName": { - "description": "Display name for the file", - "type": "string" - }, - "IsFolder": { - "description": "Set to true if the file is a folder", - "type": "boolean" - }, - "Path": { - "description": "Path of the file", - "type": "string" - } - } - }, - "ClientSendMessage": { - "description": "Send Email Message", - "required": [ - "To", - "Subject", - "Body" - ], - "type": "object", - "properties": { - "Cc": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Bcc": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "To": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Subject": { - "description": "Specify the subject of the mail", - "type": "string", - "x-ms-summary": "Subject" - }, - "Body": { - "description": "Specify the body of the mail", - "type": "string", - "x-ms-summary": "Body" - }, - "Attachments": { - "description": "Attachments", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "ReplyTo": { - "format": "email", - "description": "The email addresses to use when replying", - "type": "string", - "x-ms-summary": "Reply To", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "Importance", - "default": "Normal", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Is Html?", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - } - } - }, - "ClientSendAttachment": { - "description": "Attachment", - "required": [ - "Name", - "ContentBytes" - ], - "type": "object", - "properties": { - "Name": { - "description": "Attachment name", - "type": "string", - "x-ms-summary": "Name" - }, - "ContentBytes": { - "format": "byte", - "description": "Attachment content", - "type": "string", - "x-ms-summary": "Content" - } - } - }, - "ClientReceiveMessageStringEnums": { - "description": "Receive Email Message", - "type": "object", - "properties": { - "Importance": { - "description": "The importance of the message", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance" - }, - "From": { - "format": "email", - "description": "The mailbox owner and sender of the message", - "type": "string", - "x-ms-summary": "From", - "x-ms-visibility": "important" - }, - "To": { - "format": "email", - "description": "The recipients for the message", - "type": "string", - "x-ms-summary": "To", - "x-ms-visibility": "important" - }, - "Cc": { - "format": "email", - "description": "The Cc recipients for the message", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced" - }, - "Bcc": { - "format": "email", - "description": "The Bcc recipients for the message", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced" - }, - "ReplyTo": { - "format": "email", - "description": "The email addresses to use when replying", - "type": "string", - "x-ms-summary": "Reply To", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "The subject of the message", - "type": "string", - "x-ms-summary": "Subject", - "x-ms-visibility": "important" - }, - "Body": { - "description": "The body of the message", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "important" - }, - "BodyPreview": { - "description": "The preview of the message", - "type": "string", - "x-ms-summary": "Body Preview", - "x-ms-visibility": "advanced" - }, - "HasAttachment": { - "description": "Indicates whether the message has attachments", - "type": "boolean", - "x-ms-summary": "Has Attachment" - }, - "Id": { - "description": "The unique identifier of the message", - "type": "string", - "x-ms-summary": "Message Id", - "x-ms-visibility": "advanced" - }, - "InternetMessageId": { - "description": "The message ID in the format specified by RFC2822", - "type": "string", - "x-ms-summary": "Internet Message Id", - "x-ms-visibility": "advanced" - }, - "ConversationId": { - "description": "The Id of the conversation the email belongs to", - "type": "string", - "x-ms-summary": "Conversation Id", - "x-ms-visibility": "advanced" - }, - "DateTimeReceived": { - "format": "date-time", - "description": "The date and time the message was received", - "type": "string", - "x-ms-summary": "Received Time", - "x-ms-visibility": "advanced" - }, - "IsRead": { - "description": "Indicates whether the message has been read", - "type": "boolean", - "x-ms-summary": "Is Read", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "The file attachments for the message", - "type": "array", - "items": { - "$ref": "#/definitions/ClientReceiveFileAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Is Html?", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - } - } - }, - "ClientReceiveFileAttachment": { - "description": "File Attachment", - "type": "object", - "properties": { - "Id": { - "description": "Attachment Id", - "type": "string", - "x-ms-summary": "Attachment Id" - }, - "Name": { - "description": "Attachment name", - "type": "string", - "x-ms-summary": "Name" - }, - "ContentBytes": { - "format": "byte", - "description": "Attachment content", - "type": "string", - "x-ms-summary": "Content" - }, - "ContentType": { - "description": "Attachment content type", - "type": "string", - "x-ms-summary": "Content-Type" - }, - "Size": { - "format": "int64", - "description": "The size in bytes of the attachment", - "type": "integer", - "x-ms-summary": "Size" - }, - "IsInline": { - "description": "Set to true if this is an inline attachment", - "type": "boolean", - "x-ms-summary": "Is Inline" - }, - "LastModifiedDateTime": { - "format": "date-time", - "description": "The date and time when the attachment was last modified", - "type": "string", - "x-ms-summary": "Last Modified DateTime" - }, - "ContentId": { - "description": "Content Id", - "type": "string", - "x-ms-summary": "Content Id" - } - } - }, - "ClientSendHtmlMessage": { - "description": "Send HTML Email Message", - "required": [ - "To", - "Subject", - "Body" - ], - "type": "object", - "properties": { - "To": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Subject": { - "description": "Specify the subject of the mail", - "type": "string", - "x-ms-summary": "Subject" - }, - "Body": { - "format": "html", - "description": "Specify the body of the mail", - "type": "string", - "x-ms-summary": "Body" - }, - "From": { - "format": "email", - "description": "Email address to send mail from (requires \"Send as\" or \"Send on behalf of\" permission for that mailbox). For more info on granting permissions please refer https://docs.microsoft.com/office365/admin/manage/send-email-as-distribution-list", - "type": "string", - "x-ms-summary": "From (Send as)", - "x-ms-visibility": "advanced" - }, - "Cc": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Bcc": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Attachments": { - "description": "Attachments", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "ReplyTo": { - "format": "email", - "description": "The email addresses to use when replying", - "type": "string", - "x-ms-summary": "Reply To", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "Importance", - "default": "Normal", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - } - } - }, - "BatchResponse[ClientReceiveMessage]": { - "description": "Represents a wrapper object for batch response", - "type": "object", - "properties": { - "value": { - "description": "A list of the response objects", - "type": "array", - "items": { - "$ref": "#/definitions/ClientReceiveMessage" - }, - "readOnly": true - } - } - }, - "ClientReceiveMessage": { - "description": "Receive Email Message", - "type": "object", - "properties": { - "From": { - "format": "email", - "description": "The mailbox owner and sender of the message", - "type": "string", - "x-ms-summary": "From", - "x-ms-visibility": "important" - }, - "To": { - "format": "email", - "description": "The recipients for the message", - "type": "string", - "x-ms-summary": "To", - "x-ms-visibility": "important" - }, - "Cc": { - "format": "email", - "description": "The Cc recipients for the message", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced" - }, - "Bcc": { - "format": "email", - "description": "The Bcc recipients for the message", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced" - }, - "ReplyTo": { - "format": "email", - "description": "The email addresses to use when replying", - "type": "string", - "x-ms-summary": "Reply To", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "The subject of the message", - "type": "string", - "x-ms-summary": "Subject", - "x-ms-visibility": "important" - }, - "Body": { - "description": "The body of the message", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "important" - }, - "Importance": { - "format": "int32", - "description": "The importance of the message (0 - Low, 1 - Normal, 2 - High)", - "type": "integer", - "x-ms-summary": "Importance" - }, - "BodyPreview": { - "description": "The preview of the message", - "type": "string", - "x-ms-summary": "Body Preview", - "x-ms-visibility": "advanced" - }, - "HasAttachment": { - "description": "Indicates whether the message has attachments", - "type": "boolean", - "x-ms-summary": "Has Attachment" - }, - "Id": { - "description": "The unique identifier of the message", - "type": "string", - "x-ms-summary": "Message Id", - "x-ms-visibility": "advanced" - }, - "InternetMessageId": { - "description": "The message ID in the format specified by RFC2822", - "type": "string", - "x-ms-summary": "Internet Message Id", - "x-ms-visibility": "advanced" - }, - "ConversationId": { - "description": "The Id of the conversation the email belongs to", - "type": "string", - "x-ms-summary": "Conversation Id", - "x-ms-visibility": "advanced" - }, - "DateTimeReceived": { - "format": "date-time", - "description": "The date and time the message was received", - "type": "string", - "x-ms-summary": "Received Time", - "x-ms-visibility": "advanced" - }, - "IsRead": { - "description": "Indicates whether the message has been read", - "type": "boolean", - "x-ms-summary": "Is Read", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "The file attachments for the message", - "type": "array", - "items": { - "$ref": "#/definitions/ClientReceiveFileAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Is Html?", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - } - } - }, - "ReplyMessage": { - "description": "Properties of an email reply message.", - "type": "object", - "properties": { - "To": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-visibility": "advanced" - }, - "Cc": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced" - }, - "Bcc": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "Email subject (if empty, the original subject used).", - "type": "string", - "x-ms-summary": "Subject", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Content of the email.", - "type": "string", - "x-ms-summary": "Body" - }, - "ReplyAll": { - "description": "True to reply to all recipients. (default: False)", - "type": "boolean", - "x-ms-summary": "Reply All" - }, - "IsHtml": { - "description": "True to send the reply as HTML. (default: True)", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "Pick an importance. (default: Low)", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "Details of attachments to be sent along with the reply.", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments" - } - } - }, - "ReplyHtmlMessage": { - "description": "Properties of an HTML email reply message.", - "type": "object", - "properties": { - "To": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-visibility": "advanced" - }, - "Cc": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "CC", - "x-ms-visibility": "advanced" - }, - "Bcc": { - "format": "email", - "description": "Example: recipient1@domain.com; recipient2@domain.com", - "type": "string", - "x-ms-summary": "BCC", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "Email subject (if empty, the original subject used).", - "type": "string", - "x-ms-summary": "Subject", - "x-ms-visibility": "advanced" - }, - "Body": { - "format": "html", - "description": "Content of the email.", - "type": "string", - "x-ms-summary": "Body" - }, - "ReplyAll": { - "description": "True to reply to all recipients. (default: False)", - "type": "boolean", - "x-ms-summary": "Reply All" - }, - "Importance": { - "description": "Pick an importance. (default: Low)", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "Details of attachments to be sent along with the reply.", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments" - } - } - }, - "TriggerBatchResponse[ClientReceiveMessage]": { - "description": "Represents a wrapper object for batch trigger response", - "type": "object", - "properties": { - "value": { - "description": "A list of the response objects", - "type": "array", - "items": { - "$ref": "#/definitions/ClientReceiveMessage" - } - } - } - }, - "DataSetsMetadata": { - "description": "Dataset metadata", - "type": "object", - "properties": { - "tabular": { - "$ref": "#/definitions/TabularDataSetsMetadata" - }, - "blob": { - "$ref": "#/definitions/BlobDataSetsMetadata" - } - } - }, - "TabularDataSetsMetadata": { - "description": "Tabular dataset metadata", - "type": "object", - "properties": { - "source": { - "description": "Dataset source", - "type": "string" - }, - "displayName": { - "description": "Dataset display name", - "type": "string" - }, - "urlEncoding": { - "description": "Dataset url encoding", - "type": "string" - }, - "tableDisplayName": { - "description": "Table display name", - "type": "string" - }, - "tablePluralName": { - "description": "Table plural display name", - "type": "string" - } - } - }, - "BlobDataSetsMetadata": { - "description": "Blob dataset metadata", - "type": "object", - "properties": { - "source": { - "description": "Blob dataset source", - "type": "string" - }, - "displayName": { - "description": "Blob dataset display name", - "type": "string" - }, - "urlEncoding": { - "description": "Blob dataset url encoding", - "type": "string" - } - } - }, - "OptionsEmailSubscription": { - "description": "Model for Options Email Subscription", - "required": [ - "Message", - "NotificationUrl" - ], - "type": "object", - "properties": { - "NotificationUrl": { - "description": "Gets or sets callback url to flow engine. It is expected as part of request", - "type": "string", - "x-ms-visibility": "internal", - "x-ms-notification-url": true - }, - "Message": { - "$ref": "#/definitions/MessageWithOptions" - } - } - }, - "MessageWithOptions": { - "description": "User Options Email Message. This is the message expected as part of user input", - "required": [ - "To" - ], - "type": "object", - "properties": { - "To": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Subject": { - "description": "Subject of the email", - "default": "Your input is required", - "type": "string", - "x-ms-summary": "Subject" - }, - "Options": { - "description": "List of comma separated options for the email response", - "default": "Choice1, Choice2, Choice3", - "type": "string", - "x-ms-summary": "User Options" - }, - "HeaderText": { - "description": "Header text for email body", - "type": "string", - "x-ms-summary": "Header Text", - "x-ms-visibility": "advanced" - }, - "SelectionText": { - "description": "Header text for users options selection", - "type": "string", - "x-ms-summary": "Selection Text", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body of the email", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "Importance", - "default": "Normal", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "Attachments", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "UseOnlyHTMLMessage": { - "description": "Use only HTML message", - "type": "boolean", - "x-ms-summary": "Use only HTML message", - "x-ms-visibility": "advanced" - }, - "HideHTMLMessage": { - "description": "If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value.", - "default": false, - "type": "boolean", - "x-ms-summary": "Hide HTML message", - "x-ms-visibility": "advanced" - }, - "ShowHTMLConfirmationDialog": { - "description": "If set to Yes then a dialog wil be shown to confirm selected option of HTML message", - "default": false, - "type": "boolean", - "x-ms-summary": "Show HTML confirmation dialog", - "x-ms-visibility": "advanced" - } - } - }, - "ApprovalEmailResponse": { - "description": "Approval Email Response", - "type": "object", - "properties": { - "SelectedOption": { - "description": "User response", - "type": "string" - } - } - }, - "ApprovalEmailSubscription": { - "description": "Model for Approval Email Subscription", - "required": [ - "Message", - "NotificationUrl" - ], - "type": "object", - "properties": { - "NotificationUrl": { - "description": "Gets or sets callback url to flow engine. It is expected as part of request", - "type": "string", - "x-ms-visibility": "internal", - "x-ms-notification-url": true - }, - "Message": { - "$ref": "#/definitions/ApprovalMessage" - } - } - }, - "ApprovalMessage": { - "description": "Approval Email Message. This is the message expected as part of user input", - "required": [ - "To" - ], - "type": "object", - "properties": { - "To": { - "format": "email", - "description": "Specify email addresses separated by semicolons like someone@contoso.com", - "type": "string", - "x-ms-summary": "To", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "Subject": { - "description": "Subject", - "default": "Approval Request", - "type": "string", - "x-ms-summary": "Subject", - "x-ms-localizeDefaultValue": true - }, - "Options": { - "description": "User Options", - "default": "Approve, Reject", - "type": "string", - "x-ms-summary": "User Options", - "x-ms-localizeDefaultValue": true - }, - "HeaderText": { - "description": "Header text for email body", - "type": "string", - "x-ms-summary": "Header Text", - "x-ms-visibility": "advanced" - }, - "SelectionText": { - "description": "Header text for users options selection", - "type": "string", - "x-ms-summary": "Selection Text", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "Importance", - "default": "Normal", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Attachments": { - "description": "Attachments", - "type": "array", - "items": { - "$ref": "#/definitions/ClientSendAttachment" - }, - "x-ms-summary": "Attachments", - "x-ms-visibility": "advanced" - }, - "UseOnlyHTMLMessage": { - "description": "Use only HTML message", - "type": "boolean", - "x-ms-summary": "Use only HTML message", - "x-ms-visibility": "advanced" - }, - "HideHTMLMessage": { - "description": "If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value.", - "default": false, - "type": "boolean", - "x-ms-summary": "Hide HTML message", - "x-ms-visibility": "advanced" - }, - "ShowHTMLConfirmationDialog": { - "description": "If set to Yes then a dialog wil be shown to confirm selected option of HTML message", - "default": false, - "type": "boolean", - "x-ms-summary": "Show HTML confirmation dialog", - "x-ms-visibility": "advanced" - } - } - }, - "SubscriptionPayload[OutlookReceiveMessage]": { - "description": "Payload from backend containing subscription metadata as well as data", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/SubscriptionPayloadEntity[OutlookReceiveMessage]" - } - } - } - }, - "SubscriptionPayloadEntity[OutlookReceiveMessage]": { - "description": "Subscription payload entity", - "type": "object", - "properties": { - "SequenceNumber": { - "format": "int32", - "description": "Sequence number", - "type": "integer" - }, - "ChangeType": { - "description": "Change type", - "type": "string" - }, - "ClientState": { - "description": "Client state", - "type": "string" - }, - "Resource": { - "description": "Resource", - "type": "string" - }, - "ResourceData": { - "$ref": "#/definitions/OutlookReceiveMessage" - } - } - }, - "OutlookReceiveMessage": { - "description": "Received message from outlook rest api", - "type": "object", - "properties": { - "InternetMessageId": { - "description": "Internet Message Id", - "type": "string" - }, - "BodyPreview": { - "description": "Body preview", - "type": "string" - }, - "Id": { - "description": "Id", - "type": "string" - }, - "ConversationId": { - "description": "Conversation Id", - "type": "string" - }, - "HasAttachments": { - "description": "Has attachments", - "type": "boolean" - }, - "IsRead": { - "description": "Is read", - "type": "boolean" - }, - "CreatedDateTime": { - "format": "date-time", - "description": "Created date and time", - "type": "string" - }, - "ReceivedDateTime": { - "format": "date-time", - "description": "Received date and time", - "type": "string" - }, - "LastModifiedDateTime": { - "format": "date-time", - "description": "Last modified date and time", - "type": "string" - }, - "Attachments": { - "description": "Attachments", - "type": "array", - "items": { - "$ref": "#/definitions/OutlookReceiveAttachment" - } - }, - "ToRecipients": { - "description": "To Recipient", - "type": "array", - "items": { - "$ref": "#/definitions/Recipient" - } - }, - "CcRecipients": { - "description": "Cc Recipients", - "type": "array", - "items": { - "$ref": "#/definitions/Recipient" - } - }, - "BccRecipients": { - "description": "Bcc Recipients", - "type": "array", - "items": { - "$ref": "#/definitions/Recipient" - } - }, - "ReplyTo": { - "description": "The email addresses to use when replying", - "type": "array", - "items": { - "$ref": "#/definitions/Recipient" - } - }, - "Subject": { - "description": "Subject", - "type": "string" - }, - "Body": { - "$ref": "#/definitions/ItemBody" - }, - "From": { - "$ref": "#/definitions/Recipient" - }, - "Importance": { - "description": "Importance", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string" - }, - "InternetMessageHeaders": { - "description": "Internet message headers", - "type": "array", - "items": { - "$ref": "#/definitions/InternetMessageHeader" - } - } - } - }, - "OutlookReceiveAttachment": { - "description": "Attachment", - "type": "object", - "properties": { - "@odata.type": { - "description": "OData type", - "type": "string" - }, - "Id": { - "description": "Attachment Id", - "type": "string" - }, - "Name": { - "description": "Attachment name", - "type": "string" - }, - "ContentBytes": { - "description": "Attachment content", - "type": "string" - }, - "ContentType": { - "description": "Attachment content type", - "type": "string" - }, - "Size": { - "format": "int64", - "description": "Attachment size in bytes", - "type": "integer" - }, - "Permission": { - "description": "Permission associated with a reference attachment", - "type": "string" - }, - "ProviderType": { - "description": "Provider for the reference attachment", - "type": "string" - }, - "SourceUrl": { - "description": "Reference attachment source url", - "type": "string" - }, - "IsInline": { - "description": "Set to true if this is an inline attachment", - "type": "boolean" - }, - "LastModifiedDateTime": { - "format": "date-time", - "description": "The date and time when the attachment was last modified", - "type": "string" - }, - "ContentId": { - "description": "Content Id", - "type": "string" - } - } - }, - "InternetMessageHeader": { - "description": "Class representing a data structure for an Internet message header which is considered as SMTP header by Exchange", - "type": "object", - "properties": { - "Name": { - "description": "Header name", - "type": "string" - }, - "Value": { - "description": "Header value", - "type": "string" - } - } - }, - "SubscriptionPayload[SubscriptionEvent]": { - "description": "Payload from backend containing subscription metadata as well as data", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/SubscriptionPayloadEntity[SubscriptionEvent]" - } - } - } - }, - "SubscriptionPayloadEntity[SubscriptionEvent]": { - "description": "Subscription payload entity", - "type": "object", - "properties": { - "SequenceNumber": { - "format": "int32", - "description": "Sequence number", - "type": "integer" - }, - "ChangeType": { - "description": "Change type", - "type": "string" - }, - "ClientState": { - "description": "Client state", - "type": "string" - }, - "Resource": { - "description": "Resource", - "type": "string" - }, - "ResourceData": { - "$ref": "#/definitions/SubscriptionEvent" - } - } - }, - "SubscriptionEvent": { - "description": "Subscription event", - "type": "object", - "properties": { - "Id": { - "description": "The Event's unique identifier", - "type": "string" - } - } - }, - "EntityListResponse[Table]": { - "description": "Entity list response", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/Table" - } - } - } - }, - "Table": { - "description": "Represents a table.", - "type": "object", - "properties": { - "Name": { - "description": "The name of the table. The name is used at runtime.", - "type": "string" - }, - "DisplayName": { - "description": "The display name of the table.", - "type": "string" - }, - "DynamicProperties": { - "description": "Additional table properties provided by the connector to the clients.", - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/Object" - }, - "readOnly": true - } - } - }, - "EntityListResponse[CalendarEventBackend]": { - "description": "Entity list response", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventBackend" - } - } - } - }, - "EntityListResponse[CalendarEventClientReceiveStringEnums]": { - "description": "Entity list response", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventClientReceiveStringEnums" - } - } - } - }, - "CalendarEventClient": { - "description": "Connector specific calendar event model class for the client", - "required": [ - "Subject", - "Start", - "End" - ], - "type": "object", - "properties": { - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Start": { - "format": "date-time", - "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", - "type": "string", - "x-ms-summary": "Start time" - }, - "End": { - "format": "date-time", - "description": "End time of the event (example: '2016-11-01T15:30:00Z')", - "type": "string", - "x-ms-summary": "End time" - }, - "TimeZone": { - "description": "Time zone of the event", - "enum": [ - "", - "(UTC-12:00) International Date Line West", - "(UTC-11:00) Coordinated Universal Time-11", - "(UTC-10:00) Aleutian Islands", - "(UTC-10:00) Hawaii", - "(UTC-09:30) Marquesas Islands", - "(UTC-09:00) Alaska", - "(UTC-09:00) Coordinated Universal Time-09", - "(UTC-08:00) Baja California", - "(UTC-08:00) Coordinated Universal Time-08", - "(UTC-08:00) Pacific Time (US & Canada)", - "(UTC-07:00) Arizona", - "(UTC-07:00) Chihuahua, La Paz, Mazatlan", - "(UTC-07:00) Mountain Time (US & Canada)", - "(UTC-06:00) Central America", - "(UTC-06:00) Central Time (US & Canada)", - "(UTC-06:00) Easter Island", - "(UTC-06:00) Guadalajara, Mexico City, Monterrey", - "(UTC-06:00) Saskatchewan", - "(UTC-05:00) Bogota, Lima, Quito, Rio Branco", - "(UTC-05:00) Chetumal", - "(UTC-05:00) Eastern Time (US & Canada)", - "(UTC-05:00) Haiti", - "(UTC-05:00) Havana", - "(UTC-05:00) Indiana (East)", - "(UTC-04:00) Asuncion", - "(UTC-04:00) Atlantic Time (Canada)", - "(UTC-04:00) Caracas", - "(UTC-04:00) Cuiaba", - "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan", - "(UTC-04:00) Santiago", - "(UTC-04:00) Turks and Caicos", - "(UTC-03:30) Newfoundland", - "(UTC-03:00) Araguaina", - "(UTC-03:00) Brasilia", - "(UTC-03:00) Cayenne, Fortaleza", - "(UTC-03:00) City of Buenos Aires", - "(UTC-03:00) Greenland", - "(UTC-03:00) Montevideo", - "(UTC-03:00) Punta Arenas", - "(UTC-03:00) Saint Pierre and Miquelon", - "(UTC-03:00) Salvador", - "(UTC-02:00) Coordinated Universal Time-02", - "(UTC-02:00) Mid-Atlantic - Old", - "(UTC-01:00) Azores", - "(UTC-01:00) Cabo Verde Is.", - "(UTC) Coordinated Universal Time", - "(UTC+00:00) Casablanca", - "(UTC+00:00) Dublin, Edinburgh, Lisbon, London", - "(UTC+00:00) Monrovia, Reykjavik", - "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna", - "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague", - "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris", - "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb", - "(UTC+01:00) West Central Africa", - "(UTC+01:00) Windhoek", - "(UTC+02:00) Amman", - "(UTC+02:00) Athens, Bucharest", - "(UTC+02:00) Beirut", - "(UTC+02:00) Cairo", - "(UTC+02:00) Chisinau", - "(UTC+02:00) Damascus", - "(UTC+02:00) Gaza, Hebron", - "(UTC+02:00) Harare, Pretoria", - "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius", - "(UTC+02:00) Jerusalem", - "(UTC+02:00) Kaliningrad", - "(UTC+02:00) Tripoli", - "(UTC+03:00) Baghdad", - "(UTC+03:00) Istanbul", - "(UTC+03:00) Kuwait, Riyadh", - "(UTC+03:00) Minsk", - "(UTC+03:00) Moscow, St. Petersburg", - "(UTC+03:00) Nairobi", - "(UTC+03:30) Tehran", - "(UTC+04:00) Abu Dhabi, Muscat", - "(UTC+04:00) Astrakhan, Ulyanovsk", - "(UTC+04:00) Baku", - "(UTC+04:00) Izhevsk, Samara", - "(UTC+04:00) Port Louis", - "(UTC+04:00) Saratov", - "(UTC+04:00) Tbilisi", - "(UTC+04:00) Volgograd", - "(UTC+04:00) Yerevan", - "(UTC+04:30) Kabul", - "(UTC+05:00) Ashgabat, Tashkent", - "(UTC+05:00) Ekaterinburg", - "(UTC+05:00) Islamabad, Karachi", - "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", - "(UTC+05:30) Sri Jayawardenepura", - "(UTC+05:45) Kathmandu", - "(UTC+06:00) Astana", - "(UTC+06:00) Dhaka", - "(UTC+06:00) Omsk", - "(UTC+06:30) Yangon (Rangoon)", - "(UTC+07:00) Bangkok, Hanoi, Jakarta", - "(UTC+07:00) Barnaul, Gorno-Altaysk", - "(UTC+07:00) Hovd", - "(UTC+07:00) Krasnoyarsk", - "(UTC+07:00) Novosibirsk", - "(UTC+07:00) Tomsk", - "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi", - "(UTC+08:00) Irkutsk", - "(UTC+08:00) Kuala Lumpur, Singapore", - "(UTC+08:00) Perth", - "(UTC+08:00) Taipei", - "(UTC+08:00) Ulaanbaatar", - "(UTC+08:30) Pyongyang", - "(UTC+08:45) Eucla", - "(UTC+09:00) Chita", - "(UTC+09:00) Osaka, Sapporo, Tokyo", - "(UTC+09:00) Seoul", - "(UTC+09:00) Yakutsk", - "(UTC+09:30) Adelaide", - "(UTC+09:30) Darwin", - "(UTC+10:00) Brisbane", - "(UTC+10:00) Canberra, Melbourne, Sydney", - "(UTC+10:00) Guam, Port Moresby", - "(UTC+10:00) Hobart", - "(UTC+10:00) Vladivostok", - "(UTC+10:30) Lord Howe Island", - "(UTC+11:00) Bougainville Island", - "(UTC+11:00) Chokurdakh", - "(UTC+11:00) Magadan", - "(UTC+11:00) Norfolk Island", - "(UTC+11:00) Sakhalin", - "(UTC+11:00) Solomon Is., New Caledonia", - "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky", - "(UTC+12:00) Auckland, Wellington", - "(UTC+12:00) Coordinated Universal Time+12", - "(UTC+12:00) Fiji", - "(UTC+12:00) Petropavlovsk-Kamchatsky - Old", - "(UTC+12:45) Chatham Islands", - "(UTC+13:00) Coordinated Universal Time+13", - "(UTC+13:00) Nuku'alofa", - "(UTC+13:00) Samoa", - "(UTC+14:00) Kiritimati Island" - ], - "type": "string", - "x-ms-summary": "Time zone", - "x-ms-visibility": "advanced" - }, - "RequiredAttendees": { - "format": "email", - "description": "Required attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Required attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "OptionalAttendees": { - "format": "email", - "description": "Optional attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Optional attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "ResourceAttendees": { - "description": "Resource attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Resource attendees", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body of the message associated with the event", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Set to true if the body is Html", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - }, - "Location": { - "description": "Location of the event", - "type": "string", - "x-ms-summary": "Location", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "The importance of the event: Low, Normal, or High", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "Recurrence": { - "description": "The recurrence pattern for the event", - "enum": [ - "None", - "Daily", - "Weekly", - "Monthly", - "Yearly" - ], - "type": "string", - "x-ms-summary": "Recurrence", - "x-ms-visibility": "advanced" - }, - "RecurrenceEnd": { - "format": "date-time", - "description": "End time of the recurrence", - "type": "string", - "x-ms-summary": "Recurrence end time", - "x-ms-visibility": "advanced" - }, - "NumberOfOccurrences": { - "format": "int32", - "description": "How many times to repeat the event", - "type": "integer", - "x-ms-summary": "Number of occurrences", - "x-ms-visibility": "advanced" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ShowAs": { - "description": "Status to show during the event", - "enum": [ - "Free", - "Tentative", - "Busy", - "Oof", - "WorkingElsewhere", - "Unknown" - ], - "type": "string", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - } - } - }, - "CalendarEventHtmlClient": { - "description": "Connector specific calendar event model class for the html client", - "required": [ - "Subject", - "Start", - "End" - ], - "type": "object", - "properties": { - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Start": { - "format": "date-time", - "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", - "type": "string", - "x-ms-summary": "Start time" - }, - "End": { - "format": "date-time", - "description": "End time of the event (example: '2016-11-01T15:30:00Z')", - "type": "string", - "x-ms-summary": "End time" - }, - "TimeZone": { - "description": "Time zone of the event", - "enum": [ - "", - "(UTC-12:00) International Date Line West", - "(UTC-11:00) Coordinated Universal Time-11", - "(UTC-10:00) Aleutian Islands", - "(UTC-10:00) Hawaii", - "(UTC-09:30) Marquesas Islands", - "(UTC-09:00) Alaska", - "(UTC-09:00) Coordinated Universal Time-09", - "(UTC-08:00) Baja California", - "(UTC-08:00) Coordinated Universal Time-08", - "(UTC-08:00) Pacific Time (US & Canada)", - "(UTC-07:00) Arizona", - "(UTC-07:00) Chihuahua, La Paz, Mazatlan", - "(UTC-07:00) Mountain Time (US & Canada)", - "(UTC-06:00) Central America", - "(UTC-06:00) Central Time (US & Canada)", - "(UTC-06:00) Easter Island", - "(UTC-06:00) Guadalajara, Mexico City, Monterrey", - "(UTC-06:00) Saskatchewan", - "(UTC-05:00) Bogota, Lima, Quito, Rio Branco", - "(UTC-05:00) Chetumal", - "(UTC-05:00) Eastern Time (US & Canada)", - "(UTC-05:00) Haiti", - "(UTC-05:00) Havana", - "(UTC-05:00) Indiana (East)", - "(UTC-04:00) Asuncion", - "(UTC-04:00) Atlantic Time (Canada)", - "(UTC-04:00) Caracas", - "(UTC-04:00) Cuiaba", - "(UTC-04:00) Georgetown, La Paz, Manaus, San Juan", - "(UTC-04:00) Santiago", - "(UTC-04:00) Turks and Caicos", - "(UTC-03:30) Newfoundland", - "(UTC-03:00) Araguaina", - "(UTC-03:00) Brasilia", - "(UTC-03:00) Cayenne, Fortaleza", - "(UTC-03:00) City of Buenos Aires", - "(UTC-03:00) Greenland", - "(UTC-03:00) Montevideo", - "(UTC-03:00) Punta Arenas", - "(UTC-03:00) Saint Pierre and Miquelon", - "(UTC-03:00) Salvador", - "(UTC-02:00) Coordinated Universal Time-02", - "(UTC-02:00) Mid-Atlantic - Old", - "(UTC-01:00) Azores", - "(UTC-01:00) Cabo Verde Is.", - "(UTC) Coordinated Universal Time", - "(UTC+00:00) Casablanca", - "(UTC+00:00) Dublin, Edinburgh, Lisbon, London", - "(UTC+00:00) Monrovia, Reykjavik", - "(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna", - "(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague", - "(UTC+01:00) Brussels, Copenhagen, Madrid, Paris", - "(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb", - "(UTC+01:00) West Central Africa", - "(UTC+01:00) Windhoek", - "(UTC+02:00) Amman", - "(UTC+02:00) Athens, Bucharest", - "(UTC+02:00) Beirut", - "(UTC+02:00) Cairo", - "(UTC+02:00) Chisinau", - "(UTC+02:00) Damascus", - "(UTC+02:00) Gaza, Hebron", - "(UTC+02:00) Harare, Pretoria", - "(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius", - "(UTC+02:00) Jerusalem", - "(UTC+02:00) Kaliningrad", - "(UTC+02:00) Tripoli", - "(UTC+03:00) Baghdad", - "(UTC+03:00) Istanbul", - "(UTC+03:00) Kuwait, Riyadh", - "(UTC+03:00) Minsk", - "(UTC+03:00) Moscow, St. Petersburg", - "(UTC+03:00) Nairobi", - "(UTC+03:30) Tehran", - "(UTC+04:00) Abu Dhabi, Muscat", - "(UTC+04:00) Astrakhan, Ulyanovsk", - "(UTC+04:00) Baku", - "(UTC+04:00) Izhevsk, Samara", - "(UTC+04:00) Port Louis", - "(UTC+04:00) Saratov", - "(UTC+04:00) Tbilisi", - "(UTC+04:00) Volgograd", - "(UTC+04:00) Yerevan", - "(UTC+04:30) Kabul", - "(UTC+05:00) Ashgabat, Tashkent", - "(UTC+05:00) Ekaterinburg", - "(UTC+05:00) Islamabad, Karachi", - "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi", - "(UTC+05:30) Sri Jayawardenepura", - "(UTC+05:45) Kathmandu", - "(UTC+06:00) Astana", - "(UTC+06:00) Dhaka", - "(UTC+06:00) Omsk", - "(UTC+06:30) Yangon (Rangoon)", - "(UTC+07:00) Bangkok, Hanoi, Jakarta", - "(UTC+07:00) Barnaul, Gorno-Altaysk", - "(UTC+07:00) Hovd", - "(UTC+07:00) Krasnoyarsk", - "(UTC+07:00) Novosibirsk", - "(UTC+07:00) Tomsk", - "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi", - "(UTC+08:00) Irkutsk", - "(UTC+08:00) Kuala Lumpur, Singapore", - "(UTC+08:00) Perth", - "(UTC+08:00) Taipei", - "(UTC+08:00) Ulaanbaatar", - "(UTC+08:30) Pyongyang", - "(UTC+08:45) Eucla", - "(UTC+09:00) Chita", - "(UTC+09:00) Osaka, Sapporo, Tokyo", - "(UTC+09:00) Seoul", - "(UTC+09:00) Yakutsk", - "(UTC+09:30) Adelaide", - "(UTC+09:30) Darwin", - "(UTC+10:00) Brisbane", - "(UTC+10:00) Canberra, Melbourne, Sydney", - "(UTC+10:00) Guam, Port Moresby", - "(UTC+10:00) Hobart", - "(UTC+10:00) Vladivostok", - "(UTC+10:30) Lord Howe Island", - "(UTC+11:00) Bougainville Island", - "(UTC+11:00) Chokurdakh", - "(UTC+11:00) Magadan", - "(UTC+11:00) Norfolk Island", - "(UTC+11:00) Sakhalin", - "(UTC+11:00) Solomon Is., New Caledonia", - "(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky", - "(UTC+12:00) Auckland, Wellington", - "(UTC+12:00) Coordinated Universal Time+12", - "(UTC+12:00) Fiji", - "(UTC+12:00) Petropavlovsk-Kamchatsky - Old", - "(UTC+12:45) Chatham Islands", - "(UTC+13:00) Coordinated Universal Time+13", - "(UTC+13:00) Nuku'alofa", - "(UTC+13:00) Samoa", - "(UTC+14:00) Kiritimati Island" - ], - "type": "string", - "x-ms-summary": "Time zone", - "x-ms-visibility": "advanced" - }, - "RequiredAttendees": { - "format": "email", - "description": "Required attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Required attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "OptionalAttendees": { - "format": "email", - "description": "Optional attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Optional attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "ResourceAttendees": { - "description": "Resource attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Resource attendees", - "x-ms-visibility": "advanced" - }, - "Body": { - "format": "html", - "description": "Body of the message associated with the event", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "Location": { - "description": "Location of the event", - "type": "string", - "x-ms-summary": "Location", - "x-ms-visibility": "advanced" - }, - "Importance": { - "description": "The importance of the event: Low, Normal, or High", - "enum": [ - "Low", - "Normal", - "High" - ], - "type": "string", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "Recurrence": { - "description": "The recurrence pattern for the event", - "enum": [ - "None", - "Daily", - "Weekly", - "Monthly", - "Yearly" - ], - "type": "string", - "x-ms-summary": "Recurrence", - "x-ms-visibility": "advanced" - }, - "RecurrenceEnd": { - "format": "date-time", - "description": "End time of the recurrence", - "type": "string", - "x-ms-summary": "Recurrence end time", - "x-ms-visibility": "advanced" - }, - "NumberOfOccurrences": { - "format": "int32", - "description": "How many times to repeat the event", - "type": "integer", - "x-ms-summary": "Number of occurrences", - "x-ms-visibility": "advanced" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ShowAs": { - "description": "Status to show during the event", - "enum": [ - "Free", - "Tentative", - "Busy", - "Oof", - "WorkingElsewhere", - "Unknown" - ], - "type": "string", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - } - } - }, - "CalendarEventListWithActionType": { - "description": "The list of calendar items with action type", - "type": "object", - "properties": { - "value": { - "description": "List of calendar items", - "type": "array", - "items": { - "$ref": "#/definitions/CalendarEventClientWithActionType" - } - } - } - }, - "CalendarEventClientWithActionType": { - "description": "Calendar event model with action type", - "type": "object", - "properties": { - "ActionType": { - "description": "Changed action type of the event - added, updated or deleted.", - "enum": [ - "added", - "updated", - "deleted" - ], - "type": "string", - "x-ms-summary": "Action Type", - "x-ms-visibility": "advanced" - }, - "IsAdded": { - "description": "Flag that indicates whether the event was added since the last poll of the trigger.", - "type": "boolean", - "x-ms-summary": "Is Added", - "x-ms-visibility": "advanced" - }, - "IsUpdated": { - "description": "Flag that indicates whether the event was updated since the last poll of the trigger.", - "type": "boolean", - "x-ms-summary": "Is Updated", - "x-ms-visibility": "advanced" - }, - "Subject": { - "description": "Event subject", - "type": "string", - "x-ms-summary": "Subject" - }, - "Start": { - "format": "date-time", - "description": "Start time of the event (example: '2016-11-01T14:30:00Z')", - "type": "string", - "x-ms-summary": "Start time" - }, - "End": { - "format": "date-time", - "description": "End time of the event (example: '2016-11-01T15:30:00Z')", - "type": "string", - "x-ms-summary": "End time" - }, - "ShowAs": { - "format": "int32", - "description": "Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4)", - "type": "integer", - "x-ms-summary": "Show as", - "x-ms-visibility": "advanced" - }, - "Recurrence": { - "format": "int32", - "description": "The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4)", - "type": "integer", - "x-ms-summary": "Recurrence", - "x-ms-visibility": "advanced" - }, - "ResponseType": { - "format": "int32", - "description": "The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5)", - "type": "integer", - "x-ms-summary": "Response type", - "x-ms-visibility": "advanced" - }, - "ResponseTime": { - "format": "date-time", - "description": "The response time of the event", - "type": "string", - "x-ms-summary": "Response time", - "x-ms-visibility": "advanced" - }, - "ICalUId": { - "description": "A unique identifier that is shared by all instances of an event across different calendars", - "type": "string", - "x-ms-summary": "Event Unique ID", - "x-ms-visibility": "advanced" - }, - "Importance": { - "format": "int32", - "description": "The importance of the event (0 - Low, 1 - Normal, 2 - High)", - "type": "integer", - "x-ms-summary": "Importance", - "x-ms-visibility": "advanced" - }, - "Id": { - "description": "The event's unique identifier", - "type": "string", - "x-ms-summary": "Id", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The date and time that the event was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The date and time that the event was last modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - }, - "Organizer": { - "format": "email", - "description": "The organizer of the event", - "type": "string", - "x-ms-summary": "Organizer", - "x-ms-visibility": "advanced" - }, - "TimeZone": { - "description": "Time zone of the event", - "type": "string", - "x-ms-summary": "Time zone", - "x-ms-visibility": "advanced" - }, - "SeriesMasterId": { - "description": "Unique identifier for Series Master event type", - "type": "string", - "x-ms-summary": "Series master id", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the event", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "WebLink": { - "format": "uri", - "description": "The URL to open the event in Outlook Web App", - "type": "string", - "x-ms-summary": "Web link", - "x-ms-visibility": "advanced" - }, - "RequiredAttendees": { - "format": "email", - "description": "Required attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Required attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "OptionalAttendees": { - "format": "email", - "description": "Optional attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Optional attendees", - "x-ms-visibility": "advanced", - "x-ms-dynamic-values": { - "builtInOperation": "AadGraph.GetUsers", - "parameters": {}, - "value-path": "mail" - } - }, - "ResourceAttendees": { - "description": "Resource attendees for the event separated by semicolons", - "type": "string", - "x-ms-summary": "Resource attendees", - "x-ms-visibility": "advanced" - }, - "Body": { - "description": "Body of the message associated with the event", - "type": "string", - "x-ms-summary": "Body", - "x-ms-visibility": "advanced" - }, - "IsHtml": { - "description": "Set to true if the body is Html", - "type": "boolean", - "x-ms-summary": "Is HTML", - "x-ms-visibility": "advanced" - }, - "Location": { - "description": "Location of the event", - "type": "string", - "x-ms-summary": "Location", - "x-ms-visibility": "advanced" - }, - "IsAllDay": { - "description": "Set to true if the event lasts all day", - "type": "boolean", - "x-ms-summary": "Is all day event?", - "x-ms-visibility": "advanced" - }, - "RecurrenceEnd": { - "format": "date-time", - "description": "End time of the recurrence", - "type": "string", - "x-ms-summary": "Recurrence end time", - "x-ms-visibility": "advanced" - }, - "NumberOfOccurrences": { - "format": "int32", - "description": "How many times to repeat the event", - "type": "integer", - "x-ms-summary": "Number of occurrences", - "x-ms-visibility": "advanced" - }, - "Reminder": { - "format": "int32", - "description": "Time in minutes before event start to remind", - "type": "integer", - "x-ms-summary": "Reminder", - "x-ms-visibility": "advanced" - }, - "ResponseRequested": { - "description": "Set to true if the sender would like a response when the event is accepted or declined", - "type": "boolean", - "x-ms-summary": "Response requested", - "x-ms-visibility": "advanced" - } - } - }, - "EntityListResponse[ContactResponse]": { - "description": "Entity list response", - "type": "object", - "properties": { - "value": { - "description": "List of values", - "type": "array", - "items": { - "$ref": "#/definitions/ContactResponse" - } - } - } - }, - "ContactResponse": { - "description": "Contact response", - "type": "object", - "properties": { - "GivenName": { - "description": "The contact's given name", - "type": "string", - "x-ms-summary": "Given name" - }, - "HomePhones": { - "description": "The contact's home phone numbers", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Home phones" - }, - "Id": { - "description": "The contact's unique identifier.", - "type": "string", - "x-ms-summary": "Id" - }, - "ParentFolderId": { - "description": "The ID of the contact's parent folder", - "type": "string", - "x-ms-summary": "Parent folder id", - "x-ms-visibility": "advanced" - }, - "Birthday": { - "format": "date-time", - "description": "The contact's birthday", - "type": "string", - "x-ms-summary": "Birthday", - "x-ms-visibility": "advanced" - }, - "FileAs": { - "description": "The name the contact is filed under", - "type": "string", - "x-ms-summary": "File as", - "x-ms-visibility": "advanced" - }, - "DisplayName": { - "description": "The contact's display name", - "type": "string", - "x-ms-summary": "Display Name" - }, - "Initials": { - "description": "The contact's initials", - "type": "string", - "x-ms-summary": "Initials", - "x-ms-visibility": "advanced" - }, - "MiddleName": { - "description": "The contact's middle name", - "type": "string", - "x-ms-summary": "Middle name", - "x-ms-visibility": "advanced" - }, - "NickName": { - "description": "The contact's nickname", - "type": "string", - "x-ms-summary": "Nickname", - "x-ms-visibility": "advanced" - }, - "Surname": { - "description": "The contact's surname", - "type": "string", - "x-ms-summary": "Surname", - "x-ms-visibility": "advanced" - }, - "Title": { - "description": "The contact's title", - "type": "string", - "x-ms-summary": "Title", - "x-ms-visibility": "advanced" - }, - "Generation": { - "description": "The contact's generation", - "type": "string", - "x-ms-summary": "Generation", - "x-ms-visibility": "advanced" - }, - "EmailAddresses": { - "description": "The contact's email addresses", - "type": "array", - "items": { - "$ref": "#/definitions/EmailAddress" - }, - "x-ms-summary": "Email addresses" - }, - "ImAddresses": { - "description": "The contact's instant messaging (IM) addresses", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "IM addresses", - "x-ms-visibility": "advanced" - }, - "JobTitle": { - "description": "The contact's job title", - "type": "string", - "x-ms-summary": "JobTitle", - "x-ms-visibility": "advanced" - }, - "CompanyName": { - "description": "The name of the contact's company", - "type": "string", - "x-ms-summary": "Company name" - }, - "Department": { - "description": "The contact's department", - "type": "string", - "x-ms-summary": "Department", - "x-ms-visibility": "advanced" - }, - "OfficeLocation": { - "description": "The location of the contact's office", - "type": "string", - "x-ms-summary": "Office location", - "x-ms-visibility": "advanced" - }, - "Profession": { - "description": "The contact's profession", - "type": "string", - "x-ms-summary": "Profession", - "x-ms-visibility": "advanced" - }, - "BusinessHomePage": { - "description": "The business home page of the contact", - "type": "string", - "x-ms-summary": "Business home page", - "x-ms-visibility": "advanced" - }, - "AssistantName": { - "description": "The name of the contact's assistant", - "type": "string", - "x-ms-summary": "Assistant name", - "x-ms-visibility": "advanced" - }, - "Manager": { - "description": "The name of the contact's manager", - "type": "string", - "x-ms-summary": "Manager", - "x-ms-visibility": "advanced" - }, - "BusinessPhones": { - "description": "The contact's business phone numbers", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Business phones" - }, - "MobilePhone1": { - "description": "The contact's mobile phone number", - "type": "string", - "x-ms-summary": "Mobile phone" - }, - "HomeAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "BusinessAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "OtherAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "YomiCompanyName": { - "description": "The phonetic Japanese company name of the contact", - "type": "string", - "x-ms-summary": "Yomi company name", - "x-ms-visibility": "advanced" - }, - "YomiGivenName": { - "description": "The phonetic Japanese given name (first name) of the contact", - "type": "string", - "x-ms-summary": "Yomi given name", - "x-ms-visibility": "advanced" - }, - "YomiSurname": { - "description": "The phonetic Japanese surname (last name) of the contact", - "type": "string", - "x-ms-summary": "Yomi surname", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the contact", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "ChangeKey": { - "description": "Identifies the version of the event object", - "type": "string", - "x-ms-summary": "Change key", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The time the contact was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The time the contact was modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - } - } - }, - "Contact": { - "description": "Contact", - "required": [ - "GivenName", - "HomePhones" - ], - "type": "object", - "properties": { - "Id": { - "description": "The contact's unique identifier.", - "type": "string", - "x-ms-summary": "Id" - }, - "ParentFolderId": { - "description": "The ID of the contact's parent folder", - "type": "string", - "x-ms-summary": "Parent folder id", - "x-ms-visibility": "advanced" - }, - "Birthday": { - "format": "date-time", - "description": "The contact's birthday", - "type": "string", - "x-ms-summary": "Birthday", - "x-ms-visibility": "advanced" - }, - "FileAs": { - "description": "The name the contact is filed under", - "type": "string", - "x-ms-summary": "File as", - "x-ms-visibility": "advanced" - }, - "DisplayName": { - "description": "The contact's display name", - "type": "string", - "x-ms-summary": "Display Name" - }, - "GivenName": { - "description": "The contact's given name", - "type": "string", - "x-ms-summary": "Given name" - }, - "Initials": { - "description": "The contact's initials", - "type": "string", - "x-ms-summary": "Initials", - "x-ms-visibility": "advanced" - }, - "MiddleName": { - "description": "The contact's middle name", - "type": "string", - "x-ms-summary": "Middle name", - "x-ms-visibility": "advanced" - }, - "NickName": { - "description": "The contact's nickname", - "type": "string", - "x-ms-summary": "Nickname", - "x-ms-visibility": "advanced" - }, - "Surname": { - "description": "The contact's surname", - "type": "string", - "x-ms-summary": "Surname", - "x-ms-visibility": "advanced" - }, - "Title": { - "description": "The contact's title", - "type": "string", - "x-ms-summary": "Title", - "x-ms-visibility": "advanced" - }, - "Generation": { - "description": "The contact's generation", - "type": "string", - "x-ms-summary": "Generation", - "x-ms-visibility": "advanced" - }, - "EmailAddresses": { - "description": "The contact's email addresses", - "type": "array", - "items": { - "$ref": "#/definitions/EmailAddress" - }, - "x-ms-summary": "Email addresses" - }, - "ImAddresses": { - "description": "The contact's instant messaging (IM) addresses", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "IM addresses", - "x-ms-visibility": "advanced" - }, - "JobTitle": { - "description": "The contact's job title", - "type": "string", - "x-ms-summary": "JobTitle", - "x-ms-visibility": "advanced" - }, - "CompanyName": { - "description": "The name of the contact's company", - "type": "string", - "x-ms-summary": "Company name" - }, - "Department": { - "description": "The contact's department", - "type": "string", - "x-ms-summary": "Department", - "x-ms-visibility": "advanced" - }, - "OfficeLocation": { - "description": "The location of the contact's office", - "type": "string", - "x-ms-summary": "Office location", - "x-ms-visibility": "advanced" - }, - "Profession": { - "description": "The contact's profession", - "type": "string", - "x-ms-summary": "Profession", - "x-ms-visibility": "advanced" - }, - "BusinessHomePage": { - "description": "The business home page of the contact", - "type": "string", - "x-ms-summary": "Business home page", - "x-ms-visibility": "advanced" - }, - "AssistantName": { - "description": "The name of the contact's assistant", - "type": "string", - "x-ms-summary": "Assistant name", - "x-ms-visibility": "advanced" - }, - "Manager": { - "description": "The name of the contact's manager", - "type": "string", - "x-ms-summary": "Manager", - "x-ms-visibility": "advanced" - }, - "HomePhones": { - "description": "The contact's home phone numbers", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Home phones" - }, - "BusinessPhones": { - "description": "The contact's business phone numbers", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Business phones" - }, - "MobilePhone1": { - "description": "The contact's mobile phone number", - "type": "string", - "x-ms-summary": "Mobile phone" - }, - "HomeAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "BusinessAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "OtherAddress": { - "$ref": "#/definitions/PhysicalAddress" - }, - "YomiCompanyName": { - "description": "The phonetic Japanese company name of the contact", - "type": "string", - "x-ms-summary": "Yomi company name", - "x-ms-visibility": "advanced" - }, - "YomiGivenName": { - "description": "The phonetic Japanese given name (first name) of the contact", - "type": "string", - "x-ms-summary": "Yomi given name", - "x-ms-visibility": "advanced" - }, - "YomiSurname": { - "description": "The phonetic Japanese surname (last name) of the contact", - "type": "string", - "x-ms-summary": "Yomi surname", - "x-ms-visibility": "advanced" - }, - "Categories": { - "description": "The categories associated with the contact", - "type": "array", - "items": { - "type": "string" - }, - "x-ms-summary": "Categories", - "x-ms-visibility": "advanced" - }, - "ChangeKey": { - "description": "Identifies the version of the event object", - "type": "string", - "x-ms-summary": "Change key", - "x-ms-visibility": "advanced" - }, - "DateTimeCreated": { - "format": "date-time", - "description": "The time the contact was created", - "type": "string", - "x-ms-summary": "Created time", - "x-ms-visibility": "advanced" - }, - "DateTimeLastModified": { - "format": "date-time", - "description": "The time the contact was modified", - "type": "string", - "x-ms-summary": "Last modified time", - "x-ms-visibility": "advanced" - } - } - }, - "DataSetsList": { - "description": "List of datasets", - "type": "object", - "properties": { - "value": { - "description": "List of datasets", - "type": "array", - "items": { - "$ref": "#/definitions/DataSet" - } - } - } - }, - "DataSet": { - "description": "Dataset", - "type": "object", - "properties": { - "Name": { - "description": "Dataset name", - "type": "string" - }, - "DisplayName": { - "description": "Dataset display name", - "type": "string" - }, - "query": { - "description": "Pass-through Native Queries", - "type": "array", - "items": { - "$ref": "#/definitions/PassThroughNativeQuery" - }, - "readOnly": true - } - } - }, - "Procedure": { - "description": "Procedure", - "type": "object", - "properties": { - "Name": { - "description": "Procedure name", - "type": "string" - }, - "DisplayName": { - "description": "Procedure display name", - "type": "string" - } - } - }, - "PassThroughNativeQuery": { - "description": "static schema for pass-through native query execution", - "type": "object", - "properties": { - "Language": { - "description": "Query language", - "type": "string" - } - } - }, - "ResponseToEventInvite": { - "description": "Response to an event invite", - "type": "object", - "properties": { - "Comment": { - "description": "Comment", - "type": "string", - "x-ms-summary": "Comment" - }, - "SendResponse": { - "description": "Send response to organizer?", - "default": true, - "type": "boolean", - "x-ms-summary": "Send response?" - } - } - }, - "DirectForwardMessage": { - "description": "Directly forward message", - "type": "object", - "required": [ - "ToRecipients" - ], - "properties": { - "Comment": { - "description": "Comment", - "type": "string", - "x-ms-summary": "Comment" - }, - "ToRecipients": { - "description": "Semicolon separated list of recipients to forward the message to", - "type": "string", - "x-ms-summary": "To" - } - } - } - }, - "x-ms-capabilities": { - "file-picker": { - "open": { - "operationId": "OnFilePickerOpen" - }, - "browse": { - "operationId": "OnFilePickerBrowse", - "parameters": { - "id": { - "value-property": "Id" - } - } - }, - "value-collection": "value", - "value-title": "DisplayName", - "value-folder-property": "IsFolder", - "value-media-property": "MediaType" - }, - "testConnection": { - "operationId": "TestConnection", - "parameters": {} - } - }, - "externalDocs": { - "url": "https://docs.microsoft.com/connectors/outlook" - } - }, - "runtimeUrls": [ - "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook" - ], - "primaryRuntimeUrl": "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook", - "doNotUseApiHubNetRuntimeUrl": "https://51994809-1f1d-e67c-bf36-7188f4623750.08.common.europe002.azure-apihub.net/apim/outlook", - "metadata": { - "source": "marketplace", - "brandColor": "", - "useNewApimVersion": "true", - "version": { - "previous": "releases/v1.0.1797\\1.0.1797.4609", - "current": "releases/v1.0.1797\\1.0.1797.4624" - } - }, - "capabilities": [ - "actions" - ], - "interfaces": {}, - "description": "Outlook.com connector allows you to manage your mail, calendars, and contacts. You can perform various actions such as send mail, schedule meetings, add contacts, etc.", - "createdTime": "2023-11-28T21:05:47.3289369Z", - "changedTime": "2026-03-21T07:50:35.6574765Z", - "releaseTag": "Production", - "tier": "Standard", - "publisher": "Microsoft", - "scopes": { - "will": [], - "wont": [] - }, - "rateLimit": 0, - "apiVersion": "None" - } -} \ No newline at end of file diff --git a/power.config.json b/power.config.json index afd5591c..8f3e3714 100644 --- a/power.config.json +++ b/power.config.json @@ -9,15 +9,6 @@ "buildEntryPoint": "index.html", "localAppUrl": "http://localhost:5173", "logoPath": "Default", - "connectionReferences": { - "": { - "id": "/providers/Microsoft.PowerApps/apis/shared_outlook", - "displayName": "Outlook.com", - "dataSources": [ - "outlook" - ], - "dataSets": {} - } - }, + "connectionReferences": {}, "databaseReferences": {} -} +} \ No newline at end of file diff --git a/src/generated/index.ts b/src/generated/index.ts index 22da28db..3b2a5eff 100644 --- a/src/generated/index.ts +++ b/src/generated/index.ts @@ -2,9 +2,3 @@ * Copyright (C) Microsoft Corporation. All rights reserved. * This file is autogenerated. Do not edit this file directly. */ - -// Models -export * as Outlook_comModel from './models/Outlook_comModel'; - -// Services -export * from './services/Outlook_comService'; diff --git a/src/generated/models/Outlook_comModel.ts b/src/generated/models/Outlook_comModel.ts deleted file mode 100644 index 4937cae0..00000000 --- a/src/generated/models/Outlook_comModel.ts +++ /dev/null @@ -1,1149 +0,0 @@ -/*! - * Copyright (C) Microsoft Corporation. All rights reserved. - * This file is autogenerated. Do not edit this file directly. - */ - -export interface TableMetadata { - // Table name - name?: string; - // Table title - title?: string; - // Table permission - x_ms_permission?: string; - x_ms_capabilities?: TableCapabilitiesMetadata; - schema?: Object; - referencedEntities?: Object; - // Url link - webUrl?: string; -} - -export interface TableCapabilitiesMetadata { - sortRestrictions?: TableSortRestrictionsMetadata; - filterRestrictions?: TableFilterRestrictionsMetadata; - selectRestrictions?: TableSelectRestrictionsMetadata; - // Server paging restrictions - isOnlyServerPagable?: boolean; - // List of supported filter capabilities - filterFunctionSupport?: string[]; - // List of supported server-driven paging capabilities - serverPagingOptions?: string[]; -} - -export type Object = object; - -export interface TableSortRestrictionsMetadata { - // Indicates whether this table has sortable columns - sortable?: boolean; - // List of unsortable properties - unsortableProperties?: string[]; - // List of properties which support ascending order only - ascendingOnlyProperties?: string[]; -} - -export interface TableFilterRestrictionsMetadata { - // Indicates whether this table has filterable columns - filterable?: boolean; - // List of non filterable properties - nonFilterableProperties?: string[]; - // List of required properties - requiredProperties?: string[]; -} - -export interface TableSelectRestrictionsMetadata { - // Indicates whether this table has selectable columns - selectable?: boolean; -} - -export interface CalendarEventList { - // List of calendar items - value?: CalendarEventBackend[]; -} - -export type CalendarEventBackendImportance = 'Low'|'Normal'|'High'; -export type CalendarEventBackendShowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown'; -export type CalendarEventBackendType = 'SingleInstance'|'Occurrence'|'Exception'|'SeriesMaster'; - -export interface CalendarEventBackend { - // The Event's unique identifier - Id?: string; - // List of attendees for the event - Attendees?: Attendee[]; - Body?: ItemBody; - // The preview of the message associated with the event - BodyPreview?: string; - // The categories associated with the event - Categories?: string[]; - // This property identifies the version of the event object. Every time the event is changed, ChangeKey changes as well. - ChangeKey?: string; - // The date and time that the event was created - DateTimeCreated?: string; - // The date and time that the event was last modified - DateTimeLastModified?: string; - // The end time of the event - End: string; - // This property specifies the time zone of the meeting end time. The value must be as defined in Windows (example: 'Pacific Standard Time'). - EndTimeZone?: string; - // Set to true if the event has attachments - HasAttachments?: boolean; - // A unique identifier that is shared by all instances of an event across different calendars - ICalUId?: string; - // The importance of the event: Low, Normal, or High - Importance?: CalendarEventBackendImportance; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // Set to true if the event has been canceled - IsCancelled?: boolean; - // Set to true if the message sender is also the organizer - IsOrganizer?: boolean; - Location?: Location; - Organizer?: Recipient; - Recurrence?: PatternedRecurrence; - // Time in minutes before event start to remind - Reminder?: number; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; - ResponseStatus?: ResponseStatus; - // Unique identifier for Series Master event type - SeriesMasterId?: string; - // Shows as free or busy - ShowAs?: CalendarEventBackendShowAs; - // The start time of the event - Start: string; - // This property specifies the time zone of the meeting start time. The value must be as defined in Windows (example: 'Pacific Standard Time'). - StartTimeZone?: string; - // Event subject - Subject: string; - // The event type: Single Instance, Occurrence, Exception, or Series Master - Type?: CalendarEventBackendType; - // The preview of the message associated with the event - WebLink?: string; - // The reason property used by O365 sync events protocol, will be 'deleted' if its a deleted event. - Reason?: string; -} - -export type AttendeeType = 'Required'|'Optional'|'Resource'; - -export interface Attendee { - Status?: ResponseStatus; - Type?: AttendeeType; - EmailAddress?: EmailAddress; -} - -export type ItemBodyContentType = 'Text'|'HTML'; - -export interface ItemBody { - ContentType?: ItemBodyContentType; - Content?: string; -} - -export interface Location { - DisplayName?: string; - Address?: PhysicalAddress; - Coordinates?: GeoCoordinates; -} - -export interface Recipient { - EmailAddress?: EmailAddress; -} - -export interface PatternedRecurrence { - Pattern?: RecurrencePattern; - Range?: RecurrenceRange; -} - -export type ResponseStatusResponse = 'None'|'Organizer'|'TentativelyAccepted'|'Accepted'|'Declined'|'NotResponded'; - -export interface ResponseStatus { - Response?: ResponseStatusResponse; - Time?: string; -} - -export interface EmailAddress { - Name?: string; - Address?: string; -} - -export interface PhysicalAddress { - Street?: string; - City?: string; - State?: string; - CountryOrRegion?: string; - PostalCode?: string; -} - -export interface GeoCoordinates { - Altitude?: number; - Latitude?: number; - Longitude?: number; - Accuracy?: number; - AltitudeAccuracy?: number; -} - -export type RecurrencePatternType = 'Daily'|'Weekly'|'AbsoluteMonthly'|'RelativeMonthly'|'AbsoluteYearly'|'RelativeYearly'; -export type RecurrencePatternFirstDayOfWeek = 'Sunday'|'Monday'|'Tuesday'|'Wednesday'|'Thursday'|'Friday'|'Saturday'; -export type RecurrencePatternIndex = 'First'|'Second'|'Third'|'Fourth'|'Last'; - -export interface RecurrencePattern { - Type?: RecurrencePatternType; - Interval?: number; - Month?: number; - DayOfMonth?: number; - DaysOfWeek?: string[]; - FirstDayOfWeek?: RecurrencePatternFirstDayOfWeek; - Index?: RecurrencePatternIndex; -} - -export type RecurrenceRangeType = 'EndDate'|'NoEnd'|'Numbered'; - -export interface RecurrenceRange { - Type?: RecurrenceRangeType; - StartDate?: string; - EndDate?: string; - NumberOfOccurrences?: number; -} - -export interface CalendarEventListClientReceive { - // List of calendar items - value?: CalendarEventClientReceive[]; -} - -export interface CalendarEventClientReceive { - // Event subject - Subject?: string; - // Start time of the event (example: '2016-11-01T14:30:00Z') - Start?: string; - // End time of the event (example: '2016-11-01T15:30:00Z') - End?: string; - // Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4) - ShowAs?: number; - // The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4) - Recurrence?: number; - // The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5) - ResponseType?: number; - // The response time of the event - ResponseTime?: string; - // A unique identifier that is shared by all instances of an event across different calendars - ICalUId?: string; - // The importance of the event (0 - Low, 1 - Normal, 2 - High) - Importance?: number; - // The event's unique identifier - Id?: string; - // The date and time that the event was created - DateTimeCreated?: string; - // The date and time that the event was last modified - DateTimeLastModified?: string; - // The organizer of the event - Organizer?: string; - // Time zone of the event - TimeZone?: string; - // Unique identifier for Series Master event type - SeriesMasterId?: string; - // The categories associated with the event - Categories?: string[]; - // The URL to open the event in Outlook Web App - WebLink?: string; - // Required attendees for the event separated by semicolons - RequiredAttendees?: string; - // Optional attendees for the event separated by semicolons - OptionalAttendees?: string; - // Resource attendees for the event separated by semicolons - ResourceAttendees?: string; - // Body of the message associated with the event - Body?: string; - // Set to true if the body is Html - IsHtml?: boolean; - // Location of the event - Location?: string; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // End time of the recurrence - RecurrenceEnd?: string; - // How many times to repeat the event - NumberOfOccurrences?: number; - // Time in minutes before event start to remind - Reminder?: number; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; -} - -export interface PaginatedListResponse_CalendarEventClientReceiveStringEnums { - // Values - Values?: CalendarEventClientReceiveStringEnums[]; -} - -export type CalendarEventClientReceiveStringEnumsImportance = 'Low'|'Normal'|'High'; -export type CalendarEventClientReceiveStringEnumsResponseType = 'None'|'Organizer'|'TentativelyAccepted'|'Accepted'|'Declined'|'NotResponded'; -export type CalendarEventClientReceiveStringEnumsRecurrence = 'None'|'Daily'|'Weekly'|'Monthly'|'Yearly'; -export type CalendarEventClientReceiveStringEnumsShowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown'; - -export interface CalendarEventClientReceiveStringEnums { - // The importance of the event: Low, Normal, or High - Importance?: CalendarEventClientReceiveStringEnumsImportance; - // The response type of the event: None, Organizer, TentativelyAccepted, Accepted, Declined or NotResponded - ResponseType?: CalendarEventClientReceiveStringEnumsResponseType; - // The recurrence pattern for the event - Recurrence?: CalendarEventClientReceiveStringEnumsRecurrence; - // Status to show during the event - ShowAs?: CalendarEventClientReceiveStringEnumsShowAs; - // Event subject - Subject?: string; - // Start time of the event (example: '2016-11-01T14:30:00Z') - Start?: string; - // End time of the event (example: '2016-11-01T15:30:00Z') - End?: string; - // The response time of the event - ResponseTime?: string; - // A unique identifier that is shared by all instances of an event across different calendars - ICalUId?: string; - // The event's unique identifier - Id?: string; - // The date and time that the event was created - DateTimeCreated?: string; - // The date and time that the event was last modified - DateTimeLastModified?: string; - // The organizer of the event - Organizer?: string; - // Time zone of the event - TimeZone?: string; - // Unique identifier for Series Master event type - SeriesMasterId?: string; - // The categories associated with the event - Categories?: string[]; - // The URL to open the event in Outlook Web App - WebLink?: string; - // Required attendees for the event separated by semicolons - RequiredAttendees?: string; - // Optional attendees for the event separated by semicolons - OptionalAttendees?: string; - // Resource attendees for the event separated by semicolons - ResourceAttendees?: string; - // Body of the message associated with the event - Body?: string; - // Set to true if the body is Html - IsHtml?: boolean; - // Location of the event - Location?: string; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // End time of the recurrence - RecurrenceEnd?: string; - // How many times to repeat the event - NumberOfOccurrences?: number; - // Time in minutes before event start to remind - Reminder?: number; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; -} - -export interface ClientSubscription { - // Callback url to the flow engine. Expected as part of the request and provided by Flow. - NotificationUrl: string; -} - -export interface SubscriptionResponse { - // Id of the subscription - id?: string; - // Resource of the subscription request - resource?: string; - // Notification Type - notificationType?: string; - // Notification Url - notificationUrl?: string; -} - -export interface EntityListResponse_FilePickerFile { - // List of values - value?: FilePickerFile[]; -} - -export interface FilePickerFile { - // Uniquely identifies the file - Id?: string; - // Display name for the file - DisplayName?: string; - // Set to true if the file is a folder - IsFolder?: boolean; - // Path of the file - Path?: string; -} - -export type ClientSendMessageImportance = 'Low'|'Normal'|'High'; - -export interface ClientSendMessage { - // Specify email addresses separated by semicolons like someone@contoso.com - Cc?: string; - // Specify email addresses separated by semicolons like someone@contoso.com - Bcc?: string; - // Specify email addresses separated by semicolons like someone@contoso.com - To: string; - // Specify the subject of the mail - Subject: string; - // Specify the body of the mail - Body: string; - // Attachments - Attachments?: ClientSendAttachment[]; - // The email addresses to use when replying - ReplyTo?: string; - // Importance - Importance?: ClientSendMessageImportance; - // Is Html? - IsHtml?: boolean; -} - -export interface ClientSendAttachment { - // Attachment name - Name: string; - // Attachment content - ContentBytes: string; -} - -export type ClientReceiveMessageStringEnumsImportance = 'Low'|'Normal'|'High'; - -export interface ClientReceiveMessageStringEnums { - // The importance of the message - Importance?: ClientReceiveMessageStringEnumsImportance; - // The mailbox owner and sender of the message - From?: string; - // The recipients for the message - To?: string; - // The Cc recipients for the message - Cc?: string; - // The Bcc recipients for the message - Bcc?: string; - // The email addresses to use when replying - ReplyTo?: string; - // The subject of the message - Subject?: string; - // The body of the message - Body?: string; - // The preview of the message - BodyPreview?: string; - // Indicates whether the message has attachments - HasAttachment?: boolean; - // The unique identifier of the message - Id?: string; - // The message ID in the format specified by RFC2822 - InternetMessageId?: string; - // The Id of the conversation the email belongs to - ConversationId?: string; - // The date and time the message was received - DateTimeReceived?: string; - // Indicates whether the message has been read - IsRead?: boolean; - // The file attachments for the message - Attachments?: ClientReceiveFileAttachment[]; - // Is Html? - IsHtml?: boolean; -} - -export interface ClientReceiveFileAttachment { - // Attachment Id - Id?: string; - // Attachment name - Name?: string; - // Attachment content - ContentBytes?: string; - // Attachment content type - ContentType?: string; - // The size in bytes of the attachment - Size?: number; - // Set to true if this is an inline attachment - IsInline?: boolean; - // The date and time when the attachment was last modified - LastModifiedDateTime?: string; - // Content Id - ContentId?: string; -} - -export type ClientSendHtmlMessageImportance = 'Low'|'Normal'|'High'; - -export interface ClientSendHtmlMessage { - // Specify email addresses separated by semicolons like someone@contoso.com - To: string; - // Specify the subject of the mail - Subject: string; - // Specify the body of the mail - Body: string; - // Email address to send mail from (requires "Send as" or "Send on behalf of" permission for that mailbox). For more info on granting permissions please refer https://docs.microsoft.com/office365/admin/manage/send-email-as-distribution-list - From?: string; - // Specify email addresses separated by semicolons like someone@contoso.com - Cc?: string; - // Specify email addresses separated by semicolons like someone@contoso.com - Bcc?: string; - // Attachments - Attachments?: ClientSendAttachment[]; - // The email addresses to use when replying - ReplyTo?: string; - // Importance - Importance?: ClientSendHtmlMessageImportance; -} - -export interface BatchResponse_ClientReceiveMessage { - // A list of the response objects - value?: ClientReceiveMessage[]; -} - -export interface ClientReceiveMessage { - // The mailbox owner and sender of the message - From?: string; - // The recipients for the message - To?: string; - // The Cc recipients for the message - Cc?: string; - // The Bcc recipients for the message - Bcc?: string; - // The email addresses to use when replying - ReplyTo?: string; - // The subject of the message - Subject?: string; - // The body of the message - Body?: string; - // The importance of the message (0 - Low, 1 - Normal, 2 - High) - Importance?: number; - // The preview of the message - BodyPreview?: string; - // Indicates whether the message has attachments - HasAttachment?: boolean; - // The unique identifier of the message - Id?: string; - // The message ID in the format specified by RFC2822 - InternetMessageId?: string; - // The Id of the conversation the email belongs to - ConversationId?: string; - // The date and time the message was received - DateTimeReceived?: string; - // Indicates whether the message has been read - IsRead?: boolean; - // The file attachments for the message - Attachments?: ClientReceiveFileAttachment[]; - // Is Html? - IsHtml?: boolean; -} - -export type ReplyMessageImportance = 'Low'|'Normal'|'High'; - -export interface ReplyMessage { - // Example: recipient1@domain.com; recipient2@domain.com - To?: string; - // Example: recipient1@domain.com; recipient2@domain.com - Cc?: string; - // Example: recipient1@domain.com; recipient2@domain.com - Bcc?: string; - // Email subject (if empty, the original subject used). - Subject?: string; - // Content of the email. - Body?: string; - // True to reply to all recipients. (default: False) - ReplyAll?: boolean; - // True to send the reply as HTML. (default: True) - IsHtml?: boolean; - // Pick an importance. (default: Low) - Importance?: ReplyMessageImportance; - // Details of attachments to be sent along with the reply. - Attachments?: ClientSendAttachment[]; -} - -export type ReplyHtmlMessageImportance = 'Low'|'Normal'|'High'; - -export interface ReplyHtmlMessage { - // Example: recipient1@domain.com; recipient2@domain.com - To?: string; - // Example: recipient1@domain.com; recipient2@domain.com - Cc?: string; - // Example: recipient1@domain.com; recipient2@domain.com - Bcc?: string; - // Email subject (if empty, the original subject used). - Subject?: string; - // Content of the email. - Body?: string; - // True to reply to all recipients. (default: False) - ReplyAll?: boolean; - // Pick an importance. (default: Low) - Importance?: ReplyHtmlMessageImportance; - // Details of attachments to be sent along with the reply. - Attachments?: ClientSendAttachment[]; -} - -export interface TriggerBatchResponse_ClientReceiveMessage { - // A list of the response objects - value?: ClientReceiveMessage[]; -} - -export interface DataSetsMetadata { - tabular?: TabularDataSetsMetadata; - blob?: BlobDataSetsMetadata; -} - -export interface TabularDataSetsMetadata { - // Dataset source - source?: string; - // Dataset display name - displayName?: string; - // Dataset url encoding - urlEncoding?: string; - // Table display name - tableDisplayName?: string; - // Table plural display name - tablePluralName?: string; -} - -export interface BlobDataSetsMetadata { - // Blob dataset source - source?: string; - // Blob dataset display name - displayName?: string; - // Blob dataset url encoding - urlEncoding?: string; -} - -export interface OptionsEmailSubscription { - // Gets or sets callback url to flow engine. It is expected as part of request - NotificationUrl: string; - Message: MessageWithOptions; -} - -export type MessageWithOptionsImportance = 'Low'|'Normal'|'High'; - -export interface MessageWithOptions { - // Specify email addresses separated by semicolons like someone@contoso.com - To: string; - // Subject of the email - Subject?: string; - // List of comma separated options for the email response - Options?: string; - // Header text for email body - HeaderText?: string; - // Header text for users options selection - SelectionText?: string; - // Body of the email - Body?: string; - // Importance - Importance?: MessageWithOptionsImportance; - // Attachments - Attachments?: ClientSendAttachment[]; - // Use only HTML message - UseOnlyHTMLMessage?: boolean; - // If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value. - HideHTMLMessage?: boolean; - // If set to Yes then a dialog wil be shown to confirm selected option of HTML message - ShowHTMLConfirmationDialog?: boolean; -} - -export interface ApprovalEmailResponse { - // User response - SelectedOption?: string; -} - -export interface ApprovalEmailSubscription { - // Gets or sets callback url to flow engine. It is expected as part of request - NotificationUrl: string; - Message: ApprovalMessage; -} - -export type ApprovalMessageImportance = 'Low'|'Normal'|'High'; - -export interface ApprovalMessage { - // Specify email addresses separated by semicolons like someone@contoso.com - To: string; - // Subject - Subject?: string; - // User Options - Options?: string; - // Header text for email body - HeaderText?: string; - // Header text for users options selection - SelectionText?: string; - // Body - Body?: string; - // Importance - Importance?: ApprovalMessageImportance; - // Attachments - Attachments?: ClientSendAttachment[]; - // Use only HTML message - UseOnlyHTMLMessage?: boolean; - // If set to Yes, then the email body is hidden and only message card is displayed. Email clients which do not support actionable messages will display HTML message regardless of the parameter value. - HideHTMLMessage?: boolean; - // If set to Yes then a dialog wil be shown to confirm selected option of HTML message - ShowHTMLConfirmationDialog?: boolean; -} - -export interface SubscriptionPayload_OutlookReceiveMessage { - // List of values - value?: SubscriptionPayloadEntity_OutlookReceiveMessage[]; -} - -export interface SubscriptionPayloadEntity_OutlookReceiveMessage { - // Sequence number - SequenceNumber?: number; - // Change type - ChangeType?: string; - // Client state - ClientState?: string; - // Resource - Resource?: string; - ResourceData?: OutlookReceiveMessage; -} - -export type OutlookReceiveMessageImportance = 'Low'|'Normal'|'High'; - -export interface OutlookReceiveMessage { - // Internet Message Id - InternetMessageId?: string; - // Body preview - BodyPreview?: string; - // Id - Id?: string; - // Conversation Id - ConversationId?: string; - // Has attachments - HasAttachments?: boolean; - // Is read - IsRead?: boolean; - // Created date and time - CreatedDateTime?: string; - // Received date and time - ReceivedDateTime?: string; - // Last modified date and time - LastModifiedDateTime?: string; - // Attachments - Attachments?: OutlookReceiveAttachment[]; - // To Recipient - ToRecipients?: Recipient[]; - // Cc Recipients - CcRecipients?: Recipient[]; - // Bcc Recipients - BccRecipients?: Recipient[]; - // The email addresses to use when replying - ReplyTo?: Recipient[]; - // Subject - Subject?: string; - Body?: ItemBody; - From?: Recipient; - // Importance - Importance?: OutlookReceiveMessageImportance; - // Internet message headers - InternetMessageHeaders?: InternetMessageHeader[]; -} - -export interface OutlookReceiveAttachment { - // OData type - "@odata.type"?: string; - // Attachment Id - Id?: string; - // Attachment name - Name?: string; - // Attachment content - ContentBytes?: string; - // Attachment content type - ContentType?: string; - // Attachment size in bytes - Size?: number; - // Permission associated with a reference attachment - Permission?: string; - // Provider for the reference attachment - ProviderType?: string; - // Reference attachment source url - SourceUrl?: string; - // Set to true if this is an inline attachment - IsInline?: boolean; - // The date and time when the attachment was last modified - LastModifiedDateTime?: string; - // Content Id - ContentId?: string; -} - -export interface InternetMessageHeader { - // Header name - Name?: string; - // Header value - Value?: string; -} - -export interface SubscriptionPayload_SubscriptionEvent { - // List of values - value?: SubscriptionPayloadEntity_SubscriptionEvent[]; -} - -export interface SubscriptionPayloadEntity_SubscriptionEvent { - // Sequence number - SequenceNumber?: number; - // Change type - ChangeType?: string; - // Client state - ClientState?: string; - // Resource - Resource?: string; - ResourceData?: SubscriptionEvent; -} - -export interface SubscriptionEvent { - // The Event's unique identifier - Id?: string; -} - -export interface EntityListResponse_Table { - // List of values - value?: Table[]; -} - -export interface Table { - // The name of the table. The name is used at runtime. - Name?: string; - // The display name of the table. - DisplayName?: string; - // Additional table properties provided by the connector to the clients. - DynamicProperties?: Record; -} - -export interface EntityListResponse_CalendarEventBackend { - // List of values - value?: CalendarEventBackend[]; -} - -export interface EntityListResponse_CalendarEventClientReceiveStringEnums { - // List of values - value?: CalendarEventClientReceiveStringEnums[]; -} - -export type CalendarEventClientTimeZone = ''|'(UTC-12:00) International Date Line West'|'(UTC-11:00) Coordinated Universal Time-11'|'(UTC-10:00) Aleutian Islands'|'(UTC-10:00) Hawaii'|'(UTC-09:30) Marquesas Islands'|'(UTC-09:00) Alaska'|'(UTC-09:00) Coordinated Universal Time-09'|'(UTC-08:00) Baja California'|'(UTC-08:00) Coordinated Universal Time-08'|'(UTC-08:00) Pacific Time (US & Canada)'|'(UTC-07:00) Arizona'|'(UTC-07:00) Chihuahua, La Paz, Mazatlan'|'(UTC-07:00) Mountain Time (US & Canada)'|'(UTC-06:00) Central America'|'(UTC-06:00) Central Time (US & Canada)'|'(UTC-06:00) Easter Island'|'(UTC-06:00) Guadalajara, Mexico City, Monterrey'|'(UTC-06:00) Saskatchewan'|'(UTC-05:00) Bogota, Lima, Quito, Rio Branco'|'(UTC-05:00) Chetumal'|'(UTC-05:00) Eastern Time (US & Canada)'|'(UTC-05:00) Haiti'|'(UTC-05:00) Havana'|'(UTC-05:00) Indiana (East)'|'(UTC-04:00) Asuncion'|'(UTC-04:00) Atlantic Time (Canada)'|'(UTC-04:00) Caracas'|'(UTC-04:00) Cuiaba'|'(UTC-04:00) Georgetown, La Paz, Manaus, San Juan'|'(UTC-04:00) Santiago'|'(UTC-04:00) Turks and Caicos'|'(UTC-03:30) Newfoundland'|'(UTC-03:00) Araguaina'|'(UTC-03:00) Brasilia'|'(UTC-03:00) Cayenne, Fortaleza'|'(UTC-03:00) City of Buenos Aires'|'(UTC-03:00) Greenland'|'(UTC-03:00) Montevideo'|'(UTC-03:00) Punta Arenas'|'(UTC-03:00) Saint Pierre and Miquelon'|'(UTC-03:00) Salvador'|'(UTC-02:00) Coordinated Universal Time-02'|'(UTC-02:00) Mid-Atlantic - Old'|'(UTC-01:00) Azores'|'(UTC-01:00) Cabo Verde Is.'|'(UTC) Coordinated Universal Time'|'(UTC+00:00) Casablanca'|'(UTC+00:00) Dublin, Edinburgh, Lisbon, London'|'(UTC+00:00) Monrovia, Reykjavik'|'(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna'|'(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague'|'(UTC+01:00) Brussels, Copenhagen, Madrid, Paris'|'(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb'|'(UTC+01:00) West Central Africa'|'(UTC+01:00) Windhoek'|'(UTC+02:00) Amman'|'(UTC+02:00) Athens, Bucharest'|'(UTC+02:00) Beirut'|'(UTC+02:00) Cairo'|'(UTC+02:00) Chisinau'|'(UTC+02:00) Damascus'|'(UTC+02:00) Gaza, Hebron'|'(UTC+02:00) Harare, Pretoria'|'(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius'|'(UTC+02:00) Jerusalem'|'(UTC+02:00) Kaliningrad'|'(UTC+02:00) Tripoli'|'(UTC+03:00) Baghdad'|'(UTC+03:00) Istanbul'|'(UTC+03:00) Kuwait, Riyadh'|'(UTC+03:00) Minsk'|'(UTC+03:00) Moscow, St. Petersburg'|'(UTC+03:00) Nairobi'|'(UTC+03:30) Tehran'|'(UTC+04:00) Abu Dhabi, Muscat'|'(UTC+04:00) Astrakhan, Ulyanovsk'|'(UTC+04:00) Baku'|'(UTC+04:00) Izhevsk, Samara'|'(UTC+04:00) Port Louis'|'(UTC+04:00) Saratov'|'(UTC+04:00) Tbilisi'|'(UTC+04:00) Volgograd'|'(UTC+04:00) Yerevan'|'(UTC+04:30) Kabul'|'(UTC+05:00) Ashgabat, Tashkent'|'(UTC+05:00) Ekaterinburg'|'(UTC+05:00) Islamabad, Karachi'|'(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi'|'(UTC+05:30) Sri Jayawardenepura'|'(UTC+05:45) Kathmandu'|'(UTC+06:00) Astana'|'(UTC+06:00) Dhaka'|'(UTC+06:00) Omsk'|'(UTC+06:30) Yangon (Rangoon)'|'(UTC+07:00) Bangkok, Hanoi, Jakarta'|'(UTC+07:00) Barnaul, Gorno-Altaysk'|'(UTC+07:00) Hovd'|'(UTC+07:00) Krasnoyarsk'|'(UTC+07:00) Novosibirsk'|'(UTC+07:00) Tomsk'|'(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi'|'(UTC+08:00) Irkutsk'|'(UTC+08:00) Kuala Lumpur, Singapore'|'(UTC+08:00) Perth'|'(UTC+08:00) Taipei'|'(UTC+08:00) Ulaanbaatar'|'(UTC+08:30) Pyongyang'|'(UTC+08:45) Eucla'|'(UTC+09:00) Chita'|'(UTC+09:00) Osaka, Sapporo, Tokyo'|'(UTC+09:00) Seoul'|'(UTC+09:00) Yakutsk'|'(UTC+09:30) Adelaide'|'(UTC+09:30) Darwin'|'(UTC+10:00) Brisbane'|'(UTC+10:00) Canberra, Melbourne, Sydney'|'(UTC+10:00) Guam, Port Moresby'|'(UTC+10:00) Hobart'|'(UTC+10:00) Vladivostok'|'(UTC+10:30) Lord Howe Island'|'(UTC+11:00) Bougainville Island'|'(UTC+11:00) Chokurdakh'|'(UTC+11:00) Magadan'|'(UTC+11:00) Norfolk Island'|'(UTC+11:00) Sakhalin'|'(UTC+11:00) Solomon Is., New Caledonia'|'(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky'|'(UTC+12:00) Auckland, Wellington'|'(UTC+12:00) Coordinated Universal Time+12'|'(UTC+12:00) Fiji'|'(UTC+12:00) Petropavlovsk-Kamchatsky - Old'|'(UTC+12:45) Chatham Islands'|'(UTC+13:00) Coordinated Universal Time+13'|'(UTC+13:00) Nuku\'alofa'|'(UTC+13:00) Samoa'|'(UTC+14:00) Kiritimati Island'; -export type CalendarEventClientImportance = 'Low'|'Normal'|'High'; -export type CalendarEventClientRecurrence = 'None'|'Daily'|'Weekly'|'Monthly'|'Yearly'; -export type CalendarEventClientShowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown'; - -export interface CalendarEventClient { - // Event subject - Subject: string; - // Start time of the event (example: '2016-11-01T14:30:00Z') - Start: string; - // End time of the event (example: '2016-11-01T15:30:00Z') - End: string; - // Time zone of the event - TimeZone?: CalendarEventClientTimeZone; - // Required attendees for the event separated by semicolons - RequiredAttendees?: string; - // Optional attendees for the event separated by semicolons - OptionalAttendees?: string; - // Resource attendees for the event separated by semicolons - ResourceAttendees?: string; - // Body of the message associated with the event - Body?: string; - // Set to true if the body is Html - IsHtml?: boolean; - // Location of the event - Location?: string; - // The importance of the event: Low, Normal, or High - Importance?: CalendarEventClientImportance; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // The recurrence pattern for the event - Recurrence?: CalendarEventClientRecurrence; - // End time of the recurrence - RecurrenceEnd?: string; - // How many times to repeat the event - NumberOfOccurrences?: number; - // Time in minutes before event start to remind - Reminder?: number; - // Status to show during the event - ShowAs?: CalendarEventClientShowAs; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; -} - -export type CalendarEventHtmlClientTimeZone = ''|'(UTC-12:00) International Date Line West'|'(UTC-11:00) Coordinated Universal Time-11'|'(UTC-10:00) Aleutian Islands'|'(UTC-10:00) Hawaii'|'(UTC-09:30) Marquesas Islands'|'(UTC-09:00) Alaska'|'(UTC-09:00) Coordinated Universal Time-09'|'(UTC-08:00) Baja California'|'(UTC-08:00) Coordinated Universal Time-08'|'(UTC-08:00) Pacific Time (US & Canada)'|'(UTC-07:00) Arizona'|'(UTC-07:00) Chihuahua, La Paz, Mazatlan'|'(UTC-07:00) Mountain Time (US & Canada)'|'(UTC-06:00) Central America'|'(UTC-06:00) Central Time (US & Canada)'|'(UTC-06:00) Easter Island'|'(UTC-06:00) Guadalajara, Mexico City, Monterrey'|'(UTC-06:00) Saskatchewan'|'(UTC-05:00) Bogota, Lima, Quito, Rio Branco'|'(UTC-05:00) Chetumal'|'(UTC-05:00) Eastern Time (US & Canada)'|'(UTC-05:00) Haiti'|'(UTC-05:00) Havana'|'(UTC-05:00) Indiana (East)'|'(UTC-04:00) Asuncion'|'(UTC-04:00) Atlantic Time (Canada)'|'(UTC-04:00) Caracas'|'(UTC-04:00) Cuiaba'|'(UTC-04:00) Georgetown, La Paz, Manaus, San Juan'|'(UTC-04:00) Santiago'|'(UTC-04:00) Turks and Caicos'|'(UTC-03:30) Newfoundland'|'(UTC-03:00) Araguaina'|'(UTC-03:00) Brasilia'|'(UTC-03:00) Cayenne, Fortaleza'|'(UTC-03:00) City of Buenos Aires'|'(UTC-03:00) Greenland'|'(UTC-03:00) Montevideo'|'(UTC-03:00) Punta Arenas'|'(UTC-03:00) Saint Pierre and Miquelon'|'(UTC-03:00) Salvador'|'(UTC-02:00) Coordinated Universal Time-02'|'(UTC-02:00) Mid-Atlantic - Old'|'(UTC-01:00) Azores'|'(UTC-01:00) Cabo Verde Is.'|'(UTC) Coordinated Universal Time'|'(UTC+00:00) Casablanca'|'(UTC+00:00) Dublin, Edinburgh, Lisbon, London'|'(UTC+00:00) Monrovia, Reykjavik'|'(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna'|'(UTC+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague'|'(UTC+01:00) Brussels, Copenhagen, Madrid, Paris'|'(UTC+01:00) Sarajevo, Skopje, Warsaw, Zagreb'|'(UTC+01:00) West Central Africa'|'(UTC+01:00) Windhoek'|'(UTC+02:00) Amman'|'(UTC+02:00) Athens, Bucharest'|'(UTC+02:00) Beirut'|'(UTC+02:00) Cairo'|'(UTC+02:00) Chisinau'|'(UTC+02:00) Damascus'|'(UTC+02:00) Gaza, Hebron'|'(UTC+02:00) Harare, Pretoria'|'(UTC+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius'|'(UTC+02:00) Jerusalem'|'(UTC+02:00) Kaliningrad'|'(UTC+02:00) Tripoli'|'(UTC+03:00) Baghdad'|'(UTC+03:00) Istanbul'|'(UTC+03:00) Kuwait, Riyadh'|'(UTC+03:00) Minsk'|'(UTC+03:00) Moscow, St. Petersburg'|'(UTC+03:00) Nairobi'|'(UTC+03:30) Tehran'|'(UTC+04:00) Abu Dhabi, Muscat'|'(UTC+04:00) Astrakhan, Ulyanovsk'|'(UTC+04:00) Baku'|'(UTC+04:00) Izhevsk, Samara'|'(UTC+04:00) Port Louis'|'(UTC+04:00) Saratov'|'(UTC+04:00) Tbilisi'|'(UTC+04:00) Volgograd'|'(UTC+04:00) Yerevan'|'(UTC+04:30) Kabul'|'(UTC+05:00) Ashgabat, Tashkent'|'(UTC+05:00) Ekaterinburg'|'(UTC+05:00) Islamabad, Karachi'|'(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi'|'(UTC+05:30) Sri Jayawardenepura'|'(UTC+05:45) Kathmandu'|'(UTC+06:00) Astana'|'(UTC+06:00) Dhaka'|'(UTC+06:00) Omsk'|'(UTC+06:30) Yangon (Rangoon)'|'(UTC+07:00) Bangkok, Hanoi, Jakarta'|'(UTC+07:00) Barnaul, Gorno-Altaysk'|'(UTC+07:00) Hovd'|'(UTC+07:00) Krasnoyarsk'|'(UTC+07:00) Novosibirsk'|'(UTC+07:00) Tomsk'|'(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi'|'(UTC+08:00) Irkutsk'|'(UTC+08:00) Kuala Lumpur, Singapore'|'(UTC+08:00) Perth'|'(UTC+08:00) Taipei'|'(UTC+08:00) Ulaanbaatar'|'(UTC+08:30) Pyongyang'|'(UTC+08:45) Eucla'|'(UTC+09:00) Chita'|'(UTC+09:00) Osaka, Sapporo, Tokyo'|'(UTC+09:00) Seoul'|'(UTC+09:00) Yakutsk'|'(UTC+09:30) Adelaide'|'(UTC+09:30) Darwin'|'(UTC+10:00) Brisbane'|'(UTC+10:00) Canberra, Melbourne, Sydney'|'(UTC+10:00) Guam, Port Moresby'|'(UTC+10:00) Hobart'|'(UTC+10:00) Vladivostok'|'(UTC+10:30) Lord Howe Island'|'(UTC+11:00) Bougainville Island'|'(UTC+11:00) Chokurdakh'|'(UTC+11:00) Magadan'|'(UTC+11:00) Norfolk Island'|'(UTC+11:00) Sakhalin'|'(UTC+11:00) Solomon Is., New Caledonia'|'(UTC+12:00) Anadyr, Petropavlovsk-Kamchatsky'|'(UTC+12:00) Auckland, Wellington'|'(UTC+12:00) Coordinated Universal Time+12'|'(UTC+12:00) Fiji'|'(UTC+12:00) Petropavlovsk-Kamchatsky - Old'|'(UTC+12:45) Chatham Islands'|'(UTC+13:00) Coordinated Universal Time+13'|'(UTC+13:00) Nuku\'alofa'|'(UTC+13:00) Samoa'|'(UTC+14:00) Kiritimati Island'; -export type CalendarEventHtmlClientImportance = 'Low'|'Normal'|'High'; -export type CalendarEventHtmlClientRecurrence = 'None'|'Daily'|'Weekly'|'Monthly'|'Yearly'; -export type CalendarEventHtmlClientShowAs = 'Free'|'Tentative'|'Busy'|'Oof'|'WorkingElsewhere'|'Unknown'; - -export interface CalendarEventHtmlClient { - // Event subject - Subject: string; - // Start time of the event (example: '2016-11-01T14:30:00Z') - Start: string; - // End time of the event (example: '2016-11-01T15:30:00Z') - End: string; - // Time zone of the event - TimeZone?: CalendarEventHtmlClientTimeZone; - // Required attendees for the event separated by semicolons - RequiredAttendees?: string; - // Optional attendees for the event separated by semicolons - OptionalAttendees?: string; - // Resource attendees for the event separated by semicolons - ResourceAttendees?: string; - // Body of the message associated with the event - Body?: string; - // Location of the event - Location?: string; - // The importance of the event: Low, Normal, or High - Importance?: CalendarEventHtmlClientImportance; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // The recurrence pattern for the event - Recurrence?: CalendarEventHtmlClientRecurrence; - // End time of the recurrence - RecurrenceEnd?: string; - // How many times to repeat the event - NumberOfOccurrences?: number; - // Time in minutes before event start to remind - Reminder?: number; - // Status to show during the event - ShowAs?: CalendarEventHtmlClientShowAs; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; -} - -export interface CalendarEventListWithActionType { - // List of calendar items - value?: CalendarEventClientWithActionType[]; -} - -export type CalendarEventClientWithActionTypeActionType = 'added'|'updated'|'deleted'; - -export interface CalendarEventClientWithActionType { - // Changed action type of the event - added, updated or deleted. - ActionType?: CalendarEventClientWithActionTypeActionType; - // Flag that indicates whether the event was added since the last poll of the trigger. - IsAdded?: boolean; - // Flag that indicates whether the event was updated since the last poll of the trigger. - IsUpdated?: boolean; - // Event subject - Subject?: string; - // Start time of the event (example: '2016-11-01T14:30:00Z') - Start?: string; - // End time of the event (example: '2016-11-01T15:30:00Z') - End?: string; - // Status to show during the event (Unknown - -1, Free - 0, Tentative - 1, Busy - 2, Oof - 3, WorkingElsewhere - 4) - ShowAs?: number; - // The recurrence pattern for the event (None - 0, Daily - 1, Weekly - 2, Monthly - 3, Yearly - 4) - Recurrence?: number; - // The response type of the event (None - 0, Organizer - 1, TentativelyAccepted - 2, Accepted - 3, Declined - 4, NotResponded - 5) - ResponseType?: number; - // The response time of the event - ResponseTime?: string; - // A unique identifier that is shared by all instances of an event across different calendars - ICalUId?: string; - // The importance of the event (0 - Low, 1 - Normal, 2 - High) - Importance?: number; - // The event's unique identifier - Id?: string; - // The date and time that the event was created - DateTimeCreated?: string; - // The date and time that the event was last modified - DateTimeLastModified?: string; - // The organizer of the event - Organizer?: string; - // Time zone of the event - TimeZone?: string; - // Unique identifier for Series Master event type - SeriesMasterId?: string; - // The categories associated with the event - Categories?: string[]; - // The URL to open the event in Outlook Web App - WebLink?: string; - // Required attendees for the event separated by semicolons - RequiredAttendees?: string; - // Optional attendees for the event separated by semicolons - OptionalAttendees?: string; - // Resource attendees for the event separated by semicolons - ResourceAttendees?: string; - // Body of the message associated with the event - Body?: string; - // Set to true if the body is Html - IsHtml?: boolean; - // Location of the event - Location?: string; - // Set to true if the event lasts all day - IsAllDay?: boolean; - // End time of the recurrence - RecurrenceEnd?: string; - // How many times to repeat the event - NumberOfOccurrences?: number; - // Time in minutes before event start to remind - Reminder?: number; - // Set to true if the sender would like a response when the event is accepted or declined - ResponseRequested?: boolean; -} - -export interface EntityListResponse_ContactResponse { - // List of values - value?: ContactResponse[]; -} - -export interface ContactResponse { - // The contact's given name - GivenName?: string; - // The contact's home phone numbers - HomePhones?: string[]; - // The contact's unique identifier. - Id?: string; - // The ID of the contact's parent folder - ParentFolderId?: string; - // The contact's birthday - Birthday?: string; - // The name the contact is filed under - FileAs?: string; - // The contact's display name - DisplayName?: string; - // The contact's initials - Initials?: string; - // The contact's middle name - MiddleName?: string; - // The contact's nickname - NickName?: string; - // The contact's surname - Surname?: string; - // The contact's title - Title?: string; - // The contact's generation - Generation?: string; - // The contact's email addresses - EmailAddresses?: EmailAddress[]; - // The contact's instant messaging (IM) addresses - ImAddresses?: string[]; - // The contact's job title - JobTitle?: string; - // The name of the contact's company - CompanyName?: string; - // The contact's department - Department?: string; - // The location of the contact's office - OfficeLocation?: string; - // The contact's profession - Profession?: string; - // The business home page of the contact - BusinessHomePage?: string; - // The name of the contact's assistant - AssistantName?: string; - // The name of the contact's manager - Manager?: string; - // The contact's business phone numbers - BusinessPhones?: string[]; - // The contact's mobile phone number - MobilePhone1?: string; - HomeAddress?: PhysicalAddress; - BusinessAddress?: PhysicalAddress; - OtherAddress?: PhysicalAddress; - // The phonetic Japanese company name of the contact - YomiCompanyName?: string; - // The phonetic Japanese given name (first name) of the contact - YomiGivenName?: string; - // The phonetic Japanese surname (last name) of the contact - YomiSurname?: string; - // The categories associated with the contact - Categories?: string[]; - // Identifies the version of the event object - ChangeKey?: string; - // The time the contact was created - DateTimeCreated?: string; - // The time the contact was modified - DateTimeLastModified?: string; -} - -export interface Contact { - // The contact's unique identifier. - Id?: string; - // The ID of the contact's parent folder - ParentFolderId?: string; - // The contact's birthday - Birthday?: string; - // The name the contact is filed under - FileAs?: string; - // The contact's display name - DisplayName?: string; - // The contact's given name - GivenName: string; - // The contact's initials - Initials?: string; - // The contact's middle name - MiddleName?: string; - // The contact's nickname - NickName?: string; - // The contact's surname - Surname?: string; - // The contact's title - Title?: string; - // The contact's generation - Generation?: string; - // The contact's email addresses - EmailAddresses?: EmailAddress[]; - // The contact's instant messaging (IM) addresses - ImAddresses?: string[]; - // The contact's job title - JobTitle?: string; - // The name of the contact's company - CompanyName?: string; - // The contact's department - Department?: string; - // The location of the contact's office - OfficeLocation?: string; - // The contact's profession - Profession?: string; - // The business home page of the contact - BusinessHomePage?: string; - // The name of the contact's assistant - AssistantName?: string; - // The name of the contact's manager - Manager?: string; - // The contact's home phone numbers - HomePhones: string[]; - // The contact's business phone numbers - BusinessPhones?: string[]; - // The contact's mobile phone number - MobilePhone1?: string; - HomeAddress?: PhysicalAddress; - BusinessAddress?: PhysicalAddress; - OtherAddress?: PhysicalAddress; - // The phonetic Japanese company name of the contact - YomiCompanyName?: string; - // The phonetic Japanese given name (first name) of the contact - YomiGivenName?: string; - // The phonetic Japanese surname (last name) of the contact - YomiSurname?: string; - // The categories associated with the contact - Categories?: string[]; - // Identifies the version of the event object - ChangeKey?: string; - // The time the contact was created - DateTimeCreated?: string; - // The time the contact was modified - DateTimeLastModified?: string; -} - -export interface DataSetsList { - // List of datasets - value?: DataSet[]; -} - -export interface DataSet { - // Dataset name - Name?: string; - // Dataset display name - DisplayName?: string; - // Pass-through Native Queries - query?: PassThroughNativeQuery[]; -} - -export interface Procedure { - // Procedure name - Name?: string; - // Procedure display name - DisplayName?: string; -} - -export interface PassThroughNativeQuery { - // Query language - Language?: string; -} - -export interface ResponseToEventInvite { - // Comment - Comment?: string; - // Send response to organizer? - SendResponse?: boolean; -} - -export interface DirectForwardMessage { - // Comment - Comment?: string; - // Semicolon separated list of recipients to forward the message to - ToRecipients: string; -} diff --git a/src/generated/services/Outlook_comService.ts b/src/generated/services/Outlook_comService.ts deleted file mode 100644 index a0f12359..00000000 --- a/src/generated/services/Outlook_comService.ts +++ /dev/null @@ -1,1342 +0,0 @@ -/*! - * Copyright (C) Microsoft Corporation. All rights reserved. - * This file is autogenerated. Do not edit this file directly. - */ - -import type { ApprovalEmailSubscription } from '../models/Outlook_comModel'; -import type { BatchResponse_ClientReceiveMessage } from '../models/Outlook_comModel'; -import type { CalendarEventBackend } from '../models/Outlook_comModel'; -import type { CalendarEventClient } from '../models/Outlook_comModel'; -import type { CalendarEventClientReceiveStringEnums } from '../models/Outlook_comModel'; -import type { CalendarEventHtmlClient } from '../models/Outlook_comModel'; -import type { CalendarEventList } from '../models/Outlook_comModel'; -import type { CalendarEventListClientReceive } from '../models/Outlook_comModel'; -import type { CalendarEventListWithActionType } from '../models/Outlook_comModel'; -import type { ClientReceiveMessage } from '../models/Outlook_comModel'; -import type { ClientReceiveMessageStringEnums } from '../models/Outlook_comModel'; -import type { ClientSendHtmlMessage } from '../models/Outlook_comModel'; -import type { ClientSendMessage } from '../models/Outlook_comModel'; -import type { ClientSubscription } from '../models/Outlook_comModel'; -import type { Contact } from '../models/Outlook_comModel'; -import type { ContactResponse } from '../models/Outlook_comModel'; -import type { DataSetsList } from '../models/Outlook_comModel'; -import type { DataSetsMetadata } from '../models/Outlook_comModel'; -import type { DirectForwardMessage } from '../models/Outlook_comModel'; -import type { EntityListResponse_CalendarEventBackend } from '../models/Outlook_comModel'; -import type { EntityListResponse_CalendarEventClientReceiveStringEnums } from '../models/Outlook_comModel'; -import type { EntityListResponse_ContactResponse } from '../models/Outlook_comModel'; -import type { EntityListResponse_FilePickerFile } from '../models/Outlook_comModel'; -import type { EntityListResponse_Table } from '../models/Outlook_comModel'; -import type { IOperationResult } from '@microsoft/power-apps/data'; -import type { OptionsEmailSubscription } from '../models/Outlook_comModel'; -import type { PaginatedListResponse_CalendarEventClientReceiveStringEnums } from '../models/Outlook_comModel'; -import type { ReplyHtmlMessage } from '../models/Outlook_comModel'; -import type { ReplyMessage } from '../models/Outlook_comModel'; -import type { ResponseToEventInvite } from '../models/Outlook_comModel'; -import type { SubscriptionPayload_OutlookReceiveMessage } from '../models/Outlook_comModel'; -import type { SubscriptionPayload_SubscriptionEvent } from '../models/Outlook_comModel'; -import type { TableMetadata } from '../models/Outlook_comModel'; -import type { TriggerBatchResponse_ClientReceiveMessage } from '../models/Outlook_comModel'; -import { dataSourcesInfo } from '../../../.power/schemas/appschemas/dataSourcesInfo'; -import { getClient } from '@microsoft/power-apps/data'; - -export class Outlook_comService { - private static readonly dataSourceName = 'outlook'; - - private static readonly client = getClient(dataSourcesInfo); - - /** - * Get calendar metadata - * This operation gets metadata for a calendar. - */ - public static async CalendarGetTable(table: string): Promise> { - const params: { table: string } = { table }; - const result = await Outlook_comService.client.executeAsync<{ table: string }, TableMetadata>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetTable', - parameters: params - }, - }); - return result; - } - - /** - * Get folder metadata - * This operation gets metadata for a contacts folder. - */ - public static async ContactGetTable(table: string): Promise> { - const params: { table: string } = { table }; - const result = await Outlook_comService.client.executeAsync<{ table: string }, TableMetadata>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactGetTable', - parameters: params - }, - }); - return result; - } - - /** - * When an upcoming event is starting soon - * This operation triggers a flow when an upcoming calendar event is starting. - */ - public static async OnUpcomingEvents(table: string, lookAheadTimeInMinutes?: number): Promise> { - const params: { table: string, lookAheadTimeInMinutes?: number } = { table, lookAheadTimeInMinutes }; - const result = await Outlook_comService.client.executeAsync<{ table: string, lookAheadTimeInMinutes?: number }, CalendarEventList>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnUpcomingEvents', - parameters: params - }, - }); - return result; - } - - /** - * When an upcoming event is starting soon (V2) - * This operation triggers a flow when an upcoming calendar event is starting. - */ - public static async OnUpcomingEventsV2(table: string, lookAheadTimeInMinutes?: number): Promise> { - const params: { table: string, lookAheadTimeInMinutes?: number } = { table, lookAheadTimeInMinutes }; - const result = await Outlook_comService.client.executeAsync<{ table: string, lookAheadTimeInMinutes?: number }, CalendarEventListClientReceive>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnUpcomingEventsV2', - parameters: params - }, - }); - return result; - } - - /** - * Get calendar view of events - * Get calendar view of events. - */ - public static async GetEventsCalendarView(calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string): Promise> { - const params: { calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string } = { calendarId, startDateTimeOffset, endDateTimeOffset }; - const result = await Outlook_comService.client.executeAsync<{ calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string }, PaginatedListResponse_CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetEventsCalendarView', - parameters: params - }, - }); - return result; - } - - /** - * When an event is added, updated or deleted in a calendar - Outlook subscription - * Create an Outlook webhook subscription for the trigger when an event is added, updated or deleted in a calendar. - */ - public static async CreateOnChangedEventPokeSubscription(subscription: ClientSubscription, table: string, incomingDays?: number, pastDays?: number): Promise> { - const params: { subscription: ClientSubscription, table: string, incomingDays?: number, pastDays?: number } = { subscription, table, incomingDays, pastDays }; - const result = await Outlook_comService.client.executeAsync<{ subscription: ClientSubscription, table: string, incomingDays?: number, pastDays?: number }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CreateOnChangedEventPokeSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Delete event subscription - * This operation deletes an event subscription. - */ - public static async DeleteEventSubscription(id: string, options: string): Promise> { - const params: { id: string, options: string } = { id, options }; - const result = await Outlook_comService.client.executeAsync<{ id: string, options: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'DeleteEventSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Update web hook - * Update web hook with renew interval. - */ - public static async RenewEventSubscription(id: string, options: string, subscription: ClientSubscription): Promise> { - const params: { id: string, options: string, subscription: ClientSubscription } = { id, options, subscription }; - const result = await Outlook_comService.client.executeAsync<{ id: string, options: string, subscription: ClientSubscription }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'RenewEventSubscription', - parameters: params - }, - }); - return result; - } - - /** - * When the file picker is opened for the first time - * When the file picker is opened for the first time. - */ - public static async OnFilePickerOpen(operation: string, top?: number, skip?: number, mailboxAddress?: string): Promise> { - const params: { operation: string, top?: number, skip?: number, mailboxAddress?: string } = { operation, top, skip, mailboxAddress }; - const result = await Outlook_comService.client.executeAsync<{ operation: string, top?: number, skip?: number, mailboxAddress?: string }, EntityListResponse_FilePickerFile>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnFilePickerOpen', - parameters: params - }, - }); - return result; - } - - /** - * When the file picker is open and being browsed - * When the file picker is open and being browsed. - */ - public static async OnFilePickerBrowse(operation: string, id: string, top?: number, skip?: number, mailboxAddress?: string): Promise> { - const params: { operation: string, id: string, top?: number, skip?: number, mailboxAddress?: string } = { operation, id, top, skip, mailboxAddress }; - const result = await Outlook_comService.client.executeAsync<{ operation: string, id: string, top?: number, skip?: number, mailboxAddress?: string }, EntityListResponse_FilePickerFile>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnFilePickerBrowse', - parameters: params - }, - }); - return result; - } - - /** - * Get emails - * This operation gets emails from a folder. - */ - public static async GetEmails(folderPath?: string, fetchOnlyUnread?: boolean, includeAttachments?: boolean, searchQuery?: string, top?: number, skip?: number): Promise> { - const params: { folderPath?: string, fetchOnlyUnread?: boolean, includeAttachments?: boolean, searchQuery?: string, top?: number, skip?: number } = { folderPath, fetchOnlyUnread, includeAttachments, searchQuery, top, skip }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, fetchOnlyUnread?: boolean, includeAttachments?: boolean, searchQuery?: string, top?: number, skip?: number }, ClientReceiveMessageStringEnums[]>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetEmails', - parameters: params - }, - }); - return result; - } - - /** - * Send an email - * This operation sends an email message. - */ - public static async SendEmail(emailMessage: ClientSendMessage): Promise> { - const params: { emailMessage: ClientSendMessage } = { emailMessage }; - const result = await Outlook_comService.client.executeAsync<{ emailMessage: ClientSendMessage }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'SendEmail', - parameters: params - }, - }); - return result; - } - - /** - * Get emails (V2) - * This operation gets emails from a folder. - */ - public static async GetEmailsV2(folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, subjectFilter?: string, fetchOnlyUnread?: boolean, fetchOnlyFlagged?: boolean, mailboxAddress?: string, includeAttachments?: boolean, searchQuery?: string, top?: number): Promise> { - const params: { folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, subjectFilter?: string, fetchOnlyUnread?: boolean, fetchOnlyFlagged?: boolean, mailboxAddress?: string, includeAttachments?: boolean, searchQuery?: string, top?: number } = { folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, subjectFilter, fetchOnlyUnread, fetchOnlyFlagged, mailboxAddress, includeAttachments, searchQuery, top }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, subjectFilter?: string, fetchOnlyUnread?: boolean, fetchOnlyFlagged?: boolean, mailboxAddress?: string, includeAttachments?: boolean, searchQuery?: string, top?: number }, BatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetEmailsV2', - parameters: params - }, - }); - return result; - } - - /** - * Send an email (V2) - * This operation sends an email message. - */ - public static async SendEmailV2(emailMessage: ClientSendHtmlMessage): Promise> { - const params: { emailMessage: ClientSendHtmlMessage } = { emailMessage }; - const result = await Outlook_comService.client.executeAsync<{ emailMessage: ClientSendHtmlMessage }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'SendEmailV2', - parameters: params - }, - }); - return result; - } - - /** - * Get email - * This operation gets an email by id. - */ - public static async GetEmail(messageId: string, includeAttachments?: boolean, internetMessageId?: string): Promise> { - const params: { messageId: string, includeAttachments?: boolean, internetMessageId?: string } = { messageId, includeAttachments, internetMessageId }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, includeAttachments?: boolean, internetMessageId?: string }, ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetEmail', - parameters: params - }, - }); - return result; - } - - /** - * Delete email - * This operation deletes an email by id. - */ - public static async DeleteEmail(messageId: string): Promise> { - const params: { messageId: string } = { messageId }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'DeleteEmail', - parameters: params - }, - }); - return result; - } - - /** - * Move email - * This operation moves an email to the specified folder. - */ - public static async Move(messageId: string, folderPath: string): Promise> { - const params: { messageId: string, folderPath: string } = { messageId, folderPath }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, folderPath: string }, ClientReceiveMessageStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'Move', - parameters: params - }, - }); - return result; - } - - /** - * Flag email - * This operation flags an email. - */ - public static async Flag(messageId: string): Promise> { - const params: { messageId: string } = { messageId }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'Flag', - parameters: params - }, - }); - return result; - } - - /** - * Mark as read - * This operation marks an email as having been read. - */ - public static async MarkAsRead(messageId: string): Promise> { - const params: { messageId: string } = { messageId }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'MarkAsRead', - parameters: params - }, - }); - return result; - } - - /** - * Reply to email - * This operation replies to an email. - */ - public static async ReplyTo(messageId: string, comment: string, replyAll?: boolean): Promise> { - const params: { messageId: string, comment: string, replyAll?: boolean } = { messageId, comment, replyAll }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, comment: string, replyAll?: boolean }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReplyTo', - parameters: params - }, - }); - return result; - } - - /** - * Reply to email (V2) - * This operation replies to an email. - */ - public static async ReplyToV2(messageId: string, replyParameters: ReplyMessage): Promise> { - const params: { messageId: string, replyParameters: ReplyMessage } = { messageId, replyParameters }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, replyParameters: ReplyMessage }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReplyToV2', - parameters: params - }, - }); - return result; - } - - /** - * Reply to email (V3) - * This operation replies to an email. - */ - public static async ReplyToV3(messageId: string, replyParameters: ReplyHtmlMessage): Promise> { - const params: { messageId: string, replyParameters: ReplyHtmlMessage } = { messageId, replyParameters }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, replyParameters: ReplyHtmlMessage }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReplyToV3', - parameters: params - }, - }); - return result; - } - - /** - * Get attachment - * This operation gets an email attachment by id. - */ - public static async GetAttachment(messageId: string, attachmentId: string): Promise> { - const params: { messageId: string, attachmentId: string } = { messageId, attachmentId }; - const result = await Outlook_comService.client.executeAsync<{ messageId: string, attachmentId: string }, string>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetAttachment', - parameters: params - }, - }); - return result; - } - - /** - * When a new email arrives - * This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments. - */ - public static async OnNewEmail(folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, x_ms_operation_context?: string): Promise> { - const params: { folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, "x-ms-operation-context"?: string } = { folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter, "x-ms-operation-context": x_ms_operation_context }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, "x-ms-operation-context"?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnNewEmail', - parameters: params - }, - }); - return result; - } - - /** - * When a new email arrives (V2) - * This operation triggers a flow when a new email arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments. - */ - public static async OnNewEmailV2(folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, x_ms_operation_context?: string): Promise> { - const params: { folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, "x-ms-operation-context"?: string } = { folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter, "x-ms-operation-context": x_ms_operation_context }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string, "x-ms-operation-context"?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnNewEmailV2', - parameters: params - }, - }); - return result; - } - - /** - * When an email is flagged - * This operation triggers a flow when an email is flagged. - */ - public static async OnFlaggedEmail(folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string): Promise> { - const params: { folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string } = { folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnFlaggedEmail', - parameters: params - }, - }); - return result; - } - - /** - * When an email is flagged (V2) - * This operation triggers a flow when an email is flagged. - */ - public static async OnFlaggedEmailV2(folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string): Promise> { - const params: { folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string } = { folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter }; - const result = await Outlook_comService.client.executeAsync<{ folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnFlaggedEmailV2', - parameters: params - }, - }); - return result; - } - - /** - * When a new email mentioning me arrives - * This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments. - */ - public static async OnNewMentionMeEmail(messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string): Promise> { - const params: { messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string } = { messageIdToFireOnFirstTriggerRun, folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter }; - const result = await Outlook_comService.client.executeAsync<{ messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnNewMentionMeEmail', - parameters: params - }, - }); - return result; - } - - /** - * When a new email mentioning me arrives (V2) - * This operation triggers a flow when a new email mentioning me arrives. It will skip any email that has a total message size greater than the limit put by your Exchange Admin or 50 MB, whichever is less. It may also skip protected emails and emails with invalid body or attachments. - */ - public static async OnNewMentionMeEmailV2(messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string): Promise> { - const params: { messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string } = { messageIdToFireOnFirstTriggerRun, folderPath, to, cc, toOrCc, from, importance, fetchOnlyWithAttachment, includeAttachments, subjectFilter }; - const result = await Outlook_comService.client.executeAsync<{ messageIdToFireOnFirstTriggerRun?: string, folderPath?: string, to?: string, cc?: string, toOrCc?: string, from?: string, importance?: string, fetchOnlyWithAttachment?: boolean, includeAttachments?: boolean, subjectFilter?: string }, TriggerBatchResponse_ClientReceiveMessage>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'OnNewMentionMeEmailV2', - parameters: params - }, - }); - return result; - } - - /** - * Create a webhook subscription for the trigger when a new email arrives - * Create a webhook subscription for the trigger when a new email arrives. - */ - public static async CreateOnNewEmailPokeSubscription(subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean): Promise> { - const params: { subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean } = { subscription, folderPath, importance, fetchOnlyWithAttachment }; - const result = await Outlook_comService.client.executeAsync<{ subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CreateOnNewEmailPokeSubscription', - parameters: params - }, - }); - return result; - } - - /** - * When a new mentioning me email arrives - Outlook subscription - * Create an Outlook webhook subscription for the trigger when a new mentioning me email arrives. - */ - public static async CreateOnNewMentionMeEmailPokeSubscription(subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean): Promise> { - const params: { subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean } = { subscription, folderPath, importance, fetchOnlyWithAttachment }; - const result = await Outlook_comService.client.executeAsync<{ subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CreateOnNewMentionMeEmailPokeSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Create an Outlook webhook subscription for the trigger when an email is flagged - * Create an Outlook webhook subscription for the trigger when an email is flagged. - */ - public static async CreateOnFlaggedEmailPokeSubscription(subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean): Promise> { - const params: { subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean } = { subscription, folderPath, importance, fetchOnlyWithAttachment }; - const result = await Outlook_comService.client.executeAsync<{ subscription: ClientSubscription, folderPath?: string, importance?: string, fetchOnlyWithAttachment?: boolean }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CreateOnFlaggedEmailPokeSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Delete mail subscription - * This operation deletes a mail subscription. - */ - public static async DeleteOnNewEmailSubscription(id: string, options: string): Promise> { - const params: { id: string, options: string } = { id, options }; - const result = await Outlook_comService.client.executeAsync<{ id: string, options: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'DeleteOnNewEmailSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Update web hook - * Update web hook with renew interval. - */ - public static async RenewOnNewEmailSubscription(id: string, options: string, subscription: ClientSubscription): Promise> { - const params: { id: string, options: string, subscription: ClientSubscription } = { id, options, subscription }; - const result = await Outlook_comService.client.executeAsync<{ id: string, options: string, subscription: ClientSubscription }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'RenewOnNewEmailSubscription', - parameters: params - }, - }); - return result; - } - - public static async GetDataSetsMetadata(): Promise> { - const result = await Outlook_comService.client.executeAsync( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetDataSetsMetadata', - }, - }); - return result; - } - - /** - * Send email with options - * This operation sends an email with multiple options and waits for the recipient to respond back with one of the options. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages. - */ - public static async SendMailWithOptions(optionsEmailSubscription: OptionsEmailSubscription): Promise> { - const params: { optionsEmailSubscription: OptionsEmailSubscription } = { optionsEmailSubscription }; - const result = await Outlook_comService.client.executeAsync<{ optionsEmailSubscription: OptionsEmailSubscription }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'SendMailWithOptions', - parameters: params - }, - }); - return result; - } - - /** - * Send approval email - * This operation sends an approval email and waits for a response from the recipient. Please refer to the following link regarding the support of actionable messages in different mail clients: https://docs.microsoft.com/outlook/actionable-messages/#outlook-version-requirements-for-actionable-messages. - */ - public static async SendApprovalMail(approvalEmailSubscription: ApprovalEmailSubscription): Promise> { - const params: { approvalEmailSubscription: ApprovalEmailSubscription } = { approvalEmailSubscription }; - const result = await Outlook_comService.client.executeAsync<{ approvalEmailSubscription: ApprovalEmailSubscription }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'SendApprovalMail', - parameters: params - }, - }); - return result; - } - - /** - * Delete approval email subscription - * This operation deletes a subscription of approval email. - */ - public static async DeleteApprovalMailSubscription(id: string): Promise> { - const params: { id: string } = { id }; - const result = await Outlook_comService.client.executeAsync<{ id: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'DeleteApprovalMailSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Delete options email subscription - * This operation deletes a subscription of options email. - */ - public static async DeleteOptionsMailSubscription(id: string): Promise> { - const params: { id: string } = { id }; - const result = await Outlook_comService.client.executeAsync<{ id: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'DeleteOptionsMailSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Tests the connection - * Tests the connection. - */ - public static async TestConnection(): Promise> { - const result = await Outlook_comService.client.executeAsync( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'TestConnection', - }, - }); - return result; - } - - /** - * Get calendars - * This operation lists available calendars. - */ - public static async CalendarGetTables(): Promise> { - const result = await Outlook_comService.client.executeAsync( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetTables', - }, - }); - return result; - } - - /** - * Get events (V1) - * This operation gets events from a calendar. (V1) - */ - public static async CalendarGetItems(table: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $orderby?: string, $top?: number, $skip?: number } = { table, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $orderby?: string, $top?: number, $skip?: number }, EntityListResponse_CalendarEventBackend>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetItems', - parameters: params - }, - }); - return result; - } - - /** - * Create event (V1) - * This operation creates a new event in a calendar. (V1) - */ - public static async CalendarPostItem(table: string, item: CalendarEventBackend): Promise> { - const params: { table: string, item: CalendarEventBackend } = { table, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, item: CalendarEventBackend }, CalendarEventBackend>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarPostItem', - parameters: params - }, - }); - return result; - } - - /** - * Get event (V1) - * This operation gets a specific event from a calendar. (V1) - */ - public static async CalendarGetItem(table: string, id: string): Promise> { - const params: { table: string, id: string } = { table, id }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string }, CalendarEventBackend>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetItem', - parameters: params - }, - }); - return result; - } - - /** - * Delete event - * This operation deletes an event in a calendar. - */ - public static async CalendarDeleteItem(table: string, id: string): Promise> { - const params: { table: string, id: string } = { table, id }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarDeleteItem', - parameters: params - }, - }); - return result; - } - - /** - * Update event (V1) - * This operation updates an event in a calendar. (V1) - */ - public static async CalendarPatchItem(table: string, id: string, item: CalendarEventBackend): Promise> { - const params: { table: string, id: string, item: CalendarEventBackend } = { table, id, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string, item: CalendarEventBackend }, CalendarEventBackend>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarPatchItem', - parameters: params - }, - }); - return result; - } - - /** - * Get events (V3) - * This operation gets events from a calendar. (V3) - */ - public static async V3CalendarGetItems(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventListClientReceive>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V3CalendarGetItems', - parameters: params - }, - }); - return result; - } - - /** - * Create event (V3) - * This operation creates a new event in a calendar. - */ - public static async V3CalendarPostItem(table: string, item: CalendarEventHtmlClient): Promise> { - const params: { table: string, item: CalendarEventHtmlClient } = { table, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, item: CalendarEventHtmlClient }, CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V3CalendarPostItem', - parameters: params - }, - }); - return result; - } - - /** - * Get events (V2) - * This operation gets events from a calendar. (V2) - */ - public static async V2CalendarGetItems(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, EntityListResponse_CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V2CalendarGetItems', - parameters: params - }, - }); - return result; - } - - /** - * Create event (V2) - * This operation creates a new event in a calendar. (V2) - */ - public static async V2CalendarPostItem(table: string, item: CalendarEventClient): Promise> { - const params: { table: string, item: CalendarEventClient } = { table, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, item: CalendarEventClient }, CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V2CalendarPostItem', - parameters: params - }, - }); - return result; - } - - /** - * Get calendar view of events (V2) - * This operation gets all events (including instances of recurrences) in a calendar. (V2) - */ - public static async GetEventsCalendarViewV2(calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number, search?: string): Promise> { - const params: { calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number, search?: string } = { calendarId, startDateTimeOffset, endDateTimeOffset, $filter, $orderby, $top, $skip, search }; - const result = await Outlook_comService.client.executeAsync<{ calendarId: string, startDateTimeOffset: string, endDateTimeOffset: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number, search?: string }, EntityListResponse_CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetEventsCalendarViewV2', - parameters: params - }, - }); - return result; - } - - /** - * Get event (V2) - * This operation gets a specific event from a calendar. (V2) - */ - public static async V2CalendarGetItem(table: string, id: string): Promise> { - const params: { table: string, id: string } = { table, id }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string }, CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V2CalendarGetItem', - parameters: params - }, - }); - return result; - } - - /** - * Update event (V2) - * This operation updates an event in a calendar. (V2) - */ - public static async V2CalendarPatchItem(table: string, id: string, item: CalendarEventClient): Promise> { - const params: { table: string, id: string, item: CalendarEventClient } = { table, id, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string, item: CalendarEventClient }, CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V2CalendarPatchItem', - parameters: params - }, - }); - return result; - } - - /** - * Update event (V3) - * This operation updates an event in a calendar. - */ - public static async V3CalendarPatchItem(table: string, id: string, item: CalendarEventHtmlClient): Promise> { - const params: { table: string, id: string, item: CalendarEventHtmlClient } = { table, id, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string, item: CalendarEventHtmlClient }, CalendarEventClientReceiveStringEnums>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'V3CalendarPatchItem', - parameters: params - }, - }); - return result; - } - - /** - * When a new event is created (V1) - * This operation triggers a flow when a new event is created in a calendar. (V1) - */ - public static async CalendarGetOnNewItems(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventList>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnNewItems', - parameters: params - }, - }); - return result; - } - - /** - * When an event is modified (V1) - * This operation triggers a flow when an event is modified in a calendar. (V1) - */ - public static async CalendarGetOnUpdatedItems(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventList>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnUpdatedItems', - parameters: params - }, - }); - return result; - } - - /** - * When a new item is created in a table - * This operation triggers a flow when a new item is created in a table. - */ - public static async ODataStyleGetOnNewItems(dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { dataset, table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventList>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ODataStyleGetOnNewItems', - parameters: params - }, - }); - return result; - } - - /** - * When an item is modified - * This operation triggers a flow when an item is modified in a table. - */ - public static async ODataStyleCalendarGetOnUpdatedItems(dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { dataset, table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ dataset: string, table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventList>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ODataStyleCalendarGetOnUpdatedItems', - parameters: params - }, - }); - return result; - } - - /** - * When a new event is created (V2) - * This operation triggers a flow when a new event is created in a calendar. (V2) - */ - public static async CalendarGetOnNewItemsV2(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventListClientReceive>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnNewItemsV2', - parameters: params - }, - }); - return result; - } - - /** - * When an event is modified (V2) - * This operation triggers a flow when an event is modified in a calendar. (V2) - */ - public static async CalendarGetOnUpdatedItemsV2(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, CalendarEventListClientReceive>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnUpdatedItemsV2', - parameters: params - }, - }); - return result; - } - - /** - * When an event is added, updated or deleted - * This operation triggers a flow when an event is added, updated or deleted in a calendar. - */ - public static async CalendarGetOnChangedItems(table: string, incomingDays?: number, pastDays?: number): Promise> { - const params: { table: string, incomingDays?: number, pastDays?: number } = { table, incomingDays, pastDays }; - const result = await Outlook_comService.client.executeAsync<{ table: string, incomingDays?: number, pastDays?: number }, CalendarEventListWithActionType>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnChangedItems', - parameters: params - }, - }); - return result; - } - - /** - * When an event is added, updated or deleted (V2) - * This operation triggers a flow when an event is added, updated or deleted in a calendar. - */ - public static async CalendarGetOnChangedItemsV2(table: string, incomingDays?: number, pastDays?: number): Promise> { - const params: { table: string, incomingDays?: number, pastDays?: number } = { table, incomingDays, pastDays }; - const result = await Outlook_comService.client.executeAsync<{ table: string, incomingDays?: number, pastDays?: number }, CalendarEventListWithActionType>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'CalendarGetOnChangedItemsV2', - parameters: params - }, - }); - return result; - } - - /** - * Get contact folders - * This operation lists available contacts folders. - */ - public static async ContactGetTables(): Promise> { - const result = await Outlook_comService.client.executeAsync( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactGetTables', - }, - }); - return result; - } - - /** - * Get contacts - * This operation gets contacts from a contacts folder. - */ - public static async ContactGetItems(table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number): Promise> { - const params: { table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number } = { table, $filter, $orderby, $top, $skip }; - const result = await Outlook_comService.client.executeAsync<{ table: string, $filter?: string, $orderby?: string, $top?: number, $skip?: number }, EntityListResponse_ContactResponse>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactGetItems', - parameters: params - }, - }); - return result; - } - - /** - * Create contact - * This operation creates a new contact in a contacts folder. - */ - public static async ContactPostItem(table: string, item: Contact): Promise> { - const params: { table: string, item: Contact } = { table, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, item: Contact }, ContactResponse>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactPostItem', - parameters: params - }, - }); - return result; - } - - /** - * Get contact - * This operation gets a specific contact from a contacts folder. - */ - public static async ContactGetItem(table: string, id: string): Promise> { - const params: { table: string, id: string } = { table, id }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string }, ContactResponse>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactGetItem', - parameters: params - }, - }); - return result; - } - - /** - * Delete contact - * This operation deletes a contact from a contacts folder. - */ - public static async ContactDeleteItem(table: string, id: string): Promise> { - const params: { table: string, id: string } = { table, id }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactDeleteItem', - parameters: params - }, - }); - return result; - } - - /** - * Update contact - * This operation updates a contact in a contacts folder. - */ - public static async ContactPatchItem(table: string, id: string, item: Contact): Promise> { - const params: { table: string, id: string, item: Contact } = { table, id, item }; - const result = await Outlook_comService.client.executeAsync<{ table: string, id: string, item: Contact }, ContactResponse>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ContactPatchItem', - parameters: params - }, - }); - return result; - } - - /** - * Get datasets - * This operation gets Contacts or Calendars - */ - public static async GetDataSets(): Promise> { - const result = await Outlook_comService.client.executeAsync( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'GetDataSets', - }, - }); - return result; - } - - /** - * Respond to an event invite - * Respond to an event invite. - */ - public static async RespondToEvent(event_id: string, response: string, body?: ResponseToEventInvite): Promise> { - const params: { event_id: string, response: string, body?: ResponseToEventInvite } = { event_id, response, body }; - const result = await Outlook_comService.client.executeAsync<{ event_id: string, response: string, body?: ResponseToEventInvite }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'RespondToEvent', - parameters: params - }, - }); - return result; - } - - /** - * Forward an email - * Forward an email. - */ - public static async ForwardEmail(message_id: string, body: DirectForwardMessage): Promise> { - const params: { message_id: string, body: DirectForwardMessage } = { message_id, body }; - const result = await Outlook_comService.client.executeAsync<{ message_id: string, body: DirectForwardMessage }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ForwardEmail', - parameters: params - }, - }); - return result; - } - - /** - * Receives response from user - * This operation gets a response from the user. - */ - public static async ReceiveResponseGet(state: string, sig?: string, showConfirm?: boolean): Promise> { - const params: { state: string, sig?: string, showConfirm?: boolean } = { state, sig, showConfirm }; - const result = await Outlook_comService.client.executeAsync<{ state: string, sig?: string, showConfirm?: boolean }, string>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveResponseGet', - parameters: params - }, - }); - return result; - } - - /** - * Receives response from user - * This operation gets a response from the user. - */ - public static async ReceiveResponsePost(state: string, sig?: string, fromConfirm?: boolean): Promise> { - const params: { state: string, sig?: string, fromConfirm?: boolean } = { state, sig, fromConfirm }; - const result = await Outlook_comService.client.executeAsync<{ state: string, sig?: string, fromConfirm?: boolean }, string>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveResponsePost', - parameters: params - }, - }); - return result; - } - - /** - * Receive mail - * This operation validates the subscription request. - */ - public static async ReceiveMailFromSubscription(state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, validationtoken?: string): Promise> { - const params: { state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, validationtoken?: string } = { state, subscriptionPayload, validationtoken }; - const result = await Outlook_comService.client.executeAsync<{ state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, validationtoken?: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveMailFromSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Receive mail (V2) - * This operation validates the subscription request. - */ - public static async ReceiveMailFromSubscriptionV2(state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, subscribedConnectionId: string, validationtoken?: string): Promise> { - const params: { state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, subscribedConnectionId: string, validationtoken?: string } = { state, subscriptionPayload, subscribedConnectionId, validationtoken }; - const result = await Outlook_comService.client.executeAsync<{ state: string, subscriptionPayload: SubscriptionPayload_OutlookReceiveMessage, subscribedConnectionId: string, validationtoken?: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveMailFromSubscriptionV2', - parameters: params - }, - }); - return result; - } - - /** - * Receive event - * This operation validates the subscription request. - */ - public static async ReceiveEventFromSubscription(state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, validationtoken?: string): Promise> { - const params: { state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, validationtoken?: string } = { state, subscriptionPayload, validationtoken }; - const result = await Outlook_comService.client.executeAsync<{ state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, validationtoken?: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveEventFromSubscription', - parameters: params - }, - }); - return result; - } - - /** - * Receive event (V2) - * This operation validates the subscription request. - */ - public static async ReceiveEventFromSubscriptionV2(state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, subscribedConnectionId: string, validationtoken?: string): Promise> { - const params: { state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, subscribedConnectionId: string, validationtoken?: string } = { state, subscriptionPayload, subscribedConnectionId, validationtoken }; - const result = await Outlook_comService.client.executeAsync<{ state: string, subscriptionPayload: SubscriptionPayload_SubscriptionEvent, subscribedConnectionId: string, validationtoken?: string }, void>( - { - connectorOperation: { - tableName: Outlook_comService.dataSourceName, - operationName: 'ReceiveEventFromSubscriptionV2', - parameters: params - }, - }); - return result; - } -}