Mark PSPDFKit-related code as obsolete
Added `[Obsolete]` attributes to classes, methods, and properties related to the deprecated PSPDFKit library and notifications. - Marked `AnnotationHandler`, `DocStatusHandler`, `AnnotationBehavior`, and `DocStatusBehavior` as obsolete. - Marked `Handle` methods in `DocStatusHandler` and `DocStatusBehavior` as obsolete. - Marked `PsPdfKitAnnotation` property in `SignCommand` as obsolete. - Marked `CreateOrUpdate` method in `AnnotationController` as obsolete. - Added `Handle` methods in `DocStatusHandler` and `DocStatusBehavior` to send `CreateDocStatusCommand`. - Updated `AnnotationController` dependencies to include `EnvelopeGenerator.Application.Common.Dto`. These changes indicate a transition to `Signature.Commands.SignCommand` and deprecate PSPDFKit-related functionality.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using DigitalData.Core.Abstraction.Application.DTO;
|
||||
using DigitalData.Core.Exceptions;
|
||||
using EnvelopeGenerator.Application.Common.Dto;
|
||||
using EnvelopeGenerator.Application.Common.Extensions;
|
||||
using EnvelopeGenerator.Application.Common.Interfaces.Services;
|
||||
using EnvelopeGenerator.Application.Common.Notifications.DocSigned;
|
||||
@@ -46,6 +47,7 @@ public class AnnotationController : ControllerBase
|
||||
|
||||
[Authorize(Roles = Role.ReceiverFull)]
|
||||
[HttpPost]
|
||||
[Obsolete("This notification is deprecated. Use Signature.Commands.SignCommand instead.")]
|
||||
public async Task<IActionResult> CreateOrUpdate([FromBody] PsPdfKitAnnotation? psPdfKitAnnotation = null, CancellationToken cancel = default)
|
||||
{
|
||||
// get claims
|
||||
|
||||
Reference in New Issue
Block a user