Skip to content

Commit bd006f6

Browse files
author
PureCloud Jenkins
committed
240.0.0
1 parent 30c1e98 commit bd006f6

File tree

6,064 files changed

+19430
-16892
lines changed

Some content is hidden

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

6,064 files changed

+19430
-16892
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Documentation can be found at https://mypurecloud.github.io/platform-client-sdk-python/
77

8-
Documentation version PureCloudPlatformClientV2 239.0.0
8+
Documentation version PureCloudPlatformClientV2 240.0.0
99

1010
## Preview APIs
1111

build/.openapi-generator/FILES

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,10 @@ PureCloudPlatformClientV2/models/bulk_update_shift_trade_state_response.py
716716
PureCloudPlatformClientV2/models/bulk_update_shift_trade_state_result.py
717717
PureCloudPlatformClientV2/models/bulk_update_shift_trade_state_result_item.py
718718
PureCloudPlatformClientV2/models/bullseye.py
719+
PureCloudPlatformClientV2/models/business_rules_data_schema.py
720+
PureCloudPlatformClientV2/models/business_rules_data_schema_listing.py
721+
PureCloudPlatformClientV2/models/business_rules_schema_create_request.py
722+
PureCloudPlatformClientV2/models/business_rules_schema_update_request.py
719723
PureCloudPlatformClientV2/models/business_unit_activity_code.py
720724
PureCloudPlatformClientV2/models/business_unit_activity_code_listing.py
721725
PureCloudPlatformClientV2/models/business_unit_list_item.py
@@ -1091,6 +1095,10 @@ PureCloudPlatformClientV2/models/context_pattern.py
10911095
PureCloudPlatformClientV2/models/continuous_forecast_get_session_response.py
10921096
PureCloudPlatformClientV2/models/continuous_forecast_session_response.py
10931097
PureCloudPlatformClientV2/models/continuous_forecast_snapshot_response.py
1098+
PureCloudPlatformClientV2/models/contract_definition.py
1099+
PureCloudPlatformClientV2/models/contract_items.py
1100+
PureCloudPlatformClientV2/models/contract_json_schema.py
1101+
PureCloudPlatformClientV2/models/contract_property_definition.py
10941102
PureCloudPlatformClientV2/models/contractual.py
10951103
PureCloudPlatformClientV2/models/conversation.py
10961104
PureCloudPlatformClientV2/models/conversation_activity_data.py
@@ -6432,6 +6440,10 @@ docs/BulkUpdateShiftTradeStateResultItem.md
64326440
docs/Bullseye.md
64336441
docs/BusinessRulesApi.json
64346442
docs/BusinessRulesApi.md
6443+
docs/BusinessRulesDataSchema.md
6444+
docs/BusinessRulesDataSchemaListing.md
6445+
docs/BusinessRulesSchemaCreateRequest.md
6446+
docs/BusinessRulesSchemaUpdateRequest.md
64356447
docs/BusinessUnitActivityCode.md
64366448
docs/BusinessUnitActivityCodeListing.md
64376449
docs/BusinessUnitListItem.md
@@ -6815,6 +6827,10 @@ docs/ContextPattern.md
68156827
docs/ContinuousForecastGetSessionResponse.md
68166828
docs/ContinuousForecastSessionResponse.md
68176829
docs/ContinuousForecastSnapshotResponse.md
6830+
docs/ContractDefinition.md
6831+
docs/ContractItems.md
6832+
docs/ContractJsonSchema.md
6833+
docs/ContractPropertyDefinition.md
68186834
docs/Contractual.md
68196835
docs/Conversation.md
68206836
docs/ConversationActivityData.md

build/APIData.json

