Skip to content

Commit 8900553

Browse files
author
PureCloud Jenkins
committed
50.0.0
1 parent 161834b commit 8900553

390 files changed

Lines changed: 6021 additions & 4180 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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
from .models.billing_usage import BillingUsage
128128
from .models.billing_usage_report import BillingUsageReport
129129
from .models.billing_usage_resource import BillingUsageResource
130+
from .models.biography import Biography
130131
from .models.bullseye import Bullseye
131132
from .models.calibration import Calibration
132133
from .models.calibration_assignment import CalibrationAssignment
@@ -553,6 +554,7 @@
553554
from .models.emergency_call_flow import EmergencyCallFlow
554555
from .models.emergency_group import EmergencyGroup
555556
from .models.emergency_group_listing import EmergencyGroupListing
557+
from .models.employer_info import EmployerInfo
556558
from .models.empty import Empty
557559
from .models.encryption_key import EncryptionKey
558560
from .models.encryption_key_entity_listing import EncryptionKeyEntityListing
@@ -708,6 +710,11 @@
708710
from .models.intraday_queue import IntradayQueue
709711
from .models.intraday_response import IntradayResponse
710712
from .models.intraday_schedule_data import IntradayScheduleData
713+
from .models.journey_action import JourneyAction
714+
from .models.journey_action_map import JourneyActionMap
715+
from .models.journey_context import JourneyContext
716+
from .models.journey_customer import JourneyCustomer
717+
from .models.journey_customer_session import JourneyCustomerSession
711718
from .models.json_node_search_response import JsonNodeSearchResponse
712719
from .models.json_schema_document import JsonSchemaDocument
713720
from .models.key_rotation_schedule import KeyRotationSchedule

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'] = '49.0.1'
119+
header_params['purecloud-sdk'] = '50.0.0'
120120

121121
# path parameters
122122
if path_params:

