Skip to content

Commit fff800c

Browse files
author
PureCloud Jenkins
committed
33.0.0
1 parent c3079f8 commit fff800c

File tree

335 files changed

+8440
-7365
lines changed

Some content is hidden

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

335 files changed

+8440
-7365
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@
546546
from .models.filter import Filter
547547
from .models.filter_preview_response import FilterPreviewResponse
548548
from .models.flow import Flow
549+
from .models.flow_division_view import FlowDivisionView
550+
from .models.flow_division_view_entity_listing import FlowDivisionViewEntityListing
549551
from .models.flow_entity_listing import FlowEntityListing
550552
from .models.flow_notification_notification import FlowNotificationNotification
551553
from .models.flow_notification_notification_architect_operation import FlowNotificationNotificationArchitectOperation
@@ -1155,6 +1157,7 @@
11551157
from .models.wfm_move_agents_complete_notification_results import WfmMoveAgentsCompleteNotificationResults
11561158
from .models.wfm_move_agents_complete_notification_user_reference import WfmMoveAgentsCompleteNotificationUserReference
11571159
from .models.wfm_move_agents_complete_notification_wfm_move_agent_data import WfmMoveAgentsCompleteNotificationWfmMoveAgentData
1160+
from .models.wfm_schedule_notification_notification import WfmScheduleNotificationNotification
11581161
from .models.wfm_update_agent_details_complete_notification import WfmUpdateAgentDetailsCompleteNotification
11591162
from .models.wfm_user_entity_listing import WfmUserEntityListing
11601163
from .models.wfm_versioned_entity_metadata import WfmVersionedEntityMetadata

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

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/architect_api.py

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4324,6 +4324,111 @@ def get_flows_datatables(self, **kwargs):
43244324
callback=params.get('callback'))
43254325
return response
43264326

4327+
def get_flows_divisionviews(self, type, **kwargs):
4328+
"""
4329+
Get a pageable list of basic flow information objects filterable by query parameters.
4330+
This returns a simplified version of /flow consisting of name and type.
4331+
4332+
This method makes a synchronous HTTP request by default. To make an
4333+
asynchronous HTTP request, please define a `callback` function
4334+
to be invoked when receiving the response.
4335+
>>> def callback_function(response):
4336+
>>> pprint(response)
4337+
>>>
4338+
>>> thread = api.get_flows_divisionviews(type, callback=callback_function)
4339+
4340+
:param callback function: The callback function
4341+
for asynchronous request. (optional)
4342+
:param str type: Type (required)
4343+
:param int page_number: Page number
4344+
:param int page_size: Page size
4345+
:param str sort_by: Sort by
4346+
:param str sort_order: Sort order
4347+
:param list[str] id: ID
4348+
:param str name: Name
4349+
:param str publish_version_id: Publish version ID
4350+
:param str published_after: Published after
4351+
:param str published_before: Published before
4352+
:return: FlowDivisionViewEntityListing
4353+
If the method is called asynchronously,
4354+
returns the request thread.
4355+
"""
4356+
4357+
all_params = ['type', 'page_number', 'page_size', 'sort_by', 'sort_order', 'id', 'name', 'publish_version_id', 'published_after', 'published_before']
4358+
all_params.append('callback')
4359+
4360+
params = locals()
4361+
for key, val in iteritems(params['kwargs']):
4362+
if key not in all_params:
4363+
raise TypeError(
4364+
"Got an unexpected keyword argument '%s'"
4365+
" to method get_flows_divisionviews" % key
4366+
)
4367+
params[key] = val
4368+
del params['kwargs']
4369+
4370+
# verify the required parameter 'type' is set
4371+
if ('type' not in params) or (params['type'] is None):
4372+
raise ValueError("Missing the required parameter `type` when calling `get_flows_divisionviews`")
4373+
4374+
4375+
resource_path = '/api/v2/flows/divisionviews'.replace('{format}', 'json')
4376+
path_params = {}
4377+
4378+
query_params = {}
4379+
if 'type' in params:
4380+
query_params['type'] = params['type']
4381+
if 'page_number' in params:
4382+
query_params['pageNumber'] = params['page_number']
4383+
if 'page_size' in params:
4384+
query_params['pageSize'] = params['page_size']
4385+
if 'sort_by' in params:
4386+
query_params['sortBy'] = params['sort_by']
4387+
if 'sort_order' in params:
4388+
query_params['sortOrder'] = params['sort_order']
4389+
if 'id' in params:
4390+
query_params['id'] = params['id']
4391+
if 'name' in params:
4392+
query_params['name'] = params['name']
4393+
if 'publish_version_id' in params:
4394+
query_params['publishVersionId'] = params['publish_version_id']
4395+
if 'published_after' in params:
4396+
query_params['publishedAfter'] = params['published_after']
4397+
if 'published_before' in params:
4398+
query_params['publishedBefore'] = params['published_before']
4399+
4400+
header_params = {}
4401+
4402+
form_params = []
4403+
local_var_files = {}
4404+
4405+
body_params = None
4406+
4407+
# HTTP header `Accept`
4408+
header_params['Accept'] = self.api_client.\
4409+
select_header_accept(['application/json'])
4410+
if not header_params['Accept']:
4411+
del header_params['Accept']
4412+
4413+
# HTTP header `Content-Type`
4414+
header_params['Content-Type'] = self.api_client.\
4415+
select_header_content_type(['application/json'])
4416+
4417+
# Authentication setting
4418+
auth_settings = ['PureCloud Auth']
4419+
4420+
response = self.api_client.call_api(resource_path, 'GET',
4421+
path_params,
4422+
query_params,
4423+
header_params,
4424+
body=body_params,
4425+
post_params=form_params,
4426+
files=local_var_files,
4427+
response_type='FlowDivisionViewEntityListing',
4428+
auth_settings=auth_settings,
4429+
callback=params.get('callback'))
4430+
return response
4431+
43274432
def post_architect_dependencytracking_build(self, **kwargs):
43284433
"""
43294434
Rebuild Dependency Tracking data for an organization

build/PureCloudPlatformClientV2/apis/notifications_api.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,12 +292,13 @@ def get_notifications_channels(self, **kwargs):
292292
293293
:param callback function: The callback function
294294
for asynchronous request. (optional)
295+
:param str includechannels: Show user's channels for this specific token or across all tokens for this user and app. Channel Ids for other access tokens will not be shown, but will be presented to show their existence.
295296
:return: ChannelEntityListing
296297
If the method is called asynchronously,
297298
returns the request thread.
298299
"""
299300

