/* Options: Date: 2025-05-04 23:28:52 SwiftVersion: 6.0 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: NewOutgoingSession.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * 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("/sessions/outgoing", "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.") public class NewOutgoingSession : IReturnVoid, IPost, Codable { /** * 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.") public var flowId:String? /** * The E164 number to dial, e.g. +18144043093 */ // @ApiMember(Description="The E164 number to dial, e.g. +18144043093") public var numberToDial:String? /** * 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") public var callerId:String? required public init(){} }