build/PureCloudPlatformClientV2/apis/billing_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def get_billing_trusteebillingoverview_trustor_org_id(self, trustor_org_id, **kw
146146
:param callback function: The callback function
147147
for asynchronous request. (optional)
148148
:param str trustor_org_id: The organization ID of the trustor (customer) organization. (required)
149-
:param int billing_period_index: Billing Period Index
149+
:param int billing_period_index: 0 for active period (overview data may change until period closes). 1 for prior completed billing period. 2 for two billing cycles prior, and so on.
150150
:return: TrusteeBillingOverview
151151
If the method is called asynchronously,
152152
returns the request thread.

build/PureCloudPlatformClientV2/apis/routing_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3198,7 +3198,7 @@ def get_user_routingskills(self, user_id, **kwargs):
31983198

31993199
def patch_routing_queue_user(self, queue_id, member_id, body, **kwargs):
32003200
"""
3201-
Update the ring number or joined status for a User in a Queue
3201+
Update the ring number OR joined status for a User in a Queue
32023202
32033203
32043204
This method makes a synchronous HTTP request by default. To make an

build/PureCloudPlatformClientV2/apis/tokens_api.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,84 @@ def __init__(self, api_client=None):
4646
config.api_client = ApiClient()
4747
self.api_client = config.api_client
4848

49+
def delete_token(self, user_id, **kwargs):
50+
"""
51+
Delete all auth tokens for the specified user.
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.delete_token(user_id, callback=callback_function)
61+
62+
:param callback function: The callback function
63+
for asynchronous request. (optional)
64+
:param str user_id: User ID (required)
65+
:return: None
66+
If the method is called asynchronously,
67+
returns the request thread.
68+
"""
69+
70+
all_params = ['user_id']
71+
all_params.append('callback')
72+
73+
params = locals()
74+
for key, val in iteritems(params['kwargs']):
75+
if key not in all_params:
76+
raise TypeError(
77+
"Got an unexpected keyword argument '%s'"
78+
" to method delete_token" % key
79+
)
80+
params[key] = val
81+
del params['kwargs']
82+
83+
# verify the required parameter 'user_id' is set
84+
if ('user_id' not in params) or (params['user_id'] is None):
85+
raise ValueError("Missing the required parameter `user_id` when calling `delete_token`")
86+
87+
88+
resource_path = '/api/v2/tokens/{userId}'.replace('{format}', 'json')
89+
path_params = {}
90+
if 'user_id' in params:
91+
path_params['userId'] = params['user_id']
92+
93+
query_params = {}
94+
95+
header_params = {}
96+
97+
form_params = []
98+
local_var_files = {}
99+
100+
body_params = None
101+
102+
# HTTP header `Accept`
103+
header_params['Accept'] = self.api_client.\
104+
select_header_accept(['application/json'])
105+
if not header_params['Accept']:
106+
del header_params['Accept']
107+
108+
# HTTP header `Content-Type`
109+
header_params['Content-Type'] = self.api_client.\
110+
select_header_content_type(['application/json'])
111+
112+
# Authentication setting
113+
auth_settings = ['PureCloud OAuth']
114+
115+
response = self.api_client.call_api(resource_path, 'DELETE',
116+
path_params,
117+
query_params,
118+
header_params,
119+
body=body_params,
120+
post_params=form_params,
121+
files=local_var_files,
122+
response_type=None,
123+
auth_settings=auth_settings,
124+
callback=params.get('callback'))
125+
return response
126+
49127
def delete_tokens_me(self, **kwargs):
50128
"""
51129
Delete auth token used to make the request.

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: 49.0.1".\
249+
"SDK Package Version: 50.0.0".\
250250
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
from .billing_usage import BillingUsage
128128
from .billing_usage_report import BillingUsageReport
129129
from .billing_usage_resource import BillingUsageResource
130+
from .biography import Biography
130131
from .bullseye import Bullseye
131132
from .calibration import Calibration
132133
from .calibration_assignment import CalibrationAssignment
@@ -553,6 +554,7 @@
553554
from .emergency_call_flow import EmergencyCallFlow
554555
from .emergency_group import EmergencyGroup
555556
from .emergency_group_listing import EmergencyGroupListing
557+
from .employer_info import EmployerInfo
556558
from .empty import Empty
557559
from .encryption_key import EncryptionKey
558560
from .encryption_key_entity_listing import EncryptionKeyEntityListing
@@ -708,6 +710,11 @@
708710
from .intraday_queue import IntradayQueue
709711
from .intraday_response import IntradayResponse
710712
from .intraday_schedule_data import IntradayScheduleData
713+
from .journey_action import JourneyAction
714+
from .journey_action_map import JourneyActionMap
715+
from .journey_context import JourneyContext
716+
from .journey_customer import JourneyCustomer
717+
from .journey_customer_session import JourneyCustomerSession
711718
from .json_node_search_response import JsonNodeSearchResponse
712719
from .json_schema_document import JsonSchemaDocument
713720
from .key_rotation_schedule import KeyRotationSchedule

build/PureCloudPlatformClientV2/models/action_entity_listing.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def __init__(self):
4444
'total': 'int',
4545
'first_uri': 'str',
4646
'self_uri': 'str',
47-
'previous_uri': 'str',
4847
'next_uri': 'str',
48+
'previous_uri': 'str',
4949
'last_uri': 'str',
5050
'page_count': 'int'
5151
}
@@ -57,8 +57,8 @@ def __init__(self):
5757
'total': 'total',
5858
'first_uri': 'firstUri',
5959
'self_uri': 'selfUri',
60-
'previous_uri': 'previousUri',
6160
'next_uri': 'nextUri',
61+
'previous_uri': 'previousUri',
6262
'last_uri': 'lastUri',
6363
'page_count': 'pageCount'
6464
}
@@ -69,8 +69,8 @@ def __init__(self):
6969
self._total = None
7070
self._first_uri = None
7171
self._self_uri = None
72-
self._previous_uri = None
7372
self._next_uri = None
73+
self._previous_uri = None
7474
self._last_uri = None
7575
self._page_count = None
7676

