Skip to content

Commit 86fb423

Browse files
author
PureCloud Jenkins
committed
199.1.0
1 parent 184d683 commit 86fb423

616 files changed

Lines changed: 8716 additions & 7026 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/.openapi-generator/FILES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,6 +1042,7 @@ PureCloudPlatformClientV2/models/conversation_threading_window.py
10421042
PureCloudPlatformClientV2/models/conversation_threading_window_setting.py
10431043
PureCloudPlatformClientV2/models/conversation_user.py
10441044
PureCloudPlatformClientV2/models/conversation_user_disposition.py
1045+
PureCloudPlatformClientV2/models/conversation_utilization_label_update.py
10451046
PureCloudPlatformClientV2/models/conversation_video_event_topic_conversation_routing_data.py
10461047
PureCloudPlatformClientV2/models/conversation_video_event_topic_detail.py
10471048
PureCloudPlatformClientV2/models/conversation_video_event_topic_error_body.py
@@ -1493,6 +1494,7 @@ PureCloudPlatformClientV2/models/email_config.py
14931494
PureCloudPlatformClientV2/models/email_conversation.py
14941495
PureCloudPlatformClientV2/models/email_conversation_entity_listing.py
14951496
PureCloudPlatformClientV2/models/email_end_transfer_event.py
1497+
PureCloudPlatformClientV2/models/email_error_info.py
14961498
PureCloudPlatformClientV2/models/email_external_established_event.py
14971499
PureCloudPlatformClientV2/models/email_flow_established_event.py
14981500
PureCloudPlatformClientV2/models/email_hold_updated_event.py
@@ -1918,6 +1920,7 @@ PureCloudPlatformClientV2/models/identity_provider_entity_listing.py
19181920
PureCloudPlatformClientV2/models/idle_event_trigger.py
19191921
PureCloudPlatformClientV2/models/idle_token_timeout.py
19201922
PureCloudPlatformClientV2/models/ignored_activity_categories.py
1923+
PureCloudPlatformClientV2/models/imap_settings.py
19211924
PureCloudPlatformClientV2/models/import_error.py
19221925
PureCloudPlatformClientV2/models/import_forecast_response.py
19231926
PureCloudPlatformClientV2/models/import_forecast_upload_response.py
@@ -5470,6 +5473,7 @@ docs/ConversationThreadingWindow.md
54705473
docs/ConversationThreadingWindowSetting.md
54715474
docs/ConversationUser.md
54725475
docs/ConversationUserDisposition.md
5476+
docs/ConversationUtilizationLabelUpdate.md
54735477
docs/ConversationVideoEventTopicConversationRoutingData.md
54745478
docs/ConversationVideoEventTopicDetail.md
54755479
docs/ConversationVideoEventTopicErrorBody.md
@@ -5927,6 +5931,7 @@ docs/EmailConfig.md
59275931
docs/EmailConversation.md
59285932
docs/EmailConversationEntityListing.md
59295933
docs/EmailEndTransferEvent.md
5934+
docs/EmailErrorInfo.md
59305935
docs/EmailExternalEstablishedEvent.md
59315936
docs/EmailFlowEstablishedEvent.md
59325937
docs/EmailHoldUpdatedEvent.md
@@ -6378,6 +6383,7 @@ docs/IdentityProviderEntityListing.md
63786383
docs/IdleEventTrigger.md
63796384
docs/IdleTokenTimeout.md
63806385
docs/IgnoredActivityCategories.md
6386+
docs/ImapSettings.md
63816387
docs/ImportError.md
63826388
docs/ImportForecastResponse.md
63836389
docs/ImportForecastUploadResponse.md
@@ -10510,6 +10516,7 @@ docs/patch_coaching_notification-example.txt
1051010516
docs/patch_conversation_participant-example.txt
1051110517
docs/patch_conversation_participant_attributes-example.txt
1051210518
docs/patch_conversation_secureattributes-example.txt
10519+
docs/patch_conversation_utilizationlabel-example.txt
1051310520
docs/patch_conversations_aftercallwork_conversation_id_participant_communication-example.txt
1051410521
docs/patch_conversations_call-example.txt
1051510522
docs/patch_conversations_call_participant-example.txt

