Skip to content

Commit e444687

Browse files
author
PureCloud Jenkins
committed
95.0.0
1 parent a3e40af commit e444687

142 files changed

Lines changed: 6260 additions & 420 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: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
from .models.analytics_participant import AnalyticsParticipant
5858
from .models.analytics_participant_without_attributes import AnalyticsParticipantWithoutAttributes
5959
from .models.analytics_property import AnalyticsProperty
60+
from .models.analytics_proposed_agent import AnalyticsProposedAgent
6061
from .models.analytics_query_aggregation import AnalyticsQueryAggregation
6162
from .models.analytics_routing_status_record import AnalyticsRoutingStatusRecord
6263
from .models.analytics_scored_agent import AnalyticsScoredAgent
@@ -306,6 +307,8 @@
306307
from .models.coaching_annotation import CoachingAnnotation
307308
from .models.coaching_annotation_create_request import CoachingAnnotationCreateRequest
308309
from .models.coaching_annotation_list import CoachingAnnotationList
310+
from .models.coaching_appointment_aggregate_request import CoachingAppointmentAggregateRequest
311+
from .models.coaching_appointment_aggregate_response import CoachingAppointmentAggregateResponse
309312
from .models.coaching_appointment_reference import CoachingAppointmentReference
310313
from .models.coaching_appointment_response import CoachingAppointmentResponse
311314
from .models.coaching_appointment_response_list import CoachingAppointmentResponseList
@@ -507,6 +510,7 @@
507510
from .models.conversation_message_event_topic_scored_agent import ConversationMessageEventTopicScoredAgent
508511
from .models.conversation_message_event_topic_uri_reference import ConversationMessageEventTopicUriReference
509512
from .models.conversation_message_event_topic_wrapup import ConversationMessageEventTopicWrapup
513+
from .models.conversation_metrics import ConversationMetrics
510514
from .models.conversation_properties import ConversationProperties
511515
from .models.conversation_query import ConversationQuery
512516
from .models.conversation_reference import ConversationReference
@@ -1290,6 +1294,13 @@
12901294
from .models.query_division import QueryDivision
12911295
from .models.query_facet_info import QueryFacetInfo
12921296
from .models.query_request import QueryRequest
1297+
from .models.query_request_clause import QueryRequestClause
1298+
from .models.query_request_filter import QueryRequestFilter
1299+
from .models.query_request_predicate import QueryRequestPredicate
1300+
from .models.query_response_data import QueryResponseData
1301+
from .models.query_response_grouped_data import QueryResponseGroupedData
1302+
from .models.query_response_metric import QueryResponseMetric
1303+
from .models.query_response_stats import QueryResponseStats
12931304
from .models.query_result import QueryResult
12941305
from .models.query_results import QueryResults
12951306
from .models.queue import Queue
@@ -1707,12 +1718,21 @@
17071718
from .models.stat_event_campaign_topic_datum import StatEventCampaignTopicDatum
17081719
from .models.stat_event_campaign_topic_metric import StatEventCampaignTopicMetric
17091720
from .models.stat_event_campaign_topic_stats_notification import StatEventCampaignTopicStatsNotification
1721+
from .models.stat_event_flow_outcome_topic_datum import StatEventFlowOutcomeTopicDatum
1722+
from .models.stat_event_flow_outcome_topic_metric import StatEventFlowOutcomeTopicMetric
1723+
from .models.stat_event_flow_outcome_topic_stats_notification import StatEventFlowOutcomeTopicStatsNotification
1724+
from .models.stat_event_flow_topic_datum import StatEventFlowTopicDatum
1725+
from .models.stat_event_flow_topic_metric import StatEventFlowTopicMetric
1726+
from .models.stat_event_flow_topic_stats_notification import StatEventFlowTopicStatsNotification
17101727
from .models.stat_event_queue_topic_datum import StatEventQueueTopicDatum
17111728
from .models.stat_event_queue_topic_metric import StatEventQueueTopicMetric
17121729
from .models.stat_event_queue_topic_stats_notification import StatEventQueueTopicStatsNotification
17131730
from .models.stat_event_user_topic_datum import StatEventUserTopicDatum
17141731
from .models.stat_event_user_topic_metric import StatEventUserTopicMetric
17151732
from .models.stat_event_user_topic_stats_notification import StatEventUserTopicStatsNotification
1733+
from .models.stat_event_wrap_up_code_topic_datum import StatEventWrapUpCodeTopicDatum
1734+
from .models.stat_event_wrap_up_code_topic_metric import StatEventWrapUpCodeTopicMetric
1735+
from .models.stat_event_wrap_up_code_topic_stats_notification import StatEventWrapUpCodeTopicStatsNotification
17161736
from .models.station import Station
17171737
from .models.station_entity_listing import StationEntityListing
17181738
from .models.station_settings import StationSettings
@@ -2063,9 +2083,15 @@
20632083
from .models.wfm_user_notification_topic_user_reference import WfmUserNotificationTopicUserReference
20642084
from .models.wfm_user_notification_topic_wfm_user_notification import WfmUserNotificationTopicWfmUserNotification
20652085
from .models.wfm_user_schedule_adherence_updated_mu_topic_queue_reference import WfmUserScheduleAdherenceUpdatedMuTopicQueueReference
2086+
from .models.wfm_user_schedule_adherence_updated_mu_topic_uri_reference import WfmUserScheduleAdherenceUpdatedMuTopicUriReference
20662087
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_reference import WfmUserScheduleAdherenceUpdatedMuTopicUserReference
20672088
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate
2089+
from .models.wfm_user_schedule_adherence_updated_team_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference
2090+
from .models.wfm_user_schedule_adherence_updated_team_topic_uri_reference import WfmUserScheduleAdherenceUpdatedTeamTopicUriReference
2091+
from .models.wfm_user_schedule_adherence_updated_team_topic_user_reference import WfmUserScheduleAdherenceUpdatedTeamTopicUserReference
2092+
from .models.wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate
20682093
from .models.wfm_user_schedule_adherence_updated_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTopicQueueReference
2094+
from .models.wfm_user_schedule_adherence_updated_topic_uri_reference import WfmUserScheduleAdherenceUpdatedTopicUriReference
20692095
from .models.wfm_user_schedule_adherence_updated_topic_user_reference import WfmUserScheduleAdherenceUpdatedTopicUserReference
20702096
from .models.wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate
20712097
from .models.wfm_versioned_entity_metadata import WfmVersionedEntityMetadata

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/audit_api.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,78 @@ def __init__(self, api_client=None):
4646
config.api_client = ApiClient()
4747
self.api_client = config.api_client
4848

