@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
@@ -856,6 +856,108 @@ export declare namespace GenModels {
856
856
  children: Array<GenModels.FolderTypeInfo>;
857
857
  }
858
858
  }
859
+ export declare namespace GenModels {
860
+ interface DataGridControlParams {
861
+ /**
862
+ * Plugin name
863
+ */
864
+ pluginName: string;
865
+ /**
866
+ * Parameters
867
+ */
868
+ parameters: Array<GenModels.ParamModel>;
869
+ /**
870
+ * Source id
871
+ *
872
+ * @format datatype.uuid
873
+ */
874
+ sourceId?: string;
875
+ }
876
+ }
877
+ export declare namespace GenModels {
878
+ interface ParamModel {
879
+ /**
880
+ * key
881
+ */
882
+ key: string;
883
+ /**
884
+ * value
885
+ */
886
+ value: string;
887
+ }
888
+ }
889
+ export declare namespace GenModels {
890
+ interface TableModel {
891
+ /**
892
+ * Table id
893
+ */
894
+ id: string;
895
+ /**
896
+ * Source id in the system
897
+ */
898
+ sourceId: string;
899
+ /**
900
+ * Column models
901
+ */
902
+ columns: Array<GenModels.ColumnModel>;
903
+ /**
904
+ * Row models
905
+ */
906
+ rows: Array<GenModels.RowModel>;
907
+ }
908
+ }
909
+ export declare namespace GenModels {
910
+ interface ColumnModel {
911
+ /**
912
+ * Column id
913
+ */
914
+ id: string;
915
+ /**
916
+ * Column name
917
+ */
918
+ name: string;
919
+ /**
920
+ * Visability flag
921
+ */
922
+ hidden?: boolean;
923
+ /**
924
+ * Column order
925
+ */
926
+ order?: number;
927
+ /**
928
+ * Column type
929
+ */
930
+ type?: GenModels.ColumnType;
931
+ }
932
+ }
933
+ export declare namespace GenModels {
934
+ interface RowModel {
935
+ /**
936
+ * Row id
937
+ */
938
+ id: string;
939
+ /**
940
+ * Entity id in the system
941
+ */
942
+ entityId: string;
943
+ /**
944
+ * Cells data
945
+ */
946
+ cells: Array<GenModels.CellModel>;
947
+ }
948
+ }
949
+ export declare namespace GenModels {
950
+ interface CellModel {
951
+ /**
952
+ * Column id
953
+ */
954
+ columnId: string;
955
+ /**
956
+ * Value
957
+ */
958
+ value: any;
959
+ }
960
+ }
859
961
  export declare namespace GenModels {
860
962
  interface SecurityTarget {
861
963
  /**
@@ -1623,229 +1725,737 @@ export declare namespace GenModels {
1623
1725
  */
1624
1726
  dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1625
1727
  /**
1626
- * Gets or sets max count
1728
+ * Gets or sets max count
1729
+ */
1730
+ maxCount: number;
1731
+ }
1732
+ }
1733
+ export declare namespace GenModels {
1734
+ interface CommentsDataSourceInfoModel {
1735
+ /**
1736
+ * Gets or sets card identifier
1737
+ *
1738
+ * @format datatype.uuid
1739
+ */
1740
+ dataSourceCardId: string;
1741
+ /**
1742
+ * Gets or sets section identifier
1743
+ *
1744
+ * @format datatype.uuid
1745
+ */
1746
+ dataSourceSectionId?: string;
1747
+ /**
1748
+ * Gets or sets row identifier
1749
+ *
1750
+ * @format datatype.uuid
1751
+ */
1752
+ dataSourceRowId?: string;
1753
+ /**
1754
+ * Gets or sets comments section
1755
+ *
1756
+ * @format datatype.uuid
1757
+ */
1758
+ sectionId: string;
1759
+ /**
1760
+ * Gets or sets author field alias
1761
+ */
1762
+ authorFieldAlias: string;
1763
+ /**
1764
+ * Gets or sets date field alias
1765
+ */
1766
+ dateFieldAlias: string;
1767
+ /**
1768
+ * Gets or sets text field alias
1769
+ */
1770
+ textFieldAlias: string;
1771
+ /**
1772
+ * Comment operation
1773
+ *
1774
+ * @format datatype.uuid
1775
+ */
1776
+ commentEditOperation: string;
1777
+ /**
1778
+ * Comment edit operation
1779
+ *
1780
+ * @format datatype.uuid
1781
+ */
1782
+ editAnyCommentEditOperation: string;
1783
+ /**
1784
+ * Comment edit operation
1785
+ *
1786
+ * @format datatype.uuid
1787
+ */
1788
+ editOwnCommentEditOperation: string;
1789
+ }
1790
+ }
1791
+ export declare namespace GenModels {
1792
+ interface CommentsModel {
1793
+ /**
1794
+ * Gets or sets comments list
1795
+ */
1796
+ comments: Array<GenModels.Comment>;
1797
+ /**
1798
+ * Gets or sets comments data source
1799
+ */
1800
+ dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1801
+ /**
1802
+ * Gets or sets all comments count
1803
+ */
1804
+ allCommentsCount: number;
1805
+ }
1806
+ }
1807
+ export declare namespace GenModels {
1808
+ interface Comment {
1809
+ /**
1810
+ * Gets or sets identifier
1811
+ *
1812
+ * @format datatype.uuid
1813
+ */
1814
+ id: string;
1815
+ /**
1816
+ * Gets or sets employee identifier
1817
+ *
1818
+ * @format datatype.uuid
1819
+ */
1820
+ employeeId?: string;
1821
+ /**
1822
+ * Gets or sets employee display name
1823
+ */
1824
+ employeeDisplayName: string;
1825
+ /**
1826
+ * Gets or sets date
1827
+ *
1828
+ * @format datatype.datetime
1829
+ */
1830
+ date?: string;
1831
+ /**
1832
+ * Gets or sets text
1833
+ */
1834
+ text: string;
1835
+ }
1836
+ }
1837
+ export declare namespace GenModels {
1838
+ interface AddCommentRequestModel {
1839
+ /**
1840
+ * Gets or sets comments data source
1841
+ */
1842
+ dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1843
+ /**
1844
+ * Gets or sets card identifier
1845
+ *
1846
+ * @format datatype.uuid
1847
+ */
1848
+ cardId: string;
1849
+ /**
1850
+ * Gets or sets text
1851
+ */
1852
+ text: string;
1853
+ }
1854
+ }
1855
+ export declare namespace GenModels {
1856
+ interface RestoreCommentModel {
1857
+ /**
1858
+ * Gets or sets comments data source
1859
+ */
1860
+ dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1861
+ /**
1862
+ * Gets or sets card identifier
1863
+ *
1864
+ * @format datatype.uuid
1865
+ */
1866
+ cardId: string;
1867
+ /**
1868
+ * Gets or sets text
1869
+ */
1870
+ text: string;
1871
+ /**
1872
+ * Gets or sets employee id
1873
+ *
1874
+ * @format datatype.uuid
1875
+ */
1876
+ employeeId: string;
1877
+ /**
1878
+ * gets or sets date
1879
+ *
1880
+ * @format datatype.datetime
1881
+ */
1882
+ date?: string;
1883
+ }
1884
+ }
1885
+ export declare namespace GenModels {
1886
+ interface UpdateCommentRequestModel {
1887
+ /**
1888
+ * Gets or sets comments data source
1889
+ */
1890
+ dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1891
+ /**
1892
+ * Gets or sets card identifier
1893
+ *
1894
+ * @format datatype.uuid
1895
+ */
1896
+ cardId: string;
1897
+ /**
1898
+ * Gets or sets comment identifier
1899
+ *
1900
+ * @format datatype.uuid
1901
+ */
1902
+ commentId: string;
1903
+ /**
1904
+ * Gets or sets text
1905
+ */
1906
+ text: string;
1907
+ }
1908
+ }
1909
+ export declare namespace GenModels {
1910
+ interface DeleteCommentRequestModel {
1911
+ /**
1912
+ * Gets or sets comments data source
1913
+ */
1914
+ dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
1915
+ /**
1916
+ * Gets or sets card identifier
1917
+ *
1918
+ * @format datatype.uuid
1919
+ */
1920
+ cardId: string;
1921
+ /**
1922
+ * Gets or sets comment identifier
1923
+ *
1924
+ * @format datatype.uuid
1925
+ */
1926
+ commentId: string;
1927
+ }
1928
+ }
1929
+ export declare namespace GenModels {
1930
+ interface CollectionRequestModel {
1931
+ /**
1932
+ * Collection of entities
1933
+ */
1934
+ collection: Array<string>;
1935
+ }
1936
+ }
1937
+ export declare namespace GenModels {
1938
+ interface SignatureKindSelectionModel {
1939
+ /**
1940
+ * available signature kind
1941
+ */
1942
+ availableKind?: GenModels.DigitalSignatureKind;
1943
+ /**
1944
+ * warning message
1945
+ */
1946
+ warning: string;
1947
+ /**
1948
+ * time-stamp protocol server address
1949
+ */
1950
+ tspAddress: string;
1951
+ certificateThumberprint: string;
1952
+ }
1953
+ }
1954
+ export declare namespace GenModels {
1955
+ interface CertificateThumberprintRequest {
1956
+ /**
1957
+ * Certificates
1958
+ */
1959
+ certificates: Array<GenModels.CertificateThumberprintRequestItem>;
1960
+ }
1961
+ }
1962
+ export declare namespace GenModels {
1963
+ interface CertificateThumberprintRequestItem {
1964
+ /**
1965
+ * Id of the certificate
1966
+ */
1967
+ id: string;
1968
+ /**
1969
+ * Certificate content
1970
+ */
1971
+ certificateBase64: string;
1972
+ }
1973
+ }
1974
+ export declare namespace GenModels {
1975
+ interface CertificateThumberprintResponse {
1976
+ /**
1977
+ * Certificates info
1978
+ */
1979
+ certificates: Array<GenModels.CertificateThumberprintResponseItem>;
1980
+ }
1981
+ }
1982
+ export declare namespace GenModels {
1983
+ interface CertificateThumberprintResponseItem {
1984
+ /**
1985
+ * Id of the certificate
1986
+ */
1987
+ id: string;
1988
+ /**
1989
+ * Certificate thumberprint
1990
+ */
1991
+ certificateThumberprint: string;
1992
+ /**
1993
+ * Organisation, that issued certificate.
1994
+ */
1995
+ issuer: string;
1996
+ /**
1997
+ * Person, who can use certificate
1998
+ */
1999
+ subject: string;
2000
+ /**
2001
+ * Error processing certificate
2002
+ */
2003
+ error: string;
2004
+ }
2005
+ }
2006
+ export declare namespace GenModels {
2007
+ interface SignDataRequestWrapper {
2008
+ /**
2009
+ * SignDataRequest
2010
+ */
2011
+ request: GenModels.SignDataRequest;
2012
+ }
2013
+ }
2014
+ export declare namespace GenModels {
2015
+ interface SignDataRequest {
2016
+ /**
2017
+ * Get or sets document identifier
2018
+ *
2019
+ * @format datatype.uuid
2020
+ */
2021
+ documentId: string;
2022
+ /**
2023
+ * Gets or sets timestamp
2024
+ */
2025
+ timestamp: number;
2026
+ /**
2027
+ * Gets or sets label id
2028
+ *
2029
+ * @format datatype.uuid
2030
+ */
2031
+ labelId: string;
2032
+ /**
2033
+ * Gets or sets value whether indicate use simple sign, if CSP not supported
2034
+ */
2035
+ isSimpleSign: boolean;
2036
+ /**
2037
+ * Get or sets signature data
2038
+ */
2039
+ signatureData: GenModels.SignatureData;
2040
+ }
2041
+ }
2042
+ export declare namespace GenModels {
2043
+ interface SignatureData {
2044
+ /**
2045
+ * Gets or sets certificate thumbprint
2046
+ */
2047
+ certificateThumbprint: string;
2048
+ /**
2049
+ * Gets signature items
2050
+ */
2051
+ items: Array<GenModels.SignatureItemData>;
2052
+ }
2053
+ }
2054
+ export declare namespace GenModels {
2055
+ interface SignatureItemData {
2056
+ /**
2057
+ * Gets or sets signed content
2058
+ */
2059
+ data: Array<number>;
2060
+ /**
2061
+ * Gets or sets file version identifier
2062
+ *
2063
+ * @format datatype.uuid
2064
+ */
2065
+ fileVersionId: string;
2066
+ /**
2067
+ * Gets or sets file card identifier
2068
+ *
2069
+ * @format datatype.uuid
2070
+ */
2071
+ fileCardId: string;
2072
+ /**
2073
+ * Gets or sets signature item type
2074
+ */
2075
+ itemType: GenModels.SignatureItemType;
2076
+ }
2077
+ }
2078
+ export declare namespace GenModels {
2079
+ interface CreateSignDialogParams {
2080
+ /**
2081
+ * Gets or sets document id
2082
+ *
2083
+ * @format datatype.uuid
2084
+ */
2085
+ documentId: string;
2086
+ }
2087
+ }
2088
+ export declare namespace GenModels {
2089
+ interface SignatureModel {
2090
+ /**
2091
+ * Gets or sets list of {@link GenModels}
2092
+ */
2093
+ labels: Array<GenModels.SignatureLabelModel>;
2094
+ /**
2095
+ * Get timestamp
2096
+ */
2097
+ timestamp: number;
2098
+ /**
2099
+ * Get card timestamp
2100
+ *
2101
+ * @format datatype.uuid
2102
+ */
2103
+ cardId: string;
2104
+ /**
2105
+ * Gets or sets whether to sign fields
2106
+ */
2107
+ signFields: boolean;
2108
+ /**
2109
+ * Gets or sets whether to sign attachments
2110
+ */
2111
+ signAttachments: boolean;
2112
+ /**
2113
+ * Get user certificate thumbprint
2114
+ */
2115
+ thumbprint: string;
2116
+ /**
2117
+ * Returns true whether HideSelectCertificateDialog
2118
+ */
2119
+ hideSelectCertificateDialog: boolean;
2120
+ /**
2121
+ * Stage setting
2122
+ */
2123
+ simpleSignatureAllowed: boolean;
2124
+ /**
2125
+ * File to sign.
2126
+ */
2127
+ files: Array<GenModels.SignatureFileInfo>;
2128
+ /**
2129
+ * Stage setting
2130
+ */
2131
+ signatureMethods: GenModels.SignatureMethodSettings;
2132
+ }
2133
+ }
2134
+ export declare namespace GenModels {
2135
+ interface SignatureLabelModel {
2136
+ /**
2137
+ * Gets or sets label identifier
2138
+ *
2139
+ * @format datatype.uuid
2140
+ */
2141
+ id: string;
2142
+ /**
2143
+ * Gets or sets label name
2144
+ */
2145
+ name: string;
2146
+ /**
2147
+ * Gets or sets encoded Id
2148
+ */
2149
+ encodedId: string;
2150
+ }
2151
+ }
2152
+ export declare namespace GenModels {
2153
+ interface SignatureFileInfo {
2154
+ /**
2155
+ * File name
2156
+ */
2157
+ fileName: string;
2158
+ /**
2159
+ * File id
2160
+ *
2161
+ * @format datatype.uuid
2162
+ */
2163
+ fileId: string;
2164
+ /**
2165
+ * File version id
2166
+ *
2167
+ * @format datatype.uuid
2168
+ */
2169
+ versionId: string;
2170
+ /**
2171
+ * Versioned file card id
2172
+ *
2173
+ * @format datatype.uuid
2174
+ */
2175
+ fileCardId: string;
2176
+ }
2177
+ }
2178
+ export declare namespace GenModels {
2179
+ interface SignatureMethodSettings {
2180
+ /**
2181
+ * User name in DSS service
2182
+ */
2183
+ cloudAccountName: string;
2184
+ /**
2185
+ * Long live DSS access token stored in database.
2186
+ */
2187
+ accessTokenReceived: boolean;
2188
+ /**
2189
+ * List of known methods.
2190
+ */
2191
+ methods: Array<GenModels.SignatureMethod>;
2192
+ /**
2193
+ * List of all known certificates.
2194
+ */
2195
+ certificates: Array<GenModels.SavedCertificateInfo>;
2196
+ }
2197
+ }
2198
+ export declare namespace GenModels {
2199
+ interface SignatureMethod {
2200
+ /**
2201
+ * Identifier of certificate or
2202
+ */
2203
+ id: string;
2204
+ /**
2205
+ * Is simple signature (without certificate).
2206
+ */
2207
+ isSimple: boolean;
2208
+ /**
2209
+ * Is default certificate, configured in user profile.
2210
+ */
2211
+ isUserDefault: boolean;
2212
+ /**
2213
+ * Order in certificate list
2214
+ */
2215
+ order: number;
2216
+ /**
2217
+ * Show method in list
2218
+ */
2219
+ enabled: boolean;
2220
+ /**
2221
+ * Comment
2222
+ */
2223
+ comment: string;
2224
+ /**
2225
+ * Certificate info
1627
2226
  */
1628
- maxCount: number;
2227
+ certificateInfo: GenModels.SavedCertificateInfo;
1629
2228
  }
1630
2229
  }
