Skip to content

Commit a964498

Browse files
author
PureCloud Jenkins
committed
84.0.0
1 parent 0f27bc9 commit a964498

665 files changed

Lines changed: 52932 additions & 9954 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: 140 additions & 2 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
@@ -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'] = '83.0.0'
188+
header_params['purecloud-sdk'] = '84.0.0'
189189

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from .groups_api import GroupsApi
1919
from .identity_provider_api import IdentityProviderApi
2020
from .integrations_api import IntegrationsApi
21+
from .knowledge_api import KnowledgeApi
2122
from .languages_api import LanguagesApi
2223
from .license_api import LicenseApi
2324
from .locations_api import LocationsApi
@@ -36,7 +37,6 @@
3637
from .scim_api import SCIMApi
3738
from .scripts_api import ScriptsApi
3839
from .search_api import SearchApi
39-
from .speech_text_analytics_api import SpeechTextAnalyticsApi
4040
from .stations_api import StationsApi
4141
from .suggest_api import SuggestApi
4242
from .telephony_api import TelephonyApi

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,6 +1378,7 @@ def get_architect_dependencytracking_consumingresources(self, id, object_type, *
13781378
:param str id: Consumed object ID (required)
13791379
:param str object_type: Consumed object type (required)
13801380
:param list[str] resource_type: Types of consuming resources to show. Only versioned types are allowed here.
1381+
:param str version: Object version
13811382
:param int page_number: Page number
13821383
:param int page_size: Page size
13831384
:param str flow_filter: Show only checkedIn or published flows
@@ -1386,7 +1387,7 @@ def get_architect_dependencytracking_consumingresources(self, id, object_type, *
13861387
returns the request thread.
13871388
"""
13881389

1389-
all_params = ['id', 'object_type', 'resource_type', 'page_number', 'page_size', 'flow_filter']
1390+
all_params = ['id', 'object_type', 'resource_type', 'version', 'page_number', 'page_size', 'flow_filter']
13901391
all_params.append('callback')
13911392

13921393
params = locals()
@@ -1417,6 +1418,8 @@ def get_architect_dependencytracking_consumingresources(self, id, object_type, *
14171418
query_params['objectType'] = params['object_type']
14181419
if 'resource_type' in params:
14191420
query_params['resourceType'] = params['resource_type']
1421+
if 'version' in params:
1422+
query_params['version'] = params['version']
14201423
if 'page_number' in params:
14211424
query_params['pageNumber'] = params['page_number']
14221425
if 'page_size' in params:
@@ -1571,12 +1574,13 @@ def get_architect_dependencytracking_object(self, id, **kwargs):
15711574
:param bool consuming_resources: Include resources that consume this item
15721575
:param list[str] consumed_resource_type: Types of consumed resources to return, if consumed resources are requested
15731576
:param list[str] consuming_resource_type: Types of consuming resources to return, if consuming resources are requested
1577+
:param bool consumed_resource_request: Indicate that this is going to look up a consumed resource object
15741578
:return: DependencyObject
15751579
If the method is called asynchronously,
15761580
returns the request thread.
15771581
"""
15781582

1579-
all_params = ['id', 'version', 'object_type', 'consumed_resources', 'consuming_resources', 'consumed_resource_type', 'consuming_resource_type']
1583+
all_params = ['id', 'version', 'object_type', 'consumed_resources', 'consuming_resources', 'consumed_resource_type', 'consuming_resource_type', 'consumed_resource_request']
15801584
all_params.append('callback')
15811585

15821586
params = locals()
@@ -1612,6 +1616,8 @@ def get_architect_dependencytracking_object(self, id, **kwargs):
16121616
query_params['consumedResourceType'] = params['consumed_resource_type']
16131617
if 'consuming_resource_type' in params:
16141618
query_params['consumingResourceType'] = params['consuming_resource_type']
1619+
if 'consumed_resource_request' in params:
1620+
query_params['consumedResourceRequest'] = params['consumed_resource_request']
16151621

16161622
header_params = {}
16171623

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -874,93 +874,6 @@ def get_authorization_divisionspermitted_paged_subject_id(self, subject_id, perm
874874
callback=params.get('callback'))
875875
return response
876876

877-
def get_authorization_divisionspermitted_subject_id(self, subject_id, permission, **kwargs):
878-
"""
879-
Returns which divisions the specified user has the given permission in.
880-
This route is deprecated, use authorization/divisionspermitted/paged/{subjectId} instead.
881-
882-
This method makes a synchronous HTTP request by default. To make an
883-
asynchronous HTTP request, please define a `callback` function
884-
to be invoked when receiving the response.
885-
>>> def callback_function(response):
886-
>>> pprint(response)
887-
>>>
888-
>>> thread = api.get_authorization_divisionspermitted_subject_id(subject_id, permission, callback=callback_function)
889-
890-
:param callback function: The callback function
891-
for asynchronous request. (optional)
892-
:param str subject_id: Subject ID (user or group) (required)
893-
:param str permission: The permission string, including the object to access, e.g. routing:queue:view (required)
894-
:param str name: Search term to filter by division name
895-
:return: list[AuthzDivision]
896-
If the method is called asynchronously,
897-
returns the request thread.
898-
"""
899-
900-
all_params = ['subject_id', 'permission', 'name']
901-
all_params.append('callback')
902-
903-
params = locals()
904-
for key, val in iteritems(params['kwargs']):
905-
if key not in all_params:
906-
raise TypeError(
907-
"Got an unexpected keyword argument '%s'"
908-
" to method get_authorization_divisionspermitted_subject_id" % key
909-
)
910-
params[key] = val
911-
del params['kwargs']
912-
913-
# verify the required parameter 'subject_id' is set
914-
if ('subject_id' not in params) or (params['subject_id'] is None):
915-
raise ValueError("Missing the required parameter `subject_id` when calling `get_authorization_divisionspermitted_subject_id`")
916-
# verify the required parameter 'permission' is set
917-
if ('permission' not in params) or (params['permission'] is None):
918-
raise ValueError("Missing the required parameter `permission` when calling `get_authorization_divisionspermitted_subject_id`")
919-
920-
921-
resource_path = '/api/v2/authorization/divisionspermitted/{subjectId}'.replace('{format}', 'json')
922-
path_params = {}
923-
if 'subject_id' in params:
924-
path_params['subjectId'] = params['subject_id']
925-
926-
query_params = {}
927-
if 'name' in params:
928-
query_params['name'] = params['name']
929-
if 'permission' in params:
930-
query_params['permission'] = params['permission']
931-
932-
header_params = {}
933-
934-
form_params = []
935-
local_var_files = {}
936-
937-
body_params = None
938-
939-
# HTTP header `Accept`
940-
header_params['Accept'] = self.api_client.\
941-
select_header_accept(['application/json'])
942-
if not header_params['Accept']:
943-
del header_params['Accept']
944-
945-
# HTTP header `Content-Type`
946-
header_params['Content-Type'] = self.api_client.\
947-
select_header_content_type(['application/json'])
948-
949-
# Authentication setting
950-
auth_settings = ['PureCloud OAuth']
951-
952-
response = self.api_client.call_api(resource_path, 'GET',
953-
path_params,
954-
query_params,
955-
header_params,
956-
body=body_params,
957-
post_params=form_params,
958-
files=local_var_files,
959-
response_type='list[AuthzDivision]',
960-
auth_settings=auth_settings,
961-
callback=params.get('callback'))
962-
return response
963-
964877
def get_authorization_permissions(self, **kwargs):
965878
"""
966879
Get all permissions.

build/PureCloudPlatformClientV2/apis/external_contacts_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2421,7 +2421,7 @@ def put_externalcontacts_organization_trustor_trustor_id(self, external_organiza
24212421
for asynchronous request. (optional)
24222422
:param str external_organization_id: External Organization ID (required)
24232423
:param str trustor_id: Trustor ID (required)
2424-
:return: ExternalOrganization
2424+
:return: ExternalOrganizationTrustorLink
24252425
If the method is called asynchronously,
24262426
returns the request thread.
24272427
"""
@@ -2483,7 +2483,7 @@ def put_externalcontacts_organization_trustor_trustor_id(self, external_organiza
24832483
body=body_params,
24842484
post_params=form_params,
24852485
files=local_var_files,
2486-
response_type='ExternalOrganization',
2486+
response_type='ExternalOrganizationTrustorLink',
24872487
auth_settings=auth_settings,
24882488
callback=params.get('callback'))
24892489
return response

0 commit comments

Comments
 (0)