@onfido/api 5.5.0 → 5.7.0
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.
- package/README.md +7 -7
- package/dist/api.d.ts +604 -0
- package/dist/api.js +775 -2
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +604 -0
- package/dist/esm/api.js +773 -0
- package/dist/esm/configuration.js +1 -1
- package/package.json +2 -2
package/dist/api.js
CHANGED
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.UploadDocumentSideEnum = exports.ListWorkflowRunsSortEnum = void 0;
|
|
25
|
+
exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WorkflowRunStatus = exports.WorkflowRunLinkLanguageEnum = exports.WebhookEventType = exports.WebhookEventResourceType = exports.WebhookEventObjectStatus = exports.WatchlistMonitorSharedReportNameEnum = exports.WatchlistMonitorBuilderReportNameEnum = exports.WatchlistMonitorReportNameEnum = exports.UsDrivingLicenceSharedGenderEnum = exports.UsDrivingLicenceSharedEyeColorCodeEnum = exports.UsDrivingLicenceSharedDocumentCategoryEnum = exports.UsDrivingLicenceBuilderGenderEnum = exports.UsDrivingLicenceBuilderEyeColorCodeEnum = exports.UsDrivingLicenceBuilderDocumentCategoryEnum = exports.ResultsFeedbackExpectedResultEnum = exports.ReportSubResult = exports.ReportStatus = exports.ReportResult = exports.ReportName = exports.ReportConfigurationFacialSimilarityUseCaseEnum = exports.RepeatAttemptsListRepeatAttemptsInnerResultEnum = exports.RepeatAttemptsListRepeatAttemptsInnerNamesEnum = exports.RepeatAttemptsListRepeatAttemptsInnerDateOfBirthEnum = exports.ProofOfAddressPropertiesDocumentTypeEnum = exports.PasskeyUpdaterStateEnum = exports.PasskeyStateEnum = exports.IdNumberTypeEnum = exports.ExtractionExtractedDataGenderEnum = exports.ExtractionDocumentClassificationSubtypeEnum = exports.DocumentWithDriverVerificationReportAllOfPropertiesSecurityTierEnum = exports.DocumentWithDriverVerificationReportAllOfPropertiesHasIssuanceConfirmationEnum = exports.DocumentWithDriverVerificationReportAllOfPropertiesNistIdentityEvidenceStrengthEnum = exports.DocumentTypes = exports.DocumentSharedSideEnum = exports.DocumentPropertiesSecurityTierEnum = exports.DocumentPropertiesHasIssuanceConfirmationEnum = exports.DocumentPropertiesNistIdentityEvidenceStrengthEnum = exports.DocumentSideEnum = exports.DeviceIntelligenceBreakdownPropertiesDeviceBiometricCaptureEnum = exports.DeviceIntelligenceBreakdownPropertiesDeviceDocumentCaptureEnum = exports.DeviceIntelligenceBreakdownPropertiesDeviceIpReputationEnum = exports.DeviceIntelligenceBreakdownPropertiesDeviceAuthenticationTypeEnum = exports.DeviceIntelligenceBreakdownPropertiesDeviceSdkSourceEnum = exports.CountryCodes = exports.CheckStatus = exports.CheckResponseResultEnum = exports.CheckResultEnum = exports.ApplicantConsentName = void 0;
|
|
26
|
+
exports.UploadDocumentSideEnum = exports.ListWorkflowRunsSortEnum = exports.DefaultApi = exports.DefaultApiFactory = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// URLSearchParams not necessarily used
|
|
29
29
|
// @ts-ignore
|
|
@@ -515,9 +515,29 @@ exports.DocumentWithDriverVerificationReportAllOfPropertiesSecurityTierEnum = {
|
|
|
515
515
|
UnknownDefaultOpenApi: '11184809'
|
|
516
516
|
};
|
|
517
517
|
exports.ExtractionDocumentClassificationSubtypeEnum = {
|
|
518
|
+
Spe: 'SPE',
|
|
519
|
+
Ali: 'ali',
|
|
520
|
+
Alien: 'alien',
|
|
521
|
+
Com: 'com',
|
|
522
|
+
Commercial: 'commercial',
|
|
523
|
+
Dom: 'dom',
|
|
524
|
+
Domestic: 'domestic',
|
|
518
525
|
Full: 'full',
|
|
519
526
|
NotFull: 'not_full',
|
|
527
|
+
FullDrivingLicence: 'full driving licence',
|
|
528
|
+
HeavyVehicle: 'heavy_vehicle',
|
|
529
|
+
Learner: 'learner',
|
|
530
|
+
MinorU21OrU18: 'minor (u21 or u18)',
|
|
531
|
+
Mot: 'mot',
|
|
532
|
+
Mul: 'mul',
|
|
520
533
|
Provisional: 'provisional',
|
|
534
|
+
ProvisionalDrivingLicence: 'provisional driving licence',
|
|
535
|
+
Ser: 'ser',
|
|
536
|
+
Spe2: 'spe',
|
|
537
|
+
Special: 'special',
|
|
538
|
+
Standard: 'standard',
|
|
539
|
+
Tem: 'tem',
|
|
540
|
+
U21: 'u21',
|
|
521
541
|
UnknownDefaultOpenApi: '11184809'
|
|
522
542
|
};
|
|
523
543
|
exports.ExtractionExtractedDataGenderEnum = {
|
|
@@ -538,6 +558,16 @@ exports.IdNumberTypeEnum = {
|
|
|
538
558
|
Other: 'other',
|
|
539
559
|
UnknownDefaultOpenApi: '11184809'
|
|
540
560
|
};
|
|
561
|
+
exports.PasskeyStateEnum = {
|
|
562
|
+
Active: 'ACTIVE',
|
|
563
|
+
Inactive: 'INACTIVE',
|
|
564
|
+
UnknownDefaultOpenApi: '11184809'
|
|
565
|
+
};
|
|
566
|
+
exports.PasskeyUpdaterStateEnum = {
|
|
567
|
+
Active: 'ACTIVE',
|
|
568
|
+
Inactive: 'INACTIVE',
|
|
569
|
+
UnknownDefaultOpenApi: '11184809'
|
|
570
|
+
};
|
|
541
571
|
exports.ProofOfAddressPropertiesDocumentTypeEnum = {
|
|
542
572
|
BankBuildingSocietyStatement: 'bank_building_society_statement',
|
|
543
573
|
UtilityBill: 'utility_bill',
|
|
@@ -550,6 +580,13 @@ exports.ProofOfAddressPropertiesDocumentTypeEnum = {
|
|
|
550
580
|
PensionPropertyStatementLetter: 'pension_property_statement_letter',
|
|
551
581
|
IdentityDocumentWithAddress: 'identity_document_with_address',
|
|
552
582
|
ExchangeHouseStatement: 'exchange_house_statement',
|
|
583
|
+
AccommodationTenancyCertificate: 'accommodation_tenancy_certificate',
|
|
584
|
+
AddressCertificate: 'address_certificate',
|
|
585
|
+
ElectricityBill: 'electricity_bill',
|
|
586
|
+
GasBill: 'gas_bill',
|
|
587
|
+
InternetBill: 'internet_bill',
|
|
588
|
+
PhoneBill: 'phone_bill',
|
|
589
|
+
WaterBill: 'water_bill',
|
|
553
590
|
UnknownDefaultOpenApi: '11184809'
|
|
554
591
|
};
|
|
555
592
|
exports.RepeatAttemptsListRepeatAttemptsInnerDateOfBirthEnum = {
|
|
@@ -1096,6 +1133,72 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1096
1133
|
options: localVarRequestOptions,
|
|
1097
1134
|
};
|
|
1098
1135
|
}),
|
|
1136
|
+
/**
|
|
1137
|
+
* Deletes a passkey.
|
|
1138
|
+
* @summary Delete passkey
|
|
1139
|
+
* @param {string} username Username that owns the passkey.
|
|
1140
|
+
* @param {string} passkeyId Passkey ID.
|
|
1141
|
+
* @param {*} [options] Override http request option.
|
|
1142
|
+
* @throws {RequiredError}
|
|
1143
|
+
*/
|
|
1144
|
+
deletePasskey: (username, passkeyId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1145
|
+
// verify required parameter 'username' is not null or undefined
|
|
1146
|
+
(0, common_1.assertParamExists)('deletePasskey', 'username', username);
|
|
1147
|
+
// verify required parameter 'passkeyId' is not null or undefined
|
|
1148
|
+
(0, common_1.assertParamExists)('deletePasskey', 'passkeyId', passkeyId);
|
|
1149
|
+
const localVarPath = `/passkeys/{username}/{passkey_id}`
|
|
1150
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
1151
|
+
.replace(`{${"passkey_id"}}`, encodeURIComponent(String(passkeyId)));
|
|
1152
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1153
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1154
|
+
let baseOptions;
|
|
1155
|
+
if (configuration) {
|
|
1156
|
+
baseOptions = configuration.baseOptions;
|
|
1157
|
+
}
|
|
1158
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1159
|
+
const localVarHeaderParameter = {};
|
|
1160
|
+
const localVarQueryParameter = {};
|
|
1161
|
+
// authentication Token required
|
|
1162
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1163
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1165
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1166
|
+
return {
|
|
1167
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1168
|
+
options: localVarRequestOptions,
|
|
1169
|
+
};
|
|
1170
|
+
}),
|
|
1171
|
+
/**
|
|
1172
|
+
* Removes every passkey for the username.
|
|
1173
|
+
* @summary Delete passkeys
|
|
1174
|
+
* @param {string} username Username whose passkeys will be deleted.
|
|
1175
|
+
* @param {*} [options] Override http request option.
|
|
1176
|
+
* @throws {RequiredError}
|
|
1177
|
+
*/
|
|
1178
|
+
deletePasskeys: (username, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1179
|
+
// verify required parameter 'username' is not null or undefined
|
|
1180
|
+
(0, common_1.assertParamExists)('deletePasskeys', 'username', username);
|
|
1181
|
+
const localVarPath = `/passkeys/{username}`
|
|
1182
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
1183
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1184
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1185
|
+
let baseOptions;
|
|
1186
|
+
if (configuration) {
|
|
1187
|
+
baseOptions = configuration.baseOptions;
|
|
1188
|
+
}
|
|
1189
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1190
|
+
const localVarHeaderParameter = {};
|
|
1191
|
+
const localVarQueryParameter = {};
|
|
1192
|
+
// authentication Token required
|
|
1193
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1194
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1195
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1196
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1197
|
+
return {
|
|
1198
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1199
|
+
options: localVarRequestOptions,
|
|
1200
|
+
};
|
|
1201
|
+
}),
|
|
1099
1202
|
/**
|
|
1100
1203
|
* Deactivates the given monitor
|
|
1101
1204
|
* @summary Delete monitor
|
|
@@ -1577,6 +1680,45 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1577
1680
|
options: localVarRequestOptions,
|
|
1578
1681
|
};
|
|
1579
1682
|
}),
|
|
1683
|
+
/**
|
|
1684
|
+
* Retrieves the signed document or signing transaction receipt depending on the id provided.
|
|
1685
|
+
* @summary Retrieves the signed document or signing transaction receipt
|
|
1686
|
+
* @param {string} workflowRunId The unique identifier of the Workflow Run for which you want to retrieve the signed document.
|
|
1687
|
+
* @param {string} id The unique identifier of the file which you want to retrieve.
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
*/
|
|
1691
|
+
downloadSesDocument: (workflowRunId, id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1692
|
+
// verify required parameter 'workflowRunId' is not null or undefined
|
|
1693
|
+
(0, common_1.assertParamExists)('downloadSesDocument', 'workflowRunId', workflowRunId);
|
|
1694
|
+
// verify required parameter 'id' is not null or undefined
|
|
1695
|
+
(0, common_1.assertParamExists)('downloadSesDocument', 'id', id);
|
|
1696
|
+
const localVarPath = `/simple_electronic_signature/documents`;
|
|
1697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1698
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1699
|
+
let baseOptions;
|
|
1700
|
+
if (configuration) {
|
|
1701
|
+
baseOptions = configuration.baseOptions;
|
|
1702
|
+
}
|
|
1703
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1704
|
+
const localVarHeaderParameter = {};
|
|
1705
|
+
const localVarQueryParameter = {};
|
|
1706
|
+
// authentication Token required
|
|
1707
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1708
|
+
if (workflowRunId !== undefined) {
|
|
1709
|
+
localVarQueryParameter['workflow_run_id'] = workflowRunId;
|
|
1710
|
+
}
|
|
1711
|
+
if (id !== undefined) {
|
|
1712
|
+
localVarQueryParameter['id'] = id;
|
|
1713
|
+
}
|
|
1714
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1715
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1716
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1717
|
+
return {
|
|
1718
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1719
|
+
options: localVarRequestOptions,
|
|
1720
|
+
};
|
|
1721
|
+
}),
|
|
1580
1722
|
/**
|
|
1581
1723
|
* Retrieves the signed evidence file for the designated Workflow Run
|
|
1582
1724
|
* @summary Retrieve Workflow Run Evidence Summary File
|
|
@@ -1608,6 +1750,37 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1608
1750
|
options: localVarRequestOptions,
|
|
1609
1751
|
};
|
|
1610
1752
|
}),
|
|
1753
|
+
/**
|
|
1754
|
+
* Downloads specific signing documents belonging to an applicant. If successful, the response will be the binary data representing the pdf.
|
|
1755
|
+
* @summary Download signing document
|
|
1756
|
+
* @param {string} signingDocumentId
|
|
1757
|
+
* @param {*} [options] Override http request option.
|
|
1758
|
+
* @throws {RequiredError}
|
|
1759
|
+
*/
|
|
1760
|
+
downloadSigningDocument: (signingDocumentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1761
|
+
// verify required parameter 'signingDocumentId' is not null or undefined
|
|
1762
|
+
(0, common_1.assertParamExists)('downloadSigningDocument', 'signingDocumentId', signingDocumentId);
|
|
1763
|
+
const localVarPath = `/signing_documents/{signing_document_id}/download`
|
|
1764
|
+
.replace(`{${"signing_document_id"}}`, encodeURIComponent(String(signingDocumentId)));
|
|
1765
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1766
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1767
|
+
let baseOptions;
|
|
1768
|
+
if (configuration) {
|
|
1769
|
+
baseOptions = configuration.baseOptions;
|
|
1770
|
+
}
|
|
1771
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1772
|
+
const localVarHeaderParameter = {};
|
|
1773
|
+
const localVarQueryParameter = {};
|
|
1774
|
+
// authentication Token required
|
|
1775
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1776
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1777
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1778
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1779
|
+
return {
|
|
1780
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1781
|
+
options: localVarRequestOptions,
|
|
1782
|
+
};
|
|
1783
|
+
}),
|
|
1611
1784
|
/**
|
|
1612
1785
|
* Extract information from a document
|
|
1613
1786
|
* @summary Autofill
|
|
@@ -1921,6 +2094,41 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1921
2094
|
options: localVarRequestOptions,
|
|
1922
2095
|
};
|
|
1923
2096
|
}),
|
|
2097
|
+
/**
|
|
2098
|
+
* Returns a passkey\'s details.
|
|
2099
|
+
* @summary Retrieve passkey
|
|
2100
|
+
* @param {string} username Username that owns the passkey.
|
|
2101
|
+
* @param {string} passkeyId Passkey ID.
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
*/
|
|
2105
|
+
findPasskey: (username, passkeyId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2106
|
+
// verify required parameter 'username' is not null or undefined
|
|
2107
|
+
(0, common_1.assertParamExists)('findPasskey', 'username', username);
|
|
2108
|
+
// verify required parameter 'passkeyId' is not null or undefined
|
|
2109
|
+
(0, common_1.assertParamExists)('findPasskey', 'passkeyId', passkeyId);
|
|
2110
|
+
const localVarPath = `/passkeys/{username}/{passkey_id}`
|
|
2111
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
2112
|
+
.replace(`{${"passkey_id"}}`, encodeURIComponent(String(passkeyId)));
|
|
2113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2114
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2115
|
+
let baseOptions;
|
|
2116
|
+
if (configuration) {
|
|
2117
|
+
baseOptions = configuration.baseOptions;
|
|
2118
|
+
}
|
|
2119
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2120
|
+
const localVarHeaderParameter = {};
|
|
2121
|
+
const localVarQueryParameter = {};
|
|
2122
|
+
// authentication Token required
|
|
2123
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2124
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2126
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2127
|
+
return {
|
|
2128
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2129
|
+
options: localVarRequestOptions,
|
|
2130
|
+
};
|
|
2131
|
+
}),
|
|
1924
2132
|
/**
|
|
1925
2133
|
* A single report can be retrieved using this endpoint with the corresponding unique identifier.
|
|
1926
2134
|
* @summary Retrieve report
|
|
@@ -1952,6 +2160,37 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1952
2160
|
options: localVarRequestOptions,
|
|
1953
2161
|
};
|
|
1954
2162
|
}),
|
|
2163
|
+
/**
|
|
2164
|
+
* A single signing document can be retrieved by calling this endpoint with the signing document\'s unique identifier.
|
|
2165
|
+
* @summary Retrieve signing document
|
|
2166
|
+
* @param {string} signingDocumentId
|
|
2167
|
+
* @param {*} [options] Override http request option.
|
|
2168
|
+
* @throws {RequiredError}
|
|
2169
|
+
*/
|
|
2170
|
+
findSigningDocument: (signingDocumentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2171
|
+
// verify required parameter 'signingDocumentId' is not null or undefined
|
|
2172
|
+
(0, common_1.assertParamExists)('findSigningDocument', 'signingDocumentId', signingDocumentId);
|
|
2173
|
+
const localVarPath = `/signing_documents/{signing_document_id}`
|
|
2174
|
+
.replace(`{${"signing_document_id"}}`, encodeURIComponent(String(signingDocumentId)));
|
|
2175
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2176
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2177
|
+
let baseOptions;
|
|
2178
|
+
if (configuration) {
|
|
2179
|
+
baseOptions = configuration.baseOptions;
|
|
2180
|
+
}
|
|
2181
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2182
|
+
const localVarHeaderParameter = {};
|
|
2183
|
+
const localVarQueryParameter = {};
|
|
2184
|
+
// authentication Token required
|
|
2185
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2186
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2187
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2188
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2189
|
+
return {
|
|
2190
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2191
|
+
options: localVarRequestOptions,
|
|
2192
|
+
};
|
|
2193
|
+
}),
|
|
1955
2194
|
/**
|
|
1956
2195
|
* A single task can be retrieved by calling this endpoint with the unique identifier of the Task and Workflow Run.
|
|
1957
2196
|
* @summary Retrieve Task
|
|
@@ -2415,6 +2654,37 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2415
2654
|
options: localVarRequestOptions,
|
|
2416
2655
|
};
|
|
2417
2656
|
}),
|
|
2657
|
+
/**
|
|
2658
|
+
* Returns every passkey registered under the supplied username.
|
|
2659
|
+
* @summary List passkeys
|
|
2660
|
+
* @param {string} username Username that owns the passkeys.
|
|
2661
|
+
* @param {*} [options] Override http request option.
|
|
2662
|
+
* @throws {RequiredError}
|
|
2663
|
+
*/
|
|
2664
|
+
listPasskeys: (username, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2665
|
+
// verify required parameter 'username' is not null or undefined
|
|
2666
|
+
(0, common_1.assertParamExists)('listPasskeys', 'username', username);
|
|
2667
|
+
const localVarPath = `/passkeys/{username}`
|
|
2668
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)));
|
|
2669
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2670
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2671
|
+
let baseOptions;
|
|
2672
|
+
if (configuration) {
|
|
2673
|
+
baseOptions = configuration.baseOptions;
|
|
2674
|
+
}
|
|
2675
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2676
|
+
const localVarHeaderParameter = {};
|
|
2677
|
+
const localVarQueryParameter = {};
|
|
2678
|
+
// authentication Token required
|
|
2679
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2680
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2681
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2682
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2683
|
+
return {
|
|
2684
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2685
|
+
options: localVarRequestOptions,
|
|
2686
|
+
};
|
|
2687
|
+
}),
|
|
2418
2688
|
/**
|
|
2419
2689
|
* Returns all repeat attempts for a given Document report
|
|
2420
2690
|
* @summary Retrieve repeat attempts
|
|
@@ -2479,6 +2749,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2479
2749
|
options: localVarRequestOptions,
|
|
2480
2750
|
};
|
|
2481
2751
|
}),
|
|
2752
|
+
/**
|
|
2753
|
+
* All signing documents belonging to an applicant can be listed from this endpoint
|
|
2754
|
+
* @summary List signing documents
|
|
2755
|
+
* @param {string} applicantId
|
|
2756
|
+
* @param {*} [options] Override http request option.
|
|
2757
|
+
* @throws {RequiredError}
|
|
2758
|
+
*/
|
|
2759
|
+
listSigningDocuments: (applicantId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2760
|
+
// verify required parameter 'applicantId' is not null or undefined
|
|
2761
|
+
(0, common_1.assertParamExists)('listSigningDocuments', 'applicantId', applicantId);
|
|
2762
|
+
const localVarPath = `/signing_documents`;
|
|
2763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2764
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2765
|
+
let baseOptions;
|
|
2766
|
+
if (configuration) {
|
|
2767
|
+
baseOptions = configuration.baseOptions;
|
|
2768
|
+
}
|
|
2769
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2770
|
+
const localVarHeaderParameter = {};
|
|
2771
|
+
const localVarQueryParameter = {};
|
|
2772
|
+
// authentication Token required
|
|
2773
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
2774
|
+
if (applicantId !== undefined) {
|
|
2775
|
+
localVarQueryParameter['applicant_id'] = applicantId;
|
|
2776
|
+
}
|
|
2777
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2779
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2780
|
+
return {
|
|
2781
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2782
|
+
options: localVarRequestOptions,
|
|
2783
|
+
};
|
|
2784
|
+
}),
|
|
2482
2785
|
/**
|
|
2483
2786
|
* The tasks of a Workflow can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
|
|
2484
2787
|
* @summary List Tasks
|
|
@@ -2880,6 +3183,46 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2880
3183
|
options: localVarRequestOptions,
|
|
2881
3184
|
};
|
|
2882
3185
|
}),
|
|
3186
|
+
/**
|
|
3187
|
+
* Updates a passkey\'s state.
|
|
3188
|
+
* @summary Update passkey
|
|
3189
|
+
* @param {string} username Username that owns the passkey.
|
|
3190
|
+
* @param {string} passkeyId Passkey ID.
|
|
3191
|
+
* @param {PasskeyUpdater} passkeyUpdater Passkey update payload.
|
|
3192
|
+
* @param {*} [options] Override http request option.
|
|
3193
|
+
* @throws {RequiredError}
|
|
3194
|
+
*/
|
|
3195
|
+
updatePasskey: (username, passkeyId, passkeyUpdater, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3196
|
+
// verify required parameter 'username' is not null or undefined
|
|
3197
|
+
(0, common_1.assertParamExists)('updatePasskey', 'username', username);
|
|
3198
|
+
// verify required parameter 'passkeyId' is not null or undefined
|
|
3199
|
+
(0, common_1.assertParamExists)('updatePasskey', 'passkeyId', passkeyId);
|
|
3200
|
+
// verify required parameter 'passkeyUpdater' is not null or undefined
|
|
3201
|
+
(0, common_1.assertParamExists)('updatePasskey', 'passkeyUpdater', passkeyUpdater);
|
|
3202
|
+
const localVarPath = `/passkeys/{username}/{passkey_id}`
|
|
3203
|
+
.replace(`{${"username"}}`, encodeURIComponent(String(username)))
|
|
3204
|
+
.replace(`{${"passkey_id"}}`, encodeURIComponent(String(passkeyId)));
|
|
3205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3206
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3207
|
+
let baseOptions;
|
|
3208
|
+
if (configuration) {
|
|
3209
|
+
baseOptions = configuration.baseOptions;
|
|
3210
|
+
}
|
|
3211
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
3212
|
+
const localVarHeaderParameter = {};
|
|
3213
|
+
const localVarQueryParameter = {};
|
|
3214
|
+
// authentication Token required
|
|
3215
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3216
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3217
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3218
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3219
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3220
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(passkeyUpdater, localVarRequestOptions, configuration);
|
|
3221
|
+
return {
|
|
3222
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3223
|
+
options: localVarRequestOptions,
|
|
3224
|
+
};
|
|
3225
|
+
}),
|
|
2883
3226
|
/**
|
|
2884
3227
|
* Update the status of the given matches
|
|
2885
3228
|
* @summary Set match status (BETA)
|
|
@@ -3100,6 +3443,48 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3100
3443
|
options: localVarRequestOptions,
|
|
3101
3444
|
};
|
|
3102
3445
|
}),
|
|
3446
|
+
/**
|
|
3447
|
+
* Signing documents are uploaded using this endpoint. Signing documents must be uploaded as a multipart form. The only valid file type is pdf. The file size must be between 2KB and 3MB.
|
|
3448
|
+
* @summary Upload a signing document
|
|
3449
|
+
* @param {string} applicantId The ID of the applicant whose signing document is being uploaded.
|
|
3450
|
+
* @param {FileTransfer} file The file to be uploaded.
|
|
3451
|
+
* @param {*} [options] Override http request option.
|
|
3452
|
+
* @throws {RequiredError}
|
|
3453
|
+
*/
|
|
3454
|
+
uploadSigningDocument: (applicantId, file, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3455
|
+
// verify required parameter 'applicantId' is not null or undefined
|
|
3456
|
+
(0, common_1.assertParamExists)('uploadSigningDocument', 'applicantId', applicantId);
|
|
3457
|
+
// verify required parameter 'file' is not null or undefined
|
|
3458
|
+
(0, common_1.assertParamExists)('uploadSigningDocument', 'file', file);
|
|
3459
|
+
const localVarPath = `/signing_documents`;
|
|
3460
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3461
|
+
const localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3462
|
+
let baseOptions;
|
|
3463
|
+
if (configuration) {
|
|
3464
|
+
baseOptions = configuration.baseOptions;
|
|
3465
|
+
}
|
|
3466
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3467
|
+
const localVarHeaderParameter = {};
|
|
3468
|
+
const localVarQueryParameter = {};
|
|
3469
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
3470
|
+
// authentication Token required
|
|
3471
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
3472
|
+
if (applicantId !== undefined) {
|
|
3473
|
+
localVarFormParams.append('applicant_id', applicantId);
|
|
3474
|
+
}
|
|
3475
|
+
if (file !== undefined) {
|
|
3476
|
+
localVarFormParams.append('file', file.buffer, file.filename);
|
|
3477
|
+
}
|
|
3478
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
3479
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3480
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3481
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3482
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
3483
|
+
return {
|
|
3484
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3485
|
+
options: localVarRequestOptions,
|
|
3486
|
+
};
|
|
3487
|
+
}),
|
|
3103
3488
|
};
|
|
3104
3489
|
};
|
|
3105
3490
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -3256,6 +3641,39 @@ const DefaultApiFp = function (configuration) {
|
|
|
3256
3641
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3257
3642
|
});
|
|
3258
3643
|
},
|
|
3644
|
+
/**
|
|
3645
|
+
* Deletes a passkey.
|
|
3646
|
+
* @summary Delete passkey
|
|
3647
|
+
* @param {string} username Username that owns the passkey.
|
|
3648
|
+
* @param {string} passkeyId Passkey ID.
|
|
3649
|
+
* @param {*} [options] Override http request option.
|
|
3650
|
+
* @throws {RequiredError}
|
|
3651
|
+
*/
|
|
3652
|
+
deletePasskey(username, passkeyId, options) {
|
|
3653
|
+
var _a, _b, _c;
|
|
3654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePasskey(username, passkeyId, options);
|
|
3656
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3657
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.deletePasskey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3658
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3659
|
+
});
|
|
3660
|
+
},
|
|
3661
|
+
/**
|
|
3662
|
+
* Removes every passkey for the username.
|
|
3663
|
+
* @summary Delete passkeys
|
|
3664
|
+
* @param {string} username Username whose passkeys will be deleted.
|
|
3665
|
+
* @param {*} [options] Override http request option.
|
|
3666
|
+
* @throws {RequiredError}
|
|
3667
|
+
*/
|
|
3668
|
+
deletePasskeys(username, options) {
|
|
3669
|
+
var _a, _b, _c;
|
|
3670
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3671
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deletePasskeys(username, options);
|
|
3672
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3673
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.deletePasskeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3674
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3675
|
+
});
|
|
3676
|
+
},
|
|
3259
3677
|
/**
|
|
3260
3678
|
* Deactivates the given monitor
|
|
3261
3679
|
* @summary Delete monitor
|
|
@@ -3498,6 +3916,23 @@ const DefaultApiFp = function (configuration) {
|
|
|
3498
3916
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3499
3917
|
});
|
|
3500
3918
|
},
|
|
3919
|
+
/**
|
|
3920
|
+
* Retrieves the signed document or signing transaction receipt depending on the id provided.
|
|
3921
|
+
* @summary Retrieves the signed document or signing transaction receipt
|
|
3922
|
+
* @param {string} workflowRunId The unique identifier of the Workflow Run for which you want to retrieve the signed document.
|
|
3923
|
+
* @param {string} id The unique identifier of the file which you want to retrieve.
|
|
3924
|
+
* @param {*} [options] Override http request option.
|
|
3925
|
+
* @throws {RequiredError}
|
|
3926
|
+
*/
|
|
3927
|
+
downloadSesDocument(workflowRunId, id, options) {
|
|
3928
|
+
var _a, _b, _c;
|
|
3929
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3930
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadSesDocument(workflowRunId, id, options);
|
|
3931
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3932
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.downloadSesDocument']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3933
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3934
|
+
});
|
|
3935
|
+
},
|
|
3501
3936
|
/**
|
|
3502
3937
|
* Retrieves the signed evidence file for the designated Workflow Run
|
|
3503
3938
|
* @summary Retrieve Workflow Run Evidence Summary File
|
|
@@ -3514,6 +3949,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
3514
3949
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3515
3950
|
});
|
|
3516
3951
|
},
|
|
3952
|
+
/**
|
|
3953
|
+
* Downloads specific signing documents belonging to an applicant. If successful, the response will be the binary data representing the pdf.
|
|
3954
|
+
* @summary Download signing document
|
|
3955
|
+
* @param {string} signingDocumentId
|
|
3956
|
+
* @param {*} [options] Override http request option.
|
|
3957
|
+
* @throws {RequiredError}
|
|
3958
|
+
*/
|
|
3959
|
+
downloadSigningDocument(signingDocumentId, options) {
|
|
3960
|
+
var _a, _b, _c;
|
|
3961
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3962
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadSigningDocument(signingDocumentId, options);
|
|
3963
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3964
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.downloadSigningDocument']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3965
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3966
|
+
});
|
|
3967
|
+
},
|
|
3517
3968
|
/**
|
|
3518
3969
|
* Extract information from a document
|
|
3519
3970
|
* @summary Autofill
|
|
@@ -3674,6 +4125,23 @@ const DefaultApiFp = function (configuration) {
|
|
|
3674
4125
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3675
4126
|
});
|
|
3676
4127
|
},
|
|
4128
|
+
/**
|
|
4129
|
+
* Returns a passkey\'s details.
|
|
4130
|
+
* @summary Retrieve passkey
|
|
4131
|
+
* @param {string} username Username that owns the passkey.
|
|
4132
|
+
* @param {string} passkeyId Passkey ID.
|
|
4133
|
+
* @param {*} [options] Override http request option.
|
|
4134
|
+
* @throws {RequiredError}
|
|
4135
|
+
*/
|
|
4136
|
+
findPasskey(username, passkeyId, options) {
|
|
4137
|
+
var _a, _b, _c;
|
|
4138
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4139
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.findPasskey(username, passkeyId, options);
|
|
4140
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4141
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.findPasskey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4142
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4143
|
+
});
|
|
4144
|
+
},
|
|
3677
4145
|
/**
|
|
3678
4146
|
* A single report can be retrieved using this endpoint with the corresponding unique identifier.
|
|
3679
4147
|
* @summary Retrieve report
|
|
@@ -3690,6 +4158,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
3690
4158
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3691
4159
|
});
|
|
3692
4160
|
},
|
|
4161
|
+
/**
|
|
4162
|
+
* A single signing document can be retrieved by calling this endpoint with the signing document\'s unique identifier.
|
|
4163
|
+
* @summary Retrieve signing document
|
|
4164
|
+
* @param {string} signingDocumentId
|
|
4165
|
+
* @param {*} [options] Override http request option.
|
|
4166
|
+
* @throws {RequiredError}
|
|
4167
|
+
*/
|
|
4168
|
+
findSigningDocument(signingDocumentId, options) {
|
|
4169
|
+
var _a, _b, _c;
|
|
4170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4171
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.findSigningDocument(signingDocumentId, options);
|
|
4172
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4173
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.findSigningDocument']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4174
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4175
|
+
});
|
|
4176
|
+
},
|
|
3693
4177
|
/**
|
|
3694
4178
|
* A single task can be retrieved by calling this endpoint with the unique identifier of the Task and Workflow Run.
|
|
3695
4179
|
* @summary Retrieve Task
|
|
@@ -3918,6 +4402,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
3918
4402
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3919
4403
|
});
|
|
3920
4404
|
},
|
|
4405
|
+
/**
|
|
4406
|
+
* Returns every passkey registered under the supplied username.
|
|
4407
|
+
* @summary List passkeys
|
|
4408
|
+
* @param {string} username Username that owns the passkeys.
|
|
4409
|
+
* @param {*} [options] Override http request option.
|
|
4410
|
+
* @throws {RequiredError}
|
|
4411
|
+
*/
|
|
4412
|
+
listPasskeys(username, options) {
|
|
4413
|
+
var _a, _b, _c;
|
|
4414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4415
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPasskeys(username, options);
|
|
4416
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4417
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listPasskeys']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4418
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4419
|
+
});
|
|
4420
|
+
},
|
|
3921
4421
|
/**
|
|
3922
4422
|
* Returns all repeat attempts for a given Document report
|
|
3923
4423
|
* @summary Retrieve repeat attempts
|
|
@@ -3950,6 +4450,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
3950
4450
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3951
4451
|
});
|
|
3952
4452
|
},
|
|
4453
|
+
/**
|
|
4454
|
+
* All signing documents belonging to an applicant can be listed from this endpoint
|
|
4455
|
+
* @summary List signing documents
|
|
4456
|
+
* @param {string} applicantId
|
|
4457
|
+
* @param {*} [options] Override http request option.
|
|
4458
|
+
* @throws {RequiredError}
|
|
4459
|
+
*/
|
|
4460
|
+
listSigningDocuments(applicantId, options) {
|
|
4461
|
+
var _a, _b, _c;
|
|
4462
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4463
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSigningDocuments(applicantId, options);
|
|
4464
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4465
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listSigningDocuments']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4466
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4467
|
+
});
|
|
4468
|
+
},
|
|
3953
4469
|
/**
|
|
3954
4470
|
* The tasks of a Workflow can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
|
|
3955
4471
|
* @summary List Tasks
|
|
@@ -4147,6 +4663,24 @@ const DefaultApiFp = function (configuration) {
|
|
|
4147
4663
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4148
4664
|
});
|
|
4149
4665
|
},
|
|
4666
|
+
/**
|
|
4667
|
+
* Updates a passkey\'s state.
|
|
4668
|
+
* @summary Update passkey
|
|
4669
|
+
* @param {string} username Username that owns the passkey.
|
|
4670
|
+
* @param {string} passkeyId Passkey ID.
|
|
4671
|
+
* @param {PasskeyUpdater} passkeyUpdater Passkey update payload.
|
|
4672
|
+
* @param {*} [options] Override http request option.
|
|
4673
|
+
* @throws {RequiredError}
|
|
4674
|
+
*/
|
|
4675
|
+
updatePasskey(username, passkeyId, passkeyUpdater, options) {
|
|
4676
|
+
var _a, _b, _c;
|
|
4677
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4678
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.updatePasskey(username, passkeyId, passkeyUpdater, options);
|
|
4679
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4680
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.updatePasskey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4681
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4682
|
+
});
|
|
4683
|
+
},
|
|
4150
4684
|
/**
|
|
4151
4685
|
* Update the status of the given matches
|
|
4152
4686
|
* @summary Set match status (BETA)
|
|
@@ -4239,6 +4773,23 @@ const DefaultApiFp = function (configuration) {
|
|
|
4239
4773
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4240
4774
|
});
|
|
4241
4775
|
},
|
|
4776
|
+
/**
|
|
4777
|
+
* Signing documents are uploaded using this endpoint. Signing documents must be uploaded as a multipart form. The only valid file type is pdf. The file size must be between 2KB and 3MB.
|
|
4778
|
+
* @summary Upload a signing document
|
|
4779
|
+
* @param {string} applicantId The ID of the applicant whose signing document is being uploaded.
|
|
4780
|
+
* @param {FileTransfer} file The file to be uploaded.
|
|
4781
|
+
* @param {*} [options] Override http request option.
|
|
4782
|
+
* @throws {RequiredError}
|
|
4783
|
+
*/
|
|
4784
|
+
uploadSigningDocument(applicantId, file, options) {
|
|
4785
|
+
var _a, _b, _c;
|
|
4786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4787
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.uploadSigningDocument(applicantId, file, options);
|
|
4788
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
4789
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.uploadSigningDocument']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
4790
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4791
|
+
});
|
|
4792
|
+
},
|
|
4242
4793
|
};
|
|
4243
4794
|
};
|
|
4244
4795
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -4341,6 +4892,27 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4341
4892
|
deleteApplicant(applicantId, options) {
|
|
4342
4893
|
return localVarFp.deleteApplicant(applicantId, options).then((request) => request(axios, basePath));
|
|
4343
4894
|
},
|
|
4895
|
+
/**
|
|
4896
|
+
* Deletes a passkey.
|
|
4897
|
+
* @summary Delete passkey
|
|
4898
|
+
* @param {string} username Username that owns the passkey.
|
|
4899
|
+
* @param {string} passkeyId Passkey ID.
|
|
4900
|
+
* @param {*} [options] Override http request option.
|
|
4901
|
+
* @throws {RequiredError}
|
|
4902
|
+
*/
|
|
4903
|
+
deletePasskey(username, passkeyId, options) {
|
|
4904
|
+
return localVarFp.deletePasskey(username, passkeyId, options).then((request) => request(axios, basePath));
|
|
4905
|
+
},
|
|
4906
|
+
/**
|
|
4907
|
+
* Removes every passkey for the username.
|
|
4908
|
+
* @summary Delete passkeys
|
|
4909
|
+
* @param {string} username Username whose passkeys will be deleted.
|
|
4910
|
+
* @param {*} [options] Override http request option.
|
|
4911
|
+
* @throws {RequiredError}
|
|
4912
|
+
*/
|
|
4913
|
+
deletePasskeys(username, options) {
|
|
4914
|
+
return localVarFp.deletePasskeys(username, options).then((request) => request(axios, basePath));
|
|
4915
|
+
},
|
|
4344
4916
|
/**
|
|
4345
4917
|
* Deactivates the given monitor
|
|
4346
4918
|
* @summary Delete monitor
|
|
@@ -4493,6 +5065,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4493
5065
|
downloadQesDocument(workflowRunId, fileId, options) {
|
|
4494
5066
|
return localVarFp.downloadQesDocument(workflowRunId, fileId, options).then((request) => request(axios, basePath));
|
|
4495
5067
|
},
|
|
5068
|
+
/**
|
|
5069
|
+
* Retrieves the signed document or signing transaction receipt depending on the id provided.
|
|
5070
|
+
* @summary Retrieves the signed document or signing transaction receipt
|
|
5071
|
+
* @param {string} workflowRunId The unique identifier of the Workflow Run for which you want to retrieve the signed document.
|
|
5072
|
+
* @param {string} id The unique identifier of the file which you want to retrieve.
|
|
5073
|
+
* @param {*} [options] Override http request option.
|
|
5074
|
+
* @throws {RequiredError}
|
|
5075
|
+
*/
|
|
5076
|
+
downloadSesDocument(workflowRunId, id, options) {
|
|
5077
|
+
return localVarFp.downloadSesDocument(workflowRunId, id, options).then((request) => request(axios, basePath));
|
|
5078
|
+
},
|
|
4496
5079
|
/**
|
|
4497
5080
|
* Retrieves the signed evidence file for the designated Workflow Run
|
|
4498
5081
|
* @summary Retrieve Workflow Run Evidence Summary File
|
|
@@ -4503,6 +5086,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4503
5086
|
downloadSignedEvidenceFile(workflowRunId, options) {
|
|
4504
5087
|
return localVarFp.downloadSignedEvidenceFile(workflowRunId, options).then((request) => request(axios, basePath));
|
|
4505
5088
|
},
|
|
5089
|
+
/**
|
|
5090
|
+
* Downloads specific signing documents belonging to an applicant. If successful, the response will be the binary data representing the pdf.
|
|
5091
|
+
* @summary Download signing document
|
|
5092
|
+
* @param {string} signingDocumentId
|
|
5093
|
+
* @param {*} [options] Override http request option.
|
|
5094
|
+
* @throws {RequiredError}
|
|
5095
|
+
*/
|
|
5096
|
+
downloadSigningDocument(signingDocumentId, options) {
|
|
5097
|
+
return localVarFp.downloadSigningDocument(signingDocumentId, options).then((request) => request(axios, basePath));
|
|
5098
|
+
},
|
|
4506
5099
|
/**
|
|
4507
5100
|
* Extract information from a document
|
|
4508
5101
|
* @summary Autofill
|
|
@@ -4603,6 +5196,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4603
5196
|
findMotionCapture(motionCaptureId, options) {
|
|
4604
5197
|
return localVarFp.findMotionCapture(motionCaptureId, options).then((request) => request(axios, basePath));
|
|
4605
5198
|
},
|
|
5199
|
+
/**
|
|
5200
|
+
* Returns a passkey\'s details.
|
|
5201
|
+
* @summary Retrieve passkey
|
|
5202
|
+
* @param {string} username Username that owns the passkey.
|
|
5203
|
+
* @param {string} passkeyId Passkey ID.
|
|
5204
|
+
* @param {*} [options] Override http request option.
|
|
5205
|
+
* @throws {RequiredError}
|
|
5206
|
+
*/
|
|
5207
|
+
findPasskey(username, passkeyId, options) {
|
|
5208
|
+
return localVarFp.findPasskey(username, passkeyId, options).then((request) => request(axios, basePath));
|
|
5209
|
+
},
|
|
4606
5210
|
/**
|
|
4607
5211
|
* A single report can be retrieved using this endpoint with the corresponding unique identifier.
|
|
4608
5212
|
* @summary Retrieve report
|
|
@@ -4613,6 +5217,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4613
5217
|
findReport(reportId, options) {
|
|
4614
5218
|
return localVarFp.findReport(reportId, options).then((request) => request(axios, basePath));
|
|
4615
5219
|
},
|
|
5220
|
+
/**
|
|
5221
|
+
* A single signing document can be retrieved by calling this endpoint with the signing document\'s unique identifier.
|
|
5222
|
+
* @summary Retrieve signing document
|
|
5223
|
+
* @param {string} signingDocumentId
|
|
5224
|
+
* @param {*} [options] Override http request option.
|
|
5225
|
+
* @throws {RequiredError}
|
|
5226
|
+
*/
|
|
5227
|
+
findSigningDocument(signingDocumentId, options) {
|
|
5228
|
+
return localVarFp.findSigningDocument(signingDocumentId, options).then((request) => request(axios, basePath));
|
|
5229
|
+
},
|
|
4616
5230
|
/**
|
|
4617
5231
|
* A single task can be retrieved by calling this endpoint with the unique identifier of the Task and Workflow Run.
|
|
4618
5232
|
* @summary Retrieve Task
|
|
@@ -4757,6 +5371,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4757
5371
|
listMotionCaptures(applicantId, options) {
|
|
4758
5372
|
return localVarFp.listMotionCaptures(applicantId, options).then((request) => request(axios, basePath));
|
|
4759
5373
|
},
|
|
5374
|
+
/**
|
|
5375
|
+
* Returns every passkey registered under the supplied username.
|
|
5376
|
+
* @summary List passkeys
|
|
5377
|
+
* @param {string} username Username that owns the passkeys.
|
|
5378
|
+
* @param {*} [options] Override http request option.
|
|
5379
|
+
* @throws {RequiredError}
|
|
5380
|
+
*/
|
|
5381
|
+
listPasskeys(username, options) {
|
|
5382
|
+
return localVarFp.listPasskeys(username, options).then((request) => request(axios, basePath));
|
|
5383
|
+
},
|
|
4760
5384
|
/**
|
|
4761
5385
|
* Returns all repeat attempts for a given Document report
|
|
4762
5386
|
* @summary Retrieve repeat attempts
|
|
@@ -4777,6 +5401,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4777
5401
|
listReports(checkId, options) {
|
|
4778
5402
|
return localVarFp.listReports(checkId, options).then((request) => request(axios, basePath));
|
|
4779
5403
|
},
|
|
5404
|
+
/**
|
|
5405
|
+
* All signing documents belonging to an applicant can be listed from this endpoint
|
|
5406
|
+
* @summary List signing documents
|
|
5407
|
+
* @param {string} applicantId
|
|
5408
|
+
* @param {*} [options] Override http request option.
|
|
5409
|
+
* @throws {RequiredError}
|
|
5410
|
+
*/
|
|
5411
|
+
listSigningDocuments(applicantId, options) {
|
|
5412
|
+
return localVarFp.listSigningDocuments(applicantId, options).then((request) => request(axios, basePath));
|
|
5413
|
+
},
|
|
4780
5414
|
/**
|
|
4781
5415
|
* The tasks of a Workflow can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
|
|
4782
5416
|
* @summary List Tasks
|
|
@@ -4902,6 +5536,18 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4902
5536
|
updateApplicant(applicantId, applicantUpdater, options) {
|
|
4903
5537
|
return localVarFp.updateApplicant(applicantId, applicantUpdater, options).then((request) => request(axios, basePath));
|
|
4904
5538
|
},
|
|
5539
|
+
/**
|
|
5540
|
+
* Updates a passkey\'s state.
|
|
5541
|
+
* @summary Update passkey
|
|
5542
|
+
* @param {string} username Username that owns the passkey.
|
|
5543
|
+
* @param {string} passkeyId Passkey ID.
|
|
5544
|
+
* @param {PasskeyUpdater} passkeyUpdater Passkey update payload.
|
|
5545
|
+
* @param {*} [options] Override http request option.
|
|
5546
|
+
* @throws {RequiredError}
|
|
5547
|
+
*/
|
|
5548
|
+
updatePasskey(username, passkeyId, passkeyUpdater, options) {
|
|
5549
|
+
return localVarFp.updatePasskey(username, passkeyId, passkeyUpdater, options).then((request) => request(axios, basePath));
|
|
5550
|
+
},
|
|
4905
5551
|
/**
|
|
4906
5552
|
* Update the status of the given matches
|
|
4907
5553
|
* @summary Set match status (BETA)
|
|
@@ -4964,6 +5610,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4964
5610
|
uploadLivePhoto(applicantId, file, advancedValidation, options) {
|
|
4965
5611
|
return localVarFp.uploadLivePhoto(applicantId, file, advancedValidation, options).then((request) => request(axios, basePath));
|
|
4966
5612
|
},
|
|
5613
|
+
/**
|
|
5614
|
+
* Signing documents are uploaded using this endpoint. Signing documents must be uploaded as a multipart form. The only valid file type is pdf. The file size must be between 2KB and 3MB.
|
|
5615
|
+
* @summary Upload a signing document
|
|
5616
|
+
* @param {string} applicantId The ID of the applicant whose signing document is being uploaded.
|
|
5617
|
+
* @param {FileTransfer} file The file to be uploaded.
|
|
5618
|
+
* @param {*} [options] Override http request option.
|
|
5619
|
+
* @throws {RequiredError}
|
|
5620
|
+
*/
|
|
5621
|
+
uploadSigningDocument(applicantId, file, options) {
|
|
5622
|
+
return localVarFp.uploadSigningDocument(applicantId, file, options).then((request) => request(axios, basePath));
|
|
5623
|
+
},
|
|
4967
5624
|
};
|
|
4968
5625
|
};
|
|
4969
5626
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -5075,6 +5732,29 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5075
5732
|
deleteApplicant(applicantId, options) {
|
|
5076
5733
|
return (0, exports.DefaultApiFp)(this.configuration).deleteApplicant(applicantId, options).then((request) => request(this.axios, this.basePath));
|
|
5077
5734
|
}
|
|
5735
|
+
/**
|
|
5736
|
+
* Deletes a passkey.
|
|
5737
|
+
* @summary Delete passkey
|
|
5738
|
+
* @param {string} username Username that owns the passkey.
|
|
5739
|
+
* @param {string} passkeyId Passkey ID.
|
|
5740
|
+
* @param {*} [options] Override http request option.
|
|
5741
|
+
* @throws {RequiredError}
|
|
5742
|
+
* @memberof DefaultApi
|
|
5743
|
+
*/
|
|
5744
|
+
deletePasskey(username, passkeyId, options) {
|
|
5745
|
+
return (0, exports.DefaultApiFp)(this.configuration).deletePasskey(username, passkeyId, options).then((request) => request(this.axios, this.basePath));
|
|
5746
|
+
}
|
|
5747
|
+
/**
|
|
5748
|
+
* Removes every passkey for the username.
|
|
5749
|
+
* @summary Delete passkeys
|
|
5750
|
+
* @param {string} username Username whose passkeys will be deleted.
|
|
5751
|
+
* @param {*} [options] Override http request option.
|
|
5752
|
+
* @throws {RequiredError}
|
|
5753
|
+
* @memberof DefaultApi
|
|
5754
|
+
*/
|
|
5755
|
+
deletePasskeys(username, options) {
|
|
5756
|
+
return (0, exports.DefaultApiFp)(this.configuration).deletePasskeys(username, options).then((request) => request(this.axios, this.basePath));
|
|
5757
|
+
}
|
|
5078
5758
|
/**
|
|
5079
5759
|
* Deactivates the given monitor
|
|
5080
5760
|
* @summary Delete monitor
|
|
@@ -5242,6 +5922,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5242
5922
|
downloadQesDocument(workflowRunId, fileId, options) {
|
|
5243
5923
|
return (0, exports.DefaultApiFp)(this.configuration).downloadQesDocument(workflowRunId, fileId, options).then((request) => request(this.axios, this.basePath));
|
|
5244
5924
|
}
|
|
5925
|
+
/**
|
|
5926
|
+
* Retrieves the signed document or signing transaction receipt depending on the id provided.
|
|
5927
|
+
* @summary Retrieves the signed document or signing transaction receipt
|
|
5928
|
+
* @param {string} workflowRunId The unique identifier of the Workflow Run for which you want to retrieve the signed document.
|
|
5929
|
+
* @param {string} id The unique identifier of the file which you want to retrieve.
|
|
5930
|
+
* @param {*} [options] Override http request option.
|
|
5931
|
+
* @throws {RequiredError}
|
|
5932
|
+
* @memberof DefaultApi
|
|
5933
|
+
*/
|
|
5934
|
+
downloadSesDocument(workflowRunId, id, options) {
|
|
5935
|
+
return (0, exports.DefaultApiFp)(this.configuration).downloadSesDocument(workflowRunId, id, options).then((request) => request(this.axios, this.basePath));
|
|
5936
|
+
}
|
|
5245
5937
|
/**
|
|
5246
5938
|
* Retrieves the signed evidence file for the designated Workflow Run
|
|
5247
5939
|
* @summary Retrieve Workflow Run Evidence Summary File
|
|
@@ -5253,6 +5945,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5253
5945
|
downloadSignedEvidenceFile(workflowRunId, options) {
|
|
5254
5946
|
return (0, exports.DefaultApiFp)(this.configuration).downloadSignedEvidenceFile(workflowRunId, options).then((request) => request(this.axios, this.basePath));
|
|
5255
5947
|
}
|
|
5948
|
+
/**
|
|
5949
|
+
* Downloads specific signing documents belonging to an applicant. If successful, the response will be the binary data representing the pdf.
|
|
5950
|
+
* @summary Download signing document
|
|
5951
|
+
* @param {string} signingDocumentId
|
|
5952
|
+
* @param {*} [options] Override http request option.
|
|
5953
|
+
* @throws {RequiredError}
|
|
5954
|
+
* @memberof DefaultApi
|
|
5955
|
+
*/
|
|
5956
|
+
downloadSigningDocument(signingDocumentId, options) {
|
|
5957
|
+
return (0, exports.DefaultApiFp)(this.configuration).downloadSigningDocument(signingDocumentId, options).then((request) => request(this.axios, this.basePath));
|
|
5958
|
+
}
|
|
5256
5959
|
/**
|
|
5257
5960
|
* Extract information from a document
|
|
5258
5961
|
* @summary Autofill
|
|
@@ -5363,6 +6066,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5363
6066
|
findMotionCapture(motionCaptureId, options) {
|
|
5364
6067
|
return (0, exports.DefaultApiFp)(this.configuration).findMotionCapture(motionCaptureId, options).then((request) => request(this.axios, this.basePath));
|
|
5365
6068
|
}
|
|
6069
|
+
/**
|
|
6070
|
+
* Returns a passkey\'s details.
|
|
6071
|
+
* @summary Retrieve passkey
|
|
6072
|
+
* @param {string} username Username that owns the passkey.
|
|
6073
|
+
* @param {string} passkeyId Passkey ID.
|
|
6074
|
+
* @param {*} [options] Override http request option.
|
|
6075
|
+
* @throws {RequiredError}
|
|
6076
|
+
* @memberof DefaultApi
|
|
6077
|
+
*/
|
|
6078
|
+
findPasskey(username, passkeyId, options) {
|
|
6079
|
+
return (0, exports.DefaultApiFp)(this.configuration).findPasskey(username, passkeyId, options).then((request) => request(this.axios, this.basePath));
|
|
6080
|
+
}
|
|
5366
6081
|
/**
|
|
5367
6082
|
* A single report can be retrieved using this endpoint with the corresponding unique identifier.
|
|
5368
6083
|
* @summary Retrieve report
|
|
@@ -5374,6 +6089,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5374
6089
|
findReport(reportId, options) {
|
|
5375
6090
|
return (0, exports.DefaultApiFp)(this.configuration).findReport(reportId, options).then((request) => request(this.axios, this.basePath));
|
|
5376
6091
|
}
|
|
6092
|
+
/**
|
|
6093
|
+
* A single signing document can be retrieved by calling this endpoint with the signing document\'s unique identifier.
|
|
6094
|
+
* @summary Retrieve signing document
|
|
6095
|
+
* @param {string} signingDocumentId
|
|
6096
|
+
* @param {*} [options] Override http request option.
|
|
6097
|
+
* @throws {RequiredError}
|
|
6098
|
+
* @memberof DefaultApi
|
|
6099
|
+
*/
|
|
6100
|
+
findSigningDocument(signingDocumentId, options) {
|
|
6101
|
+
return (0, exports.DefaultApiFp)(this.configuration).findSigningDocument(signingDocumentId, options).then((request) => request(this.axios, this.basePath));
|
|
6102
|
+
}
|
|
5377
6103
|
/**
|
|
5378
6104
|
* A single task can be retrieved by calling this endpoint with the unique identifier of the Task and Workflow Run.
|
|
5379
6105
|
* @summary Retrieve Task
|
|
@@ -5532,6 +6258,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5532
6258
|
listMotionCaptures(applicantId, options) {
|
|
5533
6259
|
return (0, exports.DefaultApiFp)(this.configuration).listMotionCaptures(applicantId, options).then((request) => request(this.axios, this.basePath));
|
|
5534
6260
|
}
|
|
6261
|
+
/**
|
|
6262
|
+
* Returns every passkey registered under the supplied username.
|
|
6263
|
+
* @summary List passkeys
|
|
6264
|
+
* @param {string} username Username that owns the passkeys.
|
|
6265
|
+
* @param {*} [options] Override http request option.
|
|
6266
|
+
* @throws {RequiredError}
|
|
6267
|
+
* @memberof DefaultApi
|
|
6268
|
+
*/
|
|
6269
|
+
listPasskeys(username, options) {
|
|
6270
|
+
return (0, exports.DefaultApiFp)(this.configuration).listPasskeys(username, options).then((request) => request(this.axios, this.basePath));
|
|
6271
|
+
}
|
|
5535
6272
|
/**
|
|
5536
6273
|
* Returns all repeat attempts for a given Document report
|
|
5537
6274
|
* @summary Retrieve repeat attempts
|
|
@@ -5554,6 +6291,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5554
6291
|
listReports(checkId, options) {
|
|
5555
6292
|
return (0, exports.DefaultApiFp)(this.configuration).listReports(checkId, options).then((request) => request(this.axios, this.basePath));
|
|
5556
6293
|
}
|
|
6294
|
+
/**
|
|
6295
|
+
* All signing documents belonging to an applicant can be listed from this endpoint
|
|
6296
|
+
* @summary List signing documents
|
|
6297
|
+
* @param {string} applicantId
|
|
6298
|
+
* @param {*} [options] Override http request option.
|
|
6299
|
+
* @throws {RequiredError}
|
|
6300
|
+
* @memberof DefaultApi
|
|
6301
|
+
*/
|
|
6302
|
+
listSigningDocuments(applicantId, options) {
|
|
6303
|
+
return (0, exports.DefaultApiFp)(this.configuration).listSigningDocuments(applicantId, options).then((request) => request(this.axios, this.basePath));
|
|
6304
|
+
}
|
|
5557
6305
|
/**
|
|
5558
6306
|
* The tasks of a Workflow can be retrieved by calling this endpoint with the unique identifier of the Workflow Run.
|
|
5559
6307
|
* @summary List Tasks
|
|
@@ -5691,6 +6439,19 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5691
6439
|
updateApplicant(applicantId, applicantUpdater, options) {
|
|
5692
6440
|
return (0, exports.DefaultApiFp)(this.configuration).updateApplicant(applicantId, applicantUpdater, options).then((request) => request(this.axios, this.basePath));
|
|
5693
6441
|
}
|
|
6442
|
+
/**
|
|
6443
|
+
* Updates a passkey\'s state.
|
|
6444
|
+
* @summary Update passkey
|
|
6445
|
+
* @param {string} username Username that owns the passkey.
|
|
6446
|
+
* @param {string} passkeyId Passkey ID.
|
|
6447
|
+
* @param {PasskeyUpdater} passkeyUpdater Passkey update payload.
|
|
6448
|
+
* @param {*} [options] Override http request option.
|
|
6449
|
+
* @throws {RequiredError}
|
|
6450
|
+
* @memberof DefaultApi
|
|
6451
|
+
*/
|
|
6452
|
+
updatePasskey(username, passkeyId, passkeyUpdater, options) {
|
|
6453
|
+
return (0, exports.DefaultApiFp)(this.configuration).updatePasskey(username, passkeyId, passkeyUpdater, options).then((request) => request(this.axios, this.basePath));
|
|
6454
|
+
}
|
|
5694
6455
|
/**
|
|
5695
6456
|
* Update the status of the given matches
|
|
5696
6457
|
* @summary Set match status (BETA)
|
|
@@ -5758,6 +6519,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5758
6519
|
uploadLivePhoto(applicantId, file, advancedValidation, options) {
|
|
5759
6520
|
return (0, exports.DefaultApiFp)(this.configuration).uploadLivePhoto(applicantId, file, advancedValidation, options).then((request) => request(this.axios, this.basePath));
|
|
5760
6521
|
}
|
|
6522
|
+
/**
|
|
6523
|
+
* Signing documents are uploaded using this endpoint. Signing documents must be uploaded as a multipart form. The only valid file type is pdf. The file size must be between 2KB and 3MB.
|
|
6524
|
+
* @summary Upload a signing document
|
|
6525
|
+
* @param {string} applicantId The ID of the applicant whose signing document is being uploaded.
|
|
6526
|
+
* @param {FileTransfer} file The file to be uploaded.
|
|
6527
|
+
* @param {*} [options] Override http request option.
|
|
6528
|
+
* @throws {RequiredError}
|
|
6529
|
+
* @memberof DefaultApi
|
|
6530
|
+
*/
|
|
6531
|
+
uploadSigningDocument(applicantId, file, options) {
|
|
6532
|
+
return (0, exports.DefaultApiFp)(this.configuration).uploadSigningDocument(applicantId, file, options).then((request) => request(this.axios, this.basePath));
|
|
6533
|
+
}
|
|
5761
6534
|
}
|
|
5762
6535
|
exports.DefaultApi = DefaultApi;
|
|
5763
6536
|
/**
|