UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

49 lines (45 loc) 1.64 kB
/** * Microsoft Outlook Node - Version 1 * Discriminator: resource=message, operation=getAll */ interface Credentials { microsoftOutlookOAuth2Api: CredentialReference; } /** Get many messages in the signed-in user's mailbox */ export type MicrosoftOutlookV1MessageGetAllParams = { resource: 'message'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression<boolean>; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression<number>; /** * Additional Fields * @default {} */ additionalFields?: { /** Prefix for name of the binary property to which to write the attachments. An index starting with 0 will be added. So if name is "attachment_" the first attachment is saved to "attachment_0" * @default attachment_ */ dataPropertyAttachmentsPrefixName?: string | Expression<string> | PlaceholderValue; /** Fields the response will contain. Multiple can be added separated by comma. */ fields?: string | Expression<string> | PlaceholderValue; /** Microsoft Graph API OData $filter query. Information about the syntax can be found &lt;a href="https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter"&gt;here&lt;/a&gt;. */ filter?: string | Expression<string> | PlaceholderValue; }; }; export type MicrosoftOutlookV1MessageGetAllNode = { type: 'n8n-nodes-base.microsoftOutlook'; version: 1; credentials?: Credentials; config: NodeConfig<MicrosoftOutlookV1MessageGetAllParams>; };