Skip to content

Commit a3e40af

Browse files
author
PureCloud Jenkins
committed
94.0.0
1 parent bab3293 commit a3e40af

425 files changed

Lines changed: 5060 additions & 4550 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.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ print usersApi.get_users_me()
6060
If connecting to a Genesys Cloud 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.
6161

6262
```{"language":"python"}
63-
region = PureCloudRegionHosts.us_east_1
63+
region = PureCloudPlatformClientV2.PureCloudRegionHosts.us_east_1
6464
PureCloudPlatformClientV2.configuration.host = region.get_api_host()
6565
```
6666

build/PureCloudPlatformClientV2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,7 @@
16041604
from .models.scim_error import ScimError
16051605
from .models.scim_genesys_user_external_id import ScimGenesysUserExternalId
16061606
from .models.scim_group_list_response import ScimGroupListResponse
1607+
from .models.scim_metadata import ScimMetadata
16071608
from .models.scim_phone_number import ScimPhoneNumber
16081609
from .models.scim_service_provider_config import ScimServiceProviderConfig
16091610
from .models.scim_service_provider_config_authentication_scheme import ScimServiceProviderConfigAuthenticationScheme
@@ -1777,6 +1778,7 @@
17771778
from .models.time_zone_mapping_preview import TimeZoneMappingPreview
17781779
from .models.token_info import TokenInfo
17791780
from .models.training_listing import TrainingListing
1781+
from .models.transcript_url import TranscriptUrl
17801782
from .models.transcription_settings import TranscriptionSettings
17811783
from .models.transfer_request import TransferRequest
17821784
from .models.trunk import Trunk
@@ -2142,6 +2144,7 @@
21422144
from .apis.scim_api import SCIMApi
21432145
from .apis.scripts_api import ScriptsApi
21442146
from .apis.search_api import SearchApi
2147+
from .apis.speech_text_analytics_api import SpeechTextAnalyticsApi
21452148
from .apis.stations_api import StationsApi
21462149
from .apis.suggest_api import SuggestApi
21472150
from .apis.telephony_api import TelephonyApi

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'] = '93.0.0'
188+
header_params['purecloud-sdk'] = '94.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
@@ -41,6 +41,7 @@
4141
from .scim_api import SCIMApi
4242
from .scripts_api import ScriptsApi
4343
from .search_api import SearchApi
44+
from .speech_text_analytics_api import SpeechTextAnalyticsApi
4445
from .stations_api import StationsApi
4546
from .suggest_api import SuggestApi
4647
from .telephony_api import TelephonyApi

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[object] expand: variable name requested by expand list
397+
:param list[str] 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[object] id: Optionally request specific divisions by their IDs
401+
:param list[str] 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[object] expand: variable name requested by expand list
1211+
:param list[str] 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[object] expand: variable name requested by expand list
1390+
:param list[str] 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[object] permission:
1395-
:param list[object] default_role_id:
1394+
:param list[str] permission:
1395+
:param list[str] default_role_id:
13961396
:param bool user_count:
13971397
:param list[str] id: id
13981398
:return: OrganizationRoleEntityListing

build/PureCloudPlatformClientV2/apis/coaching_api.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,12 +740,13 @@ def get_coaching_notification(self, notification_id, **kwargs):
740740
:param callback function: The callback function
741741
for asynchronous request. (optional)
742742
:param str notification_id: The ID of the notification. (required)
743+
:param list[str] expand: Indicates a field in the response which should be expanded.
743744
:return: CoachingNotification
744745
If the method is called asynchronously,
745746
returns the request thread.
746747
"""
747748

748-
all_params = ['notification_id']
749+
all_params = ['notification_id', 'expand']
749750
all_params.append('callback')
750751

751752
params = locals()
@@ -769,6 +770,8 @@ def get_coaching_notification(self, notification_id, **kwargs):
769770
path_params['notificationId'] = params['notification_id']
770771

771772
query_params = {}
773+
if 'expand' in params:
774+
query_params['expand'] = params['expand']
772775

773776
header_params = {}
774777

@@ -819,12 +822,13 @@ def get_coaching_notifications(self, **kwargs):
819822
for asynchronous request. (optional)
820823
:param int page_number: Page number
821824
:param int page_size: Page size
825+
:param list[str] expand: Indicates a field in the response which should be expanded.
822826
:return: CoachingNotificationList
823827
If the method is called asynchronously,
824828
returns the request thread.
825829
"""
826830

827-
all_params = ['page_number', 'page_size']
831+
all_params = ['page_number', 'page_size', 'expand']
828832
all_params.append('callback')
829833

830834
params = locals()
@@ -847,6 +851,8 @@ def get_coaching_notifications(self, **kwargs):
847851
query_params['pageNumber'] = params['page_number']
848852
if 'page_size' in params:
849853
query_params['pageSize'] = params['page_size']
854+
if 'expand' in params:
855+
query_params['expand'] = params['expand']
850856

851857
header_params = {}
852858

