UNPKG

@digitalstories/n8n-nodes-infomaniak

Version:

n8n nodes to interact with Infomaniak services (Kchat)

17 lines (16 loc) 824 B
import { IExecuteFunctions, ILoadOptionsFunctions } from 'n8n-workflow'; import { ApiService } from '../../core/ApiService'; export declare class KchatService extends ApiService { protected serviceName: string; constructor(executeFunctions: IExecuteFunctions | ILoadOptionsFunctions, credentials: any); getCredentialsTeamSlug(): string | undefined; getDebugBaseUrl(): string; protected getBaseUrl(): string; getChannels(): Promise<any>; createPost(channelId: string, message: string, fileIds?: string[]): Promise<any>; listPosts(channelId: string): Promise<any>; uploadFile(channelId: string, fileData: Buffer, fileName: string, mimeType: string): Promise<any>; getFileDetails(fileId: string): Promise<any>; listUsers(): Promise<any>; getUser(userId: string): Promise<any>; }