@corsa-labs/sdk 3.29.0 → 4.0.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 (100) 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/index.d.ts +11 -6
  5. package/dist/index.js +18 -10
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/AlertDto.d.ts +4 -0
  8. package/dist/models/AlertDto.js.map +1 -1
  9. package/dist/models/CaseDto.d.ts +4 -0
  10. package/dist/models/CaseDto.js.map +1 -1
  11. package/dist/models/CorporateClientAdverseMediaDto.d.ts +37 -0
  12. package/dist/models/CorporateClientAdverseMediaDto.js +17 -0
  13. package/dist/models/CorporateClientAdverseMediaDto.js.map +1 -0
  14. package/dist/models/CorporateClientBusinessDto.d.ts +126 -0
  15. package/dist/models/CorporateClientBusinessDto.js +113 -0
  16. package/dist/models/CorporateClientBusinessDto.js.map +1 -1
  17. package/dist/models/CorporateClientDto.d.ts +25 -0
  18. package/dist/models/CorporateClientDto.js.map +1 -1
  19. package/dist/models/CorporateClientMembersDto.d.ts +12 -0
  20. package/dist/models/{StatusOptionDto.js → CorporateClientMembersDto.js} +1 -1
  21. package/dist/models/CorporateClientMembersDto.js.map +1 -0
  22. package/dist/models/CorporateClientPEPDto.d.ts +34 -0
  23. package/dist/models/CorporateClientPEPDto.js +18 -0
  24. package/dist/models/CorporateClientPEPDto.js.map +1 -0
  25. package/dist/models/CorporateClientScreeningDto.d.ts +10 -0
  26. package/dist/models/CorporateClientScreeningDto.js +3 -0
  27. package/dist/models/CorporateClientScreeningDto.js.map +1 -0
  28. package/dist/models/CorporateClientSourceOfFundsDto.d.ts +35 -0
  29. package/dist/models/CorporateClientSourceOfFundsDto.js +19 -0
  30. package/dist/models/CorporateClientSourceOfFundsDto.js.map +1 -0
  31. package/dist/models/CreateAlertDto.d.ts +4 -0
  32. package/dist/models/CreateAlertDto.js.map +1 -1
  33. package/dist/models/CreateCaseDto.d.ts +4 -0
  34. package/dist/models/CreateCaseDto.js.map +1 -1
  35. package/dist/models/CreateChecklistTemplateDto.d.ts +3 -1
  36. package/dist/models/CreateChecklistTemplateDto.js +2 -0
  37. package/dist/models/CreateChecklistTemplateDto.js.map +1 -1
  38. package/dist/models/CreateCorporateClientDto.d.ts +20 -0
  39. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  40. package/dist/models/CreateDepositOperationDto.d.ts +1 -1
  41. package/dist/models/CreateExternalDocumentDto.d.ts +58 -0
  42. package/dist/models/CreateExternalDocumentDto.js +31 -0
  43. package/dist/models/CreateExternalDocumentDto.js.map +1 -0
  44. package/dist/models/CreateExternalDocumentResponseDto.d.ts +10 -0
  45. package/dist/models/CreateExternalDocumentResponseDto.js +3 -0
  46. package/dist/models/CreateExternalDocumentResponseDto.js.map +1 -0
  47. package/dist/models/CreateTradeOperationDto.d.ts +1 -1
  48. package/dist/models/CreateTransactionDto.d.ts +1 -1
  49. package/dist/models/CreateWithdrawalOperationDto.d.ts +1 -1
  50. package/dist/models/RelateAttachmentsDto.d.ts +28 -0
  51. package/dist/models/RelateAttachmentsDto.js +20 -0
  52. package/dist/models/RelateAttachmentsDto.js.map +1 -0
  53. package/dist/models/TransactionAmountDto.d.ts +1 -1
  54. package/dist/models/TransactionSourceOrDestinationDto.d.ts +3 -3
  55. package/dist/models/UpdateAlertDto.d.ts +4 -0
  56. package/dist/models/UpdateAlertDto.js.map +1 -1
  57. package/dist/models/UpdateAttachmentDto.d.ts +42 -0
  58. package/dist/models/UpdateAttachmentDto.js +31 -0
  59. package/dist/models/UpdateAttachmentDto.js.map +1 -0
  60. package/dist/models/UpdateCaseDto.d.ts +4 -0
  61. package/dist/models/UpdateCaseDto.js.map +1 -1
  62. package/dist/models/UpdateChecklistItemDto.d.ts +5 -2
  63. package/dist/models/UpdateChecklistItemDto.js.map +1 -1
  64. package/dist/models/UpdateCorporateClientDto.d.ts +20 -0
  65. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  66. package/dist/services/AttachmentsService.d.ts +68 -0
  67. package/dist/services/AttachmentsService.js +145 -0
  68. package/dist/services/AttachmentsService.js.map +1 -0
  69. package/dist/services/BlockchainWalletsService.d.ts +3 -3
  70. package/dist/services/BlockchainWalletsService.js +3 -3
  71. package/dist/services/ChecklistsService.d.ts +18 -33
  72. package/dist/services/ChecklistsService.js +17 -29
  73. package/dist/services/ChecklistsService.js.map +1 -1
  74. package/dist/services/ClientsService.d.ts +2 -1
  75. package/dist/services/ClientsService.js +5 -1
  76. package/dist/services/ClientsService.js.map +1 -1
  77. package/dist/services/MembersService.d.ts +22 -22
  78. package/dist/services/MembersService.js +47 -47
  79. package/dist/services/MembersService.js.map +1 -1
  80. package/dist/services/PlatformService.d.ts +1 -1
  81. package/dist/services/PlatformService.js +1 -1
  82. package/dist/services/PlatformService.js.map +1 -1
  83. package/dist/services/TransactionsService.d.ts +5 -3
  84. package/dist/services/TransactionsService.js +5 -3
  85. package/dist/services/TransactionsService.js.map +1 -1
  86. package/package.json +2 -2
  87. package/dist/models/ChecklistItemResponseDto.d.ts +0 -80
  88. package/dist/models/ChecklistItemResponseDto.js +0 -18
  89. package/dist/models/ChecklistItemResponseDto.js.map +0 -1
  90. package/dist/models/ChecklistResponseDto.d.ts +0 -56
  91. package/dist/models/ChecklistResponseDto.js +0 -24
  92. package/dist/models/ChecklistResponseDto.js.map +0 -1
  93. package/dist/models/ChecklistTemplateItemResponseDto.d.ts +0 -56
  94. package/dist/models/ChecklistTemplateItemResponseDto.js +0 -18
  95. package/dist/models/ChecklistTemplateItemResponseDto.js.map +0 -1
  96. package/dist/models/ChecklistTemplateResponseDto.d.ts +0 -48
  97. package/dist/models/ChecklistTemplateResponseDto.js +0 -15
  98. package/dist/models/ChecklistTemplateResponseDto.js.map +0 -1
  99. package/dist/models/StatusOptionDto.d.ts +0 -10
  100. package/dist/models/StatusOptionDto.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAwFA,IAAiB,kBAAkB,CAqBlC;AArBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aASX;IATD,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;IACzC,CAAC,EATW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QASxB;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,EArBgB,kBAAkB,kCAAlB,kBAAkB,QAqBlC"}
