Skip to content

Commit

Permalink
Merge pull request #118 from digipost/reference-from-sender-in-inbox-…
Browse files Browse the repository at this point in the history
…document

Reference from sender in inbox document
  • Loading branch information
asjafjell authored Aug 24, 2017
2 parents dbe9b6e + 5f3ce4a commit 34cffc6
Show file tree
Hide file tree
Showing 160 changed files with 3,822 additions and 3,813 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public void ReturnsCorrectDataForIdentification()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Digipost.Api.Client.Common.Print;
using Digipost.Api.Client.Common.Recipient;
using Digipost.Api.Client.Common.Search;
using Digipost.Api.Client.Scripts.Xsd.XsdToCode.Code;
using Digipost.Api.Client.Tests.CompareObjects;
using Xunit;

Expand Down Expand Up @@ -885,4 +884,4 @@ public void Error()
}
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common.Tests/EnvironmentTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public void Can_Change_Url()
env.Url = new Uri("http://api.newenvironment.digipost.no");
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Common.Extensions;
using Digipost.Api.Client.Scripts.Xsd.XsdToCode.Code;
using Xunit;

namespace Digipost.Api.Client.Common.Tests.Extensions
Expand Down Expand Up @@ -191,4 +190,4 @@ public void Converts_All_Enum_Values()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ public void ReturnsCorrectHash()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Common.Extensions;
using Digipost.Api.Client.Common.Identify;
using Digipost.Api.Client.Scripts.Xsd.XsdToCode.Code;
using Xunit;

namespace Digipost.Api.Client.Common.Tests.Identify
Expand Down Expand Up @@ -140,4 +139,4 @@ public void Handles_unidentifiedreason()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public void WhatYouAreTestingOnMethod()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
using System.Reflection;

[assembly: AssemblyTitle("Digipost.Api.Client.Common.Tests")]
[assembly: AssemblyTitle("Digipost.Api.Client.Common.Tests")]
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public void SimpleConstructor()
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public void SimpleConstructor()
}
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Actions/DigipostAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ private void InitializeRequestXmlContent(IRequestContent requestContent)
RequestContent = document;
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Actions/IdentificationAction.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ protected override string Serialize(IRequestContent requestContent)
return SerializeUtil.Serialize(identificationDto);
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/ApiClientXmlValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public ApiClientXmlValidator()
AddXsd(Namespace.DigipostApiV7, XsdResource.GetApiV7Xsd());
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Broker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public Broker(long id)
/// </summary>
public long Id { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/ClientConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ public ClientConfig(Broker broker, Environment environment)
/// </summary>
public bool LogRequestAndResponse { get; set; }
}
}
}
3 changes: 1 addition & 2 deletions Digipost.Api.Client.Common/DataTransferObjectConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using Digipost.Api.Client.Common.Print;
using Digipost.Api.Client.Common.Recipient;
using Digipost.Api.Client.Common.Search;
using Digipost.Api.Client.Scripts.Xsd.XsdToCode.Code;

namespace Digipost.Api.Client.Common
{
Expand Down Expand Up @@ -291,4 +290,4 @@ public static SearchDetailsResult FromDataTransferObject(recipients recipients)
};
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/DigipostVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ internal class DigipostVersion
{
public static string V7 = "application/vnd.digipost-v7+xml";
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/AuthenticationLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum AuthenticationLevel
/// </summary>
TwoFactor
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/CountryIdentifier.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum CountryIdentifier
/// </summary>
Countrycode
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/DeliveryMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum DeliveryMethod
/// </summary>
Digipost
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ public enum IdentificationChoiceType
/// </summary>
PersonalidentificationNumber
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/IdentificationError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ public enum IdentificationError

MultipleMatches
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public enum IdentificationResultCode

Invalid
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public enum IdentificationResultType

UnidentifiedReason
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/IdentificationType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public enum IdentificationType

NameAndAddress
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/InvalidReason.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ public enum InvalidReason
/// </summary>
Unknown
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/MessageStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ public enum MessageStatus
/// </summary>
DeliveredToPrint
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/NonDeliverableHandling.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ public enum NondeliverableHandling
/// </summary>
ReturnToSender
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/PostType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum PostType
/// </summary>
B
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/PrintColors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum PrintColors
/// </summary>
Colors
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/SensitivityLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ public enum SensitivityLevel
/// </summary>
Sensitive
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Enums/UnidentifiedReason.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ public enum UnidentifiedReason
/// </summary>
NotFound
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Environment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ public override string ToString()
return $"Url: {Url}";
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Error.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ public override string ToString()
return $"Errorcode: {Errorcode}, Errormessage: {Errormessage}, Errortype: {Errortype}";
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Exceptions/APIException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public ApiException(string message, Exception inner)
{
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ public ClientResponseException(string message, IError error, Exception inner)

public IError Error { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Exceptions/ConfigException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public ConfigException(string message, Exception inner)
{
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Exceptions/XmlParseException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ public XmlParseException(string message, Exception inner, string xmlRawData)

public string XmlRawData { get; private set; }
}
}
}
3 changes: 1 addition & 2 deletions Digipost.Api.Client.Common/Extensions/EnumExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using Digipost.Api.Client.Common.Enums;
using Digipost.Api.Client.Scripts.Xsd.XsdToCode.Code;

namespace Digipost.Api.Client.Common.Extensions
{
Expand Down Expand Up @@ -189,4 +188,4 @@ public static SensitivityLevel ToSensitivityLevel(this sensitivitylevel sensitiv
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,4 @@ public UriParts(Uri uri)
public string Parameters { get; }
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Handlers/LoggingHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ private async Task LogContent(HttpContent httpContent, bool isRequest)
}
}
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/IDigipostRecipient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
public interface IDigipostRecipient
{
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/IError.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ public interface IError

string ToString();
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/ISmsNotification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ public interface ISmsNotification
/// </summary>
List<int> NotifyAfterHours { get; set; }
}
}
}
2 changes: 1 addition & 1 deletion Digipost.Api.Client.Common/Identify/IIdentification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ public interface IIdentification : IRequestContent
{
DigipostRecipient DigipostRecipient { get; set; }
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
public interface IIdentificationRecipient
{
}
}
}
Loading

0 comments on commit 34cffc6

Please sign in to comment.