/* Options: Date: 2025-06-19 21:11:27 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: GetChatTranscript.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Gets the specified transcript */ // @Route("/sessions/{sessionId}/transcript", "GET") // @Api(Description="Gets the specified transcript") public class GetChatTranscript : IReturn, IGet, Codable { public typealias Return = GetChatTranscriptResponse /** * the session whose transcript you want to get */ // @ApiMember(Description="the session whose transcript you want to get") public var sessionId:String? /** * Include previous messages from this chat party */ // @ApiMember(Description="Include previous messages from this chat party") public var includeHistorical:Bool? /** * How far back to include in historical messages. Max 6 months in past */ // @ApiMember(Description="How far back to include in historical messages. Max 6 months in past") public var historicalCutOffDate:String? required public init(){} } public class GetChatTranscriptResponse : Codable { public var messages:[ChatTranscriptMessage]? required public init(){} } public class ChatTranscriptMessage : Codable { public var date:String? public var from:String? public var body:String? public var mediaUri:String? public var mediaContentType:String? required public init(){} }