build/PureCloudPlatformClientV2/apis/integrations_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def get_integration(self, integration_id, **kwargs):
377377
:param int page_size: The total page size requested
378378
:param int page_number: The page number requested
379379
:param str sort_by: variable name requested to sort by
380-
:param list[object] expand: variable name requested by expand list
380+
:param list[str] expand: variable name requested by expand list
381381
:param str next_page: next page token
382382
:param str previous_page: Previous page token
383383
:return: Integration
@@ -550,7 +550,7 @@ def get_integrations(self, **kwargs):
550550
:param int page_size: The total page size requested
551551
:param int page_number: The page number requested
552552
:param str sort_by: variable name requested to sort by
553-
:param list[object] expand: variable name requested by expand list
553+
:param list[str] expand: variable name requested by expand list
554554
:param str next_page: next page token
555555
:param str previous_page: Previous page token
556556
:return: IntegrationEntityListing
@@ -1325,7 +1325,7 @@ def get_integrations_actions_categories(self, **kwargs):
13251325
:param int page_number: The page number requested
13261326
:param str next_page: next page token
13271327
:param str previous_page: Previous page token
1328-
:param str sort_by: Root level field name to sort on. Only 'name' is supported on this endpoint.
1328+
:param str sort_by: Root level field name to sort on.
13291329
:param str sort_order: Direction to sort 'sortBy' field.
13301330
:param str secure: Filter to only include secure actions. True will only include actions marked secured. False will include only unsecure actions. Do not use filter if you want all Actions.
13311331
:return: CategoryEntityListing
@@ -1519,7 +1519,7 @@ def get_integrations_clientapps(self, **kwargs):
15191519
:param int page_size: The total page size requested
15201520
:param int page_number: The page number requested
15211521
:param str sort_by: variable name requested to sort by
1522-
:param list[object] expand: variable name requested by expand list
1522+
:param list[str] expand: variable name requested by expand list
15231523
:param str next_page: next page token
15241524
:param str previous_page: Previous page token
15251525
:return: ClientAppEntityListing
@@ -2980,7 +2980,7 @@ def get_integrations_types(self, **kwargs):
29802980
:param int page_size: The total page size requested
29812981
:param int page_number: The page number requested
29822982
:param str sort_by: variable name requested to sort by
2983-
:param list[object] expand: variable name requested by expand list
2983+
:param list[str] expand: variable name requested by expand list
29842984
:param str next_page: next page token
29852985
:param str previous_page: Previous page token
29862986
:return: IntegrationTypeEntityListing
@@ -3070,7 +3070,7 @@ def get_integrations_userapps(self, **kwargs):
30703070
:param int page_size: The total page size requested
30713071
:param int page_number: The page number requested
30723072
:param str sort_by: variable name requested to sort by
3073-
:param list[object] expand: variable name requested by expand list
3073+
:param list[str] expand: variable name requested by expand list
30743074
:param str next_page: next page token
30753075
:param str previous_page: Previous page token
30763076
:param str app_host: The type of UserApp to filter by
@@ -3165,7 +3165,7 @@ def patch_integration(self, integration_id, **kwargs):
31653165
:param int page_size: The total page size requested
31663166
:param int page_number: The page number requested
31673167
:param str sort_by: variable name requested to sort by
3168-
:param list[object] expand: variable name requested by expand list
3168+
:param list[str] expand: variable name requested by expand list
31693169
:param str next_page: next page token
31703170
:param str previous_page: Previous page token
31713171
:return: Integration

build/PureCloudPlatformClientV2/apis/objects_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ def get_authorization_divisions(self, **kwargs):
226226
:param int page_size: The total page size requested
227227
:param int page_number: The page number requested
228228
:param str sort_by: variable name requested to sort by
229-
:param list[object] expand: variable name requested by expand list
229+
:param list[str] expand: variable name requested by expand list
230230
:param str next_page: next page token
231231
:param str previous_page: Previous page token
232232
:param bool object_count: Include the count of objects contained in the division
233-
:param list[object] id: Optionally request specific divisions by their IDs
233+
:param list[str] id: Optionally request specific divisions by their IDs
234234
:param str name: Search term to filter by division name
235235
:return: AuthzDivisionEntityListing
236236
If the method is called asynchronously,

build/PureCloudPlatformClientV2/apis/presence_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def get_user_presence(self, user_id, source_id, **kwargs):
448448
def get_user_presences_microsoftteams(self, user_id, **kwargs):
449449
"""
450450
Get a user's Microsoft Teams presence.
451-
Gets the presence for a Microsoft Teams user. This will return the Microsoft Teams presence mapped to GenesysCloud presence with additional activity details in the message field. This presence source is read-only.
451+
Gets the presence for a Microsoft Teams user. This will return the Microsoft Teams presence mapped to Genesys Cloud presence with additional activity details in the message field. This presence source is read-only.
452452
453453
This method makes a synchronous HTTP request by default. To make an
454454
asynchronous HTTP request, please define a `callback` function
@@ -525,8 +525,8 @@ def get_user_presences_microsoftteams(self, user_id, **kwargs):
525525

526526
def get_user_presences_purecloud(self, user_id, **kwargs):
527527
"""
528-
Get a user's GenesysCloud presence.
529-
Get the default GenesysCloud user presence source PURECLOUD
528+
Get a user's Genesys Cloud presence.
529+
Get the default Genesys Cloud user presence source PURECLOUD
530530
531531
This method makes a synchronous HTTP request by default. To make an
532532
asynchronous HTTP request, please define a `callback` function
@@ -693,7 +693,7 @@ def patch_user_presence(self, user_id, source_id, body, **kwargs):
693693

