@corsa-labs/sdk 4.37.0 → 4.38.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/dist/CorsaClient.d.ts +2 -0
- package/dist/CorsaClient.js +3 -0
- package/dist/CorsaClient.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/models/AlertSourceDto.d.ts +2 -1
- package/dist/models/AlertSourceDto.js +1 -0
- package/dist/models/AlertSourceDto.js.map +1 -1
- package/dist/models/CorporateClientIntegrationsDto.d.ts +5 -0
- package/dist/models/IndividualClientIntegrationsDto.d.ts +5 -0
- package/dist/models/PersonaIntegrationDto.d.ts +10 -0
- package/dist/models/PersonaIntegrationDto.js +3 -0
- package/dist/models/PersonaIntegrationDto.js.map +1 -0
- package/dist/models/UpsertVerificationDto.d.ts +67 -0
- package/dist/models/UpsertVerificationDto.js +27 -0
- package/dist/models/UpsertVerificationDto.js.map +1 -0
- package/dist/models/VerificationCheckDto.d.ts +34 -0
- package/dist/models/VerificationCheckDto.js +17 -0
- package/dist/models/VerificationCheckDto.js.map +1 -0
- package/dist/models/VerificationCheckImageDto.d.ts +36 -0
- package/dist/models/VerificationCheckImageDto.js +16 -0
- package/dist/models/VerificationCheckImageDto.js.map +1 -0
- package/dist/models/VerificationResponseDto.d.ts +87 -0
- package/dist/models/VerificationResponseDto.js +27 -0
- package/dist/models/VerificationResponseDto.js.map +1 -0
- package/dist/services/ClientsService.d.ts +6 -6
- package/dist/services/ClientsService.js +4 -4
- package/dist/services/ClientsService.js.map +1 -1
- package/dist/services/VerificationsService.d.ts +24 -0
- package/dist/services/VerificationsService.js +49 -0
- package/dist/services/VerificationsService.js.map +1 -0
- package/package.json +1 -1
package/dist/CorsaClient.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { RuleTemplatesService } from './services/RuleTemplatesService';
|
|
|
17
17
|
import { SessionsService } from './services/SessionsService';
|
|
18
18
|
import { TradesService } from './services/TradesService';
|
|
19
19
|
import { TransactionsService } from './services/TransactionsService';
|
|
20
|
+
import { VerificationsService } from './services/VerificationsService';
|
|
20
21
|
import { WithdrawalsService } from './services/WithdrawalsService';
|
|
21
22
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
22
23
|
export declare class CorsaClient {
|
|
@@ -37,6 +38,7 @@ export declare class CorsaClient {
|
|
|
37
38
|
readonly sessions: SessionsService;
|
|
38
39
|
readonly trades: TradesService;
|
|
39
40
|
readonly transactions: TransactionsService;
|
|
41
|
+
readonly verifications: VerificationsService;
|
|
40
42
|
readonly withdrawals: WithdrawalsService;
|
|
41
43
|
readonly request: BaseHttpRequest;
|
|
42
44
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest?: HttpRequestConstructor);
|
package/dist/CorsaClient.js
CHANGED
|
@@ -19,6 +19,7 @@ const RuleTemplatesService_1 = require("./services/RuleTemplatesService");
|
|
|
19
19
|
const SessionsService_1 = require("./services/SessionsService");
|
|
20
20
|
const TradesService_1 = require("./services/TradesService");
|
|
21
21
|
const TransactionsService_1 = require("./services/TransactionsService");
|
|
22
|
+
const VerificationsService_1 = require("./services/VerificationsService");
|
|
22
23
|
const WithdrawalsService_1 = require("./services/WithdrawalsService");
|
|
23
24
|
class CorsaClient {
|
|
24
25
|
alerts;
|
|
@@ -38,6 +39,7 @@ class CorsaClient {
|
|
|
38
39
|
sessions;
|
|
39
40
|
trades;
|
|
40
41
|
transactions;
|
|
42
|
+
verifications;
|
|
41
43
|
withdrawals;
|
|
42
44
|
request;
|
|
43
45
|
constructor(config, HttpRequest = FetchHttpRequest_1.FetchHttpRequest) {
|
|
@@ -69,6 +71,7 @@ class CorsaClient {
|
|
|
69
71
|
this.sessions = new SessionsService_1.SessionsService(this.request);
|
|
70
72
|
this.trades = new TradesService_1.TradesService(this.request);
|
|
71
73
|
this.transactions = new TransactionsService_1.TransactionsService(this.request);
|
|
74
|
+
this.verifications = new VerificationsService_1.VerificationsService(this.request);
|
|
72
75
|
this.withdrawals = new WithdrawalsService_1.WithdrawalsService(this.request);
|
|
73
76
|
}
|
|
74
77
|
}
|
package/dist/CorsaClient.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorsaClient.js","sourceRoot":"","sources":["../CorsaClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD;AACzD,sEAAmE;AACnE,wEAAqE;AACrE,kFAA+E;AAC/E,0DAAuD;AACvD,oEAAiE;AACjE,8DAA2D;AAC3D,gEAA6D;AAC7D,oEAAiE;AACjE,8DAA2D;AAC3D,8EAA2E;AAC3E,gEAA6D;AAC7D,0DAAuD;AACvD,0EAAuE;AACvE,gEAA6D;AAC7D,4DAAyD;AACzD,wEAAqE;AACrE,sEAAmE;AAEnE,MAAa,WAAW;IACJ,MAAM,CAAgB;IACtB,WAAW,CAAqB;IAChC,YAAY,CAAsB;IAClC,iBAAiB,CAA2B;IAC5C,KAAK,CAAe;IACpB,UAAU,CAAoB;IAC9B,OAAO,CAAiB;IACxB,QAAQ,CAAkB;IAC1B,UAAU,CAAoB;IAC9B,OAAO,CAAiB;IACxB,eAAe,CAAyB;IACxC,QAAQ,CAAkB;IAC1B,KAAK,CAAe;IACpB,aAAa,CAAuB;IACpC,QAAQ,CAAkB;IAC1B,MAAM,CAAgB;IACtB,YAAY,CAAsB;IAClC,WAAW,CAAqB;IAChC,OAAO,CAAkB;IACzC,YAAY,MAA+B,EAAE,cAAsC,mCAAgB;QAC/F,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC;YAC3B,IAAI,EAAE,MAAM,EAAE,IAAI,IAAI,EAAE;YACxB,OAAO,EAAE,MAAM,EAAE,OAAO,IAAI,OAAO;YACnC,gBAAgB,EAAE,MAAM,EAAE,gBAAgB,IAAI,KAAK;YACnD,WAAW,EAAE,MAAM,EAAE,WAAW,IAAI,SAAS;YAC7C,KAAK,EAAE,MAAM,EAAE,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IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,eAAe,GAAG,IAAI,+CAAsB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChE,IAAI,CAAC,QAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,KAAK,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,aAAa,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5D,IAAI,CAAC,QAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,MAAM,GAAG,IAAI,6BAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9C,IAAI,CAAC,YAAY,GAAG,IAAI,yCAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC1D,IAAI,CAAC,aAAa,GAAG,IAAI,2CAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5D,IAAI,CAAC,WAAW,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CACJ;AArDD,kCAqDC;AAGD,0CAA0C;AAC7B,QAAA,gBAAgB,GAAG,WAAW,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -71,6 +71,7 @@ export type { IndividualClientWorkInformationDto } from './models/IndividualClie
|
|
|
71
71
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
72
72
|
export type { PaymentAccountCustomFieldDataDto } from './models/PaymentAccountCustomFieldDataDto';
|
|
73
73
|
export type { PaymentAccountDto } from './models/PaymentAccountDto';
|
|
74
|
+
export type { PersonaIntegrationDto } from './models/PersonaIntegrationDto';
|
|
74
75
|
export type { PlainIntegrationDto } from './models/PlainIntegrationDto';
|
|
75
76
|
export type { PoliticalExposureDto } from './models/PoliticalExposureDto';
|
|
76
77
|
export type { RuleTemplateResponseDto } from './models/RuleTemplateResponseDto';
|
|
@@ -177,6 +178,10 @@ export { UpdateIdentityDocumentDto } from './models/UpdateIdentityDocumentDto';
|
|
|
177
178
|
export { UpdateIndividualClientDto } from './models/UpdateIndividualClientDto';
|
|
178
179
|
export { UpdateIndividualMemberDto } from './models/UpdateIndividualMemberDto';
|
|
179
180
|
export { UpdateTransactionDto } from './models/UpdateTransactionDto';
|
|
181
|
+
export { UpsertVerificationDto } from './models/UpsertVerificationDto';
|
|
182
|
+
export { VerificationCheckDto } from './models/VerificationCheckDto';
|
|
183
|
+
export { VerificationCheckImageDto } from './models/VerificationCheckImageDto';
|
|
184
|
+
export { VerificationResponseDto } from './models/VerificationResponseDto';
|
|
180
185
|
export { AlertsService } from './services/AlertsService';
|
|
181
186
|
export { AttachmentsService } from './services/AttachmentsService';
|
|
182
187
|
export { BankAccountsService } from './services/BankAccountsService';
|
|
@@ -194,4 +199,5 @@ export { RulesService } from './services/RulesService';
|
|
|
194
199
|
export { SessionsService } from './services/SessionsService';
|
|
195
200
|
export { TradesService } from './services/TradesService';
|
|
196
201
|
export { TransactionsService } from './services/TransactionsService';
|
|
202
|
+
export { VerificationsService } from './services/VerificationsService';
|
|
197
203
|
export { WithdrawalsService } from './services/WithdrawalsService';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateIndividualMemberDto = exports.CreateIndividualClientDto = exports.CreateIdentityDocumentDto = exports.CreateExternalDocumentDto = exports.CreateCorporateMemberDto = exports.CreateCorporateClientDto = exports.CreateChecklistTemplateItemDto = exports.CreateChecklistTemplateDto = exports.CreateCaseDto = exports.CreateBankAccountDto = exports.CreateAlertDto = exports.CorporateMemberDto = exports.CorporateClientSourceOfFundsDto = exports.CorporateClientPEPDto = exports.CorporateClientDto = exports.CorporateClientCustomFieldDataDto = exports.CorporateClientBusinessDto = exports.CorporateClientAdverseMediaDto = exports.ConditionDto = exports.ClientPaymentAccountRelationDto = exports.ClientBlockchainWalletRelationDto = exports.ClientBankAccountRelationDto = exports.ClientAssociatedToBlockchainWalletDto = exports.ClientAssociatedToAccountDto = exports.ChecklistTemplateResponseDto = exports.ChecklistTemplateItemResponseDto = exports.ChecklistResponseDto = exports.ChecklistItemResponseDto = exports.CaseStatusData = exports.CasePriority = exports.CaseDto = exports.CaseCategory = exports.BulkUpdatedCaseDto = exports.BulkUpdatedAlertDto = exports.BulkUpdateCaseStatusDto = exports.BulkUpdateCaseReviewersDto = exports.BulkUpdateAlertStatusDto = exports.AlertStatusData = exports.AlertSourceDto = exports.AlertDto = exports.AggregationFilterDto = exports.AggregationConditionFilterDto = exports.ActionConfigDto = exports.OpenAPI = exports.CancelError = exports.CancelablePromise = exports.BaseHttpRequest = exports.ApiError = exports.ComplianceClient = exports.CorsaClient = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.WithdrawalsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = exports.RulesService = void 0;
|
|
4
|
+
exports.EvaluationService = exports.DepositsService = exports.ClientsService = exports.ChecklistsService = exports.CasesService = exports.BlockchainWalletsService = exports.BankAccountsService = exports.AttachmentsService = exports.AlertsService = exports.VerificationResponseDto = exports.VerificationCheckImageDto = exports.VerificationCheckDto = exports.UpsertVerificationDto = exports.UpdateTransactionDto = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateChecklistTemplateItemDto = exports.UpdateChecklistItemDto = exports.UpdateCaseStatusDto = exports.UpdateCaseDto = exports.UpdateBankAccountDto = exports.UpdateAttachmentDto = exports.UpdateAlertDto = exports.TransactionStatusDto = exports.TransactionEvaluationRecordDto = exports.TransactionDto = exports.TradeOperationDto = exports.RuleResponseDto = exports.RuleMatchDto = exports.RiskDto = exports.RelateAttachmentsDto = exports.ParticipantDto = exports.OperationStatusUpdateDto = exports.OperationStatusDto = exports.IndividualMemberDto = exports.IndividualClientGeneralInformationDto = exports.IndividualClientDto = exports.IndividualClientCustomFieldDataDto = exports.IndividualClientApplicationInformationDto = exports.IdentityDocumentDto = exports.FactPathDto = exports.EvaluationResultDto = exports.DeviceResponseDto = exports.DeviceDto = exports.CreateTransactionDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = void 0;
|
|
5
|
+
exports.WithdrawalsService = exports.VerificationsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = exports.RulesService = exports.RuleTemplatesService = exports.PlatformService = exports.PaymentAccountsService = exports.MembersService = void 0;
|
|
6
6
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
7
7
|
/* istanbul ignore file */
|
|
8
8
|
/* tslint:disable */
|
|
@@ -179,6 +179,14 @@ var UpdateIndividualMemberDto_1 = require("./models/UpdateIndividualMemberDto");
|
|
|
179
179
|
Object.defineProperty(exports, "UpdateIndividualMemberDto", { enumerable: true, get: function () { return UpdateIndividualMemberDto_1.UpdateIndividualMemberDto; } });
|
|
180
180
|
var UpdateTransactionDto_1 = require("./models/UpdateTransactionDto");
|
|
181
181
|
Object.defineProperty(exports, "UpdateTransactionDto", { enumerable: true, get: function () { return UpdateTransactionDto_1.UpdateTransactionDto; } });
|
|
182
|
+
var UpsertVerificationDto_1 = require("./models/UpsertVerificationDto");
|
|
183
|
+
Object.defineProperty(exports, "UpsertVerificationDto", { enumerable: true, get: function () { return UpsertVerificationDto_1.UpsertVerificationDto; } });
|
|
184
|
+
var VerificationCheckDto_1 = require("./models/VerificationCheckDto");
|
|
185
|
+
Object.defineProperty(exports, "VerificationCheckDto", { enumerable: true, get: function () { return VerificationCheckDto_1.VerificationCheckDto; } });
|
|
186
|
+
var VerificationCheckImageDto_1 = require("./models/VerificationCheckImageDto");
|
|
187
|
+
Object.defineProperty(exports, "VerificationCheckImageDto", { enumerable: true, get: function () { return VerificationCheckImageDto_1.VerificationCheckImageDto; } });
|
|
188
|
+
var VerificationResponseDto_1 = require("./models/VerificationResponseDto");
|
|
189
|
+
Object.defineProperty(exports, "VerificationResponseDto", { enumerable: true, get: function () { return VerificationResponseDto_1.VerificationResponseDto; } });
|
|
182
190
|
var AlertsService_1 = require("./services/AlertsService");
|
|
183
191
|
Object.defineProperty(exports, "AlertsService", { enumerable: true, get: function () { return AlertsService_1.AlertsService; } });
|
|
184
192
|
var AttachmentsService_1 = require("./services/AttachmentsService");
|
|
@@ -213,6 +221,8 @@ var TradesService_1 = require("./services/TradesService");
|
|
|
213
221
|
Object.defineProperty(exports, "TradesService", { enumerable: true, get: function () { return TradesService_1.TradesService; } });
|
|
214
222
|
var TransactionsService_1 = require("./services/TransactionsService");
|
|
215
223
|
Object.defineProperty(exports, "TransactionsService", { enumerable: true, get: function () { return TransactionsService_1.TransactionsService; } });
|
|
224
|
+
var VerificationsService_1 = require("./services/VerificationsService");
|
|
225
|
+
Object.defineProperty(exports, "VerificationsService", { enumerable: true, get: function () { return VerificationsService_1.VerificationsService; } });
|
|
216
226
|
var WithdrawalsService_1 = require("./services/WithdrawalsService");
|
|
217
227
|
Object.defineProperty(exports, "WithdrawalsService", { enumerable: true, get: function () { return WithdrawalsService_1.WithdrawalsService; } });
|
|
218
228
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;AAAA,+DAA+D;AAC/D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AACpB,6CAA8D;AAArD,0GAAA,WAAW,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AAEtC,4CAA2C;AAAlC,oGAAA,QAAQ,OAAA;AACjB,0DAAyD;AAAhD,kHAAA,eAAe,OAAA;AACxB,8DAA0E;AAAjE,sHAAA,iBAAiB,OAAA;AAAE,gHAAA,WAAW,OAA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M_LABS"] = "TRM_LABS";
|
|
16
16
|
alertSource["SUMSUB"] = "SUMSUB";
|
|
17
17
|
alertSource["TRANSACTION_MONITORING"] = "TRANSACTION_MONITORING";
|
|
18
|
+
alertSource["PERSONA"] = "PERSONA";
|
|
18
19
|
})(alertSource = AlertSourceDto.alertSource || (AlertSourceDto.alertSource = {}));
|
|
19
20
|
})(AlertSourceDto || (exports.AlertSourceDto = AlertSourceDto = {}));
|
|
20
21
|
//# sourceMappingURL=AlertSourceDto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,
|
|
1
|
+
{"version":3,"file":"AlertSourceDto.js","sourceRoot":"","sources":["../../models/AlertSourceDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,cAAc,CAc9B;AAdD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,WASX;IATD,WAAY,WAAW;QACnB,0CAA2B,CAAA;QAC3B,kCAAmB,CAAA;QACnB,gCAAiB,CAAA;QACjB,0BAAW,CAAA;QACX,oCAAqB,CAAA;QACrB,gCAAiB,CAAA;QACjB,gEAAiD,CAAA;QACjD,kCAAmB,CAAA;IACvB,CAAC,EATW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAStB;AACL,CAAC,EAdgB,cAAc,8BAAd,cAAc,QAc9B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ClientSumsubDto } from './ClientSumsubDto';
|
|
2
|
+
import type { PersonaIntegrationDto } from './PersonaIntegrationDto';
|
|
2
3
|
import type { PlainIntegrationDto } from './PlainIntegrationDto';
|
|
3
4
|
export type CorporateClientIntegrationsDto = {
|
|
4
5
|
/**
|
|
@@ -13,4 +14,8 @@ export type CorporateClientIntegrationsDto = {
|
|
|
13
14
|
* Plain integration information
|
|
14
15
|
*/
|
|
15
16
|
plain?: PlainIntegrationDto;
|
|
17
|
+
/**
|
|
18
|
+
* Persona integration information
|
|
19
|
+
*/
|
|
20
|
+
persona?: PersonaIntegrationDto;
|
|
16
21
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ClientSumsubDto } from './ClientSumsubDto';
|
|
2
|
+
import type { PersonaIntegrationDto } from './PersonaIntegrationDto';
|
|
2
3
|
import type { PlainIntegrationDto } from './PlainIntegrationDto';
|
|
3
4
|
export type IndividualClientIntegrationsDto = {
|
|
4
5
|
/**
|
|
@@ -17,4 +18,8 @@ export type IndividualClientIntegrationsDto = {
|
|
|
17
18
|
* Plain integration information
|
|
18
19
|
*/
|
|
19
20
|
plain?: PlainIntegrationDto;
|
|
21
|
+
/**
|
|
22
|
+
* Persona integration information
|
|
23
|
+
*/
|
|
24
|
+
persona?: PersonaIntegrationDto;
|
|
20
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersonaIntegrationDto.js","sourceRoot":"","sources":["../../models/PersonaIntegrationDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { VerificationCheckDto } from './VerificationCheckDto';
|
|
2
|
+
export type UpsertVerificationDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Verification provider
|
|
5
|
+
*/
|
|
6
|
+
provider: UpsertVerificationDto.provider;
|
|
7
|
+
/**
|
|
8
|
+
* Provider-specific verification ID
|
|
9
|
+
*/
|
|
10
|
+
providerId: string;
|
|
11
|
+
/**
|
|
12
|
+
* Status as reported by the provider
|
|
13
|
+
*/
|
|
14
|
+
providerStatus: string;
|
|
15
|
+
/**
|
|
16
|
+
* Link to the provider's dashboard for this verification
|
|
17
|
+
*/
|
|
18
|
+
providerLink?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Normalized verification status
|
|
21
|
+
*/
|
|
22
|
+
status: UpsertVerificationDto.status;
|
|
23
|
+
/**
|
|
24
|
+
* Review comment summarizing the verification outcome
|
|
25
|
+
*/
|
|
26
|
+
reviewComment?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Rejection labels if verification was rejected
|
|
29
|
+
*/
|
|
30
|
+
rejectLabels?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
* When the verification was started
|
|
33
|
+
*/
|
|
34
|
+
startedAt?: string;
|
|
35
|
+
/**
|
|
36
|
+
* When the verification was completed
|
|
37
|
+
*/
|
|
38
|
+
completedAt?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Individual verification checks
|
|
41
|
+
*/
|
|
42
|
+
checks?: Array<VerificationCheckDto>;
|
|
43
|
+
/**
|
|
44
|
+
* Additional provider-specific metadata as JSON string
|
|
45
|
+
*/
|
|
46
|
+
metadata?: string;
|
|
47
|
+
};
|
|
48
|
+
export declare namespace UpsertVerificationDto {
|
|
49
|
+
/**
|
|
50
|
+
* Verification provider
|
|
51
|
+
*/
|
|
52
|
+
enum provider {
|
|
53
|
+
SUMSUB = "SUMSUB",
|
|
54
|
+
PERSONA = "PERSONA"
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Normalized verification status
|
|
58
|
+
*/
|
|
59
|
+
enum status {
|
|
60
|
+
REQUESTED = "REQUESTED",
|
|
61
|
+
PENDING = "PENDING",
|
|
62
|
+
APPROVED = "APPROVED",
|
|
63
|
+
REJECTED = "REJECTED",
|
|
64
|
+
EXPIRED = "EXPIRED",
|
|
65
|
+
CANCELLED = "CANCELLED"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpsertVerificationDto = void 0;
|
|
4
|
+
var UpsertVerificationDto;
|
|
5
|
+
(function (UpsertVerificationDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Verification provider
|
|
8
|
+
*/
|
|
9
|
+
let provider;
|
|
10
|
+
(function (provider) {
|
|
11
|
+
provider["SUMSUB"] = "SUMSUB";
|
|
12
|
+
provider["PERSONA"] = "PERSONA";
|
|
13
|
+
})(provider = UpsertVerificationDto.provider || (UpsertVerificationDto.provider = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Normalized verification status
|
|
16
|
+
*/
|
|
17
|
+
let status;
|
|
18
|
+
(function (status) {
|
|
19
|
+
status["REQUESTED"] = "REQUESTED";
|
|
20
|
+
status["PENDING"] = "PENDING";
|
|
21
|
+
status["APPROVED"] = "APPROVED";
|
|
22
|
+
status["REJECTED"] = "REJECTED";
|
|
23
|
+
status["EXPIRED"] = "EXPIRED";
|
|
24
|
+
status["CANCELLED"] = "CANCELLED";
|
|
25
|
+
})(status = UpsertVerificationDto.status || (UpsertVerificationDto.status = {}));
|
|
26
|
+
})(UpsertVerificationDto || (exports.UpsertVerificationDto = UpsertVerificationDto = {}));
|
|
27
|
+
//# sourceMappingURL=UpsertVerificationDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpsertVerificationDto.js","sourceRoot":"","sources":["../../models/UpsertVerificationDto.ts"],"names":[],"mappings":";;;AAmDA,IAAiB,qBAAqB,CAmBrC;AAnBD,WAAiB,qBAAqB;IAClC;;OAEG;IACH,IAAY,QAGX;IAHD,WAAY,QAAQ;QAChB,6BAAiB,CAAA;QACjB,+BAAmB,CAAA;IACvB,CAAC,EAHW,QAAQ,GAAR,8BAAQ,KAAR,8BAAQ,QAGnB;IACD;;OAEG;IACH,IAAY,MAOX;IAPD,WAAY,MAAM;QACd,iCAAuB,CAAA;QACvB,6BAAmB,CAAA;QACnB,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,6BAAmB,CAAA;QACnB,iCAAuB,CAAA;IAC3B,CAAC,EAPW,MAAM,GAAN,4BAAM,KAAN,4BAAM,QAOjB;AACL,CAAC,EAnBgB,qBAAqB,qCAArB,qBAAqB,QAmBrC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { VerificationCheckImageDto } from './VerificationCheckImageDto';
|
|
2
|
+
export type VerificationCheckDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Check title
|
|
5
|
+
*/
|
|
6
|
+
title: string;
|
|
7
|
+
/**
|
|
8
|
+
* Check status
|
|
9
|
+
*/
|
|
10
|
+
status: VerificationCheckDto.status;
|
|
11
|
+
/**
|
|
12
|
+
* Country code
|
|
13
|
+
*/
|
|
14
|
+
country?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Document type
|
|
17
|
+
*/
|
|
18
|
+
documentType?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Images associated with this check
|
|
21
|
+
*/
|
|
22
|
+
images?: Array<VerificationCheckImageDto>;
|
|
23
|
+
};
|
|
24
|
+
export declare namespace VerificationCheckDto {
|
|
25
|
+
/**
|
|
26
|
+
* Check status
|
|
27
|
+
*/
|
|
28
|
+
enum status {
|
|
29
|
+
APPROVED = "Approved",
|
|
30
|
+
REJECTED = "Rejected",
|
|
31
|
+
PENDING = "Pending",
|
|
32
|
+
REQUESTED = "Requested"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerificationCheckDto = void 0;
|
|
4
|
+
var VerificationCheckDto;
|
|
5
|
+
(function (VerificationCheckDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Check status
|
|
8
|
+
*/
|
|
9
|
+
let status;
|
|
10
|
+
(function (status) {
|
|
11
|
+
status["APPROVED"] = "Approved";
|
|
12
|
+
status["REJECTED"] = "Rejected";
|
|
13
|
+
status["PENDING"] = "Pending";
|
|
14
|
+
status["REQUESTED"] = "Requested";
|
|
15
|
+
})(status = VerificationCheckDto.status || (VerificationCheckDto.status = {}));
|
|
16
|
+
})(VerificationCheckDto || (exports.VerificationCheckDto = VerificationCheckDto = {}));
|
|
17
|
+
//# sourceMappingURL=VerificationCheckDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationCheckDto.js","sourceRoot":"","sources":["../../models/VerificationCheckDto.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,oBAAoB,CAUpC;AAVD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,6BAAmB,CAAA;QACnB,iCAAuB,CAAA;IAC3B,CAAC,EALW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAKjB;AACL,CAAC,EAVgB,oBAAoB,oCAApB,oBAAoB,QAUpC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type VerificationCheckImageDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Image ID from the provider
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Image check status
|
|
8
|
+
*/
|
|
9
|
+
status: VerificationCheckImageDto.status;
|
|
10
|
+
/**
|
|
11
|
+
* Rejection labels for the image
|
|
12
|
+
*/
|
|
13
|
+
rejectLabels?: Array<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Rejection reason
|
|
16
|
+
*/
|
|
17
|
+
reason?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Stored file ID
|
|
20
|
+
*/
|
|
21
|
+
fileId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Original file name
|
|
24
|
+
*/
|
|
25
|
+
fileName?: string;
|
|
26
|
+
};
|
|
27
|
+
export declare namespace VerificationCheckImageDto {
|
|
28
|
+
/**
|
|
29
|
+
* Image check status
|
|
30
|
+
*/
|
|
31
|
+
enum status {
|
|
32
|
+
APPROVED = "Approved",
|
|
33
|
+
REJECTED = "Rejected",
|
|
34
|
+
PENDING = "Pending"
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerificationCheckImageDto = void 0;
|
|
4
|
+
var VerificationCheckImageDto;
|
|
5
|
+
(function (VerificationCheckImageDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Image check status
|
|
8
|
+
*/
|
|
9
|
+
let status;
|
|
10
|
+
(function (status) {
|
|
11
|
+
status["APPROVED"] = "Approved";
|
|
12
|
+
status["REJECTED"] = "Rejected";
|
|
13
|
+
status["PENDING"] = "Pending";
|
|
14
|
+
})(status = VerificationCheckImageDto.status || (VerificationCheckImageDto.status = {}));
|
|
15
|
+
})(VerificationCheckImageDto || (exports.VerificationCheckImageDto = VerificationCheckImageDto = {}));
|
|
16
|
+
//# sourceMappingURL=VerificationCheckImageDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationCheckImageDto.js","sourceRoot":"","sources":["../../models/VerificationCheckImageDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,yBAAyB,CASzC;AATD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,6BAAmB,CAAA;IACvB,CAAC,EAJW,MAAM,GAAN,gCAAM,KAAN,gCAAM,QAIjB;AACL,CAAC,EATgB,yBAAyB,yCAAzB,yBAAyB,QASzC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { VerificationCheckDto } from './VerificationCheckDto';
|
|
2
|
+
export type VerificationResponseDto = {
|
|
3
|
+
/**
|
|
4
|
+
* Verification ID
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Platform ID
|
|
9
|
+
*/
|
|
10
|
+
platformId: string;
|
|
11
|
+
/**
|
|
12
|
+
* Creation timestamp
|
|
13
|
+
*/
|
|
14
|
+
createdAt: string;
|
|
15
|
+
/**
|
|
16
|
+
* Last update timestamp
|
|
17
|
+
*/
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
/**
|
|
20
|
+
* Verification provider
|
|
21
|
+
*/
|
|
22
|
+
provider: VerificationResponseDto.provider;
|
|
23
|
+
/**
|
|
24
|
+
* Provider-specific verification ID
|
|
25
|
+
*/
|
|
26
|
+
providerId: string;
|
|
27
|
+
/**
|
|
28
|
+
* Status as reported by the provider
|
|
29
|
+
*/
|
|
30
|
+
providerStatus: string;
|
|
31
|
+
/**
|
|
32
|
+
* Link to provider dashboard
|
|
33
|
+
*/
|
|
34
|
+
providerLink?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Normalized verification status
|
|
37
|
+
*/
|
|
38
|
+
status: VerificationResponseDto.status;
|
|
39
|
+
/**
|
|
40
|
+
* Review comment summarizing the verification outcome
|
|
41
|
+
*/
|
|
42
|
+
reviewComment?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Rejection labels
|
|
45
|
+
*/
|
|
46
|
+
rejectLabels?: Array<string>;
|
|
47
|
+
/**
|
|
48
|
+
* When verification started
|
|
49
|
+
*/
|
|
50
|
+
startedAt?: string;
|
|
51
|
+
/**
|
|
52
|
+
* When verification completed
|
|
53
|
+
*/
|
|
54
|
+
completedAt?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Verification checks
|
|
57
|
+
*/
|
|
58
|
+
checks?: Array<VerificationCheckDto>;
|
|
59
|
+
/**
|
|
60
|
+
* Additional metadata
|
|
61
|
+
*/
|
|
62
|
+
metadata?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Associated client ID
|
|
65
|
+
*/
|
|
66
|
+
clientId?: string;
|
|
67
|
+
};
|
|
68
|
+
export declare namespace VerificationResponseDto {
|
|
69
|
+
/**
|
|
70
|
+
* Verification provider
|
|
71
|
+
*/
|
|
72
|
+
enum provider {
|
|
73
|
+
SUMSUB = "SUMSUB",
|
|
74
|
+
PERSONA = "PERSONA"
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Normalized verification status
|
|
78
|
+
*/
|
|
79
|
+
enum status {
|
|
80
|
+
REQUESTED = "REQUESTED",
|
|
81
|
+
PENDING = "PENDING",
|
|
82
|
+
APPROVED = "APPROVED",
|
|
83
|
+
REJECTED = "REJECTED",
|
|
84
|
+
EXPIRED = "EXPIRED",
|
|
85
|
+
CANCELLED = "CANCELLED"
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerificationResponseDto = void 0;
|
|
4
|
+
var VerificationResponseDto;
|
|
5
|
+
(function (VerificationResponseDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Verification provider
|
|
8
|
+
*/
|
|
9
|
+
let provider;
|
|
10
|
+
(function (provider) {
|
|
11
|
+
provider["SUMSUB"] = "SUMSUB";
|
|
12
|
+
provider["PERSONA"] = "PERSONA";
|
|
13
|
+
})(provider = VerificationResponseDto.provider || (VerificationResponseDto.provider = {}));
|
|
14
|
+
/**
|
|
15
|
+
* Normalized verification status
|
|
16
|
+
*/
|
|
17
|
+
let status;
|
|
18
|
+
(function (status) {
|
|
19
|
+
status["REQUESTED"] = "REQUESTED";
|
|
20
|
+
status["PENDING"] = "PENDING";
|
|
21
|
+
status["APPROVED"] = "APPROVED";
|
|
22
|
+
status["REJECTED"] = "REJECTED";
|
|
23
|
+
status["EXPIRED"] = "EXPIRED";
|
|
24
|
+
status["CANCELLED"] = "CANCELLED";
|
|
25
|
+
})(status = VerificationResponseDto.status || (VerificationResponseDto.status = {}));
|
|
26
|
+
})(VerificationResponseDto || (exports.VerificationResponseDto = VerificationResponseDto = {}));
|
|
27
|
+
//# sourceMappingURL=VerificationResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationResponseDto.js","sourceRoot":"","sources":["../../models/VerificationResponseDto.ts"],"names":[],"mappings":";;;AAuEA,IAAiB,uBAAuB,CAmBvC;AAnBD,WAAiB,uBAAuB;IACpC;;OAEG;IACH,IAAY,QAGX;IAHD,WAAY,QAAQ;QAChB,6BAAiB,CAAA;QACjB,+BAAmB,CAAA;IACvB,CAAC,EAHW,QAAQ,GAAR,gCAAQ,KAAR,gCAAQ,QAGnB;IACD;;OAEG;IACH,IAAY,MAOX;IAPD,WAAY,MAAM;QACd,iCAAuB,CAAA;QACvB,6BAAmB,CAAA;QACnB,+BAAqB,CAAA;QACrB,+BAAqB,CAAA;QACrB,6BAAmB,CAAA;QACnB,iCAAuB,CAAA;IAC3B,CAAC,EAPW,MAAM,GAAN,8BAAM,KAAN,8BAAM,QAOjB;AACL,CAAC,EAnBgB,uBAAuB,uCAAvB,uBAAuB,QAmBvC"}
|
|
@@ -10,7 +10,7 @@ export declare class ClientsService {
|
|
|
10
10
|
readonly httpRequest: BaseHttpRequest;
|
|
11
11
|
constructor(httpRequest: BaseHttpRequest);
|
|
12
12
|
/**
|
|
13
|
-
* Create a new corporate client. If upsert is true, update existing client if found by referenceId
|
|
13
|
+
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
14
14
|
* @param requestBody
|
|
15
15
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
16
16
|
* @returns CorporateClientDto
|
|
@@ -29,13 +29,13 @@ export declare class ClientsService {
|
|
|
29
29
|
* Get a corporate client by ID
|
|
30
30
|
* @param clientId
|
|
31
31
|
* @param includeMembers If true, include related members in the response
|
|
32
|
-
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB or
|
|
32
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
33
33
|
* @returns CorporateClientDto
|
|
34
34
|
* @throws ApiError
|
|
35
35
|
*/
|
|
36
|
-
getCorporateClient(clientId: string, includeMembers?: boolean, integrationId?: 'CHAINALYSIS' | 'SUMSUB' | 'PLAIN'): CancelablePromise<CorporateClientDto>;
|
|
36
|
+
getCorporateClient(clientId: string, includeMembers?: boolean, integrationId?: 'CHAINALYSIS' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<CorporateClientDto>;
|
|
37
37
|
/**
|
|
38
|
-
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, or
|
|
38
|
+
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
39
39
|
* @param requestBody
|
|
40
40
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
41
41
|
* @returns IndividualClientDto
|
|
@@ -53,9 +53,9 @@ export declare class ClientsService {
|
|
|
53
53
|
/**
|
|
54
54
|
* Get an individual client by ID
|
|
55
55
|
* @param clientId
|
|
56
|
-
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB or
|
|
56
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
57
57
|
* @returns IndividualClientDto
|
|
58
58
|
* @throws ApiError
|
|
59
59
|
*/
|
|
60
|
-
getIndividualClient(clientId: string, integrationId?: 'SARDINE' | 'CHAINALYSIS' | 'SUMSUB' | 'PLAIN'): CancelablePromise<IndividualClientDto>;
|
|
60
|
+
getIndividualClient(clientId: string, integrationId?: 'SARDINE' | 'CHAINALYSIS' | 'SUMSUB' | 'PLAIN' | 'PERSONA'): CancelablePromise<IndividualClientDto>;
|
|
61
61
|
}
|
|
@@ -7,7 +7,7 @@ class ClientsService {
|
|
|
7
7
|
this.httpRequest = httpRequest;
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Create a new corporate client. If upsert is true, update existing client if found by referenceId
|
|
10
|
+
* Create a new corporate client. If upsert is true, update existing client if found by referenceId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
13
13
|
* @returns CorporateClientDto
|
|
@@ -46,7 +46,7 @@ class ClientsService {
|
|
|
46
46
|
* Get a corporate client by ID
|
|
47
47
|
* @param clientId
|
|
48
48
|
* @param includeMembers If true, include related members in the response
|
|
49
|
-
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB or
|
|
49
|
+
* @param integrationId Integration type to filter by (CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
50
50
|
* @returns CorporateClientDto
|
|
51
51
|
* @throws ApiError
|
|
52
52
|
*/
|
|
@@ -64,7 +64,7 @@ class ClientsService {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, or
|
|
67
|
+
* Create a new individual client. If upsert is true, update existing client if found by referenceId, id, sardineCustomerId, chainalysisUserId, sumsubApplicantId, or personaAccountId
|
|
68
68
|
* @param requestBody
|
|
69
69
|
* @param upsert If true, update existing client instead of creating if client already exists
|
|
70
70
|
* @returns IndividualClientDto
|
|
@@ -102,7 +102,7 @@ class ClientsService {
|
|
|
102
102
|
/**
|
|
103
103
|
* Get an individual client by ID
|
|
104
104
|
* @param clientId
|
|
105
|
-
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB or
|
|
105
|
+
* @param integrationId Integration type to filter by (SARDINE, CHAINALYSIS, SUMSUB, PLAIN or PERSONA) - if this is provided, the client is expected to be the id in the integrated vendor
|
|
106
106
|
* @returns IndividualClientDto
|
|
107
107
|
* @throws ApiError
|
|
108
108
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,qBAAqB,CACxB,WAAqC,EACrC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,QAAgB,EAChB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,kBAAkB,CACrB,QAAgB,EAChB,cAAwB,EACxB,
|
|
1
|
+
{"version":3,"file":"ClientsService.js","sourceRoot":"","sources":["../../services/ClientsService.ts"],"names":[],"mappings":";;;AAYA,MAAa,cAAc;IACK;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,qBAAqB,CACxB,WAAqC,EACrC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,qBAAqB,CACxB,QAAgB,EAChB,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,mCAAmC;YACxC,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;Y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C,CAAC;IACP,CAAC;CACJ;AArID,wCAqIC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { UpsertVerificationDto } from '../models/UpsertVerificationDto';
|
|
2
|
+
import type { VerificationResponseDto } from '../models/VerificationResponseDto';
|
|
3
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
5
|
+
export declare class VerificationsService {
|
|
6
|
+
readonly httpRequest: BaseHttpRequest;
|
|
7
|
+
constructor(httpRequest: BaseHttpRequest);
|
|
8
|
+
/**
|
|
9
|
+
* Get verifications for a client, optionally filtered by provider and providerId.
|
|
10
|
+
* @param clientId
|
|
11
|
+
* @param provider
|
|
12
|
+
* @param providerId
|
|
13
|
+
* @returns VerificationResponseDto
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
getClientVerifications(clientId: string, provider?: 'SUMSUB' | 'PERSONA', providerId?: string): CancelablePromise<Array<VerificationResponseDto>>;
|
|
17
|
+
/**
|
|
18
|
+
* @param clientId
|
|
19
|
+
* @param requestBody
|
|
20
|
+
* @returns VerificationResponseDto
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
upsertVerification(clientId: string, requestBody: UpsertVerificationDto): CancelablePromise<VerificationResponseDto>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VerificationsService = void 0;
|
|
4
|
+
class VerificationsService {
|
|
5
|
+
httpRequest;
|
|
6
|
+
constructor(httpRequest) {
|
|
7
|
+
this.httpRequest = httpRequest;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get verifications for a client, optionally filtered by provider and providerId.
|
|
11
|
+
* @param clientId
|
|
12
|
+
* @param provider
|
|
13
|
+
* @param providerId
|
|
14
|
+
* @returns VerificationResponseDto
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
getClientVerifications(clientId, provider, providerId) {
|
|
18
|
+
return this.httpRequest.request({
|
|
19
|
+
method: 'GET',
|
|
20
|
+
url: '/v1/clients/{clientId}/verifications',
|
|
21
|
+
path: {
|
|
22
|
+
'clientId': clientId,
|
|
23
|
+
},
|
|
24
|
+
query: {
|
|
25
|
+
'provider': provider,
|
|
26
|
+
'providerId': providerId,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @param clientId
|
|
32
|
+
* @param requestBody
|
|
33
|
+
* @returns VerificationResponseDto
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
upsertVerification(clientId, requestBody) {
|
|
37
|
+
return this.httpRequest.request({
|
|
38
|
+
method: 'PUT',
|
|
39
|
+
url: '/v1/clients/{clientId}/verifications',
|
|
40
|
+
path: {
|
|
41
|
+
'clientId': clientId,
|
|
42
|
+
},
|
|
43
|
+
body: requestBody,
|
|
44
|
+
mediaType: 'application/json',
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.VerificationsService = VerificationsService;
|
|
49
|
+
//# sourceMappingURL=VerificationsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerificationsService.js","sourceRoot":"","sources":["../../services/VerificationsService.ts"],"names":[],"mappings":";;;AAQA,MAAa,oBAAoB;IACD;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;OAOG;IACI,sBAAsB,CACzB,QAAgB,EAChB,QAA+B,EAC/B,UAAmB;QAEnB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,KAAK,EAAE;gBACH,UAAU,EAAE,QAAQ;gBACpB,YAAY,EAAE,UAAU;aAC3B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,kBAAkB,CACrB,QAAgB,EAChB,WAAkC;QAElC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,sCAAsC;YAC3C,IAAI,EAAE;gBACF,UAAU,EAAE,QAAQ;aACvB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AA/CD,oDA+CC"}
|