@corsa-labs/sdk 4.41.0 → 4.43.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.
Files changed (176) hide show
  1. package/dist/index.d.ts +41 -0
  2. package/dist/index.js +35 -3
  3. package/dist/index.js.map +1 -1
  4. package/dist/models/ActionConfigDto.d.ts +2 -1
  5. package/dist/models/ActionConfigDto.js.map +1 -1
  6. package/dist/models/ActionFailureSummaryDto.d.ts +4 -0
  7. package/dist/models/ActionFailureSummaryDto.js +3 -0
  8. package/dist/models/ActionFailureSummaryDto.js.map +1 -0
  9. package/dist/models/ActionsExecutedSummaryDto.d.ts +3 -0
  10. package/dist/models/ActionsExecutedSummaryDto.js +3 -0
  11. package/dist/models/ActionsExecutedSummaryDto.js.map +1 -0
  12. package/dist/models/AlertActionConfigFieldsDto.d.ts +30 -0
  13. package/dist/models/AlertActionConfigFieldsDto.js +3 -0
  14. package/dist/models/AlertActionConfigFieldsDto.js.map +1 -0
  15. package/dist/models/AlertDto.d.ts +4 -0
  16. package/dist/models/AlertDto.js.map +1 -1
  17. package/dist/models/BulkAlertDecisionInput.d.ts +10 -0
  18. package/dist/models/BulkAlertDecisionInput.js +3 -0
  19. package/dist/models/BulkAlertDecisionInput.js.map +1 -0
  20. package/dist/models/BulkAlertSourceInput.d.ts +37 -0
  21. package/dist/models/BulkAlertSourceInput.js +21 -0
  22. package/dist/models/BulkAlertSourceInput.js.map +1 -0
  23. package/dist/models/BulkAlertUpdateFields.d.ts +8 -4
  24. package/dist/models/BulkAlertUpdateFields.js.map +1 -1
  25. package/dist/models/BulkAppliedAlertChanges.d.ts +197 -0
  26. package/dist/models/BulkAppliedAlertChanges.js +66 -0
  27. package/dist/models/BulkAppliedAlertChanges.js.map +1 -0
  28. package/dist/models/BulkAppliedCaseChanges.d.ts +88 -0
  29. package/dist/models/BulkAppliedCaseChanges.js +35 -0
  30. package/dist/models/BulkAppliedCaseChanges.js.map +1 -0
  31. package/dist/models/BulkAppliedCorporateClientChanges.d.ts +132 -0
  32. package/dist/models/BulkAppliedCorporateClientChanges.js +30 -0
  33. package/dist/models/BulkAppliedCorporateClientChanges.js.map +1 -0
  34. package/dist/models/BulkAppliedIndividualClientChanges.d.ts +127 -0
  35. package/dist/models/BulkAppliedIndividualClientChanges.js +30 -0
  36. package/dist/models/BulkAppliedIndividualClientChanges.js.map +1 -0
  37. package/dist/models/BulkAppliedTransactionChanges.d.ts +47 -0
  38. package/dist/models/BulkAppliedTransactionChanges.js +16 -0
  39. package/dist/models/BulkAppliedTransactionChanges.js.map +1 -0
  40. package/dist/models/BulkCaseInvestigationInput.d.ts +14 -0
  41. package/dist/models/BulkCaseInvestigationInput.js +3 -0
  42. package/dist/models/BulkCaseInvestigationInput.js.map +1 -0
  43. package/dist/models/BulkCaseStatusInput.d.ts +28 -0
  44. package/dist/models/BulkCaseStatusInput.js +20 -0
  45. package/dist/models/BulkCaseStatusInput.js.map +1 -0
  46. package/dist/models/BulkCaseUpdateFields.d.ts +4 -4
  47. package/dist/models/BulkCorporateAddressInput.d.ts +11 -0
  48. package/dist/models/BulkCorporateAddressInput.js +3 -0
  49. package/dist/models/BulkCorporateAddressInput.js.map +1 -0
  50. package/dist/models/BulkCorporateAdverseMediaInput.d.ts +37 -0
  51. package/dist/models/BulkCorporateAdverseMediaInput.js +17 -0
  52. package/dist/models/BulkCorporateAdverseMediaInput.js.map +1 -0
  53. package/dist/models/BulkCorporateApplicationInput.d.ts +14 -0
  54. package/dist/models/BulkCorporateApplicationInput.js +3 -0
  55. package/dist/models/BulkCorporateApplicationInput.js.map +1 -0
  56. package/dist/models/BulkCorporateBusinessInput.d.ts +136 -0
  57. package/dist/models/BulkCorporateBusinessInput.js +116 -0
  58. package/dist/models/BulkCorporateBusinessInput.js.map +1 -0
  59. package/dist/models/BulkCorporateClientUpdateFields.d.ts +29 -25
  60. package/dist/models/BulkCorporateClientUpdateFields.js.map +1 -1
  61. package/dist/models/BulkCorporateContactInput.d.ts +6 -0
  62. package/dist/models/BulkCorporateContactInput.js +3 -0
  63. package/dist/models/BulkCorporateContactInput.js.map +1 -0
  64. package/dist/models/BulkCorporateGeneralInput.d.ts +18 -0
  65. package/dist/models/BulkCorporateGeneralInput.js +3 -0
  66. package/dist/models/BulkCorporateGeneralInput.js.map +1 -0
  67. package/dist/models/BulkCorporateIntegrationsInput.d.ts +21 -0
  68. package/dist/models/BulkCorporateIntegrationsInput.js +3 -0
  69. package/dist/models/BulkCorporateIntegrationsInput.js.map +1 -0
  70. package/dist/models/BulkCorporatePEPInput.d.ts +34 -0
  71. package/dist/models/BulkCorporatePEPInput.js +18 -0
  72. package/dist/models/BulkCorporatePEPInput.js.map +1 -0
  73. package/dist/models/BulkCorporateRiskInput.d.ts +24 -0
  74. package/dist/models/BulkCorporateRiskInput.js +16 -0
  75. package/dist/models/BulkCorporateRiskInput.js.map +1 -0
  76. package/dist/models/BulkCorporateSanctionsInput.d.ts +11 -0
  77. package/dist/models/BulkCorporateSanctionsInput.js +3 -0
  78. package/dist/models/BulkCorporateSanctionsInput.js.map +1 -0
  79. package/dist/models/BulkCorporateScreeningInput.d.ts +10 -0
  80. package/dist/models/BulkCorporateScreeningInput.js +3 -0
  81. package/dist/models/BulkCorporateScreeningInput.js.map +1 -0
  82. package/dist/models/BulkCorporateSourceOfFundsInput.d.ts +39 -0
  83. package/dist/models/BulkCorporateSourceOfFundsInput.js +19 -0
  84. package/dist/models/BulkCorporateSourceOfFundsInput.js.map +1 -0
  85. package/dist/models/BulkIndividualAddressInput.d.ts +22 -0
  86. package/dist/models/BulkIndividualAddressInput.js +3 -0
  87. package/dist/models/BulkIndividualAddressInput.js.map +1 -0
  88. package/dist/models/BulkIndividualAdverseMediaInput.d.ts +6 -0
  89. package/dist/models/BulkIndividualAdverseMediaInput.js +3 -0
  90. package/dist/models/BulkIndividualAdverseMediaInput.js.map +1 -0
  91. package/dist/models/BulkIndividualApplicationInput.d.ts +28 -0
  92. package/dist/models/BulkIndividualApplicationInput.js +16 -0
  93. package/dist/models/BulkIndividualApplicationInput.js.map +1 -0
  94. package/dist/models/BulkIndividualClientUpdateFields.d.ts +27 -23
  95. package/dist/models/BulkIndividualClientUpdateFields.js.map +1 -1
  96. package/dist/models/BulkIndividualContactInput.d.ts +10 -0
  97. package/dist/models/BulkIndividualContactInput.js +3 -0
  98. package/dist/models/BulkIndividualContactInput.js.map +1 -0
  99. package/dist/models/BulkIndividualFinancialInput.d.ts +14 -0
  100. package/dist/models/BulkIndividualFinancialInput.js +3 -0
  101. package/dist/models/BulkIndividualFinancialInput.js.map +1 -0
  102. package/dist/models/BulkIndividualGeneralInput.d.ts +43 -0
  103. package/dist/models/BulkIndividualGeneralInput.js +15 -0
  104. package/dist/models/BulkIndividualGeneralInput.js.map +1 -0
  105. package/dist/models/BulkIndividualIntegrationsInput.d.ts +25 -0
  106. package/dist/models/BulkIndividualIntegrationsInput.js +3 -0
  107. package/dist/models/BulkIndividualIntegrationsInput.js.map +1 -0
  108. package/dist/models/BulkIndividualPoliticalExposureInput.d.ts +6 -0
  109. package/dist/models/BulkIndividualPoliticalExposureInput.js +3 -0
  110. package/dist/models/BulkIndividualPoliticalExposureInput.js.map +1 -0
  111. package/dist/models/BulkIndividualRiskInput.d.ts +24 -0
  112. package/dist/models/BulkIndividualRiskInput.js +16 -0
  113. package/dist/models/BulkIndividualRiskInput.js.map +1 -0
  114. package/dist/models/BulkIndividualSanctionsInput.d.ts +11 -0
  115. package/dist/models/BulkIndividualSanctionsInput.js +3 -0
  116. package/dist/models/BulkIndividualSanctionsInput.js.map +1 -0
  117. package/dist/models/BulkIndividualWorkInput.d.ts +6 -0
  118. package/dist/models/BulkIndividualWorkInput.js +3 -0
  119. package/dist/models/BulkIndividualWorkInput.js.map +1 -0
  120. package/dist/models/BulkTransactionAmountInput.d.ts +14 -0
  121. package/dist/models/BulkTransactionAmountInput.js +3 -0
  122. package/dist/models/BulkTransactionAmountInput.js.map +1 -0
  123. package/dist/models/BulkTransactionIntegrationsInput.d.ts +22 -0
  124. package/dist/models/BulkTransactionIntegrationsInput.js +3 -0
  125. package/dist/models/BulkTransactionIntegrationsInput.js.map +1 -0
  126. package/dist/models/BulkTransactionUpdateFields.d.ts +6 -6
  127. package/dist/models/BulkUpdatedAlertFieldsDto.d.ts +2 -1
  128. package/dist/models/BulkUpdatedCaseFieldsDto.d.ts +2 -1
  129. package/dist/models/BulkUpdatedCorporateClientDto.d.ts +2 -1
  130. package/dist/models/BulkUpdatedIndividualClientDto.d.ts +2 -1
  131. package/dist/models/BulkUpdatedTransactionDto.d.ts +2 -1
  132. package/dist/models/ConditionDto.d.ts +13 -0
  133. package/dist/models/ConditionDto.js +1 -0
  134. package/dist/models/ConditionDto.js.map +1 -1
  135. package/dist/models/CreateAlertDto.d.ts +4 -0
  136. package/dist/models/CreateAlertDto.js.map +1 -1
  137. package/dist/models/CreateDepositOperationResponseDto.d.ts +32 -0
  138. package/dist/models/CreateDepositOperationResponseDto.js +3 -0
  139. package/dist/models/CreateDepositOperationResponseDto.js.map +1 -0
  140. package/dist/models/CreateTradeOperationDto.d.ts +2 -2
  141. package/dist/models/CreateTradeOperationDto.js +1 -1
  142. package/dist/models/CreateTradeOperationResponseDto.d.ts +66 -0
  143. package/dist/models/CreateTradeOperationResponseDto.js +15 -0
  144. package/dist/models/CreateTradeOperationResponseDto.js.map +1 -0
  145. package/dist/models/CreateTransactionDto.d.ts +4 -0
  146. package/dist/models/CreateTransactionDto.js.map +1 -1
  147. package/dist/models/CreateWithdrawalOperationResponseDto.d.ts +33 -0
  148. package/dist/models/CreateWithdrawalOperationResponseDto.js +3 -0
  149. package/dist/models/CreateWithdrawalOperationResponseDto.js.map +1 -0
  150. package/dist/models/EvaluationResultDto.d.ts +4 -0
  151. package/dist/models/EvaluationResultDto.js.map +1 -1
  152. package/dist/models/MatchedRuleSummaryDto.d.ts +5 -0
  153. package/dist/models/MatchedRuleSummaryDto.js +3 -0
  154. package/dist/models/MatchedRuleSummaryDto.js.map +1 -0
  155. package/dist/models/TradeOperationDto.d.ts +1 -1
  156. package/dist/models/TransactionDto.d.ts +5 -0
  157. package/dist/models/TransactionDto.js.map +1 -1
  158. package/dist/models/TransactionIntegrationsDto.d.ts +4 -0
  159. package/dist/models/TransactionStatusDto.d.ts +4 -0
  160. package/dist/models/TransactionStatusDto.js.map +1 -1
  161. package/dist/models/UpdateAlertDto.d.ts +4 -0
  162. package/dist/models/UpdateAlertDto.js.map +1 -1
  163. package/dist/models/UpdateCorporateClientDto.d.ts +4 -0
  164. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  165. package/dist/models/UpdateIndividualClientDto.d.ts +4 -0
  166. package/dist/models/UpdateIndividualClientDto.js.map +1 -1
  167. package/dist/services/DepositsService.d.ts +3 -2
  168. package/dist/services/DepositsService.js +1 -1
  169. package/dist/services/DepositsService.js.map +1 -1
  170. package/dist/services/TradesService.d.ts +5 -3
  171. package/dist/services/TradesService.js +6 -2
  172. package/dist/services/TradesService.js.map +1 -1
  173. package/dist/services/WithdrawalsService.d.ts +3 -2
  174. package/dist/services/WithdrawalsService.js +1 -1
  175. package/dist/services/WithdrawalsService.js.map +1 -1
  176. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkIndividualFinancialInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualFinancialInput.js","sourceRoot":"","sources":["../../models/BulkIndividualFinancialInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
