Skip to content

Commit 4feacf9

Browse files
committed
[Librarian] Regenerated @ 1baa147fbfa3bf2798f86ec43796ef1df42570d4 a3170b07f36450c6d179edf9b044cbf5f6b94e3a
1 parent 1244ce7 commit 4feacf9

File tree

126 files changed

+6759
-3434
lines changed

Some content is hidden

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

126 files changed

+6759
-3434
lines changed

CHANGES.md

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

4+
[2024-05-24] Version 10.2.0
5+
---------------------------
6+
**Library - Docs**
7+
- [PR #792](https://github.com/twilio/twilio-java/pull/792): added json examples. Thanks to [@sbansla](https://github.com/sbansla)!
8+
9+
**Library - Chore**
10+
- [PR #796](https://github.com/twilio/twilio-java/pull/796): adding variant class. Thanks to [@sbansla](https://github.com/sbansla)!
11+
- [PR #794](https://github.com/twilio/twilio-java/pull/794): Update pom.xml. Thanks to [@tiwarishubham635](https://github.com/tiwarishubham635)!
12+
13+
**Api**
14+
- Add ie1 as supported region for UserDefinedMessage and UserDefinedMessageSubscription.
15+
16+
**Flex**
17+
- Adding validated field to `plugin_versions`
18+
- Corrected the data type for `runtime_domain`, `call_recording_webhook_url`, `crm_callback_url`, `crm_fallback_url`, `flex_url` in Flex Configuration
19+
- Making `routing` optional in Create Interactions endpoint
20+
21+
**Intelligence**
22+
- Expose operator authoring apis to public visibility
23+
- Deleted `language_code` parameter from updating service in v2 **(breaking change)**
24+
- Add read_only_attached_operator_sids to v2 services
25+
26+
**Numbers**
27+
- Add API endpoint for GET Porting Webhook Configurations By Account SID
28+
- Remove bulk portability api under version `/v1`. **(breaking change)**
29+
- Removed porting_port_in_fetch.json files and move the content into porting_port_in.json files
30+
- Add API endpoint to deleting Webhook Configurations
31+
- Add Get Phone Number by Port in request SID and Phone Number SID api
32+
- Add Create Porting webhook configuration API
33+
- Added bundle_sid and losing_carrier_information fields to Create PortInRequest api to support Japan porting
34+
35+
**Taskrouter**
36+
- Add back `routing_target` property to tasks
37+
- Add back `ignore_capacity` property to tasks
38+
- Removing `routing_target` property to tasks due to revert
39+
- Removing `ignore_capacity` property to tasks due to revert
40+
- Add `routing_target` property to tasks
41+
- Add `ignore_capacity` property to tasks
42+
43+
**Trusthub**
44+
- Add new field errors to bundle as part of public API response in customer_profile.json and trust_product.json **(breaking change)**
45+
- Add themeSetId field in compliance_tollfree_inquiry.
46+
47+
**Verify**
48+
- Update `friendly_name` description on service docs
49+
50+
451
[2024-04-18] Version 10.1.5
552
---------------------------
653
**Library - Chore**

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public enum Domains {
2424
INTELLIGENCE("intelligence"),
2525
IPMESSAGING("ip-messaging"),
2626
LOOKUPS("lookups"),
27-
PREVIEWMESSAGING("preview.messaging"),
2827
MESSAGING("messaging"),
2928
MICROVISOR("microvisor"),
3029
MONITOR("monitor"),

src/main/java/com/twilio/rest/api/v2010/account/Call.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -179,26 +179,6 @@ public static Call fromJson(
179179
}
180180
}
181181

182-
public enum UpdateStatus {
183-
CANCELED("canceled"),
184-
COMPLETED("completed");
185-
186-
private final String value;
187-
188-
private UpdateStatus(final String value) {
189-
this.value = value;
190-
}
191-
192-
public String toString() {
193-
return value;
194-
}
195-
196-
@JsonCreator
197-
public static UpdateStatus forValue(final String value) {
198-
return Promoter.enumFromString(value, UpdateStatus.values());
199-
}
200-
}
201-
202182
private final String sid;
203183
private final ZonedDateTime dateCreated;
204184
private final ZonedDateTime dateUpdated;
@@ -466,6 +446,26 @@ public int hashCode() {
466446
);
467447
}
468448

449+
public enum UpdateStatus {
450+
CANCELED("canceled"),
451+
COMPLETED("completed");
452+
453+
private final String value;
454+
455+
private UpdateStatus(final String value) {
456+
this.value = value;
457+
}
458+
459+
public String toString() {
460+
return value;
461+
}
462+
463+
@JsonCreator
464+
public static UpdateStatus forValue(final String value) {
465+
return Promoter.enumFromString(value, UpdateStatus.values());
466+
}
467+
}
468+
469469
public enum Status {
470470
QUEUED("queued"),
471471
RINGING("ringing"),

src/main/java/com/twilio/rest/api/v2010/account/Conference.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,25 +113,6 @@ public static Conference fromJson(
113113
}
114114
}
115115

116-
public enum UpdateStatus {
117-
COMPLETED("completed");
118-
119-
private final String value;
120-
121-
private UpdateStatus(final String value) {
122-
this.value = value;
123-
}
124-
125-
public String toString() {
126-
return value;
127-
}
128-
129-
@JsonCreator
130-
public static UpdateStatus forValue(final String value) {
131-
return Promoter.enumFromString(value, UpdateStatus.values());
132-
}
133-
}
134-
135116
private final String accountSid;
136117
private final ZonedDateTime dateCreated;
137118
private final ZonedDateTime dateUpdated;
@@ -331,4 +312,23 @@ public static Status forValue(final String value) {
331312
return Promoter.enumFromString(value, Status.values());
332313
}
333314
}
315+
316+
public enum UpdateStatus {
317+
COMPLETED("completed");
318+
319+
private final String value;
320+
321+
private UpdateStatus(final String value) {
322+
this.value = value;
323+
}
324+
325+
public String toString() {
326+
return value;
327+
}
328+
329+
@JsonCreator
330+
public static UpdateStatus forValue(final String value) {
331+
return Promoter.enumFromString(value, UpdateStatus.values());
332+
}
333+
}
334334
}

