@docsvision/webclient 5.16.1 → 5.16.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.
Files changed (58) hide show
  1. package/BackOffice/FileListControl.d.ts +5 -2
  2. package/BackOffice/FileListControlLogic.d.ts +1 -1
  3. package/BackOffice/FileListItemComponent.d.ts +1 -1
  4. package/BackOffice/FileListItemProps.d.ts +2 -1
  5. package/BackOffice/FileSign.d.ts +2 -2
  6. package/BackOffice/GenderDeterminantPlugin.d.ts +3 -0
  7. package/BackOffice/IFileSignInteractionModel.d.ts +1 -0
  8. package/BackOffice/ITaskTableSorting.d.ts +27 -0
  9. package/BackOffice/PrepareTasksTableModel.d.ts +2 -1
  10. package/BackOffice/SortingRows.d.ts +6 -0
  11. package/BackOffice/StaffDirectorySelectDialog.d.ts +4 -1
  12. package/BackOffice/TasksTable.d.ts +3 -0
  13. package/BackOffice/TasksTableHeaderCell.d.ts +3 -0
  14. package/BackOffice/TasksTableLogic.d.ts +8 -0
  15. package/Generated/DocsVision.WebClient.Controllers.d.ts +73 -2
  16. package/Generated/DocsVision.WebClient.Models.d.ts +1006 -266
  17. package/Helpers/Sortable/Data/ClientModels/ISortableItem.d.ts +7 -1
  18. package/Helpers/Sortable/Sortable.d.ts +11 -1
  19. package/Helpers/Table/TableHelperHeaderRow.d.ts +1 -0
  20. package/Helpers/Typeahead/Typeahead.d.ts +1 -1
  21. package/Legacy/BasicGridHtmlBuilder.d.ts +3 -1
  22. package/Legacy/TaskCardFilePanelRazorControl.d.ts +1 -0
  23. package/Legacy/Utils.d.ts +5 -0
  24. package/Libs/CryptoPro/Crypto.d.ts +102 -0
  25. package/Libs/FileDrop/FileDrop.d.ts +49 -0
  26. package/MainBundle.d.ts +1 -0
  27. package/Platform/$LastSearchParameters.d.ts +10 -0
  28. package/Platform/$RefreshUnreadCounters.d.ts +10 -0
  29. package/Platform/$SearchParametersFolder.d.ts +13 -0
  30. package/Platform/$UnreadCounter.d.ts +2 -0
  31. package/Platform/$UnreadCountersHealthMonitor.d.ts +6 -0
  32. package/Platform/CardLink.d.ts +2 -1
  33. package/Platform/FilePickerImpl.d.ts +1 -0
  34. package/Platform/FolderSizePlugin.d.ts +2 -1
  35. package/Platform/LastSearchParametersService.d.ts +13 -0
  36. package/Platform/Number.d.ts +2 -0
  37. package/Platform/NumberImpl.d.ts +1 -0
  38. package/Platform/ReadAllPlugin.d.ts +2 -1
  39. package/Platform/ReadBatchOperation.d.ts +4 -1
  40. package/Platform/RefreshUnreadCountersService.d.ts +13 -0
  41. package/Platform/SearchParametersFolderRequestResolver.d.ts +2 -1
  42. package/Platform/SearchParametersFolderResponseResolver.d.ts +5 -1
  43. package/Platform/SearchParametersFolderService.d.ts +12 -0
  44. package/Platform/UnreadBarService.d.ts +3 -1
  45. package/Platform/UnreadBarTablePlugins.d.ts +3 -1
  46. package/Platform/UnreadCounter.d.ts +1 -0
  47. package/Platform/UnreadCountersHealthMonitorService.d.ts +32 -0
  48. package/StandardServices.d.ts +4 -1
  49. package/System/$FileService.d.ts +16 -9
  50. package/System/$Router.d.ts +1 -0
  51. package/System/DataGridControl.d.ts +63 -0
  52. package/System/FileService.d.ts +14 -15
  53. package/System/ILayoutParams.d.ts +2 -0
  54. package/System/LayoutManager.d.ts +1 -1
  55. package/System/PageLeaveConfirmation.d.ts +1 -0
  56. package/System/Router.d.ts +1 -0
  57. package/package.json +1 -1
  58. package/Platform/SearchParametersFolderExtendedData.d.ts +0 -4
