@dalmore/api-contracts 0.0.0-dev.ab1033d → 0.0.0-dev.ada6a86

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 (695) hide show
  1. package/README.md +23 -19
  2. package/common/helpers/index.d.ts +50 -0
  3. package/common/helpers/index.js +136 -0
  4. package/common/helpers/index.js.map +1 -0
  5. package/common/types/account-contact.types.d.ts +485 -0
  6. package/common/types/account-contact.types.js +75 -0
  7. package/common/types/account-contact.types.js.map +1 -0
  8. package/common/types/account-detail.types.d.ts +304 -0
  9. package/common/types/account-detail.types.js +20 -0
  10. package/common/types/account-detail.types.js.map +1 -0
  11. package/common/types/account-integration.types.d.ts +242 -0
  12. package/common/types/account-integration.types.js +121 -0
  13. package/common/types/account-integration.types.js.map +1 -0
  14. package/common/types/account-manager.types.d.ts +917 -0
  15. package/common/types/account-manager.types.js +89 -0
  16. package/common/types/account-manager.types.js.map +1 -0
  17. package/common/types/account-setting.types.d.ts +184 -0
  18. package/common/types/account-setting.types.js +52 -0
  19. package/common/types/account-setting.types.js.map +1 -0
  20. package/common/types/account.types.d.ts +631 -0
  21. package/common/types/account.types.js +217 -0
  22. package/common/types/account.types.js.map +1 -0
  23. package/common/types/activity.types.d.ts +580 -0
  24. package/common/types/activity.types.js +245 -0
  25. package/common/types/activity.types.js.map +1 -0
  26. package/common/types/address.types.d.ts +89 -0
  27. package/common/types/address.types.js +36 -0
  28. package/common/types/address.types.js.map +1 -0
  29. package/common/types/aic.types.d.ts +434 -0
  30. package/common/types/aic.types.js +170 -0
  31. package/common/types/aic.types.js.map +1 -0
  32. package/common/types/aml.types.d.ts +41 -0
  33. package/common/types/aml.types.js +16 -0
  34. package/common/types/aml.types.js.map +1 -0
  35. package/common/types/api-key-logs.types.d.ts +204 -0
  36. package/common/types/api-key-logs.types.js +52 -0
  37. package/common/types/api-key-logs.types.js.map +1 -0
  38. package/common/types/api-keys.types.d.ts +192 -0
  39. package/common/types/api-keys.types.js +57 -0
  40. package/common/types/api-keys.types.js.map +1 -0
  41. package/common/types/asset.types.d.ts +888 -0
  42. package/common/types/asset.types.js +280 -0
  43. package/common/types/asset.types.js.map +1 -0
  44. package/common/types/auth.types.d.ts +487 -0
  45. package/common/types/auth.types.js +279 -0
  46. package/common/types/auth.types.js.map +1 -0
  47. package/common/types/batch-jobs.types.d.ts +321 -0
  48. package/common/types/batch-jobs.types.js +111 -0
  49. package/common/types/batch-jobs.types.js.map +1 -0
  50. package/common/types/bonus-tier.types.d.ts +980 -0
  51. package/common/types/bonus-tier.types.js +159 -0
  52. package/common/types/bonus-tier.types.js.map +1 -0
  53. package/common/types/cap-table.types.d.ts +1124 -0
  54. package/common/types/cap-table.types.js +406 -0
  55. package/common/types/cap-table.types.js.map +1 -0
  56. package/common/types/cart.types.d.ts +28 -0
  57. package/common/types/cart.types.js +19 -0
  58. package/common/types/cart.types.js.map +1 -0
  59. package/common/types/checklist-items.types.d.ts +195 -0
  60. package/common/types/checklist-items.types.js +54 -0
  61. package/common/types/checklist-items.types.js.map +1 -0
  62. package/common/types/checklist.types.d.ts +140 -0
  63. package/common/types/checklist.types.js +71 -0
  64. package/common/types/checklist.types.js.map +1 -0
  65. package/common/types/common.types.d.ts +1498 -0
  66. package/common/types/common.types.js +1431 -0
  67. package/common/types/common.types.js.map +1 -0
  68. package/common/types/comply-advantage-api.types.d.ts +3959 -0
  69. package/common/types/comply-advantage-api.types.js +270 -0
  70. package/common/types/comply-advantage-api.types.js.map +1 -0
  71. package/common/types/comply-advantage.types.d.ts +48 -0
  72. package/common/types/comply-advantage.types.js +21 -0
  73. package/common/types/comply-advantage.types.js.map +1 -0
  74. package/common/types/contact-us.types.d.ts +126 -0
  75. package/common/types/contact-us.types.js +91 -0
  76. package/common/types/contact-us.types.js.map +1 -0
  77. package/common/types/countries.types.d.ts +77 -0
  78. package/common/types/countries.types.js +349 -0
  79. package/common/types/countries.types.js.map +1 -0
  80. package/common/types/covered-person.types.d.ts +204 -0
  81. package/common/types/covered-person.types.js +234 -0
  82. package/common/types/covered-person.types.js.map +1 -0
  83. package/common/types/dashboard.types.d.ts +2086 -0
  84. package/common/types/dashboard.types.js +690 -0
  85. package/common/types/dashboard.types.js.map +1 -0
  86. package/common/types/data-record.types.d.ts +347 -0
  87. package/common/types/data-record.types.js +261 -0
  88. package/common/types/data-record.types.js.map +1 -0
  89. package/common/types/data-room.types.d.ts +1277 -0
  90. package/common/types/data-room.types.js +167 -0
  91. package/common/types/data-room.types.js.map +1 -0
  92. package/common/types/default-theme-config.types.d.ts +445 -0
  93. package/common/types/default-theme-config.types.js +63 -0
  94. package/common/types/default-theme-config.types.js.map +1 -0
  95. package/common/types/disbursement-adjustment.types.d.ts +21 -0
  96. package/common/types/disbursement-adjustment.types.js +25 -0
  97. package/common/types/disbursement-adjustment.types.js.map +1 -0
  98. package/common/types/disbursement-approval-user.types.d.ts +935 -0
  99. package/common/types/disbursement-approval-user.types.js +68 -0
  100. package/common/types/disbursement-approval-user.types.js.map +1 -0
  101. package/common/types/disbursement-review.types.d.ts +923 -0
  102. package/common/types/disbursement-review.types.js +76 -0
  103. package/common/types/disbursement-review.types.js.map +1 -0
  104. package/common/types/disbursement-transaction.types.d.ts +621 -0
  105. package/common/types/disbursement-transaction.types.js +51 -0
  106. package/common/types/disbursement-transaction.types.js.map +1 -0
  107. package/common/types/disbursements.types.d.ts +3084 -0
  108. package/common/types/disbursements.types.js +342 -0
  109. package/common/types/disbursements.types.js.map +1 -0
  110. package/common/types/domain-filter.types.d.ts +135 -0
  111. package/common/types/domain-filter.types.js +40 -0
  112. package/common/types/domain-filter.types.js.map +1 -0
  113. package/common/types/email-theme.types.d.ts +1359 -0
  114. package/common/types/email-theme.types.js +318 -0
  115. package/common/types/email-theme.types.js.map +1 -0
  116. package/common/types/entity.types.d.ts +21 -0
  117. package/common/types/entity.types.js +14 -0
  118. package/common/types/entity.types.js.map +1 -0
  119. package/common/types/error-responses.types.d.ts +144 -0
  120. package/common/types/error-responses.types.js +125 -0
  121. package/common/types/error-responses.types.js.map +1 -0
  122. package/common/types/escrow-account.types.d.ts +398 -0
  123. package/common/types/escrow-account.types.js +75 -0
  124. package/common/types/escrow-account.types.js.map +1 -0
  125. package/common/types/exchange-api-key.types.d.ts +1010 -0
  126. package/common/types/exchange-api-key.types.js +90 -0
  127. package/common/types/exchange-api-key.types.js.map +1 -0
  128. package/common/types/exchange-import.types.d.ts +23 -0
  129. package/common/types/exchange-import.types.js +23 -0
  130. package/common/types/exchange-import.types.js.map +1 -0
  131. package/common/types/exchange-provider.types.d.ts +1308 -0
  132. package/common/types/exchange-provider.types.js +268 -0
  133. package/common/types/exchange-provider.types.js.map +1 -0
  134. package/common/types/file.types.d.ts +401 -0
  135. package/common/types/file.types.js +378 -0
  136. package/common/types/file.types.js.map +1 -0
  137. package/common/types/health.types.d.ts +112 -0
  138. package/common/types/health.types.js +22 -0
  139. package/common/types/health.types.js.map +1 -0
  140. package/common/types/i-will-do-it-later.types.d.ts +51 -0
  141. package/common/types/i-will-do-it-later.types.js +30 -0
  142. package/common/types/i-will-do-it-later.types.js.map +1 -0
  143. package/common/types/{index.ts → index.d.ts} +5 -3
  144. package/common/types/index.js +52 -0
  145. package/common/types/index.js.map +1 -0
  146. package/common/types/individuals.types.d.ts +1899 -0
  147. package/common/types/individuals.types.js +500 -0
  148. package/common/types/individuals.types.js.map +1 -0
  149. package/common/types/investor-account.types.d.ts +2996 -0
  150. package/common/types/investor-account.types.js +930 -0
  151. package/common/types/investor-account.types.js.map +1 -0
  152. package/common/types/investorAccountIdSchema.type.js +1 -0
  153. package/common/types/investorAccountIdSchema.type.js.map +1 -0
  154. package/common/types/investors-offering.types.d.ts +391 -0
  155. package/common/types/investors-offering.types.js +49 -0
  156. package/common/types/investors-offering.types.js.map +1 -0
  157. package/common/types/invite.types.d.ts +641 -0
  158. package/common/types/invite.types.js +113 -0
  159. package/common/types/invite.types.js.map +1 -0
  160. package/common/types/issuer-bank-account.types.d.ts +385 -0
  161. package/common/types/issuer-bank-account.types.js +81 -0
  162. package/common/types/issuer-bank-account.types.js.map +1 -0
  163. package/common/types/issuer-offering.types.d.ts +1245 -0
  164. package/common/types/issuer-offering.types.js +344 -0
  165. package/common/types/issuer-offering.types.js.map +1 -0
  166. package/common/types/issuer-payment-method.types.d.ts +1100 -0
  167. package/common/types/issuer-payment-method.types.js +311 -0
  168. package/common/types/issuer-payment-method.types.js.map +1 -0
  169. package/common/types/issuer.types.d.ts +539 -0
  170. package/common/types/issuer.types.js +275 -0
  171. package/common/types/issuer.types.js.map +1 -0
  172. package/common/types/job-item.types.d.ts +230 -0
  173. package/common/types/job-item.types.js +89 -0
  174. package/common/types/job-item.types.js.map +1 -0
  175. package/common/types/jobs.types.d.ts +296 -0
  176. package/common/types/jobs.types.js +150 -0
  177. package/common/types/jobs.types.js.map +1 -0
  178. package/common/types/kyb.types.d.ts +167 -0
  179. package/common/types/kyb.types.js +45 -0
  180. package/common/types/kyb.types.js.map +1 -0
  181. package/common/types/kyc.types.d.ts +2197 -0
  182. package/common/types/kyc.types.js +301 -0
  183. package/common/types/kyc.types.js.map +1 -0
  184. package/common/types/legal-entity.types.d.ts +638 -0
  185. package/common/types/legal-entity.types.js +148 -0
  186. package/common/types/legal-entity.types.js.map +1 -0
  187. package/common/types/login-history.types.d.ts +160 -0
  188. package/common/types/login-history.types.js +39 -0
  189. package/common/types/login-history.types.js.map +1 -0
  190. package/common/types/mail-template.types.d.ts +595 -0
  191. package/common/types/mail-template.types.js +401 -0
  192. package/common/types/mail-template.types.js.map +1 -0
  193. package/common/types/north-cap-integration.types.d.ts +1303 -0
  194. package/common/types/north-cap-integration.types.js +145 -0
  195. package/common/types/north-cap-integration.types.js.map +1 -0
  196. package/common/types/note.types.d.ts +216 -0
  197. package/common/types/note.types.js +82 -0
  198. package/common/types/note.types.js.map +1 -0
  199. package/common/types/notification.types.d.ts +2689 -0
  200. package/common/types/notification.types.js +408 -0
  201. package/common/types/notification.types.js.map +1 -0
  202. package/common/types/notion-api.types.d.ts +3626 -0
  203. package/common/types/notion-api.types.js +271 -0
  204. package/common/types/notion-api.types.js.map +1 -0
  205. package/common/types/notion-database.types.d.ts +191 -0
  206. package/common/types/notion-database.types.js +95 -0
  207. package/common/types/notion-database.types.js.map +1 -0
  208. package/common/types/notion-page.types.d.ts +3482 -0
  209. package/common/types/notion-page.types.js +208 -0
  210. package/common/types/notion-page.types.js.map +1 -0
  211. package/common/types/offering-reports.types.d.ts +525 -0
  212. package/common/types/offering-reports.types.js +111 -0
  213. package/common/types/offering-reports.types.js.map +1 -0
  214. package/common/types/offering-submission.types.d.ts +587 -0
  215. package/common/types/offering-submission.types.js +278 -0
  216. package/common/types/offering-submission.types.js.map +1 -0
  217. package/common/types/offering.types.d.ts +2335 -0
  218. package/common/types/offering.types.js +505 -0
  219. package/common/types/offering.types.js.map +1 -0
  220. package/common/types/page-revision.types.d.ts +74 -0
  221. package/common/types/page-revision.types.js +68 -0
  222. package/common/types/page-revision.types.js.map +1 -0
  223. package/common/types/page.types.d.ts +540 -0
  224. package/common/types/page.types.js +361 -0
  225. package/common/types/page.types.js.map +1 -0
  226. package/common/types/password.type.d.ts +2 -0
  227. package/common/types/password.type.js +14 -0
  228. package/common/types/password.type.js.map +1 -0
  229. package/common/types/payment-methods.types.d.ts +800 -0
  230. package/common/types/payment-methods.types.js +260 -0
  231. package/common/types/payment-methods.types.js.map +1 -0
  232. package/common/types/phone.type.d.ts +12 -0
  233. package/common/types/phone.type.js +29 -0
  234. package/common/types/phone.type.js.map +1 -0
  235. package/common/types/portfolio.types.d.ts +185 -0
  236. package/common/types/portfolio.types.js +36 -0
  237. package/common/types/portfolio.types.js.map +1 -0
  238. package/common/types/privacy-policy-and-tos.types.d.ts +2 -0
  239. package/common/types/{privacy-policy-and-tos.types.ts → privacy-policy-and-tos.types.js} +1 -1
  240. package/common/types/privacy-policy-and-tos.types.js.map +1 -0
  241. package/common/types/queue.types.d.ts +22 -0
  242. package/common/types/queue.types.js +73 -0
  243. package/common/types/queue.types.js.map +1 -0
  244. package/common/types/registered-reps.types.d.ts +6 -0
  245. package/common/types/registered-reps.types.js +21 -0
  246. package/common/types/registered-reps.types.js.map +1 -0
  247. package/common/types/rejection-reasons.types.d.ts +35 -0
  248. package/common/types/rejection-reasons.types.js +49 -0
  249. package/common/types/rejection-reasons.types.js.map +1 -0
  250. package/common/types/review.types.d.ts +419 -0
  251. package/common/types/review.types.js +101 -0
  252. package/common/types/review.types.js.map +1 -0
  253. package/common/types/role.types.d.ts +30 -0
  254. package/common/types/role.types.js +21 -0
  255. package/common/types/role.types.js.map +1 -0
  256. package/common/types/secondary-customer.types.d.ts +586 -0
  257. package/common/types/secondary-customer.types.js +39 -0
  258. package/common/types/secondary-customer.types.js.map +1 -0
  259. package/common/types/secondary-issuer.types.d.ts +283 -0
  260. package/common/types/secondary-issuer.types.js +37 -0
  261. package/common/types/secondary-issuer.types.js.map +1 -0
  262. package/common/types/secondary-order.types.d.ts +508 -0
  263. package/common/types/secondary-order.types.js +40 -0
  264. package/common/types/secondary-order.types.js.map +1 -0
  265. package/common/types/secondary-security.types.d.ts +175 -0
  266. package/common/types/secondary-security.types.js +45 -0
  267. package/common/types/secondary-security.types.js.map +1 -0
  268. package/common/types/secondary-trade.entity.d.ts +16 -0
  269. package/common/types/secondary-trade.entity.js +12 -0
  270. package/common/types/secondary-trade.entity.js.map +1 -0
  271. package/common/types/secondary-trade.types.d.ts +465 -0
  272. package/common/types/secondary-trade.types.js +61 -0
  273. package/common/types/secondary-trade.types.js.map +1 -0
  274. package/common/types/secure-request.types.d.ts +171 -0
  275. package/common/types/secure-request.types.js +51 -0
  276. package/common/types/secure-request.types.js.map +1 -0
  277. package/common/types/signer.types.d.ts +3406 -0
  278. package/common/types/signer.types.js +532 -0
  279. package/common/types/signer.types.js.map +1 -0
  280. package/common/types/site-link.types.d.ts +875 -0
  281. package/common/types/site-link.types.js +126 -0
  282. package/common/types/site-link.types.js.map +1 -0
  283. package/common/types/site-settings.types.d.ts +1673 -0
  284. package/common/types/site-settings.types.js +500 -0
  285. package/common/types/site-settings.types.js.map +1 -0
  286. package/common/types/site.types.d.ts +1476 -0
  287. package/common/types/site.types.js +213 -0
  288. package/common/types/site.types.js.map +1 -0
  289. package/common/types/sms.types.d.ts +40 -0
  290. package/common/types/sms.types.js +27 -0
  291. package/common/types/sms.types.js.map +1 -0
  292. package/common/types/state-machine.types.d.ts +591 -0
  293. package/common/types/state-machine.types.js +144 -0
  294. package/common/types/state-machine.types.js.map +1 -0
  295. package/common/types/states.types.d.ts +77 -0
  296. package/common/types/states.types.js +137 -0
  297. package/common/types/states.types.js.map +1 -0
  298. package/common/types/subdoc-preview.types.d.ts +379 -0
  299. package/common/types/subdoc-preview.types.js +24 -0
  300. package/common/types/subdoc-preview.types.js.map +1 -0
  301. package/common/types/task.types.d.ts +537 -0
  302. package/common/types/task.types.js +211 -0
  303. package/common/types/task.types.js.map +1 -0
  304. package/common/types/trade-adjustment.type.d.ts +40 -0
  305. package/common/types/trade-adjustment.type.js +26 -0
  306. package/common/types/trade-adjustment.type.js.map +1 -0
  307. package/common/types/trade-line-item.types.d.ts +329 -0
  308. package/common/types/trade-line-item.types.js +100 -0
  309. package/common/types/trade-line-item.types.js.map +1 -0
  310. package/common/types/trade.types.d.ts +2004 -0
  311. package/common/types/trade.types.js +787 -0
  312. package/common/types/trade.types.js.map +1 -0
  313. package/common/types/transaction.types.d.ts +375 -0
  314. package/common/types/transaction.types.js +154 -0
  315. package/common/types/transaction.types.js.map +1 -0
  316. package/common/types/trusted-contact.types.d.ts +440 -0
  317. package/common/types/trusted-contact.types.js +95 -0
  318. package/common/types/trusted-contact.types.js.map +1 -0
  319. package/common/types/typography.types.d.ts +52 -0
  320. package/common/types/typography.types.js +67 -0
  321. package/common/types/typography.types.js.map +1 -0
  322. package/common/types/user-manual.types.d.ts +287 -0
  323. package/common/types/user-manual.types.js +192 -0
  324. package/common/types/user-manual.types.js.map +1 -0
  325. package/common/types/user-setting.types.d.ts +273 -0
  326. package/common/types/user-setting.types.js +85 -0
  327. package/common/types/user-setting.types.js.map +1 -0
  328. package/common/types/user.types.d.ts +1951 -0
  329. package/common/types/user.types.js +238 -0
  330. package/common/types/user.types.js.map +1 -0
  331. package/common/types/webhook.types.d.ts +10829 -0
  332. package/common/types/webhook.types.js +658 -0
  333. package/common/types/webhook.types.js.map +1 -0
  334. package/common/types/zip.type.d.ts +35 -0
  335. package/common/types/zip.type.js +28 -0
  336. package/common/types/zip.type.js.map +1 -0
  337. package/contracts/clients/accounts/index.d.ts +308 -0
  338. package/contracts/clients/accounts/index.js +43 -0
  339. package/contracts/clients/accounts/index.js.map +1 -0
  340. package/contracts/clients/aic/index.d.ts +280 -0
  341. package/contracts/clients/aic/index.js +47 -0
  342. package/contracts/clients/aic/index.js.map +1 -0
  343. package/contracts/clients/api-key-logs/index.d.ts +287 -0
  344. package/contracts/clients/api-key-logs/index.js +37 -0
  345. package/contracts/clients/api-key-logs/index.js.map +1 -0
  346. package/contracts/clients/api-keys/index.d.ts +374 -0
  347. package/contracts/clients/api-keys/index.js +59 -0
  348. package/contracts/clients/api-keys/index.js.map +1 -0
  349. package/contracts/clients/assets/index.d.ts +1028 -0
  350. package/contracts/clients/assets/index.js +80 -0
  351. package/contracts/clients/assets/index.js.map +1 -0
  352. package/contracts/clients/auth/index.d.ts +236 -0
  353. package/contracts/clients/auth/index.js +38 -0
  354. package/contracts/clients/auth/index.js.map +1 -0
  355. package/contracts/clients/cart/index.d.ts +229 -0
  356. package/contracts/clients/cart/index.js +63 -0
  357. package/contracts/clients/cart/index.js.map +1 -0
  358. package/contracts/clients/files/index.d.ts +552 -0
  359. package/contracts/clients/files/index.js +142 -0
  360. package/contracts/clients/files/index.js.map +1 -0
  361. package/contracts/clients/files-public/index.d.ts +552 -0
  362. package/contracts/clients/files-public/index.js +142 -0
  363. package/contracts/clients/files-public/index.js.map +1 -0
  364. package/contracts/clients/index.d.ts +12482 -0
  365. package/contracts/clients/index.js +52 -0
  366. package/contracts/clients/index.js.map +1 -0
  367. package/contracts/clients/individuals/index.d.ts +3199 -0
  368. package/contracts/clients/individuals/index.js +74 -0
  369. package/contracts/clients/individuals/index.js.map +1 -0
  370. package/contracts/clients/investor-accounts/index.d.ts +339 -0
  371. package/contracts/clients/investor-accounts/index.js +73 -0
  372. package/contracts/clients/investor-accounts/index.js.map +1 -0
  373. package/contracts/clients/issuer-payment-methods/index.d.ts +276 -0
  374. package/contracts/clients/issuer-payment-methods/index.js +24 -0
  375. package/contracts/clients/issuer-payment-methods/index.js.map +1 -0
  376. package/contracts/clients/issuers/index.d.ts +449 -0
  377. package/contracts/clients/issuers/index.js +75 -0
  378. package/contracts/clients/issuers/index.js.map +1 -0
  379. package/contracts/clients/kyc/index.d.ts +345 -0
  380. package/contracts/clients/kyc/index.js +49 -0
  381. package/contracts/clients/kyc/index.js.map +1 -0
  382. package/contracts/clients/legal-entities/index.d.ts +887 -0
  383. package/contracts/clients/legal-entities/index.js +74 -0
  384. package/contracts/clients/legal-entities/index.js.map +1 -0
  385. package/contracts/clients/offerings/index.d.ts +767 -0
  386. package/contracts/clients/offerings/index.js +95 -0
  387. package/contracts/clients/offerings/index.js.map +1 -0
  388. package/contracts/clients/payment-methods/index.d.ts +456 -0
  389. package/contracts/clients/payment-methods/index.js +68 -0
  390. package/contracts/clients/payment-methods/index.js.map +1 -0
  391. package/contracts/clients/secure-requests/index.d.ts +100 -0
  392. package/contracts/clients/secure-requests/index.js +22 -0
  393. package/contracts/clients/secure-requests/index.js.map +1 -0
  394. package/contracts/clients/sites/index.d.ts +657 -0
  395. package/contracts/clients/sites/index.js +40 -0
  396. package/contracts/clients/sites/index.js.map +1 -0
  397. package/contracts/clients/trade-line-items/index.d.ts +216 -0
  398. package/contracts/clients/trade-line-items/index.js +47 -0
  399. package/contracts/clients/trade-line-items/index.js.map +1 -0
  400. package/contracts/clients/trades/index.d.ts +871 -0
  401. package/contracts/clients/trades/index.js +156 -0
  402. package/contracts/clients/trades/index.js.map +1 -0
  403. package/contracts/clients/transactions/index.d.ts +88 -0
  404. package/contracts/clients/transactions/index.js +25 -0
  405. package/contracts/clients/transactions/index.js.map +1 -0
  406. package/package.json +27 -36
  407. package/common/helpers/index.ts +0 -59
  408. package/common/types/account-contact.types.ts +0 -98
  409. package/common/types/account-detail.types.ts +0 -27
  410. package/common/types/account-integration.types.ts +0 -143
  411. package/common/types/account-manager.types.ts +0 -124
  412. package/common/types/account.types.ts +0 -296
  413. package/common/types/activity.types.ts +0 -274
  414. package/common/types/address.types.ts +0 -41
  415. package/common/types/aic.types.ts +0 -246
  416. package/common/types/aml.types.ts +0 -18
  417. package/common/types/api-key-logs.types.ts +0 -66
  418. package/common/types/api-keys.types.ts +0 -69
  419. package/common/types/asset.types.ts +0 -338
  420. package/common/types/auth.types.ts +0 -370
  421. package/common/types/batch-jobs.types.ts +0 -151
  422. package/common/types/bonus-tier.types.ts +0 -147
  423. package/common/types/cart.types.ts +0 -18
  424. package/common/types/checklist-items.types.ts +0 -70
  425. package/common/types/checklist.types.ts +0 -97
  426. package/common/types/common.types.ts +0 -1520
  427. package/common/types/comply-advantage-api.types.ts +0 -316
  428. package/common/types/comply-advantage.types.ts +0 -25
  429. package/common/types/contact-us.types.ts +0 -107
  430. package/common/types/countries.types.ts +0 -375
  431. package/common/types/covered-person.types.ts +0 -274
  432. package/common/types/dashboard.types.ts +0 -799
  433. package/common/types/data-record.types.ts +0 -325
  434. package/common/types/data-room.types.ts +0 -242
  435. package/common/types/default-theme-config.types.ts +0 -87
  436. package/common/types/disbursement-adjustment.types.ts +0 -32
  437. package/common/types/disbursement-approval-user.types.ts +0 -100
  438. package/common/types/disbursement-review.types.ts +0 -110
  439. package/common/types/disbursement-transaction.types.ts +0 -72
  440. package/common/types/disbursements.types.ts +0 -310
  441. package/common/types/domain-filter.types.ts +0 -55
  442. package/common/types/email-theme.types.ts +0 -442
  443. package/common/types/entity.types.ts +0 -15
  444. package/common/types/error-responses.types.ts +0 -135
  445. package/common/types/escrow-account.types.ts +0 -104
  446. package/common/types/exchange-api-key.types.ts +0 -121
  447. package/common/types/exchange-import.types.ts +0 -36
  448. package/common/types/exchange-provider.types.ts +0 -329
  449. package/common/types/file.types.ts +0 -461
  450. package/common/types/health.types.ts +0 -29
  451. package/common/types/individuals.types.ts +0 -554
  452. package/common/types/investor-account.types.ts +0 -1239
  453. package/common/types/investors-offering.types.ts +0 -65
  454. package/common/types/invite.types.ts +0 -133
  455. package/common/types/issuer-bank-account.types.ts +0 -107
  456. package/common/types/issuer-offering.types.ts +0 -393
  457. package/common/types/issuer-payment-method.types.ts +0 -341
  458. package/common/types/issuer.types.ts +0 -312
  459. package/common/types/job-item.types.ts +0 -119
  460. package/common/types/jobs.types.ts +0 -171
  461. package/common/types/kyb.types.ts +0 -53
  462. package/common/types/kyc.types.ts +0 -188
  463. package/common/types/legal-entity.types.ts +0 -185
  464. package/common/types/login-history.types.ts +0 -46
  465. package/common/types/mail-template.types.ts +0 -436
  466. package/common/types/north-cap-integration.types.ts +0 -190
  467. package/common/types/note.types.ts +0 -109
  468. package/common/types/notification.types.ts +0 -58
  469. package/common/types/notion-api.types.ts +0 -374
  470. package/common/types/notion-database.types.ts +0 -125
  471. package/common/types/notion-page.types.ts +0 -267
  472. package/common/types/offering-reports.types.ts +0 -153
  473. package/common/types/offering-submission.types.ts +0 -314
  474. package/common/types/offering.types.ts +0 -681
  475. package/common/types/page-revision.types.ts +0 -86
  476. package/common/types/page.types.ts +0 -436
  477. package/common/types/password.type.ts +0 -15
  478. package/common/types/payment-methods.types.ts +0 -298
  479. package/common/types/phone.type.ts +0 -27
  480. package/common/types/portfolio.types.ts +0 -50
  481. package/common/types/queue.types.ts +0 -112
  482. package/common/types/registered-reps.types.ts +0 -25
  483. package/common/types/rejection-reasons.types.ts +0 -56
  484. package/common/types/reminder-config.types.ts +0 -40
  485. package/common/types/review.types.ts +0 -133
  486. package/common/types/role.types.ts +0 -26
  487. package/common/types/secondary-customer.types.ts +0 -66
  488. package/common/types/secondary-issuer.types.ts +0 -50
  489. package/common/types/secondary-order.types.ts +0 -58
  490. package/common/types/secondary-security.types.ts +0 -60
  491. package/common/types/secondary-trade.entity.ts +0 -16
  492. package/common/types/secondary-trade.types.ts +0 -95
  493. package/common/types/secure-request.types.ts +0 -68
  494. package/common/types/signer.types.ts +0 -651
  495. package/common/types/site-link.types.ts +0 -166
  496. package/common/types/site-settings.types.ts +0 -726
  497. package/common/types/site.types.ts +0 -270
  498. package/common/types/sms.types.ts +0 -30
  499. package/common/types/state-machine.types.ts +0 -177
  500. package/common/types/states.types.ts +0 -163
  501. package/common/types/subdoc-preview.types.ts +0 -35
  502. package/common/types/task.types.ts +0 -258
  503. package/common/types/trade-adjustment.type.ts +0 -33
  504. package/common/types/trade-line-item.type.ts +0 -132
  505. package/common/types/trade.types.ts +0 -999
  506. package/common/types/transaction.types.ts +0 -198
  507. package/common/types/trusted-contact.types.ts +0 -122
  508. package/common/types/typography.types.ts +0 -75
  509. package/common/types/user-manual.types.ts +0 -290
  510. package/common/types/user-setting.types.ts +0 -133
  511. package/common/types/user.types.ts +0 -320
  512. package/common/types/webhook.types.ts +0 -588
  513. package/common/types/zip.type.ts +0 -36
  514. package/contracts/clients/accounts/index.ts +0 -61
  515. package/contracts/clients/aic/index.ts +0 -59
  516. package/contracts/clients/api-key-logs/index.ts +0 -53
  517. package/contracts/clients/api-keys/index.ts +0 -73
  518. package/contracts/clients/assets/index.ts +0 -102
  519. package/contracts/clients/auth/index.ts +0 -50
  520. package/contracts/clients/cart/index.ts +0 -40
  521. package/contracts/clients/files/index.ts +0 -166
  522. package/contracts/clients/files-public/index.ts +0 -166
  523. package/contracts/clients/index.ts +0 -46
  524. package/contracts/clients/individuals/index.ts +0 -93
  525. package/contracts/clients/investor-accounts/index.ts +0 -93
  526. package/contracts/clients/issuers/index.ts +0 -94
  527. package/contracts/clients/legal-entities/index.ts +0 -93
  528. package/contracts/clients/offerings/index.ts +0 -117
  529. package/contracts/clients/secure-requests/index.ts +0 -34
  530. package/contracts/clients/sites/index.ts +0 -56
  531. package/contracts/clients/trades/index.ts +0 -186
  532. package/contracts/compliance/account-contacts/index.ts +0 -82
  533. package/contracts/compliance/account-managers/index.ts +0 -142
  534. package/contracts/compliance/accounts/index.ts +0 -187
  535. package/contracts/compliance/activities/index.ts +0 -55
  536. package/contracts/compliance/aic/index.ts +0 -60
  537. package/contracts/compliance/api-keys/index.ts +0 -91
  538. package/contracts/compliance/assets/index.ts +0 -122
  539. package/contracts/compliance/auth/index.ts +0 -134
  540. package/contracts/compliance/batch-jobs/index.ts +0 -62
  541. package/contracts/compliance/bonus-tiers/index.ts +0 -55
  542. package/contracts/compliance/checklist/index.ts +0 -87
  543. package/contracts/compliance/checklist-items/index.ts +0 -86
  544. package/contracts/compliance/covered-persons/index.ts +0 -97
  545. package/contracts/compliance/dashboard/index.ts +0 -111
  546. package/contracts/compliance/data-records/index.ts +0 -116
  547. package/contracts/compliance/data-rooms/index.ts +0 -113
  548. package/contracts/compliance/default-theme-configs/index.ts +0 -95
  549. package/contracts/compliance/disbursement/index.ts +0 -165
  550. package/contracts/compliance/disbursement-approval-users/index.ts +0 -84
  551. package/contracts/compliance/disbursement-transactions/index.ts +0 -37
  552. package/contracts/compliance/domain-filters/index.ts +0 -117
  553. package/contracts/compliance/email-themes/index.ts +0 -284
  554. package/contracts/compliance/escrow-accounts/index.ts +0 -85
  555. package/contracts/compliance/exchange-api-keys/index.ts +0 -129
  556. package/contracts/compliance/exchange-imports/index.ts +0 -137
  557. package/contracts/compliance/files/index.ts +0 -267
  558. package/contracts/compliance/files-public/index.ts +0 -188
  559. package/contracts/compliance/health/index.ts +0 -26
  560. package/contracts/compliance/index.ts +0 -147
  561. package/contracts/compliance/individuals/index.ts +0 -57
  562. package/contracts/compliance/investor-accounts/index.ts +0 -141
  563. package/contracts/compliance/invites/index.ts +0 -137
  564. package/contracts/compliance/issuer-bank-accounts/index.ts +0 -81
  565. package/contracts/compliance/issuer-payment-methods/index.ts +0 -81
  566. package/contracts/compliance/issuers/index.ts +0 -97
  567. package/contracts/compliance/job-items/index.ts +0 -58
  568. package/contracts/compliance/jobs/index.ts +0 -59
  569. package/contracts/compliance/kyb/index.ts +0 -54
  570. package/contracts/compliance/kyc/index.ts +0 -77
  571. package/contracts/compliance/legal-entities/index.ts +0 -57
  572. package/contracts/compliance/login-histories/index.ts +0 -37
  573. package/contracts/compliance/notes/index.ts +0 -69
  574. package/contracts/compliance/notion-databases/index.ts +0 -107
  575. package/contracts/compliance/notion-pages/index.ts +0 -105
  576. package/contracts/compliance/offering-reports/index.ts +0 -149
  577. package/contracts/compliance/offerings/index.ts +0 -233
  578. package/contracts/compliance/pages/index.ts +0 -178
  579. package/contracts/compliance/payment-methods/index.ts +0 -57
  580. package/contracts/compliance/rejection-reasons/index.ts +0 -32
  581. package/contracts/compliance/review/index.ts +0 -169
  582. package/contracts/compliance/roles/index.ts +0 -34
  583. package/contracts/compliance/secondary-customers/index.ts +0 -77
  584. package/contracts/compliance/secondary-orders/index.ts +0 -60
  585. package/contracts/compliance/secondary-trades/index.ts +0 -100
  586. package/contracts/compliance/secure-requests/index.ts +0 -54
  587. package/contracts/compliance/signer/index.ts +0 -369
  588. package/contracts/compliance/site-links/index.ts +0 -128
  589. package/contracts/compliance/site-settings/index.ts +0 -669
  590. package/contracts/compliance/sites/index.ts +0 -56
  591. package/contracts/compliance/state-machine/index.ts +0 -94
  592. package/contracts/compliance/tasks/index.ts +0 -91
  593. package/contracts/compliance/third-parties/index.ts +0 -52
  594. package/contracts/compliance/trade-line-items/index.ts +0 -59
  595. package/contracts/compliance/trades/index.ts +0 -230
  596. package/contracts/compliance/transactions/index.ts +0 -161
  597. package/contracts/compliance/user-manuals/index.ts +0 -271
  598. package/contracts/compliance/user-settings/index.ts +0 -189
  599. package/contracts/compliance/users/index.ts +0 -200
  600. package/contracts/compliance/webhooks/index.ts +0 -41
  601. package/contracts/compliance-apikey/accounts/index.ts +0 -58
  602. package/contracts/compliance-apikey/index.ts +0 -14
  603. package/contracts/index.ts +0 -6
  604. package/contracts/investors/account-contacts/index.ts +0 -58
  605. package/contracts/investors/aic/index.ts +0 -59
  606. package/contracts/investors/assets/index.ts +0 -61
  607. package/contracts/investors/auth/index.ts +0 -116
  608. package/contracts/investors/bonus-tiers/index.ts +0 -37
  609. package/contracts/investors/cart/index.ts +0 -75
  610. package/contracts/investors/contact-us/index.ts +0 -48
  611. package/contracts/investors/data-records/index.ts +0 -113
  612. package/contracts/investors/data-rooms/index.ts +0 -96
  613. package/contracts/investors/files/index.ts +0 -167
  614. package/contracts/investors/files-public/index.ts +0 -185
  615. package/contracts/investors/index.ts +0 -72
  616. package/contracts/investors/individuals/index.ts +0 -99
  617. package/contracts/investors/investor-accounts/index.ts +0 -110
  618. package/contracts/investors/issuer-payment-methods/index.ts +0 -36
  619. package/contracts/investors/issuers/index.ts +0 -30
  620. package/contracts/investors/legal-entities/index.ts +0 -93
  621. package/contracts/investors/notes/index.ts +0 -69
  622. package/contracts/investors/offerings/index.ts +0 -93
  623. package/contracts/investors/pages/index.ts +0 -88
  624. package/contracts/investors/payment-methods/index.ts +0 -149
  625. package/contracts/investors/portfolios/index.ts +0 -53
  626. package/contracts/investors/sites/index.ts +0 -96
  627. package/contracts/investors/tasks/index.ts +0 -111
  628. package/contracts/investors/trade-line-items/index.ts +0 -75
  629. package/contracts/investors/trades/index.ts +0 -114
  630. package/contracts/investors/transactions/index.ts +0 -37
  631. package/contracts/investors/trusted-contacts/index.ts +0 -93
  632. package/contracts/investors/user-manuals/index.ts +0 -62
  633. package/contracts/investors/user-settings/index.ts +0 -170
  634. package/contracts/investors/users/index.ts +0 -45
  635. package/contracts/investors/webhooks/index.ts +0 -30
  636. package/contracts/issuers/account-contacts/index.ts +0 -76
  637. package/contracts/issuers/account-integrations/index.ts +0 -97
  638. package/contracts/issuers/accounts/index.ts +0 -97
  639. package/contracts/issuers/activities/index.ts +0 -54
  640. package/contracts/issuers/aic/index.ts +0 -39
  641. package/contracts/issuers/api-key-logs/index.ts +0 -53
  642. package/contracts/issuers/api-keys/index.ts +0 -93
  643. package/contracts/issuers/assets/index.ts +0 -122
  644. package/contracts/issuers/auth/index.ts +0 -152
  645. package/contracts/issuers/bonus-tiers/index.ts +0 -55
  646. package/contracts/issuers/contact-us/index.ts +0 -48
  647. package/contracts/issuers/covered-persons/index.ts +0 -136
  648. package/contracts/issuers/dashboard/index.ts +0 -72
  649. package/contracts/issuers/data-records/index.ts +0 -257
  650. package/contracts/issuers/data-rooms/index.ts +0 -134
  651. package/contracts/issuers/disbursement-approval-users/index.ts +0 -82
  652. package/contracts/issuers/disbursement-transactions/index.ts +0 -53
  653. package/contracts/issuers/disbursements/index.ts +0 -153
  654. package/contracts/issuers/email-themes/index.ts +0 -242
  655. package/contracts/issuers/escrow-accounts/index.ts +0 -81
  656. package/contracts/issuers/exchange-api-keys/index.ts +0 -144
  657. package/contracts/issuers/files/index.ts +0 -166
  658. package/contracts/issuers/files-public/index.ts +0 -166
  659. package/contracts/issuers/health/index.ts +0 -24
  660. package/contracts/issuers/index.ts +0 -112
  661. package/contracts/issuers/investor-accounts/index.ts +0 -148
  662. package/contracts/issuers/invites/index.ts +0 -129
  663. package/contracts/issuers/issuer/index.ts +0 -94
  664. package/contracts/issuers/issuer-bank-accounts/index.ts +0 -81
  665. package/contracts/issuers/issuer-payment-methods/index.ts +0 -136
  666. package/contracts/issuers/kyc/index.ts +0 -38
  667. package/contracts/issuers/login-histories/index.ts +0 -51
  668. package/contracts/issuers/notes/index.ts +0 -69
  669. package/contracts/issuers/offerings/index.ts +0 -206
  670. package/contracts/issuers/pages/index.ts +0 -138
  671. package/contracts/issuers/payment-methods/index.ts +0 -61
  672. package/contracts/issuers/portfolios/index.ts +0 -36
  673. package/contracts/issuers/rejection-reasons/index.ts +0 -32
  674. package/contracts/issuers/review/index.ts +0 -63
  675. package/contracts/issuers/secondary-customers/index.ts +0 -55
  676. package/contracts/issuers/secondary-orders/index.ts +0 -57
  677. package/contracts/issuers/secondary-trades/index.ts +0 -57
  678. package/contracts/issuers/secure-requests/index.ts +0 -34
  679. package/contracts/issuers/site-links/index.ts +0 -116
  680. package/contracts/issuers/site-settings/index.ts +0 -585
  681. package/contracts/issuers/sites/index.ts +0 -32
  682. package/contracts/issuers/tasks/index.ts +0 -111
  683. package/contracts/issuers/trades/index.ts +0 -132
  684. package/contracts/issuers/transactions/index.ts +0 -158
  685. package/contracts/issuers/user-manuals/index.ts +0 -62
  686. package/contracts/issuers/user-settings/index.ts +0 -170
  687. package/contracts/issuers/users/index.ts +0 -126
  688. package/contracts/secondaries/accounts/index.ts +0 -58
  689. package/contracts/secondaries/index.ts +0 -23
  690. package/contracts/secondaries/secondary-customers/index.ts +0 -55
  691. package/contracts/secondaries/secondary-issuers/index.ts +0 -94
  692. package/contracts/secondaries/secondary-orders/index.ts +0 -56
  693. package/contracts/secondaries/secondary-securities/index.ts +0 -95
  694. package/contracts/secondaries/secondary-trades/index.ts +0 -56
  695. /package/common/types/{investorAccountIdSchema.type.ts → investorAccountIdSchema.type.d.ts} +0 -0
