@corsa-labs/sdk 4.16.13 → 4.18.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 (61) hide show
  1. package/dist/ComplianceClient.d.ts +2 -0
  2. package/dist/ComplianceClient.js +3 -0
  3. package/dist/ComplianceClient.js.map +1 -1
  4. package/dist/models/AlertCustomFieldDataDto.d.ts +22 -0
  5. package/dist/models/AlertCustomFieldDataDto.js +3 -0
  6. package/dist/models/AlertCustomFieldDataDto.js.map +1 -0
  7. package/dist/models/AlertDto.d.ts +2 -1
  8. package/dist/models/AlertDto.js.map +1 -1
  9. package/dist/models/BankAccountCustomFieldDataDto.d.ts +22 -0
  10. package/dist/models/BankAccountCustomFieldDataDto.js +3 -0
  11. package/dist/models/BankAccountCustomFieldDataDto.js.map +1 -0
  12. package/dist/models/BankAccountDto.d.ts +2 -1
  13. package/dist/models/BlockchainWalletCustomFieldDataDto.d.ts +22 -0
  14. package/dist/models/BlockchainWalletCustomFieldDataDto.js +3 -0
  15. package/dist/models/BlockchainWalletCustomFieldDataDto.js.map +1 -0
  16. package/dist/models/BlockchainWalletDto.d.ts +2 -1
  17. package/dist/models/CopyRuleTemplateResponseDto.d.ts +3 -0
  18. package/dist/models/CopyRuleTemplateResponseDto.js +3 -0
  19. package/dist/models/CopyRuleTemplateResponseDto.js.map +1 -0
  20. package/dist/models/CorporateClientCustomFieldDataDto.d.ts +40 -0
  21. package/dist/models/CorporateClientCustomFieldDataDto.js +20 -0
  22. package/dist/models/CorporateClientCustomFieldDataDto.js.map +1 -0
  23. package/dist/models/CorporateClientDto.d.ts +2 -1
  24. package/dist/models/CorporateClientDto.js.map +1 -1
  25. package/dist/models/CreateAlertDto.d.ts +2 -1
  26. package/dist/models/CreateAlertDto.js.map +1 -1
  27. package/dist/models/CreateBankAccountDto.d.ts +2 -1
  28. package/dist/models/CreateBankAccountDto.js.map +1 -1
  29. package/dist/models/CreateBlockchainWalletDto.d.ts +2 -1
  30. package/dist/models/CreateCorporateClientDto.d.ts +2 -1
  31. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  32. package/dist/models/CreateIndividualClientDto.d.ts +2 -1
  33. package/dist/models/CreateIndividualClientDto.js.map +1 -1
  34. package/dist/models/CreateTransactionDto.d.ts +2 -1
  35. package/dist/models/IndividualClientCustomFieldDataDto.d.ts +40 -0
  36. package/dist/models/IndividualClientCustomFieldDataDto.js +20 -0
  37. package/dist/models/IndividualClientCustomFieldDataDto.js.map +1 -0
  38. package/dist/models/IndividualClientDto.d.ts +2 -1
  39. package/dist/models/IndividualClientDto.js.map +1 -1
  40. package/dist/models/RuleTemplateResponseDto.d.ts +12 -0
  41. package/dist/models/RuleTemplateResponseDto.js +3 -0
  42. package/dist/models/RuleTemplateResponseDto.js.map +1 -0
  43. package/dist/models/TransactionCustomFieldDto.d.ts +22 -0
  44. package/dist/models/TransactionCustomFieldDto.js +3 -0
  45. package/dist/models/TransactionCustomFieldDto.js.map +1 -0
  46. package/dist/models/TransactionDto.d.ts +2 -1
  47. package/dist/models/TransactionDto.js.map +1 -1
  48. package/dist/models/UpdateAlertDto.d.ts +2 -1
  49. package/dist/models/UpdateAlertDto.js.map +1 -1
  50. package/dist/models/UpdateBankAccountDto.d.ts +6 -1
  51. package/dist/models/UpdateBankAccountDto.js.map +1 -1
  52. package/dist/models/UpdateBlockchainWalletDto.d.ts +6 -1
  53. package/dist/models/UpdateCorporateClientDto.d.ts +2 -1
  54. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  55. package/dist/models/UpdateIndividualClientDto.d.ts +2 -1
  56. package/dist/models/UpdateIndividualClientDto.js.map +1 -1
  57. package/dist/models/UpdateTransactionDto.d.ts +2 -1
  58. package/dist/services/RuleTemplatesService.d.ts +157 -0
  59. package/dist/services/RuleTemplatesService.js +192 -0
  60. package/dist/services/RuleTemplatesService.js.map +1 -0
  61. package/package.json +1 -1
@@ -12,6 +12,7 @@ import { EvaluationService } from './services/EvaluationService';
12
12
  import { MembersService } from './services/MembersService';
13
13
  import { PlatformService } from './services/PlatformService';
14
14
  import { RulesService } from './services/RulesService';
15
+ import { RuleTemplatesService } from './services/RuleTemplatesService';
15
16
  import { TradesService } from './services/TradesService';
16
17
  import { TransactionsService } from './services/TransactionsService';
17
18
  import { WithdrawalsService } from './services/WithdrawalsService';
