Skip to content

Commit 28dff68

Browse files
author
PureCloud Jenkins
committed
44.0.0
1 parent 9131e8b commit 28dff68

100 files changed

Lines changed: 7337 additions & 789 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: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@
268268
from .models.contact_callback_request import ContactCallbackRequest
269269
from .models.contact_column_time_zone import ContactColumnTimeZone
270270
from .models.contact_list import ContactList
271+
from .models.contact_list_division_view import ContactListDivisionView
272+
from .models.contact_list_division_view_listing import ContactListDivisionViewListing
271273
from .models.contact_list_entity_listing import ContactListEntityListing
272274
from .models.contact_list_filter import ContactListFilter
273275
from .models.contact_list_filter_clause import ContactListFilterClause
@@ -420,6 +422,7 @@
420422
from .models.dnc_list_entity_listing import DncListEntityListing
421423
from .models.dnc_list_notification import DncListNotification
422424
from .models.dnc_list_notification_import_status import DncListNotificationImportStatus
425+
from .models.dnc_list_notification_uri_reference import DncListNotificationUriReference
423426
from .models.document import Document
424427
from .models.document_attribute import DocumentAttribute
425428
from .models.document_audit import DocumentAudit
@@ -650,6 +653,7 @@
650653
from .models.heart_beat_alert_notification_notification_users import HeartBeatAlertNotificationNotificationUsers
651654
from .models.heart_beat_rule_notification import HeartBeatRuleNotification
652655
from .models.heart_beat_rule_notification_notification_user import HeartBeatRuleNotificationNotificationUser
656+
from .models.help_link import HelpLink
653657
from .models.history_listing import HistoryListing
654658
from .models.ivr import IVR
655659
from .models.ivr_entity_listing import IVREntityListing
@@ -685,7 +689,6 @@
685689
from .models.interaction_stats_rule_container import InteractionStatsRuleContainer
686690
from .models.intraday_data_group import IntradayDataGroup
687691
from .models.intraday_data_update_notification import IntradayDataUpdateNotification
688-
from .models.intraday_data_update_notification_date_time import IntradayDataUpdateNotificationDateTime
689692
from .models.intraday_data_update_notification_forecast_data_per_interval import IntradayDataUpdateNotificationForecastDataPerInterval
690693
from .models.intraday_data_update_notification_historical_agent_data_per_interval import IntradayDataUpdateNotificationHistoricalAgentDataPerInterval
691694
from .models.intraday_data_update_notification_historical_queue_data_per_interval import IntradayDataUpdateNotificationHistoricalQueueDataPerInterval
@@ -702,7 +705,6 @@
702705
from .models.intraday_data_update_notification_performance_prediction_agent_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionAgentDataPerInterval
703706
from .models.intraday_data_update_notification_performance_prediction_queue_data_per_interval import IntradayDataUpdateNotificationPerformancePredictionQueueDataPerInterval
704707
from .models.intraday_data_update_notification_schedule_data_per_interval import IntradayDataUpdateNotificationScheduleDataPerInterval
705-
from .models.intraday_data_update_notification_start_date import IntradayDataUpdateNotificationStartDate
706708
from .models.intraday_forecast_data import IntradayForecastData
707709
from .models.intraday_historical_agent_data import IntradayHistoricalAgentData
708710
from .models.intraday_historical_queue_data import IntradayHistoricalQueueData
@@ -1214,7 +1216,6 @@
12141216
from .models.user_schedule_activity import UserScheduleActivity
12151217
from .models.user_schedule_adherence import UserScheduleAdherence
12161218
from .models.user_schedule_adherence_update_notification import UserScheduleAdherenceUpdateNotification
1217-
from .models.user_schedule_adherence_update_notification_date_time import UserScheduleAdherenceUpdateNotificationDateTime
12181219
from .models.user_schedule_adherence_update_notification_user_reference import UserScheduleAdherenceUpdateNotificationUserReference
12191220
from .models.user_schedule_container import UserScheduleContainer
12201221
from .models.user_schedule_full_day_time_off_marker import UserScheduleFullDayTimeOffMarker
@@ -1270,6 +1271,16 @@
12701271
from .models.week_schedule_list_response import WeekScheduleListResponse
12711272
from .models.week_schedule_response import WeekScheduleResponse
12721273
from .models.wfm_agent import WfmAgent
1274+
from .models.wfm_agent_schedule_update_notification_notification import WfmAgentScheduleUpdateNotificationNotification
1275+
from .models.wfm_agent_schedule_update_notification_notification_activities import WfmAgentScheduleUpdateNotificationNotificationActivities
1276+
from .models.wfm_agent_schedule_update_notification_notification_full_day_time_off_markers import WfmAgentScheduleUpdateNotificationNotificationFullDayTimeOffMarkers
1277+
from .models.wfm_agent_schedule_update_notification_notification_shifts import WfmAgentScheduleUpdateNotificationNotificationShifts
1278+
from .models.wfm_agent_schedule_update_notification_notification_updates import WfmAgentScheduleUpdateNotificationNotificationUpdates
1279+
from .models.wfm_agent_schedule_update_notification_notification_user_reference import WfmAgentScheduleUpdateNotificationNotificationUserReference
1280+
from .models.wfm_agent_schedule_update_notification_notification_wfm_agent_schedule_update import WfmAgentScheduleUpdateNotificationNotificationWfmAgentScheduleUpdate
1281+
from .models.wfm_agent_schedule_update_notification_notification_wfm_full_day_time_off_marker import WfmAgentScheduleUpdateNotificationNotificationWfmFullDayTimeOffMarker
1282+
from .models.wfm_agent_schedule_update_notification_notification_wfm_schedule_activity import WfmAgentScheduleUpdateNotificationNotificationWfmScheduleActivity
1283+
from .models.wfm_agent_schedule_update_notification_notification_wfm_schedule_shift import WfmAgentScheduleUpdateNotificationNotificationWfmScheduleShift
12731284
from .models.wfm_average_speed_of_answer import WfmAverageSpeedOfAnswer
12741285
from .models.wfm_forecast_modification import WfmForecastModification
12751286
from .models.wfm_forecast_modification_attributes import WfmForecastModificationAttributes

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'] = '43.0.0'
115+
header_params['purecloud-sdk'] = '44.0.0'
116116

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/outbound_api.py

