8000 [Librarian] Regenerated @ 24dcf52b3ba6769ea21d08329aa544a79742b6c2 · twilio/twilio-java@ddf9c6f · GitHub
[go: up one dir, main page]

Skip to content

Commit ddf9c6f

Browse files
committed
[Librarian] Regenerated @ 24dcf52b3ba6769ea21d08329aa544a79742b6c2
1 parent 1c40974 commit ddf9c6f

18 files changed

+107
-1487
lines changed

CHANGES.md

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

4+
[2023-11-17] Version 9.14.2
5+
---------------------------
6+
**Api**
7+
- Update documentation to reflect RiskCheck GA
8+
9+
**Messaging**
10+
- Add tollfree edit_allowed and edit_reason fields
11+
- Update Phone Number, Short Code, Alpha Sender, US A2P and Channel Sender documentation
12+
13+
**Taskrouter**
14+
- Add container attribute to task_queue_bulk_real_time_statistics endpoint
15+
16+
**Trusthub**
17+
- Rename did to tollfree_phone_number in compliance_tollfree_inquiry.json
18+
- Add new optional field notification_email to compliance_tollfree_inquiry.json
19+
20+
**Verify**
21+
- Add `Tags` optional parameter on Verification creation.
22+
23+
424
[2023-11-06] Version 9.14.1
525
---------------------------
626
**Flex**

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public enum Domains {
3131
MONITOR("monitor"),
3232
NOTIFY("notify"),
3333
NUMBERS("numbers"),
34-
OAUTH("oauth"),
3534
PREVIEW("preview"),
3635
PRICING("pricing"),
3736
PROXY("proxy"),

src/main/java/com/twilio/rest/messaging/v1/TollfreeVerification.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
@ToString
4141
public class TollfreeVerification extends Resource {
4242

43-
private static final long serialVersionUID = 58037728146886L;
43+
private static final long serialVersionUID = 166300127143413L;
4444

4545
public static TollfreeVerificationCreator creator(
4646
final String businessName,
@@ -205,6 +205,7 @@ public static Status forValue(final String value) {
205205
private final String rejectionReason;
206206
private final Integer errorCode;
207207
private final ZonedDateTime editExpiration;
208+
private final Boolean editAllowed;
208209
private final Map<String, Object> resourceLinks;
209210
private final String externalReferenceId;
210211

@@ -267,6 +268,7 @@ private TollfreeVerification(
267268
@JsonProperty("rejection_reason") final String rejectionReason,
268269
@JsonProperty("error_code") final Integer errorCode,
269270
@JsonProperty("edit_expiration") final String editExpiration,
271+
@JsonProperty("edit_allowed") final Boolean editAllowed,
270272
@JsonProperty("resource_links") final Map<String, Object> resourceLinks,
271273
@JsonProperty("external_reference_id") final String externalReferenceId
272274
) {
@@ -304,6 +306,7 @@ private TollfreeVerification(
304306
this.errorCode = errorCode;
305307
this.editExpiration =
306308
DateConverter.iso8601DateTimeFromString(editExpiration);
309+
this.editAllowed = editAllowed;
307310
this.resourceLinks = resourceLinks;
308311
this.externalReferenceId = externalReferenceId;
309312
}
@@ -440,6 +443,10 @@ public final ZonedDateTime getEditExpiration() {
440443
return this.editExpiration;
441444
}
442445

446+
public final Boolean getEditAllowed() {
447+
return this.editAllowed;
448+
}
449+
443450
public final Map<String, Object> getResourceLinks() {
444451
return this.resourceLinks;
445452
}
@@ -518,6 +525,7 @@ public boolean equals(final Object o) {
518525
Objects.equals(rejectionReason, other.rejectionReason) &&
519526
Objects.equals(errorCode, other.errorCode) &&
520527
Objects.equals(editExpiration, other.editExpiration) &&
528+
Objects.equals(editAllowed, other.editAllowed) &&
521529
Objects.equals(resourceLinks, other.resourceLinks) &&
522530
Objects.equals(externalReferenceId, other.externalReferenceId)
523531
);
@@ -559,6 +567,7 @@ public int hashCode() {
559567
rejectionReason,
560568
errorCode,
561569
editExpiration,
570+
editAllowed,
562571
resourceLinks,
563572
externalReferenceId
564573
);

src/main/java/com/twilio/rest/messaging/v1/TollfreeVerificationUpdater.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public class TollfreeVerificationUpdater extends Updater<TollfreeVerification> {
5050
private String businessContactLastName;
5151
private String businessContactEmail;
5252
private com.twilio.type.PhoneNumber businessContactPhone;
53+
private String editReason;
5354

5455
public TollfreeVerificationUpdater(final String pathSid) {
5556
this.pathSid = pathSid;
@@ -215,6 +216,11 @@ public TollfreeVerificationUpdater setBusinessContactPhone(
215216
);
216217
}
217218

219+
public TollfreeVerificationUpdater setEditReason(final String editReason) {
220+
this.editReason = editReason;
221+
return this;
222+
}
223+
218224
@Override
219225
public TollfreeVerification update(final TwilioRestClient client) {
220226
String path = "/v1/Tollfree/Verifications/{Sid}";
@@ -342,5 +348,8 @@ private void addPostParams(final Request request) {
342348
businessContactPhone.toString()
343349
);
344350
}
351+
if (editReason != null) {
352+
request.addPostParam("EditReason", editReason);
353+
}
345354
}
346355
}

src/main/java/com/twilio/rest/oauth/v1/DeviceCode.java

Lines changed: 0 additions & 175 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0