@@ -29,6 +30,7 @@ export declare class ComplianceClient {
29
30
  readonly members: MembersService;
30
31
  readonly platform: PlatformService;
31
32
  readonly rules: RulesService;
33
+ readonly ruleTemplates: RuleTemplatesService;
32
34
  readonly trades: TradesService;
33
35
  readonly transactions: TransactionsService;
34
36
  readonly withdrawals: WithdrawalsService;
@@ -14,6 +14,7 @@ const EvaluationService_1 = require("./services/EvaluationService");
14
14
  const MembersService_1 = require("./services/MembersService");
15
15
  const PlatformService_1 = require("./services/PlatformService");
16
16
  const RulesService_1 = require("./services/RulesService");
17
+ const RuleTemplatesService_1 = require("./services/RuleTemplatesService");
17
18
  const TradesService_1 = require("./services/TradesService");
18
19
  const TransactionsService_1 = require("./services/TransactionsService");
19
20
  const WithdrawalsService_1 = require("./services/WithdrawalsService");
@@ -30,6 +31,7 @@ class ComplianceClient {
30
31
  members;
31
32
  platform;
32
33
  rules;
34
+ ruleTemplates;
33
35
  trades;
34
36
  transactions;
35
37
  withdrawals;
@@ -58,6 +60,7 @@ class ComplianceClient {
58
60
  this.members = new MembersService_1.MembersService(this.request);
59
61
  this.platform = new PlatformService_1.PlatformService(this.request);
60
62
  this.rules = new RulesService_1.RulesService(this.request);
63
+ this.ruleTemplates = new RuleTemplatesService_1.RuleTemplatesService(this.request);
61
64
  this.trades = new TradesService_1.TradesService(this.request);
62
65
  this.transactions = new TransactionsService_1.TransactionsService(this.request);
63
66
  this.withdrawals = new WithdrawalsService_1.WithdrawalsService(this.request);
@@ -1 +1 @@
1
- {"version":3,"file":"ComplianceClient.js","sourceRoot":"","sources":["../ComplianceClient.ts"],"names":[],"mappings":";;;AAMA,8DAA2D;AAC3D,4DAAyD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O,CAAC,CAAC;QAC1D,IAAI,CAAC,iBAAiB,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACpE,IAAI,CAAC,KAAK,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,UAAU,GAAG,IAAI,qCAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,IAAI,iCAAe,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,UAAU,GAAG,IAAI,qCAAiB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtD,IAAI,CAAC,OAAO,GAAG,IAAI,+BAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAChD,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,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,WAAW,GAAG,IAAI,uCAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CACJ;AA/CD,4CA+CC"}
@@ -0,0 +1,22 @@
1
+ export type AlertCustomFieldDataDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
16
+ */
17
+ possibleValues?: Array<string>;
18
+ /**
19
+ * Whether this custom field is immutable and cannot be changed after creation
20
+ */
21
+ immutable?: boolean;
22
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=AlertCustomFieldDataDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/AlertCustomFieldDataDto.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
1
2
  import type { AlertSourceDto } from './AlertSourceDto';
2
3
  import type { AlertStatusData } from './AlertStatusData';
3
4
  import type { AssociatedCaseDto } from './AssociatedCaseDto';
@@ -47,7 +48,7 @@ export type AlertDto = {
47
48
  /**
48
49
  * Custom fields data
49
50
  */
50
- customFields?: Record<string, any>;
51
+ customFields?: Record<string, AlertCustomFieldDataDto>;
51
52
  /**
52
53
  * The status history of the alert
53
54
  */
@@ -1 +1 @@
1
- {"version":3,"file":"AlertDto.js","sourceRoot":"","sources":["../../models/AlertDto.ts"],"names":[],"mappings":";;;AAuFA,IAAiB,QAAQ,CAmCxB;AAnCD,WAAiB,QAAQ;IACrB;;OAEG;IACH,IAAY,QAaX;IAbD,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,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CA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,CAAA;QACvB,+BAAqB,CAAA;IACzB,CAAC,EALW,MAAM,GAAN,eAAM,KAAN,eAAM,QAKjB;AACL,CAAC,EAnCgB,QAAQ,wBAAR,QAAQ,QAmCxB"}
@@ -0,0 +1,22 @@
1
+ export type BankAccountCustomFieldDataDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
16
+ */
17
+ possibleValues?: Array<string>;
18
+ /**
19
+ * Whether this custom field is immutable and cannot be changed after creation
20
+ */
21
+ immutable?: boolean;
22
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BankAccountCustomFieldDataDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BankAccountCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/BankAccountCustomFieldDataDto.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import type { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
1
2
  import type { ClientAssociatedToAccountDto } from './ClientAssociatedToAccountDto';
2
3
  import type { RiskDto } from './RiskDto';
3
4
  export type BankAccountDto = {
@@ -68,5 +69,5 @@ export type BankAccountDto = {
68
69
  /**
69
70
  * Custom fields data
70
71
  */
71
- customFields?: Record<string, any>;
72
+ customFields?: Record<string, BankAccountCustomFieldDataDto>;
72
73
  };
@@ -0,0 +1,22 @@
1
+ export type BlockchainWalletCustomFieldDataDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
16
+ */
17
+ possibleValues?: Array<string>;
18
+ /**
19
+ * Whether this custom field is immutable and cannot be changed after creation
20
+ */
21
+ immutable?: boolean;
22
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BlockchainWalletCustomFieldDataDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockchainWalletCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/BlockchainWalletCustomFieldDataDto.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
+ import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
1
2
  import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
2
3
  import type { ClientAssociatedToBlockchainWalletDto } from './ClientAssociatedToBlockchainWalletDto';
3
4
  import type { RiskDto } from './RiskDto';
@@ -45,7 +46,7 @@ export type BlockchainWalletDto = {
45
46
  /**
46
47
  * Custom fields data
47
48
  */
48
- customFields?: Record<string, any>;
49
+ customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
49
50
  /**
50
51
  * Integrations data for the blockchain wallet
51
52
  */
@@ -0,0 +1,3 @@
1
+ export type CopyRuleTemplateResponseDto = {
2
+ ruleId: string;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CopyRuleTemplateResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CopyRuleTemplateResponseDto.js","sourceRoot":"","sources":["../../models/CopyRuleTemplateResponseDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ export type CorporateClientCustomFieldDataDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Category of the custom field
16
+ */
17
+ category: CorporateClientCustomFieldDataDto.category;
18
+ /**
19
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
20
+ */
21
+ possibleValues?: Array<string>;
22
+ /**
23
+ * Whether this custom field is immutable and cannot be changed after creation
24
+ */
25
+ immutable?: boolean;
26
+ };
27
+ export declare namespace CorporateClientCustomFieldDataDto {
28
+ /**
29
+ * Category of the custom field
30
+ */
31
+ enum category {
32
+ GENERAL = "GENERAL",
33
+ ADDRESS = "ADDRESS",
34
+ BUSINESS = "BUSINESS",
35
+ FINANCIAL = "FINANCIAL",
36
+ APPLICATION = "APPLICATION",
37
+ VERIFICATION = "VERIFICATION",
38
+ OTHER = "OTHER"
39
+ }
40
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CorporateClientCustomFieldDataDto = void 0;
4
+ var CorporateClientCustomFieldDataDto;
5
+ (function (CorporateClientCustomFieldDataDto) {
6
+ /**
7
+ * Category of the custom field
8
+ */
9
+ let category;
10
+ (function (category) {
11
+ category["GENERAL"] = "GENERAL";
12
+ category["ADDRESS"] = "ADDRESS";
13
+ category["BUSINESS"] = "BUSINESS";
14
+ category["FINANCIAL"] = "FINANCIAL";
15
+ category["APPLICATION"] = "APPLICATION";
16
+ category["VERIFICATION"] = "VERIFICATION";
17
+ category["OTHER"] = "OTHER";
18
+ })(category = CorporateClientCustomFieldDataDto.category || (CorporateClientCustomFieldDataDto.category = {}));
19
+ })(CorporateClientCustomFieldDataDto || (exports.CorporateClientCustomFieldDataDto = CorporateClientCustomFieldDataDto = {}));
20
+ //# sourceMappingURL=CorporateClientCustomFieldDataDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/CorporateClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,iCAAiC,CAajD;AAbD,WAAiB,iCAAiC;IAC9C;;OAEG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,iCAAqB,CAAA;QACrB,mCAAuB,CAAA;QACvB,uCAA2B,CAAA;QAC3B,yCAA6B,CAAA;QAC7B,2BAAe,CAAA;IACnB,CAAC,EARW,QAAQ,GAAR,0CAAQ,KAAR,0CAAQ,QAQnB;AACL,CAAC,EAbgB,iCAAiC,iDAAjC,iCAAiC,QAajD"}
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
2
2
  import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
3
3
  import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
4
4
  import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
5
+ import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
5
6
  import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
6
7
  import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
7
8
  import type { CorporateClientMembersDto } from './CorporateClientMembersDto';
@@ -69,7 +70,7 @@ export type CorporateClientDto = {
69
70
  /**
70
71
  * Custom fields data
71
72
  */
72
- customFields?: Record<string, any>;
73
+ customFields?: Record<string, CorporateClientCustomFieldDataDto>;
73
74
  /**
74
75
  * List of financial operation IDs associated with the client
75
76
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAsHA,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"}
1
+ {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAuHA,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"}
@@ -1,3 +1,4 @@
1
+ import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
1
2
  import type { AlertDecisionDto } from './AlertDecisionDto';
2
3
  import type { AlertSourceDto } from './AlertSourceDto';
3
4
  export type CreateAlertDto = {
@@ -56,7 +57,7 @@ export type CreateAlertDto = {
56
57
  /**
57
58
  * Custom fields data
58
59
  */
59
- customFields?: Record<string, any>;
60
+ customFields?: Record<string, AlertCustomFieldDataDto>;
60
61
  /**
61
62
  * ISO Date when the alert is due
62
63
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;AAoEA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,QAaX;IAbD,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,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;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;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
1
+ {"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;AAqEA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;OAEG;IACH,IAAY,QAaX;IAbD,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,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;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;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
@@ -1,3 +1,4 @@
1
+ import type { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
1
2
  import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
2
3
  import type { RiskDto } from './RiskDto';
3
4
  export type CreateBankAccountDto = {
@@ -52,7 +53,7 @@ export type CreateBankAccountDto = {
52
53
  /**
53
54
  * Custom fields data
54
55
  */
55
- customFields?: Record<string, any>;
56
+ customFields?: Record<string, BankAccountCustomFieldDataDto>;
56
57
  /**
57
58
  * List of clients associated with the bank account (maximum 50)
58
59
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateBankAccountDto.js","sourceRoot":"","sources":["../../models/CreateBankAccountDto.ts"],"names":[],"mappings":";;;AAgEA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
1
+ {"version":3,"file":"CreateBankAccountDto.js","sourceRoot":"","sources":["../../models/CreateBankAccountDto.ts"],"names":[],"mappings":";;;AAiEA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
@@ -1,3 +1,4 @@
1
+ import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
1
2
  import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
2
3
  import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
3
4
  import type { RiskDto } from './RiskDto';
@@ -25,7 +26,7 @@ export type CreateBlockchainWalletDto = {
25
26
  /**
26
27
  * Custom fields data
27
28
  */
28
- customFields?: Record<string, any>;
29
+ customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
29
30
  /**
30
31
  * List of clients associated with the blockchain wallet (maximum 50)
31
32
  */
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
2
2
  import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
3
3
  import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
4
4
  import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
5
+ import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
5
6
  import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
6
7
  import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
7
8
  import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
@@ -73,7 +74,7 @@ export type CreateCorporateClientDto = {
73
74
  /**
74
75
  * Custom fields data
75
76
  */
76
- customFields?: Record<string, any>;
77
+ customFields?: Record<string, CorporateClientCustomFieldDataDto>;
77
78
  /**
78
79
  * Integrations
79
80
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAqFA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;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;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
1
+ {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAsFA,IAAiB,wBAAwB,CAsBxC;AAtBD,WAAiB,wBAAwB;IACrC;;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;IACD;;OAEG;IACH,IAAY,cAGX;IAHD,WAAY,cAAc;QACtB,mCAAiB,CAAA;QACjB,2CAAyB,CAAA;IAC7B,CAAC,EAHW,cAAc,GAAd,uCAAc,KAAd,uCAAc,QAGzB;AACL,CAAC,EAtBgB,wBAAwB,wCAAxB,wBAAwB,QAsBxC"}
@@ -2,6 +2,7 @@ import type { AdverseMediaDto } from './AdverseMediaDto';
2
2
  import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
3
3
  import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
4
4
  import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
5
+ import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
5
6
  import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
6
7
  import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
7
8
  import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
@@ -58,7 +59,7 @@ export type CreateIndividualClientDto = {
58
59
  /**
59
60
  * Custom fields data
60
61
  */
61
- customFields?: Record<string, any>;
62
+ customFields?: Record<string, IndividualClientCustomFieldDataDto>;
62
63
  /**
63
64
  * Financial information of the individual client
64
65
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AA0FA,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
+ {"version":3,"file":"CreateIndividualClientDto.js","sourceRoot":"","sources":["../../models/CreateIndividualClientDto.ts"],"names":[],"mappings":";;;AA2FA,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,5 +1,6 @@
1
1
  import type { CreateTransactionSourceOrDestinationClientDto } from './CreateTransactionSourceOrDestinationClientDto';
2
2
  import type { TransactionAmountDto } from './TransactionAmountDto';
3
+ import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
3
4
  import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
4
5
  import type { TransactionStatusDto } from './TransactionStatusDto';
5
6
  export type CreateTransactionDto = {
@@ -46,7 +47,7 @@ export type CreateTransactionDto = {
46
47
  /**
47
48
  * Custom fields data
48
49
  */
49
- customFields?: Record<string, any>;
50
+ customFields?: Record<string, TransactionCustomFieldDto>;
50
51
  /**
51
52
  * Integrations data for the transaction
52
53
  */
@@ -0,0 +1,40 @@
1
+ export type IndividualClientCustomFieldDataDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Category of the custom field
16
+ */
17
+ category?: IndividualClientCustomFieldDataDto.category;
18
+ /**
19
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
20
+ */
21
+ possibleValues?: Array<string>;
22
+ /**
23
+ * Whether this custom field is immutable and cannot be changed after creation
24
+ */
25
+ immutable?: boolean;
26
+ };
27
+ export declare namespace IndividualClientCustomFieldDataDto {
28
+ /**
29
+ * Category of the custom field
30
+ */
31
+ enum category {
32
+ GENERAL = "GENERAL",
33
+ ADDRESS = "ADDRESS",
34
+ CONTACT = "CONTACT",
35
+ WORK = "WORK",
36
+ FINANCIAL = "FINANCIAL",
37
+ APPLICATION = "APPLICATION",
38
+ VERIFICATION = "VERIFICATION"
39
+ }
40
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IndividualClientCustomFieldDataDto = void 0;
4
+ var IndividualClientCustomFieldDataDto;
5
+ (function (IndividualClientCustomFieldDataDto) {
6
+ /**
7
+ * Category of the custom field
8
+ */
9
+ let category;
10
+ (function (category) {
11
+ category["GENERAL"] = "GENERAL";
12
+ category["ADDRESS"] = "ADDRESS";
13
+ category["CONTACT"] = "CONTACT";
14
+ category["WORK"] = "WORK";
15
+ category["FINANCIAL"] = "FINANCIAL";
16
+ category["APPLICATION"] = "APPLICATION";
17
+ category["VERIFICATION"] = "VERIFICATION";
18
+ })(category = IndividualClientCustomFieldDataDto.category || (IndividualClientCustomFieldDataDto.category = {}));
19
+ })(IndividualClientCustomFieldDataDto || (exports.IndividualClientCustomFieldDataDto = IndividualClientCustomFieldDataDto = {}));
20
+ //# sourceMappingURL=IndividualClientCustomFieldDataDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IndividualClientCustomFieldDataDto.js","sourceRoot":"","sources":["../../models/IndividualClientCustomFieldDataDto.ts"],"names":[],"mappings":";;;AA8BA,IAAiB,kCAAkC,CAalD;AAbD,WAAiB,kCAAkC;IAC/C;;OAEG;IACH,IAAY,QAQX;IARD,WAAY,QAAQ;QAChB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,+BAAmB,CAAA;QACnB,yBAAa,CAAA;QACb,mCAAuB,CAAA;QACvB,uCAA2B,CAAA;QAC3B,yCAA6B,CAAA;IACjC,CAAC,EARW,QAAQ,GAAR,2CAAQ,KAAR,2CAAQ,QAQnB;AACL,CAAC,EAbgB,kCAAkC,kDAAlC,kCAAkC,QAalD"}
@@ -2,6 +2,7 @@ import type { AdverseMediaDto } from './AdverseMediaDto';
2
2
  import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
3
3
  import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
4
4
  import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
5
+ import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
5
6
  import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
6
7
  import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
7
8
  import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
@@ -57,7 +58,7 @@ export type IndividualClientDto = {
57
58
  /**
58
59
  * Custom fields data
59
60
  */
60
- customFields?: Record<string, any>;
61
+ customFields?: Record<string, IndividualClientCustomFieldDataDto>;
61
62
  /**
62
63
  * Financial information
63
64
  */
@@ -1 +1 @@
1
- {"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAsHA,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"}
1
+ {"version":3,"file":"IndividualClientDto.js","sourceRoot":"","sources":["../../models/IndividualClientDto.ts"],"names":[],"mappings":";;;AAuHA,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,12 @@
1
+ export type RuleTemplateResponseDto = {
2
+ id: string;
3
+ templateKey: string;
4
+ name: string;
5
+ description: string | null;
6
+ products: Array<string>;
7
+ typologies: Array<string>;
8
+ conditions: Record<string, any>;
9
+ actions: Array<Record<string, any>>;
10
+ createdAt: string;
11
+ updatedAt: string;
12
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RuleTemplateResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuleTemplateResponseDto.js","sourceRoot":"","sources":["../../models/RuleTemplateResponseDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,22 @@
1
+ export type TransactionCustomFieldDto = {
2
+ /**
3
+ * The label of the custom field
4
+ */
5
+ label: string;
6
+ /**
7
+ * Value of the custom field. It can be a string, number, boolean, object (JSON), or array of objects. If you'd like to submit a country code, use the ISO 3166-1 alpha-2 code. If you'd like to submit a date, use the ISO 8601 format.
8
+ */
9
+ value: (string | number | boolean | Record<string, any>);
10
+ /**
11
+ * Description of the custom field
12
+ */
13
+ description?: string;
14
+ /**
15
+ * Array of possible values for this custom field (enum). Only applies to string and number values.
16
+ */
17
+ possibleValues?: Array<string>;
18
+ /**
19
+ * Whether this custom field is immutable and cannot be changed after creation
20
+ */
21
+ immutable?: boolean;
22
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=TransactionCustomFieldDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TransactionCustomFieldDto.js","sourceRoot":"","sources":["../../models/TransactionCustomFieldDto.ts"],"names":[],"mappings":""}
@@ -1,4 +1,5 @@
1
1
  import type { TransactionAmountDto } from './TransactionAmountDto';
2
+ import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
2
3
  import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
3
4
  import type { TransactionSourceOrDestinationDto } from './TransactionSourceOrDestinationDto';
4
5
  import type { TransactionStatusDto } from './TransactionStatusDto';
@@ -66,7 +67,7 @@ export type TransactionDto = {
66
67
  /**
67
68
  * Custom fields data
68
69
  */
69
- customFields?: Record<string, any>;
70
+ customFields?: Record<string, TransactionCustomFieldDto>;
70
71
  /**
71
72
  * Integrations data for the transaction
72
73
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;AA8EA,IAAiB,cAAc,CAgB9B;AAhBD,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;AACL,CAAC,EAhBgB,cAAc,8BAAd,cAAc,QAgB9B"}
1
+ {"version":3,"file":"TransactionDto.js","sourceRoot":"","sources":["../../models/TransactionDto.ts"],"names":[],"mappings":";;;AA+EA,IAAiB,cAAc,CAgB9B;AAhBD,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;AACL,CAAC,EAhBgB,cAAc,8BAAd,cAAc,QAgB9B"}
@@ -1,3 +1,4 @@
1
+ import type { AlertCustomFieldDataDto } from './AlertCustomFieldDataDto';
1
2
  import type { AlertDecisionDto } from './AlertDecisionDto';
2
3
  import type { AlertSourceDto } from './AlertSourceDto';
3
4
  export type UpdateAlertDto = {
@@ -36,7 +37,7 @@ export type UpdateAlertDto = {
36
37
  /**
37
38
  * Custom fields data
38
39
  */
39
- customFields?: Record<string, any>;
40
+ customFields?: Record<string, AlertCustomFieldDataDto>;
40
41
  /**
41
42
  * List of client IDs associated with this alert (maximum 10). Replace the existing clients with the new ones.
42
43
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateAlertDto.js","sourceRoot":"","sources":["../../models/UpdateAlertDto.ts"],"names":[],"mappings":";;;AA4DA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;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,QAaX;IAbD,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,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;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;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
1
+ {"version":3,"file":"UpdateAlertDto.js","sourceRoot":"","sources":["../../models/UpdateAlertDto.ts"],"names":[],"mappings":";;;AA6DA,IAAiB,cAAc,CAmC9B;AAnCD,WAAiB,cAAc;IAC3B;;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,QAaX;IAbD,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,+CAAmC,CAAA;QACnC,2BAAe,CAAA;QACf,+CAAmC,CAAA;QACnC,uBAAW,CAAA;QACX,2BAAe,CAAA;IACnB,CAAC,EAbW,QAAQ,GAAR,uBAAQ,KAAR,uBAAQ,QAanB;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;AACL,CAAC,EAnCgB,cAAc,8BAAd,cAAc,QAmC9B"}
@@ -1,6 +1,11 @@
1
+ import type { BankAccountCustomFieldDataDto } from './BankAccountCustomFieldDataDto';
1
2
  import type { ClientBankAccountRelationDto } from './ClientBankAccountRelationDto';
2
3
  import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
3
4
  export type UpdateBankAccountDto = {
5
+ /**
6
+ * External reference ID for the bank account
7
+ */
8
+ referenceId?: string;
4
9
  /**
5
10
  * Status of the bank account
6
11
  */
@@ -40,7 +45,7 @@ export type UpdateBankAccountDto = {
40
45
  /**
41
46
  * Custom fields data
42
47
  */
43
- customFields?: Record<string, any>;
48
+ customFields?: Record<string, BankAccountCustomFieldDataDto>;
44
49
  /**
45
50
  * List of clients associated with the bank account (maximum 50)
46
51
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateBankAccountDto.js","sourceRoot":"","sources":["../../models/UpdateBankAccountDto.ts"],"names":[],"mappings":";;;AAwDA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
1
+ {"version":3,"file":"UpdateBankAccountDto.js","sourceRoot":"","sources":["../../models/UpdateBankAccountDto.ts"],"names":[],"mappings":";;;AA6DA,IAAiB,oBAAoB,CASpC;AATD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,MAIX;IAJD,WAAY,MAAM;QACd,2BAAiB,CAAA;QACjB,+BAAqB,CAAA;QACrB,2BAAiB,CAAA;IACrB,CAAC,EAJW,MAAM,GAAN,2BAAM,KAAN,2BAAM,QAIjB;AACL,CAAC,EATgB,oBAAoB,oCAApB,oBAAoB,QASpC"}
@@ -1,7 +1,12 @@
1
+ import type { BlockchainWalletCustomFieldDataDto } from './BlockchainWalletCustomFieldDataDto';
1
2
  import type { BlockchainWalletIntegrationsDto } from './BlockchainWalletIntegrationsDto';
2
3
  import type { ClientBlockchainWalletRelationDto } from './ClientBlockchainWalletRelationDto';
3
4
  import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
4
5
  export type UpdateBlockchainWalletDto = {
6
+ /**
7
+ * External reference ID for the blockchain wallet
8
+ */
9
+ referenceId?: string;
5
10
  /**
6
11
  * Screening date of the blockchain wallet
7
12
  */
@@ -13,7 +18,7 @@ export type UpdateBlockchainWalletDto = {
13
18
  /**
14
19
  * Custom fields data
15
20
  */
16
- customFields?: Record<string, any>;
21
+ customFields?: Record<string, BlockchainWalletCustomFieldDataDto>;
17
22
  /**
18
23
  * List of clients associated with the blockchain wallet (maximum 50)
19
24
  */
@@ -2,6 +2,7 @@ import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
2
2
  import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
3
3
  import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
4
4
  import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
5
+ import type { CorporateClientCustomFieldDataDto } from './CorporateClientCustomFieldDataDto';
5
6
  import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
6
7
  import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
7
8
  import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
@@ -60,7 +61,7 @@ export type UpdateCorporateClientDto = {
60
61
  /**
61
62
  * Custom fields data
62
63
  */
63
- customFields?: Record<string, any>;
64
+ customFields?: Record<string, CorporateClientCustomFieldDataDto>;
64
65
  /**
65
66
  * Tags to add to the corporate client (maximum 50)
66
67
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AA8FA,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"}
1
+ {"version":3,"file":"UpdateCorporateClientDto.js","sourceRoot":"","sources":["../../models/UpdateCorporateClientDto.ts"],"names":[],"mappings":";;;AA+FA,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"}
@@ -3,6 +3,7 @@ import type { CreateOrUpdateRiskDto } from './CreateOrUpdateRiskDto';
3
3
  import type { IndividualClientAddressDto } from './IndividualClientAddressDto';
4
4
  import type { IndividualClientApplicationInformationDto } from './IndividualClientApplicationInformationDto';
5
5
  import type { IndividualClientContactInformationDto } from './IndividualClientContactInformationDto';
6
+ import type { IndividualClientCustomFieldDataDto } from './IndividualClientCustomFieldDataDto';
6
7
  import type { IndividualClientFinancialInformationDto } from './IndividualClientFinancialInformationDto';
7
8
  import type { IndividualClientGeneralInformationDto } from './IndividualClientGeneralInformationDto';
8
9
  import type { IndividualClientIntegrationsDto } from './IndividualClientIntegrationsDto';
@@ -49,7 +50,7 @@ export type UpdateIndividualClientDto = {
49
50
  /**
50
51
  * Custom fields data
51
52
  */
52
- customFields?: Record<string, any>;
53
+ customFields?: Record<string, IndividualClientCustomFieldDataDto>;
53
54
  /**
54
55
  * Tags to add to the individual client (maximum 50)
55
56
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AAmGA,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
+ {"version":3,"file":"UpdateIndividualClientDto.js","sourceRoot":"","sources":["../../models/UpdateIndividualClientDto.ts"],"names":[],"mappings":";;;AAoGA,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 { TransactionAmountDto } from './TransactionAmountDto';
2
+ import type { TransactionCustomFieldDto } from './TransactionCustomFieldDto';
2
3
  import type { TransactionIntegrationsDto } from './TransactionIntegrationsDto';
3
4
  export type UpdateTransactionDto = {
4
5
  /**
@@ -24,5 +25,5 @@ export type UpdateTransactionDto = {
24
25
  /**
25
26
  * Custom fields data
26
27
  */
27
- customFields?: Record<string, any>;
28
+ customFields?: Record<string, TransactionCustomFieldDto>;
28
29
  };
@@ -0,0 +1,157 @@
1
+ import type { CopyRuleTemplateResponseDto } from '../models/CopyRuleTemplateResponseDto';
2
+ import type { RuleTemplateResponseDto } from '../models/RuleTemplateResponseDto';
3
+ import type { CancelablePromise } from '../core/CancelablePromise';
4
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
5
+ export declare class RuleTemplatesService {
6
+ readonly httpRequest: BaseHttpRequest;
7
+ constructor(httpRequest: BaseHttpRequest);
8
+ /**
9
+ * List rule templates with pagination
10
+ * List rule templates with pagination
11
+ * @param page Page number to retrieve. If you provide invalid value the default page number will applied
12
+ *
13
+ * **Example:** 1
14
+ *
15
+ *
16
+ * **Default Value:** 1
17
+ *
18
+ *
19
+ * @param limit Number of records per page.
20
+ *
21
+ *
22
+ * **Example:** 20
23
+ *
24
+ *
25
+ *
26
+ * **Default Value:** 20
27
+ *
28
+ *
29
+ *
30
+ * **Max Value:** 100
31
+ *
32
+ *
33
+ * If provided value is greater than max value, max value will be applied.
34
+ *
35
+ * @param filterId Filter by id query param.
36
+ *
37
+ * **Format:** filter.id={$not}:OPERATION:VALUE
38
+ *
39
+ *
40
+ *
41
+ * **Example:** filter.id=$eq:John Doe&filter.id=$in:John Doe
42
+ *
43
+ * **Available Operations**
44
+ * - $eq
45
+ *
46
+ * - $in
47
+ *
48
+ * - $and
49
+ *
50
+ * - $or
51
+ * @param filterName Filter by name query param.
52
+ *
53
+ * **Format:** filter.name={$not}:OPERATION:VALUE
54
+ *
55
+ *
56
+ *
57
+ * **Example:** filter.name=$eq:John Doe&filter.name=$ilike:John Doe
58
+ *
59
+ * **Available Operations**
60
+ * - $eq
61
+ *
62
+ * - $ilike
63
+ *
64
+ * - $in
65
+ *
66
+ * - $and
67
+ *
68
+ * - $or
69
+ * @param filterProducts Filter by products query param.
70
+ *
71
+ * **Format:** filter.products={$not}:OPERATION:VALUE
72
+ *
73
+ *
74
+ *
75
+ * **Example:** filter.products=$contains:John Doe
76
+ *
77
+ * **Available Operations**
78
+ * - $contains
79
+ *
80
+ * - $and
81
+ *
82
+ * - $or
83
+ * @param filterTypologies Filter by typologies query param.
84
+ *
85
+ * **Format:** filter.typologies={$not}:OPERATION:VALUE
86
+ *
87
+ *
88
+ *
89
+ * **Example:** filter.typologies=$contains:John Doe
90
+ *
91
+ * **Available Operations**
92
+ * - $contains
93
+ *
94
+ * - $and
95
+ *
96
+ * - $or
97
+ * @param sortBy Parameter to sort by.
98
+ * To sort by multiple fields, just provide query param multiple types. The order in url defines an order of sorting
99
+ *
100
+ * **Format:** {fieldName}:{DIRECTION}
101
+ *
102
+ *
103
+ * **Example:** sortBy=id:DESC&sortBy=name:DESC
104
+ *
105
+ *
106
+ * **Default Value:** name:ASC
107
+ *
108
+ * **Available Fields**
109
+ * - id
110
+ *
111
+ * - name
112
+ *
113
+ * - updatedAt
114
+ *
115
+ * - createdAt
116
+ *
117
+ * @param search Search term to filter result values
118
+ *
119
+ * **Example:** John
120
+ *
121
+ *
122
+ * **Default Value:** No default value
123
+ *
124
+ *
125
+ * @param searchBy List of fields to search by term to filter result values
126
+ *
127
+ * **Example:** name,description
128
+ *
129
+ *
130
+ * **Default Value:** By default all fields mentioned below will be used to search by term
131
+ *
132
+ * **Available Fields**
133
+ * - name
134
+ *
135
+ * - description
136
+ *
137
+ * @returns any
138
+ * @throws ApiError
139
+ */
140
+ listRuleTemplates(page?: number, limit?: number, filterId?: Array<string>, filterName?: Array<string>, filterProducts?: Array<string>, filterTypologies?: Array<string>, sortBy?: Array<'id:ASC' | 'id:DESC' | 'name:ASC' | 'name:DESC' | 'updatedAt:ASC' | 'updatedAt:DESC' | 'createdAt:ASC' | 'createdAt:DESC'>, search?: string, searchBy?: Array<string>): CancelablePromise<any>;
141
+ /**
142
+ * Get a rule template by ID
143
+ * Get a rule template by ID
144
+ * @param id
145
+ * @returns RuleTemplateResponseDto
146
+ * @throws ApiError
147
+ */
148
+ getRuleTemplate(id: string): CancelablePromise<RuleTemplateResponseDto>;
149
+ /**
150
+ * Copy a rule template to workspace as a draft rule
151
+ * Copy a rule template to workspace as a draft rule
152
+ * @param id
153
+ * @returns CopyRuleTemplateResponseDto
154
+ * @throws ApiError
155
+ */
156
+ copyRuleTemplate(id: string): CancelablePromise<CopyRuleTemplateResponseDto>;
157
+ }
@@ -0,0 +1,192 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RuleTemplatesService = void 0;
4
+ class RuleTemplatesService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * List rule templates with pagination
11
+ * List rule templates with pagination
12
+ * @param page Page number to retrieve. If you provide invalid value the default page number will applied
13
+ *
14
+ * **Example:** 1
15
+ *
16
+ *
17
+ * **Default Value:** 1
18
+ *
19
+ *
20
+ * @param limit Number of records per page.
21
+ *
22
+ *
23
+ * **Example:** 20
24
+ *
25
+ *
26
+ *
27
+ * **Default Value:** 20
28
+ *
29
+ *
30
+ *
31
+ * **Max Value:** 100
32
+ *
33
+ *
34
+ * If provided value is greater than max value, max value will be applied.
35
+ *
36
+ * @param filterId Filter by id query param.
37
+ *
38
+ * **Format:** filter.id={$not}:OPERATION:VALUE
39
+ *
40
+ *
41
+ *
42
+ * **Example:** filter.id=$eq:John Doe&filter.id=$in:John Doe
43
+ *
44
+ * **Available Operations**
45
+ * - $eq
46
+ *
47
+ * - $in
48
+ *
49
+ * - $and
50
+ *
51
+ * - $or
52
+ * @param filterName Filter by name query param.
53
+ *
54
+ * **Format:** filter.name={$not}:OPERATION:VALUE
55
+ *
56
+ *
57
+ *
58
+ * **Example:** filter.name=$eq:John Doe&filter.name=$ilike:John Doe
59
+ *
60
+ * **Available Operations**
61
+ * - $eq
62
+ *
63
+ * - $ilike
64
+ *
65
+ * - $in
66
+ *
67
+ * - $and
68
+ *
69
+ * - $or
70
+ * @param filterProducts Filter by products query param.
71
+ *
72
+ * **Format:** filter.products={$not}:OPERATION:VALUE
73
+ *
74
+ *
75
+ *
76
+ * **Example:** filter.products=$contains:John Doe
77
+ *
78
+ * **Available Operations**
79
+ * - $contains
80
+ *
81
+ * - $and
82
+ *
83
+ * - $or
84
+ * @param filterTypologies Filter by typologies query param.
85
+ *
86
+ * **Format:** filter.typologies={$not}:OPERATION:VALUE
87
+ *
88
+ *
89
+ *
90
+ * **Example:** filter.typologies=$contains:John Doe
91
+ *
92
+ * **Available Operations**
93
+ * - $contains
94
+ *
95
+ * - $and
96
+ *
97
+ * - $or
98
+ * @param sortBy Parameter to sort by.
99
+ * To sort by multiple fields, just provide query param multiple types. The order in url defines an order of sorting
100
+ *
101
+ * **Format:** {fieldName}:{DIRECTION}
102
+ *
103
+ *
104
+ * **Example:** sortBy=id:DESC&sortBy=name:DESC
105
+ *
106
+ *
107
+ * **Default Value:** name:ASC
108
+ *
109
+ * **Available Fields**
110
+ * - id
111
+ *
112
+ * - name
113
+ *
114
+ * - updatedAt
115
+ *
116
+ * - createdAt
117
+ *
118
+ * @param search Search term to filter result values
119
+ *
120
+ * **Example:** John
121
+ *
122
+ *
123
+ * **Default Value:** No default value
124
+ *
125
+ *
126
+ * @param searchBy List of fields to search by term to filter result values
127
+ *
128
+ * **Example:** name,description
129
+ *
130
+ *
131
+ * **Default Value:** By default all fields mentioned below will be used to search by term
132
+ *
133
+ * **Available Fields**
134
+ * - name
135
+ *
136
+ * - description
137
+ *
138
+ * @returns any
139
+ * @throws ApiError
140
+ */
141
+ listRuleTemplates(page, limit, filterId, filterName, filterProducts, filterTypologies, sortBy, search, searchBy) {
142
+ return this.httpRequest.request({
143
+ method: 'GET',
144
+ url: '/v1/rule-templates',
145
+ query: {
146
+ 'page': page,
147
+ 'limit': limit,
148
+ 'filter.id': filterId,
149
+ 'filter.name': filterName,
150
+ 'filter.products': filterProducts,
151
+ 'filter.typologies': filterTypologies,
152
+ 'sortBy': sortBy,
153
+ 'search': search,
154
+ 'searchBy': searchBy,
155
+ },
156
+ });
157
+ }
158
+ /**
159
+ * Get a rule template by ID
160
+ * Get a rule template by ID
161
+ * @param id
162
+ * @returns RuleTemplateResponseDto
163
+ * @throws ApiError
164
+ */
165
+ getRuleTemplate(id) {
166
+ return this.httpRequest.request({
167
+ method: 'GET',
168
+ url: '/v1/rule-templates/{id}',
169
+ path: {
170
+ 'id': id,
171
+ },
172
+ });
173
+ }
174
+ /**
175
+ * Copy a rule template to workspace as a draft rule
176
+ * Copy a rule template to workspace as a draft rule
177
+ * @param id
178
+ * @returns CopyRuleTemplateResponseDto
179
+ * @throws ApiError
180
+ */
181
+ copyRuleTemplate(id) {
182
+ return this.httpRequest.request({
183
+ method: 'POST',
184
+ url: '/v1/rule-templates/{id}/copy',
185
+ path: {
186
+ 'id': id,
187
+ },
188
+ });
189
+ }
190
+ }
191
+ exports.RuleTemplatesService = RuleTemplatesService;
192
+ //# sourceMappingURL=RuleTemplatesService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RuleTemplatesService.js","source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;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AArMD,oDAqMC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corsa-labs/sdk",
3
- "version": "4.16.13",
3
+ "version": "4.18.0",
4
4
  "description": "SDK for Corsa API",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",