Skip to content

Commit eba3466

Browse files
authored
[Librarian] Regenerated @ f443c9dfa233e41d0e61c9ed6ca2b162467a08b5 89762bc866ded0b2ca596431610a8ad4bc2b215c (#951)
[Librarian] Regenerated @ f443c9dfa233e41d0e61c9ed6ca2b162467a08b5 89762bc866ded0b2ca596431610a8ad4bc2b215c
1 parent fbdfe4e commit eba3466

95 files changed

Lines changed: 10659 additions & 11122 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: 228 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,234 @@ twilio-python Changelog
33

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

6+
[2026-08-11] Version 9.11.0
7+
---------------------------
8+
**Library - Fix**
9+
- [PR #929](https://github.com/twilio/twilio-python/pull/929): mock HTTP session in TestUserAgentClients to avoid live network calls. Thanks to [@shrutiburman](https://github.com/shrutiburman)!
10+
11+
**Twiml**
12+
- Remove `<Assistant>` noun from `<Connect>` verb as part of the AI Assistants deprecation **(breaking change)**
13+
- Add `passports` attribute to `<Dial>` verb for SHAKEN/STIR passport passthrough
14+
15+
**Accounts**
16+
- Add `SuppressEmailNotification` parameter to the Secondary Auth Token and Auth Token promotion endpoints. Set it to `true` to suppress the email notification sent to account owners and administrators. Defaults to `false`, preserving existing behavior.
17+
- Add SMS Pumping Protection GET and POST API
18+
19+
**Ai**
20+
- Removing ai workbench apis
21+
22+
**Api**
23+
- Add missing `uri` property to the `twiml_session` resource
24+
25+
**Data-ingress**
26+
- ## 2026-08-07
27+
- **Removed 1 API path**:
28+
- `/v1/DataQuery` (Realtime DataQuery)
29+
- ## 2026-07-07
30+
- **Added 1 new API path (data plane)**:
31+
- `/v1/DataQuery` (Realtime DataQuery)
32+
- ## 2026-06-17
33+
- **Content updates**:
34+
- Added properties to `OAuthJWTBearerCredentials`: privateKey, privateKeyPassphrase
35+
- ## 2026-06-12
36+
- **Added 16 new path(s)**:
37+
- `/v1/DataSyncs/{syncId}` (FetchDataSync)
38+
- `/v1/CloudAppSources/{sourceId}/Objects` (ListCloudAppObjects)
39+
- `/v1/WarehouseSources/{sourceId}/Preview` (CreateWarehousePreview)
40+
- `/v1/WarehouseSources/{sourceId}/Preview/{operationId}` (FetchWarehousePreview)
41+
- `/v1/DataSample/{operationId}` (FetchDataSample)
42+
- `/v1/ControlPlane/CloudAppSources/{sourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
43+
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
44+
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets/{datasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
45+
- `/v1/ControlPlane/WarehouseSources/{sourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
46+
- `/v1/ControlPlane/WarehouseSources/{sourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
47+
- ...and 6 more paths
48+
- **Removed 16 path(s)**:
49+
- `/v1/DataSyncs/{SyncId}` (FetchDataSync)
50+
- `/v1/CloudAppSources/{SourceId}/Objects` (ListCloudAppObjects)
51+
- `/v1/WarehouseSources/{SourceId}/Preview` (CreateWarehousePreview)
52+
- `/v1/WarehouseSources/{SourceId}/Preview/{OperationId}` (FetchWarehousePreview)
53+
- `/v1/DataSample/{OperationId}` (FetchDataSample)
54+
- `/v1/ControlPlane/CloudAppSources/{SourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
55+
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
56+
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets/{DatasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
57+
- `/v1/ControlPlane/WarehouseSources/{SourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
58+
- `/v1/ControlPlane/WarehouseSources/{SourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
59+
- ...and 6 more paths
60+
- ## 2026-06-11
61+
- **Added 3 new Signal API path(s) for public exposure (data plane)**:
62+
- `/v1/EventSources/{sourceId}/Signals` (ListSignals)
63+
- `/v1/EventSources/{sourceId}/Signals/{signalKey}` (GetSignalBySignalKey)
64+
- `/v1/EventSources/{sourceId}/SignalStats` (ListSignalStats)
65+
- **Added new Signal API schemas**:
66+
- Signal, SignalListResponse, HourlyStats, SignalStatsResponse
67+
- ## 2026-05-26
68+
- **Added 12 new path(s) for public exposure**:
69+
- `/v1/ControlPlane/EventSources` (CreateEventSource, ListEventSources)
70+
- `/v1/ControlPlane/EventSources/{SourceId}` (FetchEventSource, PatchEventSource, DeleteEventSource)
71+
- `/v1/ControlPlane/EventSources/{SourceId}/WriteKeys` (CreateWriteKey, ListWriteKeys)
72+
- `/v1/ControlPlane/EventSources/{SourceId}/WriteKeys/{WriteKey}` (DeleteWriteKey)
73+
- `/v1/ControlPlane/EventSources/{SourceId}/Datasets` (CreateEventSourceDataset, ListEventSourceDatasets)
74+
- `/v1/ControlPlane/EventSources/{SourceId}/Datasets/{DatasetId}` (FetchEventSourceDataset, PatchEventSourceDataset, DeleteEventSourceDataset)
75+
- `/v1/ControlPlane/EventSources/{SourceId}/EventSchemas` (CreateEventSchema, ListEventSchemas)
76+
- `/v1/ControlPlane/EventSources/{SourceId}/EventSchemas/{SchemaId}` (FetchEventSchema, PatchEventSchema, DeleteEventSchema)
77+
- `/v1/ControlPlane/AutoInstrumentationRule` (CreateAutoInstrumentationRule, ListAutoInstrumentationRules)
78+
- `/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}` (FetchAutoInstrumentationRule, PatchAutoInstrumentationRule, DeleteAutoInstrumentationRule)
79+
- `/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}/Versions` (ListAutoInstrumentationRuleVersions)
80+
- `/v1/ControlPlane/AutoInstrumentationRule/{AutoInstrumentationRuleId}/Versions/{Version}` (FetchAutoInstrumentationRuleVersion)
81+
- **Added new schemas**:
82+
- EventSource, EventSourceCreate, EventSourceUpdate
83+
- WriteKey, WriteKeyCreate
84+
- EventSourceDataset, EventSourceDatasetCreate, EventSourceDatasetUpdate
85+
- EventSchema, EventSchemaCreate, EventSchemaUpdate, EventSchemaField, EventSchemaProperty
86+
- AutoInstrumentationRule, AutoInstrumentationRuleCreate, AutoInstrumentationRuleUpdate
87+
- AutoInstrumentationRuleVersion, AutoInstrumentationRuleVersionsResponse
88+
- ## 2026-06-12
89+
- **Added 16 new path(s)**:
90+
- `/v1/DataSyncs/{syncId}` (FetchDataSync)
91+
- `/v1/CloudAppSources/{sourceId}/Objects` (ListCloudAppObjects)
92+
- `/v1/WarehouseSources/{sourceId}/Preview` (CreateWarehousePreview)
93+
- `/v1/WarehouseSources/{sourceId}/Preview/{operationId}` (FetchWarehousePreview)
94+
- `/v1/DataSample/{operationId}` (FetchDataSample)
95+
- `/v1/ControlPlane/CloudAppSources/{sourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
96+
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
97+
- `/v1/ControlPlane/CloudAppSources/{sourceId}/Datasets/{datasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
98+
- `/v1/ControlPlane/WarehouseSources/{sourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
99+
- `/v1/ControlPlane/WarehouseSources/{sourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
100+
- ...and 6 more paths
101+
- **Removed 16 path(s)**:
102+
- `/v1/DataSyncs/{SyncId}` (FetchDataSync)
103+
- `/v1/CloudAppSources/{SourceId}/Objects` (ListCloudAppObjects)
104+
- `/v1/WarehouseSources/{SourceId}/Preview` (CreateWarehousePreview)
105+
- `/v1/WarehouseSources/{SourceId}/Preview/{OperationId}` (FetchWarehousePreview)
106+
- `/v1/DataSample/{OperationId}` (FetchDataSample)
107+
- `/v1/ControlPlane/CloudAppSources/{SourceId}` (FetchCloudAppSource, PatchCloudAppSource, DeleteCloudAppSource)
108+
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets` (ListCloudAppDatasets, CreateCloudAppDataset)
109+
- `/v1/ControlPlane/CloudAppSources/{SourceId}/Datasets/{DatasetId}` (FetchCloudAppDataset, PatchCloudAppDataset, DeleteCloudAppDataset)
110+
- `/v1/ControlPlane/WarehouseSources/{SourceId}` (FetchWarehouseSource, PatchWarehouseSource, DeleteWarehouseSource)
111+
- `/v1/ControlPlane/WarehouseSources/{SourceId}/Datasets` (ListWarehouseDatasets, CreateWarehouseDataset)
112+
- ...and 6 more paths
113+
114+
**Deletions**
115+
- # API Changes
116+
- ## 2026-06-23
117+
- Initial public Rest Proxy registration for the User Data Deletions API
118+
- (`POST` / `GET /v1/UserDataDeletions`, `GET /v1/UserDataDeletions/{deletionId}`,
119+
- `GET /v1/Operations/{operationId}`).
120+
- A single request may mix identifier formats: E.164 phone numbers, email
121+
- addresses, and profile IDs.
122+
123+
**Destinations**
124+
- # API Changes
125+
- ## 2026-08-07
126+
- **Content updates**:
127+
- Updated summary for `ListDestinationSupportedEventTypes`
128+
- ## 2026-08-07
129+
- **Content updates**:
130+
- Updated summary for `ListDestinationSupportedEventTypes`
131+
- ## 2026-08-07
132+
- **Added 3 new path(s)**:
133+
- `/v1/Catalog/DestinationSupportedEventTypes` (ListDestinationSupportedEventTypes)
134+
- `/v1/ControlPlane/Subscriptions/{subscriptionId}/EventTypes` (ListSubscribedEvents, CreateSubscribedEvent)
135+
- `/v1/ControlPlane/Subscriptions/{subscriptionId}/EventTypes/{eventType}` (GetSubscribedEvent, UpdateSubscribedEvent, DeleteSubscribedEvent)
136+
- **Removed 3 path(s)**:
137+
- `/v1/ControlPlane/Subscriptions/{subscriptionId}/SubscribedEvents` (ListSubscribedEvents, CreateSubscribedEvent)
138+
- `/v1/ControlPlane/Subscriptions/{subscriptionId}/SubscribedEvents/{eventType}` (GetSubscribedEvent, UpdateSubscribedEvent, DeleteSubscribedEvent)
139+
- `/v1/Catalog/DestinationEventTypes` (ListDestinationEventTypes)
140+
- ## 2026-08-04
141+
- Minor updates (formatting, metadata)
142+
- ## 2026-08-04
143+
- Minor updates (formatting, metadata)
144+
- ## 2026-08-04
145+
- Minor updates (formatting, metadata)
146+
- ## 2026-08-04
147+
- Minor updates (formatting, metadata)
148+
- ## 2026-08-04
149+
- **Content updates**:
150+
- Added properties to `SubscriptionResponse`: eventTypes
151+
- ## 2026-08-03
152+
- **Content updates**:
153+
- Added properties to `DestinationType`: documentationUrl, maturity, tier, categories
154+
- ## 2026-07-27
155+
- Minor updates (formatting, metadata)
156+
- ## 2026-07-23
157+
- **Content updates**:
158+
- `meta` is now a required property in the response of `ListDestinations`, `ListSubscriptions`, and `ListSubscribedEvents`
159+
- `CreateSubscribedEvent` request body schema consolidated onto `SubscribedEventInput` (previously `SubscribedEventCreate`, a duplicate schema)
160+
- Added response examples for `ListDestinations`, `ListSubscriptions`, and `ListSubscribedEvents`
161+
- ## 2026-07-23
162+
- **Added 1 new path(s)**:
163+
- `/v1/Catalog/DestinationEventTypes` (ListDestinationEventTypes)
164+
- ## 2026-07-22
165+
- **Content updates**:
166+
- Added parameter(s) to `ListDestinations`: namePrefix
167+
- Updated description for `UpdateSubscription`
168+
- Added properties to `SubscriptionUpdate`: eventTypes
169+
- ## 2026-07-16
170+
- Initial release with 9 paths and 18 operations
171+
172+
**Events**
173+
- Add `stage-ie1` realm support for EventTypes and Schemas endpoints (datataps-catalog)
174+
175+
**Memory**
176+
- ## 2026-08-10
177+
- Removed `Events` endpoints from the spec, as they were hidden, never implemented, and are not part of the public API
178+
- ## 2026-08-07
179+
- **New functionality**:
180+
- Added `pageSize`, `pageToken`, and `orderBy` query parameters to `ListProfileImportsV2`, plus a `meta` object in its response, to support pagination.
181+
- **Content updates**:
182+
- Updated the `ListProfileImportsV2` description to document the new pagination behavior.
183+
- Corrected the example presigned upload URL on `CreateProfilesImportV2` to match the real S3 bucket naming convention.
184+
- Corrected the `meta.key` example on `ListProfileTraits`'s response (was `profiles`, now `traits`) to accurately describe which response field it points to.
185+
- ## 2026-08-07
186+
- **Content updates**:
187+
- Updated `matchingRules` description in `IdentityResolutionSettingsCore` to remove compound `AND` rule documentation
188+
- ## 2026-07-30
189+
- **Content updates**:
190+
- Increased the maximum value for the Twilio error `code` from `99999` to `999999`
191+
- ## 2026-07-28
192+
- **Content updates**:
193+
- Updated the `pageSize` description on the pagination `Meta` schema to clarify it reflects the number of items actually returned, not the requested or default page size.
194+
- ## 2026-07-13
195+
- **Content updates**:
196+
- Renamed `ListProfiles` response schema references from `ProfileID`/`ProfilesMeta` to `IdentityProfileID`/`IdentityProfilesMeta` (new `IdentityProfilesMeta` schema added; `ProfileID`/`ProfilesMeta` retained for other operations).
197+
- ## 2026-07-08
198+
- **Content updates**:
199+
- Updated description for `CreateDataMappingSuggestion`
200+
- Updated description for `FetchDataMappingSuggestion`
201+
- ## 2026-07-06
202+
- **Added 2 new path(s)**:
203+
- `/v1/ControlPlane/Stores/{storeId}/DataMappings/Suggestions` (ListDataMappingSuggestions, CreateDataMappingSuggestion)
204+
- `/v1/ControlPlane/Stores/{storeId}/DataMappings/Suggestions/{suggestionId}` (FetchDataMappingSuggestion)
205+
- ## 2026-06-26
206+
- **Content updates**:
207+
- Minor updates (formatting, metadata)
208+
- Updated x-twilio location parameter from `instance` to `list` for all endpoints that don't end with a /{param}
209+
- Updated description for `UpdateProfileTraits`
210+
- Updated summary for `UpdateProfileTraits`
211+
- Removed properties from `MappingTraitItem`: fieldName
212+
- Removed `additionalProperties` from `allof` schemas since it isn't supported and causes invalid lint errors on example blocks.
213+
- matruity ga and libraryVisibility public
214+
- ## 2026-06-24
215+
- **Content updates**:
216+
- Add ConversationID as an optional query parameter for ListObservations and ListConversationSummaries
217+
- ## 2026-05-01
218+
- **Content updates**:
219+
- Updated description & summary for `UpdateProfileTraits`
220+
- Updated description for `FetchIdentityResolutionSettings`
221+
- Removed properties from `MappingTraitItem`: fieldName
222+
- Updated patch Observations to not require `occurredAt`, `content`, or `source`
223+
- ## 2026-04-28
224+
- **Content updates**:
225+
- Updated description for `UpdateProfileTraits`
226+
- Updated summary for `UpdateProfileTraits`
227+
- Added properties to `TraitDefinition`: validationRule
228+
- Removed properties from `MappingTraitItem`: fieldName
229+
230+
**Messaging_admin**
231+
- Add Intelligent Alerts endpoints at `/v1/Messaging/IntelligentAlertsEvents/*`, routing to intelligent-alerts-api via messaging-monkey-backend. Account SID is a required query parameter (`accountSid`) on all three endpoints.
232+
233+
6234
[2026-05-07] Version 9.10.9
7235
---------------------------
8236
**Conversations**

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setup(
1515
name="twilio",
16-
version="9.10.9",
16+
version="9.11.0",
1717
description="Twilio API client and TwiML generator",
1818
author="Twilio",
1919
help_center="https://www.twilio.com/help/contact",

twilio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
__version_info__ = ("9", "10", "9")
1+
__version_info__ = ("9", "11", "0")
22
__version__ = ".".join(__version_info__)

twilio/rest/__init__.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
if TYPE_CHECKING:
1717
from twilio.rest.accounts import Accounts
1818
from twilio.rest.api import Api
19-
from twilio.rest.assistants import Assistants
2019
from twilio.rest.bulkexports import Bulkexports
2120
from twilio.rest.chat import Chat
2221
from twilio.rest.content import Content
@@ -26,7 +25,6 @@
2625
from twilio.rest.frontline_api import FrontlineApi
2726
from twilio.rest.preview_iam import PreviewIam
2827
from twilio.rest.iam import Iam
29-
from twilio.rest.iam import Iam
3028
from twilio.rest.insights import Insights
3129
from twilio.rest.intelligence import Intelligence
3230
from twilio.rest.ip_messaging import IpMessaging
@@ -131,7 +129,6 @@ def __init__(
131129
# Domains
132130
self._accounts: Optional["Accounts"] = None
133131
self._api: Optional["Api"] = None
134-
self._assistants: Optional["Assistants"] = None
135132
self._bulkexports: Optional["Bulkexports"] = None
136133
self._chat: Optional["Chat"] = None
137134
self._content: Optional["Content"] = None
@@ -141,7 +138,6 @@ def __init__(
141138
self._frontline_api: Optional["FrontlineApi"] = None
142139
self._preview_iam: Optional["PreviewIam"] = None
143140
self._iam: Optional["Iam"] = None
144-
self._iam: Optional["Iam"] = None
145141
self._insights: Optional["Insights"] = None
146142
self._intelligence: Optional["Intelligence"] = None
147143
self._ip_messaging: Optional["IpMessaging"] = None
@@ -196,19 +192,6 @@ def api(self) -> "Api":
196192
self._api = Api(self)
197193
return self._api
198194

199-
@property
200-
def assistants(self) -> "Assistants":
201-
"""
202-
Access the Assistants Twilio Domain
203-
204-
:returns: Assistants Twilio Domain
205-
"""
206-
if self._assistants is None:
207-
from twilio.rest.assistants import Assistants
208-
209-
self._assistants = Assistants(self)
210-
return self._assistants
211-
212195
@property
213196
def bulkexports(self) -> "Bulkexports":
214197
"""
@@ -326,19 +309,6 @@ def iam(self) -> "Iam":
326309
self._iam = Iam(self)
327310
return self._iam
328311

329-
@property
330-
def iam(self) -> "Iam":
331-
"""
332-
Access the Iam Twilio Domain
333-
334-
:returns: Iam Twilio Domain
335-
"""
336-
if self._iam is None:
337-
from twilio.rest.iam import Iam
338-
339-
self._iam = Iam(self)
340-
return self._iam
341-
342312
@property
343313
def insights(self) -> "Insights":
344314
"""

0 commit comments

Comments
 (0)