Skip to content

Commit ed7a461

Browse files
author
PureCloud Jenkins
committed
41.0.0
1 parent 7d719bc commit ed7a461

330 files changed

Lines changed: 4295 additions & 5569 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
from .models.annotation import Annotation
6464
from .models.answer_option import AnswerOption
6565
from .models.archive_retention import ArchiveRetention
66-
from .models.asg_info_response import AsgInfoResponse
6766
from .models.assigned_wrapup_code import AssignedWrapupCode
6867
from .models.async_week_schedule_response import AsyncWeekScheduleResponse
6968
from .models.attachment import Attachment
@@ -343,7 +342,6 @@
343342
from .models.create_activity_code_request import CreateActivityCodeRequest
344343
from .models.create_admin_time_off_request import CreateAdminTimeOffRequest
345344
from .models.create_agent_time_off_request import CreateAgentTimeOffRequest
346-
from .models.create_asg_request import CreateAsgRequest
347345
from .models.create_call_request import CreateCallRequest
348346
from .models.create_call_response import CreateCallResponse
349347
from .models.create_callback_command import CreateCallbackCommand
@@ -653,7 +651,6 @@
653651
from .models.inbound_route import InboundRoute
654652
from .models.inbound_route_entity_listing import InboundRouteEntityListing
655653
from .models.initiate_screen_recording import InitiateScreenRecording
656-
from .models.instance_info import InstanceInfo
657654
from .models.integration import Integration
658655
from .models.integration_configuration import IntegrationConfiguration
659656
from .models.integration_configuration_info import IntegrationConfigurationInfo

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __call_api(self, resource_path, method,
112112
header_params['Cookie'] = self.cookie
113113
if header_params:
114114
header_params = self.sanitize_for_serialization(header_params)
115-
header_params['purecloud-sdk'] = '40.0.0'
115+
header_params['purecloud-sdk'] = '41.0.0'
116116

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/telephony_providers_edge_api.py

Lines changed: 0 additions & 162 deletions
Original file line numberDiff line numberDiff line change
@@ -5599,84 +5599,6 @@ def get_telephony_providers_edges_site(self, site_id, **kwargs):
55995599
callback=params.get('callback'))
56005600
return response
56015601

5602-
def get_telephony_providers_edges_site_autoscalinggroups(self, site_id, **kwargs):
5603-
"""
5604-
Gets the basic information about an asg in a specified site
5605-
5606-
5607-
This method makes a synchronous HTTP request by default. To make an
5608-
asynchronous HTTP request, please define a `callback` function
5609-
to be invoked when receiving the response.
5610-
>>> def callback_function(response):
5611-
>>> pprint(response)
5612-
>>>
5613-
>>> thread = api.get_telephony_providers_edges_site_autoscalinggroups(site_id, callback=callback_function)
5614-
5615-
:param callback function: The callback function
5616-
for asynchronous request. (optional)
5617-
:param str site_id: Site id associated with the asg (required)
5618-
:return: AsgInfoResponse
5619-
If the method is called asynchronously,
5620-
returns the request thread.
5621-
"""
5622-
5623-
all_params = ['site_id']
5624-
all_params.append('callback')
5625-
5626-
params = locals()
5627-
for key, val in iteritems(params['kwargs']):
5628-
if key not in all_params:
5629-
raise TypeError(
5630-
"Got an unexpected keyword argument '%s'"
5631-
" to method get_telephony_providers_edges_site_autoscalinggroups" % key
5632-
)
5633-
params[key] = val
5634-
del params['kwargs']
5635-
5636-
# verify the required parameter 'site_id' is set
5637-
if ('site_id' not in params) or (params['site_id'] is None):
5638-
raise ValueError("Missing the required parameter `site_id` when calling `get_telephony_providers_edges_site_autoscalinggroups`")
5639-
5640-
5641-
resource_path = '/api/v2/telephony/providers/edges/sites/{siteId}/autoscalinggroups'.replace('{format}', 'json')
5642-
path_params = {}
5643-
if 'site_id' in params:
5644-
path_params['siteId'] = params['site_id']
5645-
5646-
query_params = {}
5647-
5648-
header_params = {}
5649-
5650-
form_params = []
5651-
local_var_files = {}
5652-
5653-
body_params = None
5654-
5655-
# HTTP header `Accept`
5656-
header_params['Accept'] = self.api_client.\
5657-
select_header_accept(['application/json'])
5658-
if not header_params['Accept']:
5659-
del header_params['Accept']
5660-
5661-
# HTTP header `Content-Type`
5662-
header_params['Content-Type'] = self.api_client.\
5663-
select_header_content_type(['application/json'])
5664-
5665-
# Authentication setting
5666-
auth_settings = ['PureCloud Auth']
5667-
5668-
response = self.api_client.call_api(resource_path, 'GET',
5669-
path_params,
5670-
query_params,
5671-
header_params,
5672-
body=body_params,
5673-
post_params=form_params,
5674-
files=local_var_files,
5675-
response_type='AsgInfoResponse',
5676-
auth_settings=auth_settings,
5677-
callback=params.get('callback'))
5678-
return response
5679-
56805602
def get_telephony_providers_edges_site_numberplan(self, site_id, number_plan_id, **kwargs):
56815603
"""
56825604
Get a Number Plan by ID.
@@ -8524,90 +8446,6 @@ def post_telephony_providers_edges_phones_reboot(self, body, **kwargs):
85248446
callback=params.get('callback'))
85258447
return response
85268448

8527-
def post_telephony_providers_edges_site_autoscalinggroups(self, site_id, body, **kwargs):
8528-
"""
8529-
Creates an ASG for the specified site
8530-
8531-
8532-
This method makes a synchronous HTTP request by default. To make an
8533-
asynchronous HTTP request, please define a `callback` function
8534-
to be invoked when receiving the response.
8535-
>>> def callback_function(response):
8536-
>>> pprint(response)
8537-
>>>
8538-
>>> thread = api.post_telephony_providers_edges_site_autoscalinggroups(site_id, body, callback=callback_function)
8539-
8540-
:param callback function: The callback function
8541-
for asynchronous request. (optional)
8542-
:param str site_id: Site that will be associated with the asg (required)
8543-
:param CreateAsgRequest body: CreateAsgRequest (required)
8544-
:return: str
8545-
If the method is called asynchronously,
8546-
returns the request thread.
8547-
"""
8548-
8549-
all_params = ['site_id', 'body']
8550-
all_params.append('callback')
8551-
8552-
params = locals()
8553-
for key, val in iteritems(params['kwargs']):
8554-
if key not in all_params:
8555-
raise TypeError(
8556-
"Got an unexpected keyword argument '%s'"
8557-
" to method post_telephony_providers_edges_site_autoscalinggroups" % key
8558-
)
8559-
params[key] = val
8560-
del params['kwargs']
8561-
8562-
# verify the required parameter 'site_id' is set
8563-
if ('site_id' not in params) or (params['site_id'] is None):
8564-
raise ValueError("Missing the required parameter `site_id` when calling `post_telephony_providers_edges_site_autoscalinggroups`")
8565-
# verify the required parameter 'body' is set
8566-
if ('body' not in params) or (params['body'] is None):
8567-
raise ValueError("Missing the required parameter `body` when calling `post_telephony_providers_edges_site_autoscalinggroups`")
8568-
8569-
8570-
resource_path = '/api/v2/telephony/providers/edges/sites/{siteId}/autoscalinggroups'.replace('{format}', 'json')
8571-
path_params = {}
8572-
if 'site_id' in params:
8573-
path_params['siteId'] = params['site_id']
8574-
8575-
query_params = {}
8576-
8577-
header_params = {}
8578-
8579-
form_params = []
8580-
local_var_files = {}
8581-
8582-
body_params = None
8583-
if 'body' in params:
8584-
body_params = params['body']
8585-
8586-
# HTTP header `Accept`
8587-
header_params['Accept'] = self.api_client.\
8588-
select_header_accept(['application/json'])
8589-
if not header_params['Accept']:
8590-
del header_params['Accept']
8591-
8592-
# HTTP header `Content-Type`
8593-
header_params['Content-Type'] = self.api_client.\
8594-
select_header_content_type(['application/json'])
8595-
8596-
# Authentication setting
8597-
auth_settings = ['PureCloud Auth']
8598-
8599-
response = self.api_client.call_api(resource_path, 'POST',
8600-
path_params,
8601-
query_params,
8602-
header_params,
8603-
body=body_params,
8604-
post_params=form_params,
8605-
files=local_var_files,
8606-
response_type='str',
8607-
auth_settings=auth_settings,
8608-
callback=params.get('callback'))
8609-
return response
8610-
86118449
def post_telephony_providers_edges_site_outboundroutes(self, site_id, body, **kwargs):
86128450
"""
86138451
Create outbound route

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,5 @@ def to_debug_report(self):
238238
"OS: {env}\n"\
239239
"Python Version: {pyversion}\n"\
240240
"Version of the API: v2\n"\
241-
"SDK Package Version: 40.0.0".\
241+
"SDK Package Version: 41.0.0".\
242242
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
from .annotation import Annotation
6464
from .answer_option import AnswerOption
6565
from .archive_retention import ArchiveRetention
66-
from .asg_info_response import AsgInfoResponse
6766
from .assigned_wrapup_code import AssignedWrapupCode
6867
from .async_week_schedule_response import AsyncWeekScheduleResponse
6968
from .attachment import Attachment
@@ -343,7 +342,6 @@
343342
from .create_activity_code_request import CreateActivityCodeRequest
344343
from .create_admin_time_off_request import CreateAdminTimeOffRequest
345344
from .create_agent_time_off_request import CreateAgentTimeOffRequest
346-
from .create_asg_request import CreateAsgRequest
347345
from .create_call_request import CreateCallRequest
348346
from .create_call_response import CreateCallResponse
349347
from .create_callback_command import CreateCallbackCommand
@@ -653,7 +651,6 @@
653651
from .inbound_route import InboundRoute
654652
from .inbound_route_entity_listing import InboundRouteEntityListing
655653
from .initiate_screen_recording import InitiateScreenRecording
656-
from .instance_info import InstanceInfo
657654
from .integration import Integration
658655
from .integration_configuration import IntegrationConfiguration
659656
from .integration_configuration_info import IntegrationConfigurationInfo

build/PureCloudPlatformClientV2/models/action_entity_listing.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ def __init__(self):
4444
'total': 'int',
4545
'self_uri': 'str',
4646
'first_uri': 'str',
47-
'next_uri': 'str',
4847
'last_uri': 'str',
4948
'previous_uri': 'str',
49+
'next_uri': 'str',
5050
'page_count': 'int'
5151
}
5252

@@ -57,9 +57,9 @@ def __init__(self):
5757
'total': 'total',
5858
'self_uri': 'selfUri',
5959
'first_uri': 'firstUri',
60-
'next_uri': 'nextUri',
6160
'last_uri': 'lastUri',
6261
'previous_uri': 'previousUri',
62+
'next_uri': 'nextUri',
6363
'page_count': 'pageCount'
6464
}
6565

@@ -69,9 +69,9 @@ def __init__(self):
6969
self._total = None
7070
self._self_uri = None
7171
self._first_uri = None
72-
self._next_uri = None
7372
self._last_uri = None
7473
self._previous_uri = None
74+
self._next_uri = None
7575
self._page_count = None
7676

7777
@property
@@ -212,29 +212,6 @@ def first_uri(self, first_uri):
212212

213213
self._first_uri = first_uri
214214

215-
@property
216-
def next_uri(self):
217-
"""
218-
Gets the next_uri of this ActionEntityListing.
219-
220-
221-
:return: The next_uri of this ActionEntityListing.
222-
:rtype: str
223-
"""
224-
return self._next_uri
225-
226-
@next_uri.setter
227-
def next_uri(self, next_uri):
228-
"""
229-
Sets the next_uri of this ActionEntityListing.
230-
231-
232-
:param next_uri: The next_uri of this ActionEntityListing.
233-
:type: str
234-
"""
235-
236-
self._next_uri = next_uri
237-
238215
@property
239216
def last_uri(self):
240217
"""
@@ -281,6 +258,29 @@ def previous_uri(self, previous_uri):
281258

282259
self._previous_uri = previous_uri
283260

261+
@property
262+
def next_uri(self):
263+
"""
264+
Gets the next_uri of this ActionEntityListing.
265+
266+
267+
:return: The next_uri of this ActionEntityListing.
268+
:rtype: str
269+
"""
270+
return self._next_uri
271+
272+
@next_uri.setter
273+
def next_uri(self, next_uri):
274+
"""
275+
Sets the next_uri of this ActionEntityListing.
276+
277+
278+
:param next_uri: The next_uri of this ActionEntityListing.
279+
:type: str
280+
"""
281+
282+
self._next_uri = next_uri
283+
284284
@property
285285
def page_count(self):
286286
"""

0 commit comments

Comments
 (0)