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