From e76286ae5205835866e4979bdfc2c3e78197fc1f Mon Sep 17 00:00:00 2001 From: Nikolai Suvorov <35630837+SuvorovNM@users.noreply.github.com> Date: Thu, 4 Jul 2024 22:35:58 +0300 Subject: [PATCH] Added additional COMs for poa attachment status (#1140) --- src/Com/DocflowsV3.cs | 1 + src/Com/PowersOfAttorney.cs | 3 ++- src/Proto/Events/DiadocMessage.cs | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Com/DocflowsV3.cs b/src/Com/DocflowsV3.cs index 30edddd6..3fd72ab2 100644 --- a/src/Com/DocflowsV3.cs +++ b/src/Com/DocflowsV3.cs @@ -24,6 +24,7 @@ public interface ISignatureV3 SignatureVerificationResult VerificationResult { get; } Timestamp DeliveredAt { get; } SignaturePowerOfAttorney PowerOfAttorney { get; set; } + PowerOfAttorneyAttachmentStatus PowerOfAttorneyAttachmentStatus { get; set; } } [ComVisible(true)] diff --git a/src/Com/PowersOfAttorney.cs b/src/Com/PowersOfAttorney.cs index 17e02585..57f08bbd 100644 --- a/src/Com/PowersOfAttorney.cs +++ b/src/Com/PowersOfAttorney.cs @@ -591,7 +591,8 @@ public enum PowerOfAttorneyValidationStatusNamedId CanNotBeValidated = 1, IsValid = 2, IsNotValid = 3, - ValidationError = 4 + ValidationError = 4, + IsNotAttached = 5 } [ComVisible(true)] diff --git a/src/Proto/Events/DiadocMessage.cs b/src/Proto/Events/DiadocMessage.cs index 7cae365b..ec9e88bd 100644 --- a/src/Proto/Events/DiadocMessage.cs +++ b/src/Proto/Events/DiadocMessage.cs @@ -4,6 +4,7 @@ using System.Linq; using System.Runtime.InteropServices; using Diadoc.Api.Com; +using Diadoc.Api.Proto.Docflow; using Diadoc.Api.Proto.Documents; using Diadoc.Api.Proto.OuterDocflows; using MessageType = Diadoc.Api.Com.MessageType; @@ -105,6 +106,7 @@ public interface IEntity RevocationRequestInfo RevocationRequestInfo { get; } PowerOfAttorneyInfo PowerOfAttorneyInfo { get; } MoveDocumentInfo MoveDocumentInfo { get; } + PowerOfAttorneyAttachmentStatus PowerOfAttorneyAttachmentStatus { get; } } [ComVisible(true)]