Skip to content

Commit b3dd79d

Browse files
author
PureCloud Jenkins
committed
99.0.0
1 parent 3a1891c commit b3dd79d

32 files changed

Lines changed: 1009 additions & 258 deletions

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1829,6 +1829,8 @@
18291829
from .models.transcript_aggregate_query_response import TranscriptAggregateQueryResponse
18301830
from .models.transcript_aggregation_query import TranscriptAggregationQuery
18311831
from .models.transcript_aggregation_view import TranscriptAggregationView
1832+
from .models.transcript_conversation_detail_search_criteria import TranscriptConversationDetailSearchCriteria
1833+
from .models.transcript_conversation_detail_search_request import TranscriptConversationDetailSearchRequest
18321834
from .models.transcript_url import TranscriptUrl
18331835
from .models.transcription_settings import TranscriptionSettings
18341836
from .models.transfer_request import TransferRequest

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2077,6 +2077,84 @@ def post_analytics_conversations_details_query(self, body, **kwargs):
20772077
callback=params.get('callback'))
20782078
return response
20792079

2080+
def post_analytics_conversations_transcripts_query(self, body, **kwargs):
2081+
"""
2082+
Search resources.
2083+
2084+
2085+
This method makes a synchronous HTTP request by default. To make an
2086+
asynchronous HTTP request, please define a `callback` function
2087+
to be invoked when receiving the response.
2088+
>>> def callback_function(response):
2089+
>>> pprint(response)
2090+
>>>
2091+
>>> thread = api.post_analytics_conversations_transcripts_query(body, callback=callback_function)
2092+
2093+
:param callback function: The callback function
2094+
for asynchronous request. (optional)
2095+
:param TranscriptConversationDetailSearchRequest body: Search request options (required)
2096+
:return: AnalyticsConversationWithoutAttributesMultiGetResponse
2097+
If the method is called asynchronously,
2098+
returns the request thread.
2099+
"""
2100+
2101+
all_params = ['body']
2102+
all_params.append('callback')
2103+
2104+
params = locals()
2105+
for key, val in iteritems(params['kwargs']):
2106+
if key not in all_params:
2107+
raise TypeError(
2108+
"Got an unexpected keyword argument '%s'"
2109+
" to method post_analytics_conversations_transcripts_query" % key
2110+
)
2111+
params[key] = val
2112+
del params['kwargs']
2113+
2114+
# verify the required parameter 'body' is set
2115+
if ('body' not in params) or (params['body'] is None):
2116+
raise ValueError("Missing the required parameter `body` when calling `post_analytics_conversations_transcripts_query`")
2117+
2118+
2119+
resource_path = '/api/v2/analytics/conversations/transcripts/query'.replace('{format}', 'json')
2120+
path_params = {}
2121+
2122+
query_params = {}
2123+
2124+
header_params = {}
2125+
2126+
form_params = []
2127+
local_var_files = {}
2128+
2129+
body_params = None
2130+
if 'body' in params:
2131+
body_params = params['body']
2132+
2133+
# HTTP header `Accept`
2134+
header_params['Accept'] = self.api_client.\
2135+
select_header_accept(['application/json'])
2136+
if not header_params['Accept']:
2137+
del header_params['Accept']
2138+
2139+
# HTTP header `Content-Type`
2140+
header_params['Content-Type'] = self.api_client.\
2141+
select_header_content_type(['application/json'])
2142+
2143+
# Authentication setting
2144+
auth_settings = ['PureCloud OAuth']
2145+
2146+
response = self.api_client.call_api(resource_path, 'POST',
2147+
path_params,
2148+
query_params,
2149+
header_params,
2150+
body=body_params,
2151+
post_params=form_params,
2152+
files=local_var_files,
2153+
response_type='AnalyticsConversationWithoutAttributesMultiGetResponse',
2154+
auth_settings=auth_settings,
2155+
callback=params.get('callback'))
2156+
return response
2157+
20802158
def post_analytics_evaluations_aggregates_query(self, body, **kwargs):
20812159
"""
20822160
Query for evaluation aggregates

build/PureCloudPlatformClientV2/apis/coaching_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,14 +554,14 @@ def get_coaching_appointments(self, user_ids, **kwargs):
554554
:param callback function: The callback function
555555
for asynchronous request. (optional)
556556
:param list[str] user_ids: The user IDs for which to retrieve appointments (required)
557-
:param str interval: Interval to filter data by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
557+
:param str interval: Interval to filter data by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
558558
:param int page_number: Page number
559559
:param int page_size: Page size
560560
:param list[str] statuses: Appointment Statuses to filter by
561561
:param list[str] facilitator_ids: The facilitator IDs for which to retrieve appointments
562562
:param str sort_order: Sort (by due date) either Asc or Desc
563563
:param list[str] relationships: Relationships to filter by
564-
:param str completion_interval: Appointment completion start and end to filter by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
564+
:param str completion_interval: Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
565565
:param str overdue: Overdue status to filter by
566566
:return: CoachingAppointmentResponseList
567567
If the method is called asynchronously,
@@ -658,14 +658,14 @@ def get_coaching_appointments_me(self, **kwargs):
658658
659659
:param callback function: The callback function
660660
for asynchronous request. (optional)
661-
:param str interval: Interval to filter data by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
661+
:param str interval: Interval to filter data by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
662662
:param int page_number: Page number
663663
:param int page_size: Page size
664664
:param list[str] statuses: Appointment Statuses to filter by
665665
:param list[str] facilitator_ids: The facilitator IDs for which to retrieve appointments
666666
:param str sort_order: Sort (by due date) either Asc or Desc
667667
:param list[str] relationships: Relationships to filter by
668-
:param str completion_interval: Appointment completion start and end to filter by. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
668+
:param str completion_interval: Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
669669
:param str overdue: Overdue status to filter by
670670
:return: CoachingAppointmentResponseList
671671
If the method is called asynchronously,

build/PureCloudPlatformClientV2/apis/search_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,84 @@ def get_voicemail_search(self, q64, **kwargs):
697697
callback=params.get('callback'))
698698
return response
699699

700+
def post_analytics_conversations_transcripts_query(self, body, **kwargs):
701+
"""
702+
Search resources.
703+
704+
705+
This method makes a synchronous HTTP request by default. To make an
706+
asynchronous HTTP request, please define a `callback` function
707+
to be invoked when receiving the response.
708+
>>> def callback_function(response):
709+
>>> pprint(response)
710+
>>>
711+
>>> thread = api.post_analytics_conversations_transcripts_query(body, callback=callback_function)
712+
713+
:param callback function: The callback function
714+
for asynchronous request. (optional)
715+
:param TranscriptConversationDetailSearchRequest body: Search request options (required)
716+
:return: AnalyticsConversationWithoutAttributesMultiGetResponse
717+
If the method is called asynchronously,
718+
returns the request thread.
719+
"""
720+
721+
all_params = ['body']
722+
all_params.append('callback')
723+
724+
params = locals()
725+
for key, val in iteritems(params['kwargs']):
726+
if key not in all_params:
727+
raise TypeError(
728+
"Got an unexpected keyword argument '%s'"
729+
" to method post_analytics_conversations_transcripts_query" % key
730+
)
731+
params[key] = val
732+
del params['kwargs']
733+
734+
# verify the required parameter 'body' is set
735+
if ('body' not in params) or (params['body'] is None):
736+
raise ValueError("Missing the required parameter `body` when calling `post_analytics_conversations_transcripts_query`")
737+
738+
739+
resource_path = '/api/v2/analytics/conversations/transcripts/query'.replace('{format}', 'json')
740+
path_params = {}
741+
742+
query_params = {}
743+
744+
header_params = {}
745+
746+
form_params = []
747+
local_var_files = {}
748+
749+
body_params = None
750+
if 'body' in params:
751+
body_params = params['body']
752+
753+
# HTTP header `Accept`
754+
header_params['Accept'] = self.api_client.\
755+
select_header_accept(['application/json'])
756+
if not header_params['Accept']:
757+
del header_params['Accept']
758+
759+
# HTTP header `Content-Type`
760+
header_params['Content-Type'] = self.api_client.\
761+
select_header_content_type(['application/json'])
762+
763+
# Authentication setting
764+
auth_settings = ['PureCloud OAuth']
765+
766+
response = self.api_client.call_api(resource_path, 'POST',
767+
path_params,
768+
query_params,
769+
header_params,
770+
body=body_params,
771+
post_params=form_params,
772+
files=local_var_files,
773+
response_type='AnalyticsConversationWithoutAttributesMultiGetResponse',
774+
auth_settings=auth_settings,
775+
callback=params.get('callback'))
776+
return response
777+
700778
def post_documentation_gkn_search(self, body, **kwargs):
701779
"""
702780
Search gkn documentation

