telnyx 2.1.5__py2.py3-none-any.whl → 2.1.6__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 CHANGED
@@ -24,7 +24,7 @@ public_key = os.environ.get("TELNYX_PUBLIC_KEY")
24
24
  log = None
25
25
 
26
26
 
27
- __version__ = "2.1.5"
27
+ __version__ = "2.1.6"
28
28
 
29
29
 
30
30
  # Sets some basic information about the running application that's sent along
@@ -27,7 +27,7 @@ from telnyx.api_resources.business_identity import BusinessIdentity
27
27
  from telnyx.api_resources.call import Call
28
28
  from telnyx.api_resources.call_control_application import CallControlApplication
29
29
  from telnyx.api_resources.call_information import CallInformation
30
- from telnyx.api_resources.call_recording import CallRecording
30
+ from telnyx.api_resources.recording import Recording
31
31
  from telnyx.api_resources.campaign import Campaign
32
32
  from telnyx.api_resources.cdr_usage_report import CdrUsageReport
33
33
  from telnyx.api_resources.comment import Comment
@@ -162,6 +162,7 @@ from telnyx.api_resources.wireless_detail_record_report import (
162
162
  WirelessDetailRecordsReports,
163
163
  )
164
164
 
165
+
165
166
  # flake8: noqa
166
167
 
167
168
 
