Skip to content

Commit 8d3d53a

Browse files
author
InIn Devops
committed
3.0.0
1 parent 713bf5e commit 8d3d53a

324 files changed

Lines changed: 8517 additions & 4718 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@
474474
from .models.interaction_stats_alert_container import InteractionStatsAlertContainer
475475
from .models.interaction_stats_rule import InteractionStatsRule
476476
from .models.interaction_stats_rule_container import InteractionStatsRuleContainer
477+
from .models.intraday_data_group import IntradayDataGroup
477478
from .models.intraday_data_update_notification import IntradayDataUpdateNotification
478479
from .models.intraday_data_update_notification_forecast_data_per_interval import IntradayDataUpdateNotificationForecastDataPerInterval
479480
from .models.intraday_data_update_notification_historical_agent_data_per_interval import IntradayDataUpdateNotificationHistoricalAgentDataPerInterval
@@ -491,6 +492,16 @@
491492
from .models.intraday_data_update_notification_performance_prediction_agent_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionAgentDataPerInterval
492493
from .models.intraday_data_update_notification_performance_prediction_queue_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionQueueDataPerInterval
493494
from .models.intraday_data_update_notification_schedule_data_per_interval import IntradayDataUpdateNotificationScheduleDataPerInterval
495+
from .models.intraday_forecast_data import IntradayForecastData
496+
from .models.intraday_historical_agent_data import IntradayHistoricalAgentData
497+
from .models.intraday_historical_queue_data import IntradayHistoricalQueueData
498+
from .models.intraday_metric import IntradayMetric
499+
from .models.intraday_performance_prediction_agent_data import IntradayPerformancePredictionAgentData
500+
from .models.intraday_performance_prediction_queue_data import IntradayPerformancePredictionQueueData
501+
from .models.intraday_query_data_command import IntradayQueryDataCommand
502+
from .models.intraday_queue import IntradayQueue
503+
from .models.intraday_response import IntradayResponse
504+
from .models.intraday_schedule_data import IntradayScheduleData
494505
from .models.json_node import JsonNode
495506
from .models.json_node_search_response import JsonNodeSearchResponse
496507
from .models.json_schema_document import JsonSchemaDocument
@@ -535,6 +546,7 @@
535546
from .models.media_setting import MediaSetting
536547
from .models.media_summary import MediaSummary
537548
from .models.media_summary_detail import MediaSummaryDetail
549+
from .models.media_transcription import MediaTranscription
538550
from .models.member_entity import MemberEntity
539551
from .models.meta_data import MetaData
540552
from .models.metabase import Metabase
@@ -859,6 +871,7 @@
859871
from .models.voicemail_search_request import VoicemailSearchRequest
860872
from .models.voicemail_user_policy import VoicemailUserPolicy
861873
from .models.voicemails_search_response import VoicemailsSearchResponse
874+
from .models.wfm_intraday_queue_listing import WfmIntradayQueueListing
862875
from .models.wfm_user_entity_listing import WfmUserEntityListing
863876
from .models.workspace import Workspace
864877
from .models.workspace_create import WorkspaceCreate

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 520 additions & 520 deletions
Large diffs are not rendered by default.

build/PureCloudPlatformClientV2/apis/telephony_providers_edge_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5188,6 +5188,84 @@ def get_telephony_providers_edges_phones_template(self, phone_base_settings_id,
51885188
callback=params.get('callback'))
51895189
return response
51905190

