Skip to content

Commit bab3293

Browse files
author
PureCloud Jenkins
committed
93.0.0
1 parent 2ff9a51 commit bab3293

574 files changed

Lines changed: 11849 additions & 4691 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: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
from .models.adhoc_recording_topic_workspace_data import AdhocRecordingTopicWorkspaceData
2828
from .models.adjacents import Adjacents
2929
from .models.admin_time_off_request_patch import AdminTimeOffRequestPatch
30+
from .models.after_call_work import AfterCallWork
3031
from .models.agent import Agent
3132
from .models.agent_activity import AgentActivity
3233
from .models.agent_activity_changed_topic_agent_activity import AgentActivityChangedTopicAgentActivity
@@ -459,6 +460,7 @@
459460
from .models.conversation_email_event_topic_wrapup import ConversationEmailEventTopicWrapup
460461
from .models.conversation_entity_listing import ConversationEntityListing
461462
from .models.conversation_event_topic_address import ConversationEventTopicAddress
463+
from .models.conversation_event_topic_after_call_work import ConversationEventTopicAfterCallWork
462464
from .models.conversation_event_topic_attachment import ConversationEventTopicAttachment
463465
from .models.conversation_event_topic_call import ConversationEventTopicCall
464466
from .models.conversation_event_topic_callback import ConversationEventTopicCallback
@@ -593,6 +595,10 @@
593595
from .models.credential_type import CredentialType
594596
from .models.credential_type_listing import CredentialTypeListing
595597
from .models.current_user_schedule_request_body import CurrentUserScheduleRequestBody
598+
from .models.cursor_contact_listing import CursorContactListing
599+
from .models.cursor_note_listing import CursorNoteListing
600+
from .models.cursor_organization_listing import CursorOrganizationListing
601+
from .models.cursor_relationship_listing import CursorRelationshipListing
596602
from .models.cursors import Cursors
597603
from .models.customer_interaction_center import CustomerInteractionCenter
598604
from .models.did import DID
@@ -777,6 +783,7 @@
777783
from .models.edge_trunk_base import EdgeTrunkBase
778784
from .models.edge_version_information import EdgeVersionInformation
779785
from .models.edge_version_report import EdgeVersionReport
786+
from .models.education import Education
780787
from .models.effective_configuration import EffectiveConfiguration
781788
from .models.email import Email
782789
from .models.email_address import EmailAddress
@@ -849,6 +856,7 @@
849856
from .models.facebook_integration import FacebookIntegration
850857
from .models.facebook_integration_entity_listing import FacebookIntegrationEntityListing
851858
from .models.facebook_integration_request import FacebookIntegrationRequest
859+
from .models.facebook_integration_update_request import FacebookIntegrationUpdateRequest
852860
from .models.facebook_scoped_id import FacebookScopedId
853861
from .models.facet import Facet
854862
from .models.facet_entry import FacetEntry
@@ -991,6 +999,13 @@
991999
from .models.items import Items
9921000
from .models.journey_action import JourneyAction
9931001
from .models.journey_action_map import JourneyActionMap
1002+
from .models.journey_aggregate_data_container import JourneyAggregateDataContainer
1003+
from .models.journey_aggregate_query_clause import JourneyAggregateQueryClause
1004+
from .models.journey_aggregate_query_filter import JourneyAggregateQueryFilter
1005+
from .models.journey_aggregate_query_predicate import JourneyAggregateQueryPredicate
1006+
from .models.journey_aggregate_query_response import JourneyAggregateQueryResponse
1007+
from .models.journey_aggregation_query import JourneyAggregationQuery
1008+
from .models.journey_aggregation_view import JourneyAggregationView
9941009
from .models.journey_context import JourneyContext
9951010
from .models.journey_customer import JourneyCustomer
9961011
from .models.journey_customer_session import JourneyCustomerSession
@@ -1256,6 +1271,7 @@
12561271
from .models.presence_detail_query_predicate import PresenceDetailQueryPredicate
12571272
from .models.presence_event_organization_presence import PresenceEventOrganizationPresence
12581273
from .models.presence_event_user_presence import PresenceEventUserPresence
1274+
from .models.presence_expand import PresenceExpand
12591275
from .models.prompt import Prompt
12601276
from .models.prompt_asset import PromptAsset
12611277
from .models.prompt_asset_create import PromptAssetCreate
@@ -1348,6 +1364,7 @@
13481364
from .models.queue_conversation_email_event_topic_uri_reference import QueueConversationEmailEventTopicUriReference
13491365
from .models.queue_conversation_email_event_topic_wrapup import QueueConversationEmailEventTopicWrapup
13501366
from .models.queue_conversation_event_topic_address import QueueConversationEventTopicAddress
1367+
from .models.queue_conversation_event_topic_after_call_work import QueueConversationEventTopicAfterCallWork
13511368
from .models.queue_conversation_event_topic_attachment import QueueConversationEventTopicAttachment
13521369
from .models.queue_conversation_event_topic_call import QueueConversationEventTopicCall
13531370
from .models.queue_conversation_event_topic_callback import QueueConversationEventTopicCallback
@@ -1408,6 +1425,7 @@
14081425
from .models.queue_conversation_screen_share_event_topic_uri_reference import QueueConversationScreenShareEventTopicUriReference
14091426
from .models.queue_conversation_screen_share_event_topic_wrapup import QueueConversationScreenShareEventTopicWrapup
14101427
from .models.queue_conversation_social_expression_event_topic_address import QueueConversationSocialExpressionEventTopicAddress
1428+
from .models.queue_conversation_social_expression_event_topic_after_call_work import QueueConversationSocialExpressionEventTopicAfterCallWork
14111429
from .models.queue_conversation_social_expression_event_topic_attachment import QueueConversationSocialExpressionEventTopicAttachment
14121430
from .models.queue_conversation_social_expression_event_topic_call import QueueConversationSocialExpressionEventTopicCall
14131431
from .models.queue_conversation_social_expression_event_topic_callback import QueueConversationSocialExpressionEventTopicCallback
@@ -1439,6 +1457,7 @@
14391457
from .models.queue_conversation_social_expression_event_topic_voicemail import QueueConversationSocialExpressionEventTopicVoicemail
14401458
from .models.queue_conversation_social_expression_event_topic_wrapup import QueueConversationSocialExpressionEventTopicWrapup
14411459
from .models.queue_conversation_video_event_topic_address import QueueConversationVideoEventTopicAddress
1460+
from .models.queue_conversation_video_event_topic_after_call_work import QueueConversationVideoEventTopicAfterCallWork
14421461
from .models.queue_conversation_video_event_topic_attachment import QueueConversationVideoEventTopicAttachment
14431462
from .models.queue_conversation_video_event_topic_call import QueueConversationVideoEventTopicCall
14441463
from .models.queue_conversation_video_event_topic_callback import QueueConversationVideoEventTopicCallback
@@ -1583,8 +1602,8 @@
15831602
from .models.scim_config_resource_types_list_response import ScimConfigResourceTypesListResponse
15841603
from .models.scim_email import ScimEmail
15851604
from .models.scim_error import ScimError
1605+
from .models.scim_genesys_user_external_id import ScimGenesysUserExternalId
15861606
from .models.scim_group_list_response import ScimGroupListResponse
1587-
from .models.scim_metadata import ScimMetadata
15881607
from .models.scim_phone_number import ScimPhoneNumber
15891608
from .models.scim_service_provider_config import ScimServiceProviderConfig
15901609
from .models.scim_service_provider_config_authentication_scheme import ScimServiceProviderConfigAuthenticationScheme
@@ -2010,6 +2029,7 @@
20102029
from .models.wfm_historical_adherence_query_for_users import WfmHistoricalAdherenceQueryForUsers
20112030
from .models.wfm_historical_adherence_response import WfmHistoricalAdherenceResponse
20122031
from .models.wfm_historical_adherence_result_wrapper import WfmHistoricalAdherenceResultWrapper
2032+
from .models.wfm_historical_data_upload_purge_request_status_topic_historical_data_upload_purge_request_update import WfmHistoricalDataUploadPurgeRequestStatusTopicHistoricalDataUploadPurgeRequestUpdate
20132033
from .models.wfm_historical_data_upload_request_status_topic_date_time import WfmHistoricalDataUploadRequestStatusTopicDateTime
20142034
from .models.wfm_historical_data_upload_request_status_topic_historical_data_upload_request_update import WfmHistoricalDataUploadRequestStatusTopicHistoricalDataUploadRequestUpdate
20152035
from .models.wfm_intraday_data_update_topic_intraday_data_group import WfmIntradayDataUpdateTopicIntradayDataGroup
@@ -2101,6 +2121,7 @@
21012121
from .apis.groups_api import GroupsApi
21022122
from .apis.identity_provider_api import IdentityProviderApi
21032123
from .apis.integrations_api import IntegrationsApi
2124+
from .apis.journey_api import JourneyApi
21042125
from .apis.knowledge_api import KnowledgeApi
21052126
from .apis.language_understanding_api import LanguageUnderstandingApi
21062127
from .apis.languages_api import LanguagesApi

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def __call_api(self, resource_path, method,
185185
header_params['Cookie'] = self.cookie
186186
if header_params:
187187
header_params = self.sanitize_for_serialization(header_params)
188-
header_params['purecloud-sdk'] = '92.0.0'
188+
header_params['purecloud-sdk'] = '93.0.0'
189189

190190
# path parameters
191191
if path_params:

build/PureCloudPlatformClientV2/apis/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from .groups_api import GroupsApi
2121
from .identity_provider_api import IdentityProviderApi
2222
from .integrations_api import IntegrationsApi
23+
from .journey_api import JourneyApi
2324
from .knowledge_api import KnowledgeApi
2425
from .language_understanding_api import LanguageUnderstandingApi
2526
from .languages_api import LanguagesApi

build/PureCloudPlatformClientV2/apis/analytics_api.py

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2167,6 +2167,84 @@ def post_analytics_flows_observations_query(self, body, **kwargs):
21672167
callback=params.get('callback'))
21682168
return response
21692169