49+
def get_audits_query_realtime_servicemapping(self, **kwargs):
50+
"""
51+
Get service mapping information used in audits.
52+
53+
54+
This method makes a synchronous HTTP request by default. To make an
55+
asynchronous HTTP request, please define a `callback` function
56+
to be invoked when receiving the response.
57+
>>> def callback_function(response):
58+
>>> pprint(response)
59+
>>>
60+
>>> thread = api.get_audits_query_realtime_servicemapping(callback=callback_function)
61+
62+
:param callback function: The callback function
63+
for asynchronous request. (optional)
64+
:return: AuditQueryServiceMapping
65+
If the method is called asynchronously,
66+
returns the request thread.
67+
"""
68+
69+
all_params = []
70+
all_params.append('callback')
71+
72+
params = locals()
73+
for key, val in iteritems(params['kwargs']):
74+
if key not in all_params:
75+
raise TypeError(
76+
"Got an unexpected keyword argument '%s'"
77+
" to method get_audits_query_realtime_servicemapping" % key
78+
)
79+
params[key] = val
80+
del params['kwargs']
81+
82+
83+
84+
resource_path = '/api/v2/audits/query/realtime/servicemapping'.replace('{format}', 'json')
85+
path_params = {}
86+
87+
query_params = {}
88+
89+
header_params = {}
90+
91+
form_params = []
92+
local_var_files = {}
93+
94+
body_params = None
95+
96+
# HTTP header `Accept`
97+
header_params['Accept'] = self.api_client.\
98+
select_header_accept(['application/json'])
99+
if not header_params['Accept']:
100+
del header_params['Accept']
101+
102+
# HTTP header `Content-Type`
103+
header_params['Content-Type'] = self.api_client.\
104+
select_header_content_type(['application/json'])
105+
106+
# Authentication setting
107+
auth_settings = ['PureCloud OAuth']
108+
109+
response = self.api_client.call_api(resource_path, 'GET',
110+
path_params,
111+
query_params,
112+
header_params,
113+
body=body_params,
114+
post_params=form_params,
115+
files=local_var_files,
116+
response_type='AuditQueryServiceMapping',
117+
auth_settings=auth_settings,
118+
callback=params.get('callback'))
119+
return response
120+
49121
def get_audits_query_servicemapping(self, **kwargs):
50122
"""
51123
Get service mapping information used in audits.

build/PureCloudPlatformClientV2/apis/coaching_api.py

Lines changed: 98 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,12 +560,15 @@ def get_coaching_appointments(self, user_ids, **kwargs):
560560
:param list[str] statuses: Appointment Statuses to filter by
561561
:param list[str] facilitator_ids: The facilitator IDs for which to retrieve appointments
562562
:param str sort_order: Sort (by due date) either Asc or Desc
563+
:param list[str] relationships: Relationships to filter by
564+
:param str completion_interval: Appointment completion start and end to filter by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
565+
:param str overdue: Overdue status to filter by
563566
:return: CoachingAppointmentResponseList
564567
If the method is called asynchronously,
565568
returns the request thread.
566569
"""
567570

