@docsvision/webclient 5.17.2-beta.3 → 5.17.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,7 +12,6 @@ import { $CloudSignature } from "@docsvision/webclient/BackOffice/$CloudSignatur
|
|
|
12
12
|
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
13
13
|
import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
|
|
14
14
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
15
|
-
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
16
15
|
/** @internal */
|
|
17
16
|
export interface IFileSignListDialogProps {
|
|
18
17
|
/** Идентификатор документа. */
|
|
@@ -21,7 +20,7 @@ export interface IFileSignListDialogProps {
|
|
|
21
20
|
onInit?: () => void;
|
|
22
21
|
/** Вызывается при закрытии окна со списком подписей. */
|
|
23
22
|
onClose?: () => void;
|
|
24
|
-
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $
|
|
23
|
+
services: $DocumentCardController & $SignatureController & $LayoutDocumentController & $WebViewIOSEnabled & $RequestManager & $CloudSignature & $PowerOfAttorneyApiController & $Resources & $MessageBox & $Router;
|
|
25
24
|
}
|
|
26
25
|
/** @internal */
|
|
27
26
|
export interface IFileSignListDialogState {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
|
|
3
3
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
4
|
-
import { $MessageWindow } from "@docsvision/web/components/modals/message-box";
|
|
5
4
|
import { $Resources } from "@docsvision/web/core/localization/$Resources";
|
|
6
5
|
|
|
7
6
|
export interface IPowerOfAttorneyInfoProps {
|
|
8
7
|
data: GenModels.PowerOfAttorneyInfoModel;
|
|
9
|
-
services: $Resources & $Router
|
|
8
|
+
services: $Resources & $Router;
|
|
10
9
|
}
|
|
11
10
|
export declare function PowerOfAttorneyInfo(props: IPowerOfAttorneyInfoProps): JSX.Element;
|
|
12
11
|
export declare function showPowerOfAttorneyInfo(props: IPowerOfAttorneyInfoProps): void;
|
|
@@ -21,8 +21,7 @@ import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
|
|
|
21
21
|
import { SignatureDialogPowersOfAttorney } from "@docsvision/webclient/BackOffice/SignatureDialogPowersOfAttorney";
|
|
22
22
|
import { PowerOfAttorneyErrorMessage } from "@docsvision/webclient/BackOffice/PowerOfAttorneyErrorMessage";
|
|
23
23
|
import { $Router } from "@docsvision/webclient/System/$Router";
|
|
24
|
-
|
|
25
|
-
export declare type $SignatureDialogServices = $SignatureController & $WebViewIOSEnabled & $CloudSignature & $MessageBox & $CryptoPro & $ApplicationSettings & $LocalStorage & $SignatureMethodsController & $Resources & $CardInfo & $DeviceType & $PowerOfAttorneyApiController & $Router & $MessageWindow;
|
|
24
|
+
export declare type $SignatureDialogServices = $SignatureController & $WebViewIOSEnabled & $CloudSignature & $MessageBox & $CryptoPro & $ApplicationSettings & $LocalStorage & $SignatureMethodsController & $Resources & $CardInfo & $DeviceType & $PowerOfAttorneyApiController & $Router;
|
|
26
25
|
/** Свойства для {@see SignatureDialog}. */
|
|
27
26
|
export interface ISignatureDialogProps extends IComponentProps<SignatureDialogLogic, SignatureDialogView> {
|
|
28
27
|
/** Идентификатор документа. */
|
|
@@ -481,6 +481,15 @@ export declare namespace GenControllers {
|
|
|
481
481
|
* @param request Revocation parameters
|
|
482
482
|
*/
|
|
483
483
|
revokePowerOfAttorney(request: GenModels.RevokePowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
484
|
+
/**
|
|
485
|
+
* Marks power of attorney as revoked
|
|
486
|
+
*
|
|
487
|
+
* No need to request for revocation of power of attorney for using this method
|
|
488
|
+
* Power of attorney may be revoked together with subsidiaries. To do this, WithChildrenPowerOfAttorney flag must be set in request
|
|
489
|
+
*
|
|
490
|
+
* @param request Revocation parameters
|
|
491
|
+
*/
|
|
492
|
+
markAsRevokedPowerOfAttorney(request: GenModels.RevokePowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
484
493
|
/**
|
|
485
494
|
* Save power of attorney to archive and return as attachment
|
|
486
495
|
*
|
|
@@ -523,6 +532,7 @@ export declare namespace GenControllers {
|
|
|
523
532
|
attachSignatureToRevocationPowerOfAttorney(request: GenModels.AttachSignatureToPowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
524
533
|
requestRevocationPowerOfAttorney(request: GenModels.RequestRevocationPowerOfAttorneyRequest, options?: RequestOptions): Promise<GenModels.RevocationPowerOfAttorneyResponse>;
|
|
525
534
|
revokePowerOfAttorney(request: GenModels.RevokePowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
535
|
+
markAsRevokedPowerOfAttorney(request: GenModels.RevokePowerOfAttorneyRequest, options?: RequestOptions): Promise<void>;
|
|
526
536
|
exportPowerOfAttorney(powerOfAttorneyId: string, withSignature: boolean, options?: RequestOptions): Promise<any>;
|
|
527
537
|
exportPowerOfAttorneyRevocation(powerOfAttorneyId: string, options?: RequestOptions): Promise<any>;
|
|
528
538
|
createPowerOfAttorneyGeneral(request: GenModels.CreatePowerOfAttorneyRequestEmchd, options?: RequestOptions): Promise<string>;
|