Skip to content

Commit ba2fdf1

Browse files
author
PureCloud Jenkins
committed
105.0.0
1 parent a28ecbd commit ba2fdf1

460 files changed

Lines changed: 9330 additions & 4602 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.

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,14 @@
612612
from .models.credential_specification import CredentialSpecification
613613
from .models.credential_type import CredentialType
614614
from .models.credential_type_listing import CredentialTypeListing
615+
from .models.cross_platform_call_media_policy import CrossPlatformCallMediaPolicy
616+
from .models.cross_platform_chat_media_policy import CrossPlatformChatMediaPolicy
617+
from .models.cross_platform_email_media_policy import CrossPlatformEmailMediaPolicy
618+
from .models.cross_platform_media_policies import CrossPlatformMediaPolicies
619+
from .models.cross_platform_message_media_policy import CrossPlatformMessageMediaPolicy
620+
from .models.cross_platform_policy import CrossPlatformPolicy
621+
from .models.cross_platform_policy_actions import CrossPlatformPolicyActions
622+
from .models.cross_platform_policy_create import CrossPlatformPolicyCreate
615623
from .models.current_user_schedule_request_body import CurrentUserScheduleRequestBody
616624
from .models.cursor_contact_listing import CursorContactListing
617625
from .models.cursor_note_listing import CursorNoteListing
@@ -1141,6 +1149,9 @@
11411149
from .models.media_summary import MediaSummary
11421150
from .models.media_summary_detail import MediaSummaryDetail
11431151
from .models.media_transcription import MediaTranscription
1152+
from .models.media_type import MediaType
1153+
from .models.media_type_access import MediaTypeAccess
1154+
from .models.media_types import MediaTypes
11441155
from .models.media_utilization import MediaUtilization
11451156
from .models.member_entity import MemberEntity
11461157
from .models.message import Message
@@ -1787,6 +1798,7 @@
17871798
from .models.subscription_overview_usage import SubscriptionOverviewUsage
17881799
from .models.suggest_search_criteria import SuggestSearchCriteria
17891800
from .models.suggest_search_request import SuggestSearchRequest
1801+
from .models.supported_content import SupportedContent
17901802
from .models.supported_language import SupportedLanguage
17911803
from .models.survey import Survey
17921804
from .models.survey_aggregate_data_container import SurveyAggregateDataContainer
@@ -1852,6 +1864,7 @@
18521864
from .models.transcript_conversation_detail_search_request import TranscriptConversationDetailSearchRequest
18531865
from .models.transcript_url import TranscriptUrl
18541866
from .models.transcription_settings import TranscriptionSettings
1867+
from .models.transcripts import Transcripts
18551868
from .models.transfer_request import TransferRequest
18561869
from .models.trunk import Trunk
18571870
from .models.trunk_base import TrunkBase

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def get_authorization_division(self, division_id, **kwargs):
379379
def get_authorization_division_grants(self, division_id, **kwargs):
380380
"""
381381
Gets all grants for a given division.
382-
382+
Returns all grants assigned to a given division. Maximum page size is 500.
383383
384384
This method makes a synchronous HTTP request by default. To make an
385385
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7693,9 +7693,93 @@ def patch_conversations_messaging_integrations_facebook_integration_id(self, int
76937693
callback=params.get('callback'))
76947694
return response
76957695

7696+
def patch_conversations_messaging_integrations_twitter_integration_id(self, integration_id, body, **kwargs):
7697+
"""
7698+
Update Twitter messaging integration
7699+
7700+
7701+
This method makes a synchronous HTTP request by default. To make an
7702+
asynchronous HTTP request, please define a `callback` function
7703+
to be invoked when receiving the response.
7704+
>>> def callback_function(response):
7705+
>>> pprint(response)
7706+
>>>
7707+
>>> thread = api.patch_conversations_messaging_integrations_twitter_integration_id(integration_id, body, callback=callback_function)
7708+
7709+
:param callback function: The callback function
7710+
for asynchronous request. (optional)
7711+
:param str integration_id: Integration ID (required)
7712+
:param TwitterIntegrationRequest body: TwitterIntegrationRequest (required)
7713+
:return: TwitterIntegration
7714+
If the method is called asynchronously,
7715+
returns the request thread.
7716+
"""
7717+
7718+
all_params = ['integration_id', 'body']
7719+
all_params.append('callback')
7720+
7721+
params = locals()
7722+
for key, val in iteritems(params['kwargs']):
7723+
if key not in all_params:
7724+
raise TypeError(
7725+
"Got an unexpected keyword argument '%s'"
7726+
" to method patch_conversations_messaging_integrations_twitter_integration_id" % key
7727+
)
7728+
params[key] = val
7729+
del params['kwargs']
7730+
7731+
# verify the required parameter 'integration_id' is set
7732+
if ('integration_id' not in params) or (params['integration_id'] is None):
7733+
raise ValueError("Missing the required parameter `integration_id` when calling `patch_conversations_messaging_integrations_twitter_integration_id`")
7734+
# verify the required parameter 'body' is set
7735+
if ('body' not in params) or (params['body'] is None):
7736+
raise ValueError("Missing the required parameter `body` when calling `patch_conversations_messaging_integrations_twitter_integration_id`")
7737+
7738+
7739+
resource_path = '/api/v2/conversations/messaging/integrations/twitter/{integrationId}'.replace('{format}', 'json')
7740+
path_params = {}
7741+
if 'integration_id' in params:
7742+
path_params['integrationId'] = params['integration_id']
7743+
7744+
query_params = {}
7745+
7746+
header_params = {}
7747+
7748+
form_params = []
7749+
local_var_files = {}
7750+
7751+
body_params = None
7752+
if 'body' in params:
7753+
body_params = params['body']
7754+
7755+
# HTTP header `Accept`
7756+
header_params['Accept'] = self.api_client.\
7757+
select_header_accept(['application/json'])
7758+
if not header_params['Accept']:
7759+
del header_params['Accept']
7760+
7761+
# HTTP header `Content-Type`
7762+
header_params['Content-Type'] = self.api_client.\
7763+
select_header_content_type(['application/json'])
7764+
7765+
# Authentication setting
7766+
auth_settings = ['PureCloud OAuth']
7767+
7768+
response = self.api_client.call_api(resource_path, 'PATCH',
7769+
path_params,
7770+
query_params,
7771+
header_params,
7772+
body=body_params,
7773+
post_params=form_params,
7774+
files=local_var_files,
7775+
response_type='TwitterIntegration',
7776+
auth_settings=auth_settings,
7777+
callback=params.get('callback'))
7778+
return response
7779+
76967780
def patch_conversations_messaging_integrations_whatsapp_integration_id(self, integration_id, body, **kwargs):
76977781
"""
7698-
Activate a WhatsApp messaging integration.
7782+
Update or activate a WhatsApp messaging integration.
76997783
The following steps are required in order to fully activate a Whatsapp Integration: Initially, you will need to get an activation code by sending: an action set to Activate, and an authenticationMethod choosing from Sms or Voice. Finally, once you have been informed of an activation code on selected authenticationMethod, you will need to confirm the code by sending: an action set to Confirm, and the confirmationCode you have received from Whatsapp.
77007784
77017785
This method makes a synchronous HTTP request by default. To make an

0 commit comments

Comments
 (0)