Skip to content

Commit 12912c6

Browse files
committed
[Librarian] Regenerated @ a264875856b0343f622eafc05d7b82d1a272cd01 36d9907dbca3a7fad889a93ed011b406aae575ec
1 parent c024773 commit 12912c6

File tree

11 files changed

+45
-19
lines changed

11 files changed

+45
-19
lines changed

CHANGES.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,28 @@ twilio-python Changelog
33

44
Here you can see the full list of changes between each twilio-python release.
55

6+
[2025-10-28] Version 9.8.5
7+
--------------------------
8+
**Ai**
9+
- Add `error` as possible transcript status
10+
- Add `error` as possible transcript status
11+
12+
**Chat**
13+
- Updated v2 UserChannel `channel_status` from `not_participating` to `notParticipating`
14+
15+
**Intelligence**
16+
- Make intelligence work with RestProxy
17+
- Add additional enums to better represent the possible states
18+
- Add `error` enum to transcription status to better align with possible outputs
19+
- Add `json` output type to text classification
20+
21+
**Trusthub**
22+
- Remove required parameter Primary Profile Sid from compliance_inquiry and compliance_inquiry_individual
23+
24+
**Accounts**
25+
- Add Messaging GeoPermissions API changes
26+
27+
628
[2025-10-14] Version 9.8.4
729
--------------------------
830
**Library - Chore**

twilio/rest/chat/v2/service/user/user_channel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class UserChannelInstance(InstanceResource):
2727
class ChannelStatus(object):
2828
JOINED = "joined"
2929
INVITED = "invited"
30-
NOT_PARTICIPATING = "not_participating"
30+
NOTPARTICIPATING = "notParticipating"
3131

3232
class NotificationLevel(object):
3333
DEFAULT = "default"

twilio/rest/flex_api/v1/interaction/interaction_channel/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class ChannelStatus(object):
3939
CLOSED = "closed"
4040
INACTIVE = "inactive"
4141
PAUSE = "pause"
42+
TRANSFER = "transfer"
4243

4344
class Type(object):
4445
VOICE = "voice"

twilio/rest/intelligence/v2/custom_operator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class Availability(object):
2929
BETA = "beta"
3030
PUBLIC = "public"
3131
RETIRED = "retired"
32+
GENERAL_AVAILABILITY = "general-availability"
33+
DEPRECATED = "deprecated"
3234

3335
"""
3436
:ivar account_sid: The unique SID identifier of the Account the Custom Operator belongs to.

twilio/rest/intelligence/v2/operator.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ class Availability(object):
2828
INTERNAL = "internal"
2929
BETA = "beta"
3030
PUBLIC = "public"
31+
DEPRECATED = "deprecated"
32+
GENERAL_AVAILABILITY = "general-availability"
3133
RETIRED = "retired"
3234

3335
"""

twilio/rest/intelligence/v2/operator_type.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ class OutputType(object):
3636
TEXT_EXTRACTION = "text-extraction"
3737
TEXT_EXTRACTION_NORMALIZED = "text-extraction-normalized"
3838
TEXT_GENERATION = "text-generation"
39+
JSON = "json"
3940

4041
class Provider(object):
4142
TWILIO = "twilio"

twilio/rest/intelligence/v2/prebuilt_operator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class Availability(object):
2929
BETA = "beta"
3030
PUBLIC = "public"
3131
RETIRED = "retired"
32+
GENERAL_AVAILABILITY = "general-availability"
3233

3334
"""
3435
:ivar account_sid: The unique SID identifier of the Account the Pre-built Operator belongs to.

twilio/rest/intelligence/v2/transcript/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class Status(object):
3939
COMPLETED = "completed"
4040
FAILED = "failed"
4141
CANCELED = "canceled"
42+
ERROR = "error"
4243

4344
"""
4445
:ivar account_sid: The unique SID identifier of the Account.

twilio/rest/intelligence/v2/transcript/operator_result.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@
2424
class OperatorResultInstance(InstanceResource):
2525

2626
class OperatorType(object):
27-
CONVERSATION_CLASSIFY = "conversation_classify"
28-
UTTERANCE_CLASSIFY = "utterance_classify"
27+
CONVERSATION_CLASSIFY = "conversation-classify"
28+
UTTERANCE_CLASSIFY = "utterance-classify"
2929
EXTRACT = "extract"
30-
EXTRACT_NORMALIZE = "extract_normalize"
31-
PII_EXTRACT = "pii_extract"
32-
TEXT_GENERATION = "text_generation"
30+
EXTRACT_NORMALIZE = "extract-normalize"
31+
PII_EXTRACT = "pii-extract"
32+
TEXT_GENERATION = "text-generation"
3333
JSON = "json"
3434

3535
"""

twilio/rest/intelligence/v2/transcript/sentence.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,11 @@ def __init__(self, version: Version, payload: Dict[str, Any], transcript_sid: st
4242
self.sentence_index: Optional[int] = deserialize.integer(
4343
payload.get("sentence_index")
4444
)
45-
self.start_time: Optional[float] = deserialize.decimal(
46-
payload.get("start_time")
47-
)
48-
self.end_time: Optional[float] = deserialize.decimal(payload.get("end_time"))
45+
self.start_time: Optional[str] = payload.get("start_time")
46+
self.end_time: Optional[str] = payload.get("end_time")
4947
self.transcript: Optional[str] = payload.get("transcript")
5048
self.sid: Optional[str] = payload.get("sid")
51-
self.confidence: Optional[float] = deserialize.decimal(
52-
payload.get("confidence")
53-
)
49+
self.confidence: Optional[str] = payload.get("confidence")
5450
self.words: Optional[List[Dict[str, object]]] = payload.get("words")
5551

5652
self._solution = {

0 commit comments

Comments
 (0)