Skip to content

Commit

Permalink
212.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Sep 29, 2024
1 parent 9bb049c commit e0deab1
Show file tree
Hide file tree
Showing 4,926 changed files with 26,650 additions and 6,082 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Documentation can be found at https://mypurecloud.github.io/platform-client-sdk-python/

Documentation version PureCloudPlatformClientV2 211.1.0
Documentation version PureCloudPlatformClientV2 212.0.0

## Preview APIs

Expand Down
145 changes: 145 additions & 0 deletions build/.openapi-generator/FILES

Large diffs are not rendered by default.

440 changes: 439 additions & 1 deletion build/APIData.json

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions build/PureCloudPlatformClientV2/__init__.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/PureCloudPlatformClientV2/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def __call_api(self, resource_path, method,
header_params['Cookie'] = self.cookie
if header_params:
header_params = self.sanitize_for_serialization(header_params)
header_params['purecloud-sdk'] = '211.1.0'
header_params['purecloud-sdk'] = '212.0.0'

# path parameters
if path_params:
Expand Down
80 changes: 80 additions & 0 deletions build/PureCloudPlatformClientV2/apis/conversations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
from ..models import ConversationParticipantSearchRequest
from ..models import ConversationQuery
from ..models import ConversationSecureAttributes
from ..models import ConversationSummariesGetResponse
from ..models import ConversationTagsUpdate
from ..models import ConversationThreadingWindow
from ..models import ConversationUser
Expand Down Expand Up @@ -2469,6 +2470,85 @@ def get_conversation_suggestions(self, conversation_id: str, **kwargs) -> 'Sugge
callback=params.get('callback'))
return response

def get_conversation_summaries(self, conversation_id: str, **kwargs) -> 'ConversationSummariesGetResponse':
"""
Get the summaries of the conversation.

get_conversation_summaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice

This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
to be invoked when receiving the response.
>>> def callback_function(response):
>>> pprint(response)
>>>
>>> thread = api.get_conversation_summaries(conversation_id, callback=callback_function)

:param callback function: The callback function
for asynchronous request. (optional)
:param str conversation_id: Conversation ID (required)
:return: ConversationSummariesGetResponse
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['conversation_id']
all_params.append('callback')

params = locals()
for key, val in iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_conversation_summaries" % key
)
params[key] = val
del params['kwargs']

# verify the required parameter 'conversation_id' is set
if ('conversation_id' not in params) or (params['conversation_id'] is None):
raise ValueError("Missing the required parameter `conversation_id` when calling `get_conversation_summaries`")


resource_path = '/api/v2/conversations/{conversationId}/summaries'.replace('{format}', 'json')
path_params = {}
if 'conversation_id' in params:
path_params['conversationId'] = params['conversation_id']

query_params = {}

header_params = {}

form_params = []
local_var_files = {}

body_params = None

# HTTP header `Accept`
header_params['Accept'] = self.api_client.\
select_header_accept(['application/json'])
if not header_params['Accept']:
del header_params['Accept']

# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json'])

# Authentication setting
auth_settings = ['PureCloud OAuth']

response = self.api_client.call_api(resource_path, 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ConversationSummariesGetResponse',
auth_settings=auth_settings,
callback=params.get('callback'))
return response

def get_conversations(self, **kwargs) -> 'ConversationEntityListing':
"""
Get active conversations for the logged in user
Expand Down
Loading

0 comments on commit e0deab1

Please sign in to comment.