n8n-nodes-salla
Version:
n8n node for Salla.sa e-commerce platform integration with OAuth2.0
18 lines (17 loc) • 941 B
TypeScript
import { ICredentialType, INodeProperties, ICredentialTestRequest, ICredentialDataDecryptedObject, INodeCredentialTestResult } from 'n8n-workflow';
export declare class SallaOAuth2Api implements ICredentialType {
name: string;
extends: string[];
displayName: string;
documentationUrl: string;
icon: string;
properties: INodeProperties[];
test: ICredentialTestRequest;
preAuthentication(this: ICredentialType, credentials: ICredentialDataDecryptedObject): Promise<{
authUrl: string;
accessTokenUrl: string;
scope: string | number | true | string[] | import("n8n-workflow").IDataObject | import("n8n-workflow").IDataObject[];
}>;
authenticate(this: ICredentialType, credentials: ICredentialDataDecryptedObject): Promise<ICredentialDataDecryptedObject>;
testCredential(this: ICredentialType, credentials: ICredentialDataDecryptedObject): Promise<INodeCredentialTestResult>;
}