Skip to content

Commit 4fd7346

Browse files
author
PureCloud Jenkins
committed
55.0.0
1 parent 0a09abd commit 4fd7346

File tree

361 files changed

+9646
-7421
lines changed

Some content is hidden

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

361 files changed

+9646
-7421
lines changed

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101
from .models.attempt_limits_entity_listing import AttemptLimitsEntityListing
102102
from .models.attribute import Attribute
103103
from .models.attribute_filter_item import AttributeFilterItem
104+
from .models.atzm_time_slot import AtzmTimeSlot
105+
from .models.atzm_time_slot_with_time_zone import AtzmTimeSlotWithTimeZone
104106
from .models.audit_change import AuditChange
105107
from .models.audit_entity import AuditEntity
106108
from .models.audit_entity_reference import AuditEntityReference
@@ -116,6 +118,7 @@
116118
from .models.authz_grant_policy import AuthzGrantPolicy
117119
from .models.authz_grant_role import AuthzGrantRole
118120
from .models.authz_subject import AuthzSubject
121+
from .models.automatic_time_zone_mapping_settings import AutomaticTimeZoneMappingSettings
119122
from .models.available_language_list import AvailableLanguageList
120123
from .models.available_topic import AvailableTopic
121124
from .models.available_topic_entity_listing import AvailableTopicEntityListing
@@ -157,6 +160,7 @@
157160
from .models.callable_time import CallableTime
158161
from .models.callable_time_set import CallableTimeSet
159162
from .models.callable_time_set_entity_listing import CallableTimeSetEntityListing
163+
from .models.callable_window import CallableWindow
160164
from .models.callback import Callback
161165
from .models.callback_basic import CallbackBasic
162166
from .models.callback_conversation import CallbackConversation
@@ -493,6 +497,10 @@
493497
from .models.dialer_dnclist_config_change_import_status import DialerDnclistConfigChangeImportStatus
494498
from .models.dialer_dnclist_config_change_uri_reference import DialerDnclistConfigChangeUriReference
495499
from .models.dialer_event_entity_listing import DialerEventEntityListing
500+
from .models.dialer_outbound_settings_config_change_atzm_time_slot import DialerOutboundSettingsConfigChangeAtzmTimeSlot
501+
from .models.dialer_outbound_settings_config_change_atzm_time_slot_with_time_zone import DialerOutboundSettingsConfigChangeAtzmTimeSlotWithTimeZone
502+
from .models.dialer_outbound_settings_config_change_automatic_time_zone_mapping_settings import DialerOutboundSettingsConfigChangeAutomaticTimeZoneMappingSettings
503+
from .models.dialer_outbound_settings_config_change_callable_window import DialerOutboundSettingsConfigChangeCallableWindow
496504
from .models.dialer_outbound_settings_config_change_outbound_settings import DialerOutboundSettingsConfigChangeOutboundSettings
497505
from .models.dialer_preview import DialerPreview
498506
from .models.dialer_responseset_config_change_reaction import DialerResponsesetConfigChangeReaction
@@ -743,6 +751,7 @@
743751
from .models.integration_entity_listing import IntegrationEntityListing
744752
from .models.integration_event import IntegrationEvent
745753
from .models.integration_event_entity_listing import IntegrationEventEntityListing
754+
from .models.integration_export import IntegrationExport
746755
from .models.integration_status_info import IntegrationStatusInfo
747756
from .models.integration_type import IntegrationType
748757
from .models.integration_type_entity_listing import IntegrationTypeEntityListing
@@ -947,7 +956,7 @@
947956
from .models.publish_form import PublishForm
948957
from .models.published_survey_form_reference import PublishedSurveyFormReference
949958
from .models.pure_cloud import PureCloud
950-
from .models.pure_enage import PureEnage
959+
from .models.pure_engage import PureEngage
951960
from .models.qualifier_mapping_observation_query_response import QualifierMappingObservationQueryResponse
952961
from .models.quality_audit import QualityAudit
953962
from .models.quality_audit_page import QualityAuditPage
@@ -1187,6 +1196,7 @@
11871196
from .models.route_group_attributes import RouteGroupAttributes
11881197
from .models.route_group_list import RouteGroupList
11891198
from .models.routing_data import RoutingData
1199+
from .models.routing_rule import RoutingRule
11901200
from .models.routing_skill import RoutingSkill
11911201
from .models.routing_skill_reference import RoutingSkillReference
11921202
from .models.routing_status import RoutingStatus

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def __call_api(self, resource_path, method,
116116
header_params['Cookie'] = self.cookie
117117
if header_params:
118118
header_params = self.sanitize_for_serialization(header_params)
119-
header_params['purecloud-sdk'] = '54.0.0'
119+
header_params['purecloud-sdk'] = '55.0.0'
120120

121121
# path parameters
122122
if path_params:

build/PureCloudPlatformClientV2/apis/identity_provider_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ def get_identityproviders_pureengage(self, **kwargs):
14291429
14301430
:param callback function: The callback function
14311431
for asynchronous request. (optional)
1432-
:return: PureEnage
1432+
:return: PureEngage
14331433
If the method is called asynchronously,
14341434
returns the request thread.
14351435
"""
@@ -1481,7 +1481,7 @@ def get_identityproviders_pureengage(self, **kwargs):
14811481
body=body_params,
14821482
post_params=form_params,
14831483
files=local_var_files,
1484-
response_type='PureEnage',
1484+
response_type='PureEngage',
14851485
auth_settings=auth_settings,
14861486
callback=params.get('callback'))
14871487
return response
@@ -2197,7 +2197,7 @@ def put_identityproviders_pureengage(self, body, **kwargs):
21972197
21982198
:param callback function: The callback function
21992199
for asynchronous request. (optional)
2200-
:param PureEnage body: Provider (required)
2200+
:param PureEngage body: Provider (required)
22012201
:return: OAuthProvider
22022202
If the method is called asynchronously,
22032203
returns the request thread.

build/PureCloudPlatformClientV2/apis/routing_api.py

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3546,7 +3546,7 @@ def patch_user_routinglanguages_bulk(self, user_id, body, **kwargs):
35463546

35473547
def patch_user_routingskills_bulk(self, user_id, body, **kwargs):
35483548
"""
3549-
Add bulk routing skills to user
3549+
Bulk add routing skills to user
35503550
35513551
35523552
This method makes a synchronous HTTP request by default. To make an
@@ -5268,3 +5268,87 @@ def put_user_routingskill(self, user_id, skill_id, body, **kwargs):
52685268
auth_settings=auth_settings,
52695269
callback=params.get('callback'))
52705270
return response
5271+
5272+
def put_user_routingskills_bulk(self, user_id, body, **kwargs):
5273+
"""
5274+
Replace all routing skills assigned to a user
5275+
5276+
5277+
This method makes a synchronous HTTP request by default. To make an
5278+
asynchronous HTTP request, please define a `callback` function
5279+
to be invoked when receiving the response.
5280+
>>> def callback_function(response):
5281+
>>> pprint(response)
5282+
>>>
5283+
>>> thread = api.put_user_routingskills_bulk(user_id, body, callback=callback_function)
5284+
5285+
:param callback function: The callback function
5286+
for asynchronous request. (optional)
5287+
:param str user_id: User ID (required)
5288+
:param list[UserRoutingSkillPost] body: Skill (required)
5289+
:return: UserSkillEntityListing
5290+
If the method is called asynchronously,
5291+
returns the request thread.
5292+
"""
5293+
5294+
all_params = ['user_id', 'body']
5295+
all_params.append('callback')
5296+
5297+
params = locals()
5298+
for key, val in iteritems(params['kwargs']):
5299+
if key not in all_params:
5300+
raise TypeError(
5301+
"Got an unexpected keyword argument '%s'"
5302+
" to method put_user_routingskills_bulk" % key
5303+
)
5304+
params[key] = val
5305+
del params['kwargs']
5306+
5307+
# verify the required parameter 'user_id' is set
5308+
if ('user_id' not in params) or (params['user_id'] is None):
5309+
raise ValueError("Missing the required parameter `user_id` when calling `put_user_routingskills_bulk`")
5310+
# verify the required parameter 'body' is set
5311+
if ('body' not in params) or (params['body'] is None):
5312+
raise ValueError("Missing the required parameter `body` when calling `put_user_routingskills_bulk`")
5313+
5314+
5315+
resource_path = '/api/v2/users/{userId}/routingskills/bulk'.replace('{format}', 'json')
5316+
path_params = {}
5317+
if 'user_id' in params:
5318+
path_params['userId'] = params['user_id']
5319+
5320+
query_params = {}
5321+
5322+
header_params = {}
5323+
5324+
form_params = []
5325+
local_var_files = {}
5326+
5327+
body_params = None
5328+
if 'body' in params:
5329+
body_params = params['body']
5330+
5331+
# HTTP header `Accept`
5332+
header_params['Accept'] = self.api_client.\
5333+
select_header_accept(['application/json'])
5334+
if not header_params['Accept']:
5335+
del header_params['Accept']
5336+
5337+
# HTTP header `Content-Type`
5338+
header_params['Content-Type'] = self.api_client.\
5339+
select_header_content_type(['application/json'])
5340+
5341+
# Authentication setting
5342+
auth_settings = ['PureCloud OAuth']
5343+
5344+
response = self.api_client.call_api(resource_path, 'PUT',
5345+
path_params,
5346+
query_params,
5347+
header_params,
5348+
body=body_params,
5349+
post_params=form_params,
5350+
files=local_var_files,
5351+
response_type='UserSkillEntityListing',
5352+
auth_settings=auth_settings,
5353+
callback=params.get('callback'))
5354+
return response

