<commit_before>﻿using PS.Mothership.Core.Common.Dto;
using PS.Mothership.Core.Common.Dto.Contact;
using PS.Mothership.Core.Common.Dto.DynamicRequest;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Collections.Generic;
using System.ServiceModel;

namespace PS.Mothership.Core.Common.Contracts
{
    [ServiceContract(Name = "AddressManagementService")]
    public interface IAddressManagementService
    {
        [OperationContract]
        FullAddressDto GetAddress(Guid addressGuid);

        [OperationContract]
        FullAddressDto SaveAddress(FullAddressDto addressDto);

        [OperationContract]
        ICollection<GenCountryEnum> Countries();

        [OperationContract]
        ICollection<CountyDto> Counties(GenCountryEnum countryKey);

        [OperationContract]
        IEnumerable<PostcodeDto> Postcodes(FilterDto filter);<commit_msg>change property from enum to object<commit_after>﻿using PS.Mothership.Core.Common.Dto;
using PS.Mothership.Core.Common.Dto.Contact;
using PS.Mothership.Core.Common.Dto.DynamicRequest;
using PS.Mothership.Core.Common.Template.Gen;
using System;
using System.Collections.Generic;
using System.ServiceModel;

namespace PS.Mothership.Core.Common.Contracts
{
    [ServiceContract(Name = "AddressManagementService")]
    public interface IAddressManagementService
    {
        [OperationContract]
        FullAddressDto GetAddress(Guid addressGuid);

        [OperationContract]
        FullAddressDto SaveAddress(FullAddressDto addressDto);

        [OperationContract]
        ICollection<GenCountry> Countries();

        [OperationContract]
        ICollection<CountyDto> Counties(GenCountryEnum countryKey);

        [OperationContract]
        IEnumerable<PostcodeDto> Postcodes(FilterDto filter);
{'fraction_non_alphanumeric': 0.08661417322834646, 'fraction_numerical': 0.0, 'mean_word_length': 4.294642857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4744077', 'n_tokens_mistral': 479, 'n_tokens_neox': 482, 'n_words': 84}