Skip to content

Commit 88d9b75

Browse files
committed
[Librarian] Regenerated @ 40ca64a22aef42a337cb49d1d4e4c4f48ae3b6e4 21ed5806eff8cf1f0967ad30bdc57d2a59e703cb
1 parent a3ea20d commit 88d9b75

240 files changed

Lines changed: 2634 additions & 1840 deletions

File tree

Some content is hidden

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

CHANGES.md

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

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

6+
[2026-04-14] Version 9.10.5
7+
---------------------------
8+
**Twiml**
9+
- Add `backgroundNoiseReduction`, `speechTimeout`, `deepgramSmartFormat`, `ignoreBackchannel`, `events` attributes to `<ConversationRelay>`
10+
11+
**Api**
12+
- Enabled incoming phone numbers(IPN) public apis in stage-ie1
13+
14+
**Data-ingress**
15+
- ## 2026-04-09
16+
- **Content updates**:
17+
- Added parameter(s) to `GetDataSync`: datasetId
18+
- ## 2026-04-09
19+
- Minor updates (formatting, metadata)
20+
- ## 2026-04-06
21+
- Minor updates (formatting, metadata)
22+
- ## 2026-04-06
23+
- Minor updates (formatting, metadata)
24+
- ## 2026-04-06
25+
- Minor updates (formatting, metadata)
26+
- ## 2026-04-06
27+
- Minor updates (formatting, metadata)
28+
- ## 2026-04-06
29+
- **Content updates**:
30+
- Added properties to `CloudAppSourceUpdate`: config
31+
- Added properties to `CloudAppDatasetUpdate`: schedule
32+
- Added properties to `WarehouseSourceUpdate`: config
33+
- Added properties to `WarehouseDatasetUpdate`: schedule
34+
- ## 2026-04-06
35+
- **Content updates**:
36+
- Updated description for `GetCloudAppPreviewResult`
37+
- Updated description for `GetWarehousePreviewResult`
38+
- Updated description for `GetDataSampleResult`
39+
- ## 2026-03-27
40+
- Add schema oneOf back without discriminator
41+
- ## 2026-03-26
42+
- Minor updates (formatting, metadata)
43+
- ## 2026-03-26
44+
- Added prod-us1 to supportedRealms for all endpoints
45+
- ## 2026-03-25
46+
- Minor updates (formatting, metadata)
47+
- ## 2026-03-24
48+
- Minor updates (formatting, metadata)
49+
- ## 2026-03-24
50+
- Minor updates (formatting, metadata)
51+
- ## 2026-03-24
52+
- Minor updates (formatting, metadata)
53+
- ## 2026-03-24
54+
- **Added 10 new path(s)**:
55+
- `/v1/DataSyncs` (ListDataSyncs, TriggerDataSync)
56+
- `/v1/DataSyncs/{SyncId}` (GetDataSync)
57+
- `/v1/CloudAppSources/{SourceId}/Objects` (ListCloudAppObjects)
58+
- `/v1/CloudAppSources/{SourceId}/Objects/{Name}/Properties` (ListCloudAppObjectProperties)
59+
- `/v1/CloudAppSources/{SourceId}/Objects/{Name}/Preview` (PreviewCloudAppObjectData)
60+
- `/v1/CloudAppSources/{SourceId}/Objects/{Name}/Preview/{OperationId}` (GetCloudAppPreviewResult)
61+
- `/v1/WarehouseSources/{SourceId}/Preview` (PreviewWarehouseData)
62+
- `/v1/WarehouseSources/{SourceId}/Preview/{OperationId}` (GetWarehousePreviewResult)
63+
- `/v1/DataSample` (TriggerDataSample)
64+
- `/v1/DataSample/{OperationId}` (GetDataSampleResult)
65+
- ## 2026-03-24
66+
- Minor updates (formatting, metadata)
67+
- ## 2026-03-24
68+
- Use `explode: true` for query params when getting by ids and limit max items to 25
69+
- Make schema description for `Schema` more specific by using oneOf without discriminator for now.
70+
71+
**Insights**
72+
- Added Insights Domains endpoints under `/v3/InsightsDomains/*` (Query + Metadata) to provide a versioned, GA-ready namespace alongside existing `/preview` endpoints.
73+
74+
**Mcp**
75+
- # API Changes
76+
- ## 2026-04-07
77+
- **Added 1 new path(s)**:
78+
- `/v1/docs` (InvokeDocsMcp)
79+
80+
**Memory**
81+
- ## 2026-04-09
82+
- **Removed 2 path(s)**:
83+
- `/v1/Stores/{storeId}/Profiles/Import` (ListProfileImports, CreateProfilesImport)
84+
- `/v1/Stores/{storeId}/Profiles/Import/{importId}` (FetchProfileImport)
85+
- libraryVisibility: private, docsVisibility: private
86+
- ## 2026-04-08
87+
- **Content updates**:
88+
- Added 301 response for `GetProfile` and `GetProfileTraits`
89+
- Added canonical ID header to response for `GetProfile` and `GetProfileTraits`
90+
- Add 308 response for `PatchProfile`
91+
- ## 2026-04-07
92+
- Added `AGENT` and `UNKNOWN` values to `ParticipantType` enum
93+
- ## 2026-04-06
94+
- **Content updates**:
95+
- Added async operation support to `UpdateTraitGroup` 202 response (Operation-Id, Location, Retry-After headers; statusUrl in body)
96+
- Added async operation support to `CreateDataMapping`, `UpdateDataMapping`, `DeleteDataMapping` 202 responses (Operation-Id, Location, Retry-After headers; statusUrl in body)
97+
- ## 2026-03-30
98+
- **Content updates**:
99+
- Updated description for `FetchProfileMemory`
100+
- ## 2026-03-27
101+
- **Content updates**:
102+
- Updated schema description for `TraitGroupCore`
103+
- ## 2026-03-25
104+
- **Content updates**:
105+
- Removed properties from `TraitDefinition`: displayName
106+
- ## 2026-03-25
107+
- **Content updates**:
108+
- Updated description for `UpdateProfileTraits`
109+
- Updated description for `FetchIdentityResolutionSettings`
110+
- Updated description for `UpdateIdentityResolutionSettings`
111+
- Updated schema description for `IdentityResolutionSettingsCore`
112+
- Updated schema description for `TraitGroupCore`
113+
- Made all fields besides `idType` optional w/ defaults for schema `IdentifierConfig`
114+
- ## 2026-03-24
115+
- **Content updates**:
116+
- Added properties to `OperationStatus`: result
117+
118+
6119
[2026-03-24] Version 9.10.4
7120
---------------------------
8121
**Data-ingress**

