Skip to content

Commit d651fc7

Browse files
author
PureCloud Jenkins
committed
213.0.0
1 parent e0deab1 commit d651fc7

File tree

4,974 files changed

+22721
-5612
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,974 files changed

+22721
-5612
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

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

8-
Documentation version PureCloudPlatformClientV2 212.0.0
8+
Documentation version PureCloudPlatformClientV2 213.0.0
99

1010
## Preview APIs
1111

build/.openapi-generator/FILES

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

build/APIData.json

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

build/PureCloudPlatformClientV2/__init__.py

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

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'] = '212.0.0'
360+
header_params['purecloud-sdk'] = '213.0.0'
361361

362362
# path parameters
363363
if path_params:

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10768,7 +10768,6 @@ def patch_conversations_email_participant_parkingstate(self, conversation_id: st
1076810768
"""
1076910769
Update conversation by setting its parking state
1077010770

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

1077310772
This method makes a synchronous HTTP request by default. To make an
1077410773
asynchronous HTTP request, please define a `callback` function
@@ -16902,12 +16901,13 @@ def post_conversations_message_inbound_open_message(self, integration_id: str, b
1690216901
for asynchronous request. (optional)
1690316902
:param str integration_id: integrationId (required)
1690416903
:param OpenInboundNormalizedMessage body: NormalizedMessage (required)
16904+
:param bool prefetch_conversation_id: Indicates whether or not to prefetch conversationId
1690516905
:return: OpenMessageNormalizedMessage
1690616906
If the method is called asynchronously,
1690716907
returns the request thread.
1690816908
"""
1690916909

16910-
all_params = ['integration_id', 'body']
16910+
all_params = ['integration_id', 'body', 'prefetch_conversation_id']
1691116911
all_params.append('callback')
1691216912

1691316913
params = locals()
@@ -16934,6 +16934,8 @@ def post_conversations_message_inbound_open_message(self, integration_id: str, b
1693416934
path_params['integrationId'] = params['integration_id']
1693516935

1693616936
query_params = {}
16937+
if 'prefetch_conversation_id' in params:
16938+
query_params['prefetchConversationId'] = params['prefetch_conversation_id']
1693716939

1693816940
header_params = {}
1693916941

build/PureCloudPlatformClientV2/apis/journey_api.py

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

build/PureCloudPlatformClientV2/apis/task_management_api.py

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

build/PureCloudPlatformClientV2/apis/web_deployments_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def get_webdeployments_configurations(self, **kwargs) -> 'WebDeploymentConfigura
639639
640640
:param callback function: The callback function
641641
for asynchronous request. (optional)
642-
:param bool show_only_published: Get only configuration drafts with published versions
642+
:param bool show_only_published: Filter by published status.
643643
:return: WebDeploymentConfigurationVersionEntityListing
644644
If the method is called asynchronously,
645645
returns the request thread.

build/PureCloudPlatformClientV2/apis/workforce_management_api.py

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
from ..models import AgentWorkPlanListResponse
6969
from ..models import AgentsBidAssignedWorkPlanOverrideRequest
7070
from ..models import AgentsIntegrationsListing
71+
from ..models import AgentsWorkPlansResponse
7172
from ..models import AlternativeShiftAsyncResponse
7273
from ..models import AlternativeShiftBuSettingsResponse
7374
from ..models import AlternativeShiftJobResponse
@@ -148,6 +149,7 @@
148149
from ..models import EstimateAvailableTimeOffResponse
149150
from ..models import ForecastPlanningGroupsResponse
150151
from ..models import GenerateBuForecastRequest
152+
from ..models import GetAgentsWorkPlansRequest
151153
from ..models import HistoricalImportDeleteJobResponse
152154
from ..models import HistoricalImportStatusListing
153155
from ..models import HrisTimeOffTypesJobResponse
@@ -216,6 +218,8 @@
216218
from ..models import UpdateAlternativeShiftBuSettingsRequest
217219
from ..models import UpdateBusinessUnitRequest
218220
from ..models import UpdateManagementUnitRequest
221+
from ..models import UpdateMuAgentWorkPlansBatchRequest
222+
from ..models import UpdateMuAgentWorkPlansBatchResponse
219223
from ..models import UpdateMuAgentsRequest
220224
from ..models import UpdateNotificationsRequest
221225
from ..models import UpdateNotificationsResponse
@@ -11735,6 +11739,87 @@ def patch_workforcemanagement_managementunit_agents(self, management_unit_id: st
1173511739
callback=params.get('callback'))
1173611740
return response
1173711741

11742+
def patch_workforcemanagement_managementunit_agents_workplans_bulk(self, management_unit_id: str, **kwargs) -> 'UpdateMuAgentWorkPlansBatchResponse':
11743+
"""
11744+
Updates agent work plan configuration
11745+
11746+
11747+
This method makes a synchronous HTTP request by default. To make an
11748+
asynchronous HTTP request, please define a `callback` function
11749+
to be invoked when receiving the response.
11750+
>>> def callback_function(response):
11751+
>>> pprint(response)
11752+
>>>
11753+
>>> thread = api.patch_workforcemanagement_managementunit_agents_workplans_bulk(management_unit_id, callback=callback_function)
11754+
11755+
:param callback function: The callback function
11756+
for asynchronous request. (optional)
11757+
:param str management_unit_id: The ID of the management unit, or 'mine' for the management unit of the logged-in user. (required)
11758+
:param UpdateMuAgentWorkPlansBatchRequest body: body
11759+
:return: UpdateMuAgentWorkPlansBatchResponse
11760+
If the method is called asynchronously,
11761+
returns the request thread.
11762+
"""
11763+
11764+
all_params = ['management_unit_id', 'body']
11765+
all_params.append('callback')
11766+
11767+
params = locals()
11768+
for key, val in iteritems(params['kwargs']):
11769+
if key not in all_params:
11770+
raise TypeError(
11771+
"Got an unexpected keyword argument '%s'"
11772+
" to method patch_workforcemanagement_managementunit_agents_workplans_bulk" % key
11773+
)
11774+
params[key] = val
11775+
del params['kwargs']
11776+
11777+
# verify the required parameter 'management_unit_id' is set
11778+
if ('management_unit_id' not in params) or (params['management_unit_id'] is None):
11779+
raise ValueError("Missing the required parameter `management_unit_id` when calling `patch_workforcemanagement_managementunit_agents_workplans_bulk`")
11780+
11781+
11782+
resource_path = '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/bulk'.replace('{format}', 'json')
11783+
path_params = {}
11784+
if 'management_unit_id' in params:
11785+
path_params['managementUnitId'] = params['management_unit_id']
11786+
11787+
query_params = {}
11788+
11789+
header_params = {}
11790+
11791+
form_params = []
11792+
local_var_files = {}
11793+
11794+
body_params = None
11795+
if 'body' in params:
11796+
body_params = params['body']
11797+
11798+
# HTTP header `Accept`
11799+
header_params['Accept'] = self.api_client.\
11800+
select_header_accept(['application/json'])
11801+
if not header_params['Accept']:
11802+
del header_params['Accept']
11803+
11804+
# HTTP header `Content-Type`
11805+
header_params['Content-Type'] = self.api_client.\
11806+
select_header_content_type(['application/json'])
11807+
11808+
# Authentication setting
11809+
auth_settings = ['PureCloud OAuth']
11810+
11811+
response = self.api_client.call_api(resource_path, 'PATCH',
11812+
path_params,
11813+
query_params,
11814+
header_params,
11815+
body=body_params,
11816+
post_params=form_params,
11817+
files=local_var_files,
11818+
response_type='UpdateMuAgentWorkPlansBatchResponse',
11819+
auth_settings=auth_settings,
11820+
callback=params.get('callback'))
11821+
return response
11822+
1173811823
def patch_workforcemanagement_managementunit_timeofflimit(self, management_unit_id: str, time_off_limit_id: str, **kwargs) -> 'TimeOffLimit':
1173911824
"""
1174011825
Updates a time off limit object.
@@ -16911,6 +16996,90 @@ def post_workforcemanagement_integrations_hri_timeofftypes_jobs(self, hris_integ
1691116996
callback=params.get('callback'))
1691216997
return response
1691316998

16999+
def post_workforcemanagement_managementunit_agents_workplans_query(self, management_unit_id: str, **kwargs) -> 'AgentsWorkPlansResponse':
17000+
"""
17001+
Get agents work plans configuration
17002+
17003+
17004+
This method makes a synchronous HTTP request by default. To make an
17005+
asynchronous HTTP request, please define a `callback` function
17006+
to be invoked when receiving the response.
17007+
>>> def callback_function(response):
17008+
>>> pprint(response)
17009+
>>>
17010+
>>> thread = api.post_workforcemanagement_managementunit_agents_workplans_query(management_unit_id, callback=callback_function)
17011+
17012+
:param callback function: The callback function
17013+
for asynchronous request. (optional)
17014+
:param str management_unit_id: The ID of the management unit, or 'mine' for the management unit of the logged-in user. (required)
17015+
:param bool force_download_service: Force the result of this operation to be sent via download service. For testing/app development purposes
17016+
:param GetAgentsWorkPlansRequest body: body
17017+
:return: AgentsWorkPlansResponse
17018+
If the method is called asynchronously,
17019+
returns the request thread.
17020+
"""
17021+
17022+
all_params = ['management_unit_id', 'force_download_service', 'body']
17023+
all_params.append('callback')
17024+
17025+
params = locals()
17026+
for key, val in iteritems(params['kwargs']):
17027+
if key not in all_params:
17028+
raise TypeError(
17029+
"Got an unexpected keyword argument '%s'"
17030+
" to method post_workforcemanagement_managementunit_agents_workplans_query" % key
17031+
)
17032+
params[key] = val
17033+
del params['kwargs']
17034+
17035+
# verify the required parameter 'management_unit_id' is set
17036+
if ('management_unit_id' not in params) or (params['management_unit_id'] is None):
17037+
raise ValueError("Missing the required parameter `management_unit_id` when calling `post_workforcemanagement_managementunit_agents_workplans_query`")
17038+
17039+
17040+
resource_path = '/api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/workplans/query'.replace('{format}', 'json')
17041+
path_params = {}
17042+
if 'management_unit_id' in params:
17043+
path_params['managementUnitId'] = params['management_unit_id']
17044+
17045+
query_params = {}
17046+
if 'force_download_service' in params:
17047+
query_params['forceDownloadService'] = params['force_download_service']
17048+
17049+
header_params = {}
17050+
17051+
form_params = []
17052+
local_var_files = {}
17053+
17054+
body_params = None
17055+
if 'body' in params:
17056+
body_params = params['body']
17057+
17058+
# HTTP header `Accept`
17059+
header_params['Accept'] = self.api_client.\
17060+
select_header_accept(['application/json'])
17061+
if not header_params['Accept']:
17062+
del header_params['Accept']
17063+
17064+
# HTTP header `Content-Type`
17065+
header_params['Content-Type'] = self.api_client.\
17066+
select_header_content_type(['application/json'])
17067+
17068+
# Authentication setting
17069+
auth_settings = ['PureCloud OAuth']
17070+
17071+
response = self.api_client.call_api(resource_path, 'POST',
17072+
path_params,
17073+
query_params,
17074+
header_params,
17075+
body=body_params,
17076+
post_params=form_params,
17077+
files=local_var_files,
17078+
response_type='AgentsWorkPlansResponse',
17079+
auth_settings=auth_settings,
17080+
callback=params.get('callback'))
17081+
return response
17082+
1691417083
def post_workforcemanagement_managementunit_agentschedules_search(self, management_unit_id: str, **kwargs) -> 'BuAsyncAgentSchedulesSearchResponse':
1691517084
"""
1691617085
Query published schedules for given given time range for set of users

0 commit comments

Comments
 (0)