-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'PowerOfAttorneySigningEvents'
- Loading branch information
Showing
13 changed files
with
158 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyFullId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Полный идентификатор МЧД</summary> | ||
public class DiadocPowerOfAttorneyFullId | ||
{ | ||
/// <summary>ИНН выпустившей МЧД организации</summary> | ||
public string IssuerInn { get; set; } | ||
|
||
/// <summary>Регистрационный номер МЧД</summary> | ||
public string RegistrationNumber { get; set; } | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Информация об МЧД и её текущем статусе проверки</summary> | ||
public class DiadocPowerOfAttorneyInfo | ||
{ | ||
/// <summary>Идентификатор подписанного с МЧД документа в пакете документов</summary> | ||
public string DocumentEntityId { get; set; } | ||
|
||
/// <summary>Идентификатор МЧД в пакете документов</summary> | ||
public string PowerOfAttorneyEntityId { get; set; } | ||
|
||
/// <summary>Идентификатор изменения статуса в истории изменений статусов проверки МЧД</summary> | ||
public string PowerOfAttorneyStatusChangeEntityId { get; set; } | ||
|
||
/// <summary>Полный идентификатор МЧД</summary> | ||
public DiadocPowerOfAttorneyFullId PowerOfAttorneyFullId { get; set; } | ||
|
||
/// <summary>Текущий статус проверки МЧД</summary> | ||
public DiadocPowerOfAttorneyValidationStatus PowerOfAttorneyValidationStatus { get; set; } | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationStatus.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Статус проверки МЧД</summary> | ||
public class DiadocPowerOfAttorneyValidationStatus | ||
{ | ||
/// <summary>Критичность статуса</summary> | ||
public DiadocPowerOfAttorneyValidationStatusSeverity Severity { get; set; } | ||
|
||
/// <summary>Идентификатор статуса</summary> | ||
public DiadocPowerOfAttorneyValidationStatusNamedId StatusNamedId { get; set; } | ||
|
||
/// <summary>Текст статуса</summary> | ||
public string StatusText { get; set; } | ||
|
||
/// <summary>Ошибки проверки МЧД</summary> | ||
public DiadocPowerOfAttorneyValidationStatusError[] ValidationErrors { get; set; } | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
EdiApi.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationStatusError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Ошибка проверки статуса МЧД</summary> | ||
public class DiadocPowerOfAttorneyValidationStatusError | ||
{ | ||
/// <summary>Код ошибки</summary> | ||
public string Code { get; set; } | ||
|
||
/// <summary>Текст ошибки</summary> | ||
public string Text { get; set; } | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...i.Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationStatusNamedId.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Идентификатор статуса проверки МЧД</summary> | ||
public enum DiadocPowerOfAttorneyValidationStatusNamedId | ||
{ | ||
/// <summary>Неизвестный статус</summary> | ||
UnknownStatus = 0, | ||
|
||
/// <summary>МЧД не может быть проверена</summary> | ||
CanNotBeValidated = 1, | ||
|
||
/// <summary>МЧД валидна</summary> | ||
IsValid = 2, | ||
|
||
/// <summary>МЧД не валидна</summary> | ||
IsNotValid = 3, | ||
|
||
/// <summary>Ошибка во время проверки МЧД</summary> | ||
ValidationError = 4, | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
....Client/Types/Messages/BoxEventsContents/DiadocPowerOfAttorneyValidationStatusSeverity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents | ||
{ | ||
/// <summary>Критичность статуса проверки МЧД</summary> | ||
public enum DiadocPowerOfAttorneyValidationStatusSeverity | ||
{ | ||
/// <summary>Неизвестная критичность</summary> | ||
UnknownSeverity = 0, | ||
|
||
/// <summary>Действие не требуется</summary> | ||
Info = 1, | ||
|
||
/// <summary>Действие выполнено успешно</summary> | ||
Success = 2, | ||
|
||
/// <summary>Действие требуется</summary> | ||
Warning = 3, | ||
|
||
/// <summary>Отказано в действии</summary> | ||
Error = 4, | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...ntsContents/Inbox/InboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox | ||
{ | ||
/// <summary>Информация о событии DiadocDocumentRecipientPowerOfAttorneyStatusChanged в ящике получателя</summary> | ||
public class InboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent : InboxDiadocEventContentBase | ||
{ | ||
/// <summary>Информация об МЧД и её текущем статусе проверки</summary> | ||
public DiadocPowerOfAttorneyInfo PowerOfAttorneyInfo { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...EventsContents/Inbox/InboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Inbox | ||
{ | ||
/// <summary>Информация о событии DiadocDocumentSenderPowerOfAttorneyStatusChanged в ящике получателя</summary> | ||
public class InboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent : InboxDiadocEventContentBase | ||
{ | ||
/// <summary>Информация об МЧД и её текущем статусе проверки</summary> | ||
public DiadocPowerOfAttorneyInfo PowerOfAttorneyInfo { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...sContents/Outbox/OutboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox | ||
{ | ||
/// <summary>Информация о событии DiadocDocumentRecipientPowerOfAttorneyStatusChanged в ящике отправителя</summary> | ||
public class OutboxDiadocDocumentRecipientPowerOfAttorneyStatusChangedEventContent : OutboxDiadocEventContentBase | ||
{ | ||
/// <summary>Информация об МЧД и её текущем статусе проверки</summary> | ||
public DiadocPowerOfAttorneyInfo PowerOfAttorneyInfo { get; set; } | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...entsContents/Outbox/OutboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace SkbKontur.EdiApi.Client.Types.Messages.BoxEventsContents.Outbox | ||
{ | ||
/// <summary>Информация о событии DiadocDocumentSenderPowerOfAttorneyStatusChanged в ящике отправителя</summary> | ||
public class OutboxDiadocDocumentSenderPowerOfAttorneyStatusChangedEventContent : OutboxDiadocEventContentBase | ||
{ | ||
/// <summary>Информация об МЧД и её текущем статусе проверки</summary> | ||
public DiadocPowerOfAttorneyInfo PowerOfAttorneyInfo { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters