integrations/email/outlook/dist/runtime¶
Interfaces¶
OutlookAttachmentResource¶
Indexable¶
Properties¶
contentType?¶
id?¶
isInline?¶
name?¶
size?¶
OutlookChangeNotification¶
Indexable¶
Properties¶
changeType?¶
clientState?¶
encryptedContent?¶
lifecycleEvent?¶
resource?¶
resourceData?¶
subscriptionExpirationDateTime?¶
subscriptionId?¶
tenantId?¶
OutlookChangeNotificationPayload¶
Indexable¶
Properties¶
validationTokens?¶
value?¶
OutlookCreateDraftInput¶
Extends¶
Properties¶
additionalFields?¶
Inherited from¶
OutlookMessageInput.additionalFields
attachments?¶
Inherited from¶
OutlookMessageInput.attachments
bccRecipients?¶
Inherited from¶
OutlookMessageInput.bccRecipients
body?¶
Inherited from¶
categories?¶
Inherited from¶
OutlookMessageInput.categories
ccRecipients?¶
Inherited from¶
OutlookMessageInput.ccRecipients
importance?¶
Inherited from¶
OutlookMessageInput.importance
internetMessageHeaders?¶
Inherited from¶
OutlookMessageInput.internetMessageHeaders
replyTo?¶
Inherited from¶
signal?¶
Inherited from¶
subject?¶
Inherited from¶
toRecipients?¶
Inherited from¶
OutlookMessageInput.toRecipients
OutlookCreateSubscriptionInput¶
Extends¶
Properties¶
additionalFields?¶
changeType¶
clientState?¶
encryptionCertificate?¶
encryptionCertificateId?¶
expirationDateTime¶
includeResourceData?¶
latestSupportedTlsVersion?¶
lifecycleNotificationUrl?¶
notificationUrl¶
resource¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
OutlookCredentialStatusInput¶
Properties¶
accessToken?¶
clientStateConfigured?¶
delegatedMe?¶
expiresAt?¶
scopes?¶
userId?¶
OutlookDeltaMessagesInput¶
Extends¶
Properties¶
folderId¶
select?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
top?¶
OutlookEmailClient¶
Properties¶
graphClient¶
rawClient¶
Methods¶
createDraft()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookCreateDraftInput |
Returns¶
Promise\<OutlookMessageResource>
createSubscription()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookCreateSubscriptionInput |
Returns¶
Promise\<OutlookSubscriptionResource>
deltaMessages()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookDeltaMessagesInput |
Returns¶
Promise\<OutlookListMessagesResult>
getAttachment()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookGetAttachmentInput |
Returns¶
Promise\<OutlookAttachmentResource>
getAttachmentValue()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookGetAttachmentInput |
Returns¶
Promise\<Response>
getMailboxUser()¶
Parameters¶
| Parameter | Type |
|---|---|
input? |
OutlookProviderRequestOptions |
Returns¶
Promise\<OutlookMailboxUserResource>
getMessage()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookGetMessageInput |
Returns¶
Promise\<OutlookMessageResource>
listAttachments()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookListAttachmentsInput |
Returns¶
Promise\<{
nextLink?: string;
value: OutlookAttachmentResource[];
}>
listMessages()¶
Parameters¶
| Parameter | Type |
|---|---|
input? |
OutlookListMessagesInput |
Returns¶
Promise\<OutlookListMessagesResult>
requestGraph()¶
Type Parameters¶
| Type Parameter | Default type |
|---|---|
T |
OutlookGraphResource |
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookGraphRequestInput |
Returns¶
Promise\<T>
sendMail()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookSendMailInput |
Returns¶
Promise\<OutlookSendMailResult>
updateMessage()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookUpdateMessageInput |
Returns¶
Promise\<OutlookMessageResource>
OutlookEmailClientOptions¶
Extended by¶
Properties¶
accessToken¶
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
graphApiVersion?¶
graphBaseUrl?¶
graphClient?¶
signal?¶
userId?¶
OutlookEmailJsonObject¶
Extended by¶
Indexable¶
OutlookEmailProviderExtensionFields¶
Extends¶
Indexable¶
OutlookGetAttachmentInput¶
Extends¶
Properties¶
attachmentId¶
folderId?¶
Inherited from¶
OutlookListAttachmentsInput.folderId
messageId¶
Inherited from¶
OutlookListAttachmentsInput.messageId
signal?¶
Inherited from¶
OutlookListAttachmentsInput.signal
OutlookGetMessageInput¶
Extends¶
Properties¶
expand?¶
id¶
select?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
OutlookGraphRequestInput¶
Extends¶
Properties¶
body?¶
headers?¶
method¶
path¶
pathParams?¶
query?¶
rawResponse?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
OutlookGraphResource¶
Indexable¶
OutlookInternetMessageHeader¶
Indexable¶
Properties¶
name?¶
value?¶
OutlookItemBody¶
Properties¶
content¶
contentType¶
OutlookListAttachmentsInput¶
Extends¶
Extended by¶
Properties¶
folderId?¶
messageId¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
OutlookListMessagesInput¶
Extends¶
Properties¶
expand?¶
filter?¶
folderId?¶
orderBy?¶
search?¶
select?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
skip?¶
top?¶
OutlookListMessagesResult¶
Properties¶
deltaLink?¶
nextLink?¶
value¶
OutlookLiveCheckOptions¶
Extends¶
Properties¶
accessToken¶
Inherited from¶
OutlookEmailClientOptions.accessToken
client?¶
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
Inherited from¶
OutlookEmailClientOptions.fetch
graphApiVersion?¶
Inherited from¶
OutlookEmailClientOptions.graphApiVersion
graphBaseUrl?¶
Inherited from¶
OutlookEmailClientOptions.graphBaseUrl
graphClient?¶
Inherited from¶
OutlookEmailClientOptions.graphClient
signal?¶
Inherited from¶
OutlookEmailClientOptions.signal
userId?¶
Inherited from¶
OutlookEmailClientOptions.userId
OutlookMailboxUserResource¶
Indexable¶
Properties¶
displayName?¶
id?¶
mail?¶
userPrincipalName?¶
OutlookMessageInput¶
Extends¶
Extended by¶
Properties¶
additionalFields?¶
attachments?¶
bccRecipients?¶
body?¶
categories?¶
ccRecipients?¶
importance?¶
internetMessageHeaders?¶
replyTo?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
subject?¶
toRecipients?¶
OutlookMessageResource¶
Indexable¶
Properties¶
attachments?¶
bccRecipients?¶
body?¶
bodyPreview?¶
categories?¶
ccRecipients?¶
conversationId?¶
from?¶
hasAttachments?¶
id?¶
importance?¶
internetMessageHeaders?¶
internetMessageId?¶
isRead?¶
receivedDateTime?¶
replyTo?¶
sender?¶
sentDateTime?¶
subject?¶
toRecipients?¶
webLink?¶
OutlookProviderRequestOptions¶
Extended by¶
OutlookCreateSubscriptionInputOutlookDeltaMessagesInputOutlookGetMessageInputOutlookGraphRequestInputOutlookListAttachmentsInputOutlookListMessagesInputOutlookMessageInputOutlookSendMailInput
Properties¶
signal?¶
OutlookRecipient¶
Properties¶
emailAddress¶
address¶
name?¶
OutlookResourceData¶
Indexable¶
Properties¶
etag?¶
id?¶
oDataId?¶
oDataType?¶
OutlookSendMailInput¶
Extends¶
Properties¶
message¶
saveToSentItems?¶
signal?¶
Inherited from¶
OutlookProviderRequestOptions.signal
OutlookSendMailResult¶
Properties¶
accepted¶
status?¶
OutlookSubscriptionResource¶
Indexable¶
Properties¶
applicationId?¶
changeType?¶
clientState?¶
expirationDateTime?¶
id?¶
lifecycleNotificationUrl?¶
notificationUrl?¶
resource?¶
OutlookUpdateMessageInput¶
Extends¶
Properties¶
additionalFields?¶
Inherited from¶
OutlookMessageInput.additionalFields
attachments?¶
Inherited from¶
OutlookMessageInput.attachments
bccRecipients?¶
Inherited from¶
OutlookMessageInput.bccRecipients
body?¶
Inherited from¶
categories?¶
Inherited from¶
OutlookMessageInput.categories
ccRecipients?¶
Inherited from¶
OutlookMessageInput.ccRecipients
id¶
importance?¶
Inherited from¶
OutlookMessageInput.importance
internetMessageHeaders?¶
Inherited from¶
OutlookMessageInput.internetMessageHeaders
isRead?¶
replyTo?¶
Inherited from¶
signal?¶
Inherited from¶
subject?¶
Inherited from¶
toRecipients?¶
Inherited from¶
OutlookMessageInput.toRecipients
OutlookWebhookRequest¶
Properties¶
contentType?¶
notifications¶
payload¶
rawBody¶
validationTokens¶
ParseOutlookWebhookOptions¶
Properties¶
clientState?¶
requireClientState?¶
ValidateOutlookWebhookClientStateInput¶
Properties¶
actualClientState?¶
expectedClientState¶
VerifyOutlookWebhookValidationTokenInput¶
Properties¶
validationToken¶
Type Aliases¶
OutlookEmailJsonPrimitive¶
OutlookEmailJsonValue¶
type OutlookEmailJsonValue =
| OutlookEmailJsonPrimitive
| OutlookEmailJsonObject
| readonly OutlookEmailJsonValue[];
OutlookEmailOperationCredentials¶
OutlookEmailProviderExtensionValue¶
OutlookEmailProviderPayload¶
OutlookEmailProviderQuery¶
OutlookGraphHttpMethod¶
OutlookSignedWebhook¶
Deprecated¶
Microsoft Graph change notifications are validated by clientState, not provider signatures.
Variables¶
outlookEmailIntegration¶
const outlookEmailIntegration: DefinedIntegration<{
capabilities: [{
audiences: ["customer-facing", "internal-support", "mixed"];
capability: "receive";
description: "Reads Microsoft Graph message resources and validates Outlook change notifications.";
exposesSensitiveData: true;
label: "Read Outlook messages and notifications";
providerObjects: [{
kind: "outlookMailboxUser";
label: "Outlook Mailbox User";
}, {
kind: "outlookMessage";
label: "Outlook Message";
}, {
kind: "outlookChangeNotification";
label: "Outlook Change Notification";
}];
requiresCredential: true;
}, {
audiences: ["customer-facing", "internal-support", "mixed"];
capability: "draft";
description: "Creates Microsoft Graph draft message resources for SDK-user-configured approval workflows.";
exposesSensitiveData: true;
label: "Create Outlook drafts";
providerObjects: [{
kind: "outlookMessage";
label: "Outlook Draft Message";
}];
requiresCredential: true;
sideEffect: true;
}, {
audiences: ["customer-facing", "mixed"];
capability: "send";
description: "Calls Microsoft Graph sendMail when SDK-user policy permits outbound contact.";
exposesSensitiveData: true;
label: "Send Outlook mail";
providerObjects: [{
kind: "outlookMessage";
label: "Outlook Message";
}];
requiresCredential: true;
sideEffect: true;
}, {
audiences: ["customer-facing", "internal-support", "mixed"];
capability: "read-provider-object";
description: "Reads messages, attachments, mailbox users, and raw Graph resources needed by support workflows.";
exposesSensitiveData: true;
label: "Read Outlook mailbox objects";
providerObjects: [{
kind: "outlookMessage";
label: "Outlook Message";
}, {
kind: "outlookAttachment";
label: "Outlook Attachment";
}, {
kind: "outlookMailboxUser";
label: "Outlook Mailbox User";
}];
requiresCredential: true;
}, {
audiences: ["internal-support", "mixed"];
capability: "update-provider-object";
changesWorkflow: true;
description: "Updates Microsoft Graph message fields such as categories, importance, read state, or draft content.";
exposesSensitiveData: true;
label: "Update Outlook messages";
providerObjects: [{
kind: "outlookMessage";
label: "Outlook Message";
}];
requiresCredential: true;
sideEffect: true;
}];
category: "email";
channelAudiences: ["customer-facing", "internal-support", "mixed"];
coverage: {
evidence: [{
label: "Microsoft Graph JavaScript client";
url: "https://www.npmjs.com/package/@microsoft/microsoft-graph-client";
}, {
label: "Microsoft Graph create message";
url: "https://learn.microsoft.com/en-us/graph/api/user-post-messages?view=graph-rest-1.0";
}, {
label: "Microsoft Graph sendMail";
url: "https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0";
}, {
label: "Microsoft Graph message delta";
url: "https://learn.microsoft.com/en-us/graph/api/message-delta?view=graph-rest-1.0";
}, {
label: "Microsoft Graph list attachments";
url: "https://learn.microsoft.com/en-us/graph/api/message-list-attachments?view=graph-rest-1.0";
}, {
label: "Microsoft Graph create subscription";
url: "https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0";
}, {
label: "Microsoft Graph webhook subscription lifecycle";
url: "https://learn.microsoft.com/en-us/graph/change-notifications-delivery-webhooks";
}];
notes: ["Coverage includes SDK-backed Microsoft Graph Outlook mailbox support workflows: messages, mailFolders, attachments, sendMail, subscriptions, mailbox user readiness, and change notifications.", "The package uses @microsoft/microsoft-graph-client for Graph calls and keeps Cognidesk-normalized helper methods and operation handlers.", "This is not full Microsoft Graph coverage. Calendar, contacts, files/Drive, identity, admin, security, and broader Graph resources remain outside this Outlook adapter."];
scope: "provider-api-subset";
};
credentialRequirements: [{
description: "Server-side OAuth access token for Microsoft Graph mail APIs. Required permissions are operation-specific.";
id: "microsoft-graph-oauth-access-token";
label: "Microsoft Graph OAuth access token";
metadata: {
scopeKind: "provider-oauth-scopes";
};
required: true;
scopes: ["Mail.Read", "Mail.ReadWrite", "Mail.Send", "User.Read"];
}, {
description: "Delegated /me mailbox access or a configured Microsoft Graph user ID/userPrincipalName.";
id: "microsoft-graph-mailbox-user";
label: "Mailbox user";
required: false;
}, {
description: "SDK-user-owned clientState value used to validate Microsoft Graph change notifications.";
id: "microsoft-graph-webhook-client-state";
label: "Webhook clientState secret";
required: false;
}];
directions: ["receive-only", "send-only", "bidirectional"];
id: "email.outlook";
limitations: ["Available operations depend on Microsoft Graph permissions, OAuth grant type, tenant admin consent, conditional access, mailbox licensing, Exchange Online policy, and delegated or application user selection.", "This package provides transport and webhook foundations; it does not choose default automation, retention, consent, retry, or rate-limit policies.", "Webhook validation is based on Microsoft Graph clientState matching. Subscription renewal/delete/reauthorize policy remains SDK-user-owned."];
maintainers: [{
name: "Cognidesk";
type: "official";
}];
metadata: {
channelCoverage: {
attachments: "sdk-owned-list-get-download";
drafts: "sdk-owned-create";
mailboxUser: "sdk-owned-read";
messages: "sdk-owned-list-get-delta-update";
sendMail: "sdk-owned-send";
subscriptions: "sdk-owned-create";
webhookClientState: "typed-validate";
};
implementation: {
manifestOnlyExport: "@cognidesk/integration-email-outlook/manifest";
rawClientEscapeHatch: "rawClient";
sdkPackage: "@microsoft/microsoft-graph-client";
strategy: "official-sdk";
};
};
name: "Microsoft Outlook";
operations: [{
alias: "email.receive";
capability: "receive";
exposesSensitiveData: true;
label: "Receive Outlook change notifications";
providerObject: "emailMessage";
}, {
alias: "email.send";
capability: "send";
exposesSensitiveData: true;
externallyVisible: true;
label: "Send Outlook mail";
providerObject: "emailMessage";
requiresApproval: true;
sideEffect: true;
}, {
alias: "email.draft.create";
capability: "draft";
exposesSensitiveData: true;
label: "Create Outlook draft";
providerObject: "emailDraft";
sideEffect: true;
}, {
alias: "email.attachments.read";
capability: "read-provider-object";
exposesSensitiveData: true;
label: "Read Outlook attachments";
providerObject: "attachment";
}, {
alias: "mailbox.watch";
capability: "receive";
label: "Create Microsoft Graph mailbox subscription";
providerObject: "mailbox";
sideEffect: true;
}, {
alias: "outlook.message.list";
capability: "read-provider-object";
exposesSensitiveData: true;
extension: true;
label: "List Outlook messages";
providerObject: "emailMessage";
}, {
alias: "outlook.message.get";
capability: "read-provider-object";
exposesSensitiveData: true;
extension: true;
label: "Get Outlook message";
providerObject: "emailMessage";
}, {
alias: "outlook.message.delta";
capability: "receive";
exposesSensitiveData: true;
extension: true;
label: "Read Outlook message delta page";
providerObject: "emailMessage";
}, {
alias: "outlook.message.update";
capability: "update-provider-object";
changesWorkflow: true;
exposesSensitiveData: true;
extension: true;
label: "Update Outlook message";
providerObject: "emailMessage";
sideEffect: true;
}, {
alias: "outlook.mailboxUser.get";
capability: "read-provider-object";
exposesSensitiveData: true;
extension: true;
label: "Get Outlook mailbox user";
providerObject: "mailbox";
}, {
alias: "outlook.webhook.parse";
capability: "receive";
exposesSensitiveData: true;
extension: true;
label: "Parse Outlook webhook";
providerObject: "emailMessage";
}, {
alias: "outlook.rawGraph.request";
capability: "read-provider-object";
exposesSensitiveData: true;
extension: true;
label: "Run raw Microsoft Graph request";
metadata: {
rawClientEscapeHatch: true;
};
providerObject: "mailbox";
}];
packageName: "@cognidesk/integration-email-outlook";
privacyNotes: ["Outlook messages can contain customer content, attachments, addresses, recipients, categories, internet headers, and conversation history.", "Microsoft Graph OAuth access tokens and webhook clientState secrets stay server-side and are represented in Studio only as credential readiness.", "SDK users own outbound approval, auto-send controls, contact consent, tenant/admin policy review, retention, redaction, attachment retrieval, and deletion behavior."];
provider: "outlook";
trustLevel: "official";
}, OutlookEmailClientOptions, {
email.attachments.read: (input, context) =>
| Promise<{
nextLink?: string;
value: OutlookAttachmentResource[];
}>
| Promise<OutlookAttachmentResource>;
email.draft.create: (input, context) => Promise<OutlookMessageResource>;
email.receive: (input, _context) => Promise<OutlookWebhookRequest>;
email.send: (input, context) => Promise<OutlookSendMailResult>;
mailbox.watch: (input, context) => Promise<OutlookSubscriptionResource>;
outlook.mailboxUser.get: (input, context) => Promise<OutlookMailboxUserResource>;
outlook.message.delta: (input, context) => Promise<OutlookListMessagesResult>;
outlook.message.get: (input, context) => Promise<OutlookMessageResource>;
outlook.message.list: (input, context) => Promise<OutlookListMessagesResult>;
outlook.message.update: (input, context) => Promise<OutlookMessageResource>;
outlook.rawGraph.request: (input, context) => Promise<OutlookGraphResource>;
outlook.webhook.parse: (input, _context) => Promise<OutlookWebhookRequest>;
}>;
outlookEmailOperationHandlers¶
const outlookEmailOperationHandlers: {
email.attachments.read: (input, context) =>
| Promise<{
nextLink?: string;
value: OutlookAttachmentResource[];
}>
| Promise<OutlookAttachmentResource>;
email.draft.create: (input, context) => Promise<OutlookMessageResource>;
email.receive: (input, _context) => Promise<OutlookWebhookRequest>;
email.send: (input, context) => Promise<OutlookSendMailResult>;
mailbox.watch: (input, context) => Promise<OutlookSubscriptionResource>;
outlook.mailboxUser.get: (input, context) => Promise<OutlookMailboxUserResource>;
outlook.message.delta: (input, context) => Promise<OutlookListMessagesResult>;
outlook.message.get: (input, context) => Promise<OutlookMessageResource>;
outlook.message.list: (input, context) => Promise<OutlookListMessagesResult>;
outlook.message.update: (input, context) => Promise<OutlookMessageResource>;
outlook.rawGraph.request: (input, context) => Promise<OutlookGraphResource>;
outlook.webhook.parse: (input, _context) => Promise<OutlookWebhookRequest>;
};
Type Declaration¶
| Name | Type |
|---|---|
email.attachments.read() |
(input, context) => | Promise\<{ nextLink?: string; value: OutlookAttachmentResource[]; }> | Promise\<OutlookAttachmentResource> |
email.draft.create() |
(input, context) => Promise\<OutlookMessageResource> |
email.receive() |
(input, _context) => Promise\<OutlookWebhookRequest> |
email.send() |
(input, context) => Promise\<OutlookSendMailResult> |
mailbox.watch() |
(input, context) => Promise\<OutlookSubscriptionResource> |
outlook.mailboxUser.get() |
(input, context) => Promise\<OutlookMailboxUserResource> |
outlook.message.delta() |
(input, context) => Promise\<OutlookListMessagesResult> |
outlook.message.get() |
(input, context) => Promise\<OutlookMessageResource> |
outlook.message.list() |
(input, context) => Promise\<OutlookListMessagesResult> |
outlook.message.update() |
(input, context) => Promise\<OutlookMessageResource> |
outlook.rawGraph.request() |
(input, context) => Promise\<OutlookGraphResource> |
outlook.webhook.parse() |
(input, _context) => Promise\<OutlookWebhookRequest> |
Functions¶
createOutlookEmailClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options |
OutlookEmailClientOptions |
Returns¶
createOutlookEmailLiveChecks()¶
function createOutlookEmailLiveChecks(options): {
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise<{
details: {
displayName: string;
mail: string;
userId: string;
userPrincipalName: string;
};
}>;
}[];
Parameters¶
| Parameter | Type |
|---|---|
options |
OutlookLiveCheckOptions |
Returns¶
{
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise\<{
details: {
displayName: string;
mail: string;
userId: string;
userPrincipalName: string;
};
}>;
}[]
createOutlookRecipient()¶
Parameters¶
| Parameter | Type |
|---|---|
address |
string |
name? |
string |
Returns¶
normalizeOutlookGraphError()¶
Parameters¶
| Parameter | Type |
|---|---|
error |
unknown |
Returns¶
outlookEmailCredentialStatuses()¶
function outlookEmailCredentialStatuses(input): {
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[];
Parameters¶
| Parameter | Type |
|---|---|
input |
OutlookCredentialStatusInput |
Returns¶
{
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[]
parseOutlookWebhook()¶
Parameters¶
| Parameter | Type |
|---|---|
request |
Request |
options? |
ParseOutlookWebhookOptions |
Returns¶
Promise\<OutlookWebhookRequest>
validateOutlookWebhookClientState()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
ValidateOutlookWebhookClientStateInput |
Returns¶
boolean
verifyOutlookWebhookValidationToken()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
VerifyOutlookWebhookValidationTokenInput |
Returns¶
string