Skip to content

Commit 23e5c7b

Browse files
committed
[Librarian] Regenerated @ 704aff1023a3b44d7f87c78c70595552749ad55c
1 parent 1d0d15a commit 23e5c7b

File tree

1,503 files changed

+18684
-6436
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,503 files changed

+18684
-6436
lines changed

CHANGES.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
twilio-java changelog
22
=====================
33

4+
[2024-01-25] Version 9.16.0
5+
---------------------------
6+
**Oauth**
7+
- updated openid discovery endpoint uri **(breaking change)**
8+
- Added device code authorization endpoint
9+
- added oauth JWKS endpoint
10+
- Get userinfo resource
11+
- OpenID discovery resource
12+
- Add new API for token endpoint
13+
14+
415
[2024-01-14] Version 9.15.1
516
---------------------------
617
**Push**

src/main/java/com/twilio/Domains.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
public enum Domains {
1414
ACCOUNTS("accounts"),
1515
API("api"),
16+
AUTOPILOT("autopilot"),
1617
BULKEXPORTS("bulkexports"),
1718
CHAT("chat"),
1819
CONTENT("content"),
@@ -30,6 +31,7 @@ public enum Domains {
3031
MONITOR("monitor"),
3132
NOTIFY("notify"),
3233
NUMBERS("numbers"),
34+
OAUTH("oauth"),
3335
PREVIEW("preview"),
3436
PRICING("pricing"),
3537
PROXY("proxy"),

src/main/java/com/twilio/rest/accounts/v1/AuthTokenPromotionUpdater.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ public AuthTokenPromotion update(final TwilioRestClient client) {
4848
client.getObjectMapper()
4949
);
5050
if (restException == null) {
51-
throw new ApiException(
52-
"Server Error, no content",
53-
response.getStatusCode()
54-
);
51+
throw new ApiException("Server Error, no content");
5552
}
5653
throw new ApiException(restException);
5754
}

src/main/java/com/twilio/rest/accounts/v1/SafelistCreator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@ public Safelist create(final TwilioRestClient client) {
6666
client.getObjectMapper()
6767
);
6868
if (restException == null) {
69-
throw new ApiException(
70-
"Server Error, no content",
71-
response.getStatusCode()
72-
);
69+
throw new ApiException("Server Error, no content");
7370
}
7471
throw new ApiException(restException);
7572
}

src/main/java/com/twilio/rest/accounts/v1/SafelistDeleter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ public boolean delete(final TwilioRestClient client) {
5757
client.getObjectMapper()
5858
);
5959
if (restException == null) {
60-
throw new ApiException(
61-
"Server Error, no content",
62-
response.getStatusCode()
63-
);
60+
throw new ApiException("Server Error, no content");
6461
}
6562
throw new ApiException(restException);
6663
}

src/main/java/com/twilio/rest/accounts/v1/SafelistFetcher.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,7 @@ public Safelist fetch(final TwilioRestClient client) {
5757
client.getObjectMapper()
5858
);
5959
if (restException == null) {
60-
throw new ApiException(
61-
"Server Error, no content",
62-
response.getStatusCode()
63-
);
60+
throw new ApiException("Server Error, no content");
6461
}
6562
throw new ApiException(restException);
6663
}

src/main/java/com/twilio/rest/accounts/v1/SecondaryAuthTokenCreator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ public SecondaryAuthToken create(final TwilioRestClient client) {
4848
client.getObjectMapper()
4949
);
5050
if (restException == null) {
51-
throw new ApiException(
52-
"Server Error, no content",
53-
response.getStatusCode()
54-
);
51+
throw new ApiException("Server Error, no content");
5552
}
5653
throw new ApiException(restException);
5754
}

src/main/java/com/twilio/rest/accounts/v1/SecondaryAuthTokenDeleter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ public boolean delete(final TwilioRestClient client) {
4949
client.getObjectMapper()
5050
);
5151
if (restException == null) {
52-
throw new ApiException(
53-
"Server Error, no content",
54-
response.getStatusCode()
55-
);
52+
throw new ApiException("Server Error, no content");
5653
}
5754
throw new ApiException(restException);
5855
}

src/main/java/com/twilio/rest/accounts/v1/credential/AwsCreator.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,7 @@ public Aws create(final TwilioRestClient client) {
7878
client.getObjectMapper()
7979
);
8080
if (restException == null) {
81-
throw new ApiException(
82-
"Server Error, no content",
83-
response.getStatusCode()
84-
);
81+
throw new ApiException("Server Error, no content");
8582
}
8683
throw new ApiException(restException);
8784
}

src/main/java/com/twilio/rest/accounts/v1/credential/AwsDeleter.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,7 @@ public boolean delete(final TwilioRestClient client) {
5555
client.getObjectMapper()
5656
);
5757
if (restException == null) {
58-
throw new ApiException(
59-
"Server Error, no content",
60-
response.getStatusCode()
61-
);
58+
throw new ApiException("Server Error, no content");
6259
}
6360
throw new ApiException(restException);
6461
}

0 commit comments

Comments
 (0)