{
  "outlook-read": {
    "host": "graph.microsoft.com",
    "header": "authorization",
    "kind": "oauth-refresh",
    "prefix": "Bearer ",
    "allowed_methods": [
      "GET"
    ],
    "path_prefixes": [
      "/v1.0/me/messages",
      "/v1.0/me/mailFolders"
    ],
    "oauth": {
      "token_url": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "client_id_env": "MICROSOFT_CLIENT_ID",
      "client_secret_env": "",
      "connection": "microsoft",
      "scope": "offline_access https://graph.microsoft.com/Mail.Read"
    }
  },
  "outlook-draft": {
    "host": "graph.microsoft.com",
    "header": "authorization",
    "kind": "oauth-refresh",
    "prefix": "Bearer ",
    "allowed_methods": [
      "POST"
    ],
    "path_prefixes": [
      "/v1.0/me/messages$"
    ],
    "preview": "graph-message",
    "requires_approval": [
      "POST"
    ],
    "approval_kind": "send",
    "require_device_signature": true,
    "oauth": {
      "token_url": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "client_id_env": "MICROSOFT_CLIENT_ID",
      "client_secret_env": "",
      "connection": "microsoft",
      "scope": "offline_access https://graph.microsoft.com/Mail.ReadWrite"
    }
  },
  "outlook-send": {
    "host": "graph.microsoft.com",
    "header": "authorization",
    "kind": "oauth-refresh",
    "prefix": "Bearer ",
    "allowed_methods": [
      "POST"
    ],
    "path_prefixes": [
      "/v1.0/me/sendMail$"
    ],
    "preview": "graph-message",
    "requires_approval": [
      "POST"
    ],
    "approval_kind": "send",
    "require_device_signature": true,
    "oauth": {
      "token_url": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "client_id_env": "MICROSOFT_CLIENT_ID",
      "client_secret_env": "",
      "connection": "microsoft",
      "scope": "offline_access https://graph.microsoft.com/Mail.Send"
    }
  },
  "outlook-calendar-read": {
    "host": "graph.microsoft.com",
    "header": "authorization",
    "kind": "oauth-refresh",
    "prefix": "Bearer ",
    "allowed_methods": [
      "GET"
    ],
    "path_prefixes": [
      "/v1.0/me/calendarView$",
      "/v1.0/me/events"
    ],
    "oauth": {
      "token_url": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "client_id_env": "MICROSOFT_CLIENT_ID",
      "client_secret_env": "",
      "connection": "microsoft",
      "scope": "offline_access https://graph.microsoft.com/Calendars.Read"
    }
  },
  "outlook-calendar-write": {
    "host": "graph.microsoft.com",
    "header": "authorization",
    "kind": "oauth-refresh",
    "prefix": "Bearer ",
    "allowed_methods": [
      "POST"
    ],
    "path_prefixes": [
      "/v1.0/me/events$"
    ],
    "preview": "graph-event",
    "requires_approval": [
      "POST"
    ],
    "approval_kind": "send",
    "require_device_signature": true,
    "oauth": {
      "token_url": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "client_id_env": "MICROSOFT_CLIENT_ID",
      "client_secret_env": "",
      "connection": "microsoft",
      "scope": "offline_access https://graph.microsoft.com/Calendars.ReadWrite"
    }
  }
}