1
+ export type BulkIndividualGeneralInput = {
2
+ /**
3
+ * First name of the client
4
+ */
5
+ firstName?: string;
6
+ /**
7
+ * Middle name of the client
8
+ */
9
+ middleName?: string;
10
+ /**
11
+ * Last name of the client
12
+ */
13
+ lastName?: string;
14
+ /**
15
+ * Gender of the client
16
+ */
17
+ gender?: BulkIndividualGeneralInput.gender;
18
+ /**
19
+ * Date of birth of the client in YYYY-MM-DD format
20
+ */
21
+ dateOfBirth?: string;
22
+ /**
23
+ * Country code of citizenship
24
+ */
25
+ citizenship?: string;
26
+ /**
27
+ * Jurisdiction country code (ISO 3166-1 alpha-2)
28
+ */
29
+ jurisdiction?: string;
30
+ /**
31
+ * Personal identification number
32
+ */
33
+ personalId?: string;
34
+ };
35
+ export declare namespace BulkIndividualGeneralInput {
36
+ /**
37
+ * Gender of the client
38
+ */
39
+ enum gender {
40
+ MALE = "MALE",
41
+ FEMALE = "FEMALE"
42
+ }
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BulkIndividualGeneralInput = void 0;
4
+ var BulkIndividualGeneralInput;
5
+ (function (BulkIndividualGeneralInput) {
6
+ /**
7
+ * Gender of the client
8
+ */
9
+ let gender;
10
+ (function (gender) {
11
+ gender["MALE"] = "MALE";
12
+ gender["FEMALE"] = "FEMALE";
13
+ })(gender = BulkIndividualGeneralInput.gender || (BulkIndividualGeneralInput.gender = {}));
14
+ })(BulkIndividualGeneralInput || (exports.BulkIndividualGeneralInput = BulkIndividualGeneralInput = {}));
15
+ //# sourceMappingURL=BulkIndividualGeneralInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualGeneralInput.js","sourceRoot":"","sources":["../../models/BulkIndividualGeneralInput.ts"],"names":[],"mappings":";;;AAsCA,IAAiB,0BAA0B,CAQ1C;AARD,WAAiB,0BAA0B;IACvC;;OAEG;IACH,IAAY,MAGX;IAHD,WAAY,MAAM;QACd,uBAAa,CAAA;QACb,2BAAiB,CAAA;IACrB,CAAC,EAHW,MAAM,GAAN,iCAAM,KAAN,iCAAM,QAGjB;AACL,CAAC,EARgB,0BAA0B,0CAA1B,0BAA0B,QAQ1C"}
@@ -0,0 +1,25 @@
1
+ import type { ClientSumsubDto } from './ClientSumsubDto';
2
+ import type { PersonaIntegrationDto } from './PersonaIntegrationDto';
3
+ import type { PlainIntegrationDto } from './PlainIntegrationDto';
4
+ export type BulkIndividualIntegrationsInput = {
5
+ /**
6
+ * Sardine customer ID for the individual client
7
+ */
8
+ sardineCustomerId?: string;
9
+ /**
10
+ * Chainalysis user ID for the individual client
11
+ */
12
+ chainalysisUserId?: string;
13
+ /**
14
+ * Sumsub integration information
15
+ */
16
+ sumsub?: ClientSumsubDto;
17
+ /**
18
+ * Plain integration information
19
+ */
20
+ plain?: PlainIntegrationDto;
21
+ /**
22
+ * Persona integration information
23
+ */
24
+ persona?: PersonaIntegrationDto;
25
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkIndividualIntegrationsInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualIntegrationsInput.js","sourceRoot":"","sources":["../../models/BulkIndividualIntegrationsInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type BulkIndividualPoliticalExposureInput = {
2
+ /**
3
+ * Indicates if the client is politically exposed
4
+ */
5
+ isPoliticallyExposed?: boolean | null;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkIndividualPoliticalExposureInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualPoliticalExposureInput.js","sourceRoot":"","sources":["../../models/BulkIndividualPoliticalExposureInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ export type BulkIndividualRiskInput = {
2
+ /**
3
+ * Risk score value for the client. The score is a number between 0 and 100. 0-49 is low, 50-74 is medium, 75-100 is high
4
+ */
5
+ score?: number;
6
+ /**
7
+ * Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
8
+ */
9
+ level?: BulkIndividualRiskInput.level;
10
+ /**
11
+ * Explanation for the assigned risk score
12
+ */
13
+ reason?: string;
14
+ };
15
+ export declare namespace BulkIndividualRiskInput {
16
+ /**
17
+ * Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
18
+ */
19
+ enum level {
20
+ LOW = "LOW",
21
+ MEDIUM = "MEDIUM",
22
+ HIGH = "HIGH"
23
+ }
24
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BulkIndividualRiskInput = void 0;
4
+ var BulkIndividualRiskInput;
5
+ (function (BulkIndividualRiskInput) {
6
+ /**
7
+ * Risk level label based on the score. If you don't supply a level, the score will be used to calculate the level
8
+ */
9
+ let level;
10
+ (function (level) {
11
+ level["LOW"] = "LOW";
12
+ level["MEDIUM"] = "MEDIUM";
13
+ level["HIGH"] = "HIGH";
14
+ })(level = BulkIndividualRiskInput.level || (BulkIndividualRiskInput.level = {}));
15
+ })(BulkIndividualRiskInput || (exports.BulkIndividualRiskInput = BulkIndividualRiskInput = {}));
16
+ //# sourceMappingURL=BulkIndividualRiskInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualRiskInput.js","sourceRoot":"","sources":["../../models/BulkIndividualRiskInput.ts"],"names":[],"mappings":";;;AAkBA,IAAiB,uBAAuB,CASvC;AATD,WAAiB,uBAAuB;IACpC;;OAEG;IACH,IAAY,KAIX;IAJD,WAAY,KAAK;QACb,oBAAW,CAAA;QACX,0BAAiB,CAAA;QACjB,sBAAa,CAAA;IACjB,CAAC,EAJW,KAAK,GAAL,6BAAK,KAAL,6BAAK,QAIhB;AACL,CAAC,EATgB,uBAAuB,uCAAvB,uBAAuB,QASvC"}
@@ -0,0 +1,11 @@
1
+ import type { SanctionsListEntryDto } from './SanctionsListEntryDto';
2
+ export type BulkIndividualSanctionsInput = {
3
+ /**
4
+ * Indicates if the client is under any sanctions
5
+ */
6
+ isSanctioned?: boolean | null;
7
+ /**
8
+ * List of sanctions lists the client appears on
9
+ */
10
+ sanctionsList?: Array<SanctionsListEntryDto>;
11
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkIndividualSanctionsInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualSanctionsInput.js","sourceRoot":"","sources":["../../models/BulkIndividualSanctionsInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type BulkIndividualWorkInput = {
2
+ /**
3
+ * Current occupation of the client
4
+ */
5
+ occupation?: string;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkIndividualWorkInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkIndividualWorkInput.js","sourceRoot":"","sources":["../../models/BulkIndividualWorkInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,14 @@
1
+ export type BulkTransactionAmountInput = {
2
+ /**
3
+ * Amount of the transaction
4
+ */
5
+ amount?: number;
6
+ /**
7
+ * Currency - can be a crypto or fiat (if it's converted amount - should be a fiat - according to the platform's preferred currency)
8
+ */
9
+ currency?: string;
10
+ /**
11
+ * Net amount after fees
12
+ */
13
+ netAmount?: number;
14
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkTransactionAmountInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkTransactionAmountInput.js","sourceRoot":"","sources":["../../models/BulkTransactionAmountInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ export type BulkTransactionIntegrationsInput = {
2
+ /**
3
+ * Sardine transaction ID
4
+ */
5
+ sardineTransactionId?: string;
6
+ /**
7
+ * Chainalysis transaction ID
8
+ */
9
+ chainalysisTransactionId?: string;
10
+ /**
11
+ * Trm transaction ID
12
+ */
13
+ trmTransactionId?: string;
14
+ /**
15
+ * Utila transaction ID
16
+ */
17
+ utilaTransactionId?: string;
18
+ /**
19
+ * Fireblocks transaction ID
20
+ */
21
+ fireblocksTransactionId?: string;
22
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BulkTransactionIntegrationsInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BulkTransactionIntegrationsInput.js","sourceRoot":"","sources":["../../models/BulkTransactionIntegrationsInput.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
- import type { TransactionAmountDto } from './TransactionAmountDto';
1
+ import type { BulkTransactionAmountInput } from './BulkTransactionAmountInput';
2
+ import type { BulkTransactionIntegrationsInput } from './BulkTransactionIntegrationsInput';
2
3
  import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
3
- import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
4
4
  export type BulkTransactionUpdateFields = {
5
5
  /**
6
6
  * Blockchain transaction hash
@@ -9,11 +9,11 @@ export type BulkTransactionUpdateFields = {
9
9
  /**
10
10
  * Transaction amount details
11
11
  */
12
- amount?: TransactionAmountDto;
12
+ amount?: BulkTransactionAmountInput;
13
13
  /**
14
- * Converted amount details (e.g., to platform's preferred currency)
14
+ * Converted amount details
15
15
  */
16
- convertedAmount?: TransactionAmountDto;
16
+ convertedAmount?: BulkTransactionAmountInput;
17
17
  /**
18
18
  * Method used for payment
19
19
  */
@@ -29,7 +29,7 @@ export type BulkTransactionUpdateFields = {
29
29
  /**
30
30
  * Integrations data for the transaction
31
31
  */
32
- integrations?: TransactionIntegrationsDto;
32
+ integrations?: BulkTransactionIntegrationsInput;
33
33
  /**
34
34
  * Custom fields data
35
35
  */
@@ -1,3 +1,4 @@
1
+ import type { BulkAppliedAlertChanges } from './BulkAppliedAlertChanges';
1
2
  export type BulkUpdatedAlertFieldsDto = {
2
3
  /**
3
4
  * The ID of the updated alert
@@ -10,5 +11,5 @@ export type BulkUpdatedAlertFieldsDto = {
10
11
  /**
11
12
  * The fields that were applied to this entity
12
13
  */
13
- appliedChanges: Record<string, any>;
14
+ appliedChanges: BulkAppliedAlertChanges;
14
15
  };
@@ -1,3 +1,4 @@
1
+ import type { BulkAppliedCaseChanges } from './BulkAppliedCaseChanges';
1
2
  export type BulkUpdatedCaseFieldsDto = {
2
3
  /**
3
4
  * The ID of the updated case
@@ -10,5 +11,5 @@ export type BulkUpdatedCaseFieldsDto = {
10
11
  /**
11
12
  * The fields that were applied to this entity
12
13
  */
13
- appliedChanges: Record<string, any>;
14
+ appliedChanges: BulkAppliedCaseChanges;
14
15
  };
@@ -1,3 +1,4 @@
1
+ import type { BulkAppliedCorporateClientChanges } from './BulkAppliedCorporateClientChanges';
1
2
  export type BulkUpdatedCorporateClientDto = {
2
3
  /**
3
4
  * The ID of the updated client
@@ -10,5 +11,5 @@ export type BulkUpdatedCorporateClientDto = {
10
11
  /**
11
12
  * The fields that were applied to this entity
12
13
  */
13
- appliedChanges: Record<string, any>;
14
+ appliedChanges: BulkAppliedCorporateClientChanges;
14
15
  };
@@ -1,3 +1,4 @@
1
+ import type { BulkAppliedIndividualClientChanges } from './BulkAppliedIndividualClientChanges';
1
2
  export type BulkUpdatedIndividualClientDto = {
2
3
  /**
3
4
  * The ID of the updated client
@@ -10,5 +11,5 @@ export type BulkUpdatedIndividualClientDto = {
10
11
  /**
11
12
  * The fields that were applied to this entity
12
13
  */
13
- appliedChanges: Record<string, any>;
14
+ appliedChanges: BulkAppliedIndividualClientChanges;
14
15
  };
@@ -1,3 +1,4 @@
1
+ import type { BulkAppliedTransactionChanges } from './BulkAppliedTransactionChanges';
1
2
  export type BulkUpdatedTransactionDto = {
2
3
  /**
3
4
  * The ID of the updated transaction
@@ -10,5 +11,5 @@ export type BulkUpdatedTransactionDto = {
10
11
  /**
11
12
  * The fields that were applied to this entity
12
13
  */
13
- appliedChanges: Record<string, any>;
14
+ appliedChanges: BulkAppliedTransactionChanges;
14
15
  };
@@ -114,6 +114,18 @@ export type ConditionDto = {
114
114
  * Number of consecutive periods for MIN_PERIODIC_COUNT
115
115
  */
116
116
  aggregationPeriodCount?: number;
117
+ /**
118
+ * Minimum occurrence threshold for REPEATING_AMOUNT_COUNT (default 2)
119
+ */
120
+ aggregationThreshold?: number;
121
+ /**
122
+ * Tolerance percentage for similar amounts in REPEATING_AMOUNT_COUNT (0 = exact match)
123
+ */
124
+ aggregationTolerance?: number;
125
+ /**
126
+ * Status the streak must be followed by for CONSECUTIVE_STATUS_COUNT (e.g. COMPLETED)
127
+ */
128
+ aggregationFollowedByStatus?: string;
117
129
  /**
118
130
  * Resolved aggregation fact definition (internal use)
119
131
  */
@@ -191,6 +203,7 @@ export declare namespace ConditionDto {
191
203
  RAPID_DEPOSIT_WITHDRAWAL = "rapidDepositWithdrawal",
192
204
  NEW_COUNTERPARTY = "newCounterparty",
193
205
  SHARED_WALLET_USAGE = "sharedWalletUsage",
206
+ REPEATING_AMOUNT_COUNT = "repeatingAmountCount",
194
207
  DORMANT_REACTIVATION_ACTIVITY = "dormantReactivationActivity",
195
208
  CONSECUTIVE_STATUS_COUNT = "consecutiveStatusCount",
196
209
  MIN_PERIODIC_COUNT = "minPeriodicCount",
@@ -49,6 +49,7 @@ var ConditionDto;
49
49
  aggregationOperator["RAPID_DEPOSIT_WITHDRAWAL"] = "rapidDepositWithdrawal";
50
50
  aggregationOperator["NEW_COUNTERPARTY"] = "newCounterparty";
51
51
  aggregationOperator["SHARED_WALLET_USAGE"] = "sharedWalletUsage";
52
+ aggregationOperator["REPEATING_AMOUNT_COUNT"] = "repeatingAmountCount";
52
53
  aggregationOperator["DORMANT_REACTIVATION_ACTIVITY"] = "dormantReactivationActivity";
53
54
  aggregationOperator["CONSECUTIVE_STATUS_COUNT"] = "consecutiveStatusCount";
54
55
  aggregationOperator["MIN_PERIODIC_COUNT"] = "minPeriodicCount";
@@ -1 +1 @@
1
- {"version":3,"file":"ConditionDto.js","sourceRoot":"","sources":["../../models/ConditionDto.ts"],"names":[],"mappings":";;;AAyJA,IAAiB,YAAY,CA6H5B;AA7HD,WAAiB,YAAY;IACzB;;OAEG;IACH,IAAY,MAKX;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hC;IACD;;OAEG;IACH,IAAY,8BAGX;IAHD,WAAY,8BAA8B;QACtC,6CAAW,CAAA;QACX,iDAAe,CAAA;IACnB,CAAC,EAHW,8BAA8B,GAA9B,2CAA8B,KAA9B,2CAA8B,QAGzC;IACD;;OAEG;IACH,IAAY,QAYX;IAZD,WAAY,QAAQ;QAChB,2BAAe,CAAA;QACf,kCAAsB,CAAA;QACtB,wCAA4B,CAAA;QAC5B,2DAA+C,CAAA;QAC/C,kCAAsB,CAAA;QACtB,qDAAyC,CAAA;QACzC,qBAAS,CAAA;QACT,4BAAgB,CAAA;QAChB,iCAAqB,CAAA;QACrB,+CAAmC,CAAA;QACnC,+BAAmB,CAAA;IACvB,CAAC,EAZW,QAAQ,GAAR,qBAAQ,KAAR,qBAAQ,QAYnB;AACL,CAAC,EA9HgB,YAAY,4BAAZ,YAAY,QA8H5B"}
@@ -50,6 +50,10 @@ export type CreateAlertDto = {
50
50
  * List of transaction IDs associated with this alert (maximum 10)
51
51
  */
52
52
  associatedTransactions?: Array<string>;
53
+ /**
54
+ * The transaction ID that triggered this alert. Only one transaction can trigger an alert.
55
+ */
56
+ triggeringTransaction?: string;
53
57
  /**
54
58
  * List of attachment IDs associated with this alert
55
59
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;AAqJA,IAAiB,cAAc,CAuD9B;AAvDD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,QAcX;IAdD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,uBAAW,CAAA;QACX,6DAAiD,CAAA;QACjD,6EAAiE,CAAA;QACjE,uDAA2C,CAAA;QAC3C,2CAA+B,CAAA;QAC/B,+DAAmD,CAAA;QACnD,yDAA6C,CAAA;QAC7C,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAdW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AA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAdW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAcnB;IACD;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAInB;IACD;;OAEG;IACH,IAAY,MAKX;IALD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,iCAAuB,CAAA;QACvB,iCAAuB,CAAA;QACvB,+BAAqB,CAAA;IACzB,CAAC,EALW,MAAM,GAAN,qBAAM,KAAN,qBAAM,QAKjB;IACD;;OAEG;IACH,IAAY,iBAKX;IALD,WAAY,iBAAiB;QACzB,kCAAa,CAAA;QACb,gCAAW,CAAA;QACX,sCAAiB,CAAA;QACjB,kCAAa,CAAA;IACjB,CAAC,EALW,iBAAiB,GAAjB,gCAAiB,KAAjB,gCAAiB,QAK5B;IACD;;OAEG;IACH,IAAY,OAMX;IAND,WAAY,OAAO;QACf,4BAAiB,CAAA;QACjB,4BAAiB,CAAA;QACjB,4BAAiB,CAAA;QACjB,4BAAiB,CAAA;QACjB,4BAAiB,CAAA;IACrB,CAAC,EANW,OAAO,GAAP,sBAAO,KAAP,sBAAO,QAMlB;AACL,CAAC,EAvDgB,cAAc,8BAAd,cAAc,QAuD9B"}
@@ -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,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateDepositOperationResponseDto.js.map
@@ -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
- * Status of the trade
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
- * Status of the trade
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
- * Status of the trade
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":";;;AAmEA,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"}
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
+ };