@@ -191,7 +192,6 @@ __all__ = [
191
192
  "Call",
192
193
  "CallControlApplication",
193
194
  "CallInformation",
194
- "CallRecording",
195
195
  "Campaign",
196
196
  "CdrUsageReport",
197
197
  "Comment",
@@ -278,6 +278,7 @@ __all__ = [
278
278
  "Queue",
279
279
  "QueueCall",
280
280
  "QueueCommand",
281
+ "Recording",
281
282
  "RecordingsCommand",
282
283
  "Region",
283
284
  "RegisterCall",
@@ -1,22 +1,18 @@
1
1
  from __future__ import absolute_import, division, print_function
2
2
 
3
3
  from telnyx.api_resources.abstract import (
4
- CreateableAPIResource,
5
4
  DeletableAPIResource,
6
5
  ListableAPIResource,
7
- UpdateableAPIResource,
8
6
  nested_resource_class_methods,
9
7
  )
10
8
 
11
9
 
12
10
  @nested_resource_class_methods("delete", path="actions/delete", operations=["delete"])
13
- class CallRecording(
14
- CreateableAPIResource,
11
+ class Recording(
15
12
  DeletableAPIResource,
16
13
  ListableAPIResource,
17
- UpdateableAPIResource,
18
14
  ):
19
- OBJECT_NAME = "call_recording"
15
+ OBJECT_NAME = "recording"
20
16
 
21
17
  def delete(self, **params):
22
- return self.delete_delete(**params)
18
+ return self.delete_delete(self.id, nested_id=None, **params)
telnyx/util.py CHANGED
@@ -131,7 +131,7 @@ def load_object_classes():
131
131
  api_resources.Call.OBJECT_NAME: api_resources.Call,
132
132
  api_resources.CallControlApplication.OBJECT_NAME: api_resources.CallControlApplication,
133
133
  api_resources.CallInformation.OBJECT_NAME: api_resources.CallInformation,
134
- api_resources.CallRecording.OBJECT_NAME: api_resources.CallRecording,
134
+ api_resources.Recording.OBJECT_NAME: api_resources.Recording,
135
135
  api_resources.Campaign.OBJECT_NAME: api_resources.Campaign,
136
136
  api_resources.CdrUsageReport.OBJECT_NAME: api_resources.CdrUsageReport,
137
137
  api_resources.Comment.OBJECT_NAME: api_resources.Comment,
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: telnyx
3
- Version: 2.1.5
3
+ Version: 2.1.6
4
4
  Summary: Python bindings for the Telnyx API
5
5
  Home-page: https://github.com/team-telnyx/telnyx-python
6
6
  Author: Telnyx
@@ -37,6 +37,7 @@ Dynamic: description-content-type
37
37
  Dynamic: home-page
38
38
  Dynamic: keywords
39
39
  Dynamic: license
40
+ Dynamic: license-file
40
41
  Dynamic: project-url
41
42
  Dynamic: requires-dist
42
43
  Dynamic: requires-python
@@ -1,4 +1,4 @@
1
- telnyx/__init__.py,sha256=sLjYScK605uVnc6lj_9GfbJjaEwb43StfmKYO9_l2Vo,1012
1
+ telnyx/__init__.py,sha256=sKRkvTr7dh5i0xnU7sU7AhKScakFTqzyAJXRtNK2V64,1012
2
2
  telnyx/api_requestor.py,sha256=hkQ00gVrV6XWoJAoNx_PqXobvJzwut2YTr9M1vfI3gk,10562
3
3
  telnyx/error.py,sha256=7kwUMS7b0ec64A-Ugcwbjs4D2Pl7stEb-JjCE9T6Pic,4366
4
4
  telnyx/http_client.py,sha256=P9htOl44DhSW_m5MkRYtz2U0uLxh7tyuaf1v-ja9MiY,20042
@@ -6,9 +6,9 @@ telnyx/multipart_data_generator.py,sha256=A6rNpe1WJ859ncFSvAEGHUFuK_fHQiLKqYJAL2
6
6
  telnyx/request_metrics.py,sha256=FHW4rRRYmUe54IWlEgC7BIsM7yvEXMBncPut0E0EWGY,401
7
7
  telnyx/telnyx_object.py,sha256=ckPaeniC34GOEyCJ9dA6OCVvfRcXYvNJnQ0gqG7mOms,9453
8
8
  telnyx/telnyx_response.py,sha256=4oWm_bDEavy7J3I7DvfD6FpFHCbFj9w1x76OiJFfnoU,422
9
- telnyx/util.py,sha256=pUO0qUV4WZsNsjCmjo8SaCRQce668bJoIaFNTabIGIY,16522
9
+ telnyx/util.py,sha256=PpAiSU_Ind7o34-uShJbvl5KGjOZuKFpDpDc722s8Gc,16514
10
10
  telnyx/webhook.py,sha256=HrmuTWy_6SJMKpjDsuTWTdfkmcONhoE4PAnojreR7y0,1970
11
- telnyx/api_resources/__init__.py,sha256=0cGA1obwny9KT8O3gv_gG7pZmGwpnfGishdKLFAi8O4,12998
11
+ telnyx/api_resources/__init__.py,sha256=0srJEzglkI63p18lOZmbTgIOHC_48sVfU_IiDERYy-4,12986
12
12
  telnyx/api_resources/access_control_ip.py,sha256=MNE-cuuoF1Rh_gVurfsRWby-7DgFTmDtKjg_ih_ZBNA,319
13
13
  telnyx/api_resources/access_ip_address.py,sha256=D1HggM0YTQ9qyqQf8H5CTzecPBmhTNO8NNaOeAcr5Vg,400
14
14
  telnyx/api_resources/access_token.py,sha256=MoXR6NLQr10amLOEFx_5dzjpdZBEnvR8-_Uy4IRa6-w,207
@@ -34,7 +34,6 @@ telnyx/api_resources/business_identity.py,sha256=u5VblLBPRKYJorMG4rOMZcKVyN9xN2v
34
34
  telnyx/api_resources/call.py,sha256=WEW6tZksdK2QgDX0STmq5KIAMy9whPNdNz7kpCDOo3Q,6444
35
35
  telnyx/api_resources/call_control_application.py,sha256=dU_9-fXGpWVw57Cp5keSl-LMpYmMBIzr7IqCXViYwow,402
36
36
  telnyx/api_resources/call_information.py,sha256=EtuGY0RJsSFnAaegOrGQllQ0eGTDohqlQ1cZOW4u8dg,211
37
- telnyx/api_resources/call_recording.py,sha256=1Pl67HBV1K-z64CfPh99iO-Dj3XYebJD8iRMXFOTbz0,582
38
37
  telnyx/api_resources/campaign.py,sha256=2VR8OzOz_in0hzGe4qNWxYPDxJwgUXZmoo7DJyB2Z5k,1235
39
38
  telnyx/api_resources/cdr_usage_report.py,sha256=7E_fU92Kf4VfZIK5oTkkhUJgmj7472zIfiqK3TaoinA,210
40
39
  telnyx/api_resources/comment.py,sha256=c3DhpM1j7YAQZboV_UTb7RKgwqSMJhtUMQvwe2siFW4,240
@@ -118,6 +117,7 @@ telnyx/api_resources/public_key.py,sha256=iQK2BodZvtHCg9KSsg9ofclpyv0RHBZ_90LTO5
118
117
  telnyx/api_resources/push_credential.py,sha256=kBCmVn7Znr2C88ZOJIuPnsyQWZxloIyxn_1xnJ2Nwo4,316
119
118
  telnyx/api_resources/queue.py,sha256=jgbd_xIrPYCq0WlL-brpchCFsJq-ZVm3Vddgis-S0r4,598
120
119
  telnyx/api_resources/queue_command.py,sha256=UOL3mfp59h34hNtsIz3DeH1agxZ00SbP456YxGi_p2I,205
120
+ telnyx/api_resources/recording.py,sha256=zl7ts6jn5D9MEct6DGJ9xnONgN3uF0rtdbFQ6yvmeF4,490
121
121
  telnyx/api_resources/recordings_command.py,sha256=U_A_ka8Lm4qmmo4ALTYdvcnUuMwAnkupNXyQTHtKzC0,215
122
122
  telnyx/api_resources/region.py,sha256=hqeuBVjn3ay-QklzDQZ_cvViY0cJZZDLyWJe2Fuq7lM,192
123
123
  telnyx/api_resources/register_call.py,sha256=v9vllTwRom7u5JR2lZjbxqmPR9JwB6srwkqukz8VY2o,209
@@ -161,8 +161,8 @@ telnyx/api_resources/abstract/listable_api_resource.py,sha256=shWcUha2LYM_WPedBX
161
161
  telnyx/api_resources/abstract/nested_resource_class_methods.py,sha256=c8RrfcdycBi-0JQrZOTNmpeoJihxBTeLel7NuOsrD50,5094
162
162
  telnyx/api_resources/abstract/singleton_api_resource.py,sha256=2g-rKkk2dT8aNJDKEFiaLFRs8wKk31kBTJpku3kpdNE,874
163
163
  telnyx/api_resources/abstract/updateable_api_resource.py,sha256=2_WN99EUfBmnHunfjS3jlwY0EIoU8V7_j9OMRsiqedk,1673
164
- telnyx-2.1.5.dist-info/LICENSE,sha256=h4YEwOcV9A9iTg1cUsg0z7uU7gxj281PMpKWj-AdQWY,1141
165
- telnyx-2.1.5.dist-info/METADATA,sha256=HS4Zecufj24FTs5IMbokflyq59iqEms4ap2X_7m0sqc,10868
166
- telnyx-2.1.5.dist-info/WHEEL,sha256=9Hm2OB-j1QcCUq9Jguht7ayGIIZBRTdOXD1qg9cCgPM,109
167
- telnyx-2.1.5.dist-info/top_level.txt,sha256=e59ZDpP51N6b62sY7VrNLq8aR9Ly5-IHtl7zCkGA0Yw,7
168
- telnyx-2.1.5.dist-info/RECORD,,
164
+ telnyx-2.1.6.dist-info/licenses/LICENSE,sha256=h4YEwOcV9A9iTg1cUsg0z7uU7gxj281PMpKWj-AdQWY,1141
165
+ telnyx-2.1.6.dist-info/METADATA,sha256=vSk-uX1BRijo31MgmyX17fuifUvDMTGsJosS_X2xqKc,10890
166
+ telnyx-2.1.6.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
167
+ telnyx-2.1.6.dist-info/top_level.txt,sha256=e59ZDpP51N6b62sY7VrNLq8aR9Ly5-IHtl7zCkGA0Yw,7
168
+ telnyx-2.1.6.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any