5191+
def get_telephony_providers_edges_physicalinterfaces(self, edge_ids, **kwargs):
5192+
"""
5193+
Get physical interfaces for edges.
5194+
Retrieves a list of all configured physical interfaces for a list of edges. Only 100 edges can be requested at a time.
5195+
5196+
This method makes a synchronous HTTP request by default. To make an
5197+
asynchronous HTTP request, please define a `callback` function
5198+
to be invoked when receiving the response.
5199+
>>> def callback_function(response):
5200+
>>> pprint(response)
5201+
>>>
5202+
>>> thread = api.get_telephony_providers_edges_physicalinterfaces(edge_ids, callback=callback_function)
5203+
5204+
:param callback function: The callback function
5205+
for asynchronous request. (optional)
5206+
:param str edge_ids: Comma separated list of Edge Id's (required)
5207+
:return: list[DomainPhysicalInterface]
5208+
If the method is called asynchronously,
5209+
returns the request thread.
5210+
"""
5211+
5212+
all_params = ['edge_ids']
5213+
all_params.append('callback')
5214+
5215+
params = locals()
5216+
for key, val in iteritems(params['kwargs']):
5217+
if key not in all_params:
5218+
raise TypeError(
5219+
"Got an unexpected keyword argument '%s'"
5220+
" to method get_telephony_providers_edges_physicalinterfaces" % key
5221+
)
5222+
params[key] = val
5223+
del params['kwargs']
5224+
5225+
# verify the required parameter 'edge_ids' is set
5226+
if ('edge_ids' not in params) or (params['edge_ids'] is None):
5227+
raise ValueError("Missing the required parameter `edge_ids` when calling `get_telephony_providers_edges_physicalinterfaces`")
5228+
5229+
5230+
resource_path = '/api/v2/telephony/providers/edges/physicalinterfaces'.replace('{format}', 'json')
5231+
path_params = {}
5232+
5233+
query_params = {}
5234+
if 'edge_ids' in params:
5235+
query_params['edgeIds'] = params['edge_ids']
5236+
5237+
header_params = {}
5238+
5239+
form_params = []
5240+
local_var_files = {}
5241+
5242+
body_params = None
5243+
5244+
# HTTP header `Accept`
5245+
header_params['Accept'] = self.api_client.\
5246+
select_header_accept(['application/json'])
5247+
if not header_params['Accept']:
5248+
del header_params['Accept']
5249+
5250+
# HTTP header `Content-Type`
5251+
header_params['Content-Type'] = self.api_client.\
5252+
select_header_content_type(['application/json'])
5253+
5254+
# Authentication setting
5255+
auth_settings = ['PureCloud Auth']
5256+
5257+
response = self.api_client.call_api(resource_path, 'GET',
5258+
path_params,
5259+
query_params,
5260+
header_params,
5261+
body=body_params,
5262+
post_params=form_params,
5263+
files=local_var_files,
5264+
response_type='list[DomainPhysicalInterface]',
5265+
auth_settings=auth_settings,
5266+
callback=params.get('callback'))
5267+
return response
5268+
51915269
def get_telephony_providers_edges_site(self, site_id, **kwargs):
51925270
"""
51935271
Get a Site by ID.

build/PureCloudPlatformClientV2/apis/workforce_management_api.py

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,90 @@ def get_workforcemanagement_managementunit_activitycodes(self, mu_id, **kwargs):
202202
callback=params.get('callback'))
203203
return response
204204

205+
def get_workforcemanagement_managementunit_intraday_queues(self, mu_id, date, **kwargs):
206+
"""
207+
Get intraday queues for the given date
208+
209+
210+
This method makes a synchronous HTTP request by default. To make an
211+
asynchronous HTTP request, please define a `callback` function
212+
to be invoked when receiving the response.
213+
>>> def callback_function(response):
214+
>>> pprint(response)
215+
>>>
216+
>>> thread = api.get_workforcemanagement_managementunit_intraday_queues(mu_id, date, callback=callback_function)
217+
218+
:param callback function: The callback function
219+
for asynchronous request. (optional)
220+
:param str mu_id: The muId of the management unit. (required)
221+
:param str date: ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23 (required)
222+
:return: WfmIntradayQueueListing
223+
If the method is called asynchronously,
224+
returns the request thread.
225+
"""
226+
227+
all_params = ['mu_id', 'date']
228+
all_params.append('callback')
229+
230+
params = locals()
231+
for key, val in iteritems(params['kwargs']):
232+
if key not in all_params:
233+
raise TypeError(
234+
"Got an unexpected keyword argument '%s'"
235+
" to method get_workforcemanagement_managementunit_intraday_queues" % key
236+
)
237+
params[key] = val
238+
del params['kwargs']
239+
240+
# verify the required parameter 'mu_id' is set
241+
if ('mu_id' not in params) or (params['mu_id'] is None):
242+
raise ValueError("Missing the required parameter `mu_id` when calling `get_workforcemanagement_managementunit_intraday_queues`")
243+
# verify the required parameter 'date' is set
244+
if ('date' not in params) or (params['date'] is None):
245+
raise ValueError("Missing the required parameter `date` when calling `get_workforcemanagement_managementunit_intraday_queues`")
246+
247+
248+
resource_path = '/api/v2/workforcemanagement/managementunits/{muId}/intraday/queues'.replace('{format}', 'json')
249+
path_params = {}
250+
if 'mu_id' in params:
251+
path_params['muId'] = params['mu_id']
252+
253+
query_params = {}
254+
if 'date' in params:
255+
query_params['date'] = params['date']
256+
257+
header_params = {}
258+
259+
form_params = []
260+
local_var_files = {}
261+
262+
body_params = None
263+
264+
# HTTP header `Accept`
265+
header_params['Accept'] = self.api_client.\
266+
select_header_accept(['application/json'])
267+
if not header_params['Accept']:
268+
del header_params['Accept']
269+
270+
# HTTP header `Content-Type`
271+
header_params['Content-Type'] = self.api_client.\
272+
select_header_content_type(['application/json'])
273+
274+
# Authentication setting
275+
auth_settings = ['PureCloud Auth']
276+
277+
response = self.api_client.call_api(resource_path, 'GET',
278+
path_params,
279+
query_params,
280+
header_params,
281+
body=body_params,
282+
post_params=form_params,
283+
files=local_var_files,
284+
response_type='WfmIntradayQueueListing',
285+
auth_settings=auth_settings,
286+
callback=params.get('callback'))
287+
return response
288+
205289
def get_workforcemanagement_managementunit_user_timeoffrequest(self, mu_id, user_id, time_off_request_id, **kwargs):
206290
"""
207291
Get a time off request by id
@@ -772,6 +856,87 @@ def patch_workforcemanagement_timeoffrequest(self, time_off_request_id, **kwargs
772856
callback=params.get('callback'))
773857
return response
774858