300-
all_params = []
301+
all_params = ['includechannels']
301302
all_params.append('callback')
302303

303304
params = locals()
@@ -316,6 +317,8 @@ def get_notifications_channels(self, **kwargs):
316317
path_params = {}
317318

318319
query_params = {}
320+
if 'includechannels' in params:
321+
query_params['includechannels'] = params['includechannels']
319322

320323
header_params = {}
321324

@@ -436,7 +439,7 @@ def post_notifications_channel_subscriptions(self, channel_id, body, **kwargs):
436439
def post_notifications_channels(self, **kwargs):
437440
"""
438441
Create a new channel
439-
There is a limit of 5 channels. Creating a 6th channel will remove the channel with oldest last used date.
442+
There is a limit of 5 channels per user/app combination. Creating a 6th channel will remove the channel with oldest last used date.
440443
441444
This method makes a synchronous HTTP request by default. To make an
442445
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,5 +238,5 @@ def to_debug_report(self):
238238
"OS: {env}\n"\
239239
"Python Version: {pyversion}\n"\
240240
"Version of the API: v2\n"\
241-
"SDK Package Version: 32.1.0".\
241+
"SDK Package Version: 33.0.0".\
242242
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@
546546
from .filter import Filter
547547
from .filter_preview_response import FilterPreviewResponse
548548
from .flow import Flow
549+
from .flow_division_view import FlowDivisionView
550+
from .flow_division_view_entity_listing import FlowDivisionViewEntityListing
549551
from .flow_entity_listing import FlowEntityListing
550552
from .flow_notification_notification import FlowNotificationNotification
551553
from .flow_notification_notification_architect_operation import FlowNotificationNotificationArchitectOperation
@@ -1155,6 +1157,7 @@
11551157
from .wfm_move_agents_complete_notification_results import WfmMoveAgentsCompleteNotificationResults
11561158
from .wfm_move_agents_complete_notification_user_reference import WfmMoveAgentsCompleteNotificationUserReference
11571159
from .wfm_move_agents_complete_notification_wfm_move_agent_data import WfmMoveAgentsCompleteNotificationWfmMoveAgentData
1160+
from .wfm_schedule_notification_notification import WfmScheduleNotificationNotification
11581161
from .wfm_update_agent_details_complete_notification import WfmUpdateAgentDetailsCompleteNotification
11591162
from .wfm_user_entity_listing import WfmUserEntityListing
11601163
from .wfm_versioned_entity_metadata import WfmVersionedEntityMetadata

build/PureCloudPlatformClientV2/models/action_entity_listing.py

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ def __init__(self):
4343
'page_number': 'int',
4444
'total': 'int',
4545
'self_uri': 'str',
46-
'next_uri': 'str',
47-
'previous_uri': 'str',
48-
'last_uri': 'str',
4946
'first_uri': 'str',
47+
'last_uri': 'str',
48+
'previous_uri': 'str',
49+
'next_uri': 'str',
5050
'page_count': 'int'
5151
}
5252

@@ -56,10 +56,10 @@ def __init__(self):
5656
'page_number': 'pageNumber',
5757
'total': 'total',
5858
'self_uri': 'selfUri',
59-
'next_uri': 'nextUri',
60-
'previous_uri': 'previousUri',
61-
'last_uri': 'lastUri',
6259
'first_uri': 'firstUri',
60+
'last_uri': 'lastUri',
61+
'previous_uri': 'previousUri',
62+
'next_uri': 'nextUri',
6363
'page_count': 'pageCount'
6464
}
6565

@@ -68,10 +68,10 @@ def __init__(self):
6868
self._page_number = None
6969
self._total = None
7070
self._self_uri = None
71-
self._next_uri = None
72-
self._previous_uri = None
73-
self._last_uri = None
7471
self._first_uri = None
72+
self._last_uri = None
73+
self._previous_uri = None
74+
self._next_uri = None
7575
self._page_count = None
7676

7777
@property
@@ -190,96 +190,96 @@ def self_uri(self, self_uri):
190190
self._self_uri = self_uri
191191

192192
@property
193-
def next_uri(self):
193+
def first_uri(self):
194194
"""
195-
Gets the next_uri of this ActionEntityListing.
195+
Gets the first_uri of this ActionEntityListing.
196196
197197
198-
:return: The next_uri of this ActionEntityListing.
198+
:return: The first_uri of this ActionEntityListing.
199199
:rtype: str
200200
"""
201-
return self._next_uri
201+
return self._first_uri
202202

203-
@next_uri.setter
204-
def next_uri(self, next_uri):
203+
@first_uri.setter
204+
def first_uri(self, first_uri):
205205
"""
206-
Sets the next_uri of this ActionEntityListing.
206+
Sets the first_uri of this ActionEntityListing.
207207
208208
209-
:param next_uri: The next_uri of this ActionEntityListing.
209+
:param first_uri: The first_uri of this ActionEntityListing.
210210
:type: str
211211
"""
212212

213-
self._next_uri = next_uri
213+
self._first_uri = first_uri
214214

215215
@property
216-
def previous_uri(self):
216+
def last_uri(self):
217217
"""
218-
Gets the previous_uri of this ActionEntityListing.
218+
Gets the last_uri of this ActionEntityListing.
219219
220220
221-
:return: The previous_uri of this ActionEntityListing.
221+
:return: The last_uri of this ActionEntityListing.
222222
:rtype: str
223223
"""
224-
return self._previous_uri
224+
return self._last_uri
225225

226-
@previous_uri.setter
227-
def previous_uri(self, previous_uri):
226+
@last_uri.setter
227+
def last_uri(self, last_uri):
228228
"""
229-
Sets the previous_uri of this ActionEntityListing.
229+
Sets the last_uri of this ActionEntityListing.
230230
231231
232-
:param previous_uri: The previous_uri of this ActionEntityListing.
232+
:param last_uri: The last_uri of this ActionEntityListing.
233233
:type: str
234234
"""
235235

236-
self._previous_uri = previous_uri
236+
self._last_uri = last_uri
237237

238238
@property
239-
def last_uri(self):
239+
def previous_uri(self):
240240
"""
241-
Gets the last_uri of this ActionEntityListing.
241+
Gets the previous_uri of this ActionEntityListing.
242242
243243
244-
:return: The last_uri of this ActionEntityListing.
244+
:return: The previous_uri of this ActionEntityListing.
245245
:rtype: str
246246
"""
247-
return self._last_uri
247+
return self._previous_uri
248248

249-
@last_uri.setter
250-
def last_uri(self, last_uri):
249+
@previous_uri.setter
250+
def previous_uri(self, previous_uri):
251251
"""
252-
Sets the last_uri of this ActionEntityListing.
252+
Sets the previous_uri of this ActionEntityListing.
253253
254254
255-
:param last_uri: The last_uri of this ActionEntityListing.
255+
:param previous_uri: The previous_uri of this ActionEntityListing.
256256
:type: str
257257
"""
258258

259-
self._last_uri = last_uri
259+
self._previous_uri = previous_uri
260260

261261
@property
262-
def first_uri(self):
262+
def next_uri(self):
263263
"""
264-
Gets the first_uri of this ActionEntityListing.
264+
Gets the next_uri of this ActionEntityListing.
265265
266266
267-
:return: The first_uri of this ActionEntityListing.
267+
:return: The next_uri of this ActionEntityListing.
268268
:rtype: str
269269
"""
270-
return self._first_uri
270+
return self._next_uri
271271

272-
@first_uri.setter
273-
def first_uri(self, first_uri):
272+
@next_uri.setter
273+
def next_uri(self, next_uri):
274274
"""
275-
Sets the first_uri of this ActionEntityListing.
275+
Sets the next_uri of this ActionEntityListing.
276276
277277
278-
:param first_uri: The first_uri of this ActionEntityListing.
278+
:param next_uri: The next_uri of this ActionEntityListing.
279279
:type: str
280280
"""
281281

282-
self._first_uri = first_uri
282+
self._next_uri = next_uri
283283

284284
@property
285285
def page_count(self):

0 commit comments

Comments
 (0)