@compleadai/core 0.0.0-stage → 0.1.0-preview.1
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 +42 -2
- package/dist/apis/ApprovalApi.d.ts +98 -0
- package/dist/apis/ApprovalApi.js +280 -0
- package/dist/apis/GeneralApi.d.ts +179 -0
- package/dist/apis/GeneralApi.js +597 -0
- package/dist/apis/UserApi.d.ts +26 -0
- package/dist/apis/UserApi.js +63 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +21 -0
- package/dist/esm/apis/ApprovalApi.d.ts +98 -0
- package/dist/esm/apis/ApprovalApi.js +276 -0
- package/dist/esm/apis/GeneralApi.d.ts +179 -0
- package/dist/esm/apis/GeneralApi.js +593 -0
- package/dist/esm/apis/UserApi.d.ts +26 -0
- package/dist/esm/apis/UserApi.js +59 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ActivityReasonResponse.d.ts +50 -0
- package/dist/esm/models/ActivityReasonResponse.js +47 -0
- package/dist/esm/models/ApiResponseOfApproveManagementDataTablePagingResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfApproveManagementDataTablePagingResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfApproveManagementHistoryDataTablePagingResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfApproveManagementHistoryDataTablePagingResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfBankSwiftCodeDTO.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfBankSwiftCodeDTO.js +52 -0
- package/dist/esm/models/ApiResponseOfBatchUploadResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfBatchUploadResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfGeneralCreditsArray.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfGeneralCreditsArray.js +52 -0
- package/dist/esm/models/ApiResponseOfGeneralSearchSettingResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfGeneralSearchSettingResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfGeneralTagResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfGeneralTagResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfGeneralTeamResponseArray.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfGeneralTeamResponseArray.js +52 -0
- package/dist/esm/models/ApiResponseOfGeneralUserResponseArray.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfGeneralUserResponseArray.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfActivityReasonResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfActivityReasonResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfCountryRiskLevelResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfCountryRiskLevelResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfGeneralDynamicFieldResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfGeneralDynamicFieldResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfGetTagsResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfGetTagsResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfMasakCodeItem.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfMasakCodeItem.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfWebhookResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfWebhookResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfWebhookTriggerHistoryResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfListOfWebhookTriggerHistoryResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfListOfint.d.ts +62 -0
- package/dist/esm/models/ApiResponseOfListOfint.js +51 -0
- package/dist/esm/models/ApiResponseOfObject.d.ts +62 -0
- package/dist/esm/models/ApiResponseOfObject.js +51 -0
- package/dist/esm/models/ApiResponseOfRiskLevelBatchResultResponse.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfRiskLevelBatchResultResponse.js +52 -0
- package/dist/esm/models/ApiResponseOfValidationQueueDetailDTO.d.ts +63 -0
- package/dist/esm/models/ApiResponseOfValidationQueueDetailDTO.js +52 -0
- package/dist/esm/models/ApiResponseOfboolean.d.ts +62 -0
- package/dist/esm/models/ApiResponseOfboolean.js +51 -0
- package/dist/esm/models/ApprovalDecisionRequest.d.ts +38 -0
- package/dist/esm/models/ApprovalDecisionRequest.js +45 -0
- package/dist/esm/models/ApproveManagementDataTablePagingResponse.d.ts +39 -0
- package/dist/esm/models/ApproveManagementDataTablePagingResponse.js +44 -0
- package/dist/esm/models/ApproveManagementDto.d.ts +140 -0
- package/dist/esm/models/ApproveManagementDto.js +77 -0
- package/dist/esm/models/ApproveManagementHistoryDataTablePagingResponse.d.ts +39 -0
- package/dist/esm/models/ApproveManagementHistoryDataTablePagingResponse.js +44 -0
- package/dist/esm/models/ApproveManagementHistoryDto.d.ts +152 -0
- package/dist/esm/models/ApproveManagementHistoryDto.js +82 -0
- package/dist/esm/models/BankSwiftCodeDTO.d.ts +86 -0
- package/dist/esm/models/BankSwiftCodeDTO.js +59 -0
- package/dist/esm/models/BatchUploadResponse.d.ts +50 -0
- package/dist/esm/models/BatchUploadResponse.js +47 -0
- package/dist/esm/models/CountryRiskLevelEnum.d.ts +27 -0
- package/dist/esm/models/CountryRiskLevelEnum.js +45 -0
- package/dist/esm/models/CountryRiskLevelResponse.d.ts +51 -0
- package/dist/esm/models/CountryRiskLevelResponse.js +48 -0
- package/dist/esm/models/DynamicDataTypeEnum.d.ts +26 -0
- package/dist/esm/models/DynamicDataTypeEnum.js +44 -0
- package/dist/esm/models/DynamicFieldTypeEnum.d.ts +28 -0
- package/dist/esm/models/DynamicFieldTypeEnum.js +46 -0
- package/dist/esm/models/GeneralCredits.d.ts +44 -0
- package/dist/esm/models/GeneralCredits.js +45 -0
- package/dist/esm/models/GeneralDynamicFieldOptionResponse.d.ts +50 -0
- package/dist/esm/models/GeneralDynamicFieldOptionResponse.js +47 -0
- package/dist/esm/models/GeneralDynamicFieldResponse.d.ts +53 -0
- package/dist/esm/models/GeneralDynamicFieldResponse.js +50 -0
- package/dist/esm/models/GeneralSearchSettingResponse.d.ts +68 -0
- package/dist/esm/models/GeneralSearchSettingResponse.js +53 -0
- package/dist/esm/models/GeneralTagRequest.d.ts +38 -0
- package/dist/esm/models/GeneralTagRequest.js +45 -0
- package/dist/esm/models/GeneralTagResponse.d.ts +38 -0
- package/dist/esm/models/GeneralTagResponse.js +43 -0
- package/dist/esm/models/GeneralTeamResponse.d.ts +44 -0
- package/dist/esm/models/GeneralTeamResponse.js +45 -0
- package/dist/esm/models/GeneralUserResponse.d.ts +44 -0
- package/dist/esm/models/GeneralUserResponse.js +45 -0
- package/dist/esm/models/GetTagsResponse.d.ts +50 -0
- package/dist/esm/models/GetTagsResponse.js +47 -0
- package/dist/esm/models/MasakCodeItem.d.ts +38 -0
- package/dist/esm/models/MasakCodeItem.js +43 -0
- package/dist/esm/models/RiskLevelBatchResultResponse.d.ts +56 -0
- package/dist/esm/models/RiskLevelBatchResultResponse.js +49 -0
- package/dist/esm/models/ValidationDiffFieldDTO.d.ts +56 -0
- package/dist/esm/models/ValidationDiffFieldDTO.js +49 -0
- package/dist/esm/models/ValidationQueueDetailDTO.d.ts +117 -0
- package/dist/esm/models/ValidationQueueDetailDTO.js +70 -0
- package/dist/esm/models/WebhookDateTimeZoneRequest.d.ts +32 -0
- package/dist/esm/models/WebhookDateTimeZoneRequest.js +41 -0
- package/dist/esm/models/WebhookResponse.d.ts +146 -0
- package/dist/esm/models/WebhookResponse.js +79 -0
- package/dist/esm/models/WebhookTriggerHistoryResponse.d.ts +86 -0
- package/dist/esm/models/WebhookTriggerHistoryResponse.js +60 -0
- package/dist/esm/models/index.d.ts +49 -0
- package/dist/esm/models/index.js +51 -0
- package/dist/esm/runtime.d.ts +187 -0
- package/dist/esm/runtime.js +382 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ActivityReasonResponse.d.ts +50 -0
- package/dist/models/ActivityReasonResponse.js +54 -0
- package/dist/models/ApiResponseOfApproveManagementDataTablePagingResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfApproveManagementDataTablePagingResponse.js +59 -0
- package/dist/models/ApiResponseOfApproveManagementHistoryDataTablePagingResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfApproveManagementHistoryDataTablePagingResponse.js +59 -0
- package/dist/models/ApiResponseOfBankSwiftCodeDTO.d.ts +63 -0
- package/dist/models/ApiResponseOfBankSwiftCodeDTO.js +59 -0
- package/dist/models/ApiResponseOfBatchUploadResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfBatchUploadResponse.js +59 -0
- package/dist/models/ApiResponseOfGeneralCreditsArray.d.ts +63 -0
- package/dist/models/ApiResponseOfGeneralCreditsArray.js +59 -0
- package/dist/models/ApiResponseOfGeneralSearchSettingResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfGeneralSearchSettingResponse.js +59 -0
- package/dist/models/ApiResponseOfGeneralTagResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfGeneralTagResponse.js +59 -0
- package/dist/models/ApiResponseOfGeneralTeamResponseArray.d.ts +63 -0
- package/dist/models/ApiResponseOfGeneralTeamResponseArray.js +59 -0
- package/dist/models/ApiResponseOfGeneralUserResponseArray.d.ts +63 -0
- package/dist/models/ApiResponseOfGeneralUserResponseArray.js +59 -0
- package/dist/models/ApiResponseOfListOfActivityReasonResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfActivityReasonResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfCountryRiskLevelResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfCountryRiskLevelResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfGeneralDynamicFieldResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfGeneralDynamicFieldResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfGetTagsResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfGetTagsResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfMasakCodeItem.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfMasakCodeItem.js +59 -0
- package/dist/models/ApiResponseOfListOfWebhookResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfWebhookResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfWebhookTriggerHistoryResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfListOfWebhookTriggerHistoryResponse.js +59 -0
- package/dist/models/ApiResponseOfListOfint.d.ts +62 -0
- package/dist/models/ApiResponseOfListOfint.js +58 -0
- package/dist/models/ApiResponseOfObject.d.ts +62 -0
- package/dist/models/ApiResponseOfObject.js +58 -0
- package/dist/models/ApiResponseOfRiskLevelBatchResultResponse.d.ts +63 -0
- package/dist/models/ApiResponseOfRiskLevelBatchResultResponse.js +59 -0
- package/dist/models/ApiResponseOfValidationQueueDetailDTO.d.ts +63 -0
- package/dist/models/ApiResponseOfValidationQueueDetailDTO.js +59 -0
- package/dist/models/ApiResponseOfboolean.d.ts +62 -0
- package/dist/models/ApiResponseOfboolean.js +58 -0
- package/dist/models/ApprovalDecisionRequest.d.ts +38 -0
- package/dist/models/ApprovalDecisionRequest.js +52 -0
- package/dist/models/ApproveManagementDataTablePagingResponse.d.ts +39 -0
- package/dist/models/ApproveManagementDataTablePagingResponse.js +51 -0
- package/dist/models/ApproveManagementDto.d.ts +140 -0
- package/dist/models/ApproveManagementDto.js +84 -0
- package/dist/models/ApproveManagementHistoryDataTablePagingResponse.d.ts +39 -0
- package/dist/models/ApproveManagementHistoryDataTablePagingResponse.js +51 -0
- package/dist/models/ApproveManagementHistoryDto.d.ts +152 -0
- package/dist/models/ApproveManagementHistoryDto.js +89 -0
- package/dist/models/BankSwiftCodeDTO.d.ts +86 -0
- package/dist/models/BankSwiftCodeDTO.js +66 -0
- package/dist/models/BatchUploadResponse.d.ts +50 -0
- package/dist/models/BatchUploadResponse.js +54 -0
- package/dist/models/CountryRiskLevelEnum.d.ts +27 -0
- package/dist/models/CountryRiskLevelEnum.js +53 -0
- package/dist/models/CountryRiskLevelResponse.d.ts +51 -0
- package/dist/models/CountryRiskLevelResponse.js +55 -0
- package/dist/models/DynamicDataTypeEnum.d.ts +26 -0
- package/dist/models/DynamicDataTypeEnum.js +52 -0
- package/dist/models/DynamicFieldTypeEnum.d.ts +28 -0
- package/dist/models/DynamicFieldTypeEnum.js +54 -0
- package/dist/models/GeneralCredits.d.ts +44 -0
- package/dist/models/GeneralCredits.js +52 -0
- package/dist/models/GeneralDynamicFieldOptionResponse.d.ts +50 -0
- package/dist/models/GeneralDynamicFieldOptionResponse.js +54 -0
- package/dist/models/GeneralDynamicFieldResponse.d.ts +53 -0
- package/dist/models/GeneralDynamicFieldResponse.js +57 -0
- package/dist/models/GeneralSearchSettingResponse.d.ts +68 -0
- package/dist/models/GeneralSearchSettingResponse.js +60 -0
- package/dist/models/GeneralTagRequest.d.ts +38 -0
- package/dist/models/GeneralTagRequest.js +52 -0
- package/dist/models/GeneralTagResponse.d.ts +38 -0
- package/dist/models/GeneralTagResponse.js +50 -0
- package/dist/models/GeneralTeamResponse.d.ts +44 -0
- package/dist/models/GeneralTeamResponse.js +52 -0
- package/dist/models/GeneralUserResponse.d.ts +44 -0
- package/dist/models/GeneralUserResponse.js +52 -0
- package/dist/models/GetTagsResponse.d.ts +50 -0
- package/dist/models/GetTagsResponse.js +54 -0
- package/dist/models/MasakCodeItem.d.ts +38 -0
- package/dist/models/MasakCodeItem.js +50 -0
- package/dist/models/RiskLevelBatchResultResponse.d.ts +56 -0
- package/dist/models/RiskLevelBatchResultResponse.js +56 -0
- package/dist/models/ValidationDiffFieldDTO.d.ts +56 -0
- package/dist/models/ValidationDiffFieldDTO.js +56 -0
- package/dist/models/ValidationQueueDetailDTO.d.ts +117 -0
- package/dist/models/ValidationQueueDetailDTO.js +77 -0
- package/dist/models/WebhookDateTimeZoneRequest.d.ts +32 -0
- package/dist/models/WebhookDateTimeZoneRequest.js +48 -0
- package/dist/models/WebhookResponse.d.ts +146 -0
- package/dist/models/WebhookResponse.js +86 -0
- package/dist/models/WebhookTriggerHistoryResponse.d.ts +86 -0
- package/dist/models/WebhookTriggerHistoryResponse.js +67 -0
- package/dist/models/index.d.ts +49 -0
- package/dist/models/index.js +67 -0
- package/dist/runtime.d.ts +187 -0
- package/dist/runtime.js +398 -0
- package/package.json +31 -4
package/README.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @compleadai/core
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
complead Core API (v3) client for Node.js 18 and later, written in TypeScript (types included, CommonJS and ES module
|
|
4
|
+
builds). It is one of the complead SDK packages; install the ones you use:
|
|
5
|
+
|
|
6
|
+
| Package | Covers |
|
|
7
|
+
|---|---|
|
|
8
|
+
| `@compleadai/name-screening` | Name, document and adverse media screening, ongoing monitoring, crypto and digital screening, local lists, whitelist, reports |
|
|
9
|
+
| `@compleadai/transaction-fraud-monitoring` | Transactions, accounts, transaction monitoring settings |
|
|
10
|
+
| `@compleadai/customer-risk-assessment` | Customers, risk scores, KYC form invitations |
|
|
11
|
+
| `@compleadai/know-your-business` | Company search and checks, KYB cases and monitoring |
|
|
12
|
+
| `@compleadai/core` | Users, teams, credits, tags, webhooks, approvals, settings |
|
|
13
|
+
|
|
14
|
+
## Credentials
|
|
15
|
+
|
|
16
|
+
Create an API user with **OAuth** authentication on General Settings > API & Development in complead. Its client
|
|
17
|
+
secret is shown once; store it with your other secrets. The SDK runs on a server only: never ship the secret in
|
|
18
|
+
browser or mobile code.
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```ts
|
|
23
|
+
import { Configuration, ScanApi, NameSearchTypeEnum } from '@compleadai/name-screening';
|
|
24
|
+
|
|
25
|
+
const configuration = new Configuration({
|
|
26
|
+
basePath: 'https://api.complead.ai',
|
|
27
|
+
clientId: process.env.COMPLEAD_CLIENT_ID,
|
|
28
|
+
clientSecret: process.env.COMPLEAD_CLIENT_SECRET,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const scans = new ScanApi(configuration);
|
|
32
|
+
const response = await scans.scanName({
|
|
33
|
+
scanNameRequest: { name: 'John Smith', searchType: NameSearchTypeEnum.Individual },
|
|
34
|
+
});
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The SDK gets the access token with the client credentials itself, keeps it and renews it shortly before it
|
|
38
|
+
expires; your code never signs in.
|
|
39
|
+
|
|
40
|
+
Requests that create a record or spend credits are not retried automatically. If one fails with a network error,
|
|
41
|
+
look the result up by its reference number before sending it again.
|
|
42
|
+
|
|
43
|
+
Full documentation: https://docs.complead.ai
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* complead Core API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v3
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ApiResponseOfApproveManagementDataTablePagingResponse, ApiResponseOfApproveManagementHistoryDataTablePagingResponse, ApiResponseOfListOfint, ApiResponseOfValidationQueueDetailDTO, ApprovalDecisionRequest } from '../models/index';
|
|
14
|
+
export interface ApprovalApiApproveRequest {
|
|
15
|
+
approvalDecisionRequest: ApprovalDecisionRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface ApprovalApiGetRequest {
|
|
18
|
+
id: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ApprovalApiListHistoryRequest {
|
|
21
|
+
decisionStartTime?: Date;
|
|
22
|
+
decisionFinishTime?: Date;
|
|
23
|
+
decisionTypes?: Array<number>;
|
|
24
|
+
decidedByUserIds?: Array<number>;
|
|
25
|
+
skip?: number;
|
|
26
|
+
take?: number;
|
|
27
|
+
operationTypes?: Array<number>;
|
|
28
|
+
startTime?: Date;
|
|
29
|
+
finishTime?: Date;
|
|
30
|
+
createdByUserIds?: Array<number>;
|
|
31
|
+
}
|
|
32
|
+
export interface ApprovalApiListPendingRequest {
|
|
33
|
+
skip?: number;
|
|
34
|
+
take?: number;
|
|
35
|
+
operationTypes?: Array<number>;
|
|
36
|
+
startTime?: Date;
|
|
37
|
+
finishTime?: Date;
|
|
38
|
+
createdByUserIds?: Array<number>;
|
|
39
|
+
}
|
|
40
|
+
export interface ApprovalApiRejectRequest {
|
|
41
|
+
approvalDecisionRequest: ApprovalDecisionRequest;
|
|
42
|
+
}
|
|
43
|
+
export interface ApprovalApiWithdrawRequest {
|
|
44
|
+
approvalDecisionRequest: ApprovalDecisionRequest;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
export declare class ApprovalApi extends runtime.BaseAPI {
|
|
50
|
+
/**
|
|
51
|
+
* Approves one or more pending Approval Management records and applies their operations, the same way as the application\'s approval screen. The organization admin who created the calling API key cannot approve records they submitted themselves (self-approval is rejected, same rule as the UI). Create-customer requests can only be approved in the application. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
52
|
+
*/
|
|
53
|
+
approveRaw(requestParameters: ApprovalApiApproveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfint>>;
|
|
54
|
+
/**
|
|
55
|
+
* Approves one or more pending Approval Management records and applies their operations, the same way as the application\'s approval screen. The organization admin who created the calling API key cannot approve records they submitted themselves (self-approval is rejected, same rule as the UI). Create-customer requests can only be approved in the application. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
56
|
+
*/
|
|
57
|
+
approve(requestParameters: ApprovalApiApproveRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfint>;
|
|
58
|
+
/**
|
|
59
|
+
* Returns the full detail and before/after diff for a single Approval Management record. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
60
|
+
*/
|
|
61
|
+
getRaw(requestParameters: ApprovalApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfValidationQueueDetailDTO>>;
|
|
62
|
+
/**
|
|
63
|
+
* Returns the full detail and before/after diff for a single Approval Management record. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
64
|
+
*/
|
|
65
|
+
get(requestParameters: ApprovalApiGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfValidationQueueDetailDTO>;
|
|
66
|
+
/**
|
|
67
|
+
* Lists resolved Approval Management records (approved, rejected, or withdrawn) for the calling organization. When no date range is given (StartTime/FinishTime or DecisionStartTime/DecisionFinishTime), records decided in the last month are returned. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
68
|
+
*/
|
|
69
|
+
listHistoryRaw(requestParameters: ApprovalApiListHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfApproveManagementHistoryDataTablePagingResponse>>;
|
|
70
|
+
/**
|
|
71
|
+
* Lists resolved Approval Management records (approved, rejected, or withdrawn) for the calling organization. When no date range is given (StartTime/FinishTime or DecisionStartTime/DecisionFinishTime), records decided in the last month are returned. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
72
|
+
*/
|
|
73
|
+
listHistory(requestParameters?: ApprovalApiListHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfApproveManagementHistoryDataTablePagingResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Lists pending Approval Management records for the calling organization, paginated and filterable by operation type, submission date range, and submitting user. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
76
|
+
*/
|
|
77
|
+
listPendingRaw(requestParameters: ApprovalApiListPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfApproveManagementDataTablePagingResponse>>;
|
|
78
|
+
/**
|
|
79
|
+
* Lists pending Approval Management records for the calling organization, paginated and filterable by operation type, submission date range, and submitting user. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
80
|
+
*/
|
|
81
|
+
listPending(requestParameters?: ApprovalApiListPendingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfApproveManagementDataTablePagingResponse>;
|
|
82
|
+
/**
|
|
83
|
+
* Rejects one or more pending Approval Management records. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
84
|
+
*/
|
|
85
|
+
rejectRaw(requestParameters: ApprovalApiRejectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfint>>;
|
|
86
|
+
/**
|
|
87
|
+
* Rejects one or more pending Approval Management records. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
88
|
+
*/
|
|
89
|
+
reject(requestParameters: ApprovalApiRejectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfint>;
|
|
90
|
+
/**
|
|
91
|
+
* Withdraws one or more pending Approval Management records that the calling API key\'s organization creator originally submitted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
92
|
+
*/
|
|
93
|
+
withdrawRaw(requestParameters: ApprovalApiWithdrawRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfint>>;
|
|
94
|
+
/**
|
|
95
|
+
* Withdraws one or more pending Approval Management records that the calling API key\'s organization creator originally submitted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
96
|
+
*/
|
|
97
|
+
withdraw(requestParameters: ApprovalApiWithdrawRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfint>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* complead Core API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v3
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ApprovalApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ApprovalApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Approves one or more pending Approval Management records and applies their operations, the same way as the application\'s approval screen. The organization admin who created the calling API key cannot approve records they submitted themselves (self-approval is rejected, same rule as the UI). Create-customer requests can only be approved in the application. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
34
|
+
*/
|
|
35
|
+
approveRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['approvalDecisionRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('approvalDecisionRequest', 'Required parameter "approvalDecisionRequest" was null or undefined when calling approve().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
44
|
+
// oauth required
|
|
45
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
46
|
+
}
|
|
47
|
+
let urlPath = `/api/v3/Approval/Status/Approved`;
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'PUT',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: (0, index_1.ApprovalDecisionRequestToJSON)(requestParameters['approvalDecisionRequest']),
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfListOfintFromJSON)(jsonValue));
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Approves one or more pending Approval Management records and applies their operations, the same way as the application\'s approval screen. The organization admin who created the calling API key cannot approve records they submitted themselves (self-approval is rejected, same rule as the UI). Create-customer requests can only be approved in the application. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
60
|
+
*/
|
|
61
|
+
approve(requestParameters, initOverrides) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
const response = yield this.approveRaw(requestParameters, initOverrides);
|
|
64
|
+
return yield response.value();
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Returns the full detail and before/after diff for a single Approval Management record. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
69
|
+
*/
|
|
70
|
+
getRaw(requestParameters, initOverrides) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
if (requestParameters['id'] == null) {
|
|
73
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling get().');
|
|
74
|
+
}
|
|
75
|
+
const queryParameters = {};
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
// oauth required
|
|
79
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
80
|
+
}
|
|
81
|
+
let urlPath = `/api/v3/Approval/{id}`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
|
|
83
|
+
const response = yield this.request({
|
|
84
|
+
path: urlPath,
|
|
85
|
+
method: 'GET',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfValidationQueueDetailDTOFromJSON)(jsonValue));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns the full detail and before/after diff for a single Approval Management record. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
94
|
+
*/
|
|
95
|
+
get(requestParameters, initOverrides) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
const response = yield this.getRaw(requestParameters, initOverrides);
|
|
98
|
+
return yield response.value();
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Lists resolved Approval Management records (approved, rejected, or withdrawn) for the calling organization. When no date range is given (StartTime/FinishTime or DecisionStartTime/DecisionFinishTime), records decided in the last month are returned. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
103
|
+
*/
|
|
104
|
+
listHistoryRaw(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const queryParameters = {};
|
|
107
|
+
if (requestParameters['decisionStartTime'] != null) {
|
|
108
|
+
queryParameters['DecisionStartTime'] = requestParameters['decisionStartTime'].toISOString();
|
|
109
|
+
}
|
|
110
|
+
if (requestParameters['decisionFinishTime'] != null) {
|
|
111
|
+
queryParameters['DecisionFinishTime'] = requestParameters['decisionFinishTime'].toISOString();
|
|
112
|
+
}
|
|
113
|
+
if (requestParameters['decisionTypes'] != null) {
|
|
114
|
+
queryParameters['DecisionTypes'] = requestParameters['decisionTypes'];
|
|
115
|
+
}
|
|
116
|
+
if (requestParameters['decidedByUserIds'] != null) {
|
|
117
|
+
queryParameters['DecidedByUserIds'] = requestParameters['decidedByUserIds'];
|
|
118
|
+
}
|
|
119
|
+
if (requestParameters['skip'] != null) {
|
|
120
|
+
queryParameters['Skip'] = requestParameters['skip'];
|
|
121
|
+
}
|
|
122
|
+
if (requestParameters['take'] != null) {
|
|
123
|
+
queryParameters['Take'] = requestParameters['take'];
|
|
124
|
+
}
|
|
125
|
+
if (requestParameters['operationTypes'] != null) {
|
|
126
|
+
queryParameters['OperationTypes'] = requestParameters['operationTypes'];
|
|
127
|
+
}
|
|
128
|
+
if (requestParameters['startTime'] != null) {
|
|
129
|
+
queryParameters['StartTime'] = requestParameters['startTime'].toISOString();
|
|
130
|
+
}
|
|
131
|
+
if (requestParameters['finishTime'] != null) {
|
|
132
|
+
queryParameters['FinishTime'] = requestParameters['finishTime'].toISOString();
|
|
133
|
+
}
|
|
134
|
+
if (requestParameters['createdByUserIds'] != null) {
|
|
135
|
+
queryParameters['CreatedByUserIds'] = requestParameters['createdByUserIds'];
|
|
136
|
+
}
|
|
137
|
+
const headerParameters = {};
|
|
138
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
139
|
+
// oauth required
|
|
140
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
141
|
+
}
|
|
142
|
+
let urlPath = `/api/v3/Approval/History`;
|
|
143
|
+
const response = yield this.request({
|
|
144
|
+
path: urlPath,
|
|
145
|
+
method: 'GET',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
}, initOverrides);
|
|
149
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfApproveManagementHistoryDataTablePagingResponseFromJSON)(jsonValue));
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Lists resolved Approval Management records (approved, rejected, or withdrawn) for the calling organization. When no date range is given (StartTime/FinishTime or DecisionStartTime/DecisionFinishTime), records decided in the last month are returned. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
154
|
+
*/
|
|
155
|
+
listHistory() {
|
|
156
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
157
|
+
const response = yield this.listHistoryRaw(requestParameters, initOverrides);
|
|
158
|
+
return yield response.value();
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Lists pending Approval Management records for the calling organization, paginated and filterable by operation type, submission date range, and submitting user. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
163
|
+
*/
|
|
164
|
+
listPendingRaw(requestParameters, initOverrides) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
const queryParameters = {};
|
|
167
|
+
if (requestParameters['skip'] != null) {
|
|
168
|
+
queryParameters['Skip'] = requestParameters['skip'];
|
|
169
|
+
}
|
|
170
|
+
if (requestParameters['take'] != null) {
|
|
171
|
+
queryParameters['Take'] = requestParameters['take'];
|
|
172
|
+
}
|
|
173
|
+
if (requestParameters['operationTypes'] != null) {
|
|
174
|
+
queryParameters['OperationTypes'] = requestParameters['operationTypes'];
|
|
175
|
+
}
|
|
176
|
+
if (requestParameters['startTime'] != null) {
|
|
177
|
+
queryParameters['StartTime'] = requestParameters['startTime'].toISOString();
|
|
178
|
+
}
|
|
179
|
+
if (requestParameters['finishTime'] != null) {
|
|
180
|
+
queryParameters['FinishTime'] = requestParameters['finishTime'].toISOString();
|
|
181
|
+
}
|
|
182
|
+
if (requestParameters['createdByUserIds'] != null) {
|
|
183
|
+
queryParameters['CreatedByUserIds'] = requestParameters['createdByUserIds'];
|
|
184
|
+
}
|
|
185
|
+
const headerParameters = {};
|
|
186
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
187
|
+
// oauth required
|
|
188
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
189
|
+
}
|
|
190
|
+
let urlPath = `/api/v3/Approval/Pending`;
|
|
191
|
+
const response = yield this.request({
|
|
192
|
+
path: urlPath,
|
|
193
|
+
method: 'GET',
|
|
194
|
+
headers: headerParameters,
|
|
195
|
+
query: queryParameters,
|
|
196
|
+
}, initOverrides);
|
|
197
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfApproveManagementDataTablePagingResponseFromJSON)(jsonValue));
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Lists pending Approval Management records for the calling organization, paginated and filterable by operation type, submission date range, and submitting user. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
202
|
+
*/
|
|
203
|
+
listPending() {
|
|
204
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
205
|
+
const response = yield this.listPendingRaw(requestParameters, initOverrides);
|
|
206
|
+
return yield response.value();
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Rejects one or more pending Approval Management records. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
211
|
+
*/
|
|
212
|
+
rejectRaw(requestParameters, initOverrides) {
|
|
213
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
214
|
+
if (requestParameters['approvalDecisionRequest'] == null) {
|
|
215
|
+
throw new runtime.RequiredError('approvalDecisionRequest', 'Required parameter "approvalDecisionRequest" was null or undefined when calling reject().');
|
|
216
|
+
}
|
|
217
|
+
const queryParameters = {};
|
|
218
|
+
const headerParameters = {};
|
|
219
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
220
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
221
|
+
// oauth required
|
|
222
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
223
|
+
}
|
|
224
|
+
let urlPath = `/api/v3/Approval/Status/Rejected`;
|
|
225
|
+
const response = yield this.request({
|
|
226
|
+
path: urlPath,
|
|
227
|
+
method: 'PUT',
|
|
228
|
+
headers: headerParameters,
|
|
229
|
+
query: queryParameters,
|
|
230
|
+
body: (0, index_1.ApprovalDecisionRequestToJSON)(requestParameters['approvalDecisionRequest']),
|
|
231
|
+
}, initOverrides);
|
|
232
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfListOfintFromJSON)(jsonValue));
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* Rejects one or more pending Approval Management records. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
237
|
+
*/
|
|
238
|
+
reject(requestParameters, initOverrides) {
|
|
239
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
240
|
+
const response = yield this.rejectRaw(requestParameters, initOverrides);
|
|
241
|
+
return yield response.value();
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* Withdraws one or more pending Approval Management records that the calling API key\'s organization creator originally submitted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
246
|
+
*/
|
|
247
|
+
withdrawRaw(requestParameters, initOverrides) {
|
|
248
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
249
|
+
if (requestParameters['approvalDecisionRequest'] == null) {
|
|
250
|
+
throw new runtime.RequiredError('approvalDecisionRequest', 'Required parameter "approvalDecisionRequest" was null or undefined when calling withdraw().');
|
|
251
|
+
}
|
|
252
|
+
const queryParameters = {};
|
|
253
|
+
const headerParameters = {};
|
|
254
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
255
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
256
|
+
// oauth required
|
|
257
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("OAuth2", []);
|
|
258
|
+
}
|
|
259
|
+
let urlPath = `/api/v3/Approval/Status/Withdrawn`;
|
|
260
|
+
const response = yield this.request({
|
|
261
|
+
path: urlPath,
|
|
262
|
+
method: 'PUT',
|
|
263
|
+
headers: headerParameters,
|
|
264
|
+
query: queryParameters,
|
|
265
|
+
body: (0, index_1.ApprovalDecisionRequestToJSON)(requestParameters['approvalDecisionRequest']),
|
|
266
|
+
}, initOverrides);
|
|
267
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiResponseOfListOfintFromJSON)(jsonValue));
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* Withdraws one or more pending Approval Management records that the calling API key\'s organization creator originally submitted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
272
|
+
*/
|
|
273
|
+
withdraw(requestParameters, initOverrides) {
|
|
274
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
275
|
+
const response = yield this.withdrawRaw(requestParameters, initOverrides);
|
|
276
|
+
return yield response.value();
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
exports.ApprovalApi = ApprovalApi;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* complead Core API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v3
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ApiResponseOfBankSwiftCodeDTO, ApiResponseOfBatchUploadResponse, ApiResponseOfGeneralCreditsArray, ApiResponseOfGeneralSearchSettingResponse, ApiResponseOfGeneralTagResponse, ApiResponseOfGeneralTeamResponseArray, ApiResponseOfListOfActivityReasonResponse, ApiResponseOfListOfCountryRiskLevelResponse, ApiResponseOfListOfGeneralDynamicFieldResponse, ApiResponseOfListOfGetTagsResponse, ApiResponseOfListOfMasakCodeItem, ApiResponseOfListOfWebhookResponse, ApiResponseOfListOfWebhookTriggerHistoryResponse, ApiResponseOfObject, ApiResponseOfRiskLevelBatchResultResponse, ApiResponseOfboolean, GeneralTagRequest, WebhookDateTimeZoneRequest } from '../models/index';
|
|
14
|
+
export interface GeneralApiCreateTagRequest {
|
|
15
|
+
generalTagRequest: GeneralTagRequest;
|
|
16
|
+
}
|
|
17
|
+
export interface GeneralApiDeleteTagRequest {
|
|
18
|
+
tagId: number;
|
|
19
|
+
}
|
|
20
|
+
export interface GeneralApiGetBankInfoRequest {
|
|
21
|
+
swiftCode?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface GeneralApiGetCountryRiskLevelBatchRequest {
|
|
24
|
+
batchId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface GeneralApiGetCountryRiskLevelBatchTemplateRequest {
|
|
27
|
+
format?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface GeneralApiListMasakDistrictsRequest {
|
|
30
|
+
provinceCode: string;
|
|
31
|
+
}
|
|
32
|
+
export interface GeneralApiUpdateWebhookDateTimeZoneRequest {
|
|
33
|
+
webhookId: number;
|
|
34
|
+
webhookDateTimeZoneRequest: WebhookDateTimeZoneRequest;
|
|
35
|
+
}
|
|
36
|
+
export interface GeneralApiUploadCountryRiskLevelBatchFileRequest {
|
|
37
|
+
file: Blob;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
export declare class GeneralApi extends runtime.BaseAPI {
|
|
43
|
+
/**
|
|
44
|
+
* Creates a new tag for the organization. Returns tag ID and GUID which can be used in other operations. Tag GUIDs can be used in customer and scan tag assignments. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
45
|
+
*/
|
|
46
|
+
createTagRaw(requestParameters: GeneralApiCreateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfGeneralTagResponse>>;
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new tag for the organization. Returns tag ID and GUID which can be used in other operations. Tag GUIDs can be used in customer and scan tag assignments. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
49
|
+
*/
|
|
50
|
+
createTag(requestParameters: GeneralApiCreateTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfGeneralTagResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Deletes a tag by its ID. Tag ID can be obtained from GET /api/v3/Tag endpoint (Id field). Tag will be soft-deleted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
53
|
+
*/
|
|
54
|
+
deleteTagRaw(requestParameters: GeneralApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfboolean>>;
|
|
55
|
+
/**
|
|
56
|
+
* Deletes a tag by its ID. Tag ID can be obtained from GET /api/v3/Tag endpoint (Id field). Tag will be soft-deleted. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
57
|
+
*/
|
|
58
|
+
deleteTag(requestParameters: GeneralApiDeleteTagRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfboolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Retrieves bank information based on the provided SWIFT code. Returns bank name, branch, address, and other details
|
|
61
|
+
*/
|
|
62
|
+
getBankInfoRaw(requestParameters: GeneralApiGetBankInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfBankSwiftCodeDTO>>;
|
|
63
|
+
/**
|
|
64
|
+
* Retrieves bank information based on the provided SWIFT code. Returns bank name, branch, address, and other details
|
|
65
|
+
*/
|
|
66
|
+
getBankInfo(requestParameters?: GeneralApiGetBankInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfBankSwiftCodeDTO>;
|
|
67
|
+
/**
|
|
68
|
+
* Retrieves the status and counts of a country risk level batch upload (Status, TotalCount, ProcessedCount, row-level errors in Message). Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
69
|
+
*/
|
|
70
|
+
getCountryRiskLevelBatchRaw(requestParameters: GeneralApiGetCountryRiskLevelBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfRiskLevelBatchResultResponse>>;
|
|
71
|
+
/**
|
|
72
|
+
* Retrieves the status and counts of a country risk level batch upload (Status, TotalCount, ProcessedCount, row-level errors in Message). Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
73
|
+
*/
|
|
74
|
+
getCountryRiskLevelBatch(requestParameters: GeneralApiGetCountryRiskLevelBatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfRiskLevelBatchResultResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Downloads the country risk level batch template (.xlsx, or .csv with format=csv), pre-filled with the organization\'s current assignments. Columns: Country, ISO Code, Risk Level. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
77
|
+
*/
|
|
78
|
+
getCountryRiskLevelBatchTemplateRaw(requestParameters: GeneralApiGetCountryRiskLevelBatchTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
79
|
+
/**
|
|
80
|
+
* Downloads the country risk level batch template (.xlsx, or .csv with format=csv), pre-filled with the organization\'s current assignments. Columns: Country, ISO Code, Risk Level. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
81
|
+
*/
|
|
82
|
+
getCountryRiskLevelBatchTemplate(requestParameters?: GeneralApiGetCountryRiskLevelBatchTemplateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
83
|
+
/**
|
|
84
|
+
* Retrieves organization-wide search settings including query clearing, sanctioned country search, auto-resolution, no-match closing, clean middle name, flexible nationality filter and flexible birth year filter settings Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
85
|
+
*/
|
|
86
|
+
getSettingRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfGeneralSearchSettingResponse>>;
|
|
87
|
+
/**
|
|
88
|
+
* Retrieves organization-wide search settings including query clearing, sanctioned country search, auto-resolution, no-match closing, clean middle name, flexible nationality filter and flexible birth year filter settings Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
89
|
+
*/
|
|
90
|
+
getSetting(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfGeneralSearchSettingResponse>;
|
|
91
|
+
/**
|
|
92
|
+
* Retrieves all activity reasons configured for the organization. Activity reasons can be used for case closure and other activities. Corresponds to \"Activity Reasons\" in panel Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
93
|
+
*/
|
|
94
|
+
listActivityReasonsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfActivityReasonResponse>>;
|
|
95
|
+
/**
|
|
96
|
+
* Retrieves all activity reasons configured for the organization. Activity reasons can be used for case closure and other activities. Corresponds to \"Activity Reasons\" in panel Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
97
|
+
*/
|
|
98
|
+
listActivityReasons(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfActivityReasonResponse>;
|
|
99
|
+
/**
|
|
100
|
+
* Retrieves country risk level mappings configured for the organization. Shows which risk level is assigned to each country Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
101
|
+
*/
|
|
102
|
+
listCountryRiskLevelsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfCountryRiskLevelResponse>>;
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves country risk level mappings configured for the organization. Shows which risk level is assigned to each country Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
105
|
+
*/
|
|
106
|
+
listCountryRiskLevels(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfCountryRiskLevelResponse>;
|
|
107
|
+
/**
|
|
108
|
+
* Get credit usage information Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
109
|
+
*/
|
|
110
|
+
listCreditsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfGeneralCreditsArray>>;
|
|
111
|
+
/**
|
|
112
|
+
* Get credit usage information Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
113
|
+
*/
|
|
114
|
+
listCredits(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfGeneralCreditsArray>;
|
|
115
|
+
/**
|
|
116
|
+
* Retrieves all dynamic fields configured for the organization. Dynamic field keys can be used in OptionalParameters when creating or updating customers. Field GUIDs can be used as alternative identifiers. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
117
|
+
*/
|
|
118
|
+
listDynamicFieldsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfGeneralDynamicFieldResponse>>;
|
|
119
|
+
/**
|
|
120
|
+
* Retrieves all dynamic fields configured for the organization. Dynamic field keys can be used in OptionalParameters when creating or updating customers. Field GUIDs can be used as alternative identifiers. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
121
|
+
*/
|
|
122
|
+
listDynamicFields(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfGeneralDynamicFieldResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Retrieves the Mernis district (ilce) codes of a Turkish province. Use the Code values as DistrictCode in customer Addresses. ProvinceCode is the plate code (1-81, e.g. 34 for Istanbul). Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
125
|
+
*/
|
|
126
|
+
listMasakDistrictsRaw(requestParameters: GeneralApiListMasakDistrictsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfMasakCodeItem>>;
|
|
127
|
+
/**
|
|
128
|
+
* Retrieves the Mernis district (ilce) codes of a Turkish province. Use the Code values as DistrictCode in customer Addresses. ProvinceCode is the plate code (1-81, e.g. 34 for Istanbul). Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
129
|
+
*/
|
|
130
|
+
listMasakDistricts(requestParameters: GeneralApiListMasakDistrictsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfMasakCodeItem>;
|
|
131
|
+
/**
|
|
132
|
+
* Retrieves all tags configured for the organization. Tag GUIDs can be used in customer and scan operations. Tag IDs can be used for deletion. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
133
|
+
*/
|
|
134
|
+
listTagsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfGetTagsResponse>>;
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves all tags configured for the organization. Tag GUIDs can be used in customer and scan operations. Tag IDs can be used for deletion. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
137
|
+
*/
|
|
138
|
+
listTags(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfGetTagsResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* List teams with their ID and name. Use the ID to assign cases or rule sets to a team. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
141
|
+
*/
|
|
142
|
+
listTeamsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfGeneralTeamResponseArray>>;
|
|
143
|
+
/**
|
|
144
|
+
* List teams with their ID and name. Use the ID to assign cases or rule sets to a team. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
145
|
+
*/
|
|
146
|
+
listTeams(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfGeneralTeamResponseArray>;
|
|
147
|
+
/**
|
|
148
|
+
* Retrieves webhook trigger history showing all webhook events that were sent. Includes status codes, IP addresses, and event types. Useful for debugging webhook issues. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
149
|
+
*/
|
|
150
|
+
listWebhookTriggerHistoryRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfWebhookTriggerHistoryResponse>>;
|
|
151
|
+
/**
|
|
152
|
+
* Retrieves webhook trigger history showing all webhook events that were sent. Includes status codes, IP addresses, and event types. Useful for debugging webhook issues. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
153
|
+
*/
|
|
154
|
+
listWebhookTriggerHistory(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfWebhookTriggerHistoryResponse>;
|
|
155
|
+
/**
|
|
156
|
+
* Retrieves all webhook configurations for the organization. Shows webhook URLs and which events are enabled for each webhook. **Webhooks work per case, not per search profile.** Webhooks are configured per organization and are delivered per case, not per search profile. When you enable an event on a webhook, every case in your organization that triggers that event is delivered to that webhook URL. Search profiles do not filter webhook delivery. The only routing that narrows delivery is by tag: when a case carries a tag that is linked to a webhook, the event goes only to the webhooks linked to that case\'s tags. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
157
|
+
*/
|
|
158
|
+
listWebhooksRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfListOfWebhookResponse>>;
|
|
159
|
+
/**
|
|
160
|
+
* Retrieves all webhook configurations for the organization. Shows webhook URLs and which events are enabled for each webhook. **Webhooks work per case, not per search profile.** Webhooks are configured per organization and are delivered per case, not per search profile. When you enable an event on a webhook, every case in your organization that triggers that event is delivered to that webhook URL. Search profiles do not filter webhook delivery. The only routing that narrows delivery is by tag: when a case carries a tag that is linked to a webhook, the event goes only to the webhooks linked to that case\'s tags. Required API key permission: **Read** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1003`. Set it under General Settings > API & Development.
|
|
161
|
+
*/
|
|
162
|
+
listWebhooks(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfListOfWebhookResponse>;
|
|
163
|
+
/**
|
|
164
|
+
* Sets how the date-time fields of this webhook\'s payloads are written (see \"Dates in webhook payloads\" in the guide): UTC, org, a fixed offset or a Windows time zone id. Send an empty value to go back to the legacy formats. Same setting as \"Dates and Time Zone\" in Settings → Webhooks. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
165
|
+
*/
|
|
166
|
+
updateWebhookDateTimeZoneRaw(requestParameters: GeneralApiUpdateWebhookDateTimeZoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfObject>>;
|
|
167
|
+
/**
|
|
168
|
+
* Sets how the date-time fields of this webhook\'s payloads are written (see \"Dates in webhook payloads\" in the guide): UTC, org, a fixed offset or a Windows time zone id. Send an empty value to go back to the legacy formats. Same setting as \"Dates and Time Zone\" in Settings → Webhooks. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
169
|
+
*/
|
|
170
|
+
updateWebhookDateTimeZone(requestParameters: GeneralApiUpdateWebhookDateTimeZoneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfObject>;
|
|
171
|
+
/**
|
|
172
|
+
* Uploads an Excel or CSV file (max 10MB, .xlsx or .csv) assigning country risk levels in bulk. Columns: Country, ISO Code, Risk Level. Countries are matched by ISO Code first and by Country name when the ISO Code is empty or unknown. Rows with an empty Risk Level are ignored. Invalid rows are skipped and reported; valid rows are still processed. Returns a batch identifier; use GET /api/v3/CountryRiskLevel/Batch/{batchId} to retrieve the result. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
173
|
+
*/
|
|
174
|
+
uploadCountryRiskLevelBatchFileRaw(requestParameters: GeneralApiUploadCountryRiskLevelBatchFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiResponseOfBatchUploadResponse>>;
|
|
175
|
+
/**
|
|
176
|
+
* Uploads an Excel or CSV file (max 10MB, .xlsx or .csv) assigning country risk levels in bulk. Columns: Country, ISO Code, Risk Level. Countries are matched by ISO Code first and by Country name when the ISO Code is empty or unknown. Rows with an empty Risk Level are ignored. Invalid rows are skipped and reported; valid rows are still processed. Returns a batch identifier; use GET /api/v3/CountryRiskLevel/Batch/{batchId} to retrieve the result. Required API key permission: **Manage** (on this endpoint\'s product). A key without it gets 403 with error code `PRM1002`. Set it under General Settings > API & Development.
|
|
177
|
+
*/
|
|
178
|
+
uploadCountryRiskLevelBatchFile(requestParameters: GeneralApiUploadCountryRiskLevelBatchFileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiResponseOfBatchUploadResponse>;
|
|
179
|
+
}
|