build/APIData.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10100,6 +10100,25 @@
1010010100
"return": "str",
1010110101
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ConversationsApi();\nconversation_id = 'conversation_id_example' # str | conversation ID\nbody = PureCloudPlatformClientV2.ConversationSecureAttributes() # ConversationSecureAttributes | Conversation Secure Attributes\n\ntry:\n # Update the secure attributes on a conversation.\n api_response = api_instance.patch_conversation_secureattributes(conversation_id, body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling ConversationsApi->patch_conversation_secureattributes: %s\\n\" % e)"
1010210102
},
10103+
"patch_conversation_utilizationlabel": {
10104+
"operationId": "patch_conversation_utilizationlabel",
10105+
"functionName": "patch_conversation_utilizationlabel",
10106+
"signature": "patch_conversation_utilizationlabel(conversation_id, body)",
10107+
"parameters": [
10108+
{
10109+
"name": "conversation_id",
10110+
"type": "str",
10111+
"required": "true"
10112+
},
10113+
{
10114+
"name": "body",
10115+
"type": "ConversationUtilizationLabelUpdate",
10116+
"required": "true"
10117+
}
10118+
],
10119+
"return": "str",
10120+
"example": "import PureCloudPlatformClientV2\nfrom PureCloudPlatformClientV2.rest import ApiException\nfrom pprint import pprint\n\n# Configure OAuth2 access token for authorization: PureCloud OAuth\nPureCloudPlatformClientV2.configuration.access_token = 'your_access_token'\n# or use get_client_credentials_token(...), get_saml2bearer_token(...), get_code_authorization_token(...) or get_pkce_token(...)\n\n# create an instance of the API class\napi_instance = PureCloudPlatformClientV2.ConversationsApi();\nconversation_id = 'conversation_id_example' # str | conversation ID\nbody = PureCloudPlatformClientV2.ConversationUtilizationLabelUpdate() # ConversationUtilizationLabelUpdate | Conversation Utilization Label\n\ntry:\n # Update the utilization label on a conversation. When there is no value provided, the system default label is applied\n api_response = api_instance.patch_conversation_utilizationlabel(conversation_id, body)\n pprint(api_response)\nexcept ApiException as e:\n print(\"Exception when calling ConversationsApi->patch_conversation_utilizationlabel: %s\\n\" % e)"
10121+
},
1010310122
"patch_conversations_aftercallwork_conversation_id_participant_communication": {
1010410123
"operationId": "patch_conversations_aftercallwork_conversation_id_participant_communication",
1010510124
"functionName": "patch_conversations_aftercallwork_conversation_id_participant_communication",

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@
963963
from .models.conversation_threading_window_setting import ConversationThreadingWindowSetting
964964
from .models.conversation_user import ConversationUser
965965
from .models.conversation_user_disposition import ConversationUserDisposition
966+
from .models.conversation_utilization_label_update import ConversationUtilizationLabelUpdate
966967
from .models.conversation_video_event_topic_conversation_routing_data import ConversationVideoEventTopicConversationRoutingData
967968
from .models.conversation_video_event_topic_detail import ConversationVideoEventTopicDetail
968969
from .models.conversation_video_event_topic_error_body import ConversationVideoEventTopicErrorBody
@@ -1414,6 +1415,7 @@
14141415
from .models.email_conversation import EmailConversation
14151416
from .models.email_conversation_entity_listing import EmailConversationEntityListing
14161417
from .models.email_end_transfer_event import EmailEndTransferEvent
1418+
from .models.email_error_info import EmailErrorInfo
14171419
from .models.email_external_established_event import EmailExternalEstablishedEvent
14181420
from .models.email_flow_established_event import EmailFlowEstablishedEvent
14191421
from .models.email_hold_updated_event import EmailHoldUpdatedEvent
@@ -1843,6 +1845,7 @@
18431845
from .models.idle_event_trigger import IdleEventTrigger
18441846
from .models.idle_token_timeout import IdleTokenTimeout
18451847
from .models.ignored_activity_categories import IgnoredActivityCategories
1848+
from .models.imap_settings import ImapSettings
18461849
from .models.import_error import ImportError
18471850
from .models.import_forecast_response import ImportForecastResponse
18481851
from .models.import_forecast_upload_response import ImportForecastUploadResponse

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __call_api(self, resource_path, method,
357357
header_params['Cookie'] = self.cookie
358358
if header_params:
359359
header_params = self.sanitize_for_serialization(header_params)
360-
header_params['purecloud-sdk'] = '199.0.0'
360+
header_params['purecloud-sdk'] = '199.1.0'
361361

362362
# path parameters
363363
if path_params:

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
from ..models import ConversationTagsUpdate
8989
from ..models import ConversationThreadingWindow
9090
from ..models import ConversationUser
91+
from ..models import ConversationUtilizationLabelUpdate
9192
from ..models import CopyAttachmentsRequest
9293
from ..models import CreateCallRequest
9394
from ..models import CreateCallResponse
@@ -8857,6 +8858,91 @@ def patch_conversation_secureattributes(self, conversation_id: str, body: 'Conve
88578858
callback=params.get('callback'))
88588859
return response
88598860

8861+
def patch_conversation_utilizationlabel(self, conversation_id: str, body: 'ConversationUtilizationLabelUpdate', **kwargs) -> str:
8862+
"""
8863+
Update the utilization label on a conversation. When there is no value provided, the system default label is applied
8864+
8865+
patch_conversation_utilizationlabel is a preview method and is subject to both breaking and non-breaking changes at any time without notice
8866+
8867+
This method makes a synchronous HTTP request by default. To make an
8868+
asynchronous HTTP request, please define a `callback` function
8869+
to be invoked when receiving the response.
8870+
>>> def callback_function(response):
8871+
>>> pprint(response)
8872+
>>>
8873+
>>> thread = api.patch_conversation_utilizationlabel(conversation_id, body, callback=callback_function)
8874+
8875+
:param callback function: The callback function
8876+
for asynchronous request. (optional)
8877+
:param str conversation_id: conversation ID (required)
8878+
:param ConversationUtilizationLabelUpdate body: Conversation Utilization Label (required)
8879+
:return: str
8880+
If the method is called asynchronously,
8881+
returns the request thread.
8882+
"""
8883+
8884+
all_params = ['conversation_id', 'body']
8885+
all_params.append('callback')
8886+
8887+
params = locals()
8888+
for key, val in iteritems(params['kwargs']):
8889+
if key not in all_params:
8890+
raise TypeError(
8891+
"Got an unexpected keyword argument '%s'"
8892+
" to method patch_conversation_utilizationlabel" % key
8893+
)
8894+
params[key] = val
8895+
del params['kwargs']
8896+
8897+
# verify the required parameter 'conversation_id' is set
8898+
if ('conversation_id' not in params) or (params['conversation_id'] is None):
8899+
raise ValueError("Missing the required parameter `conversation_id` when calling `patch_conversation_utilizationlabel`")
8900+
# verify the required parameter 'body' is set
8901+
if ('body' not in params) or (params['body'] is None):
8902+
raise ValueError("Missing the required parameter `body` when calling `patch_conversation_utilizationlabel`")
8903+
8904+
8905+
resource_path = '/api/v2/conversations/{conversationId}/utilizationlabel'.replace('{format}', 'json')
8906+
path_params = {}
8907+
if 'conversation_id' in params:
8908+
path_params['conversationId'] = params['conversation_id']
8909+
8910+
query_params = {}
8911+
8912+
header_params = {}
8913+
8914+
form_params = []
8915+
local_var_files = {}
8916+
8917+
body_params = None
8918+
if 'body' in params:
8919+
body_params = params['body']
8920+
8921+
# HTTP header `Accept`
8922+
header_params['Accept'] = self.api_client.\
8923+
select_header_accept(['application/json'])
8924+
if not header_params['Accept']:
8925+
del header_params['Accept']
8926+
8927+
# HTTP header `Content-Type`
8928+
header_params['Content-Type'] = self.api_client.\
8929+
select_header_content_type(['application/json'])
8930+
8931+
# Authentication setting
8932+
auth_settings = ['PureCloud OAuth']
8933+
8934+
response = self.api_client.call_api(resource_path, 'PATCH',
8935+
path_params,
8936+
query_params,
8937+
header_params,
8938+
body=body_params,
8939+
post_params=form_params,
8940+
files=local_var_files,
8941+
response_type='str',
8942+
auth_settings=auth_settings,
8943+
callback=params.get('callback'))
8944+
return response
8945+
88608946
def patch_conversations_aftercallwork_conversation_id_participant_communication(self, conversation_id: str, participant_id: str, communication_id: str, body: 'AfterCallWorkUpdate', **kwargs) -> 'AfterCallWorkUpdate':
88618947
"""
88628948
Update after-call work for this conversation communication.

build/PureCloudPlatformClientV2/apis/journey_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,6 @@ def post_journey_flows_paths_query(self, **kwargs) -> 'FlowPaths':
40864086
"""
40874087
Query for flow paths.
40884088
4089-
post_journey_flows_paths_query is a preview method and is subject to both breaking and non-breaking changes at any time without notice
40904089
40914090
This method makes a synchronous HTTP request by default. To make an
40924091
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/recording_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2787,7 +2787,6 @@ def get_recordings_screensessions_details(self, **kwargs) -> 'ScreenRecordingAct
27872787
"""
27882788
Retrieves an object containing the total number of concurrent active screen recordings
27892789
2790-
get_recordings_screensessions_details is a preview method and is subject to both breaking and non-breaking changes at any time without notice
27912790
27922791
This method makes a synchronous HTTP request by default. To make an
27932792
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def to_debug_report(self):
202202
"OS: {env}\n"\
203203
"Python Version: {pyversion}\n"\
204204
"Version of the API: v2\n"\
205-
"SDK Package Version: 199.0.0".\
205+
"SDK Package Version: 199.1.0".\
206206
format(env=sys.platform, pyversion=sys.version)
207207

208208
def _update_config_from_file(self):

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,7 @@
963963
from .conversation_threading_window_setting import ConversationThreadingWindowSetting
964964
from .conversation_user import ConversationUser
965965
from .conversation_user_disposition import ConversationUserDisposition
966+
from .conversation_utilization_label_update import ConversationUtilizationLabelUpdate
966967
from .conversation_video_event_topic_conversation_routing_data import ConversationVideoEventTopicConversationRoutingData
967968
from .conversation_video_event_topic_detail import ConversationVideoEventTopicDetail
968969
from .conversation_video_event_topic_error_body import ConversationVideoEventTopicErrorBody
@@ -1414,6 +1415,7 @@
14141415
from .email_conversation import EmailConversation
14151416
from .email_conversation_entity_listing import EmailConversationEntityListing
14161417
from .email_end_transfer_event import EmailEndTransferEvent
1418+
from .email_error_info import EmailErrorInfo
14171419
from .email_external_established_event import EmailExternalEstablishedEvent
14181420
from .email_flow_established_event import EmailFlowEstablishedEvent
14191421
from .email_hold_updated_event import EmailHoldUpdatedEvent
@@ -1843,6 +1845,7 @@
18431845
from .idle_event_trigger import IdleEventTrigger
18441846
from .idle_token_timeout import IdleTokenTimeout
18451847
from .ignored_activity_categories import IgnoredActivityCategories
1848+
from .imap_settings import ImapSettings
18461849
from .import_error import ImportError
18471850
from .import_forecast_response import ImportForecastResponse
18481851
from .import_forecast_upload_response import ImportForecastUploadResponse

build/PureCloudPlatformClientV2/models/accelerator_list.py

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ def __init__(self) -> None:
5454
'page_size': 'int',
5555
'page_number': 'int',
5656
'total': 'int',
57-
'previous_uri': 'str',
57+
'next_uri': 'str',
5858
'last_uri': 'str',
5959
'first_uri': 'str',
6060
'self_uri': 'str',
61-
'next_uri': 'str',
61+
'previous_uri': 'str',
6262
'page_count': 'int'
6363
}
6464

@@ -67,23 +67,23 @@ def __init__(self) -> None:
6767
'page_size': 'pageSize',
6868
'page_number': 'pageNumber',
6969
'total': 'total',
70-
'previous_uri': 'previousUri',
70+
'next_uri': 'nextUri',
7171
'last_uri': 'lastUri',
7272
'first_uri': 'firstUri',
7373
'self_uri': 'selfUri',
74-
'next_uri': 'nextUri',
74+
'previous_uri': 'previousUri',
7575
'page_count': 'pageCount'
7676
}
7777

7878
self._entities = None
7979
self._page_size = None
8080
self._page_number = None
8181
self._total = None
82-
self._previous_uri = None
82+
self._next_uri = None
8383
self._last_uri = None
8484
self._first_uri = None
8585
self._self_uri = None
86-
self._next_uri = None
86+
self._previous_uri = None
8787
self._page_count = None
8888

8989
@property
@@ -183,28 +183,28 @@ def total(self, total: int) -> None:
183183
self._total = total
184184

185185
@property
186-
def previous_uri(self) -> str:
186+
def next_uri(self) -> str:
187187
"""
188-
Gets the previous_uri of this AcceleratorList.
188+
Gets the next_uri of this AcceleratorList.
189189
190190
191-
:return: The previous_uri of this AcceleratorList.
191+
:return: The next_uri of this AcceleratorList.
192192
:rtype: str
193193
"""
194-
return self._previous_uri
194+
return self._next_uri
195195

196-
@previous_uri.setter
197-
def previous_uri(self, previous_uri: str) -> None:
196+
@next_uri.setter
197+
def next_uri(self, next_uri: str) -> None:
198198
"""
199-
Sets the previous_uri of this AcceleratorList.
199+
Sets the next_uri of this AcceleratorList.
200200
201201
202-
:param previous_uri: The previous_uri of this AcceleratorList.
202+
:param next_uri: The next_uri of this AcceleratorList.
203203
:type: str
204204
"""
205205

206206

207-
self._previous_uri = previous_uri
207+
self._next_uri = next_uri
208208

209209
@property
210210
def last_uri(self) -> str:
@@ -279,28 +279,28 @@ def self_uri(self, self_uri: str) -> None:
279279
self._self_uri = self_uri
280280

281281
@property
282-
def next_uri(self) -> str:
282+
def previous_uri(self) -> str:
283283
"""
284-
Gets the next_uri of this AcceleratorList.
284+
Gets the previous_uri of this AcceleratorList.
285285
286286
287-
:return: The next_uri of this AcceleratorList.
287+
:return: The previous_uri of this AcceleratorList.
288288
:rtype: str
289289
"""
290-
return self._next_uri
290+
return self._previous_uri
291291

292-
@next_uri.setter
293-
def next_uri(self, next_uri: str) -> None:
292+
@previous_uri.setter
293+
def previous_uri(self, previous_uri: str) -> None:
294294
"""
295-
Sets the next_uri of this AcceleratorList.
295+
Sets the previous_uri of this AcceleratorList.
296296
297297
298-
:param next_uri: The next_uri of this AcceleratorList.
298+
:param previous_uri: The previous_uri of this AcceleratorList.
299299
:type: str
300300
"""
301301

302302

303-
self._next_uri = next_uri
303+
self._previous_uri = previous_uri
304304

305305
@property
306306
def page_count(self) -> int:

0 commit comments

Comments
 (0)