Lines changed: 184 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3247,6 +3247,105 @@ def get_outbound_contactlists(self, **kwargs):
32473247
callback=params.get('callback'))
32483248
return response
32493249

3250+
def get_outbound_contactlists_divisionviews(self, **kwargs):
3251+
"""
3252+
Query a list of simplified contact list objects.
3253+
This return a simplified version of contact lists, consisting of the name, divisions, columns, and phone columns.
3254+
3255+
This method makes a synchronous HTTP request by default. To make an
3256+
asynchronous HTTP request, please define a `callback` function
3257+
to be invoked when receiving the response.
3258+
>>> def callback_function(response):
3259+
>>> pprint(response)
3260+
>>>
3261+
>>> thread = api.get_outbound_contactlists_divisionviews(callback=callback_function)
3262+
3263+
:param callback function: The callback function
3264+
for asynchronous request. (optional)
3265+
:param bool include_import_status: Include import status
3266+
:param bool include_size: Include size
3267+
:param int page_size: Page size. The max that will be returned is 100.
3268+
:param int page_number: Page number
3269+
:param str filter_type: Filter type
3270+
:param str name: Name
3271+
:param list[str] id: id
3272+
:param str sort_by: Sort by
3273+
:param str sort_order: Sort order
3274+
:return: ContactListDivisionViewListing
3275+
If the method is called asynchronously,
3276+
returns the request thread.
3277+
"""
3278+
3279+
all_params = ['include_import_status', 'include_size', 'page_size', 'page_number', 'filter_type', 'name', 'id', 'sort_by', 'sort_order']
3280+
all_params.append('callback')
3281+
3282+
params = locals()
3283+
for key, val in iteritems(params['kwargs']):
3284+
if key not in all_params:
3285+
raise TypeError(
3286+
"Got an unexpected keyword argument '%s'"
3287+
" to method get_outbound_contactlists_divisionviews" % key
3288+
)
3289+
params[key] = val
3290+
del params['kwargs']
3291+
3292+
3293+
3294+
resource_path = '/api/v2/outbound/contactlists/divisionviews'.replace('{format}', 'json')
3295+
path_params = {}
3296+
3297+
query_params = {}
3298+
if 'include_import_status' in params:
3299+
query_params['includeImportStatus'] = params['include_import_status']
3300+
if 'include_size' in params:
3301+
query_params['includeSize'] = params['include_size']
3302+
if 'page_size' in params:
3303+
query_params['pageSize'] = params['page_size']
3304+
if 'page_number' in params:
3305+
query_params['pageNumber'] = params['page_number']
3306+
if 'filter_type' in params:
3307+
query_params['filterType'] = params['filter_type']
3308+
if 'name' in params:
3309+
query_params['name'] = params['name']
3310+
if 'id' in params:
3311+
query_params['id'] = params['id']
3312+
if 'sort_by' in params:
3313+
query_params['sortBy'] = params['sort_by']
3314+
if 'sort_order' in params:
3315+
query_params['sortOrder'] = params['sort_order']
3316+
3317+
header_params = {}
3318+
3319+
form_params = []
3320+
local_var_files = {}
3321+
3322+
body_params = None
3323+
3324+
# HTTP header `Accept`
3325+
header_params['Accept'] = self.api_client.\
3326+
select_header_accept(['application/json'])
3327+
if not header_params['Accept']:
3328+
del header_params['Accept']
3329+
3330+
# HTTP header `Content-Type`
3331+
header_params['Content-Type'] = self.api_client.\
3332+
select_header_content_type(['application/json'])
3333+
3334+
# Authentication setting
3335+
auth_settings = ['PureCloud Auth']
3336+
3337+
response = self.api_client.call_api(resource_path, 'GET',
3338+
path_params,
3339+
query_params,
3340+
header_params,
3341+
body=body_params,
3342+
post_params=form_params,
3343+
files=local_var_files,
3344+
response_type='ContactListDivisionViewListing',
3345+
auth_settings=auth_settings,
3346+
callback=params.get('callback'))
3347+
return response
3348+
32503349
def get_outbound_dnclist(self, dnc_list_id, **kwargs):
32513350
"""
32523351
Get dialer DNC list
@@ -3511,14 +3610,16 @@ def get_outbound_dnclists(self, **kwargs):
35113610
:param int page_number: Page number
35123611
:param str filter_type: Filter type
35133612
:param str name: Name
3613+
:param str dnc_source_type: DncSourceType
3614+
:param list[str] division_id: Division ID(s)
35143615
:param str sort_by: Sort by
35153616
:param str sort_order: Sort order
35163617
:return: DncListEntityListing
35173618
If the method is called asynchronously,
35183619
returns the request thread.
35193620
"""
35203621

