Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite56aa28

Browse files
committed
[Librarian] Regenerated @ 39bbd47c92a659f8a7464cedcc75b92c7ba69773 f51169e3becf53bb375f9c7413aec0c78fe78fcc
1 parentf7de801 commite56aa28

File tree

5 files changed

+50
-34
lines changed

5 files changed

+50
-34
lines changed

‎CHANGES.md

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

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

6+
[2025-07-10] Version 9.6.5
7+
--------------------------
8+
**Library - Fix**
9+
-[PR#874](https://github.com/twilio/twilio-python/pull/874): delete non existing import in rest/preview. Thanks to[@lopenchi](https://github.com/lopenchi)!
10+
11+
**Flex**
12+
- update team name for web_channel, webchat_init_token, webchat_refresh_token
13+
14+
615
[2025-07-03] Version 9.6.4
716
--------------------------
817
**Library - Chore**

‎twilio/rest/lookups/v2/lookup_override.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class LookupOverrideInstance(InstanceResource):
2525

2626
classOverridesRequest(object):
2727
"""
28-
:ivar line_type:
29-
:ivar reason:
28+
:ivar line_type: The new line type to override the original line type
29+
:ivar reason: The reason for the override
3030
"""
3131

3232
def__init__(self,payload:Dict[str,Any]):
@@ -43,12 +43,12 @@ def to_dict(self):
4343
}
4444

4545
"""
46-
:ivar phone_number:
47-
:ivar original_line_type:
48-
:ivar overridden_line_type:
46+
:ivar phone_number:The phone number for which the override was created
47+
:ivar original_line_type:The original line type
48+
:ivar overridden_line_type:The new line type after the override
4949
:ivar override_reason: The reason for the override
5050
:ivar override_timestamp:
51-
:ivar overridden_by_account_sid: The user whooverrode theline type
51+
:ivar overridden_by_account_sid: TheAccount SID for theuser whomade theoverride
5252
:ivar code: Twilio-specific error code
5353
:ivar message: Error message
5454
:ivar more_info: Link to Error Code References
@@ -217,8 +217,8 @@ class LookupOverrideContext(InstanceContext):
217217

218218
classOverridesRequest(object):
219219
"""
220-
:ivar line_type:
221-
:ivar reason:
220+
:ivar line_type: The new line type to override the original line type
221+
:ivar reason: The reason for the override
222222
"""
223223

224224
def__init__(self,payload:Dict[str,Any]):
@@ -451,8 +451,8 @@ class LookupOverrideList(ListResource):
451451

452452
classOverridesRequest(object):
453453
"""
454-
:ivar line_type:
455-
:ivar reason:
454+
:ivar line_type: The new line type to override the original line type
455+
:ivar reason: The reason for the override
456456
"""
457457

458458
def__init__(self,payload:Dict[str,Any]):

‎twilio/rest/numbers/v1/__init__.py

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
fromtwilio.rest.numbers.v1.porting_webhook_configuration_deleteimport (
2929
PortingWebhookConfigurationDeleteList,
3030
)
31+
fromtwilio.rest.numbers.v1.porting_webhook_configuration_fetchimport (
32+
PortingWebhookConfigurationFetchList,
33+
)
3134
fromtwilio.rest.numbers.v1.signing_request_configurationimport (
3235
SigningRequestConfigurationList,
3336
)
34-
fromtwilio.rest.numbers.v1.webhookimportWebhookList
3537

3638

3739
classV1(Version):
@@ -56,10 +58,12 @@ def __init__(self, domain: Domain):
5658
self._porting_webhook_configurations_delete:Optional[
5759
PortingWebhookConfigurationDeleteList
5860
]=None
61+
self._porting_webhook_configuration_fetch:Optional[
62+
PortingWebhookConfigurationFetchList
63+
]=None
5964
self._signing_request_configurations:Optional[
6065
SigningRequestConfigurationList
6166
]=None
62-
self._webhook:Optional[WebhookList]=None
6367

6468
@property
6569
defbulk_eligibilities(self)->BulkEligibilityList:
@@ -107,18 +111,22 @@ def porting_webhook_configurations_delete(
107111
)
108112
returnself._porting_webhook_configurations_delete
109113

114+
@property
115+
defporting_webhook_configuration_fetch(
116+
self,
117+
)->PortingWebhookConfigurationFetchList:
118+
ifself._porting_webhook_configuration_fetchisNone:
119+
self._porting_webhook_configuration_fetch= (
120+
PortingWebhookConfigurationFetchList(self)
121+
)
122+
returnself._porting_webhook_configuration_fetch
123+
110124
@property
111125
defsigning_request_configurations(self)->SigningRequestConfigurationList:
112126
ifself._signing_request_configurationsisNone:
113127
self._signing_request_configurations=SigningRequestConfigurationList(self)
114128
returnself._signing_request_configurations
115129

116-
@property
117-
defwebhook(self)->WebhookList:
118-
ifself._webhookisNone:
119-
self._webhook=WebhookList(self)
120-
returnself._webhook
121-
122130
def__repr__(self)->str:
123131
"""
124132
Provide a friendly representation