@@ -0,0 +1,3959 @@
1
+ import { z } from 'zod';
2
+ import { ComplyAdvantageStatus } from './comply-advantage.types';
3
+ /**
4
+ * POST /searches - Create a new search
5
+ * @see https://docs.complyadvantage.com/api-docs/#creating-searches
6
+ */
7
+ export declare const CreateSearchRequestSchema: z.ZodObject<{
8
+ search_term: z.ZodUnion<[z.ZodString, z.ZodObject<{
9
+ first_name: z.ZodOptional<z.ZodString>;
10
+ middle_names: z.ZodOptional<z.ZodString>;
11
+ last_name: z.ZodString;
12
+ }, "strip", z.ZodTypeAny, {
13
+ last_name: string;
14
+ first_name?: string | undefined;
15
+ middle_names?: string | undefined;
16
+ }, {
17
+ last_name: string;
18
+ first_name?: string | undefined;
19
+ middle_names?: string | undefined;
20
+ }>]>;
21
+ client_ref: z.ZodOptional<z.ZodString>;
22
+ search_profile: z.ZodOptional<z.ZodString>;
23
+ fuzziness: z.ZodOptional<z.ZodNumber>;
24
+ offset: z.ZodOptional<z.ZodNumber>;
25
+ limit: z.ZodOptional<z.ZodNumber>;
26
+ filters: z.ZodOptional<z.ZodObject<{
27
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
28
+ birth_year: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
29
+ remove_deceased: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"0">, z.ZodLiteral<"1">]>>;
30
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31
+ entity_type: z.ZodOptional<z.ZodEnum<["person", "company", "organisation", "vessel", "aircraft"]>>;
32
+ }, "strip", z.ZodTypeAny, {
33
+ types?: string[] | undefined;
34
+ birth_year?: string | number | undefined;
35
+ remove_deceased?: "0" | "1" | undefined;
36
+ country_codes?: string[] | undefined;
37
+ entity_type?: "company" | "person" | "organisation" | "vessel" | "aircraft" | undefined;
38
+ }, {
39
+ types?: string[] | undefined;
40
+ birth_year?: string | number | undefined;
41
+ remove_deceased?: "0" | "1" | undefined;
42
+ country_codes?: string[] | undefined;
43
+ entity_type?: "company" | "person" | "organisation" | "vessel" | "aircraft" | undefined;
44
+ }>>;
45
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodAny, "many">]>>;
46
+ share_url: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
47
+ exact_match: z.ZodOptional<z.ZodBoolean>;
48
+ }, "strip", z.ZodTypeAny, {
49
+ search_term: string | {
50
+ last_name: string;
51
+ first_name?: string | undefined;
52
+ middle_names?: string | undefined;
53
+ };
54
+ limit?: number | undefined;
55
+ tags?: any[] | Record<string, string> | undefined;
56
+ offset?: number | undefined;
57
+ client_ref?: string | undefined;
58
+ search_profile?: string | undefined;
59
+ fuzziness?: number | undefined;
60
+ filters?: {
61
+ types?: string[] | undefined;
62
+ birth_year?: string | number | undefined;
63
+ remove_deceased?: "0" | "1" | undefined;
64
+ country_codes?: string[] | undefined;
65
+ entity_type?: "company" | "person" | "organisation" | "vessel" | "aircraft" | undefined;
66
+ } | undefined;
67
+ share_url?: 0 | 1 | undefined;
68
+ exact_match?: boolean | undefined;
69
+ }, {
70
+ search_term: string | {
71
+ last_name: string;
72
+ first_name?: string | undefined;
73
+ middle_names?: string | undefined;
74
+ };
75
+ limit?: number | undefined;
76
+ tags?: any[] | Record<string, string> | undefined;
77
+ offset?: number | undefined;
78
+ client_ref?: string | undefined;
79
+ search_profile?: string | undefined;
80
+ fuzziness?: number | undefined;
81
+ filters?: {
82
+ types?: string[] | undefined;
83
+ birth_year?: string | number | undefined;
84
+ remove_deceased?: "0" | "1" | undefined;
85
+ country_codes?: string[] | undefined;
86
+ entity_type?: "company" | "person" | "organisation" | "vessel" | "aircraft" | undefined;
87
+ } | undefined;
88
+ share_url?: 0 | 1 | undefined;
89
+ exact_match?: boolean | undefined;
90
+ }>;
91
+ export type CreateSearchRequest = z.infer<typeof CreateSearchRequestSchema>;
92
+ /**
93
+ * Entity model returned in search results
94
+ * @see https://docs.complyadvantage.com/api-docs/#concepts
95
+ */
96
+ export declare const EntitySchema: z.ZodObject<{
97
+ id: z.ZodString;
98
+ entity_type: z.ZodOptional<z.ZodString>;
99
+ last_updated_utc: z.ZodOptional<z.ZodString>;
100
+ name: z.ZodString;
101
+ first_name: z.ZodOptional<z.ZodString>;
102
+ middle_name: z.ZodOptional<z.ZodString>;
103
+ last_name: z.ZodOptional<z.ZodString>;
104
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
106
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
107
+ name: z.ZodString;
108
+ tag: z.ZodOptional<z.ZodString>;
109
+ value: z.ZodString;
110
+ source: z.ZodOptional<z.ZodString>;
111
+ locale: z.ZodOptional<z.ZodString>;
112
+ }, "strip", z.ZodTypeAny, {
113
+ value: string;
114
+ name: string;
115
+ source?: string | undefined;
116
+ tag?: string | undefined;
117
+ locale?: string | undefined;
118
+ }, {
119
+ value: string;
120
+ name: string;
121
+ source?: string | undefined;
122
+ tag?: string | undefined;
123
+ locale?: string | undefined;
124
+ }>, "many">>;
125
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
+ name: z.ZodString;
127
+ }, "strip", z.ZodTypeAny, {
128
+ name: string;
129
+ }, {
130
+ name: string;
131
+ }>, "many">>;
132
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
133
+ name: z.ZodString;
134
+ association: z.ZodOptional<z.ZodString>;
135
+ }, "strip", z.ZodTypeAny, {
136
+ name: string;
137
+ association?: string | undefined;
138
+ }, {
139
+ name: string;
140
+ association?: string | undefined;
141
+ }>, "many">>;
142
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
143
+ date: z.ZodOptional<z.ZodString>;
144
+ snippet: z.ZodOptional<z.ZodString>;
145
+ title: z.ZodOptional<z.ZodString>;
146
+ url: z.ZodString;
147
+ pdf_url: z.ZodOptional<z.ZodString>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ url: string;
150
+ date?: string | undefined;
151
+ title?: string | undefined;
152
+ snippet?: string | undefined;
153
+ pdf_url?: string | undefined;
154
+ }, {
155
+ url: string;
156
+ date?: string | undefined;
157
+ title?: string | undefined;
158
+ snippet?: string | undefined;
159
+ pdf_url?: string | undefined;
160
+ }>, "many">>;
161
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
162
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
163
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
164
+ listing_started_utc: z.ZodOptional<z.ZodString>;
165
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
166
+ name: z.ZodOptional<z.ZodString>;
167
+ source_id: z.ZodOptional<z.ZodString>;
168
+ url: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ name?: string | undefined;
171
+ url?: string | undefined;
172
+ country_codes?: string[] | undefined;
173
+ aml_types?: string[] | undefined;
174
+ listing_started_utc?: string | undefined;
175
+ listing_ended_utc?: string | undefined;
176
+ source_id?: string | undefined;
177
+ }, {
178
+ name?: string | undefined;
179
+ url?: string | undefined;
180
+ country_codes?: string[] | undefined;
181
+ aml_types?: string[] | undefined;
182
+ listing_started_utc?: string | undefined;
183
+ listing_ended_utc?: string | undefined;
184
+ source_id?: string | undefined;
185
+ }>>>;
186
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
187
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
188
+ public_url: z.ZodOptional<z.ZodString>;
189
+ source: z.ZodOptional<z.ZodString>;
190
+ type: z.ZodOptional<z.ZodString>;
191
+ url: z.ZodString;
192
+ }, "strip", z.ZodTypeAny, {
193
+ url: string;
194
+ type?: string | undefined;
195
+ public_url?: string | undefined;
196
+ source?: string | undefined;
197
+ }, {
198
+ url: string;
199
+ type?: string | undefined;
200
+ public_url?: string | undefined;
201
+ source?: string | undefined;
202
+ }>, "many">>;
203
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
204
+ id: z.ZodString;
205
+ entity_type: z.ZodOptional<z.ZodString>;
206
+ last_updated_utc: z.ZodOptional<z.ZodString>;
207
+ name: z.ZodString;
208
+ first_name: z.ZodOptional<z.ZodString>;
209
+ middle_name: z.ZodOptional<z.ZodString>;
210
+ last_name: z.ZodOptional<z.ZodString>;
211
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
212
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
213
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
214
+ name: z.ZodString;
215
+ tag: z.ZodOptional<z.ZodString>;
216
+ value: z.ZodString;
217
+ source: z.ZodOptional<z.ZodString>;
218
+ locale: z.ZodOptional<z.ZodString>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ value: string;
221
+ name: string;
222
+ source?: string | undefined;
223
+ tag?: string | undefined;
224
+ locale?: string | undefined;
225
+ }, {
226
+ value: string;
227
+ name: string;
228
+ source?: string | undefined;
229
+ tag?: string | undefined;
230
+ locale?: string | undefined;
231
+ }>, "many">>;
232
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
233
+ name: z.ZodString;
234
+ }, "strip", z.ZodTypeAny, {
235
+ name: string;
236
+ }, {
237
+ name: string;
238
+ }>, "many">>;
239
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
240
+ name: z.ZodString;
241
+ association: z.ZodOptional<z.ZodString>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ name: string;
244
+ association?: string | undefined;
245
+ }, {
246
+ name: string;
247
+ association?: string | undefined;
248
+ }>, "many">>;
249
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
250
+ date: z.ZodOptional<z.ZodString>;
251
+ snippet: z.ZodOptional<z.ZodString>;
252
+ title: z.ZodOptional<z.ZodString>;
253
+ url: z.ZodString;
254
+ pdf_url: z.ZodOptional<z.ZodString>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ url: string;
257
+ date?: string | undefined;
258
+ title?: string | undefined;
259
+ snippet?: string | undefined;
260
+ pdf_url?: string | undefined;
261
+ }, {
262
+ url: string;
263
+ date?: string | undefined;
264
+ title?: string | undefined;
265
+ snippet?: string | undefined;
266
+ pdf_url?: string | undefined;
267
+ }>, "many">>;
268
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
269
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
271
+ listing_started_utc: z.ZodOptional<z.ZodString>;
272
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
273
+ name: z.ZodOptional<z.ZodString>;
274
+ source_id: z.ZodOptional<z.ZodString>;
275
+ url: z.ZodOptional<z.ZodString>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ name?: string | undefined;
278
+ url?: string | undefined;
279
+ country_codes?: string[] | undefined;
280
+ aml_types?: string[] | undefined;
281
+ listing_started_utc?: string | undefined;
282
+ listing_ended_utc?: string | undefined;
283
+ source_id?: string | undefined;
284
+ }, {
285
+ name?: string | undefined;
286
+ url?: string | undefined;
287
+ country_codes?: string[] | undefined;
288
+ aml_types?: string[] | undefined;
289
+ listing_started_utc?: string | undefined;
290
+ listing_ended_utc?: string | undefined;
291
+ source_id?: string | undefined;
292
+ }>>>;
293
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
294
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
295
+ public_url: z.ZodOptional<z.ZodString>;
296
+ source: z.ZodOptional<z.ZodString>;
297
+ type: z.ZodOptional<z.ZodString>;
298
+ url: z.ZodString;
299
+ }, "strip", z.ZodTypeAny, {
300
+ url: string;
301
+ type?: string | undefined;
302
+ public_url?: string | undefined;
303
+ source?: string | undefined;
304
+ }, {
305
+ url: string;
306
+ type?: string | undefined;
307
+ public_url?: string | undefined;
308
+ source?: string | undefined;
309
+ }>, "many">>;
310
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
311
+ id: z.ZodString;
312
+ entity_type: z.ZodOptional<z.ZodString>;
313
+ last_updated_utc: z.ZodOptional<z.ZodString>;
314
+ name: z.ZodString;
315
+ first_name: z.ZodOptional<z.ZodString>;
316
+ middle_name: z.ZodOptional<z.ZodString>;
317
+ last_name: z.ZodOptional<z.ZodString>;
318
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
319
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
320
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
321
+ name: z.ZodString;
322
+ tag: z.ZodOptional<z.ZodString>;
323
+ value: z.ZodString;
324
+ source: z.ZodOptional<z.ZodString>;
325
+ locale: z.ZodOptional<z.ZodString>;
326
+ }, "strip", z.ZodTypeAny, {
327
+ value: string;
328
+ name: string;
329
+ source?: string | undefined;
330
+ tag?: string | undefined;
331
+ locale?: string | undefined;
332
+ }, {
333
+ value: string;
334
+ name: string;
335
+ source?: string | undefined;
336
+ tag?: string | undefined;
337
+ locale?: string | undefined;
338
+ }>, "many">>;
339
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
340
+ name: z.ZodString;
341
+ }, "strip", z.ZodTypeAny, {
342
+ name: string;
343
+ }, {
344
+ name: string;
345
+ }>, "many">>;
346
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
347
+ name: z.ZodString;
348
+ association: z.ZodOptional<z.ZodString>;
349
+ }, "strip", z.ZodTypeAny, {
350
+ name: string;
351
+ association?: string | undefined;
352
+ }, {
353
+ name: string;
354
+ association?: string | undefined;
355
+ }>, "many">>;
356
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
357
+ date: z.ZodOptional<z.ZodString>;
358
+ snippet: z.ZodOptional<z.ZodString>;
359
+ title: z.ZodOptional<z.ZodString>;
360
+ url: z.ZodString;
361
+ pdf_url: z.ZodOptional<z.ZodString>;
362
+ }, "strip", z.ZodTypeAny, {
363
+ url: string;
364
+ date?: string | undefined;
365
+ title?: string | undefined;
366
+ snippet?: string | undefined;
367
+ pdf_url?: string | undefined;
368
+ }, {
369
+ url: string;
370
+ date?: string | undefined;
371
+ title?: string | undefined;
372
+ snippet?: string | undefined;
373
+ pdf_url?: string | undefined;
374
+ }>, "many">>;
375
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
376
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
377
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
378
+ listing_started_utc: z.ZodOptional<z.ZodString>;
379
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
380
+ name: z.ZodOptional<z.ZodString>;
381
+ source_id: z.ZodOptional<z.ZodString>;
382
+ url: z.ZodOptional<z.ZodString>;
383
+ }, "strip", z.ZodTypeAny, {
384
+ name?: string | undefined;
385
+ url?: string | undefined;
386
+ country_codes?: string[] | undefined;
387
+ aml_types?: string[] | undefined;
388
+ listing_started_utc?: string | undefined;
389
+ listing_ended_utc?: string | undefined;
390
+ source_id?: string | undefined;
391
+ }, {
392
+ name?: string | undefined;
393
+ url?: string | undefined;
394
+ country_codes?: string[] | undefined;
395
+ aml_types?: string[] | undefined;
396
+ listing_started_utc?: string | undefined;
397
+ listing_ended_utc?: string | undefined;
398
+ source_id?: string | undefined;
399
+ }>>>;
400
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
401
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
402
+ public_url: z.ZodOptional<z.ZodString>;
403
+ source: z.ZodOptional<z.ZodString>;
404
+ type: z.ZodOptional<z.ZodString>;
405
+ url: z.ZodString;
406
+ }, "strip", z.ZodTypeAny, {
407
+ url: string;
408
+ type?: string | undefined;
409
+ public_url?: string | undefined;
410
+ source?: string | undefined;
411
+ }, {
412
+ url: string;
413
+ type?: string | undefined;
414
+ public_url?: string | undefined;
415
+ source?: string | undefined;
416
+ }>, "many">>;
417
+ }, z.ZodTypeAny, "passthrough">>;
418
+ export type Entity = z.infer<typeof EntitySchema>;
419
+ /**
420
+ * Hit model - individual search result entity with metadata
421
+ * @see https://docs.complyadvantage.com/api-docs/#creating-searches
422
+ */
423
+ export declare const HitSchema: z.ZodObject<{
424
+ doc: z.ZodObject<{
425
+ id: z.ZodString;
426
+ entity_type: z.ZodOptional<z.ZodString>;
427
+ last_updated_utc: z.ZodOptional<z.ZodString>;
428
+ name: z.ZodString;
429
+ first_name: z.ZodOptional<z.ZodString>;
430
+ middle_name: z.ZodOptional<z.ZodString>;
431
+ last_name: z.ZodOptional<z.ZodString>;
432
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
433
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
434
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
+ name: z.ZodString;
436
+ tag: z.ZodOptional<z.ZodString>;
437
+ value: z.ZodString;
438
+ source: z.ZodOptional<z.ZodString>;
439
+ locale: z.ZodOptional<z.ZodString>;
440
+ }, "strip", z.ZodTypeAny, {
441
+ value: string;
442
+ name: string;
443
+ source?: string | undefined;
444
+ tag?: string | undefined;
445
+ locale?: string | undefined;
446
+ }, {
447
+ value: string;
448
+ name: string;
449
+ source?: string | undefined;
450
+ tag?: string | undefined;
451
+ locale?: string | undefined;
452
+ }>, "many">>;
453
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
454
+ name: z.ZodString;
455
+ }, "strip", z.ZodTypeAny, {
456
+ name: string;
457
+ }, {
458
+ name: string;
459
+ }>, "many">>;
460
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
461
+ name: z.ZodString;
462
+ association: z.ZodOptional<z.ZodString>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ name: string;
465
+ association?: string | undefined;
466
+ }, {
467
+ name: string;
468
+ association?: string | undefined;
469
+ }>, "many">>;
470
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
471
+ date: z.ZodOptional<z.ZodString>;
472
+ snippet: z.ZodOptional<z.ZodString>;
473
+ title: z.ZodOptional<z.ZodString>;
474
+ url: z.ZodString;
475
+ pdf_url: z.ZodOptional<z.ZodString>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ url: string;
478
+ date?: string | undefined;
479
+ title?: string | undefined;
480
+ snippet?: string | undefined;
481
+ pdf_url?: string | undefined;
482
+ }, {
483
+ url: string;
484
+ date?: string | undefined;
485
+ title?: string | undefined;
486
+ snippet?: string | undefined;
487
+ pdf_url?: string | undefined;
488
+ }>, "many">>;
489
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
490
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
491
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
492
+ listing_started_utc: z.ZodOptional<z.ZodString>;
493
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
494
+ name: z.ZodOptional<z.ZodString>;
495
+ source_id: z.ZodOptional<z.ZodString>;
496
+ url: z.ZodOptional<z.ZodString>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ name?: string | undefined;
499
+ url?: string | undefined;
500
+ country_codes?: string[] | undefined;
501
+ aml_types?: string[] | undefined;
502
+ listing_started_utc?: string | undefined;
503
+ listing_ended_utc?: string | undefined;
504
+ source_id?: string | undefined;
505
+ }, {
506
+ name?: string | undefined;
507
+ url?: string | undefined;
508
+ country_codes?: string[] | undefined;
509
+ aml_types?: string[] | undefined;
510
+ listing_started_utc?: string | undefined;
511
+ listing_ended_utc?: string | undefined;
512
+ source_id?: string | undefined;
513
+ }>>>;
514
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
515
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
516
+ public_url: z.ZodOptional<z.ZodString>;
517
+ source: z.ZodOptional<z.ZodString>;
518
+ type: z.ZodOptional<z.ZodString>;
519
+ url: z.ZodString;
520
+ }, "strip", z.ZodTypeAny, {
521
+ url: string;
522
+ type?: string | undefined;
523
+ public_url?: string | undefined;
524
+ source?: string | undefined;
525
+ }, {
526
+ url: string;
527
+ type?: string | undefined;
528
+ public_url?: string | undefined;
529
+ source?: string | undefined;
530
+ }>, "many">>;
531
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
532
+ id: z.ZodString;
533
+ entity_type: z.ZodOptional<z.ZodString>;
534
+ last_updated_utc: z.ZodOptional<z.ZodString>;
535
+ name: z.ZodString;
536
+ first_name: z.ZodOptional<z.ZodString>;
537
+ middle_name: z.ZodOptional<z.ZodString>;
538
+ last_name: z.ZodOptional<z.ZodString>;
539
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
540
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
541
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
542
+ name: z.ZodString;
543
+ tag: z.ZodOptional<z.ZodString>;
544
+ value: z.ZodString;
545
+ source: z.ZodOptional<z.ZodString>;
546
+ locale: z.ZodOptional<z.ZodString>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ value: string;
549
+ name: string;
550
+ source?: string | undefined;
551
+ tag?: string | undefined;
552
+ locale?: string | undefined;
553
+ }, {
554
+ value: string;
555
+ name: string;
556
+ source?: string | undefined;
557
+ tag?: string | undefined;
558
+ locale?: string | undefined;
559
+ }>, "many">>;
560
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
561
+ name: z.ZodString;
562
+ }, "strip", z.ZodTypeAny, {
563
+ name: string;
564
+ }, {
565
+ name: string;
566
+ }>, "many">>;
567
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
568
+ name: z.ZodString;
569
+ association: z.ZodOptional<z.ZodString>;
570
+ }, "strip", z.ZodTypeAny, {
571
+ name: string;
572
+ association?: string | undefined;
573
+ }, {
574
+ name: string;
575
+ association?: string | undefined;
576
+ }>, "many">>;
577
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
578
+ date: z.ZodOptional<z.ZodString>;
579
+ snippet: z.ZodOptional<z.ZodString>;
580
+ title: z.ZodOptional<z.ZodString>;
581
+ url: z.ZodString;
582
+ pdf_url: z.ZodOptional<z.ZodString>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ url: string;
585
+ date?: string | undefined;
586
+ title?: string | undefined;
587
+ snippet?: string | undefined;
588
+ pdf_url?: string | undefined;
589
+ }, {
590
+ url: string;
591
+ date?: string | undefined;
592
+ title?: string | undefined;
593
+ snippet?: string | undefined;
594
+ pdf_url?: string | undefined;
595
+ }>, "many">>;
596
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
597
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
598
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
599
+ listing_started_utc: z.ZodOptional<z.ZodString>;
600
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
601
+ name: z.ZodOptional<z.ZodString>;
602
+ source_id: z.ZodOptional<z.ZodString>;
603
+ url: z.ZodOptional<z.ZodString>;
604
+ }, "strip", z.ZodTypeAny, {
605
+ name?: string | undefined;
606
+ url?: string | undefined;
607
+ country_codes?: string[] | undefined;
608
+ aml_types?: string[] | undefined;
609
+ listing_started_utc?: string | undefined;
610
+ listing_ended_utc?: string | undefined;
611
+ source_id?: string | undefined;
612
+ }, {
613
+ name?: string | undefined;
614
+ url?: string | undefined;
615
+ country_codes?: string[] | undefined;
616
+ aml_types?: string[] | undefined;
617
+ listing_started_utc?: string | undefined;
618
+ listing_ended_utc?: string | undefined;
619
+ source_id?: string | undefined;
620
+ }>>>;
621
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
622
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
623
+ public_url: z.ZodOptional<z.ZodString>;
624
+ source: z.ZodOptional<z.ZodString>;
625
+ type: z.ZodOptional<z.ZodString>;
626
+ url: z.ZodString;
627
+ }, "strip", z.ZodTypeAny, {
628
+ url: string;
629
+ type?: string | undefined;
630
+ public_url?: string | undefined;
631
+ source?: string | undefined;
632
+ }, {
633
+ url: string;
634
+ type?: string | undefined;
635
+ public_url?: string | undefined;
636
+ source?: string | undefined;
637
+ }>, "many">>;
638
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
639
+ id: z.ZodString;
640
+ entity_type: z.ZodOptional<z.ZodString>;
641
+ last_updated_utc: z.ZodOptional<z.ZodString>;
642
+ name: z.ZodString;
643
+ first_name: z.ZodOptional<z.ZodString>;
644
+ middle_name: z.ZodOptional<z.ZodString>;
645
+ last_name: z.ZodOptional<z.ZodString>;
646
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
647
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
648
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
649
+ name: z.ZodString;
650
+ tag: z.ZodOptional<z.ZodString>;
651
+ value: z.ZodString;
652
+ source: z.ZodOptional<z.ZodString>;
653
+ locale: z.ZodOptional<z.ZodString>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ value: string;
656
+ name: string;
657
+ source?: string | undefined;
658
+ tag?: string | undefined;
659
+ locale?: string | undefined;
660
+ }, {
661
+ value: string;
662
+ name: string;
663
+ source?: string | undefined;
664
+ tag?: string | undefined;
665
+ locale?: string | undefined;
666
+ }>, "many">>;
667
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
668
+ name: z.ZodString;
669
+ }, "strip", z.ZodTypeAny, {
670
+ name: string;
671
+ }, {
672
+ name: string;
673
+ }>, "many">>;
674
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
675
+ name: z.ZodString;
676
+ association: z.ZodOptional<z.ZodString>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ name: string;
679
+ association?: string | undefined;
680
+ }, {
681
+ name: string;
682
+ association?: string | undefined;
683
+ }>, "many">>;
684
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
685
+ date: z.ZodOptional<z.ZodString>;
686
+ snippet: z.ZodOptional<z.ZodString>;
687
+ title: z.ZodOptional<z.ZodString>;
688
+ url: z.ZodString;
689
+ pdf_url: z.ZodOptional<z.ZodString>;
690
+ }, "strip", z.ZodTypeAny, {
691
+ url: string;
692
+ date?: string | undefined;
693
+ title?: string | undefined;
694
+ snippet?: string | undefined;
695
+ pdf_url?: string | undefined;
696
+ }, {
697
+ url: string;
698
+ date?: string | undefined;
699
+ title?: string | undefined;
700
+ snippet?: string | undefined;
701
+ pdf_url?: string | undefined;
702
+ }>, "many">>;
703
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
704
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
705
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
+ listing_started_utc: z.ZodOptional<z.ZodString>;
707
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
708
+ name: z.ZodOptional<z.ZodString>;
709
+ source_id: z.ZodOptional<z.ZodString>;
710
+ url: z.ZodOptional<z.ZodString>;
711
+ }, "strip", z.ZodTypeAny, {
712
+ name?: string | undefined;
713
+ url?: string | undefined;
714
+ country_codes?: string[] | undefined;
715
+ aml_types?: string[] | undefined;
716
+ listing_started_utc?: string | undefined;
717
+ listing_ended_utc?: string | undefined;
718
+ source_id?: string | undefined;
719
+ }, {
720
+ name?: string | undefined;
721
+ url?: string | undefined;
722
+ country_codes?: string[] | undefined;
723
+ aml_types?: string[] | undefined;
724
+ listing_started_utc?: string | undefined;
725
+ listing_ended_utc?: string | undefined;
726
+ source_id?: string | undefined;
727
+ }>>>;
728
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
729
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
730
+ public_url: z.ZodOptional<z.ZodString>;
731
+ source: z.ZodOptional<z.ZodString>;
732
+ type: z.ZodOptional<z.ZodString>;
733
+ url: z.ZodString;
734
+ }, "strip", z.ZodTypeAny, {
735
+ url: string;
736
+ type?: string | undefined;
737
+ public_url?: string | undefined;
738
+ source?: string | undefined;
739
+ }, {
740
+ url: string;
741
+ type?: string | undefined;
742
+ public_url?: string | undefined;
743
+ source?: string | undefined;
744
+ }>, "many">>;
745
+ }, z.ZodTypeAny, "passthrough">>;
746
+ is_whitelisted: z.ZodOptional<z.ZodBoolean>;
747
+ match_types: z.ZodArray<z.ZodString, "many">;
748
+ match_types_details: z.ZodOptional<z.ZodAny>;
749
+ score: z.ZodNumber;
750
+ match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
751
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ doc: {
754
+ id: string;
755
+ name: string;
756
+ media?: {
757
+ url: string;
758
+ date?: string | undefined;
759
+ title?: string | undefined;
760
+ snippet?: string | undefined;
761
+ pdf_url?: string | undefined;
762
+ }[] | undefined;
763
+ assets?: {
764
+ url: string;
765
+ type?: string | undefined;
766
+ public_url?: string | undefined;
767
+ source?: string | undefined;
768
+ }[] | undefined;
769
+ fields?: {
770
+ value: string;
771
+ name: string;
772
+ source?: string | undefined;
773
+ tag?: string | undefined;
774
+ locale?: string | undefined;
775
+ }[] | undefined;
776
+ keywords?: string[] | undefined;
777
+ first_name?: string | undefined;
778
+ last_name?: string | undefined;
779
+ types?: string[] | undefined;
780
+ entity_type?: string | undefined;
781
+ last_updated_utc?: string | undefined;
782
+ middle_name?: string | undefined;
783
+ sources?: string[] | undefined;
784
+ aka?: {
785
+ name: string;
786
+ }[] | undefined;
787
+ associates?: {
788
+ name: string;
789
+ association?: string | undefined;
790
+ }[] | undefined;
791
+ source_notes?: Record<string, {
792
+ name?: string | undefined;
793
+ url?: string | undefined;
794
+ country_codes?: string[] | undefined;
795
+ aml_types?: string[] | undefined;
796
+ listing_started_utc?: string | undefined;
797
+ listing_ended_utc?: string | undefined;
798
+ source_id?: string | undefined;
799
+ }> | undefined;
800
+ } & {
801
+ [k: string]: unknown;
802
+ };
803
+ match_types: string[];
804
+ score: number;
805
+ match_status?: ComplyAdvantageStatus | undefined;
806
+ is_whitelisted?: boolean | undefined;
807
+ match_types_details?: any;
808
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
809
+ }, {
810
+ doc: {
811
+ id: string;
812
+ name: string;
813
+ media?: {
814
+ url: string;
815
+ date?: string | undefined;
816
+ title?: string | undefined;
817
+ snippet?: string | undefined;
818
+ pdf_url?: string | undefined;
819
+ }[] | undefined;
820
+ assets?: {
821
+ url: string;
822
+ type?: string | undefined;
823
+ public_url?: string | undefined;
824
+ source?: string | undefined;
825
+ }[] | undefined;
826
+ fields?: {
827
+ value: string;
828
+ name: string;
829
+ source?: string | undefined;
830
+ tag?: string | undefined;
831
+ locale?: string | undefined;
832
+ }[] | undefined;
833
+ keywords?: string[] | undefined;
834
+ first_name?: string | undefined;
835
+ last_name?: string | undefined;
836
+ types?: string[] | undefined;
837
+ entity_type?: string | undefined;
838
+ last_updated_utc?: string | undefined;
839
+ middle_name?: string | undefined;
840
+ sources?: string[] | undefined;
841
+ aka?: {
842
+ name: string;
843
+ }[] | undefined;
844
+ associates?: {
845
+ name: string;
846
+ association?: string | undefined;
847
+ }[] | undefined;
848
+ source_notes?: Record<string, {
849
+ name?: string | undefined;
850
+ url?: string | undefined;
851
+ country_codes?: string[] | undefined;
852
+ aml_types?: string[] | undefined;
853
+ listing_started_utc?: string | undefined;
854
+ listing_ended_utc?: string | undefined;
855
+ source_id?: string | undefined;
856
+ }> | undefined;
857
+ } & {
858
+ [k: string]: unknown;
859
+ };
860
+ match_types: string[];
861
+ score: number;
862
+ match_status?: ComplyAdvantageStatus | undefined;
863
+ is_whitelisted?: boolean | undefined;
864
+ match_types_details?: any;
865
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
866
+ }>;
867
+ export type Hit = z.infer<typeof HitSchema>;
868
+ /**
869
+ * Search profile information
870
+ * @see https://docs.complyadvantage.com/api-docs/#creating-searches
871
+ */
872
+ export declare const SearchProfileSchema: z.ZodObject<{
873
+ name: z.ZodString;
874
+ slug: z.ZodString;
875
+ }, "strip", z.ZodTypeAny, {
876
+ name: string;
877
+ slug: string;
878
+ }, {
879
+ name: string;
880
+ slug: string;
881
+ }>;
882
+ export type SearchProfile = z.infer<typeof SearchProfileSchema>;
883
+ /**
884
+ * User information
885
+ * @see https://docs.complyadvantage.com/api-docs/#other-endpoints
886
+ */
887
+ export declare const UserSchema: z.ZodObject<{
888
+ id: z.ZodNumber;
889
+ email: z.ZodString;
890
+ name: z.ZodString;
891
+ phone: z.ZodNullable<z.ZodString>;
892
+ created_at: z.ZodString;
893
+ user_is_active: z.ZodOptional<z.ZodBoolean>;
894
+ }, "strip", z.ZodTypeAny, {
895
+ id: number;
896
+ email: string;
897
+ name: string;
898
+ created_at: string;
899
+ phone: string | null;
900
+ user_is_active?: boolean | undefined;
901
+ }, {
902
+ id: number;
903
+ email: string;
904
+ name: string;
905
+ created_at: string;
906
+ phone: string | null;
907
+ user_is_active?: boolean | undefined;
908
+ }>;
909
+ export type User = z.infer<typeof UserSchema>;
910
+ /**
911
+ * POST /searches response - Create search response
912
+ * @see https://docs.complyadvantage.com/api-docs/#creating-searches
913
+ */
914
+ export declare const CreateSearchResponseSchema: z.ZodObject<{
915
+ status: z.ZodEnum<["success", "failure"]>;
916
+ code: z.ZodOptional<z.ZodNumber>;
917
+ content: z.ZodObject<{
918
+ data: z.ZodObject<{
919
+ id: z.ZodNumber;
920
+ ref: z.ZodString;
921
+ searcher_id: z.ZodNumber;
922
+ assignee_id: z.ZodNumber;
923
+ search_profile: z.ZodOptional<z.ZodObject<{
924
+ name: z.ZodString;
925
+ slug: z.ZodString;
926
+ }, "strip", z.ZodTypeAny, {
927
+ name: string;
928
+ slug: string;
929
+ }, {
930
+ name: string;
931
+ slug: string;
932
+ }>>;
933
+ filters: z.ZodOptional<z.ZodObject<{
934
+ entity_type: z.ZodOptional<z.ZodString>;
935
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
936
+ birth_year: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
937
+ passport: z.ZodOptional<z.ZodString>;
938
+ exact_match: z.ZodOptional<z.ZodBoolean>;
939
+ fuzziness: z.ZodOptional<z.ZodNumber>;
940
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
941
+ remove_deceased: z.ZodOptional<z.ZodNumber>;
942
+ }, "strip", z.ZodTypeAny, {
943
+ fuzziness?: number | undefined;
944
+ types?: string[] | undefined;
945
+ birth_year?: string | number | undefined;
946
+ remove_deceased?: number | undefined;
947
+ country_codes?: string[] | undefined;
948
+ entity_type?: string | undefined;
949
+ exact_match?: boolean | undefined;
950
+ passport?: string | undefined;
951
+ }, {
952
+ fuzziness?: number | undefined;
953
+ types?: string[] | undefined;
954
+ birth_year?: string | number | undefined;
955
+ remove_deceased?: number | undefined;
956
+ country_codes?: string[] | undefined;
957
+ entity_type?: string | undefined;
958
+ exact_match?: boolean | undefined;
959
+ passport?: string | undefined;
960
+ }>>;
961
+ match_status: z.ZodNativeEnum<typeof ComplyAdvantageStatus>;
962
+ risk_level: z.ZodEnum<["low", "medium", "high", "unknown"]>;
963
+ search_term: z.ZodString;
964
+ submitted_term: z.ZodOptional<z.ZodString>;
965
+ client_ref: z.ZodOptional<z.ZodString>;
966
+ total_hits: z.ZodNumber;
967
+ total_matches: z.ZodNumber;
968
+ updated_at: z.ZodString;
969
+ created_at: z.ZodString;
970
+ tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
971
+ labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
972
+ type: z.ZodString;
973
+ name: z.ZodString;
974
+ value: z.ZodString;
975
+ }, "strip", z.ZodTypeAny, {
976
+ value: string;
977
+ type: string;
978
+ name: string;
979
+ }, {
980
+ value: string;
981
+ type: string;
982
+ name: string;
983
+ }>, "many">>;
984
+ blacklist_filters: z.ZodOptional<z.ZodObject<{
985
+ blacklist_ids: z.ZodArray<z.ZodString, "many">;
986
+ }, "strip", z.ZodTypeAny, {
987
+ blacklist_ids: string[];
988
+ }, {
989
+ blacklist_ids: string[];
990
+ }>>;
991
+ total_blacklist_hits: z.ZodOptional<z.ZodNumber>;
992
+ limit: z.ZodOptional<z.ZodNumber>;
993
+ offset: z.ZodOptional<z.ZodNumber>;
994
+ share_url: z.ZodOptional<z.ZodString>;
995
+ searcher: z.ZodOptional<z.ZodObject<{
996
+ id: z.ZodNumber;
997
+ email: z.ZodString;
998
+ name: z.ZodString;
999
+ phone: z.ZodNullable<z.ZodString>;
1000
+ created_at: z.ZodString;
1001
+ user_is_active: z.ZodOptional<z.ZodBoolean>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ id: number;
1004
+ email: string;
1005
+ name: string;
1006
+ created_at: string;
1007
+ phone: string | null;
1008
+ user_is_active?: boolean | undefined;
1009
+ }, {
1010
+ id: number;
1011
+ email: string;
1012
+ name: string;
1013
+ created_at: string;
1014
+ phone: string | null;
1015
+ user_is_active?: boolean | undefined;
1016
+ }>>;
1017
+ assignee: z.ZodOptional<z.ZodObject<{
1018
+ id: z.ZodNumber;
1019
+ email: z.ZodString;
1020
+ name: z.ZodString;
1021
+ phone: z.ZodNullable<z.ZodString>;
1022
+ created_at: z.ZodString;
1023
+ user_is_active: z.ZodOptional<z.ZodBoolean>;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ id: number;
1026
+ email: string;
1027
+ name: string;
1028
+ created_at: string;
1029
+ phone: string | null;
1030
+ user_is_active?: boolean | undefined;
1031
+ }, {
1032
+ id: number;
1033
+ email: string;
1034
+ name: string;
1035
+ created_at: string;
1036
+ phone: string | null;
1037
+ user_is_active?: boolean | undefined;
1038
+ }>>;
1039
+ hits: z.ZodOptional<z.ZodArray<z.ZodObject<{
1040
+ doc: z.ZodObject<{
1041
+ id: z.ZodString;
1042
+ entity_type: z.ZodOptional<z.ZodString>;
1043
+ last_updated_utc: z.ZodOptional<z.ZodString>;
1044
+ name: z.ZodString;
1045
+ first_name: z.ZodOptional<z.ZodString>;
1046
+ middle_name: z.ZodOptional<z.ZodString>;
1047
+ last_name: z.ZodOptional<z.ZodString>;
1048
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1049
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1050
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1051
+ name: z.ZodString;
1052
+ tag: z.ZodOptional<z.ZodString>;
1053
+ value: z.ZodString;
1054
+ source: z.ZodOptional<z.ZodString>;
1055
+ locale: z.ZodOptional<z.ZodString>;
1056
+ }, "strip", z.ZodTypeAny, {
1057
+ value: string;
1058
+ name: string;
1059
+ source?: string | undefined;
1060
+ tag?: string | undefined;
1061
+ locale?: string | undefined;
1062
+ }, {
1063
+ value: string;
1064
+ name: string;
1065
+ source?: string | undefined;
1066
+ tag?: string | undefined;
1067
+ locale?: string | undefined;
1068
+ }>, "many">>;
1069
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
1070
+ name: z.ZodString;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ name: string;
1073
+ }, {
1074
+ name: string;
1075
+ }>, "many">>;
1076
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1077
+ name: z.ZodString;
1078
+ association: z.ZodOptional<z.ZodString>;
1079
+ }, "strip", z.ZodTypeAny, {
1080
+ name: string;
1081
+ association?: string | undefined;
1082
+ }, {
1083
+ name: string;
1084
+ association?: string | undefined;
1085
+ }>, "many">>;
1086
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1087
+ date: z.ZodOptional<z.ZodString>;
1088
+ snippet: z.ZodOptional<z.ZodString>;
1089
+ title: z.ZodOptional<z.ZodString>;
1090
+ url: z.ZodString;
1091
+ pdf_url: z.ZodOptional<z.ZodString>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ url: string;
1094
+ date?: string | undefined;
1095
+ title?: string | undefined;
1096
+ snippet?: string | undefined;
1097
+ pdf_url?: string | undefined;
1098
+ }, {
1099
+ url: string;
1100
+ date?: string | undefined;
1101
+ title?: string | undefined;
1102
+ snippet?: string | undefined;
1103
+ pdf_url?: string | undefined;
1104
+ }>, "many">>;
1105
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1106
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1107
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1108
+ listing_started_utc: z.ZodOptional<z.ZodString>;
1109
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
1110
+ name: z.ZodOptional<z.ZodString>;
1111
+ source_id: z.ZodOptional<z.ZodString>;
1112
+ url: z.ZodOptional<z.ZodString>;
1113
+ }, "strip", z.ZodTypeAny, {
1114
+ name?: string | undefined;
1115
+ url?: string | undefined;
1116
+ country_codes?: string[] | undefined;
1117
+ aml_types?: string[] | undefined;
1118
+ listing_started_utc?: string | undefined;
1119
+ listing_ended_utc?: string | undefined;
1120
+ source_id?: string | undefined;
1121
+ }, {
1122
+ name?: string | undefined;
1123
+ url?: string | undefined;
1124
+ country_codes?: string[] | undefined;
1125
+ aml_types?: string[] | undefined;
1126
+ listing_started_utc?: string | undefined;
1127
+ listing_ended_utc?: string | undefined;
1128
+ source_id?: string | undefined;
1129
+ }>>>;
1130
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1131
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1132
+ public_url: z.ZodOptional<z.ZodString>;
1133
+ source: z.ZodOptional<z.ZodString>;
1134
+ type: z.ZodOptional<z.ZodString>;
1135
+ url: z.ZodString;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ url: string;
1138
+ type?: string | undefined;
1139
+ public_url?: string | undefined;
1140
+ source?: string | undefined;
1141
+ }, {
1142
+ url: string;
1143
+ type?: string | undefined;
1144
+ public_url?: string | undefined;
1145
+ source?: string | undefined;
1146
+ }>, "many">>;
1147
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1148
+ id: z.ZodString;
1149
+ entity_type: z.ZodOptional<z.ZodString>;
1150
+ last_updated_utc: z.ZodOptional<z.ZodString>;
1151
+ name: z.ZodString;
1152
+ first_name: z.ZodOptional<z.ZodString>;
1153
+ middle_name: z.ZodOptional<z.ZodString>;
1154
+ last_name: z.ZodOptional<z.ZodString>;
1155
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1156
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1157
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1158
+ name: z.ZodString;
1159
+ tag: z.ZodOptional<z.ZodString>;
1160
+ value: z.ZodString;
1161
+ source: z.ZodOptional<z.ZodString>;
1162
+ locale: z.ZodOptional<z.ZodString>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ value: string;
1165
+ name: string;
1166
+ source?: string | undefined;
1167
+ tag?: string | undefined;
1168
+ locale?: string | undefined;
1169
+ }, {
1170
+ value: string;
1171
+ name: string;
1172
+ source?: string | undefined;
1173
+ tag?: string | undefined;
1174
+ locale?: string | undefined;
1175
+ }>, "many">>;
1176
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
1177
+ name: z.ZodString;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ name: string;
1180
+ }, {
1181
+ name: string;
1182
+ }>, "many">>;
1183
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1184
+ name: z.ZodString;
1185
+ association: z.ZodOptional<z.ZodString>;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ name: string;
1188
+ association?: string | undefined;
1189
+ }, {
1190
+ name: string;
1191
+ association?: string | undefined;
1192
+ }>, "many">>;
1193
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1194
+ date: z.ZodOptional<z.ZodString>;
1195
+ snippet: z.ZodOptional<z.ZodString>;
1196
+ title: z.ZodOptional<z.ZodString>;
1197
+ url: z.ZodString;
1198
+ pdf_url: z.ZodOptional<z.ZodString>;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ url: string;
1201
+ date?: string | undefined;
1202
+ title?: string | undefined;
1203
+ snippet?: string | undefined;
1204
+ pdf_url?: string | undefined;
1205
+ }, {
1206
+ url: string;
1207
+ date?: string | undefined;
1208
+ title?: string | undefined;
1209
+ snippet?: string | undefined;
1210
+ pdf_url?: string | undefined;
1211
+ }>, "many">>;
1212
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1213
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1214
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1215
+ listing_started_utc: z.ZodOptional<z.ZodString>;
1216
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
1217
+ name: z.ZodOptional<z.ZodString>;
1218
+ source_id: z.ZodOptional<z.ZodString>;
1219
+ url: z.ZodOptional<z.ZodString>;
1220
+ }, "strip", z.ZodTypeAny, {
1221
+ name?: string | undefined;
1222
+ url?: string | undefined;
1223
+ country_codes?: string[] | undefined;
1224
+ aml_types?: string[] | undefined;
1225
+ listing_started_utc?: string | undefined;
1226
+ listing_ended_utc?: string | undefined;
1227
+ source_id?: string | undefined;
1228
+ }, {
1229
+ name?: string | undefined;
1230
+ url?: string | undefined;
1231
+ country_codes?: string[] | undefined;
1232
+ aml_types?: string[] | undefined;
1233
+ listing_started_utc?: string | undefined;
1234
+ listing_ended_utc?: string | undefined;
1235
+ source_id?: string | undefined;
1236
+ }>>>;
1237
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1238
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1239
+ public_url: z.ZodOptional<z.ZodString>;
1240
+ source: z.ZodOptional<z.ZodString>;
1241
+ type: z.ZodOptional<z.ZodString>;
1242
+ url: z.ZodString;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ url: string;
1245
+ type?: string | undefined;
1246
+ public_url?: string | undefined;
1247
+ source?: string | undefined;
1248
+ }, {
1249
+ url: string;
1250
+ type?: string | undefined;
1251
+ public_url?: string | undefined;
1252
+ source?: string | undefined;
1253
+ }>, "many">>;
1254
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1255
+ id: z.ZodString;
1256
+ entity_type: z.ZodOptional<z.ZodString>;
1257
+ last_updated_utc: z.ZodOptional<z.ZodString>;
1258
+ name: z.ZodString;
1259
+ first_name: z.ZodOptional<z.ZodString>;
1260
+ middle_name: z.ZodOptional<z.ZodString>;
1261
+ last_name: z.ZodOptional<z.ZodString>;
1262
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1263
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1264
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ name: z.ZodString;
1266
+ tag: z.ZodOptional<z.ZodString>;
1267
+ value: z.ZodString;
1268
+ source: z.ZodOptional<z.ZodString>;
1269
+ locale: z.ZodOptional<z.ZodString>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ value: string;
1272
+ name: string;
1273
+ source?: string | undefined;
1274
+ tag?: string | undefined;
1275
+ locale?: string | undefined;
1276
+ }, {
1277
+ value: string;
1278
+ name: string;
1279
+ source?: string | undefined;
1280
+ tag?: string | undefined;
1281
+ locale?: string | undefined;
1282
+ }>, "many">>;
1283
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
1284
+ name: z.ZodString;
1285
+ }, "strip", z.ZodTypeAny, {
1286
+ name: string;
1287
+ }, {
1288
+ name: string;
1289
+ }>, "many">>;
1290
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1291
+ name: z.ZodString;
1292
+ association: z.ZodOptional<z.ZodString>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ name: string;
1295
+ association?: string | undefined;
1296
+ }, {
1297
+ name: string;
1298
+ association?: string | undefined;
1299
+ }>, "many">>;
1300
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
1301
+ date: z.ZodOptional<z.ZodString>;
1302
+ snippet: z.ZodOptional<z.ZodString>;
1303
+ title: z.ZodOptional<z.ZodString>;
1304
+ url: z.ZodString;
1305
+ pdf_url: z.ZodOptional<z.ZodString>;
1306
+ }, "strip", z.ZodTypeAny, {
1307
+ url: string;
1308
+ date?: string | undefined;
1309
+ title?: string | undefined;
1310
+ snippet?: string | undefined;
1311
+ pdf_url?: string | undefined;
1312
+ }, {
1313
+ url: string;
1314
+ date?: string | undefined;
1315
+ title?: string | undefined;
1316
+ snippet?: string | undefined;
1317
+ pdf_url?: string | undefined;
1318
+ }>, "many">>;
1319
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1320
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1321
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1322
+ listing_started_utc: z.ZodOptional<z.ZodString>;
1323
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
1324
+ name: z.ZodOptional<z.ZodString>;
1325
+ source_id: z.ZodOptional<z.ZodString>;
1326
+ url: z.ZodOptional<z.ZodString>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ name?: string | undefined;
1329
+ url?: string | undefined;
1330
+ country_codes?: string[] | undefined;
1331
+ aml_types?: string[] | undefined;
1332
+ listing_started_utc?: string | undefined;
1333
+ listing_ended_utc?: string | undefined;
1334
+ source_id?: string | undefined;
1335
+ }, {
1336
+ name?: string | undefined;
1337
+ url?: string | undefined;
1338
+ country_codes?: string[] | undefined;
1339
+ aml_types?: string[] | undefined;
1340
+ listing_started_utc?: string | undefined;
1341
+ listing_ended_utc?: string | undefined;
1342
+ source_id?: string | undefined;
1343
+ }>>>;
1344
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1345
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1346
+ public_url: z.ZodOptional<z.ZodString>;
1347
+ source: z.ZodOptional<z.ZodString>;
1348
+ type: z.ZodOptional<z.ZodString>;
1349
+ url: z.ZodString;
1350
+ }, "strip", z.ZodTypeAny, {
1351
+ url: string;
1352
+ type?: string | undefined;
1353
+ public_url?: string | undefined;
1354
+ source?: string | undefined;
1355
+ }, {
1356
+ url: string;
1357
+ type?: string | undefined;
1358
+ public_url?: string | undefined;
1359
+ source?: string | undefined;
1360
+ }>, "many">>;
1361
+ }, z.ZodTypeAny, "passthrough">>;
1362
+ is_whitelisted: z.ZodOptional<z.ZodBoolean>;
1363
+ match_types: z.ZodArray<z.ZodString, "many">;
1364
+ match_types_details: z.ZodOptional<z.ZodAny>;
1365
+ score: z.ZodNumber;
1366
+ match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
1367
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ doc: {
1370
+ id: string;
1371
+ name: string;
1372
+ media?: {
1373
+ url: string;
1374
+ date?: string | undefined;
1375
+ title?: string | undefined;
1376
+ snippet?: string | undefined;
1377
+ pdf_url?: string | undefined;
1378
+ }[] | undefined;
1379
+ assets?: {
1380
+ url: string;
1381
+ type?: string | undefined;
1382
+ public_url?: string | undefined;
1383
+ source?: string | undefined;
1384
+ }[] | undefined;
1385
+ fields?: {
1386
+ value: string;
1387
+ name: string;
1388
+ source?: string | undefined;
1389
+ tag?: string | undefined;
1390
+ locale?: string | undefined;
1391
+ }[] | undefined;
1392
+ keywords?: string[] | undefined;
1393
+ first_name?: string | undefined;
1394
+ last_name?: string | undefined;
1395
+ types?: string[] | undefined;
1396
+ entity_type?: string | undefined;
1397
+ last_updated_utc?: string | undefined;
1398
+ middle_name?: string | undefined;
1399
+ sources?: string[] | undefined;
1400
+ aka?: {
1401
+ name: string;
1402
+ }[] | undefined;
1403
+ associates?: {
1404
+ name: string;
1405
+ association?: string | undefined;
1406
+ }[] | undefined;
1407
+ source_notes?: Record<string, {
1408
+ name?: string | undefined;
1409
+ url?: string | undefined;
1410
+ country_codes?: string[] | undefined;
1411
+ aml_types?: string[] | undefined;
1412
+ listing_started_utc?: string | undefined;
1413
+ listing_ended_utc?: string | undefined;
1414
+ source_id?: string | undefined;
1415
+ }> | undefined;
1416
+ } & {
1417
+ [k: string]: unknown;
1418
+ };
1419
+ match_types: string[];
1420
+ score: number;
1421
+ match_status?: ComplyAdvantageStatus | undefined;
1422
+ is_whitelisted?: boolean | undefined;
1423
+ match_types_details?: any;
1424
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1425
+ }, {
1426
+ doc: {
1427
+ id: string;
1428
+ name: string;
1429
+ media?: {
1430
+ url: string;
1431
+ date?: string | undefined;
1432
+ title?: string | undefined;
1433
+ snippet?: string | undefined;
1434
+ pdf_url?: string | undefined;
1435
+ }[] | undefined;
1436
+ assets?: {
1437
+ url: string;
1438
+ type?: string | undefined;
1439
+ public_url?: string | undefined;
1440
+ source?: string | undefined;
1441
+ }[] | undefined;
1442
+ fields?: {
1443
+ value: string;
1444
+ name: string;
1445
+ source?: string | undefined;
1446
+ tag?: string | undefined;
1447
+ locale?: string | undefined;
1448
+ }[] | undefined;
1449
+ keywords?: string[] | undefined;
1450
+ first_name?: string | undefined;
1451
+ last_name?: string | undefined;
1452
+ types?: string[] | undefined;
1453
+ entity_type?: string | undefined;
1454
+ last_updated_utc?: string | undefined;
1455
+ middle_name?: string | undefined;
1456
+ sources?: string[] | undefined;
1457
+ aka?: {
1458
+ name: string;
1459
+ }[] | undefined;
1460
+ associates?: {
1461
+ name: string;
1462
+ association?: string | undefined;
1463
+ }[] | undefined;
1464
+ source_notes?: Record<string, {
1465
+ name?: string | undefined;
1466
+ url?: string | undefined;
1467
+ country_codes?: string[] | undefined;
1468
+ aml_types?: string[] | undefined;
1469
+ listing_started_utc?: string | undefined;
1470
+ listing_ended_utc?: string | undefined;
1471
+ source_id?: string | undefined;
1472
+ }> | undefined;
1473
+ } & {
1474
+ [k: string]: unknown;
1475
+ };
1476
+ match_types: string[];
1477
+ score: number;
1478
+ match_status?: ComplyAdvantageStatus | undefined;
1479
+ is_whitelisted?: boolean | undefined;
1480
+ match_types_details?: any;
1481
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1482
+ }>, "many">>;
1483
+ blacklist_hits: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1484
+ }, "strip", z.ZodTypeAny, {
1485
+ id: number;
1486
+ created_at: string;
1487
+ updated_at: string;
1488
+ match_status: ComplyAdvantageStatus;
1489
+ search_term: string;
1490
+ risk_level: "unknown" | "low" | "medium" | "high";
1491
+ ref: string;
1492
+ searcher_id: number;
1493
+ assignee_id: number;
1494
+ total_hits: number;
1495
+ total_matches: number;
1496
+ limit?: number | undefined;
1497
+ labels?: {
1498
+ value: string;
1499
+ type: string;
1500
+ name: string;
1501
+ }[] | undefined;
1502
+ tags?: Record<string, string> | undefined;
1503
+ offset?: number | undefined;
1504
+ assignee?: {
1505
+ id: number;
1506
+ email: string;
1507
+ name: string;
1508
+ created_at: string;
1509
+ phone: string | null;
1510
+ user_is_active?: boolean | undefined;
1511
+ } | undefined;
1512
+ client_ref?: string | undefined;
1513
+ search_profile?: {
1514
+ name: string;
1515
+ slug: string;
1516
+ } | undefined;
1517
+ filters?: {
1518
+ fuzziness?: number | undefined;
1519
+ types?: string[] | undefined;
1520
+ birth_year?: string | number | undefined;
1521
+ remove_deceased?: number | undefined;
1522
+ country_codes?: string[] | undefined;
1523
+ entity_type?: string | undefined;
1524
+ exact_match?: boolean | undefined;
1525
+ passport?: string | undefined;
1526
+ } | undefined;
1527
+ share_url?: string | undefined;
1528
+ submitted_term?: string | undefined;
1529
+ blacklist_filters?: {
1530
+ blacklist_ids: string[];
1531
+ } | undefined;
1532
+ total_blacklist_hits?: number | undefined;
1533
+ searcher?: {
1534
+ id: number;
1535
+ email: string;
1536
+ name: string;
1537
+ created_at: string;
1538
+ phone: string | null;
1539
+ user_is_active?: boolean | undefined;
1540
+ } | undefined;
1541
+ hits?: {
1542
+ doc: {
1543
+ id: string;
1544
+ name: string;
1545
+ media?: {
1546
+ url: string;
1547
+ date?: string | undefined;
1548
+ title?: string | undefined;
1549
+ snippet?: string | undefined;
1550
+ pdf_url?: string | undefined;
1551
+ }[] | undefined;
1552
+ assets?: {
1553
+ url: string;
1554
+ type?: string | undefined;
1555
+ public_url?: string | undefined;
1556
+ source?: string | undefined;
1557
+ }[] | undefined;
1558
+ fields?: {
1559
+ value: string;
1560
+ name: string;
1561
+ source?: string | undefined;
1562
+ tag?: string | undefined;
1563
+ locale?: string | undefined;
1564
+ }[] | undefined;
1565
+ keywords?: string[] | undefined;
1566
+ first_name?: string | undefined;
1567
+ last_name?: string | undefined;
1568
+ types?: string[] | undefined;
1569
+ entity_type?: string | undefined;
1570
+ last_updated_utc?: string | undefined;
1571
+ middle_name?: string | undefined;
1572
+ sources?: string[] | undefined;
1573
+ aka?: {
1574
+ name: string;
1575
+ }[] | undefined;
1576
+ associates?: {
1577
+ name: string;
1578
+ association?: string | undefined;
1579
+ }[] | undefined;
1580
+ source_notes?: Record<string, {
1581
+ name?: string | undefined;
1582
+ url?: string | undefined;
1583
+ country_codes?: string[] | undefined;
1584
+ aml_types?: string[] | undefined;
1585
+ listing_started_utc?: string | undefined;
1586
+ listing_ended_utc?: string | undefined;
1587
+ source_id?: string | undefined;
1588
+ }> | undefined;
1589
+ } & {
1590
+ [k: string]: unknown;
1591
+ };
1592
+ match_types: string[];
1593
+ score: number;
1594
+ match_status?: ComplyAdvantageStatus | undefined;
1595
+ is_whitelisted?: boolean | undefined;
1596
+ match_types_details?: any;
1597
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1598
+ }[] | undefined;
1599
+ blacklist_hits?: any[] | undefined;
1600
+ }, {
1601
+ id: number;
1602
+ created_at: string;
1603
+ updated_at: string;
1604
+ match_status: ComplyAdvantageStatus;
1605
+ search_term: string;
1606
+ risk_level: "unknown" | "low" | "medium" | "high";
1607
+ ref: string;
1608
+ searcher_id: number;
1609
+ assignee_id: number;
1610
+ total_hits: number;
1611
+ total_matches: number;
1612
+ limit?: number | undefined;
1613
+ labels?: {
1614
+ value: string;
1615
+ type: string;
1616
+ name: string;
1617
+ }[] | undefined;
1618
+ tags?: Record<string, string> | undefined;
1619
+ offset?: number | undefined;
1620
+ assignee?: {
1621
+ id: number;
1622
+ email: string;
1623
+ name: string;
1624
+ created_at: string;
1625
+ phone: string | null;
1626
+ user_is_active?: boolean | undefined;
1627
+ } | undefined;
1628
+ client_ref?: string | undefined;
1629
+ search_profile?: {
1630
+ name: string;
1631
+ slug: string;
1632
+ } | undefined;
1633
+ filters?: {
1634
+ fuzziness?: number | undefined;
1635
+ types?: string[] | undefined;
1636
+ birth_year?: string | number | undefined;
1637
+ remove_deceased?: number | undefined;
1638
+ country_codes?: string[] | undefined;
1639
+ entity_type?: string | undefined;
1640
+ exact_match?: boolean | undefined;
1641
+ passport?: string | undefined;
1642
+ } | undefined;
1643
+ share_url?: string | undefined;
1644
+ submitted_term?: string | undefined;
1645
+ blacklist_filters?: {
1646
+ blacklist_ids: string[];
1647
+ } | undefined;
1648
+ total_blacklist_hits?: number | undefined;
1649
+ searcher?: {
1650
+ id: number;
1651
+ email: string;
1652
+ name: string;
1653
+ created_at: string;
1654
+ phone: string | null;
1655
+ user_is_active?: boolean | undefined;
1656
+ } | undefined;
1657
+ hits?: {
1658
+ doc: {
1659
+ id: string;
1660
+ name: string;
1661
+ media?: {
1662
+ url: string;
1663
+ date?: string | undefined;
1664
+ title?: string | undefined;
1665
+ snippet?: string | undefined;
1666
+ pdf_url?: string | undefined;
1667
+ }[] | undefined;
1668
+ assets?: {
1669
+ url: string;
1670
+ type?: string | undefined;
1671
+ public_url?: string | undefined;
1672
+ source?: string | undefined;
1673
+ }[] | undefined;
1674
+ fields?: {
1675
+ value: string;
1676
+ name: string;
1677
+ source?: string | undefined;
1678
+ tag?: string | undefined;
1679
+ locale?: string | undefined;
1680
+ }[] | undefined;
1681
+ keywords?: string[] | undefined;
1682
+ first_name?: string | undefined;
1683
+ last_name?: string | undefined;
1684
+ types?: string[] | undefined;
1685
+ entity_type?: string | undefined;
1686
+ last_updated_utc?: string | undefined;
1687
+ middle_name?: string | undefined;
1688
+ sources?: string[] | undefined;
1689
+ aka?: {
1690
+ name: string;
1691
+ }[] | undefined;
1692
+ associates?: {
1693
+ name: string;
1694
+ association?: string | undefined;
1695
+ }[] | undefined;
1696
+ source_notes?: Record<string, {
1697
+ name?: string | undefined;
1698
+ url?: string | undefined;
1699
+ country_codes?: string[] | undefined;
1700
+ aml_types?: string[] | undefined;
1701
+ listing_started_utc?: string | undefined;
1702
+ listing_ended_utc?: string | undefined;
1703
+ source_id?: string | undefined;
1704
+ }> | undefined;
1705
+ } & {
1706
+ [k: string]: unknown;
1707
+ };
1708
+ match_types: string[];
1709
+ score: number;
1710
+ match_status?: ComplyAdvantageStatus | undefined;
1711
+ is_whitelisted?: boolean | undefined;
1712
+ match_types_details?: any;
1713
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1714
+ }[] | undefined;
1715
+ blacklist_hits?: any[] | undefined;
1716
+ }>;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ data: {
1719
+ id: number;
1720
+ created_at: string;
1721
+ updated_at: string;
1722
+ match_status: ComplyAdvantageStatus;
1723
+ search_term: string;
1724
+ risk_level: "unknown" | "low" | "medium" | "high";
1725
+ ref: string;
1726
+ searcher_id: number;
1727
+ assignee_id: number;
1728
+ total_hits: number;
1729
+ total_matches: number;
1730
+ limit?: number | undefined;
1731
+ labels?: {
1732
+ value: string;
1733
+ type: string;
1734
+ name: string;
1735
+ }[] | undefined;
1736
+ tags?: Record<string, string> | undefined;
1737
+ offset?: number | undefined;
1738
+ assignee?: {
1739
+ id: number;
1740
+ email: string;
1741
+ name: string;
1742
+ created_at: string;
1743
+ phone: string | null;
1744
+ user_is_active?: boolean | undefined;
1745
+ } | undefined;
1746
+ client_ref?: string | undefined;
1747
+ search_profile?: {
1748
+ name: string;
1749
+ slug: string;
1750
+ } | undefined;
1751
+ filters?: {
1752
+ fuzziness?: number | undefined;
1753
+ types?: string[] | undefined;
1754
+ birth_year?: string | number | undefined;
1755
+ remove_deceased?: number | undefined;
1756
+ country_codes?: string[] | undefined;
1757
+ entity_type?: string | undefined;
1758
+ exact_match?: boolean | undefined;
1759
+ passport?: string | undefined;
1760
+ } | undefined;
1761
+ share_url?: string | undefined;
1762
+ submitted_term?: string | undefined;
1763
+ blacklist_filters?: {
1764
+ blacklist_ids: string[];
1765
+ } | undefined;
1766
+ total_blacklist_hits?: number | undefined;
1767
+ searcher?: {
1768
+ id: number;
1769
+ email: string;
1770
+ name: string;
1771
+ created_at: string;
1772
+ phone: string | null;
1773
+ user_is_active?: boolean | undefined;
1774
+ } | undefined;
1775
+ hits?: {
1776
+ doc: {
1777
+ id: string;
1778
+ name: string;
1779
+ media?: {
1780
+ url: string;
1781
+ date?: string | undefined;
1782
+ title?: string | undefined;
1783
+ snippet?: string | undefined;
1784
+ pdf_url?: string | undefined;
1785
+ }[] | undefined;
1786
+ assets?: {
1787
+ url: string;
1788
+ type?: string | undefined;
1789
+ public_url?: string | undefined;
1790
+ source?: string | undefined;
1791
+ }[] | undefined;
1792
+ fields?: {
1793
+ value: string;
1794
+ name: string;
1795
+ source?: string | undefined;
1796
+ tag?: string | undefined;
1797
+ locale?: string | undefined;
1798
+ }[] | undefined;
1799
+ keywords?: string[] | undefined;
1800
+ first_name?: string | undefined;
1801
+ last_name?: string | undefined;
1802
+ types?: string[] | undefined;
1803
+ entity_type?: string | undefined;
1804
+ last_updated_utc?: string | undefined;
1805
+ middle_name?: string | undefined;
1806
+ sources?: string[] | undefined;
1807
+ aka?: {
1808
+ name: string;
1809
+ }[] | undefined;
1810
+ associates?: {
1811
+ name: string;
1812
+ association?: string | undefined;
1813
+ }[] | undefined;
1814
+ source_notes?: Record<string, {
1815
+ name?: string | undefined;
1816
+ url?: string | undefined;
1817
+ country_codes?: string[] | undefined;
1818
+ aml_types?: string[] | undefined;
1819
+ listing_started_utc?: string | undefined;
1820
+ listing_ended_utc?: string | undefined;
1821
+ source_id?: string | undefined;
1822
+ }> | undefined;
1823
+ } & {
1824
+ [k: string]: unknown;
1825
+ };
1826
+ match_types: string[];
1827
+ score: number;
1828
+ match_status?: ComplyAdvantageStatus | undefined;
1829
+ is_whitelisted?: boolean | undefined;
1830
+ match_types_details?: any;
1831
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1832
+ }[] | undefined;
1833
+ blacklist_hits?: any[] | undefined;
1834
+ };
1835
+ }, {
1836
+ data: {
1837
+ id: number;
1838
+ created_at: string;
1839
+ updated_at: string;
1840
+ match_status: ComplyAdvantageStatus;
1841
+ search_term: string;
1842
+ risk_level: "unknown" | "low" | "medium" | "high";
1843
+ ref: string;
1844
+ searcher_id: number;
1845
+ assignee_id: number;
1846
+ total_hits: number;
1847
+ total_matches: number;
1848
+ limit?: number | undefined;
1849
+ labels?: {
1850
+ value: string;
1851
+ type: string;
1852
+ name: string;
1853
+ }[] | undefined;
1854
+ tags?: Record<string, string> | undefined;
1855
+ offset?: number | undefined;
1856
+ assignee?: {
1857
+ id: number;
1858
+ email: string;
1859
+ name: string;
1860
+ created_at: string;
1861
+ phone: string | null;
1862
+ user_is_active?: boolean | undefined;
1863
+ } | undefined;
1864
+ client_ref?: string | undefined;
1865
+ search_profile?: {
1866
+ name: string;
1867
+ slug: string;
1868
+ } | undefined;
1869
+ filters?: {
1870
+ fuzziness?: number | undefined;
1871
+ types?: string[] | undefined;
1872
+ birth_year?: string | number | undefined;
1873
+ remove_deceased?: number | undefined;
1874
+ country_codes?: string[] | undefined;
1875
+ entity_type?: string | undefined;
1876
+ exact_match?: boolean | undefined;
1877
+ passport?: string | undefined;
1878
+ } | undefined;
1879
+ share_url?: string | undefined;
1880
+ submitted_term?: string | undefined;
1881
+ blacklist_filters?: {
1882
+ blacklist_ids: string[];
1883
+ } | undefined;
1884
+ total_blacklist_hits?: number | undefined;
1885
+ searcher?: {
1886
+ id: number;
1887
+ email: string;
1888
+ name: string;
1889
+ created_at: string;
1890
+ phone: string | null;
1891
+ user_is_active?: boolean | undefined;
1892
+ } | undefined;
1893
+ hits?: {
1894
+ doc: {
1895
+ id: string;
1896
+ name: string;
1897
+ media?: {
1898
+ url: string;
1899
+ date?: string | undefined;
1900
+ title?: string | undefined;
1901
+ snippet?: string | undefined;
1902
+ pdf_url?: string | undefined;
1903
+ }[] | undefined;
1904
+ assets?: {
1905
+ url: string;
1906
+ type?: string | undefined;
1907
+ public_url?: string | undefined;
1908
+ source?: string | undefined;
1909
+ }[] | undefined;
1910
+ fields?: {
1911
+ value: string;
1912
+ name: string;
1913
+ source?: string | undefined;
1914
+ tag?: string | undefined;
1915
+ locale?: string | undefined;
1916
+ }[] | undefined;
1917
+ keywords?: string[] | undefined;
1918
+ first_name?: string | undefined;
1919
+ last_name?: string | undefined;
1920
+ types?: string[] | undefined;
1921
+ entity_type?: string | undefined;
1922
+ last_updated_utc?: string | undefined;
1923
+ middle_name?: string | undefined;
1924
+ sources?: string[] | undefined;
1925
+ aka?: {
1926
+ name: string;
1927
+ }[] | undefined;
1928
+ associates?: {
1929
+ name: string;
1930
+ association?: string | undefined;
1931
+ }[] | undefined;
1932
+ source_notes?: Record<string, {
1933
+ name?: string | undefined;
1934
+ url?: string | undefined;
1935
+ country_codes?: string[] | undefined;
1936
+ aml_types?: string[] | undefined;
1937
+ listing_started_utc?: string | undefined;
1938
+ listing_ended_utc?: string | undefined;
1939
+ source_id?: string | undefined;
1940
+ }> | undefined;
1941
+ } & {
1942
+ [k: string]: unknown;
1943
+ };
1944
+ match_types: string[];
1945
+ score: number;
1946
+ match_status?: ComplyAdvantageStatus | undefined;
1947
+ is_whitelisted?: boolean | undefined;
1948
+ match_types_details?: any;
1949
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
1950
+ }[] | undefined;
1951
+ blacklist_hits?: any[] | undefined;
1952
+ };
1953
+ }>;
1954
+ message: z.ZodOptional<z.ZodString>;
1955
+ }, "strip", z.ZodTypeAny, {
1956
+ status: "success" | "failure";
1957
+ content: {
1958
+ data: {
1959
+ id: number;
1960
+ created_at: string;
1961
+ updated_at: string;
1962
+ match_status: ComplyAdvantageStatus;
1963
+ search_term: string;
1964
+ risk_level: "unknown" | "low" | "medium" | "high";
1965
+ ref: string;
1966
+ searcher_id: number;
1967
+ assignee_id: number;
1968
+ total_hits: number;
1969
+ total_matches: number;
1970
+ limit?: number | undefined;
1971
+ labels?: {
1972
+ value: string;
1973
+ type: string;
1974
+ name: string;
1975
+ }[] | undefined;
1976
+ tags?: Record<string, string> | undefined;
1977
+ offset?: number | undefined;
1978
+ assignee?: {
1979
+ id: number;
1980
+ email: string;
1981
+ name: string;
1982
+ created_at: string;
1983
+ phone: string | null;
1984
+ user_is_active?: boolean | undefined;
1985
+ } | undefined;
1986
+ client_ref?: string | undefined;
1987
+ search_profile?: {
1988
+ name: string;
1989
+ slug: string;
1990
+ } | undefined;
1991
+ filters?: {
1992
+ fuzziness?: number | undefined;
1993
+ types?: string[] | undefined;
1994
+ birth_year?: string | number | undefined;
1995
+ remove_deceased?: number | undefined;
1996
+ country_codes?: string[] | undefined;
1997
+ entity_type?: string | undefined;
1998
+ exact_match?: boolean | undefined;
1999
+ passport?: string | undefined;
2000
+ } | undefined;
2001
+ share_url?: string | undefined;
2002
+ submitted_term?: string | undefined;
2003
+ blacklist_filters?: {
2004
+ blacklist_ids: string[];
2005
+ } | undefined;
2006
+ total_blacklist_hits?: number | undefined;
2007
+ searcher?: {
2008
+ id: number;
2009
+ email: string;
2010
+ name: string;
2011
+ created_at: string;
2012
+ phone: string | null;
2013
+ user_is_active?: boolean | undefined;
2014
+ } | undefined;
2015
+ hits?: {
2016
+ doc: {
2017
+ id: string;
2018
+ name: string;
2019
+ media?: {
2020
+ url: string;
2021
+ date?: string | undefined;
2022
+ title?: string | undefined;
2023
+ snippet?: string | undefined;
2024
+ pdf_url?: string | undefined;
2025
+ }[] | undefined;
2026
+ assets?: {
2027
+ url: string;
2028
+ type?: string | undefined;
2029
+ public_url?: string | undefined;
2030
+ source?: string | undefined;
2031
+ }[] | undefined;
2032
+ fields?: {
2033
+ value: string;
2034
+ name: string;
2035
+ source?: string | undefined;
2036
+ tag?: string | undefined;
2037
+ locale?: string | undefined;
2038
+ }[] | undefined;
2039
+ keywords?: string[] | undefined;
2040
+ first_name?: string | undefined;
2041
+ last_name?: string | undefined;
2042
+ types?: string[] | undefined;
2043
+ entity_type?: string | undefined;
2044
+ last_updated_utc?: string | undefined;
2045
+ middle_name?: string | undefined;
2046
+ sources?: string[] | undefined;
2047
+ aka?: {
2048
+ name: string;
2049
+ }[] | undefined;
2050
+ associates?: {
2051
+ name: string;
2052
+ association?: string | undefined;
2053
+ }[] | undefined;
2054
+ source_notes?: Record<string, {
2055
+ name?: string | undefined;
2056
+ url?: string | undefined;
2057
+ country_codes?: string[] | undefined;
2058
+ aml_types?: string[] | undefined;
2059
+ listing_started_utc?: string | undefined;
2060
+ listing_ended_utc?: string | undefined;
2061
+ source_id?: string | undefined;
2062
+ }> | undefined;
2063
+ } & {
2064
+ [k: string]: unknown;
2065
+ };
2066
+ match_types: string[];
2067
+ score: number;
2068
+ match_status?: ComplyAdvantageStatus | undefined;
2069
+ is_whitelisted?: boolean | undefined;
2070
+ match_types_details?: any;
2071
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
2072
+ }[] | undefined;
2073
+ blacklist_hits?: any[] | undefined;
2074
+ };
2075
+ };
2076
+ code?: number | undefined;
2077
+ message?: string | undefined;
2078
+ }, {
2079
+ status: "success" | "failure";
2080
+ content: {
2081
+ data: {
2082
+ id: number;
2083
+ created_at: string;
2084
+ updated_at: string;
2085
+ match_status: ComplyAdvantageStatus;
2086
+ search_term: string;
2087
+ risk_level: "unknown" | "low" | "medium" | "high";
2088
+ ref: string;
2089
+ searcher_id: number;
2090
+ assignee_id: number;
2091
+ total_hits: number;
2092
+ total_matches: number;
2093
+ limit?: number | undefined;
2094
+ labels?: {
2095
+ value: string;
2096
+ type: string;
2097
+ name: string;
2098
+ }[] | undefined;
2099
+ tags?: Record<string, string> | undefined;
2100
+ offset?: number | undefined;
2101
+ assignee?: {
2102
+ id: number;
2103
+ email: string;
2104
+ name: string;
2105
+ created_at: string;
2106
+ phone: string | null;
2107
+ user_is_active?: boolean | undefined;
2108
+ } | undefined;
2109
+ client_ref?: string | undefined;
2110
+ search_profile?: {
2111
+ name: string;
2112
+ slug: string;
2113
+ } | undefined;
2114
+ filters?: {
2115
+ fuzziness?: number | undefined;
2116
+ types?: string[] | undefined;
2117
+ birth_year?: string | number | undefined;
2118
+ remove_deceased?: number | undefined;
2119
+ country_codes?: string[] | undefined;
2120
+ entity_type?: string | undefined;
2121
+ exact_match?: boolean | undefined;
2122
+ passport?: string | undefined;
2123
+ } | undefined;
2124
+ share_url?: string | undefined;
2125
+ submitted_term?: string | undefined;
2126
+ blacklist_filters?: {
2127
+ blacklist_ids: string[];
2128
+ } | undefined;
2129
+ total_blacklist_hits?: number | undefined;
2130
+ searcher?: {
2131
+ id: number;
2132
+ email: string;
2133
+ name: string;
2134
+ created_at: string;
2135
+ phone: string | null;
2136
+ user_is_active?: boolean | undefined;
2137
+ } | undefined;
2138
+ hits?: {
2139
+ doc: {
2140
+ id: string;
2141
+ name: string;
2142
+ media?: {
2143
+ url: string;
2144
+ date?: string | undefined;
2145
+ title?: string | undefined;
2146
+ snippet?: string | undefined;
2147
+ pdf_url?: string | undefined;
2148
+ }[] | undefined;
2149
+ assets?: {
2150
+ url: string;
2151
+ type?: string | undefined;
2152
+ public_url?: string | undefined;
2153
+ source?: string | undefined;
2154
+ }[] | undefined;
2155
+ fields?: {
2156
+ value: string;
2157
+ name: string;
2158
+ source?: string | undefined;
2159
+ tag?: string | undefined;
2160
+ locale?: string | undefined;
2161
+ }[] | undefined;
2162
+ keywords?: string[] | undefined;
2163
+ first_name?: string | undefined;
2164
+ last_name?: string | undefined;
2165
+ types?: string[] | undefined;
2166
+ entity_type?: string | undefined;
2167
+ last_updated_utc?: string | undefined;
2168
+ middle_name?: string | undefined;
2169
+ sources?: string[] | undefined;
2170
+ aka?: {
2171
+ name: string;
2172
+ }[] | undefined;
2173
+ associates?: {
2174
+ name: string;
2175
+ association?: string | undefined;
2176
+ }[] | undefined;
2177
+ source_notes?: Record<string, {
2178
+ name?: string | undefined;
2179
+ url?: string | undefined;
2180
+ country_codes?: string[] | undefined;
2181
+ aml_types?: string[] | undefined;
2182
+ listing_started_utc?: string | undefined;
2183
+ listing_ended_utc?: string | undefined;
2184
+ source_id?: string | undefined;
2185
+ }> | undefined;
2186
+ } & {
2187
+ [k: string]: unknown;
2188
+ };
2189
+ match_types: string[];
2190
+ score: number;
2191
+ match_status?: ComplyAdvantageStatus | undefined;
2192
+ is_whitelisted?: boolean | undefined;
2193
+ match_types_details?: any;
2194
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
2195
+ }[] | undefined;
2196
+ blacklist_hits?: any[] | undefined;
2197
+ };
2198
+ };
2199
+ code?: number | undefined;
2200
+ message?: string | undefined;
2201
+ }>;
2202
+ export type CreateSearchResponse = z.infer<typeof CreateSearchResponseSchema>;
2203
+ /**
2204
+ * GET /searches/{ref}/entities/comply - Get search entities response
2205
+ * @see https://docs.complyadvantage.com/api-docs/#get-searchesrefentitiesentity_provider
2206
+ */
2207
+ export declare const GetSearchEntitiesResponseSchema: z.ZodArray<z.ZodObject<{
2208
+ doc: z.ZodObject<{
2209
+ id: z.ZodString;
2210
+ entity_type: z.ZodOptional<z.ZodString>;
2211
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2212
+ name: z.ZodString;
2213
+ first_name: z.ZodOptional<z.ZodString>;
2214
+ middle_name: z.ZodOptional<z.ZodString>;
2215
+ last_name: z.ZodOptional<z.ZodString>;
2216
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2217
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2218
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2219
+ name: z.ZodString;
2220
+ tag: z.ZodOptional<z.ZodString>;
2221
+ value: z.ZodString;
2222
+ source: z.ZodOptional<z.ZodString>;
2223
+ locale: z.ZodOptional<z.ZodString>;
2224
+ }, "strip", z.ZodTypeAny, {
2225
+ value: string;
2226
+ name: string;
2227
+ source?: string | undefined;
2228
+ tag?: string | undefined;
2229
+ locale?: string | undefined;
2230
+ }, {
2231
+ value: string;
2232
+ name: string;
2233
+ source?: string | undefined;
2234
+ tag?: string | undefined;
2235
+ locale?: string | undefined;
2236
+ }>, "many">>;
2237
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
2238
+ name: z.ZodString;
2239
+ }, "strip", z.ZodTypeAny, {
2240
+ name: string;
2241
+ }, {
2242
+ name: string;
2243
+ }>, "many">>;
2244
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2245
+ name: z.ZodString;
2246
+ association: z.ZodOptional<z.ZodString>;
2247
+ }, "strip", z.ZodTypeAny, {
2248
+ name: string;
2249
+ association?: string | undefined;
2250
+ }, {
2251
+ name: string;
2252
+ association?: string | undefined;
2253
+ }>, "many">>;
2254
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2255
+ date: z.ZodOptional<z.ZodString>;
2256
+ snippet: z.ZodOptional<z.ZodString>;
2257
+ title: z.ZodOptional<z.ZodString>;
2258
+ url: z.ZodString;
2259
+ pdf_url: z.ZodOptional<z.ZodString>;
2260
+ }, "strip", z.ZodTypeAny, {
2261
+ url: string;
2262
+ date?: string | undefined;
2263
+ title?: string | undefined;
2264
+ snippet?: string | undefined;
2265
+ pdf_url?: string | undefined;
2266
+ }, {
2267
+ url: string;
2268
+ date?: string | undefined;
2269
+ title?: string | undefined;
2270
+ snippet?: string | undefined;
2271
+ pdf_url?: string | undefined;
2272
+ }>, "many">>;
2273
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2274
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2275
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2276
+ listing_started_utc: z.ZodOptional<z.ZodString>;
2277
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
2278
+ name: z.ZodOptional<z.ZodString>;
2279
+ source_id: z.ZodOptional<z.ZodString>;
2280
+ url: z.ZodOptional<z.ZodString>;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ name?: string | undefined;
2283
+ url?: string | undefined;
2284
+ country_codes?: string[] | undefined;
2285
+ aml_types?: string[] | undefined;
2286
+ listing_started_utc?: string | undefined;
2287
+ listing_ended_utc?: string | undefined;
2288
+ source_id?: string | undefined;
2289
+ }, {
2290
+ name?: string | undefined;
2291
+ url?: string | undefined;
2292
+ country_codes?: string[] | undefined;
2293
+ aml_types?: string[] | undefined;
2294
+ listing_started_utc?: string | undefined;
2295
+ listing_ended_utc?: string | undefined;
2296
+ source_id?: string | undefined;
2297
+ }>>>;
2298
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2299
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2300
+ public_url: z.ZodOptional<z.ZodString>;
2301
+ source: z.ZodOptional<z.ZodString>;
2302
+ type: z.ZodOptional<z.ZodString>;
2303
+ url: z.ZodString;
2304
+ }, "strip", z.ZodTypeAny, {
2305
+ url: string;
2306
+ type?: string | undefined;
2307
+ public_url?: string | undefined;
2308
+ source?: string | undefined;
2309
+ }, {
2310
+ url: string;
2311
+ type?: string | undefined;
2312
+ public_url?: string | undefined;
2313
+ source?: string | undefined;
2314
+ }>, "many">>;
2315
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2316
+ id: z.ZodString;
2317
+ entity_type: z.ZodOptional<z.ZodString>;
2318
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2319
+ name: z.ZodString;
2320
+ first_name: z.ZodOptional<z.ZodString>;
2321
+ middle_name: z.ZodOptional<z.ZodString>;
2322
+ last_name: z.ZodOptional<z.ZodString>;
2323
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2324
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2325
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2326
+ name: z.ZodString;
2327
+ tag: z.ZodOptional<z.ZodString>;
2328
+ value: z.ZodString;
2329
+ source: z.ZodOptional<z.ZodString>;
2330
+ locale: z.ZodOptional<z.ZodString>;
2331
+ }, "strip", z.ZodTypeAny, {
2332
+ value: string;
2333
+ name: string;
2334
+ source?: string | undefined;
2335
+ tag?: string | undefined;
2336
+ locale?: string | undefined;
2337
+ }, {
2338
+ value: string;
2339
+ name: string;
2340
+ source?: string | undefined;
2341
+ tag?: string | undefined;
2342
+ locale?: string | undefined;
2343
+ }>, "many">>;
2344
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
2345
+ name: z.ZodString;
2346
+ }, "strip", z.ZodTypeAny, {
2347
+ name: string;
2348
+ }, {
2349
+ name: string;
2350
+ }>, "many">>;
2351
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2352
+ name: z.ZodString;
2353
+ association: z.ZodOptional<z.ZodString>;
2354
+ }, "strip", z.ZodTypeAny, {
2355
+ name: string;
2356
+ association?: string | undefined;
2357
+ }, {
2358
+ name: string;
2359
+ association?: string | undefined;
2360
+ }>, "many">>;
2361
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2362
+ date: z.ZodOptional<z.ZodString>;
2363
+ snippet: z.ZodOptional<z.ZodString>;
2364
+ title: z.ZodOptional<z.ZodString>;
2365
+ url: z.ZodString;
2366
+ pdf_url: z.ZodOptional<z.ZodString>;
2367
+ }, "strip", z.ZodTypeAny, {
2368
+ url: string;
2369
+ date?: string | undefined;
2370
+ title?: string | undefined;
2371
+ snippet?: string | undefined;
2372
+ pdf_url?: string | undefined;
2373
+ }, {
2374
+ url: string;
2375
+ date?: string | undefined;
2376
+ title?: string | undefined;
2377
+ snippet?: string | undefined;
2378
+ pdf_url?: string | undefined;
2379
+ }>, "many">>;
2380
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2381
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2382
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2383
+ listing_started_utc: z.ZodOptional<z.ZodString>;
2384
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
2385
+ name: z.ZodOptional<z.ZodString>;
2386
+ source_id: z.ZodOptional<z.ZodString>;
2387
+ url: z.ZodOptional<z.ZodString>;
2388
+ }, "strip", z.ZodTypeAny, {
2389
+ name?: string | undefined;
2390
+ url?: string | undefined;
2391
+ country_codes?: string[] | undefined;
2392
+ aml_types?: string[] | undefined;
2393
+ listing_started_utc?: string | undefined;
2394
+ listing_ended_utc?: string | undefined;
2395
+ source_id?: string | undefined;
2396
+ }, {
2397
+ name?: string | undefined;
2398
+ url?: string | undefined;
2399
+ country_codes?: string[] | undefined;
2400
+ aml_types?: string[] | undefined;
2401
+ listing_started_utc?: string | undefined;
2402
+ listing_ended_utc?: string | undefined;
2403
+ source_id?: string | undefined;
2404
+ }>>>;
2405
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2406
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2407
+ public_url: z.ZodOptional<z.ZodString>;
2408
+ source: z.ZodOptional<z.ZodString>;
2409
+ type: z.ZodOptional<z.ZodString>;
2410
+ url: z.ZodString;
2411
+ }, "strip", z.ZodTypeAny, {
2412
+ url: string;
2413
+ type?: string | undefined;
2414
+ public_url?: string | undefined;
2415
+ source?: string | undefined;
2416
+ }, {
2417
+ url: string;
2418
+ type?: string | undefined;
2419
+ public_url?: string | undefined;
2420
+ source?: string | undefined;
2421
+ }>, "many">>;
2422
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2423
+ id: z.ZodString;
2424
+ entity_type: z.ZodOptional<z.ZodString>;
2425
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2426
+ name: z.ZodString;
2427
+ first_name: z.ZodOptional<z.ZodString>;
2428
+ middle_name: z.ZodOptional<z.ZodString>;
2429
+ last_name: z.ZodOptional<z.ZodString>;
2430
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2431
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2432
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2433
+ name: z.ZodString;
2434
+ tag: z.ZodOptional<z.ZodString>;
2435
+ value: z.ZodString;
2436
+ source: z.ZodOptional<z.ZodString>;
2437
+ locale: z.ZodOptional<z.ZodString>;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ value: string;
2440
+ name: string;
2441
+ source?: string | undefined;
2442
+ tag?: string | undefined;
2443
+ locale?: string | undefined;
2444
+ }, {
2445
+ value: string;
2446
+ name: string;
2447
+ source?: string | undefined;
2448
+ tag?: string | undefined;
2449
+ locale?: string | undefined;
2450
+ }>, "many">>;
2451
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
2452
+ name: z.ZodString;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ name: string;
2455
+ }, {
2456
+ name: string;
2457
+ }>, "many">>;
2458
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2459
+ name: z.ZodString;
2460
+ association: z.ZodOptional<z.ZodString>;
2461
+ }, "strip", z.ZodTypeAny, {
2462
+ name: string;
2463
+ association?: string | undefined;
2464
+ }, {
2465
+ name: string;
2466
+ association?: string | undefined;
2467
+ }>, "many">>;
2468
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2469
+ date: z.ZodOptional<z.ZodString>;
2470
+ snippet: z.ZodOptional<z.ZodString>;
2471
+ title: z.ZodOptional<z.ZodString>;
2472
+ url: z.ZodString;
2473
+ pdf_url: z.ZodOptional<z.ZodString>;
2474
+ }, "strip", z.ZodTypeAny, {
2475
+ url: string;
2476
+ date?: string | undefined;
2477
+ title?: string | undefined;
2478
+ snippet?: string | undefined;
2479
+ pdf_url?: string | undefined;
2480
+ }, {
2481
+ url: string;
2482
+ date?: string | undefined;
2483
+ title?: string | undefined;
2484
+ snippet?: string | undefined;
2485
+ pdf_url?: string | undefined;
2486
+ }>, "many">>;
2487
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2488
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2489
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2490
+ listing_started_utc: z.ZodOptional<z.ZodString>;
2491
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
2492
+ name: z.ZodOptional<z.ZodString>;
2493
+ source_id: z.ZodOptional<z.ZodString>;
2494
+ url: z.ZodOptional<z.ZodString>;
2495
+ }, "strip", z.ZodTypeAny, {
2496
+ name?: string | undefined;
2497
+ url?: string | undefined;
2498
+ country_codes?: string[] | undefined;
2499
+ aml_types?: string[] | undefined;
2500
+ listing_started_utc?: string | undefined;
2501
+ listing_ended_utc?: string | undefined;
2502
+ source_id?: string | undefined;
2503
+ }, {
2504
+ name?: string | undefined;
2505
+ url?: string | undefined;
2506
+ country_codes?: string[] | undefined;
2507
+ aml_types?: string[] | undefined;
2508
+ listing_started_utc?: string | undefined;
2509
+ listing_ended_utc?: string | undefined;
2510
+ source_id?: string | undefined;
2511
+ }>>>;
2512
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2513
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2514
+ public_url: z.ZodOptional<z.ZodString>;
2515
+ source: z.ZodOptional<z.ZodString>;
2516
+ type: z.ZodOptional<z.ZodString>;
2517
+ url: z.ZodString;
2518
+ }, "strip", z.ZodTypeAny, {
2519
+ url: string;
2520
+ type?: string | undefined;
2521
+ public_url?: string | undefined;
2522
+ source?: string | undefined;
2523
+ }, {
2524
+ url: string;
2525
+ type?: string | undefined;
2526
+ public_url?: string | undefined;
2527
+ source?: string | undefined;
2528
+ }>, "many">>;
2529
+ }, z.ZodTypeAny, "passthrough">>;
2530
+ is_whitelisted: z.ZodOptional<z.ZodBoolean>;
2531
+ match_types: z.ZodArray<z.ZodString, "many">;
2532
+ match_types_details: z.ZodOptional<z.ZodAny>;
2533
+ score: z.ZodNumber;
2534
+ match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
2535
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
2536
+ }, "strip", z.ZodTypeAny, {
2537
+ doc: {
2538
+ id: string;
2539
+ name: string;
2540
+ media?: {
2541
+ url: string;
2542
+ date?: string | undefined;
2543
+ title?: string | undefined;
2544
+ snippet?: string | undefined;
2545
+ pdf_url?: string | undefined;
2546
+ }[] | undefined;
2547
+ assets?: {
2548
+ url: string;
2549
+ type?: string | undefined;
2550
+ public_url?: string | undefined;
2551
+ source?: string | undefined;
2552
+ }[] | undefined;
2553
+ fields?: {
2554
+ value: string;
2555
+ name: string;
2556
+ source?: string | undefined;
2557
+ tag?: string | undefined;
2558
+ locale?: string | undefined;
2559
+ }[] | undefined;
2560
+ keywords?: string[] | undefined;
2561
+ first_name?: string | undefined;
2562
+ last_name?: string | undefined;
2563
+ types?: string[] | undefined;
2564
+ entity_type?: string | undefined;
2565
+ last_updated_utc?: string | undefined;
2566
+ middle_name?: string | undefined;
2567
+ sources?: string[] | undefined;
2568
+ aka?: {
2569
+ name: string;
2570
+ }[] | undefined;
2571
+ associates?: {
2572
+ name: string;
2573
+ association?: string | undefined;
2574
+ }[] | undefined;
2575
+ source_notes?: Record<string, {
2576
+ name?: string | undefined;
2577
+ url?: string | undefined;
2578
+ country_codes?: string[] | undefined;
2579
+ aml_types?: string[] | undefined;
2580
+ listing_started_utc?: string | undefined;
2581
+ listing_ended_utc?: string | undefined;
2582
+ source_id?: string | undefined;
2583
+ }> | undefined;
2584
+ } & {
2585
+ [k: string]: unknown;
2586
+ };
2587
+ match_types: string[];
2588
+ score: number;
2589
+ match_status?: ComplyAdvantageStatus | undefined;
2590
+ is_whitelisted?: boolean | undefined;
2591
+ match_types_details?: any;
2592
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
2593
+ }, {
2594
+ doc: {
2595
+ id: string;
2596
+ name: string;
2597
+ media?: {
2598
+ url: string;
2599
+ date?: string | undefined;
2600
+ title?: string | undefined;
2601
+ snippet?: string | undefined;
2602
+ pdf_url?: string | undefined;
2603
+ }[] | undefined;
2604
+ assets?: {
2605
+ url: string;
2606
+ type?: string | undefined;
2607
+ public_url?: string | undefined;
2608
+ source?: string | undefined;
2609
+ }[] | undefined;
2610
+ fields?: {
2611
+ value: string;
2612
+ name: string;
2613
+ source?: string | undefined;
2614
+ tag?: string | undefined;
2615
+ locale?: string | undefined;
2616
+ }[] | undefined;
2617
+ keywords?: string[] | undefined;
2618
+ first_name?: string | undefined;
2619
+ last_name?: string | undefined;
2620
+ types?: string[] | undefined;
2621
+ entity_type?: string | undefined;
2622
+ last_updated_utc?: string | undefined;
2623
+ middle_name?: string | undefined;
2624
+ sources?: string[] | undefined;
2625
+ aka?: {
2626
+ name: string;
2627
+ }[] | undefined;
2628
+ associates?: {
2629
+ name: string;
2630
+ association?: string | undefined;
2631
+ }[] | undefined;
2632
+ source_notes?: Record<string, {
2633
+ name?: string | undefined;
2634
+ url?: string | undefined;
2635
+ country_codes?: string[] | undefined;
2636
+ aml_types?: string[] | undefined;
2637
+ listing_started_utc?: string | undefined;
2638
+ listing_ended_utc?: string | undefined;
2639
+ source_id?: string | undefined;
2640
+ }> | undefined;
2641
+ } & {
2642
+ [k: string]: unknown;
2643
+ };
2644
+ match_types: string[];
2645
+ score: number;
2646
+ match_status?: ComplyAdvantageStatus | undefined;
2647
+ is_whitelisted?: boolean | undefined;
2648
+ match_types_details?: any;
2649
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
2650
+ }>, "many">;
2651
+ export type GetSearchEntitiesResponse = z.infer<typeof GetSearchEntitiesResponseSchema>;
2652
+ /**
2653
+ * GET /searches/{ref}/details - Get search details response
2654
+ * @see https://docs.complyadvantage.com/api-docs/#get-searchesiddetails
2655
+ */
2656
+ export declare const GetSearchDetailsResponseSchema: z.ZodObject<{
2657
+ code: z.ZodNumber;
2658
+ status: z.ZodEnum<["success", "failure"]>;
2659
+ content: z.ZodObject<{
2660
+ data: z.ZodObject<{
2661
+ id: z.ZodNumber;
2662
+ ref: z.ZodString;
2663
+ searcher_id: z.ZodNumber;
2664
+ assignee_id: z.ZodNumber;
2665
+ filters: z.ZodOptional<z.ZodObject<{
2666
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2667
+ remove_deceased: z.ZodOptional<z.ZodNumber>;
2668
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2669
+ exact_match: z.ZodOptional<z.ZodBoolean>;
2670
+ fuzziness: z.ZodOptional<z.ZodNumber>;
2671
+ birth_year: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
2672
+ entity_type: z.ZodOptional<z.ZodString>;
2673
+ }, "strip", z.ZodTypeAny, {
2674
+ fuzziness?: number | undefined;
2675
+ types?: string[] | undefined;
2676
+ birth_year?: string | number | undefined;
2677
+ remove_deceased?: number | undefined;
2678
+ country_codes?: string[] | undefined;
2679
+ entity_type?: string | undefined;
2680
+ exact_match?: boolean | undefined;
2681
+ }, {
2682
+ fuzziness?: number | undefined;
2683
+ types?: string[] | undefined;
2684
+ birth_year?: string | number | undefined;
2685
+ remove_deceased?: number | undefined;
2686
+ country_codes?: string[] | undefined;
2687
+ entity_type?: string | undefined;
2688
+ exact_match?: boolean | undefined;
2689
+ }>>;
2690
+ match_status: z.ZodNativeEnum<typeof ComplyAdvantageStatus>;
2691
+ risk_level: z.ZodEnum<["low", "medium", "high", "unknown"]>;
2692
+ search_term: z.ZodString;
2693
+ submitted_term: z.ZodOptional<z.ZodString>;
2694
+ client_ref: z.ZodOptional<z.ZodString>;
2695
+ total_hits: z.ZodNumber;
2696
+ total_matches: z.ZodNumber;
2697
+ updated_at: z.ZodString;
2698
+ created_at: z.ZodString;
2699
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodAny, "many">]>>;
2700
+ labels: z.ZodOptional<z.ZodArray<z.ZodObject<{
2701
+ type: z.ZodString;
2702
+ name: z.ZodString;
2703
+ value: z.ZodString;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ value: string;
2706
+ type: string;
2707
+ name: string;
2708
+ }, {
2709
+ value: string;
2710
+ type: string;
2711
+ name: string;
2712
+ }>, "many">>;
2713
+ blacklist_filters: z.ZodOptional<z.ZodObject<{
2714
+ blacklist_ids: z.ZodArray<z.ZodString, "many">;
2715
+ }, "strip", z.ZodTypeAny, {
2716
+ blacklist_ids: string[];
2717
+ }, {
2718
+ blacklist_ids: string[];
2719
+ }>>;
2720
+ total_blacklist_hits: z.ZodOptional<z.ZodNumber>;
2721
+ limit: z.ZodOptional<z.ZodNumber>;
2722
+ offset: z.ZodOptional<z.ZodNumber>;
2723
+ search_profile: z.ZodOptional<z.ZodObject<{
2724
+ name: z.ZodString;
2725
+ slug: z.ZodString;
2726
+ }, "strip", z.ZodTypeAny, {
2727
+ name: string;
2728
+ slug: string;
2729
+ }, {
2730
+ name: string;
2731
+ slug: string;
2732
+ }>>;
2733
+ searcher: z.ZodOptional<z.ZodObject<{
2734
+ id: z.ZodNumber;
2735
+ email: z.ZodString;
2736
+ name: z.ZodString;
2737
+ phone: z.ZodNullable<z.ZodString>;
2738
+ created_at: z.ZodString;
2739
+ user_is_active: z.ZodOptional<z.ZodBoolean>;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ id: number;
2742
+ email: string;
2743
+ name: string;
2744
+ created_at: string;
2745
+ phone: string | null;
2746
+ user_is_active?: boolean | undefined;
2747
+ }, {
2748
+ id: number;
2749
+ email: string;
2750
+ name: string;
2751
+ created_at: string;
2752
+ phone: string | null;
2753
+ user_is_active?: boolean | undefined;
2754
+ }>>;
2755
+ assignee: z.ZodOptional<z.ZodObject<{
2756
+ id: z.ZodNumber;
2757
+ email: z.ZodString;
2758
+ name: z.ZodString;
2759
+ phone: z.ZodNullable<z.ZodString>;
2760
+ created_at: z.ZodString;
2761
+ user_is_active: z.ZodOptional<z.ZodBoolean>;
2762
+ }, "strip", z.ZodTypeAny, {
2763
+ id: number;
2764
+ email: string;
2765
+ name: string;
2766
+ created_at: string;
2767
+ phone: string | null;
2768
+ user_is_active?: boolean | undefined;
2769
+ }, {
2770
+ id: number;
2771
+ email: string;
2772
+ name: string;
2773
+ created_at: string;
2774
+ phone: string | null;
2775
+ user_is_active?: boolean | undefined;
2776
+ }>>;
2777
+ hits: z.ZodArray<z.ZodObject<{
2778
+ doc: z.ZodObject<{
2779
+ id: z.ZodString;
2780
+ entity_type: z.ZodOptional<z.ZodString>;
2781
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2782
+ name: z.ZodString;
2783
+ first_name: z.ZodOptional<z.ZodString>;
2784
+ middle_name: z.ZodOptional<z.ZodString>;
2785
+ last_name: z.ZodOptional<z.ZodString>;
2786
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2787
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2788
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2789
+ name: z.ZodString;
2790
+ tag: z.ZodOptional<z.ZodString>;
2791
+ value: z.ZodString;
2792
+ source: z.ZodOptional<z.ZodString>;
2793
+ locale: z.ZodOptional<z.ZodString>;
2794
+ }, "strip", z.ZodTypeAny, {
2795
+ value: string;
2796
+ name: string;
2797
+ source?: string | undefined;
2798
+ tag?: string | undefined;
2799
+ locale?: string | undefined;
2800
+ }, {
2801
+ value: string;
2802
+ name: string;
2803
+ source?: string | undefined;
2804
+ tag?: string | undefined;
2805
+ locale?: string | undefined;
2806
+ }>, "many">>;
2807
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
2808
+ name: z.ZodString;
2809
+ }, "strip", z.ZodTypeAny, {
2810
+ name: string;
2811
+ }, {
2812
+ name: string;
2813
+ }>, "many">>;
2814
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2815
+ name: z.ZodString;
2816
+ association: z.ZodOptional<z.ZodString>;
2817
+ }, "strip", z.ZodTypeAny, {
2818
+ name: string;
2819
+ association?: string | undefined;
2820
+ }, {
2821
+ name: string;
2822
+ association?: string | undefined;
2823
+ }>, "many">>;
2824
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2825
+ date: z.ZodOptional<z.ZodString>;
2826
+ snippet: z.ZodOptional<z.ZodString>;
2827
+ title: z.ZodOptional<z.ZodString>;
2828
+ url: z.ZodString;
2829
+ pdf_url: z.ZodOptional<z.ZodString>;
2830
+ }, "strip", z.ZodTypeAny, {
2831
+ url: string;
2832
+ date?: string | undefined;
2833
+ title?: string | undefined;
2834
+ snippet?: string | undefined;
2835
+ pdf_url?: string | undefined;
2836
+ }, {
2837
+ url: string;
2838
+ date?: string | undefined;
2839
+ title?: string | undefined;
2840
+ snippet?: string | undefined;
2841
+ pdf_url?: string | undefined;
2842
+ }>, "many">>;
2843
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2844
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2845
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2846
+ listing_started_utc: z.ZodOptional<z.ZodString>;
2847
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
2848
+ name: z.ZodOptional<z.ZodString>;
2849
+ source_id: z.ZodOptional<z.ZodString>;
2850
+ url: z.ZodOptional<z.ZodString>;
2851
+ }, "strip", z.ZodTypeAny, {
2852
+ name?: string | undefined;
2853
+ url?: string | undefined;
2854
+ country_codes?: string[] | undefined;
2855
+ aml_types?: string[] | undefined;
2856
+ listing_started_utc?: string | undefined;
2857
+ listing_ended_utc?: string | undefined;
2858
+ source_id?: string | undefined;
2859
+ }, {
2860
+ name?: string | undefined;
2861
+ url?: string | undefined;
2862
+ country_codes?: string[] | undefined;
2863
+ aml_types?: string[] | undefined;
2864
+ listing_started_utc?: string | undefined;
2865
+ listing_ended_utc?: string | undefined;
2866
+ source_id?: string | undefined;
2867
+ }>>>;
2868
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2869
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2870
+ public_url: z.ZodOptional<z.ZodString>;
2871
+ source: z.ZodOptional<z.ZodString>;
2872
+ type: z.ZodOptional<z.ZodString>;
2873
+ url: z.ZodString;
2874
+ }, "strip", z.ZodTypeAny, {
2875
+ url: string;
2876
+ type?: string | undefined;
2877
+ public_url?: string | undefined;
2878
+ source?: string | undefined;
2879
+ }, {
2880
+ url: string;
2881
+ type?: string | undefined;
2882
+ public_url?: string | undefined;
2883
+ source?: string | undefined;
2884
+ }>, "many">>;
2885
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2886
+ id: z.ZodString;
2887
+ entity_type: z.ZodOptional<z.ZodString>;
2888
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2889
+ name: z.ZodString;
2890
+ first_name: z.ZodOptional<z.ZodString>;
2891
+ middle_name: z.ZodOptional<z.ZodString>;
2892
+ last_name: z.ZodOptional<z.ZodString>;
2893
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2894
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2895
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2896
+ name: z.ZodString;
2897
+ tag: z.ZodOptional<z.ZodString>;
2898
+ value: z.ZodString;
2899
+ source: z.ZodOptional<z.ZodString>;
2900
+ locale: z.ZodOptional<z.ZodString>;
2901
+ }, "strip", z.ZodTypeAny, {
2902
+ value: string;
2903
+ name: string;
2904
+ source?: string | undefined;
2905
+ tag?: string | undefined;
2906
+ locale?: string | undefined;
2907
+ }, {
2908
+ value: string;
2909
+ name: string;
2910
+ source?: string | undefined;
2911
+ tag?: string | undefined;
2912
+ locale?: string | undefined;
2913
+ }>, "many">>;
2914
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
2915
+ name: z.ZodString;
2916
+ }, "strip", z.ZodTypeAny, {
2917
+ name: string;
2918
+ }, {
2919
+ name: string;
2920
+ }>, "many">>;
2921
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
2922
+ name: z.ZodString;
2923
+ association: z.ZodOptional<z.ZodString>;
2924
+ }, "strip", z.ZodTypeAny, {
2925
+ name: string;
2926
+ association?: string | undefined;
2927
+ }, {
2928
+ name: string;
2929
+ association?: string | undefined;
2930
+ }>, "many">>;
2931
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
2932
+ date: z.ZodOptional<z.ZodString>;
2933
+ snippet: z.ZodOptional<z.ZodString>;
2934
+ title: z.ZodOptional<z.ZodString>;
2935
+ url: z.ZodString;
2936
+ pdf_url: z.ZodOptional<z.ZodString>;
2937
+ }, "strip", z.ZodTypeAny, {
2938
+ url: string;
2939
+ date?: string | undefined;
2940
+ title?: string | undefined;
2941
+ snippet?: string | undefined;
2942
+ pdf_url?: string | undefined;
2943
+ }, {
2944
+ url: string;
2945
+ date?: string | undefined;
2946
+ title?: string | undefined;
2947
+ snippet?: string | undefined;
2948
+ pdf_url?: string | undefined;
2949
+ }>, "many">>;
2950
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2951
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2952
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2953
+ listing_started_utc: z.ZodOptional<z.ZodString>;
2954
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
2955
+ name: z.ZodOptional<z.ZodString>;
2956
+ source_id: z.ZodOptional<z.ZodString>;
2957
+ url: z.ZodOptional<z.ZodString>;
2958
+ }, "strip", z.ZodTypeAny, {
2959
+ name?: string | undefined;
2960
+ url?: string | undefined;
2961
+ country_codes?: string[] | undefined;
2962
+ aml_types?: string[] | undefined;
2963
+ listing_started_utc?: string | undefined;
2964
+ listing_ended_utc?: string | undefined;
2965
+ source_id?: string | undefined;
2966
+ }, {
2967
+ name?: string | undefined;
2968
+ url?: string | undefined;
2969
+ country_codes?: string[] | undefined;
2970
+ aml_types?: string[] | undefined;
2971
+ listing_started_utc?: string | undefined;
2972
+ listing_ended_utc?: string | undefined;
2973
+ source_id?: string | undefined;
2974
+ }>>>;
2975
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2976
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
2977
+ public_url: z.ZodOptional<z.ZodString>;
2978
+ source: z.ZodOptional<z.ZodString>;
2979
+ type: z.ZodOptional<z.ZodString>;
2980
+ url: z.ZodString;
2981
+ }, "strip", z.ZodTypeAny, {
2982
+ url: string;
2983
+ type?: string | undefined;
2984
+ public_url?: string | undefined;
2985
+ source?: string | undefined;
2986
+ }, {
2987
+ url: string;
2988
+ type?: string | undefined;
2989
+ public_url?: string | undefined;
2990
+ source?: string | undefined;
2991
+ }>, "many">>;
2992
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2993
+ id: z.ZodString;
2994
+ entity_type: z.ZodOptional<z.ZodString>;
2995
+ last_updated_utc: z.ZodOptional<z.ZodString>;
2996
+ name: z.ZodString;
2997
+ first_name: z.ZodOptional<z.ZodString>;
2998
+ middle_name: z.ZodOptional<z.ZodString>;
2999
+ last_name: z.ZodOptional<z.ZodString>;
3000
+ sources: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3001
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3002
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3003
+ name: z.ZodString;
3004
+ tag: z.ZodOptional<z.ZodString>;
3005
+ value: z.ZodString;
3006
+ source: z.ZodOptional<z.ZodString>;
3007
+ locale: z.ZodOptional<z.ZodString>;
3008
+ }, "strip", z.ZodTypeAny, {
3009
+ value: string;
3010
+ name: string;
3011
+ source?: string | undefined;
3012
+ tag?: string | undefined;
3013
+ locale?: string | undefined;
3014
+ }, {
3015
+ value: string;
3016
+ name: string;
3017
+ source?: string | undefined;
3018
+ tag?: string | undefined;
3019
+ locale?: string | undefined;
3020
+ }>, "many">>;
3021
+ aka: z.ZodOptional<z.ZodArray<z.ZodObject<{
3022
+ name: z.ZodString;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ name: string;
3025
+ }, {
3026
+ name: string;
3027
+ }>, "many">>;
3028
+ associates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3029
+ name: z.ZodString;
3030
+ association: z.ZodOptional<z.ZodString>;
3031
+ }, "strip", z.ZodTypeAny, {
3032
+ name: string;
3033
+ association?: string | undefined;
3034
+ }, {
3035
+ name: string;
3036
+ association?: string | undefined;
3037
+ }>, "many">>;
3038
+ media: z.ZodOptional<z.ZodArray<z.ZodObject<{
3039
+ date: z.ZodOptional<z.ZodString>;
3040
+ snippet: z.ZodOptional<z.ZodString>;
3041
+ title: z.ZodOptional<z.ZodString>;
3042
+ url: z.ZodString;
3043
+ pdf_url: z.ZodOptional<z.ZodString>;
3044
+ }, "strip", z.ZodTypeAny, {
3045
+ url: string;
3046
+ date?: string | undefined;
3047
+ title?: string | undefined;
3048
+ snippet?: string | undefined;
3049
+ pdf_url?: string | undefined;
3050
+ }, {
3051
+ url: string;
3052
+ date?: string | undefined;
3053
+ title?: string | undefined;
3054
+ snippet?: string | undefined;
3055
+ pdf_url?: string | undefined;
3056
+ }>, "many">>;
3057
+ source_notes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
3058
+ aml_types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3059
+ country_codes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3060
+ listing_started_utc: z.ZodOptional<z.ZodString>;
3061
+ listing_ended_utc: z.ZodOptional<z.ZodString>;
3062
+ name: z.ZodOptional<z.ZodString>;
3063
+ source_id: z.ZodOptional<z.ZodString>;
3064
+ url: z.ZodOptional<z.ZodString>;
3065
+ }, "strip", z.ZodTypeAny, {
3066
+ name?: string | undefined;
3067
+ url?: string | undefined;
3068
+ country_codes?: string[] | undefined;
3069
+ aml_types?: string[] | undefined;
3070
+ listing_started_utc?: string | undefined;
3071
+ listing_ended_utc?: string | undefined;
3072
+ source_id?: string | undefined;
3073
+ }, {
3074
+ name?: string | undefined;
3075
+ url?: string | undefined;
3076
+ country_codes?: string[] | undefined;
3077
+ aml_types?: string[] | undefined;
3078
+ listing_started_utc?: string | undefined;
3079
+ listing_ended_utc?: string | undefined;
3080
+ source_id?: string | undefined;
3081
+ }>>>;
3082
+ keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3083
+ assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
3084
+ public_url: z.ZodOptional<z.ZodString>;
3085
+ source: z.ZodOptional<z.ZodString>;
3086
+ type: z.ZodOptional<z.ZodString>;
3087
+ url: z.ZodString;
3088
+ }, "strip", z.ZodTypeAny, {
3089
+ url: string;
3090
+ type?: string | undefined;
3091
+ public_url?: string | undefined;
3092
+ source?: string | undefined;
3093
+ }, {
3094
+ url: string;
3095
+ type?: string | undefined;
3096
+ public_url?: string | undefined;
3097
+ source?: string | undefined;
3098
+ }>, "many">>;
3099
+ }, z.ZodTypeAny, "passthrough">>;
3100
+ is_whitelisted: z.ZodOptional<z.ZodBoolean>;
3101
+ match_types: z.ZodArray<z.ZodString, "many">;
3102
+ match_types_details: z.ZodOptional<z.ZodAny>;
3103
+ score: z.ZodNumber;
3104
+ match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
3105
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
3106
+ }, "strip", z.ZodTypeAny, {
3107
+ doc: {
3108
+ id: string;
3109
+ name: string;
3110
+ media?: {
3111
+ url: string;
3112
+ date?: string | undefined;
3113
+ title?: string | undefined;
3114
+ snippet?: string | undefined;
3115
+ pdf_url?: string | undefined;
3116
+ }[] | undefined;
3117
+ assets?: {
3118
+ url: string;
3119
+ type?: string | undefined;
3120
+ public_url?: string | undefined;
3121
+ source?: string | undefined;
3122
+ }[] | undefined;
3123
+ fields?: {
3124
+ value: string;
3125
+ name: string;
3126
+ source?: string | undefined;
3127
+ tag?: string | undefined;
3128
+ locale?: string | undefined;
3129
+ }[] | undefined;
3130
+ keywords?: string[] | undefined;
3131
+ first_name?: string | undefined;
3132
+ last_name?: string | undefined;
3133
+ types?: string[] | undefined;
3134
+ entity_type?: string | undefined;
3135
+ last_updated_utc?: string | undefined;
3136
+ middle_name?: string | undefined;
3137
+ sources?: string[] | undefined;
3138
+ aka?: {
3139
+ name: string;
3140
+ }[] | undefined;
3141
+ associates?: {
3142
+ name: string;
3143
+ association?: string | undefined;
3144
+ }[] | undefined;
3145
+ source_notes?: Record<string, {
3146
+ name?: string | undefined;
3147
+ url?: string | undefined;
3148
+ country_codes?: string[] | undefined;
3149
+ aml_types?: string[] | undefined;
3150
+ listing_started_utc?: string | undefined;
3151
+ listing_ended_utc?: string | undefined;
3152
+ source_id?: string | undefined;
3153
+ }> | undefined;
3154
+ } & {
3155
+ [k: string]: unknown;
3156
+ };
3157
+ match_types: string[];
3158
+ score: number;
3159
+ match_status?: ComplyAdvantageStatus | undefined;
3160
+ is_whitelisted?: boolean | undefined;
3161
+ match_types_details?: any;
3162
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3163
+ }, {
3164
+ doc: {
3165
+ id: string;
3166
+ name: string;
3167
+ media?: {
3168
+ url: string;
3169
+ date?: string | undefined;
3170
+ title?: string | undefined;
3171
+ snippet?: string | undefined;
3172
+ pdf_url?: string | undefined;
3173
+ }[] | undefined;
3174
+ assets?: {
3175
+ url: string;
3176
+ type?: string | undefined;
3177
+ public_url?: string | undefined;
3178
+ source?: string | undefined;
3179
+ }[] | undefined;
3180
+ fields?: {
3181
+ value: string;
3182
+ name: string;
3183
+ source?: string | undefined;
3184
+ tag?: string | undefined;
3185
+ locale?: string | undefined;
3186
+ }[] | undefined;
3187
+ keywords?: string[] | undefined;
3188
+ first_name?: string | undefined;
3189
+ last_name?: string | undefined;
3190
+ types?: string[] | undefined;
3191
+ entity_type?: string | undefined;
3192
+ last_updated_utc?: string | undefined;
3193
+ middle_name?: string | undefined;
3194
+ sources?: string[] | undefined;
3195
+ aka?: {
3196
+ name: string;
3197
+ }[] | undefined;
3198
+ associates?: {
3199
+ name: string;
3200
+ association?: string | undefined;
3201
+ }[] | undefined;
3202
+ source_notes?: Record<string, {
3203
+ name?: string | undefined;
3204
+ url?: string | undefined;
3205
+ country_codes?: string[] | undefined;
3206
+ aml_types?: string[] | undefined;
3207
+ listing_started_utc?: string | undefined;
3208
+ listing_ended_utc?: string | undefined;
3209
+ source_id?: string | undefined;
3210
+ }> | undefined;
3211
+ } & {
3212
+ [k: string]: unknown;
3213
+ };
3214
+ match_types: string[];
3215
+ score: number;
3216
+ match_status?: ComplyAdvantageStatus | undefined;
3217
+ is_whitelisted?: boolean | undefined;
3218
+ match_types_details?: any;
3219
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3220
+ }>, "many">;
3221
+ blacklist_hits: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
3222
+ share_url: z.ZodOptional<z.ZodString>;
3223
+ }, "strip", z.ZodTypeAny, {
3224
+ id: number;
3225
+ created_at: string;
3226
+ updated_at: string;
3227
+ match_status: ComplyAdvantageStatus;
3228
+ search_term: string;
3229
+ risk_level: "unknown" | "low" | "medium" | "high";
3230
+ ref: string;
3231
+ searcher_id: number;
3232
+ assignee_id: number;
3233
+ total_hits: number;
3234
+ total_matches: number;
3235
+ hits: {
3236
+ doc: {
3237
+ id: string;
3238
+ name: string;
3239
+ media?: {
3240
+ url: string;
3241
+ date?: string | undefined;
3242
+ title?: string | undefined;
3243
+ snippet?: string | undefined;
3244
+ pdf_url?: string | undefined;
3245
+ }[] | undefined;
3246
+ assets?: {
3247
+ url: string;
3248
+ type?: string | undefined;
3249
+ public_url?: string | undefined;
3250
+ source?: string | undefined;
3251
+ }[] | undefined;
3252
+ fields?: {
3253
+ value: string;
3254
+ name: string;
3255
+ source?: string | undefined;
3256
+ tag?: string | undefined;
3257
+ locale?: string | undefined;
3258
+ }[] | undefined;
3259
+ keywords?: string[] | undefined;
3260
+ first_name?: string | undefined;
3261
+ last_name?: string | undefined;
3262
+ types?: string[] | undefined;
3263
+ entity_type?: string | undefined;
3264
+ last_updated_utc?: string | undefined;
3265
+ middle_name?: string | undefined;
3266
+ sources?: string[] | undefined;
3267
+ aka?: {
3268
+ name: string;
3269
+ }[] | undefined;
3270
+ associates?: {
3271
+ name: string;
3272
+ association?: string | undefined;
3273
+ }[] | undefined;
3274
+ source_notes?: Record<string, {
3275
+ name?: string | undefined;
3276
+ url?: string | undefined;
3277
+ country_codes?: string[] | undefined;
3278
+ aml_types?: string[] | undefined;
3279
+ listing_started_utc?: string | undefined;
3280
+ listing_ended_utc?: string | undefined;
3281
+ source_id?: string | undefined;
3282
+ }> | undefined;
3283
+ } & {
3284
+ [k: string]: unknown;
3285
+ };
3286
+ match_types: string[];
3287
+ score: number;
3288
+ match_status?: ComplyAdvantageStatus | undefined;
3289
+ is_whitelisted?: boolean | undefined;
3290
+ match_types_details?: any;
3291
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3292
+ }[];
3293
+ limit?: number | undefined;
3294
+ labels?: {
3295
+ value: string;
3296
+ type: string;
3297
+ name: string;
3298
+ }[] | undefined;
3299
+ tags?: any[] | Record<string, string> | undefined;
3300
+ offset?: number | undefined;
3301
+ assignee?: {
3302
+ id: number;
3303
+ email: string;
3304
+ name: string;
3305
+ created_at: string;
3306
+ phone: string | null;
3307
+ user_is_active?: boolean | undefined;
3308
+ } | undefined;
3309
+ client_ref?: string | undefined;
3310
+ search_profile?: {
3311
+ name: string;
3312
+ slug: string;
3313
+ } | undefined;
3314
+ filters?: {
3315
+ fuzziness?: number | undefined;
3316
+ types?: string[] | undefined;
3317
+ birth_year?: string | number | undefined;
3318
+ remove_deceased?: number | undefined;
3319
+ country_codes?: string[] | undefined;
3320
+ entity_type?: string | undefined;
3321
+ exact_match?: boolean | undefined;
3322
+ } | undefined;
3323
+ share_url?: string | undefined;
3324
+ submitted_term?: string | undefined;
3325
+ blacklist_filters?: {
3326
+ blacklist_ids: string[];
3327
+ } | undefined;
3328
+ total_blacklist_hits?: number | undefined;
3329
+ searcher?: {
3330
+ id: number;
3331
+ email: string;
3332
+ name: string;
3333
+ created_at: string;
3334
+ phone: string | null;
3335
+ user_is_active?: boolean | undefined;
3336
+ } | undefined;
3337
+ blacklist_hits?: any[] | undefined;
3338
+ }, {
3339
+ id: number;
3340
+ created_at: string;
3341
+ updated_at: string;
3342
+ match_status: ComplyAdvantageStatus;
3343
+ search_term: string;
3344
+ risk_level: "unknown" | "low" | "medium" | "high";
3345
+ ref: string;
3346
+ searcher_id: number;
3347
+ assignee_id: number;
3348
+ total_hits: number;
3349
+ total_matches: number;
3350
+ hits: {
3351
+ doc: {
3352
+ id: string;
3353
+ name: string;
3354
+ media?: {
3355
+ url: string;
3356
+ date?: string | undefined;
3357
+ title?: string | undefined;
3358
+ snippet?: string | undefined;
3359
+ pdf_url?: string | undefined;
3360
+ }[] | undefined;
3361
+ assets?: {
3362
+ url: string;
3363
+ type?: string | undefined;
3364
+ public_url?: string | undefined;
3365
+ source?: string | undefined;
3366
+ }[] | undefined;
3367
+ fields?: {
3368
+ value: string;
3369
+ name: string;
3370
+ source?: string | undefined;
3371
+ tag?: string | undefined;
3372
+ locale?: string | undefined;
3373
+ }[] | undefined;
3374
+ keywords?: string[] | undefined;
3375
+ first_name?: string | undefined;
3376
+ last_name?: string | undefined;
3377
+ types?: string[] | undefined;
3378
+ entity_type?: string | undefined;
3379
+ last_updated_utc?: string | undefined;
3380
+ middle_name?: string | undefined;
3381
+ sources?: string[] | undefined;
3382
+ aka?: {
3383
+ name: string;
3384
+ }[] | undefined;
3385
+ associates?: {
3386
+ name: string;
3387
+ association?: string | undefined;
3388
+ }[] | undefined;
3389
+ source_notes?: Record<string, {
3390
+ name?: string | undefined;
3391
+ url?: string | undefined;
3392
+ country_codes?: string[] | undefined;
3393
+ aml_types?: string[] | undefined;
3394
+ listing_started_utc?: string | undefined;
3395
+ listing_ended_utc?: string | undefined;
3396
+ source_id?: string | undefined;
3397
+ }> | undefined;
3398
+ } & {
3399
+ [k: string]: unknown;
3400
+ };
3401
+ match_types: string[];
3402
+ score: number;
3403
+ match_status?: ComplyAdvantageStatus | undefined;
3404
+ is_whitelisted?: boolean | undefined;
3405
+ match_types_details?: any;
3406
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3407
+ }[];
3408
+ limit?: number | undefined;
3409
+ labels?: {
3410
+ value: string;
3411
+ type: string;
3412
+ name: string;
3413
+ }[] | undefined;
3414
+ tags?: any[] | Record<string, string> | undefined;
3415
+ offset?: number | undefined;
3416
+ assignee?: {
3417
+ id: number;
3418
+ email: string;
3419
+ name: string;
3420
+ created_at: string;
3421
+ phone: string | null;
3422
+ user_is_active?: boolean | undefined;
3423
+ } | undefined;
3424
+ client_ref?: string | undefined;
3425
+ search_profile?: {
3426
+ name: string;
3427
+ slug: string;
3428
+ } | undefined;
3429
+ filters?: {
3430
+ fuzziness?: number | undefined;
3431
+ types?: string[] | undefined;
3432
+ birth_year?: string | number | undefined;
3433
+ remove_deceased?: number | undefined;
3434
+ country_codes?: string[] | undefined;
3435
+ entity_type?: string | undefined;
3436
+ exact_match?: boolean | undefined;
3437
+ } | undefined;
3438
+ share_url?: string | undefined;
3439
+ submitted_term?: string | undefined;
3440
+ blacklist_filters?: {
3441
+ blacklist_ids: string[];
3442
+ } | undefined;
3443
+ total_blacklist_hits?: number | undefined;
3444
+ searcher?: {
3445
+ id: number;
3446
+ email: string;
3447
+ name: string;
3448
+ created_at: string;
3449
+ phone: string | null;
3450
+ user_is_active?: boolean | undefined;
3451
+ } | undefined;
3452
+ blacklist_hits?: any[] | undefined;
3453
+ }>;
3454
+ }, "strip", z.ZodTypeAny, {
3455
+ data: {
3456
+ id: number;
3457
+ created_at: string;
3458
+ updated_at: string;
3459
+ match_status: ComplyAdvantageStatus;
3460
+ search_term: string;
3461
+ risk_level: "unknown" | "low" | "medium" | "high";
3462
+ ref: string;
3463
+ searcher_id: number;
3464
+ assignee_id: number;
3465
+ total_hits: number;
3466
+ total_matches: number;
3467
+ hits: {
3468
+ doc: {
3469
+ id: string;
3470
+ name: string;
3471
+ media?: {
3472
+ url: string;
3473
+ date?: string | undefined;
3474
+ title?: string | undefined;
3475
+ snippet?: string | undefined;
3476
+ pdf_url?: string | undefined;
3477
+ }[] | undefined;
3478
+ assets?: {
3479
+ url: string;
3480
+ type?: string | undefined;
3481
+ public_url?: string | undefined;
3482
+ source?: string | undefined;
3483
+ }[] | undefined;
3484
+ fields?: {
3485
+ value: string;
3486
+ name: string;
3487
+ source?: string | undefined;
3488
+ tag?: string | undefined;
3489
+ locale?: string | undefined;
3490
+ }[] | undefined;
3491
+ keywords?: string[] | undefined;
3492
+ first_name?: string | undefined;
3493
+ last_name?: string | undefined;
3494
+ types?: string[] | undefined;
3495
+ entity_type?: string | undefined;
3496
+ last_updated_utc?: string | undefined;
3497
+ middle_name?: string | undefined;
3498
+ sources?: string[] | undefined;
3499
+ aka?: {
3500
+ name: string;
3501
+ }[] | undefined;
3502
+ associates?: {
3503
+ name: string;
3504
+ association?: string | undefined;
3505
+ }[] | undefined;
3506
+ source_notes?: Record<string, {
3507
+ name?: string | undefined;
3508
+ url?: string | undefined;
3509
+ country_codes?: string[] | undefined;
3510
+ aml_types?: string[] | undefined;
3511
+ listing_started_utc?: string | undefined;
3512
+ listing_ended_utc?: string | undefined;
3513
+ source_id?: string | undefined;
3514
+ }> | undefined;
3515
+ } & {
3516
+ [k: string]: unknown;
3517
+ };
3518
+ match_types: string[];
3519
+ score: number;
3520
+ match_status?: ComplyAdvantageStatus | undefined;
3521
+ is_whitelisted?: boolean | undefined;
3522
+ match_types_details?: any;
3523
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3524
+ }[];
3525
+ limit?: number | undefined;
3526
+ labels?: {
3527
+ value: string;
3528
+ type: string;
3529
+ name: string;
3530
+ }[] | undefined;
3531
+ tags?: any[] | Record<string, string> | undefined;
3532
+ offset?: number | undefined;
3533
+ assignee?: {
3534
+ id: number;
3535
+ email: string;
3536
+ name: string;
3537
+ created_at: string;
3538
+ phone: string | null;
3539
+ user_is_active?: boolean | undefined;
3540
+ } | undefined;
3541
+ client_ref?: string | undefined;
3542
+ search_profile?: {
3543
+ name: string;
3544
+ slug: string;
3545
+ } | undefined;
3546
+ filters?: {
3547
+ fuzziness?: number | undefined;
3548
+ types?: string[] | undefined;
3549
+ birth_year?: string | number | undefined;
3550
+ remove_deceased?: number | undefined;
3551
+ country_codes?: string[] | undefined;
3552
+ entity_type?: string | undefined;
3553
+ exact_match?: boolean | undefined;
3554
+ } | undefined;
3555
+ share_url?: string | undefined;
3556
+ submitted_term?: string | undefined;
3557
+ blacklist_filters?: {
3558
+ blacklist_ids: string[];
3559
+ } | undefined;
3560
+ total_blacklist_hits?: number | undefined;
3561
+ searcher?: {
3562
+ id: number;
3563
+ email: string;
3564
+ name: string;
3565
+ created_at: string;
3566
+ phone: string | null;
3567
+ user_is_active?: boolean | undefined;
3568
+ } | undefined;
3569
+ blacklist_hits?: any[] | undefined;
3570
+ };
3571
+ }, {
3572
+ data: {
3573
+ id: number;
3574
+ created_at: string;
3575
+ updated_at: string;
3576
+ match_status: ComplyAdvantageStatus;
3577
+ search_term: string;
3578
+ risk_level: "unknown" | "low" | "medium" | "high";
3579
+ ref: string;
3580
+ searcher_id: number;
3581
+ assignee_id: number;
3582
+ total_hits: number;
3583
+ total_matches: number;
3584
+ hits: {
3585
+ doc: {
3586
+ id: string;
3587
+ name: string;
3588
+ media?: {
3589
+ url: string;
3590
+ date?: string | undefined;
3591
+ title?: string | undefined;
3592
+ snippet?: string | undefined;
3593
+ pdf_url?: string | undefined;
3594
+ }[] | undefined;
3595
+ assets?: {
3596
+ url: string;
3597
+ type?: string | undefined;
3598
+ public_url?: string | undefined;
3599
+ source?: string | undefined;
3600
+ }[] | undefined;
3601
+ fields?: {
3602
+ value: string;
3603
+ name: string;
3604
+ source?: string | undefined;
3605
+ tag?: string | undefined;
3606
+ locale?: string | undefined;
3607
+ }[] | undefined;
3608
+ keywords?: string[] | undefined;
3609
+ first_name?: string | undefined;
3610
+ last_name?: string | undefined;
3611
+ types?: string[] | undefined;
3612
+ entity_type?: string | undefined;
3613
+ last_updated_utc?: string | undefined;
3614
+ middle_name?: string | undefined;
3615
+ sources?: string[] | undefined;
3616
+ aka?: {
3617
+ name: string;
3618
+ }[] | undefined;
3619
+ associates?: {
3620
+ name: string;
3621
+ association?: string | undefined;
3622
+ }[] | undefined;
3623
+ source_notes?: Record<string, {
3624
+ name?: string | undefined;
3625
+ url?: string | undefined;
3626
+ country_codes?: string[] | undefined;
3627
+ aml_types?: string[] | undefined;
3628
+ listing_started_utc?: string | undefined;
3629
+ listing_ended_utc?: string | undefined;
3630
+ source_id?: string | undefined;
3631
+ }> | undefined;
3632
+ } & {
3633
+ [k: string]: unknown;
3634
+ };
3635
+ match_types: string[];
3636
+ score: number;
3637
+ match_status?: ComplyAdvantageStatus | undefined;
3638
+ is_whitelisted?: boolean | undefined;
3639
+ match_types_details?: any;
3640
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3641
+ }[];
3642
+ limit?: number | undefined;
3643
+ labels?: {
3644
+ value: string;
3645
+ type: string;
3646
+ name: string;
3647
+ }[] | undefined;
3648
+ tags?: any[] | Record<string, string> | undefined;
3649
+ offset?: number | undefined;
3650
+ assignee?: {
3651
+ id: number;
3652
+ email: string;
3653
+ name: string;
3654
+ created_at: string;
3655
+ phone: string | null;
3656
+ user_is_active?: boolean | undefined;
3657
+ } | undefined;
3658
+ client_ref?: string | undefined;
3659
+ search_profile?: {
3660
+ name: string;
3661
+ slug: string;
3662
+ } | undefined;
3663
+ filters?: {
3664
+ fuzziness?: number | undefined;
3665
+ types?: string[] | undefined;
3666
+ birth_year?: string | number | undefined;
3667
+ remove_deceased?: number | undefined;
3668
+ country_codes?: string[] | undefined;
3669
+ entity_type?: string | undefined;
3670
+ exact_match?: boolean | undefined;
3671
+ } | undefined;
3672
+ share_url?: string | undefined;
3673
+ submitted_term?: string | undefined;
3674
+ blacklist_filters?: {
3675
+ blacklist_ids: string[];
3676
+ } | undefined;
3677
+ total_blacklist_hits?: number | undefined;
3678
+ searcher?: {
3679
+ id: number;
3680
+ email: string;
3681
+ name: string;
3682
+ created_at: string;
3683
+ phone: string | null;
3684
+ user_is_active?: boolean | undefined;
3685
+ } | undefined;
3686
+ blacklist_hits?: any[] | undefined;
3687
+ };
3688
+ }>;
3689
+ message: z.ZodOptional<z.ZodString>;
3690
+ }, "strip", z.ZodTypeAny, {
3691
+ code: number;
3692
+ status: "success" | "failure";
3693
+ content: {
3694
+ data: {
3695
+ id: number;
3696
+ created_at: string;
3697
+ updated_at: string;
3698
+ match_status: ComplyAdvantageStatus;
3699
+ search_term: string;
3700
+ risk_level: "unknown" | "low" | "medium" | "high";
3701
+ ref: string;
3702
+ searcher_id: number;
3703
+ assignee_id: number;
3704
+ total_hits: number;
3705
+ total_matches: number;
3706
+ hits: {
3707
+ doc: {
3708
+ id: string;
3709
+ name: string;
3710
+ media?: {
3711
+ url: string;
3712
+ date?: string | undefined;
3713
+ title?: string | undefined;
3714
+ snippet?: string | undefined;
3715
+ pdf_url?: string | undefined;
3716
+ }[] | undefined;
3717
+ assets?: {
3718
+ url: string;
3719
+ type?: string | undefined;
3720
+ public_url?: string | undefined;
3721
+ source?: string | undefined;
3722
+ }[] | undefined;
3723
+ fields?: {
3724
+ value: string;
3725
+ name: string;
3726
+ source?: string | undefined;
3727
+ tag?: string | undefined;
3728
+ locale?: string | undefined;
3729
+ }[] | undefined;
3730
+ keywords?: string[] | undefined;
3731
+ first_name?: string | undefined;
3732
+ last_name?: string | undefined;
3733
+ types?: string[] | undefined;
3734
+ entity_type?: string | undefined;
3735
+ last_updated_utc?: string | undefined;
3736
+ middle_name?: string | undefined;
3737
+ sources?: string[] | undefined;
3738
+ aka?: {
3739
+ name: string;
3740
+ }[] | undefined;
3741
+ associates?: {
3742
+ name: string;
3743
+ association?: string | undefined;
3744
+ }[] | undefined;
3745
+ source_notes?: Record<string, {
3746
+ name?: string | undefined;
3747
+ url?: string | undefined;
3748
+ country_codes?: string[] | undefined;
3749
+ aml_types?: string[] | undefined;
3750
+ listing_started_utc?: string | undefined;
3751
+ listing_ended_utc?: string | undefined;
3752
+ source_id?: string | undefined;
3753
+ }> | undefined;
3754
+ } & {
3755
+ [k: string]: unknown;
3756
+ };
3757
+ match_types: string[];
3758
+ score: number;
3759
+ match_status?: ComplyAdvantageStatus | undefined;
3760
+ is_whitelisted?: boolean | undefined;
3761
+ match_types_details?: any;
3762
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3763
+ }[];
3764
+ limit?: number | undefined;
3765
+ labels?: {
3766
+ value: string;
3767
+ type: string;
3768
+ name: string;
3769
+ }[] | undefined;
3770
+ tags?: any[] | Record<string, string> | undefined;
3771
+ offset?: number | undefined;
3772
+ assignee?: {
3773
+ id: number;
3774
+ email: string;
3775
+ name: string;
3776
+ created_at: string;
3777
+ phone: string | null;
3778
+ user_is_active?: boolean | undefined;
3779
+ } | undefined;
3780
+ client_ref?: string | undefined;
3781
+ search_profile?: {
3782
+ name: string;
3783
+ slug: string;
3784
+ } | undefined;
3785
+ filters?: {
3786
+ fuzziness?: number | undefined;
3787
+ types?: string[] | undefined;
3788
+ birth_year?: string | number | undefined;
3789
+ remove_deceased?: number | undefined;
3790
+ country_codes?: string[] | undefined;
3791
+ entity_type?: string | undefined;
3792
+ exact_match?: boolean | undefined;
3793
+ } | undefined;
3794
+ share_url?: string | undefined;
3795
+ submitted_term?: string | undefined;
3796
+ blacklist_filters?: {
3797
+ blacklist_ids: string[];
3798
+ } | undefined;
3799
+ total_blacklist_hits?: number | undefined;
3800
+ searcher?: {
3801
+ id: number;
3802
+ email: string;
3803
+ name: string;
3804
+ created_at: string;
3805
+ phone: string | null;
3806
+ user_is_active?: boolean | undefined;
3807
+ } | undefined;
3808
+ blacklist_hits?: any[] | undefined;
3809
+ };
3810
+ };
3811
+ message?: string | undefined;
3812
+ }, {
3813
+ code: number;
3814
+ status: "success" | "failure";
3815
+ content: {
3816
+ data: {
3817
+ id: number;
3818
+ created_at: string;
3819
+ updated_at: string;
3820
+ match_status: ComplyAdvantageStatus;
3821
+ search_term: string;
3822
+ risk_level: "unknown" | "low" | "medium" | "high";
3823
+ ref: string;
3824
+ searcher_id: number;
3825
+ assignee_id: number;
3826
+ total_hits: number;
3827
+ total_matches: number;
3828
+ hits: {
3829
+ doc: {
3830
+ id: string;
3831
+ name: string;
3832
+ media?: {
3833
+ url: string;
3834
+ date?: string | undefined;
3835
+ title?: string | undefined;
3836
+ snippet?: string | undefined;
3837
+ pdf_url?: string | undefined;
3838
+ }[] | undefined;
3839
+ assets?: {
3840
+ url: string;
3841
+ type?: string | undefined;
3842
+ public_url?: string | undefined;
3843
+ source?: string | undefined;
3844
+ }[] | undefined;
3845
+ fields?: {
3846
+ value: string;
3847
+ name: string;
3848
+ source?: string | undefined;
3849
+ tag?: string | undefined;
3850
+ locale?: string | undefined;
3851
+ }[] | undefined;
3852
+ keywords?: string[] | undefined;
3853
+ first_name?: string | undefined;
3854
+ last_name?: string | undefined;
3855
+ types?: string[] | undefined;
3856
+ entity_type?: string | undefined;
3857
+ last_updated_utc?: string | undefined;
3858
+ middle_name?: string | undefined;
3859
+ sources?: string[] | undefined;
3860
+ aka?: {
3861
+ name: string;
3862
+ }[] | undefined;
3863
+ associates?: {
3864
+ name: string;
3865
+ association?: string | undefined;
3866
+ }[] | undefined;
3867
+ source_notes?: Record<string, {
3868
+ name?: string | undefined;
3869
+ url?: string | undefined;
3870
+ country_codes?: string[] | undefined;
3871
+ aml_types?: string[] | undefined;
3872
+ listing_started_utc?: string | undefined;
3873
+ listing_ended_utc?: string | undefined;
3874
+ source_id?: string | undefined;
3875
+ }> | undefined;
3876
+ } & {
3877
+ [k: string]: unknown;
3878
+ };
3879
+ match_types: string[];
3880
+ score: number;
3881
+ match_status?: ComplyAdvantageStatus | undefined;
3882
+ is_whitelisted?: boolean | undefined;
3883
+ match_types_details?: any;
3884
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3885
+ }[];
3886
+ limit?: number | undefined;
3887
+ labels?: {
3888
+ value: string;
3889
+ type: string;
3890
+ name: string;
3891
+ }[] | undefined;
3892
+ tags?: any[] | Record<string, string> | undefined;
3893
+ offset?: number | undefined;
3894
+ assignee?: {
3895
+ id: number;
3896
+ email: string;
3897
+ name: string;
3898
+ created_at: string;
3899
+ phone: string | null;
3900
+ user_is_active?: boolean | undefined;
3901
+ } | undefined;
3902
+ client_ref?: string | undefined;
3903
+ search_profile?: {
3904
+ name: string;
3905
+ slug: string;
3906
+ } | undefined;
3907
+ filters?: {
3908
+ fuzziness?: number | undefined;
3909
+ types?: string[] | undefined;
3910
+ birth_year?: string | number | undefined;
3911
+ remove_deceased?: number | undefined;
3912
+ country_codes?: string[] | undefined;
3913
+ entity_type?: string | undefined;
3914
+ exact_match?: boolean | undefined;
3915
+ } | undefined;
3916
+ share_url?: string | undefined;
3917
+ submitted_term?: string | undefined;
3918
+ blacklist_filters?: {
3919
+ blacklist_ids: string[];
3920
+ } | undefined;
3921
+ total_blacklist_hits?: number | undefined;
3922
+ searcher?: {
3923
+ id: number;
3924
+ email: string;
3925
+ name: string;
3926
+ created_at: string;
3927
+ phone: string | null;
3928
+ user_is_active?: boolean | undefined;
3929
+ } | undefined;
3930
+ blacklist_hits?: any[] | undefined;
3931
+ };
3932
+ };
3933
+ message?: string | undefined;
3934
+ }>;
3935
+ export type GetSearchDetailsResponse = z.infer<typeof GetSearchDetailsResponseSchema>;
3936
+ /**
3937
+ * PATCH /searches/{ref} - Update search request
3938
+ * @see https://docs.complyadvantage.com/api-docs/#patch-searchesid
3939
+ */
3940
+ export declare const UpdateSearchRequestSchema: z.ZodObject<{
3941
+ match_status: z.ZodOptional<z.ZodNativeEnum<typeof ComplyAdvantageStatus>>;
3942
+ risk_level: z.ZodOptional<z.ZodEnum<["low", "medium", "high", "unknown"]>>;
3943
+ assignee_id: z.ZodOptional<z.ZodNumber>;
3944
+ limit: z.ZodOptional<z.ZodNumber>;
3945
+ tags: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodString>, z.ZodArray<z.ZodAny, "many">]>>;
3946
+ }, "strip", z.ZodTypeAny, {
3947
+ limit?: number | undefined;
3948
+ tags?: any[] | Record<string, string> | undefined;
3949
+ match_status?: ComplyAdvantageStatus | undefined;
3950
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3951
+ assignee_id?: number | undefined;
3952
+ }, {
3953
+ limit?: number | undefined;
3954
+ tags?: any[] | Record<string, string> | undefined;
3955
+ match_status?: ComplyAdvantageStatus | undefined;
3956
+ risk_level?: "unknown" | "low" | "medium" | "high" | undefined;
3957
+ assignee_id?: number | undefined;
3958
+ }>;
3959
+ export type UpdateSearchRequest = z.infer<typeof UpdateSearchRequestSchema>;