Skip to content

Commit cd3cd96

Browse files
author
PureCloud Jenkins
committed
257.0.0
1 parent 4a090bf commit cd3cd96

6,459 files changed

Lines changed: 15746 additions & 7116 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 256.0.0
8+
Documentation version PureCloudPlatformClientV2 257.0.0
99

1010
## Preview APIs
1111

build/.openapi-generator/FILES

Lines changed: 60 additions & 10 deletions
Large diffs are not rendered by default.

build/APIData.json

Lines changed: 178 additions & 53 deletions
Large diffs are not rendered by default.

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,7 @@
457457
from .models.batch_download_job_submission_result import BatchDownloadJobSubmissionResult
458458
from .models.batch_download_request import BatchDownloadRequest
459459
from .models.batch_event_response import BatchEventResponse
460+
from .models.batch_predictive_routing_custom_kpi_attribution_event_request import BatchPredictiveRoutingCustomKpiAttributionEventRequest
460461
from .models.batch_user_presence_event_request import BatchUserPresenceEventRequest
461462
from .models.batch_user_routing_status_event_request import BatchUserRoutingStatusEventRequest
462463
from .models.benefit_assessment import BenefitAssessment
@@ -841,6 +842,8 @@
841842
from .models.caseplan_data_schema import CaseplanDataSchema
842843
from .models.caseplan_data_schema_listing import CaseplanDataSchemaListing
843844
from .models.caseplan_listing import CaseplanListing
845+
from .models.caseplan_query_entity_listing import CaseplanQueryEntityListing
846+
from .models.caseplan_query_request import CaseplanQueryRequest
844847
from .models.caseplan_reference import CaseplanReference
845848
from .models.caseplan_update import CaseplanUpdate
846849
from .models.categories_entity_listing import CategoriesEntityListing
@@ -1257,6 +1260,7 @@
12571260
from .models.conversation_content_list_picker_item import ConversationContentListPickerItem
12581261
from .models.conversation_content_list_picker_section import ConversationContentListPickerSection
12591262
from .models.conversation_content_location import ConversationContentLocation
1263+
from .models.conversation_content_notification_response import ConversationContentNotificationResponse
12601264
from .models.conversation_content_notification_template import ConversationContentNotificationTemplate
12611265
from .models.conversation_content_payment_request import ConversationContentPaymentRequest
12621266
from .models.conversation_content_payment_response import ConversationContentPaymentResponse
@@ -1575,8 +1579,11 @@
15751579
from .models.copilot_async_aggregation_query import CopilotAsyncAggregationQuery
15761580
from .models.copilot_condition import CopilotCondition
15771581
from .models.copilot_context import CopilotContext
1582+
from .models.copilot_context_entity import CopilotContextEntity
15781583
from .models.copilot_context_filter import CopilotContextFilter
15791584
from .models.copilot_context_value import CopilotContextValue
1585+
from .models.copilot_context_value_item import CopilotContextValueItem
1586+
from .models.copilot_context_values import CopilotContextValues
15801587
from .models.copilot_fallback_action import CopilotFallbackAction
15811588
from .models.copilot_nlu_domain import CopilotNluDomain
15821589
from .models.copilot_nlu_domain_version import CopilotNluDomainVersion
@@ -1865,6 +1872,9 @@
18651872
from .models.dialer_campaign_schedule_config_change_schedule_interval import DialerCampaignScheduleConfigChangeScheduleInterval
18661873
from .models.dialer_campaign_schedule_config_change_schedule_recurrence import DialerCampaignScheduleConfigChangeScheduleRecurrence
18671874
from .models.dialer_campaign_schedule_config_change_uri_reference import DialerCampaignScheduleConfigChangeUriReference
1875+
from .models.dialer_campaign_skill_combination_stats_event_campaign_skill_combination_stats import DialerCampaignSkillCombinationStatsEventCampaignSkillCombinationStats
1876+
from .models.dialer_campaign_skill_combination_stats_event_skill_combination_detail_notification import DialerCampaignSkillCombinationStatsEventSkillCombinationDetailNotification
1877+
from .models.dialer_campaign_skill_combination_stats_event_uri_reference import DialerCampaignSkillCombinationStatsEventUriReference
18681878
from .models.dialer_contact import DialerContact
18691879
from .models.dialer_contact_id import DialerContactId
18701880
from .models.dialer_contactlist_config_change_contact_list import DialerContactlistConfigChangeContactList
@@ -2731,6 +2741,7 @@
27312741
from .models.ivr_division_view_entity_listing import IVRDivisionViewEntityListing
27322742
from .models.ivr_entity_listing import IVREntityListing
27332743
from .models.ivr_identity_resolution_config import IVRIdentityResolutionConfig
2744+
from .models.icon import Icon
27342745
from .models.identifier_claim_request import IdentifierClaimRequest
27352746
from .models.identity_now import IdentityNow
27362747
from .models.identity_provider import IdentityProvider
@@ -3308,6 +3319,7 @@
33083319
from .models.list_picker import ListPicker
33093320
from .models.list_picker_item import ListPickerItem
33103321
from .models.list_picker_section import ListPickerSection
3322+
from .models.list_values import ListValues
33113323
from .models.list_wrapper_agent_work_plan_field import ListWrapperAgentWorkPlanField
33123324
from .models.list_wrapper_alternative_shift_bu_settings_activity_category import ListWrapperAlternativeShiftBuSettingsActivityCategory
33133325
from .models.list_wrapper_alternative_shift_bu_settings_granularity import ListWrapperAlternativeShiftBuSettingsGranularity
@@ -3796,7 +3808,11 @@
37963808
from .models.outcome_scores_result import OutcomeScoresResult
37973809
from .models.outgoing_message_request import OutgoingMessageRequest
37983810
from .models.outgoing_message_response import OutgoingMessageResponse
3811+
from .models.outlier import Outlier
3812+
from .models.outlier_data import OutlierData
37993813
from .models.outlier_info import OutlierInfo
3814+
from .models.outlier_result_body import OutlierResultBody
3815+
from .models.outlier_result_template import OutlierResultTemplate
38003816
from .models.output_value import OutputValue
38013817
from .models.overall_best_points import OverallBestPoints
38023818
from .models.overall_best_points_item import OverallBestPointsItem
@@ -3940,6 +3956,7 @@
39403956
from .models.post_text_response import PostTextResponse
39413957
from .models.prediction_results import PredictionResults
39423958
from .models.predictive_routing import PredictiveRouting
3959+
from .models.predictive_routing_custom_kpi_attribution_event import PredictiveRoutingCustomKpiAttributionEvent
39433960
from .models.predictor import Predictor
39443961
from .models.predictor_listing import PredictorListing
39453962
from .models.predictor_model import PredictorModel
@@ -4852,6 +4869,7 @@
48524869
from .models.social_media_async_detail_query_response import SocialMediaAsyncDetailQueryResponse
48534870
from .models.social_media_detail_data_container import SocialMediaDetailDataContainer
48544871
from .models.social_media_detail_message_container import SocialMediaDetailMessageContainer
4872+
from .models.social_media_engagement import SocialMediaEngagement
48554873
from .models.social_media_message_data import SocialMediaMessageData
48564874
from .models.social_media_message_escalation_info import SocialMediaMessageEscalationInfo
48574875
from .models.social_media_query_clause import SocialMediaQueryClause
@@ -5127,6 +5145,7 @@
51275145
from .models.text_bots_rich_media_input_event import TextBotsRichMediaInputEvent
51285146
from .models.text_message_listing import TextMessageListing
51295147
from .models.text_style_properties import TextStyleProperties
5148+
from .models.third_party_suggestion import ThirdPartySuggestion
51305149
from .models.ticker import Ticker
51315150
from .models.time_allowed import TimeAllowed
51325151
from .models.time_and_date_sub_condition import TimeAndDateSubCondition
@@ -5623,7 +5642,9 @@
56235642
from .models.v3_knowledge_search_client_application import V3KnowledgeSearchClientApplication
56245643
from .models.v3_source_create_request import V3SourceCreateRequest
56255644
from .models.v3_source_detailed_response import V3SourceDetailedResponse
5626-
from .models.v3_source_detailed_with_error_response import V3SourceDetailedWithErrorResponse
5645+
from .models.v3_source_expandable_list_response import V3SourceExpandableListResponse
5646+
from .models.v3_source_expandable_listing import V3SourceExpandableListing
5647+
from .models.v3_source_expandable_response import V3SourceExpandableResponse
56275648
from .models.v3_source_filter import V3SourceFilter
56285649
from .models.v3_source_filter_details import V3SourceFilterDetails
56295650
from .models.v3_source_folder_details import V3SourceFolderDetails
@@ -5632,8 +5653,6 @@
56325653
from .models.v3_source_schedule_settings import V3SourceScheduleSettings
56335654
from .models.v3_source_site_details import V3SourceSiteDetails
56345655
from .models.v3_source_update_request import V3SourceUpdateRequest
5635-
from .models.v3_source_with_error_listing import V3SourceWithErrorListing
5636-
from .models.v3_source_with_error_response import V3SourceWithErrorResponse
56375656
from .models.v3_start_manual_sync_request import V3StartManualSyncRequest
56385657
from .models.v3_synchronization import V3Synchronization
56395658
from .models.v3_synchronization_listing import V3SynchronizationListing
@@ -5772,15 +5791,17 @@
57725791
from .models.wem_coaching_schedule_slot_job_complete_topic_coaching_schedule_slot_job_results_slot_schedule import WemCoachingScheduleSlotJobCompleteTopicCoachingScheduleSlotJobResultsSlotSchedule
57735792
from .models.wem_coaching_user_notification_topic_coaching_appointment_reference import WemCoachingUserNotificationTopicCoachingAppointmentReference
57745793
from .models.wem_coaching_user_notification_topic_coaching_user_notification import WemCoachingUserNotificationTopicCoachingUserNotification
5794+
from .models.wfm_activity_plan_job_complete_topic_activity_plan_job_complete_notification import WfmActivityPlanJobCompleteTopicActivityPlanJobCompleteNotification
57755795
from .models.wfm_activity_plan_job_complete_topic_activity_plan_job_exception import WfmActivityPlanJobCompleteTopicActivityPlanJobException
5776-
from .models.wfm_activity_plan_job_complete_topic_activity_plan_occurrence_deletion_job_complete_notification import WfmActivityPlanJobCompleteTopicActivityPlanOccurrenceDeletionJobCompleteNotification
57775796
from .models.wfm_activity_plan_job_complete_topic_activity_plan_occurrence_reference import WfmActivityPlanJobCompleteTopicActivityPlanOccurrenceReference
57785797
from .models.wfm_activity_plan_job_complete_topic_activity_plan_reference import WfmActivityPlanJobCompleteTopicActivityPlanReference
5798+
from .models.wfm_activity_plan_job_complete_topic_activity_plan_session_reference import WfmActivityPlanJobCompleteTopicActivityPlanSessionReference
57795799
from .models.wfm_activity_plan_job_complete_topic_error_body import WfmActivityPlanJobCompleteTopicErrorBody
5800+
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_job_complete_notification import WfmActivityPlanRunJobCompleteTopicActivityPlanJobCompleteNotification
57805801
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_job_exception import WfmActivityPlanRunJobCompleteTopicActivityPlanJobException
57815802
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_occurrence_reference import WfmActivityPlanRunJobCompleteTopicActivityPlanOccurrenceReference
57825803
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_reference import WfmActivityPlanRunJobCompleteTopicActivityPlanReference
5783-
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_run_job_complete_notification import WfmActivityPlanRunJobCompleteTopicActivityPlanRunJobCompleteNotification
5804+
from .models.wfm_activity_plan_run_job_complete_topic_activity_plan_session_reference import WfmActivityPlanRunJobCompleteTopicActivityPlanSessionReference
57845805
from .models.wfm_activity_plan_run_job_complete_topic_error_body import WfmActivityPlanRunJobCompleteTopicErrorBody
57855806
from .models.wfm_adherence_explanation_job_complete_topic_adherence_explanation_changed_notification import WfmAdherenceExplanationJobCompleteTopicAdherenceExplanationChangedNotification
57865807
from .models.wfm_adherence_explanation_job_complete_topic_adherence_explanation_job_notification import WfmAdherenceExplanationJobCompleteTopicAdherenceExplanationJobNotification

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def __call_api(self, resource_path, method,
420420
header_params['Cookie'] = self.cookie
421421
if header_params:
422422
header_params = self.sanitize_params_for_serialization(header_params)
423-
header_params['purecloud-sdk'] = '256.0.0'
423+
header_params['purecloud-sdk'] = '257.0.0'
424424

425425
# path parameters
426426
if path_params:

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 86 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10491,9 +10491,94 @@ def post_flows_datatable_export_jobs(self, datatable_id: str, **kwargs) -> 'Data
1049110491
callback=params.get('callback'))
1049210492
return response
1049310493

