Skip to content

Commit a74bafc

Browse files
author
PureCloud Jenkins
committed
73.0.0
1 parent 5de60db commit a74bafc

84 files changed

Lines changed: 3909 additions & 403 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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,8 @@
10081008
from .models.out_of_office import OutOfOffice
10091009
from .models.out_of_office_event_out_of_office import OutOfOfficeEventOutOfOffice
10101010
from .models.out_of_office_event_user import OutOfOfficeEventUser
1011+
from .models.outbound_messaging_messaging_campaign_progress_event_campaign_progress import OutboundMessagingMessagingCampaignProgressEventCampaignProgress
1012+
from .models.outbound_messaging_messaging_campaign_progress_event_uri_reference import OutboundMessagingMessagingCampaignProgressEventUriReference
10111013
from .models.outbound_route import OutboundRoute
10121014
from .models.outbound_route_base import OutboundRouteBase
10131015
from .models.outbound_route_base_entity_listing import OutboundRouteBaseEntityListing
@@ -1720,6 +1722,15 @@
17201722
from .models.wfm_agent_schedule_update_topic_wfm_schedule_activity import WfmAgentScheduleUpdateTopicWfmScheduleActivity
17211723
from .models.wfm_agent_schedule_update_topic_wfm_schedule_shift import WfmAgentScheduleUpdateTopicWfmScheduleShift
17221724
from .models.wfm_average_speed_of_answer import WfmAverageSpeedOfAnswer
1725+
from .models.wfm_bu_intraday_data_update_topic_bu_intraday_data_group import WfmBuIntradayDataUpdateTopicBuIntradayDataGroup
1726+
from .models.wfm_bu_intraday_data_update_topic_bu_intraday_forecast_data import WfmBuIntradayDataUpdateTopicBuIntradayForecastData
1727+
from .models.wfm_bu_intraday_data_update_topic_bu_intraday_notification import WfmBuIntradayDataUpdateTopicBuIntradayNotification
1728+
from .models.wfm_bu_intraday_data_update_topic_bu_intraday_result import WfmBuIntradayDataUpdateTopicBuIntradayResult
1729+
from .models.wfm_bu_intraday_data_update_topic_bu_intraday_schedule_data import WfmBuIntradayDataUpdateTopicBuIntradayScheduleData
1730+
from .models.wfm_bu_intraday_data_update_topic_bu_schedule_reference import WfmBuIntradayDataUpdateTopicBuScheduleReference
1731+
from .models.wfm_bu_intraday_data_update_topic_bu_short_term_forecast_reference import WfmBuIntradayDataUpdateTopicBuShortTermForecastReference
1732+
from .models.wfm_bu_intraday_data_update_topic_intraday_performance_prediction_data import WfmBuIntradayDataUpdateTopicIntradayPerformancePredictionData
1733+
from .models.wfm_bu_intraday_data_update_topic_local_date import WfmBuIntradayDataUpdateTopicLocalDate
17231734
from .models.wfm_bu_schedule_query_result_topic_bu_schedule_search_result_notification import WfmBuScheduleQueryResultTopicBuScheduleSearchResultNotification
17241735
from .models.wfm_bu_schedule_run_topic_bu_schedule_reference import WfmBuScheduleRunTopicBuScheduleReference
17251736
from .models.wfm_bu_schedule_run_topic_bu_schedule_run import WfmBuScheduleRunTopicBuScheduleRun
@@ -1777,6 +1788,9 @@
17771788
from .models.wfm_user_notification_topic_time_off_request_notification import WfmUserNotificationTopicTimeOffRequestNotification
17781789
from .models.wfm_user_notification_topic_user_reference import WfmUserNotificationTopicUserReference
17791790
from .models.wfm_user_notification_topic_wfm_user_notification import WfmUserNotificationTopicWfmUserNotification
1791+
from .models.wfm_user_schedule_adherence_updated_mu_topic_queue_reference import WfmUserScheduleAdherenceUpdatedMuTopicQueueReference
1792+
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_reference import WfmUserScheduleAdherenceUpdatedMuTopicUserReference
1793+
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate
17801794
from .models.wfm_user_schedule_adherence_updated_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTopicQueueReference
17811795
from .models.wfm_user_schedule_adherence_updated_topic_user_reference import WfmUserScheduleAdherenceUpdatedTopicUserReference
17821796
from .models.wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate

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

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ def delete_authorization_division(self, division_id, **kwargs):
6262
:param callback function: The callback function
6363
for asynchronous request. (optional)
6464
:param str division_id: Division ID (required)
65+
:param bool force: Force delete this division as well as the grants and objects associated with it
6566
:return: None
6667
If the method is called asynchronously,
6768
returns the request thread.
6869
"""
6970

70-
all_params = ['division_id']
71+
all_params = ['division_id', 'force']
7172
all_params.append('callback')
7273

7374
params = locals()
@@ -91,6 +92,8 @@ def delete_authorization_division(self, division_id, **kwargs):
9192
path_params['divisionId'] = params['division_id']
9293

9394
query_params = {}
95+
if 'force' in params:
96+
query_params['force'] = params['force']
9497

9598
header_params = {}
9699

build/PureCloudPlatformClientV2/apis/objects_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,13 @@ def delete_authorization_division(self, division_id, **kwargs):
6262
:param callback function: The callback function
6363
for asynchronous request. (optional)
6464
:param str division_id: Division ID (required)
65+
:param bool force: Force delete this division as well as the grants and objects associated with it
6566
:return: None
6667
If the method is called asynchronously,
6768
returns the request thread.
6869
"""
6970

