n8n-nodes-thang-zalo-app
Version:
Các node udng2 để hỗ trợ người dùng zalo
20 lines (19 loc) • 833 B
TypeScript
import { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
interface CredentialInfo {
credentialId: string;
userID: string;
}
export declare class ZaloLoginByQr implements INodeType {
description: INodeTypeDescription;
private static readonly CREDENTIALS_FILE_PATH;
private static credentialsCache;
private static cacheTimestamp;
private static readonly CACHE_DURATION;
static readCredentialsFromFile(): CredentialInfo[];
private static saveCredentialsToFile;
private static addCredentialToFile;
static getDuplicateCredentials(userID: string, exceptCredentialId?: string): CredentialInfo[];
static removeCredentials(credentialIds: string[] | string): void;
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
}
export {};