/* Options: Date: 2025-05-05 02:52:55 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: ListCrmCustomers.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class CrmCustomerInfo implements IConvertible { String? id; String? displayName; CrmCustomerInfo({this.id,this.displayName}); CrmCustomerInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; displayName = json['displayName']; return this; } Map toJson() => { 'id': id, 'displayName': displayName }; getTypeName() => "CrmCustomerInfo"; TypeContext? context = _ctx; } class ListCrmCustomersResponse implements IConvertible { List? customers; ListCrmCustomersResponse({this.customers}); ListCrmCustomersResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { customers = JsonConverters.fromJson(json['customers'],'List',context!); return this; } Map toJson() => { 'customers': JsonConverters.toJson(customers,'List',context!) }; getTypeName() => "ListCrmCustomersResponse"; TypeContext? context = _ctx; } // @Route("/integrations/{integrationId}/customers") class ListCrmCustomers implements IReturn, IConvertible, IGet { String? integrationId; String? query; ListCrmCustomers({this.integrationId,this.query}); ListCrmCustomers.fromJson(Map json) { fromMap(json); } fromMap(Map json) { integrationId = json['integrationId']; query = json['query']; return this; } Map toJson() => { 'integrationId': integrationId, 'query': query }; createResponse() => ListCrmCustomersResponse(); getResponseTypeName() => "ListCrmCustomersResponse"; getTypeName() => "ListCrmCustomers"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'CrmCustomerInfo': TypeInfo(TypeOf.Class, create:() => CrmCustomerInfo()), 'ListCrmCustomersResponse': TypeInfo(TypeOf.Class, create:() => ListCrmCustomersResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ListCrmCustomers': TypeInfo(TypeOf.Class, create:() => ListCrmCustomers()), });