UNPKG

skailan-conversations

Version:

Servicio de conversaciones y mensajería para Skailan

19 lines 684 B
import { Channel, ChannelType, ChannelConfig, ChannelStatus } from "../../domain/entities/Channel"; import { IChannelRepository } from "../../domain/repositories/IChannelRepository"; export interface CreateChannelRequest { organizationId: string; type: ChannelType; config: ChannelConfig; status?: ChannelStatus; } export interface CreateChannelResponse { success: boolean; channel?: Channel; error?: string; } export declare class CreateChannel { private channelRepository; constructor(channelRepository: IChannelRepository); execute(request: CreateChannelRequest): Promise<CreateChannelResponse>; } //# sourceMappingURL=CreateChannel.d.ts.map