859+
def post_workforcemanagement_managementunit_intraday(self, mu_id, **kwargs):
860+
"""
861+
Get intraday data for the given date for the requested queueIds
862+
863+
864+
This method makes a synchronous HTTP request by default. To make an
865+
asynchronous HTTP request, please define a `callback` function
866+
to be invoked when receiving the response.
867+
>>> def callback_function(response):
868+
>>> pprint(response)
869+
>>>
870+
>>> thread = api.post_workforcemanagement_managementunit_intraday(mu_id, callback=callback_function)
871+
872+
:param callback function: The callback function
873+
for asynchronous request. (optional)
874+
:param str mu_id: The muId of the management unit. (required)
875+
:param IntradayQueryDataCommand body: body
876+
:return: IntradayResponse
877+
If the method is called asynchronously,
878+
returns the request thread.
879+
"""
880+
881+
all_params = ['mu_id', 'body']
882+
all_params.append('callback')
883+
884+
params = locals()
885+
for key, val in iteritems(params['kwargs']):
886+
if key not in all_params:
887+
raise TypeError(
888+
"Got an unexpected keyword argument '%s'"
889+
" to method post_workforcemanagement_managementunit_intraday" % key
890+
)
891+
params[key] = val
892+
del params['kwargs']
893+
894+
# verify the required parameter 'mu_id' is set
895+
if ('mu_id' not in params) or (params['mu_id'] is None):
896+
raise ValueError("Missing the required parameter `mu_id` when calling `post_workforcemanagement_managementunit_intraday`")
897+
898+
899+
resource_path = '/api/v2/workforcemanagement/managementunits/{muId}/intraday'.replace('{format}', 'json')
900+
path_params = {}
901+
if 'mu_id' in params:
902+
path_params['muId'] = params['mu_id']
903+
904+
query_params = {}
905+
906+
header_params = {}
907+
908+
form_params = []
909+
local_var_files = {}
910+
911+
body_params = None
912+
if 'body' in params:
913+
body_params = params['body']
914+
915+
# HTTP header `Accept`
916+
header_params['Accept'] = self.api_client.\
917+
select_header_accept(['application/json'])
918+
if not header_params['Accept']:
919+
del header_params['Accept']
920+
921+
# HTTP header `Content-Type`
922+
header_params['Content-Type'] = self.api_client.\
923+
select_header_content_type(['application/json'])
924+
925+
# Authentication setting
926+
auth_settings = ['PureCloud Auth']
927+
928+
response = self.api_client.call_api(resource_path, 'POST',
929+
path_params,
930+
query_params,
931+
header_params,
932+
body=body_params,
933+
post_params=form_params,
934+
files=local_var_files,
935+
response_type='IntradayResponse',
936+
auth_settings=auth_settings,
937+
callback=params.get('callback'))
938+
return response
939+
775940
def post_workforcemanagement_managementunit_schedules_search(self, mu_id, **kwargs):
776941
"""
777942
Get user schedules within the given time range

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,5 @@ def to_debug_report(self):
238238
"OS: {env}\n"\
239239
"Python Version: {pyversion}\n"\
240240
"Version of the API: v2\n"\
241-
"SDK Package Version: 2.0.2".\
241+
"SDK Package Version: 3.0.0".\
242242
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@
474474
from .interaction_stats_alert_container import InteractionStatsAlertContainer
475475
from .interaction_stats_rule import InteractionStatsRule
476476
from .interaction_stats_rule_container import InteractionStatsRuleContainer
477+
from .intraday_data_group import IntradayDataGroup
477478
from .intraday_data_update_notification import IntradayDataUpdateNotification
478479
from .intraday_data_update_notification_forecast_data_per_interval import IntradayDataUpdateNotificationForecastDataPerInterval
479480
from .intraday_data_update_notification_historical_agent_data_per_interval import IntradayDataUpdateNotificationHistoricalAgentDataPerInterval
@@ -491,6 +492,16 @@
491492
from .intraday_data_update_notification_performance_prediction_agent_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionAgentDataPerInterval
492493
from .intraday_data_update_notification_performance_prediction_queue_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionQueueDataPerInterval
493494
from .intraday_data_update_notification_schedule_data_per_interval import IntradayDataUpdateNotificationScheduleDataPerInterval
495+
from .intraday_forecast_data import IntradayForecastData
496+
from .intraday_historical_agent_data import IntradayHistoricalAgentData
497+
from .intraday_historical_queue_data import IntradayHistoricalQueueData
498+
from .intraday_metric import IntradayMetric
499+
from .intraday_performance_prediction_agent_data import IntradayPerformancePredictionAgentData
500+
from .intraday_performance_prediction_queue_data import IntradayPerformancePredictionQueueData
501+
from .intraday_query_data_command import IntradayQueryDataCommand
502+
from .intraday_queue import IntradayQueue
503+
from .intraday_response import IntradayResponse
504+
from .intraday_schedule_data import IntradayScheduleData
494505
from .json_node import JsonNode
495506
from .json_node_search_response import JsonNodeSearchResponse
496507
from .json_schema_document import JsonSchemaDocument
@@ -535,6 +546,7 @@
535546
from .media_setting import MediaSetting
536547
from .media_summary import MediaSummary
537548
from .media_summary_detail import MediaSummaryDetail
549+
from .media_transcription import MediaTranscription
538550
from .member_entity import MemberEntity
539551
from .meta_data import MetaData
540552
from .metabase import Metabase
@@ -859,6 +871,7 @@
859871
from .voicemail_search_request import VoicemailSearchRequest
860872
from .voicemail_user_policy import VoicemailUserPolicy
861873
from .voicemails_search_response import VoicemailsSearchResponse
874+
from .wfm_intraday_queue_listing import WfmIntradayQueueListing
862875
from .wfm_user_entity_listing import WfmUserEntityListing
863876
from .workspace import Workspace
864877
from .workspace_create import WorkspaceCreate

0 commit comments

Comments
 (0)