Skip to content

Commit

Permalink
217.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PureCloud Jenkins committed Dec 6, 2024
1 parent acd507d commit 7cf8d3e
Show file tree
Hide file tree
Showing 5,341 changed files with 26,128 additions and 11,865 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

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

Documentation version PureCloudPlatformClientV2 216.0.0
Documentation version PureCloudPlatformClientV2 217.0.0

## Preview APIs

Expand Down
89 changes: 89 additions & 0 deletions build/.openapi-generator/FILES

Large diffs are not rendered by default.

739 changes: 716 additions & 23 deletions build/APIData.json

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions build/PureCloudPlatformClientV2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,8 @@
from .models.data_action_condition_settings import DataActionConditionSettings
from .models.data_action_contact_column_field_mapping import DataActionContactColumnFieldMapping
from .models.data_availability_response import DataAvailabilityResponse
from .models.data_ingestion_rule_status_patch_request import DataIngestionRuleStatusPatchRequest
from .models.data_ingestion_rules import DataIngestionRules
from .models.data_schema import DataSchema
from .models.data_schema_listing import DataSchemaListing
from .models.data_table import DataTable
Expand Down Expand Up @@ -1455,6 +1457,7 @@
from .models.division import Division
from .models.division_entity_ref import DivisionEntityRef
from .models.division_reference import DivisionReference
from .models.divisioned_domain_entity_ref import DivisionedDomainEntityRef
from .models.divs_permitted_entity_listing import DivsPermittedEntityListing
from .models.dnc_list import DncList
from .models.dnc_list_create import DncListCreate
Expand Down Expand Up @@ -1741,13 +1744,18 @@
from .models.evaluator_activity_entity_listing import EvaluatorActivityEntityListing
from .models.event import Event
from .models.event_action import EventAction
from .models.event_aggregates_query_request import EventAggregatesQueryRequest
from .models.event_aggregates_response import EventAggregatesResponse
from .models.event_condition import EventCondition
from .models.event_definition import EventDefinition
from .models.event_definition_aggregates import EventDefinitionAggregates
from .models.event_definition_listing import EventDefinitionListing
from .models.event_error import EventError
from .models.event_listing import EventListing
from .models.event_log import EventLog
from .models.event_message import EventMessage
from .models.event_query_request import EventQueryRequest
from .models.event_query_response import EventQueryResponse
from .models.event_session import EventSession
from .models.event_setting import EventSetting
from .models.execute_recording_jobs_query import ExecuteRecordingJobsQuery
Expand Down Expand Up @@ -1851,6 +1859,10 @@
from .models.external_segment import ExternalSegment
from .models.external_source import ExternalSource
from .models.facebook_app_credentials import FacebookAppCredentials
from .models.facebook_data_ingestion_rule_request import FacebookDataIngestionRuleRequest
from .models.facebook_data_ingestion_rule_response import FacebookDataIngestionRuleResponse
from .models.facebook_data_ingestion_rule_version_response import FacebookDataIngestionRuleVersionResponse
from .models.facebook_data_ingestion_rule_version_response_entity_listing import FacebookDataIngestionRuleVersionResponseEntityListing
from .models.facebook_id import FacebookId
from .models.facebook_integration import FacebookIntegration
from .models.facebook_integration_entity_listing import FacebookIntegrationEntityListing
Expand Down Expand Up @@ -2287,6 +2299,7 @@
from .models.journey_view_chart_result import JourneyViewChartResult
from .models.journey_view_element import JourneyViewElement
from .models.journey_view_element_attributes import JourneyViewElementAttributes
from .models.journey_view_element_display_attributes import JourneyViewElementDisplayAttributes
from .models.journey_view_element_filter import JourneyViewElementFilter
from .models.journey_view_element_filter_number_predicate import JourneyViewElementFilterNumberPredicate
from .models.journey_view_element_filter_predicate import JourneyViewElementFilterPredicate
Expand Down Expand Up @@ -2872,6 +2885,10 @@
from .models.open_action_fields import OpenActionFields
from .models.open_action_properties import OpenActionProperties
from .models.open_content_attachment import OpenContentAttachment
from .models.open_data_ingestion_rule_request import OpenDataIngestionRuleRequest
from .models.open_data_ingestion_rule_response import OpenDataIngestionRuleResponse
from .models.open_data_ingestion_rule_version_response import OpenDataIngestionRuleVersionResponse
from .models.open_data_ingestion_rule_version_response_entity_listing import OpenDataIngestionRuleVersionResponseEntityListing
from .models.open_event import OpenEvent
from .models.open_event_normalized_message import OpenEventNormalizedMessage
from .models.open_inbound_message_content import OpenInboundMessageContent
Expand All @@ -2890,6 +2907,7 @@
from .models.open_message_normalized_message import OpenMessageNormalizedMessage
from .models.open_messaging_channel import OpenMessagingChannel
from .models.open_messaging_from_recipient import OpenMessagingFromRecipient
from .models.open_messaging_identity_resolution_config import OpenMessagingIdentityResolutionConfig
from .models.open_messaging_to_recipient import OpenMessagingToRecipient
from .models.open_normalized_message import OpenNormalizedMessage
from .models.open_receipt_normalized_message import OpenReceiptNormalizedMessage
Expand All @@ -2899,6 +2917,7 @@
from .models.operation_creator_user_response import OperationCreatorUserResponse
from .models.operation_listing import OperationListing
from .models.operation_response import OperationResponse
from .models.operational_event import OperationalEvent
from .models.operational_event_notification_topic_event_entity import OperationalEventNotificationTopicEventEntity
from .models.operational_event_notification_topic_operational_event_notification import OperationalEventNotificationTopicOperationalEventNotification
from .models.operator_position import OperatorPosition
Expand Down Expand Up @@ -3861,6 +3880,10 @@
from .models.social_expression import SocialExpression
from .models.social_handle import SocialHandle
from .models.social_keyword import SocialKeyword
from .models.social_topic_patch_request import SocialTopicPatchRequest
from .models.social_topic_request import SocialTopicRequest
from .models.social_topic_response import SocialTopicResponse
from .models.social_topic_response_entity_listing import SocialTopicResponseEntityListing
from .models.sort_item import SortItem
from .models.source import Source
from .models.source_base_response import SourceBaseResponse
Expand Down Expand Up @@ -3936,6 +3959,7 @@
from .models.support_center_hero_style import SupportCenterHeroStyle
from .models.support_center_image import SupportCenterImage
from .models.support_center_image_source import SupportCenterImageSource
from .models.support_center_label_filter import SupportCenterLabelFilter
from .models.support_center_module_setting import SupportCenterModuleSetting
from .models.support_center_screen import SupportCenterScreen
from .models.support_center_settings import SupportCenterSettings
Expand Down Expand Up @@ -4190,6 +4214,10 @@
from .models.tts_settings import TtsSettings
from .models.tts_voice_entity import TtsVoiceEntity
from .models.tts_voice_entity_listing import TtsVoiceEntityListing
from .models.twitter_data_ingestion_rule_request import TwitterDataIngestionRuleRequest
from .models.twitter_data_ingestion_rule_response import TwitterDataIngestionRuleResponse
from .models.twitter_data_ingestion_rule_version_response import TwitterDataIngestionRuleVersionResponse
from .models.twitter_data_ingestion_rule_version_response_entity_listing import TwitterDataIngestionRuleVersionResponseEntityListing
from .models.twitter_id import TwitterId
from .models.typing_setting import TypingSetting
from .models.uci10n import UCI10n
Expand Down Expand Up @@ -4830,6 +4858,7 @@
from .models.workitem_schema import WorkitemSchema
from .models.workitem_scored_agent import WorkitemScoredAgent
from .models.workitem_scored_agent_request import WorkitemScoredAgentRequest
from .models.workitem_script_reference import WorkitemScriptReference
from .models.workitem_status import WorkitemStatus
from .models.workitem_status_create import WorkitemStatusCreate
from .models.workitem_status_filter import WorkitemStatusFilter
Expand Down Expand Up @@ -4964,6 +4993,7 @@
from .apis.scripts_api import ScriptsApi
from .apis.search_api import SearchApi
from .apis.settings_api import SettingsApi
from .apis.social_media_api import SocialMediaApi
from .apis.speech_text_analytics_api import SpeechTextAnalyticsApi
from .apis.stations_api import StationsApi
from .apis.suggest_api import SuggestApi
Expand Down Expand Up @@ -5042,6 +5072,7 @@
from .apis.scripts_api import ScriptsApi
from .apis.search_api import SearchApi
from .apis.settings_api import SettingsApi
from .apis.social_media_api import SocialMediaApi
from .apis.speech_text_analytics_api import SpeechTextAnalyticsApi
from .apis.stations_api import StationsApi
from .apis.suggest_api import SuggestApi
Expand Down
10 changes: 8 additions & 2 deletions build/PureCloudPlatformClientV2/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ def __call_api(self, resource_path, method,
header_params['Cookie'] = self.cookie
if header_params:
header_params = self.sanitize_for_serialization(header_params)
header_params['purecloud-sdk'] = '216.0.0'
header_params['purecloud-sdk'] = '217.0.0'

# path parameters
if path_params:
Expand Down Expand Up @@ -540,7 +540,13 @@ def deserialize(self, response, response_type):

# fetch data from response object
try:
data = json.loads(response.data)
content_type = response.getheader('Content-Type')
if content_type == 'application/json' or content_type == 'application/scim+json':
data = json.loads(response.data)
elif content_type is not None and content_type.startswith('text/'):
data = response.data
else:
data = json.loads(response.data)
except ValueError:
data = response.data

Expand Down
2 changes: 2 additions & 0 deletions build/PureCloudPlatformClientV2/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
from .scripts_api import ScriptsApi
from .search_api import SearchApi
from .settings_api import SettingsApi
from .social_media_api import SocialMediaApi
from .speech_text_analytics_api import SpeechTextAnalyticsApi
from .stations_api import StationsApi
from .suggest_api import SuggestApi
Expand Down Expand Up @@ -137,6 +138,7 @@
from .scripts_api import ScriptsApi
from .search_api import SearchApi
from .settings_api import SettingsApi
from .social_media_api import SocialMediaApi
from .speech_text_analytics_api import SpeechTextAnalyticsApi
from .stations_api import StationsApi
from .suggest_api import SuggestApi
Expand Down
6 changes: 3 additions & 3 deletions build/PureCloudPlatformClientV2/apis/analytics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ def get_analytics_agentcopilots_aggregates_job_results(self, job_id: str, **kwar
def get_analytics_botflow_divisions_reportingturns(self, bot_flow_id: str, **kwargs) -> 'ReportingTurnsResponse':
"""
Get Reporting Turns (division aware).
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.
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.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
Expand Down Expand Up @@ -738,7 +738,7 @@ def get_analytics_botflow_divisions_reportingturns(self, bot_flow_id: str, **kwa
def get_analytics_botflow_reportingturns(self, bot_flow_id: str, **kwargs) -> 'ReportingTurnsResponse':
"""
Get Reporting Turns.
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.
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.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
Expand Down Expand Up @@ -837,7 +837,7 @@ def get_analytics_botflow_reportingturns(self, bot_flow_id: str, **kwargs) -> 'R
def get_analytics_botflow_sessions(self, bot_flow_id: str, **kwargs) -> 'SessionsResponse':
"""
Get Bot Flow Sessions.
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.
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.
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
Expand Down
1 change: 0 additions & 1 deletion build/PureCloudPlatformClientV2/apis/conversations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2474,7 +2474,6 @@ def get_conversation_summaries(self, conversation_id: str, **kwargs) -> 'Convers
"""
Get the summaries of the conversation.

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

This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please define a `callback` function
Expand Down
5 changes: 4 additions & 1 deletion build/PureCloudPlatformClientV2/apis/knowledge_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1559,12 +1559,13 @@ def get_knowledge_integration_options(self, integration_id: str, **kwargs) -> 'K
:param callback function: The callback function
for asynchronous request. (optional)
:param str integration_id: Integration ID (required)
:param list[str] knowledge_base_ids: Narrowing down filtering option results by knowledge base.
:return: KnowledgeIntegrationOptionsResponse
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['integration_id']
all_params = ['integration_id', 'knowledge_base_ids']
all_params.append('callback')

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

query_params = {}
if 'knowledge_base_ids' in params:
query_params['knowledgeBaseIds'] = params['knowledge_base_ids']

header_params = {}

Expand Down
Loading

0 comments on commit 7cf8d3e

Please sign in to comment.