/* Options: Date: 2025-06-19 21:33:17 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetLiveAnswerTranscript.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class LiveAnswerMessage implements IConvertible { String? id; String? role; String? participant; String? content; String? date; LiveAnswerMessage({this.id,this.role,this.participant,this.content,this.date}); LiveAnswerMessage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; role = json['role']; participant = json['participant']; content = json['content']; date = json['date']; return this; } Map toJson() => { 'id': id, 'role': role, 'participant': participant, 'content': content, 'date': date }; getTypeName() => "LiveAnswerMessage"; TypeContext? context = _ctx; } class LiveAnswerTranscript implements IConvertible { List? items; LiveAnswerTranscript({this.items}); LiveAnswerTranscript.fromJson(Map json) { fromMap(json); } fromMap(Map json) { items = JsonConverters.fromJson(json['items'],'List',context!); return this; } Map toJson() => { 'items': JsonConverters.toJson(items,'List',context!) }; getTypeName() => "LiveAnswerTranscript"; TypeContext? context = _ctx; } // @Route("/nodes/live-answer-chat/transcript") class GetLiveAnswerTranscript implements IReturn, IConvertible, IGet { String? chatToken; GetLiveAnswerTranscript({this.chatToken}); GetLiveAnswerTranscript.fromJson(Map json) { fromMap(json); } fromMap(Map json) { chatToken = json['chatToken']; return this; } Map toJson() => { 'chatToken': chatToken }; createResponse() => LiveAnswerTranscript(); getResponseTypeName() => "LiveAnswerTranscript"; getTypeName() => "GetLiveAnswerTranscript"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'LiveAnswerMessage': TypeInfo(TypeOf.Class, create:() => LiveAnswerMessage()), 'LiveAnswerTranscript': TypeInfo(TypeOf.Class, create:() => LiveAnswerTranscript()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetLiveAnswerTranscript': TypeInfo(TypeOf.Class, create:() => GetLiveAnswerTranscript()), });