build/PureCloudPlatformClientV2/apis/user_development_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def get_users_development_activities(self, **kwargs):
6363
for asynchronous request. (optional)
6464
:param list[str] user_id: Specifies the list of user IDs to be queried, up to 100 user IDs. It searches for any relationship for the userId.
6565
:param str module_id: Specifies the ID of the learning module.
66-
:param str interval: Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
67-
:param str completion_interval: Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
66+
:param str interval: Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
67+
:param str completion_interval: Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
6868
:param str overdue: Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned
6969
:param int page_size: Page size
7070
:param int page_number: Page number
@@ -167,8 +167,8 @@ def get_users_development_activities_me(self, **kwargs):
167167
:param callback function: The callback function
168168
for asynchronous request. (optional)
169169
:param str module_id: Specifies the ID of the learning module.
170-
:param str interval: Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
171-
:param str completion_interval: Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
170+
:param str interval: Specifies the dateDue range to be queried. Milliseconds will be truncated. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
171+
:param str completion_interval: Specifies the range of completion dates to be used for filtering. A maximum of 1 year can be specified in the range. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
172172
:param str overdue: Specifies if non-overdue, overdue, or all activities are returned. If not specified, all activities are returned
173173
:param int page_size: Page size
174174
:param int page_number: Page number

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,5 +255,5 @@ def to_debug_report(self):
255255
"OS: {env}\n"\
256256
"Python Version: {pyversion}\n"\
257257
"Version of the API: v2\n"\
258-
"SDK Package Version: 98.0.0".\
258+
"SDK Package Version: 99.0.0".\
259259
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
@@ -1829,6 +1829,8 @@
18291829
from .transcript_aggregate_query_response import TranscriptAggregateQueryResponse
18301830
from .transcript_aggregation_query import TranscriptAggregationQuery
18311831
from .transcript_aggregation_view import TranscriptAggregationView
1832+
from .transcript_conversation_detail_search_criteria import TranscriptConversationDetailSearchCriteria
1833+
from .transcript_conversation_detail_search_request import TranscriptConversationDetailSearchRequest
18321834
from .transcript_url import TranscriptUrl
18331835
from .transcription_settings import TranscriptionSettings
18341836
from .transfer_request import TransferRequest

