Skip to content

Commit 3a1891c

Browse files
author
PureCloud Jenkins
committed
98.0.0
1 parent 1310b93 commit 3a1891c

124 files changed

Lines changed: 7780 additions & 421 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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
from .models.action_entity_listing import ActionEntityListing
1010
from .models.action_input import ActionInput
1111
from .models.action_output import ActionOutput
12+
from .models.action_target import ActionTarget
13+
from .models.action_target_listing import ActionTargetListing
1214
from .models.actions import Actions
1315
from .models.active_alert_count import ActiveAlertCount
1416
from .models.activity_code import ActivityCode
@@ -104,6 +106,7 @@
104106
from .models.archive_retention import ArchiveRetention
105107
from .models.array_node import ArrayNode
106108
from .models.assigned_wrapup_code import AssignedWrapupCode
109+
from .models.assignment_group import AssignmentGroup
107110
from .models.async_conversation_query import AsyncConversationQuery
108111
from .models.async_forecast_operation_result import AsyncForecastOperationResult
109112
from .models.async_intraday_response import AsyncIntradayResponse
@@ -139,6 +142,7 @@
139142
from .models.audit_user import AuditUser
140143
from .models.authz_division import AuthzDivision
141144
from .models.authz_division_entity_listing import AuthzDivisionEntityListing
145+
from .models.authz_division_grant_entity_listing import AuthzDivisionGrantEntityListing
142146
from .models.authz_grant import AuthzGrant
143147
from .models.authz_grant_policy import AuthzGrantPolicy
144148
from .models.authz_grant_role import AuthzGrantRole
@@ -328,6 +332,7 @@
328332
from .models.common_campaign_entity_listing import CommonCampaignEntityListing
329333
from .models.condition import Condition
330334
from .models.connect_rate import ConnectRate
335+
from .models.constraint_conflict_message import ConstraintConflictMessage
331336
from .models.consult_transfer import ConsultTransfer
332337
from .models.consult_transfer_response import ConsultTransferResponse
333338
from .models.consult_transfer_update import ConsultTransferUpdate
@@ -611,6 +616,7 @@
611616
from .models.did_pool import DIDPool
612617
from .models.did_pool_entity_listing import DIDPoolEntityListing
613618
from .models.data_action_condition_predicate import DataActionConditionPredicate
619+
from .models.data_availability_response import DataAvailabilityResponse
614620
from .models.data_schema import DataSchema
615621
from .models.data_schema_listing import DataSchemaListing
616622
from .models.data_table import DataTable
@@ -821,6 +827,7 @@
821827
from .models.encryption_key import EncryptionKey
822828
from .models.encryption_key_entity_listing import EncryptionKeyEntityListing
823829
from .models.endpoint import Endpoint
830+
from .models.entity import Entity
824831
from .models.entity_listing import EntityListing
825832
from .models.entry import Entry
826833
from .models.error_body import ErrorBody
@@ -1031,6 +1038,7 @@
10311038
from .models.json_node_search_response import JsonNodeSearchResponse
10321039
from .models.json_schema_document import JsonSchemaDocument
10331040
from .models.key_rotation_schedule import KeyRotationSchedule
1041+
from .models.key_value import KeyValue
10341042
from .models.keyword import Keyword
10351043
from .models.keyword_set import KeywordSet
10361044
from .models.keyword_set_entity_listing import KeywordSetEntityListing
@@ -1244,6 +1252,7 @@
12441252
from .models.participant import Participant
12451253
from .models.participant_attributes import ParticipantAttributes
12461254
from .models.participant_basic import ParticipantBasic
1255+
from .models.patch_action_target import PatchActionTarget
12471256
from .models.patch_bu_rescheduling_options_management_unit_request import PatchBuReschedulingOptionsManagementUnitRequest
12481257
from .models.patch_bu_rescheduling_options_request import PatchBuReschedulingOptionsRequest
12491258
from .models.patch_bu_schedule_run_request import PatchBuScheduleRunRequest
@@ -1811,7 +1820,15 @@
18111820
from .models.time_zone_entity_listing import TimeZoneEntityListing
18121821
from .models.time_zone_mapping_preview import TimeZoneMappingPreview
18131822
from .models.token_info import TokenInfo
1823+
from .models.token_info_cloned_user import TokenInfoClonedUser
18141824
from .models.training_listing import TrainingListing
1825+
from .models.transcript_aggregate_data_container import TranscriptAggregateDataContainer
1826+
from .models.transcript_aggregate_query_clause import TranscriptAggregateQueryClause
1827+
from .models.transcript_aggregate_query_filter import TranscriptAggregateQueryFilter
1828+
from .models.transcript_aggregate_query_predicate import TranscriptAggregateQueryPredicate
1829+
from .models.transcript_aggregate_query_response import TranscriptAggregateQueryResponse
1830+
from .models.transcript_aggregation_query import TranscriptAggregationQuery
1831+
from .models.transcript_aggregation_view import TranscriptAggregationView
18151832
from .models.transcript_url import TranscriptUrl
18161833
from .models.transcription_settings import TranscriptionSettings
18171834
from .models.transfer_request import TransferRequest
@@ -1956,6 +1973,8 @@
19561973
from .models.utilization import Utilization
19571974
from .models.validate_address_request import ValidateAddressRequest
19581975
from .models.validate_address_response import ValidateAddressResponse
1976+
from .models.validate_work_plan_messages import ValidateWorkPlanMessages
1977+
from .models.validate_work_plan_response import ValidateWorkPlanResponse
19591978
from .models.validation_limits import ValidationLimits
19601979
from .models.value_wrapper_date import ValueWrapperDate
19611980
from .models.value_wrapper_planning_period_settings import ValueWrapperPlanningPeriodSettings
@@ -2123,11 +2142,16 @@
21232142
from .models.widget_deployment_entity_listing import WidgetDeploymentEntityListing
21242143
from .models.work_plan import WorkPlan
21252144
from .models.work_plan_activity import WorkPlanActivity
2145+
from .models.work_plan_configuration_violation_message import WorkPlanConfigurationViolationMessage
2146+
from .models.work_plan_constraint_conflict_message import WorkPlanConstraintConflictMessage
2147+
from .models.work_plan_constraint_message import WorkPlanConstraintMessage
21262148
from .models.work_plan_list_item_response import WorkPlanListItemResponse
21272149
from .models.work_plan_list_response import WorkPlanListResponse
21282150
from .models.work_plan_reference import WorkPlanReference
21292151
from .models.work_plan_rotation_reference import WorkPlanRotationReference
21302152
from .models.work_plan_shift import WorkPlanShift
2153+
from .models.work_plan_validation_message_argument import WorkPlanValidationMessageArgument
2154+
from .models.work_plan_validation_request import WorkPlanValidationRequest
21312155
from .models.workspace import Workspace
21322156
from .models.workspace_create import WorkspaceCreate
21332157
from .models.workspace_entity_listing import WorkspaceEntityListing

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,78 @@ def get_analytics_conversations_details_job_results(self, job_id, **kwargs):
595595
callback=params.get('callback'))
596596
return response
597597

