Skip to content

Commit ea6bea5

Browse files
author
InIn Devops
committed
26.0.0
1 parent 8e9b655 commit ea6bea5

File tree

302 files changed

+3873
-5402
lines changed

Some content is hidden

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

302 files changed

+3873
-5402
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
from .models.agent_activity_notification_presence_presence_definition import AgentActivityNotificationPresencePresenceDefinition
3030
from .models.agent_activity_notification_routing_status import AgentActivityNotificationRoutingStatus
3131
from .models.agent_evaluator_activity import AgentEvaluatorActivity
32-
from .models.agent_management_unit_reference import AgentManagementUnitReference
3332
from .models.aggregate_data_container import AggregateDataContainer
3433
from .models.aggregate_metric_data import AggregateMetricData
3534
from .models.aggregate_query_response import AggregateQueryResponse
@@ -335,7 +334,6 @@
335334
from .models.create_share_response import CreateShareResponse
336335
from .models.create_user import CreateUser
337336
from .models.create_web_chat_request import CreateWebChatRequest
338-
from .models.current_user_schedule_request_body import CurrentUserScheduleRequestBody
339337
from .models.customer_interaction_center import CustomerInteractionCenter
340338
from .models.did import DID
341339
from .models.did_entity_listing import DIDEntityListing
@@ -646,7 +644,6 @@
646644
from .models.logical_interface_entity_listing import LogicalInterfaceEntityListing
647645
from .models.management_unit import ManagementUnit
648646
from .models.management_unit_listing import ManagementUnitListing
649-
from .models.management_unit_reference import ManagementUnitReference
650647
from .models.management_unit_settings import ManagementUnitSettings
651648
from .models.max_participants import MaxParticipants
652649
from .models.media_participant_request import MediaParticipantRequest
@@ -676,9 +673,6 @@
676673
from .models.meta_data import MetaData
677674
from .models.metabase import Metabase
678675
from .models.metered_evaluation_assignment import MeteredEvaluationAssignment
679-
from .models.move_agent_response import MoveAgentResponse
680-
from .models.move_agents_request import MoveAgentsRequest
681-
from .models.move_agents_response import MoveAgentsResponse
682676
from .models.ntp_settings import NTPSettings
683677
from .models.named_entity import NamedEntity
684678
from .models.note import Note
@@ -949,7 +943,6 @@
949943
from .models.time_interval import TimeInterval
950944
from .models.time_off_request import TimeOffRequest
951945
from .models.time_off_request_list import TimeOffRequestList
952-
from .models.time_off_request_patch import TimeOffRequestPatch
953946
from .models.time_off_request_settings import TimeOffRequestSettings
954947
from .models.time_off_request_update_notification import TimeOffRequestUpdateNotification
955948
from .models.time_off_request_update_notification_user import TimeOffRequestUpdateNotificationUser
@@ -1086,7 +1079,7 @@
10861079
from .models.wfm_intraday_queue_listing import WfmIntradayQueueListing
10871080
from .models.wfm_move_agents_complete_notification import WfmMoveAgentsCompleteNotification
10881081
from .models.wfm_move_agents_complete_notification_management_unit import WfmMoveAgentsCompleteNotificationManagementUnit
1089-
from .models.wfm_move_agents_complete_notification_move_agent_results import WfmMoveAgentsCompleteNotificationMoveAgentResults
1082+
from .models.wfm_move_agents_complete_notification_results import WfmMoveAgentsCompleteNotificationResults
10901083
from .models.wfm_move_agents_complete_notification_user import WfmMoveAgentsCompleteNotificationUser
10911084
from .models.wfm_move_agents_complete_notification_wfm_move_agent_data import WfmMoveAgentsCompleteNotificationWfmMoveAgentData
10921085
from .models.wfm_update_agent_details_complete_notification import WfmUpdateAgentDetailsCompleteNotification
@@ -1127,6 +1120,7 @@
11271120
from .apis.mobile_devices_api import MobileDevicesApi
11281121
from .apis.notifications_api import NotificationsApi
11291122
from .apis.o_auth_api import OAuthApi
1123+
from .apis.objects_api import ObjectsApi
11301124
from .apis.organization_api import OrganizationApi
11311125
from .apis.organization_authorization_api import OrganizationAuthorizationApi
11321126
from .apis.outbound_api import OutboundApi

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

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/apis/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .mobile_devices_api import MobileDevicesApi
2323
from .notifications_api import NotificationsApi
2424
from .o_auth_api import OAuthApi
25+
from .objects_api import ObjectsApi
2526
from .organization_api import OrganizationApi
2627
from .organization_authorization_api import OrganizationAuthorizationApi
2728
from .outbound_api import OutboundApi

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,78 @@ def delete_user_roles(self, user_id, **kwargs):
202202
callback=params.get('callback'))
203203
return response
204204