694694
def patch_user_presences_purecloud(self, user_id, body, **kwargs):
695695
"""
696-
Patch a GenesysCloud user's presence
696+
Patch a Genesys Cloud user's presence
697697
The presence object can be patched one of three ways. Option 1: Set the 'primary' property to true. This will set the PURECLOUD source as the user's primary presence source. Option 2: Provide the presenceDefinition value. The 'id' is the only value required within the presenceDefinition. Option 3: Provide the message value. Option 1 can be combined with Option 2 and/or Option 3.
698698
699699
This method makes a synchronous HTTP request by default. To make an

build/PureCloudPlatformClientV2/apis/quality_api.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -625,12 +625,12 @@ def get_quality_agents_activity(self, **kwargs):
625625
:param int page_size: The total page size requested
626626
:param int page_number: The page number requested
627627
:param str sort_by: variable name requested to sort by
628-
:param list[object] expand: variable name requested by expand list
628+
:param list[str] expand: variable name requested by expand list
629629
:param str next_page: next page token
630630
:param str previous_page: Previous page token
631631
:param datetime start_time: Start time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
632632
:param datetime end_time: End time of agent activity. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
633-
:param list[object] agent_user_id: user id of agent requested
633+
:param list[str] agent_user_id: user id of agent requested
634634
:param str evaluator_user_id: user id of the evaluator
635635
:param str name: name
636636
:param str group: group id
@@ -818,7 +818,7 @@ def get_quality_calibrations(self, calibrator_id, **kwargs):
818818
:param int page_size: The total page size requested
819819
:param int page_number: The page number requested
820820
:param str sort_by: variable name requested to sort by
821-
:param list[object] expand: variable name requested by expand list
821+
:param list[str] expand: variable name requested by expand list
822822
:param str next_page: next page token
823823
:param str previous_page: Previous page token
824824
:param str conversation_id: conversation id
@@ -923,7 +923,7 @@ def get_quality_conversation_audits(self, conversation_id, **kwargs):
923923
:param int page_size: The total page size requested
924924
:param int page_number: The page number requested
925925
:param str sort_by: variable name requested to sort by
926-
:param list[object] expand: variable name requested by expand list
926+
:param list[str] expand: variable name requested by expand list
927927
:param str next_page: next page token
928928
:param str previous_page: Previous page token
929929
:param str recording_id: id of the recording
@@ -1189,7 +1189,7 @@ def get_quality_evaluations_query(self, **kwargs):
11891189
:param int page_size: The total page size requested
11901190
:param int page_number: The page number requested
11911191
:param str sort_by: variable name requested to sort by
1192-
:param list[object] expand: variable name requested by expand list
1192+
:param list[str] expand: variable name requested by expand list
11931193
:param str next_page: next page token
11941194
:param str previous_page: Previous page token
11951195
:param str conversation_id: conversationId specified
@@ -1198,7 +1198,7 @@ def get_quality_evaluations_query(self, **kwargs):
11981198
:param str queue_id: queue id
11991199
:param str start_time: start time of the evaluation query
12001200
:param str end_time: end time of the evaluation query
1201-
:param list[object] evaluation_state:
1201+
:param list[str] evaluation_state:
12021202
:param bool is_released: the evaluation has been released
12031203
:param bool agent_has_read: agent has the evaluation
12041204
:param bool expand_answer_total_scores: get the total scores for evaluations
@@ -1315,13 +1315,13 @@ def get_quality_evaluators_activity(self, **kwargs):
13151315
:param int page_size: The total page size requested
13161316
:param int page_number: The page number requested
13171317
:param str sort_by: variable name requested to sort by
1318-
:param list[object] expand: variable name requested by expand list
1318+
:param list[str] expand: variable name requested by expand list
13191319
:param str next_page: next page token
13201320
:param str previous_page: Previous page token
13211321
:param datetime start_time: The start time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
13221322
:param datetime end_time: The end time specified. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
13231323
:param str name: Evaluator name
1324-
:param list[object] permission: permission strings
1324+
:param list[str] permission: permission strings
13251325
:param str group: group id
13261326
:return: EvaluatorActivityEntityListing
13271327
If the method is called asynchronously,
@@ -2431,7 +2431,7 @@ def get_quality_keywordsets(self, **kwargs):
24312431
:param int page_size: The total page size requested
24322432
:param int page_number: The page number requested
24332433
:param str sort_by: variable name requested to sort by
2434-
:param list[object] expand: variable name requested by expand list
2434+
:param list[str] expand: variable name requested by expand list
24352435
:param str next_page: next page token
24362436
:param str previous_page: Previous page token
24372437
:param str name: the keyword set name - used for filtering results in searches.

0 commit comments

Comments
 (0)