Merge pull request #1124 from ScrashOff/fix/instance-creation-webhook-and-chatwoot-settings

fix: instance create w/webhook and chatwoot settings
This commit is contained in:
Davidson Gomes 2025-01-06 12:18:25 -03:00 committed by GitHub
commit 8c877029e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,21 @@ export class InstanceDto extends IntegrationDto {
proxyProtocol?: string; proxyProtocol?: string;
proxyUsername?: string; proxyUsername?: string;
proxyPassword?: string; proxyPassword?: string;
webhook?: { enabled?: boolean; events?: string[]; headers?: JsonValue; url?: string; byEvents?: boolean; base64?: boolean; };
chatwootAccountId?: string;
chatwootConversationPending?: boolean;
chatwootAutoCreate?: boolean;
chatwootDaysLimitImportMessages?: number;
chatwootImportContacts?: boolean;
chatwootImportMessages?: boolean;
chatwootLogo?: string;
chatwootMergeBrazilContacts?: boolean;
chatwootNameInbox?: string;
chatwootOrganization?: string;
chatwootReopenConversation?: boolean;
chatwootSignMsg?: boolean;
chatwootToken?: string;
chatwootUrl?: string;
} }
export class SetPresenceDto { export class SetPresenceDto {