Skip to content

Commit 72c580a

Browse files
author
PureCloud Jenkins
committed
88.0.0
1 parent df43f1d commit 72c580a

431 files changed

Lines changed: 10405 additions & 4831 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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
from .models.analytics_user_presence_record import AnalyticsUserPresenceRecord
6868
from .models.annotation import Annotation
6969
from .models.answer_option import AnswerOption
70+
from .models.api_usage_query import ApiUsageQuery
71+
from .models.api_usage_query_result import ApiUsageQueryResult
72+
from .models.api_usage_row import ApiUsageRow
7073
from .models.architect_dependency_tracking_build_notification_client import ArchitectDependencyTrackingBuildNotificationClient
7174
from .models.architect_dependency_tracking_build_notification_dependency_tracking_build_notification import ArchitectDependencyTrackingBuildNotificationDependencyTrackingBuildNotification
7275
from .models.architect_dependency_tracking_build_notification_home_organization import ArchitectDependencyTrackingBuildNotificationHomeOrganization
@@ -118,11 +121,15 @@
118121
from .models.audit_filter import AuditFilter
119122
from .models.audit_log_message import AuditLogMessage
120123
from .models.audit_message import AuditMessage
124+
from .models.audit_query_entity import AuditQueryEntity
121125
from .models.audit_query_execution_results_response import AuditQueryExecutionResultsResponse
122126
from .models.audit_query_execution_status_response import AuditQueryExecutionStatusResponse
123127
from .models.audit_query_filter import AuditQueryFilter
124128
from .models.audit_query_request import AuditQueryRequest
125129
from .models.audit_query_response import AuditQueryResponse
130+
from .models.audit_query_service import AuditQueryService
131+
from .models.audit_query_service_mapping import AuditQueryServiceMapping
132+
from .models.audit_query_sort import AuditQuerySort
126133
from .models.audit_search_result import AuditSearchResult
127134
from .models.audit_user import AuditUser
128135
from .models.authz_division import AuthzDivision
@@ -863,6 +870,8 @@
863870
from .models.flow_division_view import FlowDivisionView
864871
from .models.flow_division_view_entity_listing import FlowDivisionViewEntityListing
865872
from .models.flow_entity_listing import FlowEntityListing
873+
from .models.flow_execution_launch_request import FlowExecutionLaunchRequest
874+
from .models.flow_execution_launch_response import FlowExecutionLaunchResponse
866875
from .models.flow_observation_data_container import FlowObservationDataContainer
867876
from .models.flow_observation_query import FlowObservationQuery
868877
from .models.flow_observation_query_clause import FlowObservationQueryClause
@@ -871,6 +880,7 @@
871880
from .models.flow_observation_query_response import FlowObservationQueryResponse
872881
from .models.flow_outcome import FlowOutcome
873882
from .models.flow_outcome_listing import FlowOutcomeListing
883+
from .models.flow_runtime_execution import FlowRuntimeExecution
874884
from .models.flow_version import FlowVersion
875885
from .models.flow_version_entity_listing import FlowVersionEntityListing
876886
from .models.forecast_abandon_rate_response import ForecastAbandonRateResponse
@@ -893,6 +903,7 @@
893903
from .models.gkn_documentation_search_response import GKNDocumentationSearchResponse
894904
from .models.g_suite import GSuite
895905
from .models.generate_bu_forecast_request import GenerateBuForecastRequest
906+
from .models.generic_saml import GenericSAML
896907
from .models.geolocation import Geolocation
897908
from .models.geolocation_event_geolocation import GeolocationEventGeolocation
898909
from .models.geolocation_settings import GeolocationSettings
@@ -953,6 +964,7 @@
953964
from .models.interaction_stats_rule_container import InteractionStatsRuleContainer
954965
from .models.intraday_performance_prediction_data import IntradayPerformancePredictionData
955966
from .models.intraday_planning_group_request import IntradayPlanningGroupRequest
967+
from .models.ip_address_authentication import IpAddressAuthentication
956968
from .models.ip_address_range import IpAddressRange
957969
from .models.ip_address_range_listing import IpAddressRangeListing
958970
from .models.item_validation_limits import ItemValidationLimits
@@ -1773,6 +1785,7 @@
17731785
from .models.upload_url_request import UploadUrlRequest
17741786
from .models.upload_url_response import UploadUrlResponse
17751787
from .models.usage import Usage
1788+
from .models.usage_execution_result import UsageExecutionResult
17761789
from .models.usage_item import UsageItem
17771790
from .models.user import User
17781791
from .models.user_action_category import UserActionCategory
@@ -2065,6 +2078,7 @@
20652078
from .apis.telephony_providers_edge_api import TelephonyProvidersEdgeApi
20662079
from .apis.tokens_api import TokensApi
20672080
from .apis.uploads_api import UploadsApi
2081+
from .apis.usage_api import UsageApi
20682082
from .apis.user_recordings_api import UserRecordingsApi
20692083
from .apis.users_api import UsersApi
20702084
from .apis.utilities_api import UtilitiesApi

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'] = '87.0.0'
188+
header_params['purecloud-sdk'] = '88.0.0'
189189

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
from .telephony_providers_edge_api import TelephonyProvidersEdgeApi
4747
from .tokens_api import TokensApi
4848
from .uploads_api import UploadsApi
49+
from .usage_api import UsageApi
4950
from .user_recordings_api import UserRecordingsApi
5051
from .users_api import UsersApi
5152
from .utilities_api import UtilitiesApi

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4792,6 +4792,84 @@ def get_flows_divisionviews(self, **kwargs):
47924792
callback=params.get('callback'))
47934793
return response
47944794

