ultracart-rest-sdk 3.11.51__py3-none-any.whl → 3.11.54__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 +19 -0
- ultracart/api/conversation_api.py +210 -0
- ultracart/api_client.py +1 -1
- ultracart/configuration.py +1 -1
- ultracart/models/__init__.py +19 -0
- ultracart/models/conversation_pbx_agent.py +29 -1
- ultracart/models/conversation_pbx_call.py +697 -0
- ultracart/models/conversation_pbx_call_agent.py +341 -0
- ultracart/models/conversation_pbx_call_ai_cost.py +201 -0
- ultracart/models/conversation_pbx_call_ai_engagement.py +373 -0
- ultracart/models/conversation_pbx_call_ai_tool_call.py +341 -0
- ultracart/models/conversation_pbx_call_ai_whisper.py +201 -0
- ultracart/models/conversation_pbx_call_caller.py +229 -0
- ultracart/models/conversation_pbx_call_financial.py +285 -0
- ultracart/models/conversation_pbx_call_hold.py +201 -0
- ultracart/models/conversation_pbx_call_queue.py +257 -0
- ultracart/models/conversation_pbx_call_recording.py +283 -0
- ultracart/models/conversation_pbx_call_response.py +221 -0
- ultracart/models/conversation_pbx_call_routing.py +171 -0
- ultracart/models/conversation_pbx_call_search_request.py +537 -0
- ultracart/models/conversation_pbx_call_search_response.py +223 -0
- ultracart/models/conversation_pbx_call_timeline.py +257 -0
- ultracart/models/conversation_pbx_call_transcript.py +285 -0
- ultracart/models/conversation_pbx_call_transcript_segment.py +291 -0
- ultracart/models/conversation_pbx_call_transfer.py +229 -0
- ultracart/models/conversation_pbx_phone_number.py +29 -1
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.54.dist-info}/METADATA +1 -1
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.54.dist-info}/RECORD +31 -12
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.54.dist-info}/LICENSE +0 -0
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.54.dist-info}/WHEEL +0 -0
- {ultracart_rest_sdk-3.11.51.dist-info → ultracart_rest_sdk-3.11.54.dist-info}/top_level.txt +0 -0
ultracart/__init__.py
CHANGED
|
@@ -237,6 +237,25 @@ from ultracart.models.conversation_pbx_audio_usage_response import ConversationP
|
|
|
237
237
|
from ultracart.models.conversation_pbx_audios_response import ConversationPbxAudiosResponse
|
|
238
238
|
from ultracart.models.conversation_pbx_available_phone_number import ConversationPbxAvailablePhoneNumber
|
|
239
239
|
from ultracart.models.conversation_pbx_available_phone_numbers_response import ConversationPbxAvailablePhoneNumbersResponse
|
|
240
|
+
from ultracart.models.conversation_pbx_call import ConversationPbxCall
|
|
241
|
+
from ultracart.models.conversation_pbx_call_agent import ConversationPbxCallAgent
|
|
242
|
+
from ultracart.models.conversation_pbx_call_ai_cost import ConversationPbxCallAiCost
|
|
243
|
+
from ultracart.models.conversation_pbx_call_ai_engagement import ConversationPbxCallAiEngagement
|
|
244
|
+
from ultracart.models.conversation_pbx_call_ai_tool_call import ConversationPbxCallAiToolCall
|
|
245
|
+
from ultracart.models.conversation_pbx_call_ai_whisper import ConversationPbxCallAiWhisper
|
|
246
|
+
from ultracart.models.conversation_pbx_call_caller import ConversationPbxCallCaller
|
|
247
|
+
from ultracart.models.conversation_pbx_call_financial import ConversationPbxCallFinancial
|
|
248
|
+
from ultracart.models.conversation_pbx_call_hold import ConversationPbxCallHold
|
|
249
|
+
from ultracart.models.conversation_pbx_call_queue import ConversationPbxCallQueue
|
|
250
|
+
from ultracart.models.conversation_pbx_call_recording import ConversationPbxCallRecording
|
|
251
|
+
from ultracart.models.conversation_pbx_call_response import ConversationPbxCallResponse
|
|
252
|
+
from ultracart.models.conversation_pbx_call_routing import ConversationPbxCallRouting
|
|
253
|
+
from ultracart.models.conversation_pbx_call_search_request import ConversationPbxCallSearchRequest
|
|
254
|
+
from ultracart.models.conversation_pbx_call_search_response import ConversationPbxCallSearchResponse
|
|
255
|
+
from ultracart.models.conversation_pbx_call_timeline import ConversationPbxCallTimeline
|
|
256
|
+
from ultracart.models.conversation_pbx_call_transcript import ConversationPbxCallTranscript
|
|
257
|
+
from ultracart.models.conversation_pbx_call_transcript_segment import ConversationPbxCallTranscriptSegment
|
|
258
|
+
from ultracart.models.conversation_pbx_call_transfer import ConversationPbxCallTransfer
|
|
240
259
|
from ultracart.models.conversation_pbx_customer_snapshot_request import ConversationPbxCustomerSnapshotRequest
|
|
241
260
|
from ultracart.models.conversation_pbx_customer_snapshot_response import ConversationPbxCustomerSnapshotResponse
|
|
242
261
|
from ultracart.models.conversation_pbx_hardware_phone import ConversationPbxHardwarePhone
|
|
@@ -5047,6 +5047,105 @@ class ConversationApi(object):
|
|
|
5047
5047
|
_request_timeout=params.get('_request_timeout'),
|
|
5048
5048
|
collection_formats=collection_formats)
|
|
5049
5049
|
|
|
5050
|
+
def get_pbx_call(self, call_uuid, **kwargs): # noqa: E501
|
|
5051
|
+
"""Get pbx call record # noqa: E501
|
|
5052
|
+
|
|
5053
|
+
Retrieve a single PBX call record with full details # noqa: E501
|
|
5054
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5055
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5056
|
+
>>> thread = api.get_pbx_call(call_uuid, async_req=True)
|
|
5057
|
+
>>> result = thread.get()
|
|
5058
|
+
|
|
5059
|
+
:param async_req bool
|
|
5060
|
+
:param str call_uuid: (required)
|
|
5061
|
+
:return: ConversationPbxCallResponse
|
|
5062
|
+
If the method is called asynchronously,
|
|
5063
|
+
returns the request thread.
|
|
5064
|
+
"""
|
|
5065
|
+
kwargs['_return_http_data_only'] = True
|
|
5066
|
+
if kwargs.get('async_req'):
|
|
5067
|
+
return self.get_pbx_call_with_http_info(call_uuid, **kwargs) # noqa: E501
|
|
5068
|
+
else:
|
|
5069
|
+
(data) = self.get_pbx_call_with_http_info(call_uuid, **kwargs) # noqa: E501
|
|
5070
|
+
return data
|
|
5071
|
+
|
|
5072
|
+
def get_pbx_call_with_http_info(self, call_uuid, **kwargs): # noqa: E501
|
|
5073
|
+
"""Get pbx call record # noqa: E501
|
|
5074
|
+
|
|
5075
|
+
Retrieve a single PBX call record with full details # noqa: E501
|
|
5076
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
5077
|
+
asynchronous HTTP request, please pass async_req=True
|
|
5078
|
+
>>> thread = api.get_pbx_call_with_http_info(call_uuid, async_req=True)
|
|
5079
|
+
>>> result = thread.get()
|
|
5080
|
+
|
|
5081
|
+
:param async_req bool
|
|
5082
|
+
:param str call_uuid: (required)
|
|
5083
|
+
:return: ConversationPbxCallResponse
|
|
5084
|
+
If the method is called asynchronously,
|
|
5085
|
+
returns the request thread.
|
|
5086
|
+
"""
|
|
5087
|
+
|
|
5088
|
+
all_params = ['call_uuid'] # noqa: E501
|
|
5089
|
+
all_params.append('async_req')
|
|
5090
|
+
all_params.append('_return_http_data_only')
|
|
5091
|
+
all_params.append('_preload_content')
|
|
5092
|
+
all_params.append('_request_timeout')
|
|
5093
|
+
|
|
5094
|
+
params = locals()
|
|
5095
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
5096
|
+
if key not in all_params:
|
|
5097
|
+
raise TypeError(
|
|
5098
|
+
"Got an unexpected keyword argument '%s'"
|
|
5099
|
+
" to method get_pbx_call" % key
|
|
5100
|
+
)
|
|
5101
|
+
params[key] = val
|
|
5102
|
+
del params['kwargs']
|
|
5103
|
+
# verify the required parameter 'call_uuid' is set
|
|
5104
|
+
if ('call_uuid' not in params or
|
|
5105
|
+
params['call_uuid'] is None):
|
|
5106
|
+
raise ValueError("Missing the required parameter `call_uuid` when calling `get_pbx_call`") # noqa: E501
|
|
5107
|
+
|
|
5108
|
+
collection_formats = {}
|
|
5109
|
+
|
|
5110
|
+
path_params = {}
|
|
5111
|
+
if 'call_uuid' in params:
|
|
5112
|
+
path_params['callUuid'] = params['call_uuid'] # noqa: E501
|
|
5113
|
+
|
|
5114
|
+
query_params = []
|
|
5115
|
+
|
|
5116
|
+
header_params = {}
|
|
5117
|
+
|
|
5118
|
+
form_params = []
|
|
5119
|
+
local_var_files = {}
|
|
5120
|
+
|
|
5121
|
+
body_params = None
|
|
5122
|
+
# HTTP header `Accept`
|
|
5123
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
5124
|
+
['application/json']) # noqa: E501
|
|
5125
|
+
|
|
5126
|
+
# HTTP header `Content-Type`
|
|
5127
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
5128
|
+
['application/json']) # noqa: E501
|
|
5129
|
+
|
|
5130
|
+
# Authentication setting
|
|
5131
|
+
auth_settings = ['ultraCartOauth', 'ultraCartSimpleApiKey'] # noqa: E501
|
|
5132
|
+
|
|
5133
|
+
return self.api_client.call_api(
|
|
5134
|
+
'/conversation/pbx/call/{callUuid}', 'GET',
|
|
5135
|
+
path_params,
|
|
5136
|
+
query_params,
|
|
5137
|
+
header_params,
|
|
5138
|
+
body=body_params,
|
|
5139
|
+
post_params=form_params,
|
|
5140
|
+
files=local_var_files,
|
|
5141
|
+
response_type='ConversationPbxCallResponse', # noqa: E501
|
|
5142
|
+
auth_settings=auth_settings,
|
|
5143
|
+
async_req=params.get('async_req'),
|
|
5144
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
5145
|
+
_preload_content=params.get('_preload_content', True),
|
|
5146
|
+
_request_timeout=params.get('_request_timeout'),
|
|
5147
|
+
collection_formats=collection_formats)
|
|
5148
|
+
|
|
5050
5149
|
def get_pbx_hardware_phone(self, conversation_pbx_hardware_phone_uuid, **kwargs): # noqa: E501
|
|
5051
5150
|
"""Get pbx hardware phone # noqa: E501
|
|
5052
5151
|
|
|
@@ -9292,6 +9391,117 @@ class ConversationApi(object):
|
|
|
9292
9391
|
_request_timeout=params.get('_request_timeout'),
|
|
9293
9392
|
collection_formats=collection_formats)
|
|
9294
9393
|
|
|
9394
|
+
def search_pbx_calls(self, search_request, **kwargs): # noqa: E501
|
|
9395
|
+
"""Search pbx call records # noqa: E501
|
|
9396
|
+
|
|
9397
|
+
Search and list PBX call records with filtering, sorting, and pagination # noqa: E501
|
|
9398
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
9399
|
+
asynchronous HTTP request, please pass async_req=True
|
|
9400
|
+
>>> thread = api.search_pbx_calls(search_request, async_req=True)
|
|
9401
|
+
>>> result = thread.get()
|
|
9402
|
+
|
|
9403
|
+
:param async_req bool
|
|
9404
|
+
:param ConversationPbxCallSearchRequest search_request: Search Request (required)
|
|
9405
|
+
:param int limit: The maximum number of records to return on this one API call. (Maximum 200)
|
|
9406
|
+
:param int offset: Pagination of the record set. Offset is a zero based index.
|
|
9407
|
+
:param str sort: The sort order of the calls.
|
|
9408
|
+
:return: ConversationPbxCallSearchResponse
|
|
9409
|
+
If the method is called asynchronously,
|
|
9410
|
+
returns the request thread.
|
|
9411
|
+
"""
|
|
9412
|
+
kwargs['_return_http_data_only'] = True
|
|
9413
|
+
if kwargs.get('async_req'):
|
|
9414
|
+
return self.search_pbx_calls_with_http_info(search_request, **kwargs) # noqa: E501
|
|
9415
|
+
else:
|
|
9416
|
+
(data) = self.search_pbx_calls_with_http_info(search_request, **kwargs) # noqa: E501
|
|
9417
|
+
return data
|
|
9418
|
+
|
|
9419
|
+
def search_pbx_calls_with_http_info(self, search_request, **kwargs): # noqa: E501
|
|
9420
|
+
"""Search pbx call records # noqa: E501
|
|
9421
|
+
|
|
9422
|
+
Search and list PBX call records with filtering, sorting, and pagination # noqa: E501
|
|
9423
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
9424
|
+
asynchronous HTTP request, please pass async_req=True
|
|
9425
|
+
>>> thread = api.search_pbx_calls_with_http_info(search_request, async_req=True)
|
|
9426
|
+
>>> result = thread.get()
|
|
9427
|
+
|
|
9428
|
+
:param async_req bool
|
|
9429
|
+
:param ConversationPbxCallSearchRequest search_request: Search Request (required)
|
|
9430
|
+
:param int limit: The maximum number of records to return on this one API call. (Maximum 200)
|
|
9431
|
+
:param int offset: Pagination of the record set. Offset is a zero based index.
|
|
9432
|
+
:param str sort: The sort order of the calls.
|
|
9433
|
+
:return: ConversationPbxCallSearchResponse
|
|
9434
|
+
If the method is called asynchronously,
|
|
9435
|
+
returns the request thread.
|
|
9436
|
+
"""
|
|
9437
|
+
|
|
9438
|
+
all_params = ['search_request', 'limit', 'offset', 'sort'] # noqa: E501
|
|
9439
|
+
all_params.append('async_req')
|
|
9440
|
+
all_params.append('_return_http_data_only')
|
|
9441
|
+
all_params.append('_preload_content')
|
|
9442
|
+
all_params.append('_request_timeout')
|
|
9443
|
+
|
|
9444
|
+
params = locals()
|
|
9445
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
9446
|
+
if key not in all_params:
|
|
9447
|
+
raise TypeError(
|
|
9448
|
+
"Got an unexpected keyword argument '%s'"
|
|
9449
|
+
" to method search_pbx_calls" % key
|
|
9450
|
+
)
|
|
9451
|
+
params[key] = val
|
|
9452
|
+
del params['kwargs']
|
|
9453
|
+
# verify the required parameter 'search_request' is set
|
|
9454
|
+
if ('search_request' not in params or
|
|
9455
|
+
params['search_request'] is None):
|
|
9456
|
+
raise ValueError("Missing the required parameter `search_request` when calling `search_pbx_calls`") # noqa: E501
|
|
9457
|
+
|
|
9458
|
+
collection_formats = {}
|
|
9459
|
+
|
|
9460
|
+
path_params = {}
|
|
9461
|
+
|
|
9462
|
+
query_params = []
|
|
9463
|
+
if 'limit' in params:
|
|
9464
|
+
query_params.append(('_limit', params['limit'])) # noqa: E501
|
|
9465
|
+
if 'offset' in params:
|
|
9466
|
+
query_params.append(('_offset', params['offset'])) # noqa: E501
|
|
9467
|
+
if 'sort' in params:
|
|
9468
|
+
query_params.append(('_sort', params['sort'])) # noqa: E501
|
|
9469
|
+
|
|
9470
|
+
header_params = {}
|
|
9471
|
+
|
|
9472
|
+
form_params = []
|
|
9473
|
+
local_var_files = {}
|
|
9474
|
+
|
|
9475
|
+
body_params = None
|
|
9476
|
+
if 'search_request' in params:
|
|
9477
|
+
body_params = params['search_request']
|
|
9478
|
+
# HTTP header `Accept`
|
|
9479
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
9480
|
+
['application/json']) # noqa: E501
|
|
9481
|
+
|
|
9482
|
+
# HTTP header `Content-Type`
|
|
9483
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
9484
|
+
['application/json']) # noqa: E501
|
|
9485
|
+
|
|
9486
|
+
# Authentication setting
|
|
9487
|
+
auth_settings = ['ultraCartOauth', 'ultraCartSimpleApiKey'] # noqa: E501
|
|
9488
|
+
|
|
9489
|
+
return self.api_client.call_api(
|
|
9490
|
+
'/conversation/pbx/call/search', 'POST',
|
|
9491
|
+
path_params,
|
|
9492
|
+
query_params,
|
|
9493
|
+
header_params,
|
|
9494
|
+
body=body_params,
|
|
9495
|
+
post_params=form_params,
|
|
9496
|
+
files=local_var_files,
|
|
9497
|
+
response_type='ConversationPbxCallSearchResponse', # noqa: E501
|
|
9498
|
+
auth_settings=auth_settings,
|
|
9499
|
+
async_req=params.get('async_req'),
|
|
9500
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
9501
|
+
_preload_content=params.get('_preload_content', True),
|
|
9502
|
+
_request_timeout=params.get('_request_timeout'),
|
|
9503
|
+
collection_formats=collection_formats)
|
|
9504
|
+
|
|
9295
9505
|
def sms_unsubscribe_conversation(self, conversation_uuid, **kwargs): # noqa: E501
|
|
9296
9506
|
"""Unsubscribe any SMS participants in this conversation # noqa: E501
|
|
9297
9507
|
|
ultracart/api_client.py
CHANGED
|
@@ -74,7 +74,7 @@ class ApiClient(object):
|
|
|
74
74
|
self.default_headers[header_name] = header_value
|
|
75
75
|
self.cookie = cookie
|
|
76
76
|
# Set default User-Agent.
|
|
77
|
-
self.user_agent = 'Swagger-Codegen/3.11.
|
|
77
|
+
self.user_agent = 'Swagger-Codegen/3.11.54/python'
|
|
78
78
|
|
|
79
79
|
def __del__(self):
|
|
80
80
|
if self._pool is not None:
|
ultracart/configuration.py
CHANGED
ultracart/models/__init__.py
CHANGED
|
@@ -211,6 +211,25 @@ from ultracart.models.conversation_pbx_audio_usage_response import ConversationP
|
|
|
211
211
|
from ultracart.models.conversation_pbx_audios_response import ConversationPbxAudiosResponse
|
|
212
212
|
from ultracart.models.conversation_pbx_available_phone_number import ConversationPbxAvailablePhoneNumber
|
|
213
213
|
from ultracart.models.conversation_pbx_available_phone_numbers_response import ConversationPbxAvailablePhoneNumbersResponse
|
|
214
|
+
from ultracart.models.conversation_pbx_call import ConversationPbxCall
|
|
215
|
+
from ultracart.models.conversation_pbx_call_agent import ConversationPbxCallAgent
|
|
216
|
+
from ultracart.models.conversation_pbx_call_ai_cost import ConversationPbxCallAiCost
|
|
217
|
+
from ultracart.models.conversation_pbx_call_ai_engagement import ConversationPbxCallAiEngagement
|
|
218
|
+
from ultracart.models.conversation_pbx_call_ai_tool_call import ConversationPbxCallAiToolCall
|
|
219
|
+
from ultracart.models.conversation_pbx_call_ai_whisper import ConversationPbxCallAiWhisper
|
|
220
|
+
from ultracart.models.conversation_pbx_call_caller import ConversationPbxCallCaller
|
|
221
|
+
from ultracart.models.conversation_pbx_call_financial import ConversationPbxCallFinancial
|
|
222
|
+
from ultracart.models.conversation_pbx_call_hold import ConversationPbxCallHold
|
|
223
|
+
from ultracart.models.conversation_pbx_call_queue import ConversationPbxCallQueue
|
|
224
|
+
from ultracart.models.conversation_pbx_call_recording import ConversationPbxCallRecording
|
|
225
|
+
from ultracart.models.conversation_pbx_call_response import ConversationPbxCallResponse
|
|
226
|
+
from ultracart.models.conversation_pbx_call_routing import ConversationPbxCallRouting
|
|
227
|
+
from ultracart.models.conversation_pbx_call_search_request import ConversationPbxCallSearchRequest
|
|
228
|
+
from ultracart.models.conversation_pbx_call_search_response import ConversationPbxCallSearchResponse
|
|
229
|
+
from ultracart.models.conversation_pbx_call_timeline import ConversationPbxCallTimeline
|
|
230
|
+
from ultracart.models.conversation_pbx_call_transcript import ConversationPbxCallTranscript
|
|
231
|
+
from ultracart.models.conversation_pbx_call_transcript_segment import ConversationPbxCallTranscriptSegment
|
|
232
|
+
from ultracart.models.conversation_pbx_call_transfer import ConversationPbxCallTransfer
|
|
214
233
|
from ultracart.models.conversation_pbx_customer_snapshot_request import ConversationPbxCustomerSnapshotRequest
|
|
215
234
|
from ultracart.models.conversation_pbx_customer_snapshot_response import ConversationPbxCustomerSnapshotResponse
|
|
216
235
|
from ultracart.models.conversation_pbx_hardware_phone import ConversationPbxHardwarePhone
|
|
@@ -35,6 +35,7 @@ class ConversationPbxAgent(object):
|
|
|
35
35
|
'call_routing_preference': 'str',
|
|
36
36
|
'cellphone': 'str',
|
|
37
37
|
'conversation_pbx_agent_uuid': 'str',
|
|
38
|
+
'default_phone_number_uuid': 'str',
|
|
38
39
|
'extension': 'int',
|
|
39
40
|
'full_name': 'str',
|
|
40
41
|
'hardware_phone_uuids': 'list[str]',
|
|
@@ -57,6 +58,7 @@ class ConversationPbxAgent(object):
|
|
|
57
58
|
'call_routing_preference': 'call_routing_preference',
|
|
58
59
|
'cellphone': 'cellphone',
|
|
59
60
|
'conversation_pbx_agent_uuid': 'conversation_pbx_agent_uuid',
|
|
61
|
+
'default_phone_number_uuid': 'default_phone_number_uuid',
|
|
60
62
|
'extension': 'extension',
|
|
61
63
|
'full_name': 'full_name',
|
|
62
64
|
'hardware_phone_uuids': 'hardware_phone_uuids',
|
|
@@ -74,13 +76,14 @@ class ConversationPbxAgent(object):
|
|
|
74
76
|
'voicemail': 'voicemail'
|
|
75
77
|
}
|
|
76
78
|
|
|
77
|
-
def __init__(self, ai=None, call_routing_preference=None, cellphone=None, conversation_pbx_agent_uuid=None, extension=None, full_name=None, hardware_phone_uuids=None, login=None, merchant_id=None, personal_conversation_pbx_voicemail_mailbox_uuid=None, preferred_hardware_phone_uuid=None, record_outgoing_automatically=None, shared_conversation_pbx_voicemail_mailbox_uuid=None, twilio_taskrouter_worker_id=None, unavailable_play_audio_uuid=None, unavailable_say=None, unavailable_say_voice=None, user_id=None, voicemail=None): # noqa: E501
|
|
79
|
+
def __init__(self, ai=None, call_routing_preference=None, cellphone=None, conversation_pbx_agent_uuid=None, default_phone_number_uuid=None, extension=None, full_name=None, hardware_phone_uuids=None, login=None, merchant_id=None, personal_conversation_pbx_voicemail_mailbox_uuid=None, preferred_hardware_phone_uuid=None, record_outgoing_automatically=None, shared_conversation_pbx_voicemail_mailbox_uuid=None, twilio_taskrouter_worker_id=None, unavailable_play_audio_uuid=None, unavailable_say=None, unavailable_say_voice=None, user_id=None, voicemail=None): # noqa: E501
|
|
78
80
|
"""ConversationPbxAgent - a model defined in Swagger""" # noqa: E501
|
|
79
81
|
|
|
80
82
|
self._ai = None
|
|
81
83
|
self._call_routing_preference = None
|
|
82
84
|
self._cellphone = None
|
|
83
85
|
self._conversation_pbx_agent_uuid = None
|
|
86
|
+
self._default_phone_number_uuid = None
|
|
84
87
|
self._extension = None
|
|
85
88
|
self._full_name = None
|
|
86
89
|
self._hardware_phone_uuids = None
|
|
@@ -106,6 +109,8 @@ class ConversationPbxAgent(object):
|
|
|
106
109
|
self.cellphone = cellphone
|
|
107
110
|
if conversation_pbx_agent_uuid is not None:
|
|
108
111
|
self.conversation_pbx_agent_uuid = conversation_pbx_agent_uuid
|
|
112
|
+
if default_phone_number_uuid is not None:
|
|
113
|
+
self.default_phone_number_uuid = default_phone_number_uuid
|
|
109
114
|
if extension is not None:
|
|
110
115
|
self.extension = extension
|
|
111
116
|
if full_name is not None:
|
|
@@ -237,6 +242,29 @@ class ConversationPbxAgent(object):
|
|
|
237
242
|
|
|
238
243
|
self._conversation_pbx_agent_uuid = conversation_pbx_agent_uuid
|
|
239
244
|
|
|
245
|
+
@property
|
|
246
|
+
def default_phone_number_uuid(self):
|
|
247
|
+
"""Gets the default_phone_number_uuid of this ConversationPbxAgent. # noqa: E501
|
|
248
|
+
|
|
249
|
+
The default phone number that this agent should dial out to the PSTN with. # noqa: E501
|
|
250
|
+
|
|
251
|
+
:return: The default_phone_number_uuid of this ConversationPbxAgent. # noqa: E501
|
|
252
|
+
:rtype: str
|
|
253
|
+
"""
|
|
254
|
+
return self._default_phone_number_uuid
|
|
255
|
+
|
|
256
|
+
@default_phone_number_uuid.setter
|
|
257
|
+
def default_phone_number_uuid(self, default_phone_number_uuid):
|
|
258
|
+
"""Sets the default_phone_number_uuid of this ConversationPbxAgent.
|
|
259
|
+
|
|
260
|
+
The default phone number that this agent should dial out to the PSTN with. # noqa: E501
|
|
261
|
+
|
|
262
|
+
:param default_phone_number_uuid: The default_phone_number_uuid of this ConversationPbxAgent. # noqa: E501
|
|
263
|
+
:type: str
|
|
264
|
+
"""
|
|
265
|
+
|
|
266
|
+
self._default_phone_number_uuid = default_phone_number_uuid
|
|
267
|
+
|
|
240
268
|
@property
|
|
241
269
|
def extension(self):
|
|
242
270
|
"""Gets the extension of this ConversationPbxAgent. # noqa: E501
|