ultracart-rest-sdk 4.0.207__py3-none-any.whl → 4.0.209__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.
- ultracart/__init__.py +1 -1
- ultracart/api/conversation_api.py +830 -20
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/model/auto_order.py +4 -0
- ultracart/model/auto_order_item.py +4 -0
- ultracart/model/conversation_pbx_phone_number_response.py +1 -1
- ultracart/model/conversation_pbx_phone_numbers_response.py +1 -1
- ultracart/model/conversation_pbx_time_based_response.py +1 -1
- ultracart/model/conversation_pbx_time_baseds_response.py +1 -1
- ultracart/model/conversation_pbx_time_range_response.py +1 -1
- ultracart/model/conversation_pbx_time_ranges_response.py +1 -1
- ultracart/model/conversation_pbx_voicemail_mailbox.py +4 -0
- ultracart/model/conversation_pbx_voicemail_mailbox_response.py +1 -1
- ultracart/model/conversation_pbx_voicemail_mailboxes_response.py +1 -1
- ultracart/model/conversation_pbx_voicemail_message.py +315 -0
- ultracart/model/conversation_pbx_voicemail_message_response.py +292 -0
- ultracart/model/conversation_pbx_voicemail_message_summaries_response.py +292 -0
- ultracart/model/conversation_pbx_voicemail_message_summary.py +303 -0
- ultracart/model/workflow_task.py +4 -0
- ultracart/models/__init__.py +4 -0
- {ultracart_rest_sdk-4.0.207.dist-info → ultracart_rest_sdk-4.0.209.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-4.0.207.dist-info → ultracart_rest_sdk-4.0.209.dist-info}/RECORD +26 -22
- {ultracart_rest_sdk-4.0.207.dist-info → ultracart_rest_sdk-4.0.209.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-4.0.207.dist-info → ultracart_rest_sdk-4.0.209.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-4.0.207.dist-info → ultracart_rest_sdk-4.0.209.dist-info}/top_level.txt +0 -0
|
@@ -68,6 +68,8 @@ from ultracart.model.conversation_pbx_time_ranges_response import ConversationPb
|
|
|
68
68
|
from ultracart.model.conversation_pbx_voicemail_mailbox import ConversationPbxVoicemailMailbox
|
|
69
69
|
from ultracart.model.conversation_pbx_voicemail_mailbox_response import ConversationPbxVoicemailMailboxResponse
|
|
70
70
|
from ultracart.model.conversation_pbx_voicemail_mailboxes_response import ConversationPbxVoicemailMailboxesResponse
|
|
71
|
+
from ultracart.model.conversation_pbx_voicemail_message_response import ConversationPbxVoicemailMessageResponse
|
|
72
|
+
from ultracart.model.conversation_pbx_voicemail_message_summaries_response import ConversationPbxVoicemailMessageSummariesResponse
|
|
71
73
|
from ultracart.model.conversation_permissions_response import ConversationPermissionsResponse
|
|
72
74
|
from ultracart.model.conversation_response import ConversationResponse
|
|
73
75
|
from ultracart.model.conversation_search_request import ConversationSearchRequest
|
|
@@ -311,6 +313,58 @@ class ConversationApi(object):
|
|
|
311
313
|
},
|
|
312
314
|
api_client=api_client
|
|
313
315
|
)
|
|
316
|
+
self.delete_pbx_agent_voicemail_endpoint = _Endpoint(
|
|
317
|
+
settings={
|
|
318
|
+
'response_type': None,
|
|
319
|
+
'auth': [
|
|
320
|
+
'ultraCartOauth',
|
|
321
|
+
'ultraCartSimpleApiKey'
|
|
322
|
+
],
|
|
323
|
+
'endpoint_path': '/conversation/pbx/agent/voicemails/{recording_sid}',
|
|
324
|
+
'operation_id': 'delete_pbx_agent_voicemail',
|
|
325
|
+
'http_method': 'DELETE',
|
|
326
|
+
'servers': None,
|
|
327
|
+
},
|
|
328
|
+
params_map={
|
|
329
|
+
'all': [
|
|
330
|
+
'recording_sid',
|
|
331
|
+
],
|
|
332
|
+
'required': [
|
|
333
|
+
'recording_sid',
|
|
334
|
+
],
|
|
335
|
+
'nullable': [
|
|
336
|
+
],
|
|
337
|
+
'enum': [
|
|
338
|
+
],
|
|
339
|
+
'validation': [
|
|
340
|
+
]
|
|
341
|
+
},
|
|
342
|
+
root_map={
|
|
343
|
+
'validations': {
|
|
344
|
+
},
|
|
345
|
+
'allowed_values': {
|
|
346
|
+
},
|
|
347
|
+
'openapi_types': {
|
|
348
|
+
'recording_sid':
|
|
349
|
+
(str,),
|
|
350
|
+
},
|
|
351
|
+
'attribute_map': {
|
|
352
|
+
'recording_sid': 'recording_sid',
|
|
353
|
+
},
|
|
354
|
+
'location_map': {
|
|
355
|
+
'recording_sid': 'path',
|
|
356
|
+
},
|
|
357
|
+
'collection_format_map': {
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
headers_map={
|
|
361
|
+
'accept': [
|
|
362
|
+
'application/json'
|
|
363
|
+
],
|
|
364
|
+
'content_type': [],
|
|
365
|
+
},
|
|
366
|
+
api_client=api_client
|
|
367
|
+
)
|
|
314
368
|
self.delete_pbx_audio_endpoint = _Endpoint(
|
|
315
369
|
settings={
|
|
316
370
|
'response_type': (ConversationPbxAudioResponse,),
|
|
@@ -1729,6 +1783,103 @@ class ConversationApi(object):
|
|
|
1729
1783
|
},
|
|
1730
1784
|
api_client=api_client
|
|
1731
1785
|
)
|
|
1786
|
+
self.get_pbx_agent_voicemail_endpoint = _Endpoint(
|
|
1787
|
+
settings={
|
|
1788
|
+
'response_type': (ConversationPbxVoicemailMessageResponse,),
|
|
1789
|
+
'auth': [
|
|
1790
|
+
'ultraCartOauth',
|
|
1791
|
+
'ultraCartSimpleApiKey'
|
|
1792
|
+
],
|
|
1793
|
+
'endpoint_path': '/conversation/pbx/agent/voicemails/{recording_sid}',
|
|
1794
|
+
'operation_id': 'get_pbx_agent_voicemail',
|
|
1795
|
+
'http_method': 'GET',
|
|
1796
|
+
'servers': None,
|
|
1797
|
+
},
|
|
1798
|
+
params_map={
|
|
1799
|
+
'all': [
|
|
1800
|
+
'recording_sid',
|
|
1801
|
+
],
|
|
1802
|
+
'required': [
|
|
1803
|
+
'recording_sid',
|
|
1804
|
+
],
|
|
1805
|
+
'nullable': [
|
|
1806
|
+
],
|
|
1807
|
+
'enum': [
|
|
1808
|
+
],
|
|
1809
|
+
'validation': [
|
|
1810
|
+
]
|
|
1811
|
+
},
|
|
1812
|
+
root_map={
|
|
1813
|
+
'validations': {
|
|
1814
|
+
},
|
|
1815
|
+
'allowed_values': {
|
|
1816
|
+
},
|
|
1817
|
+
'openapi_types': {
|
|
1818
|
+
'recording_sid':
|
|
1819
|
+
(str,),
|
|
1820
|
+
},
|
|
1821
|
+
'attribute_map': {
|
|
1822
|
+
'recording_sid': 'recording_sid',
|
|
1823
|
+
},
|
|
1824
|
+
'location_map': {
|
|
1825
|
+
'recording_sid': 'path',
|
|
1826
|
+
},
|
|
1827
|
+
'collection_format_map': {
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
headers_map={
|
|
1831
|
+
'accept': [
|
|
1832
|
+
'application/json'
|
|
1833
|
+
],
|
|
1834
|
+
'content_type': [],
|
|
1835
|
+
},
|
|
1836
|
+
api_client=api_client
|
|
1837
|
+
)
|
|
1838
|
+
self.get_pbx_agent_voicemails_endpoint = _Endpoint(
|
|
1839
|
+
settings={
|
|
1840
|
+
'response_type': (ConversationPbxVoicemailMessageSummariesResponse,),
|
|
1841
|
+
'auth': [
|
|
1842
|
+
'ultraCartOauth',
|
|
1843
|
+
'ultraCartSimpleApiKey'
|
|
1844
|
+
],
|
|
1845
|
+
'endpoint_path': '/conversation/pbx/agent/voicemails',
|
|
1846
|
+
'operation_id': 'get_pbx_agent_voicemails',
|
|
1847
|
+
'http_method': 'GET',
|
|
1848
|
+
'servers': None,
|
|
1849
|
+
},
|
|
1850
|
+
params_map={
|
|
1851
|
+
'all': [
|
|
1852
|
+
],
|
|
1853
|
+
'required': [],
|
|
1854
|
+
'nullable': [
|
|
1855
|
+
],
|
|
1856
|
+
'enum': [
|
|
1857
|
+
],
|
|
1858
|
+
'validation': [
|
|
1859
|
+
]
|
|
1860
|
+
},
|
|
1861
|
+
root_map={
|
|
1862
|
+
'validations': {
|
|
1863
|
+
},
|
|
1864
|
+
'allowed_values': {
|
|
1865
|
+
},
|
|
1866
|
+
'openapi_types': {
|
|
1867
|
+
},
|
|
1868
|
+
'attribute_map': {
|
|
1869
|
+
},
|
|
1870
|
+
'location_map': {
|
|
1871
|
+
},
|
|
1872
|
+
'collection_format_map': {
|
|
1873
|
+
}
|
|
1874
|
+
},
|
|
1875
|
+
headers_map={
|
|
1876
|
+
'accept': [
|
|
1877
|
+
'application/json'
|
|
1878
|
+
],
|
|
1879
|
+
'content_type': [],
|
|
1880
|
+
},
|
|
1881
|
+
api_client=api_client
|
|
1882
|
+
)
|
|
1732
1883
|
self.get_pbx_agents_endpoint = _Endpoint(
|
|
1733
1884
|
settings={
|
|
1734
1885
|
'response_type': (ConversationPbxAgentsResponse,),
|
|
@@ -2117,6 +2268,116 @@ class ConversationApi(object):
|
|
|
2117
2268
|
},
|
|
2118
2269
|
api_client=api_client
|
|
2119
2270
|
)
|
|
2271
|
+
self.get_pbx_queue_voicemail_endpoint = _Endpoint(
|
|
2272
|
+
settings={
|
|
2273
|
+
'response_type': (ConversationPbxVoicemailMessageResponse,),
|
|
2274
|
+
'auth': [
|
|
2275
|
+
'ultraCartOauth',
|
|
2276
|
+
'ultraCartSimpleApiKey'
|
|
2277
|
+
],
|
|
2278
|
+
'endpoint_path': '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}',
|
|
2279
|
+
'operation_id': 'get_pbx_queue_voicemail',
|
|
2280
|
+
'http_method': 'GET',
|
|
2281
|
+
'servers': None,
|
|
2282
|
+
},
|
|
2283
|
+
params_map={
|
|
2284
|
+
'all': [
|
|
2285
|
+
'queue_uuid',
|
|
2286
|
+
'recording_sid',
|
|
2287
|
+
],
|
|
2288
|
+
'required': [
|
|
2289
|
+
'queue_uuid',
|
|
2290
|
+
'recording_sid',
|
|
2291
|
+
],
|
|
2292
|
+
'nullable': [
|
|
2293
|
+
],
|
|
2294
|
+
'enum': [
|
|
2295
|
+
],
|
|
2296
|
+
'validation': [
|
|
2297
|
+
]
|
|
2298
|
+
},
|
|
2299
|
+
root_map={
|
|
2300
|
+
'validations': {
|
|
2301
|
+
},
|
|
2302
|
+
'allowed_values': {
|
|
2303
|
+
},
|
|
2304
|
+
'openapi_types': {
|
|
2305
|
+
'queue_uuid':
|
|
2306
|
+
(str,),
|
|
2307
|
+
'recording_sid':
|
|
2308
|
+
(str,),
|
|
2309
|
+
},
|
|
2310
|
+
'attribute_map': {
|
|
2311
|
+
'queue_uuid': 'queue_uuid',
|
|
2312
|
+
'recording_sid': 'recording_sid',
|
|
2313
|
+
},
|
|
2314
|
+
'location_map': {
|
|
2315
|
+
'queue_uuid': 'path',
|
|
2316
|
+
'recording_sid': 'path',
|
|
2317
|
+
},
|
|
2318
|
+
'collection_format_map': {
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
headers_map={
|
|
2322
|
+
'accept': [
|
|
2323
|
+
'application/json'
|
|
2324
|
+
],
|
|
2325
|
+
'content_type': [],
|
|
2326
|
+
},
|
|
2327
|
+
api_client=api_client
|
|
2328
|
+
)
|
|
2329
|
+
self.get_pbx_queue_voicemails_endpoint = _Endpoint(
|
|
2330
|
+
settings={
|
|
2331
|
+
'response_type': (ConversationPbxVoicemailMessageSummariesResponse,),
|
|
2332
|
+
'auth': [
|
|
2333
|
+
'ultraCartOauth',
|
|
2334
|
+
'ultraCartSimpleApiKey'
|
|
2335
|
+
],
|
|
2336
|
+
'endpoint_path': '/conversation/pbx/queues/{queue_uuid}/voicemails',
|
|
2337
|
+
'operation_id': 'get_pbx_queue_voicemails',
|
|
2338
|
+
'http_method': 'GET',
|
|
2339
|
+
'servers': None,
|
|
2340
|
+
},
|
|
2341
|
+
params_map={
|
|
2342
|
+
'all': [
|
|
2343
|
+
'queue_uuid',
|
|
2344
|
+
],
|
|
2345
|
+
'required': [
|
|
2346
|
+
'queue_uuid',
|
|
2347
|
+
],
|
|
2348
|
+
'nullable': [
|
|
2349
|
+
],
|
|
2350
|
+
'enum': [
|
|
2351
|
+
],
|
|
2352
|
+
'validation': [
|
|
2353
|
+
]
|
|
2354
|
+
},
|
|
2355
|
+
root_map={
|
|
2356
|
+
'validations': {
|
|
2357
|
+
},
|
|
2358
|
+
'allowed_values': {
|
|
2359
|
+
},
|
|
2360
|
+
'openapi_types': {
|
|
2361
|
+
'queue_uuid':
|
|
2362
|
+
(str,),
|
|
2363
|
+
},
|
|
2364
|
+
'attribute_map': {
|
|
2365
|
+
'queue_uuid': 'queue_uuid',
|
|
2366
|
+
},
|
|
2367
|
+
'location_map': {
|
|
2368
|
+
'queue_uuid': 'path',
|
|
2369
|
+
},
|
|
2370
|
+
'collection_format_map': {
|
|
2371
|
+
}
|
|
2372
|
+
},
|
|
2373
|
+
headers_map={
|
|
2374
|
+
'accept': [
|
|
2375
|
+
'application/json'
|
|
2376
|
+
],
|
|
2377
|
+
'content_type': [],
|
|
2378
|
+
},
|
|
2379
|
+
api_client=api_client
|
|
2380
|
+
)
|
|
2120
2381
|
self.get_pbx_queues_endpoint = _Endpoint(
|
|
2121
2382
|
settings={
|
|
2122
2383
|
'response_type': (ConversationPbxQueuesResponse,),
|
|
@@ -3146,24 +3407,24 @@ class ConversationApi(object):
|
|
|
3146
3407
|
},
|
|
3147
3408
|
api_client=api_client
|
|
3148
3409
|
)
|
|
3149
|
-
self.
|
|
3410
|
+
self.listened_pbx_agent_voicemail_endpoint = _Endpoint(
|
|
3150
3411
|
settings={
|
|
3151
3412
|
'response_type': None,
|
|
3152
3413
|
'auth': [
|
|
3153
3414
|
'ultraCartOauth',
|
|
3154
3415
|
'ultraCartSimpleApiKey'
|
|
3155
3416
|
],
|
|
3156
|
-
'endpoint_path': '/conversation/
|
|
3157
|
-
'operation_id': '
|
|
3158
|
-
'http_method': '
|
|
3417
|
+
'endpoint_path': '/conversation/pbx/agent/voicemails/{recording_sid}/listened',
|
|
3418
|
+
'operation_id': 'listened_pbx_agent_voicemail',
|
|
3419
|
+
'http_method': 'GET',
|
|
3159
3420
|
'servers': None,
|
|
3160
3421
|
},
|
|
3161
3422
|
params_map={
|
|
3162
3423
|
'all': [
|
|
3163
|
-
'
|
|
3424
|
+
'recording_sid',
|
|
3164
3425
|
],
|
|
3165
3426
|
'required': [
|
|
3166
|
-
'
|
|
3427
|
+
'recording_sid',
|
|
3167
3428
|
],
|
|
3168
3429
|
'nullable': [
|
|
3169
3430
|
],
|
|
@@ -3178,14 +3439,14 @@ class ConversationApi(object):
|
|
|
3178
3439
|
'allowed_values': {
|
|
3179
3440
|
},
|
|
3180
3441
|
'openapi_types': {
|
|
3181
|
-
'
|
|
3442
|
+
'recording_sid':
|
|
3182
3443
|
(str,),
|
|
3183
3444
|
},
|
|
3184
3445
|
'attribute_map': {
|
|
3185
|
-
'
|
|
3446
|
+
'recording_sid': 'recording_sid',
|
|
3186
3447
|
},
|
|
3187
3448
|
'location_map': {
|
|
3188
|
-
'
|
|
3449
|
+
'recording_sid': 'path',
|
|
3189
3450
|
},
|
|
3190
3451
|
'collection_format_map': {
|
|
3191
3452
|
}
|
|
@@ -3198,24 +3459,24 @@ class ConversationApi(object):
|
|
|
3198
3459
|
},
|
|
3199
3460
|
api_client=api_client
|
|
3200
3461
|
)
|
|
3201
|
-
self.
|
|
3462
|
+
self.mark_read_conversation_endpoint = _Endpoint(
|
|
3202
3463
|
settings={
|
|
3203
3464
|
'response_type': None,
|
|
3204
3465
|
'auth': [
|
|
3205
3466
|
'ultraCartOauth',
|
|
3206
3467
|
'ultraCartSimpleApiKey'
|
|
3207
3468
|
],
|
|
3208
|
-
'endpoint_path': '/conversation/
|
|
3209
|
-
'operation_id': '
|
|
3210
|
-
'http_method': '
|
|
3469
|
+
'endpoint_path': '/conversation/conversations/{conversation_uuid}/markread',
|
|
3470
|
+
'operation_id': 'mark_read_conversation',
|
|
3471
|
+
'http_method': 'PUT',
|
|
3211
3472
|
'servers': None,
|
|
3212
3473
|
},
|
|
3213
3474
|
params_map={
|
|
3214
3475
|
'all': [
|
|
3215
|
-
'
|
|
3476
|
+
'conversation_uuid',
|
|
3216
3477
|
],
|
|
3217
3478
|
'required': [
|
|
3218
|
-
'
|
|
3479
|
+
'conversation_uuid',
|
|
3219
3480
|
],
|
|
3220
3481
|
'nullable': [
|
|
3221
3482
|
],
|
|
@@ -3230,14 +3491,14 @@ class ConversationApi(object):
|
|
|
3230
3491
|
'allowed_values': {
|
|
3231
3492
|
},
|
|
3232
3493
|
'openapi_types': {
|
|
3233
|
-
'
|
|
3494
|
+
'conversation_uuid':
|
|
3234
3495
|
(str,),
|
|
3235
3496
|
},
|
|
3236
3497
|
'attribute_map': {
|
|
3237
|
-
'
|
|
3498
|
+
'conversation_uuid': 'conversation_uuid',
|
|
3238
3499
|
},
|
|
3239
3500
|
'location_map': {
|
|
3240
|
-
'
|
|
3501
|
+
'conversation_uuid': 'path',
|
|
3241
3502
|
},
|
|
3242
3503
|
'collection_format_map': {
|
|
3243
3504
|
}
|
|
@@ -3250,9 +3511,61 @@ class ConversationApi(object):
|
|
|
3250
3511
|
},
|
|
3251
3512
|
api_client=api_client
|
|
3252
3513
|
)
|
|
3253
|
-
self.
|
|
3514
|
+
self.reset_conversation_pbx_queue_statistics_endpoint = _Endpoint(
|
|
3254
3515
|
settings={
|
|
3255
|
-
'response_type':
|
|
3516
|
+
'response_type': None,
|
|
3517
|
+
'auth': [
|
|
3518
|
+
'ultraCartOauth',
|
|
3519
|
+
'ultraCartSimpleApiKey'
|
|
3520
|
+
],
|
|
3521
|
+
'endpoint_path': '/conversation/pbx/queues/{queue_uuid}/reset_statistics',
|
|
3522
|
+
'operation_id': 'reset_conversation_pbx_queue_statistics',
|
|
3523
|
+
'http_method': 'POST',
|
|
3524
|
+
'servers': None,
|
|
3525
|
+
},
|
|
3526
|
+
params_map={
|
|
3527
|
+
'all': [
|
|
3528
|
+
'queue_uuid',
|
|
3529
|
+
],
|
|
3530
|
+
'required': [
|
|
3531
|
+
'queue_uuid',
|
|
3532
|
+
],
|
|
3533
|
+
'nullable': [
|
|
3534
|
+
],
|
|
3535
|
+
'enum': [
|
|
3536
|
+
],
|
|
3537
|
+
'validation': [
|
|
3538
|
+
]
|
|
3539
|
+
},
|
|
3540
|
+
root_map={
|
|
3541
|
+
'validations': {
|
|
3542
|
+
},
|
|
3543
|
+
'allowed_values': {
|
|
3544
|
+
},
|
|
3545
|
+
'openapi_types': {
|
|
3546
|
+
'queue_uuid':
|
|
3547
|
+
(str,),
|
|
3548
|
+
},
|
|
3549
|
+
'attribute_map': {
|
|
3550
|
+
'queue_uuid': 'queue_uuid',
|
|
3551
|
+
},
|
|
3552
|
+
'location_map': {
|
|
3553
|
+
'queue_uuid': 'path',
|
|
3554
|
+
},
|
|
3555
|
+
'collection_format_map': {
|
|
3556
|
+
}
|
|
3557
|
+
},
|
|
3558
|
+
headers_map={
|
|
3559
|
+
'accept': [
|
|
3560
|
+
'application/json'
|
|
3561
|
+
],
|
|
3562
|
+
'content_type': [],
|
|
3563
|
+
},
|
|
3564
|
+
api_client=api_client
|
|
3565
|
+
)
|
|
3566
|
+
self.search_conversation_canned_messages_endpoint = _Endpoint(
|
|
3567
|
+
settings={
|
|
3568
|
+
'response_type': (ConversationCannedMessagesResponse,),
|
|
3256
3569
|
'auth': [
|
|
3257
3570
|
'ultraCartOauth',
|
|
3258
3571
|
'ultraCartSimpleApiKey'
|
|
@@ -4502,6 +4815,89 @@ class ConversationApi(object):
|
|
|
4502
4815
|
conversation_pbx_agent_uuid
|
|
4503
4816
|
return self.delete_pbx_agent_endpoint.call_with_http_info(**kwargs)
|
|
4504
4817
|
|
|
4818
|
+
def delete_pbx_agent_voicemail(
|
|
4819
|
+
self,
|
|
4820
|
+
recording_sid,
|
|
4821
|
+
**kwargs
|
|
4822
|
+
):
|
|
4823
|
+
"""Delete Agent Voicemail # noqa: E501
|
|
4824
|
+
|
|
4825
|
+
Delete pbx agent Voicemail # noqa: E501
|
|
4826
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
4827
|
+
asynchronous HTTP request, please pass async_req=True
|
|
4828
|
+
|
|
4829
|
+
>>> thread = api.delete_pbx_agent_voicemail(recording_sid, async_req=True)
|
|
4830
|
+
>>> result = thread.get()
|
|
4831
|
+
|
|
4832
|
+
Args:
|
|
4833
|
+
recording_sid (str):
|
|
4834
|
+
|
|
4835
|
+
Keyword Args:
|
|
4836
|
+
_return_http_data_only (bool): response data without head status
|
|
4837
|
+
code and headers. Default is True.
|
|
4838
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
4839
|
+
will be returned without reading/decoding response data.
|
|
4840
|
+
Default is True.
|
|
4841
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
4842
|
+
one number provided, it will be total request timeout. It can also
|
|
4843
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
4844
|
+
Default is None.
|
|
4845
|
+
_check_input_type (bool): specifies if type checking
|
|
4846
|
+
should be done one the data sent to the server.
|
|
4847
|
+
Default is True.
|
|
4848
|
+
_check_return_type (bool): specifies if type checking
|
|
4849
|
+
should be done one the data received from the server.
|
|
4850
|
+
Default is True.
|
|
4851
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
4852
|
+
are serialized names, as specified in the OpenAPI document.
|
|
4853
|
+
False if the variable names in the input data
|
|
4854
|
+
are pythonic names, e.g. snake case (default)
|
|
4855
|
+
_content_type (str/None): force body content-type.
|
|
4856
|
+
Default is None and content-type will be predicted by allowed
|
|
4857
|
+
content-types and body.
|
|
4858
|
+
_host_index (int/None): specifies the index of the server
|
|
4859
|
+
that we want to use.
|
|
4860
|
+
Default is read from the configuration.
|
|
4861
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
4862
|
+
request; this effectively ignores the authentication
|
|
4863
|
+
in the spec for a single request.
|
|
4864
|
+
Default is None
|
|
4865
|
+
async_req (bool): execute request asynchronously
|
|
4866
|
+
|
|
4867
|
+
Returns:
|
|
4868
|
+
None
|
|
4869
|
+
If the method is called asynchronously, returns the request
|
|
4870
|
+
thread.
|
|
4871
|
+
"""
|
|
4872
|
+
kwargs['async_req'] = kwargs.get(
|
|
4873
|
+
'async_req', False
|
|
4874
|
+
)
|
|
4875
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
4876
|
+
'_return_http_data_only', True
|
|
4877
|
+
)
|
|
4878
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
4879
|
+
'_preload_content', True
|
|
4880
|
+
)
|
|
4881
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
4882
|
+
'_request_timeout', None
|
|
4883
|
+
)
|
|
4884
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
4885
|
+
'_check_input_type', True
|
|
4886
|
+
)
|
|
4887
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
4888
|
+
'_check_return_type', True
|
|
4889
|
+
)
|
|
4890
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
4891
|
+
'_spec_property_naming', False
|
|
4892
|
+
)
|
|
4893
|
+
kwargs['_content_type'] = kwargs.get(
|
|
4894
|
+
'_content_type')
|
|
4895
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
4896
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
4897
|
+
kwargs['recording_sid'] = \
|
|
4898
|
+
recording_sid
|
|
4899
|
+
return self.delete_pbx_agent_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
4900
|
+
|
|
4505
4901
|
def delete_pbx_audio(
|
|
4506
4902
|
self,
|
|
4507
4903
|
conversation_pbx_audio_uuid,
|
|
@@ -6781,6 +7177,167 @@ class ConversationApi(object):
|
|
|
6781
7177
|
conversation_pbx_agent_uuid
|
|
6782
7178
|
return self.get_pbx_agent_endpoint.call_with_http_info(**kwargs)
|
|
6783
7179
|
|
|
7180
|
+
def get_pbx_agent_voicemail(
|
|
7181
|
+
self,
|
|
7182
|
+
recording_sid,
|
|
7183
|
+
**kwargs
|
|
7184
|
+
):
|
|
7185
|
+
"""Get Agent Voicemail # noqa: E501
|
|
7186
|
+
|
|
7187
|
+
Retrieve pbx agent Voicemail # noqa: E501
|
|
7188
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
7189
|
+
asynchronous HTTP request, please pass async_req=True
|
|
7190
|
+
|
|
7191
|
+
>>> thread = api.get_pbx_agent_voicemail(recording_sid, async_req=True)
|
|
7192
|
+
>>> result = thread.get()
|
|
7193
|
+
|
|
7194
|
+
Args:
|
|
7195
|
+
recording_sid (str):
|
|
7196
|
+
|
|
7197
|
+
Keyword Args:
|
|
7198
|
+
_return_http_data_only (bool): response data without head status
|
|
7199
|
+
code and headers. Default is True.
|
|
7200
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
7201
|
+
will be returned without reading/decoding response data.
|
|
7202
|
+
Default is True.
|
|
7203
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
7204
|
+
one number provided, it will be total request timeout. It can also
|
|
7205
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
7206
|
+
Default is None.
|
|
7207
|
+
_check_input_type (bool): specifies if type checking
|
|
7208
|
+
should be done one the data sent to the server.
|
|
7209
|
+
Default is True.
|
|
7210
|
+
_check_return_type (bool): specifies if type checking
|
|
7211
|
+
should be done one the data received from the server.
|
|
7212
|
+
Default is True.
|
|
7213
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
7214
|
+
are serialized names, as specified in the OpenAPI document.
|
|
7215
|
+
False if the variable names in the input data
|
|
7216
|
+
are pythonic names, e.g. snake case (default)
|
|
7217
|
+
_content_type (str/None): force body content-type.
|
|
7218
|
+
Default is None and content-type will be predicted by allowed
|
|
7219
|
+
content-types and body.
|
|
7220
|
+
_host_index (int/None): specifies the index of the server
|
|
7221
|
+
that we want to use.
|
|
7222
|
+
Default is read from the configuration.
|
|
7223
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
7224
|
+
request; this effectively ignores the authentication
|
|
7225
|
+
in the spec for a single request.
|
|
7226
|
+
Default is None
|
|
7227
|
+
async_req (bool): execute request asynchronously
|
|
7228
|
+
|
|
7229
|
+
Returns:
|
|
7230
|
+
ConversationPbxVoicemailMessageResponse
|
|
7231
|
+
If the method is called asynchronously, returns the request
|
|
7232
|
+
thread.
|
|
7233
|
+
"""
|
|
7234
|
+
kwargs['async_req'] = kwargs.get(
|
|
7235
|
+
'async_req', False
|
|
7236
|
+
)
|
|
7237
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
7238
|
+
'_return_http_data_only', True
|
|
7239
|
+
)
|
|
7240
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
7241
|
+
'_preload_content', True
|
|
7242
|
+
)
|
|
7243
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
7244
|
+
'_request_timeout', None
|
|
7245
|
+
)
|
|
7246
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
7247
|
+
'_check_input_type', True
|
|
7248
|
+
)
|
|
7249
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
7250
|
+
'_check_return_type', True
|
|
7251
|
+
)
|
|
7252
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
7253
|
+
'_spec_property_naming', False
|
|
7254
|
+
)
|
|
7255
|
+
kwargs['_content_type'] = kwargs.get(
|
|
7256
|
+
'_content_type')
|
|
7257
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7258
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7259
|
+
kwargs['recording_sid'] = \
|
|
7260
|
+
recording_sid
|
|
7261
|
+
return self.get_pbx_agent_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
7262
|
+
|
|
7263
|
+
def get_pbx_agent_voicemails(
|
|
7264
|
+
self,
|
|
7265
|
+
**kwargs
|
|
7266
|
+
):
|
|
7267
|
+
"""Get Agent Voicemails # noqa: E501
|
|
7268
|
+
|
|
7269
|
+
Retrieve pbx agent Voicemails # noqa: E501
|
|
7270
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
7271
|
+
asynchronous HTTP request, please pass async_req=True
|
|
7272
|
+
|
|
7273
|
+
>>> thread = api.get_pbx_agent_voicemails(async_req=True)
|
|
7274
|
+
>>> result = thread.get()
|
|
7275
|
+
|
|
7276
|
+
|
|
7277
|
+
Keyword Args:
|
|
7278
|
+
_return_http_data_only (bool): response data without head status
|
|
7279
|
+
code and headers. Default is True.
|
|
7280
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
7281
|
+
will be returned without reading/decoding response data.
|
|
7282
|
+
Default is True.
|
|
7283
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
7284
|
+
one number provided, it will be total request timeout. It can also
|
|
7285
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
7286
|
+
Default is None.
|
|
7287
|
+
_check_input_type (bool): specifies if type checking
|
|
7288
|
+
should be done one the data sent to the server.
|
|
7289
|
+
Default is True.
|
|
7290
|
+
_check_return_type (bool): specifies if type checking
|
|
7291
|
+
should be done one the data received from the server.
|
|
7292
|
+
Default is True.
|
|
7293
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
7294
|
+
are serialized names, as specified in the OpenAPI document.
|
|
7295
|
+
False if the variable names in the input data
|
|
7296
|
+
are pythonic names, e.g. snake case (default)
|
|
7297
|
+
_content_type (str/None): force body content-type.
|
|
7298
|
+
Default is None and content-type will be predicted by allowed
|
|
7299
|
+
content-types and body.
|
|
7300
|
+
_host_index (int/None): specifies the index of the server
|
|
7301
|
+
that we want to use.
|
|
7302
|
+
Default is read from the configuration.
|
|
7303
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
7304
|
+
request; this effectively ignores the authentication
|
|
7305
|
+
in the spec for a single request.
|
|
7306
|
+
Default is None
|
|
7307
|
+
async_req (bool): execute request asynchronously
|
|
7308
|
+
|
|
7309
|
+
Returns:
|
|
7310
|
+
ConversationPbxVoicemailMessageSummariesResponse
|
|
7311
|
+
If the method is called asynchronously, returns the request
|
|
7312
|
+
thread.
|
|
7313
|
+
"""
|
|
7314
|
+
kwargs['async_req'] = kwargs.get(
|
|
7315
|
+
'async_req', False
|
|
7316
|
+
)
|
|
7317
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
7318
|
+
'_return_http_data_only', True
|
|
7319
|
+
)
|
|
7320
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
7321
|
+
'_preload_content', True
|
|
7322
|
+
)
|
|
7323
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
7324
|
+
'_request_timeout', None
|
|
7325
|
+
)
|
|
7326
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
7327
|
+
'_check_input_type', True
|
|
7328
|
+
)
|
|
7329
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
7330
|
+
'_check_return_type', True
|
|
7331
|
+
)
|
|
7332
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
7333
|
+
'_spec_property_naming', False
|
|
7334
|
+
)
|
|
7335
|
+
kwargs['_content_type'] = kwargs.get(
|
|
7336
|
+
'_content_type')
|
|
7337
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
7338
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
7339
|
+
return self.get_pbx_agent_voicemails_endpoint.call_with_http_info(**kwargs)
|
|
7340
|
+
|
|
6784
7341
|
def get_pbx_agents(
|
|
6785
7342
|
self,
|
|
6786
7343
|
**kwargs
|
|
@@ -7425,6 +7982,176 @@ class ConversationApi(object):
|
|
|
7425
7982
|
conversation_pbx_queue_uuid
|
|
7426
7983
|
return self.get_pbx_queue_endpoint.call_with_http_info(**kwargs)
|
|
7427
7984
|
|
|
7985
|
+
def get_pbx_queue_voicemail(
|
|
7986
|
+
self,
|
|
7987
|
+
queue_uuid,
|
|
7988
|
+
recording_sid,
|
|
7989
|
+
**kwargs
|
|
7990
|
+
):
|
|
7991
|
+
"""Get Queue Voicemail # noqa: E501
|
|
7992
|
+
|
|
7993
|
+
Retrieve pbx queue Voicemail # noqa: E501
|
|
7994
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
7995
|
+
asynchronous HTTP request, please pass async_req=True
|
|
7996
|
+
|
|
7997
|
+
>>> thread = api.get_pbx_queue_voicemail(queue_uuid, recording_sid, async_req=True)
|
|
7998
|
+
>>> result = thread.get()
|
|
7999
|
+
|
|
8000
|
+
Args:
|
|
8001
|
+
queue_uuid (str):
|
|
8002
|
+
recording_sid (str):
|
|
8003
|
+
|
|
8004
|
+
Keyword Args:
|
|
8005
|
+
_return_http_data_only (bool): response data without head status
|
|
8006
|
+
code and headers. Default is True.
|
|
8007
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
8008
|
+
will be returned without reading/decoding response data.
|
|
8009
|
+
Default is True.
|
|
8010
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
8011
|
+
one number provided, it will be total request timeout. It can also
|
|
8012
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
8013
|
+
Default is None.
|
|
8014
|
+
_check_input_type (bool): specifies if type checking
|
|
8015
|
+
should be done one the data sent to the server.
|
|
8016
|
+
Default is True.
|
|
8017
|
+
_check_return_type (bool): specifies if type checking
|
|
8018
|
+
should be done one the data received from the server.
|
|
8019
|
+
Default is True.
|
|
8020
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
8021
|
+
are serialized names, as specified in the OpenAPI document.
|
|
8022
|
+
False if the variable names in the input data
|
|
8023
|
+
are pythonic names, e.g. snake case (default)
|
|
8024
|
+
_content_type (str/None): force body content-type.
|
|
8025
|
+
Default is None and content-type will be predicted by allowed
|
|
8026
|
+
content-types and body.
|
|
8027
|
+
_host_index (int/None): specifies the index of the server
|
|
8028
|
+
that we want to use.
|
|
8029
|
+
Default is read from the configuration.
|
|
8030
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
8031
|
+
request; this effectively ignores the authentication
|
|
8032
|
+
in the spec for a single request.
|
|
8033
|
+
Default is None
|
|
8034
|
+
async_req (bool): execute request asynchronously
|
|
8035
|
+
|
|
8036
|
+
Returns:
|
|
8037
|
+
ConversationPbxVoicemailMessageResponse
|
|
8038
|
+
If the method is called asynchronously, returns the request
|
|
8039
|
+
thread.
|
|
8040
|
+
"""
|
|
8041
|
+
kwargs['async_req'] = kwargs.get(
|
|
8042
|
+
'async_req', False
|
|
8043
|
+
)
|
|
8044
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
8045
|
+
'_return_http_data_only', True
|
|
8046
|
+
)
|
|
8047
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
8048
|
+
'_preload_content', True
|
|
8049
|
+
)
|
|
8050
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
8051
|
+
'_request_timeout', None
|
|
8052
|
+
)
|
|
8053
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
8054
|
+
'_check_input_type', True
|
|
8055
|
+
)
|
|
8056
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
8057
|
+
'_check_return_type', True
|
|
8058
|
+
)
|
|
8059
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
8060
|
+
'_spec_property_naming', False
|
|
8061
|
+
)
|
|
8062
|
+
kwargs['_content_type'] = kwargs.get(
|
|
8063
|
+
'_content_type')
|
|
8064
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
8065
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
8066
|
+
kwargs['queue_uuid'] = \
|
|
8067
|
+
queue_uuid
|
|
8068
|
+
kwargs['recording_sid'] = \
|
|
8069
|
+
recording_sid
|
|
8070
|
+
return self.get_pbx_queue_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
8071
|
+
|
|
8072
|
+
def get_pbx_queue_voicemails(
|
|
8073
|
+
self,
|
|
8074
|
+
queue_uuid,
|
|
8075
|
+
**kwargs
|
|
8076
|
+
):
|
|
8077
|
+
"""Get Queue Voicemails # noqa: E501
|
|
8078
|
+
|
|
8079
|
+
Retrieve pbx queue voicemails # noqa: E501
|
|
8080
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
8081
|
+
asynchronous HTTP request, please pass async_req=True
|
|
8082
|
+
|
|
8083
|
+
>>> thread = api.get_pbx_queue_voicemails(queue_uuid, async_req=True)
|
|
8084
|
+
>>> result = thread.get()
|
|
8085
|
+
|
|
8086
|
+
Args:
|
|
8087
|
+
queue_uuid (str):
|
|
8088
|
+
|
|
8089
|
+
Keyword Args:
|
|
8090
|
+
_return_http_data_only (bool): response data without head status
|
|
8091
|
+
code and headers. Default is True.
|
|
8092
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
8093
|
+
will be returned without reading/decoding response data.
|
|
8094
|
+
Default is True.
|
|
8095
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
8096
|
+
one number provided, it will be total request timeout. It can also
|
|
8097
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
8098
|
+
Default is None.
|
|
8099
|
+
_check_input_type (bool): specifies if type checking
|
|
8100
|
+
should be done one the data sent to the server.
|
|
8101
|
+
Default is True.
|
|
8102
|
+
_check_return_type (bool): specifies if type checking
|
|
8103
|
+
should be done one the data received from the server.
|
|
8104
|
+
Default is True.
|
|
8105
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
8106
|
+
are serialized names, as specified in the OpenAPI document.
|
|
8107
|
+
False if the variable names in the input data
|
|
8108
|
+
are pythonic names, e.g. snake case (default)
|
|
8109
|
+
_content_type (str/None): force body content-type.
|
|
8110
|
+
Default is None and content-type will be predicted by allowed
|
|
8111
|
+
content-types and body.
|
|
8112
|
+
_host_index (int/None): specifies the index of the server
|
|
8113
|
+
that we want to use.
|
|
8114
|
+
Default is read from the configuration.
|
|
8115
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
8116
|
+
request; this effectively ignores the authentication
|
|
8117
|
+
in the spec for a single request.
|
|
8118
|
+
Default is None
|
|
8119
|
+
async_req (bool): execute request asynchronously
|
|
8120
|
+
|
|
8121
|
+
Returns:
|
|
8122
|
+
ConversationPbxVoicemailMessageSummariesResponse
|
|
8123
|
+
If the method is called asynchronously, returns the request
|
|
8124
|
+
thread.
|
|
8125
|
+
"""
|
|
8126
|
+
kwargs['async_req'] = kwargs.get(
|
|
8127
|
+
'async_req', False
|
|
8128
|
+
)
|
|
8129
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
8130
|
+
'_return_http_data_only', True
|
|
8131
|
+
)
|
|
8132
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
8133
|
+
'_preload_content', True
|
|
8134
|
+
)
|
|
8135
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
8136
|
+
'_request_timeout', None
|
|
8137
|
+
)
|
|
8138
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
8139
|
+
'_check_input_type', True
|
|
8140
|
+
)
|
|
8141
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
8142
|
+
'_check_return_type', True
|
|
8143
|
+
)
|
|
8144
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
8145
|
+
'_spec_property_naming', False
|
|
8146
|
+
)
|
|
8147
|
+
kwargs['_content_type'] = kwargs.get(
|
|
8148
|
+
'_content_type')
|
|
8149
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
8150
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
8151
|
+
kwargs['queue_uuid'] = \
|
|
8152
|
+
queue_uuid
|
|
8153
|
+
return self.get_pbx_queue_voicemails_endpoint.call_with_http_info(**kwargs)
|
|
8154
|
+
|
|
7428
8155
|
def get_pbx_queues(
|
|
7429
8156
|
self,
|
|
7430
8157
|
**kwargs
|
|
@@ -9066,6 +9793,89 @@ class ConversationApi(object):
|
|
|
9066
9793
|
conversation_uuid
|
|
9067
9794
|
return self.leave_conversation_endpoint.call_with_http_info(**kwargs)
|
|
9068
9795
|
|
|
9796
|
+
def listened_pbx_agent_voicemail(
|
|
9797
|
+
self,
|
|
9798
|
+
recording_sid,
|
|
9799
|
+
**kwargs
|
|
9800
|
+
):
|
|
9801
|
+
"""Listened Agent Voicemail # noqa: E501
|
|
9802
|
+
|
|
9803
|
+
Listened pbx agent Voicemail # noqa: E501
|
|
9804
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
9805
|
+
asynchronous HTTP request, please pass async_req=True
|
|
9806
|
+
|
|
9807
|
+
>>> thread = api.listened_pbx_agent_voicemail(recording_sid, async_req=True)
|
|
9808
|
+
>>> result = thread.get()
|
|
9809
|
+
|
|
9810
|
+
Args:
|
|
9811
|
+
recording_sid (str):
|
|
9812
|
+
|
|
9813
|
+
Keyword Args:
|
|
9814
|
+
_return_http_data_only (bool): response data without head status
|
|
9815
|
+
code and headers. Default is True.
|
|
9816
|
+
_preload_content (bool): if False, the urllib3.HTTPResponse object
|
|
9817
|
+
will be returned without reading/decoding response data.
|
|
9818
|
+
Default is True.
|
|
9819
|
+
_request_timeout (int/float/tuple): timeout setting for this request. If
|
|
9820
|
+
one number provided, it will be total request timeout. It can also
|
|
9821
|
+
be a pair (tuple) of (connection, read) timeouts.
|
|
9822
|
+
Default is None.
|
|
9823
|
+
_check_input_type (bool): specifies if type checking
|
|
9824
|
+
should be done one the data sent to the server.
|
|
9825
|
+
Default is True.
|
|
9826
|
+
_check_return_type (bool): specifies if type checking
|
|
9827
|
+
should be done one the data received from the server.
|
|
9828
|
+
Default is True.
|
|
9829
|
+
_spec_property_naming (bool): True if the variable names in the input data
|
|
9830
|
+
are serialized names, as specified in the OpenAPI document.
|
|
9831
|
+
False if the variable names in the input data
|
|
9832
|
+
are pythonic names, e.g. snake case (default)
|
|
9833
|
+
_content_type (str/None): force body content-type.
|
|
9834
|
+
Default is None and content-type will be predicted by allowed
|
|
9835
|
+
content-types and body.
|
|
9836
|
+
_host_index (int/None): specifies the index of the server
|
|
9837
|
+
that we want to use.
|
|
9838
|
+
Default is read from the configuration.
|
|
9839
|
+
_request_auths (list): set to override the auth_settings for an a single
|
|
9840
|
+
request; this effectively ignores the authentication
|
|
9841
|
+
in the spec for a single request.
|
|
9842
|
+
Default is None
|
|
9843
|
+
async_req (bool): execute request asynchronously
|
|
9844
|
+
|
|
9845
|
+
Returns:
|
|
9846
|
+
None
|
|
9847
|
+
If the method is called asynchronously, returns the request
|
|
9848
|
+
thread.
|
|
9849
|
+
"""
|
|
9850
|
+
kwargs['async_req'] = kwargs.get(
|
|
9851
|
+
'async_req', False
|
|
9852
|
+
)
|
|
9853
|
+
kwargs['_return_http_data_only'] = kwargs.get(
|
|
9854
|
+
'_return_http_data_only', True
|
|
9855
|
+
)
|
|
9856
|
+
kwargs['_preload_content'] = kwargs.get(
|
|
9857
|
+
'_preload_content', True
|
|
9858
|
+
)
|
|
9859
|
+
kwargs['_request_timeout'] = kwargs.get(
|
|
9860
|
+
'_request_timeout', None
|
|
9861
|
+
)
|
|
9862
|
+
kwargs['_check_input_type'] = kwargs.get(
|
|
9863
|
+
'_check_input_type', True
|
|
9864
|
+
)
|
|
9865
|
+
kwargs['_check_return_type'] = kwargs.get(
|
|
9866
|
+
'_check_return_type', True
|
|
9867
|
+
)
|
|
9868
|
+
kwargs['_spec_property_naming'] = kwargs.get(
|
|
9869
|
+
'_spec_property_naming', False
|
|
9870
|
+
)
|
|
9871
|
+
kwargs['_content_type'] = kwargs.get(
|
|
9872
|
+
'_content_type')
|
|
9873
|
+
kwargs['_host_index'] = kwargs.get('_host_index')
|
|
9874
|
+
kwargs['_request_auths'] = kwargs.get('_request_auths', None)
|
|
9875
|
+
kwargs['recording_sid'] = \
|
|
9876
|
+
recording_sid
|
|
9877
|
+
return self.listened_pbx_agent_voicemail_endpoint.call_with_http_info(**kwargs)
|
|
9878
|
+
|
|
9069
9879
|
def mark_read_conversation(
|
|
9070
9880
|
self,
|
|
9071
9881
|
conversation_uuid,
|