Skip to content

Commit

Permalink
[Librarian] Regenerated @ 51e40434baa37a97b298d416220c6de10d9698c4 1a…
Browse files Browse the repository at this point in the history
…c2fcf2e173acdee4491031f59034933467a82c
  • Loading branch information
twilio-dx committed Nov 15, 2024
1 parent 4f71098 commit 0b1c013
Show file tree
Hide file tree
Showing 17 changed files with 156 additions and 130 deletions.
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
twilio-java changelog
=====================

[2024-11-15] Version 10.6.3
---------------------------
**Api**
- Added `ivr-virtual-agent-custom-voices` and `ivr-virtual-agent-genai` to `usage_record` API.
- Add open-api file tag to realtime_transcriptions

**Taskrouter**
- Add `api-tag` property to workers reservation
- Add `api-tag` property to task reservation


[2024-10-24] Version 10.6.2
---------------------------
**Library - Fix**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
44 changes: 23 additions & 21 deletions src/main/java/com/twilio/rest/api/v2010/account/usage/Trigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,27 @@ public int hashCode() {
);
}

public enum TriggerField {
COUNT("count"),
USAGE("usage"),
PRICE("price");

private final String value;

private TriggerField(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static TriggerField forValue(final String value) {
return Promoter.enumFromString(value, TriggerField.values());
}
}

public enum UsageCategory {
A2P_REGISTRATION_FEES("a2p-registration-fees"),
AGENT_CONFERENCE("agent-conference"),
Expand Down Expand Up @@ -372,6 +393,8 @@ public enum UsageCategory {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down Expand Up @@ -685,27 +708,6 @@ public static UsageCategory forValue(final String value) {
}
}

public enum TriggerField {
COUNT("count"),
USAGE("usage"),
PRICE("price");

private final String value;

private TriggerField(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static TriggerField forValue(final String value) {
return Promoter.enumFromString(value, TriggerField.values());
}
}

public enum Recurring {
DAILY("daily"),
MONTHLY("monthly"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,8 @@ public enum Category {
GROUP_ROOMS_PARTICIPANT_MINUTES("group-rooms-participant-minutes"),
GROUP_ROOMS_RECORDED_MINUTES("group-rooms-recorded-minutes"),
IMP_V1_USAGE("imp-v1-usage"),
IVR_VIRTUAL_AGENT_CUSTOM_VOICES("ivr-virtual-agent-custom-voices"),
IVR_VIRTUAL_AGENT_GENAI("ivr-virtual-agent-genai"),
LOOKUPS("lookups"),
MARKETPLACE("marketplace"),
MARKETPLACE_ALGORITHMIA_NAMED_ENTITY_RECOGNITION(
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/twilio/rest/content/v1/Content.java
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,8 @@ public enum CallToActionActionType {
URL("URL"),
PHONE_NUMBER("PHONE_NUMBER"),
COPY_CODE("COPY_CODE"),
VOICE_CALL("VOICE_CALL");
VOICE_CALL("VOICE_CALL"),
VOICE_CALL_REQUEST("VOICE_CALL_REQUEST");

private final String value;

Expand Down
53 changes: 27 additions & 26 deletions src/main/java/com/twilio/rest/insights/v1/Conference.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,31 +374,6 @@ public static ConferenceEndReason forValue(final String value) {
}
}

public enum Region {
US1("us1"),
AU1("au1"),
BR1("br1"),
IE1("ie1"),
JP1("jp1"),
SG1("sg1"),
DE1("de1");

private final String value;

private Region(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static Region forValue(final String value) {
return Promoter.enumFromString(value, Region.values());
}
}

public enum Tag {
INVALID_REQUESTED_REGION("invalid_requested_region"),
DUPLICATE_IDENTITY("duplicate_identity"),
Expand All @@ -410,7 +385,8 @@ public enum Tag {
HIGH_JITTER("high_jitter"),
HIGH_LATENCY("high_latency"),
LOW_MOS("low_mos"),
DETECTED_SILENCE("detected_silence");
DETECTED_SILENCE("detected_silence"),
NO_CONCURRENT_PARTICIPANTS("no_concurrent_participants");

private final String value;

Expand All @@ -428,6 +404,31 @@ public static Tag forValue(final String value) {
}
}

public enum Region {
US1("us1"),
AU1("au1"),
BR1("br1"),
IE1("ie1"),
JP1("jp1"),
SG1("sg1"),
DE1("de1");

private final String value;

private Region(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static Region forValue(final String value) {
return Promoter.enumFromString(value, Region.values());
}
}

public enum ProcessingState {
COMPLETE("complete"),
IN_PROGRESS("in_progress"),
Expand Down
47 changes: 25 additions & 22 deletions src/main/java/com/twilio/rest/insights/v1/Room.java
Original file line number Diff line number Diff line change
Expand Up @@ -425,27 +425,6 @@ public static ProcessingState forValue(final String value) {
}
}

public enum Codec {
VP8("VP8"),
H264("H264"),
VP9("VP9");

private final String value;

private Codec(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static Codec forValue(final String value) {
return Promoter.enumFromString(value, Codec.values());
}
}

public enum TwilioRealm {
US1("us1"),
US2("us2"),
Expand All @@ -456,7 +435,9 @@ public enum TwilioRealm {
SG1("sg1"),
IN1("in1"),
DE1("de1"),
GLL("gll");
GLL("gll"),
STAGE_US1("stage_us1"),
DEV_US1("dev_us1");

private final String value;

Expand Down Expand Up @@ -496,6 +477,28 @@ public static RoomType forValue(final String value) {
}
}

public enum Codec {
VP8("VP8"),
H264("H264"),
VP9("VP9"),
OPUS("opus");

private final String value;

private Codec(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static Codec forValue(final String value) {
return Promoter.enumFromString(value, Codec.values());
}
}

public enum RoomStatus {
IN_PROGRESS("in_progress"),
COMPLETED("completed");
Expand Down
61 changes: 32 additions & 29 deletions src/main/java/com/twilio/rest/insights/v1/room/Participant.java
Original file line number Diff line number Diff line change
Expand Up @@ -299,38 +299,11 @@ public static RoomStatus forValue(final String value) {
}
}

public enum TwilioRealm {
US1("us1"),
US2("us2"),
AU1("au1"),
BR1("br1"),
IE1("ie1"),
JP1("jp1"),
SG1("sg1"),
IN1("in1"),
DE1("de1"),
GLL("gll");

private final String value;

private TwilioRealm(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static TwilioRealm forValue(final String value) {
return Promoter.enumFromString(value, TwilioRealm.values());
}
}

public enum Codec {
VP8("VP8"),
H264("H264"),
VP9("VP9");
VP9("VP9"),
OPUS("opus");

private final String value;

Expand Down Expand Up @@ -374,4 +347,34 @@ public static EdgeLocation forValue(final String value) {
return Promoter.enumFromString(value, EdgeLocation.values());
}
}

public enum TwilioRealm {
US1("us1"),
US2("us2"),
AU1("au1"),
BR1("br1"),
IE1("ie1"),
JP1("jp1"),
SG1("sg1"),
IN1("in1"),
DE1("de1"),
GLL("gll"),
STAGE_US1("stage_us1"),
DEV_US1("dev_us1");

private final String value;

private TwilioRealm(final String value) {
this.value = value;
}

public String toString() {
return value;
}

@JsonCreator
public static TwilioRealm forValue(final String value) {
return Promoter.enumFromString(value, TwilioRealm.values());
}
}
}
Loading

0 comments on commit 0b1c013

Please sign in to comment.