Skip to content

Commit e1eb7dc

Browse files
author
PureCloud Jenkins
committed
208.0.0
1 parent a5c2b43 commit e1eb7dc

File tree

209 files changed

+27894
-3738
lines changed

Some content is hidden

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

209 files changed

+27894
-3738
lines changed

build/.openapi-generator/FILES

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

build/APIData.json

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

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 67 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'] = '207.0.0'
360+
header_params['purecloud-sdk'] = '208.0.0'
361361

362362
# path parameters
363363
if path_params:

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6264,8 +6264,8 @@ def post_analytics_queues_observations_query(self, body: 'QueueObservationQuery'
62646264

62656265
def post_analytics_ratelimits_aggregates_query(self, body: 'RateLimitAggregationQuery', **kwargs) -> 'RateLimitAggregateQueryResponse':
62666266
"""
6267-
Query for limits rate limit aggregates. Data populated when limits are exceeded or are close to being exceeded. Not a source of truth for limits hit but a best effort estimate.
6268-
The 'max' property can be used to determine estimated rate limit value hit.
6267+
Query for limits rate limit aggregates. Data populated when limits reach 90% of the maximum. Not a source of truth for limits hit but a best effort estimate.
6268+
The 'max' property can be used to determine estimated rate limit value hit. See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
62696269
62706270
This method makes a synchronous HTTP request by default. To make an
62716271
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/integrations_api.py

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
from ..models import SttEngineEntity
8686
from ..models import SttEngineEntityListing
8787
from ..models import TestExecutionResult
88+
from ..models import TrustedCertificates
8889
from ..models import TtsEngineEntity
8990
from ..models import TtsEngineEntityListing
9091
from ..models import TtsSettings
@@ -1706,6 +1707,78 @@ def get_integrations_actions_certificates(self, **kwargs) -> 'ActionCertificateL
17061707
callback=params.get('callback'))
17071708
return response
17081709

1710+
def get_integrations_actions_certificates_truststore(self, **kwargs) -> 'TrustedCertificates':
1711+
"""
1712+
Retrieves basic info about trusted root CA certificates
1713+
1714+
1715+
This method makes a synchronous HTTP request by default. To make an
1716+
asynchronous HTTP request, please define a `callback` function
1717+
to be invoked when receiving the response.
1718+
>>> def callback_function(response):
1719+
>>> pprint(response)
1720+
>>>
1721+
>>> thread = api.get_integrations_actions_certificates_truststore(callback=callback_function)
1722+
1723+
:param callback function: The callback function
1724+
for asynchronous request. (optional)
1725+
:return: TrustedCertificates
1726+
If the method is called asynchronously,
1727+
returns the request thread.
1728+
"""
1729+
1730+
all_params = []
1731+
all_params.append('callback')
1732+
1733+
params = locals()
1734+
for key, val in iteritems(params['kwargs']):
1735+
if key not in all_params:
1736+
raise TypeError(
1737+
"Got an unexpected keyword argument '%s'"
1738+
" to method get_integrations_actions_certificates_truststore" % key
1739+
)
1740+
params[key] = val
1741+
del params['kwargs']
1742+
1743+
1744+
1745+
resource_path = '/api/v2/integrations/actions/certificates/truststore'.replace('{format}', 'json')
1746+
path_params = {}
1747+
1748+
query_params = {}
1749+
1750+
header_params = {}
1751+
1752+
form_params = []
1753+
local_var_files = {}
1754+
1755+
body_params = None
1756+
1757+
# HTTP header `Accept`
1758+
header_params['Accept'] = self.api_client.\
1759+
select_header_accept(['application/json'])
1760+
if not header_params['Accept']:
1761+
del header_params['Accept']
1762+
1763+
# HTTP header `Content-Type`
1764+
header_params['Content-Type'] = self.api_client.\
1765+
select_header_content_type(['application/json'])
1766+
1767+
# Authentication setting
1768+
auth_settings = ['PureCloud OAuth']
1769+
1770+
response = self.api_client.call_api(resource_path, 'GET',
1771+
path_params,
1772+
query_params,
1773+
header_params,
1774+
body=body_params,
1775+
post_params=form_params,
1776+
files=local_var_files,
1777+
response_type='TrustedCertificates',
1778+
auth_settings=auth_settings,
1779+
callback=params.get('callback'))
1780+
return response
1781+
17091782
def get_integrations_actions_drafts(self, **kwargs) -> 'ActionEntityListing':
17101783
"""
17111784
Retrieves all action drafts associated with the filters passed in via query param.

build/PureCloudPlatformClientV2/apis/learning_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def get_learning_assignments(self, **kwargs) -> 'LearningAssignmentsDomainEntity
447447
:param str sort_order: Specifies result set sort order; if not specified, default sort order is descending (Desc)
448448
:param str sort_by: Specifies which field to sort the results by, default sort is by recommendedCompletionDate
449449
:param list[str] user_id: Specifies the list of user IDs to be queried, up to 100 user IDs.
450-
:param list[str] types: Specifies the module types to filter by
450+
:param list[str] types: Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
451451
:param list[str] states: Specifies the assignment states to filter by
452452
:param list[str] expand: Specifies the expand option for returning additional information
453453
:return: LearningAssignmentsDomainEntity
@@ -563,7 +563,7 @@ def get_learning_assignments_me(self, **kwargs) -> 'LearningAssignmentsDomainEnt
563563
:param float max_percentage_score: The maximum assessment score for an assignment (completed with assessment) to be included in the results (inclusive)
564564
:param str sort_order: Specifies result set sort order; if not specified, default sort order is descending (Desc)
565565
:param str sort_by: Specifies which field to sort the results by, default sort is by recommendedCompletionDate
566-
:param list[str] types: Specifies the module types to filter by
566+
:param list[str] types: Specifies the module types to filter by. Informational, AssessedContent and Assessment are deprecated
567567
:param list[str] states: Specifies the assignment states to filter by
568568
:param list[str] expand: Specifies the expand option for returning additional information
569569
:return: LearningAssignmentsDomainEntity
@@ -1075,7 +1075,7 @@ def get_learning_modules(self, **kwargs) -> 'LearningModulesDomainEntityListing'
10751075
:param callback function: The callback function
10761076
for asynchronous request. (optional)
10771077
:param bool is_archived: Archive status
1078-
:param list[str] types: Specifies the module types.
1078+
:param list[str] types: Specifies the module types. Informational, AssessedContent and Assessment are deprecated
10791079
:param int page_size: Page size
10801080
:param int page_number: Page number
10811081
:param str sort_order: Sort order

build/PureCloudPlatformClientV2/apis/organization_api.py

Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from ..models import IpAddressAuthentication
4747
from ..models import LimitChangeRequestDetails
4848
from ..models import LimitChangeRequestsEntityListing
49+
from ..models import LimitCountListing
4950
from ..models import LimitDocumentation
5051
from ..models import LimitsEntityListing
5152
from ..models import OrgAuthSettings
@@ -753,6 +754,93 @@ def get_organizations_limits_namespace(self, namespace_name: str, **kwargs) -> '
753754
callback=params.get('callback'))
754755
return response
755756

