Skip to content

Commit 0f27bc9

Browse files
author
PureCloud Jenkins
committed
83.0.0
1 parent 4690d1b commit 0f27bc9

399 files changed

Lines changed: 9593 additions & 7753 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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@
346346
from .models.conversation_cobrowse_event_topic_scored_agent import ConversationCobrowseEventTopicScoredAgent
347347
from .models.conversation_cobrowse_event_topic_uri_reference import ConversationCobrowseEventTopicUriReference
348348
from .models.conversation_cobrowse_event_topic_wrapup import ConversationCobrowseEventTopicWrapup
349+
from .models.conversation_deletion_protection_query import ConversationDeletionProtectionQuery
349350
from .models.conversation_detail_query_clause import ConversationDetailQueryClause
350351
from .models.conversation_detail_query_filter import ConversationDetailQueryFilter
351352
from .models.conversation_detail_query_predicate import ConversationDetailQueryPredicate
@@ -735,6 +736,7 @@
735736
from .models.external_data_source import ExternalDataSource
736737
from .models.external_organization import ExternalOrganization
737738
from .models.external_organization_listing import ExternalOrganizationListing
739+
from .models.facebook_app_credentials import FacebookAppCredentials
738740
from .models.facebook_id import FacebookId
739741
from .models.facebook_integration import FacebookIntegration
740742
from .models.facebook_integration_entity_listing import FacebookIntegrationEntityListing
@@ -1641,6 +1643,9 @@
16411643
from .models.user_aggregate_query_response import UserAggregateQueryResponse
16421644
from .models.user_aggregation_query import UserAggregationQuery
16431645
from .models.user_aggregation_view import UserAggregationView
1646+
from .models.user_app import UserApp
1647+
from .models.user_app_configuration_info import UserAppConfigurationInfo
1648+
from .models.user_app_entity_listing import UserAppEntityListing
16441649
from .models.user_authorization import UserAuthorization
16451650
from .models.user_conversation_summary import UserConversationSummary
16461651
from .models.user_conversations_event_media_summary import UserConversationsEventMediaSummary

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,12 +610,14 @@ def get_analytics_reporting_exports(self, **kwargs):
610610
611611
:param callback function: The callback function
612612
for asynchronous request. (optional)
613+
:param int page_number: Page number
614+
:param int page_size: Page size
613615
:return: ReportingExportJobListing
614616
If the method is called asynchronously,
615617
returns the request thread.
616618
"""
617619

618-
all_params = []
620+
all_params = ['page_number', 'page_size']
619621
all_params.append('callback')
620622

621623
params = locals()
@@ -634,6 +636,10 @@ def get_analytics_reporting_exports(self, **kwargs):
634636
path_params = {}
635637

636638
query_params = {}
639+
if 'page_number' in params:
640+
query_params['pageNumber'] = params['page_number']
641+
if 'page_size' in params:
642+
query_params['pageSize'] = params['page_size']
637643

638644
header_params = {}
639645

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4261,6 +4261,78 @@ def get_conversations_messages(self, **kwargs):
42614261
callback=params.get('callback'))
42624262
return response
42634263

4264+
def get_conversations_messaging_facebook_app(self, **kwargs):
4265+
"""
4266+
Get Genesys Facebook App Id
4267+
4268+
4269+
This method makes a synchronous HTTP request by default. To make an
4270+
asynchronous HTTP request, please define a `callback` function
4271+
to be invoked when receiving the response.
4272+
>>> def callback_function(response):
4273+
>>> pprint(response)
4274+
>>>
4275+
>>> thread = api.get_conversations_messaging_facebook_app(callback=callback_function)
4276+
4277+
:param callback function: The callback function
4278+
for asynchronous request. (optional)
4279+
:return: FacebookAppCredentials
4280+
If the method is called asynchronously,
4281+
returns the request thread.
4282+
"""
4283+
4284+
all_params = []
4285+
all_params.append('callback')
4286+
4287+
params = locals()
4288+
for key, val in iteritems(params['kwargs']):
4289+
if key not in all_params:
4290+
raise TypeError(
4291+
"Got an unexpected keyword argument '%s'"
4292+
" to method get_conversations_messaging_facebook_app" % key
4293+
)
4294+
params[key] = val
4295+
del params['kwargs']
4296+
4297+
4298+
4299+
resource_path = '/api/v2/conversations/messaging/facebook/app'.replace('{format}', 'json')
4300+
path_params = {}
4301+
4302+
query_params = {}
4303+
4304+
header_params = {}
4305+
4306+
form_params = []
4307+
local_var_files = {}
4308+
4309+
body_params = None
4310+
4311+
# HTTP header `Accept`
4312+
header_params['Accept'] = self.api_client.\
4313+
select_header_accept(['application/json'])
4314+
if not header_params['Accept']:
4315+
del header_params['Accept']
4316+
4317+
# HTTP header `Content-Type`
4318+
header_params['Content-Type'] = self.api_client.\
4319+
select_header_content_type(['application/json'])
4320+
4321+
# Authentication setting
4322+
auth_settings = ['PureCloud OAuth']
4323+
4324+
response = self.api_client.call_api(resource_path, 'GET',
4325+
path_params,
4326+
query_params,
4327+
header_params,
4328+
body=body_params,
4329+
post_params=form_params,
4330+
files=local_var_files,
4331+
response_type='FacebookAppCredentials',
4332+
auth_settings=auth_settings,
4333+
callback=params.get('callback'))
4334+
return response
4335+
42644336
def get_conversations_messaging_integrations(self, **kwargs):
42654337
"""
42664338
Get a list of Integrations

