/* Options: Date: 2026-08-10 18:04:38 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReceptionistCallLogRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReceptionistCallLogResponse implements IConvertible { int? CallSessionId; ResponseStatus? ResponseStatus; ReceptionistCallLogResponse({this.CallSessionId,this.ResponseStatus}); ReceptionistCallLogResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CallSessionId = json['CallSessionId']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'CallSessionId': CallSessionId, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ReceptionistCallLogResponse"; TypeContext? context = _ctx; } // @Route("/v1/receptionist/call-log", "POST,OPTIONS") class ReceptionistCallLogRequest implements IReturn, IConvertible, IPost { String? Slug; String? Outcome; String? CallerName; String? CallerPhone; int? DurationSec; String? Transcript; String? RecordingUrl; int? BookedCalendarEventId; String? TaskId; ReceptionistCallLogRequest({this.Slug,this.Outcome,this.CallerName,this.CallerPhone,this.DurationSec,this.Transcript,this.RecordingUrl,this.BookedCalendarEventId,this.TaskId}); ReceptionistCallLogRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Slug = json['Slug']; Outcome = json['Outcome']; CallerName = json['CallerName']; CallerPhone = json['CallerPhone']; DurationSec = json['DurationSec']; Transcript = json['Transcript']; RecordingUrl = json['RecordingUrl']; BookedCalendarEventId = json['BookedCalendarEventId']; TaskId = json['TaskId']; return this; } Map toJson() => { 'Slug': Slug, 'Outcome': Outcome, 'CallerName': CallerName, 'CallerPhone': CallerPhone, 'DurationSec': DurationSec, 'Transcript': Transcript, 'RecordingUrl': RecordingUrl, 'BookedCalendarEventId': BookedCalendarEventId, 'TaskId': TaskId }; createResponse() => ReceptionistCallLogResponse(); getResponseTypeName() => "ReceptionistCallLogResponse"; getTypeName() => "ReceptionistCallLogRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistCallLogResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistCallLogResponse()), 'ReceptionistCallLogRequest': TypeInfo(TypeOf.Class, create:() => ReceptionistCallLogRequest()), });