Skip to content

Commit 1c4ade2

Browse files
author
PureCloud Jenkins
committed
68.0.0
1 parent c805f70 commit 1c4ade2

450 files changed

Lines changed: 7092 additions & 4738 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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,7 @@
327327
from .models.conversation_cobrowse_event_topic_scored_agent import ConversationCobrowseEventTopicScoredAgent
328328
from .models.conversation_cobrowse_event_topic_uri_reference import ConversationCobrowseEventTopicUriReference
329329
from .models.conversation_cobrowse_event_topic_wrapup import ConversationCobrowseEventTopicWrapup
330+
from .models.conversation_deletion_protection_query import ConversationDeletionProtectionQuery
330331
from .models.conversation_detail_query_clause import ConversationDetailQueryClause
331332
from .models.conversation_detail_query_filter import ConversationDetailQueryFilter
332333
from .models.conversation_detail_query_predicate import ConversationDetailQueryPredicate
@@ -905,13 +906,14 @@
905906
from .models.location import Location
906907
from .models.location_address import LocationAddress
907908
from .models.location_address_verification_details import LocationAddressVerificationDetails
908-
from .models.location_create_update_definition import LocationCreateUpdateDefinition
909+
from .models.location_create_definition import LocationCreateDefinition
909910
from .models.location_definition import LocationDefinition
910911
from .models.location_emergency_number import LocationEmergencyNumber
911912
from .models.location_entity_listing import LocationEntityListing
912913
from .models.location_image import LocationImage
913914
from .models.location_search_criteria import LocationSearchCriteria
914915
from .models.location_search_request import LocationSearchRequest
916+
from .models.location_update_definition import LocationUpdateDefinition
915917
from .models.locations_search_response import LocationsSearchResponse
916918
from .models.lock_info import LockInfo
917919
from .models.logical_interface_entity_listing import LogicalInterfaceEntityListing
@@ -936,6 +938,7 @@
936938
from .models.message_conversation_entity_listing import MessageConversationEntityListing
937939
from .models.message_data import MessageData
938940
from .models.message_details import MessageDetails
941+
from .models.message_evaluation import MessageEvaluation
939942
from .models.message_info import MessageInfo
940943
from .models.message_media import MessageMedia
941944
from .models.message_media_attachment import MessageMediaAttachment
@@ -1269,6 +1272,7 @@
12691272
from .models.queue_reference import QueueReference
12701273
from .models.queue_request import QueueRequest
12711274
from .models.queue_user_event_topic_queue_member import QueueUserEventTopicQueueMember
1275+
from .models.queue_user_event_topic_user_reference import QueueUserEventTopicUserReference
12721276
from .models.queue_utilization_diagnostic import QueueUtilizationDiagnostic
12731277
from .models.reaction import Reaction
12741278
from .models.recall_entry import RecallEntry
@@ -1398,6 +1402,7 @@
13981402
from .models.segment_detail_query_clause import SegmentDetailQueryClause
13991403
from .models.segment_detail_query_filter import SegmentDetailQueryFilter
14001404
from .models.segment_detail_query_predicate import SegmentDetailQueryPredicate
1405+
from .models.selected_columns import SelectedColumns
14011406
from .models.sequence_schedule import SequenceSchedule
14021407
from .models.server_date import ServerDate
14031408
from .models.service_context import ServiceContext
@@ -1597,7 +1602,6 @@
15971602
from .models.user_device import UserDevice
15981603
from .models.user_entity_listing import UserEntityListing
15991604
from .models.user_expands import UserExpands
1600-
from .models.user_external_identifier import UserExternalIdentifier
16011605
from .models.user_greeting_event_greeting import UserGreetingEventGreeting
16021606
from .models.user_greeting_event_greeting_audio_file import UserGreetingEventGreetingAudioFile
16031607
from .models.user_greeting_event_greeting_owner import UserGreetingEventGreetingOwner

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4452,12 +4452,13 @@ def get_flows_divisionviews(self, **kwargs):
44524452
:param str published_after: Published after
44534453
:param str published_before: Published before
44544454
:param list[str] division_id: division ID(s)
4455+
:param bool include_schemas: Include variable schemas
44554456
:return: FlowDivisionViewEntityListing
44564457
If the method is called asynchronously,
44574458
returns the request thread.
44584459
"""
44594460

4460-
all_params = ['type', 'page_number', 'page_size', 'sort_by', 'sort_order', 'id', 'name', 'publish_version_id', 'published_after', 'published_before', 'division_id']
4461+
all_params = ['type', 'page_number', 'page_size', 'sort_by', 'sort_order', 'id', 'name', 'publish_version_id', 'published_after', 'published_before', 'division_id', 'include_schemas']
44614462
all_params.append('callback')
44624463

44634464
params = locals()
@@ -4498,6 +4499,8 @@ def get_flows_divisionviews(self, **kwargs):
44984499
query_params['publishedBefore'] = params['published_before']
44994500
if 'division_id' in params:
45004501
query_params['divisionId'] = params['division_id']
4502+
if 'include_schemas' in params:
4503+
query_params['includeSchemas'] = params['include_schemas']
45014504

45024505
header_params = {}
45034506

build/PureCloudPlatformClientV2/apis/locations_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ def patch_location(self, location_id, body, **kwargs):
464464
:param callback function: The callback function
465465
for asynchronous request. (optional)
466466
:param str location_id: Location ID (required)
467-
:param LocationCreateUpdateDefinition body: Location (required)
467+
:param LocationUpdateDefinition body: Location (required)
468468
:return: LocationDefinition
469469
If the method is called asynchronously,
470470
returns the request thread.
@@ -547,7 +547,7 @@ def post_locations(self, body, **kwargs):
547547
548548
:param callback function: The callback function
549549
for asynchronous request. (optional)
550-
:param LocationCreateUpdateDefinition body: Location (required)
550+
:param LocationCreateDefinition body: Location (required)
551551
:return: LocationDefinition
552552
If the method is called asynchronously,
553553
returns the request thread.

build/PureCloudPlatformClientV2/apis/quality_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ def get_quality_calibrations(self, calibrator_id, **kwargs):
907907
def get_quality_conversation_audits(self, conversation_id, **kwargs):
908908
"""
909909
Get audits for conversation or recording
910-
910+
Different permissions are required for viewing different resource audit entries. The quality:evaluation:viewAudit permission is required to view evaluation audits, the recording:recording:viewAudit permission is required to view recording audits, and so on.
911911
912912
This method makes a synchronous HTTP request by default. To make an
913913
asynchronous HTTP request, please define a `callback` function
@@ -4429,7 +4429,7 @@ def put_quality_calibration(self, calibration_id, body, **kwargs):
44294429
def put_quality_conversation_evaluation(self, conversation_id, evaluation_id, body, **kwargs):
44304430
"""
44314431
Update an evaluation
4432-
4432+
The quality:evaluation:edit permission allows modification of most fields, while the quality:evaluation:editScore permission allows an evaluator to change just the question scores, and the quality:evaluation:editAgentSignoff permission allows an agent to change the agent comments and sign off on the evaluation.
44334433
44344434
This method makes a synchronous HTTP request by default. To make an
44354435
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/recording_api.py

Lines changed: 157 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2818,10 +2818,88 @@ def post_recording_recordingkeys(self, **kwargs):
28182818
callback=params.get('callback'))
28192819
return response
28202820

2821+
def post_recordings_deletionprotection(self, body, **kwargs):
2822+
"""
2823+
Get a list of conversations with protected recordings
2824+
2825+
2826+
This method makes a synchronous HTTP request by default. To make an
2827+
asynchronous HTTP request, please define a `callback` function
2828+
to be invoked when receiving the response.
2829+
>>> def callback_function(response):
2830+
>>> pprint(response)
2831+
>>>
2832+
>>> thread = api.post_recordings_deletionprotection(body, callback=callback_function)
2833+
2834+
:param callback function: The callback function
2835+
for asynchronous request. (optional)
2836+
:param ConversationDeletionProtectionQuery body: conversationIds (required)
2837+
:return: list[AddressableEntityRef]
2838+
If the method is called asynchronously,
2839+
returns the request thread.
2840+
"""
2841+
2842+
all_params = ['body']
2843+
all_params.append('callback')
2844+
2845+
params = locals()
2846+
for key, val in iteritems(params['kwargs']):
2847+
if key not in all_params:
2848+
raise TypeError(
2849+
"Got an unexpected keyword argument '%s'"
2850+
" to method post_recordings_deletionprotection" % key
2851+
)
2852+
params[key] = val
2853+
del params['kwargs']
2854+
2855+
# verify the required parameter 'body' is set
2856+
if ('body' not in params) or (params['body'] is None):
2857+
raise ValueError("Missing the required parameter `body` when calling `post_recordings_deletionprotection`")
2858+
2859+
2860+
resource_path = '/api/v2/recordings/deletionprotection'.replace('{format}', 'json')
2861+
path_params = {}
2862+
2863+
query_params = {}
2864+
2865+
header_params = {}
2866+
2867+
form_params = []
2868+
local_var_files = {}
2869+
2870+
body_params = None
2871+
if 'body' in params:
2872+
body_params = params['body']
2873+
2874+
# HTTP header `Accept`
2875+
header_params['Accept'] = self.api_client.\
2876+
select_header_accept(['application/json'])
2877+
if not header_params['Accept']:
2878+
del header_params['Accept']
2879+
2880+
# HTTP header `Content-Type`
2881+
header_params['Content-Type'] = self.api_client.\
2882+
select_header_content_type(['application/json'])
2883+
2884+
# Authentication setting
2885+
auth_settings = ['PureCloud OAuth']
2886+
2887+
response = self.api_client.call_api(resource_path, 'POST',
2888+
path_params,
2889+
query_params,
2890+
header_params,
2891+
body=body_params,
2892+
post_params=form_params,
2893+
files=local_var_files,
2894+
response_type='list[AddressableEntityRef]',
2895+
auth_settings=auth_settings,
2896+
callback=params.get('callback'))
2897+
return response
2898+
28212899
def put_conversation_recording(self, conversation_id, recording_id, body, **kwargs):
28222900
"""
28232901
Updates the retention records on a recording.
2824-
Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set.
2902+
Currently supports updating and removing both archive and delete dates for eligible recordings. A request to change the archival date of an archived recording will result in a restoration of the recording until the new date set. The recording:recording:view permission is required for the recording, as well as either the recording:recording:editRetention or recording:screenRecording:editRetention permissions depending on the type of recording.
28252903
28262904
This method makes a synchronous HTTP request by default. To make an
28272905
asynchronous HTTP request, please define a `callback` function
@@ -3492,3 +3570,81 @@ def put_recording_settings(self, body, **kwargs):
34923570
auth_settings=auth_settings,
34933571
callback=params.get('callback'))
34943572
return response
3573+
3574+
def put_recordings_deletionprotection(self, **kwargs):
3575+
"""
3576+
Apply or revoke recording protection for conversations
3577+
3578+
3579+
This method makes a synchronous HTTP request by default. To make an
3580+
asynchronous HTTP request, please define a `callback` function
3581+
to be invoked when receiving the response.
3582+
>>> def callback_function(response):
3583+
>>> pprint(response)
3584+
>>>
3585+
>>> thread = api.put_recordings_deletionprotection(callback=callback_function)
3586+
3587+
:param callback function: The callback function
3588+
for asynchronous request. (optional)
3589+
:param bool protect: Check for apply, uncheck for revoke (each action requires the respective permission)
3590+
:param ConversationDeletionProtectionQuery body:
3591+
:return: None
3592+
If the method is called asynchronously,
3593+
returns the request thread.
3594+
"""
3595+
3596+
all_params = ['protect', 'body']
3597+
all_params.append('callback')
3598+
3599+
params = locals()
3600+
for key, val in iteritems(params['kwargs']):
3601+
if key not in all_params:
3602+
raise TypeError(
3603+
"Got an unexpected keyword argument '%s'"
3604+
" to method put_recordings_deletionprotection" % key
3605+
)
3606+
params[key] = val
3607+
del params['kwargs']
3608+
3609+
3610+
3611+
resource_path = '/api/v2/recordings/deletionprotection'.replace('{format}', 'json')
3612+
path_params = {}
3613+
3614+
query_params = {}
3615+
if 'protect' in params:
3616+
query_params['protect'] = params['protect']
3617+
3618+
header_params = {}
3619+
3620+
form_params = []
3621+
local_var_files = {}
3622+
3623+
body_params = None
3624+
if 'body' in params:
3625+
body_params = params['body']
3626+
3627+
# HTTP header `Accept`
3628+
header_params['Accept'] = self.api_client.\
3629+
select_header_accept(['application/json'])
3630+
if not header_params['Accept']:
3631+
del header_params['Accept']
3632+
3633+
# HTTP header `Content-Type`
3634+
header_params['Content-Type'] = self.api_client.\
3635+
select_header_content_type(['application/json'])
3636+
3637+
# Authentication setting
3638+
auth_settings = ['PureCloud OAuth']
3639+
3640+
response = self.api_client.call_api(resource_path, 'PUT',
3641+
path_params,
3642+
query_params,
3643+
header_params,
3644+
body=body_params,
3645+
post_params=form_params,
3646+
files=local_var_files,
3647+
response_type=None,
3648+
auth_settings=auth_settings,
3649+
callback=params.get('callback'))
3650+
return response

build/PureCloudPlatformClientV2/apis/routing_api.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,15 +2027,14 @@ def get_routing_queues(self, **kwargs):
20272027
:param int page_number: Page number
20282028
:param str sort_by: Sort by
20292029
:param str name: Name
2030-
:param bool active: Active
20312030
:param list[str] id: ID(s)
20322031
:param list[str] division_id: Division ID(s)
20332032
:return: QueueEntityListing
20342033
If the method is called asynchronously,
20352034
returns the request thread.
20362035
"""
20372036

2038-
all_params = ['page_size', 'page_number', 'sort_by', 'name', 'active', 'id', 'division_id']
2037+
all_params = ['page_size', 'page_number', 'sort_by', 'name', 'id', 'division_id']
20392038
all_params.append('callback')
20402039

20412040
params = locals()
@@ -2062,8 +2061,6 @@ def get_routing_queues(self, **kwargs):
20622061
query_params['sortBy'] = params['sort_by']
20632062
if 'name' in params:
20642063
query_params['name'] = params['name']
2065-
if 'active' in params:
2066-
query_params['active'] = params['active']
20672064
if 'id' in params:
20682065
query_params['id'] = params['id']
20692066
if 'division_id' in params:

0 commit comments

Comments
 (0)