@docsvision/webclient 5.16.2 → 5.16.3
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.
|
@@ -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 = {
|
|
@@ -441,7 +441,7 @@ export declare type $LogController = {
|
|
|
441
441
|
export declare const $LogController: string | ((model?: $LogController) => GenControllers.ILogController);
|
|
442
442
|
export declare namespace GenControllers {
|
|
443
443
|
/**
|
|
444
|
-
*
|
|
444
|
+
* DataGridControl controller
|
|
445
445
|
*/
|
|
446
446
|
interface IDataGridControlController {
|
|
447
447
|
/**
|
|
@@ -451,10 +451,10 @@ export declare namespace GenControllers {
|
|
|
451
451
|
*
|
|
452
452
|
* @returns Table model
|
|
453
453
|
*/
|
|
454
|
-
getTableData(parameters: GenModels.
|
|
454
|
+
getTableData(parameters: GenModels.DataGridControlParams, options?: RequestOptions): Promise<GenModels.TableModel>;
|
|
455
455
|
}
|
|
456
456
|
class DataGridControlController extends BaseController implements IDataGridControlController {
|
|
457
|
-
getTableData(parameters: GenModels.
|
|
457
|
+
getTableData(parameters: GenModels.DataGridControlParams, options?: RequestOptions): Promise<GenModels.TableModel>;
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
export declare type $DataGridControlController = {
|
|
@@ -920,6 +920,10 @@ export declare namespace GenControllers {
|
|
|
920
920
|
* @returns JSON representation of {@link GenModels}
|
|
921
921
|
*/
|
|
922
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>;
|
|
923
927
|
/**
|
|
924
928
|
* Check if document has valid signature
|
|
925
929
|
*
|
|
@@ -928,10 +932,36 @@ export declare namespace GenControllers {
|
|
|
928
932
|
* @returns JSON representation of {@link GenModels}
|
|
929
933
|
*/
|
|
930
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>;
|
|
931
955
|
}
|
|
932
956
|
class SignatureController extends BaseController implements ISignatureController {
|
|
933
957
|
getSignatureKind(certEncoded: string, options?: RequestOptions): Promise<GenModels.SignatureKindSelectionModel>;
|
|
958
|
+
getCertificatesThumberprints(request: GenModels.CertificateThumberprintRequest, options?: RequestOptions): Promise<GenModels.CertificateThumberprintResponse>;
|
|
934
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>;
|
|
935
965
|
}
|
|
936
966
|
}
|
|
937
967
|
export declare type $SignatureController = {
|
|
@@ -2050,6 +2080,10 @@ export declare namespace GenControllers {
|
|
|
2050
2080
|
* @param signatureFormat Signature export format
|
|
2051
2081
|
*/
|
|
2052
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>;
|
|
2053
2087
|
/**
|
|
2054
2088
|
* Get signature information
|
|
2055
2089
|
*/
|
|
@@ -2062,6 +2096,7 @@ export declare namespace GenControllers {
|
|
|
2062
2096
|
getCheckUniqueAttributes(documentId: string, options?: RequestOptions): Promise<Array<GenModels.UniqueAttribute>>;
|
|
2063
2097
|
checkUniqueAttributes(uniqueAttributeValues: GenModels.UniqueAttributesValuesList, options?: RequestOptions): Promise<Array<GenModels.UniqueAttributeCard>>;
|
|
2064
2098
|
exportESign(cardId: string, signatureFormat: GenModels.SignatureFormat, options?: RequestOptions): Promise<any>;
|
|
2099
|
+
downloadSignature(request: GenModels.SignatureRequest, options?: RequestOptions): Promise<any>;
|
|
2065
2100
|
getSignatureInfo(documentId: string, signaturePartId: string, signatureId: string, options?: RequestOptions): Promise<GenModels.SignatureInfoModel>;
|
|
2066
2101
|
}
|
|
2067
2102
|
}
|
|
@@ -857,7 +857,7 @@ export declare namespace GenModels {
|
|
|
857
857
|
}
|
|
858
858
|
}
|
|
859
859
|
export declare namespace GenModels {
|
|
860
|
-
interface
|
|
860
|
+
interface DataGridControlParams {
|
|
861
861
|
/**
|
|
862
862
|
* Plugin name
|
|
863
863
|
*/
|
|
@@ -1948,6 +1948,398 @@ export declare namespace GenModels {
|
|
|
1948
1948
|
* time-stamp protocol server address
|
|
1949
1949
|
*/
|
|
1950
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
|
+
* Gets or sets card timestamp
|
|
2088
|
+
*/
|
|
2089
|
+
timestamp: number;
|
|
2090
|
+
/**
|
|
2091
|
+
* Gets or sets value whether indicate use simple sign, if CSP not supported
|
|
2092
|
+
*/
|
|
2093
|
+
isSimpleSign: boolean;
|
|
2094
|
+
/**
|
|
2095
|
+
* Gets or sets client thumbprints
|
|
2096
|
+
*/
|
|
2097
|
+
thumbprints: Array<string>;
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
export declare namespace GenModels {
|
|
2101
|
+
interface SignatureModel {
|
|
2102
|
+
/**
|
|
2103
|
+
* Gets or sets list of {@link GenModels}
|
|
2104
|
+
*/
|
|
2105
|
+
labels: Array<GenModels.SignatureLabelModel>;
|
|
2106
|
+
/**
|
|
2107
|
+
* Get timestamp
|
|
2108
|
+
*/
|
|
2109
|
+
timestamp: number;
|
|
2110
|
+
/**
|
|
2111
|
+
* Get card timestamp
|
|
2112
|
+
*
|
|
2113
|
+
* @format datatype.uuid
|
|
2114
|
+
*/
|
|
2115
|
+
cardId: string;
|
|
2116
|
+
/**
|
|
2117
|
+
* Gets or sets whether to sign fields
|
|
2118
|
+
*/
|
|
2119
|
+
signFields: boolean;
|
|
2120
|
+
/**
|
|
2121
|
+
* Gets or sets whether to sign attachments
|
|
2122
|
+
*/
|
|
2123
|
+
signAttachments: boolean;
|
|
2124
|
+
/**
|
|
2125
|
+
* Get user certificate thumbprint
|
|
2126
|
+
*/
|
|
2127
|
+
thumbprint: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* Returns true whether HideSelectCertificateDialog
|
|
2130
|
+
*/
|
|
2131
|
+
hideSelectCertificateDialog: boolean;
|
|
2132
|
+
/**
|
|
2133
|
+
* Stage setting
|
|
2134
|
+
*/
|
|
2135
|
+
simpleSignatureAllowed: boolean;
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
export declare namespace GenModels {
|
|
2139
|
+
interface SignatureLabelModel {
|
|
2140
|
+
/**
|
|
2141
|
+
* Gets or sets label identifier
|
|
2142
|
+
*
|
|
2143
|
+
* @format datatype.uuid
|
|
2144
|
+
*/
|
|
2145
|
+
id: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* Gets or sets label name
|
|
2148
|
+
*/
|
|
2149
|
+
name: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* Gets or sets encoded Id
|
|
2152
|
+
*/
|
|
2153
|
+
encodedId: string;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
export declare namespace GenModels {
|
|
2157
|
+
interface DocumentSignatureListModel {
|
|
2158
|
+
/**
|
|
2159
|
+
* Gets or sets list of {@link GenModels}
|
|
2160
|
+
*/
|
|
2161
|
+
signatures: Array<GenModels.DocumentSignatureModel>;
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
export declare namespace GenModels {
|
|
2165
|
+
interface DocumentSignatureModel {
|
|
2166
|
+
/**
|
|
2167
|
+
* Gets or sets signature author
|
|
2168
|
+
*/
|
|
2169
|
+
author: GenModels.EmployeeModel;
|
|
2170
|
+
/**
|
|
2171
|
+
* Signer name, extracted from certificate.
|
|
2172
|
+
*/
|
|
2173
|
+
certificateSubject: string;
|
|
2174
|
+
/**
|
|
2175
|
+
* Gets or sets signature creation date
|
|
2176
|
+
*
|
|
2177
|
+
* @format datatype.datetime
|
|
2178
|
+
*/
|
|
2179
|
+
creationDate: string;
|
|
2180
|
+
/**
|
|
2181
|
+
* Gets or sets label display name
|
|
2182
|
+
*/
|
|
2183
|
+
labelDisplayName: string;
|
|
2184
|
+
/**
|
|
2185
|
+
* Gets or sets signature identifier
|
|
2186
|
+
*
|
|
2187
|
+
* @format datatype.uuid
|
|
2188
|
+
*/
|
|
2189
|
+
id: string;
|
|
2190
|
+
/**
|
|
2191
|
+
* Gets or sets certificate thumbprint
|
|
2192
|
+
*/
|
|
2193
|
+
certificateThumbprint: string;
|
|
2194
|
+
/**
|
|
2195
|
+
* Get value indicate whether sign is simple
|
|
2196
|
+
*/
|
|
2197
|
+
isSimpleSign: boolean;
|
|
2198
|
+
/**
|
|
2199
|
+
* Gets or sets has signed attribute in signature items
|
|
2200
|
+
*/
|
|
2201
|
+
hasSignedAttributeItem: boolean;
|
|
2202
|
+
}
|
|
2203
|
+
}
|
|
2204
|
+
export declare namespace GenModels {
|
|
2205
|
+
interface SignatureVerificationModel {
|
|
2206
|
+
/**
|
|
2207
|
+
* Gets or sets signature status
|
|
2208
|
+
*/
|
|
2209
|
+
signatureStatus: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* Gets or sets signature validation status
|
|
2212
|
+
*/
|
|
2213
|
+
validationState: GenModels.ValidationState;
|
|
2214
|
+
/**
|
|
2215
|
+
* Gets or sets kind of signature
|
|
2216
|
+
*/
|
|
2217
|
+
signatureKind: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* Gets or sets details of signature
|
|
2220
|
+
*/
|
|
2221
|
+
signatureDetails: Array<GenModels.SignatureItemVerificationModel>;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
export declare namespace GenModels {
|
|
2225
|
+
interface SignatureItemVerificationModel {
|
|
2226
|
+
/**
|
|
2227
|
+
* Gets or sets status
|
|
2228
|
+
*/
|
|
2229
|
+
status: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* Gets or sets file version number
|
|
2232
|
+
*/
|
|
2233
|
+
fileVersionNumber: string;
|
|
2234
|
+
/**
|
|
2235
|
+
* Gets or sets file name
|
|
2236
|
+
*/
|
|
2237
|
+
fileName: string;
|
|
2238
|
+
/**
|
|
2239
|
+
* Gets or sets file card id
|
|
2240
|
+
*
|
|
2241
|
+
* @format datatype.uuid
|
|
2242
|
+
*/
|
|
2243
|
+
fileId: string;
|
|
2244
|
+
/**
|
|
2245
|
+
* Gets or sets item certificate thumbprint
|
|
2246
|
+
*/
|
|
2247
|
+
certificateThumbprint: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* Timestamp
|
|
2250
|
+
*
|
|
2251
|
+
* @format datatype.datetime
|
|
2252
|
+
*/
|
|
2253
|
+
timestamp?: string;
|
|
2254
|
+
/**
|
|
2255
|
+
* Gets or sets client sign validated
|
|
2256
|
+
*/
|
|
2257
|
+
isSignedWithCertificate: boolean;
|
|
2258
|
+
/**
|
|
2259
|
+
* Gets or sets validate error message
|
|
2260
|
+
*/
|
|
2261
|
+
errorMessage: string;
|
|
2262
|
+
/**
|
|
2263
|
+
* Gets or sets verification status
|
|
2264
|
+
*/
|
|
2265
|
+
verificationStatus: GenModels.SignatureVerificationStatus;
|
|
2266
|
+
/**
|
|
2267
|
+
* Signature Item Type
|
|
2268
|
+
*/
|
|
2269
|
+
signatureItemType: GenModels.SignatureItemType;
|
|
2270
|
+
/**
|
|
2271
|
+
* description
|
|
2272
|
+
*/
|
|
2273
|
+
description: string;
|
|
2274
|
+
/**
|
|
2275
|
+
* field names or additional files
|
|
2276
|
+
*/
|
|
2277
|
+
partItems: Array<string>;
|
|
2278
|
+
/**
|
|
2279
|
+
* Gets or sets kind of signature
|
|
2280
|
+
*/
|
|
2281
|
+
kind: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* Gets or sets expire date
|
|
2284
|
+
*
|
|
2285
|
+
* @format datatype.datetime
|
|
2286
|
+
*/
|
|
2287
|
+
expireDate?: string;
|
|
2288
|
+
canShowSignatureInfo: boolean;
|
|
2289
|
+
/**
|
|
2290
|
+
* Gets or sets signature part id
|
|
2291
|
+
*
|
|
2292
|
+
* @format datatype.uuid
|
|
2293
|
+
*/
|
|
2294
|
+
signaturePartId: string;
|
|
2295
|
+
/**
|
|
2296
|
+
* Gets or sets signature id
|
|
2297
|
+
*
|
|
2298
|
+
* @format datatype.uuid
|
|
2299
|
+
*/
|
|
2300
|
+
signatureId: string;
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
export declare namespace GenModels {
|
|
2304
|
+
interface SignatureDetailsModel {
|
|
2305
|
+
/**
|
|
2306
|
+
* Gets or sets kind of signature
|
|
2307
|
+
*/
|
|
2308
|
+
signatureKind: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* List of document files for validation purposes
|
|
2311
|
+
*/
|
|
2312
|
+
documentFiles: Array<GenModels.SignatureFileDetails>;
|
|
2313
|
+
/**
|
|
2314
|
+
* Gets or sets details of signature
|
|
2315
|
+
*/
|
|
2316
|
+
signatureDetails: Array<GenModels.SignatureItemVerificationModel>;
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
export declare namespace GenModels {
|
|
2320
|
+
interface SignatureFileDetails {
|
|
2321
|
+
/**
|
|
2322
|
+
* Row id of the document file
|
|
2323
|
+
*
|
|
2324
|
+
* @format datatype.uuid
|
|
2325
|
+
*/
|
|
2326
|
+
documentFileId: string;
|
|
2327
|
+
/**
|
|
2328
|
+
* Versioned file card id
|
|
2329
|
+
*
|
|
2330
|
+
* @format datatype.uuid
|
|
2331
|
+
*/
|
|
2332
|
+
fileCardId: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* Current version id
|
|
2335
|
+
*
|
|
2336
|
+
* @format datatype.uuid
|
|
2337
|
+
*/
|
|
2338
|
+
versionId: string;
|
|
2339
|
+
/**
|
|
2340
|
+
* Is main document file (not additional)
|
|
2341
|
+
*/
|
|
2342
|
+
isMain: boolean;
|
|
1951
2343
|
}
|
|
1952
2344
|
}
|
|
1953
2345
|
export declare namespace GenControllers {
|
|
@@ -4791,70 +5183,6 @@ export declare namespace GenModels {
|
|
|
4791
5183
|
signData: GenModels.SignDataRequest;
|
|
4792
5184
|
}
|
|
4793
5185
|
}
|
|
4794
|
-
export declare namespace GenModels {
|
|
4795
|
-
interface SignDataRequest {
|
|
4796
|
-
/**
|
|
4797
|
-
* Get or sets document identifier
|
|
4798
|
-
*
|
|
4799
|
-
* @format datatype.uuid
|
|
4800
|
-
*/
|
|
4801
|
-
documentId: string;
|
|
4802
|
-
/**
|
|
4803
|
-
* Gets or sets timestamp
|
|
4804
|
-
*/
|
|
4805
|
-
timestamp: number;
|
|
4806
|
-
/**
|
|
4807
|
-
* Gets or sets label id
|
|
4808
|
-
*
|
|
4809
|
-
* @format datatype.uuid
|
|
4810
|
-
*/
|
|
4811
|
-
labelId: string;
|
|
4812
|
-
/**
|
|
4813
|
-
* Gets or sets value whether indicate use simple sign, if CSP not supported
|
|
4814
|
-
*/
|
|
4815
|
-
isSimpleSign: boolean;
|
|
4816
|
-
/**
|
|
4817
|
-
* Get or sets signature data
|
|
4818
|
-
*/
|
|
4819
|
-
signatureData: GenModels.SignatureData;
|
|
4820
|
-
}
|
|
4821
|
-
}
|
|
4822
|
-
export declare namespace GenModels {
|
|
4823
|
-
interface SignatureData {
|
|
4824
|
-
/**
|
|
4825
|
-
* Gets or sets certificate thumbprint
|
|
4826
|
-
*/
|
|
4827
|
-
certificateThumbprint: string;
|
|
4828
|
-
/**
|
|
4829
|
-
* Gets signature items
|
|
4830
|
-
*/
|
|
4831
|
-
items: Array<GenModels.SignatureItemData>;
|
|
4832
|
-
}
|
|
4833
|
-
}
|
|
4834
|
-
export declare namespace GenModels {
|
|
4835
|
-
interface SignatureItemData {
|
|
4836
|
-
/**
|
|
4837
|
-
* Gets or sets signed content
|
|
4838
|
-
*/
|
|
4839
|
-
data: Array<number>;
|
|
4840
|
-
/**
|
|
4841
|
-
* Gets or sets file version identifier
|
|
4842
|
-
*
|
|
4843
|
-
* @format datatype.uuid
|
|
4844
|
-
*/
|
|
4845
|
-
fileVersionId: string;
|
|
4846
|
-
/**
|
|
4847
|
-
* Gets or sets file card identifier
|
|
4848
|
-
*
|
|
4849
|
-
* @format datatype.uuid
|
|
4850
|
-
*/
|
|
4851
|
-
fileCardId: string;
|
|
4852
|
-
/**
|
|
4853
|
-
* Gets or sets signature item type
|
|
4854
|
-
*/
|
|
4855
|
-
itemType: GenModels.SignatureItemType;
|
|
4856
|
-
}
|
|
4857
|
-
}
|
|
4858
5186
|
export declare namespace GenModels {
|
|
4859
5187
|
interface GetApprovalTaskDecisionInfoOptions {
|
|
4860
5188
|
taskId: string;
|
|
@@ -5991,6 +6319,28 @@ export declare namespace GenModels {
|
|
|
5991
6319
|
attributes: Array<GenModels.UniqueAttributeValue>;
|
|
5992
6320
|
}
|
|
5993
6321
|
}
|
|
6322
|
+
export declare namespace GenModels {
|
|
6323
|
+
interface SignatureRequest {
|
|
6324
|
+
/**
|
|
6325
|
+
* Document card, containing signature
|
|
6326
|
+
*
|
|
6327
|
+
* @format datatype.uuid
|
|
6328
|
+
*/
|
|
6329
|
+
documentId: string;
|
|
6330
|
+
/**
|
|
6331
|
+
* Signature id
|
|
6332
|
+
*
|
|
6333
|
+
* @format datatype.uuid
|
|
6334
|
+
*/
|
|
6335
|
+
signatureId: string;
|
|
6336
|
+
/**
|
|
6337
|
+
* Signature id
|
|
6338
|
+
*
|
|
6339
|
+
* @format datatype.uuid
|
|
6340
|
+
*/
|
|
6341
|
+
signaturePartId: string;
|
|
6342
|
+
}
|
|
6343
|
+
}
|
|
5994
6344
|
export declare namespace GenModels {
|
|
5995
6345
|
interface SignatureInfoModel {
|
|
5996
6346
|
/**
|
|
@@ -9110,6 +9460,20 @@ export declare namespace GenModels {
|
|
|
9110
9460
|
* Severity
|
|
9111
9461
|
*/
|
|
9112
9462
|
severity: GenModels.SystemStateNotificationSeverity;
|
|
9463
|
+
/**
|
|
9464
|
+
* Tenant name (optional)
|
|
9465
|
+
*/
|
|
9466
|
+
tenantName: string;
|
|
9467
|
+
/**
|
|
9468
|
+
* Employee account (optional)
|
|
9469
|
+
*/
|
|
9470
|
+
accountName: string;
|
|
9471
|
+
/**
|
|
9472
|
+
* Employee id (optional)
|
|
9473
|
+
*
|
|
9474
|
+
* @format datatype.uuid
|
|
9475
|
+
*/
|
|
9476
|
+
employeeId?: string;
|
|
9113
9477
|
/**
|
|
9114
9478
|
* Short description
|
|
9115
9479
|
*/
|
|
@@ -9118,6 +9482,18 @@ export declare namespace GenModels {
|
|
|
9118
9482
|
* Detailed description
|
|
9119
9483
|
*/
|
|
9120
9484
|
details: string;
|
|
9485
|
+
/**
|
|
9486
|
+
* Unique event type identificator.
|
|
9487
|
+
*/
|
|
9488
|
+
eventCode: number;
|
|
9489
|
+
/**
|
|
9490
|
+
* Source specific additional data of the notification
|
|
9491
|
+
*/
|
|
9492
|
+
data: GenModels.ISystemStateNotificationData;
|
|
9493
|
+
}
|
|
9494
|
+
}
|
|
9495
|
+
export declare namespace GenModels {
|
|
9496
|
+
interface ISystemStateNotificationData {
|
|
9121
9497
|
}
|
|
9122
9498
|
}
|
|
9123
9499
|
export declare namespace GenModels {
|
|
@@ -9262,13 +9638,17 @@ export declare namespace GenModels {
|
|
|
9262
9638
|
}
|
|
9263
9639
|
export declare namespace GenModels {
|
|
9264
9640
|
enum DecisionSemantics {
|
|
9641
|
+
None = 0,
|
|
9265
9642
|
Positive = 1,
|
|
9266
9643
|
Negative = 2,
|
|
9267
9644
|
Neutral = 3,
|
|
9268
9645
|
Cancellation = 4,
|
|
9269
9646
|
NewCycle = 5,
|
|
9270
9647
|
ApproversAddition = 6,
|
|
9271
|
-
|
|
9648
|
+
NonNegative = 7,
|
|
9649
|
+
Any = 8,
|
|
9650
|
+
Completion = 100,
|
|
9651
|
+
Return = 200
|
|
9272
9652
|
}
|
|
9273
9653
|
}
|
|
9274
9654
|
export declare namespace GenModels {
|
|
@@ -9545,6 +9925,95 @@ export declare namespace GenModels {
|
|
|
9545
9925
|
CadesXLongType1Signature = 4
|
|
9546
9926
|
}
|
|
9547
9927
|
}
|
|
9928
|
+
export declare namespace GenModels {
|
|
9929
|
+
/**
|
|
9930
|
+
* Type of signature item
|
|
9931
|
+
*/
|
|
9932
|
+
enum SignatureItemType {
|
|
9933
|
+
/**
|
|
9934
|
+
* Detached SignedCms
|
|
9935
|
+
*/
|
|
9936
|
+
MainFileSignaturePartType = 0,
|
|
9937
|
+
/**
|
|
9938
|
+
* Nondetached SignedCms
|
|
9939
|
+
*/
|
|
9940
|
+
MainFileWithContentSignaturePartType = 1,
|
|
9941
|
+
/**
|
|
9942
|
+
* Document card attributes
|
|
9943
|
+
*/
|
|
9944
|
+
DocumentFieldsSignaturePartType = 2,
|
|
9945
|
+
/**
|
|
9946
|
+
* Document attachments (additional files)
|
|
9947
|
+
*/
|
|
9948
|
+
AttachmentsSignaturePartType = 3
|
|
9949
|
+
}
|
|
9950
|
+
}
|
|
9951
|
+
export declare namespace GenModels {
|
|
9952
|
+
/**
|
|
9953
|
+
* Verification status of signature
|
|
9954
|
+
*/
|
|
9955
|
+
enum ValidationState {
|
|
9956
|
+
/**
|
|
9957
|
+
* Valid
|
|
9958
|
+
*/
|
|
9959
|
+
Valid = 0,
|
|
9960
|
+
/**
|
|
9961
|
+
* Invalid
|
|
9962
|
+
*/
|
|
9963
|
+
Invalid = 1,
|
|
9964
|
+
/**
|
|
9965
|
+
* Partially valid
|
|
9966
|
+
*/
|
|
9967
|
+
PartiallyValid = 2,
|
|
9968
|
+
/**
|
|
9969
|
+
* Sign data is valid, but certificate is expired
|
|
9970
|
+
*/
|
|
9971
|
+
CertificateExpired = 3,
|
|
9972
|
+
/**
|
|
9973
|
+
* Sign data is valid, but certificate is revoked
|
|
9974
|
+
*/
|
|
9975
|
+
CertificateRevoked = 4
|
|
9976
|
+
}
|
|
9977
|
+
}
|
|
9978
|
+
export declare namespace GenModels {
|
|
9979
|
+
/**
|
|
9980
|
+
* Verification status of signature
|
|
9981
|
+
*/
|
|
9982
|
+
enum SignatureVerificationStatus {
|
|
9983
|
+
/**
|
|
9984
|
+
* Not signed
|
|
9985
|
+
*/
|
|
9986
|
+
NotSigned = 0,
|
|
9987
|
+
/**
|
|
9988
|
+
* Valid
|
|
9989
|
+
*/
|
|
9990
|
+
Valid = 1,
|
|
9991
|
+
/**
|
|
9992
|
+
* Invalid
|
|
9993
|
+
*/
|
|
9994
|
+
Invalid = 2,
|
|
9995
|
+
/**
|
|
9996
|
+
* Partially valid
|
|
9997
|
+
*/
|
|
9998
|
+
PartiallyValid = 3,
|
|
9999
|
+
/**
|
|
10000
|
+
* Unable to verify
|
|
10001
|
+
*/
|
|
10002
|
+
UnableToVerify = 4,
|
|
10003
|
+
/**
|
|
10004
|
+
* Certificate is revoked
|
|
10005
|
+
*/
|
|
10006
|
+
CertificateRevoked = 5,
|
|
10007
|
+
/**
|
|
10008
|
+
* Certificate is expired
|
|
10009
|
+
*/
|
|
10010
|
+
CertificateExpired = 6,
|
|
10011
|
+
/**
|
|
10012
|
+
* Certificate can not validated
|
|
10013
|
+
*/
|
|
10014
|
+
CertificateCanNotValidated = 7
|
|
10015
|
+
}
|
|
10016
|
+
}
|
|
9548
10017
|
export declare namespace GenModels {
|
|
9549
10018
|
/**
|
|
9550
10019
|
* Possible task columns in TasksTable control
|
|
@@ -9945,29 +10414,6 @@ export declare namespace GenModels {
|
|
|
9945
10414
|
Variant = 21
|
|
9946
10415
|
}
|
|
9947
10416
|
}
|
|
9948
|
-
export declare namespace GenModels {
|
|
9949
|
-
/**
|
|
9950
|
-
* Type of signature item
|
|
9951
|
-
*/
|
|
9952
|
-
enum SignatureItemType {
|
|
9953
|
-
/**
|
|
9954
|
-
* Detached SignedCms
|
|
9955
|
-
*/
|
|
9956
|
-
MainFileSignaturePartType = 0,
|
|
9957
|
-
/**
|
|
9958
|
-
* Nondetached SignedCms
|
|
9959
|
-
*/
|
|
9960
|
-
MainFileWithContentSignaturePartType = 1,
|
|
9961
|
-
/**
|
|
9962
|
-
* Document card attributes
|
|
9963
|
-
*/
|
|
9964
|
-
DocumentFieldsSignaturePartType = 2,
|
|
9965
|
-
/**
|
|
9966
|
-
* Document attachments (additional files)
|
|
9967
|
-
*/
|
|
9968
|
-
AttachmentsSignaturePartType = 3
|
|
9969
|
-
}
|
|
9970
|
-
}
|
|
9971
10417
|
export declare namespace GenModels {
|
|
9972
10418
|
enum AgreementStateType {
|
|
9973
10419
|
Draft = 0,
|
|
@@ -11078,7 +11524,7 @@ export declare namespace GenModels {
|
|
|
11078
11524
|
*/
|
|
11079
11525
|
enum SystemStateNotificationSource {
|
|
11080
11526
|
/**
|
|
11081
|
-
* Unread counters
|
|
11527
|
+
* Unread counters subsystem event
|
|
11082
11528
|
*/
|
|
11083
11529
|
UnreadCounters = 0
|
|
11084
11530
|
}
|
|
@@ -11093,7 +11539,7 @@ export declare namespace GenModels {
|
|
|
11093
11539
|
*/
|
|
11094
11540
|
Info = 0,
|
|
11095
11541
|
/**
|
|
11096
|
-
* Some unexpected event
|
|
11542
|
+
* Some unexpected event occurred, but system continue operating.
|
|
11097
11543
|
*/
|
|
11098
11544
|
Warning = 1,
|
|
11099
11545
|
/**
|