codacy.events.Event.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of events-defs_2.12 Show documentation
Show all versions of events-defs_2.12 Show documentation
A library to send events on rabbit-mq
The newest version!
package codacy.events
private[events] trait Events extends PathPart.Root {
case object ui extends PathPart with uiEvents {
case object login extends PathPart {
case object user extends PathPart {
@eventDef case class signedUp(
accountId: AccountId,
adCampaign: Option[String],
experiments: List[String],
utmContent: Option[String] = None,
utmSource: Option[String] = None,
utmMedium: Option[String] = None,
utmTerm: Option[String] = None
)
}
}
case object organization extends PathPart {
case object member extends PathPart {
@eventDef case class added(organizationId: OrganizationId, accountId: AccountId, inviterId: AccountId)
@eventDef case class removed(organizationId: OrganizationId, accountId: AccountId)
}
}
}
case object system extends PathPart with systemEvents
}
object Events extends Events