build/PureCloudPlatformClientV2/apis/telephony_providers_edge_api.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3162,12 +3162,14 @@ def get_telephony_providers_edges_dids(self, **kwargs):
31623162
:param str sort_by: Sort by
31633163
:param str sort_order: Sort order
31643164
:param str phone_number: Filter by phoneNumber
3165+
:param str owner_id: Filter by the owner of a phone number
3166+
:param str did_pool_id: Filter by the DID Pool assignment
31653167
:return: DIDEntityListing
31663168
If the method is called asynchronously,
31673169
returns the request thread.
31683170
"""
31693171

3170-
all_params = ['page_size', 'page_number', 'sort_by', 'sort_order', 'phone_number']
3172+
all_params = ['page_size', 'page_number', 'sort_by', 'sort_order', 'phone_number', 'owner_id', 'did_pool_id']
31713173
all_params.append('callback')
31723174

31733175
params = locals()
@@ -3196,6 +3198,10 @@ def get_telephony_providers_edges_dids(self, **kwargs):
31963198
query_params['sortOrder'] = params['sort_order']
31973199
if 'phone_number' in params:
31983200
query_params['phoneNumber'] = params['phone_number']
3201+
if 'owner_id' in params:
3202+
query_params['owner.id'] = params['owner_id']
3203+
if 'did_pool_id' in params:
3204+
query_params['didPool.id'] = params['did_pool_id']
31993205

32003206
header_params = {}
32013207

build/PureCloudPlatformClientV2/apis/users_api.py

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3363,7 +3363,7 @@ def patch_user_routinglanguages_bulk(self, user_id, body, **kwargs):
33633363

33643364
def patch_user_routingskills_bulk(self, user_id, body, **kwargs):
33653365
"""
3366-
Add bulk routing skills to user
3366+
Bulk add routing skills to user
33673367
33683368
33693369
This method makes a synchronous HTTP request by default. To make an
@@ -4843,6 +4843,90 @@ def put_user_routingskill(self, user_id, skill_id, body, **kwargs):
48434843
callback=params.get('callback'))
48444844
return response
48454845

