Skip to content

Commit 477a7d5

Browse files
author
PureCloud Jenkins
committed
135.0.0
1 parent 68a369d commit 477a7d5

123 files changed

Lines changed: 4436 additions & 341 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@
534534
from .models.conversation_aggregate_query_response import ConversationAggregateQueryResponse
535535
from .models.conversation_aggregation_query import ConversationAggregationQuery
536536
from .models.conversation_aggregation_view import ConversationAggregationView
537+
from .models.conversation_app_settings import ConversationAppSettings
537538
from .models.conversation_association import ConversationAssociation
538539
from .models.conversation_basic import ConversationBasic
539540
from .models.conversation_button_component import ConversationButtonComponent
@@ -759,6 +760,8 @@
759760
from .models.create_integration_request import CreateIntegrationRequest
760761
from .models.create_management_unit_api_request import CreateManagementUnitApiRequest
761762
from .models.create_management_unit_settings_request import CreateManagementUnitSettingsRequest
763+
from .models.create_metric import CreateMetric
764+
from .models.create_objective import CreateObjective
762765
from .models.create_outbound_messaging_conversation_request import CreateOutboundMessagingConversationRequest
763766
from .models.create_performance_profile import CreatePerformanceProfile
764767
from .models.create_planning_group_request import CreatePlanningGroupRequest
@@ -987,6 +990,7 @@
987990
from .models.draft_intents import DraftIntents
988991
from .models.draft_listing import DraftListing
989992
from .models.draft_request import DraftRequest
993+
from .models.draft_topic_request import DraftTopicRequest
990994
from .models.draft_topics import DraftTopics
991995
from .models.draft_validation_result import DraftValidationResult
992996
from .models.duration_condition import DurationCondition
@@ -2091,6 +2095,7 @@
20912095
from .models.reporting_turns_response import ReportingTurnsResponse
20922096
from .models.request_config import RequestConfig
20932097
from .models.request_mapping import RequestMapping
2098+
from .models.request_scored_agent import RequestScoredAgent
20942099
from .models.rescheduling_management_unit_response import ReschedulingManagementUnitResponse
20952100
from .models.rescheduling_options_run_response import ReschedulingOptionsRunResponse
20962101
from .models.resolution_detail_query_clause import ResolutionDetailQueryClause
@@ -2668,6 +2673,8 @@
26682673
from .models.web_messaging_button_response import WebMessagingButtonResponse
26692674
from .models.web_messaging_channel import WebMessagingChannel
26702675
from .models.web_messaging_content import WebMessagingContent
2676+
from .models.web_messaging_event import WebMessagingEvent
2677+
from .models.web_messaging_event_co_browse import WebMessagingEventCoBrowse
26712678
from .models.web_messaging_generic import WebMessagingGeneric
26722679
from .models.web_messaging_message import WebMessagingMessage
26732680
from .models.web_messaging_message_entity_list import WebMessagingMessageEntityList
@@ -2789,15 +2796,21 @@
27892796
from .models.wfm_user_notification_topic_time_off_request_notification import WfmUserNotificationTopicTimeOffRequestNotification
27902797
from .models.wfm_user_notification_topic_user_reference import WfmUserNotificationTopicUserReference
27912798
from .models.wfm_user_notification_topic_wfm_user_notification import WfmUserNotificationTopicWfmUserNotification
2799+
from .models.wfm_user_schedule_adherence_updated_mu_topic_activity_code_reference import WfmUserScheduleAdherenceUpdatedMuTopicActivityCodeReference
27922800
from .models.wfm_user_schedule_adherence_updated_mu_topic_queue_reference import WfmUserScheduleAdherenceUpdatedMuTopicQueueReference
2801+
from .models.wfm_user_schedule_adherence_updated_mu_topic_secondary_presence_reference import WfmUserScheduleAdherenceUpdatedMuTopicSecondaryPresenceReference
27932802
from .models.wfm_user_schedule_adherence_updated_mu_topic_uri_reference import WfmUserScheduleAdherenceUpdatedMuTopicUriReference
27942803
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_reference import WfmUserScheduleAdherenceUpdatedMuTopicUserReference
27952804
from .models.wfm_user_schedule_adherence_updated_mu_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedMuTopicUserScheduleAdherenceUpdate
2805+
from .models.wfm_user_schedule_adherence_updated_team_topic_activity_code_reference import WfmUserScheduleAdherenceUpdatedTeamTopicActivityCodeReference
27962806
from .models.wfm_user_schedule_adherence_updated_team_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTeamTopicQueueReference
2807+
from .models.wfm_user_schedule_adherence_updated_team_topic_secondary_presence_reference import WfmUserScheduleAdherenceUpdatedTeamTopicSecondaryPresenceReference
27972808
from .models.wfm_user_schedule_adherence_updated_team_topic_uri_reference import WfmUserScheduleAdherenceUpdatedTeamTopicUriReference
27982809
from .models.wfm_user_schedule_adherence_updated_team_topic_user_reference import WfmUserScheduleAdherenceUpdatedTeamTopicUserReference
27992810
from .models.wfm_user_schedule_adherence_updated_team_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTeamTopicUserScheduleAdherenceUpdate
2811+
from .models.wfm_user_schedule_adherence_updated_topic_activity_code_reference import WfmUserScheduleAdherenceUpdatedTopicActivityCodeReference
28002812
from .models.wfm_user_schedule_adherence_updated_topic_queue_reference import WfmUserScheduleAdherenceUpdatedTopicQueueReference
2813+
from .models.wfm_user_schedule_adherence_updated_topic_secondary_presence_reference import WfmUserScheduleAdherenceUpdatedTopicSecondaryPresenceReference
28012814
from .models.wfm_user_schedule_adherence_updated_topic_uri_reference import WfmUserScheduleAdherenceUpdatedTopicUriReference
28022815
from .models.wfm_user_schedule_adherence_updated_topic_user_reference import WfmUserScheduleAdherenceUpdatedTopicUserReference
28032816
from .models.wfm_user_schedule_adherence_updated_topic_user_schedule_adherence_update import WfmUserScheduleAdherenceUpdatedTopicUserScheduleAdherenceUpdate

