File size: 396 Bytes
5e518ea
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { BaseChatbotDto, BaseChatbotSettingDto } from '../../base-chatbot.dto';

export class N8nDto extends BaseChatbotDto {
  // N8n specific fields
  webhookUrl?: string;
  basicAuthUser?: string;
  basicAuthPass?: string;
}

export class N8nSettingDto extends BaseChatbotSettingDto {
  // N8n has no specific fields
}

export class N8nMessageDto {
  chatInput: string;
  sessionId: string;
}