‎twilio/rest/numbers/v1/webhook.pyrenamed to ‎twilio/rest/numbers/v1/porting_webhook_configuration_fetch.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
fromtwilio.base.versionimportVersion
2222

2323

24-
classWebhookInstance(InstanceResource):
24+
classPortingWebhookConfigurationFetchInstance(InstanceResource):
2525
"""
2626
:ivar url: The URL of the webhook configuration request
2727
:ivar port_in_target_url: The complete webhook url that will be called when a notification event for port in request or port in phone number happens
@@ -52,14 +52,14 @@ def __repr__(self) -> str:
5252
:returns: Machine friendly representation
5353
"""
5454

55-
return"<Twilio.Numbers.V1.WebhookInstance>"
55+
return"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchInstance>"
5656

5757

58-
classWebhookList(ListResource):
58+
classPortingWebhookConfigurationFetchList(ListResource):
5959

6060
def__init__(self,version:Version):
6161
"""
62-
Initialize theWebhookList
62+
Initialize thePortingWebhookConfigurationFetchList
6363
6464
:param version: Version that contains the resource
6565
@@ -68,27 +68,27 @@ def __init__(self, version: Version):
6868

6969
self._uri="/Porting/Configuration/Webhook"
7070

71-
deffetch(self)->WebhookInstance:
71+
deffetch(self)->PortingWebhookConfigurationFetchInstance:
7272
"""
73-
Asynchronously fetch theWebhookInstance
73+
Asynchronously fetch thePortingWebhookConfigurationFetchInstance
7474
7575
76-
:returns: The fetchedWebhookInstance
76+
:returns: The fetchedPortingWebhookConfigurationFetchInstance
7777
"""
7878
headers=values.of({"Content-Type":"application/x-www-form-urlencoded"})
7979

8080
headers["Accept"]="application/json"
8181

8282
payload=self._version.fetch(method="GET",uri=self._uri,headers=headers)
8383

84-
returnWebhookInstance(self._version,payload)
84+
returnPortingWebhookConfigurationFetchInstance(self._version,payload)
8585

86-
asyncdeffetch_async(self)->WebhookInstance:
86+
asyncdeffetch_async(self)->PortingWebhookConfigurationFetchInstance:
8787
"""
88-
Asynchronously fetch theWebhookInstance
88+
Asynchronously fetch thePortingWebhookConfigurationFetchInstance
8989
9090
91-
:returns: The fetchedWebhookInstance
91+
:returns: The fetchedPortingWebhookConfigurationFetchInstance
9292
"""
9393
headers=values.of({"Content-Type":"application/x-www-form-urlencoded"})
9494

@@ -98,12 +98,12 @@ async def fetch_async(self) -> WebhookInstance:
9898
method="GET",uri=self._uri,headers=headers
9999
)
100100

101-
returnWebhookInstance(self._version,payload)
101+
returnPortingWebhookConfigurationFetchInstance(self._version,payload)
102102

103103
def__repr__(self)->str:
104104
"""
105105
Provide a friendly representation
106106
107107
:returns: Machine friendly representation
108108
"""
109-
return"<Twilio.Numbers.V1.WebhookList>"
109+
return"<Twilio.Numbers.V1.PortingWebhookConfigurationFetchList>"

‎twilio/rest/video/v1/room/transcriptions.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
classTranscriptionsInstance(InstanceResource):
2626

2727
classStatus(object):
28-
CREATED="created"
2928
STARTED="started"
3029
STOPPED="stopped"
3130
FAILED="failed"
@@ -35,13 +34,13 @@ class Status(object):
3534
:ivar account_sid: The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Room resource.
3635
:ivar room_sid: The SID of the transcriptions's room.
3736
:ivar status:
38-
:ivar identity: The application-defined string that uniquely identifies the resource's User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info.
3937
:ivar date_created: The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4038
:ivar date_updated: The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
4139
:ivar start_time: The time of transcriptions connected to the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
4240
:ivar end_time: The time when the transcriptions disconnected from the room in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#UTC) format.
4341
:ivar duration: The duration in seconds that the transcriptions were `connected`. Populated only after the transcriptions is `stopped`.
4442
:ivar url: The absolute URL of the resource.
43+
:ivar configuration: An JSON object that describes the video layout of the composition in terms of regions. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info.
4544
"""
4645

4746
def__init__(
@@ -57,7 +56,6 @@ def __init__(
5756
self.account_sid:Optional[str]=payload.get("account_sid")
5857
self.room_sid:Optional[str]=payload.get("room_sid")
5958
self.status:Optional["TranscriptionsInstance.Status"]=payload.get("status")
60-
self.identity:Optional[str]=payload.get("identity")
6159
self.date_created:Optional[datetime]=deserialize.iso8601_datetime(
6260
payload.get("date_created")
6361
)
@@ -72,6 +70,7 @@ def __init__(
7270
)
7371
self.duration:Optional[int]=deserialize.integer(payload.get("duration"))
7472
self.url:Optional[str]=payload.get("url")
73+
self.configuration:Optional[Dict[str,object]]=payload.get("configuration")
7574

7675
self._solution= {
7776
"room_sid":room_sid,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp