/* Options: Date: 2026-11-07 16:37:07 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: NotaryInviteRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class NotaryInvitePreview implements IConvertible { String? Link; String? Subject; String? Greeting; String? Lead; String? SignIn; String? Sms; int? SmsLength; int? SmsSegments; NotaryInvitePreview({this.Link,this.Subject,this.Greeting,this.Lead,this.SignIn,this.Sms,this.SmsLength,this.SmsSegments}); NotaryInvitePreview.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Link = json['Link']; Subject = json['Subject']; Greeting = json['Greeting']; Lead = json['Lead']; SignIn = json['SignIn']; Sms = json['Sms']; SmsLength = json['SmsLength']; SmsSegments = json['SmsSegments']; return this; } Map toJson() => { 'Link': Link, 'Subject': Subject, 'Greeting': Greeting, 'Lead': Lead, 'SignIn': SignIn, 'Sms': Sms, 'SmsLength': SmsLength, 'SmsSegments': SmsSegments }; getTypeName() => "NotaryInvitePreview"; TypeContext? context = _ctx; } class NotaryInviteResponse implements IConvertible { NotaryInvitePreview? Preview; List? Lines = []; String? EmailedTo; String? TextedTo; ResponseStatus? ResponseStatus; NotaryInviteResponse({this.Preview,this.Lines,this.EmailedTo,this.TextedTo,this.ResponseStatus}); NotaryInviteResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Preview = JsonConverters.fromJson(json['Preview'],'NotaryInvitePreview',context!); Lines = JsonConverters.fromJson(json['Lines'],'List',context!); EmailedTo = json['EmailedTo']; TextedTo = json['TextedTo']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Preview': JsonConverters.toJson(Preview,'NotaryInvitePreview',context!), 'Lines': JsonConverters.toJson(Lines,'List',context!), 'EmailedTo': EmailedTo, 'TextedTo': TextedTo, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "NotaryInviteResponse"; TypeContext? context = _ctx; } // @Route("/v1/witness/notary/invite", "GET,POST") class NotaryInviteRequest implements IReturn, IConvertible, IGet { String? Email; String? Phone; int? NotaryId; NotaryInviteRequest({this.Email,this.Phone,this.NotaryId}); NotaryInviteRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Email = json['Email']; Phone = json['Phone']; NotaryId = json['NotaryId']; return this; } Map toJson() => { 'Email': Email, 'Phone': Phone, 'NotaryId': NotaryId }; createResponse() => NotaryInviteResponse(); getResponseTypeName() => "NotaryInviteResponse"; getTypeName() => "NotaryInviteRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'NotaryInvitePreview': TypeInfo(TypeOf.Class, create:() => NotaryInvitePreview()), 'NotaryInviteResponse': TypeInfo(TypeOf.Class, create:() => NotaryInviteResponse()), 'NotaryInviteRequest': TypeInfo(TypeOf.Class, create:() => NotaryInviteRequest()), });