twilio/rest/__init__.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from twilio.rest.conversations import Conversations
2424
from twilio.rest.events import Events
2525
from twilio.rest.flex_api import FlexApi
26-
from twilio.rest.flex_api import FlexApi
2726
from twilio.rest.frontline_api import FrontlineApi
2827
from twilio.rest.preview_iam import PreviewIam
2928
from twilio.rest.iam import Iam
@@ -138,7 +137,6 @@ def __init__(
138137
self._conversations: Optional["Conversations"] = None
139138
self._events: Optional["Events"] = None
140139
self._flex_api: Optional["FlexApi"] = None
141-
self._flex_api: Optional["FlexApi"] = None
142140
self._frontline_api: Optional["FrontlineApi"] = None
143141
self._preview_iam: Optional["PreviewIam"] = None
144142
self._iam: Optional["Iam"] = None
@@ -287,19 +285,6 @@ def flex_api(self) -> "FlexApi":
287285
self._flex_api = FlexApi(self)
288286
return self._flex_api
289287

290-
@property
291-
def flex_api(self) -> "FlexApi":
292-
"""
293-
Access the FlexApi Twilio Domain
294-
295-
:returns: FlexApi Twilio Domain
296-
"""
297-
if self._flex_api is None:
298-
from twilio.rest.flex_api import FlexApi
299-
300-
self._flex_api = FlexApi(self)
301-
return self._flex_api
302-
303288
@property
304289
def frontline_api(self) -> "FrontlineApi":
305290
"""

twilio/rest/api/v2010/account/address/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@ def page(
14741474
response = self._version.page(
14751475
method="GET", uri=self._uri, params=data, headers=headers
14761476
)
1477-
return AddressPage(self._version, response, self._solution)
1477+
return AddressPage(self._version, response, solution=self._solution)
14781478

14791479
async def page_async(
14801480
self,
@@ -1519,7 +1519,7 @@ async def page_async(
15191519
response = await self._version.page_async(
15201520
method="GET", uri=self._uri, params=data, headers=headers
15211521
)
1522-
return AddressPage(self._version, response, self._solution)
1522+
return AddressPage(self._version, response, solution=self._solution)
15231523

15241524
def page_with_http_info(
15251525
self,
@@ -1564,7 +1564,7 @@ def page_with_http_info(
15641564
response, status_code, response_headers = self._version.page_with_response_info(
15651565
method="GET", uri=self._uri, params=data, headers=headers
15661566
)
1567-
page = AddressPage(self._version, response, self._solution)
1567+
page = AddressPage(self._version, response, solution=self._solution)
15681568
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
15691569

15701570
async def page_with_http_info_async(
@@ -1612,7 +1612,7 @@ async def page_with_http_info_async(
16121612
method="GET", uri=self._uri, params=data, headers=headers
16131613
)
16141614
)
1615-
page = AddressPage(self._version, response, self._solution)
1615+
page = AddressPage(self._version, response, solution=self._solution)
16161616
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
16171617

16181618
def get_page(self, target_url: str) -> AddressPage:
@@ -1625,7 +1625,7 @@ def get_page(self, target_url: str) -> AddressPage:
16251625
:returns: Page of AddressInstance
16261626
"""
16271627
response = self._version.domain.twilio.request("GET", target_url)
1628-
return AddressPage(self._version, response, self._solution)
1628+
return AddressPage(self._version, response, solution=self._solution)
16291629

16301630
async def get_page_async(self, target_url: str) -> AddressPage:
16311631
"""
@@ -1637,7 +1637,7 @@ async def get_page_async(self, target_url: str) -> AddressPage:
16371637
:returns: Page of AddressInstance
16381638
"""
16391639
response = await self._version.domain.twilio.request_async("GET", target_url)
1640-
return AddressPage(self._version, response, self._solution)
1640+
return AddressPage(self._version, response, solution=self._solution)
16411641

16421642
def get(self, sid: str) -> AddressContext:
16431643
"""

twilio/rest/api/v2010/account/address/dependent_phone_number.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,9 @@ def page(
407407
response = self._version.page(
408408
method="GET", uri=self._uri, params=data, headers=headers
409409
)
410-
return DependentPhoneNumberPage(self._version, response, self._solution)
410+
return DependentPhoneNumberPage(
411+
self._version, response, solution=self._solution
412+
)
411413

412414
async def page_async(
413415
self,
@@ -440,7 +442,9 @@ async def page_async(
440442
response = await self._version.page_async(
441443
method="GET", uri=self._uri, params=data, headers=headers
442444
)
443-
return DependentPhoneNumberPage(self._version, response, self._solution)
445+
return DependentPhoneNumberPage(
446+
self._version, response, solution=self._solution
447+
)
444448

445449
def page_with_http_info(
446450
self,
@@ -473,7 +477,9 @@ def page_with_http_info(
473477
response, status_code, response_headers = self._version.page_with_response_info(
474478
method="GET", uri=self._uri, params=data, headers=headers
475479
)
476-
page = DependentPhoneNumberPage(self._version, response, self._solution)
480+
page = DependentPhoneNumberPage(
481+
self._version, response, solution=self._solution
482+
)
477483
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
478484

479485
async def page_with_http_info_async(
@@ -509,7 +515,9 @@ async def page_with_http_info_async(
509515
method="GET", uri=self._uri, params=data, headers=headers
510516
)
511517
)
512-
page = DependentPhoneNumberPage(self._version, response, self._solution)
518+
page = DependentPhoneNumberPage(
519+
self._version, response, solution=self._solution
520+
)
513521
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
514522

515523
def get_page(self, target_url: str) -> DependentPhoneNumberPage:
@@ -522,7 +530,9 @@ def get_page(self, target_url: str) -> DependentPhoneNumberPage:
522530
:returns: Page of DependentPhoneNumberInstance
523531
"""
524532
response = self._version.domain.twilio.request("GET", target_url)
525-
return DependentPhoneNumberPage(self._version, response, self._solution)
533+
return DependentPhoneNumberPage(
534+
self._version, response, solution=self._solution
535+
)
526536

527537
async def get_page_async(self, target_url: str) -> DependentPhoneNumberPage:
528538
"""
@@ -534,7 +544,9 @@ async def get_page_async(self, target_url: str) -> DependentPhoneNumberPage:
534544
:returns: Page of DependentPhoneNumberInstance
535545
"""
536546
response = await self._version.domain.twilio.request_async("GET", target_url)
537-
return DependentPhoneNumberPage(self._version, response, self._solution)
547+
return DependentPhoneNumberPage(
548+
self._version, response, solution=self._solution
549+
)
538550

539551
def __repr__(self) -> str:
540552
"""

twilio/rest/api/v2010/account/application.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ def page(
16881688
response = self._version.page(
16891689
method="GET", uri=self._uri, params=data, headers=headers
16901690
)
1691-
return ApplicationPage(self._version, response, self._solution)
1691+
return ApplicationPage(self._version, response, solution=self._solution)
16921692

16931693
async def page_async(
16941694
self,
@@ -1724,7 +1724,7 @@ async def page_async(
17241724
response = await self._version.page_async(
17251725
method="GET", uri=self._uri, params=data, headers=headers
17261726
)
1727-
return ApplicationPage(self._version, response, self._solution)
1727+
return ApplicationPage(self._version, response, solution=self._solution)
17281728

17291729
def page_with_http_info(
17301730
self,
@@ -1760,7 +1760,7 @@ def page_with_http_info(
17601760
response, status_code, response_headers = self._version.page_with_response_info(
17611761
method="GET", uri=self._uri, params=data, headers=headers
17621762
)
1763-
page = ApplicationPage(self._version, response, self._solution)
1763+
page = ApplicationPage(self._version, response, solution=self._solution)
17641764
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
17651765

17661766
async def page_with_http_info_async(
@@ -1799,7 +1799,7 @@ async def page_with_http_info_async(
17991799
method="GET", uri=self._uri, params=data, headers=headers
18001800
)
18011801
)
1802-
page = ApplicationPage(self._version, response, self._solution)
1802+
page = ApplicationPage(self._version, response, solution=self._solution)
18031803
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
18041804

18051805
def get_page(self, target_url: str) -> ApplicationPage:
@@ -1812,7 +1812,7 @@ def get_page(self, target_url: str) -> ApplicationPage:
18121812
:returns: Page of ApplicationInstance
18131813
"""
18141814
response = self._version.domain.twilio.request("GET", target_url)
1815-
return ApplicationPage(self._version, response, self._solution)
1815+
return ApplicationPage(self._version, response, solution=self._solution)
18161816

18171817
async def get_page_async(self, target_url: str) -> ApplicationPage:
18181818
"""
@@ -1824,7 +1824,7 @@ async def get_page_async(self, target_url: str) -> ApplicationPage:
18241824
:returns: Page of ApplicationInstance
18251825
"""
18261826
response = await self._version.domain.twilio.request_async("GET", target_url)
1827-
return ApplicationPage(self._version, response, self._solution)
1827+
return ApplicationPage(self._version, response, solution=self._solution)
18281828

18291829
def get(self, sid: str) -> ApplicationContext:
18301830
"""

twilio/rest/api/v2010/account/authorized_connect_app.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,9 @@ def page(
535535
response = self._version.page(
536536
method="GET", uri=self._uri, params=data, headers=headers
537537
)
538-
return AuthorizedConnectAppPage(self._version, response, self._solution)
538+
return AuthorizedConnectAppPage(
539+
self._version, response, solution=self._solution
540+
)
539541

540542
async def page_async(
541543
self,
@@ -568,7 +570,9 @@ async def page_async(
568570
response = await self._version.page_async(
569571
method="GET", uri=self._uri, params=data, headers=headers
570572
)
571-
return AuthorizedConnectAppPage(self._version, response, self._solution)
573+
return AuthorizedConnectAppPage(
574+
self._version, response, solution=self._solution
575+
)
572576

573577
def page_with_http_info(
574578
self,
@@ -601,7 +605,9 @@ def page_with_http_info(
601605
response, status_code, response_headers = self._version.page_with_response_info(
602606
method="GET", uri=self._uri, params=data, headers=headers
603607
)
604-
page = AuthorizedConnectAppPage(self._version, response, self._solution)
608+
page = AuthorizedConnectAppPage(
609+
self._version, response, solution=self._solution
610+
)
605611
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
606612

607613
async def page_with_http_info_async(
@@ -637,7 +643,9 @@ async def page_with_http_info_async(
637643
method="GET", uri=self._uri, params=data, headers=headers
638644
)
639645
)
640-
page = AuthorizedConnectAppPage(self._version, response, self._solution)
646+
page = AuthorizedConnectAppPage(
647+
self._version, response, solution=self._solution
648+
)
641649
return ApiResponse(data=page, status_code=status_code, headers=response_headers)
642650

643651
def get_page(self, target_url: str) -> AuthorizedConnectAppPage:
@@ -650,7 +658,9 @@ def get_page(self, target_url: str) -> AuthorizedConnectAppPage:
650658
:returns: Page of AuthorizedConnectAppInstance
651659
"""
652660
response = self._version.domain.twilio.request("GET", target_url)
653-
return AuthorizedConnectAppPage(self._version, response, self._solution)
661+
return AuthorizedConnectAppPage(
662+
self._version, response, solution=self._solution
663+
)
654664

655665
async def get_page_async(self, target_url: str) -> AuthorizedConnectAppPage:
656666
"""
@@ -662,7 +672,9 @@ async def get_page_async(self, target_url: str) -> AuthorizedConnectAppPage:
662672
:returns: Page of AuthorizedConnectAppInstance
663673
"""
664674
response = await self._version.domain.twilio.request_async("GET", target_url)
665-
return AuthorizedConnectAppPage(self._version, response, self._solution)
675+
return AuthorizedConnectAppPage(
676+
self._version, response, solution=self._solution
677+
)
666678

667679
def get(self, connect_app_sid: str) -> AuthorizedConnectAppContext:
668680
"""

0 commit comments

Comments
 (0)