/* Options: Date: 2026-08-11 13:21:24 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: RetellWebhookRequest.* //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/retell-webhook", "POST,OPTIONS") class RetellWebhookRequest implements IReturn, IConvertible, IPost { String? Slug; String? Key; Uint8List? RequestStream; RetellWebhookRequest({this.Slug,this.Key,this.RequestStream}); RetellWebhookRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Slug = json['Slug']; Key = json['Key']; RequestStream = JsonConverters.fromJson(json['RequestStream'],'Uint8List',context!); return this; } Map toJson() => { 'Slug': Slug, 'Key': Key, 'RequestStream': JsonConverters.toJson(RequestStream,'Uint8List',context!) }; createResponse() => ReceptionistCallLogResponse(); getResponseTypeName() => "ReceptionistCallLogResponse"; getTypeName() => "RetellWebhookRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'ReceptionistCallLogResponse': TypeInfo(TypeOf.Class, create:() => ReceptionistCallLogResponse()), 'RetellWebhookRequest': TypeInfo(TypeOf.Class, create:() => RetellWebhookRequest()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), });