@corsa-labs/sdk 4.42.0 → 4.44.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/index.d.ts +7 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/models/ActionConfigDto.d.ts +2 -1
- package/dist/models/ActionConfigDto.js.map +1 -1
- package/dist/models/ActionFailureSummaryDto.d.ts +4 -0
- package/dist/models/ActionFailureSummaryDto.js +3 -0
- package/dist/models/ActionFailureSummaryDto.js.map +1 -0
- package/dist/models/ActionsExecutedSummaryDto.d.ts +3 -0
- package/dist/models/ActionsExecutedSummaryDto.js +3 -0
- package/dist/models/ActionsExecutedSummaryDto.js.map +1 -0
- package/dist/models/AlertActionConfigFieldsDto.d.ts +30 -0
- package/dist/models/AlertActionConfigFieldsDto.js +3 -0
- package/dist/models/AlertActionConfigFieldsDto.js.map +1 -0
- package/dist/models/BulkAppliedCorporateClientChanges.d.ts +4 -0
- package/dist/models/BulkAppliedCorporateClientChanges.js.map +1 -1
- package/dist/models/BulkAppliedIndividualClientChanges.d.ts +4 -0
- package/dist/models/BulkAppliedIndividualClientChanges.js.map +1 -1
- package/dist/models/BulkCorporateClientUpdateFields.d.ts +4 -0
- package/dist/models/BulkCorporateClientUpdateFields.js.map +1 -1
- package/dist/models/BulkIndividualClientUpdateFields.d.ts +4 -0
- package/dist/models/BulkIndividualClientUpdateFields.js.map +1 -1
- package/dist/models/CorporateClientDto.d.ts +4 -0
- package/dist/models/CorporateClientDto.js.map +1 -1
- package/dist/models/CreateDepositOperationResponseDto.d.ts +32 -0
- package/dist/models/CreateDepositOperationResponseDto.js +3 -0
- package/dist/models/CreateDepositOperationResponseDto.js.map +1 -0
- package/dist/models/CreateTradeOperationDto.d.ts +2 -2
- package/dist/models/CreateTradeOperationDto.js +1 -1
- package/dist/models/CreateTradeOperationResponseDto.d.ts +66 -0
- package/dist/models/CreateTradeOperationResponseDto.js +15 -0
- package/dist/models/CreateTradeOperationResponseDto.js.map +1 -0
- package/dist/models/CreateTransactionDto.d.ts +4 -0
- package/dist/models/CreateTransactionDto.js.map +1 -1
- package/dist/models/CreateWithdrawalOperationResponseDto.d.ts +33 -0
- package/dist/models/CreateWithdrawalOperationResponseDto.js +3 -0
- package/dist/models/CreateWithdrawalOperationResponseDto.js.map +1 -0
- package/dist/models/EvaluationResultDto.d.ts +4 -0
- package/dist/models/EvaluationResultDto.js.map +1 -1
- package/dist/models/IndividualClientDto.d.ts +4 -0
- package/dist/models/IndividualClientDto.js.map +1 -1
- package/dist/models/MatchedRuleSummaryDto.d.ts +5 -0
- package/dist/models/MatchedRuleSummaryDto.js +3 -0
- package/dist/models/MatchedRuleSummaryDto.js.map +1 -0
- package/dist/models/TradeOperationDto.d.ts +1 -1
- package/dist/models/TransactionDto.d.ts +5 -0
- package/dist/models/TransactionDto.js.map +1 -1
- package/dist/models/TransactionStatusDto.d.ts +4 -0
- package/dist/models/TransactionStatusDto.js.map +1 -1
- package/dist/models/UpdateCorporateClientDto.d.ts +4 -0
- package/dist/models/UpdateCorporateClientDto.js.map +1 -1
- package/dist/models/UpdateIndividualClientDto.d.ts +4 -0
- package/dist/models/UpdateIndividualClientDto.js.map +1 -1
- package/dist/services/DepositsService.d.ts +3 -2
- package/dist/services/DepositsService.js +1 -1
- package/dist/services/DepositsService.js.map +1 -1
- package/dist/services/TradesService.d.ts +5 -3
- package/dist/services/TradesService.js +6 -2
- package/dist/services/TradesService.js.map +1 -1
- package/dist/services/WithdrawalsService.d.ts +3 -2
- package/dist/services/WithdrawalsService.js +1 -1
- package/dist/services/WithdrawalsService.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,11 @@ export { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
|
4
4
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
5
5
|
export { OpenAPI } from './core/OpenAPI';
|
|
6
6
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
7
|
+
export type { ActionFailureSummaryDto } from './models/ActionFailureSummaryDto';
|
|
8
|
+
export type { ActionsExecutedSummaryDto } from './models/ActionsExecutedSummaryDto';
|
|
7
9
|
export type { ActivateRuleDto } from './models/ActivateRuleDto';
|
|
8
10
|
export type { AdverseMediaDto } from './models/AdverseMediaDto';
|
|
11
|
+
export type { AlertActionConfigFieldsDto } from './models/AlertActionConfigFieldsDto';
|
|
9
12
|
export type { AlertAssociationResponseDto } from './models/AlertAssociationResponseDto';
|
|
10
13
|
export type { AlertCustomFieldDataDto } from './models/AlertCustomFieldDataDto';
|
|
11
14
|
export type { AlertDecisionDto } from './models/AlertDecisionDto';
|
|
@@ -94,12 +97,14 @@ export type { CorporateClientSanctionsDto } from './models/CorporateClientSancti
|
|
|
94
97
|
export type { CorporateClientScreeningDto } from './models/CorporateClientScreeningDto';
|
|
95
98
|
export type { CreateBlockchainWalletDto } from './models/CreateBlockchainWalletDto';
|
|
96
99
|
export type { CreateDepositOperationDto } from './models/CreateDepositOperationDto';
|
|
100
|
+
export type { CreateDepositOperationResponseDto } from './models/CreateDepositOperationResponseDto';
|
|
97
101
|
export type { CreateExternalDocumentResponseDto } from './models/CreateExternalDocumentResponseDto';
|
|
98
102
|
export type { CreatePaymentAccountDto } from './models/CreatePaymentAccountDto';
|
|
99
103
|
export type { CreateRuleDto } from './models/CreateRuleDto';
|
|
100
104
|
export type { CreateSessionDto } from './models/CreateSessionDto';
|
|
101
105
|
export type { CreateTransactionSourceOrDestinationClientDto } from './models/CreateTransactionSourceOrDestinationClientDto';
|
|
102
106
|
export type { CreateWithdrawalOperationDto } from './models/CreateWithdrawalOperationDto';
|
|
107
|
+
export type { CreateWithdrawalOperationResponseDto } from './models/CreateWithdrawalOperationResponseDto';
|
|
103
108
|
export type { DepositOperationDto } from './models/DepositOperationDto';
|
|
104
109
|
export type { DisableRuleDto } from './models/DisableRuleDto';
|
|
105
110
|
export type { EvaluationRequestDto } from './models/EvaluationRequestDto';
|
|
@@ -108,6 +113,7 @@ export type { IndividualClientContactInformationDto } from './models/IndividualC
|
|
|
108
113
|
export type { IndividualClientFinancialInformationDto } from './models/IndividualClientFinancialInformationDto';
|
|
109
114
|
export type { IndividualClientIntegrationsDto } from './models/IndividualClientIntegrationsDto';
|
|
110
115
|
export type { IndividualClientWorkInformationDto } from './models/IndividualClientWorkInformationDto';
|
|
116
|
+
export type { MatchedRuleSummaryDto } from './models/MatchedRuleSummaryDto';
|
|
111
117
|
export type { OperationInitiatorDto } from './models/OperationInitiatorDto';
|
|
112
118
|
export type { PaymentAccountCustomFieldDataDto } from './models/PaymentAccountCustomFieldDataDto';
|
|
113
119
|
export type { PaymentAccountDto } from './models/PaymentAccountDto';
|
|
@@ -203,6 +209,7 @@ export { CreateIndividualClientDto } from './models/CreateIndividualClientDto';
|
|
|
203
209
|
export { CreateIndividualMemberDto } from './models/CreateIndividualMemberDto';
|
|
204
210
|
export { CreateOrUpdateRiskDto } from './models/CreateOrUpdateRiskDto';
|
|
205
211
|
export { CreateTradeOperationDto } from './models/CreateTradeOperationDto';
|
|
212
|
+
export { CreateTradeOperationResponseDto } from './models/CreateTradeOperationResponseDto';
|
|
206
213
|
export { CreateTransactionDto } from './models/CreateTransactionDto';
|
|
207
214
|
export { CreateVerificationDto } from './models/CreateVerificationDto';
|
|
208
215
|
export { DeviceDto } from './models/DeviceDto';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
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.BulkTransactionUpdateFields = exports.BulkIndividualRiskInput = exports.BulkIndividualGeneralInput = exports.BulkIndividualClientUpdateFields = exports.BulkIndividualApplicationInput = exports.BulkCorporateSourceOfFundsInput = exports.BulkCorporateRiskInput = exports.BulkCorporatePEPInput = exports.BulkCorporateClientUpdateFields = exports.BulkCorporateBusinessInput = exports.BulkCorporateAdverseMediaInput = exports.BulkCaseUpdateFields = exports.BulkCaseStatusInput = exports.BulkAppliedTransactionChanges = exports.BulkAppliedIndividualClientChanges = exports.BulkAppliedCorporateClientChanges = exports.BulkAppliedCaseChanges = exports.BulkAppliedAlertChanges = exports.BulkAlertUpdateFields = exports.BulkAlertSourceInput = 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.VerificationsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = exports.RulesService = exports.RuleTemplatesService = exports.PlatformService = exports.PaymentAccountsService = exports.MembersService = 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.UpdateVerificationDto = exports.UpdateTransactionDto = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateChecklistTemplateItemDto = exports.UpdateChecklistItemDto = void 0;
|
|
4
|
+
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.CreateVerificationDto = exports.CreateTransactionDto = exports.CreateTradeOperationResponseDto = exports.CreateTradeOperationDto = exports.CreateOrUpdateRiskDto = 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 = void 0;
|
|
5
|
+
exports.WithdrawalsService = exports.VerificationsService = exports.TransactionsService = exports.TradesService = exports.SessionsService = exports.RulesService = exports.RuleTemplatesService = exports.PlatformService = exports.PaymentAccountsService = exports.MembersService = 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.UpdateVerificationDto = exports.UpdateTransactionDto = exports.UpdateIndividualMemberDto = exports.UpdateIndividualClientDto = exports.UpdateIdentityDocumentDto = exports.UpdateCorporateMemberDto = exports.UpdateCorporateClientDto = exports.UpdateChecklistTemplateItemDto = exports.UpdateChecklistItemDto = exports.UpdateCaseStatusDto = void 0;
|
|
6
6
|
/* generated using openapi-typescript-codegen -- do not edit */
|
|
7
7
|
/* istanbul ignore file */
|
|
8
8
|
/* tslint:disable */
|
|
@@ -149,6 +149,8 @@ var CreateOrUpdateRiskDto_1 = require("./models/CreateOrUpdateRiskDto");
|
|
|
149
149
|
Object.defineProperty(exports, "CreateOrUpdateRiskDto", { enumerable: true, get: function () { return CreateOrUpdateRiskDto_1.CreateOrUpdateRiskDto; } });
|
|
150
150
|
var CreateTradeOperationDto_1 = require("./models/CreateTradeOperationDto");
|
|
151
151
|
Object.defineProperty(exports, "CreateTradeOperationDto", { enumerable: true, get: function () { return CreateTradeOperationDto_1.CreateTradeOperationDto; } });
|
|
152
|
+
var CreateTradeOperationResponseDto_1 = require("./models/CreateTradeOperationResponseDto");
|
|
153
|
+
Object.defineProperty(exports, "CreateTradeOperationResponseDto", { enumerable: true, get: function () { return CreateTradeOperationResponseDto_1.CreateTradeOperationResponseDto; } });
|
|
152
154
|
var CreateTransactionDto_1 = require("./models/CreateTransactionDto");
|
|
153
155
|
Object.defineProperty(exports, "CreateTransactionDto", { enumerable: true, get: function () { return CreateTransactionDto_1.CreateTransactionDto; } });
|
|
154
156
|
var CreateVerificationDto_1 = require("./models/CreateVerificationDto");
|
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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,oBAAoB,OAAA;AAC7B,gFAA+E;AAAtE,sIAAA,yBAAyB,OAAA;AAClC,4EAA2E;AAAlE,kIAAA,uBAAuB,OAAA;AAEhC,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA;AAC3B,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,gFAA+E;AAAtE,oIAAA,wBAAwB,OAAA;AACjC,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,kEAAiE;AAAxD,sHAAA,iBAAiB,OAAA;AAC1B,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,kEAAiE;AAAxD,sHAAA,iBAAiB,OAAA;AAC1B,4DAA2D;AAAlD,gHAAA,cAAc,OAAA;AACvB,4EAA2E;AAAlE,gIAAA,sBAAsB,OAAA;AAC/B,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,wEAAuE;AAA9D,4HAAA,oBAAoB,OAAA;AAC7B,wDAAuD;AAA9C,4GAAA,YAAY,OAAA;AACrB,8DAA6D;AAApD,kHAAA,eAAe,OAAA;AACxB,0DAAyD;AAAhD,8GAAA,aAAa,OAAA;AACtB,sEAAqE;AAA5D,0HAAA,mBAAmB,OAAA;AAC5B,wEAAuE;AAA9D,4HAAA,oBAAoB,OAAA;AAC7B,oEAAmE;AAA1D,wHAAA,kBAAkB,OAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AlertActionConfigFieldsDto } from './AlertActionConfigFieldsDto';
|
|
1
2
|
export type ActionConfigDto = {
|
|
2
3
|
/**
|
|
3
4
|
* Action type
|
|
@@ -6,7 +7,7 @@ export type ActionConfigDto = {
|
|
|
6
7
|
/**
|
|
7
8
|
* Action-specific configuration
|
|
8
9
|
*/
|
|
9
|
-
config:
|
|
10
|
+
config: AlertActionConfigFieldsDto;
|
|
10
11
|
};
|
|
11
12
|
export declare namespace ActionConfigDto {
|
|
12
13
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionConfigDto.js","sourceRoot":"","sources":["../../models/ActionConfigDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ActionConfigDto.js","sourceRoot":"","sources":["../../models/ActionConfigDto.ts"],"names":[],"mappings":";;;AAeA,IAAiB,eAAe,CAQ/B;AARD,WAAiB,eAAe;IAC5B;;OAEG;IACH,IAAY,IAGX;IAHD,WAAY,IAAI;QACZ,qCAA6B,CAAA;QAC7B,6CAAqC,CAAA;IACzC,CAAC,EAHW,IAAI,GAAJ,oBAAI,KAAJ,oBAAI,QAGf;AACL,CAAC,EARgB,eAAe,+BAAf,eAAe,QAQ/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionFailureSummaryDto.js","sourceRoot":"","sources":["../../models/ActionFailureSummaryDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionsExecutedSummaryDto.js","sourceRoot":"","sources":["../../models/ActionsExecutedSummaryDto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type AlertActionConfigFieldsDto = {
|
|
2
|
+
/**
|
|
3
|
+
* Alert category
|
|
4
|
+
*/
|
|
5
|
+
category?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Alert sub-category
|
|
8
|
+
*/
|
|
9
|
+
subCategory?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Alert priority
|
|
12
|
+
*/
|
|
13
|
+
priority?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Alert status
|
|
16
|
+
*/
|
|
17
|
+
status?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Alert description
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Assignee user ID
|
|
24
|
+
*/
|
|
25
|
+
assigneeId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Due date offset in hours from alert creation time
|
|
28
|
+
*/
|
|
29
|
+
dueDateHours?: number;
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertActionConfigFieldsDto.js","sourceRoot":"","sources":["../../models/AlertActionConfigFieldsDto.ts"],"names":[],"mappings":""}
|
|
@@ -12,6 +12,10 @@ import type { BulkCorporateScreeningInput } from './BulkCorporateScreeningInput'
|
|
|
12
12
|
import type { BulkCorporateSourceOfFundsInput } from './BulkCorporateSourceOfFundsInput';
|
|
13
13
|
import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
|
|
14
14
|
export type BulkAppliedCorporateClientChanges = {
|
|
15
|
+
/**
|
|
16
|
+
* External reference ID for the corporate client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
17
|
+
*/
|
|
18
|
+
referenceId?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Activity status of the corporate client
|
|
17
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BulkAppliedCorporateClientChanges.js","sourceRoot":"","sources":["../../models/BulkAppliedCorporateClientChanges.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BulkAppliedCorporateClientChanges.js","sourceRoot":"","sources":["../../models/BulkAppliedCorporateClientChanges.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,iCAAiC,CAsBjD;AAtBD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,gDAAc,KAAd,gDAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,+CAAa,KAAb,+CAAa,QAUxB;AACL,CAAC,EAtBgB,iCAAiC,iDAAjC,iCAAiC,QAsBjD"}
|
|
@@ -11,6 +11,10 @@ import type { BulkIndividualSanctionsInput } from './BulkIndividualSanctionsInpu
|
|
|
11
11
|
import type { BulkIndividualWorkInput } from './BulkIndividualWorkInput';
|
|
12
12
|
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
13
13
|
export type BulkAppliedIndividualClientChanges = {
|
|
14
|
+
/**
|
|
15
|
+
* External reference ID for the individual client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
16
|
+
*/
|
|
17
|
+
referenceId?: string;
|
|
14
18
|
/**
|
|
15
19
|
* General information
|
|
16
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BulkAppliedIndividualClientChanges.js","sourceRoot":"","sources":["../../models/BulkAppliedIndividualClientChanges.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BulkAppliedIndividualClientChanges.js","sourceRoot":"","sources":["../../models/BulkAppliedIndividualClientChanges.ts"],"names":[],"mappings":";;;AA4GA,IAAiB,kCAAkC,CAsBlD;AAtBD,WAAiB,kCAAkC;IAC/C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,iDAAc,KAAd,iDAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,gDAAa,KAAb,gDAAa,QAUxB;AACL,CAAC,EAtBgB,kCAAkC,kDAAlC,kCAAkC,QAsBlD"}
|
|
@@ -12,6 +12,10 @@ import type { BulkCorporateScreeningInput } from './BulkCorporateScreeningInput'
|
|
|
12
12
|
import type { BulkCorporateSourceOfFundsInput } from './BulkCorporateSourceOfFundsInput';
|
|
13
13
|
import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
|
|
14
14
|
export type BulkCorporateClientUpdateFields = {
|
|
15
|
+
/**
|
|
16
|
+
* External reference ID for the corporate client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
17
|
+
*/
|
|
18
|
+
referenceId?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Activity status of the corporate client
|
|
17
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BulkCorporateClientUpdateFields.js","sourceRoot":"","sources":["../../models/BulkCorporateClientUpdateFields.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BulkCorporateClientUpdateFields.js","sourceRoot":"","sources":["../../models/BulkCorporateClientUpdateFields.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,+BAA+B,CAsB/C;AAtBD,WAAiB,+BAA+B;IAC5C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,8CAAc,KAAd,8CAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,6CAAa,KAAb,6CAAa,QAUxB;AACL,CAAC,EAtBgB,+BAA+B,+CAA/B,+BAA+B,QAsB/C"}
|
|
@@ -11,6 +11,10 @@ import type { BulkIndividualSanctionsInput } from './BulkIndividualSanctionsInpu
|
|
|
11
11
|
import type { BulkIndividualWorkInput } from './BulkIndividualWorkInput';
|
|
12
12
|
import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
|
|
13
13
|
export type BulkIndividualClientUpdateFields = {
|
|
14
|
+
/**
|
|
15
|
+
* External reference ID for the individual client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
16
|
+
*/
|
|
17
|
+
referenceId?: string;
|
|
14
18
|
/**
|
|
15
19
|
* General information about the individual client
|
|
16
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BulkIndividualClientUpdateFields.js","sourceRoot":"","sources":["../../models/BulkIndividualClientUpdateFields.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"BulkIndividualClientUpdateFields.js","sourceRoot":"","sources":["../../models/BulkIndividualClientUpdateFields.ts"],"names":[],"mappings":";;;AA4GA,IAAiB,gCAAgC,CAsBhD;AAtBD,WAAiB,gCAAgC;IAC7C;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,+CAAc,KAAd,+CAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,8CAAa,KAAb,8CAAa,QAUxB;AACL,CAAC,EAtBgB,gCAAgC,gDAAhC,gCAAgC,QAsBhD"}
|
|
@@ -126,6 +126,10 @@ export type CorporateClientDto = {
|
|
|
126
126
|
* ID or referenceId of the partner corporate client
|
|
127
127
|
*/
|
|
128
128
|
partnerClientId?: string;
|
|
129
|
+
/**
|
|
130
|
+
* Computed display name for the corporate client (legal entity name)
|
|
131
|
+
*/
|
|
132
|
+
overview_name?: string;
|
|
129
133
|
};
|
|
130
134
|
export declare namespace CorporateClientDto {
|
|
131
135
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAyIA,IAAiB,kBAAkB,CAsBlC;AAtBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,iCAAc,KAAd,iCAAc,QAGzB;AACL,CAAC,EAtBgB,kBAAkB,kCAAlB,kBAAkB,QAsBlC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { OperationInitiatorDto } from './OperationInitiatorDto';
|
|
2
|
+
import type { TransactionDto } from './TransactionDto';
|
|
3
|
+
export type CreateDepositOperationResponseDto = {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier of the deposit operation
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* ISO timestamp when the deposit operation was created or reported to the platform
|
|
10
|
+
*/
|
|
11
|
+
createdAt: string;
|
|
12
|
+
/**
|
|
13
|
+
* Transaction details for the deposit
|
|
14
|
+
*/
|
|
15
|
+
depositTransaction: TransactionDto;
|
|
16
|
+
/**
|
|
17
|
+
* Identifier of the user who initiated the deposit
|
|
18
|
+
*/
|
|
19
|
+
initiatedBy?: OperationInitiatorDto;
|
|
20
|
+
/**
|
|
21
|
+
* ISO timestamp when the deposit operation was initiated
|
|
22
|
+
*/
|
|
23
|
+
initiatedAt: string;
|
|
24
|
+
/**
|
|
25
|
+
* External reference ID for the deposit operation
|
|
26
|
+
*/
|
|
27
|
+
referenceId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* ISO timestamp when the deposit operation was last updated
|
|
30
|
+
*/
|
|
31
|
+
updatedAt: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateDepositOperationResponseDto.js","sourceRoot":"","sources":["../../models/CreateDepositOperationResponseDto.ts"],"names":[],"mappings":""}
|
|
@@ -38,7 +38,7 @@ export type CreateTradeOperationDto = {
|
|
|
38
38
|
*/
|
|
39
39
|
instrumentQuoteAsset: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* Initial status of the trade. Defaults to PENDING if not provided.
|
|
42
42
|
*/
|
|
43
43
|
status?: CreateTradeOperationDto.status;
|
|
44
44
|
/**
|
|
@@ -55,7 +55,7 @@ export declare namespace CreateTradeOperationDto {
|
|
|
55
55
|
SELL = "SELL"
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Initial status of the trade. Defaults to PENDING if not provided.
|
|
59
59
|
*/
|
|
60
60
|
enum status {
|
|
61
61
|
PENDING = "PENDING",
|
|
@@ -12,7 +12,7 @@ var CreateTradeOperationDto;
|
|
|
12
12
|
tradeType["SELL"] = "SELL";
|
|
13
13
|
})(tradeType = CreateTradeOperationDto.tradeType || (CreateTradeOperationDto.tradeType = {}));
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Initial status of the trade. Defaults to PENDING if not provided.
|
|
16
16
|
*/
|
|
17
17
|
let status;
|
|
18
18
|
(function (status) {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { OperationInitiatorDto } from './OperationInitiatorDto';
|
|
2
|
+
import type { OperationStatusDto } from './OperationStatusDto';
|
|
3
|
+
import type { TransactionDto } from './TransactionDto';
|
|
4
|
+
export type CreateTradeOperationResponseDto = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier of the trade operation
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* External reference ID for the trade operation
|
|
11
|
+
*/
|
|
12
|
+
referenceId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* ISO timestamp when the trade operation was created
|
|
15
|
+
*/
|
|
16
|
+
createdAt: string;
|
|
17
|
+
/**
|
|
18
|
+
* ISO timestamp when the trade operation was initiated or reported to the platform
|
|
19
|
+
*/
|
|
20
|
+
initiatedAt: string;
|
|
21
|
+
/**
|
|
22
|
+
* Identifier of the user who initiated the trade
|
|
23
|
+
*/
|
|
24
|
+
initiatedBy?: OperationInitiatorDto;
|
|
25
|
+
/**
|
|
26
|
+
* ISO timestamp when the trade operation was last updated
|
|
27
|
+
*/
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
/**
|
|
30
|
+
* Type of the trade
|
|
31
|
+
*/
|
|
32
|
+
tradeType: CreateTradeOperationResponseDto.tradeType;
|
|
33
|
+
/**
|
|
34
|
+
* Price of the trade
|
|
35
|
+
*/
|
|
36
|
+
price: number;
|
|
37
|
+
/**
|
|
38
|
+
* Quantity of the trade
|
|
39
|
+
*/
|
|
40
|
+
quantity: number;
|
|
41
|
+
/**
|
|
42
|
+
* Base asset of the trade
|
|
43
|
+
*/
|
|
44
|
+
instrumentBaseAsset: string;
|
|
45
|
+
/**
|
|
46
|
+
* The transactions for the trade
|
|
47
|
+
*/
|
|
48
|
+
transactions: TransactionDto;
|
|
49
|
+
/**
|
|
50
|
+
* Quote asset of the trade
|
|
51
|
+
*/
|
|
52
|
+
instrumentQuoteAsset: string;
|
|
53
|
+
/**
|
|
54
|
+
* Status history of the trade
|
|
55
|
+
*/
|
|
56
|
+
statusHistory?: Array<OperationStatusDto>;
|
|
57
|
+
};
|
|
58
|
+
export declare namespace CreateTradeOperationResponseDto {
|
|
59
|
+
/**
|
|
60
|
+
* Type of the trade
|
|
61
|
+
*/
|
|
62
|
+
enum tradeType {
|
|
63
|
+
BUY = "BUY",
|
|
64
|
+
SELL = "SELL"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateTradeOperationResponseDto = void 0;
|
|
4
|
+
var CreateTradeOperationResponseDto;
|
|
5
|
+
(function (CreateTradeOperationResponseDto) {
|
|
6
|
+
/**
|
|
7
|
+
* Type of the trade
|
|
8
|
+
*/
|
|
9
|
+
let tradeType;
|
|
10
|
+
(function (tradeType) {
|
|
11
|
+
tradeType["BUY"] = "BUY";
|
|
12
|
+
tradeType["SELL"] = "SELL";
|
|
13
|
+
})(tradeType = CreateTradeOperationResponseDto.tradeType || (CreateTradeOperationResponseDto.tradeType = {}));
|
|
14
|
+
})(CreateTradeOperationResponseDto || (exports.CreateTradeOperationResponseDto = CreateTradeOperationResponseDto = {}));
|
|
15
|
+
//# sourceMappingURL=CreateTradeOperationResponseDto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateTradeOperationResponseDto.js","sourceRoot":"","sources":["../../models/CreateTradeOperationResponseDto.ts"],"names":[],"mappings":";;;AA6DA,IAAiB,+BAA+B,CAQ/C;AARD,WAAiB,+BAA+B;IAC5C;;OAEG;IACH,IAAY,SAGX;IAHD,WAAY,SAAS;QACjB,wBAAW,CAAA;QACX,0BAAa,CAAA;IACjB,CAAC,EAHW,SAAS,GAAT,yCAAS,KAAT,yCAAS,QAGpB;AACL,CAAC,EARgB,+BAA+B,+CAA/B,+BAA+B,QAQ/C"}
|
|
@@ -60,6 +60,10 @@ export type CreateTransactionDto = {
|
|
|
60
60
|
* Integrations data for the transaction
|
|
61
61
|
*/
|
|
62
62
|
integrations?: TransactionIntegrationsDto;
|
|
63
|
+
/**
|
|
64
|
+
* When true, rules are evaluated synchronously before the response is returned. The transaction will include an evaluationResult field with the rule-engine decision, matched rules, and action outcomes. Only applies to new creates — ignored when upsert=true and a record already exists.
|
|
65
|
+
*/
|
|
66
|
+
evaluateSynchronously?: boolean;
|
|
63
67
|
};
|
|
64
68
|
export declare namespace CreateTransactionDto {
|
|
65
69
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateTransactionDto.js","sourceRoot":"","sources":["../../models/CreateTransactionDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"CreateTransactionDto.js","sourceRoot":"","sources":["../../models/CreateTransactionDto.ts"],"names":[],"mappings":";;;AAuEA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,YAIX;IAJD,WAAY,YAAY;QACpB,+CAA+B,CAAA;QAC/B,qCAAqB,CAAA;QACrB,qCAAqB,CAAA;IACzB,CAAC,EAJW,YAAY,GAAZ,iCAAY,KAAZ,iCAAY,QAIvB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { CorporateClientDto } from './CorporateClientDto';
|
|
2
|
+
import type { IndividualClientDto } from './IndividualClientDto';
|
|
3
|
+
import type { TransactionDto } from './TransactionDto';
|
|
4
|
+
export type CreateWithdrawalOperationResponseDto = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier of the withdrawal operation
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* External reference ID for the withdrawal operation
|
|
11
|
+
*/
|
|
12
|
+
referenceId?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Identifier of the user who initiated the withdrawal
|
|
15
|
+
*/
|
|
16
|
+
initiatedBy?: (CorporateClientDto | IndividualClientDto | string);
|
|
17
|
+
/**
|
|
18
|
+
* ISO timestamp when the withdrawal operation was initiated or reported to the platform
|
|
19
|
+
*/
|
|
20
|
+
initiatedAt: string;
|
|
21
|
+
/**
|
|
22
|
+
* Transaction details or reference for the withdrawal
|
|
23
|
+
*/
|
|
24
|
+
withdrawTransaction: TransactionDto;
|
|
25
|
+
/**
|
|
26
|
+
* ISO timestamp when the withdrawal operation was created
|
|
27
|
+
*/
|
|
28
|
+
createdAt: string;
|
|
29
|
+
/**
|
|
30
|
+
* ISO timestamp when the withdrawal operation was last updated
|
|
31
|
+
*/
|
|
32
|
+
updatedAt: string;
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateWithdrawalOperationResponseDto.js","sourceRoot":"","sources":["../../models/CreateWithdrawalOperationResponseDto.ts"],"names":[],"mappings":""}
|
|
@@ -15,6 +15,10 @@ export type EvaluationResultDto = {
|
|
|
15
15
|
matches: Array<RuleMatchDto>;
|
|
16
16
|
evaluatedAt: string;
|
|
17
17
|
latencyMs: number;
|
|
18
|
+
/**
|
|
19
|
+
* Number of matched evaluation rows actually inserted (undefined when persistence is fire-and-forget)
|
|
20
|
+
*/
|
|
21
|
+
matchedInsertCount?: number;
|
|
18
22
|
};
|
|
19
23
|
export declare namespace EvaluationResultDto {
|
|
20
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EvaluationResultDto.js","sourceRoot":"","sources":["../../models/EvaluationResultDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"EvaluationResultDto.js","sourceRoot":"","sources":["../../models/EvaluationResultDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,mBAAmB,CAQnC;AARD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,QAGX;IAHD,WAAY,QAAQ;QAChB,6BAAiB,CAAA;QACjB,2BAAe,CAAA;IACnB,CAAC,EAHW,QAAQ,GAAR,4BAAQ,KAAR,4BAAQ,QAGnB;AACL,CAAC,EARgB,mBAAmB,mCAAnB,mBAAmB,QAQnC"}
|
|
@@ -116,6 +116,10 @@ export type IndividualClientDto = {
|
|
|
116
116
|
* ID or referenceId of the partner corporate client
|
|
117
117
|
*/
|
|
118
118
|
partnerClientId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* Computed display name for the client (firstName + middleName + lastName)
|
|
121
|
+
*/
|
|
122
|
+
overview_name?: string;
|
|
119
123
|
};
|
|
120
124
|
export declare namespace IndividualClientDto {
|
|
121
125
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AA+HA,IAAiB,mBAAmB,CAsBnC;AAtBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,iCAAa,KAAb,iCAAa,QAUxB;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,kCAAc,KAAd,kCAAc,QAGzB;AACL,CAAC,EAtBgB,mBAAmB,mCAAnB,mBAAmB,QAsBnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchedRuleSummaryDto.js","sourceRoot":"","sources":["../../models/MatchedRuleSummaryDto.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { EvaluationResultDto } from './EvaluationResultDto';
|
|
1
2
|
import type { SessionSummaryDto } from './SessionSummaryDto';
|
|
2
3
|
import type { TransactionAmountDto } from './TransactionAmountDto';
|
|
3
4
|
import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
|
|
@@ -85,6 +86,10 @@ export type TransactionDto = {
|
|
|
85
86
|
* Session data associated with this transaction (IP, device, geo-location)
|
|
86
87
|
*/
|
|
87
88
|
session?: SessionSummaryDto;
|
|
89
|
+
/**
|
|
90
|
+
* Populated only when the transaction was created with evaluateSynchronously=true. Contains the rule-engine decision, matched rules, and any action failures.
|
|
91
|
+
*/
|
|
92
|
+
evaluationResult?: EvaluationResultDto;
|
|
88
93
|
};
|
|
89
94
|
export declare namespace TransactionDto {
|
|
90
95
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;AAiGA,IAAiB,cAAc,CAwB9B;AAxBD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,IAIX;IAJD,WAAY,IAAI;QACZ,2BAAmB,CAAA;QACnB,6BAAqB,CAAA;QACrB,uBAAe,CAAA;IACnB,CAAC,EAJW,IAAI,GAAJ,mBAAI,KAAJ,mBAAI,QAIf;IACD;;OAEG;IACH,IAAY,WAGX;IAHD,WAAY,WAAW;QACnB,0BAAW,CAAA;QACX,4BAAa,CAAA;IACjB,CAAC,EAHW,WAAW,GAAX,0BAAW,KAAX,0BAAW,QAGtB;IACD;;OAEG;IACH,IAAY,YAIX;IAJD,WAAY,YAAY;QACpB,+CAA+B,CAAA;QAC/B,qCAAqB,CAAA;QACrB,qCAAqB,CAAA;IACzB,CAAC,EAJW,YAAY,GAAZ,2BAAY,KAAZ,2BAAY,QAIvB;AACL,CAAC,EAxBgB,cAAc,8BAAd,cAAc,QAwB9B"}
|
|
@@ -15,6 +15,10 @@ export type TransactionStatusDto = {
|
|
|
15
15
|
* Additional status details
|
|
16
16
|
*/
|
|
17
17
|
subStatus?: string;
|
|
18
|
+
/**
|
|
19
|
+
* When true and the transaction belongs to a trade, recalculates the parent trade status from all transaction statuses using worst-wins logic. Has no effect for deposit/withdrawal transactions.
|
|
20
|
+
*/
|
|
21
|
+
updateParentStatus?: boolean;
|
|
18
22
|
};
|
|
19
23
|
export declare namespace TransactionStatusDto {
|
|
20
24
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionStatusDto.js","sourceRoot":"","sources":["../../models/TransactionStatusDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TransactionStatusDto.js","sourceRoot":"","sources":["../../models/TransactionStatusDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,oBAAoB,CAWpC;AAXD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,IAMX;IAND,WAAY,IAAI;QACZ,2BAAmB,CAAA;QACnB,2BAAmB,CAAA;QACnB,+BAAuB,CAAA;QACvB,yBAAiB,CAAA;QACjB,yBAAiB,CAAA;IACrB,CAAC,EANW,IAAI,GAAJ,yBAAI,KAAJ,yBAAI,QAMf;AACL,CAAC,EAXgB,oBAAoB,oCAApB,oBAAoB,QAWpC"}
|
|
@@ -12,6 +12,10 @@ import type { CorporateClientScreeningDto } from './CorporateClientScreeningDto'
|
|
|
12
12
|
import type { CorporateClientSourceOfFundsDto } from './CorporateClientSourceOfFundsDto';
|
|
13
13
|
import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
|
|
14
14
|
export type UpdateCorporateClientDto = {
|
|
15
|
+
/**
|
|
16
|
+
* External reference ID for the corporate client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
17
|
+
*/
|
|
18
|
+
referenceId?: string;
|
|
15
19
|
/**
|
|
16
20
|
* Activity status of the corporate client
|
|
17
21
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QAUxB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
|
|
@@ -11,6 +11,10 @@ import type { IndividualClientWorkInformationDto } from './IndividualClientWorkI
|
|
|
11
11
|
import type { PoliticalExposureDto } from './PoliticalExposureDto';
|
|
12
12
|
import type { SanctionsDto } from './SanctionsDto';
|
|
13
13
|
export type UpdateIndividualClientDto = {
|
|
14
|
+
/**
|
|
15
|
+
* External reference ID for the individual client. Can only be set if the existing value is null or empty; attempts to change an already-populated referenceId are silently ignored.
|
|
16
|
+
*/
|
|
17
|
+
referenceId?: string;
|
|
14
18
|
/**
|
|
15
19
|
* General information about the individual client
|
|
16
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AA4GA,IAAiB,yBAAyB,CAsBzC;AAtBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,wCAAc,KAAd,wCAAc,QAGzB;IACD;;OAEG;IACH,IAAY,aAUX;IAVD,WAAY,aAAa;QACrB,sCAAqB,CAAA;QACrB,0DAAyC,CAAA;QACzC,wCAAuB,CAAA;QACvB,sCAAqB,CAAA;QACrB,4CAA2B,CAAA;QAC3B,kCAAiB,CAAA;QACjB,wDAAuC,CAAA;QACvC,sDAAqC,CAAA;QACrC,oEAAmD,CAAA;IACvD,CAAC,EAVW,aAAa,GAAb,uCAAa,KAAb,uCAAa,QAUxB;AACL,CAAC,EAtBgB,yBAAyB,yCAAzB,yBAAyB,QAsBzC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateDepositOperationDto } from '../models/CreateDepositOperationDto';
|
|
2
|
+
import type { CreateDepositOperationResponseDto } from '../models/CreateDepositOperationResponseDto';
|
|
2
3
|
import type { DepositOperationDto } from '../models/DepositOperationDto';
|
|
3
4
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
5
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
@@ -9,10 +10,10 @@ export declare class DepositsService {
|
|
|
9
10
|
* Create a new deposit. If upsert is true, update existing deposit's transaction if found by referenceId and return updated
|
|
10
11
|
* @param requestBody
|
|
11
12
|
* @param upsert If true, update existing deposit's transaction if found by referenceId and return updated deposit
|
|
12
|
-
* @returns
|
|
13
|
+
* @returns CreateDepositOperationResponseDto Created deposit. When depositTransaction.evaluateSynchronously=true, the transaction includes an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
createDeposit(requestBody: CreateDepositOperationDto, upsert?: boolean): CancelablePromise<
|
|
16
|
+
createDeposit(requestBody: CreateDepositOperationDto, upsert?: boolean): CancelablePromise<CreateDepositOperationResponseDto>;
|
|
16
17
|
/**
|
|
17
18
|
* Get a deposit by ID or referenceId
|
|
18
19
|
* @param id
|
|
@@ -10,7 +10,7 @@ class DepositsService {
|
|
|
10
10
|
* Create a new deposit. If upsert is true, update existing deposit's transaction if found by referenceId and return updated
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param upsert If true, update existing deposit's transaction if found by referenceId and return updated deposit
|
|
13
|
-
* @returns
|
|
13
|
+
* @returns CreateDepositOperationResponseDto Created deposit. When depositTransaction.evaluateSynchronously=true, the transaction includes an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
14
14
|
* @throws ApiError
|
|
15
15
|
*/
|
|
16
16
|
createDeposit(requestBody, upsert) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositsService.js","sourceRoot":"","sources":["../../services/DepositsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"DepositsService.js","sourceRoot":"","sources":["../../services/DepositsService.ts"],"names":[],"mappings":";;;AASA,MAAa,eAAe;IACI;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,aAAa,CAChB,WAAsC,EACtC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,yBAAyB;YAC9B,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,UAAU,CACb,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,8BAA8B;YACnC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAxCD,0CAwCC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateTradeOperationDto } from '../models/CreateTradeOperationDto';
|
|
2
|
+
import type { CreateTradeOperationResponseDto } from '../models/CreateTradeOperationResponseDto';
|
|
2
3
|
import type { CreateTransactionDto } from '../models/CreateTransactionDto';
|
|
3
4
|
import type { OperationStatusUpdateDto } from '../models/OperationStatusUpdateDto';
|
|
4
5
|
import type { TradeOperationDto } from '../models/TradeOperationDto';
|
|
@@ -12,10 +13,10 @@ export declare class TradesService {
|
|
|
12
13
|
* @param requestBody
|
|
13
14
|
* @param shouldAppendToExistingTrade Whether to append transactions to an existing trade with matching properties
|
|
14
15
|
* @param upsert If true, update existing trade with matching referenceId instead of creating a new one
|
|
15
|
-
* @returns
|
|
16
|
+
* @returns CreateTradeOperationResponseDto Created trade. Transactions with evaluateSynchronously=true include an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
16
17
|
* @throws ApiError
|
|
17
18
|
*/
|
|
18
|
-
createTrade(requestBody: CreateTradeOperationDto, shouldAppendToExistingTrade?: boolean, upsert?: boolean): CancelablePromise<
|
|
19
|
+
createTrade(requestBody: CreateTradeOperationDto, shouldAppendToExistingTrade?: boolean, upsert?: boolean): CancelablePromise<CreateTradeOperationResponseDto>;
|
|
19
20
|
/**
|
|
20
21
|
* Update the status of a trade
|
|
21
22
|
* @param id
|
|
@@ -35,8 +36,9 @@ export declare class TradesService {
|
|
|
35
36
|
* Create a transaction and associate it to a trade
|
|
36
37
|
* @param id
|
|
37
38
|
* @param requestBody
|
|
39
|
+
* @param updateParentStatus When true, recalculates the trade status from all transaction statuses using worst-wins logic
|
|
38
40
|
* @returns TradeOperationDto
|
|
39
41
|
* @throws ApiError
|
|
40
42
|
*/
|
|
41
|
-
addTransaction(id: string, requestBody: CreateTransactionDto): CancelablePromise<TradeOperationDto>;
|
|
43
|
+
addTransaction(id: string, requestBody: CreateTransactionDto, updateParentStatus?: boolean): CancelablePromise<TradeOperationDto>;
|
|
42
44
|
}
|
|
@@ -11,7 +11,7 @@ class TradesService {
|
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param shouldAppendToExistingTrade Whether to append transactions to an existing trade with matching properties
|
|
13
13
|
* @param upsert If true, update existing trade with matching referenceId instead of creating a new one
|
|
14
|
-
* @returns
|
|
14
|
+
* @returns CreateTradeOperationResponseDto Created trade. Transactions with evaluateSynchronously=true include an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
15
15
|
* @throws ApiError
|
|
16
16
|
*/
|
|
17
17
|
createTrade(requestBody, shouldAppendToExistingTrade, upsert) {
|
|
@@ -63,16 +63,20 @@ class TradesService {
|
|
|
63
63
|
* Create a transaction and associate it to a trade
|
|
64
64
|
* @param id
|
|
65
65
|
* @param requestBody
|
|
66
|
+
* @param updateParentStatus When true, recalculates the trade status from all transaction statuses using worst-wins logic
|
|
66
67
|
* @returns TradeOperationDto
|
|
67
68
|
* @throws ApiError
|
|
68
69
|
*/
|
|
69
|
-
addTransaction(id, requestBody) {
|
|
70
|
+
addTransaction(id, requestBody, updateParentStatus) {
|
|
70
71
|
return this.httpRequest.request({
|
|
71
72
|
method: 'PUT',
|
|
72
73
|
url: '/v1/operations/trades/{id}/transactions',
|
|
73
74
|
path: {
|
|
74
75
|
'id': id,
|
|
75
76
|
},
|
|
77
|
+
query: {
|
|
78
|
+
'updateParentStatus': updateParentStatus,
|
|
79
|
+
},
|
|
76
80
|
body: requestBody,
|
|
77
81
|
mediaType: 'application/json',
|
|
78
82
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TradesService.js","sourceRoot":"","sources":["../../services/TradesService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"TradesService.js","sourceRoot":"","sources":["../../services/TradesService.ts"],"names":[],"mappings":";;;AAWA,MAAa,aAAa;IACM;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;;OAOG;IACI,WAAW,CACd,WAAoC,EACpC,2BAAqC,EACrC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,uBAAuB;YAC5B,KAAK,EAAE;gBACH,6BAA6B,EAAE,2BAA2B;gBAC1D,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,iBAAiB,CACpB,EAAU,EACV,WAAqC;QAErC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,QAAQ,CACX,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4BAA4B;YACjC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;;OAOG;IACI,cAAc,CACjB,EAAU,EACV,WAAiC,EACjC,kBAA4B;QAE5B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;YAC9C,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,oBAAoB,EAAE,kBAAkB;aAC3C;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AA1FD,sCA0FC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { CreateWithdrawalOperationDto } from '../models/CreateWithdrawalOperationDto';
|
|
2
|
+
import type { CreateWithdrawalOperationResponseDto } from '../models/CreateWithdrawalOperationResponseDto';
|
|
2
3
|
import type { WithdrawalOperationDto } from '../models/WithdrawalOperationDto';
|
|
3
4
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
5
|
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
@@ -9,10 +10,10 @@ export declare class WithdrawalsService {
|
|
|
9
10
|
* Create a new withdrawal. If upsert is true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
|
|
10
11
|
* @param requestBody
|
|
11
12
|
* @param upsert If true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
|
|
12
|
-
* @returns
|
|
13
|
+
* @returns CreateWithdrawalOperationResponseDto Created withdrawal. When withdrawTransaction.evaluateSynchronously=true, the transaction includes an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
createWithdrawal(requestBody: CreateWithdrawalOperationDto, upsert?: boolean): CancelablePromise<
|
|
16
|
+
createWithdrawal(requestBody: CreateWithdrawalOperationDto, upsert?: boolean): CancelablePromise<CreateWithdrawalOperationResponseDto>;
|
|
16
17
|
/**
|
|
17
18
|
* Get a withdrawal by ID or referenceId
|
|
18
19
|
* @param id
|
|
@@ -10,7 +10,7 @@ class WithdrawalsService {
|
|
|
10
10
|
* Create a new withdrawal. If upsert is true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
|
|
11
11
|
* @param requestBody
|
|
12
12
|
* @param upsert If true, update existing withdrawal's transaction if found by referenceId and return updated withdrawal
|
|
13
|
-
* @returns
|
|
13
|
+
* @returns CreateWithdrawalOperationResponseDto Created withdrawal. When withdrawTransaction.evaluateSynchronously=true, the transaction includes an evaluationResult with the rule-engine decision, matched rules, and action outcomes.
|
|
14
14
|
* @throws ApiError
|
|
15
15
|
*/
|
|
16
16
|
createWithdrawal(requestBody, upsert) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithdrawalsService.js","sourceRoot":"","sources":["../../services/WithdrawalsService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"WithdrawalsService.js","sourceRoot":"","sources":["../../services/WithdrawalsService.ts"],"names":[],"mappings":";;;AASA,MAAa,kBAAkB;IACC;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,gBAAgB,CACnB,WAAyC,EACzC,MAAgB;QAEhB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,4BAA4B;YACjC,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,aAAa,CAChB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,iCAAiC;YACtC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AAxCD,gDAwCC"}
|