Skip to content

Commit de2faae

Browse files
author
PureCloud Jenkins
committed
96.0.0
1 parent e444687 commit de2faae

145 files changed

Lines changed: 2564 additions & 589 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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@
541541
from .models.conversation_social_expression_event_topic_social_media_participant import ConversationSocialExpressionEventTopicSocialMediaParticipant
542542
from .models.conversation_social_expression_event_topic_uri_reference import ConversationSocialExpressionEventTopicUriReference
543543
from .models.conversation_social_expression_event_topic_wrapup import ConversationSocialExpressionEventTopicWrapup
544+
from .models.conversation_user import ConversationUser
544545
from .models.conversation_video_event_topic_conversation_routing_data import ConversationVideoEventTopicConversationRoutingData
545546
from .models.conversation_video_event_topic_detail import ConversationVideoEventTopicDetail
546547
from .models.conversation_video_event_topic_error_body import ConversationVideoEventTopicErrorBody
@@ -2074,7 +2075,6 @@
20742075
from .models.wfm_schedule_topic_wfm_schedule_notification import WfmScheduleTopicWfmScheduleNotification
20752076
from .models.wfm_time_off_request_update_topic_time_off_request_update import WfmTimeOffRequestUpdateTopicTimeOffRequestUpdate
20762077
from .models.wfm_time_off_request_update_topic_user_reference import WfmTimeOffRequestUpdateTopicUserReference
2077-
from .models.wfm_time_zone import WfmTimeZone
20782078
from .models.wfm_update_agent_details_topic_wfm_update_agent_details_complete import WfmUpdateAgentDetailsTopicWfmUpdateAgentDetailsComplete
20792079
from .models.wfm_user_entity_listing import WfmUserEntityListing
20802080
from .models.wfm_user_notification import WfmUserNotification
@@ -2113,6 +2113,7 @@
21132113
from .models.work_plan_list_item_response import WorkPlanListItemResponse
21142114
from .models.work_plan_list_response import WorkPlanListResponse
21152115
from .models.work_plan_reference import WorkPlanReference
2116+
from .models.work_plan_rotation_reference import WorkPlanRotationReference
21162117
from .models.work_plan_shift import WorkPlanShift
21172118
from .models.workspace import Workspace
21182119
from .models.workspace_create import WorkspaceCreate

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'] = '95.0.0'
188+
header_params['purecloud-sdk'] = '96.0.0'
189189

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8023,6 +8023,90 @@ def post_analytics_conversations_details_query(self, body, **kwargs):
80238023
callback=params.get('callback'))
80248024
return response
80258025

8026+
def post_conversation_assign(self, conversation_id, body, **kwargs):
8027+
"""
8028+
Attempts to manually assign a specified conversation to a specified agent. Ignores bullseye ring, PAR score, skills, and languages.
8029+
8030+
8031+
This method makes a synchronous HTTP request by default. To make an
8032+
asynchronous HTTP request, please define a `callback` function
8033+
to be invoked when receiving the response.
8034+
>>> def callback_function(response):
8035+
>>> pprint(response)
8036+
>>>
8037+
>>> thread = api.post_conversation_assign(conversation_id, body, callback=callback_function)
8038+
8039+
:param callback function: The callback function
8040+
for asynchronous request. (optional)
8041+
:param str conversation_id: conversation ID (required)
8042+
:param ConversationUser body: Targeted user (required)
8043+
:return: str
8044+
If the method is called asynchronously,
8045+
returns the request thread.
8046+
"""
8047+
8048+
all_params = ['conversation_id', 'body']
8049+
all_params.append('callback')
8050+
8051+
params = locals()
8052+
for key, val in iteritems(params['kwargs']):
8053+
if key not in all_params:
8054+
raise TypeError(
8055+
"Got an unexpected keyword argument '%s'"
8056+
" to method post_conversation_assign" % key
8057+
)
8058+
params[key] = val
8059+
del params['kwargs']
8060+
8061+
# verify the required parameter 'conversation_id' is set
8062+
if ('conversation_id' not in params) or (params['conversation_id'] is None):
8063+
raise ValueError("Missing the required parameter `conversation_id` when calling `post_conversation_assign`")
8064+
# verify the required parameter 'body' is set
8065+
if ('body' not in params) or (params['body'] is None):
8066+
raise ValueError("Missing the required parameter `body` when calling `post_conversation_assign`")
8067+
8068+
8069+
resource_path = '/api/v2/conversations/{conversationId}/assign'.replace('{format}', 'json')
8070+
path_params = {}
8071+
if 'conversation_id' in params:
8072+
path_params['conversationId'] = params['conversation_id']
8073+
8074+
query_params = {}
8075+
8076+
header_params = {}
8077+
8078+
form_params = []
8079+
local_var_files = {}
8080+
8081+
body_params = None
8082+
if 'body' in params:
8083+
body_params = params['body']
8084+
8085+
# HTTP header `Accept`
8086+
header_params['Accept'] = self.api_client.\
8087+
select_header_accept(['application/json'])
8088+
if not header_params['Accept']:
8089+
del header_params['Accept']
8090+
8091+
# HTTP header `Content-Type`
8092+
header_params['Content-Type'] = self.api_client.\
8093+
select_header_content_type(['application/json'])
8094+
8095+
# Authentication setting
8096+
auth_settings = ['PureCloud OAuth']
8097+
8098+
response = self.api_client.call_api(resource_path, 'POST',
8099+
path_params,
8100+
query_params,
8101+
header_params,
8102+
body=body_params,
8103+
post_params=form_params,
8104+
files=local_var_files,
8105+
response_type='str',
8106+
auth_settings=auth_settings,
8107+
callback=params.get('callback'))
8108+
return response
8109+
80268110
def post_conversation_disconnect(self, conversation_id, **kwargs):
80278111
"""
80288112
Performs a full conversation teardown. Issues disconnect requests for any connected media. Applies a system wrap-up code to any participants that are pending wrap-up. This is not intended to be the normal way of ending interactions but is available in the event of problems with the application to allow a resynchronization of state across all components. It is recommended that users submit a support case if they are relying on this endpoint systematically as there is likely something that needs investigation.

build/PureCloudPlatformClientV2/apis/workforce_management_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3693,12 +3693,13 @@ def get_workforcemanagement_managementunit_agent(self, management_unit_id, agent
36933693
for asynchronous request. (optional)
36943694
:param str management_unit_id: The id of the management unit, or 'mine' for the management unit of the logged-in user. (required)
36953695
:param str agent_id: The agent id (required)
3696+
:param bool exclude_capabilities: Excludes all capabilities of the agent such as queues, languages, and skills
36963697
:return: WfmAgent
36973698
If the method is called asynchronously,
36983699
returns the request thread.
36993700
"""
37003701