2170+
def post_analytics_journeys_aggregates_query(self, body, **kwargs):
2171+
"""
2172+
Query for journey aggregates
2173+
2174+
2175+
This method makes a synchronous HTTP request by default. To make an
2176+
asynchronous HTTP request, please define a `callback` function
2177+
to be invoked when receiving the response.
2178+
>>> def callback_function(response):
2179+
>>> pprint(response)
2180+
>>>
2181+
>>> thread = api.post_analytics_journeys_aggregates_query(body, callback=callback_function)
2182+
2183+
:param callback function: The callback function
2184+
for asynchronous request. (optional)
2185+
:param JourneyAggregationQuery body: query (required)
2186+
:return: JourneyAggregateQueryResponse
2187+
If the method is called asynchronously,
2188+
returns the request thread.
2189+
"""
2190+
2191+
all_params = ['body']
2192+
all_params.append('callback')
2193+
2194+
params = locals()
2195+
for key, val in iteritems(params['kwargs']):
2196+
if key not in all_params:
2197+
raise TypeError(
2198+
"Got an unexpected keyword argument '%s'"
2199+
" to method post_analytics_journeys_aggregates_query" % key
2200+
)
2201+
params[key] = val
2202+
del params['kwargs']
2203+
2204+
# verify the required parameter 'body' is set
2205+
if ('body' not in params) or (params['body'] is None):
2206+
raise ValueError("Missing the required parameter `body` when calling `post_analytics_journeys_aggregates_query`")
2207+
2208+
2209+
resource_path = '/api/v2/analytics/journeys/aggregates/query'.replace('{format}', 'json')
2210+
path_params = {}
2211+
2212+
query_params = {}
2213+
2214+
header_params = {}
2215+
2216+
form_params = []
2217+
local_var_files = {}
2218+
2219+
body_params = None
2220+
if 'body' in params:
2221+
body_params = params['body']
2222+
2223+
# HTTP header `Accept`
2224+
header_params['Accept'] = self.api_client.\
2225+
select_header_accept(['application/json'])
2226+
if not header_params['Accept']:
2227+
del header_params['Accept']
2228+
2229+
# HTTP header `Content-Type`
2230+
header_params['Content-Type'] = self.api_client.\
2231+
select_header_content_type(['application/json'])
2232+
2233+
# Authentication setting
2234+
auth_settings = ['PureCloud OAuth']
2235+
2236+
response = self.api_client.call_api(resource_path, 'POST',
2237+
path_params,
2238+
query_params,
2239+
header_params,
2240+
body=body_params,
2241+
post_params=form_params,
2242+
files=local_var_files,
2243+
response_type='JourneyAggregateQueryResponse',
2244+
auth_settings=auth_settings,
2245+
callback=params.get('callback'))
2246+
return response
2247+
21702248
def post_analytics_queues_observations_query(self, body, **kwargs):
21712249
"""
21722250
Query for queue observations
@@ -2248,7 +2326,7 @@ def post_analytics_queues_observations_query(self, body, **kwargs):
22482326
def post_analytics_reporting_exports(self, body, **kwargs):
22492327
"""
22502328
Generate a view export request
2251-
2329+
This API creates a reporting export but the desired way to export analytics data is to use the analytics query APIs instead
22522330
22532331
This method makes a synchronous HTTP request by default. To make an
22542332
asynchronous HTTP request, please define a `callback` function

