mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
9a1cc56806
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
28 lines
621 B
TypeScript
28 lines
621 B
TypeScript
import type {
|
|
IExecuteFunctions,
|
|
INodeType,
|
|
INodeTypeBaseDescription,
|
|
INodeTypeDescription,
|
|
} from 'n8n-workflow';
|
|
|
|
import { loadOptions, listSearch } from './methods';
|
|
import { description } from './actions/node.description';
|
|
import { router } from './actions/router';
|
|
|
|
export class MicrosoftOutlookV2 implements INodeType {
|
|
description: INodeTypeDescription;
|
|
|
|
constructor(baseDescription: INodeTypeBaseDescription) {
|
|
this.description = {
|
|
...baseDescription,
|
|
...description,
|
|
};
|
|
}
|
|
|
|
methods = { loadOptions, listSearch };
|
|
|
|
async execute(this: IExecuteFunctions) {
|
|
return await router.call(this);
|
|
}
|
|
}
|