3701-
all_params = ['management_unit_id', 'agent_id']
3702+
all_params = ['management_unit_id', 'agent_id', 'exclude_capabilities']
37023703
all_params.append('callback')
37033704

37043705
params = locals()
@@ -3727,6 +3728,8 @@ def get_workforcemanagement_managementunit_agent(self, management_unit_id, agent
37273728
path_params['agentId'] = params['agent_id']
37283729

37293730
query_params = {}
3731+
if 'exclude_capabilities' in params:
3732+
query_params['excludeCapabilities'] = params['exclude_capabilities']
37303733

37313734
header_params = {}
37323735

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: 95.0.0".\
258+
"SDK Package Version: 96.0.0".\
259259
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@
541541
from .conversation_social_expression_event_topic_social_media_participant import ConversationSocialExpressionEventTopicSocialMediaParticipant
542542
from .conversation_social_expression_event_topic_uri_reference import ConversationSocialExpressionEventTopicUriReference
543543
from .conversation_social_expression_event_topic_wrapup import ConversationSocialExpressionEventTopicWrapup
544+
from .conversation_user import ConversationUser
544545
from .conversation_video_event_topic_conversation_routing_data import ConversationVideoEventTopicConversationRoutingData
545546
from .conversation_video_event_topic_detail import ConversationVideoEventTopicDetail
546547
from .conversation_video_event_topic_error_body import ConversationVideoEventTopicErrorBody
@@ -2074,7 +2075,6 @@
20742075
from .wfm_schedule_topic_wfm_schedule_notification import WfmScheduleTopicWfmScheduleNotification
20752076
from .wfm_time_off_request_update_topic_time_off_request_update import WfmTimeOffRequestUpdateTopicTimeOffRequestUpdate
20762077
from .wfm_time_off_request_update_topic_user_reference import WfmTimeOffRequestUpdateTopicUserReference
2077-
from .wfm_time_zone import WfmTimeZone
20782078
from .wfm_update_agent_details_topic_wfm_update_agent_details_complete import WfmUpdateAgentDetailsTopicWfmUpdateAgentDetailsComplete
20792079
from .wfm_user_entity_listing import WfmUserEntityListing
20802080
from .wfm_user_notification import WfmUserNotification
@@ -2113,6 +2113,7 @@
21132113
from .work_plan_list_item_response import WorkPlanListItemResponse
21142114
from .work_plan_list_response import WorkPlanListResponse
21152115
from .work_plan_reference import WorkPlanReference
2116+
from .work_plan_rotation_reference import WorkPlanRotationReference
21162117
from .work_plan_shift import WorkPlanShift
21172118
from .workspace import Workspace
21182119
from .workspace_create import WorkspaceCreate

0 commit comments

Comments
 (0)