Skip to content

Commit 276b81b

Browse files
author
PureCloud Jenkins
committed
80.0.0
1 parent d8e8028 commit 276b81b

412 files changed

Lines changed: 4785 additions & 4148 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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@
13091309
from .models.queue_reference import QueueReference
13101310
from .models.queue_request import QueueRequest
13111311
from .models.queue_user_event_topic_queue_member import QueueUserEventTopicQueueMember
1312+
from .models.queue_user_event_topic_user_reference import QueueUserEventTopicUserReference
13121313
from .models.queue_utilization_diagnostic import QueueUtilizationDiagnostic
13131314
from .models.reaction import Reaction
13141315
from .models.recall_entry import RecallEntry

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __call_api(self, resource_path, method,
185185
header_params['Cookie'] = self.cookie
186186
if header_params:
187187
header_params = self.sanitize_for_serialization(header_params)
188-
header_params['purecloud-sdk'] = '79.2.0'
188+
header_params['purecloud-sdk'] = '80.0.0'
189189

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -295,84 +295,6 @@ def delete_authorization_subject_division_role(self, subject_id, division_id, ro
295295
callback=params.get('callback'))
296296
return response
297297

298-
def delete_user_roles(self, user_id, **kwargs):
299-
"""
300-
Removes all the roles from the user.
301-
302-
303-
This method makes a synchronous HTTP request by default. To make an
304-
asynchronous HTTP request, please define a `callback` function
305-
to be invoked when receiving the response.
306-
>>> def callback_function(response):
307-
>>> pprint(response)
308-
>>>
309-
>>> thread = api.delete_user_roles(user_id, callback=callback_function)
310-
311-
:param callback function: The callback function
312-
for asynchronous request. (optional)
313-
:param str user_id: User ID (required)
314-
:return: None
315-
If the method is called asynchronously,
316-
returns the request thread.
317-
"""
318-
319-
all_params = ['user_id']
320-
all_params.append('callback')
321-
322-
params = locals()
323-
for key, val in iteritems(params['kwargs']):
324-
if key not in all_params:
325-
raise TypeError(
326-
"Got an unexpected keyword argument '%s'"
327-
" to method delete_user_roles" % key
328-
)
329-
params[key] = val
330-
del params['kwargs']
331-
332-
# verify the required parameter 'user_id' is set
333-
if ('user_id' not in params) or (params['user_id'] is None):
334-
raise ValueError("Missing the required parameter `user_id` when calling `delete_user_roles`")
335-
336-
337-
resource_path = '/api/v2/users/{userId}/roles'.replace('{format}', 'json')
338-
path_params = {}
339-
if 'user_id' in params:
340-
path_params['userId'] = params['user_id']
341-
342-
query_params = {}
343-
344-
header_params = {}
345-
346-
form_params = []
347-
local_var_files = {}
348-
349-
body_params = None
350-
351-
# HTTP header `Accept`
352-
header_params['Accept'] = self.api_client.\
353-
select_header_accept(['application/json'])
354-
if not header_params['Accept']:
355-
del header_params['Accept']
356-
357-
# HTTP header `Content-Type`
358-
header_params['Content-Type'] = self.api_client.\
359-
select_header_content_type(['application/json'])
360-
361-
# Authentication setting
362-
auth_settings = ['PureCloud OAuth']
363-
364-
response = self.api_client.call_api(resource_path, 'DELETE',
365-
path_params,
366-
query_params,
367-
header_params,
368-
body=body_params,
369-
post_params=form_params,
370-
files=local_var_files,
371-
response_type=None,
372-
auth_settings=auth_settings,
373-
callback=params.get('callback'))
374-
return response
375-
376298
def get_authorization_division(self, division_id, **kwargs):
377299
"""
378300
Returns an authorization division.

build/PureCloudPlatformClientV2/apis/users_api.py

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -370,84 +370,6 @@ def delete_user(self, user_id, **kwargs):
370370
callback=params.get('callback'))
371371
return response
372372

373-
def delete_user_roles(self, user_id, **kwargs):
374-
"""
375-
Removes all the roles from the user.
376-
377-
378-
This method makes a synchronous HTTP request by default. To make an
379-
asynchronous HTTP request, please define a `callback` function
380-
to be invoked when receiving the response.
381-
>>> def callback_function(response):
382-
>>> pprint(response)
383-
>>>
384-
>>> thread = api.delete_user_roles(user_id, callback=callback_function)
385-
386-
:param callback function: The callback function
387-
for asynchronous request. (optional)
388-
:param str user_id: User ID (required)
389-
:return: None
390-
If the method is called asynchronously,
391-
returns the request thread.
392-
"""
393-
394-
all_params = ['user_id']
395-
all_params.append('callback')
396-
397-
params = locals()
398-
for key, val in iteritems(params['kwargs']):
399-
if key not in all_params:
400-
raise TypeError(
401-
"Got an unexpected keyword argument '%s'"
402-
" to method delete_user_roles" % key
403-
)
404-
params[key] = val
405-
del params['kwargs']
406-
407-
# verify the required parameter 'user_id' is set
408-
if ('user_id' not in params) or (params['user_id'] is None):
409-
raise ValueError("Missing the required parameter `user_id` when calling `delete_user_roles`")
410-
411-
412-
resource_path = '/api/v2/users/{userId}/roles'.replace('{format}', 'json')
413-
path_params = {}
414-
if 'user_id' in params:
415-
path_params['userId'] = params['user_id']
416-
417-
query_params = {}
418-
419-
header_params = {}
420-
421-
form_params = []
422-
local_var_files = {}
423-
424-
body_params = None
425-
426-
# HTTP header `Accept`
427-
header_params['Accept'] = self.api_client.\
428-
select_header_accept(['application/json'])
429-
if not header_params['Accept']:
430-
del header_params['Accept']
431-
432-
# HTTP header `Content-Type`
433-
header_params['Content-Type'] = self.api_client.\
434-
select_header_content_type(['application/json'])
435-
436-
# Authentication setting
437-
auth_settings = ['PureCloud OAuth']
438-
439-
response = self.api_client.call_api(resource_path, 'DELETE',
440-
path_params,
441-
query_params,
442-
header_params,
443-
body=body_params,
444-
post_params=form_params,
445-
files=local_var_files,
446-
response_type=None,
447-
auth_settings=auth_settings,
448-
callback=params.get('callback'))
449-
return response
450-
451373
def delete_user_routinglanguage(self, user_id, language_id, **kwargs):
452374
"""
453375
Remove routing language from user

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,5 +255,5 @@ def to_debug_report(self):
255255
"OS: {env}\n"\
256256
"Python Version: {pyversion}\n"\
257257
"Version of the API: v2\n"\
258-
"SDK Package Version: 79.2.0".\
258+
"SDK Package Version: 80.0.0".\
259259
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,7 @@
13091309
from .queue_reference import QueueReference
13101310
from .queue_request import QueueRequest
13111311
from .queue_user_event_topic_queue_member import QueueUserEventTopicQueueMember
1312+
from .queue_user_event_topic_user_reference import QueueUserEventTopicUserReference
13121313
from .queue_utilization_diagnostic import QueueUtilizationDiagnostic
13131314
from .reaction import Reaction
13141315
from .recall_entry import RecallEntry

build/PureCloudPlatformClientV2/models/action_entity_listing.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self):
4747
'first_uri': 'str',
4848
'self_uri': 'str',
4949
'next_uri': 'str',
50-
'previous_uri': 'str',
5150
'last_uri': 'str',
51+
'previous_uri': 'str',
5252
'page_count': 'int'
5353
}
5454

