@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
18 lines (17 loc) • 1.94 kB
TypeScript
import type { CredentialsEntity } from '@n8n/db';
import type express from 'express';
import type { CredentialTypeRequest, CredentialRequest } from '../../../types';
declare const _default: {
createCredential: (((_req: Request, _res: Response, next: express.NextFunction) => void) | ((req: express.Request, res: express.Response, next: express.NextFunction) => Promise<void>) | ((req: CredentialRequest.Create, res: express.Response, next: express.NextFunction) => express.Response | void) | ((req: CredentialRequest.Create, res: express.Response) => Promise<express.Response<Partial<CredentialsEntity>>>))[];
updateCredential: (((_req: Request, _res: Response, next: express.NextFunction) => void) | ((req: import("@n8n/db").AuthenticatedRequest<{
id?: string;
}>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>) | ((req: express.Request, res: express.Response, next: express.NextFunction) => Promise<void>) | ((req: CredentialRequest.Update, res: express.Response, next: express.NextFunction) => express.Response | void))[];
transferCredential: (((_req: Request, _res: Response, next: express.NextFunction) => void) | ((req: import("@n8n/db").AuthenticatedRequest<{
id?: string;
}>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>) | ((req: express.Request, res: express.Response, next: express.NextFunction) => Promise<void>))[];
deleteCredential: (((_req: Request, _res: Response, next: express.NextFunction) => void) | ((req: import("@n8n/db").AuthenticatedRequest<{
id?: string;
}>, res: express.Response, next: express.NextFunction) => Promise<express.Response | void>) | ((req: express.Request, res: express.Response, next: express.NextFunction) => Promise<void>))[];
getCredentialType: ((req: CredentialTypeRequest.Get, res: express.Response) => Promise<express.Response>)[];
};
export = _default;