4795+
def get_flows_execution(self, flow_execution_id, **kwargs):
4796+
"""
4797+
Get a flow execution's details. Flow execution details are available for several days after the flow is started.
4798+
4799+
4800+
This method makes a synchronous HTTP request by default. To make an
4801+
asynchronous HTTP request, please define a `callback` function
4802+
to be invoked when receiving the response.
4803+
>>> def callback_function(response):
4804+
>>> pprint(response)
4805+
>>>
4806+
>>> thread = api.get_flows_execution(flow_execution_id, callback=callback_function)
4807+
4808+
:param callback function: The callback function
4809+
for asynchronous request. (optional)
4810+
:param str flow_execution_id: flow execution ID (required)
4811+
:return: FlowRuntimeExecution
4812+
If the method is called asynchronously,
4813+
returns the request thread.
4814+
"""
4815+
4816+
all_params = ['flow_execution_id']
4817+
all_params.append('callback')
4818+
4819+
params = locals()
4820+
for key, val in iteritems(params['kwargs']):
4821+
if key not in all_params:
4822+
raise TypeError(
4823+
"Got an unexpected keyword argument '%s'"
4824+
" to method get_flows_execution" % key
4825+
)
4826+
params[key] = val
4827+
del params['kwargs']
4828+
4829+
# verify the required parameter 'flow_execution_id' is set
4830+
if ('flow_execution_id' not in params) or (params['flow_execution_id'] is None):
4831+
raise ValueError("Missing the required parameter `flow_execution_id` when calling `get_flows_execution`")
4832+
4833+
4834+
resource_path = '/api/v2/flows/executions/{flowExecutionId}'.replace('{format}', 'json')
4835+
path_params = {}
4836+
if 'flow_execution_id' in params:
4837+
path_params['flowExecutionId'] = params['flow_execution_id']
4838+
4839+
query_params = {}
4840+
4841+
header_params = {}
4842+
4843+
form_params = []
4844+
local_var_files = {}
4845+
4846+
body_params = None
4847+
4848+
# HTTP header `Accept`
4849+
header_params['Accept'] = self.api_client.\
4850+
select_header_accept(['application/json'])
4851+
if not header_params['Accept']:
4852+
del header_params['Accept']
4853+
4854+
# HTTP header `Content-Type`
4855+
header_params['Content-Type'] = self.api_client.\
4856+
select_header_content_type(['application/json'])
4857+
4858+
# Authentication setting
4859+
auth_settings = ['PureCloud OAuth']
4860+
4861+
response = self.api_client.call_api(resource_path, 'GET',
4862+
path_params,
4863+
query_params,
4864+
header_params,
4865+
body=body_params,
4866+
post_params=form_params,
4867+
files=local_var_files,
4868+
response_type='FlowRuntimeExecution',
4869+
auth_settings=auth_settings,
4870+
callback=params.get('callback'))
4871+
return response
4872+
47954873
def get_flows_outcome(self, flow_outcome_id, **kwargs):
47964874
"""
47974875
Get a flow outcome
@@ -6709,6 +6787,84 @@ def post_flows_datatables(self, body, **kwargs):
67096787
callback=params.get('callback'))
67106788
return response
67116789

6790+
def post_flows_executions(self, flow_launch_request, **kwargs):
6791+
"""
6792+
Launch an instance of a flow definition, for flow types that support it such as the 'workflow' type.
6793+
The launch is asynchronous, it returns as soon as the flow starts. You can use the returned ID to query its status if you need.
6794+
6795+
This method makes a synchronous HTTP request by default. To make an
6796+
asynchronous HTTP request, please define a `callback` function
6797+
to be invoked when receiving the response.
6798+
>>> def callback_function(response):
6799+
>>> pprint(response)
6800+
>>>
6801+
>>> thread = api.post_flows_executions(flow_launch_request, callback=callback_function)
6802+
6803+
:param callback function: The callback function
6804+
for asynchronous request. (optional)
6805+
:param FlowExecutionLaunchRequest flow_launch_request: (required)
6806+
:return: FlowExecutionLaunchResponse
6807+
If the method is called asynchronously,
6808+
returns the request thread.
6809+
"""
6810+
6811+
all_params = ['flow_launch_request']
6812+
all_params.append('callback')
6813+
6814+
params = locals()
6815+
for key, val in iteritems(params['kwargs']):
6816+
if key not in all_params:
6817+
raise TypeError(
6818+
"Got an unexpected keyword argument '%s'"
6819+
" to method post_flows_executions" % key
6820+
)
6821+
params[key] = val
6822+
del params['kwargs']
6823+
6824+
# verify the required parameter 'flow_launch_request' is set
6825+
if ('flow_launch_request' not in params) or (params['flow_launch_request'] is None):
6826+
raise ValueError("Missing the required parameter `flow_launch_request` when calling `post_flows_executions`")
6827+
6828+
6829+
resource_path = '/api/v2/flows/executions'.replace('{format}', 'json')
6830+
path_params = {}
6831+
6832+
query_params = {}
6833+
6834+
header_params = {}
6835+
6836+
form_params = []
6837+
local_var_files = {}
6838+
6839+
body_params = None
6840+
if 'flow_launch_request' in params:
6841+
body_params = params['flow_launch_request']
6842+
6843+
# HTTP header `Accept`
6844+
header_params['Accept'] = self.api_client.\
6845+
select_header_accept(['application/json'])
6846+
if not header_params['Accept']:
6847+
del header_params['Accept']
6848+
6849+
# HTTP header `Content-Type`
6850+
header_params['Content-Type'] = self.api_client.\
6851+
select_header_content_type(['application/json'])
6852+
6853+
# Authentication setting
6854+
auth_settings = ['PureCloud OAuth']
6855+
6856+
response = self.api_client.call_api(resource_path, 'POST',
6857+
path_params,
6858+
query_params,
6859+
header_params,
6860+
body=body_params,
6861+
post_params=form_params,
6862+
files=local_var_files,
6863+
response_type='FlowExecutionLaunchResponse',
6864+
auth_settings=auth_settings,
6865+
callback=params.get('callback'))
6866+
return response
6867+
67126868
def post_flows_outcomes(self, **kwargs):
67136869
"""
67146870
Create a flow outcome

