Skip to content

Commit 9131e8b

Browse files
author
PureCloud Jenkins
committed
43.0.0
1 parent 5aa5680 commit 9131e8b

File tree

386 files changed

+7932
-4848
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

386 files changed

+7932
-4848
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
from .models.annotation import Annotation
6464
from .models.answer_option import AnswerOption
6565
from .models.archive_retention import ArchiveRetention
66+
from .models.array_node import ArrayNode
6667
from .models.assigned_wrapup_code import AssignedWrapupCode
6768
from .models.async_week_schedule_response import AsyncWeekScheduleResponse
6869
from .models.attachment import Attachment
@@ -357,6 +358,7 @@
357358
from .models.create_integration_request import CreateIntegrationRequest
358359
from .models.create_management_unit_api_request import CreateManagementUnitApiRequest
359360
from .models.create_management_unit_settings import CreateManagementUnitSettings
361+
from .models.create_outbound_messaging_conversation_request import CreateOutboundMessagingConversationRequest
360362
from .models.create_queue_media_association_request import CreateQueueMediaAssociationRequest
361363
from .models.create_queue_request import CreateQueueRequest
362364
from .models.create_secure_session import CreateSecureSession
@@ -641,8 +643,8 @@
641643
from .models.group_search_request import GroupSearchRequest
642644
from .models.group_update import GroupUpdate
643645
from .models.groups_search_response import GroupsSearchResponse
644-
from .models.headcount_forecast_response import HeadcountForecastResponse
645-
from .models.headcount_interval_response import HeadcountIntervalResponse
646+
from .models.headcount_forecast import HeadcountForecast
647+
from .models.headcount_interval import HeadcountInterval
646648
from .models.heart_beat_alert_notification import HeartBeatAlertNotification
647649
from .models.heart_beat_alert_notification_notification_user import HeartBeatAlertNotificationNotificationUser
648650
from .models.heart_beat_alert_notification_notification_users import HeartBeatAlertNotificationNotificationUsers
@@ -711,7 +713,6 @@
711713
from .models.intraday_queue import IntradayQueue
712714
from .models.intraday_response import IntradayResponse
713715
from .models.intraday_schedule_data import IntradayScheduleData
714-
from .models.json_node import JsonNode
715716
from .models.json_node_search_response import JsonNodeSearchResponse
716717
from .models.json_schema_document import JsonSchemaDocument
717718
from .models.key_rotation_schedule import KeyRotationSchedule
@@ -913,6 +914,7 @@
913914
from .models.queue_member import QueueMember
914915
from .models.queue_member_entity_listing import QueueMemberEntityListing
915916
from .models.queue_member_notification import QueueMemberNotification
917+
from .models.queue_messaging_addresses import QueueMessagingAddresses
916918
from .models.queue_reference import QueueReference
917919
from .models.queue_request import QueueRequest
918920
from .models.queue_utilization_diagnostic import QueueUtilizationDiagnostic
@@ -946,6 +948,9 @@
946948
from .models.reporting_export_job_request import ReportingExportJobRequest
947949
from .models.reporting_export_job_response import ReportingExportJobResponse
948950
from .models.request_config import RequestConfig
951+
from .models.reschedule_request import RescheduleRequest
952+
from .models.reschedule_result import RescheduleResult
953+
from .models.rescheduling_options_response import ReschedulingOptionsResponse
949954
from .models.resource_condition_node import ResourceConditionNode
950955
from .models.resource_condition_value import ResourceConditionValue
951956
from .models.resource_permission_policy import ResourcePermissionPolicy
@@ -1116,6 +1121,7 @@
11161121
from .models.time_slot import TimeSlot
11171122
from .models.time_zone import TimeZone
11181123
from .models.time_zone_entity_listing import TimeZoneEntityListing
1124+
from .models.time_zone_mapping_preview import TimeZoneMappingPreview
11191125
from .models.token_info import TokenInfo
11201126
from .models.transfer_request import TransferRequest
11211127
from .models.trunk import Trunk
@@ -1155,9 +1161,11 @@
11551161
from .models.twitter_integration_request import TwitterIntegrationRequest
11561162
from .models.unread_metric import UnreadMetric
11571163
from .models.unread_status import UnreadStatus
1164+
from .models.unscheduled_agent_warning import UnscheduledAgentWarning
11581165
from .models.update_action_input import UpdateActionInput
11591166
from .models.update_activity_code_request import UpdateActivityCodeRequest
11601167
from .models.update_draft_input import UpdateDraftInput
1168+
from .models.update_scheduling_run_request import UpdateSchedulingRunRequest
11611169
from .models.update_user import UpdateUser
11621170
from .models.update_week_schedule_request import UpdateWeekScheduleRequest
11631171
from .models.uri_reference import UriReference

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def __call_api(self, resource_path, method,
112112
header_params['Cookie'] = self.cookie
113113
if header_params:
114114
header_params = self.sanitize_for_serialization(header_params)
115-
header_params['purecloud-sdk'] = '42.1.0'
115+
header_params['purecloud-sdk'] = '43.0.0'
116116

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8155,6 +8155,84 @@ def post_conversations_message_participant_replace(self, conversation_id, partic
81558155
callback=params.get('callback'))
81568156
return response
81578157

8158+
def post_conversations_messages(self, body, **kwargs):
8159+
"""
8160+
Create an outbound messaging conversation.
8161+
If there is an existing conversation between the remote address and the address associated with the queue specified in createOutboundRequest then the result of this request depends on the state of that conversation and the useExistingConversation field of createOutboundRequest. If the existing conversation is in alerting or connected state, then the request will fail. If the existing conversation is disconnected but still within the conversation window then the request will fail unless useExistingConversation is set to true.
8162+
8163+
This method makes a synchronous HTTP request by default. To make an
8164+
asynchronous HTTP request, please define a `callback` function
8165+
to be invoked when receiving the response.
8166+
>>> def callback_function(response):
8167+
>>> pprint(response)
8168+
>>>
8169+
>>> thread = api.post_conversations_messages(body, callback=callback_function)
8170+
8171+
:param callback function: The callback function
8172+
for asynchronous request. (optional)
8173+
:param CreateOutboundMessagingConversationRequest body: Create outbound messaging conversation (required)
8174+
:return: MessageConversation
8175+
If the method is called asynchronously,
8176+
returns the request thread.
8177+
"""
8178+
8179+
all_params = ['body']
8180+
all_params.append('callback')
8181+
8182+
params = locals()
8183+
for key, val in iteritems(params['kwargs']):
8184+
if key not in all_params:
8185+
raise TypeError(
8186+
"Got an unexpected keyword argument '%s'"
8187+
" to method post_conversations_messages" % key
8188+
)
8189+
params[key] = val
8190+
del params['kwargs']
8191+
8192+
# verify the required parameter 'body' is set
8193+
if ('body' not in params) or (params['body'] is None):
8194+
raise ValueError("Missing the required parameter `body` when calling `post_conversations_messages`")
8195+
8196+
8197+
resource_path = '/api/v2/conversations/messages'.replace('{format}', 'json')
8198+
path_params = {}
8199+
8200+
query_params = {}
8201+
8202+
header_params = {}
8203+
8204+
form_params = []
8205+
local_var_files = {}
8206+
8207+
body_params = None
8208+
if 'body' in params:
8209+
body_params = params['body']
8210+
8211+
# HTTP header `Accept`
8212+
header_params['Accept'] = self.api_client.\
8213+
select_header_accept(['application/json'])
8214+
if not header_params['Accept']:
8215+
del header_params['Accept']
8216+
8217+
# HTTP header `Content-Type`
8218+
header_params['Content-Type'] = self.api_client.\
8219+
select_header_content_type(['application/json'])
8220+
8221+
# Authentication setting
8222+
auth_settings = ['PureCloud Auth']
8223+
8224+
response = self.api_client.call_api(resource_path, 'POST',
8225+
path_params,
8226+
query_params,
8227+
header_params,
8228+
body=body_params,
8229+
post_params=form_params,
8230+
files=local_var_files,
8231+
response_type='MessageConversation',
8232+
auth_settings=auth_settings,
8233+
callback=params.get('callback'))
8234+
return response
8235+
81588236
def put_conversations_call_participant_communication_uuidata(self, conversation_id, participant_id, communication_id, body, **kwargs):
81598237
"""
81608238
Set uuiData to be sent on future commands.

build/PureCloudPlatformClientV2/apis/messaging_api.py

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -988,84 +988,6 @@ def post_messaging_integrations_line(self, body, **kwargs):
988988
callback=params.get('callback'))
989989
return response
990990

991-
def post_messaging_integrations_line_webhook_integration_id(self, integration_id, **kwargs):
992-
"""
993-
Webhook redirect for LINE messenger Integration
994-
995-
996-
This method makes a synchronous HTTP request by default. To make an
997-
asynchronous HTTP request, please define a `callback` function
998-
to be invoked when receiving the response.
999-
>>> def callback_function(response):
1000-
>>> pprint(response)
1001-
>>>
1002-
>>> thread = api.post_messaging_integrations_line_webhook_integration_id(integration_id, callback=callback_function)
1003-
1004-
:param callback function: The callback function
1005-
for asynchronous request. (optional)
1006-
:param str integration_id: Integration ID (required)
1007-
:return: None
1008-
If the method is called asynchronously,
1009-
returns the request thread.
1010-
"""
1011-
1012-
all_params = ['integration_id']
1013-
all_params.append('callback')
1014-
1015-
params = locals()
1016-
for key, val in iteritems(params['kwargs']):
1017-
if key not in all_params:
1018-
raise TypeError(
1019-
"Got an unexpected keyword argument '%s'"
1020-
" to method post_messaging_integrations_line_webhook_integration_id" % key
1021-
)
1022-
params[key] = val
1023-
del params['kwargs']
1024-
1025-
# verify the required parameter 'integration_id' is set
1026-
if ('integration_id' not in params) or (params['integration_id'] is None):
1027-
raise ValueError("Missing the required parameter `integration_id` when calling `post_messaging_integrations_line_webhook_integration_id`")
1028-
1029-
1030-
resource_path = '/api/v2/messaging/integrations/line/webhook/{integrationId}'.replace('{format}', 'json')
1031-
path_params = {}
1032-
if 'integration_id' in params:
1033-
path_params['integrationId'] = params['integration_id']
1034-
1035-
query_params = {}
1036-
1037-
header_params = {}
1038-
1039-
form_params = []
1040-
local_var_files = {}
1041-
1042-
body_params = None
1043-
1044-
# HTTP header `Accept`
1045-
header_params['Accept'] = self.api_client.\
1046-
select_header_accept(['application/json'])
1047-
if not header_params['Accept']:
1048-
del header_params['Accept']
1049-
1050-
# HTTP header `Content-Type`
1051-
header_params['Content-Type'] = self.api_client.\
1052-
select_header_content_type(['application/json'])
1053-
1054-
# Authentication setting
1055-
auth_settings = ['PureCloud Auth']
1056-
1057-
response = self.api_client.call_api(resource_path, 'POST',
1058-
path_params,
1059-
query_params,
1060-
header_params,
1061-
body=body_params,
1062-
post_params=form_params,
1063-
files=local_var_files,
1064-
response_type=None,
1065-
auth_settings=auth_settings,
1066-
callback=params.get('callback'))
1067-
return response
1068-
1069991
def post_messaging_integrations_twitter(self, body, **kwargs):
1070992
"""
1071993
Create a Twitter Integration

0 commit comments

Comments
 (0)