@@ -213,50 +213,50 @@ def self_uri(self, self_uri):
213213
self._self_uri = self_uri
214214

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

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

236-
self._previous_uri = previous_uri
236+
self._next_uri = next_uri
237237

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

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

259-
self._next_uri = next_uri
259+
self._previous_uri = previous_uri
260260

261261
@property
262262
def last_uri(self):

build/PureCloudPlatformClientV2/models/agent_activity_entity_listing.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def __init__(self):
4444
'total': 'int',
4545
'first_uri': 'str',
4646
'self_uri': 'str',
47-
'previous_uri': 'str',
4847
'next_uri': 'str',
48+
'previous_uri': 'str',
4949
'last_uri': 'str',
5050
'page_count': 'int'
5151
}
@@ -57,8 +57,8 @@ def __init__(self):
5757
'total': 'total',
5858
'first_uri': 'firstUri',
5959
'self_uri': 'selfUri',
60-
'previous_uri': 'previousUri',
6160
'next_uri': 'nextUri',
61+
'previous_uri': 'previousUri',
6262
'last_uri': 'lastUri',
6363
'page_count': 'pageCount'
6464
}
@@ -69,8 +69,8 @@ def __init__(self):
6969
self._total = None
7070
self._first_uri = None
7171
self._self_uri = None
72-
self._previous_uri = None
7372
self._next_uri = None
73+
self._previous_uri = None
7474
self._last_uri = None
7575
self._page_count = None
7676

@@ -213,50 +213,50 @@ def self_uri(self, self_uri):
213213
self._self_uri = self_uri
214214

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

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

236-
self._previous_uri = previous_uri
236+
self._next_uri = next_uri
237237

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

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

259-
self._next_uri = next_uri
259+
self._previous_uri = previous_uri
260260

261261
@property
262262
def last_uri(self):

build/PureCloudPlatformClientV2/models/aggregate_metric_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def metric(self, metric):
7373
:param metric: The metric of this AggregateMetricData.
7474
:type: str
7575
"""
76-
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
76+
allowed_values = ["tSegmentDuration", "tConversationDuration", "oTotalCriticalScore", "oTotalScore", "nEvaluations", "tAbandon", "tIvr", "tAnswered", "tFlowOut", "tAcd", "tTalk", "tHeld", "tTalkComplete", "tHeldComplete", "tAcw", "tHandle", "tContacting", "tDialing", "tWait", "tAgentRoutingStatus", "tOrganizationPresence", "tSystemPresence", "tUserResponseTime", "tAgentResponseTime", "tVoicemail", "nStateTransitionError", "nOffered", "nOverSla", "nTransferred", "nBlindTransferred", "nConsultTransferred", "nConsult", "nConnected", "tAlert", "tNotResponding", "nOutbound", "nOutboundAttempted", "nOutboundConnected", "nOutboundAbandoned", "nError", "oServiceTarget", "oServiceLevel", "tActive", "tInactive", "oActiveUsers", "oMemberUsers", "oActiveQueues", "oMemberQueues", "oInteracting", "oWaiting", "oOnQueueUsers", "oOffQueueUsers", "oUserPresences", "oUserRoutingStatuses", "nSurveysSent", "nSurveysStarted", "nSurveysAbandoned", "nSurveysExpired", "nSurveyErrors", "nSurveyResponses", "nSurveyAnswerResponses", "oSurveyTotalScore", "oSurveyQuestionGroupScore", "nSurveyQuestionGroupResponses", "oSurveyQuestionScore", "nSurveyQuestionResponses", "nSurveyNpsResponses", "nSurveyNpsPromoters", "nSurveyNpsDetractors", "nFlow", "tFlowDisconnect", "tFlowExit", "tFlow", "tFlowOutcome", "nFlowOutcome", "nFlowOutcomeFailed"]
7777
if metric.lower() not in map(str.lower, allowed_values):
7878
# print "Invalid value for metric -> " + metric
7979
self._metric = "outdated_sdk_version"

0 commit comments

Comments
 (0)