build/PureCloudPlatformClientV2/apis/audit_api.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,78 @@ def __init__(self, api_client=None):
4646
config.api_client = ApiClient()
4747
self.api_client = config.api_client
4848

49+
def get_audits_query_servicemapping(self, **kwargs):
50+
"""
51+
Get service mapping information used in audits.
52+
53+
54+
This method makes a synchronous HTTP request by default. To make an
55+
asynchronous HTTP request, please define a `callback` function
56+
to be invoked when receiving the response.
57+
>>> def callback_function(response):
58+
>>> pprint(response)
59+
>>>
60+
>>> thread = api.get_audits_query_servicemapping(callback=callback_function)
61+
62+
:param callback function: The callback function
63+
for asynchronous request. (optional)
64+
:return: AuditQueryServiceMapping
65+
If the method is called asynchronously,
66+
returns the request thread.
67+
"""
68+
69+
all_params = []
70+
all_params.append('callback')
71+
72+
params = locals()
73+
for key, val in iteritems(params['kwargs']):
74+
if key not in all_params:
75+
raise TypeError(
76+
"Got an unexpected keyword argument '%s'"
77+
" to method get_audits_query_servicemapping" % key
78+
)
79+
params[key] = val
80+
del params['kwargs']
81+
82+
83+
84+
resource_path = '/api/v2/audits/query/servicemapping'.replace('{format}', 'json')
85+
path_params = {}
86+
87+
query_params = {}
88+
89+
header_params = {}
90+
91+
form_params = []
92+
local_var_files = {}
93+
94+
body_params = None
95+
96+
# HTTP header `Accept`
97+
header_params['Accept'] = self.api_client.\
98+
select_header_accept(['application/json'])
99+
if not header_params['Accept']:
100+
del header_params['Accept']
101+
102+
# HTTP header `Content-Type`
103+
header_params['Content-Type'] = self.api_client.\
104+
select_header_content_type(['application/json'])
105+
106+
# Authentication setting
107+
auth_settings = ['PureCloud OAuth']
108+
109+
response = self.api_client.call_api(resource_path, 'GET',
110+
path_params,
111+
query_params,
112+
header_params,
113+
body=body_params,
114+
post_params=form_params,
115+
files=local_var_files,
116+
response_type='AuditQueryServiceMapping',
117+
auth_settings=auth_settings,
118+
callback=params.get('callback'))
119+
return response
120+
49121
def get_audits_query_transaction_id(self, transaction_id, **kwargs):
50122
"""
51123
Get status of audit query execution

0 commit comments

Comments
 (0)