Lines changed: 38 additions & 18 deletions
Large diffs are not rendered by default.

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,10 @@
629629
from .models.bulk_update_shift_trade_state_result import BulkUpdateShiftTradeStateResult
630630
from .models.bulk_update_shift_trade_state_result_item import BulkUpdateShiftTradeStateResultItem
631631
from .models.bullseye import Bullseye
632+
from .models.business_rules_data_schema import BusinessRulesDataSchema
633+
from .models.business_rules_data_schema_listing import BusinessRulesDataSchemaListing
634+
from .models.business_rules_schema_create_request import BusinessRulesSchemaCreateRequest
635+
from .models.business_rules_schema_update_request import BusinessRulesSchemaUpdateRequest
632636
from .models.business_unit_activity_code import BusinessUnitActivityCode
633637
from .models.business_unit_activity_code_listing import BusinessUnitActivityCodeListing
634638
from .models.business_unit_list_item import BusinessUnitListItem
@@ -1004,6 +1008,10 @@
10041008
from .models.continuous_forecast_get_session_response import ContinuousForecastGetSessionResponse
10051009
from .models.continuous_forecast_session_response import ContinuousForecastSessionResponse
10061010
from .models.continuous_forecast_snapshot_response import ContinuousForecastSnapshotResponse
1011+
from .models.contract_definition import ContractDefinition
1012+
from .models.contract_items import ContractItems
1013+
from .models.contract_json_schema import ContractJsonSchema
1014+
from .models.contract_property_definition import ContractPropertyDefinition
10071015
from .models.contractual import Contractual
10081016
from .models.conversation import Conversation
10091017
from .models.conversation_activity_data import ConversationActivityData

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def __call_api(self, resource_path, method,
419419
header_params['Cookie'] = self.cookie
420420
if header_params:
421421
header_params = self.sanitize_for_serialization(header_params)
422-
header_params['purecloud-sdk'] = '239.0.0'
422+
header_params['purecloud-sdk'] = '240.0.0'
423423

424424
# path parameters
425425
if path_params:

build/PureCloudPlatformClientV2/apis/business_rules_api.py

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@
3535
from typing import Any
3636

3737
from ..models import Empty
38+
from ..models import BusinessRulesDataSchema
39+
from ..models import BusinessRulesDataSchemaListing
40+
from ..models import BusinessRulesSchemaCreateRequest
41+
from ..models import BusinessRulesSchemaUpdateRequest
3842
from ..models import CopyDecisionTableRequest
3943
from ..models import Coretype
4044
from ..models import CoretypeListing
4145
from ..models import CreateDecisionTableRequest
4246
from ..models import CreateDecisionTableRowRequest
43-
from ..models import DataSchema
44-
from ..models import DataSchemaListing
4547
from ..models import DecisionTable
4648
from ..models import DecisionTableExecutionRequest
4749
from ..models import DecisionTableExecutionResponse
@@ -1019,7 +1021,7 @@ def get_businessrules_decisiontables_search(self, **kwargs) -> 'DecisionTableLis
10191021
callback=params.get('callback'))
10201022
return response
10211023

1022-
def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'DataSchema':
1024+
def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'BusinessRulesDataSchema':
10231025
"""
10241026
Get a schema
10251027
@@ -1036,7 +1038,7 @@ def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'DataSchema':
10361038
:param callback function: The callback function
10371039
for asynchronous request. (optional)
10381040
:param str schema_id: Schema ID (required)
1039-
:return: DataSchema
1041+
:return: BusinessRulesDataSchema
10401042
If the method is called asynchronously,
10411043
returns the request thread.
10421044
"""
@@ -1093,12 +1095,12 @@ def get_businessrules_schema(self, schema_id: str, **kwargs) -> 'DataSchema':
10931095
body=body_params,
10941096
post_params=form_params,
10951097
files=local_var_files,
1096-
response_type='DataSchema',
1098+
response_type='BusinessRulesDataSchema',
10971099
auth_settings=auth_settings,
10981100
callback=params.get('callback'))
10991101
return response
11001102

1101-
def get_businessrules_schemas(self, **kwargs) -> 'DataSchemaListing':
1103+
def get_businessrules_schemas(self, **kwargs) -> 'BusinessRulesDataSchemaListing':
11021104
"""
11031105
Get a list of schemas.
11041106
@@ -1114,7 +1116,7 @@ def get_businessrules_schemas(self, **kwargs) -> 'DataSchemaListing':
11141116
11151117
:param callback function: The callback function
11161118
for asynchronous request. (optional)
1117-
:return: DataSchemaListing
1119+
:return: BusinessRulesDataSchemaListing
11181120
If the method is called asynchronously,
11191121
returns the request thread.
11201122
"""
@@ -1166,7 +1168,7 @@ def get_businessrules_schemas(self, **kwargs) -> 'DataSchemaListing':
11661168
body=body_params,
11671169
post_params=form_params,
11681170
files=local_var_files,
1169-
response_type='DataSchemaListing',
1171+
response_type='BusinessRulesDataSchemaListing',
11701172
auth_settings=auth_settings,
11711173
callback=params.get('callback'))
11721174
return response
@@ -2197,7 +2199,7 @@ def post_businessrules_decisiontables(self, body: 'CreateDecisionTableRequest',
21972199
callback=params.get('callback'))
21982200
return response
21992201

