purecloud 0.28.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config-ruby.json +1 -1
- data/lib/purecloud.rb +119 -110
- data/lib/purecloud/api/alerting_api.rb +609 -0
- data/lib/purecloud/api/analytics_api.rb +0 -618
- data/lib/purecloud/api/authorization_api.rb +32 -26
- data/lib/purecloud/api/callbacks_api.rb +5 -5
- data/lib/purecloud/api/calls_api.rb +5 -5
- data/lib/purecloud/api/chats_api.rb +5 -5
- data/lib/purecloud/api/configuration_api.rb +325 -4514
- data/lib/purecloud/api/conversations_api.rb +30 -157
- data/lib/purecloud/api/emails_api.rb +5 -5
- data/lib/purecloud/api/groups_api.rb +120 -0
- data/lib/purecloud/api/integrations_api.rb +6 -0
- data/lib/purecloud/api/integrations_workforce_management_api.rb +73 -0
- data/lib/purecloud/api/languages_api.rb +181 -0
- data/lib/purecloud/api/organization_api.rb +243 -0
- data/lib/purecloud/api/outbound_api.rb +13 -380
- data/lib/purecloud/api/presence_api.rb +20 -222
- data/lib/purecloud/api/quality_api.rb +30 -0
- data/lib/purecloud/api/recording_api.rb +12 -0
- data/lib/purecloud/api/routing_api.rb +211 -8
- data/lib/purecloud/api/scripts_api.rb +8 -2
- data/lib/purecloud/api/search_api.rb +315 -13
- data/lib/purecloud/api/socials_api.rb +5 -5
- data/lib/purecloud/api/telephony_providers_edge_api.rb +4594 -698
- data/lib/purecloud/api/users_api.rb +303 -44
- data/lib/purecloud/api/utilities_api.rb +0 -58
- data/lib/purecloud/api/videos_api.rb +5 -5
- data/lib/purecloud/models/address.rb +49 -51
- data/lib/purecloud/models/address_listing.rb +12 -12
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/{analytics_segment.rb → analytics_conversation_segment.rb} +8 -8
- data/lib/purecloud/models/analytics_query_predicate.rb +1 -1
- data/lib/purecloud/models/analytics_session.rb +1 -1
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/{primary_user_presence_source.rb → audit_entity.rb} +12 -24
- data/lib/purecloud/models/{facet.rb → audit_facet.rb} +1 -1
- data/lib/purecloud/models/audit_filter.rb +178 -0
- data/lib/purecloud/models/audit_message.rb +2 -2
- data/lib/purecloud/models/{facet_group.rb → audit_user.rb} +18 -20
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/available_additional_service_listing.rb +11 -11
- data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/{chat_search_item.rb → billing_address.rb} +37 -27
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +16 -4
- data/lib/purecloud/models/call_conversation.rb +1 -1
- data/lib/purecloud/models/{chat_search_listing.rb → call_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{call_participant.rb → call_media_participant.rb} +1 -1
- data/lib/purecloud/models/callable_time.rb +1 -1
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation.rb +1 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +238 -0
- data/lib/purecloud/models/{callback_participant.rb → callback_media_participant.rb} +1 -1
- data/lib/purecloud/models/campaign.rb +219 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/{facet_item.rb → campaign_time_slot.rb} +20 -20
- data/lib/purecloud/models/carrier_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/change.rb +1 -1
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/chat_conversation.rb +1 -1
- data/lib/purecloud/models/{rule_entity_listing.rb → chat_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{chat_participant.rb → chat_media_participant.rb} +1 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/common_audit_request.rb +2 -2
- data/lib/purecloud/models/{template.rb → composer_template.rb} +2 -2
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/{client_transform_model.rb → contact_address.rb} +42 -36
- data/lib/purecloud/models/contact_list.rb +111 -1
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_listing.rb +11 -11
- data/lib/purecloud/models/{dialer_disposition_call_command.rb → contact_phone_number_column.rb} +20 -20
- data/lib/purecloud/models/{facet_filter_item.rb → content_filter_item.rb} +1 -1
- data/lib/purecloud/models/{transform_progress.rb → conversation_chat.rb} +91 -82
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/create_share_request.rb +2 -2
- data/lib/purecloud/models/create_share_request_member.rb +1 -1
- data/lib/purecloud/models/customer_account.rb +1 -1
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_object_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/{action.rb → dialer_action.rb} +1 -1
- data/lib/purecloud/models/dialer_audit_request.rb +2 -2
- data/lib/purecloud/models/{transform_model.rb → dialer_contact.rb} +42 -28
- data/lib/purecloud/models/{rule.rb → dialer_rule.rb} +2 -2
- data/lib/purecloud/models/did.rb +1 -1
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool.rb +1 -1
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/{metric_threshold.rb → disconnect_reason.rb} +29 -19
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_certificate_authority.rb +1 -1
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_logical_interface.rb +28 -2
- data/lib/purecloud/models/{dialer_place_call_command.rb → domain_role.rb} +16 -14
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge.rb +1 -1
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group.rb +1 -1
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line.rb +1 -1
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation.rb +1 -1
- data/lib/purecloud/models/{user_presence_entity_listing.rb → email_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{email_participant.rb → email_media_participant.rb} +1 -1
- data/lib/purecloud/models/email_message.rb +56 -26
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint.rb +2 -2
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/entity.rb +20 -10
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension.rb +1 -1
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool.rb +1 -1
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/external_contact.rb +1 -1
- data/lib/purecloud/models/external_organization.rb +1 -1
- data/lib/purecloud/models/external_organization_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_body.rb +1 -1
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_search_request.rb +222 -0
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_version_entity_listing.rb +11 -11
- data/lib/purecloud/models/group.rb +42 -36
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/groups_search_response.rb +230 -0
- data/lib/purecloud/models/hardware_rate_listing.rb +11 -11
- data/lib/purecloud/models/health_check_info.rb +1 -31
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/integration_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/interaction_stats_alert.rb +373 -0
- data/lib/purecloud/models/interaction_stats_alert_container.rb +238 -0
- data/lib/purecloud/models/{alert.rb → interaction_stats_rule.rb} +111 -80
- data/lib/purecloud/models/interaction_stats_rule_container.rb +238 -0
- data/lib/purecloud/models/ivr.rb +1 -1
- data/lib/purecloud/models/ivr_entity_listing.rb +11 -11
- data/lib/purecloud/models/json_node.rb +395 -0
- data/lib/purecloud/models/json_node_search_response.rb +228 -0
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line.rb +2 -2
- data/lib/purecloud/models/line_base.rb +1 -1
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/{body_1.rb → line_properties.rb} +1 -1
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +11 -11
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +11 -11
- data/lib/purecloud/models/location_entity_listing.rb +11 -11
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/media_participant_request.rb +232 -0
- data/lib/purecloud/models/{inline_response_200.rb → member_entity.rb} +13 -3
- data/lib/purecloud/models/note_listing.rb +11 -11
- data/lib/purecloud/models/number_plan.rb +1 -1
- data/lib/purecloud/models/o_auth_client.rb +1 -1
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization.rb +2 -22
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route.rb +1 -1
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/page.rb +2 -2
- data/lib/purecloud/models/participant.rb +1 -1
- data/lib/purecloud/models/participant_request.rb +7 -0
- data/lib/purecloud/models/payment_method_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone.rb +2 -2
- data/lib/purecloud/models/phone_base.rb +1 -1
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/prompt_asset.rb +25 -1
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/query_request.rb +1 -1
- data/lib/purecloud/models/queue.rb +1 -1
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queues_entity_listing.rb +11 -11
- data/lib/purecloud/models/quote_charge.rb +1 -1
- data/lib/purecloud/models/quote_listing.rb +11 -11
- data/lib/purecloud/models/recording.rb +13 -2
- data/lib/purecloud/models/{preview.rb → recording_email_message.rb} +72 -57
- data/lib/purecloud/models/relationship_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule.rb +1 -1
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/resource_permission_policy.rb +1 -11
- data/lib/purecloud/models/response.rb +84 -14
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/{filter.rb → response_filter.rb} +1 -1
- data/lib/purecloud/models/response_query_request.rb +1 -1
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set.rb +1 -1
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/schedule.rb +1 -1
- data/lib/purecloud/models/schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/schedule_group.rb +1 -1
- data/lib/purecloud/models/schedule_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/script_entity_listing.rb +11 -11
- data/lib/purecloud/models/{occurrence.rb → search_aggregation.rb} +19 -9
- data/lib/purecloud/models/{conversation_historical_query_request_filter.rb → search_criteria.rb} +83 -24
- data/lib/purecloud/models/search_request.rb +73 -50
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/service_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/{group_images.rb → shared_entity.rb} +8 -10
- data/lib/purecloud/models/site.rb +1 -1
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/social_conversation.rb +1 -1
- data/lib/purecloud/models/social_conversation_entity_listing.rb +238 -0
- data/lib/purecloud/models/{social_participant.rb → social_media_participant.rb} +1 -1
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/station.rb +11 -1
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/{facets.rb → subscriber_response.rb} +16 -16
- data/lib/purecloud/models/system_prompt_asset.rb +25 -1
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/system_prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/template_entity_listing.rb +12 -12
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_slot.rb +3 -0
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/trunk_base.rb +2 -2
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/unread_metric.rb +1 -0
- data/lib/purecloud/models/unread_status.rb +149 -0
- data/lib/purecloud/models/user.rb +7 -7
- data/lib/purecloud/models/user_action_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_authorization.rb +7 -37
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_me.rb +375 -0
- data/lib/purecloud/models/user_presence.rb +14 -32
- data/lib/purecloud/models/user_queue.rb +1 -1
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_skill_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/users_search_response.rb +230 -0
- data/lib/purecloud/models/validate_address_response.rb +1 -1
- data/lib/purecloud/models/video_conversation.rb +1 -1
- data/lib/purecloud/models/{alert_entity_listing.rb → video_conversation_entity_listing.rb} +13 -13
- data/lib/purecloud/models/{video_participant.rb → video_media_participant.rb} +1 -1
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +11 -11
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +11 -11
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +54 -45
- data/lib/purecloud/api/architect_api.rb +0 -3285
- data/lib/purecloud/models/chat_search_request.rb +0 -244
- data/lib/purecloud/models/conversation_historical_query_request_body.rb +0 -185
- data/lib/purecloud/models/conversation_query_response.rb +0 -366
- data/lib/purecloud/models/dialer_call.rb +0 -156
- data/lib/purecloud/models/penetration_rate.rb +0 -176
- data/lib/purecloud/models/penetration_rate_id.rb +0 -156
- data/lib/purecloud/models/progress_model.rb +0 -169
|
@@ -253,7 +253,7 @@ module PureCloud
|
|
|
253
253
|
# @param conversation_id conversation ID
|
|
254
254
|
# @param participant_id participant ID
|
|
255
255
|
# @param [Hash] opts the optional parameters
|
|
256
|
-
# @return [
|
|
256
|
+
# @return [CallbackConversationEntityListing]
|
|
257
257
|
def get_callbacks(conversation_id, participant_id, opts = {})
|
|
258
258
|
data, status_code, headers = get_callbacks_with_http_info(conversation_id, participant_id, opts)
|
|
259
259
|
return data
|
|
@@ -264,7 +264,7 @@ module PureCloud
|
|
|
264
264
|
# @param conversation_id conversation ID
|
|
265
265
|
# @param participant_id participant ID
|
|
266
266
|
# @param [Hash] opts the optional parameters
|
|
267
|
-
# @return [Array<(
|
|
267
|
+
# @return [Array<(CallbackConversationEntityListing, Fixnum, Hash)>] CallbackConversationEntityListing data, response status code and response headers
|
|
268
268
|
def get_callbacks_with_http_info(conversation_id, participant_id, opts = {})
|
|
269
269
|
if @api_client.config.debugging
|
|
270
270
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_callbacks ..."
|
|
@@ -307,7 +307,7 @@ module PureCloud
|
|
|
307
307
|
:form_params => form_params,
|
|
308
308
|
:body => post_body,
|
|
309
309
|
:auth_names => auth_names,
|
|
310
|
-
:return_type => '
|
|
310
|
+
:return_type => 'CallbackConversationEntityListing')
|
|
311
311
|
if @api_client.config.debugging
|
|
312
312
|
@api_client.config.logger.debug "API called: ConversationsApi#get_callbacks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
313
313
|
end
|
|
@@ -319,7 +319,7 @@ module PureCloud
|
|
|
319
319
|
# @param conversation_id conversation ID
|
|
320
320
|
# @param participant_id participant ID
|
|
321
321
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @option opts [
|
|
322
|
+
# @option opts [MediaParticipantRequest] :body
|
|
323
323
|
# @return [nil]
|
|
324
324
|
def patch_participants_participant_id(conversation_id, participant_id, opts = {})
|
|
325
325
|
patch_participants_participant_id_with_http_info(conversation_id, participant_id, opts)
|
|
@@ -331,7 +331,7 @@ module PureCloud
|
|
|
331
331
|
# @param conversation_id conversation ID
|
|
332
332
|
# @param participant_id participant ID
|
|
333
333
|
# @param [Hash] opts the optional parameters
|
|
334
|
-
# @option opts [
|
|
334
|
+
# @option opts [MediaParticipantRequest] :body
|
|
335
335
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
336
336
|
def patch_participants_participant_id_with_http_info(conversation_id, participant_id, opts = {})
|
|
337
337
|
if @api_client.config.debugging
|
|
@@ -721,7 +721,7 @@ module PureCloud
|
|
|
721
721
|
# @param conversation_id conversation ID
|
|
722
722
|
# @param participant_id participant ID
|
|
723
723
|
# @param [Hash] opts the optional parameters
|
|
724
|
-
# @return [
|
|
724
|
+
# @return [CallConversationEntityListing]
|
|
725
725
|
def get_calls(conversation_id, participant_id, opts = {})
|
|
726
726
|
data, status_code, headers = get_calls_with_http_info(conversation_id, participant_id, opts)
|
|
727
727
|
return data
|
|
@@ -732,7 +732,7 @@ module PureCloud
|
|
|
732
732
|
# @param conversation_id conversation ID
|
|
733
733
|
# @param participant_id participant ID
|
|
734
734
|
# @param [Hash] opts the optional parameters
|
|
735
|
-
# @return [Array<(
|
|
735
|
+
# @return [Array<(CallConversationEntityListing, Fixnum, Hash)>] CallConversationEntityListing data, response status code and response headers
|
|
736
736
|
def get_calls_with_http_info(conversation_id, participant_id, opts = {})
|
|
737
737
|
if @api_client.config.debugging
|
|
738
738
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_calls ..."
|
|
@@ -775,7 +775,7 @@ module PureCloud
|
|
|
775
775
|
:form_params => form_params,
|
|
776
776
|
:body => post_body,
|
|
777
777
|
:auth_names => auth_names,
|
|
778
|
-
:return_type => '
|
|
778
|
+
:return_type => 'CallConversationEntityListing')
|
|
779
779
|
if @api_client.config.debugging
|
|
780
780
|
@api_client.config.logger.debug "API called: ConversationsApi#get_calls\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
781
781
|
end
|
|
@@ -921,7 +921,7 @@ module PureCloud
|
|
|
921
921
|
# @param conversation_id conversation ID
|
|
922
922
|
# @param participant_id participant ID
|
|
923
923
|
# @param [Hash] opts the optional parameters
|
|
924
|
-
# @option opts [
|
|
924
|
+
# @option opts [MediaParticipantRequest] :body
|
|
925
925
|
# @return [nil]
|
|
926
926
|
def patch_participants_participant_id_0(conversation_id, participant_id, opts = {})
|
|
927
927
|
patch_participants_participant_id_0_with_http_info(conversation_id, participant_id, opts)
|
|
@@ -933,7 +933,7 @@ module PureCloud
|
|
|
933
933
|
# @param conversation_id conversation ID
|
|
934
934
|
# @param participant_id participant ID
|
|
935
935
|
# @param [Hash] opts the optional parameters
|
|
936
|
-
# @option opts [
|
|
936
|
+
# @option opts [MediaParticipantRequest] :body
|
|
937
937
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
938
938
|
def patch_participants_participant_id_0_with_http_info(conversation_id, participant_id, opts = {})
|
|
939
939
|
if @api_client.config.debugging
|
|
@@ -1794,7 +1794,7 @@ module PureCloud
|
|
|
1794
1794
|
# @param conversation_id conversation ID
|
|
1795
1795
|
# @param participant_id participant ID
|
|
1796
1796
|
# @param [Hash] opts the optional parameters
|
|
1797
|
-
# @return [
|
|
1797
|
+
# @return [ChatConversationEntityListing]
|
|
1798
1798
|
def get_chats(conversation_id, participant_id, opts = {})
|
|
1799
1799
|
data, status_code, headers = get_chats_with_http_info(conversation_id, participant_id, opts)
|
|
1800
1800
|
return data
|
|
@@ -1805,7 +1805,7 @@ module PureCloud
|
|
|
1805
1805
|
# @param conversation_id conversation ID
|
|
1806
1806
|
# @param participant_id participant ID
|
|
1807
1807
|
# @param [Hash] opts the optional parameters
|
|
1808
|
-
# @return [Array<(
|
|
1808
|
+
# @return [Array<(ChatConversationEntityListing, Fixnum, Hash)>] ChatConversationEntityListing data, response status code and response headers
|
|
1809
1809
|
def get_chats_with_http_info(conversation_id, participant_id, opts = {})
|
|
1810
1810
|
if @api_client.config.debugging
|
|
1811
1811
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_chats ..."
|
|
@@ -1848,7 +1848,7 @@ module PureCloud
|
|
|
1848
1848
|
:form_params => form_params,
|
|
1849
1849
|
:body => post_body,
|
|
1850
1850
|
:auth_names => auth_names,
|
|
1851
|
-
:return_type => '
|
|
1851
|
+
:return_type => 'ChatConversationEntityListing')
|
|
1852
1852
|
if @api_client.config.debugging
|
|
1853
1853
|
@api_client.config.logger.debug "API called: ConversationsApi#get_chats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1854
1854
|
end
|
|
@@ -1860,7 +1860,7 @@ module PureCloud
|
|
|
1860
1860
|
# @param conversation_id conversation ID
|
|
1861
1861
|
# @param participant_id participant ID
|
|
1862
1862
|
# @param [Hash] opts the optional parameters
|
|
1863
|
-
# @option opts [
|
|
1863
|
+
# @option opts [MediaParticipantRequest] :body
|
|
1864
1864
|
# @return [nil]
|
|
1865
1865
|
def patch_participants_participant_id_1(conversation_id, participant_id, opts = {})
|
|
1866
1866
|
patch_participants_participant_id_1_with_http_info(conversation_id, participant_id, opts)
|
|
@@ -1872,7 +1872,7 @@ module PureCloud
|
|
|
1872
1872
|
# @param conversation_id conversation ID
|
|
1873
1873
|
# @param participant_id participant ID
|
|
1874
1874
|
# @param [Hash] opts the optional parameters
|
|
1875
|
-
# @option opts [
|
|
1875
|
+
# @option opts [MediaParticipantRequest] :body
|
|
1876
1876
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1877
1877
|
def patch_participants_participant_id_1_with_http_info(conversation_id, participant_id, opts = {})
|
|
1878
1878
|
if @api_client.config.debugging
|
|
@@ -2374,133 +2374,6 @@ module PureCloud
|
|
|
2374
2374
|
return data, status_code, headers
|
|
2375
2375
|
end
|
|
2376
2376
|
|
|
2377
|
-
# Query historical conversations
|
|
2378
|
-
#
|
|
2379
|
-
# @param body Query parameters
|
|
2380
|
-
# @param [Hash] opts the optional parameters
|
|
2381
|
-
# @return [ConversationQueryResponse]
|
|
2382
|
-
def post_query(body, opts = {})
|
|
2383
|
-
data, status_code, headers = post_query_with_http_info(body, opts)
|
|
2384
|
-
return data
|
|
2385
|
-
end
|
|
2386
|
-
|
|
2387
|
-
# Query historical conversations
|
|
2388
|
-
#
|
|
2389
|
-
# @param body Query parameters
|
|
2390
|
-
# @param [Hash] opts the optional parameters
|
|
2391
|
-
# @return [Array<(ConversationQueryResponse, Fixnum, Hash)>] ConversationQueryResponse data, response status code and response headers
|
|
2392
|
-
def post_query_with_http_info(body, opts = {})
|
|
2393
|
-
if @api_client.config.debugging
|
|
2394
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#post_query ..."
|
|
2395
|
-
end
|
|
2396
|
-
|
|
2397
|
-
# verify the required parameter 'body' is set
|
|
2398
|
-
fail "Missing the required parameter 'body' when calling post_query" if body.nil?
|
|
2399
|
-
|
|
2400
|
-
# resource path
|
|
2401
|
-
path = "/api/v2/conversations/query".sub('{format}','json')
|
|
2402
|
-
|
|
2403
|
-
# query parameters
|
|
2404
|
-
query_params = {}
|
|
2405
|
-
|
|
2406
|
-
# header parameters
|
|
2407
|
-
header_params = {}
|
|
2408
|
-
|
|
2409
|
-
# HTTP header 'Accept' (if needed)
|
|
2410
|
-
_header_accept = ['application/json']
|
|
2411
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
2412
|
-
|
|
2413
|
-
# HTTP header 'Content-Type'
|
|
2414
|
-
_header_content_type = ['application/json']
|
|
2415
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
2416
|
-
|
|
2417
|
-
# form parameters
|
|
2418
|
-
form_params = {}
|
|
2419
|
-
|
|
2420
|
-
# http body (model)
|
|
2421
|
-
post_body = @api_client.object_to_http_body(body)
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
auth_names = ['PureCloud Auth']
|
|
2425
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
|
2426
|
-
:header_params => header_params,
|
|
2427
|
-
:query_params => query_params,
|
|
2428
|
-
:form_params => form_params,
|
|
2429
|
-
:body => post_body,
|
|
2430
|
-
:auth_names => auth_names,
|
|
2431
|
-
:return_type => 'ConversationQueryResponse')
|
|
2432
|
-
if @api_client.config.debugging
|
|
2433
|
-
@api_client.config.logger.debug "API called: ConversationsApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2434
|
-
end
|
|
2435
|
-
return data, status_code, headers
|
|
2436
|
-
end
|
|
2437
|
-
|
|
2438
|
-
# Query historical conversations with a date/time anchor
|
|
2439
|
-
#
|
|
2440
|
-
# @param anchor A point in time within the interval for the query that bounds the query. In the form of YYYYMMDDHHmmssSSSZX where YYYY is the 4-digit year, MM is the 2-digit month, DD is the 2-digit day-of-month, HH is the 2-digit hour-of-day (00-23), mm is the 2-digit minute, ss is the 2-digit second, SSS is the 3-digit millisecond, Z is the UTC offset expressed as 'Z', '+nnnn', '-nnnn', '+nn:nn', '-nn:nn', and X is either 'A' (for the anchor point being at the earliest point in the query) or 'D' (for the anchor point being the latest point in the query
|
|
2441
|
-
# @param body Query parameters
|
|
2442
|
-
# @param [Hash] opts the optional parameters
|
|
2443
|
-
# @return [ConversationQueryResponse]
|
|
2444
|
-
def post_query_anchor(anchor, body, opts = {})
|
|
2445
|
-
data, status_code, headers = post_query_anchor_with_http_info(anchor, body, opts)
|
|
2446
|
-
return data
|
|
2447
|
-
end
|
|
2448
|
-
|
|
2449
|
-
# Query historical conversations with a date/time anchor
|
|
2450
|
-
#
|
|
2451
|
-
# @param anchor A point in time within the interval for the query that bounds the query. In the form of YYYYMMDDHHmmssSSSZX where YYYY is the 4-digit year, MM is the 2-digit month, DD is the 2-digit day-of-month, HH is the 2-digit hour-of-day (00-23), mm is the 2-digit minute, ss is the 2-digit second, SSS is the 3-digit millisecond, Z is the UTC offset expressed as 'Z', '+nnnn', '-nnnn', '+nn:nn', '-nn:nn', and X is either 'A' (for the anchor point being at the earliest point in the query) or 'D' (for the anchor point being the latest point in the query
|
|
2452
|
-
# @param body Query parameters
|
|
2453
|
-
# @param [Hash] opts the optional parameters
|
|
2454
|
-
# @return [Array<(ConversationQueryResponse, Fixnum, Hash)>] ConversationQueryResponse data, response status code and response headers
|
|
2455
|
-
def post_query_anchor_with_http_info(anchor, body, opts = {})
|
|
2456
|
-
if @api_client.config.debugging
|
|
2457
|
-
@api_client.config.logger.debug "Calling API: ConversationsApi#post_query_anchor ..."
|
|
2458
|
-
end
|
|
2459
|
-
|
|
2460
|
-
# verify the required parameter 'anchor' is set
|
|
2461
|
-
fail "Missing the required parameter 'anchor' when calling post_query_anchor" if anchor.nil?
|
|
2462
|
-
|
|
2463
|
-
# verify the required parameter 'body' is set
|
|
2464
|
-
fail "Missing the required parameter 'body' when calling post_query_anchor" if body.nil?
|
|
2465
|
-
|
|
2466
|
-
# resource path
|
|
2467
|
-
path = "/api/v2/conversations/query/{anchor}".sub('{format}','json').sub('{' + 'anchor' + '}', anchor.to_s)
|
|
2468
|
-
|
|
2469
|
-
# query parameters
|
|
2470
|
-
query_params = {}
|
|
2471
|
-
|
|
2472
|
-
# header parameters
|
|
2473
|
-
header_params = {}
|
|
2474
|
-
|
|
2475
|
-
# HTTP header 'Accept' (if needed)
|
|
2476
|
-
_header_accept = ['application/json']
|
|
2477
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
2478
|
-
|
|
2479
|
-
# HTTP header 'Content-Type'
|
|
2480
|
-
_header_content_type = ['application/json']
|
|
2481
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
2482
|
-
|
|
2483
|
-
# form parameters
|
|
2484
|
-
form_params = {}
|
|
2485
|
-
|
|
2486
|
-
# http body (model)
|
|
2487
|
-
post_body = @api_client.object_to_http_body(body)
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
auth_names = ['PureCloud Auth']
|
|
2491
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
|
2492
|
-
:header_params => header_params,
|
|
2493
|
-
:query_params => query_params,
|
|
2494
|
-
:form_params => form_params,
|
|
2495
|
-
:body => post_body,
|
|
2496
|
-
:auth_names => auth_names,
|
|
2497
|
-
:return_type => 'ConversationQueryResponse')
|
|
2498
|
-
if @api_client.config.debugging
|
|
2499
|
-
@api_client.config.logger.debug "API called: ConversationsApi#post_query_anchor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2500
|
-
end
|
|
2501
|
-
return data, status_code, headers
|
|
2502
|
-
end
|
|
2503
|
-
|
|
2504
2377
|
# Get conversation
|
|
2505
2378
|
#
|
|
2506
2379
|
# @param conversation_id conversation ID
|
|
@@ -2972,7 +2845,7 @@ module PureCloud
|
|
|
2972
2845
|
# @param conversation_id conversation ID
|
|
2973
2846
|
# @param participant_id participant ID
|
|
2974
2847
|
# @param [Hash] opts the optional parameters
|
|
2975
|
-
# @return [
|
|
2848
|
+
# @return [EmailConversationEntityListing]
|
|
2976
2849
|
def get_emails(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
2977
2850
|
data, status_code, headers = get_emails_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts)
|
|
2978
2851
|
return data
|
|
@@ -2985,7 +2858,7 @@ module PureCloud
|
|
|
2985
2858
|
# @param conversation_id conversation ID
|
|
2986
2859
|
# @param participant_id participant ID
|
|
2987
2860
|
# @param [Hash] opts the optional parameters
|
|
2988
|
-
# @return [Array<(
|
|
2861
|
+
# @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
|
|
2989
2862
|
def get_emails_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
2990
2863
|
if @api_client.config.debugging
|
|
2991
2864
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_emails ..."
|
|
@@ -3034,7 +2907,7 @@ module PureCloud
|
|
|
3034
2907
|
:form_params => form_params,
|
|
3035
2908
|
:body => post_body,
|
|
3036
2909
|
:auth_names => auth_names,
|
|
3037
|
-
:return_type => '
|
|
2910
|
+
:return_type => 'EmailConversationEntityListing')
|
|
3038
2911
|
if @api_client.config.debugging
|
|
3039
2912
|
@api_client.config.logger.debug "API called: ConversationsApi#get_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
3040
2913
|
end
|
|
@@ -3048,7 +2921,7 @@ module PureCloud
|
|
|
3048
2921
|
# @param conversation_id conversation ID
|
|
3049
2922
|
# @param participant_id participant ID
|
|
3050
2923
|
# @param [Hash] opts the optional parameters
|
|
3051
|
-
# @option opts [
|
|
2924
|
+
# @option opts [MediaParticipantRequest] :body
|
|
3052
2925
|
# @return [nil]
|
|
3053
2926
|
def patch_participants_participant_id_2(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
3054
2927
|
patch_participants_participant_id_2_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts)
|
|
@@ -3062,7 +2935,7 @@ module PureCloud
|
|
|
3062
2935
|
# @param conversation_id conversation ID
|
|
3063
2936
|
# @param participant_id participant ID
|
|
3064
2937
|
# @param [Hash] opts the optional parameters
|
|
3065
|
-
# @option opts [
|
|
2938
|
+
# @option opts [MediaParticipantRequest] :body
|
|
3066
2939
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3067
2940
|
def patch_participants_participant_id_2_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
3068
2941
|
if @api_client.config.debugging
|
|
@@ -3968,7 +3841,7 @@ module PureCloud
|
|
|
3968
3841
|
# @param conversation_id conversation ID
|
|
3969
3842
|
# @param participant_id participant ID
|
|
3970
3843
|
# @param [Hash] opts the optional parameters
|
|
3971
|
-
# @return [
|
|
3844
|
+
# @return [SocialConversationEntityListing]
|
|
3972
3845
|
def get_socials(conversation_id, participant_id, opts = {})
|
|
3973
3846
|
data, status_code, headers = get_socials_with_http_info(conversation_id, participant_id, opts)
|
|
3974
3847
|
return data
|
|
@@ -3979,7 +3852,7 @@ module PureCloud
|
|
|
3979
3852
|
# @param conversation_id conversation ID
|
|
3980
3853
|
# @param participant_id participant ID
|
|
3981
3854
|
# @param [Hash] opts the optional parameters
|
|
3982
|
-
# @return [Array<(
|
|
3855
|
+
# @return [Array<(SocialConversationEntityListing, Fixnum, Hash)>] SocialConversationEntityListing data, response status code and response headers
|
|
3983
3856
|
def get_socials_with_http_info(conversation_id, participant_id, opts = {})
|
|
3984
3857
|
if @api_client.config.debugging
|
|
3985
3858
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_socials ..."
|
|
@@ -4022,7 +3895,7 @@ module PureCloud
|
|
|
4022
3895
|
:form_params => form_params,
|
|
4023
3896
|
:body => post_body,
|
|
4024
3897
|
:auth_names => auth_names,
|
|
4025
|
-
:return_type => '
|
|
3898
|
+
:return_type => 'SocialConversationEntityListing')
|
|
4026
3899
|
if @api_client.config.debugging
|
|
4027
3900
|
@api_client.config.logger.debug "API called: ConversationsApi#get_socials\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4028
3901
|
end
|
|
@@ -4034,7 +3907,7 @@ module PureCloud
|
|
|
4034
3907
|
# @param conversation_id conversation ID
|
|
4035
3908
|
# @param participant_id participant ID
|
|
4036
3909
|
# @param [Hash] opts the optional parameters
|
|
4037
|
-
# @option opts [
|
|
3910
|
+
# @option opts [MediaParticipantRequest] :body
|
|
4038
3911
|
# @return [nil]
|
|
4039
3912
|
def patch_participants_participant_id_3(conversation_id, participant_id, opts = {})
|
|
4040
3913
|
patch_participants_participant_id_3_with_http_info(conversation_id, participant_id, opts)
|
|
@@ -4046,7 +3919,7 @@ module PureCloud
|
|
|
4046
3919
|
# @param conversation_id conversation ID
|
|
4047
3920
|
# @param participant_id participant ID
|
|
4048
3921
|
# @param [Hash] opts the optional parameters
|
|
4049
|
-
# @option opts [
|
|
3922
|
+
# @option opts [MediaParticipantRequest] :body
|
|
4050
3923
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4051
3924
|
def patch_participants_participant_id_3_with_http_info(conversation_id, participant_id, opts = {})
|
|
4052
3925
|
if @api_client.config.debugging
|
|
@@ -4436,7 +4309,7 @@ module PureCloud
|
|
|
4436
4309
|
# @param conversation_id conversation ID
|
|
4437
4310
|
# @param participant_id participant ID
|
|
4438
4311
|
# @param [Hash] opts the optional parameters
|
|
4439
|
-
# @return [
|
|
4312
|
+
# @return [VideoConversationEntityListing]
|
|
4440
4313
|
def get_videos(conversation_id, participant_id, opts = {})
|
|
4441
4314
|
data, status_code, headers = get_videos_with_http_info(conversation_id, participant_id, opts)
|
|
4442
4315
|
return data
|
|
@@ -4447,7 +4320,7 @@ module PureCloud
|
|
|
4447
4320
|
# @param conversation_id conversation ID
|
|
4448
4321
|
# @param participant_id participant ID
|
|
4449
4322
|
# @param [Hash] opts the optional parameters
|
|
4450
|
-
# @return [Array<(
|
|
4323
|
+
# @return [Array<(VideoConversationEntityListing, Fixnum, Hash)>] VideoConversationEntityListing data, response status code and response headers
|
|
4451
4324
|
def get_videos_with_http_info(conversation_id, participant_id, opts = {})
|
|
4452
4325
|
if @api_client.config.debugging
|
|
4453
4326
|
@api_client.config.logger.debug "Calling API: ConversationsApi#get_videos ..."
|
|
@@ -4490,7 +4363,7 @@ module PureCloud
|
|
|
4490
4363
|
:form_params => form_params,
|
|
4491
4364
|
:body => post_body,
|
|
4492
4365
|
:auth_names => auth_names,
|
|
4493
|
-
:return_type => '
|
|
4366
|
+
:return_type => 'VideoConversationEntityListing')
|
|
4494
4367
|
if @api_client.config.debugging
|
|
4495
4368
|
@api_client.config.logger.debug "API called: ConversationsApi#get_videos\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
4496
4369
|
end
|
|
@@ -4502,7 +4375,7 @@ module PureCloud
|
|
|
4502
4375
|
# @param conversation_id conversation ID
|
|
4503
4376
|
# @param participant_id participant ID
|
|
4504
4377
|
# @param [Hash] opts the optional parameters
|
|
4505
|
-
# @option opts [
|
|
4378
|
+
# @option opts [MediaParticipantRequest] :body
|
|
4506
4379
|
# @return [nil]
|
|
4507
4380
|
def patch_participants_participant_id_4(conversation_id, participant_id, opts = {})
|
|
4508
4381
|
patch_participants_participant_id_4_with_http_info(conversation_id, participant_id, opts)
|
|
@@ -4514,7 +4387,7 @@ module PureCloud
|
|
|
4514
4387
|
# @param conversation_id conversation ID
|
|
4515
4388
|
# @param participant_id participant ID
|
|
4516
4389
|
# @param [Hash] opts the optional parameters
|
|
4517
|
-
# @option opts [
|
|
4390
|
+
# @option opts [MediaParticipantRequest] :body
|
|
4518
4391
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4519
4392
|
def patch_participants_participant_id_4_with_http_info(conversation_id, participant_id, opts = {})
|
|
4520
4393
|
if @api_client.config.debugging
|
|
@@ -15,7 +15,7 @@ module PureCloud
|
|
|
15
15
|
# @param conversation_id conversation ID
|
|
16
16
|
# @param participant_id participant ID
|
|
17
17
|
# @param [Hash] opts the optional parameters
|
|
18
|
-
# @return [
|
|
18
|
+
# @return [EmailConversationEntityListing]
|
|
19
19
|
def get_emails(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
20
20
|
data, status_code, headers = get_emails_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts)
|
|
21
21
|
return data
|
|
@@ -28,7 +28,7 @@ module PureCloud
|
|
|
28
28
|
# @param conversation_id conversation ID
|
|
29
29
|
# @param participant_id participant ID
|
|
30
30
|
# @param [Hash] opts the optional parameters
|
|
31
|
-
# @return [Array<(
|
|
31
|
+
# @return [Array<(EmailConversationEntityListing, Fixnum, Hash)>] EmailConversationEntityListing data, response status code and response headers
|
|
32
32
|
def get_emails_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
33
33
|
if @api_client.config.debugging
|
|
34
34
|
@api_client.config.logger.debug "Calling API: EmailsApi#get_emails ..."
|
|
@@ -77,7 +77,7 @@ module PureCloud
|
|
|
77
77
|
:form_params => form_params,
|
|
78
78
|
:body => post_body,
|
|
79
79
|
:auth_names => auth_names,
|
|
80
|
-
:return_type => '
|
|
80
|
+
:return_type => 'EmailConversationEntityListing')
|
|
81
81
|
if @api_client.config.debugging
|
|
82
82
|
@api_client.config.logger.debug "API called: EmailsApi#get_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
83
83
|
end
|
|
@@ -91,7 +91,7 @@ module PureCloud
|
|
|
91
91
|
# @param conversation_id conversation ID
|
|
92
92
|
# @param participant_id participant ID
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
|
-
# @option opts [
|
|
94
|
+
# @option opts [MediaParticipantRequest] :body
|
|
95
95
|
# @return [nil]
|
|
96
96
|
def patch_participants_participant_id(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
97
97
|
patch_participants_participant_id_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts)
|
|
@@ -105,7 +105,7 @@ module PureCloud
|
|
|
105
105
|
# @param conversation_id conversation ID
|
|
106
106
|
# @param participant_id participant ID
|
|
107
107
|
# @param [Hash] opts the optional parameters
|
|
108
|
-
# @option opts [
|
|
108
|
+
# @option opts [MediaParticipantRequest] :body
|
|
109
109
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
110
110
|
def patch_participants_participant_id_with_http_info(attachment_id, message_id, conversation_id, participant_id, opts = {})
|
|
111
111
|
if @api_client.config.debugging
|
|
@@ -77,6 +77,126 @@ module PureCloud
|
|
|
77
77
|
return data, status_code, headers
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# Search using q64
|
|
81
|
+
#
|
|
82
|
+
# @param [Hash] opts the optional parameters
|
|
83
|
+
# @option opts [String] :q64
|
|
84
|
+
# @option opts [Array<String>] :expand
|
|
85
|
+
# @return [GroupsSearchResponse]
|
|
86
|
+
def get_search(opts = {})
|
|
87
|
+
data, status_code, headers = get_search_with_http_info(opts)
|
|
88
|
+
return data
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# Search using q64
|
|
92
|
+
#
|
|
93
|
+
# @param [Hash] opts the optional parameters
|
|
94
|
+
# @option opts [String] :q64
|
|
95
|
+
# @option opts [Array<String>] :expand
|
|
96
|
+
# @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
|
|
97
|
+
def get_search_with_http_info(opts = {})
|
|
98
|
+
if @api_client.config.debugging
|
|
99
|
+
@api_client.config.logger.debug "Calling API: GroupsApi#get_search ..."
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# resource path
|
|
103
|
+
path = "/api/v2/groups/search".sub('{format}','json')
|
|
104
|
+
|
|
105
|
+
# query parameters
|
|
106
|
+
query_params = {}
|
|
107
|
+
query_params[:'q64'] = opts[:'q64'] if opts[:'q64']
|
|
108
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
109
|
+
|
|
110
|
+
# header parameters
|
|
111
|
+
header_params = {}
|
|
112
|
+
|
|
113
|
+
# HTTP header 'Accept' (if needed)
|
|
114
|
+
_header_accept = ['application/json']
|
|
115
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
116
|
+
|
|
117
|
+
# HTTP header 'Content-Type'
|
|
118
|
+
_header_content_type = ['application/json']
|
|
119
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
120
|
+
|
|
121
|
+
# form parameters
|
|
122
|
+
form_params = {}
|
|
123
|
+
|
|
124
|
+
# http body (model)
|
|
125
|
+
post_body = nil
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
auth_names = ['PureCloud Auth']
|
|
129
|
+
data, status_code, headers = @api_client.call_api(:GET, path,
|
|
130
|
+
:header_params => header_params,
|
|
131
|
+
:query_params => query_params,
|
|
132
|
+
:form_params => form_params,
|
|
133
|
+
:body => post_body,
|
|
134
|
+
:auth_names => auth_names,
|
|
135
|
+
:return_type => 'GroupsSearchResponse')
|
|
136
|
+
if @api_client.config.debugging
|
|
137
|
+
@api_client.config.logger.debug "API called: GroupsApi#get_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
138
|
+
end
|
|
139
|
+
return data, status_code, headers
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# Search
|
|
143
|
+
#
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @option opts [SearchRequest] :body Search request options
|
|
146
|
+
# @return [GroupsSearchResponse]
|
|
147
|
+
def post_search(opts = {})
|
|
148
|
+
data, status_code, headers = post_search_with_http_info(opts)
|
|
149
|
+
return data
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
# Search
|
|
153
|
+
#
|
|
154
|
+
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [SearchRequest] :body Search request options
|
|
156
|
+
# @return [Array<(GroupsSearchResponse, Fixnum, Hash)>] GroupsSearchResponse data, response status code and response headers
|
|
157
|
+
def post_search_with_http_info(opts = {})
|
|
158
|
+
if @api_client.config.debugging
|
|
159
|
+
@api_client.config.logger.debug "Calling API: GroupsApi#post_search ..."
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
# resource path
|
|
163
|
+
path = "/api/v2/groups/search".sub('{format}','json')
|
|
164
|
+
|
|
165
|
+
# query parameters
|
|
166
|
+
query_params = {}
|
|
167
|
+
|
|
168
|
+
# header parameters
|
|
169
|
+
header_params = {}
|
|
170
|
+
|
|
171
|
+
# HTTP header 'Accept' (if needed)
|
|
172
|
+
_header_accept = ['application/json']
|
|
173
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
174
|
+
|
|
175
|
+
# HTTP header 'Content-Type'
|
|
176
|
+
_header_content_type = ['application/json']
|
|
177
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
178
|
+
|
|
179
|
+
# form parameters
|
|
180
|
+
form_params = {}
|
|
181
|
+
|
|
182
|
+
# http body (model)
|
|
183
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
auth_names = ['PureCloud Auth']
|
|
187
|
+
data, status_code, headers = @api_client.call_api(:POST, path,
|
|
188
|
+
:header_params => header_params,
|
|
189
|
+
:query_params => query_params,
|
|
190
|
+
:form_params => form_params,
|
|
191
|
+
:body => post_body,
|
|
192
|
+
:auth_names => auth_names,
|
|
193
|
+
:return_type => 'GroupsSearchResponse')
|
|
194
|
+
if @api_client.config.debugging
|
|
195
|
+
@api_client.config.logger.debug "API called: GroupsApi#post_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
196
|
+
end
|
|
197
|
+
return data, status_code, headers
|
|
198
|
+
end
|
|
199
|
+
|
|
80
200
|
# Get group
|
|
81
201
|
#
|
|
82
202
|
# @param group_id Group ID
|