/* Options: Date: 2025-12-06 07:07:05 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: FindEmailByPhoneNumberRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class FindEmailByPhoneNumberResponse implements IConvertible { String? email; FindEmailByPhoneNumberResponse({this.email}); FindEmailByPhoneNumberResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { email = json['email']; return this; } Map toJson() => { 'email': email }; getTypeName() => "FindEmailByPhoneNumberResponse"; TypeContext? context = _ctx; } // @Route("/staff/find_email_by_phonenumber", "GET") class FindEmailByPhoneNumberRequest implements IReturn, IGet, IConvertible { String? phoneNumber; FindEmailByPhoneNumberRequest({this.phoneNumber}); FindEmailByPhoneNumberRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { phoneNumber = json['phoneNumber']; return this; } Map toJson() => { 'phoneNumber': phoneNumber }; createResponse() => FindEmailByPhoneNumberResponse(); getResponseTypeName() => "FindEmailByPhoneNumberResponse"; getTypeName() => "FindEmailByPhoneNumberRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'FindEmailByPhoneNumberResponse': TypeInfo(TypeOf.Class, create:() => FindEmailByPhoneNumberResponse()), 'FindEmailByPhoneNumberRequest': TypeInfo(TypeOf.Class, create:() => FindEmailByPhoneNumberRequest()), });