build/PureCloudPlatformClientV2/apis/integrations_api.py

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3052,6 +3052,99 @@ def get_integrations_types(self, **kwargs):
30523052
callback=params.get('callback'))
30533053
return response
30543054

3055+
def get_integrations_userapps(self, **kwargs):
3056+
"""
3057+
List permitted user app integrations for the logged in user
3058+
3059+
3060+
This method makes a synchronous HTTP request by default. To make an
3061+
asynchronous HTTP request, please define a `callback` function
3062+
to be invoked when receiving the response.
3063+
>>> def callback_function(response):
3064+
>>> pprint(response)
3065+
>>>
3066+
>>> thread = api.get_integrations_userapps(callback=callback_function)
3067+
3068+
:param callback function: The callback function
3069+
for asynchronous request. (optional)
3070+
:param int page_size: The total page size requested
3071+
:param int page_number: The page number requested
3072+
:param str sort_by: variable name requested to sort by
3073+
:param list[str] expand: variable name requested by expand list
3074+
:param str next_page: next page token
3075+
:param str previous_page: Previous page token
3076+
:param str app_host: The type of UserApp to filter by
3077+
:return: UserAppEntityListing
3078+
If the method is called asynchronously,
3079+
returns the request thread.
3080+
"""
3081+
3082+
all_params = ['page_size', 'page_number', 'sort_by', 'expand', 'next_page', 'previous_page', 'app_host']
3083+
all_params.append('callback')
3084+
3085+
params = locals()
3086+
for key, val in iteritems(params['kwargs']):
3087+
if key not in all_params:
3088+
raise TypeError(
3089+
"Got an unexpected keyword argument '%s'"
3090+
" to method get_integrations_userapps" % key
3091+
)
3092+
params[key] = val
3093+
del params['kwargs']
3094+
3095+
3096+
3097+
resource_path = '/api/v2/integrations/userapps'.replace('{format}', 'json')
3098+
path_params = {}
3099+
3100+
query_params = {}
3101+
if 'page_size' in params:
3102+
query_params['pageSize'] = params['page_size']
3103+
if 'page_number' in params:
3104+
query_params['pageNumber'] = params['page_number']
3105+
if 'sort_by' in params:
3106+
query_params['sortBy'] = params['sort_by']
3107+
if 'expand' in params:
3108+
query_params['expand'] = params['expand']
3109+
if 'next_page' in params:
3110+
query_params['nextPage'] = params['next_page']
3111+
if 'previous_page' in params:
3112+
query_params['previousPage'] = params['previous_page']
3113+
if 'app_host' in params:
3114+
query_params['appHost'] = params['app_host']
3115+
3116+
header_params = {}
3117+
3118+
form_params = []
3119+
local_var_files = {}
3120+
3121+
body_params = None
3122+
3123+
# HTTP header `Accept`
3124+
header_params['Accept'] = self.api_client.\
3125+
select_header_accept(['application/json'])
3126+
if not header_params['Accept']:
3127+
del header_params['Accept']
3128+
3129+
# HTTP header `Content-Type`
3130+
header_params['Content-Type'] = self.api_client.\
3131+
select_header_content_type(['application/json'])
3132+
3133+
# Authentication setting
3134+
auth_settings = ['PureCloud OAuth']
3135+
3136+
response = self.api_client.call_api(resource_path, 'GET',
3137+
path_params,
3138+
query_params,
3139+
header_params,
3140+
body=body_params,
3141+
post_params=form_params,
3142+
files=local_var_files,
3143+
response_type='UserAppEntityListing',
3144+
auth_settings=auth_settings,
3145+
callback=params.get('callback'))
3146+
return response
3147+
30553148
def patch_integration(self, integration_id, **kwargs):
30563149
"""
30573150
Update an integration.

build/PureCloudPlatformClientV2/apis/outbound_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5810,7 +5810,7 @@ def post_outbound_contactlist_contacts(self, contact_list_id, body, **kwargs):
58105810
:param list[WritableDialerContact] body: Contact (required)
58115811
:param bool priority: Contact priority. True means the contact(s) will be dialed next; false means the contact will go to the end of the contact queue.
58125812
:param bool clear_system_data: Clear system data. True means the system columns (attempts, callable status, etc) stored on the contact will be cleared if the contact already exists; false means they won't.
5813-
:param bool do_not_queue: Do not queue. True means that updated contacts will not have their positions in the queue altered, so contacts that have already been dialed will not be redialed. For new contacts they will not be called until a campaign recycle; False means that updated contacts will be re-queued, according to the 'priority' parameter.
5813+
:param bool do_not_queue: Do not queue. True means that updated contacts will not have their positions in the queue altered, so contacts that have already been dialed will not be redialed. For new contacts, this parameter has no effect; False means that updated contacts will be re-queued, according to the 'priority' parameter.
58145814
:return: list[DialerContact]
58155815
If the method is called asynchronously,
58165816
returns the request thread.

0 commit comments

Comments
 (0)