4846+
def put_user_routingskills_bulk(self, user_id, body, **kwargs):
4847+
"""
4848+
Replace all routing skills assigned to a user
4849+
4850+
4851+
This method makes a synchronous HTTP request by default. To make an
4852+
asynchronous HTTP request, please define a `callback` function
4853+
to be invoked when receiving the response.
4854+
>>> def callback_function(response):
4855+
>>> pprint(response)
4856+
>>>
4857+
>>> thread = api.put_user_routingskills_bulk(user_id, body, callback=callback_function)
4858+
4859+
:param callback function: The callback function
4860+
for asynchronous request. (optional)
4861+
:param str user_id: User ID (required)
4862+
:param list[UserRoutingSkillPost] body: Skill (required)
4863+
:return: UserSkillEntityListing
4864+
If the method is called asynchronously,
4865+
returns the request thread.
4866+
"""
4867+
4868+
all_params = ['user_id', 'body']
4869+
all_params.append('callback')
4870+
4871+
params = locals()
4872+
for key, val in iteritems(params['kwargs']):
4873+
if key not in all_params:
4874+
raise TypeError(
4875+
"Got an unexpected keyword argument '%s'"
4876+
" to method put_user_routingskills_bulk" % key
4877+
)
4878+
params[key] = val
4879+
del params['kwargs']
4880+
4881+
# verify the required parameter 'user_id' is set
4882+
if ('user_id' not in params) or (params['user_id'] is None):
4883+
raise ValueError("Missing the required parameter `user_id` when calling `put_user_routingskills_bulk`")
4884+
# verify the required parameter 'body' is set
4885+
if ('body' not in params) or (params['body'] is None):
4886+
raise ValueError("Missing the required parameter `body` when calling `put_user_routingskills_bulk`")
4887+
4888+
4889+
resource_path = '/api/v2/users/{userId}/routingskills/bulk'.replace('{format}', 'json')
4890+
path_params = {}
4891+
if 'user_id' in params:
4892+
path_params['userId'] = params['user_id']
4893+
4894+
query_params = {}
4895+
4896+
header_params = {}
4897+
4898+
form_params = []
4899+
local_var_files = {}
4900+
4901+
body_params = None
4902+
if 'body' in params:
4903+
body_params = params['body']
4904+
4905+
# HTTP header `Accept`
4906+
header_params['Accept'] = self.api_client.\
4907+
select_header_accept(['application/json'])
4908+
if not header_params['Accept']:
4909+
del header_params['Accept']
4910+
4911+
# HTTP header `Content-Type`
4912+
header_params['Content-Type'] = self.api_client.\
4913+
select_header_content_type(['application/json'])
4914+
4915+
# Authentication setting
4916+
auth_settings = ['PureCloud OAuth']
4917+
4918+
response = self.api_client.call_api(resource_path, 'PUT',
4919+
path_params,
4920+
query_params,
4921+
header_params,
4922+
body=body_params,
4923+
post_params=form_params,
4924+
files=local_var_files,
4925+
response_type='UserSkillEntityListing',
4926+
auth_settings=auth_settings,
4927+
callback=params.get('callback'))
4928+
return response
4929+
48464930
def put_user_routingstatus(self, user_id, body, **kwargs):
48474931
"""
48484932
Update the routing status of a user

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,5 +246,5 @@ def to_debug_report(self):
246246
"OS: {env}\n"\
247247
"Python Version: {pyversion}\n"\
248248
"Version of the API: v2\n"\
249-
"SDK Package Version: 54.0.0".\
249+
"SDK Package Version: 55.0.0".\
250250
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@
101101
from .attempt_limits_entity_listing import AttemptLimitsEntityListing
102102
from .attribute import Attribute
103103
from .attribute_filter_item import AttributeFilterItem
104+
from .atzm_time_slot import AtzmTimeSlot
105+
from .atzm_time_slot_with_time_zone import AtzmTimeSlotWithTimeZone
104106
from .audit_change import AuditChange
105107
from .audit_entity import AuditEntity
106108
from .audit_entity_reference import AuditEntityReference
@@ -116,6 +118,7 @@
116118
from .authz_grant_policy import AuthzGrantPolicy
117119
from .authz_grant_role import AuthzGrantRole
118120
from .authz_subject import AuthzSubject
121+
from .automatic_time_zone_mapping_settings import AutomaticTimeZoneMappingSettings
119122
from .available_language_list import AvailableLanguageList
120123
from .available_topic import AvailableTopic
121124
from .available_topic_entity_listing import AvailableTopicEntityListing
@@ -157,6 +160,7 @@
157160
from .callable_time import CallableTime
158161
from .callable_time_set import CallableTimeSet
159162
from .callable_time_set_entity_listing import CallableTimeSetEntityListing
163+
from .callable_window import CallableWindow
160164
from .callback import Callback
161165
from .callback_basic import CallbackBasic
162166
from .callback_conversation import CallbackConversation
@@ -493,6 +497,10 @@
493497
from .dialer_dnclist_config_change_import_status import DialerDnclistConfigChangeImportStatus
494498
from .dialer_dnclist_config_change_uri_reference import DialerDnclistConfigChangeUriReference
495499
from .dialer_event_entity_listing import DialerEventEntityListing
500+
from .dialer_outbound_settings_config_change_atzm_time_slot import DialerOutboundSettingsConfigChangeAtzmTimeSlot
501+
from .dialer_outbound_settings_config_change_atzm_time_slot_with_time_zone import DialerOutboundSettingsConfigChangeAtzmTimeSlotWithTimeZone
502+
from .dialer_outbound_settings_config_change_automatic_time_zone_mapping_settings import DialerOutboundSettingsConfigChangeAutomaticTimeZoneMappingSettings
503+
from .dialer_outbound_settings_config_change_callable_window import DialerOutboundSettingsConfigChangeCallableWindow
496504
from .dialer_outbound_settings_config_change_outbound_settings import DialerOutboundSettingsConfigChangeOutboundSettings
497505
from .dialer_preview import DialerPreview
498506
from .dialer_responseset_config_change_reaction import DialerResponsesetConfigChangeReaction
@@ -743,6 +751,7 @@
743751
from .integration_entity_listing import IntegrationEntityListing
744752
from .integration_event import IntegrationEvent
745753
from .integration_event_entity_listing import IntegrationEventEntityListing
754+
from .integration_export import IntegrationExport
746755
from .integration_status_info import IntegrationStatusInfo
747756
from .integration_type import IntegrationType
748757
from .integration_type_entity_listing import IntegrationTypeEntityListing
@@ -947,7 +956,7 @@
947956
from .publish_form import PublishForm
948957
from .published_survey_form_reference import PublishedSurveyFormReference
949958
from .pure_cloud import PureCloud
950-
from .pure_enage import PureEnage
959+
from .pure_engage import PureEngage
951960
from .qualifier_mapping_observation_query_response import QualifierMappingObservationQueryResponse
952961
from .quality_audit import QualityAudit
953962
from .quality_audit_page import QualityAuditPage
@@ -1187,6 +1196,7 @@
11871196
from .route_group_attributes import RouteGroupAttributes
11881197
from .route_group_list import RouteGroupList
11891198
from .routing_data import RoutingData
1199+
from .routing_rule import RoutingRule
11901200
from .routing_skill import RoutingSkill
11911201
from .routing_skill_reference import RoutingSkillReference
11921202
from .routing_status import RoutingStatus

0 commit comments

Comments
 (0)