@@ -48,6 +48,7 @@ import { $UrlStore } from "@docsvision/webclient/System/$UrlStore";
48
48
  import { $MessageBox } from "@docsvision/webclient/System/$MessageBox";
49
49
  import { $FileUpload } from "@docsvision/webclient/Platform/IFileUploadService";
50
50
  import { IFileMenuOpeningArgs } from "@docsvision/webclient/BackOffice/IFileMenuOpeningArgs";
51
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
51
52
  /**
52
53
  * Содержит публичные свойства элемента управления [Список файлов]{@link FileListControl}.
53
54
  */
@@ -119,6 +120,8 @@ export declare class FileListControlParams extends BaseControlParams {
119
120
  fileOpening?: CancelableApiEvent<IFileOpeningArgs>;
120
121
  /** Событие возникает при открытии журнала подписей. */
121
122
  signatureListViewing?: CancelableApiEvent<ISignatureListViewingArgs>;
123
+ /** Событие возникает перед открытием диалога подписания. */
124
+ signatureDialogOpening?: CancelableApiEvent<IEventArgs>;
122
125
  /** Событие возникает при подписании файла. */
123
126
  signatureCreating?: CancelableApiEvent<ISignatureCreatingArgs>;
124
127
  /** Событие возникает при добавлении комментария к версии файла. */
@@ -170,7 +173,7 @@ export declare class FileListControlParams extends BaseControlParams {
170
173
  /** Событие возникает при сохранении файла в WebDAV. */
171
174
  fileSaveByWebDAV?: BasicApiEvent<IEventArgs>;
172
175
  /** Сервисы. */
173
- services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $LayoutInfo & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController;
176
+ services?: $FileService & $DocumentCardController & $FileController & $LayoutFileController & $Layout & $RequestManager & $SignatureController & $CardId & $RealtimeCommunicationService & $Router & $DeviceType & $LayoutInfo & $EditOperationStore & $CardInfo & $DataVisualizationController & $LayoutCheck & $ApplicationSettings & $FileUpload & $UrlStore & $MessageBox & $WebViewIOSEnabled & $LayoutFileApiController & $LayoutDocumentController & $LayoutManager;
174
177
  }
175
178
  /**
176
179
  * Класс элемента управления Список файлов.
@@ -294,7 +297,7 @@ export declare class FileListControl extends BaseControl<FileListControlParams,
294
297
  * Открывает файл с использованием технологии WebDAV.
295
298
  * @param fileItem Файл.
296
299
  */
297
- openWebDav(fileItem: FileListItem): void;
300
+ openWebDav(fileItem: FileListItem): Promise<void>;
298
301
  /** @inheritDoc */
299
302
  init(): void;
300
303
  deinit(): void;
@@ -29,7 +29,7 @@ export declare class FileListControlLogic {
29
29
  generateLinkTag: (url: string) => void;
30
30
  download(fileItem: FileListItem, fileVersion: GenModels.VersionedFileModel, action: string): void;
31
31
  getDownloadUrl(fileItem: FileListItem, fileVersion: GenModels.VersionedFileModel, action: string): string;
32
- webDav(fileItem: FileListItem, canEdit: boolean): void;
32
+ webDav(fileItem: FileListItem, canEdit: boolean): Promise<void>;
33
33
  viewFileWithSignature(fileItem: FileListItem, action: string): void;
34
34
  /**
35
35
  * Mark file for remove, or send remove request imediately
@@ -40,7 +40,7 @@ export declare class FileListItemComponent extends React.Component<FileListItemP
40
40
  protected onNameClick: (fileItem: FileListItem) => void;
41
41
  protected onVersionNumberClick: (fileItem: FileListItem, version: GenModels.VersionedFileModel) => void;
42
42
  protected onDownloadVersionClick(fileItem: FileListItem, version: GenModels.VersionedFileModel): void;
43
- onWebDavFileClick(fileItem: FileListItem): void;
43
+ onWebDavFileClick(fileItem: FileListItem): Promise<void>;
44
44
  protected onDragStart(e: any): void;
45
45
  protected renderViewMode(): JSX.Element;
46
46
  protected renderVersionList(fileItem: FileListItem): JSX.Element;
@@ -11,6 +11,7 @@ import { $LayoutCheck } from '@docsvision/webclient/System/$LayoutCheckService';
11
11
  import { $RequestManager } from '@docsvision/webclient/System/$RequestManager';
12
12
  import { $FileController } from '@docsvision/webclient/Legacy/FileController';
13
13
  import { FileListFormType } from '@docsvision/webclient/BackOffice/FileListFormType';
14
+ import { $LayoutManager } from "@docsvision/webclient/System/$LayoutManager";
14
15
  /** @internal */
15
16
  export declare class FileListItemProps {
16
17
  fileListItem: FileListItem;
@@ -19,7 +20,7 @@ export declare class FileListItemProps {
19
20
  logic: FileListControlLogic;
20
21
  renderUploadForm: (attach: FileListAttachedElements, action: string, main?: boolean, type?: FileListFormType, fileItem?: FileListItem, accept?: string) => any;
21
22
  key: string;
22
- services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo;
23
+ services: $LayoutFileController & $DeviceType & $Layout & $CardId & $FileService & $LayoutCheck & $CardInfo & $RequestManager & $FileController & $LayoutInfo & $LayoutManager;
23
24
  onClick?: any;
24
25
  selected?: boolean;
25
26
  importSignatureEditOperation?: string;
@@ -26,9 +26,9 @@ export declare class FileSign {
26
26
  /** Отрисовывает диалог для создания подписи. */
27
27
  protected renderCreateDialog: () => JSX.Element;
28
28
  /** Открыть диалог для создания подписи. */
29
- protected openCreateDialog: () => void;
29
+ protected openCreateDialog: () => Promise<void>;
30
30
  /** @deprecated */
31
- ShowSignDialog: () => void;
31
+ ShowSignDialog: () => Promise<void>;
32
32
  /** Закрыть диалог для создания подписи. */
33
33
  protected closeCreateDialog: () => void;
34
34
  /** При подписывании. */
@@ -0,0 +1,3 @@
1
+ import { TablePlugins } from "@docsvision/web/components/table/interfaces";
2
+ export declare const GenderDeterminantFeature = "GenderDeterminantFeature";
3
+ export declare const GenderDeterminantPlugin: TablePlugins.Cell.Component;
@@ -8,6 +8,7 @@ export interface IFileSignInteractionModel {
8
8
  getFiles: () => IFileSignInfo[];
9
9
  signButton: HTMLElement;
10
10
  viewSignButton: HTMLElement;
11
+ beforeShowSignDialogCallback: () => Promise<any>;
11
12
  beforeSignCallback: () => Promise<any>;
12
13
  beforeViewSignCallback: () => Promise<any>;
13
14
  afterSignCallback: Function;
@@ -0,0 +1,27 @@
1
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
2
+ export declare enum TasksTableSorting {
3
+ /** Without sorting */
4
+ None = 0,
5
+ /** Send data */
6
+ SendDate = 1,
7
+ /** Due date */
8
+ DueDate = 2,
9
+ /** Name */
10
+ Name = 3,
11
+ /** Author */
12
+ Author = 4,
13
+ /** State */
14
+ State = 5,
15
+ /** Current performer */
16
+ CurrentPerformer = 6,
17
+ /** Kind */
18
+ Kind = 7
19
+ }
20
+ export declare enum TasksTableSortingDirection {
21
+ Ascending = 0,
22
+ Descending = 1
23
+ }
24
+ export interface ITasksTableSorting {
25
+ type: GenModels.TaskColumnType;
26
+ direction: TasksTableSortingDirection;
27
+ }
@@ -1,3 +1,4 @@
1
1
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
2
2
  import { ITasksTableModel } from '@docsvision/webclient/BackOffice/ITasksTableModel';
3
- export declare function prepareTasksTableModel(data: GenModels.TasksTableModel, expand: number, taskGroupWithOneTaskDisplayMode?: GenModels.TaskGroupWithOneTaskDisplayMode): ITasksTableModel;
3
+ import { ITasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
4
+ export declare function prepareTasksTableModel(data: GenModels.TasksTableModel, expand: number, taskGroupWithOneTaskDisplayMode?: GenModels.TaskGroupWithOneTaskDisplayMode, sorting?: ITasksTableSorting): ITasksTableModel;
@@ -0,0 +1,6 @@
1
+ import { ITasksTableModel } from "@docsvision/webclient/BackOffice/ITasksTableModel";
2
+ import { ITasksTableRow } from "@docsvision/webclient/BackOffice/ITasksTableRow";
3
+ import { ITasksTableSorting, TasksTableSorting } from "@docsvision/webclient/BackOffice/ITaskTableSorting";
4
+ import { GenModels } from "@docsvision/webclient/Generated/DocsVision.WebClient.Models";
5
+ export declare function sortingRows(sorting: ITasksTableSorting, model: ITasksTableModel): ITasksTableRow[];
6
+ export declare function sortingRefinement(sorting: TasksTableSorting): GenModels.TaskColumnType.Name | GenModels.TaskColumnType.Author | GenModels.TaskColumnType.State | GenModels.TaskColumnType.PlannedEndDate | GenModels.TaskColumnType.CurrentPerformer | GenModels.TaskColumnType.DepartureDate | GenModels.TaskColumnType.Kind;
@@ -10,6 +10,7 @@ import { IDirectoryChildrenLoadResponse, IDirectoryItem, IDirectorySearchItem, I
10
10
  import { BasicApiEvent, CancelableApiEvent } from "@docsvision/webclient/System/ApiEvent";
11
11
  import React from "react";
12
12
  import { IStaffDirectoryItemsDialog } from '@docsvision/webclient/BackOffice/IStaffDirectoryItemsDialog';
13
+ import { $CardInfo } from "@docsvision/webclient/System/LayoutServices";
13
14
  declare type ItemT = GenModels.IDirectoryItemData;
14
15
  /** @internal */
15
16
  export interface IStaffDirectorySelectDialogSearchPathOptions {
@@ -27,7 +28,8 @@ export interface IStaffDirectorySelectDialogProps extends IDirectorySelectDialog
27
28
  multipleSelection: boolean;
28
29
  initialSelectedValues: ItemT[];
29
30
  dataSource: GenModels.StaffItemsDataSourceModel;
30
- services: $StaffDirectoryItemsController;
31
+ favoritesKey?: string;
32
+ services: $StaffDirectoryItemsController & $CardInfo;
31
33
  }
32
34
  /** @internal */
33
35
  export interface IStaffDirectorySelectDialogState extends IDirectorySelectDialogState<StaffValueType, StaffNodeType, ItemT> {
@@ -55,6 +57,7 @@ export declare class StaffDirectorySelectDialog extends DirectorySelectDialog<St
55
57
  protected getItemDisplayName(item: IDirectoryItem<StaffNodeType | ItemT>): string;
56
58
  protected getItemIconClassName(item: IDirectoryItem<StaffNodeType | ItemT>): string;
57
59
  protected getItemTooltip(item: IDirectoryItem<StaffNodeType | ItemT>): string;
60
+ protected getQueryContext(): GenModels.StaffQueryContext;
58
61
  protected loadChildrenList(nodeId: string, nodeType: GenModels.DirectoryDataType, from: number, to: number): Promise<IDirectoryChildrenLoadResponse<StaffNodeType | ItemT>>;
59
62
  loadFirstScreenItems(): IDirectoryChildrenLoadResponse<GenModels.IDirectoryItemData>;
60
63
  isFirstScreenItem(itemId: string): false | GenModels.DirectoryDataType.Role | GenModels.DirectoryDataType.Group | GenModels.DirectoryDataType.Position | GenModels.DirectoryDataType.SearchWord | GenModels.DirectoryDataType.Department | GenModels.DirectoryDataType.Organization | GenModels.DirectoryDataType.AllNodes | GenModels.DirectoryDataType.Employee | GenModels.DirectoryDataType.AllApprovers | GenModels.DirectoryDataType.All;
@@ -19,6 +19,7 @@ import { $MessageBox } from '@docsvision/webclient/System/$MessageBox';
19
19
  import { CancelableApiEvent, BasicApiEvent } from '@docsvision/webclient/System/ApiEvent';
20
20
  import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
21
21
  import { $UrlStore } from '@docsvision/webclient/System/$UrlStore';
22
+ import { TasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
22
23
  /**
23
24
  * Содержит публичные свойства элемента управления [Отображение инициатора]{@link TasksTable}.
24
25
  */
@@ -58,6 +59,8 @@ export declare class TasksTableParams extends BaseControlParams {
58
59
  rows?: ITasksTableRow[];
59
60
  /** Набор видимых строк плоским списком. */
60
61
  visibleRows?: ITasksTableRow[];
62
+ /** Сортировка */
63
+ sorting?: TasksTableSorting;
61
64
  rowRemoving?: CancelableApiEvent<{
62
65
  row: ITasksTableRow;
63
66
  }>;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { GenModels } from '@docsvision/webclient/Generated/DocsVision.WebClient.Models';
3
+ import { ITasksTableSorting } from '@docsvision/webclient/BackOffice/ITaskTableSorting';
3
4
  export interface ITasksTableHeaderCellProps extends React.HTMLAttributes<HTMLButtonElement> {
4
5
  column: GenModels.ColumnDescription;
5
6
  iconColumnWidth: number;
@@ -10,5 +11,7 @@ export interface ITasksTableHeaderCellProps extends React.HTMLAttributes<HTMLBut
10
11
  columnNames: {
11
12
  [key: number]: string;
12
13
  };
14
+ sorting: ITasksTableSorting;
15
+ setSortingColumn?(columnType: GenModels.TaskColumnType): void;
13
16
  }
14
17
  export declare function TasksTableHeaderCell(props: ITasksTableHeaderCellProps): JSX.Element;
@@ -5,6 +5,7 @@ import { TasksTableParams } from '@docsvision/webclient/BackOffice/TasksTable';
5
5
  import { ITasksTableRow } from '@docsvision/webclient/BackOffice/ITasksTableRow';
6
6
  import { IRenderHelpBoxNodeInfo } from '@docsvision/webclient/BackOffice/ITasksTreeNodeResolver';
7
7
  import { StaffDirectoryItems } from '@docsvision/webclient/BackOffice/StaffDirectoryItems';
8
+ import { ITasksTableSorting } from "@docsvision/webclient/BackOffice/ITaskTableSorting";
8
9
  export declare class TasksTableLogic {
9
10
  options: TasksTableParams;
10
11
  constructor(options: TasksTableParams);
@@ -149,6 +150,12 @@ import("react").MouseEvent<Element, MouseEvent>>;
149
150
  import("effector").Event<string>;
150
151
  togglePerformer:
151
152
  import("effector").Event<(ITasksTableRow: any) => boolean>;
153
+ $sorting:
154
+ import("effector").Store<ITasksTableSorting>;
155
+ setSorting:
156
+ import("effector").Event<ITasksTableSorting>;
157
+ setModelSorting:
158
+ import("effector").Event<ITasksTableModel>;
152
159
  checkItemLoaded(item: ITasksTableRow): boolean;
153
160
  smartphoneColumns: GenModels.ColumnDescription[];
154
161
  getVisibleColumns(): GenModels.ColumnDescription[];
@@ -161,6 +168,7 @@ import("effector").Event<(ITasksTableRow: any) => boolean>;
161
168
  unfinishedFilter: (row: ITasksTableRow) => boolean;
162
169
  rowsToFixateDialog: number;
163
170
  init(): void;
171
+ setSortingColumn: (columnType: GenModels.TaskColumnType) => void;
164
172
  private getColumns;
165
173
  private updateSearchSubstring;
166
174
  }
@@ -256,7 +256,7 @@ export declare namespace GenControllers {
256
256
  /**
257
257
  * HTTP: /Navigator/HealthCheck
258
258
  */
259
- healthCheck(options?: RequestOptions): Promise<string>;
259
+ healthCheck(checkPoolSession?: boolean, options?: RequestOptions): Promise<string>;
260
260
  }
261
261
  class NavigatorController extends BaseController implements INavigatorController {
262
262
  getNavigatorFolders(id?: string, excludeSearchParamFolder?: boolean, options?: RequestOptions): Promise<string>;
@@ -273,7 +273,7 @@ export declare namespace GenControllers {
273
273
  showSelectExistingCard(cardId: string, isReport?: boolean, allowedLinkTypes?: Array<string>, options?: RequestOptions): Promise<string>;
274
274
  showSelectNewDocumentKind(isReport?: boolean, options?: RequestOptions): Promise<string>;
275
275
  attachLink(model: GenModels.LinkAddModel, options?: RequestOptions): Promise<string>;
276
- healthCheck(options?: RequestOptions): Promise<string>;
276
+ healthCheck(checkPoolSession?: boolean, options?: RequestOptions): Promise<string>;
277
277
  }
278
278
  }
279
279
  export declare type $NavigatorController = {
@@ -439,6 +439,28 @@ export declare type $LogController = {
439
439
  logController: GenControllers.ILogController;
440
440
  };
441
441
  export declare const $LogController: string | ((model?: $LogController) => GenControllers.ILogController);
442
+ export declare namespace GenControllers {
443
+ /**
444
+ * DataGridControl controller
445
+ */
446
+ interface IDataGridControlController {
447
+ /**
448
+ * Getting the table model
449
+ *
450
+ * @param parameters Parameters
451
+ *
452
+ * @returns Table model
453
+ */
454
+ getTableData(parameters: GenModels.DataGridControlParams, options?: RequestOptions): Promise<GenModels.TableModel>;
455
+ }
456
+ class DataGridControlController extends BaseController implements IDataGridControlController {
457
+ getTableData(parameters: GenModels.DataGridControlParams, options?: RequestOptions): Promise<GenModels.TableModel>;
458
+ }
459
+ }
460
+ export declare type $DataGridControlController = {
461
+ dataGridControlController: GenControllers.IDataGridControlController;
462
+ };
463
+ export declare const $DataGridControlController: string | ((model?: $DataGridControlController) => GenControllers.IDataGridControlController);
442
464
  export declare namespace GenControllers {
443
465
  /**
444
466
  * Security descriptor controller
@@ -898,6 +920,10 @@ export declare namespace GenControllers {
898
920
  * @returns JSON representation of {@link GenModels}
899
921
  */
900
922
  getSignatureKind(certEncoded: string, options?: RequestOptions): Promise<GenModels.SignatureKindSelectionModel>;
923
+ /**
924
+ * Gets thumberprints of certificates
925
+ */
926
+ getCertificatesThumberprints(request: GenModels.CertificateThumberprintRequest, options?: RequestOptions): Promise<GenModels.CertificateThumberprintResponse>;
901
927
  /**
902
928
  * Check if document has valid signature
903
929
  *
@@ -906,10 +932,36 @@ export declare namespace GenControllers {
906
932
  * @returns JSON representation of {@link GenModels}
907
933
  */
908
934
  hasValidSignature(cardId: string, options?: RequestOptions): Promise<boolean>;
935
+ /**
936
+ * HTTP: /Signature/AttachSignature
937
+ */
938
+ attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<void>;
939
+ /**
940
+ * HTTP: /Signature/GetSignature
941
+ */
942
+ getSignature(signDialogParams: GenModels.CreateSignDialogParams, options?: RequestOptions): Promise<GenModels.SignatureModel>;
943
+ /**
944
+ * HTTP: /DocumentCard/GetSignatures
945
+ */
946
+ getSignatures(documentId: string, verify?: boolean, options?: RequestOptions): Promise<GenModels.DocumentSignatureListModel>;
947
+ /**
948
+ * HTTP: /DocumentCard/GetSignatureVerification
949
+ */
950
+ getSignatureVerification(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureVerificationModel>;
951
+ /**
952
+ * HTTP: /DocumentCard/GetSignatureVerification
953
+ */
954
+ getSignatureDetails(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureDetailsModel>;
909
955
  }
910
956
  class SignatureController extends BaseController implements ISignatureController {
911
957
  getSignatureKind(certEncoded: string, options?: RequestOptions): Promise<GenModels.SignatureKindSelectionModel>;
958
+ getCertificatesThumberprints(request: GenModels.CertificateThumberprintRequest, options?: RequestOptions): Promise<GenModels.CertificateThumberprintResponse>;
912
959
  hasValidSignature(cardId: string, options?: RequestOptions): Promise<boolean>;
960
+ attachSignature(signDataRequest: GenModels.SignDataRequestWrapper, options?: RequestOptions): Promise<void>;
961
+ getSignature(signDialogParams: GenModels.CreateSignDialogParams, options?: RequestOptions): Promise<GenModels.SignatureModel>;
962
+ getSignatures(documentId: string, verify?: boolean, options?: RequestOptions): Promise<GenModels.DocumentSignatureListModel>;
963
+ getSignatureVerification(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureVerificationModel>;
964
+ getSignatureDetails(documentId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureDetailsModel>;
913
965
  }
914
966
  }
915
967
  export declare type $SignatureController = {
@@ -1237,6 +1289,18 @@ export declare namespace GenControllers {
1237
1289
  * load all pages
1238
1290
  */
1239
1291
  loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
1292
+ /**
1293
+ * Force unread counter recalculation.
1294
+ *
1295
+ * @param requestModel
1296
+ */
1297
+ refreshUnreadCounter(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
1298
+ /**
1299
+ * Force unread counter recalculation.
1300
+ *
1301
+ * @param requestModel
1302
+ */
1303
+ refreshUnreadCounterEx(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
1240
1304
  }
1241
1305
  class GridController extends BaseController implements IGridController {
1242
1306
  getCardList(requestModel: GenModels.CardListRequestModel, options?: RequestOptions): Promise<GenModels.CardListViewModel>;
@@ -1252,6 +1316,8 @@ export declare namespace GenControllers {
1252
1316
  setAllCardsReadStatus(saveAllCardsReadStatusModel: GenModels.SaveAllCardsReadStatusRequestModel, options?: RequestOptions): Promise<void>;
1253
1317
  getViewDistinctValues(distinctValuesRequest: GenModels.DistinctValuesRequestModel, options?: RequestOptions): Promise<GenModels.DistinctValuesModel>;
1254
1318
  loadAllPages(baseCursorId: string, options?: RequestOptions): Promise<number>;
1319
+ refreshUnreadCounter(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
1320
+ refreshUnreadCounterEx(requestModel: GenModels.RefreshUnreadCounterRequest, options?: RequestOptions): Promise<any>;
1255
1321
  }
1256
1322
  }
1257
1323
  export declare type $GridController = {
@@ -2014,6 +2080,10 @@ export declare namespace GenControllers {
2014
2080
  * @param signatureFormat Signature export format
2015
2081
  */
2016
2082
  exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2083
+ /**
2084
+ * Downloads signature byte array
2085
+ */
2086
+ downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
2017
2087
  /**
2018
2088
  * Get signature information
2019
2089
  */
@@ -2026,6 +2096,7 @@ export declare namespace GenControllers {
2026
2096
  getCheckUniqueAttributes(documentId: string, options?: RequestOptions): Promise<Array<GenModels.UniqueAttribute>>;
2027
2097
  checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
2028
2098
  exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
2099
+ downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
2029
2100
  getSignatureInfo(documentId: string, signaturePartId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureInfoModel>;
2030
2101
  }
2031
2102
  }