Skip to content

Commit 7cf8d3e

Browse files
author
PureCloud Jenkins
committed
217.0.0
1 parent acd507d commit 7cf8d3e

5,341 files changed

Lines changed: 26128 additions & 11865 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.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Documentation can be found at https://mypurecloud.github.io/platform-client-sdk-python/
77

8-
Documentation version PureCloudPlatformClientV2 216.0.0
8+
Documentation version PureCloudPlatformClientV2 217.0.0
99

1010
## Preview APIs
1111

build/.openapi-generator/FILES

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

build/APIData.json

Lines changed: 716 additions & 23 deletions
Large diffs are not rendered by default.

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,8 @@
12991299
from .models.data_action_condition_settings import DataActionConditionSettings
13001300
from .models.data_action_contact_column_field_mapping import DataActionContactColumnFieldMapping
13011301
from .models.data_availability_response import DataAvailabilityResponse
1302+
from .models.data_ingestion_rule_status_patch_request import DataIngestionRuleStatusPatchRequest
1303+
from .models.data_ingestion_rules import DataIngestionRules
13021304
from .models.data_schema import DataSchema
13031305
from .models.data_schema_listing import DataSchemaListing
13041306
from .models.data_table import DataTable
@@ -1455,6 +1457,7 @@
14551457
from .models.division import Division
14561458
from .models.division_entity_ref import DivisionEntityRef
14571459
from .models.division_reference import DivisionReference
1460+
from .models.divisioned_domain_entity_ref import DivisionedDomainEntityRef
14581461
from .models.divs_permitted_entity_listing import DivsPermittedEntityListing
14591462
from .models.dnc_list import DncList
14601463
from .models.dnc_list_create import DncListCreate
@@ -1741,13 +1744,18 @@
17411744
from .models.evaluator_activity_entity_listing import EvaluatorActivityEntityListing
17421745
from .models.event import Event
17431746
from .models.event_action import EventAction
1747+
from .models.event_aggregates_query_request import EventAggregatesQueryRequest
1748+
from .models.event_aggregates_response import EventAggregatesResponse
17441749
from .models.event_condition import EventCondition
17451750
from .models.event_definition import EventDefinition
1751+
from .models.event_definition_aggregates import EventDefinitionAggregates
17461752
from .models.event_definition_listing import EventDefinitionListing
17471753
from .models.event_error import EventError
17481754
from .models.event_listing import EventListing
17491755
from .models.event_log import EventLog
17501756
from .models.event_message import EventMessage
1757+
from .models.event_query_request import EventQueryRequest
1758+
from .models.event_query_response import EventQueryResponse
17511759
from .models.event_session import EventSession
17521760
from .models.event_setting import EventSetting
17531761
from .models.execute_recording_jobs_query import ExecuteRecordingJobsQuery
@@ -1851,6 +1859,10 @@
18511859
from .models.external_segment import ExternalSegment
18521860
from .models.external_source import ExternalSource
18531861
from .models.facebook_app_credentials import FacebookAppCredentials
1862+
from .models.facebook_data_ingestion_rule_request import FacebookDataIngestionRuleRequest
1863+
from .models.facebook_data_ingestion_rule_response import FacebookDataIngestionRuleResponse
1864+
from .models.facebook_data_ingestion_rule_version_response import FacebookDataIngestionRuleVersionResponse
1865+
from .models.facebook_data_ingestion_rule_version_response_entity_listing import FacebookDataIngestionRuleVersionResponseEntityListing
18541866
from .models.facebook_id import FacebookId
18551867
from .models.facebook_integration import FacebookIntegration
18561868
from .models.facebook_integration_entity_listing import FacebookIntegrationEntityListing
@@ -2287,6 +2299,7 @@
22872299
from .models.journey_view_chart_result import JourneyViewChartResult
22882300
from .models.journey_view_element import JourneyViewElement
22892301
from .models.journey_view_element_attributes import JourneyViewElementAttributes
2302+
from .models.journey_view_element_display_attributes import JourneyViewElementDisplayAttributes
22902303
from .models.journey_view_element_filter import JourneyViewElementFilter
22912304
from .models.journey_view_element_filter_number_predicate import JourneyViewElementFilterNumberPredicate
22922305
from .models.journey_view_element_filter_predicate import JourneyViewElementFilterPredicate
@@ -2872,6 +2885,10 @@
28722885
from .models.open_action_fields import OpenActionFields
28732886
from .models.open_action_properties import OpenActionProperties
28742887
from .models.open_content_attachment import OpenContentAttachment
2888+
from .models.open_data_ingestion_rule_request import OpenDataIngestionRuleRequest
2889+
from .models.open_data_ingestion_rule_response import OpenDataIngestionRuleResponse
2890+
from .models.open_data_ingestion_rule_version_response import OpenDataIngestionRuleVersionResponse
2891+
from .models.open_data_ingestion_rule_version_response_entity_listing import OpenDataIngestionRuleVersionResponseEntityListing
28752892
from .models.open_event import OpenEvent
28762893
from .models.open_event_normalized_message import OpenEventNormalizedMessage
28772894
from .models.open_inbound_message_content import OpenInboundMessageContent
@@ -2890,6 +2907,7 @@
28902907
from .models.open_message_normalized_message import OpenMessageNormalizedMessage
28912908
from .models.open_messaging_channel import OpenMessagingChannel
28922909
from .models.open_messaging_from_recipient import OpenMessagingFromRecipient
2910+
from .models.open_messaging_identity_resolution_config import OpenMessagingIdentityResolutionConfig
28932911
from .models.open_messaging_to_recipient import OpenMessagingToRecipient
28942912
from .models.open_normalized_message import OpenNormalizedMessage
28952913
from .models.open_receipt_normalized_message import OpenReceiptNormalizedMessage
@@ -2899,6 +2917,7 @@
28992917
from .models.operation_creator_user_response import OperationCreatorUserResponse
29002918
from .models.operation_listing import OperationListing
29012919
from .models.operation_response import OperationResponse
2920+
from .models.operational_event import OperationalEvent
29022921
from .models.operational_event_notification_topic_event_entity import OperationalEventNotificationTopicEventEntity
29032922
from .models.operational_event_notification_topic_operational_event_notification import OperationalEventNotificationTopicOperationalEventNotification
29042923
from .models.operator_position import OperatorPosition
@@ -3861,6 +3880,10 @@
38613880
from .models.social_expression import SocialExpression
38623881
from .models.social_handle import SocialHandle
38633882
from .models.social_keyword import SocialKeyword
3883+
from .models.social_topic_patch_request import SocialTopicPatchRequest
3884+
from .models.social_topic_request import SocialTopicRequest
3885+
from .models.social_topic_response import SocialTopicResponse
3886+
from .models.social_topic_response_entity_listing import SocialTopicResponseEntityListing
38643887
from .models.sort_item import SortItem
38653888
from .models.source import Source
38663889
from .models.source_base_response import SourceBaseResponse
@@ -3936,6 +3959,7 @@
39363959
from .models.support_center_hero_style import SupportCenterHeroStyle
39373960
from .models.support_center_image import SupportCenterImage
39383961
from .models.support_center_image_source import SupportCenterImageSource
3962+
from .models.support_center_label_filter import SupportCenterLabelFilter
39393963
from .models.support_center_module_setting import SupportCenterModuleSetting
39403964
from .models.support_center_screen import SupportCenterScreen
39413965
from .models.support_center_settings import SupportCenterSettings
@@ -4190,6 +4214,10 @@
41904214
from .models.tts_settings import TtsSettings
41914215
from .models.tts_voice_entity import TtsVoiceEntity
41924216
from .models.tts_voice_entity_listing import TtsVoiceEntityListing
4217+
from .models.twitter_data_ingestion_rule_request import TwitterDataIngestionRuleRequest
4218+
from .models.twitter_data_ingestion_rule_response import TwitterDataIngestionRuleResponse
4219+
from .models.twitter_data_ingestion_rule_version_response import TwitterDataIngestionRuleVersionResponse
4220+
from .models.twitter_data_ingestion_rule_version_response_entity_listing import TwitterDataIngestionRuleVersionResponseEntityListing
41934221
from .models.twitter_id import TwitterId
41944222
from .models.typing_setting import TypingSetting
41954223
from .models.uci10n import UCI10n
@@ -4830,6 +4858,7 @@
48304858
from .models.workitem_schema import WorkitemSchema
48314859
from .models.workitem_scored_agent import WorkitemScoredAgent
48324860
from .models.workitem_scored_agent_request import WorkitemScoredAgentRequest
4861+
from .models.workitem_script_reference import WorkitemScriptReference
48334862
from .models.workitem_status import WorkitemStatus
48344863
from .models.workitem_status_create import WorkitemStatusCreate
48354864
from .models.workitem_status_filter import WorkitemStatusFilter
@@ -4964,6 +4993,7 @@
49644993
from .apis.scripts_api import ScriptsApi
49654994
from .apis.search_api import SearchApi
49664995
from .apis.settings_api import SettingsApi
4996+
from .apis.social_media_api import SocialMediaApi
49674997
from .apis.speech_text_analytics_api import SpeechTextAnalyticsApi
49684998
from .apis.stations_api import StationsApi
49694999
from .apis.suggest_api import SuggestApi
@@ -5042,6 +5072,7 @@
50425072
from .apis.scripts_api import ScriptsApi
50435073
from .apis.search_api import SearchApi
50445074
from .apis.settings_api import SettingsApi
5075+
from .apis.social_media_api import SocialMediaApi
50455076
from .apis.speech_text_analytics_api import SpeechTextAnalyticsApi
50465077
from .apis.stations_api import StationsApi
50475078
from .apis.suggest_api import SuggestApi

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def __call_api(self, resource_path, method,
392392
header_params['Cookie'] = self.cookie
393393
if header_params:
394394
header_params = self.sanitize_for_serialization(header_params)
395-
header_params['purecloud-sdk'] = '216.0.0'
395+
header_params['purecloud-sdk'] = '217.0.0'
396396

397397
# path parameters
398398
if path_params:
@@ -540,7 +540,13 @@ def deserialize(self, response, response_type):
540540

541541
# fetch data from response object
542542
try:
543-
data = json.loads(response.data)
543+
content_type = response.getheader('Content-Type')
544+
if content_type == 'application/json' or content_type == 'application/scim+json':
545+
data = json.loads(response.data)
546+
elif content_type is not None and content_type.startswith('text/'):
547+
data = response.data
548+
else:
549+
data = json.loads(response.data)
544550
except ValueError:
545551
data = response.data
546552

build/PureCloudPlatformClientV2/apis/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
from .scripts_api import ScriptsApi
6060
from .search_api import SearchApi
6161
from .settings_api import SettingsApi
62+
from .social_media_api import SocialMediaApi
6263
from .speech_text_analytics_api import SpeechTextAnalyticsApi
6364
from .stations_api import StationsApi
6465
from .suggest_api import SuggestApi
@@ -137,6 +138,7 @@
137138
from .scripts_api import ScriptsApi
138139
from .search_api import SearchApi
139140
from .settings_api import SettingsApi
141+
from .social_media_api import SocialMediaApi
140142
from .speech_text_analytics_api import SpeechTextAnalyticsApi
141143
from .stations_api import StationsApi
142144
from .suggest_api import SuggestApi

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ def get_analytics_agentcopilots_aggregates_job_results(self, job_id: str, **kwar
638638
def get_analytics_botflow_divisions_reportingturns(self, bot_flow_id: str, **kwargs) -> 'ReportingTurnsResponse':
639639
"""
640640
Get Reporting Turns (division aware).
641-
Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
641+
Returns the reporting turns for the specified flow, filtered by the clients divisions and grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. The 'nextUri' value in the response is already URL encoded (so it doesn't need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
642642
643643
This method makes a synchronous HTTP request by default. To make an
644644
asynchronous HTTP request, please define a `callback` function
@@ -738,7 +738,7 @@ def get_analytics_botflow_divisions_reportingturns(self, bot_flow_id: str, **kwa
738738
def get_analytics_botflow_reportingturns(self, bot_flow_id: str, **kwargs) -> 'ReportingTurnsResponse':
739739
"""
740740
Get Reporting Turns.
741-
Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
741+
Deprecated: Please use GET /analytics/botflows/{botFlowId}/divisions/reportingturns instead. Returns the reporting turns grouped by session, in reverse chronological order from the date the session was created, with the reporting turns from the most recent session appearing at the start of the list. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. The 'nextUri' value in the response is already URL encoded (so it doesn't need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
742742
743743
This method makes a synchronous HTTP request by default. To make an
744744
asynchronous HTTP request, please define a `callback` function
@@ -837,7 +837,7 @@ def get_analytics_botflow_reportingturns(self, bot_flow_id: str, **kwargs) -> 'R
837837
def get_analytics_botflow_sessions(self, bot_flow_id: str, **kwargs) -> 'SessionsResponse':
838838
"""
839839
Get Bot Flow Sessions.
840-
Returns the bot flow sessions in reverse chronological order from the date they were created. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
840+
Returns the bot flow sessions in reverse chronological order from the date they were created. It is expected that the client will URL encode the request URI once only. For pagination, clients should keep sending requests using the value of 'nextUri' in the response, until it's no longer present, only then have all items have been returned. The 'nextUri' value in the response is already URL encoded (so it doesn't need to be encoded again). Note: resources returned by this endpoint are not persisted indefinitely, as they are deleted after approximately, but not before, 10 days.
841841
842842
This method makes a synchronous HTTP request by default. To make an
843843
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2474,7 +2474,6 @@ def get_conversation_summaries(self, conversation_id: str, **kwargs) -> 'Convers
24742474
"""
24752475
Get the summaries of the conversation.
24762476

2477-
get_conversation_summaries is a preview method and is subject to both breaking and non-breaking changes at any time without notice
24782477

24792478
This method makes a synchronous HTTP request by default. To make an
24802479
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/knowledge_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1559,12 +1559,13 @@ def get_knowledge_integration_options(self, integration_id: str, **kwargs) -> 'K
15591559
:param callback function: The callback function
15601560
for asynchronous request. (optional)
15611561
:param str integration_id: Integration ID (required)
1562+
:param list[str] knowledge_base_ids: Narrowing down filtering option results by knowledge base.
15621563
:return: KnowledgeIntegrationOptionsResponse
15631564
If the method is called asynchronously,
15641565
returns the request thread.
15651566
"""
15661567

1567-
all_params = ['integration_id']
1568+
all_params = ['integration_id', 'knowledge_base_ids']
15681569
all_params.append('callback')
15691570

15701571
params = locals()
@@ -1588,6 +1589,8 @@ def get_knowledge_integration_options(self, integration_id: str, **kwargs) -> 'K
15881589
path_params['integrationId'] = params['integration_id']
15891590

15901591
query_params = {}
1592+
if 'knowledge_base_ids' in params:
1593+
query_params['knowledgeBaseIds'] = params['knowledge_base_ids']
15911594

15921595
header_params = {}
15931596

0 commit comments

Comments
 (0)