Vonage / vonage-java-sdk

Vonage Server SDK for Java. API support for SMS, Messages, Voice, Text-to-Speech, Numbers, Verify (2FA), Video and more.
https://developer.vonage.com/en/home
Apache License 2.0
95 stars 119 forks source link

feat: Add Number Insight v2 #507

Closed SMadani closed 6 months ago

SMadani commented 6 months ago

Implements NI v2 spec.

codecov-commenter commented 6 months ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@80ab245). Click here to learn what that means. The diff coverage is 100.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #507 +/- ## ======================================= Coverage ? 94.26% Complexity ? 2892 ======================================= Files ? 426 Lines ? 6919 Branches ? 449 ======================================= Hits ? 6522 Misses ? 204 Partials ? 193 ``` | [Files](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage) | Coverage Δ | | |---|---|---| | [src/main/java/com/vonage/client/VonageClient.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9Wb25hZ2VDbGllbnQuamF2YQ==) | `98.91% <100.00%> (ø)` | | | [...onage/client/numberinsight2/FraudCheckRequest.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9GcmF1ZENoZWNrUmVxdWVzdC5qYXZh) | `100.00% <100.00%> (ø)` | | | [...nage/client/numberinsight2/FraudCheckResponse.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9GcmF1ZENoZWNrUmVzcG9uc2UuamF2YQ==) | `100.00% <100.00%> (ø)` | | | [...a/com/vonage/client/numberinsight2/FraudScore.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9GcmF1ZFNjb3JlLmphdmE=) | `100.00% <100.00%> (ø)` | | | [...vonage/client/numberinsight2/FraudScoreStatus.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9GcmF1ZFNjb3JlU3RhdHVzLmphdmE=) | `100.00% <100.00%> (ø)` | | | [...java/com/vonage/client/numberinsight2/Insight.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9JbnNpZ2h0LmphdmE=) | `100.00% <100.00%> (ø)` | | | [...ge/client/numberinsight2/NumberInsight2Client.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9OdW1iZXJJbnNpZ2h0MkNsaWVudC5qYXZh) | `100.00% <100.00%> (ø)` | | | [...umberinsight2/NumberInsight2ResponseException.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9OdW1iZXJJbnNpZ2h0MlJlc3BvbnNlRXhjZXB0aW9uLmphdmE=) | `100.00% <100.00%> (ø)` | | | [...n/java/com/vonage/client/numberinsight2/Phone.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9QaG9uZS5qYXZh) | `100.00% <100.00%> (ø)` | | | [...va/com/vonage/client/numberinsight2/PhoneType.java](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage#diff-c3JjL21haW4vamF2YS9jb20vdm9uYWdlL2NsaWVudC9udW1iZXJpbnNpZ2h0Mi9QaG9uZVR5cGUuamF2YQ==) | `100.00% <100.00%> (ø)` | | | ... and [4 more](https://app.codecov.io/gh/Vonage/vonage-java-sdk/pull/507?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Vonage) | |