telnyx 2.0.0__py2.py3-none-any.whl → 2.1.2__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of telnyx might be problematic. Click here for more details.
- telnyx/__init__.py +1 -1
- telnyx/api_requestor.py +19 -17
- telnyx/api_resources/__init__.py +159 -19
- telnyx/api_resources/abstract/api_resource.py +5 -4
- telnyx/api_resources/abstract/nested_resource_class_methods.py +11 -1
- telnyx/api_resources/abstract/updateable_api_resource.py +2 -1
- telnyx/api_resources/{whatsapp_contact.py → access_token.py} +2 -2
- telnyx/api_resources/address.py +13 -0
- telnyx/api_resources/advanced_optinoptout.py +17 -0
- telnyx/api_resources/ai.py +36 -0
- telnyx/api_resources/autorechargepreference.py +7 -0
- telnyx/api_resources/{whatsapp_business_account.py → billing.py} +2 -2
- telnyx/api_resources/bucket.py +17 -0
- telnyx/api_resources/bucket_usage.py +7 -0
- telnyx/api_resources/bulk_credential.py +13 -0
- telnyx/api_resources/bulk_phone_number_campaign.py +7 -0
- telnyx/api_resources/bulk_phone_number_operation.py +7 -0
- telnyx/api_resources/bulk_sole_proprietor_creation.py +7 -0
- telnyx/api_resources/business_identity.py +17 -0
- telnyx/api_resources/call.py +87 -53
- telnyx/api_resources/call_information.py +7 -0
- telnyx/api_resources/call_recording.py +22 -0
- telnyx/api_resources/cdr_usage_report.py +7 -0
- telnyx/api_resources/credential_connection.py +9 -0
- telnyx/api_resources/csv_download.py +7 -0
- telnyx/api_resources/customer_service_record.py +7 -0
- telnyx/api_resources/debugging.py +7 -0
- telnyx/api_resources/detail_record.py +7 -0
- telnyx/api_resources/dialogflow_integration.py +17 -0
- telnyx/api_resources/document.py +0 -5
- telnyx/api_resources/dynamic_emergency_endpoint.py +13 -0
- telnyx/api_resources/enum.py +7 -0
- telnyx/api_resources/external_connection.py +17 -0
- telnyx/api_resources/fax.py +6 -8
- telnyx/api_resources/inventory_level.py +7 -0
- telnyx/api_resources/{whatsapp_media.py → ip_address.py} +3 -3
- telnyx/api_resources/ip_range.py +11 -0
- telnyx/api_resources/list_object.py +2 -1
- telnyx/api_resources/managed_account.py +2 -2
- telnyx/api_resources/mdr_detail_report.py +11 -0
- telnyx/api_resources/mdr_usage_report.py +11 -0
- telnyx/api_resources/media_storage_api.py +17 -0
- telnyx/api_resources/message.py +2 -2
- telnyx/api_resources/messaging_hosted_number.py +15 -2
- telnyx/api_resources/messaging_tollfree_verification.py +17 -0
- telnyx/api_resources/messaging_url_domain.py +7 -0
- telnyx/api_resources/mobile_network_operator.py +7 -0
- telnyx/api_resources/network.py +17 -0
- telnyx/api_resources/notification.py +17 -0
- telnyx/api_resources/{whatsapp_phone_number.py → number_configuration.py} +2 -2
- telnyx/api_resources/number_portout.py +11 -0
- telnyx/api_resources/numbers_feature.py +7 -0
- telnyx/api_resources/ota_update.py +7 -0
- telnyx/api_resources/phone_number.py +4 -2
- telnyx/api_resources/phone_number_block_order.py +7 -0
- telnyx/api_resources/phone_number_blocks_background_job.py +7 -0
- telnyx/api_resources/phone_number_campaign.py +0 -4
- telnyx/api_resources/phone_number_configuration.py +24 -0
- telnyx/api_resources/{whatsapp_message.py → phone_number_order.py} +2 -2
- telnyx/api_resources/phone_number_order_document.py +13 -0
- telnyx/api_resources/phone_number_porting.py +7 -0
- telnyx/api_resources/phone_number_reservation.py +15 -0
- telnyx/api_resources/phone_number_search.py +7 -0
- telnyx/api_resources/porting_order.py +1 -8
- telnyx/api_resources/presigned_object_url.py +7 -0
- telnyx/api_resources/private_wireless_gateway.py +13 -0
- telnyx/api_resources/public_internet_gateway.py +13 -0
- telnyx/api_resources/push_credential.py +11 -0
- telnyx/api_resources/queue_command.py +7 -0
- telnyx/api_resources/recordings_command.py +7 -0
- telnyx/api_resources/region.py +7 -0
- telnyx/api_resources/register_call.py +7 -0
- telnyx/api_resources/report.py +7 -0
- telnyx/api_resources/reporting.py +11 -0
- telnyx/api_resources/requirement.py +7 -0
- telnyx/api_resources/requirement_type.py +7 -0
- telnyx/api_resources/room_composition.py +11 -0
- telnyx/api_resources/room_recording.py +7 -0
- telnyx/api_resources/rooms_client_token.py +24 -0
- telnyx/api_resources/shared_campaign.py +7 -0
- telnyx/api_resources/sim_card.py +49 -19
- telnyx/api_resources/sim_card_group.py +17 -0
- telnyx/api_resources/ssl_certificate.py +11 -0
- telnyx/api_resources/texml_application.py +17 -0
- telnyx/api_resources/texml_rest_command.py +13 -0
- telnyx/api_resources/verified_calls_display_profile.py +17 -0
- telnyx/api_resources/verified_number.py +16 -0
- telnyx/api_resources/verify.py +22 -0
- telnyx/api_resources/virtual_cross_connect.py +24 -0
- telnyx/api_resources/wdr_detail_report.py +7 -0
- telnyx/api_resources/webhook.py +7 -0
- telnyx/api_resources/wireguard_interface.py +17 -0
- telnyx/error.py +1 -2
- telnyx/http_client.py +10 -9
- telnyx/multipart_data_generator.py +1 -1
- telnyx/telnyx_object.py +3 -1
- telnyx/util.py +86 -20
- telnyx/webhook.py +0 -2
- {telnyx-2.0.0.dist-info → telnyx-2.1.2.dist-info}/METADATA +24 -24
- telnyx-2.1.2.dist-info/RECORD +168 -0
- {telnyx-2.0.0.dist-info → telnyx-2.1.2.dist-info}/WHEEL +1 -1
- telnyx/six.py +0 -892
- telnyx-2.0.0.dist-info/RECORD +0 -102
- {telnyx-2.0.0.dist-info → telnyx-2.1.2.dist-info}/LICENSE +0 -0
- {telnyx-2.0.0.dist-info → telnyx-2.1.2.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
from __future__ import absolute_import, division, print_function
|
|
2
|
+
|
|
3
|
+
from telnyx.api_resources.abstract import (
|
|
4
|
+
CreateableAPIResource,
|
|
5
|
+
DeletableAPIResource,
|
|
6
|
+
ListableAPIResource,
|
|
7
|
+
UpdateableAPIResource,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class WireguardInterface(
|
|
12
|
+
CreateableAPIResource,
|
|
13
|
+
DeletableAPIResource,
|
|
14
|
+
ListableAPIResource,
|
|
15
|
+
UpdateableAPIResource,
|
|
16
|
+
):
|
|
17
|
+
OBJECT_NAME = "wireguard_interface"
|
telnyx/error.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from __future__ import absolute_import, division, print_function
|
|
2
2
|
|
|
3
|
-
from
|
|
3
|
+
from six import python_2_unicode_compatible
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
@python_2_unicode_compatible
|
|
@@ -13,7 +13,6 @@ class TelnyxError(Exception):
|
|
|
13
13
|
json_body=None,
|
|
14
14
|
http_headers=None,
|
|
15
15
|
):
|
|
16
|
-
|
|
17
16
|
self.errors = errors
|
|
18
17
|
self.http_status = http_status
|
|
19
18
|
self.json_body = json_body
|
telnyx/http_client.py
CHANGED
|
@@ -7,15 +7,17 @@ import textwrap
|
|
|
7
7
|
import time
|
|
8
8
|
import warnings
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
from
|
|
10
|
+
import six
|
|
11
|
+
from six.moves.urllib.parse import urlparse
|
|
12
|
+
|
|
13
|
+
from telnyx import error, util
|
|
12
14
|
|
|
13
15
|
# - Requests is the preferred HTTP library
|
|
14
16
|
# - Google App Engine has urlfetch
|
|
15
17
|
# - Use Pycurl if it's there (at least it verifies SSL certs)
|
|
16
18
|
# - Fall back to urllib2 with a warning if needed
|
|
17
19
|
try:
|
|
18
|
-
from
|
|
20
|
+
from six.moves import urllib
|
|
19
21
|
except ImportError:
|
|
20
22
|
# Try to load in urllib2, but don't sweat it if it's not available.
|
|
21
23
|
pass
|
|
@@ -227,7 +229,6 @@ class RequestsClient(HTTPClient):
|
|
|
227
229
|
return content, status_code, result.headers
|
|
228
230
|
|
|
229
231
|
def _handle_request_error(self, e):
|
|
230
|
-
|
|
231
232
|
# Catch SSL error first as it belongs to ConnectionError,
|
|
232
233
|
# but we don't want to retry
|
|
233
234
|
if isinstance(e, requests.exceptions.SSLError):
|
|
@@ -366,7 +367,7 @@ class PycurlClient(HTTPClient):
|
|
|
366
367
|
if self._proxy:
|
|
367
368
|
# now that we have the parser, get the proxy url pieces
|
|
368
369
|
proxy = self._proxy
|
|
369
|
-
for scheme in proxy:
|
|
370
|
+
for scheme in proxy: # pylint: disable=not-an-iterable
|
|
370
371
|
proxy[scheme] = urlparse(proxy[scheme])
|
|
371
372
|
|
|
372
373
|
def parse_headers(self, data):
|
|
@@ -467,11 +468,11 @@ class PycurlClient(HTTPClient):
|
|
|
467
468
|
proxy = self._proxy
|
|
468
469
|
scheme = url.split(":")[0] if url else None
|
|
469
470
|
if scheme:
|
|
470
|
-
if scheme in proxy:
|
|
471
|
-
return proxy[scheme]
|
|
471
|
+
if scheme in proxy: # pylint: disable=unsupported-membership-test
|
|
472
|
+
return proxy[scheme] # pylint: disable=unsubscriptable-object
|
|
472
473
|
scheme = scheme[0:-1]
|
|
473
|
-
if scheme in proxy:
|
|
474
|
-
return proxy[scheme]
|
|
474
|
+
if scheme in proxy: # pylint: disable=unsupported-membership-test
|
|
475
|
+
return proxy[scheme] # pylint: disable=unsubscriptable-object
|
|
475
476
|
return None
|
|
476
477
|
|
|
477
478
|
def close(self):
|
telnyx/telnyx_object.py
CHANGED
telnyx/util.py
CHANGED
|
@@ -6,10 +6,10 @@ import os
|
|
|
6
6
|
import re
|
|
7
7
|
import sys
|
|
8
8
|
|
|
9
|
+
import six
|
|
9
10
|
from six.moves.urllib.parse import parse_qsl
|
|
10
11
|
|
|
11
12
|
import telnyx
|
|
12
|
-
from telnyx import six
|
|
13
13
|
|
|
14
14
|
TELNYX_LOG = os.environ.get("TELNYX_LOG")
|
|
15
15
|
|
|
@@ -106,87 +106,153 @@ def load_object_classes():
|
|
|
106
106
|
|
|
107
107
|
OBJECT_CLASSES = {
|
|
108
108
|
# business objects
|
|
109
|
+
api_resources.APIKey.OBJECT_NAME: api_resources.APIKey,
|
|
109
110
|
api_resources.AccessControlIP.OBJECT_NAME: api_resources.AccessControlIP,
|
|
110
111
|
api_resources.AccessIPAddress.OBJECT_NAME: api_resources.AccessIPAddress,
|
|
111
|
-
api_resources.
|
|
112
|
+
api_resources.AccessToken.OBJECT_NAME: api_resources.AccessToken,
|
|
112
113
|
api_resources.Address.OBJECT_NAME: api_resources.Address,
|
|
113
|
-
api_resources.
|
|
114
|
+
api_resources.AdvancedOptinoptout.OBJECT_NAME: api_resources.AdvancedOptinoptout,
|
|
115
|
+
api_resources.AI.OBJECT_NAME: api_resources.AI,
|
|
116
|
+
api_resources.AuthenticationProvider.OBJECT_NAME: api_resources.AuthenticationProvider,
|
|
117
|
+
api_resources.Autorechargepreference.OBJECT_NAME: api_resources.Autorechargepreference,
|
|
114
118
|
api_resources.AvailablePhoneNumber.OBJECT_NAME: api_resources.AvailablePhoneNumber,
|
|
115
119
|
api_resources.Balance.OBJECT_NAME: api_resources.Balance,
|
|
120
|
+
api_resources.Billing.OBJECT_NAME: api_resources.Billing,
|
|
116
121
|
api_resources.BillingGroup.OBJECT_NAME: api_resources.BillingGroup,
|
|
117
122
|
api_resources.Brand.OBJECT_NAME: api_resources.Brand,
|
|
123
|
+
api_resources.Bucket.OBJECT_NAME: api_resources.Bucket,
|
|
124
|
+
api_resources.BucketUsage.OBJECT_NAME: api_resources.BucketUsage,
|
|
118
125
|
api_resources.BulkCreation.OBJECT_NAME: api_resources.BulkCreation,
|
|
126
|
+
api_resources.BulkCredential.OBJECT_NAME: api_resources.BulkCredential,
|
|
127
|
+
api_resources.BulkPhoneNumberCampaign.OBJECT_NAME: api_resources.BulkPhoneNumberCampaign,
|
|
128
|
+
api_resources.BulkPhoneNumberOperation.OBJECT_NAME: api_resources.BulkPhoneNumberOperation,
|
|
129
|
+
api_resources.BulkSoleProprietorCreation.OBJECT_NAME: api_resources.BulkSoleProprietorCreation,
|
|
130
|
+
api_resources.BusinessIdentity.OBJECT_NAME: api_resources.BusinessIdentity,
|
|
119
131
|
api_resources.Call.OBJECT_NAME: api_resources.Call,
|
|
120
132
|
api_resources.CallControlApplication.OBJECT_NAME: api_resources.CallControlApplication,
|
|
133
|
+
api_resources.CallInformation.OBJECT_NAME: api_resources.CallInformation,
|
|
134
|
+
api_resources.CallRecording.OBJECT_NAME: api_resources.CallRecording,
|
|
121
135
|
api_resources.Campaign.OBJECT_NAME: api_resources.Campaign,
|
|
136
|
+
api_resources.CdrUsageReport.OBJECT_NAME: api_resources.CdrUsageReport,
|
|
122
137
|
api_resources.Comment.OBJECT_NAME: api_resources.Comment,
|
|
123
138
|
api_resources.Conference.OBJECT_NAME: api_resources.Conference,
|
|
124
139
|
api_resources.Connection.OBJECT_NAME: api_resources.Connection,
|
|
125
140
|
api_resources.CredentialConnection.OBJECT_NAME: api_resources.CredentialConnection,
|
|
141
|
+
api_resources.CsvDownload.OBJECT_NAME: api_resources.CsvDownload,
|
|
126
142
|
api_resources.CustomStorageCredential.OBJECT_NAME: api_resources.CustomStorageCredential,
|
|
143
|
+
api_resources.CustomerServiceRecord.OBJECT_NAME: api_resources.CustomerServiceRecord,
|
|
144
|
+
api_resources.Debugging.OBJECT_NAME: api_resources.Debugging,
|
|
145
|
+
api_resources.DetailRecord.OBJECT_NAME: api_resources.DetailRecord,
|
|
127
146
|
api_resources.DetailRecordsReport.OBJECT_NAME: api_resources.DetailRecordsReport,
|
|
147
|
+
api_resources.DialogflowIntegration.OBJECT_NAME: api_resources.DialogflowIntegration,
|
|
128
148
|
api_resources.Document.OBJECT_NAME: api_resources.Document,
|
|
129
|
-
api_resources.
|
|
149
|
+
api_resources.Document.OBJECT_NAME: api_resources.DocumentLink,
|
|
130
150
|
api_resources.DynamicEmergencyAddress.OBJECT_NAME: api_resources.DynamicEmergencyAddress,
|
|
151
|
+
api_resources.DynamicEmergencyEndpoint.OBJECT_NAME: api_resources.DynamicEmergencyEndpoint,
|
|
152
|
+
api_resources.Enum.OBJECT_NAME: api_resources.Enum,
|
|
153
|
+
api_resources.Event.OBJECT_NAME: api_resources.Event,
|
|
154
|
+
api_resources.ExternalConnection.OBJECT_NAME: api_resources.ExternalConnection,
|
|
131
155
|
api_resources.Fax.OBJECT_NAME: api_resources.Fax,
|
|
132
156
|
api_resources.FaxApplication.OBJECT_NAME: api_resources.FaxApplication,
|
|
133
157
|
api_resources.FQDN.OBJECT_NAME: api_resources.FQDN,
|
|
134
158
|
api_resources.FQDNConnection.OBJECT_NAME: api_resources.FQDNConnection,
|
|
135
|
-
api_resources.InboundChannel.OBJECT_NAME: api_resources.InboundChannel,
|
|
136
|
-
api_resources.InventoryCoverage.OBJECT_NAME: api_resources.InventoryCoverage,
|
|
137
159
|
api_resources.IP.OBJECT_NAME: api_resources.IP,
|
|
160
|
+
api_resources.IPAddress.OBJECT_NAME: api_resources.IPAddress,
|
|
138
161
|
api_resources.IPConnection.OBJECT_NAME: api_resources.IPConnection,
|
|
162
|
+
api_resources.IPRange.OBJECT_NAME: api_resources.IPRange,
|
|
163
|
+
api_resources.InboundChannel.OBJECT_NAME: api_resources.InboundChannel,
|
|
164
|
+
api_resources.InventoryCoverage.OBJECT_NAME: api_resources.InventoryCoverage,
|
|
165
|
+
api_resources.InventoryLevel.OBJECT_NAME: api_resources.InventoryLevel,
|
|
139
166
|
api_resources.ManagedAccount.OBJECT_NAME: api_resources.ManagedAccount,
|
|
167
|
+
api_resources.MdrDetailReport.OBJECT_NAME: api_resources.MdrDetailReport,
|
|
168
|
+
api_resources.MdrUsageReport.OBJECT_NAME: api_resources.MdrUsageReport,
|
|
140
169
|
api_resources.Media.OBJECT_NAME: api_resources.Media,
|
|
170
|
+
api_resources.MediaStorageApi.OBJECT_NAME: api_resources.MediaStorageApi,
|
|
141
171
|
api_resources.Message.OBJECT_NAME: api_resources.Message,
|
|
142
172
|
api_resources.MessagingHostedNumber.OBJECT_NAME: api_resources.MessagingHostedNumber,
|
|
143
173
|
api_resources.MessagingHostedNumberOrder.OBJECT_NAME: api_resources.MessagingHostedNumberOrder,
|
|
144
174
|
api_resources.MessagingPhoneNumber.OBJECT_NAME: api_resources.MessagingPhoneNumber,
|
|
145
175
|
api_resources.MessagingProfile.OBJECT_NAME: api_resources.MessagingProfile,
|
|
146
|
-
api_resources.
|
|
176
|
+
api_resources.MessagingTollfreeVerification.OBJECT_NAME: api_resources.MessagingTollfreeVerification,
|
|
177
|
+
api_resources.MessagingUrlDomain.OBJECT_NAME: api_resources.MessagingUrlDomain,
|
|
178
|
+
api_resources.MobileNetworkOperator.OBJECT_NAME: api_resources.MobileNetworkOperator,
|
|
179
|
+
api_resources.Network.OBJECT_NAME: api_resources.Network,
|
|
180
|
+
api_resources.Notification.OBJECT_NAME: api_resources.Notification,
|
|
147
181
|
api_resources.NotificationChannel.OBJECT_NAME: api_resources.NotificationChannel,
|
|
148
182
|
api_resources.NotificationEvent.OBJECT_NAME: api_resources.NotificationEvent,
|
|
149
183
|
api_resources.NotificationEventCondition.OBJECT_NAME: api_resources.NotificationEventCondition,
|
|
150
184
|
api_resources.NotificationProfile.OBJECT_NAME: api_resources.NotificationProfile,
|
|
151
185
|
api_resources.NotificationSetting.OBJECT_NAME: api_resources.NotificationSetting,
|
|
186
|
+
api_resources.NumberConfiguration.OBJECT_NAME: api_resources.NumberConfiguration,
|
|
152
187
|
api_resources.NumberLookup.OBJECT_NAME: api_resources.NumberLookup,
|
|
153
188
|
api_resources.NumberOrder.OBJECT_NAME: api_resources.NumberOrder,
|
|
154
189
|
api_resources.NumberOrderPhoneNumber.OBJECT_NAME: api_resources.NumberOrderPhoneNumber,
|
|
190
|
+
api_resources.NumberPortout.OBJECT_NAME: api_resources.NumberPortout,
|
|
155
191
|
api_resources.NumberReservation.OBJECT_NAME: api_resources.NumberReservation,
|
|
192
|
+
api_resources.NumbersFeature.OBJECT_NAME: api_resources.NumbersFeature,
|
|
193
|
+
api_resources.OtaUpdate.OBJECT_NAME: api_resources.OtaUpdate,
|
|
156
194
|
api_resources.OutboundVoiceProfile.OBJECT_NAME: api_resources.OutboundVoiceProfile,
|
|
157
195
|
api_resources.PhoneNumber.OBJECT_NAME: api_resources.PhoneNumber,
|
|
196
|
+
api_resources.PhoneNumber.OBJECT_NAME: api_resources.MessagingSettings,
|
|
197
|
+
api_resources.PhoneNumber.OBJECT_NAME: api_resources.VoiceSettings,
|
|
198
|
+
api_resources.PhoneNumberBlockOrder.OBJECT_NAME: api_resources.PhoneNumberBlockOrder,
|
|
199
|
+
api_resources.PhoneNumberBlocksBackgroundJob.OBJECT_NAME: api_resources.PhoneNumberBlocksBackgroundJob,
|
|
158
200
|
api_resources.PhoneNumberByProfile.OBJECT_NAME: api_resources.PhoneNumberByProfile,
|
|
159
201
|
api_resources.PhoneNumberCampaign.OBJECT_NAME: api_resources.PhoneNumberCampaign,
|
|
202
|
+
api_resources.PhoneNumberConfiguration.OBJECT_NAME: api_resources.PhoneNumberConfiguration,
|
|
160
203
|
api_resources.PhoneNumberJob.OBJECT_NAME: api_resources.PhoneNumberJob,
|
|
204
|
+
api_resources.PhoneNumberOrder.OBJECT_NAME: api_resources.PhoneNumberOrder,
|
|
205
|
+
api_resources.PhoneNumberOrderDocument.OBJECT_NAME: api_resources.PhoneNumberOrderDocument,
|
|
206
|
+
api_resources.PhoneNumberPorting.OBJECT_NAME: api_resources.PhoneNumberPorting,
|
|
161
207
|
api_resources.PhoneNumberRegulatoryRequirement.OBJECT_NAME: api_resources.PhoneNumberRegulatoryRequirement,
|
|
208
|
+
api_resources.PhoneNumberReservation.OBJECT_NAME: api_resources.PhoneNumberReservation,
|
|
209
|
+
api_resources.PhoneNumberSearch.OBJECT_NAME: api_resources.PhoneNumberSearch,
|
|
210
|
+
api_resources.PortOut.OBJECT_NAME: api_resources.PortOut,
|
|
162
211
|
api_resources.PortabilityCheck.OBJECT_NAME: api_resources.PortabilityCheck,
|
|
163
212
|
api_resources.PortingOrder.OBJECT_NAME: api_resources.PortingOrder,
|
|
164
|
-
api_resources.
|
|
165
|
-
api_resources.
|
|
166
|
-
api_resources.
|
|
213
|
+
api_resources.PortingOrder.OBJECT_NAME: api_resources.PortingPhoneNumber,
|
|
214
|
+
api_resources.PresignedObjectUrl.OBJECT_NAME: api_resources.PresignedObjectUrl,
|
|
215
|
+
api_resources.PrivateWirelessGateway.OBJECT_NAME: api_resources.PrivateWirelessGateway,
|
|
216
|
+
api_resources.PublicInternetGateway.OBJECT_NAME: api_resources.PublicInternetGateway,
|
|
217
|
+
api_resources.PushCredential.OBJECT_NAME: api_resources.PushCredential,
|
|
167
218
|
api_resources.Queue.OBJECT_NAME: api_resources.Queue,
|
|
168
|
-
api_resources.
|
|
219
|
+
api_resources.Queue.OBJECT_NAME: api_resources.QueueCall,
|
|
220
|
+
api_resources.QueueCommand.OBJECT_NAME: api_resources.QueueCommand,
|
|
221
|
+
api_resources.RecordingsCommand.OBJECT_NAME: api_resources.RecordingsCommand,
|
|
222
|
+
api_resources.Region.OBJECT_NAME: api_resources.Region,
|
|
223
|
+
api_resources.RegisterCall.OBJECT_NAME: api_resources.RegisterCall,
|
|
224
|
+
api_resources.Report.OBJECT_NAME: api_resources.Report,
|
|
225
|
+
api_resources.Reporting.OBJECT_NAME: api_resources.Reporting,
|
|
226
|
+
api_resources.Requirement.OBJECT_NAME: api_resources.Requirement,
|
|
227
|
+
api_resources.RequirementType.OBJECT_NAME: api_resources.RequirementType,
|
|
228
|
+
api_resources.Room.OBJECT_NAME: api_resources.Room,
|
|
229
|
+
api_resources.RoomComposition.OBJECT_NAME: api_resources.RoomComposition,
|
|
169
230
|
api_resources.RoomParticipant.OBJECT_NAME: api_resources.RoomParticipant,
|
|
231
|
+
api_resources.RoomRecording.OBJECT_NAME: api_resources.RoomRecording,
|
|
170
232
|
api_resources.RoomSession.OBJECT_NAME: api_resources.RoomSession,
|
|
171
|
-
api_resources.
|
|
233
|
+
api_resources.RoomsClientToken.OBJECT_NAME: api_resources.RoomsClientToken,
|
|
172
234
|
api_resources.SIMCard.OBJECT_NAME: api_resources.SIMCard,
|
|
173
235
|
api_resources.SIMCardAction.OBJECT_NAME: api_resources.SIMCardAction,
|
|
174
236
|
api_resources.SIMCardGroup.OBJECT_NAME: api_resources.SIMCardGroup,
|
|
175
237
|
api_resources.SIMCardOrder.OBJECT_NAME: api_resources.SIMCardOrder,
|
|
176
|
-
api_resources.
|
|
238
|
+
api_resources.SIMCardOrder.OBJECT_NAME: api_resources.SIMCardOrderPreview,
|
|
239
|
+
api_resources.SharedCampaign.OBJECT_NAME: api_resources.SharedCampaign,
|
|
177
240
|
api_resources.ShortCode.OBJECT_NAME: api_resources.ShortCode,
|
|
241
|
+
api_resources.SslCertificate.OBJECT_NAME: api_resources.SslCertificate,
|
|
178
242
|
api_resources.SubNumberOrder.OBJECT_NAME: api_resources.SubNumberOrder,
|
|
179
243
|
api_resources.TelephonyCredential.OBJECT_NAME: api_resources.TelephonyCredential,
|
|
180
|
-
api_resources.
|
|
181
|
-
api_resources.
|
|
244
|
+
api_resources.TexmlApplication.OBJECT_NAME: api_resources.TexmlApplication,
|
|
245
|
+
api_resources.TexmlRestCommand.OBJECT_NAME: api_resources.TexmlRestCommand,
|
|
182
246
|
api_resources.Verification.OBJECT_NAME: api_resources.Verification,
|
|
247
|
+
api_resources.VerifiedCallsDisplayProfile.OBJECT_NAME: api_resources.VerifiedCallsDisplayProfile,
|
|
248
|
+
api_resources.VerifiedNumber.OBJECT_NAME: api_resources.VerifiedNumber,
|
|
249
|
+
api_resources.Verify.OBJECT_NAME: api_resources.Verify,
|
|
183
250
|
api_resources.VerifyProfile.OBJECT_NAME: api_resources.VerifyProfile,
|
|
251
|
+
api_resources.VirtualCrossConnect.OBJECT_NAME: api_resources.VirtualCrossConnect,
|
|
252
|
+
api_resources.WdrDetailReport.OBJECT_NAME: api_resources.WdrDetailReport,
|
|
253
|
+
api_resources.Webhook.OBJECT_NAME: api_resources.Webhook,
|
|
184
254
|
api_resources.WebhookDeliveries.OBJECT_NAME: api_resources.WebhookDeliveries,
|
|
185
|
-
api_resources.
|
|
186
|
-
api_resources.WhatsappContact.OBJECT_NAME: api_resources.WhatsappContact,
|
|
187
|
-
api_resources.WhatsappMedia.OBJECT_NAME: api_resources.WhatsappMedia,
|
|
188
|
-
api_resources.WhatsappMessage.OBJECT_NAME: api_resources.WhatsappMessage,
|
|
189
|
-
api_resources.WhatsappPhoneNumber.OBJECT_NAME: api_resources.WhatsappPhoneNumber,
|
|
255
|
+
api_resources.WireguardInterface.OBJECT_NAME: api_resources.WireguardInterface,
|
|
190
256
|
api_resources.WirelessDetailRecordsReports.OBJECT_NAME: api_resources.WirelessDetailRecordsReports,
|
|
191
257
|
}
|
|
192
258
|
|
telnyx/webhook.py
CHANGED
|
@@ -18,9 +18,7 @@ class Webhook(object):
|
|
|
18
18
|
def construct_event(
|
|
19
19
|
payload, signature_header, timestamp, tolerance=DEFAULT_TOLERANCE, api_key=None
|
|
20
20
|
):
|
|
21
|
-
|
|
22
21
|
if WebhookSignature.verify(payload, signature_header, timestamp, tolerance):
|
|
23
|
-
|
|
24
22
|
if api_key is None:
|
|
25
23
|
api_key = telnyx.api_key
|
|
26
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: telnyx
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.1.2
|
|
4
4
|
Summary: Python bindings for the Telnyx API
|
|
5
5
|
Home-page: https://github.com/team-telnyx/telnyx-python
|
|
6
6
|
Author: Telnyx
|
|
@@ -15,21 +15,21 @@ Classifier: Intended Audience :: Developers
|
|
|
15
15
|
Classifier: License :: OSI Approved :: MIT License
|
|
16
16
|
Classifier: Operating System :: OS Independent
|
|
17
17
|
Classifier: Programming Language :: Python
|
|
18
|
-
Classifier: Programming Language :: Python :: 2
|
|
19
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
20
18
|
Classifier: Programming Language :: Python :: 3
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
25
25
|
Classifier: Topic :: Communications :: Telephony
|
|
26
26
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
27
|
-
Requires-Python: >=
|
|
27
|
+
Requires-Python: >=3.8
|
|
28
28
|
Description-Content-Type: text/markdown
|
|
29
29
|
License-File: LICENSE
|
|
30
|
+
Requires-Dist: requests >=2.20
|
|
31
|
+
Requires-Dist: six
|
|
30
32
|
Requires-Dist: PyNaCl
|
|
31
|
-
Requires-Dist: requests[security] (>=2.20) ; python_version < "3.0"
|
|
32
|
-
Requires-Dist: requests (>=2.20) ; python_version >= "3.0"
|
|
33
33
|
|
|
34
34
|
# Telnyx Python Library
|
|
35
35
|
|
|
@@ -79,7 +79,7 @@ into using https://www.piwheels.org/ for ARM compiled wheels.
|
|
|
79
79
|
|
|
80
80
|
### Requirements
|
|
81
81
|
|
|
82
|
-
- Python
|
|
82
|
+
- Python 3.8+ (PyPy supported)
|
|
83
83
|
|
|
84
84
|
#### Additional Requirements for Source Install
|
|
85
85
|
|
|
@@ -170,6 +170,7 @@ telnyx.max_network_retries = 2
|
|
|
170
170
|
```
|
|
171
171
|
|
|
172
172
|
### Reserved word keyword arguments
|
|
173
|
+
|
|
173
174
|
The Telnyx API includes `from` as an attribute that can be set on messages.
|
|
174
175
|
`from` is also a reserved word in Python. If you would like to use keyword
|
|
175
176
|
arguments where an argument is a reserved word you can add the suffix `_` e.g.
|
|
@@ -185,6 +186,7 @@ telnyx.Message.create(
|
|
|
185
186
|
The argument will be automatically rewritten to `from` in the keyword arguments dict.
|
|
186
187
|
|
|
187
188
|
> Pro Tip: You can alternatively unpack a dictionary like so:
|
|
189
|
+
>
|
|
188
190
|
> ```python
|
|
189
191
|
> message = {
|
|
190
192
|
> "from": "+18445550001",
|
|
@@ -253,19 +255,19 @@ Run all tests on all supported Python versions:
|
|
|
253
255
|
|
|
254
256
|
Run all tests for a specific Python version (modify `-e` according to your Python target):
|
|
255
257
|
|
|
256
|
-
pipenv run tox -e
|
|
258
|
+
pipenv run tox -e py38
|
|
257
259
|
|
|
258
260
|
Run all tests in a single file:
|
|
259
261
|
|
|
260
|
-
pipenv run tox -e
|
|
262
|
+
pipenv run tox -e py38 -- tests/api_resources/abstract/test_updateable_api_resource.py
|
|
261
263
|
|
|
262
264
|
Run a single test suite:
|
|
263
265
|
|
|
264
|
-
pipenv run tox -e
|
|
266
|
+
pipenv run tox -e py38 -- tests/api_resources/abstract/test_updateable_api_resource.py::TestUpdateableAPIResource
|
|
265
267
|
|
|
266
268
|
Run a single test:
|
|
267
269
|
|
|
268
|
-
pipenv run tox -e
|
|
270
|
+
pipenv run tox -e py38 -- tests/api_resources/abstract/test_updateable_api_resource.py::TestUpdateableAPIResource::test_save
|
|
269
271
|
|
|
270
272
|
Run the linter with:
|
|
271
273
|
|
|
@@ -280,11 +282,11 @@ with:
|
|
|
280
282
|
### Adding a new endpoint
|
|
281
283
|
|
|
282
284
|
1. Define a class for the object that the endpoint interacts with under
|
|
283
|
-
`telnyx/api_resources/`. The path name singularized should typically match
|
|
284
|
-
the record type of the object returned e.g. `/v2/available_phone_numbers`
|
|
285
|
-
returns a list of objects with the record_type `available_phone_number`.
|
|
286
|
-
Inherit from the classes that define the behavior available on the endpoint,one or more of `CreateableAPIResource`, `DeletableAPIResource`,
|
|
287
|
-
`ListableAPIResource`, `UpdateableAPIResource`.
|
|
285
|
+
`telnyx/api_resources/`. The path name singularized should typically match
|
|
286
|
+
the record type of the object returned e.g. `/v2/available_phone_numbers`
|
|
287
|
+
returns a list of objects with the record_type `available_phone_number`.
|
|
288
|
+
Inherit from the classes that define the behavior available on the endpoint,one or more of `CreateableAPIResource`, `DeletableAPIResource`,
|
|
289
|
+
`ListableAPIResource`, `UpdateableAPIResource`.
|
|
288
290
|
|
|
289
291
|
2. Import your class in `telnyx/api_resources/__init__.py`.
|
|
290
292
|
|
|
@@ -292,7 +294,6 @@ Inherit from the classes that define the behavior available on the endpoint,one
|
|
|
292
294
|
|
|
293
295
|
4. Add tests for your new class under `tests/api_resources/`.
|
|
294
296
|
|
|
295
|
-
|
|
296
297
|
[api-keys]: https://portal.telnyx.com/#/app/auth/v2
|
|
297
298
|
[black]: https://github.com/ambv/black
|
|
298
299
|
[pipenv]: https://github.com/pypa/pipenv
|
|
@@ -301,21 +302,20 @@ Inherit from the classes that define the behavior available on the endpoint,one
|
|
|
301
302
|
## Releasing
|
|
302
303
|
|
|
303
304
|
1. Update version in
|
|
304
|
-
|
|
305
|
-
|
|
305
|
+
- `setup.py` (in the `setup()` call, the `version` kwarg)
|
|
306
|
+
- `telnyx/__init__.py` (the `__version__` string)
|
|
306
307
|
2. Create new branch, add changes, commit, and push
|
|
307
308
|
3. Ensure commit passes tests in [Travis][travis-telnyx-python]
|
|
308
309
|
4. Tag that commit with `git tag -a v{VERSION} -m "Release v{VERSION}"`, and push the tag `git push --follow-tags`
|
|
309
310
|
5. Ensure checked out copy is entirely clean (best to create a new environment...)
|
|
310
311
|
6. `make dists`
|
|
311
|
-
7.
|
|
312
|
+
7. _If you haven't done it before_, download the upload API keys from LastPass (search for "pypi") and put the contents between "PYPIRC FILE" tags into `~/.pypirc-telnyx`.
|
|
312
313
|
8. `make testupload`, check that it looks OK on PyPI and that it's installable via `pip`.
|
|
313
314
|
9. `make liveupload`, repeat checks for live version.
|
|
314
315
|
10. Ta-da.
|
|
315
316
|
|
|
316
317
|
[travis-telnyx-python]: https://travis-ci.org/team-telnyx/telnyx-python
|
|
317
318
|
|
|
318
|
-
|
|
319
319
|
## Acknowledgments
|
|
320
320
|
|
|
321
321
|
The contributors and maintainers of Telnyx Python would like to extend their
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
telnyx/__init__.py,sha256=Nsz_JBCvHlHKhgzTagXMUnlU8WJV_TF5oi_7Hf4ncUA,1012
|
|
2
|
+
telnyx/api_requestor.py,sha256=01zqlPu3Mx58baLLAsRvGihvv5F6h9efBxUtLsAPyLw,10412
|
|
3
|
+
telnyx/error.py,sha256=7kwUMS7b0ec64A-Ugcwbjs4D2Pl7stEb-JjCE9T6Pic,4366
|
|
4
|
+
telnyx/http_client.py,sha256=P9htOl44DhSW_m5MkRYtz2U0uLxh7tyuaf1v-ja9MiY,20042
|
|
5
|
+
telnyx/multipart_data_generator.py,sha256=A6rNpe1WJ859ncFSvAEGHUFuK_fHQiLKqYJAL2Cmc6k,2597
|
|
6
|
+
telnyx/request_metrics.py,sha256=FHW4rRRYmUe54IWlEgC7BIsM7yvEXMBncPut0E0EWGY,401
|
|
7
|
+
telnyx/telnyx_object.py,sha256=ckPaeniC34GOEyCJ9dA6OCVvfRcXYvNJnQ0gqG7mOms,9453
|
|
8
|
+
telnyx/telnyx_response.py,sha256=4oWm_bDEavy7J3I7DvfD6FpFHCbFj9w1x76OiJFfnoU,422
|
|
9
|
+
telnyx/util.py,sha256=pUO0qUV4WZsNsjCmjo8SaCRQce668bJoIaFNTabIGIY,16522
|
|
10
|
+
telnyx/webhook.py,sha256=HrmuTWy_6SJMKpjDsuTWTdfkmcONhoE4PAnojreR7y0,1970
|
|
11
|
+
telnyx/api_resources/__init__.py,sha256=0cGA1obwny9KT8O3gv_gG7pZmGwpnfGishdKLFAi8O4,12998
|
|
12
|
+
telnyx/api_resources/access_control_ip.py,sha256=MNE-cuuoF1Rh_gVurfsRWby-7DgFTmDtKjg_ih_ZBNA,319
|
|
13
|
+
telnyx/api_resources/access_ip_address.py,sha256=D1HggM0YTQ9qyqQf8H5CTzecPBmhTNO8NNaOeAcr5Vg,400
|
|
14
|
+
telnyx/api_resources/access_token.py,sha256=MoXR6NLQr10amLOEFx_5dzjpdZBEnvR8-_Uy4IRa6-w,207
|
|
15
|
+
telnyx/api_resources/address.py,sha256=-3N_Hmh727UtEICbznbXWQ6NnblrpRNcg5JPwtKtCMw,805
|
|
16
|
+
telnyx/api_resources/advanced_optinoptout.py,sha256=bRdACJIroXCwtjS9woI4Z-ZWsaG6p9yzjl6anfc-QH4,395
|
|
17
|
+
telnyx/api_resources/ai.py,sha256=gIgVWt8IcHpS5y4_YQz3jvIGofFBQEVKpSuVgYYEqyI,1225
|
|
18
|
+
telnyx/api_resources/api_key.py,sha256=SrFq-Vo1ObxBs4lTfUUOVqZ0JaRujykxon3tvyHcQ4k,300
|
|
19
|
+
telnyx/api_resources/authentication_provider.py,sha256=8hy0qX0nJRt8xagH8W24kstsS8GYvgmjl5OYlQzK7aE,401
|
|
20
|
+
telnyx/api_resources/autorechargepreference.py,sha256=15rzmAwDoaIFlz_dnjQ_uP7KRJ1405j_mxeWvt2M-jw,270
|
|
21
|
+
telnyx/api_resources/available_phone_number.py,sha256=QtaoJsudHMun_fdY6KeDmXOghocARm8zlHRLwjUUi8U,222
|
|
22
|
+
telnyx/api_resources/balance.py,sha256=Z6qwClGpe8NR_RiaU0_lEJV29udmMsdzeJNehHCguX4,196
|
|
23
|
+
telnyx/api_resources/billing.py,sha256=A8KbJlvjI7BPP12MiM7NziUgP_kYyJ7BB1VLzsrcmQ0,194
|
|
24
|
+
telnyx/api_resources/billing_group.py,sha256=vM7ZlhtU1Vs__brcJCszrh953dIrhT-43T8QEMa6iV8,381
|
|
25
|
+
telnyx/api_resources/brand.py,sha256=N8owqkPjodN0AbsXQegUcUnHPEn6EmVL-3gFJACEh4U,909
|
|
26
|
+
telnyx/api_resources/bucket.py,sha256=G2S01aq_f7IpdpMSeVC4WxGjsFo8JI6LA1zuQwp-RVU,368
|
|
27
|
+
telnyx/api_resources/bucket_usage.py,sha256=Z9b97EZ9LMX25U_yroE2C0umr_eVZiBbwrM72cTSp60,203
|
|
28
|
+
telnyx/api_resources/bulk_creation.py,sha256=ZbMicnzOkjyh2_TYzU-JIC4oX5Bv3mwngO9-HnQvfQw,707
|
|
29
|
+
telnyx/api_resources/bulk_credential.py,sha256=utWG5DS-xBxODjwQmCbpt3DbnJSgVfeRBaL2Orcxrts,326
|
|
30
|
+
telnyx/api_resources/bulk_phone_number_campaign.py,sha256=wWyY_pkoqW8TEt5R_lCBC8wxitUTHbbRpUlH9Ma7920,275
|
|
31
|
+
telnyx/api_resources/bulk_phone_number_operation.py,sha256=EAFjwCZiYleUl3TsZobhJCJG7QIW4yuXV_92enaIsfc,277
|
|
32
|
+
telnyx/api_resources/bulk_sole_proprietor_creation.py,sha256=KqPSZAGcxxirFwKrLtdRrj5uvGGrzXxeRqNpL4Xy_iw,281
|
|
33
|
+
telnyx/api_resources/business_identity.py,sha256=u5VblLBPRKYJorMG4rOMZcKVyN9xN2v87As1xV3t2aY,389
|
|
34
|
+
telnyx/api_resources/call.py,sha256=WEW6tZksdK2QgDX0STmq5KIAMy9whPNdNz7kpCDOo3Q,6444
|
|
35
|
+
telnyx/api_resources/call_control_application.py,sha256=dU_9-fXGpWVw57Cp5keSl-LMpYmMBIzr7IqCXViYwow,402
|
|
36
|
+
telnyx/api_resources/call_information.py,sha256=EtuGY0RJsSFnAaegOrGQllQ0eGTDohqlQ1cZOW4u8dg,211
|
|
37
|
+
telnyx/api_resources/call_recording.py,sha256=1Pl67HBV1K-z64CfPh99iO-Dj3XYebJD8iRMXFOTbz0,582
|
|
38
|
+
telnyx/api_resources/campaign.py,sha256=2VR8OzOz_in0hzGe4qNWxYPDxJwgUXZmoo7DJyB2Z5k,1235
|
|
39
|
+
telnyx/api_resources/cdr_usage_report.py,sha256=7E_fU92Kf4VfZIK5oTkkhUJgmj7472zIfiqK3TaoinA,210
|
|
40
|
+
telnyx/api_resources/comment.py,sha256=c3DhpM1j7YAQZboV_UTb7RKgwqSMJhtUMQvwe2siFW4,240
|
|
41
|
+
telnyx/api_resources/conference.py,sha256=8WXP4nP4AMk0x0XNu1VSpA8Q9lnd3Q5eezn84_wjqws,2896
|
|
42
|
+
telnyx/api_resources/connection.py,sha256=e8lBTw8B8RGIfmMvdiqqHnevwOkYHeKQU-eDya2oyc0,200
|
|
43
|
+
telnyx/api_resources/credential_connection.py,sha256=LjK5BuHOxal9DKJ0OCSItN947VRZrZSokhXik3iUWl8,687
|
|
44
|
+
telnyx/api_resources/csv_download.py,sha256=ZPI8Zqq56gMGHfql4aFBA0R2sfS3KdBiThK4k5SBVBo,249
|
|
45
|
+
telnyx/api_resources/custom_storage_credential.py,sha256=d3dplOJc8vlOgY3in_M7K6Me-xKwgmQREAOG0m5pnfM,404
|
|
46
|
+
telnyx/api_resources/customer_service_record.py,sha256=H7cOhFURbteAOK6wRcsRSlO8zaW6FxvfSny0JQmSAqA,270
|
|
47
|
+
telnyx/api_resources/debugging.py,sha256=AS71x2E4M1Y_LpZnRp9iJydCOh-t_9IbYkks5c39yxo,198
|
|
48
|
+
telnyx/api_resources/detail_record.py,sha256=cvSmArWF1SUgZVW3N47R0mmZIDvZxel_kH1m_FvJ5LU,205
|
|
49
|
+
telnyx/api_resources/detail_records_report.py,sha256=ntuk8MiM_LhMSptTmmlTtRLw7xDWpDt-adD4Ki32wbE,428
|
|
50
|
+
telnyx/api_resources/dialogflow_integration.py,sha256=5qaIv93vAtVdYMo9isbTF_kz3BnxEbY4edPZsmpjyMA,399
|
|
51
|
+
telnyx/api_resources/document.py,sha256=CWNhwheDgCi5U7ygnSLVVijRB87CENcQd4QfTvaXUaE,449
|
|
52
|
+
telnyx/api_resources/dynamic_emergency_address.py,sha256=J6hrqgCSU4hFrsedxjaCWd_QA0G730XZc2LWT1qG4Mg,495
|
|
53
|
+
telnyx/api_resources/dynamic_emergency_endpoint.py,sha256=72pz3FckBp9BJ5D-EK6M0mqX_HFth9xUPwHlEKQt3pQ,343
|
|
54
|
+
telnyx/api_resources/enum.py,sha256=D2IPkMQ-5bMPNm-L-0jC6m_ZlqZJGAcLuXkiKMJSsYo,188
|
|
55
|
+
telnyx/api_resources/event.py,sha256=5ukJbuj4tnXEbVCP0a-dnctBw8NFUtEQsraD8A1P7w4,187
|
|
56
|
+
telnyx/api_resources/external_connection.py,sha256=bl_LQqMsmCDzAqcAiuF0Ie1GI5ZhsJ1W7zBWRn_M7wk,393
|
|
57
|
+
telnyx/api_resources/fax.py,sha256=vpwZPb-uiAE8UBCt034wc6kXPTC1oERyGfP99s-2DYg,729
|
|
58
|
+
telnyx/api_resources/fax_application.py,sha256=DSZ0v04xoKYKKgEndoF9afhluVI4KBPOxdCI2uAPWVQ,385
|
|
59
|
+
telnyx/api_resources/fqdn.py,sha256=qb2dI3qiCOT9w92DLWpkLqA4yK5gCNI1gaB4Iy6guk4,364
|
|
60
|
+
telnyx/api_resources/fqdn_connection.py,sha256=e9TV7SG3CiA_do8wxmyzchVIMtVNtqYp7xb4ZvXrVZ0,385
|
|
61
|
+
telnyx/api_resources/inbound_channel.py,sha256=lBrvrh7cXD1Nuhp_SwFqGhqmO3twmalyvYvca2U7gb0,629
|
|
62
|
+
telnyx/api_resources/inventory_coverage.py,sha256=ELaHBQtbl_esxsRuOmnf-HNWxXYX0ZtHwSIYhByZ374,505
|
|
63
|
+
telnyx/api_resources/inventory_level.py,sha256=njYQyjcbXbslfgIwghuPfN0-TnClavA_pPNQN1jehM4,209
|
|
64
|
+
telnyx/api_resources/ip.py,sha256=s3EDSfb2bffxgUdp53xZJKtC20VxLtkNYRbYfbMpgwo,360
|
|
65
|
+
telnyx/api_resources/ip_address.py,sha256=X27JJUGFCmqM0dKgAoYGY8rHMAWkkoxt0HOXYHO5tVU,382
|
|
66
|
+
telnyx/api_resources/ip_connection.py,sha256=CCdqPIsCK6VtJM3F6qb53-pJjSBP_aFvsx3P_S18yyY,381
|
|
67
|
+
telnyx/api_resources/ip_range.py,sha256=KSeRIxZBbLMWthZYxR5fDnIdqUi6_470glh8QmJ5_GI,302
|
|
68
|
+
telnyx/api_resources/list_object.py,sha256=_BMzJMoUEiHCxKui7Ui63I0do0pNTE4t3UOVEkU_TvA,2955
|
|
69
|
+
telnyx/api_resources/managed_account.py,sha256=mXrbZZt_p2Nmw1aZQvWtyL2yhshVJleDcy5uSGkb0r8,685
|
|
70
|
+
telnyx/api_resources/mdr_detail_report.py,sha256=_7zankyqh5fjdQzFbwFX585mxrbkbhc6qFy-NQUXct0,319
|
|
71
|
+
telnyx/api_resources/mdr_usage_report.py,sha256=BFivJ1JfEnQNL7H_BQf7uRJJFK-7vaegbfKrhS2ed7o,317
|
|
72
|
+
telnyx/api_resources/media.py,sha256=H_0B86pFemUNJmazFBSd7Y92cN8ZKg0ILQz8jvyAGIc,635
|
|
73
|
+
telnyx/api_resources/media_storage_api.py,sha256=1Z-Sb97xYmLMuELKd48ezuSj9jzTMIsmfARlW13bli8,388
|
|
74
|
+
telnyx/api_resources/message.py,sha256=HFp6K8bjT9D1e_KX3Szq8Km2qPJgZMQYOArKWgVT9po,240
|
|
75
|
+
telnyx/api_resources/messaging_hosted_number.py,sha256=KX04BGoorwCLbhB0KDOw9bZQF0LO02OPo3ZAFELQBKw,562
|
|
76
|
+
telnyx/api_resources/messaging_hosted_number_order.py,sha256=4GycLFKM724FA2rqzZcVV2FBsvRqw509zjwJJh84Vz0,350
|
|
77
|
+
telnyx/api_resources/messaging_phone_number.py,sha256=5epCdjMbMf3urOSOKmCVmTEu1ybLiskeRmsB8176w1g,268
|
|
78
|
+
telnyx/api_resources/messaging_profile.py,sha256=l5Wq7JVp9MP-5YErVitNHrvFSZ8LAHWU2g-wPE6ATxU,935
|
|
79
|
+
telnyx/api_resources/messaging_tollfree_verification.py,sha256=p6l6ka-RZeDtKDXTouiQ7PUUnqihA1SUFDvRnt5_nFo,416
|
|
80
|
+
telnyx/api_resources/messaging_url_domain.py,sha256=qeDt9QRB2C-AMJ-HlX10_mLPq9iQjNmI9XoZzC5A-9I,218
|
|
81
|
+
telnyx/api_resources/mobile_network_operator.py,sha256=5vx8NsQd4PLx4ywmXkceDQpJ55Tqw6tNxt1AZ70BnPg,224
|
|
82
|
+
telnyx/api_resources/network.py,sha256=ZXAbeswCEQg-zA-i1ugmMP8EGUaF_obKSgTVf7WATMw,370
|
|
83
|
+
telnyx/api_resources/notification.py,sha256=i9D1MNITS4di-6F0w31BseYywyRpjC8MpeYjdNHAAT4,380
|
|
84
|
+
telnyx/api_resources/notification_channel.py,sha256=wSvhWzEGZWQryVTEM4n3aMYdzbKnQ1GB4kg7-ttpRG8,395
|
|
85
|
+
telnyx/api_resources/notification_event.py,sha256=dxVtZ_co73cGKBDrBSz5WmSXTnxfvHHaLdpaUAvUjCw,215
|
|
86
|
+
telnyx/api_resources/notification_event_condition.py,sha256=8K4PbjZVrCraww7GzxmfmhlJkPl_mPjTBfs07eduo8M,234
|
|
87
|
+
telnyx/api_resources/notification_profiles.py,sha256=MtxWdi5Ov72Gk3AOAviT3mRZ7qk2eHgV_UdwWCu8V48,395
|
|
88
|
+
telnyx/api_resources/notification_setting.py,sha256=LR6hMdxbikmviQqIa8U5Ds2_Lv8mKHfi2Wy_ZQcoO5o,332
|
|
89
|
+
telnyx/api_resources/number_configuration.py,sha256=qhaW_kvJm0L4tNRNDL2IPgUL4cIZ91XWpmfEy5hR7jU,265
|
|
90
|
+
telnyx/api_resources/number_lookup.py,sha256=xmfocrX91Yr7JRfGsvI80OdjpjRqsMhNqqd7QFsyFg0,266
|
|
91
|
+
telnyx/api_resources/number_order.py,sha256=M1FM3GQ07VYw0W6RjcgrQ2X1I5wQ3wTa8VMrTTz6wvg,312
|
|
92
|
+
telnyx/api_resources/number_order_phone_number.py,sha256=pkGwG6gjEOmipYbnWAufsne9NCngfo6xbYUPWeJBZkM,204
|
|
93
|
+
telnyx/api_resources/number_portout.py,sha256=LHeiiVxLR25ziZFLvR6gGmuAdaFErzysDNfyme-70Zc,316
|
|
94
|
+
telnyx/api_resources/number_reservation.py,sha256=SJYSBBwK1QLQi6msjvMJUGUd9HZrffKEj2pSNl3rtEc,495
|
|
95
|
+
telnyx/api_resources/numbers_feature.py,sha256=y69zSo5IVxdtaEkv7nneGgFwLXKg58J0q0KV7WJTwO4,213
|
|
96
|
+
telnyx/api_resources/ota_update.py,sha256=EAshyhIV8yP2YMLVW7BEGJdCRln6Aa0DdoTnBIZJ950,199
|
|
97
|
+
telnyx/api_resources/outbound_voice_profile.py,sha256=tq6cFo4-qPR2HsruQCr27ZIO8iHciKy61NIP7yIOkpY,398
|
|
98
|
+
telnyx/api_resources/phone_assignment_profile.py,sha256=nEuK4XkNz-sspFku95F6DmGUCaEE_KvWJoQB2hgx-hE,753
|
|
99
|
+
telnyx/api_resources/phone_number.py,sha256=OG6wTTCb8mqUXz5-3O-jiqrVuUSVd3G3ld4riYMLTog,4118
|
|
100
|
+
telnyx/api_resources/phone_number_block_order.py,sha256=l_aBDexyvNTkVeLKonp3AXaOmGRYrPwvRTPM0LOj7wE,271
|
|
101
|
+
telnyx/api_resources/phone_number_blocks_background_job.py,sha256=P2gFmilzUFqIbGjhZU1WKdUe4SKd2948USnhTHk3YsM,290
|
|
102
|
+
telnyx/api_resources/phone_number_campaign.py,sha256=YVKdZLfAOoGb6s-NFZRuArsloZgE180-DKaUjOeJB5Q,396
|
|
103
|
+
telnyx/api_resources/phone_number_configuration.py,sha256=zxzSoU11ExfYLAIjfmw3M_SoeGh123yVJBGkF-sPzFI,651
|
|
104
|
+
telnyx/api_resources/phone_number_jobs.py,sha256=tC4y5CogxReiEoOPj7BGuWxWrz37odaFl_4yE85GkxQ,1369
|
|
105
|
+
telnyx/api_resources/phone_number_order.py,sha256=nWLSZJedFUMwsDxhcv4SSqwb8nOJbCDEXLZBbFbC3wA,329
|
|
106
|
+
telnyx/api_resources/phone_number_order_document.py,sha256=RIu1uUH-GqluTnnr8CgU6seBaeJWc6i8RG-pSVKaGJQ,346
|
|
107
|
+
telnyx/api_resources/phone_number_porting.py,sha256=4_fhA4uSvENXofrN0W1buBW5MIPO7bpV99C_YaPQUaE,222
|
|
108
|
+
telnyx/api_resources/phone_number_regulatory_requirement.py,sha256=7GT7yf4zpnFrYnwcLnRjrUkOY-E_XN6ck4QBTtvE8AI,556
|
|
109
|
+
telnyx/api_resources/phone_number_reservation.py,sha256=s1WCdybfSFaoaxeuuKipPAkDeZ-69sTe6e4mpOqv_70,484
|
|
110
|
+
telnyx/api_resources/phone_number_search.py,sha256=10s_Kzw0DSXSMwAGpWnR8adChdooiu8GDRNcZC7R-ro,216
|
|
111
|
+
telnyx/api_resources/portability_check.py,sha256=VuwBUIX25U-4cK-X7uOduW5gwCzcZwzuN6yrFyZl7zU,217
|
|
112
|
+
telnyx/api_resources/porting_order.py,sha256=vzii9QKdyG9zP6eqw9O0ioiCw6VxvKT81-KhYZyEVIM,1516
|
|
113
|
+
telnyx/api_resources/portout.py,sha256=O92nCcvtzNhs2NLHSMAdmH27iDp44riK2gO0laCFB4A,1114
|
|
114
|
+
telnyx/api_resources/presigned_object_url.py,sha256=oo33r5xX3CUUv48rehgFjccQy6AioNYRwOXBceDXHTw,222
|
|
115
|
+
telnyx/api_resources/private_wireless_gateway.py,sha256=GWglPOwJMUekkHU-wuXR3QwGL2YipO2tkmT1RcHn6zY,339
|
|
116
|
+
telnyx/api_resources/public_internet_gateway.py,sha256=1x2qoGyrtKJJAcSdw0h0gjIJ1ZekH5lKfKruveBDDhQ,337
|
|
117
|
+
telnyx/api_resources/public_key.py,sha256=iQK2BodZvtHCg9KSsg9ofclpyv0RHBZ_90LTO5Z52xk,201
|
|
118
|
+
telnyx/api_resources/push_credential.py,sha256=kBCmVn7Znr2C88ZOJIuPnsyQWZxloIyxn_1xnJ2Nwo4,316
|
|
119
|
+
telnyx/api_resources/queue.py,sha256=jgbd_xIrPYCq0WlL-brpchCFsJq-ZVm3Vddgis-S0r4,598
|
|
120
|
+
telnyx/api_resources/queue_command.py,sha256=UOL3mfp59h34hNtsIz3DeH1agxZ00SbP456YxGi_p2I,205
|
|
121
|
+
telnyx/api_resources/recordings_command.py,sha256=U_A_ka8Lm4qmmo4ALTYdvcnUuMwAnkupNXyQTHtKzC0,215
|
|
122
|
+
telnyx/api_resources/region.py,sha256=hqeuBVjn3ay-QklzDQZ_cvViY0cJZZDLyWJe2Fuq7lM,192
|
|
123
|
+
telnyx/api_resources/register_call.py,sha256=v9vllTwRom7u5JR2lZjbxqmPR9JwB6srwkqukz8VY2o,209
|
|
124
|
+
telnyx/api_resources/report.py,sha256=ngO8UcsZrx-WyF5reDvSeXDijURxdtKsw6V5pUt-pVk,238
|
|
125
|
+
telnyx/api_resources/reporting.py,sha256=SAJQtrivKWMwf7StoMC8cM64Mr_cVcpyGYny1iHeS3g,305
|
|
126
|
+
telnyx/api_resources/requirement.py,sha256=rO_Wz_TkIETA2w1eTW2EnT-PQrac-15i5SmOELthdQ8,202
|
|
127
|
+
telnyx/api_resources/requirement_type.py,sha256=Wt0rsRYDHxMwiDXo8V8ZKhaHI4q9j9zMe3klHfBA6VE,211
|
|
128
|
+
telnyx/api_resources/room.py,sha256=P41Kf1XJD8T57cVSPZyqa4SpEyHSwz4_x18ssWN1Crk,1030
|
|
129
|
+
telnyx/api_resources/room_composition.py,sha256=zDCYwCkxQ1Hh1G0sqMamDr8DTwE1mB4nO7nmydklFAA,318
|
|
130
|
+
telnyx/api_resources/room_participant.py,sha256=tQQmuJw1PyIOPE406rRQX9Kk1569E4LwQOpCUJX6S5k,211
|
|
131
|
+
telnyx/api_resources/room_recording.py,sha256=UFkF26Xr2Iqjv-n6NT-KeL-6zcOA0c8ARM_btFt6JzM,251
|
|
132
|
+
telnyx/api_resources/room_session.py,sha256=vCUzWK5MOmR9nHwyndgOkJui4y7inN7Uvp5o4IsPgGA,1081
|
|
133
|
+
telnyx/api_resources/rooms_client_token.py,sha256=9gjX1kOsQuSl_-cpb8oa5r2aFnVfNnmiFclZS-cHFBU,747
|
|
134
|
+
telnyx/api_resources/shared_campaign.py,sha256=M7z1SxjUQ5yXncK0wOJxkpN_en2o8mzZuqHuUBPToCY,209
|
|
135
|
+
telnyx/api_resources/short_code.py,sha256=AMfaG9JmzKhFu9ETrfqAlmF1-5LKD_iblOsNVst5nYk,245
|
|
136
|
+
telnyx/api_resources/sim_card.py,sha256=aysp1MEmJ7No861C-jPmcu6pHVpJGl9Vui0RT3vFEI0,2811
|
|
137
|
+
telnyx/api_resources/sim_card_action.py,sha256=pjkOD5JYLjX13Mnitk3kaXTS9pVSxlXMzox_BswEUnk,208
|
|
138
|
+
telnyx/api_resources/sim_card_group.py,sha256=cjOwy7ePtMfWEss2WNpM8opN68HZgHPBd2pe5TZkAhQ,963
|
|
139
|
+
telnyx/api_resources/sim_card_order.py,sha256=Vyan3KboCaPJ3LuNqgVolaP8sy30Di7bW41OBHqXW5c,433
|
|
140
|
+
telnyx/api_resources/ssl_certificate.py,sha256=QKG4tYTI7-orEbiKGsOY3biF_jjlTpJIZL2SGzg5Z6E,316
|
|
141
|
+
telnyx/api_resources/sub_number_order.py,sha256=hb0hAhEv0xry7TfjWvKyybMC-WN6xaVpFFr5AploW5o,386
|
|
142
|
+
telnyx/api_resources/telephony_credential.py,sha256=_khQ2bOLoEQZ_p6qYB6-bjPwLoinPMR9JWol0_G59uE,646
|
|
143
|
+
telnyx/api_resources/texml_application.py,sha256=5gubR9gjvZmZW4lva-OU0igOh6r0fLikotuVaM4uqEU,389
|
|
144
|
+
telnyx/api_resources/texml_rest_command.py,sha256=Xfv4cbfikC1kundFjmBRtS1qM0uFllVhPLkuITWxcgU,327
|
|
145
|
+
telnyx/api_resources/verification.py,sha256=qZjJZcVe1aM8h6M7OdLPfcaZ3wulXhpYWb0Iy8PoKf4,1615
|
|
146
|
+
telnyx/api_resources/verified_calls_display_profile.py,sha256=hLFpgrMtSW_jlVleXax7VROWEkBPEjNTE0a5fgKfJyg,413
|
|
147
|
+
telnyx/api_resources/verified_number.py,sha256=8EGgTcC9BjBUrzH65znL15xNx4cgu1_hhF93VcMzcAw,515
|
|
148
|
+
telnyx/api_resources/verify.py,sha256=f4q5uOhpA8mdnkAMLxHf13Y5l2K66m7HilMKnp4sEUU,567
|
|
149
|
+
telnyx/api_resources/verify_profile.py,sha256=UJUUp2SRmrDzCt2oKHT_t3ynJ2G87_byx-dFffKUMkQ,383
|
|
150
|
+
telnyx/api_resources/virtual_cross_connect.py,sha256=Z9eDeR7HEdZkLSTfsoxfYE2lT5x4IYjA1WIPzy86hsg,613
|
|
151
|
+
telnyx/api_resources/wdr_detail_report.py,sha256=2_oJmdidVtX4DmPJsn0ff_8G0Gc-PL0Zo63Bym2FPZk,212
|
|
152
|
+
telnyx/api_resources/webhook.py,sha256=rrvHtbgd6NhoKoYOjrDoGbBWMp2ElP1PJtL6ooNCHG0,194
|
|
153
|
+
telnyx/api_resources/webhook_deliveries.py,sha256=zCq74p80po6kDZCjLPsTrhQH3NAyGT9OPxQoNCLH9ww,297
|
|
154
|
+
telnyx/api_resources/wireguard_interface.py,sha256=XhqyRiEkLFMjw_c7SOuF6EyLi1tssYgcuNTAtXHlc7w,393
|
|
155
|
+
telnyx/api_resources/wireless_detail_record_report.py,sha256=dAYdVTkSLRJ2e6bXlHqBX7IX3VQGJIaMZOqDTuIf3a8,446
|
|
156
|
+
telnyx/api_resources/abstract/__init__.py,sha256=9jcqkJnDYXXCzDIUTRqLGHTI17eKz3i9fMD_0QvySaE,692
|
|
157
|
+
telnyx/api_resources/abstract/api_resource.py,sha256=I7rUSntKGM6sF_9zt8z4r5gSH4zk-Vp1teWmVyIxtus,2298
|
|
158
|
+
telnyx/api_resources/abstract/createable_api_resource.py,sha256=BSM5A7pWO1KtIhs9jdv2l44wE7RmV75hyFW6yB9k5Q8,549
|
|
159
|
+
telnyx/api_resources/abstract/deletable_api_resource.py,sha256=dB3tDxsiTxY1I04ygZFvvDbOWql0-x3Q-PJv_jxIvmc,307
|
|
160
|
+
telnyx/api_resources/abstract/listable_api_resource.py,sha256=shWcUha2LYM_WPedBXQ9bB_zlwZdLWAxccjVbklM2uU,907
|
|
161
|
+
telnyx/api_resources/abstract/nested_resource_class_methods.py,sha256=dO18YZ4iuqmsvxibbXYfFb-D8Eg9XAKs8IQDGU--gCo,4314
|
|
162
|
+
telnyx/api_resources/abstract/singleton_api_resource.py,sha256=2g-rKkk2dT8aNJDKEFiaLFRs8wKk31kBTJpku3kpdNE,874
|
|
163
|
+
telnyx/api_resources/abstract/updateable_api_resource.py,sha256=2_WN99EUfBmnHunfjS3jlwY0EIoU8V7_j9OMRsiqedk,1673
|
|
164
|
+
telnyx-2.1.2.dist-info/LICENSE,sha256=h4YEwOcV9A9iTg1cUsg0z7uU7gxj281PMpKWj-AdQWY,1141
|
|
165
|
+
telnyx-2.1.2.dist-info/METADATA,sha256=RK_Hvm3OSnMkh_qhs6sMIHr2Fc_hMjWgV1Qx0kn8S3I,10658
|
|
166
|
+
telnyx-2.1.2.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
|
167
|
+
telnyx-2.1.2.dist-info/top_level.txt,sha256=e59ZDpP51N6b62sY7VrNLq8aR9Ly5-IHtl7zCkGA0Yw,7
|
|
168
|
+
telnyx-2.1.2.dist-info/RECORD,,
|