import { AbstractQuery } from "@twixtlabs/lambda-cqrs-poc"; export class FindActiveConversationIdForChannelUserQuery extends AbstractQuery { static NAME = "FindActiveConversationIdForChannelUserQuery"; readonly tenantId:string; readonly channelId: string; readonly channelUserId:string; constructor({ tenantId,channelId,channelUserId }: { tenantId:string,channelId: string,channelUserId:string }) { super({ queryName: FindActiveConversationIdForChannelUserQuery.NAME }); this.tenantId = tenantId; this.channelId = channelId; this.channelUserId = channelUserId; } } export interface FindActiveConversationIdForChannelUserQueryResponse { conversationId:string | null }