@compleadai/skills 0.0.0-stage → 0.1.0-preview.1

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.
@@ -0,0 +1,900 @@
1
+ # KnowYourBusiness models
2
+
3
+ Generated from `openapi/v3/KnowYourBusiness.json` by `skills/build.mjs`; do not edit. Fields are shown with their JSON
4
+ names; each SDK spells them per language (`../sdks/<language>.md`). Enums travel as numbers; the name column is
5
+ the enum member in the SDKs.
6
+
7
+ ## ApiResponseOfKybBatchRowsResponse
8
+
9
+ | Field | Type | Required | Notes |
10
+ |---|---|---|---|
11
+ | `httpStatusCode` | integer | | |
12
+ | `isSuccess` | boolean | | |
13
+ | `errorCode` | string | | |
14
+ | `errorMessage` | string | | |
15
+ | `extraInfo` | string | | |
16
+ | `result` | KybBatchRowsResponse | | |
17
+
18
+ ## ApiResponseOfKybBatchStatusResponse
19
+
20
+ | Field | Type | Required | Notes |
21
+ |---|---|---|---|
22
+ | `httpStatusCode` | integer | | |
23
+ | `isSuccess` | boolean | | |
24
+ | `errorCode` | string | | |
25
+ | `errorMessage` | string | | |
26
+ | `extraInfo` | string | | |
27
+ | `result` | KybBatchStatusResponse | | |
28
+
29
+ ## ApiResponseOfKybBatchUploadResponse
30
+
31
+ | Field | Type | Required | Notes |
32
+ |---|---|---|---|
33
+ | `httpStatusCode` | integer | | |
34
+ | `isSuccess` | boolean | | |
35
+ | `errorCode` | string | | |
36
+ | `errorMessage` | string | | |
37
+ | `extraInfo` | string | | |
38
+ | `result` | KybBatchUploadResponse | | |
39
+
40
+ ## ApiResponseOfKybCaseResponse
41
+
42
+ | Field | Type | Required | Notes |
43
+ |---|---|---|---|
44
+ | `httpStatusCode` | integer | | |
45
+ | `isSuccess` | boolean | | |
46
+ | `errorCode` | string | | |
47
+ | `errorMessage` | string | | |
48
+ | `extraInfo` | string | | |
49
+ | `result` | KybCaseResponse | | |
50
+
51
+ ## ApiResponseOfKybCompanyDetailResponseDTO
52
+
53
+ | Field | Type | Required | Notes |
54
+ |---|---|---|---|
55
+ | `httpStatusCode` | integer | | |
56
+ | `isSuccess` | boolean | | |
57
+ | `errorCode` | string | | |
58
+ | `errorMessage` | string | | |
59
+ | `extraInfo` | string | | |
60
+ | `result` | KybCompanyDetailResponseDTO | | |
61
+
62
+ ## ApiResponseOfKybMerchantAnalysisResponse
63
+
64
+ | Field | Type | Required | Notes |
65
+ |---|---|---|---|
66
+ | `httpStatusCode` | integer | | |
67
+ | `isSuccess` | boolean | | |
68
+ | `errorCode` | string | | |
69
+ | `errorMessage` | string | | |
70
+ | `extraInfo` | string | | |
71
+ | `result` | KybMerchantAnalysisResponse | | |
72
+
73
+ ## ApiResponseOfKybOngoingMonitoringHistoryResponse
74
+
75
+ | Field | Type | Required | Notes |
76
+ |---|---|---|---|
77
+ | `httpStatusCode` | integer | | |
78
+ | `isSuccess` | boolean | | |
79
+ | `errorCode` | string | | |
80
+ | `errorMessage` | string | | |
81
+ | `extraInfo` | string | | |
82
+ | `result` | KybOngoingMonitoringHistoryResponse | | |
83
+
84
+ ## ApiResponseOfKybOngoingMonitoringResponse
85
+
86
+ | Field | Type | Required | Notes |
87
+ |---|---|---|---|
88
+ | `httpStatusCode` | integer | | |
89
+ | `isSuccess` | boolean | | |
90
+ | `errorCode` | string | | |
91
+ | `errorMessage` | string | | |
92
+ | `extraInfo` | string | | |
93
+ | `result` | KybOngoingMonitoringResponse | | |
94
+
95
+ ## ApiResponseOfKybReputationResponse
96
+
97
+ | Field | Type | Required | Notes |
98
+ |---|---|---|---|
99
+ | `httpStatusCode` | integer | | |
100
+ | `isSuccess` | boolean | | |
101
+ | `errorCode` | string | | |
102
+ | `errorMessage` | string | | |
103
+ | `extraInfo` | string | | |
104
+ | `result` | KybReputationResponse | | |
105
+
106
+ ## ApiResponseOfKybReputationStartResponse
107
+
108
+ | Field | Type | Required | Notes |
109
+ |---|---|---|---|
110
+ | `httpStatusCode` | integer | | |
111
+ | `isSuccess` | boolean | | |
112
+ | `errorCode` | string | | |
113
+ | `errorMessage` | string | | |
114
+ | `extraInfo` | string | | |
115
+ | `result` | KybReputationStartResponse | | |
116
+
117
+ ## ApiResponseOfKybScanHistoryDetailDTO
118
+
119
+ | Field | Type | Required | Notes |
120
+ |---|---|---|---|
121
+ | `httpStatusCode` | integer | | |
122
+ | `isSuccess` | boolean | | |
123
+ | `errorCode` | string | | |
124
+ | `errorMessage` | string | | |
125
+ | `extraInfo` | string | | |
126
+ | `result` | KybScanHistoryDetailDTO | | |
127
+
128
+ ## ApiResponseOfKybSearchResponse
129
+
130
+ | Field | Type | Required | Notes |
131
+ |---|---|---|---|
132
+ | `httpStatusCode` | integer | | |
133
+ | `isSuccess` | boolean | | |
134
+ | `errorCode` | string | | |
135
+ | `errorMessage` | string | | |
136
+ | `extraInfo` | string | | |
137
+ | `result` | KybSearchResponse | | |
138
+
139
+ ## ApiResponseOfListOfKybCountryResponse
140
+
141
+ | Field | Type | Required | Notes |
142
+ |---|---|---|---|
143
+ | `httpStatusCode` | integer | | |
144
+ | `isSuccess` | boolean | | |
145
+ | `errorCode` | string | | |
146
+ | `errorMessage` | string | | |
147
+ | `extraInfo` | string | | |
148
+ | `result` | array of KybCountryResponse | | |
149
+
150
+ ## ApiResponseOfListOfKybScanHistoryItemDTO
151
+
152
+ | Field | Type | Required | Notes |
153
+ |---|---|---|---|
154
+ | `httpStatusCode` | integer | | |
155
+ | `isSuccess` | boolean | | |
156
+ | `errorCode` | string | | |
157
+ | `errorMessage` | string | | |
158
+ | `extraInfo` | string | | |
159
+ | `result` | array of KybScanHistoryItemDTO | | |
160
+
161
+ ## KybAssigneeTeamRequest
162
+
163
+ | Field | Type | Required | Notes |
164
+ |---|---|---|---|
165
+ | `teamId` | integer | yes | Team integer ID |
166
+
167
+ ## KybAssigneeUserRequest
168
+
169
+ | Field | Type | Required | Notes |
170
+ |---|---|---|---|
171
+ | `userId` | string | yes | User GUID or integer ID, from GET /api/v3/User |
172
+
173
+ ## KybBatchRowItem
174
+
175
+ | Field | Type | Required | Notes |
176
+ |---|---|---|---|
177
+ | `rowNumber` | integer | | Row number in the uploaded file |
178
+ | `companyNumber` | string | | Company number from the file |
179
+ | `countryCode` | string | | Country code applied to this row |
180
+ | `referenceNumber` | string | | Reference number of the resulting scan |
181
+ | `scanId` | string | | Scan ID created for this row. Null when the row did not produce a scan |
182
+ | `status` | integer | | Numeric row status code |
183
+ | `statusText` | string | | Row status text: Pending, Success, Failed, Skipped |
184
+ | `errorMessage` | string | | Failure reason when the row did not succeed |
185
+
186
+ ## KybBatchRowsResponse
187
+
188
+ | Field | Type | Required | Notes |
189
+ |---|---|---|---|
190
+ | `batchId` | integer | | Batch operation ID |
191
+ | `totalCount` | integer | | Total rows in the batch |
192
+ | `start` | integer | | Pagination start offset |
193
+ | `limit` | integer | | Pagination limit |
194
+ | `data` | array of KybBatchRowItem | | Rows in this page |
195
+
196
+ ## KybBatchStatusResponse
197
+
198
+ | Field | Type | Required | Notes |
199
+ |---|---|---|---|
200
+ | `batchId` | integer | | Batch operation ID |
201
+ | `formattedId` | string | | Human readable batch reference |
202
+ | `fileName` | string | | Uploaded file name |
203
+ | `status` | integer | | Numeric status code |
204
+ | `statusText` | string | | Status text: Queued, Running, Completed, Completed with errors, Failed |
205
+ | `totalCount` | integer | | Total rows in the batch |
206
+ | `processedCount` | integer | | Rows processed so far |
207
+ | `successCount` | integer | | Rows completed successfully |
208
+ | `failedCount` | integer | | Rows that failed |
209
+ | `createdDate` | date-time | | Batch creation date. Server time without the X-Time-Zone header; with it, in the requested zone with an explicit offset |
210
+ | `completedDate` | date-time | | Batch completion date, same clock as CreatedDate. Null while still running |
211
+
212
+ ## KybBatchUploadResponse
213
+
214
+ | Field | Type | Required | Notes |
215
+ |---|---|---|---|
216
+ | `batchId` | integer | | Batch operation ID. Use it with GET /api/v2/Kyb/Batch/{id} to follow progress |
217
+ | `formattedId` | string | | Human readable batch reference |
218
+ | `fileName` | string | | Uploaded file name |
219
+ | `queuedRows` | integer | | Number of company numbers queued for checking |
220
+ | `duplicateRowsRemoved` | integer | | Duplicate rows removed while parsing |
221
+ | `turkeyRows` | integer | | Rows that target the Turkish trade registry |
222
+ | `liveRegistryQueries` | integer | | Turkish rows that require a billable live registry query |
223
+ | `servedFromStoredCard` | integer | | Turkish rows that will be served from a stored registry card |
224
+ | `message` | string | | Status message |
225
+
226
+ ## KybCaseMatchStatusRequest
227
+
228
+ | Field | Type | Required | Notes |
229
+ |---|---|---|---|
230
+ | `matchStatus` | integer | yes | Match status. 0: Unknown, 1: No Match, 2: Potential Match, 3: False Positive, 4: True Positive, 5: True Positive Approve, 6: True Positive Reject |
231
+
232
+ ## KybCaseResponse
233
+
234
+ Current case management state of a KYB case. Reflects changes made in the application as well as through the API.
235
+
236
+ | Field | Type | Required | Notes |
237
+ |---|---|---|---|
238
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
239
+ | `referenceNumber` | string | | Reference number of the scan |
240
+ | `companyName` | string | | Searched company name |
241
+ | `matchStatusId` | integer | | Match status. 0: Unknown, 1: No Match, 2: Potential Match, 3: False Positive, 4: True Positive, 5: True Positive Approve, 6: True Positive Reject |
242
+ | `matchStatus` | string | | Match status name |
243
+ | `riskLevelId` | integer | | Risk level. 0: Unknown, 1: Low, 2: Medium, 3: High, 4: Neutral, 5: Increased, 6: Unacceptable |
244
+ | `riskLevel` | string | | Risk level name |
245
+ | `assignedUserGuid` | uuid | | GUID of the assigned user. Null when the case is not assigned to a user |
246
+ | `assignedUserName` | string | | Name of the assigned user |
247
+ | `assignedTeamId` | integer | | Id of the assigned team. Null when the case is not assigned to a team |
248
+ | `assignedTeamName` | string | | Name of the assigned team |
249
+ | `tags` | array of KybCaseTagItem | | Tags attached to the case |
250
+ | `isClosed` | boolean | | True when the case is closed |
251
+ | `caseStatus` | string | | Case status: Open or Closed |
252
+ | `closedDate` | date-time | | Date the case was closed. Server time without the X-Time-Zone header; with it, in the requested zone with an explicit offset. Null when the case is open |
253
+ | `closeReasonId` | integer | | Id of the close reason. Null when the case is open or was closed with a note only |
254
+ | `closeReason` | string | | Close reason text. Null when the case is open or was closed with a note only |
255
+ | `closedByUserGuid` | uuid | | GUID of the user who closed the case. Null when the case is open |
256
+ | `closedByUserName` | string | | Name of the user who closed the case. Null when the case is open |
257
+ | `reputationLevel` | string | | Level of the latest finished reputation scan: High, Elevated, Watch, Normal, No data or Incomplete. Null when no reputation scan has finished |
258
+ | `merchantRiskLevel` | string | | Merchant risk level of the latest finished merchant analysis: Low, Medium, High or Prohibited. Null when the website was not analysed |
259
+ | `suggestedMcc` | string | | MCC of the latest finished merchant analysis: the analyst's choice, otherwise the first suggestion. Null when the website was not analysed |
260
+ | `isMonitoring` | boolean | | True when KYB ongoing monitoring is active for the case |
261
+ | `monitoringPeriod` | string | | Monitoring period: Daily, Weekly, Monthly, Quarterly, Half Yearly or Annually. Null when monitoring is off |
262
+ | `nextMonitoringDate` | date-time | | Date of the next monitoring check. Null when monitoring is off |
263
+ | `lastMonitoringChangeDate` | date-time | | Date the last registry change was found by monitoring. Null when no change was found yet |
264
+ | `hasUnreviewedChange` | boolean | | True when monitoring found changes that were not marked as reviewed yet |
265
+
266
+ ## KybCaseRiskLevelRequest
267
+
268
+ | Field | Type | Required | Notes |
269
+ |---|---|---|---|
270
+ | `riskLevel` | integer | yes | Risk level. 0: Unknown, 1: Low, 2: Medium, 3: High, 4: Neutral, 5: Increased, 6: Unacceptable |
271
+
272
+ ## KybCaseTagItem
273
+
274
+ | Field | Type | Required | Notes |
275
+ |---|---|---|---|
276
+ | `tagGuid` | uuid | | Tag GUID, as returned by GET /api/v2/General/Tags |
277
+ | `tagName` | string | | Tag name |
278
+ | `tagValue` | string | | Value stored with the tag. Null when the tag has no value |
279
+
280
+ ## KybCaseTagRequest
281
+
282
+ | Field | Type | Required | Notes |
283
+ |---|---|---|---|
284
+ | `tagValue` | string | | Optional value stored with the tag |
285
+ | `tagGuid` | uuid | yes | Can be retrieved from /api/v2/General/Tags |
286
+
287
+ ## KybCloseCaseApiRequest
288
+
289
+ | Field | Type | Required | Notes |
290
+ |---|---|---|---|
291
+ | `closeReasonId` | integer | | Close reason ID. Can be retrieved from GET /api/v2/General/ActivityReason. Required when no reason note is sent |
292
+ | `reason` | string | | Reason note. Required when no closeReasonId is sent |
293
+ | `matchStatusId` | integer | | Optional match status to set while closing. 0: Unknown, 1: No Match, 2: Potential Match, 3: False Positive, 4: True Positive, 5: True Positive Approve, 6: True Positive Reject |
294
+
295
+ ## KybCompanyDetailResponseDTO
296
+
297
+ | Field | Type | Required | Notes |
298
+ |---|---|---|---|
299
+ | `id` | integer | | |
300
+ | `scanId` | string | | |
301
+ | `referenceNumber` | string | | |
302
+ | `searchTerm` | string | | |
303
+ | `scanDate` | string | | |
304
+ | `searcher` | string | | |
305
+ | `designation` | string | | |
306
+ | `company` | KybCompanyInfoDTO | | |
307
+ | `companyRegistries` | array of KybCompanyRegistryDTO | | |
308
+ | `registrations` | array of KybRegistrationDTO | | |
309
+ | `officers` | array of KybOfficerDTO | | |
310
+ | `subEntities` | array of KybSubEntityDTO | | |
311
+ | `assignedUser` | string | | |
312
+ | `matchStatus` | string | | |
313
+ | `riskLevel` | string | | |
314
+ | `tags` | string | | |
315
+ | `memo` | string | | |
316
+ | `listTypeId` | integer | | |
317
+ | `turkeyRegistry` | KybTurkeyRegistryDTO | | |
318
+
319
+ ## KybCompanyInfoDTO
320
+
321
+ | Field | Type | Required | Notes |
322
+ |---|---|---|---|
323
+ | `id` | integer | | |
324
+ | `companyNumber` | string | | |
325
+ | `name` | string | | |
326
+ | `taxNumber` | string | | |
327
+ | `taxOffice` | string | | |
328
+ | `registeredAddress` | string | | |
329
+ | `establishmentDate` | date-time | | |
330
+ | `deregistrationDate` | date-time | | |
331
+ | `federalState` | string | | |
332
+ | `nativeCompanyNumber` | string | | |
333
+ | `totalCapital` | number | | |
334
+ | `currency` | string | | |
335
+ | `electronicNotificationAddress` | string | | |
336
+ | `companyStatusId` | integer | | |
337
+ | `companyCategoryId` | integer | | |
338
+ | `mainSubEntityRelationId` | string | | |
339
+ | `createdDate` | date-time | | |
340
+ | `modifiedDate` | date-time | | |
341
+
342
+ ## KybCompanyRegistryDTO
343
+
344
+ | Field | Type | Required | Notes |
345
+ |---|---|---|---|
346
+ | `id` | integer | | |
347
+ | `companyId` | integer | | |
348
+ | `registeredOffice` | string | | |
349
+ | `registrar` | string | | |
350
+ | `registerNummer` | string | | |
351
+ | `registerNummerSuffix` | string | | |
352
+ | `formerRegistrar` | string | | |
353
+ | `registerFlag` | string | | |
354
+ | `registerFlagNote` | string | | |
355
+ | `registrarFlagStatusInfo` | string | | |
356
+ | `createdDate` | date-time | | |
357
+ | `modifiedDate` | date-time | | |
358
+ | `registryCode` | object | | |
359
+ | `statusId` | integer | | |
360
+
361
+ ## KybCountryResponse
362
+
363
+ | Field | Type | Required | Notes |
364
+ |---|---|---|---|
365
+ | `countryCode` | string | | |
366
+ | `name` | string | | |
367
+ | `hasRegistryData` | boolean | | True when the platform holds trade registry data for this country; a search on the other countries covers the registries we hold and the web. |
368
+
369
+ ## KybMerchantAnalysisRequest
370
+
371
+ | Field | Type | Required | Notes |
372
+ |---|---|---|---|
373
+ | `declaredActivity` | string | | Declared business activity, e.g. Online clothing retail. When empty the previous analysis value is kept |
374
+ | `requestedProduct` | string | | Requested product: Virtual POS, Physical POS or Pay by link. Defaults to Virtual POS |
375
+
376
+ ## KybMerchantAnalysisResponse
377
+
378
+ | Field | Type | Required | Notes |
379
+ |---|---|---|---|
380
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
381
+ | `analysisId` | integer | | ID of the analysis the result fields come from |
382
+ | `status` | string | | Status of the latest attempt: Queued, Running, Done or Failed |
383
+ | `isPreviousResult` | boolean | | True when the latest attempt is running or failed and the result fields come from the last analysis that finished Done |
384
+ | `website` | string | | Website that was analysed |
385
+ | `declaredActivity` | string | | Declared business activity used for the purpose consistency check |
386
+ | `requestedProduct` | string | | Requested product: Virtual POS, Physical POS or Pay by link |
387
+ | `startedAt` | date-time | | Start time (UTC) |
388
+ | `finishedAt` | date-time | | Finish time (UTC) |
389
+ | `error` | string | | Reason when the latest attempt failed |
390
+ | `websiteCheck` | string | | Set when the result needs care: 'Analysed on an unverified website' or 'Analysed on the previous website'. Null when the analysed website is the verified company website |
391
+ | `merchantRiskLevel` | string | | Low, Medium, High or Prohibited |
392
+ | `merchantRiskScore` | integer | | Merchant risk score, 0 to 100 |
393
+ | `recommendation` | string | | Do not onboard, Enhanced due diligence, Review or Standard onboarding |
394
+ | `summary` | string | | Detected business activity |
395
+ | `products` | array of string | | Products or services found on the website |
396
+ | `suggestedMcc` | array of KybMerchantMccItem | | Up to three MCC suggestions from the ISO 18245 list |
397
+ | `selectedMcc` | string | | MCC used for the risk score |
398
+ | `schemeRegistrationRequired` | boolean | | True when the selected MCC needs card scheme registration |
399
+ | `purposeConsistency` | string | | Consistent, Partial or Inconsistent |
400
+ | `purposeConsistencyReason` | string | | One sentence reason for the purpose consistency result |
401
+ | `findings` | array of KybMerchantFindingItem | | Prohibited and high-risk findings |
402
+ | `paymentMethods` | array of KybMerchantPaymentItem | | Payment methods found on the website |
403
+ | `pages` | array of KybMerchantPageItem | | Pages read or skipped |
404
+
405
+ ## KybMerchantFindingItem
406
+
407
+ | Field | Type | Required | Notes |
408
+ |---|---|---|---|
409
+ | `id` | integer | | Finding ID |
410
+ | `title` | string | | Finding title |
411
+ | `ruleCode` | string | | Rule code, e.g. TR-BET |
412
+ | `ruleVersion` | integer | | Version of the rule that matched |
413
+ | `severity` | string | | Prohibited, High or Warning |
414
+ | `pageUrl` | string | | Page where the evidence was found |
415
+ | `snippet` | string | | Evidence text, at most 300 characters |
416
+ | `isFalsePositive` | boolean | | True when an analyst marked the finding as false positive |
417
+ | `falsePositiveReason` | string | | Reason given for the false positive mark |
418
+
419
+ ## KybMerchantMccItem
420
+
421
+ | Field | Type | Required | Notes |
422
+ |---|---|---|---|
423
+ | `code` | string | | ISO 18245 code |
424
+ | `name` | string | | ISO 18245 name |
425
+ | `confidence` | number | | Model confidence, 0 to 1 |
426
+ | `reason` | string | | Reason for the suggestion |
427
+ | `organizationRiskLevel` | string | | Risk level in your MCC list (Low, Medium, High). Null when the code is not in your MCC list |
428
+ | `schemeRegistrationRequired` | boolean | | True when the code needs card scheme registration |
429
+
430
+ ## KybMerchantPageItem
431
+
432
+ | Field | Type | Required | Notes |
433
+ |---|---|---|---|
434
+ | `url` | string | | Page URL |
435
+ | `pageType` | string | | Page type |
436
+ | `httpStatus` | integer | | HTTP status code |
437
+ | `state` | string | | Read, Skipped (robots.txt), Not found or Error |
438
+
439
+ ## KybMerchantPaymentItem
440
+
441
+ | Field | Type | Required | Notes |
442
+ |---|---|---|---|
443
+ | `group` | string | | Cards, Payment institution, Wallets, Bank transfer, Crypto or Other |
444
+ | `name` | string | | Payment method |
445
+ | `pageUrl` | string | | Page where it was found |
446
+ | `isRisky` | boolean | | True when the payment method raises a warning |
447
+ | `riskReason` | string | | Warning reason |
448
+
449
+ ## KybOfficerDTO
450
+
451
+ | Field | Type | Required | Notes |
452
+ |---|---|---|---|
453
+ | `id` | integer | | |
454
+ | `companyId` | integer | | |
455
+ | `identificationNumber` | string | | |
456
+ | `passportNumber` | string | | |
457
+ | `taxNumber` | string | | |
458
+ | `name` | string | | |
459
+ | `officerPositionId` | integer | | |
460
+ | `officerPositionName` | string | | |
461
+ | `startDate` | date-time | | |
462
+ | `city` | string | | |
463
+ | `firstName` | string | | |
464
+ | `lastName` | string | | |
465
+ | `title` | string | | |
466
+ | `birthDate` | date-time | | |
467
+ | `nationality` | string | | |
468
+ | `countryOfResidence` | string | | |
469
+ | `dismissed` | boolean | | |
470
+ | `endDate` | date-time | | |
471
+ | `maidenName` | string | | |
472
+ | `address` | string | | |
473
+ | `referenceNo` | integer | | |
474
+ | `officerRoleId` | integer | | |
475
+ | `officerRoleName` | string | | |
476
+ | `officerRepresentationTypeId` | integer | | |
477
+ | `officerRepresentationTypeName` | string | | |
478
+ | `authorityFormId` | integer | | |
479
+ | `authorityFormName` | string | | |
480
+ | `isUnlimitedAuthority` | boolean | | |
481
+ | `authorityEndDate` | date-time | | |
482
+ | `jointRepresentationData` | string | | |
483
+ | `isExecutive` | boolean | | |
484
+ | `isIndependent` | boolean | | |
485
+ | `entityRegistrationNumber` | string | | |
486
+ | `sharePercentage` | number | | |
487
+ | `createdDate` | date-time | | |
488
+ | `modifiedDate` | date-time | | |
489
+
490
+ ## KybOngoingMonitoringChangeItem
491
+
492
+ | Field | Type | Required | Notes |
493
+ |---|---|---|---|
494
+ | `field` | string | | Changed field: Company Name, Status, Registered Address, Registry Record, Officer, Officer Position, Shareholder or Shareholder Share |
495
+ | `changeType` | string | | Changed, Added or Removed |
496
+ | `personName` | string | | Person or legal entity the change is about. Null for company fields |
497
+ | `role` | string | | Role of the person, e.g. Board Member, Representative, Shareholder |
498
+ | `oldValue` | string | | Value before the change |
499
+ | `newValue` | string | | Value after the change |
500
+
501
+ ## KybOngoingMonitoringHistoryItem
502
+
503
+ | Field | Type | Required | Notes |
504
+ |---|---|---|---|
505
+ | `checkDate` | date-time | | Date of the monitoring check |
506
+ | `changeCount` | integer | | Number of changes found in this check |
507
+ | `isReviewed` | boolean | | True when the changes were marked as reviewed |
508
+ | `changes` | array of KybOngoingMonitoringChangeItem | | Changes found in this check |
509
+
510
+ ## KybOngoingMonitoringHistoryResponse
511
+
512
+ Changes KYB ongoing monitoring found for a case, newest first.
513
+
514
+ | Field | Type | Required | Notes |
515
+ |---|---|---|---|
516
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
517
+ | `hasUnreviewedChange` | boolean | | True when monitoring found changes that were not marked as reviewed yet |
518
+ | `history` | array of KybOngoingMonitoringHistoryItem | | Monitoring checks that found a change |
519
+
520
+ ## KybOngoingMonitoringPeriodRequest
521
+
522
+ | Field | Type | Required | Notes |
523
+ |---|---|---|---|
524
+ | `period` | string | yes | Daily, Weekly, Monthly, Quarterly, HalfYearly or Annually |
525
+
526
+ ## KybOngoingMonitoringResponse
527
+
528
+ KYB ongoing monitoring state of a case.
529
+
530
+ | Field | Type | Required | Notes |
531
+ |---|---|---|---|
532
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
533
+ | `isMonitoring` | boolean | | True when KYB ongoing monitoring is active for the case |
534
+ | `monitoringPeriod` | string | | Monitoring period: Daily, Weekly, Monthly, Quarterly, Half Yearly or Annually. Null when monitoring is off |
535
+ | `nextMonitoringDate` | date-time | | Date of the next monitoring check. Null when monitoring is off |
536
+ | `lastMonitoringDate` | date-time | | Date of the last monitoring check |
537
+ | `lastMonitoringChangeDate` | date-time | | Date the last registry change was found by monitoring |
538
+ | `hasUnreviewedChange` | boolean | | True when monitoring found changes that were not marked as reviewed yet |
539
+
540
+ ## KybOpenCaseApiRequest
541
+
542
+ | Field | Type | Required | Notes |
543
+ |---|---|---|---|
544
+ | `reason` | string | | Optional note recorded in the case history |
545
+
546
+ ## KybRegistrationDTO
547
+
548
+ | Field | Type | Required | Notes |
549
+ |---|---|---|---|
550
+ | `id` | integer | | |
551
+ | `companyId` | integer | | |
552
+ | `confidence` | string | | |
553
+ | `publicationDate` | date-time | | |
554
+ | `sourceUrl` | string | | |
555
+ | `startDate` | date-time | | |
556
+ | `startDateType` | string | | |
557
+ | `subsequentRegistrationStartDate` | date-time | | |
558
+ | `previousCompanyNumber` | string | | |
559
+ | `subsequentCompanyNumber` | string | | |
560
+ | `sampleDate` | date-time | | |
561
+ | `alternateCompanyNumber` | string | | |
562
+ | `previousRegistrationEndDate` | date-time | | |
563
+ | `createdDate` | date-time | | |
564
+ | `modifiedDate` | date-time | | |
565
+
566
+ ## KybReputationMonthItem
567
+
568
+ | Field | Type | Required | Notes |
569
+ |---|---|---|---|
570
+ | `month` | string | | yyyy-MM |
571
+ | `complaintCount` | integer | | |
572
+
573
+ ## KybReputationNoticeItem
574
+
575
+ | Field | Type | Required | Notes |
576
+ |---|---|---|---|
577
+ | `source` | string | | REKLAM_KURULU, SPK or ASA |
578
+ | `noticeDate` | date-time | | |
579
+ | `companyName` | string | | |
580
+ | `domain` | string | | |
581
+ | `subject` | string | | |
582
+ | `amount` | number | | |
583
+ | `bulletinRef` | string | | |
584
+ | `sourceUrl` | string | | |
585
+
586
+ ## KybReputationResponse
587
+
588
+ | Field | Type | Required | Notes |
589
+ |---|---|---|---|
590
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
591
+ | `status` | string | | Status of the latest reputation scan: Queued, Running, Done or Failed. Null when the case was never scanned |
592
+ | `level` | string | | Level of the latest finished reputation scan: High, Elevated, Watch, Normal, No data or Incomplete |
593
+ | `startedAt` | date-time | | UTC start time of the reputation scan shown |
594
+ | `finishedAt` | date-time | | UTC finish time of the reputation scan shown |
595
+ | `error` | string | | Error of the latest reputation scan when it failed |
596
+ | `totalComplaints` | integer | | Complaints in the last 24 months, all sources. Null when no complaint source returned counts for the company; 0 means a source counted and found none |
597
+ | `last3Months` | integer | | Complaints in the last 3 months. Null when no complaint source returned counts |
598
+ | `previous3Months` | integer | | Complaints in the 3 months before that. Null when no complaint source returned counts |
599
+ | `fraudSharePct` | number | | Share of fraud-related complaints in percent |
600
+ | `replyRatePct` | number | | Brand reply rate in percent |
601
+ | `signals` | array of KybReputationSignalItem | | Signals that crossed the organisation thresholds |
602
+ | `sources` | array of KybReputationSourceItem | | Sources checked and their result |
603
+ | `monthly` | array of KybReputationMonthItem | | Monthly complaint totals, oldest first. Empty when no complaint source returned counts |
604
+ | `notices` | array of KybReputationNoticeItem | | Regulator notices matched to the company |
605
+
606
+ ## KybReputationSignalItem
607
+
608
+ | Field | Type | Required | Notes |
609
+ |---|---|---|---|
610
+ | `severity` | string | | Risk or Warning |
611
+ | `title` | string | | |
612
+ | `detail` | string | | |
613
+ | `isOfficial` | boolean | | True for regulator notices |
614
+
615
+ ## KybReputationSourceItem
616
+
617
+ | Field | Type | Required | Notes |
618
+ |---|---|---|---|
619
+ | `code` | string | | |
620
+ | `name` | string | | |
621
+ | `state` | string | | ok, link_only, error, not_applicable, not_checked, no_brand_page, off_complead, off_organization or not_allowed. not_checked means the source could not be matched to the company, see note |
622
+ | `note` | string | | |
623
+ | `count` | integer | | |
624
+ | `sourceUrl` | string | | |
625
+
626
+ ## KybReputationStartResponse
627
+
628
+ | Field | Type | Required | Notes |
629
+ |---|---|---|---|
630
+ | `scanId` | string | | KYB scan ID (e.g., K000123) |
631
+ | `reputationScanId` | integer | | Id of the reputation scan |
632
+ | `status` | string | | Queued, Running, Done or Failed |
633
+
634
+ ## KybScanHistoryDetailDTO
635
+
636
+ | Field | Type | Required | Notes |
637
+ |---|---|---|---|
638
+ | `item` | KybScanHistoryItemDTO | | |
639
+ | `snapshot` | KybScanSnapshot | | |
640
+
641
+ ## KybScanHistoryItemDTO
642
+
643
+ | Field | Type | Required | Notes |
644
+ |---|---|---|---|
645
+ | `id` | integer | | |
646
+ | `type` | string | | |
647
+ | `scanDate` | date-time | | |
648
+ | `scannedBy` | string | | |
649
+ | `scannedByType` | string | | |
650
+ | `source` | string | | |
651
+ | `scanId` | string | | |
652
+ | `hasSnapshot` | boolean | | |
653
+ | `changedCount` | integer | | |
654
+
655
+ ## KybScanRequest
656
+
657
+ | Field | Type | Required | Notes |
658
+ |---|---|---|---|
659
+ | `companyNumber` | string | yes | Company number to be checked. With countryCode TR this must be the 10 digit tax identification number |
660
+ | `referenceNumber` | string | | Optional reference number. Auto-generated if not provided |
661
+ | `countryCode` | string | | Optional ISO 3166-1 alpha-2 country code. Send TR to query the Turkish trade registry live. Call GET /api/v3/Kyb/Country for the supported list. Omit to use the existing registry database lookup |
662
+ | `forceRefresh` | boolean | | Set true to scan the company again. With countryCode TR it bypasses the stored registry card and queries the trade registry again; a live query is billed even when a stored card exists. For other countries it rescans the latest existing check of the same company (matched by referenceNumber when given) and keeps its scan ID, case and assignment; without an existing check a new one is created. Every rescan is billed like a new check |
663
+ | `assignedTeamId` | integer | | Optional team ID to assign. Team IDs can be retrieved from GET /api/v3/General/Team endpoint |
664
+ | `ongoingMonitoringPeriod` | string | | Optional KYB ongoing monitoring period: Daily, Weekly, Monthly, Quarterly, HalfYearly or Annually. When set, the scan is created with monitoring on. Requires the KYB Ongoing Monitoring product |
665
+
666
+ ## KybScanSnapshot
667
+
668
+ | Field | Type | Required | Notes |
669
+ |---|---|---|---|
670
+ | `version` | integer | | |
671
+ | `name` | string | | |
672
+ | `companyNumber` | string | | |
673
+ | `taxNumber` | string | | |
674
+ | `status` | string | | |
675
+ | `address` | string | | |
676
+ | `capital` | number | | |
677
+ | `currency` | string | | |
678
+ | `shareholders` | array of KybScanSnapshotParty | | |
679
+ | `officers` | array of KybScanSnapshotParty | | |
680
+ | `representatives` | array of KybScanSnapshotParty | | |
681
+
682
+ ## KybScanSnapshotParty
683
+
684
+ | Field | Type | Required | Notes |
685
+ |---|---|---|---|
686
+ | `name` | string | | |
687
+ | `role` | string | | |
688
+ | `identityNumber` | string | | |
689
+ | `nationality` | string | | |
690
+ | `sharePercentage` | number | | |
691
+ | `shareCapital` | number | | |
692
+ | `startDate` | date-time | | |
693
+ | `endDate` | date-time | | |
694
+ | `isActive` | boolean | | |
695
+
696
+ ## KybSearchResponse
697
+
698
+ | Field | Type | Required | Notes |
699
+ |---|---|---|---|
700
+ | `success` | boolean | | Whether the search was successful |
701
+ | `searchTerm` | string | | Search term used |
702
+ | `matchRate` | integer | | Match rate used |
703
+ | `data` | array of KybSearchResultItem | | List of company results |
704
+ | `totalCount` | integer | | Total number of matching companies |
705
+ | `start` | integer | | Pagination start offset |
706
+ | `limit` | integer | | Pagination limit |
707
+ | `resultsFound` | integer | | Number of results returned |
708
+ | `message` | string | | Status message |
709
+
710
+ ## KybSearchResultItem
711
+
712
+ | Field | Type | Required | Notes |
713
+ |---|---|---|---|
714
+ | `id` | integer | | complead's ID of the company record |
715
+ | `companyNumber` | string | | Company registration number. Pass this to POST /api/v2/Kyb/Scan/ByCompanyNumber to run a full company check |
716
+ | `companyName` | string | | Company name |
717
+ | `companyStatusId` | integer | | Company status ID (e.g. active, dissolved). Resolve the human-readable status from the company detail returned by GET /api/v2/Kyb/Scan/Result |
718
+ | `companyCategoryId` | integer | | Company category ID (legal form classification) |
719
+ | `listTypeId` | integer | | List type ID indicating the source registry/jurisdiction of this company record |
720
+ | `matchedPersonName` | string | | Name of the linked person (director/officer/shareholder) that matched the search term. Null when the company itself matched by name or number |
721
+
722
+ ## KybSubEntityDTO
723
+
724
+ | Field | Type | Required | Notes |
725
+ |---|---|---|---|
726
+ | `id` | integer | | |
727
+ | `companyNumber` | string | | |
728
+ | `name` | string | | |
729
+ | `mainSubEntityRelationId` | string | | |
730
+ | `establishmentDate` | date-time | | |
731
+ | `registeredAddress` | string | | |
732
+ | `status` | string | | |
733
+ | `companyStatusId` | integer | | |
734
+ | `scanUrl` | string | | |
735
+ | `queryCompanyName` | string | | |
736
+ | `referenceNumber` | string | | |
737
+ | `listTypeId` | integer | | |
738
+
739
+ ## KybTurkeyActivityDTO
740
+
741
+ | Field | Type | Required | Notes |
742
+ |---|---|---|---|
743
+ | `code` | string | | |
744
+ | `description` | string | | |
745
+ | `isPrimary` | boolean | | |
746
+
747
+ ## KybTurkeyAddressDTO
748
+
749
+ | Field | Type | Required | Notes |
750
+ |---|---|---|---|
751
+ | `fullAddress` | string | | |
752
+ | `addressCode` | string | | |
753
+ | `postalCode` | string | | |
754
+ | `neighbourhood` | string | | |
755
+ | `street` | string | | |
756
+ | `village` | string | | |
757
+ | `locality` | string | | |
758
+ | `siteName` | string | | |
759
+ | `block` | string | | |
760
+ | `outerDoorNumber` | string | | |
761
+ | `innerDoorNumber` | string | | |
762
+ | `district` | string | | |
763
+ | `city` | string | | |
764
+
765
+ ## KybTurkeyAuditorDTO
766
+
767
+ | Field | Type | Required | Notes |
768
+ |---|---|---|---|
769
+ | `displayName` | string | | |
770
+ | `mersisNumber` | string | | |
771
+ | `periodStartDate` | date-time | | |
772
+ | `periodEndDate` | date-time | | |
773
+
774
+ ## KybTurkeyBoardMemberDTO
775
+
776
+ | Field | Type | Required | Notes |
777
+ |---|---|---|---|
778
+ | `displayName` | string | | |
779
+ | `title` | string | | |
780
+ | `maskedIdentityNumber` | string | | |
781
+ | `maskedPassportNumber` | string | | |
782
+ | `actingPersonName` | string | | |
783
+ | `actingPersonMaskedIdentityNumber` | string | | |
784
+ | `actingPersonMaskedPassportNumber` | string | | |
785
+ | `registrationStartDate` | date-time | | |
786
+ | `dutyEndDate` | date-time | | |
787
+ | `dutyPeriodEndDate` | date-time | | |
788
+ | `dutyPeriodText` | string | | |
789
+ | `isActive` | boolean | | |
790
+
791
+ ## KybTurkeyCapitalDTO
792
+
793
+ | Field | Type | Required | Notes |
794
+ |---|---|---|---|
795
+ | `totalCapital` | number | | |
796
+ | `currency` | string | | |
797
+ | `registeredShareCount` | integer | | |
798
+ | `bearerShareCount` | integer | | |
799
+ | `shareUnitValue` | number | | |
800
+
801
+ ## KybTurkeyIdentityDTO
802
+
803
+ | Field | Type | Required | Notes |
804
+ |---|---|---|---|
805
+ | `mersisNumber` | string | | |
806
+ | `title` | string | | |
807
+ | `tradeName` | string | | |
808
+ | `entityGroupId` | integer | | |
809
+ | `entityGroup` | string | | |
810
+ | `entityTypeId` | integer | | |
811
+ | `entityType` | string | | |
812
+ | `registryOfficeId` | integer | | |
813
+ | `registryOffice` | string | | |
814
+ | `registryNumber` | string | | |
815
+ | `taxOfficeCode` | string | | |
816
+ | `taxOffice` | string | | |
817
+ | `taxNumber` | string | | |
818
+ | `statusId` | integer | | |
819
+ | `status` | string | | |
820
+ | `registrationDate` | date-time | | |
821
+ | `commencementDate` | date-time | | |
822
+ | `closureDate` | date-time | | |
823
+ | `websites` | array of string | | |
824
+ | `purpose` | array of string | | |
825
+
826
+ ## KybTurkeyJointRepresentativeDTO
827
+
828
+ | Field | Type | Required | Notes |
829
+ |---|---|---|---|
830
+ | `displayName` | string | | |
831
+ | `maskedIdentityNumber` | string | | |
832
+ | `maskedTaxNumber` | string | | |
833
+
834
+ ## KybTurkeyRegistryDTO
835
+
836
+ | Field | Type | Required | Notes |
837
+ |---|---|---|---|
838
+ | `identity` | KybTurkeyIdentityDTO | | |
839
+ | `address` | KybTurkeyAddressDTO | | |
840
+ | `capital` | KybTurkeyCapitalDTO | | |
841
+ | `activities` | array of KybTurkeyActivityDTO | | |
842
+ | `shareholders` | array of KybTurkeyShareholderDTO | | |
843
+ | `boardMembers` | array of KybTurkeyBoardMemberDTO | | |
844
+ | `representatives` | array of KybTurkeyRepresentativeDTO | | |
845
+ | `auditors` | array of KybTurkeyAuditorDTO | | |
846
+ | `previousTitles` | array of string | | |
847
+ | `dataRetrievedAt` | date-time | | |
848
+ | `isFromLocalCache` | boolean | | |
849
+ | `source` | string | | |
850
+
851
+ ## KybTurkeyRepresentativeDTO
852
+
853
+ | Field | Type | Required | Notes |
854
+ |---|---|---|---|
855
+ | `displayName` | string | | |
856
+ | `firstName` | string | | |
857
+ | `lastName` | string | | |
858
+ | `title` | string | | |
859
+ | `isLegalEntity` | boolean | | |
860
+ | `maskedIdentityNumber` | string | | |
861
+ | `maskedPassportNumber` | string | | |
862
+ | `nationalityId` | integer | | |
863
+ | `nationality` | string | | |
864
+ | `actingPersonName` | string | | |
865
+ | `actingPersonMaskedIdentityNumber` | string | | |
866
+ | `actingPersonMaskedPassportNumber` | string | | |
867
+ | `dutyId` | integer | | |
868
+ | `duty` | string | | |
869
+ | `dutyTitle` | string | | |
870
+ | `representationTypeId` | integer | | |
871
+ | `representationType` | string | | |
872
+ | `authorityFormId` | integer | | |
873
+ | `authorityForm` | string | | |
874
+ | `isUnlimited` | boolean | | |
875
+ | `authorityEndDate` | date-time | | |
876
+ | `authorityPeriodText` | string | | |
877
+ | `startDate` | date-time | | |
878
+ | `endDate` | date-time | | |
879
+ | `jointList` | array of KybTurkeyJointRepresentativeDTO | | |
880
+
881
+ ## KybTurkeyShareholderDTO
882
+
883
+ | Field | Type | Required | Notes |
884
+ |---|---|---|---|
885
+ | `displayName` | string | | |
886
+ | `firstName` | string | | |
887
+ | `lastName` | string | | |
888
+ | `title` | string | | |
889
+ | `isLegalEntity` | boolean | | |
890
+ | `partnershipTypeId` | integer | | |
891
+ | `partnershipType` | string | | |
892
+ | `maskedIdentityNumber` | string | | |
893
+ | `maskedPassportNumber` | string | | |
894
+ | `taxNumber` | string | | |
895
+ | `nationalityId` | integer | | |
896
+ | `nationality` | string | | |
897
+ | `shareCount` | integer | | |
898
+ | `shareCapital` | number | | |
899
+ | `sharePercentage` | number | | |
900
+ | `startDate` | date-time | | |