757+
def get_organizations_limits_namespace_counts(self, namespace_name: str, **kwargs) -> 'LimitCountListing':
758+
"""
759+
Get estimated limit counts for a namespace. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
760+
See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
761+
762+
This method makes a synchronous HTTP request by default. To make an
763+
asynchronous HTTP request, please define a `callback` function
764+
to be invoked when receiving the response.
765+
>>> def callback_function(response):
766+
>>> pprint(response)
767+
>>>
768+
>>> thread = api.get_organizations_limits_namespace_counts(namespace_name, callback=callback_function)
769+
770+
:param callback function: The callback function
771+
for asynchronous request. (optional)
772+
:param str namespace_name: The namespace to get (required)
773+
:param str cursor: Cursor provided when retrieving the last page
774+
:param str entity_id: entity id of the count
775+
:param str user_id: userid of the count
776+
:return: LimitCountListing
777+
If the method is called asynchronously,
778+
returns the request thread.
779+
"""
780+
781+
all_params = ['namespace_name', 'cursor', 'entity_id', 'user_id']
782+
all_params.append('callback')
783+
784+
params = locals()
785+
for key, val in iteritems(params['kwargs']):
786+
if key not in all_params:
787+
raise TypeError(
788+
"Got an unexpected keyword argument '%s'"
789+
" to method get_organizations_limits_namespace_counts" % key
790+
)
791+
params[key] = val
792+
del params['kwargs']
793+
794+
# verify the required parameter 'namespace_name' is set
795+
if ('namespace_name' not in params) or (params['namespace_name'] is None):
796+
raise ValueError("Missing the required parameter `namespace_name` when calling `get_organizations_limits_namespace_counts`")
797+
798+
799+
resource_path = '/api/v2/organizations/limits/namespaces/{namespaceName}/counts'.replace('{format}', 'json')
800+
path_params = {}
801+
if 'namespace_name' in params:
802+
path_params['namespaceName'] = params['namespace_name']
803+
804+
query_params = {}
805+
if 'cursor' in params:
806+
query_params['cursor'] = params['cursor']
807+
if 'entity_id' in params:
808+
query_params['entityId'] = params['entity_id']
809+
if 'user_id' in params:
810+
query_params['userId'] = params['user_id']
811+
812+
header_params = {}
813+
814+
form_params = []
815+
local_var_files = {}
816+
817+
body_params = None
818+
819+
# HTTP header `Accept`
820+
header_params['Accept'] = self.api_client.\
821+
select_header_accept(['application/json'])
822+
if not header_params['Accept']:
823+
del header_params['Accept']
824+
825+
# HTTP header `Content-Type`
826+
header_params['Content-Type'] = self.api_client.\
827+
select_header_content_type(['application/json'])
828+
829+
# Authentication setting
830+
auth_settings = ['PureCloud OAuth']
831+
832+
response = self.api_client.call_api(resource_path, 'GET',
833+
path_params,
834+
query_params,
835+
header_params,
836+
body=body_params,
837+
post_params=form_params,
838+
files=local_var_files,
839+
response_type='LimitCountListing',
840+
auth_settings=auth_settings,
841+
callback=params.get('callback'))
842+
return response
843+
756844
def get_organizations_limits_namespace_defaults(self, namespace_name: str, **kwargs) -> 'LimitsEntityListing':
757845
"""
758846
Get the default limits in a namespace for an organization
@@ -831,6 +919,99 @@ def get_organizations_limits_namespace_defaults(self, namespace_name: str, **kwa
831919
callback=params.get('callback'))
832920
return response
833921

922+
def get_organizations_limits_namespace_limit_counts(self, namespace_name: str, limit_name: str, **kwargs) -> 'LimitCountListing':
923+
"""
924+
Get estimated limit counts for a namespace and limit name. This is not a source of truth for limit values but a record of estimates to facilitate limit threshold tracking.
925+
See https://developer.genesys.cloud/organization/organization/limits#available-limits for limits that are trackable (Operational Events Enabled).
926+
927+
This method makes a synchronous HTTP request by default. To make an
928+
asynchronous HTTP request, please define a `callback` function
929+
to be invoked when receiving the response.
930+
>>> def callback_function(response):
931+
>>> pprint(response)
932+
>>>
933+
>>> thread = api.get_organizations_limits_namespace_limit_counts(namespace_name, limit_name, callback=callback_function)
934+
935+
:param callback function: The callback function
936+
for asynchronous request. (optional)
937+
:param str namespace_name: The namespace to get (required)
938+
:param str limit_name: The limit to get (required)
939+
:param str entity_id: entity id of the count
940+
:param str user_id: userid of the count
941+
:param str cursor: Cursor provided when retrieving the last page
942+
:return: LimitCountListing
943+
If the method is called asynchronously,
944+
returns the request thread.
945+
"""
946+
947+
all_params = ['namespace_name', 'limit_name', 'entity_id', 'user_id', 'cursor']
948+
all_params.append('callback')
949+
950+
params = locals()
951+
for key, val in iteritems(params['kwargs']):
952+
if key not in all_params:
953+
raise TypeError(
954+
"Got an unexpected keyword argument '%s'"
955+
" to method get_organizations_limits_namespace_limit_counts" % key
956+
)
957+
params[key] = val
958+
del params['kwargs']
959+
960+
# verify the required parameter 'namespace_name' is set
961+
if ('namespace_name' not in params) or (params['namespace_name'] is None):
962+
raise ValueError("Missing the required parameter `namespace_name` when calling `get_organizations_limits_namespace_limit_counts`")
963+
# verify the required parameter 'limit_name' is set
964+
if ('limit_name' not in params) or (params['limit_name'] is None):
965+
raise ValueError("Missing the required parameter `limit_name` when calling `get_organizations_limits_namespace_limit_counts`")
966+
967+
968+
resource_path = '/api/v2/organizations/limits/namespaces/{namespaceName}/limits/{limitName}/counts'.replace('{format}', 'json')
969+
path_params = {}
970+
if 'namespace_name' in params:
971+
path_params['namespaceName'] = params['namespace_name']
972+
if 'limit_name' in params:
973+
path_params['limitName'] = params['limit_name']
974+
975+
query_params = {}
976+
if 'entity_id' in params:
977+
query_params['entityId'] = params['entity_id']
978+
if 'user_id' in params:
979+
query_params['userId'] = params['user_id']
980+
if 'cursor' in params:
981+
query_params['cursor'] = params['cursor']
982+
983+
header_params = {}
984+
985+
form_params = []
986+
local_var_files = {}
987+
988+
body_params = None
989+
990+
# HTTP header `Accept`
991+
header_params['Accept'] = self.api_client.\
992+
select_header_accept(['application/json'])
993+
if not header_params['Accept']:
994+
del header_params['Accept']
995+
996+
# HTTP header `Content-Type`
997+
header_params['Content-Type'] = self.api_client.\
998+
select_header_content_type(['application/json'])
999+
1000+
# Authentication setting
1001+
auth_settings = ['PureCloud OAuth']
1002+
1003+
response = self.api_client.call_api(resource_path, 'GET',
1004+
path_params,
1005+
query_params,
1006+
header_params,
1007+
body=body_params,
1008+
post_params=form_params,
1009+
files=local_var_files,
1010+
response_type='LimitCountListing',
1011+
auth_settings=auth_settings,
1012+
callback=params.get('callback'))
1013+
return response
1014+
8341015
def get_organizations_limits_namespaces(self, **kwargs) -> object:
8351016
"""
8361017
Get the available limit namespaces

0 commit comments

Comments
 (0)