10494+
def post_flows_datatable_import_csv_jobs(self, datatable_id: str, body: 'DataTableImportJob', **kwargs) -> 'DataTableImportJob':
10495+
"""
10496+
Begin an import process for importing rows from a CSV file into a datatable. CSV file is uploaded by performing a PUT request against the URL in the returned 'uploadURI' field. Headers for the PUT request must contain all headers contained in the returned 'uploadHeaders' field.
10497+
Create an import job for importing rows from a CSV file. The caller can then poll for status of the import using the token returned in the response
10498+
10499+
This method makes a synchronous HTTP request by default. To make an
10500+
asynchronous HTTP request, please define a `callback` function
10501+
to be invoked when receiving the response.
10502+
>>> def callback_function(response):
10503+
>>> pprint(response)
10504+
>>>
10505+
>>> thread = api.post_flows_datatable_import_csv_jobs(datatable_id, body, callback=callback_function)
10506+
10507+
:param callback function: The callback function
10508+
for asynchronous request. (optional)
10509+
:param str datatable_id: id of datatable (required)
10510+
:param DataTableImportJob body: import job information (required)
10511+
:return: DataTableImportJob
10512+
If the method is called asynchronously,
10513+
returns the request thread.
10514+
"""
10515+
10516+
all_params = ['datatable_id', 'body']
10517+
all_params.append('callback')
10518+
10519+
params = locals()
10520+
for key, val in params['kwargs'].items():
10521+
if key not in all_params:
10522+
raise TypeError(
10523+
"Got an unexpected keyword argument '%s'"
10524+
" to method post_flows_datatable_import_csv_jobs" % key
10525+
)
10526+
params[key] = val
10527+
del params['kwargs']
10528+
10529+
# verify the required parameter 'datatable_id' is set
10530+
if ('datatable_id' not in params) or (params['datatable_id'] is None):
10531+
raise ValueError("Missing the required parameter `datatable_id` when calling `post_flows_datatable_import_csv_jobs`")
10532+
# verify the required parameter 'body' is set
10533+
if ('body' not in params) or (params['body'] is None):
10534+
raise ValueError("Missing the required parameter `body` when calling `post_flows_datatable_import_csv_jobs`")
10535+
10536+
10537+
resource_path = '/api/v2/flows/datatables/{datatableId}/import/csv/jobs'.replace('{format}', 'json')
10538+
path_params = {}
10539+
if 'datatable_id' in params:
10540+
path_params['datatableId'] = params['datatable_id']
10541+
10542+
query_params = {}
10543+
10544+
header_params = {}
10545+
10546+
form_params = []
10547+
local_var_files = {}
10548+
10549+
body_params = None
10550+
if 'body' in params:
10551+
body_params = params['body']
10552+
10553+
# HTTP header `Accept`
10554+
header_params['Accept'] = self.api_client.\
10555+
select_header_accept(['application/json'])
10556+
if not header_params['Accept']:
10557+
del header_params['Accept']
10558+
10559+
# HTTP header `Content-Type`
10560+
header_params['Content-Type'] = self.api_client.\
10561+
select_header_content_type(['application/json'])
10562+
10563+
# Authentication setting
10564+
auth_settings = ['PureCloud OAuth']
10565+
10566+
response = self.api_client.call_api(resource_path, 'POST',
10567+
path_params,
10568+
query_params,
10569+
header_params,
10570+
body=body_params,
10571+
post_params=form_params,
10572+
files=local_var_files,
10573+
response_type='DataTableImportJob',
10574+
auth_settings=auth_settings,
10575+
callback=params.get('callback'))
10576+
return response
10577+
10578+
@deprecated("post_flows_datatable_import_jobs is deprecated")
1049410579
def post_flows_datatable_import_jobs(self, datatable_id: str, body: 'DataTableImportJob', **kwargs) -> 'DataTableImportJob':
1049510580
"""
10496-
Begin an import process for importing rows into a datatable
10581+
Begin an import process for importing rows into a datatable. Apps should migrate to use POST /api/v2/flows/datatables/{datatableId}/import/csv/jobs instead
1049710582
Create an import job for importing rows. The caller can then poll for status of the import using the token returned in the response
1049810583

1049910584
This method makes a synchronous HTTP request by default. To make an

0 commit comments

Comments
 (0)