568-
all_params = ['user_ids', 'interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order']
571+
all_params = ['user_ids', 'interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue']
569572
all_params.append('callback')
570573

571574
params = locals()
@@ -601,6 +604,12 @@ def get_coaching_appointments(self, user_ids, **kwargs):
601604
query_params['facilitatorIds'] = params['facilitator_ids']
602605
if 'sort_order' in params:
603606
query_params['sortOrder'] = params['sort_order']
607+
if 'relationships' in params:
608+
query_params['relationships'] = params['relationships']
609+
if 'completion_interval' in params:
610+
query_params['completionInterval'] = params['completion_interval']
611+
if 'overdue' in params:
612+
query_params['overdue'] = params['overdue']
604613

605614
header_params = {}
606615

@@ -655,12 +664,15 @@ def get_coaching_appointments_me(self, **kwargs):
655664
:param list[str] statuses: Appointment Statuses to filter by
656665
:param list[str] facilitator_ids: The facilitator IDs for which to retrieve appointments
657666
:param str sort_order: Sort (by due date) either Asc or Desc
667+
:param list[str] relationships: Relationships to filter by
668+
:param str completion_interval: Appointment completion start and end to filter by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
669+
:param str overdue: Overdue status to filter by
658670
:return: CoachingAppointmentResponseList
659671
If the method is called asynchronously,
660672
returns the request thread.
661673
"""
662674

663-
all_params = ['interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order']
675+
all_params = ['interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue']
664676
all_params.append('callback')
665677

666678
params = locals()
@@ -691,6 +703,12 @@ def get_coaching_appointments_me(self, **kwargs):
691703
query_params['facilitatorIds'] = params['facilitator_ids']
692704
if 'sort_order' in params:
693705
query_params['sortOrder'] = params['sort_order']
706+
if 'relationships' in params:
707+
query_params['relationships'] = params['relationships']
708+
if 'completion_interval' in params:
709+
query_params['completionInterval'] = params['completion_interval']
710+
if 'overdue' in params:
711+
query_params['overdue'] = params['overdue']
694712

695713
header_params = {}
696714

@@ -1389,3 +1407,81 @@ def post_coaching_appointments(self, body, **kwargs):
13891407
auth_settings=auth_settings,
13901408
callback=params.get('callback'))
13911409
return response
1410+
1411+
def post_coaching_appointments_aggregates_query(self, body, **kwargs):
1412+
"""
1413+
Retrieve aggregated appointment data
1414+
1415+
1416+
This method makes a synchronous HTTP request by default. To make an
1417+
asynchronous HTTP request, please define a `callback` function
1418+
to be invoked when receiving the response.
1419+
>>> def callback_function(response):
1420+
>>> pprint(response)
1421+
>>>
1422+
>>> thread = api.post_coaching_appointments_aggregates_query(body, callback=callback_function)
1423+
1424+
:param callback function: The callback function
1425+
for asynchronous request. (optional)
1426+
:param CoachingAppointmentAggregateRequest body: Aggregate Request (required)
1427+
:return: CoachingAppointmentAggregateResponse
1428+
If the method is called asynchronously,
1429+
returns the request thread.
1430+
"""
1431+
1432+
all_params = ['body']
1433+
all_params.append('callback')
1434+
1435+
params = locals()
1436+
for key, val in iteritems(params['kwargs']):
1437+
if key not in all_params:
1438+
raise TypeError(
1439+
"Got an unexpected keyword argument '%s'"
1440+
" to method post_coaching_appointments_aggregates_query" % key
1441+
)
1442+
params[key] = val
1443+
del params['kwargs']
1444+
1445+
# verify the required parameter 'body' is set
1446+
if ('body' not in params) or (params['body'] is None):
1447+
raise ValueError("Missing the required parameter `body` when calling `post_coaching_appointments_aggregates_query`")
1448+
1449+
1450+
resource_path = '/api/v2/coaching/appointments/aggregates/query'.replace('{format}', 'json')
1451+
path_params = {}
1452+
1453+
query_params = {}
1454+
1455+
header_params = {}
1456+
1457+
form_params = []
1458+
local_var_files = {}
1459+
1460+
body_params = None
1461+
if 'body' in params:
1462+
body_params = params['body']
1463+
1464+
# HTTP header `Accept`
1465+
header_params['Accept'] = self.api_client.\
1466+
select_header_accept(['application/json'])
1467+
if not header_params['Accept']:
1468+
del header_params['Accept']
1469+
1470+
# HTTP header `Content-Type`
1471+
header_params['Content-Type'] = self.api_client.\
1472+
select_header_content_type(['application/json'])
1473+
1474+
# Authentication setting
1475+
auth_settings = ['PureCloud OAuth']
1476+
1477+
response = self.api_client.call_api(resource_path, 'POST',
1478+
path_params,
1479+
query_params,
1480+
header_params,
1481+
body=body_params,
1482+
post_params=form_params,
1483+
files=local_var_files,
1484+
response_type='CoachingAppointmentAggregateResponse',
1485+
auth_settings=auth_settings,
1486+
callback=params.get('callback'))
1487+
return response

build/PureCloudPlatformClientV2/apis/speech_text_analytics_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,84 @@ def __init__(self, api_client=None):
4646
config.api_client = ApiClient()
4747
self.api_client = config.api_client
4848

49+
def get_speechandtextanalytics_conversation(self, conversation_id, **kwargs):
50+
"""
51+
Get Speech and Text Analytics for a specific conversation
52+
53+
54+
This method makes a synchronous HTTP request by default. To make an
55+
asynchronous HTTP request, please define a `callback` function
56+
to be invoked when receiving the response.
57+
>>> def callback_function(response):
58+
>>> pprint(response)
59+
>>>
60+
>>> thread = api.get_speechandtextanalytics_conversation(conversation_id, callback=callback_function)
61+
62+
:param callback function: The callback function
63+
for asynchronous request. (optional)
64+
:param str conversation_id: Conversation Id (required)
65+
:return: ConversationMetrics
66+
If the method is called asynchronously,
67+
returns the request thread.
68+
"""
69+
70+
all_params = ['conversation_id']
71+
all_params.append('callback')
72+
73+
params = locals()
74+
for key, val in iteritems(params['kwargs']):
75+
if key not in all_params:
76+
raise TypeError(
77+
"Got an unexpected keyword argument '%s'"
78+
" to method get_speechandtextanalytics_conversation" % key
79+
)
80+
params[key] = val
81+
del params['kwargs']
82+
83+
# verify the required parameter 'conversation_id' is set
84+
if ('conversation_id' not in params) or (params['conversation_id'] is None):
85+
raise ValueError("Missing the required parameter `conversation_id` when calling `get_speechandtextanalytics_conversation`")
86+
87+
88+
resource_path = '/api/v2/speechandtextanalytics/conversations/{conversationId}'.replace('{format}', 'json')
89+
path_params = {}
90+
if 'conversation_id' in params:
91+
path_params['conversationId'] = params['conversation_id']
92+
93+
query_params = {}
94+
95+
header_params = {}
96+
97+
form_params = []
98+
local_var_files = {}
99+
100+
body_params = None
101+
102+
# HTTP header `Accept`
103+
header_params['Accept'] = self.api_client.\
104+
select_header_accept(['application/json'])
105+
if not header_params['Accept']:
106+
del header_params['Accept']
107+
108+
# HTTP header `Content-Type`
109+
header_params['Content-Type'] = self.api_client.\
110+
select_header_content_type(['application/json'])
111+
112+
# Authentication setting
113+
auth_settings = ['PureCloud OAuth']
114+
115+
response = self.api_client.call_api(resource_path, 'GET',
116+
path_params,
117+
query_params,
118+
header_params,
119+
body=body_params,
120+
post_params=form_params,
121+
files=local_var_files,
122+
response_type='ConversationMetrics',
123+
auth_settings=auth_settings,
124+
callback=params.get('callback'))
125+
return response
126+
49127
def get_speechandtextanalytics_conversation_communication_transcripturl(self, conversation_id, communication_id, **kwargs):
50128
"""
51129
Get the pre-signed S3 URL for the transcript of a specific communication of a conversation

0 commit comments

Comments
 (0)