598+
def get_analytics_conversations_details_jobs_availability(self, **kwargs):
599+
"""
600+
Lookup the datalake availability date and time
601+
602+
603+
This method makes a synchronous HTTP request by default. To make an
604+
asynchronous HTTP request, please define a `callback` function
605+
to be invoked when receiving the response.
606+
>>> def callback_function(response):
607+
>>> pprint(response)
608+
>>>
609+
>>> thread = api.get_analytics_conversations_details_jobs_availability(callback=callback_function)
610+
611+
:param callback function: The callback function
612+
for asynchronous request. (optional)
613+
:return: DataAvailabilityResponse
614+
If the method is called asynchronously,
615+
returns the request thread.
616+
"""
617+
618+
all_params = []
619+
all_params.append('callback')
620+
621+
params = locals()
622+
for key, val in iteritems(params['kwargs']):
623+
if key not in all_params:
624+
raise TypeError(
625+
"Got an unexpected keyword argument '%s'"
626+
" to method get_analytics_conversations_details_jobs_availability" % key
627+
)
628+
params[key] = val
629+
del params['kwargs']
630+
631+
632+
633+
resource_path = '/api/v2/analytics/conversations/details/jobs/availability'.replace('{format}', 'json')
634+
path_params = {}
635+
636+
query_params = {}
637+
638+
header_params = {}
639+
640+
form_params = []
641+
local_var_files = {}
642+
643+
body_params = None
644+
645+
# HTTP header `Accept`
646+
header_params['Accept'] = self.api_client.\
647+
select_header_accept(['application/json'])
648+
if not header_params['Accept']:
649+
del header_params['Accept']
650+
651+
# HTTP header `Content-Type`
652+
header_params['Content-Type'] = self.api_client.\
653+
select_header_content_type(['application/json'])
654+
655+
# Authentication setting
656+
auth_settings = ['PureCloud OAuth']
657+
658+
response = self.api_client.call_api(resource_path, 'GET',
659+
path_params,
660+
query_params,
661+
header_params,
662+
body=body_params,
663+
post_params=form_params,
664+
files=local_var_files,
665+
response_type='DataAvailabilityResponse',
666+
auth_settings=auth_settings,
667+
callback=params.get('callback'))
668+
return response
669+
598670
def get_analytics_reporting_exports(self, **kwargs):
599671
"""
600672
Get all view export requests for a user
@@ -1615,6 +1687,78 @@ def get_analytics_users_details_job_results(self, job_id, **kwargs):
16151687
callback=params.get('callback'))
16161688
return response
16171689

1690+
def get_analytics_users_details_jobs_availability(self, **kwargs):
1691+
"""
1692+
Lookup the datalake availability date and time
1693+
1694+
1695+
This method makes a synchronous HTTP request by default. To make an
1696+
asynchronous HTTP request, please define a `callback` function
1697+
to be invoked when receiving the response.
1698+
>>> def callback_function(response):
1699+
>>> pprint(response)
1700+
>>>
1701+
>>> thread = api.get_analytics_users_details_jobs_availability(callback=callback_function)
1702+
1703+
:param callback function: The callback function
1704+
for asynchronous request. (optional)
1705+
:return: DataAvailabilityResponse
1706+
If the method is called asynchronously,
1707+
returns the request thread.
1708+
"""
1709+
1710+
all_params = []
1711+
all_params.append('callback')
1712+
1713+
params = locals()
1714+
for key, val in iteritems(params['kwargs']):
1715+
if key not in all_params:
1716+
raise TypeError(
1717+
"Got an unexpected keyword argument '%s'"
1718+
" to method get_analytics_users_details_jobs_availability" % key
1719+
)
1720+
params[key] = val
1721+
del params['kwargs']
1722+
1723+
1724+
1725+
resource_path = '/api/v2/analytics/users/details/jobs/availability'.replace('{format}', 'json')
1726+
path_params = {}
1727+
1728+
query_params = {}
1729+
1730+
header_params = {}
1731+
1732+
form_params = []
1733+
local_var_files = {}
1734+
1735+
body_params = None
1736+
1737+
# HTTP header `Accept`
1738+
header_params['Accept'] = self.api_client.\
1739+
select_header_accept(['application/json'])
1740+
if not header_params['Accept']:
1741+
del header_params['Accept']
1742+
1743+
# HTTP header `Content-Type`
1744+
header_params['Content-Type'] = self.api_client.\
1745+
select_header_content_type(['application/json'])
1746+
1747+
# Authentication setting
1748+
auth_settings = ['PureCloud OAuth']
1749+
1750+
response = self.api_client.call_api(resource_path, 'GET',
1751+
path_params,
1752+
query_params,
1753+
header_params,
1754+
body=body_params,
1755+
post_params=form_params,
1756+
files=local_var_files,
1757+
response_type='DataAvailabilityResponse',
1758+
auth_settings=auth_settings,
1759+
callback=params.get('callback'))
1760+
return response
1761+
16181762
def post_analytics_conversation_details_properties(self, conversation_id, body, **kwargs):
16191763
"""
16201764
Index conversation properties
@@ -2635,6 +2779,84 @@ def post_analytics_surveys_aggregates_query(self, body, **kwargs):
26352779
callback=params.get('callback'))
26362780
return response
26372781

