Skip to content

Commit 0a09abd

Browse files
author
PureCloud Jenkins
committed
54.0.0
1 parent fbad549 commit 0a09abd

File tree

334 files changed

+4525
-3622
lines changed

Some content is hidden

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

334 files changed

+4525
-3622
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@
863863
from .models.o_auth_client import OAuthClient
864864
from .models.o_auth_client_entity_listing import OAuthClientEntityListing
865865
from .models.o_auth_client_listing import OAuthClientListing
866+
from .models.o_auth_client_request import OAuthClientRequest
866867
from .models.o_auth_provider import OAuthProvider
867868
from .models.o_auth_provider_entity_listing import OAuthProviderEntityListing
868869
from .models.observation_data_container import ObservationDataContainer
@@ -946,6 +947,7 @@
946947
from .models.publish_form import PublishForm
947948
from .models.published_survey_form_reference import PublishedSurveyFormReference
948949
from .models.pure_cloud import PureCloud
950+
from .models.pure_enage import PureEnage
949951
from .models.qualifier_mapping_observation_query_response import QualifierMappingObservationQueryResponse
950952
from .models.quality_audit import QualityAudit
951953
from .models.quality_audit_page import QualityAuditPage

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def __call_api(self, resource_path, method,
116116
header_params['Cookie'] = self.cookie
117117
if header_params:
118118
header_params = self.sanitize_for_serialization(header_params)
119-
header_params['purecloud-sdk'] = '53.0.0'
119+
header_params['purecloud-sdk'] = '54.0.0'
120120

121121
# path parameters
122122
if path_params:

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,12 +1280,14 @@ def get_architect_dependencytracking_consumedresources(self, id, version, object
12801280
:param str version: Consuming object version (required)
12811281
:param str object_type: Consuming object type. Only versioned types are allowed here. (required)
12821282
:param list[str] resource_type: Types of consumed resources to show
1283+
:param int page_number: Page number
1284+
:param int page_size: Page size
12831285
:return: ConsumedResourcesEntityListing
12841286
If the method is called asynchronously,
12851287
returns the request thread.
12861288
"""
12871289

1288-
all_params = ['id', 'version', 'object_type', 'resource_type']
1290+
all_params = ['id', 'version', 'object_type', 'resource_type', 'page_number', 'page_size']
12891291
all_params.append('callback')
12901292

12911293
params = locals()
@@ -1321,6 +1323,10 @@ def get_architect_dependencytracking_consumedresources(self, id, version, object
13211323
query_params['objectType'] = params['object_type']
13221324
if 'resource_type' in params:
13231325
query_params['resourceType'] = params['resource_type']
1326+
if 'page_number' in params:
1327+
query_params['pageNumber'] = params['page_number']
1328+
if 'page_size' in params:
1329+
query_params['pageSize'] = params['page_size']
13241330

13251331
header_params = {}
13261332

@@ -1372,12 +1378,14 @@ def get_architect_dependencytracking_consumingresources(self, id, object_type, *
13721378
:param str id: Consumed object ID (required)
13731379
:param str object_type: Consumed object type (required)
13741380
:param list[str] resource_type: Types of consuming resources to show. Only versioned types are allowed here.
1381+
:param int page_number: Page number
1382+
:param int page_size: Page size
13751383
:return: ConsumingResourcesEntityListing
13761384
If the method is called asynchronously,
13771385
returns the request thread.
13781386
"""
13791387

1380-
all_params = ['id', 'object_type', 'resource_type']
1388+
all_params = ['id', 'object_type', 'resource_type', 'page_number', 'page_size']
13811389
all_params.append('callback')
13821390

13831391
params = locals()
@@ -1408,6 +1416,10 @@ def get_architect_dependencytracking_consumingresources(self, id, object_type, *
14081416
query_params['objectType'] = params['object_type']
14091417
if 'resource_type' in params:
14101418
query_params['resourceType'] = params['resource_type']
1419+
if 'page_number' in params:
1420+
query_params['pageNumber'] = params['page_number']
1421+
if 'page_size' in params:
1422+
query_params['pageSize'] = params['page_size']
14111423

14121424
header_params = {}
14131425

build/PureCloudPlatformClientV2/apis/identity_provider_api.py

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,78 @@ def delete_identityproviders_purecloud(self, **kwargs):
622622
callback=params.get('callback'))
623623
return response
624624

625+
def delete_identityproviders_pureengage(self, **kwargs):
626+
"""
627+
Delete PureEngage Identity Provider
628+
629+
630+
This method makes a synchronous HTTP request by default. To make an
631+
asynchronous HTTP request, please define a `callback` function
632+
to be invoked when receiving the response.
633+
>>> def callback_function(response):
634+
>>> pprint(response)
635+
>>>
636+
>>> thread = api.delete_identityproviders_pureengage(callback=callback_function)
637+
638+
:param callback function: The callback function
639+
for asynchronous request. (optional)
640+
:return: Empty
641+
If the method is called asynchronously,
642+
returns the request thread.
643+
"""
644+
645+
all_params = []
646+
all_params.append('callback')
647+
648+
params = locals()
649+
for key, val in iteritems(params['kwargs']):
650+
if key not in all_params:
651+
raise TypeError(
652+
"Got an unexpected keyword argument '%s'"
653+
" to method delete_identityproviders_pureengage" % key
654+
)
655+
params[key] = val
656+
del params['kwargs']
657+
658+
659+
660+
resource_path = '/api/v2/identityproviders/pureengage'.replace('{format}', 'json')
661+
path_params = {}
662+
663+
query_params = {}
664+
665+
header_params = {}
666+
667+
form_params = []
668+
local_var_files = {}
669+
670+
body_params = None
671+
672+
# HTTP header `Accept`
673+
header_params['Accept'] = self.api_client.\
674+
select_header_accept(['application/json'])
675+
if not header_params['Accept']:
676+
del header_params['Accept']
677+
678+
# HTTP header `Content-Type`
679+
header_params['Content-Type'] = self.api_client.\
680+
select_header_content_type(['application/json'])
681+
682+
# Authentication setting
683+
auth_settings = ['PureCloud OAuth']
684+
685+
response = self.api_client.call_api(resource_path, 'DELETE',
686+
path_params,
687+
query_params,
688+
header_params,
689+
body=body_params,
690+
post_params=form_params,
691+
files=local_var_files,
692+
response_type='Empty',
693+
auth_settings=auth_settings,
694+
callback=params.get('callback'))
695+
return response
696+
625697
def delete_identityproviders_salesforce(self, **kwargs):
626698
"""
627699
Delete Salesforce Identity Provider
@@ -1342,6 +1414,78 @@ def get_identityproviders_purecloud(self, **kwargs):
13421414
callback=params.get('callback'))
13431415
return response
13441416

1417+
def get_identityproviders_pureengage(self, **kwargs):
1418+
"""
1419+
Get PureEngage Identity Provider
1420+
1421+
1422+
This method makes a synchronous HTTP request by default. To make an
1423+
asynchronous HTTP request, please define a `callback` function
1424+
to be invoked when receiving the response.
1425+
>>> def callback_function(response):
1426+
>>> pprint(response)
1427+
>>>
1428+
>>> thread = api.get_identityproviders_pureengage(callback=callback_function)
1429+
1430+
:param callback function: The callback function
1431+
for asynchronous request. (optional)
1432+
:return: PureEnage
1433+
If the method is called asynchronously,
1434+
returns the request thread.
1435+
"""
1436+
1437+
all_params = []
1438+
all_params.append('callback')
1439+
1440+
params = locals()
1441+
for key, val in iteritems(params['kwargs']):
1442+
if key not in all_params:
1443+
raise TypeError(
1444+
"Got an unexpected keyword argument '%s'"
1445+
" to method get_identityproviders_pureengage" % key
1446+
)
1447+
params[key] = val
1448+
del params['kwargs']
1449+
1450+
1451+
1452+
resource_path = '/api/v2/identityproviders/pureengage'.replace('{format}', 'json')
1453+
path_params = {}
1454+
1455+
query_params = {}
1456+
1457+
header_params = {}
1458+
1459+
form_params = []
1460+
local_var_files = {}
1461+
1462+
body_params = None
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, 'GET',
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='PureEnage',
1485+
auth_settings=auth_settings,
1486+
callback=params.get('callback'))
1487+
return response
1488+
13451489
def get_identityproviders_salesforce(self, **kwargs):
13461490
"""
13471491
Get Salesforce Identity Provider
@@ -2038,6 +2182,84 @@ def put_identityproviders_purecloud(self, body, **kwargs):
20382182
callback=params.get('callback'))
20392183
return response
20402184

2185+
def put_identityproviders_pureengage(self, body, **kwargs):
2186+
"""
2187+
Update/Create PureEngage Identity Provider
2188+
2189+
2190+
This method makes a synchronous HTTP request by default. To make an
2191+
asynchronous HTTP request, please define a `callback` function
2192+
to be invoked when receiving the response.
2193+
>>> def callback_function(response):
2194+
>>> pprint(response)
2195+
>>>
2196+
>>> thread = api.put_identityproviders_pureengage(body, callback=callback_function)
2197+
2198+
:param callback function: The callback function
2199+
for asynchronous request. (optional)
2200+
:param PureEnage body: Provider (required)
2201+
:return: OAuthProvider
2202+
If the method is called asynchronously,
2203+
returns the request thread.
2204+
"""
2205+
2206+
all_params = ['body']
2207+
all_params.append('callback')
2208+
2209+
params = locals()
2210+
for key, val in iteritems(params['kwargs']):
2211+
if key not in all_params:
2212+
raise TypeError(
2213+
"Got an unexpected keyword argument '%s'"
2214+
" to method put_identityproviders_pureengage" % key
2215+
)
2216+
params[key] = val
2217+
del params['kwargs']
2218+
2219+
# verify the required parameter 'body' is set
2220+
if ('body' not in params) or (params['body'] is None):
2221+
raise ValueError("Missing the required parameter `body` when calling `put_identityproviders_pureengage`")
2222+
2223+
2224+
resource_path = '/api/v2/identityproviders/pureengage'.replace('{format}', 'json')
2225+
path_params = {}
2226+
2227+
query_params = {}
2228+
2229+
header_params = {}
2230+
2231+
form_params = []
2232+
local_var_files = {}
2233+
2234+
body_params = None
2235+
if 'body' in params:
2236+
body_params = params['body']
2237+
2238+
# HTTP header `Accept`
2239+
header_params['Accept'] = self.api_client.\
2240+
select_header_accept(['application/json'])
2241+
if not header_params['Accept']:
2242+
del header_params['Accept']
2243+
2244+
# HTTP header `Content-Type`
2245+
header_params['Content-Type'] = self.api_client.\
2246+
select_header_content_type(['application/json'])
2247+
2248+
# Authentication setting
2249+
auth_settings = ['PureCloud OAuth']
2250+
2251+
response = self.api_client.call_api(resource_path, 'PUT',
2252+
path_params,
2253+
query_params,
2254+
header_params,
2255+
body=body_params,
2256+
post_params=form_params,
2257+
files=local_var_files,
2258+
response_type='OAuthProvider',
2259+
auth_settings=auth_settings,
2260+
callback=params.get('callback'))
2261+
return response
2262+
20412263
def put_identityproviders_salesforce(self, body, **kwargs):
20422264
"""
20432265
Update/Create Salesforce Identity Provider

build/PureCloudPlatformClientV2/apis/o_auth_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def post_oauth_clients(self, body, **kwargs):
367367
368368
:param callback function: The callback function
369369
for asynchronous request. (optional)
370-
:param OAuthClient body: Client (required)
370+
:param OAuthClientRequest body: Client (required)
371371
:return: OAuthClient
372372
If the method is called asynchronously,
373373
returns the request thread.
@@ -446,7 +446,7 @@ def put_oauth_client(self, client_id, body, **kwargs):
446446
:param callback function: The callback function
447447
for asynchronous request. (optional)
448448
:param str client_id: Client ID (required)
449-
:param OAuthClient body: Client (required)
449+
:param OAuthClientRequest body: Client (required)
450450
:return: OAuthClient
451451
If the method is called asynchronously,
452452
returns the request thread.

build/PureCloudPlatformClientV2/apis/telephony_providers_edge_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6106,7 +6106,7 @@ def get_telephony_providers_edges_trunk_metrics(self, trunk_id, **kwargs):
61066106
def get_telephony_providers_edges_trunkbasesetting(self, trunk_base_settings_id, **kwargs):
61076107
"""
61086108
Get a Trunk Base Settings object by ID
6109-
Managed properties will not be returned unless the user is assigned the managed:all:all permission.
6109+
Managed properties will not be returned unless the user is assigned the internal:trunk:edit permission.
61106110
61116111
This method makes a synchronous HTTP request by default. To make an
61126112
asynchronous HTTP request, please define a `callback` function
@@ -6187,7 +6187,7 @@ def get_telephony_providers_edges_trunkbasesetting(self, trunk_base_settings_id,
61876187
def get_telephony_providers_edges_trunkbasesettings(self, **kwargs):
61886188
"""
61896189
Get Trunk Base Settings listing
6190-
Managed properties will not be returned unless the user is assigned the managed:all:all permission.
6190+
Managed properties will not be returned unless the user is assigned the internal:trunk:edit permission.
61916191
61926192
This method makes a synchronous HTTP request by default. To make an
61936193
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,5 @@ def to_debug_report(self):
246246
"OS: {env}\n"\
247247
"Python Version: {pyversion}\n"\
248248
"Version of the API: v2\n"\
249-
"SDK Package Version: 53.0.0".\
249+
"SDK Package Version: 54.0.0".\
250250
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@
863863
from .o_auth_client import OAuthClient
864864
from .o_auth_client_entity_listing import OAuthClientEntityListing
865865
from .o_auth_client_listing import OAuthClientListing
866+
from .o_auth_client_request import OAuthClientRequest
866867
from .o_auth_provider import OAuthProvider
867868
from .o_auth_provider_entity_listing import OAuthProviderEntityListing
868869
from .observation_data_container import ObservationDataContainer
@@ -946,6 +947,7 @@
946947
from .publish_form import PublishForm
947948
from .published_survey_form_reference import PublishedSurveyFormReference
948949
from .pure_cloud import PureCloud
950+
from .pure_enage import PureEnage
949951
from .qualifier_mapping_observation_query_response import QualifierMappingObservationQueryResponse
950952
from .quality_audit import QualityAudit
951953
from .quality_audit_page import QualityAuditPage

0 commit comments

Comments
 (0)