src/main/java/com/twilio/rest/api/v2010/account/IncomingPhoneNumber.java

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -506,26 +506,6 @@ public int hashCode() {
506506
);
507507
}
508508

509-
public enum VoiceReceiveMode {
510-
VOICE("voice"),
511-
FAX("fax");
512-
513-
private final String value;
514-
515-
private VoiceReceiveMode(final String value) {
516-
this.value = value;
517-
}
518-
519-
public String toString() {
520-
return value;
521-
}
522-
523-
@JsonCreator
524-
public static VoiceReceiveMode forValue(final String value) {
525-
return Promoter.enumFromString(value, VoiceReceiveMode.values());
526-
}
527-
}
528-
529509
public enum AddressRequirement {
530510
NONE("none"),
531511
ANY("any"),
@@ -568,6 +548,26 @@ public static EmergencyStatus forValue(final String value) {
568548
}
569549
}
570550

551+
public enum VoiceReceiveMode {
552+
VOICE("voice"),
553+
FAX("fax");
554+
555+
private final String value;
556+
557+
private VoiceReceiveMode(final String value) {
558+
this.value = value;
559+
}
560+
561+
public String toString() {
562+
return value;
563+
}
564+
565+
@JsonCreator
566+
public static VoiceReceiveMode forValue(final String value) {
567+
return Promoter.enumFromString(value, VoiceReceiveMode.values());
568+
}
569+
}
570+
571571
public enum EmergencyAddressStatus {
572572
REGISTERED("registered"),
573573
UNREGISTERED("unregistered"),

0 commit comments

Comments
 (0)