build/PureCloudPlatformClientV2/apis/authorization_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -394,11 +394,11 @@ def get_authorization_divisions(self, **kwargs):
394394
:param int page_size: The total page size requested
395395
:param int page_number: The page number requested
396396
:param str sort_by: variable name requested to sort by
397-
:param list[str] expand: variable name requested by expand list
397+
:param list[object] expand: variable name requested by expand list
398398
:param str next_page: next page token
399399
:param str previous_page: Previous page token
400400
:param bool object_count: Include the count of objects contained in the division
401-
:param list[str] id: Optionally request specific divisions by their IDs
401+
:param list[object] id: Optionally request specific divisions by their IDs
402402
:param str name: Search term to filter by division name
403403
:return: AuthzDivisionEntityListing
404404
If the method is called asynchronously,
@@ -1208,7 +1208,7 @@ def get_authorization_role_subjectgrants(self, role_id, **kwargs):
12081208
:param int page_size: The total page size requested
12091209
:param int page_number: The page number requested
12101210
:param str sort_by: variable name requested to sort by
1211-
:param list[str] expand: variable name requested by expand list
1211+
:param list[object] expand: variable name requested by expand list
12121212
:param str next_page: next page token
12131213
:param str previous_page: Previous page token
12141214
:return: SubjectDivisionGrantsEntityListing
@@ -1387,12 +1387,12 @@ def get_authorization_roles(self, **kwargs):
13871387
:param int page_size: The total page size requested
13881388
:param int page_number: The page number requested
13891389
:param str sort_by: variable name requested to sort by
1390-
:param list[str] expand: variable name requested by expand list
1390+
:param list[object] expand: variable name requested by expand list
13911391
:param str next_page: next page token
13921392
:param str previous_page: Previous page token
13931393
:param str name:
1394-
:param list[str] permission:
1395-
:param list[str] default_role_id:
1394+
:param list[object] permission:
1395+
:param list[object] default_role_id:
13961396
:param bool user_count:
13971397
:param list[str] id: id
13981398
:return: OrganizationRoleEntityListing