70-
all_params = ['division_id']
71+
all_params = ['division_id', 'force']
7172
all_params.append('callback')
7273

7374
params = locals()
@@ -91,6 +92,8 @@ def delete_authorization_division(self, division_id, **kwargs):
9192
path_params['divisionId'] = params['division_id']
9293

9394
query_params = {}
95+
if 'force' in params:
96+
query_params['force'] = params['force']
9497

9598
header_params = {}
9699

build/PureCloudPlatformClientV2/apis/organization_authorization_api.py

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1768,6 +1768,96 @@ def put_orgauthorization_trustee(self, trustee_org_id, body, **kwargs):
17681768
callback=params.get('callback'))
17691769
return response
17701770

1771+
def put_orgauthorization_trustee_user_roledivisions(self, trustee_org_id, trustee_user_id, body, **kwargs):
1772+
"""
1773+
Update Trustee User Roles
1774+
1775+
1776+
This method makes a synchronous HTTP request by default. To make an
1777+
asynchronous HTTP request, please define a `callback` function
1778+
to be invoked when receiving the response.
1779+
>>> def callback_function(response):
1780+
>>> pprint(response)
1781+
>>>
1782+
>>> thread = api.put_orgauthorization_trustee_user_roledivisions(trustee_org_id, trustee_user_id, body, callback=callback_function)
1783+
1784+
:param callback function: The callback function
1785+
for asynchronous request. (optional)
1786+
:param str trustee_org_id: Trustee Organization Id (required)
1787+
:param str trustee_user_id: Trustee User Id (required)
1788+
:param RoleDivisionGrants body: Set of roles with corresponding divisions to apply (required)
1789+
:return: UserAuthorization
1790+
If the method is called asynchronously,
1791+
returns the request thread.
1792+
"""
1793+
1794+
all_params = ['trustee_org_id', 'trustee_user_id', 'body']
1795+
all_params.append('callback')
1796+
1797+
params = locals()
1798+
for key, val in iteritems(params['kwargs']):
1799+
if key not in all_params:
1800+
raise TypeError(
1801+
"Got an unexpected keyword argument '%s'"
1802+
" to method put_orgauthorization_trustee_user_roledivisions" % key
1803+
)
1804+
params[key] = val
1805+
del params['kwargs']
1806+
1807+
# verify the required parameter 'trustee_org_id' is set
1808+
if ('trustee_org_id' not in params) or (params['trustee_org_id'] is None):
1809+
raise ValueError("Missing the required parameter `trustee_org_id` when calling `put_orgauthorization_trustee_user_roledivisions`")
1810+
# verify the required parameter 'trustee_user_id' is set
1811+
if ('trustee_user_id' not in params) or (params['trustee_user_id'] is None):
1812+
raise ValueError("Missing the required parameter `trustee_user_id` when calling `put_orgauthorization_trustee_user_roledivisions`")
1813+
# verify the required parameter 'body' is set
1814+
if ('body' not in params) or (params['body'] is None):
1815+
raise ValueError("Missing the required parameter `body` when calling `put_orgauthorization_trustee_user_roledivisions`")
1816+
1817+
1818+
resource_path = '/api/v2/orgauthorization/trustees/{trusteeOrgId}/users/{trusteeUserId}/roledivisions'.replace('{format}', 'json')
1819+
path_params = {}
1820+
if 'trustee_org_id' in params:
1821+
path_params['trusteeOrgId'] = params['trustee_org_id']
1822+
if 'trustee_user_id' in params:
1823+
path_params['trusteeUserId'] = params['trustee_user_id']
1824+
1825+
query_params = {}
1826+
1827+
header_params = {}
1828+
1829+
form_params = []
1830+
local_var_files = {}
1831+
1832+
body_params = None
1833+
if 'body' in params:
1834+
body_params = params['body']
1835+
1836+
# HTTP header `Accept`
1837+
header_params['Accept'] = self.api_client.\
1838+
select_header_accept(['application/json'])
1839+
if not header_params['Accept']:
1840+
del header_params['Accept']
1841+
1842+
# HTTP header `Content-Type`
1843+
header_params['Content-Type'] = self.api_client.\
1844+
select_header_content_type(['application/json'])
1845+
1846+
# Authentication setting
1847+
auth_settings = ['PureCloud OAuth']
1848+
1849+
response = self.api_client.call_api(resource_path, 'PUT',
1850+
path_params,
1851+
query_params,
1852+
header_params,
1853+
body=body_params,
1854+
post_params=form_params,
1855+
files=local_var_files,
1856+
response_type='UserAuthorization',
1857+
auth_settings=auth_settings,
1858+
callback=params.get('callback'))
1859+
return response
1860+
17711861
def put_orgauthorization_trustee_user_roles(self, trustee_org_id, trustee_user_id, body, **kwargs):
17721862
"""
17731863
Update Trustee User Roles

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,5 +249,5 @@ def to_debug_report(self):
249249
"OS: {env}\n"\
250250
"Python Version: {pyversion}\n"\
251251
"Version of the API: v2\n"\
252-
"SDK Package Version: 72.0.0".\
252+
"SDK Package Version: 73.0.0".\
253253
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,8 @@
10081008
from .out_of_office import OutOfOffice
10091009
from .out_of_office_event_out_of_office import OutOfOfficeEventOutOfOffice
10101010
from .out_of_office_event_user import OutOfOfficeEventUser
1011+
from .outbound_messaging_messaging_campaign_progress_event_campaign_progress import OutboundMessagingMessagingCampaignProgressEventCampaignProgress
1012+
from .outbound_messaging_messaging_campaign_progress_event_uri_reference import OutboundMessagingMessagingCampaignProgressEventUriReference
10111013
from .outbound_route import OutboundRoute
10121014
from .outbound_route_base import OutboundRouteBase
10131015
from .outbound_route_base_entity_listing import OutboundRouteBaseEntityListing
@@ -1720,6 +1722,15 @@
17201722
from .wfm_agent_schedule_update_topic_wfm_schedule_activity import WfmAgentScheduleUpdateTopicWfmScheduleActivity
17211723
from .wfm_agent_schedule_update_topic_wfm_schedule_shift import WfmAgentScheduleUpdateTopicWfmScheduleShift
17221724
from .wfm_average_speed_of_answer import WfmAverageSpeedOfAnswer
1725+
from .wfm_bu_intraday_data_update_topic_bu_intraday_data_group import WfmBuIntradayDataUpdateTopicBuIntradayDataGroup
1726+
from .wfm_bu_intraday_data_update_topic_bu_intraday_forecast_data import WfmBuIntradayDataUpdateTopicBuIntradayForecastData
1727+
from .wfm_bu_intraday_data_update_topic_bu_intraday_notification import WfmBuIntradayDataUpdateTopicBuIntradayNotification
1728+
from .wfm_bu_intraday_data_update_topic_bu_intraday_result import WfmBuIntradayDataUpdateTopicBuIntradayResult
1729+
from .wfm_bu_intraday_data_update_topic_bu_intraday_schedule_data import WfmBuIntradayDataUpdateTopicBuIntradayScheduleData
1730+
from .wfm_bu_intraday_data_update_topic_bu_schedule_reference import WfmBuIntradayDataUpdateTopicBuScheduleReference
1731+
from .wfm_bu_intraday_data_update_topic_bu_short_term_forecast_reference import WfmBuIntradayDataUpdateTopicBuShortTermForecastReference
1732+
from .wfm_bu_intraday_data_update_topic_intraday_performance_prediction_data import WfmBuIntradayDataUpdateTopicIntradayPerformancePredictionData
1733+
from .wfm_bu_intraday_data_update_topic_local_date import WfmBuIntradayDataUpdateTopicLocalDate
17231734
from .wfm_bu_schedule_query_result_topic_bu_schedule_search_result_notification import WfmBuScheduleQueryResultTopicBuScheduleSearchResultNotification
17241735
from .wfm_bu_schedule_run_topic_bu_schedule_reference import WfmBuScheduleRunTopicBuScheduleReference
17251736
from .wfm_bu_schedule_run_topic_bu_schedule_run import WfmBuScheduleRunTopicBuScheduleRun
@@ -1777,6 +1788,9 @@
17771788
from .wfm_user_notification_topic_time_off_request_notification import WfmUserNotificationTopicTimeOffRequestNotification
17781789
from .wfm_user_notification_topic_user_reference import WfmUserNotificationTopicUserReference
17791790
from .wfm_user_notification_topic_wfm_user_notification import WfmUserNotificationTopicWfmUserNotification
1791+
from .wfm_user_schedule_adherence_updated_mu_topic_queue_reference import WfmUserScheduleAdherenceUpdatedMuTopicQueueReference
1792+
from .wfm_user_schedule_adherence_updated_mu_topic_user_reference import WfmUserScheduleAdherenceUpdatedMuTopicUserReference
1793+
from .wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate
17801794
from .wfm_user_schedule_adherence_updated_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTopicQueueReference
17811795
from .wfm_user_schedule_adherence_updated_topic_user_reference import WfmUserScheduleAdherenceUpdatedTopicUserReference
17821796
from .wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate

build/PureCloudPlatformClientV2/models/adfs.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ def __init__(self):
4343
'id': 'str',
4444
'name': 'str',
4545
'relying_party_identifier': 'str',
46-
'issuer_uri': 'str',
4746
'certificate': 'str',
47+
'issuer_uri': 'str',
4848
'sso_target_uri': 'str',
4949
'disabled': 'bool',
5050
'self_uri': 'str'
@@ -54,8 +54,8 @@ def __init__(self):
5454
'id': 'id',
5555
'name': 'name',
5656
'relying_party_identifier': 'relyingPartyIdentifier',
57-
'issuer_uri': 'issuerURI',
5857
'certificate': 'certificate',
58+
'issuer_uri': 'issuerURI',
5959
'sso_target_uri': 'ssoTargetURI',
6060
'disabled': 'disabled',
6161
'self_uri': 'selfUri'
@@ -64,8 +64,8 @@ def __init__(self):
6464
self._id = None
6565
self._name = None
6666
self._relying_party_identifier = None
67-
self._issuer_uri = None
6867
self._certificate = None
68+
self._issuer_uri = None
6969
self._sso_target_uri = None
7070
self._disabled = None
7171
self._self_uri = None
@@ -140,50 +140,50 @@ def relying_party_identifier(self, relying_party_identifier):
140140
self._relying_party_identifier = relying_party_identifier
141141

142142
@property
143-
def issuer_uri(self):
143+
def certificate(self):
144144
"""
145-
Gets the issuer_uri of this ADFS.
145+
Gets the certificate of this ADFS.
146146
147147
148-
:return: The issuer_uri of this ADFS.
148+
:return: The certificate of this ADFS.
149149
:rtype: str
150150
"""
151-
return self._issuer_uri
151+
return self._certificate
152152

153-
@issuer_uri.setter
154-
def issuer_uri(self, issuer_uri):
153+
@certificate.setter
154+
def certificate(self, certificate):
155155
"""
156-
Sets the issuer_uri of this ADFS.
156+
Sets the certificate of this ADFS.
157157
158158
159-
:param issuer_uri: The issuer_uri of this ADFS.
159+
:param certificate: The certificate of this ADFS.
160160
:type: str
161161
"""
162162

163-
self._issuer_uri = issuer_uri
163+
self._certificate = certificate
164164

165165
@property
166-
def certificate(self):
166+
def issuer_uri(self):
167167
"""
168-
Gets the certificate of this ADFS.
168+
Gets the issuer_uri of this ADFS.
169169
170170
171-
:return: The certificate of this ADFS.
171+
:return: The issuer_uri of this ADFS.
172172
:rtype: str
173173
"""
174-
return self._certificate
174+
return self._issuer_uri
175175

176-
@certificate.setter
177-
def certificate(self, certificate):
176+
@issuer_uri.setter
177+
def issuer_uri(self, issuer_uri):
178178
"""
179-
Sets the certificate of this ADFS.
179+
Sets the issuer_uri of this ADFS.
180180
181181
182-
:param certificate: The certificate of this ADFS.
182+
:param issuer_uri: The issuer_uri of this ADFS.
183183
:type: str
184184
"""
185185

186-
self._certificate = certificate
186+
self._issuer_uri = issuer_uri
187187

188188
@property
189189
def sso_target_uri(self):

build/PureCloudPlatformClientV2/models/analytics_session.py

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ def __init__(self):
9090
'journey_action_map_version': 'str',
9191
'protocol_call_id': 'str',
9292
'provider': 'str',
93-
'remote': 'str'
93+
'remote': 'str',
94+
'media_count': 'int'
9495
}
9596

9697
self.attribute_map = {
@@ -144,7 +145,8 @@ def __init__(self):
144145
'journey_action_map_version': 'journeyActionMapVersion',
145146
'protocol_call_id': 'protocolCallId',
146147
'provider': 'provider',
147-
'remote': 'remote'
148+
'remote': 'remote',
149+
'media_count': 'mediaCount'
148150
}
149151

150152
self._media_type = None
@@ -198,6 +200,7 @@ def __init__(self):
198200
self._protocol_call_id = None
199201
self._provider = None
200202
self._remote = None
203+
self._media_count = None
201204

202205
@property
203206
def media_type(self):
@@ -1384,6 +1387,29 @@ def remote(self, remote):
13841387

13851388
self._remote = remote
13861389

1390+
@property
1391+
def media_count(self):
1392+
"""
1393+
Gets the media_count of this AnalyticsSession.
1394+
Count of any media (images, files, etc) included in this session
1395+
1396+
:return: The media_count of this AnalyticsSession.
1397+
:rtype: int
1398+
"""
1399+
return self._media_count
1400+
1401+
@media_count.setter
1402+
def media_count(self, media_count):
1403+
"""
1404+
Sets the media_count of this AnalyticsSession.
1405+
Count of any media (images, files, etc) included in this session
1406+
1407+
:param media_count: The media_count of this AnalyticsSession.
1408+
:type: int
1409+
"""
1410+
1411+
self._media_count = media_count
1412+
13871413
def to_dict(self):
13881414
"""
13891415
Returns the model properties as a dict

0 commit comments

Comments
 (0)