@corsa-labs/sdk 4.44.0 → 4.46.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 (136) hide show
  1. package/dist/CorsaClient.d.ts +6 -0
  2. package/dist/CorsaClient.js +9 -0
  3. package/dist/CorsaClient.js.map +1 -1
  4. package/dist/index.d.ts +19 -0
  5. package/dist/index.js +21 -3
  6. package/dist/index.js.map +1 -1
  7. package/dist/models/AddScreeningMatchesDto.d.ts +7 -0
  8. package/dist/models/AddScreeningMatchesDto.js +3 -0
  9. package/dist/models/AddScreeningMatchesDto.js.map +1 -0
  10. package/dist/models/AlertDecisionDto.d.ts +4 -0
  11. package/dist/models/AlertDto.d.ts +17 -0
  12. package/dist/models/AlertDto.js +9 -0
  13. package/dist/models/AlertDto.js.map +1 -1
  14. package/dist/models/AlertStatusData.d.ts +5 -0
  15. package/dist/models/AlertStatusData.js.map +1 -1
  16. package/dist/models/BulkAlertDecisionInput.d.ts +4 -0
  17. package/dist/models/BulkAppliedCorporateClientChanges.d.ts +43 -1
  18. package/dist/models/BulkAppliedCorporateClientChanges.js +33 -0
  19. package/dist/models/BulkAppliedCorporateClientChanges.js.map +1 -1
  20. package/dist/models/BulkAppliedIndividualClientChanges.d.ts +43 -1
  21. package/dist/models/BulkAppliedIndividualClientChanges.js +33 -0
  22. package/dist/models/BulkAppliedIndividualClientChanges.js.map +1 -1
  23. package/dist/models/BulkAppliedTransactionChanges.d.ts +5 -0
  24. package/dist/models/BulkAppliedTransactionChanges.js.map +1 -1
  25. package/dist/models/BulkCaseStatusInput.d.ts +4 -0
  26. package/dist/models/BulkCaseStatusInput.js.map +1 -1
  27. package/dist/models/BulkCorporateClientUpdateFields.d.ts +43 -1
  28. package/dist/models/BulkCorporateClientUpdateFields.js +33 -0
  29. package/dist/models/BulkCorporateClientUpdateFields.js.map +1 -1
  30. package/dist/models/BulkEscalateAlertDto.d.ts +4 -0
  31. package/dist/models/BulkIndividualClientUpdateFields.d.ts +43 -1
  32. package/dist/models/BulkIndividualClientUpdateFields.js +33 -0
  33. package/dist/models/BulkIndividualClientUpdateFields.js.map +1 -1
  34. package/dist/models/BulkScreeningMatchDecisionDto.d.ts +28 -0
  35. package/dist/models/BulkScreeningMatchDecisionDto.js +16 -0
  36. package/dist/models/BulkScreeningMatchDecisionDto.js.map +1 -0
  37. package/dist/models/BulkScreeningMatchDecisionResponseDto.d.ts +27 -0
  38. package/dist/models/BulkScreeningMatchDecisionResponseDto.js +3 -0
  39. package/dist/models/BulkScreeningMatchDecisionResponseDto.js.map +1 -0
  40. package/dist/models/BulkTransactionUpdateFields.d.ts +5 -0
  41. package/dist/models/BulkTransactionUpdateFields.js.map +1 -1
  42. package/dist/models/BulkUpdateAlertStatusDto.d.ts +1 -1
  43. package/dist/models/BulkUpdateCaseStatusDto.d.ts +4 -0
  44. package/dist/models/BulkUpdateCaseStatusDto.js.map +1 -1
  45. package/dist/models/CaseStatusData.d.ts +5 -0
  46. package/dist/models/CaseStatusData.js.map +1 -1
  47. package/dist/models/CorporateClientDto.d.ts +43 -1
  48. package/dist/models/CorporateClientDto.js +33 -0
  49. package/dist/models/CorporateClientDto.js.map +1 -1
  50. package/dist/models/CreateAlertDto.d.ts +9 -0
  51. package/dist/models/CreateAlertDto.js.map +1 -1
  52. package/dist/models/CreateCorporateClientDto.d.ts +43 -1
  53. package/dist/models/CreateCorporateClientDto.js +33 -0
  54. package/dist/models/CreateCorporateClientDto.js.map +1 -1
  55. package/dist/models/CreateExternalRuleDto.d.ts +18 -0
  56. package/dist/models/CreateExternalRuleDto.js +3 -0
  57. package/dist/models/CreateExternalRuleDto.js.map +1 -0
  58. package/dist/models/CreateIndividualClientDto.d.ts +43 -1
  59. package/dist/models/CreateIndividualClientDto.js +33 -0
  60. package/dist/models/CreateIndividualClientDto.js.map +1 -1
  61. package/dist/models/CreateScreeningMatchDto.d.ts +61 -0
  62. package/dist/models/CreateScreeningMatchDto.js +3 -0
  63. package/dist/models/CreateScreeningMatchDto.js.map +1 -0
  64. package/dist/models/CreateSubDispositionDto.d.ts +36 -0
  65. package/dist/models/CreateSubDispositionDto.js +25 -0
  66. package/dist/models/CreateSubDispositionDto.js.map +1 -0
  67. package/dist/models/CreateTradeOperationResponseDto.d.ts +1 -1
  68. package/dist/models/CreateTransactionDto.d.ts +5 -0
  69. package/dist/models/CreateTransactionDto.js.map +1 -1
  70. package/dist/models/CreateTransferOperationDto.d.ts +24 -0
  71. package/dist/models/CreateTransferOperationDto.js +3 -0
  72. package/dist/models/CreateTransferOperationDto.js.map +1 -0
  73. package/dist/models/CreateTransferOperationResponseDto.d.ts +32 -0
  74. package/dist/models/CreateTransferOperationResponseDto.js +3 -0
  75. package/dist/models/CreateTransferOperationResponseDto.js.map +1 -0
  76. package/dist/models/EvaluationResultDto.d.ts +0 -4
  77. package/dist/models/EvaluationResultDto.js.map +1 -1
  78. package/dist/models/IndividualClientDto.d.ts +43 -1
  79. package/dist/models/IndividualClientDto.js +33 -0
  80. package/dist/models/IndividualClientDto.js.map +1 -1
  81. package/dist/models/RuleResponseDto.d.ts +5 -2
  82. package/dist/models/RuleResponseDto.js.map +1 -1
  83. package/dist/models/ScreeningMatchDecisionDto.d.ts +24 -0
  84. package/dist/models/ScreeningMatchDecisionDto.js +16 -0
  85. package/dist/models/ScreeningMatchDecisionDto.js.map +1 -0
  86. package/dist/models/ScreeningMatchDto.d.ts +89 -0
  87. package/dist/models/ScreeningMatchDto.js +17 -0
  88. package/dist/models/ScreeningMatchDto.js.map +1 -0
  89. package/dist/models/SubDispositionDto.d.ts +60 -0
  90. package/dist/models/SubDispositionDto.js +25 -0
  91. package/dist/models/SubDispositionDto.js.map +1 -0
  92. package/dist/models/SubDispositionSummaryDto.d.ts +29 -0
  93. package/dist/models/SubDispositionSummaryDto.js +17 -0
  94. package/dist/models/SubDispositionSummaryDto.js.map +1 -0
  95. package/dist/models/TradeOperationDto.d.ts +1 -1
  96. package/dist/models/TransactionDto.d.ts +11 -1
  97. package/dist/models/TransactionDto.js +1 -0
  98. package/dist/models/TransactionDto.js.map +1 -1
  99. package/dist/models/TransferOperationDto.d.ts +32 -0
  100. package/dist/models/TransferOperationDto.js +3 -0
  101. package/dist/models/TransferOperationDto.js.map +1 -0
  102. package/dist/models/UpdateCaseStatusDto.d.ts +4 -0
  103. package/dist/models/UpdateCaseStatusDto.js.map +1 -1
  104. package/dist/models/UpdateCorporateClientDto.d.ts +43 -1
  105. package/dist/models/UpdateCorporateClientDto.js +33 -0
  106. package/dist/models/UpdateCorporateClientDto.js.map +1 -1
  107. package/dist/models/UpdateExternalRuleDto.d.ts +12 -0
  108. package/dist/models/UpdateExternalRuleDto.js +3 -0
  109. package/dist/models/UpdateExternalRuleDto.js.map +1 -0
  110. package/dist/models/UpdateIndividualClientDto.d.ts +43 -1
  111. package/dist/models/UpdateIndividualClientDto.js +33 -0
  112. package/dist/models/UpdateIndividualClientDto.js.map +1 -1
  113. package/dist/models/UpdateScreeningMatchDto.d.ts +61 -0
  114. package/dist/models/UpdateScreeningMatchDto.js +3 -0
  115. package/dist/models/UpdateScreeningMatchDto.js.map +1 -0
  116. package/dist/models/UpdateSubDispositionDto.d.ts +10 -0
  117. package/dist/models/UpdateSubDispositionDto.js +3 -0
  118. package/dist/models/UpdateSubDispositionDto.js.map +1 -0
  119. package/dist/models/UpdateTransactionDto.d.ts +5 -0
  120. package/dist/models/UpdateTransactionDto.js.map +1 -1
  121. package/dist/services/AlertsService.d.ts +48 -0
  122. package/dist/services/AlertsService.js +93 -0
  123. package/dist/services/AlertsService.js.map +1 -1
  124. package/dist/services/ExternalRulesService.d.ts +235 -0
  125. package/dist/services/ExternalRulesService.js +304 -0
  126. package/dist/services/ExternalRulesService.js.map +1 -0
  127. package/dist/services/RulesService.d.ts +37 -1
  128. package/dist/services/RulesService.js +39 -1
  129. package/dist/services/RulesService.js.map +1 -1
  130. package/dist/services/SubDispositionsService.d.ts +60 -0
  131. package/dist/services/SubDispositionsService.js +123 -0
  132. package/dist/services/SubDispositionsService.js.map +1 -0
  133. package/dist/services/TransfersService.d.ts +24 -0
  134. package/dist/services/TransfersService.js +44 -0
  135. package/dist/services/TransfersService.js.map +1 -0
  136. package/package.json +1 -1