build/PureCloudPlatformClientV2/apis/conversations_api.py

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7537,6 +7537,90 @@ def patch_conversations_message_participant_communication(self, conversation_id,
75377537
callback=params.get('callback'))
75387538
return response
75397539

7540+
def patch_conversations_messaging_integrations_facebook_integration_id(self, integration_id, body, **kwargs):
7541+
"""
7542+
Update Facebook messaging integration
7543+
7544+
7545+
This method makes a synchronous HTTP request by default. To make an
7546+
asynchronous HTTP request, please define a `callback` function
7547+
to be invoked when receiving the response.
7548+
>>> def callback_function(response):
7549+
>>> pprint(response)
7550+
>>>
7551+
>>> thread = api.patch_conversations_messaging_integrations_facebook_integration_id(integration_id, body, callback=callback_function)
7552+
7553+
:param callback function: The callback function
7554+
for asynchronous request. (optional)
7555+
:param str integration_id: Integration ID (required)
7556+
:param FacebookIntegrationUpdateRequest body: FacebookIntegrationUpdateRequest (required)
7557+
:return: FacebookIntegration
7558+
If the method is called asynchronously,
7559+
returns the request thread.
7560+
"""
7561+
7562+
all_params = ['integration_id', 'body']
7563+
all_params.append('callback')
7564+
7565+
params = locals()
7566+
for key, val in iteritems(params['kwargs']):
7567+
if key not in all_params:
7568+
raise TypeError(
7569+
"Got an unexpected keyword argument '%s'"
7570+
" to method patch_conversations_messaging_integrations_facebook_integration_id" % key
7571+
)
7572+
params[key] = val
7573+
del params['kwargs']
7574+
7575+
# verify the required parameter 'integration_id' is set
7576+
if ('integration_id' not in params) or (params['integration_id'] is None):
7577+
raise ValueError("Missing the required parameter `integration_id` when calling `patch_conversations_messaging_integrations_facebook_integration_id`")
7578+
# verify the required parameter 'body' is set
7579+
if ('body' not in params) or (params['body'] is None):
7580+
raise ValueError("Missing the required parameter `body` when calling `patch_conversations_messaging_integrations_facebook_integration_id`")
7581+
7582+
7583+
resource_path = '/api/v2/conversations/messaging/integrations/facebook/{integrationId}'.replace('{format}', 'json')
7584+
path_params = {}
7585+
if 'integration_id' in params:
7586+
path_params['integrationId'] = params['integration_id']
7587+
7588+
query_params = {}
7589+
7590+
header_params = {}
7591+
7592+
form_params = []
7593+
local_var_files = {}
7594+
7595+
body_params = None
7596+
if 'body' in params:
7597+
body_params = params['body']
7598+
7599+
# HTTP header `Accept`
7600+
header_params['Accept'] = self.api_client.\
7601+
select_header_accept(['application/json'])
7602+
if not header_params['Accept']:
7603+
del header_params['Accept']
7604+
7605+
# HTTP header `Content-Type`
7606+
header_params['Content-Type'] = self.api_client.\
7607+
select_header_content_type(['application/json'])
7608+
7609+
# Authentication setting
7610+
auth_settings = ['PureCloud OAuth']
7611+
7612+
response = self.api_client.call_api(resource_path, 'PATCH',
7613+
path_params,
7614+
query_params,
7615+
header_params,
7616+
body=body_params,
7617+
post_params=form_params,
7618+
files=local_var_files,
7619+
response_type='FacebookIntegration',
7620+
auth_settings=auth_settings,
7621+
callback=params.get('callback'))
7622+
return response
7623+
75407624
def patch_conversations_messaging_integrations_whatsapp_integration_id(self, integration_id, body, **kwargs):
75417625
"""
75427626
Activate a WhatsApp messaging integration.

0 commit comments

Comments
 (0)