peopledatalabs-js
peopledatalabs-js copied to clipboard
Add matched type in PersonEnrichmentResponse interface
Description of the change
- Update the PersonEnrichmentResponse interface by adding "matched" type, because person enrichment api returns matched array of strings when passed a param 'include_if_matched: true' and it's type was not proper in the sdk and I was unable to destructure "matched" or use it like response.matched in typescript.
https://docs.peopledatalabs.com/docs/output-response-person-enrichment-api#matched
Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
- [ ] Chore (cleanup or minor QOL tweak that has little to no impact on functionality)
- [ ] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)