@@ -0,0 +1,304 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ExternalRulesService = void 0;
4
+ class ExternalRulesService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * Create an external vendor rule
11
+ * Create an external vendor rule
12
+ * @param requestBody
13
+ * @returns RuleResponseDto
14
+ * @throws ApiError
15
+ */
16
+ createExternalRule(requestBody) {
17
+ return this.httpRequest.request({
18
+ method: 'POST',
19
+ url: '/v1/external-rules',
20
+ body: requestBody,
21
+ mediaType: 'application/json',
22
+ });
23
+ }
24
+ /**
25
+ * List external rules with pagination
26
+ * List external rules with pagination
27
+ * @param page Page number to retrieve. If you provide invalid value the default page number will applied
28
+ *
29
+ * **Example:** 1
30
+ *
31
+ *
32
+ * **Default Value:** 1
33
+ *
34
+ *
35
+ * @param limit Number of records per page.
36
+ *
37
+ *
38
+ * **Example:** 20
39
+ *
40
+ *
41
+ *
42
+ * **Default Value:** 20
43
+ *
44
+ *
45
+ *
46
+ * **Max Value:** 100
47
+ *
48
+ *
49
+ * If provided value is greater than max value, max value will be applied.
50
+ *
51
+ * @param filterId Filter by id query param.
52
+ *
53
+ * **Format:** filter.id={$not}:OPERATION:VALUE
54
+ *
55
+ *
56
+ *
57
+ * **Example:** filter.id=$eq:John Doe&filter.id=$in:John Doe
58
+ *
59
+ * **Available Operations**
60
+ * - $eq
61
+ *
62
+ * - $in
63
+ *
64
+ * - $and
65
+ *
66
+ * - $or
67
+ * @param filterName Filter by name query param.
68
+ *
69
+ * **Format:** filter.name={$not}:OPERATION:VALUE
70
+ *
71
+ *
72
+ *
73
+ * **Example:** filter.name=$eq:John Doe&filter.name=$ilike:John Doe
74
+ *
75
+ * **Available Operations**
76
+ * - $eq
77
+ *
78
+ * - $ilike
79
+ *
80
+ * - $in
81
+ *
82
+ * - $and
83
+ *
84
+ * - $or
85
+ * @param filterStatus Filter by status query param.
86
+ *
87
+ * **Format:** filter.status={$not}:OPERATION:VALUE
88
+ *
89
+ *
90
+ *
91
+ * **Example:** filter.status=$eq:John Doe&filter.status=$in:John Doe
92
+ *
93
+ * **Available Operations**
94
+ * - $eq
95
+ *
96
+ * - $in
97
+ *
98
+ * - $and
99
+ *
100
+ * - $or
101
+ * @param filterVendorName Filter by vendorName query param.
102
+ *
103
+ * **Format:** filter.vendorName={$not}:OPERATION:VALUE
104
+ *
105
+ *
106
+ *
107
+ * **Example:** filter.vendorName=$eq:John Doe&filter.vendorName=$ilike:John Doe
108
+ *
109
+ * **Available Operations**
110
+ * - $eq
111
+ *
112
+ * - $ilike
113
+ *
114
+ * - $in
115
+ *
116
+ * - $and
117
+ *
118
+ * - $or
119
+ * @param filterUpdatedAt Filter by updatedAt query param.
120
+ *
121
+ * **Format:** filter.updatedAt={$not}:OPERATION:VALUE
122
+ *
123
+ *
124
+ *
125
+ * **Example:** filter.updatedAt=$btw:John Doe&filter.updatedAt=$gte:John Doe
126
+ *
127
+ * **Available Operations**
128
+ * - $gte
129
+ *
130
+ * - $lte
131
+ *
132
+ * - $btw
133
+ *
134
+ * - $and
135
+ *
136
+ * - $or
137
+ * @param filterCreatedAt Filter by createdAt query param.
138
+ *
139
+ * **Format:** filter.createdAt={$not}:OPERATION:VALUE
140
+ *
141
+ *
142
+ *
143
+ * **Example:** filter.createdAt=$btw:John Doe&filter.createdAt=$gte:John Doe
144
+ *
145
+ * **Available Operations**
146
+ * - $gte
147
+ *
148
+ * - $lte
149
+ *
150
+ * - $btw
151
+ *
152
+ * - $and
153
+ *
154
+ * - $or
155
+ * @param sortBy Parameter to sort by.
156
+ * To sort by multiple fields, just provide query param multiple types. The order in url defines an order of sorting
157
+ *
158
+ * **Format:** {fieldName}:{DIRECTION}
159
+ *
160
+ *
161
+ * **Example:** sortBy=id:DESC&sortBy=name:DESC
162
+ *
163
+ *
164
+ * **Default Value:** updatedAt:DESC
165
+ *
166
+ * **Available Fields**
167
+ * - id
168
+ *
169
+ * - name
170
+ *
171
+ * - updatedAt
172
+ *
173
+ * - createdAt
174
+ *
175
+ * - vendorName
176
+ *
177
+ * @param search Search term to filter result values
178
+ *
179
+ * **Example:** John
180
+ *
181
+ *
182
+ * **Default Value:** No default value
183
+ *
184
+ *
185
+ * @param searchBy List of fields to search by term to filter result values
186
+ *
187
+ * **Example:** name,description
188
+ *
189
+ *
190
+ * **Default Value:** By default all fields mentioned below will be used to search by term
191
+ *
192
+ * **Available Fields**
193
+ * - name
194
+ *
195
+ * - description
196
+ *
197
+ * @returns any
198
+ * @throws ApiError
199
+ */
200
+ listExternalRules(page, limit, filterId, filterName, filterStatus, filterVendorName, filterUpdatedAt, filterCreatedAt, sortBy, search, searchBy) {
201
+ return this.httpRequest.request({
202
+ method: 'GET',
203
+ url: '/v1/external-rules',
204
+ query: {
205
+ 'page': page,
206
+ 'limit': limit,
207
+ 'filter.id': filterId,
208
+ 'filter.name': filterName,
209
+ 'filter.status': filterStatus,
210
+ 'filter.vendorName': filterVendorName,
211
+ 'filter.updatedAt': filterUpdatedAt,
212
+ 'filter.createdAt': filterCreatedAt,
213
+ 'sortBy': sortBy,
214
+ 'search': search,
215
+ 'searchBy': searchBy,
216
+ },
217
+ });
218
+ }
219
+ /**
220
+ * Update an external vendor rule
221
+ * Update an external vendor rule
222
+ * @param id
223
+ * @param requestBody
224
+ * @returns RuleResponseDto
225
+ * @throws ApiError
226
+ */
227
+ updateExternalRule(id, requestBody) {
228
+ return this.httpRequest.request({
229
+ method: 'PUT',
230
+ url: '/v1/external-rules/{id}',
231
+ path: {
232
+ 'id': id,
233
+ },
234
+ body: requestBody,
235
+ mediaType: 'application/json',
236
+ });
237
+ }
238
+ /**
239
+ * Delete an external vendor rule (soft delete)
240
+ * Delete an external vendor rule (soft delete)
241
+ * @param id
242
+ * @param reason
243
+ * @returns void
244
+ * @throws ApiError
245
+ */
246
+ deleteExternalRule(id, reason) {
247
+ return this.httpRequest.request({
248
+ method: 'DELETE',
249
+ url: '/v1/external-rules/{id}',
250
+ path: {
251
+ 'id': id,
252
+ },
253
+ query: {
254
+ 'reason': reason,
255
+ },
256
+ });
257
+ }
258
+ /**
259
+ * Get an external rule by ID
260
+ * Get an external rule by ID
261
+ * @param id
262
+ * @returns RuleResponseDto
263
+ * @throws ApiError
264
+ */
265
+ getExternalRule(id) {
266
+ return this.httpRequest.request({
267
+ method: 'GET',
268
+ url: '/v1/external-rules/{id}',
269
+ path: {
270
+ 'id': id,
271
+ },
272
+ });
273
+ }
274
+ /**
275
+ * Get distinct vendor names from external rules
276
+ * Get distinct vendor names from external rules
277
+ * @returns string
278
+ * @throws ApiError
279
+ */
280
+ listExternalRuleVendors() {
281
+ return this.httpRequest.request({
282
+ method: 'GET',
283
+ url: '/v1/external-rules/vendors',
284
+ });
285
+ }
286
+ /**
287
+ * Check if a rule name already exists
288
+ * Check if a rule name already exists
289
+ * @param name
290
+ * @returns any
291
+ * @throws ApiError
292
+ */
293
+ checkExternalRuleNameExists(name) {
294
+ return this.httpRequest.request({
295
+ method: 'GET',
296
+ url: '/v1/external-rules/name-exists',
297
+ query: {
298
+ 'name': name,
299
+ },
300
+ });
301
+ }
302
+ }
303
+ exports.ExternalRulesService = ExternalRulesService;
304
+ //# sourceMappingURL=ExternalRulesService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalRulesService.js","sourceRoot":"","sources":["../../services/ExternalRulesService.ts"],"names":[],"mappings":";;;AASA,MAAa,oBAAoB;IACD;IAA5B,YAA4B,WAA4B;QAA5B,gBAAW,GAAX,WAAW,CAAiB;IAAG,CAAC;IAC5D;;;;;;OAMG;IACI,kBAAkB,CACrB,WAAkC;QAElC,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,G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CACrB,EAAU,EACV,MAAe;QAEf,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,yBAAyB;YAC9B,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACH,QAAQ,EAAE,MAAM;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,eAAe,CAClB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yBAAyB;YAC9B,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;OAKG;IACI,uBAAuB;QAC1B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,4BAA4B;SACpC,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,2BAA2B,CAC9B,IAAY;QAEZ,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gCAAgC;YACrC,KAAK,EAAE;gBACH,MAAM,EAAE,IAAI;aACf;SACJ,CAAC,CAAC;IACP,CAAC;CACJ;AA/TD,oDA+TC"}
@@ -93,6 +93,38 @@ export declare class RulesService {
93
93
  * - $and
94
94
  *
95
95
  * - $or
96
+ * @param filterIsExternalRule Filter by isExternalRule query param.
97
+ *
98
+ * **Format:** filter.isExternalRule={$not}:OPERATION:VALUE
99
+ *
100
+ *
101
+ *
102
+ * **Example:** filter.isExternalRule=$eq:John Doe
103
+ *
104
+ * **Available Operations**
105
+ * - $eq
106
+ *
107
+ * - $and
108
+ *
109
+ * - $or
110
+ * @param filterVendorName Filter by vendorName query param.
111
+ *
112
+ * **Format:** filter.vendorName={$not}:OPERATION:VALUE
113
+ *
114
+ *
115
+ *
116
+ * **Example:** filter.vendorName=$eq:John Doe&filter.vendorName=$in:John Doe
117
+ *
118
+ * **Available Operations**
119
+ * - $eq
120
+ *
121
+ * - $in
122
+ *
123
+ * - $null
124
+ *
125
+ * - $and
126
+ *
127
+ * - $or
96
128
  * @param filterUpdatedAt Filter by updatedAt query param.
97
129
  *
98
130
  * **Format:** filter.updatedAt={$not}:OPERATION:VALUE
@@ -151,6 +183,10 @@ export declare class RulesService {
151
183
  *
152
184
  * - status
153
185
  *
186
+ * - isExternalRule
187
+ *
188
+ * - vendorName
189
+ *
154
190
  * @param search Search term to filter result values
155
191
  *
156
192
  * **Example:** John
@@ -174,7 +210,7 @@ export declare class RulesService {
174
210
  * @returns any
175
211
  * @throws ApiError
176
212
  */
177
- listRules(page?: number, limit?: number, filterId?: Array<string>, filterName?: Array<string>, filterStatus?: Array<string>, filterUpdatedAt?: Array<string>, filterCreatedAt?: Array<string>, sortBy?: Array<'id:ASC' | 'id:DESC' | 'name:ASC' | 'name:DESC' | 'updatedAt:ASC' | 'updatedAt:DESC' | 'createdAt:ASC' | 'createdAt:DESC' | 'status:ASC' | 'status:DESC'>, search?: string, searchBy?: Array<string>): CancelablePromise<any>;
213
+ listRules(page?: number, limit?: number, filterId?: Array<string>, filterName?: Array<string>, filterStatus?: Array<string>, filterIsExternalRule?: Array<string>, filterVendorName?: Array<string>, filterUpdatedAt?: Array<string>, filterCreatedAt?: Array<string>, sortBy?: Array<'id:ASC' | 'id:DESC' | 'name:ASC' | 'name:DESC' | 'updatedAt:ASC' | 'updatedAt:DESC' | 'createdAt:ASC' | 'createdAt:DESC' | 'status:ASC' | 'status:DESC' | 'isExternalRule:ASC' | 'isExternalRule:DESC' | 'vendorName:ASC' | 'vendorName:DESC'>, search?: string, searchBy?: Array<string>): CancelablePromise<any>;
178
214
  /**
179
215
  * Update a rule
180
216
  * Update a rule
@@ -98,6 +98,38 @@ class RulesService {
98
98
  * - $and
99
99
  *
100
100
  * - $or
101
+ * @param filterIsExternalRule Filter by isExternalRule query param.
102
+ *
103
+ * **Format:** filter.isExternalRule={$not}:OPERATION:VALUE
104
+ *
105
+ *
106
+ *
107
+ * **Example:** filter.isExternalRule=$eq:John Doe
108
+ *
109
+ * **Available Operations**
110
+ * - $eq
111
+ *
112
+ * - $and
113
+ *
114
+ * - $or
115
+ * @param filterVendorName Filter by vendorName query param.
116
+ *
117
+ * **Format:** filter.vendorName={$not}:OPERATION:VALUE
118
+ *
119
+ *
120
+ *
121
+ * **Example:** filter.vendorName=$eq:John Doe&filter.vendorName=$in:John Doe
122
+ *
123
+ * **Available Operations**
124
+ * - $eq
125
+ *
126
+ * - $in
127
+ *
128
+ * - $null
129
+ *
130
+ * - $and
131
+ *
132
+ * - $or
101
133
  * @param filterUpdatedAt Filter by updatedAt query param.
102
134
  *
103
135
  * **Format:** filter.updatedAt={$not}:OPERATION:VALUE
@@ -156,6 +188,10 @@ class RulesService {
156
188
  *
157
189
  * - status
158
190
  *
191
+ * - isExternalRule
192
+ *
193
+ * - vendorName
194
+ *
159
195
  * @param search Search term to filter result values
160
196
  *
161
197
  * **Example:** John
@@ -179,7 +215,7 @@ class RulesService {
179
215
  * @returns any
180
216
  * @throws ApiError
181
217
  */
182
- listRules(page, limit, filterId, filterName, filterStatus, filterUpdatedAt, filterCreatedAt, sortBy, search, searchBy) {
218
+ listRules(page, limit, filterId, filterName, filterStatus, filterIsExternalRule, filterVendorName, filterUpdatedAt, filterCreatedAt, sortBy, search, searchBy) {
183
219
  return this.httpRequest.request({
184
220
  method: 'GET',
185
221
  url: '/v1/rules',
@@ -189,6 +225,8 @@ class RulesService {
189
225
  'filter.id': filterId,
190
226
  'filter.name': filterName,
191
227
  'filter.status': filterStatus,
228
+ 'filter.isExternalRule': filterIsExternalRule,
229
+ 'filter.vendorName': filterVendorName,
192
230
  'filter.updatedAt': filterUpdatedAt,
193
231
  'filter.createdAt': filterCreatedAt,
194
232
  'sortBy': sortBy,
@@ -1 +1 @@
1
- {"version":3,"file":"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AAU,EACV,WAA4B;QAE5B,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,wBAAwB;YAC7B,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;SAChC,CAAC,CAAC;IACP,CAAC;CACJ;AAtWD,oCAsWC"}
@@ -0,0 +1,60 @@
1
+ import type { CreateSubDispositionDto } from '../models/CreateSubDispositionDto';
2
+ import type { SubDispositionDto } from '../models/SubDispositionDto';
3
+ import type { UpdateSubDispositionDto } from '../models/UpdateSubDispositionDto';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
5
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
6
+ export declare class SubDispositionsService {
7
+ readonly httpRequest: BaseHttpRequest;
8
+ constructor(httpRequest: BaseHttpRequest);
9
+ /**
10
+ * List sub-dispositions for the current platform
11
+ * List sub-dispositions for the current platform
12
+ * @param parentStatus
13
+ * @param entityType
14
+ * @param isActive
15
+ * @param page
16
+ * @param limit
17
+ * @returns any
18
+ * @throws ApiError
19
+ */
20
+ listSubDispositions(parentStatus?: 'RESOLVED' | 'ESCALATED' | 'CLOSED_DISMISSED' | 'CLOSED_ESCALATION_TO_SAR', entityType?: 'ALERT' | 'CASE', isActive?: boolean, page?: number, limit?: number): CancelablePromise<any>;
21
+ /**
22
+ * Create a custom sub-disposition
23
+ * Create a custom sub-disposition
24
+ * @param requestBody
25
+ * @returns SubDispositionDto Sub-disposition created
26
+ * @throws ApiError
27
+ */
28
+ createSubDisposition(requestBody: CreateSubDispositionDto): CancelablePromise<SubDispositionDto>;
29
+ /**
30
+ * Get a sub-disposition by ID
31
+ * Get a sub-disposition by ID
32
+ * @param id
33
+ * @returns SubDispositionDto
34
+ * @throws ApiError
35
+ */
36
+ getSubDisposition(id: string): CancelablePromise<SubDispositionDto>;
37
+ /**
38
+ * Update a sub-disposition
39
+ * Update a sub-disposition
40
+ * @param id
41
+ * @param requestBody
42
+ * @returns SubDispositionDto Sub-disposition updated
43
+ * @throws ApiError
44
+ */
45
+ updateSubDisposition(id: string, requestBody: UpdateSubDispositionDto): CancelablePromise<SubDispositionDto>;
46
+ /**
47
+ * Soft-delete a custom sub-disposition
48
+ * Soft-delete a custom sub-disposition
49
+ * @param id
50
+ * @returns void
51
+ * @throws ApiError
52
+ */
53
+ deleteSubDisposition(id: string): CancelablePromise<void>;
54
+ /**
55
+ * Seed preset sub-dispositions for the current platform
56
+ * @returns any Seed result
57
+ * @throws ApiError
58
+ */
59
+ seedSubDispositions(): CancelablePromise<any>;
60
+ }
@@ -0,0 +1,123 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SubDispositionsService = void 0;
4
+ class SubDispositionsService {
5
+ httpRequest;
6
+ constructor(httpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+ /**
10
+ * List sub-dispositions for the current platform
11
+ * List sub-dispositions for the current platform
12
+ * @param parentStatus
13
+ * @param entityType
14
+ * @param isActive
15
+ * @param page
16
+ * @param limit
17
+ * @returns any
18
+ * @throws ApiError
19
+ */
20
+ listSubDispositions(parentStatus, entityType, isActive, page, limit) {
21
+ return this.httpRequest.request({
22
+ method: 'GET',
23
+ url: '/v1/sub-dispositions',
24
+ query: {
25
+ 'parentStatus': parentStatus,
26
+ 'entityType': entityType,
27
+ 'isActive': isActive,
28
+ 'page': page,
29
+ 'limit': limit,
30
+ },
31
+ });
32
+ }
33
+ /**
34
+ * Create a custom sub-disposition
35
+ * Create a custom sub-disposition
36
+ * @param requestBody
37
+ * @returns SubDispositionDto Sub-disposition created
38
+ * @throws ApiError
39
+ */
40
+ createSubDisposition(requestBody) {
41
+ return this.httpRequest.request({
42
+ method: 'POST',
43
+ url: '/v1/sub-dispositions',
44
+ body: requestBody,
45
+ mediaType: 'application/json',
46
+ errors: {
47
+ 400: `Validation error or duplicate name`,
48
+ },
49
+ });
50
+ }
51
+ /**
52
+ * Get a sub-disposition by ID
53
+ * Get a sub-disposition by ID
54
+ * @param id
55
+ * @returns SubDispositionDto
56
+ * @throws ApiError
57
+ */
58
+ getSubDisposition(id) {
59
+ return this.httpRequest.request({
60
+ method: 'GET',
61
+ url: '/v1/sub-dispositions/{id}',
62
+ path: {
63
+ 'id': id,
64
+ },
65
+ });
66
+ }
67
+ /**
68
+ * Update a sub-disposition
69
+ * Update a sub-disposition
70
+ * @param id
71
+ * @param requestBody
72
+ * @returns SubDispositionDto Sub-disposition updated
73
+ * @throws ApiError
74
+ */
75
+ updateSubDisposition(id, requestBody) {
76
+ return this.httpRequest.request({
77
+ method: 'PATCH',
78
+ url: '/v1/sub-dispositions/{id}',
79
+ path: {
80
+ 'id': id,
81
+ },
82
+ body: requestBody,
83
+ mediaType: 'application/json',
84
+ errors: {
85
+ 403: `Cannot rename a preset`,
86
+ 404: `Not found`,
87
+ },
88
+ });
89
+ }
90
+ /**
91
+ * Soft-delete a custom sub-disposition
92
+ * Soft-delete a custom sub-disposition
93
+ * @param id
94
+ * @returns void
95
+ * @throws ApiError
96
+ */
97
+ deleteSubDisposition(id) {
98
+ return this.httpRequest.request({
99
+ method: 'DELETE',
100
+ url: '/v1/sub-dispositions/{id}',
101
+ path: {
102
+ 'id': id,
103
+ },
104
+ errors: {
105
+ 403: `Cannot delete a preset`,
106
+ 404: `Not found`,
107
+ },
108
+ });
109
+ }
110
+ /**
111
+ * Seed preset sub-dispositions for the current platform
112
+ * @returns any Seed result
113
+ * @throws ApiError
114
+ */
115
+ seedSubDispositions() {
116
+ return this.httpRequest.request({
117
+ method: 'POST',
118
+ url: '/v1/sub-dispositions/seed-platform',
119
+ });
120
+ }
121
+ }
122
+ exports.SubDispositionsService = SubDispositionsService;
123
+ //# sourceMappingURL=SubDispositionsService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SubDispositionsService.js","sourceRoot":"","sources":["../../services/SubDispositionsService.ts"],"names":[],"mappings":";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M,EAAE;gBACJ,GAAG,EAAE,wBAAwB;gBAC7B,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,oBAAoB,CACvB,EAAU;QAEV,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,2BAA2B;YAChC,IAAI,EAAE;gBACF,IAAI,EAAE,EAAE;aACX;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,wBAAwB;gBAC7B,GAAG,EAAE,WAAW;aACnB;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;OAIG;IACI,mBAAmB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC;YAC5B,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,oCAAoC;SAC5C,CAAC,CAAC;IACP,CAAC;CACJ;AAjID,wDAiIC"}
@@ -0,0 +1,24 @@
1
+ import type { CreateTransferOperationDto } from '../models/CreateTransferOperationDto';
2
+ import type { CreateTransferOperationResponseDto } from '../models/CreateTransferOperationResponseDto';
3
+ import type { TransferOperationDto } from '../models/TransferOperationDto';
4
+ import type { CancelablePromise } from '../core/CancelablePromise';
5
+ import type { BaseHttpRequest } from '../core/BaseHttpRequest';
6
+ export declare class TransfersService {
7
+ readonly httpRequest: BaseHttpRequest;
8
+ constructor(httpRequest: BaseHttpRequest);
9
+ /**
10
+ * Create a new transfer. If upsert is true, update existing transfer's transaction if found by referenceId and return updated
11
+ * @param requestBody
12
+ * @param upsert If true, update existing transfer's transaction if found by referenceId and return updated transfer
13
+ * @returns CreateTransferOperationResponseDto Created transfer operation.
14
+ * @throws ApiError
15
+ */
16
+ createTransfer(requestBody: CreateTransferOperationDto, upsert?: boolean): CancelablePromise<CreateTransferOperationResponseDto>;
17
+ /**
18
+ * Get a transfer by ID or referenceId
19
+ * @param id
20
+ * @returns TransferOperationDto
21
+ * @throws ApiError
22
+ */
23
+ getTransfer(id: string): CancelablePromise<TransferOperationDto>;
24
+ }