2200-
def post_businessrules_schemas(self, body: 'DataSchema', **kwargs) -> 'DataSchema':
2202+
def post_businessrules_schemas(self, body: 'BusinessRulesSchemaCreateRequest', **kwargs) -> 'BusinessRulesDataSchema':
22012203
"""
22022204
Create a schema
22032205
@@ -2213,8 +2215,8 @@ def post_businessrules_schemas(self, body: 'DataSchema', **kwargs) -> 'DataSchem
22132215
22142216
:param callback function: The callback function
22152217
for asynchronous request. (optional)
2216-
:param DataSchema body: Schema (required)
2217-
:return: DataSchema
2218+
:param BusinessRulesSchemaCreateRequest body: Business Rules Schema Create Request (required)
2219+
:return: BusinessRulesDataSchema
22182220
If the method is called asynchronously,
22192221
returns the request thread.
22202222
"""
@@ -2271,7 +2273,7 @@ def post_businessrules_schemas(self, body: 'DataSchema', **kwargs) -> 'DataSchem
22712273
body=body_params,
22722274
post_params=form_params,
22732275
files=local_var_files,
2274-
response_type='DataSchema',
2276+
response_type='BusinessRulesDataSchema',
22752277
auth_settings=auth_settings,
22762278
callback=params.get('callback'))
22772279
return response
@@ -2458,7 +2460,7 @@ def put_businessrules_decisiontable_version_row(self, table_id: str, table_versi
24582460
callback=params.get('callback'))
24592461
return response
24602462

2461-
def put_businessrules_schema(self, schema_id: str, body: 'DataSchema', **kwargs) -> 'DataSchema':
2463+
def put_businessrules_schema(self, schema_id: str, body: 'BusinessRulesSchemaUpdateRequest', **kwargs) -> 'BusinessRulesDataSchema':
24622464
"""
24632465
Update a schema
24642466
@@ -2475,8 +2477,8 @@ def put_businessrules_schema(self, schema_id: str, body: 'DataSchema', **kwargs)
24752477
:param callback function: The callback function
24762478
for asynchronous request. (optional)
24772479
:param str schema_id: Schema ID (required)
2478-
:param DataSchema body: Data Schema (required)
2479-
:return: DataSchema
2480+
:param BusinessRulesSchemaUpdateRequest body: Business Rules Schema Update Request (required)
2481+
:return: BusinessRulesDataSchema
24802482
If the method is called asynchronously,
24812483
returns the request thread.
24822484
"""
@@ -2538,7 +2540,7 @@ def put_businessrules_schema(self, schema_id: str, body: 'DataSchema', **kwargs)
25382540
body=body_params,
25392541
post_params=form_params,
25402542
files=local_var_files,
2541-
response_type='DataSchema',
2543+
response_type='BusinessRulesDataSchema',
25422544
auth_settings=auth_settings,
25432545
callback=params.get('callback'))
25442546
return response