2782+
def post_analytics_transcripts_aggregates_query(self, body, **kwargs):
2783+
"""
2784+
Query for transcript aggregates
2785+
2786+
2787+
This method makes a synchronous HTTP request by default. To make an
2788+
asynchronous HTTP request, please define a `callback` function
2789+
to be invoked when receiving the response.
2790+
>>> def callback_function(response):
2791+
>>> pprint(response)
2792+
>>>
2793+
>>> thread = api.post_analytics_transcripts_aggregates_query(body, callback=callback_function)
2794+
2795+
:param callback function: The callback function
2796+
for asynchronous request. (optional)
2797+
:param TranscriptAggregationQuery body: query (required)
2798+
:return: TranscriptAggregateQueryResponse
2799+
If the method is called asynchronously,
2800+
returns the request thread.
2801+
"""
2802+
2803+
all_params = ['body']
2804+
all_params.append('callback')
2805+
2806+
params = locals()
2807+
for key, val in iteritems(params['kwargs']):
2808+
if key not in all_params:
2809+
raise TypeError(
2810+
"Got an unexpected keyword argument '%s'"
2811+
" to method post_analytics_transcripts_aggregates_query" % key
2812+
)
2813+
params[key] = val
2814+
del params['kwargs']
2815+
2816+
# verify the required parameter 'body' is set
2817+
if ('body' not in params) or (params['body'] is None):
2818+
raise ValueError("Missing the required parameter `body` when calling `post_analytics_transcripts_aggregates_query`")
2819+
2820+
2821+
resource_path = '/api/v2/analytics/transcripts/aggregates/query'.replace('{format}', 'json')
2822+
path_params = {}
2823+
2824+
query_params = {}
2825+
2826+
header_params = {}
2827+
2828+
form_params = []
2829+
local_var_files = {}
2830+
2831+
body_params = None
2832+
if 'body' in params:
2833+
body_params = params['body']
2834+
2835+
# HTTP header `Accept`
2836+
header_params['Accept'] = self.api_client.\
2837+
select_header_accept(['application/json'])
2838+
if not header_params['Accept']:
2839+
del header_params['Accept']
2840+
2841+
# HTTP header `Content-Type`
2842+
header_params['Content-Type'] = self.api_client.\
2843+
select_header_content_type(['application/json'])
2844+
2845+
# Authentication setting
2846+
auth_settings = ['PureCloud OAuth']
2847+
2848+
response = self.api_client.call_api(resource_path, 'POST',
2849+
path_params,
2850+
query_params,
2851+
header_params,
2852+
body=body_params,
2853+
post_params=form_params,
2854+
files=local_var_files,
2855+
response_type='TranscriptAggregateQueryResponse',
2856+
auth_settings=auth_settings,
2857+
callback=params.get('callback'))
2858+
return response
2859+
26382860
def post_analytics_users_aggregates_query(self, body, **kwargs):
26392861
"""
26402862
Query for user aggregates

0 commit comments

Comments
 (0)