n8n-nodes-base
Version:
Base nodes of n8n
49 lines (45 loc) • 1.42 kB
text/typescript
/**
* Microsoft Outlook Node - Version 1
* Discriminator: resource=folderMessage, operation=getAll
*/
interface Credentials {
microsoftOutlookOAuth2Api: CredentialReference;
}
/** Get many messages in the signed-in user's mailbox */
export type MicrosoftOutlookV1FolderMessageGetAllParams = {
resource: 'folderMessage';
operation: 'getAll';
/**
* Folder ID
*/
folderId?: string | Expression<string> | PlaceholderValue;
/**
* 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?: {
/** Fields the response will contain. Multiple can be added separated by ,.
*/
fields?: string | Expression<string> | PlaceholderValue;
/** Microsoft Graph API OData $filter query. Information about the syntax can be found <a href="https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter">here</a>.
*/
filter?: string | Expression<string> | PlaceholderValue;
};
};
export type MicrosoftOutlookV1FolderMessageGetAllNode = {
type: 'n8n-nodes-base.microsoftOutlook';
version: 1;
credentials?: Credentials;
config: NodeConfig<MicrosoftOutlookV1FolderMessageGetAllParams>;
};