From 920839bfcaf764b56cd2469659e6091c35b150f2 Mon Sep 17 00:00:00 2001 From: akozlov Date: Sat, 12 Jun 2021 15:24:11 +0500 Subject: [PATCH] new box event types when diadoc document signed partially ok --- CHANGELOG.md | 3 +++ .../Types/Messages/BoxEvents/MessageBoxEventType.cs | 4 +++- .../Types/Messages/BoxEvents/MessageBoxEventTypeRegistry.cs | 4 +++- ...ssageDocumentPackageSignedByMePartiallyOkEventContent.cs | 6 ++++++ ...cumentPackageSignedByRecipientPartiallyOkEventContent.cs | 6 ++++++ version.json | 2 +- 6 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 EdiApi.Client/Types/Messages/BoxEventsContents/Inbox/MessageDocumentPackageSignedByMePartiallyOkEventContent.cs create mode 100644 EdiApi.Client/Types/Messages/BoxEventsContents/Outbox/MessageDocumentPackageSignedByRecipientPartiallyOkEventContent.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 18f8347..40a9951 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # История изменений +## v1.9.1 - 2021.06.12 +- Добавлены события для подписания документа в Диадоке с разногласиями + ## v1.8.1 - 2021.05.11 - EdiApiClient переведен на ClusterClient - Добавлены конструкторы для работы через Singular в классы `TransformerConnectorEdiApiClient`, `InternalEdiApiHttpClient` и `MessagesEdiApiHttpClient`. diff --git a/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventType.cs b/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventType.cs index 255a7cc..bdae7f1 100644 --- a/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventType.cs +++ b/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventType.cs @@ -1,4 +1,4 @@ -namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEvents +namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEvents { public enum MessageBoxEventType { @@ -28,5 +28,7 @@ public enum MessageBoxEventType AmendmentRequested, DiadocDocumentDelivered, DiadocRevocationRequested, + DocumentPackageSignedByRecipientPartiallyOk, + DocumentPackageSignedByMePartiallyOk, } } \ No newline at end of file diff --git a/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventTypeRegistry.cs b/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventTypeRegistry.cs index e7841fa..2914498 100644 --- a/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventTypeRegistry.cs +++ b/EdiApi.Client/Types/Messages/BoxEvents/MessageBoxEventTypeRegistry.cs @@ -1,4 +1,4 @@ -using SkbKontur.EdiApi.Client.Types.BoxEvents; +using SkbKontur.EdiApi.Client.Types.BoxEvents; using SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents; using SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox; using SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox; @@ -34,6 +34,8 @@ public MessageBoxEventTypeRegistry() Register(MessageBoxEventType.DocumentPackageSignedByMeFail); Register(MessageBoxEventType.AmendmentRequested); Register(MessageBoxEventType.DiadocDocumentDelivered); + Register(MessageBoxEventType.DocumentPackageSignedByRecipientPartiallyOk); + Register(MessageBoxEventType.DocumentPackageSignedByMePartiallyOk); } } } \ No newline at end of file diff --git a/EdiApi.Client/Types/Messages/BoxEventsContents/Inbox/MessageDocumentPackageSignedByMePartiallyOkEventContent.cs b/EdiApi.Client/Types/Messages/BoxEventsContents/Inbox/MessageDocumentPackageSignedByMePartiallyOkEventContent.cs new file mode 100644 index 0000000..e14a5b4 --- /dev/null +++ b/EdiApi.Client/Types/Messages/BoxEventsContents/Inbox/MessageDocumentPackageSignedByMePartiallyOkEventContent.cs @@ -0,0 +1,6 @@ +namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox +{ + public class MessageDocumentPackageSignedByMePartiallyOkEventContent : InboxDiadocEventContentBase + { + } +} \ No newline at end of file diff --git a/EdiApi.Client/Types/Messages/BoxEventsContents/Outbox/MessageDocumentPackageSignedByRecipientPartiallyOkEventContent.cs b/EdiApi.Client/Types/Messages/BoxEventsContents/Outbox/MessageDocumentPackageSignedByRecipientPartiallyOkEventContent.cs new file mode 100644 index 0000000..6301e40 --- /dev/null +++ b/EdiApi.Client/Types/Messages/BoxEventsContents/Outbox/MessageDocumentPackageSignedByRecipientPartiallyOkEventContent.cs @@ -0,0 +1,6 @@ +namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox +{ + public class MessageDocumentPackageSignedByRecipientPartiallyOkEventContent : OutboxDiadocEventContentBase + { + } +} \ No newline at end of file diff --git a/version.json b/version.json index 35d4e64..98d9167 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.8", + "version": "1.9", "assemblyVersion": { "precision": "build" },