Skip to content

Commit 22496b7

Browse files
author
InIn Devops
committed
28.0.0
1 parent 652408b commit 22496b7

File tree

318 files changed

+6844
-3049
lines changed

Some content is hidden

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

318 files changed

+6844
-3049
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
from .models.audit_query_response import AuditQueryResponse
7979
from .models.audit_search_result import AuditSearchResult
8080
from .models.audit_user import AuditUser
81+
from .models.authz_typed_object import AuthzTypedObject
8182
from .models.available_language_list import AvailableLanguageList
8283
from .models.available_topic import AvailableTopic
8384
from .models.available_topic_entity_listing import AvailableTopicEntityListing
@@ -342,6 +343,7 @@
342343
from .models.did_entity_listing import DIDEntityListing
343344
from .models.did_pool import DIDPool
344345
from .models.did_pool_entity_listing import DIDPoolEntityListing
346+
from .models.data_column import DataColumn
345347
from .models.data_table import DataTable
346348
from .models.data_table_row_entity_listing import DataTableRowEntityListing
347349
from .models.data_tables_domain_entity_listing import DataTablesDomainEntityListing
@@ -536,6 +538,7 @@
536538
from .models.flow_notification_notification_user import FlowNotificationNotificationUser
537539
from .models.flow_version import FlowVersion
538540
from .models.flow_version_entity_listing import FlowVersionEntityListing
541+
from .models.free_seating_configuration import FreeSeatingConfiguration
539542
from .models.g_suite import GSuite
540543
from .models.geolocation import Geolocation
541544
from .models.geolocation_notification import GeolocationNotification
@@ -550,6 +553,7 @@
550553
from .models.greeting_owner import GreetingOwner
551554
from .models.group import Group
552555
from .models.group_contact import GroupContact
556+
from .models.group_create import GroupCreate
553557
from .models.group_entity_listing import GroupEntityListing
554558
from .models.group_members_update import GroupMembersUpdate
555559
from .models.group_profile import GroupProfile
@@ -822,6 +826,9 @@
822826
from .models.report_run_entry_entity_domain_listing import ReportRunEntryEntityDomainListing
823827
from .models.report_schedule import ReportSchedule
824828
from .models.report_schedule_entity_listing import ReportScheduleEntityListing
829+
from .models.reporting_export_job_listing import ReportingExportJobListing
830+
from .models.reporting_export_job_request import ReportingExportJobRequest
831+
from .models.reporting_export_job_response import ReportingExportJobResponse
825832
from .models.request_config import RequestConfig
826833
from .models.resource_condition_node import ResourceConditionNode
827834
from .models.resource_condition_value import ResourceConditionValue
@@ -930,6 +937,7 @@
930937
from .models.sort_item import SortItem
931938
from .models.station import Station
932939
from .models.station_entity_listing import StationEntityListing
940+
from .models.station_settings import StationSettings
933941
from .models.statistical_response import StatisticalResponse
934942
from .models.statistical_summary import StatisticalSummary
935943
from .models.stats_notification_notification import StatsNotificationNotification
@@ -1074,6 +1082,7 @@
10741082
from .models.video_conversation_notification_uri_reference import VideoConversationNotificationUriReference
10751083
from .models.video_conversation_notification_video_media_participant import VideoConversationNotificationVideoMediaParticipant
10761084
from .models.video_conversation_notification_wrapup import VideoConversationNotificationWrapup
1085+
from .models.view_filter import ViewFilter
10771086
from .models.visibility_condition import VisibilityCondition
10781087
from .models.vm_pairing_info import VmPairingInfo
10791088
from .models.voicemail import Voicemail

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __call_api(self, resource_path, method,
112112
header_params['Cookie'] = self.cookie
113113
if header_params:
114114
header_params = self.sanitize_for_serialization(header_params)
115-
header_params['purecloud-sdk'] = '27.0.1'
115+
header_params['purecloud-sdk'] = '28.0.0'
116116

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/analytics_api.py

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

205+
def get_analytics_reporting_exports(self, **kwargs):
206+
"""
207+
Get all view export requests for a user
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_analytics_reporting_exports(callback=callback_function)
217+
218+
:param callback function: The callback function
219+
for asynchronous request. (optional)
220+
:return: ReportingExportJobListing
221+
If the method is called asynchronously,
222+
returns the request thread.
223+
"""
224+
225+
all_params = []
226+
all_params.append('callback')
227+
228+
params = locals()
229+
for key, val in iteritems(params['kwargs']):
230+
if key not in all_params:
231+
raise TypeError(
232+
"Got an unexpected keyword argument '%s'"
233+
" to method get_analytics_reporting_exports" % key
234+
)
235+
params[key] = val
236+
del params['kwargs']
237+
238+
239+
240+
resource_path = '/api/v2/analytics/reporting/exports'.replace('{format}', 'json')
241+
path_params = {}
242+
243+
query_params = {}
244+
245+
header_params = {}
246+
247+
form_params = []
248+
local_var_files = {}
249+
250+
body_params = None
251+
252+
# HTTP header `Accept`
253+
header_params['Accept'] = self.api_client.\
254+
select_header_accept(['application/json'])
255+
if not header_params['Accept']:
256+
del header_params['Accept']
257+
258+
# HTTP header `Content-Type`
259+
header_params['Content-Type'] = self.api_client.\
260+
select_header_content_type(['application/json'])
261+
262+
# Authentication setting
263+
auth_settings = ['PureCloud Auth']
264+
265+
response = self.api_client.call_api(resource_path, 'GET',
266+
path_params,
267+
query_params,
268+
header_params,
269+
body=body_params,
270+
post_params=form_params,
271+
files=local_var_files,
272+
response_type='ReportingExportJobListing',
273+
auth_settings=auth_settings,
274+
callback=params.get('callback'))
275+
return response
276+
205277
def get_analytics_reporting_metadata(self, **kwargs):
206278
"""
207279
Get list of reporting metadata.
@@ -1306,6 +1378,84 @@ def post_analytics_queues_observations_query(self, body, **kwargs):
13061378
callback=params.get('callback'))
13071379
return response
13081380

1381+
def post_analytics_reporting_exports(self, body, **kwargs):
1382+
"""
1383+
Generate a view export request
1384+
1385+
1386+
This method makes a synchronous HTTP request by default. To make an
1387+
asynchronous HTTP request, please define a `callback` function
1388+
to be invoked when receiving the response.
1389+
>>> def callback_function(response):
1390+
>>> pprint(response)
1391+
>>>
1392+
>>> thread = api.post_analytics_reporting_exports(body, callback=callback_function)
1393+
1394+
:param callback function: The callback function
1395+
for asynchronous request. (optional)
1396+
:param ReportingExportJobRequest body: ReportingExportJobRequest (required)
1397+
:return: ReportingExportJobResponse
1398+
If the method is called asynchronously,
1399+
returns the request thread.
1400+
"""
1401+
1402+
all_params = ['body']
1403+
all_params.append('callback')
1404+
1405+
params = locals()
1406+
for key, val in iteritems(params['kwargs']):
1407+
if key not in all_params:
1408+
raise TypeError(
1409+
"Got an unexpected keyword argument '%s'"
1410+
" to method post_analytics_reporting_exports" % key
1411+
)
1412+
params[key] = val
1413+
del params['kwargs']
1414+
1415+
# verify the required parameter 'body' is set
1416+
if ('body' not in params) or (params['body'] is None):
1417+
raise ValueError("Missing the required parameter `body` when calling `post_analytics_reporting_exports`")
1418+
1419+
1420+
resource_path = '/api/v2/analytics/reporting/exports'.replace('{format}', 'json')
1421+
path_params = {}
1422+
1423+
query_params = {}
1424+
1425+
header_params = {}
1426+
1427+
form_params = []
1428+
local_var_files = {}
1429+
1430+
body_params = None
1431+
if 'body' in params:
1432+
body_params = params['body']
1433+
1434+
# HTTP header `Accept`
1435+
header_params['Accept'] = self.api_client.\
1436+
select_header_accept(['application/json'])
1437+
if not header_params['Accept']:
1438+
del header_params['Accept']
1439+
1440+
# HTTP header `Content-Type`
1441+
header_params['Content-Type'] = self.api_client.\
1442+
select_header_content_type(['application/json'])
1443+
1444+
# Authentication setting
1445+
auth_settings = ['PureCloud Auth']
1446+
1447+
response = self.api_client.call_api(resource_path, 'POST',
1448+
path_params,
1449+
query_params,
1450+
header_params,
1451+
body=body_params,
1452+
post_params=form_params,
1453+
files=local_var_files,
1454+
response_type='ReportingExportJobResponse',
1455+
auth_settings=auth_settings,
1456+
callback=params.get('callback'))
1457+
return response
1458+
13091459
def post_analytics_reporting_schedule_runreport(self, schedule_id, **kwargs):
13101460
"""
13111461
Place a scheduled report immediately into the reporting queue

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3920,15 +3920,15 @@ def get_flows_datatable_rows(self, datatable_id, **kwargs):
39203920
:param callback function: The callback function
39213921
for asynchronous request. (optional)
39223922
:param str datatable_id: id of datatable (required)
3923-
:param int page_size: Page size
39243923
:param int page_number: Page number
3924+
:param int page_size: Page size
39253925
:param bool showbrief: If true returns just the key value of the row
39263926
:return: DataTableRowEntityListing
39273927
If the method is called asynchronously,
39283928
returns the request thread.
39293929
"""
39303930

3931-
all_params = ['datatable_id', 'page_size', 'page_number', 'showbrief']
3931+
all_params = ['datatable_id', 'page_number', 'page_size', 'showbrief']
39323932
all_params.append('callback')
39333933

39343934
params = locals()
@@ -3952,10 +3952,10 @@ def get_flows_datatable_rows(self, datatable_id, **kwargs):
39523952
path_params['datatableId'] = params['datatable_id']
39533953

39543954
query_params = {}
3955-
if 'page_size' in params:
3956-
query_params['pageSize'] = params['page_size']
39573955
if 'page_number' in params:
39583956
query_params['pageNumber'] = params['page_number']
3957+
if 'page_size' in params:
3958+
query_params['pageSize'] = params['page_size']
39593959
if 'showbrief' in params:
39603960
query_params['showbrief'] = params['showbrief']
39613961

@@ -4007,16 +4007,16 @@ def get_flows_datatables(self, **kwargs):
40074007
:param callback function: The callback function
40084008
for asynchronous request. (optional)
40094009
:param str expand: Expand instructions for the result
4010-
:param int page_size: Page size
40114010
:param int page_number: Page number
4011+
:param int page_size: Page size
40124012
:param str sort_by: Sort by
40134013
:param str sort_order: Sort order
40144014
:return: DataTablesDomainEntityListing
40154015
If the method is called asynchronously,
40164016
returns the request thread.
40174017
"""
40184018

4019-
all_params = ['expand', 'page_size', 'page_number', 'sort_by', 'sort_order']
4019+
all_params = ['expand', 'page_number', 'page_size', 'sort_by', 'sort_order']
40204020
all_params.append('callback')
40214021

40224022
params = locals()
@@ -4037,10 +4037,10 @@ def get_flows_datatables(self, **kwargs):
40374037
query_params = {}
40384038
if 'expand' in params:
40394039
query_params['expand'] = params['expand']
4040-
if 'page_size' in params:
4041-
query_params['pageSize'] = params['page_size']
40424040
if 'page_number' in params:
40434041
query_params['pageNumber'] = params['page_number']
4042+
if 'page_size' in params:
4043+
query_params['pageSize'] = params['page_size']
40444044
if 'sort_by' in params:
40454045
query_params['sortBy'] = params['sort_by']
40464046
if 'sort_order' in params:

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,96 @@ def patch_authorization_role(self, role_id, body, **kwargs):
853853
callback=params.get('callback'))
854854
return response
855855