@@ -60,8 +60,8 @@ def __init__(self):
6060
'first_uri': 'firstUri',
6161
'self_uri': 'selfUri',
6262
'next_uri': 'nextUri',
63-
'previous_uri': 'previousUri',
6463
'last_uri': 'lastUri',
64+
'previous_uri': 'previousUri',
6565
'page_count': 'pageCount'
6666
}
6767

@@ -72,8 +72,8 @@ def __init__(self):
7272
self._first_uri = None
7373
self._self_uri = None
7474
self._next_uri = None
75-
self._previous_uri = None
7675
self._last_uri = None
76+
self._previous_uri = None
7777
self._page_count = None
7878

7979
@property
@@ -238,50 +238,50 @@ def next_uri(self, next_uri):
238238
self._next_uri = next_uri
239239

240240
@property
241-
def previous_uri(self):
241+
def last_uri(self):
242242
"""
243-
Gets the previous_uri of this ActionEntityListing.
243+
Gets the last_uri of this ActionEntityListing.
244244
245245
246-
:return: The previous_uri of this ActionEntityListing.
246+
:return: The last_uri of this ActionEntityListing.
247247
:rtype: str
248248
"""
249-
return self._previous_uri
249+
return self._last_uri
250250

251-
@previous_uri.setter
252-
def previous_uri(self, previous_uri):
251+
@last_uri.setter
252+
def last_uri(self, last_uri):
253253
"""
254-
Sets the previous_uri of this ActionEntityListing.
254+
Sets the last_uri of this ActionEntityListing.
255255
256256
257-
:param previous_uri: The previous_uri of this ActionEntityListing.
257+
:param last_uri: The last_uri of this ActionEntityListing.
258258
:type: str
259259
"""
260260

261-
self._previous_uri = previous_uri
261+
self._last_uri = last_uri
262262

263263
@property
264-
def last_uri(self):
264+
def previous_uri(self):
265265
"""
266-
Gets the last_uri of this ActionEntityListing.
266+
Gets the previous_uri of this ActionEntityListing.
267267
268268
269-
:return: The last_uri of this ActionEntityListing.
269+
:return: The previous_uri of this ActionEntityListing.
270270
:rtype: str
271271
"""
272-
return self._last_uri
272+
return self._previous_uri
273273

274-
@last_uri.setter
275-
def last_uri(self, last_uri):
274+
@previous_uri.setter
275+
def previous_uri(self, previous_uri):
276276
"""
277-
Sets the last_uri of this ActionEntityListing.
277+
Sets the previous_uri of this ActionEntityListing.
278278
279279
280-
:param last_uri: The last_uri of this ActionEntityListing.
280+
:param previous_uri: The previous_uri of this ActionEntityListing.
281281
:type: str
282282
"""
283283

284-
self._last_uri = last_uri
284+
self._previous_uri = previous_uri
285285

286286
@property
287287
def page_count(self):

build/PureCloudPlatformClientV2/models/agent_activity_entity_listing.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self):
4747
'first_uri': 'str',
4848
'self_uri': 'str',
4949
'next_uri': 'str',
50-
'previous_uri': 'str',
5150
'last_uri': 'str',
51+
'previous_uri': 'str',
5252
'page_count': 'int'
5353
}
5454

@@ -60,8 +60,8 @@ def __init__(self):
6060
'first_uri': 'firstUri',
6161
'self_uri': 'selfUri',
6262
'next_uri': 'nextUri',
63-
'previous_uri': 'previousUri',
6463
'last_uri': 'lastUri',
64+
'previous_uri': 'previousUri',
6565
'page_count': 'pageCount'
6666
}
6767

@@ -72,8 +72,8 @@ def __init__(self):
7272
self._first_uri = None
7373
self._self_uri = None
7474
self._next_uri = None
75-
self._previous_uri = None
7675
self._last_uri = None
76+
self._previous_uri = None
7777
self._page_count = None
7878

7979
@property
@@ -238,50 +238,50 @@ def next_uri(self, next_uri):
238238
self._next_uri = next_uri
239239

240240
@property
241-
def previous_uri(self):
241+
def last_uri(self):
242242
"""
243-
Gets the previous_uri of this AgentActivityEntityListing.
243+
Gets the last_uri of this AgentActivityEntityListing.
244244
245245
246-
:return: The previous_uri of this AgentActivityEntityListing.
246+
:return: The last_uri of this AgentActivityEntityListing.
247247
:rtype: str
248248
"""
249-
return self._previous_uri
249+
return self._last_uri
250250

251-
@previous_uri.setter
252-
def previous_uri(self, previous_uri):
251+
@last_uri.setter
252+
def last_uri(self, last_uri):
253253
"""
254-
Sets the previous_uri of this AgentActivityEntityListing.
254+
Sets the last_uri of this AgentActivityEntityListing.
255255
256256
257-
:param previous_uri: The previous_uri of this AgentActivityEntityListing.
257+
:param last_uri: The last_uri of this AgentActivityEntityListing.
258258
:type: str
259259
"""
260260

261-
self._previous_uri = previous_uri
261+
self._last_uri = last_uri
262262

263263
@property
264-
def last_uri(self):
264+
def previous_uri(self):
265265
"""
266-
Gets the last_uri of this AgentActivityEntityListing.
266+
Gets the previous_uri of this AgentActivityEntityListing.
267267
268268
269-
:return: The last_uri of this AgentActivityEntityListing.
269+
:return: The previous_uri of this AgentActivityEntityListing.
270270
:rtype: str
271271
"""
272-
return self._last_uri
272+
return self._previous_uri
273273

274-
@last_uri.setter
275-
def last_uri(self, last_uri):
274+
@previous_uri.setter
275+
def previous_uri(self, previous_uri):
276276
"""
277-
Sets the last_uri of this AgentActivityEntityListing.
277+
Sets the previous_uri of this AgentActivityEntityListing.
278278
279279
280-
:param last_uri: The last_uri of this AgentActivityEntityListing.
280+
:param previous_uri: The previous_uri of this AgentActivityEntityListing.
281281
:type: str
282282
"""
283283

284-
self._last_uri = last_uri
284+
self._previous_uri = previous_uri
285285

286286
@property
287287
def page_count(self):

0 commit comments

Comments
 (0)