import { ContactEvent } from "./ContactEvent"; export class ContactCreatedEvent extends ContactEvent { public static eventName = "conversations.ContactCreatedEvent"; public static eventVersion = 0; public readonly name?: string; constructor({ tenantId, contactId, name, }: { tenantId: string; contactId: string; name?: string; }) { super({ eventName:ContactCreatedEvent.eventName, eventVersion:ContactCreatedEvent.eventVersion, tenantId, contactId, }); this.name = name; } }