build/PureCloudPlatformClientV2/models/audit_log_message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __init__(self):
4848
'event_date': 'datetime',
4949
'message': 'MessageInfo',
5050
'action': 'str',
51-
'entity': 'AddressableEntityRef',
51+
'entity': 'DomainEntityRef',
5252
'entity_type': 'str',
5353
'property_changes': 'list[PropertyChange]',
5454
'context': 'dict(str, str)'
@@ -281,7 +281,7 @@ def entity(self):
281281
Entity that was impacted.
282282
283283
:return: The entity of this AuditLogMessage.
284-
:rtype: AddressableEntityRef
284+
:rtype: DomainEntityRef
285285
"""
286286
return self._entity
287287

@@ -292,7 +292,7 @@ def entity(self, entity):
292292
Entity that was impacted.
293293
294294
:param entity: The entity of this AuditLogMessage.
295-
:type: AddressableEntityRef
295+
:type: DomainEntityRef
296296
"""
297297

298298
self._entity = entity

build/PureCloudPlatformClientV2/models/coaching_appointment_aggregate_request.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(self):
6262
def interval(self):
6363
"""
6464
Gets the interval of this CoachingAppointmentAggregateRequest.
65-
Interval to aggregate across. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
65+
Interval to aggregate across. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
6666
6767
:return: The interval of this CoachingAppointmentAggregateRequest.
6868
:rtype: str
@@ -73,7 +73,7 @@ def interval(self):
7373
def interval(self, interval):
7474
"""
7575
Sets the interval of this CoachingAppointmentAggregateRequest.
76-
Interval to aggregate across. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
76+
Interval to aggregate across. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
7777
7878
:param interval: The interval of this CoachingAppointmentAggregateRequest.
7979
:type: str

0 commit comments

Comments
 (0)