Skip to content

Commit

Permalink
add SenderReceiptStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
i.borovik committed Aug 10, 2023
1 parent 0ae04e7 commit a25965c
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,11 @@ public enum MessageBoxEventType

/// <summary>Изменился статус запроса на аннулирование документа в ГИС МТ "Честный ЗНАК". Событие в ящике отправителя</summary>
OutboxDiadocDocumentRevocationGisMtStatusChanged,

/// <summary>Отправитель подписал извещение о получении документа. Событие в ящике получателя</summary>
InboxDiadocSenderReceiptFinished,

/// <summary>Отправитель подписал извещение о получении документа. Событие в ящике отправителя</summary>
OutboxDiadocSenderReceiptFinished,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public MessageBoxEventTypeRegistry()
Register<DiadocDocumentDeliveredEventContent>(MessageBoxEventType.DiadocDocumentDelivered);
Register<MessageDocumentPackageSignedByRecipientPartiallyOkEventContent>(MessageBoxEventType.DocumentPackageSignedByRecipientPartiallyOk);
Register<MessageDocumentPackageSignedByMePartiallyOkEventContent>(MessageBoxEventType.DocumentPackageSignedByMePartiallyOk);
Register<InboxDiadocSenderReceiptFinishedEventContent>(MessageBoxEventType.InboxDiadocSenderReceiptFinished);
Register<OutboxDiadocSenderReceiptFinishedEventContent>(MessageBoxEventType.OutboxDiadocSenderReceiptFinished);
Register<OutboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.OutboxDiadocDocumentRecipientPowerOfAttorneyStatusChanged);
Register<OutboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.OutboxDiadocDocumentSenderPowerOfAttorneyStatusChanged);
Register<InboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent>(MessageBoxEventType.InboxDiadocDocumentRecipientPowerOfAttorneyStatusChanged);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox
{
/// <summary>Информация о событии InboxDiadocSenderReceiptFinished в ящике получателя</summary>
public class InboxDiadocSenderReceiptFinishedEventContent : InboxDiadocEventContentBase
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ public class MessageDocumentPackageSignedByRecipientFailEventContent : OutboxDia
{
/// <summary>Комментарий к отказу в подписи</summary>
public string Reason { get; set; }

/// <summary>Необходимо извещение о получение на документ со стороны отправителя</summary>
public bool NeedReceiptBySender { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
/// <summary>Информация о событии DocumentPackageSignedByRecipientOk</summary>
public class MessageDocumentPackageSignedByRecipientOkEventContent : OutboxDiadocEventContentBase
{
/// <summary>Необходимо извещение о получение на документ со стороны отправителя</summary>
public bool NeedReceiptBySender { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ public class MessageDocumentPackageSignedByRecipientPartiallyOkEventContent : Ou
{
/// <summary>Комментарий к подписи с разногласиями</summary>
public string Reason { get; set; }

/// <summary>Необходимо извещение о получение на документ со стороны отправителя</summary>
public bool NeedReceiptBySender { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox
{
/// <summary>Информация о событии OutboxDiadocSenderReceiptFinished в ящике отправителя</summary>
public class OutboxDiadocSenderReceiptFinishedEventContent : OutboxDiadocEventContentBase
{
}
}

0 comments on commit a25965c

Please sign in to comment.