Skip to content

Commit 0a0eeb4

Browse files
author
PureCloud Jenkins
committed
48.0.1
1 parent d29af70 commit 0a0eeb4

64 files changed

Lines changed: 2479 additions & 2503 deletions

Some content is hidden

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

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Documentation can be found at [https://developer.mypurecloud.com/api/rest/client
88

99
## Install Using pip
1010

11-
~~~ python
11+
```{"language":"python"}
1212
pip install PureCloudPlatformClientV2
13-
~~~
13+
```
1414

1515
Package info can be found at [https://pypi.python.org/pypi/PureCloudPlatformClientV2](https://pypi.python.org/pypi/PureCloudPlatformClientV2)
1616

@@ -20,25 +20,25 @@ Package info can be found at [https://pypi.python.org/pypi/PureCloudPlatformClie
2020

2121
Import the package in the python script:
2222

23-
~~~ python
23+
```{"language":"python"}
2424
import PureCloudPlatformClientV2
25-
~~~
25+
```
2626

2727
### Authenticating
2828

2929
The Python SDK does not currently contain helper methods to complete an OAuth flow. The consuming applicaiton must complete an OAuth flow to get an access token outside the scope of the SDK. Once an access token is obtained, it should be set on the SDK via `PureCloudPlatformClientV2.configuration.access_token`. For more information about authenticating with OAuth, see the Developer Center article [Authorization](https://developer.mypurecloud.com/api/rest/authorization/index.html).
3030

31-
~~~ python
31+
```{"language":"python"}
3232
PureCloudPlatformClientV2.configuration.access_token = 'cuQbSAf1LU4CuIaSj1D6Gm399jmTr7zLTTc3KPSyCvEyJQIo9r648h3SH8oFzLPPKxE3Mvb166lq5NcjSBoGE5A'
33-
~~~
33+
```
3434

3535
### Setting the Environment
3636

3737
If connecting to a PureCloud environment other than mypurecloud.com (e.g. mypurecloud.ie), set the new base path before constructing any API classes. The new base path should be the base path to the Platform API for your environment.
3838

39-
~~~ python
39+
```{"language":"python"}
4040
PureCloudPlatformClientV2.configuration.host = 'https://api.mypurecloud.ie'
41-
~~~
41+
```
4242

4343
### Making Requests
4444

@@ -49,10 +49,10 @@ There are two steps to making requests:
4949

5050
Example of getting the authenticated user's information:
5151

52-
~~~ python
52+
```{"language":"python"}
5353
usersApi = PureCloudPlatformClientV2.UsersApi()
5454
print usersApi.get_users_me()
55-
~~~
55+
```
5656

5757
## SDK Source Code Generation
5858

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

117117
# path parameters
118118
if path_params:

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,5 +245,5 @@ def to_debug_report(self):
245245
"OS: {env}\n"\
246246
"Python Version: {pyversion}\n"\
247247
"Version of the API: v2\n"\
248-
"SDK Package Version: 48.0.0".\
248+
"SDK Package Version: 48.0.1".\
249249
format(env=sys.platform, pyversion=sys.version)

build/PureCloudPlatformClientV2/models/conversation_callback_event_topic_voicemail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def upload_status(self, upload_status):
9393
:param upload_status: The upload_status of this ConversationCallbackEventTopicVoicemail.
9494
:type: str
9595
"""
96-
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT"]
96+
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT", "NONE"]
9797
if upload_status.lower() not in map(str.lower, allowed_values):
9898
# print "Invalid value for upload_status -> " + upload_status
9999
self._upload_status = "outdated_sdk_version"

build/PureCloudPlatformClientV2/models/conversation_event_topic_voicemail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def upload_status(self, upload_status):
9393
:param upload_status: The upload_status of this ConversationEventTopicVoicemail.
9494
:type: str
9595
"""
96-
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT"]
96+
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT", "NONE"]
9797
if upload_status.lower() not in map(str.lower, allowed_values):
9898
# print "Invalid value for upload_status -> " + upload_status
9999
self._upload_status = "outdated_sdk_version"

build/PureCloudPlatformClientV2/models/dialer_ruleset_config_change_condition.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def __init__(self):
4747
'codes': 'list[str]',
4848
'property_type': 'str',
4949
'pcProperty': 'str',
50+
'data_not_found_resolution': 'bool',
5051
'contact_id_field': 'str',
5152
'call_analysis_result_field': 'str',
5253
'agent_wrapup_field': 'str',
@@ -66,6 +67,7 @@ def __init__(self):
6667
'codes': 'codes',
6768
'property_type': 'propertyType',
6869
'pcProperty': 'property',
70+
'data_not_found_resolution': 'dataNotFoundResolution',
6971
'contact_id_field': 'contactIdField',
7072
'call_analysis_result_field': 'callAnalysisResultField',
7173
'agent_wrapup_field': 'agentWrapupField',
@@ -84,6 +86,7 @@ def __init__(self):
8486
self._codes = None
8587
self._property_type = None
8688
self._pcProperty = None
89+
self._data_not_found_resolution = None
8790
self._contact_id_field = None
8891
self._call_analysis_result_field = None
8992
self._agent_wrapup_field = None
@@ -311,6 +314,29 @@ def pcProperty(self, pcProperty):
311314

312315
self._pcProperty = pcProperty
313316

317+
@property
318+
def data_not_found_resolution(self):
319+
"""
320+
Gets the data_not_found_resolution of this DialerRulesetConfigChangeCondition.
321+
322+
323+
:return: The data_not_found_resolution of this DialerRulesetConfigChangeCondition.
324+
:rtype: bool
325+
"""
326+
return self._data_not_found_resolution
327+
328+
@data_not_found_resolution.setter
329+
def data_not_found_resolution(self, data_not_found_resolution):
330+
"""
331+
Sets the data_not_found_resolution of this DialerRulesetConfigChangeCondition.
332+
333+
334+
:param data_not_found_resolution: The data_not_found_resolution of this DialerRulesetConfigChangeCondition.
335+
:type: bool
336+
"""
337+
338+
self._data_not_found_resolution = data_not_found_resolution
339+
314340
@property
315341
def contact_id_field(self):
316342
"""

build/PureCloudPlatformClientV2/models/dialer_ruleset_config_change_data_action_condition_predicate.py

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,25 @@ def __init__(self):
4141
'output_field': 'str',
4242
'output_operator': 'str',
4343
'comparison_value': 'str',
44+
'output_field_missing_resolution': 'bool',
45+
'inverted': 'bool',
4446
'additional_properties': 'object'
4547
}
4648

4749
self.attribute_map = {
4850
'output_field': 'outputField',
4951
'output_operator': 'outputOperator',
5052
'comparison_value': 'comparisonValue',
53+
'output_field_missing_resolution': 'outputFieldMissingResolution',
54+
'inverted': 'inverted',
5155
'additional_properties': 'additionalProperties'
5256
}
5357

5458
self._output_field = None
5559
self._output_operator = None
5660
self._comparison_value = None
61+
self._output_field_missing_resolution = None
62+
self._inverted = None
5763
self._additional_properties = None
5864

5965
@property
@@ -129,6 +135,52 @@ def comparison_value(self, comparison_value):
129135

130136
self._comparison_value = comparison_value
131137

138+
@property
139+
def output_field_missing_resolution(self):
140+
"""
141+
Gets the output_field_missing_resolution of this DialerRulesetConfigChangeDataActionConditionPredicate.
142+
143+
144+
:return: The output_field_missing_resolution of this DialerRulesetConfigChangeDataActionConditionPredicate.
145+
:rtype: bool
146+
"""
147+
return self._output_field_missing_resolution
148+
149+
@output_field_missing_resolution.setter
150+
def output_field_missing_resolution(self, output_field_missing_resolution):
151+
"""
152+
Sets the output_field_missing_resolution of this DialerRulesetConfigChangeDataActionConditionPredicate.
153+
154+
155+
:param output_field_missing_resolution: The output_field_missing_resolution of this DialerRulesetConfigChangeDataActionConditionPredicate.
156+
:type: bool
157+
"""
158+
159+
self._output_field_missing_resolution = output_field_missing_resolution
160+
161+
@property
162+
def inverted(self):
163+
"""
164+
Gets the inverted of this DialerRulesetConfigChangeDataActionConditionPredicate.
165+
166+
167+
:return: The inverted of this DialerRulesetConfigChangeDataActionConditionPredicate.
168+
:rtype: bool
169+
"""
170+
return self._inverted
171+
172+
@inverted.setter
173+
def inverted(self, inverted):
174+
"""
175+
Sets the inverted of this DialerRulesetConfigChangeDataActionConditionPredicate.
176+
177+
178+
:param inverted: The inverted of this DialerRulesetConfigChangeDataActionConditionPredicate.
179+
:type: bool
180+
"""
181+
182+
self._inverted = inverted
183+
132184
@property
133185
def additional_properties(self):
134186
"""

build/PureCloudPlatformClientV2/models/queue_conversation_callback_event_topic_voicemail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def upload_status(self, upload_status):
9393
:param upload_status: The upload_status of this QueueConversationCallbackEventTopicVoicemail.
9494
:type: str
9595
"""
96-
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT"]
96+
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT", "NONE"]
9797
if upload_status.lower() not in map(str.lower, allowed_values):
9898
# print "Invalid value for upload_status -> " + upload_status
9999
self._upload_status = "outdated_sdk_version"

build/PureCloudPlatformClientV2/models/queue_conversation_event_topic_voicemail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def upload_status(self, upload_status):
9393
:param upload_status: The upload_status of this QueueConversationEventTopicVoicemail.
9494
:type: str
9595
"""
96-
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT"]
96+
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT", "NONE"]
9797
if upload_status.lower() not in map(str.lower, allowed_values):
9898
# print "Invalid value for upload_status -> " + upload_status
9999
self._upload_status = "outdated_sdk_version"

build/PureCloudPlatformClientV2/models/queue_conversation_social_expression_event_topic_voicemail.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def upload_status(self, upload_status):
9393
:param upload_status: The upload_status of this QueueConversationSocialExpressionEventTopicVoicemail.
9494
:type: str
9595
"""
96-
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT"]
96+
allowed_values = ["PENDING", "COMPLETE", "FAILED", "TIMEOUT", "NONE"]
9797
if upload_status.lower() not in map(str.lower, allowed_values):
9898
# print "Invalid value for upload_status -> " + upload_status
9999
self._upload_status = "outdated_sdk_version"

0 commit comments

Comments
 (0)