build/PureCloudPlatformClientV2/apis/gamification_api.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,12 +1131,13 @@ def get_gamification_insights(self, filter_type: str, filter_id: str, granularit
11311131
:param str sort_metric_id: Sort Metric Id
11321132
:param str sort_order: Sort order
11331133
:param str user_ids: A list of up to 100 comma-separated user Ids
1134+
:param str reports_to: The reportsTo used by ABAC policies.
11341135
:return: InsightsSummary
11351136
If the method is called asynchronously,
11361137
returns the request thread.
11371138
"""
11381139

1139-
all_params = ['filter_type', 'filter_id', 'granularity', 'comparative_period_start_workday', 'primary_period_start_workday', 'page_size', 'page_number', 'sort_key', 'sort_metric_id', 'sort_order', 'user_ids']
1140+
all_params = ['filter_type', 'filter_id', 'granularity', 'comparative_period_start_workday', 'primary_period_start_workday', 'page_size', 'page_number', 'sort_key', 'sort_metric_id', 'sort_order', 'user_ids', 'reports_to']
11401141
all_params.append('callback')
11411142

11421143
params = locals()
@@ -1192,6 +1193,8 @@ def get_gamification_insights(self, filter_type: str, filter_id: str, granularit
11921193
query_params['sortOrder'] = params['sort_order']
11931194
if 'user_ids' in params:
11941195
query_params['userIds'] = params['user_ids']
1196+
if 'reports_to' in params:
1197+
query_params['reportsTo'] = params['reports_to']
11951198

11961199
header_params = {}
11971200

@@ -1574,12 +1577,13 @@ def get_gamification_insights_members(self, filter_type: str, filter_id: str, gr
15741577
:param str filter_id: ID for the filter type. (required)
15751578
:param str granularity: Granularity (required)
15761579
:param date start_workday: The start work day. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd (required)
1580+
:param str reports_to: The reportsTo used by ABAC policies.
15771581
:return: InsightsAgents
15781582
If the method is called asynchronously,
15791583
returns the request thread.
15801584
"""
15811585

1582-
all_params = ['filter_type', 'filter_id', 'granularity', 'start_workday']
1586+
all_params = ['filter_type', 'filter_id', 'granularity', 'start_workday', 'reports_to']
15831587
all_params.append('callback')
15841588

15851589
params = locals()
@@ -1618,6 +1622,8 @@ def get_gamification_insights_members(self, filter_type: str, filter_id: str, gr
16181622
query_params['granularity'] = params['granularity']
16191623
if 'start_workday' in params:
16201624
query_params['startWorkday'] = params['start_workday']
1625+
if 'reports_to' in params:
1626+
query_params['reportsTo'] = params['reports_to']
16211627

16221628
header_params = {}
16231629

@@ -1675,12 +1681,13 @@ def get_gamification_insights_rankings(self, filter_type: str, filter_id: str, g
16751681
:param str sort_metric_id: Sort Metric Id
16761682
:param int section_size: The number of top and bottom users to return before ties
16771683
:param str user_ids: A list of up to 100 comma-separated user Ids
1684+
:param str reports_to: The reportsTo used by ABAC policies.
16781685
:return: InsightsRankings
16791686
If the method is called asynchronously,
16801687
returns the request thread.
16811688
"""
16821689

1683-
all_params = ['filter_type', 'filter_id', 'granularity', 'comparative_period_start_workday', 'primary_period_start_workday', 'sort_key', 'sort_metric_id', 'section_size', 'user_ids']
1690+
all_params = ['filter_type', 'filter_id', 'granularity', 'comparative_period_start_workday', 'primary_period_start_workday', 'sort_key', 'sort_metric_id', 'section_size', 'user_ids', 'reports_to']
16841691
all_params.append('callback')
16851692

16861693
params = locals()
@@ -1735,6 +1742,8 @@ def get_gamification_insights_rankings(self, filter_type: str, filter_id: str, g
17351742
query_params['sectionSize'] = params['section_size']
17361743
if 'user_ids' in params:
17371744
query_params['userIds'] = params['user_ids']
1745+
if 'reports_to' in params:
1746+
query_params['reportsTo'] = params['reports_to']
17381747

17391748
header_params = {}
17401749

build/PureCloudPlatformClientV2/apis/speech_text_analytics_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2877,6 +2877,7 @@ def get_speechandtextanalytics_topics(self, **kwargs) -> 'TopicsEntityListing':
28772877
for asynchronous request. (optional)
28782878
:param str next_page: The key for listing the next page
28792879
:param int page_size: The page size for the listing. The max that will be returned is 500.
2880+
:param int page_number: The page number for the listing
28802881
:param str state: Topic state. Defaults to latest
28812882
:param str name: Case insensitive partial name to filter by
28822883
:param list[str] ids: Comma separated Topic IDs to filter by. Cannot be used with other filters. Maximum of 50 IDs allowed.
@@ -2888,7 +2889,7 @@ def get_speechandtextanalytics_topics(self, **kwargs) -> 'TopicsEntityListing':
28882889
returns the request thread.
28892890
"""
28902891

2891-
all_params = ['next_page', 'page_size', 'state', 'name', 'ids', 'dialects', 'sort_by', 'sort_order']
2892+
all_params = ['next_page', 'page_size', 'page_number', 'state', 'name', 'ids', 'dialects', 'sort_by', 'sort_order']
28922893
all_params.append('callback')
28932894

28942895
params = locals()
@@ -2911,6 +2912,8 @@ def get_speechandtextanalytics_topics(self, **kwargs) -> 'TopicsEntityListing':
29112912
query_params['nextPage'] = params['next_page']
29122913
if 'page_size' in params:
29132914
query_params['pageSize'] = params['page_size']
2915+
if 'page_number' in params:
2916+
query_params['pageNumber'] = params['page_number']
29142917
if 'state' in params:
29152918
query_params['state'] = params['state']
29162919
if 'name' in params:

build/PureCloudPlatformClientV2/apis/task_management_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ def get_taskmanagement_workitem(self, workitem_id: str, **kwargs) -> 'Workitem':
12711271
:param callback function: The callback function
12721272
for asynchronous request. (optional)
12731273
:param str workitem_id: Workitem ID (required)
1274-
:param str expands: Which fields to expand. Comma separated if more than one.
1274+
:param list[str] expands: Which fields to expand. Comma separated if more than one.
12751275
:return: Workitem
12761276
If the method is called asynchronously,
12771277
returns the request thread.

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def to_debug_report(self):
256256
"OS: {env}\n"\
257257
"Python Version: {pyversion}\n"\
258258
"Version of the API: v2\n"\
259-
"SDK Package Version: 239.0.0".\
259+
"SDK Package Version: 240.0.0".\
260260
format(env=sys.platform, pyversion=sys.version)
261261

262262
def _update_config_from_file(self):

0 commit comments

Comments
 (0)