/* Options: Date: 2025-12-06 08:58:51 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://cochraneplus-api-dev.happen.zone //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SubmitThunderBoltAction.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/thunderbolt/submit", Verbs="POST") open class SubmitThunderBoltAction : ApiServiceRequest(), IReturn { var actionId:Int? = null var platform:ContactInteractionPlatform? = null var number:String? = null var email:String? = null var notes:String? = null var dateTime:Date? = null var contactId:Int? = null companion object { private val responseType = SubmitThunderBoltActionResponse::class.java } override fun getResponseType(): Any? = SubmitThunderBoltAction.responseType } open class SubmitThunderBoltActionResponse : GetThunderBoltActionsResponse() { var thunderboltActionEventId:Int? = null } open class ApiServiceRequest : IServiceRequest, IHasApiKey, IHasDeviceInfo { /** * The API Key required for authentication */ @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true) var apiKey:String? = null /** * Latitude of the user making this request */ @ApiMember(DataType="double", Description="Latitude of the user making this request") var latitude:Double? = null /** * Longitude of the user making this request */ @ApiMember(DataType="double", Description="Longitude of the user making this request") var longitude:Double? = null } open interface IServiceRequest { } open interface IHasApiKey { var apiKey:String? } open interface IHasDeviceInfo { } enum class ContactInteractionPlatform(val value:Int) { @SerializedName("0") None(0), @SerializedName("1") Whatsapp(1), @SerializedName("2") Linkus(2), @SerializedName("3") Mobile(3), @SerializedName("4") Outlook(4), @SerializedName("5") LinkedIn(5), @SerializedName("6") Telegram(6), @SerializedName("7") Signal(7), @SerializedName("8") Sms(8), } open class GetThunderBoltActionsResponse : ApiServiceResponse() { var dailyActionsNumber:Int? = null var supportingDocumentProbability:Int? = null var thunderBoltActions:ArrayList = ArrayList() var thunderBoltActionEvents:ArrayList = ArrayList() var contacts:ArrayList = ArrayList() }