build/PureCloudPlatformClientV2/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def __call_api(self, resource_path, method,
295295
header_params['Cookie'] = self.cookie
296296
if header_params:
297297
header_params = self.sanitize_for_serialization(header_params)
298-
header_params['purecloud-sdk'] = '134.0.0'
298+
header_params['purecloud-sdk'] = '135.0.0'
299299

300300
# path parameters
301301
if path_params:

build/PureCloudPlatformClientV2/apis/coaching_api.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,12 +563,13 @@ def get_coaching_appointments(self, user_ids, **kwargs):
563563
:param list[str] relationships: Relationships to filter by
564564
:param str completion_interval: Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
565565
:param str overdue: Overdue status to filter by
566+
:param str interval_condition: Filter condition for interval
566567
:return: CoachingAppointmentResponseList
567568
If the method is called asynchronously,
568569
returns the request thread.
569570
"""
570571

571-
all_params = ['user_ids', 'interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue']
572+
all_params = ['user_ids', 'interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue', 'interval_condition']
572573
all_params.append('callback')
573574

574575
params = locals()
@@ -610,6 +611,8 @@ def get_coaching_appointments(self, user_ids, **kwargs):
610611
query_params['completionInterval'] = params['completion_interval']
611612
if 'overdue' in params:
612613
query_params['overdue'] = params['overdue']
614+
if 'interval_condition' in params:
615+
query_params['intervalCondition'] = params['interval_condition']
613616

614617
header_params = {}
615618

@@ -667,12 +670,13 @@ def get_coaching_appointments_me(self, **kwargs):
667670
:param list[str] relationships: Relationships to filter by
668671
:param str completion_interval: Appointment completion start and end to filter by. End date is not inclusive. Intervals are represented as an ISO-8601 string. For example: YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss
669672
:param str overdue: Overdue status to filter by
673+
:param str interval_condition: Filter condition for interval
670674
:return: CoachingAppointmentResponseList
671675
If the method is called asynchronously,
672676
returns the request thread.
673677
"""
674678

675-
all_params = ['interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue']
679+
all_params = ['interval', 'page_number', 'page_size', 'statuses', 'facilitator_ids', 'sort_order', 'relationships', 'completion_interval', 'overdue', 'interval_condition']
676680
all_params.append('callback')
677681

678682
params = locals()
@@ -709,6 +713,8 @@ def get_coaching_appointments_me(self, **kwargs):
709713
query_params['completionInterval'] = params['completion_interval']
710714
if 'overdue' in params:
711715
query_params['overdue'] = params['overdue']
716+
if 'interval_condition' in params:
717+
query_params['intervalCondition'] = params['interval_condition']
712718

713719
header_params = {}
714720

build/PureCloudPlatformClientV2/apis/gamification_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3034,7 +3034,7 @@ def post_gamification_metrics(self, body, **kwargs):
30343034
30353035
:param callback function: The callback function
30363036
for asynchronous request. (optional)
3037-
:param Metric body: Metric (required)
3037+
:param CreateMetric body: Metric (required)
30383038
:return: Metric
30393039
If the method is called asynchronously,
30403040
returns the request thread.
@@ -3527,7 +3527,7 @@ def post_gamification_profile_metrics(self, profile_id, body, **kwargs):
35273527
:param callback function: The callback function
35283528
for asynchronous request. (optional)
35293529
:param str profile_id: Performance Profile Id (required)
3530-
:param Metric body: Metric (required)
3530+
:param CreateMetric body: Metric (required)
35313531
:return: Metric
35323532
If the method is called asynchronously,
35333533
returns the request thread.
@@ -3689,7 +3689,7 @@ def put_gamification_metric(self, metric_id, body, **kwargs):
36893689
:param callback function: The callback function
36903690
for asynchronous request. (optional)
36913691
:param str metric_id: metric Id (required)
3692-
:param Metric body: Metric (required)
3692+
:param CreateMetric body: Metric (required)
36933693
:param str performance_profile_id: The profile id of the metrics you are trying to retrieve. The DEFAULT profile is used if nothing is given.
36943694
:return: Metric
36953695
If the method is called asynchronously,
@@ -3858,7 +3858,7 @@ def put_gamification_profile_metric(self, profile_id, metric_id, body, **kwargs)
38583858
for asynchronous request. (optional)
38593859
:param str profile_id: Performance Profile Id (required)
38603860
:param str metric_id: Metric Id (required)
3861-
:param Metric body: Metric (required)
3861+
:param CreateMetric body: Metric (required)
38623862
:return: Metric
38633863
If the method is called asynchronously,
38643864
returns the request thread.

build/PureCloudPlatformClientV2/apis/recording_api.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -621,11 +621,11 @@ def get_conversation_recording(self, conversation_id, recording_id, **kwargs):
621621
for asynchronous request. (optional)
622622
:param str conversation_id: Conversation ID (required)
623623
:param str recording_id: Recording ID (required)
624-
:param str format_id: The desired media format.
625-
:param str email_format_id: The desired media format when downloading an email recording.
626-
:param str chat_format_id: The desired media format when downloading a chat recording.
627-
:param str message_format_id: The desired media format when downloading a message recording.
628-
:param bool download: requesting a download format of the recording
624+
:param str format_id: The desired media format. Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE
625+
:param str email_format_id: The desired media format when downloading an email recording. Valid values:EML,NONE
626+
:param str chat_format_id: The desired media format when downloading a chat recording. Valid values:ZIP,NONE
627+
:param str message_format_id: The desired media format when downloading a message recording. Valid values:ZIP,NONE
628+
:param bool download: requesting a download format of the recording. Valid values:true,false
629629
:param str file_name: the name of the downloaded fileName
630630
:param str locale: The locale for the requested file when downloading, as an ISO 639-1 code
631631
:return: Recording
@@ -885,7 +885,7 @@ def get_conversation_recording_annotations(self, conversation_id, recording_id,
885885

886886
def get_conversation_recordingmetadata(self, conversation_id, **kwargs):
887887
"""
888-
Get recording metadata for a conversation. Does not return playable media.
888+
Get recording metadata for a conversation. Does not return playable media. Annotations won't be included in the response if recording:recording:view permission is missing.
889889
890890
891891
This method makes a synchronous HTTP request by default. To make an
@@ -1062,7 +1062,7 @@ def get_conversation_recordings(self, conversation_id, **kwargs):
10621062
for asynchronous request. (optional)
10631063
:param str conversation_id: Conversation ID (required)
10641064
:param int max_wait_ms: The maximum number of milliseconds to wait for the recording to be ready. Must be a positive value.
1065-
:param str format_id: The desired media format
1065+
:param str format_id: The desired media format . Valid values:WAV,WEBM,WAV_ULAW,OGG_VORBIS,OGG_OPUS,MP3,NONE.
10661066
:return: list[Recording]
10671067
If the method is called asynchronously,
10681068
returns the request thread.

build/PureCloudPlatformClientV2/apis/routing_api.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4385,16 +4385,20 @@ def get_routing_sms_phonenumbers(self, **kwargs):
43854385
:param callback function: The callback function
43864386
for asynchronous request. (optional)
43874387
:param str phone_number: Filter on phone number address. Allowable characters are the digits '0-9' and the wild card character '\\*'. If just digits are present, a contains search is done on the address pattern. For example, '317' could be matched anywhere in the address. An '\\*' will match multiple digits. For example, to match a specific area code within the US a pattern like '1317*' could be used.
4388-
:param str phone_number_type: Filter on phone number type
4389-
:param str phone_number_status: Filter on phone number status
4388+
:param list[str] phone_number_type: Filter on phone number type
4389+
:param list[str] phone_number_status: Filter on phone number status
4390+
:param list[str] country_code: Filter on country code
43904391
:param int page_size: Page size
43914392
:param int page_number: Page number
4393+
:param str sort_by: Optional field to sort results
4394+
:param str sort_order: Sort order
4395+
:param str language: A language tag (which is sometimes referred to as a \"locale identifier\") to use to localize country field and sort operations
43924396
:return: SmsPhoneNumberEntityListing
43934397
If the method is called asynchronously,
43944398
returns the request thread.
43954399
"""
43964400

4397-
all_params = ['phone_number', 'phone_number_type', 'phone_number_status', 'page_size', 'page_number']
4401+
all_params = ['phone_number', 'phone_number_type', 'phone_number_status', 'country_code', 'page_size', 'page_number', 'sort_by', 'sort_order', 'language']
43984402
all_params.append('callback')
43994403

44004404
params = locals()
@@ -4419,10 +4423,18 @@ def get_routing_sms_phonenumbers(self, **kwargs):
44194423
query_params['phoneNumberType'] = params['phone_number_type']
44204424
if 'phone_number_status' in params:
44214425
query_params['phoneNumberStatus'] = params['phone_number_status']
4426+
if 'country_code' in params:
4427+
query_params['countryCode'] = params['country_code']
44224428
if 'page_size' in params:
44234429
query_params['pageSize'] = params['page_size']
44244430
if 'page_number' in params:
44254431
query_params['pageNumber'] = params['page_number']
4432+
if 'sort_by' in params:
4433+
query_params['sortBy'] = params['sort_by']
4434+
if 'sort_order' in params:
4435+
query_params['sortOrder'] = params['sort_order']
4436+
if 'language' in params:
4437+
query_params['language'] = params['language']
44264438

44274439
header_params = {}
44284440

build/PureCloudPlatformClientV2/apis/utilities_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def get_date(self, **kwargs):
120120

121121
def get_ipranges(self, **kwargs):
122122
"""
123-
Get public ip address ranges for PureCloud
123+
Get public ip address ranges for Genesys Cloud
124124
125125
126126
This method makes a synchronous HTTP request by default. To make an

build/PureCloudPlatformClientV2/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def to_debug_report(self):
202202
"OS: {env}\n"\
203203
"Python Version: {pyversion}\n"\
204204
"Version of the API: v2\n"\
205-
"SDK Package Version: 134.0.0".\
205+
"SDK Package Version: 135.0.0".\
206206
format(env=sys.platform, pyversion=sys.version)
207207

208208
def _update_config_from_file(self):

0 commit comments

Comments
 (0)