1
+ {"version":3,"file":"CorporateClientDto.js","sourceRoot":"","sources":["../../models/CorporateClientDto.ts"],"names":[],"mappings":";;;AAiHA,IAAiB,kBAAkB,CAqBlC;AArBD,WAAiB,kBAAkB;IAC/B;;OAEG;IACH,IAAY,aASX;IATD,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;IACzC,CAAC,EATW,aAAa,GAAb,gCAAa,KAAb,gCAAa,QASxB;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,EArBgB,kBAAkB,kCAAlB,kBAAkB,QAqBlC"}
@@ -0,0 +1,12 @@
1
+ import type { CorporateMemberDto } from './CorporateMemberDto';
2
+ import type { IndividualMemberDto } from './IndividualMemberDto';
3
+ export type CorporateClientMembersDto = {
4
+ /**
5
+ * List of corporate members (subsidiaries, parent companies, etc.)
6
+ */
7
+ corporateMembers?: Array<CorporateMemberDto>;
8
+ /**
9
+ * List of individual members (directors, officers, beneficial owners, etc.)
10
+ */
11
+ individualMembers?: Array<IndividualMemberDto>;
12
+ };
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=StatusOptionDto.js.map
3
+ //# sourceMappingURL=CorporateClientMembersDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateClientMembersDto.js","sourceRoot":"","sources":["../../models/CorporateClientMembersDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,34 @@
1
+ export type CorporateClientPEPDto = {
2
+ /**
3
+ * Whether the client is politically exposed
4
+ */
5
+ isPoliticallyExposed?: boolean;
6
+ /**
7
+ * PEP tier level
8
+ */
9
+ pepTier?: CorporateClientPEPDto.pepTier;
10
+ /**
11
+ * PEP score based on tier (0, 2, 3, 4, or 5)
12
+ */
13
+ pepScore?: number;
14
+ /**
15
+ * Details about the PEP status
16
+ */
17
+ pepDetails?: string;
18
+ /**
19
+ * Country codes where the political exposure is relevant
20
+ */
21
+ pepJurisdiction?: Array<string>;
22
+ };
23
+ export declare namespace CorporateClientPEPDto {
24
+ /**
25
+ * PEP tier level
26
+ */
27
+ enum pepTier {
28
+ NO_PEP = "NO_PEP",
29
+ TIER_4 = "TIER_4",
30
+ TIER_3 = "TIER_3",
31
+ TIER_2 = "TIER_2",
32
+ TIER_1 = "TIER_1"
33
+ }
34
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CorporateClientPEPDto = void 0;
4
+ var CorporateClientPEPDto;
5
+ (function (CorporateClientPEPDto) {
6
+ /**
7
+ * PEP tier level
8
+ */
9
+ let pepTier;
10
+ (function (pepTier) {
11
+ pepTier["NO_PEP"] = "NO_PEP";
12
+ pepTier["TIER_4"] = "TIER_4";
13
+ pepTier["TIER_3"] = "TIER_3";
14
+ pepTier["TIER_2"] = "TIER_2";
15
+ pepTier["TIER_1"] = "TIER_1";
16
+ })(pepTier = CorporateClientPEPDto.pepTier || (CorporateClientPEPDto.pepTier = {}));
17
+ })(CorporateClientPEPDto || (exports.CorporateClientPEPDto = CorporateClientPEPDto = {}));
18
+ //# sourceMappingURL=CorporateClientPEPDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateClientPEPDto.js","sourceRoot":"","sources":["../../models/CorporateClientPEPDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,qBAAqB,CAWrC;AAXD,WAAiB,qBAAqB;IAClC;;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,6BAAO,KAAP,6BAAO,QAMlB;AACL,CAAC,EAXgB,qBAAqB,qCAArB,qBAAqB,QAWrC"}
@@ -0,0 +1,10 @@
1
+ export type CorporateClientScreeningDto = {
2
+ /**
3
+ * Whether the client has a subpoena
4
+ */
5
+ hasSubpoena?: boolean;
6
+ /**
7
+ * Whether the client has a Suspicious Activity Report (SAR)
8
+ */
9
+ hasSAR?: boolean;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CorporateClientScreeningDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateClientScreeningDto.js","sourceRoot":"","sources":["../../models/CorporateClientScreeningDto.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
1
+ export type CorporateClientSourceOfFundsDto = {
2
+ /**
3
+ * Source of funds
4
+ */
5
+ sourceOfFunds?: CorporateClientSourceOfFundsDto.sourceOfFunds;
6
+ /**
7
+ * Additional details about the source of funds
8
+ */
9
+ sourceOfFundsDetails?: string;
10
+ /**
11
+ * Country codes where the funds originate from
12
+ */
13
+ sourceOfFundsJurisdictions?: Array<string>;
14
+ /**
15
+ * Estimated monthly transaction volume
16
+ */
17
+ monthlyTransactionVolume?: number;
18
+ /**
19
+ * Estimated annual transaction volume
20
+ */
21
+ annualTransactionVolume?: number;
22
+ };
23
+ export declare namespace CorporateClientSourceOfFundsDto {
24
+ /**
25
+ * Source of funds
26
+ */
27
+ enum sourceOfFunds {
28
+ CUSTOMER_FUNDS = "CUSTOMER_FUNDS",
29
+ TOKEN_GENERATION_EVENT = "TOKEN_GENERATION_EVENT",
30
+ INVESTOR_FUNDS = "INVESTOR_FUNDS",
31
+ PROPRIETARY_FUNDS = "PROPRIETARY_FUNDS",
32
+ OPERATING_FUNDS = "OPERATING_FUNDS",
33
+ OTHER = "OTHER"
34
+ }
35
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CorporateClientSourceOfFundsDto = void 0;
4
+ var CorporateClientSourceOfFundsDto;
5
+ (function (CorporateClientSourceOfFundsDto) {
6
+ /**
7
+ * Source of funds
8
+ */
9
+ let sourceOfFunds;
10
+ (function (sourceOfFunds) {
11
+ sourceOfFunds["CUSTOMER_FUNDS"] = "CUSTOMER_FUNDS";
12
+ sourceOfFunds["TOKEN_GENERATION_EVENT"] = "TOKEN_GENERATION_EVENT";
13
+ sourceOfFunds["INVESTOR_FUNDS"] = "INVESTOR_FUNDS";
14
+ sourceOfFunds["PROPRIETARY_FUNDS"] = "PROPRIETARY_FUNDS";
15
+ sourceOfFunds["OPERATING_FUNDS"] = "OPERATING_FUNDS";
16
+ sourceOfFunds["OTHER"] = "OTHER";
17
+ })(sourceOfFunds = CorporateClientSourceOfFundsDto.sourceOfFunds || (CorporateClientSourceOfFundsDto.sourceOfFunds = {}));
18
+ })(CorporateClientSourceOfFundsDto || (exports.CorporateClientSourceOfFundsDto = CorporateClientSourceOfFundsDto = {}));
19
+ //# sourceMappingURL=CorporateClientSourceOfFundsDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorporateClientSourceOfFundsDto.js","sourceRoot":"","sources":["../../models/CorporateClientSourceOfFundsDto.ts"],"names":[],"mappings":";;;AA0BA,IAAiB,+BAA+B,CAY/C;AAZD,WAAiB,+BAA+B;IAC5C;;OAEG;IACH,IAAY,aAOX;IAPD,WAAY,aAAa;QACrB,kDAAiC,CAAA;QACjC,kEAAiD,CAAA;QACjD,kDAAiC,CAAA;QACjC,wDAAuC,CAAA;QACvC,oDAAmC,CAAA;QACnC,gCAAe,CAAA;IACnB,CAAC,EAPW,aAAa,GAAb,6CAAa,KAAb,6CAAa,QAOxB;AACL,CAAC,EAZgB,+BAA+B,+CAA/B,+BAA+B,QAY/C"}
@@ -9,6 +9,10 @@ export type CreateAlertDto = {
9
9
  * Category of the alert
10
10
  */
11
11
  category: CreateAlertDto.category;
12
+ /**
13
+ * Subcategory of the alert for more granular classification
14
+ */
15
+ subCategory?: string;
12
16
  /**
13
17
  * Description of the alert
14
18
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateAlertDto.js","sourceRoot":"","sources":["../../models/CreateAlertDto.ts"],"names":[],"mappings":";;;AAgEA,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":";;;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"}
@@ -15,6 +15,10 @@ export type CreateCaseDto = {
15
15
  * Category of the case
16
16
  */
17
17
  category: CreateCaseDto.category;
18
+ /**
19
+ * Subcategory of the case for more granular classification
20
+ */
21
+ subCategory?: string;
18
22
  /**
19
23
  * ID of the user who assigned the case
20
24
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCaseDto.js","sourceRoot":"","sources":["../../models/CreateCaseDto.ts"],"names":[],"mappings":";;;AAsDA,IAAiB,aAAa,CAsC7B;AAtCD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,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,sBAAQ,KAAR,sBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,MAQX;IARD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,qDAA2C,CAAA;QAC3C,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;QAC3B,2CAAiC,CAAA;QACjC,+CAAqC,CAAA;QACrC,+DAAqD,CAAA;IACzD,CAAC,EARW,MAAM,GAAN,oBAAM,KAAN,oBAAM,QAQjB;AACL,CAAC,EAtCgB,aAAa,6BAAb,aAAa,QAsC7B"}
1
+ {"version":3,"file":"CreateCaseDto.js","sourceRoot":"","sources":["../../models/CreateCaseDto.ts"],"names":[],"mappings":";;;AA0DA,IAAiB,aAAa,CAsC7B;AAtCD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,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,sBAAQ,KAAR,sBAAQ,QAanB;IACD;;OAEG;IACH,IAAY,MAQX;IARD,WAAY,MAAM;QACd,qBAAW,CAAA;QACX,qDAA2C,CAAA;QAC3C,qCAA2B,CAAA;QAC3B,qCAA2B,CAAA;QAC3B,2CAAiC,CAAA;QACjC,+CAAqC,CAAA;QACrC,+DAAqD,CAAA;IACzD,CAAC,EARW,MAAM,GAAN,oBAAM,KAAN,oBAAM,QAQjB;AACL,CAAC,EAtCgB,aAAa,6BAAb,aAAa,QAsC7B"}
@@ -27,6 +27,8 @@ export declare namespace CreateChecklistTemplateDto {
27
27
  */
28
28
  enum entityType {
29
29
  INDIVIDUAL_CLIENT = "INDIVIDUAL_CLIENT",
30
- CORPORATE_CLIENT = "CORPORATE_CLIENT"
30
+ CORPORATE_CLIENT = "CORPORATE_CLIENT",
31
+ ALERT = "ALERT",
32
+ CASE = "CASE"
31
33
  }
32
34
  }
@@ -10,6 +10,8 @@ var CreateChecklistTemplateDto;
10
10
  (function (entityType) {
11
11
  entityType["INDIVIDUAL_CLIENT"] = "INDIVIDUAL_CLIENT";
12
12
  entityType["CORPORATE_CLIENT"] = "CORPORATE_CLIENT";
13
+ entityType["ALERT"] = "ALERT";
14
+ entityType["CASE"] = "CASE";
13
15
  })(entityType = CreateChecklistTemplateDto.entityType || (CreateChecklistTemplateDto.entityType = {}));
14
16
  })(CreateChecklistTemplateDto || (exports.CreateChecklistTemplateDto = CreateChecklistTemplateDto = {}));
15
17
  //# sourceMappingURL=CreateChecklistTemplateDto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CreateChecklistTemplateDto.js","sourceRoot":"","sources":["../../models/CreateChecklistTemplateDto.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,0BAA0B,CAQ1C;AARD,WAAiB,0BAA0B;IACvC;;OAEG;IACH,IAAY,UAGX;IAHD,WAAY,UAAU;QAClB,qDAAuC,CAAA;QACvC,mDAAqC,CAAA;IACzC,CAAC,EAHW,UAAU,GAAV,qCAAU,KAAV,qCAAU,QAGrB;AACL,CAAC,EARgB,0BAA0B,0CAA1B,0BAA0B,QAQ1C"}
1
+ {"version":3,"file":"CreateChecklistTemplateDto.js","sourceRoot":"","sources":["../../models/CreateChecklistTemplateDto.ts"],"names":[],"mappings":";;;AA2BA,IAAiB,0BAA0B,CAU1C;AAVD,WAAiB,0BAA0B;IACvC;;OAEG;IACH,IAAY,UAKX;IALD,WAAY,UAAU;QAClB,qDAAuC,CAAA;QACvC,mDAAqC,CAAA;QACrC,6BAAe,CAAA;QACf,2BAAa,CAAA;IACjB,CAAC,EALW,UAAU,GAAV,qCAAU,KAAV,qCAAU,QAKrB;AACL,CAAC,EAVgB,0BAA0B,0CAA1B,0BAA0B,QAU1C"}
@@ -1,8 +1,12 @@
1
1
  import type { CorporateClientAddressDto } from './CorporateClientAddressDto';
2
+ import type { CorporateClientAdverseMediaDto } from './CorporateClientAdverseMediaDto';
2
3
  import type { CorporateClientApplicationDto } from './CorporateClientApplicationDto';
3
4
  import type { CorporateClientBusinessDto } from './CorporateClientBusinessDto';
4
5
  import type { CorporateClientGeneralDto } from './CorporateClientGeneralDto';
5
6
  import type { CorporateClientIntegrationsDto } from './CorporateClientIntegrationsDto';
7
+ import type { CorporateClientPEPDto } from './CorporateClientPEPDto';
8
+ import type { CorporateClientScreeningDto } from './CorporateClientScreeningDto';
9
+ import type { CorporateClientSourceOfFundsDto } from './CorporateClientSourceOfFundsDto';
6
10
  import type { RiskDto } from './RiskDto';
7
11
  export type CreateCorporateClientDto = {
8
12
  /**
@@ -45,6 +49,22 @@ export type CreateCorporateClientDto = {
45
49
  * Business information of the corporate client
46
50
  */
47
51
  business?: CorporateClientBusinessDto;
52
+ /**
53
+ * Source of funds information
54
+ */
55
+ sourceOfFundsInfo?: CorporateClientSourceOfFundsDto;
56
+ /**
57
+ * Adverse media information
58
+ */
59
+ adverseMedia?: CorporateClientAdverseMediaDto;
60
+ /**
61
+ * Politically Exposed Person (PEP) information
62
+ */
63
+ politicalExposure?: CorporateClientPEPDto;
64
+ /**
65
+ * Screening information (subpoenas, SARs)
66
+ */
67
+ screening?: CorporateClientScreeningDto;
48
68
  /**
49
69
  * Custom fields data
50
70
  */
@@ -1 +1 @@
1
- {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AA4DA,IAAiB,wBAAwB,CAqBxC;AArBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,aASX;IATD,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;IACzC,CAAC,EATW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QASxB;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,EArBgB,wBAAwB,wCAAxB,wBAAwB,QAqBxC"}
1
+ {"version":3,"file":"CreateCorporateClientDto.js","sourceRoot":"","sources":["../../models/CreateCorporateClientDto.ts"],"names":[],"mappings":";;;AAgFA,IAAiB,wBAAwB,CAqBxC;AArBD,WAAiB,wBAAwB;IACrC;;OAEG;IACH,IAAY,aASX;IATD,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;IACzC,CAAC,EATW,aAAa,GAAb,sCAAa,KAAb,sCAAa,QASxB;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,EArBgB,wBAAwB,wCAAxB,wBAAwB,QAqBxC"}
@@ -5,7 +5,7 @@ export type CreateDepositOperationDto = {
5
5
  */
6
6
  referenceId?: string;
7
7
  /**
8
- * UUID of the user who initiated the deposit
8
+ * UUID of the client who initiated the deposit
9
9
  */
10
10
  initiatedBy?: string;
11
11
  /**
@@ -0,0 +1,58 @@
1
+ export type CreateExternalDocumentDto = {
2
+ /**
3
+ * The download URL for the external document
4
+ */
5
+ downloadUrl: string;
6
+ /**
7
+ * The name of the file
8
+ */
9
+ fileName: string;
10
+ /**
11
+ * The MIME type of the file
12
+ */
13
+ fileType?: string;
14
+ /**
15
+ * The size of the file in bytes
16
+ */
17
+ fileSizeInBytes?: number;
18
+ /**
19
+ * The type of entity the attachment is associated with
20
+ */
21
+ entityType: CreateExternalDocumentDto.entityType;
22
+ /**
23
+ * The ID of the entity the attachment is associated with
24
+ */
25
+ entityId: string;
26
+ /**
27
+ * Optional metadata for the attachment as JSON string
28
+ */
29
+ metadata?: string;
30
+ /**
31
+ * The source of the attachment
32
+ */
33
+ source?: CreateExternalDocumentDto.source;
34
+ };
35
+ export declare namespace CreateExternalDocumentDto {
36
+ /**
37
+ * The type of entity the attachment is associated with
38
+ */
39
+ enum entityType {
40
+ COMMENT = "comment",
41
+ CLIENT = "client",
42
+ TRANSACTION = "transaction",
43
+ REPORT = "report",
44
+ CASE = "case",
45
+ ALERT = "alert",
46
+ CHECKLIST_ITEM = "checklist_item"
47
+ }
48
+ /**
49
+ * The source of the attachment
50
+ */
51
+ enum source {
52
+ CHECKLIST = "CHECKLIST",
53
+ DOCUMENT_REPOSITORY = "DOCUMENT_REPOSITORY",
54
+ DISCUSSION = "DISCUSSION",
55
+ ISSUE_DECISION = "ISSUE_DECISION",
56
+ EXTERNAL = "EXTERNAL"
57
+ }
58
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateExternalDocumentDto = void 0;
4
+ var CreateExternalDocumentDto;
5
+ (function (CreateExternalDocumentDto) {
6
+ /**
7
+ * The type of entity the attachment is associated with
8
+ */
9
+ let entityType;
10
+ (function (entityType) {
11
+ entityType["COMMENT"] = "comment";
12
+ entityType["CLIENT"] = "client";
13
+ entityType["TRANSACTION"] = "transaction";
14
+ entityType["REPORT"] = "report";
15
+ entityType["CASE"] = "case";
16
+ entityType["ALERT"] = "alert";
17
+ entityType["CHECKLIST_ITEM"] = "checklist_item";
18
+ })(entityType = CreateExternalDocumentDto.entityType || (CreateExternalDocumentDto.entityType = {}));
19
+ /**
20
+ * The source of the attachment
21
+ */
22
+ let source;
23
+ (function (source) {
24
+ source["CHECKLIST"] = "CHECKLIST";
25
+ source["DOCUMENT_REPOSITORY"] = "DOCUMENT_REPOSITORY";
26
+ source["DISCUSSION"] = "DISCUSSION";
27
+ source["ISSUE_DECISION"] = "ISSUE_DECISION";
28
+ source["EXTERNAL"] = "EXTERNAL";
29
+ })(source = CreateExternalDocumentDto.source || (CreateExternalDocumentDto.source = {}));
30
+ })(CreateExternalDocumentDto || (exports.CreateExternalDocumentDto = CreateExternalDocumentDto = {}));
31
+ //# sourceMappingURL=CreateExternalDocumentDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExternalDocumentDto.js","sourceRoot":"","sources":["../../models/CreateExternalDocumentDto.ts"],"names":[],"mappings":";;;AAsCA,IAAiB,yBAAyB,CAuBzC;AAvBD,WAAiB,yBAAyB;IACtC;;OAEG;IACH,IAAY,UAQX;IARD,WAAY,UAAU;QAClB,iCAAmB,CAAA;QACnB,+BAAiB,CAAA;QACjB,yCAA2B,CAAA;QAC3B,+BAAiB,CAAA;QACjB,2BAAa,CAAA;QACb,6BAAe,CAAA;QACf,+CAAiC,CAAA;IACrC,CAAC,EARW,UAAU,GAAV,oCAAU,KAAV,oCAAU,QAQrB;IACD;;OAEG;IACH,IAAY,MAMX;IAND,WAAY,MAAM;QACd,iCAAuB,CAAA;QACvB,qDAA2C,CAAA;QAC3C,mCAAyB,CAAA;QACzB,2CAAiC,CAAA;QACjC,+BAAqB,CAAA;IACzB,CAAC,EANW,MAAM,GAAN,gCAAM,KAAN,gCAAM,QAMjB;AACL,CAAC,EAvBgB,yBAAyB,yCAAzB,yBAAyB,QAuBzC"}
@@ -0,0 +1,10 @@
1
+ export type CreateExternalDocumentResponseDto = {
2
+ /**
3
+ * The ID of the created attachment
4
+ */
5
+ attachmentId: string;
6
+ /**
7
+ * Success message
8
+ */
9
+ message: string;
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CreateExternalDocumentResponseDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateExternalDocumentResponseDto.js","sourceRoot":"","sources":["../../models/CreateExternalDocumentResponseDto.ts"],"names":[],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import type { CreateTransactionDto } from './CreateTransactionDto';
2
2
  export type CreateTradeOperationDto = {
3
3
  /**
4
- * string of the user who initiated this trade
4
+ * string of the client who initiated this trade
5
5
  */
6
6
  initiatedBy?: string;
7
7
  /**
@@ -24,7 +24,7 @@ export type CreateTransactionDto = {
24
24
  */
25
25
  amount: TransactionAmountDto;
26
26
  /**
27
- * Amount converted to other currencies
27
+ * Amount converted to other currencies according to the platform's preferred currency (default currency is USD)
28
28
  */
29
29
  convertedAmount?: TransactionAmountDto;
30
30
  /**
@@ -5,7 +5,7 @@ export type CreateWithdrawalOperationDto = {
5
5
  */
6
6
  referenceId?: string;
7
7
  /**
8
- * string of the user who initiated the withdrawal
8
+ * string of the client who initiated the withdrawal
9
9
  */
10
10
  initiatedBy?: string;
11
11
  /**
@@ -0,0 +1,28 @@
1
+ export type RelateAttachmentsDto = {
2
+ /**
3
+ * Array of attachment IDs to relate to the entity
4
+ */
5
+ fileIds: Array<string>;
6
+ /**
7
+ * ID of the entity to relate attachments to
8
+ */
9
+ entityId: string;
10
+ /**
11
+ * Type of entity to relate attachments to
12
+ */
13
+ entityType: RelateAttachmentsDto.entityType;
14
+ };
15
+ export declare namespace RelateAttachmentsDto {
16
+ /**
17
+ * Type of entity to relate attachments to
18
+ */
19
+ enum entityType {
20
+ COMMENT = "comment",
21
+ CLIENT = "client",
22
+ TRANSACTION = "transaction",
23
+ REPORT = "report",
24
+ CASE = "case",
25
+ ALERT = "alert",
26
+ CHECKLIST_ITEM = "checklist_item"
27
+ }
28
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RelateAttachmentsDto = void 0;
4
+ var RelateAttachmentsDto;
5
+ (function (RelateAttachmentsDto) {
6
+ /**
7
+ * Type of entity to relate attachments to
8
+ */
9
+ let entityType;
10
+ (function (entityType) {
11
+ entityType["COMMENT"] = "comment";
12
+ entityType["CLIENT"] = "client";
13
+ entityType["TRANSACTION"] = "transaction";
14
+ entityType["REPORT"] = "report";
15
+ entityType["CASE"] = "case";
16
+ entityType["ALERT"] = "alert";
17
+ entityType["CHECKLIST_ITEM"] = "checklist_item";
18
+ })(entityType = RelateAttachmentsDto.entityType || (RelateAttachmentsDto.entityType = {}));
19
+ })(RelateAttachmentsDto || (exports.RelateAttachmentsDto = RelateAttachmentsDto = {}));
20
+ //# sourceMappingURL=RelateAttachmentsDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelateAttachmentsDto.js","sourceRoot":"","sources":["../../models/RelateAttachmentsDto.ts"],"names":[],"mappings":";;;AAkBA,IAAiB,oBAAoB,CAapC;AAbD,WAAiB,oBAAoB;IACjC;;OAEG;IACH,IAAY,UAQX;IARD,WAAY,UAAU;QAClB,iCAAmB,CAAA;QACnB,+BAAiB,CAAA;QACjB,yCAA2B,CAAA;QAC3B,+BAAiB,CAAA;QACjB,2BAAa,CAAA;QACb,6BAAe,CAAA;QACf,+CAAiC,CAAA;IACrC,CAAC,EARW,UAAU,GAAV,+BAAU,KAAV,+BAAU,QAQrB;AACL,CAAC,EAbgB,oBAAoB,oCAApB,oBAAoB,QAapC"}
@@ -4,7 +4,7 @@ export type TransactionAmountDto = {
4
4
  */
5
5
  amount: number;
6
6
  /**
7
- * Currency of the transaction, can be a crypto or fiat
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
8
  */
9
9
  currency: string;
10
10
  /**
@@ -1,15 +1,15 @@
1
1
  import type { TransactionSourceOrDestinationClientDto } from './TransactionSourceOrDestinationClientDto';
2
2
  export type TransactionSourceOrDestinationDto = {
3
3
  /**
4
- * Client associated with the transaction
4
+ * The client ID or reference ID that the transaction was sent from or to
5
5
  */
6
6
  client?: TransactionSourceOrDestinationClientDto;
7
7
  /**
8
- * Bank account number
8
+ * The bank account number that the transaction was sent from or to - if the bank account doesn't exist in the database, it will be created and associated with the provided client if supplied
9
9
  */
10
10
  bankAccountNumber?: string;
11
11
  /**
12
- * Blockchain wallet address
12
+ * The blockchain wallet address that the transaction was sent from or to - if the blockchain wallet doesn't exist in the database, it will be created and associated with the provided client if supplied
13
13
  */
14
14
  walletAddress?: string;
15
15
  };
@@ -13,6 +13,10 @@ export type UpdateAlertDto = {
13
13
  * Category of the alert
14
14
  */
15
15
  category?: UpdateAlertDto.category;
16
+ /**
17
+ * Subcategory of the alert for more granular classification
18
+ */
19
+ subCategory?: string;
16
20
  /**
17
21
  * Current status of the alert
18
22
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateAlertDto.js","sourceRoot":"","sources":["../../models/UpdateAlertDto.ts"],"names":[],"mappings":";;;AAwDA,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":";;;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"}
@@ -0,0 +1,42 @@
1
+ export type UpdateAttachmentDto = {
2
+ /**
3
+ * Type of entity the attachment is associated with
4
+ */
5
+ entityType?: UpdateAttachmentDto.entityType;
6
+ /**
7
+ * ID of the entity the attachment is associated with
8
+ */
9
+ entityId?: string;
10
+ /**
11
+ * New file name for the attachment
12
+ */
13
+ fileName?: string;
14
+ /**
15
+ * The source of the attachment
16
+ */
17
+ source?: UpdateAttachmentDto.source;
18
+ };
19
+ export declare namespace UpdateAttachmentDto {
20
+ /**
21
+ * Type of entity the attachment is associated with
22
+ */
23
+ enum entityType {
24
+ COMMENT = "comment",
25
+ CLIENT = "client",
26
+ TRANSACTION = "transaction",
27
+ REPORT = "report",
28
+ CASE = "case",
29
+ ALERT = "alert",
30
+ CHECKLIST_ITEM = "checklist_item"
31
+ }
32
+ /**
33
+ * The source of the attachment
34
+ */
35
+ enum source {
36
+ CHECKLIST = "CHECKLIST",
37
+ DOCUMENT_REPOSITORY = "DOCUMENT_REPOSITORY",
38
+ DISCUSSION = "DISCUSSION",
39
+ ISSUE_DECISION = "ISSUE_DECISION",
40
+ EXTERNAL = "EXTERNAL"
41
+ }
42
+ }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateAttachmentDto = void 0;
4
+ var UpdateAttachmentDto;
5
+ (function (UpdateAttachmentDto) {
6
+ /**
7
+ * Type of entity the attachment is associated with
8
+ */
9
+ let entityType;
10
+ (function (entityType) {
11
+ entityType["COMMENT"] = "comment";
12
+ entityType["CLIENT"] = "client";
13
+ entityType["TRANSACTION"] = "transaction";
14
+ entityType["REPORT"] = "report";
15
+ entityType["CASE"] = "case";
16
+ entityType["ALERT"] = "alert";
17
+ entityType["CHECKLIST_ITEM"] = "checklist_item";
18
+ })(entityType = UpdateAttachmentDto.entityType || (UpdateAttachmentDto.entityType = {}));
19
+ /**
20
+ * The source of the attachment
21
+ */
22
+ let source;
23
+ (function (source) {
24
+ source["CHECKLIST"] = "CHECKLIST";
25
+ source["DOCUMENT_REPOSITORY"] = "DOCUMENT_REPOSITORY";
26
+ source["DISCUSSION"] = "DISCUSSION";
27
+ source["ISSUE_DECISION"] = "ISSUE_DECISION";
28
+ source["EXTERNAL"] = "EXTERNAL";
29
+ })(source = UpdateAttachmentDto.source || (UpdateAttachmentDto.source = {}));
30
+ })(UpdateAttachmentDto || (exports.UpdateAttachmentDto = UpdateAttachmentDto = {}));
31
+ //# sourceMappingURL=UpdateAttachmentDto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateAttachmentDto.js","sourceRoot":"","sources":["../../models/UpdateAttachmentDto.ts"],"names":[],"mappings":";;;AAsBA,IAAiB,mBAAmB,CAuBnC;AAvBD,WAAiB,mBAAmB;IAChC;;OAEG;IACH,IAAY,UAQX;IARD,WAAY,UAAU;QAClB,iCAAmB,CAAA;QACnB,+BAAiB,CAAA;QACjB,yCAA2B,CAAA;QAC3B,+BAAiB,CAAA;QACjB,2BAAa,CAAA;QACb,6BAAe,CAAA;QACf,+CAAiC,CAAA;IACrC,CAAC,EARW,UAAU,GAAV,8BAAU,KAAV,8BAAU,QAQrB;IACD;;OAEG;IACH,IAAY,MAMX;IAND,WAAY,MAAM;QACd,iCAAuB,CAAA;QACvB,qDAA2C,CAAA;QAC3C,mCAAyB,CAAA;QACzB,2CAAiC,CAAA;QACjC,+BAAqB,CAAA;IACzB,CAAC,EANW,MAAM,GAAN,0BAAM,KAAN,0BAAM,QAMjB;AACL,CAAC,EAvBgB,mBAAmB,mCAAnB,mBAAmB,QAuBnC"}
@@ -17,6 +17,10 @@ export type UpdateCaseDto = {
17
17
  * Category of the case
18
18
  */
19
19
  category?: UpdateCaseDto.category;
20
+ /**
21
+ * Subcategory of the case for more granular classification
22
+ */
23
+ subCategory?: string;
20
24
  /**
21
25
  * IDs of the reviewers of the case
22
26
  */
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateCaseDto.js","sourceRoot":"","sources":["../../models/UpdateCaseDto.ts"],"names":[],"mappings":";;;AA4DA,IAAiB,aAAa,CA0B7B;AA1BD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,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,sBAAQ,KAAR,sBAAQ,QAanB;AACL,CAAC,EA1BgB,aAAa,6BAAb,aAAa,QA0B7B"}
1
+ {"version":3,"file":"UpdateCaseDto.js","sourceRoot":"","sources":["../../models/UpdateCaseDto.ts"],"names":[],"mappings":";;;AAgEA,IAAiB,aAAa,CA0B7B;AA1BD,WAAiB,aAAa;IAC1B;;OAEG;IACH,IAAY,QAIX;IAJD,WAAY,QAAQ;QAChB,uBAAW,CAAA;QACX,6BAAiB,CAAA;QACjB,yBAAa,CAAA;IACjB,CAAC,EAJW,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,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,sBAAQ,KAAR,sBAAQ,QAanB;AACL,CAAC,EA1BgB,aAAa,6BAAb,aAAa,QA0B7B"}