3521-
all_params = ['include_import_status', 'include_size', 'page_size', 'page_number', 'filter_type', 'name', 'sort_by', 'sort_order']
3622+
all_params = ['include_import_status', 'include_size', 'page_size', 'page_number', 'filter_type', 'name', 'dnc_source_type', 'division_id', 'sort_by', 'sort_order']
35223623
all_params.append('callback')
35233624

35243625
params = locals()
@@ -3549,6 +3650,10 @@ def get_outbound_dnclists(self, **kwargs):
35493650
query_params['filterType'] = params['filter_type']
35503651
if 'name' in params:
35513652
query_params['name'] = params['name']
3653+
if 'dnc_source_type' in params:
3654+
query_params['dncSourceType'] = params['dnc_source_type']
3655+
if 'division_id' in params:
3656+
query_params['divisionId'] = params['division_id']
35523657
if 'sort_by' in params:
35533658
query_params['sortBy'] = params['sort_by']
35543659
if 'sort_order' in params:
@@ -5260,6 +5365,84 @@ def post_outbound_campaigns_progress(self, body, **kwargs):
52605365
callback=params.get('callback'))
52615366
return response
52625367

5368+
def post_outbound_contactlist_clear(self, contact_list_id, **kwargs):
5369+
"""
5370+
Deletes all contacts out of a list. All outstanding recalls or rule-scheduled callbacks for non-preview campaigns configured with the contactlist will be cancelled.
5371+
5372+
5373+
This method makes a synchronous HTTP request by default. To make an
5374+
asynchronous HTTP request, please define a `callback` function
5375+
to be invoked when receiving the response.
5376+
>>> def callback_function(response):
5377+
>>> pprint(response)
5378+
>>>
5379+
>>> thread = api.post_outbound_contactlist_clear(contact_list_id, callback=callback_function)
5380+
5381+
:param callback function: The callback function
5382+
for asynchronous request. (optional)
5383+
:param str contact_list_id: Contact List ID (required)
5384+
:return: None
5385+
If the method is called asynchronously,
5386+
returns the request thread.
5387+
"""
5388+
5389+
all_params = ['contact_list_id']
5390+
all_params.append('callback')
5391+
5392+
params = locals()
5393+
for key, val in iteritems(params['kwargs']):
5394+
if key not in all_params:
5395+
raise TypeError(
5396+
"Got an unexpected keyword argument '%s'"
5397+
" to method post_outbound_contactlist_clear" % key
5398+
)
5399+
params[key] = val
5400+
del params['kwargs']
5401+
5402+
# verify the required parameter 'contact_list_id' is set
5403+
if ('contact_list_id' not in params) or (params['contact_list_id'] is None):
5404+
raise ValueError("Missing the required parameter `contact_list_id` when calling `post_outbound_contactlist_clear`")
5405+
5406+
5407+
resource_path = '/api/v2/outbound/contactlists/{contactListId}/clear'.replace('{format}', 'json')
5408+
path_params = {}
5409+
if 'contact_list_id' in params:
5410+
path_params['contactListId'] = params['contact_list_id']
5411+
5412+
query_params = {}
5413+
5414+
header_params = {}
5415+
5416+
form_params = []
5417+
local_var_files = {}
5418+
5419+
body_params = None
5420+
5421+
# HTTP header `Accept`
5422+
header_params['Accept'] = self.api_client.\
5423+
select_header_accept(['application/json'])
5424+
if not header_params['Accept']:
5425+
del header_params['Accept']
5426+
5427+
# HTTP header `Content-Type`
5428+
header_params['Content-Type'] = self.api_client.\
5429+
select_header_content_type(['application/json'])
5430+
5431+
# Authentication setting
5432+
auth_settings = ['PureCloud Auth']
5433+
5434+
response = self.api_client.call_api(resource_path, 'POST',
5435+
path_params,
5436+
query_params,
5437+
header_params,
5438+
body=body_params,
5439+
post_params=form_params,
5440+
files=local_var_files,
5441+
response_type=None,
5442+
auth_settings=auth_settings,
5443+
callback=params.get('callback'))
5444+
return response
5445+
52635446
def post_outbound_contactlist_contacts(self, contact_list_id, body, **kwargs):
52645447
"""
52655448
Add contacts to a contact list.

build/PureCloudPlatformClientV2/apis/quality_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,6 +2089,84 @@ def get_quality_forms_surveys(self, **kwargs):
20892089
callback=params.get('callback'))
20902090
return response
20912091

2092+
def get_quality_forms_surveys_bulk(self, ids, **kwargs):
2093+
"""
2094+
Retrieve a list of survey forms by their ids
2095+
2096+
2097+
This method makes a synchronous HTTP request by default. To make an
2098+
asynchronous HTTP request, please define a `callback` function
2099+
to be invoked when receiving the response.
2100+
>>> def callback_function(response):
2101+
>>> pprint(response)
2102+
>>>
2103+
>>> thread = api.get_quality_forms_surveys_bulk(ids, callback=callback_function)
2104+
2105+
:param callback function: The callback function
2106+
for asynchronous request. (optional)
2107+
:param list[str] ids: A comma-delimited list of valid survey form ids (required)
2108+
:return: SurveyFormEntityListing
2109+
If the method is called asynchronously,
2110+
returns the request thread.
2111+
"""
2112+
2113+
all_params = ['ids']
2114+
all_params.append('callback')
2115+
2116+
params = locals()
2117+
for key, val in iteritems(params['kwargs']):
2118+
if key not in all_params:
2119+
raise TypeError(
2120+
"Got an unexpected keyword argument '%s'"
2121+
" to method get_quality_forms_surveys_bulk" % key
2122+
)
2123+
params[key] = val
2124+
del params['kwargs']
2125+
2126+
# verify the required parameter 'ids' is set
2127+
if ('ids' not in params) or (params['ids'] is None):
2128+
raise ValueError("Missing the required parameter `ids` when calling `get_quality_forms_surveys_bulk`")
2129+
2130+
2131+
resource_path = '/api/v2/quality/forms/surveys/bulk'.replace('{format}', 'json')
2132+
path_params = {}
2133+
2134+
query_params = {}
2135+
if 'ids' in params:
2136+
query_params['ids'] = params['ids']
2137+
2138+
header_params = {}
2139+
2140+
form_params = []
2141+
local_var_files = {}
2142+
2143+
body_params = None
2144+
2145+
# HTTP header `Accept`
2146+
header_params['Accept'] = self.api_client.\
2147+
select_header_accept(['application/json'])
2148+
if not header_params['Accept']:
2149+
del header_params['Accept']
2150+
2151+
# HTTP header `Content-Type`
2152+
header_params['Content-Type'] = self.api_client.\
2153+
select_header_content_type(['application/json'])
2154+
2155+
# Authentication setting
2156+
auth_settings = ['PureCloud Auth']
2157+
2158+
response = self.api_client.call_api(resource_path, 'GET',
2159+
path_params,
2160+
query_params,
2161+
header_params,
2162+
body=body_params,
2163+
post_params=form_params,
2164+
files=local_var_files,
2165+
response_type='SurveyFormEntityListing',
2166+
auth_settings=auth_settings,
2167+
callback=params.get('callback'))
2168+
return response
2169+
20922170
def get_quality_keywordset(self, keyword_set_id, **kwargs):
20932171
"""
20942172
Get a keywordSet by id.

0 commit comments

Comments
 (0)