1 /* 2 * Make.org Core API 3 * Copyright (C) 2020 Make.org 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU Affero General Public License as 7 * published by the Free Software Foundation, either version 3 of the 8 * License, or (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU Affero General Public License for more details. 14 * 15 * You should have received a copy of the GNU Affero General Public License 16 * along with this program. If not, see <https://www.gnu.org/licenses/>. 17 * 18 */ 19 20 package org.make.core.crmTemplate 21 22 import enumeratum.{CirceEnum, Enum, EnumEntry} 23 24 sealed abstract class CrmTemplateKind extends EnumEntry with Product with Serializable 25 26 object CrmTemplateKind extends Enum[CrmTemplateKind] with CirceEnum[CrmTemplateKind] { 27 28 case object Registration extends CrmTemplateKind 29 case object Welcome extends CrmTemplateKind 30 case object ResendRegistration extends CrmTemplateKind 31 case object ForgottenPassword extends CrmTemplateKind 32 case object ProposalAccepted extends CrmTemplateKind 33 case object ProposalRefused extends CrmTemplateKind 34 case object MessageToProposer extends CrmTemplateKind 35 case object MessageToAbusiveWarn extends CrmTemplateKind 36 case object MessageToAbusiveBlock extends CrmTemplateKind 37 case object VoteOnlyNotice extends CrmTemplateKind 38 case object EndConsultationNotice extends CrmTemplateKind 39 40 case object B2BRegistration extends CrmTemplateKind 41 case object B2BEmailChanged extends CrmTemplateKind 42 case object B2BForgottenPassword extends CrmTemplateKind 43 case object B2BProposalAccepted extends CrmTemplateKind 44 case object B2BProposalRefused extends CrmTemplateKind 45 46 override val values: IndexedSeq[CrmTemplateKind] = findValues 47 final val swaggerAllowableValues = 48 "Registration,Welcome,ResendRegistration,ForgottenPassword,ProposalAccepted,ProposalRefused,MessageToProposer,MessageToAbusiveWarn,MessageToAbusiveBlock,VoteOnlyNotice,EndConsultationNotice,B2BRegistration,B2BEmailChanged,B2BForgottenPassword,B2BProposalAccepted,B2BProposalRefused" 49 }
| Line | Stmt Id | Pos | Tree | Symbol | Tests | Code |
|---|---|---|---|---|---|---|
| 48 | 997 | 2000 - 2282 | Literal | <nosymbol> | "Registration,Welcome,ResendRegistration,ForgottenPassword,ProposalAccepted,ProposalRefused,MessageToProposer,MessageToAbusiveWarn,MessageToAbusiveBlock,VoteOnlyNotice,EndConsultationNotice,B2BRegistration,B2BEmailChanged,B2BForgottenPassword,B2BProposalAccepted,B2BProposalRefused" |