Skip to content

Commit 1e66bd2

Browse files
Pull request #23: Removed Contact method in PhoneId class
Merge in SDK/java_telesign_enterprise from feature/EOA2050 to developer Squashed commit of the following: commit 7d3abf3dd2b34853b10ef1fe670260934cd52cc3 Author: Juan Camilo Martinez <jmartinez@telesign.com> Date: Tue Jul 22 08:29:18 2025 -0500 update version commit a7b2f023ff79902bfd5494ad81bb408a36ffa1e0 Author: Juan Camilo Martinez <jmartinez@telesign.com> Date: Thu Jul 17 11:51:39 2025 -0500 Remove path commit d8a69b0ecf71bb7512f03bb2eaeff614a4b6c3e9 Author: Juan Camilo Martinez <jmartinez@telesign.com> Date: Thu Jul 17 09:14:27 2025 -0500 Removed Contact method in PhoneId class commit 802c672 Merge: d557bbc 3538624 Author: Juan Camilo Martinez <jmartinez@telesign.com> Date: Tue Jul 15 17:37:06 2025 +0000 Pull request #22: Adjust deployment process Merge in SDK/java_telesign_enterprise from developer to master * commit '3538624bb22c6bb0164bb166d4ab4a316ed47566': Pull request #18: Fix merge to main Pull request #17: Feature/EOA4086 Pull request #18: Fix merge to main Pull request #17: Feature/EOA4086 Pull request #15: Added methods to get information about a specified phone number
1 parent 3538624 commit 1e66bd2

4 files changed

Lines changed: 6 additions & 21 deletions

File tree

RELEASE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
3.0.0
2+
- Removed Contact method in PhoneId class.
3+
14
2.6.1
25
- Adjust deployment process
36

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group 'com.telesign.enterprise'
9-
version '2.6.1'
9+
version '3.0.0'
1010

1111
sourceCompatibility = JavaVersion.VERSION_1_8
1212
targetCompatibility = JavaVersion.VERSION_1_8
@@ -80,7 +80,7 @@ publishing {
8080

8181
groupId = 'com.telesign.enterprise'
8282
artifactId = 'telesignenterprise'
83-
version = '2.6.1'
83+
version = '3.0.0'
8484

8585
pom {
8686
name = 'TeleSign Enterprise SDK'

src/main/java/com/telesign/enterprise/PhoneIdClient.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public class PhoneIdClient extends com.telesign.PhoneIdClient {
1919
private static final String PHONEID_RESOURCE = "/v1/phoneid";
2020
private static final String PHONEID_STANDARD_RESOURCE = PHONEID_RESOURCE + "/standard/%s";
2121
private static final String PHONEID_SCORE_RESOURCE = PHONEID_RESOURCE + "/score/%s";
22-
private static final String PHONEID_CONTACT_RESOURCE = PHONEID_RESOURCE + "/contact/%s";
2322
private static final String PHONEID_LIVE_RESOURCE = PHONEID_RESOURCE + "/live/%s";
2423
private static final String PHONEID_NUMBER_DEACTIVATION_RESOURCE = PHONEID_RESOURCE + "/number_deactivation/%s";
2524
private static final String PHONEID_GET_INFO_RESOURCE = PHONEID_RESOURCE + "/%s";
@@ -79,23 +78,6 @@ public TelesignResponse score(String phoneNumber, String ucid, Map<String, Strin
7978
return this.get(String.format(PHONEID_SCORE_RESOURCE, phoneNumber), params);
8079
}
8180

82-
/**
83-
* The PhoneID Contact API delivers contact information related to the subscriber's phone number to provide another
84-
* set of indicators for established risk engines.
85-
* <p>
86-
* See https://developer.telesign.com/docs/rest_api-phoneid-contact for detailed API documentation.
87-
*/
88-
public TelesignResponse contact(String phoneNumber, String ucid, Map<String, String> params) throws IOException, GeneralSecurityException {
89-
90-
if (params == null) {
91-
params = new HashMap<>();
92-
}
93-
94-
params.put("ucid", ucid);
95-
96-
return this.get(String.format(PHONEID_CONTACT_RESOURCE, phoneNumber), params);
97-
}
98-
9981
/**
10082
* The PhoneID Live API delivers insights such as whether a phone is active or disconnected, a device is reachable
10183
* or unreachable and its roaming status.

src/test/java/com/telesign/enterprise/PhoneIdClientTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public void testPhoneIdStandardWithOriginatingIp() throws Exception {
133133
RecordedRequest request = this.mockServer.takeRequest(1, TimeUnit.SECONDS);
134134

135135
assertEquals("method is not as expected", "GET", request.getMethod());
136-
assertEquals("path is not as expected", "/v1/phoneid/standard/18005555555", request.getPath());
136+
assertEquals("path is not as expected", "/v1/phoneid/standard/18005555555?originating_ip=127.0.0.1", request.getPath());
137137
assertEquals("body is not as expected", "",
138138
request.getBody().readUtf8());
139139
assertEquals("Content-Type header is not as expected", "",

0 commit comments

Comments
 (0)