856+
def post_authorization_division_object(self, division_id, object_type, body, **kwargs):
857+
"""
858+
Set the division of a list of objects. The objects must all be of the same type: CAMPAIGN, CONTACTLIST, DNCLIST, MANAGEMENTUNIT, FLOW, QUEUE, USER
859+
860+
861+
This method makes a synchronous HTTP request by default. To make an
862+
asynchronous HTTP request, please define a `callback` function
863+
to be invoked when receiving the response.
864+
>>> def callback_function(response):
865+
>>> pprint(response)
866+
>>>
867+
>>> thread = api.post_authorization_division_object(division_id, object_type, body, callback=callback_function)
868+
869+
:param callback function: The callback function
870+
for asynchronous request. (optional)
871+
:param str division_id: Division ID (required)
872+
:param str object_type: The type of the objects. Must be one of the valid object types (required)
873+
:param list[str] body: Object Id List (required)
874+
:return: list[AuthzTypedObject]
875+
If the method is called asynchronously,
876+
returns the request thread.
877+
"""
878+
879+
all_params = ['division_id', 'object_type', 'body']
880+
all_params.append('callback')
881+
882+
params = locals()
883+
for key, val in iteritems(params['kwargs']):
884+
if key not in all_params:
885+
raise TypeError(
886+
"Got an unexpected keyword argument '%s'"
887+
" to method post_authorization_division_object" % key
888+
)
889+
params[key] = val
890+
del params['kwargs']
891+
892+
# verify the required parameter 'division_id' is set
893+
if ('division_id' not in params) or (params['division_id'] is None):
894+
raise ValueError("Missing the required parameter `division_id` when calling `post_authorization_division_object`")
895+
# verify the required parameter 'object_type' is set
896+
if ('object_type' not in params) or (params['object_type'] is None):
897+
raise ValueError("Missing the required parameter `object_type` when calling `post_authorization_division_object`")
898+
# verify the required parameter 'body' is set
899+
if ('body' not in params) or (params['body'] is None):
900+
raise ValueError("Missing the required parameter `body` when calling `post_authorization_division_object`")
901+
902+
903+
resource_path = '/api/v2/authorization/divisions/{divisionId}/objects/{objectType}'.replace('{format}', 'json')
904+
path_params = {}
905+
if 'division_id' in params:
906+
path_params['divisionId'] = params['division_id']
907+
if 'object_type' in params:
908+
path_params['objectType'] = params['object_type']
909+
910+
query_params = {}
911+
912+
header_params = {}
913+
914+
form_params = []
915+
local_var_files = {}
916+
917+
body_params = None
918+
if 'body' in params:
919+
body_params = params['body']
920+
921+
# HTTP header `Accept`
922+
header_params['Accept'] = self.api_client.\
923+
select_header_accept(['application/json'])
924+
if not header_params['Accept']:
925+
del header_params['Accept']
926+
927+
# HTTP header `Content-Type`
928+
header_params['Content-Type'] = self.api_client.\
929+
select_header_content_type(['application/json'])
930+
931+
# Authentication setting
932+
auth_settings = ['PureCloud Auth']
933+
934+
response = self.api_client.call_api(resource_path, 'POST',
935+
path_params,
936+
query_params,
937+
header_params,
938+
body=body_params,
939+
post_params=form_params,
940+
files=local_var_files,
941+
response_type='list[AuthzTypedObject]',
942+
auth_settings=auth_settings,
943+
callback=params.get('callback'))
944+
return response
945+
856946
def post_authorization_role_comparedefault_right_role_id(self, left_role_id, right_role_id, body, **kwargs):
857947
"""
858948
Get an unsaved org role to default role comparison

build/PureCloudPlatformClientV2/apis/groups_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def post_groups(self, body, **kwargs):
799799
800800
:param callback function: The callback function
801801
for asynchronous request. (optional)
802-
:param Group body: Group (required)
802+
:param GroupCreate body: Group (required)
803803
:return: Group
804804
If the method is called asynchronously,
805805
returns the request thread.

0 commit comments

Comments
 (0)