1631
2230
  export declare namespace GenModels {
1632
- interface CommentsDataSourceInfoModel {
2231
+ interface SavedCertificateInfo {
1633
2232
  /**
1634
- * Gets or sets card identifier
1635
- *
1636
- * @format datatype.uuid
2233
+ * Id in crypto system (in DSS or in local certificate storage).
1637
2234
  */
1638
- dataSourceCardId: string;
2235
+ externalId: string;
1639
2236
  /**
1640
- * Gets or sets section identifier
1641
- *
1642
- * @format datatype.uuid
2237
+ * Issued to
1643
2238
  */
1644
- dataSourceSectionId?: string;
2239
+ signer: string;
1645
2240
  /**
1646
- * Gets or sets row identifier
1647
- *
1648
- * @format datatype.uuid
2241
+ * Issued from
1649
2242
  */
1650
- dataSourceRowId?: string;
2243
+ authority: string;
1651
2244
  /**
1652
- * Gets or sets comments section
2245
+ * Time of the certification life
1653
2246
  *
1654
- * @format datatype.uuid
2247
+ * @format datatype.datetime
1655
2248
  */
1656
- sectionId: string;
2249
+ validTo: string;
1657
2250
  /**
1658
- * Gets or sets author field alias
2251
+ * Comment
1659
2252
  */
1660
- authorFieldAlias: string;
2253
+ comment: string;
1661
2254
  /**
1662
- * Gets or sets date field alias
2255
+ * User defined name of the certificate.
1663
2256
  */
1664
- dateFieldAlias: string;
2257
+ friendlyName: string;
1665
2258
  /**
1666
- * Gets or sets text field alias
2259
+ * Requires pin code to access.
1667
2260
  */
1668
- textFieldAlias: string;
2261
+ hasPinCode: boolean;
1669
2262
  /**
1670
- * Comment operation
1671
- *
1672
- * @format datatype.uuid
2263
+ * Where method received from.
1673
2264
  */
1674
- commentEditOperation: string;
2265
+ source: GenModels.SignatureMethodSources;
1675
2266
  /**
1676
- * Comment edit operation
1677
- *
1678
- * @format datatype.uuid
2267
+ * Certificate thumberprint.
1679
2268
  */
1680
- editAnyCommentEditOperation: string;
2269
+ thumberprint: string;
2270
+ }
2271
+ }
2272
+ export declare namespace GenModels {
2273
+ interface DocumentSignatureListModel {
1681
2274
  /**
1682
- * Comment edit operation
1683
- *
1684
- * @format datatype.uuid
2275
+ * Gets or sets list of {@link GenModels}
1685
2276
  */
1686
- editOwnCommentEditOperation: string;
2277
+ signatures: Array<GenModels.DocumentSignatureModel>;
1687
2278
  }
1688
2279
  }
1689
2280
  export declare namespace GenModels {
1690
- interface CommentsModel {
2281
+ interface DocumentSignatureModel {
1691
2282
  /**
1692
- * Gets or sets comments list
2283
+ * Gets or sets signature author
1693
2284
  */
1694
- comments: Array<GenModels.Comment>;
2285
+ author: GenModels.EmployeeModel;
1695
2286
  /**
1696
- * Gets or sets comments data source
2287
+ * Signer name, extracted from certificate.
1697
2288
  */
1698
- dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
2289
+ certificateSubject: string;
1699
2290
  /**
1700
- * Gets or sets all comments count
2291
+ * Gets or sets signature creation date
2292
+ *
2293
+ * @format datatype.datetime
1701
2294
  */
1702
- allCommentsCount: number;
1703
- }
1704
- }
1705
- export declare namespace GenModels {
1706
- interface Comment {
2295
+ creationDate: string;
1707
2296
  /**
1708
- * Gets or sets identifier
1709
- *
1710
- * @format datatype.uuid
2297
+ * Gets or sets label display name
1711
2298
  */
1712
- id: string;
2299
+ labelDisplayName: string;
1713
2300
  /**
1714
- * Gets or sets employee identifier
2301
+ * Gets or sets signature identifier
1715
2302
  *
1716
2303
  * @format datatype.uuid
1717
2304
  */
1718
- employeeId?: string;
2305
+ id: string;
1719
2306
  /**
1720
- * Gets or sets employee display name
2307
+ * Gets or sets certificate thumbprint
1721
2308
  */
1722
- employeeDisplayName: string;
2309
+ certificateThumbprint: string;
1723
2310
  /**
1724
- * Gets or sets date
1725
- *
1726
- * @format datatype.datetime
2311
+ * Get value indicate whether sign is simple
1727
2312
  */
1728
- date?: string;
2313
+ isSimpleSign: boolean;
1729
2314
  /**
1730
- * Gets or sets text
2315
+ * Gets or sets has signed attribute in signature items
1731
2316
  */
1732
- text: string;
2317
+ hasSignedAttributeItem: boolean;
1733
2318
  }
1734
2319
  }
1735
2320
  export declare namespace GenModels {
1736
- interface AddCommentRequestModel {
2321
+ interface SignatureVerificationModel {
1737
2322
  /**
1738
- * Gets or sets comments data source
2323
+ * Gets or sets signature status
1739
2324
  */
1740
- dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
2325
+ signatureStatus: string;
1741
2326
  /**
1742
- * Gets or sets card identifier
1743
- *
1744
- * @format datatype.uuid
2327
+ * Gets or sets signature validation status
1745
2328
  */
1746
- cardId: string;
2329
+ validationState: GenModels.ValidationState;
1747
2330
  /**
1748
- * Gets or sets text
2331
+ * Gets or sets kind of signature
1749
2332
  */
1750
- text: string;
2333
+ signatureKind: string;
2334
+ /**
2335
+ * Gets or sets details of signature
2336
+ */
2337
+ signatureDetails: Array<GenModels.SignatureItemVerificationModel>;
1751
2338
  }
1752
2339
  }
1753
2340
  export declare namespace GenModels {
1754
- interface RestoreCommentModel {
2341
+ interface SignatureItemVerificationModel {
1755
2342
  /**
1756
- * Gets or sets comments data source
2343
+ * Gets or sets status
1757
2344
  */
1758
- dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
2345
+ status: string;
1759
2346
  /**
1760
- * Gets or sets card identifier
1761
- *
1762
- * @format datatype.uuid
2347
+ * Gets or sets file version number
1763
2348
  */
1764
- cardId: string;
2349
+ fileVersionNumber: string;
1765
2350
  /**
1766
- * Gets or sets text
2351
+ * Gets or sets file name
1767
2352
  */
1768
- text: string;
2353
+ fileName: string;
1769
2354
  /**
1770
- * Gets or sets employee id
2355
+ * Gets or sets file card id
1771
2356
  *
1772
2357
  * @format datatype.uuid
1773
2358
  */
1774
- employeeId: string;
2359
+ fileId: string;
1775
2360
  /**
1776
- * gets or sets date
2361
+ * Gets or sets item certificate thumbprint
2362
+ */
2363
+ certificateThumbprint: string;
2364
+ /**
2365
+ * Timestamp
1777
2366
  *
1778
2367
  * @format datatype.datetime
1779
2368
  */
1780
- date?: string;
1781
- }
1782
- }
1783
- export declare namespace GenModels {
1784
- interface UpdateCommentRequestModel {
2369
+ timestamp?: string;
1785
2370
  /**
1786
- * Gets or sets comments data source
2371
+ * Gets or sets client sign validated
1787
2372
  */
1788
- dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
2373
+ isSignedWithCertificate: boolean;
1789
2374
  /**
1790
- * Gets or sets card identifier
1791
- *
1792
- * @format datatype.uuid
2375
+ * Gets or sets validate error message
1793
2376
  */
1794
- cardId: string;
2377
+ errorMessage: string;
1795
2378
  /**
1796
- * Gets or sets comment identifier
1797
- *
1798
- * @format datatype.uuid
2379
+ * Gets or sets verification status
1799
2380
  */
1800
- commentId: string;
2381
+ verificationStatus: GenModels.SignatureVerificationStatus;
1801
2382
  /**
1802
- * Gets or sets text
2383
+ * Signature Item Type
1803
2384
  */
1804
- text: string;
1805
- }
1806
- }
1807
- export declare namespace GenModels {
1808
- interface DeleteCommentRequestModel {
2385
+ signatureItemType: GenModels.SignatureItemType;
1809
2386
  /**
1810
- * Gets or sets comments data source
2387
+ * description
1811
2388
  */
1812
- dataSourceInfo: GenModels.CommentsDataSourceInfoModel;
2389
+ description: string;
1813
2390
  /**
1814
- * Gets or sets card identifier
2391
+ * field names or additional files
2392
+ */
2393
+ partItems: Array<string>;
2394
+ /**
2395
+ * Gets or sets kind of signature
2396
+ */
2397
+ kind: string;
2398
+ /**
2399
+ * Gets or sets expire date
2400
+ *
2401
+ * @format datatype.datetime
2402
+ */
2403
+ expireDate?: string;
2404
+ canShowSignatureInfo: boolean;
2405
+ /**
2406
+ * Gets or sets signature part id
1815
2407
  *
1816
2408
  * @format datatype.uuid
1817
2409
  */
1818
- cardId: string;
2410
+ signaturePartId: string;
1819
2411
  /**
1820
- * Gets or sets comment identifier
2412
+ * Gets or sets signature id
1821
2413
  *
1822
2414
  * @format datatype.uuid
1823
2415
  */
1824
- commentId: string;
2416
+ signatureId: string;
1825
2417
  }
1826
2418
  }
1827
2419
  export declare namespace GenModels {
1828
- interface CollectionRequestModel {
2420
+ interface SignatureDetailsModel {
1829
2421
  /**
1830
- * Collection of entities
2422
+ * Gets or sets kind of signature
1831
2423
  */
1832
- collection: Array<string>;
2424
+ signatureKind: string;
2425
+ /**
2426
+ * List of document files for validation purposes
2427
+ */
2428
+ documentFiles: Array<GenModels.SignatureFileDetails>;
2429
+ /**
2430
+ * Gets or sets details of signature
2431
+ */
2432
+ signatureDetails: Array<GenModels.SignatureItemVerificationModel>;
1833
2433
  }
1834
2434
  }
1835
2435
  export declare namespace GenModels {
1836
- interface SignatureKindSelectionModel {
2436
+ interface SignatureFileDetails {
1837
2437
  /**
1838
- * available signature kind
2438
+ * Row id of the document file
2439
+ *
2440
+ * @format datatype.uuid
1839
2441
  */
1840
- availableKind?: GenModels.DigitalSignatureKind;
2442
+ documentFileId: string;
1841
2443
  /**
1842
- * warning message
2444
+ * Versioned file card id
2445
+ *
2446
+ * @format datatype.uuid
1843
2447
  */
1844
- warning: string;
2448
+ fileCardId: string;
1845
2449
  /**
1846
- * time-stamp protocol server address
2450
+ * Current version id
2451
+ *
2452
+ * @format datatype.uuid
1847
2453
  */
1848
- tspAddress: string;
2454
+ versionId: string;
2455
+ /**
2456
+ * Is main document file (not additional)
2457
+ */
2458
+ isMain: boolean;
1849
2459
  }
1850
2460
  }
1851
2461
  export declare namespace GenControllers {
@@ -3114,6 +3724,16 @@ export declare namespace GenModels {
3114
3724
  isLastLevel: boolean;
3115
3725
  }
3116
3726
  }
3727
+ export declare namespace GenModels {
3728
+ interface RefreshUnreadCounterRequest {
3729
+ /**
3730
+ * @format datatype.uuid
3731
+ */
3732
+ folderId: string;
3733
+ folderRefreshTimeout: number;
3734
+ forceVirtualFolderSearch: boolean;
3735
+ }
3736
+ }
3117
3737
  export declare namespace GenModels {
3118
3738
  interface GetRequestModel {
3119
3739
  locationName?: string;
@@ -3138,18 +3758,6 @@ export declare namespace GenModels {
3138
3758
  parentLayoutIds?: Array<string>;
3139
3759
  }
3140
3760
  }
3141
- export declare namespace GenModels {
3142
- interface ParamModel {
3143
- /**
3144
- * key
3145
- */
3146
- key: string;
3147
- /**
3148
- * value
3149
- */
3150
- value: string;
3151
- }
3152
- }
3153
3761
  export declare namespace GenModels {
3154
3762
  interface GetPartRequestModel extends GenModels.GetRequestModel {
3155
3763
  controlName?: string;
@@ -4670,89 +5278,25 @@ export declare namespace GenModels {
4670
5278
  */
4671
5279
  completionOptionId: string;
4672
5280
  /**
4673
- * Gets or set decision comment
4674
- */
4675
- comment: string;
4676
- /**
4677
- * Gets or set additional approvers
4678
- */
4679
- additionalApprovers: Array<string>;
4680
- /**
4681
- * Gets or sets card timestamp
4682
- */
4683
- timestamp: number;
4684
- /**
4685
- * Gets or sets is sign required
4686
- */
4687
- isSignRequired: boolean;
4688
- /**
4689
- * Gets or sets client sign data
4690
- */
4691
- signData: GenModels.SignDataRequest;
4692
- }
4693
- }
4694
- export declare namespace GenModels {
4695
- interface SignDataRequest {
4696
- /**
4697
- * Get or sets document identifier
4698
- *
4699
- * @format datatype.uuid
4700
- */
4701
- documentId: string;
4702
- /**
4703
- * Gets or sets timestamp
4704
- */
4705
- timestamp: number;
4706
- /**
4707
- * Gets or sets label id
4708
- *
4709
- * @format datatype.uuid
4710
- */
4711
- labelId: string;
4712
- /**
4713
- * Gets or sets value whether indicate use simple sign, if CSP not supported
4714
- */
4715
- isSimpleSign: boolean;
4716
- /**
4717
- * Get or sets signature data
4718
- */
4719
- signatureData: GenModels.SignatureData;
4720
- }
4721
- }
4722
- export declare namespace GenModels {
4723
- interface SignatureData {
4724
- /**
4725
- * Gets or sets certificate thumbprint
4726
- */
4727
- certificateThumbprint: string;
4728
- /**
4729
- * Gets signature items
4730
- */
4731
- items: Array<GenModels.SignatureItemData>;
4732
- }
4733
- }
4734
- export declare namespace GenModels {
4735
- interface SignatureItemData {
4736
- /**
4737
- * Gets or sets signed content
5281
+ * Gets or set decision comment
4738
5282
  */
4739
- data: Array<number>;
5283
+ comment: string;
4740
5284
  /**
4741
- * Gets or sets file version identifier
4742
- *
4743
- * @format datatype.uuid
5285
+ * Gets or set additional approvers
4744
5286
  */
4745
- fileVersionId: string;
5287
+ additionalApprovers: Array<string>;
4746
5288
  /**
4747
- * Gets or sets file card identifier
4748
- *
4749
- * @format datatype.uuid
5289
+ * Gets or sets card timestamp
4750
5290
  */
4751
- fileCardId: string;
5291
+ timestamp: number;
4752
5292
  /**
4753
- * Gets or sets signature item type
5293
+ * Gets or sets is sign required
4754
5294
  */
4755
- itemType: GenModels.SignatureItemType;
5295
+ isSignRequired: boolean;
5296
+ /**
5297
+ * Gets or sets client sign data
5298
+ */
5299
+ signData: GenModels.SignDataRequest;
4756
5300
  }
4757
5301
  }
4758
5302
  export declare namespace GenModels {
@@ -4970,6 +5514,7 @@ export declare namespace GenModels {
4970
5514
  interface ApprovalHistoryStageModel {
4971
5515
  name: string;
4972
5516
  approvalType?: GenModels.ApprovalType;
5517
+ beginDate: string;
4973
5518
  stageItems: Array<GenModels.ApprovalHistoryStageItemModel>;
4974
5519
  }
4975
5520
  }
@@ -5890,6 +6435,28 @@ export declare namespace GenModels {
5890
6435
  attributes: Array<GenModels.UniqueAttributeValue>;
5891
6436
  }
5892
6437
  }
6438
+ export declare namespace GenModels {
6439
+ interface SignatureRequest {
6440
+ /**
6441
+ * Document card, containing signature
6442
+ *
6443
+ * @format datatype.uuid
6444
+ */
6445
+ documentId: string;
6446
+ /**
6447
+ * Signature id
6448
+ *
6449
+ * @format datatype.uuid
6450
+ */
6451
+ signatureId: string;
6452
+ /**
6453
+ * Signature id
6454
+ *
6455
+ * @format datatype.uuid
6456
+ */
6457
+ signaturePartId: string;
6458
+ }
6459
+ }
5893
6460
  export declare namespace GenModels {
5894
6461
  interface SignatureInfoModel {
5895
6462
  /**
@@ -8999,6 +9566,52 @@ export declare namespace GenModels {
8999
9566
  dataType: number;
9000
9567
  }
9001
9568
  }
9569
+ export declare namespace GenModels {
9570
+ interface SystemStateNotification {
9571
+ /**
9572
+ * Notification source
9573
+ */
9574
+ source: GenModels.SystemStateNotificationSource;
9575
+ /**
9576
+ * Severity
9577
+ */
9578
+ severity: GenModels.SystemStateNotificationSeverity;
9579
+ /**
9580
+ * Tenant name (optional)
9581
+ */
9582
+ tenantName: string;
9583
+ /**
9584
+ * Employee account (optional)
9585
+ */
9586
+ accountName: string;
9587
+ /**
9588
+ * Employee id (optional)
9589
+ *
9590
+ * @format datatype.uuid
9591
+ */
9592
+ employeeId?: string;
9593
+ /**
9594
+ * Short description
9595
+ */
9596
+ caption: string;
9597
+ /**
9598
+ * Detailed description
9599
+ */
9600
+ details: string;
9601
+ /**
9602
+ * Unique event type identificator.
9603
+ */
9604
+ eventCode: number;
9605
+ /**
9606
+ * Source specific additional data of the notification
9607
+ */
9608
+ data: GenModels.ISystemStateNotificationData;
9609
+ }
9610
+ }
9611
+ export declare namespace GenModels {
9612
+ interface ISystemStateNotificationData {
9613
+ }
9614
+ }
9002
9615
  export declare namespace GenModels {
9003
9616
  interface FolderListModel {
9004
9617
  /**
@@ -9141,13 +9754,17 @@ export declare namespace GenModels {
9141
9754
  }
9142
9755
  export declare namespace GenModels {
9143
9756
  enum DecisionSemantics {
9757
+ None = 0,
9144
9758
  Positive = 1,
9145
9759
  Negative = 2,
9146
9760
  Neutral = 3,
9147
9761
  Cancellation = 4,
9148
9762
  NewCycle = 5,
9149
9763
  ApproversAddition = 6,
9150
- Completion = 100
9764
+ NonNegative = 7,
9765
+ Any = 8,
9766
+ Completion = 100,
9767
+ Return = 200
9151
9768
  }
9152
9769
  }
9153
9770
  export declare namespace GenModels {
@@ -9169,6 +9786,41 @@ export declare namespace GenModels {
9169
9786
  Tablet = 2
9170
9787
  }
9171
9788
  }
9789
+ export declare namespace GenModels {
9790
+ /**
9791
+ * Declare column type
9792
+ */
9793
+ enum ColumnType {
9794
+ /**
9795
+ * Int
9796
+ */
9797
+ Integer = 0,
9798
+ /**
9799
+ * String
9800
+ */
9801
+ String = 1,
9802
+ /**
9803
+ * Double
9804
+ */
9805
+ Float = 2,
9806
+ /**
9807
+ * Datetime
9808
+ */
9809
+ DateTime = 3,
9810
+ /**
9811
+ * Boolean
9812
+ */
9813
+ Bool = 5,
9814
+ /**
9815
+ * Decimal column type
9816
+ */
9817
+ Decimal = 6,
9818
+ /**
9819
+ * Unique id data type
9820
+ */
9821
+ UniqueId = 7
9822
+ }
9823
+ }
9172
9824
  export declare namespace GenModels {
9173
9825
  /**
9174
9826
  * Possible objects, that security descriptor can be applied to.
@@ -9389,6 +10041,118 @@ export declare namespace GenModels {
9389
10041
  CadesXLongType1Signature = 4
9390
10042
  }
9391
10043
  }
10044
+ export declare namespace GenModels {
10045
+ /**
10046
+ * Type of signature item
10047
+ */
10048
+ enum SignatureItemType {
10049
+ /**
10050
+ * Detached SignedCms
10051
+ */
10052
+ MainFileSignaturePartType = 0,
10053
+ /**
10054
+ * Nondetached SignedCms
10055
+ */
10056
+ MainFileWithContentSignaturePartType = 1,
10057
+ /**
10058
+ * Document card attributes
10059
+ */
10060
+ DocumentFieldsSignaturePartType = 2,
10061
+ /**
10062
+ * Document attachments (additional files)
10063
+ */
10064
+ AttachmentsSignaturePartType = 3
10065
+ }
10066
+ }
10067
+ export declare namespace GenModels {
10068
+ /**
10069
+ * Where from signature method was received.
10070
+ */
10071
+ enum SignatureMethodSources {
10072
+ /**
10073
+ * CryptoPro browser plugin
10074
+ */
10075
+ LocalCryptoPro = 0,
10076
+ /**
10077
+ * CryptoPr DSS cloud service
10078
+ */
10079
+ Cloud = 1,
10080
+ /**
10081
+ * PkiClient ios mobile app
10082
+ */
10083
+ PkiClient = 2,
10084
+ /**
10085
+ * Unknown
10086
+ */
10087
+ Unknown = 3
10088
+ }
10089
+ }
10090
+ export declare namespace GenModels {
10091
+ /**
10092
+ * Verification status of signature
10093
+ */
10094
+ enum ValidationState {
10095
+ /**
10096
+ * Valid
10097
+ */
10098
+ Valid = 0,
10099
+ /**
10100
+ * Invalid
10101
+ */
10102
+ Invalid = 1,
10103
+ /**
10104
+ * Partially valid
10105
+ */
10106
+ PartiallyValid = 2,
10107
+ /**
10108
+ * Sign data is valid, but certificate is expired
10109
+ */
10110
+ CertificateExpired = 3,
10111
+ /**
10112
+ * Sign data is valid, but certificate is revoked
10113
+ */
10114
+ CertificateRevoked = 4
10115
+ }
10116
+ }
10117
+ export declare namespace GenModels {
10118
+ /**
10119
+ * Verification status of signature
10120
+ */
10121
+ enum SignatureVerificationStatus {
10122
+ /**
10123
+ * Not signed
10124
+ */
10125
+ NotSigned = 0,
10126
+ /**
10127
+ * Valid
10128
+ */
10129
+ Valid = 1,
10130
+ /**
10131
+ * Invalid
10132
+ */
10133
+ Invalid = 2,
10134
+ /**
10135
+ * Partially valid
10136
+ */
10137
+ PartiallyValid = 3,
10138
+ /**
10139
+ * Unable to verify
10140
+ */
10141
+ UnableToVerify = 4,
10142
+ /**
10143
+ * Certificate is revoked
10144
+ */
10145
+ CertificateRevoked = 5,
10146
+ /**
10147
+ * Certificate is expired
10148
+ */
10149
+ CertificateExpired = 6,
10150
+ /**
10151
+ * Certificate can not validated
10152
+ */
10153
+ CertificateCanNotValidated = 7
10154
+ }
10155
+ }
9392
10156
  export declare namespace GenModels {
9393
10157
  /**
9394
10158
  * Possible task columns in TasksTable control
@@ -9567,41 +10331,6 @@ export declare namespace GenModels {
9567
10331
  All = 15
9568
10332
  }
9569
10333
  }
9570
- export declare namespace GenModels {
9571
- /**
9572
- * Declare column type
9573
- */
9574
- enum ColumnType {
9575
- /**
9576
- * Int
9577
- */
9578
- Integer = 0,
9579
- /**
9580
- * String
9581
- */
9582
- String = 1,
9583
- /**
9584
- * Double
9585
- */
9586
- Float = 2,
9587
- /**
9588
- * Datetime
9589
- */
9590
- DateTime = 3,
9591
- /**
9592
- * Boolean
9593
- */
9594
- Bool = 5,
9595
- /**
9596
- * Decimal column type
9597
- */
9598
- Decimal = 6,
9599
- /**
9600
- * Unique id data type
9601
- */
9602
- UniqueId = 7
9603
- }
9604
- }
9605
10334
  export declare namespace System.Web.UI.WebControls {
9606
10335
  enum SortDirection {
9607
10336
  Ascending = 0,
@@ -9824,29 +10553,6 @@ export declare namespace GenModels {
9824
10553
  Variant = 21
9825
10554
  }
9826
10555
  }
9827
- export declare namespace GenModels {
9828
- /**
9829
- * Type of signature item
9830
- */
9831
- enum SignatureItemType {
9832
- /**
9833
- * Detached SignedCms
9834
- */
9835
- MainFileSignaturePartType = 0,
9836
- /**
9837
- * Nondetached SignedCms
9838
- */
9839
- MainFileWithContentSignaturePartType = 1,
9840
- /**
9841
- * Document card attributes
9842
- */
9843
- DocumentFieldsSignaturePartType = 2,
9844
- /**
9845
- * Document attachments (additional files)
9846
- */
9847
- AttachmentsSignaturePartType = 3
9848
- }
9849
- }
9850
10556
  export declare namespace GenModels {
9851
10557
  enum AgreementStateType {
9852
10558
  Draft = 0,
@@ -10951,6 +11657,40 @@ export declare namespace GenModels {
10951
11657
  Layout = 1
10952
11658
  }
10953
11659
  }
11660
+ export declare namespace GenModels {
11661
+ /**
11662
+ * Serverity of the {@link GenModels}
11663
+ */
11664
+ enum SystemStateNotificationSource {
11665
+ /**
11666
+ * Unread counters subsystem event
11667
+ */
11668
+ UnreadCounters = 0
11669
+ }
11670
+ }
11671
+ export declare namespace GenModels {
11672
+ /**
11673
+ * Serverity of the {@link GenModels}
11674
+ */
11675
+ enum SystemStateNotificationSeverity {
11676
+ /**
11677
+ * Normal system state information.
11678
+ */
11679
+ Info = 0,
11680
+ /**
11681
+ * Some unexpected event occurred, but system continue operating.
11682
+ */
11683
+ Warning = 1,
11684
+ /**
11685
+ * Some operation failed.
11686
+ */
11687
+ Error = 2,
11688
+ /**
11689
+ * Some subsystem has been broken.
11690
+ */
11691
+ CriticalFault = 3
11692
+ }
11693
+ }
10954
11694
  export declare namespace GenModels {
10955
11695
  /**
10956
11696
  * Field subtype