205+
def get_authorization_divisions_limit(self, **kwargs):
206+
"""
207+
Returns the maximum allowed number of divisions.
208+
209+
210+
This method makes a synchronous HTTP request by default. To make an
211+
asynchronous HTTP request, please define a `callback` function
212+
to be invoked when receiving the response.
213+
>>> def callback_function(response):
214+
>>> pprint(response)
215+
>>>
216+
>>> thread = api.get_authorization_divisions_limit(callback=callback_function)
217+
218+
:param callback function: The callback function
219+
for asynchronous request. (optional)
220+
:return: int
221+
If the method is called asynchronously,
222+
returns the request thread.
223+
"""
224+
225+
all_params = []
226+
all_params.append('callback')
227+
228+
params = locals()
229+
for key, val in iteritems(params['kwargs']):
230+
if key not in all_params:
231+
raise TypeError(
232+
"Got an unexpected keyword argument '%s'"
233+
" to method get_authorization_divisions_limit" % key
234+
)
235+
params[key] = val
236+
del params['kwargs']
237+
238+
239+
240+
resource_path = '/api/v2/authorization/divisions/limit'.replace('{format}', 'json')
241+
path_params = {}
242+
243+
query_params = {}
244+
245+
header_params = {}
246+
247+
form_params = []
248+
local_var_files = {}
249+
250+
body_params = None
251+
252+
# HTTP header `Accept`
253+
header_params['Accept'] = self.api_client.\
254+
select_header_accept(['application/json'])
255+
if not header_params['Accept']:
256+
del header_params['Accept']
257+
258+
# HTTP header `Content-Type`
259+
header_params['Content-Type'] = self.api_client.\
260+
select_header_content_type(['application/json'])
261+
262+
# Authentication setting
263+
auth_settings = ['PureCloud Auth']
264+
265+
response = self.api_client.call_api(resource_path, 'GET',
266+
path_params,
267+
query_params,
268+
header_params,
269+
body=body_params,
270+
post_params=form_params,
271+
files=local_var_files,
272+
response_type='int',
273+
auth_settings=auth_settings,
274+
callback=params.get('callback'))
275+
return response
276+
205277
def get_authorization_permissions(self, **kwargs):
206278
"""
207279
Get all permissions.

build/PureCloudPlatformClientV2/apis/groups_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,12 +470,13 @@ def get_group_profile(self, group_id, **kwargs):
470470
:param callback function: The callback function
471471
for asynchronous request. (optional)
472472
:param str group_id: groupId (required)
473+
:param str fields: Comma separated fields to return. Allowable values can be found by querying /api/v2/fieldconfig?type=group and using the key for the elements returned by the fieldList
473474
:return: GroupProfile
474475
If the method is called asynchronously,
475476
returns the request thread.
476477
"""
477478

478-
all_params = ['group_id']
479+
all_params = ['group_id', 'fields']
479480
all_params.append('callback')
480481

481482
params = locals()
@@ -499,6 +500,8 @@ def get_group_profile(self, group_id, **kwargs):
499500
path_params['groupId'] = params['group_id']
500501

501502
query_params = {}
503+
if 'fields' in params:
504+
query_params['fields'] = params['fields']
502505

503506
header_params = {}
504507

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# coding: utf-8
2+
3+
"""
4+
ObjectsApi.py
5+
Copyright 2016 SmartBear Software
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
"""
19+
20+
from __future__ import absolute_import
21+
22+
import sys
23+
import os
24+
import re
25+
26+
# python 2 and python 3 compatibility library
27+
from six import iteritems
28+
29+
from ..configuration import Configuration
30+
from ..api_client import ApiClient
31+
32+
33+
class ObjectsApi(object):
34+
"""
35+
NOTE: This class is auto generated by the swagger code generator program.
36+
Do not edit the class manually.
37+
Ref: https://github.com/swagger-api/swagger-codegen
38+
"""
39+
40+
def __init__(self, api_client=None):
41+
config = Configuration()
42+
if api_client:
43+
self.api_client = api_client
44+
else:
45+
if not config.api_client:
46+
config.api_client = ApiClient()
47+
self.api_client = config.api_client
48+
49+
def get_authorization_divisions_limit(self, **kwargs):
50+
"""
51+
Returns the maximum allowed number of divisions.
52+
53+
54+
This method makes a synchronous HTTP request by default. To make an
55+
asynchronous HTTP request, please define a `callback` function
56+
to be invoked when receiving the response.
57+
>>> def callback_function(response):
58+
>>> pprint(response)
59+
>>>
60+
>>> thread = api.get_authorization_divisions_limit(callback=callback_function)
61+
62+
:param callback function: The callback function
63+
for asynchronous request. (optional)
64+
:return: int
65+
If the method is called asynchronously,
66+
returns the request thread.
67+
"""
68+
69+
all_params = []
70+
all_params.append('callback')
71+
72+
params = locals()
73+
for key, val in iteritems(params['kwargs']):
74+
if key not in all_params:
75+
raise TypeError(
76+
"Got an unexpected keyword argument '%s'"
77+
" to method get_authorization_divisions_limit" % key
78+
)
79+
params[key] = val
80+
del params['kwargs']
81+
82+
83+
84+
resource_path = '/api/v2/authorization/divisions/limit'.replace('{format}', 'json')
85+
path_params = {}
86+
87+
query_params = {}
88+
89+
header_params = {}
90+
91+
form_params = []
92+
local_var_files = {}
93+
94+
body_params = None
95+
96+
# HTTP header `Accept`
97+
header_params['Accept'] = self.api_client.\
98+
select_header_accept(['application/json'])
99+
if not header_params['Accept']:
100+
del header_params['Accept']
101+
102+
# HTTP header `Content-Type`
103+
header_params['Content-Type'] = self.api_client.\
104+
select_header_content_type(['application/json'])
105+
106+
# Authentication setting
107+
auth_settings = ['PureCloud Auth']
108+
109+
response = self.api_client.call_api(resource_path, 'GET',
110+
path_params,
111+
query_params,
112+
header_params,
113+
body=body_params,
114+
post_params=form_params,
115+
files=local_var_files,
116+
response_type='int',
117+
auth_settings=auth_settings,
118+
callback=params.get('callback'))
119+
return response

0 commit comments

Comments
 (0)