/* Options: Date: 2025-05-04 23:21:19 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: NewOutgoingSession.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * Create a new outgoing call and process it with the specified flow. This can only be used for voice sessions. If no caller ID is specified, we will use a random one. */ @Route(Path="/sessions/outgoing", Verbs="POST") @Api(Description="Create a new outgoing call and process it with the specified flow. This can only be used for voice sessions. If no caller ID is specified, we will use a random one.") open class NewOutgoingSession : IReturnVoid, IPost { /** * The ID of the flow to use. This flow will be executed as soon as the call is answered. */ @ApiMember(Description="The ID of the flow to use. This flow will be executed as soon as the call is answered.") open var flowId:String? = null /** * The E164 number to dial, e.g. +18144043093 */ @ApiMember(Description="The E164 number to dial, e.g. +18144043093") open var numberToDial:String? = null /** * The Caller ID to use. This must be the E164 number of an owned phone number */ @ApiMember(Description="The Caller ID to use. This must be the E164 number of an owned phone number") open var callerId:String? = null }