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