purecloudplatformclientv2 2.0.40 → 3.0.0
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/README.md +2 -2
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/Call.md +1 -0
- data/docs/CallBasic.md +1 -0
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/ConversationsApi.md +260 -260
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/Dependency.md +1 -0
- data/docs/DependencyObject.md +1 -0
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/HeartBeatAlertContainer.md +1 -1
- data/docs/HeartBeatRuleContainer.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/IntradayDataGroup.md +19 -0
- data/docs/IntradayForecastData.md +15 -0
- data/docs/IntradayHistoricalAgentData.md +14 -0
- data/docs/IntradayHistoricalQueueData.md +20 -0
- data/docs/IntradayMetric.md +14 -0
- data/docs/IntradayPerformancePredictionAgentData.md +13 -0
- data/docs/IntradayPerformancePredictionQueueData.md +15 -0
- data/docs/IntradayQueryDataCommand.md +17 -0
- data/docs/IntradayQueue.md +15 -0
- data/docs/IntradayResponse.md +20 -0
- data/docs/IntradayScheduleData.md +14 -0
- data/docs/JsonNode.md +5 -5
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LicenseDefinition.md +1 -0
- data/docs/LicenseDefinitionListing.md +1 -1
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/MediaTranscription.md +15 -0
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyActions.md +1 -0
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingStatusAlertContainer.md +1 -1
- data/docs/RoutingStatusRuleContainer.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TelephonyProvidersEdgeApi.md +60 -0
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserPresenceAlertContainer.md +1 -1
- data/docs/UserPresenceRuleContainer.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WfmIntradayQueueListing.md +14 -0
- data/docs/WorkforceManagementApi.md +127 -0
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +13 -0
- data/lib/purecloudplatformclientv2/api/architect_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +416 -416
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +58 -0
- data/lib/purecloudplatformclientv2/api/workforce_management_api.rb +121 -0
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/call.rb +14 -4
- data/lib/purecloudplatformclientv2/models/call_basic.rb +14 -4
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dependency.rb +12 -3
- data/lib/purecloudplatformclientv2/models/dependency_object.rb +12 -3
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +10 -10
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/intraday_data_group.rb +265 -0
- data/lib/purecloudplatformclientv2/models/intraday_forecast_data.rb +199 -0
- data/lib/purecloudplatformclientv2/models/intraday_historical_agent_data.rb +189 -0
- data/lib/purecloudplatformclientv2/models/intraday_historical_queue_data.rb +249 -0
- data/lib/purecloudplatformclientv2/models/intraday_metric.rb +203 -0
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_agent_data.rb +179 -0
- data/lib/purecloudplatformclientv2/models/intraday_performance_prediction_queue_data.rb +199 -0
- data/lib/purecloudplatformclientv2/models/intraday_query_data_command.rb +235 -0
- data/lib/purecloudplatformclientv2/models/intraday_queue.rb +201 -0
- data/lib/purecloudplatformclientv2/models/intraday_response.rb +269 -0
- data/lib/purecloudplatformclientv2/models/intraday_schedule_data.rb +189 -0
- data/lib/purecloudplatformclientv2/models/json_node.rb +37 -37
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/license_definition.rb +12 -1
- data/lib/purecloudplatformclientv2/models/license_definition_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/media_transcription.rb +210 -0
- data/lib/purecloudplatformclientv2/models/note_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/policy_actions.rb +15 -4
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +10 -10
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/wfm_intraday_queue_listing.rb +204 -0
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +10 -10
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +28 -2
|
@@ -14,8 +14,8 @@ title: UserPresenceRuleContainer
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserQueueEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserRecordingEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserSkillEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: VoicemailMessageEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: WfmIntradayQueueListing
|
|
3
|
+
---
|
|
4
|
+
## PureCloud::WfmIntradayQueueListing
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
|Name | Type | Description | Notes|
|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
|
10
|
+
| **entities** | [**Array<IntradayQueue>**](IntradayQueue.html) | | [optional] |
|
|
11
|
+
| **no_data_reason** | **String** | | [optional] |
|
|
12
|
+
{: class="table table-striped"}
|
|
13
|
+
|
|
14
|
+
|
|
@@ -10,6 +10,7 @@ Method | Description
|
|
|
10
10
|
------------- | ------------- | -------------
|
|
11
11
|
[**get_workforcemanagement_adherence**](WorkforceManagementApi.html#get_workforcemanagement_adherence) | Get a list of UserScheduleAdherence records for the requested users
|
|
12
12
|
[**get_workforcemanagement_managementunit_activitycodes**](WorkforceManagementApi.html#get_workforcemanagement_managementunit_activitycodes) | Get activity codes corresponding to a management unit
|
|
13
|
+
[**get_workforcemanagement_managementunit_intraday_queues**](WorkforceManagementApi.html#get_workforcemanagement_managementunit_intraday_queues) | Get intraday queues for the given date
|
|
13
14
|
[**get_workforcemanagement_managementunit_user_timeoffrequest**](WorkforceManagementApi.html#get_workforcemanagement_managementunit_user_timeoffrequest) | Get a time off request by id
|
|
14
15
|
[**get_workforcemanagement_managementunit_user_timeoffrequests**](WorkforceManagementApi.html#get_workforcemanagement_managementunit_user_timeoffrequests) | Get a list of time off requests for any user
|
|
15
16
|
[**get_workforcemanagement_managementunit_users**](WorkforceManagementApi.html#get_workforcemanagement_managementunit_users) | Get agents in the management unit
|
|
@@ -17,6 +18,7 @@ Method | Description
|
|
|
17
18
|
[**get_workforcemanagement_timeoffrequest**](WorkforceManagementApi.html#get_workforcemanagement_timeoffrequest) | Get a time off request for the current user by id
|
|
18
19
|
[**get_workforcemanagement_timeoffrequests**](WorkforceManagementApi.html#get_workforcemanagement_timeoffrequests) | Get a list of time off requests for the current user
|
|
19
20
|
[**patch_workforcemanagement_timeoffrequest**](WorkforceManagementApi.html#patch_workforcemanagement_timeoffrequest) | Mark a time off request for the current user as read or unread
|
|
21
|
+
[**post_workforcemanagement_managementunit_intraday**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_intraday) | Get intraday data for the given date for the requested queueIds
|
|
20
22
|
[**post_workforcemanagement_managementunit_schedules_search**](WorkforceManagementApi.html#post_workforcemanagement_managementunit_schedules_search) | Get user schedules within the given time range
|
|
21
23
|
[**post_workforcemanagement_schedules**](WorkforceManagementApi.html#post_workforcemanagement_schedules) | Get a schedule for the current user
|
|
22
24
|
{: class="table table-striped"}
|
|
@@ -139,6 +141,68 @@ Name | Type | Description | Notes
|
|
|
139
141
|
|
|
140
142
|
|
|
141
143
|
|
|
144
|
+
<a name="get_workforcemanagement_managementunit_intraday_queues"></a>
|
|
145
|
+
|
|
146
|
+
## -[**WfmIntradayQueueListing**](WfmIntradayQueueListing.html) get_workforcemanagement_managementunit_intraday_queues(mu_id, date)
|
|
147
|
+
|
|
148
|
+
Get intraday queues for the given date
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
Wraps GET /api/v2/workforcemanagement/managementunits/{muId}/intraday/queues
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
### Example
|
|
156
|
+
~~~ruby
|
|
157
|
+
# load the gem
|
|
158
|
+
require 'purecloudplatformclientv2'
|
|
159
|
+
# setup authorization
|
|
160
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
161
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
162
|
+
environment = "mypurecloud.com"
|
|
163
|
+
|
|
164
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
165
|
+
|
|
166
|
+
PureCloud.configure do |config|
|
|
167
|
+
config.access_token = @authToken
|
|
168
|
+
end
|
|
169
|
+
|
|
170
|
+
api_instance = PureCloud::WorkforceManagementApi.new
|
|
171
|
+
|
|
172
|
+
mu_id = "mu_id_example" # String | The muId of the management unit.
|
|
173
|
+
|
|
174
|
+
date = "date_example" # String | ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
begin
|
|
178
|
+
#Get intraday queues for the given date
|
|
179
|
+
result = api_instance.get_workforcemanagement_managementunit_intraday_queues(mu_id, date)
|
|
180
|
+
p result
|
|
181
|
+
rescue PureCloud::ApiError => e
|
|
182
|
+
puts "Exception when calling WorkforceManagementApi->get_workforcemanagement_managementunit_intraday_queues: #{e}"
|
|
183
|
+
end
|
|
184
|
+
~~~
|
|
185
|
+
|
|
186
|
+
### Parameters
|
|
187
|
+
|
|
188
|
+
Name | Type | Description | Notes
|
|
189
|
+
------------- | ------------- | ------------- | -------------
|
|
190
|
+
**mu_id** | **String**| The muId of the management unit. |
|
|
191
|
+
**date** | **String**| ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23 |
|
|
192
|
+
{: class="table table-striped"}
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
### Return type
|
|
196
|
+
|
|
197
|
+
[**WfmIntradayQueueListing**](WfmIntradayQueueListing.html)
|
|
198
|
+
|
|
199
|
+
### HTTP request headers
|
|
200
|
+
|
|
201
|
+
- **Content-Type**: application/json
|
|
202
|
+
- **Accept**: application/json
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
142
206
|
<a name="get_workforcemanagement_managementunit_user_timeoffrequest"></a>
|
|
143
207
|
|
|
144
208
|
## -[**TimeOffRequest**](TimeOffRequest.html) get_workforcemanagement_managementunit_user_timeoffrequest(mu_id, user_id, time_off_request_id)
|
|
@@ -574,6 +638,69 @@ nil (empty response body)
|
|
|
574
638
|
|
|
575
639
|
|
|
576
640
|
|
|
641
|
+
<a name="post_workforcemanagement_managementunit_intraday"></a>
|
|
642
|
+
|
|
643
|
+
## -[**IntradayResponse**](IntradayResponse.html) post_workforcemanagement_managementunit_intraday(mu_id, opts)
|
|
644
|
+
|
|
645
|
+
Get intraday data for the given date for the requested queueIds
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
Wraps POST /api/v2/workforcemanagement/managementunits/{muId}/intraday
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
### Example
|
|
653
|
+
~~~ruby
|
|
654
|
+
# load the gem
|
|
655
|
+
require 'purecloudplatformclientv2'
|
|
656
|
+
# setup authorization
|
|
657
|
+
@secret = ENV['PURECLOUD_SECRET']
|
|
658
|
+
@id = ENV['PURECLOUD_CLIENT_ID']
|
|
659
|
+
environment = "mypurecloud.com"
|
|
660
|
+
|
|
661
|
+
@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment
|
|
662
|
+
|
|
663
|
+
PureCloud.configure do |config|
|
|
664
|
+
config.access_token = @authToken
|
|
665
|
+
end
|
|
666
|
+
|
|
667
|
+
api_instance = PureCloud::WorkforceManagementApi.new
|
|
668
|
+
|
|
669
|
+
mu_id = "mu_id_example" # String | The muId of the management unit.
|
|
670
|
+
|
|
671
|
+
opts = {
|
|
672
|
+
body: PureCloud::IntradayQueryDataCommand.new # IntradayQueryDataCommand | body
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
begin
|
|
676
|
+
#Get intraday data for the given date for the requested queueIds
|
|
677
|
+
result = api_instance.post_workforcemanagement_managementunit_intraday(mu_id, opts)
|
|
678
|
+
p result
|
|
679
|
+
rescue PureCloud::ApiError => e
|
|
680
|
+
puts "Exception when calling WorkforceManagementApi->post_workforcemanagement_managementunit_intraday: #{e}"
|
|
681
|
+
end
|
|
682
|
+
~~~
|
|
683
|
+
|
|
684
|
+
### Parameters
|
|
685
|
+
|
|
686
|
+
Name | Type | Description | Notes
|
|
687
|
+
------------- | ------------- | ------------- | -------------
|
|
688
|
+
**mu_id** | **String**| The muId of the management unit. |
|
|
689
|
+
**body** | [**IntradayQueryDataCommand**](IntradayQueryDataCommand.html)| body | [optional]
|
|
690
|
+
{: class="table table-striped"}
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
### Return type
|
|
694
|
+
|
|
695
|
+
[**IntradayResponse**](IntradayResponse.html)
|
|
696
|
+
|
|
697
|
+
### HTTP request headers
|
|
698
|
+
|
|
699
|
+
- **Content-Type**: application/json
|
|
700
|
+
- **Accept**: application/json
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
|
|
577
704
|
<a name="post_workforcemanagement_managementunit_schedules_search"></a>
|
|
578
705
|
|
|
579
706
|
## -[**UserScheduleContainer**](UserScheduleContainer.html) post_workforcemanagement_managementunit_schedules_search(mu_id, opts)
|
|
@@ -14,8 +14,8 @@ title: WorkspaceEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: WorkspaceMemberEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: WrapupCodeEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **previous_uri** | **String** | | [optional] |
|
|
17
|
-
| **next_uri** | **String** | | [optional] |
|
|
18
17
|
| **last_uri** | **String** | | [optional] |
|
|
18
|
+
| **next_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -494,6 +494,7 @@ require 'purecloudplatformclientv2/models/interaction_stats_alert'
|
|
|
494
494
|
require 'purecloudplatformclientv2/models/interaction_stats_alert_container'
|
|
495
495
|
require 'purecloudplatformclientv2/models/interaction_stats_rule'
|
|
496
496
|
require 'purecloudplatformclientv2/models/interaction_stats_rule_container'
|
|
497
|
+
require 'purecloudplatformclientv2/models/intraday_data_group'
|
|
497
498
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification'
|
|
498
499
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification_forecast_data_per_interval'
|
|
499
500
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification_historical_agent_data_per_interval'
|
|
@@ -511,6 +512,16 @@ require 'purecloudplatformclientv2/models/intraday_data_update_notification_metr
|
|
|
511
512
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification_performance_prediction_agent_data_per_interval'
|
|
512
513
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification_performance_prediction_queue_data_per_interval'
|
|
513
514
|
require 'purecloudplatformclientv2/models/intraday_data_update_notification_schedule_data_per_interval'
|
|
515
|
+
require 'purecloudplatformclientv2/models/intraday_forecast_data'
|
|
516
|
+
require 'purecloudplatformclientv2/models/intraday_historical_agent_data'
|
|
517
|
+
require 'purecloudplatformclientv2/models/intraday_historical_queue_data'
|
|
518
|
+
require 'purecloudplatformclientv2/models/intraday_metric'
|
|
519
|
+
require 'purecloudplatformclientv2/models/intraday_performance_prediction_agent_data'
|
|
520
|
+
require 'purecloudplatformclientv2/models/intraday_performance_prediction_queue_data'
|
|
521
|
+
require 'purecloudplatformclientv2/models/intraday_query_data_command'
|
|
522
|
+
require 'purecloudplatformclientv2/models/intraday_queue'
|
|
523
|
+
require 'purecloudplatformclientv2/models/intraday_response'
|
|
524
|
+
require 'purecloudplatformclientv2/models/intraday_schedule_data'
|
|
514
525
|
require 'purecloudplatformclientv2/models/json_node'
|
|
515
526
|
require 'purecloudplatformclientv2/models/json_node_search_response'
|
|
516
527
|
require 'purecloudplatformclientv2/models/json_schema_document'
|
|
@@ -555,6 +566,7 @@ require 'purecloudplatformclientv2/models/media_result'
|
|
|
555
566
|
require 'purecloudplatformclientv2/models/media_setting'
|
|
556
567
|
require 'purecloudplatformclientv2/models/media_summary'
|
|
557
568
|
require 'purecloudplatformclientv2/models/media_summary_detail'
|
|
569
|
+
require 'purecloudplatformclientv2/models/media_transcription'
|
|
558
570
|
require 'purecloudplatformclientv2/models/member_entity'
|
|
559
571
|
require 'purecloudplatformclientv2/models/meta_data'
|
|
560
572
|
require 'purecloudplatformclientv2/models/metabase'
|
|
@@ -879,6 +891,7 @@ require 'purecloudplatformclientv2/models/voicemail_search_criteria'
|
|
|
879
891
|
require 'purecloudplatformclientv2/models/voicemail_search_request'
|
|
880
892
|
require 'purecloudplatformclientv2/models/voicemail_user_policy'
|
|
881
893
|
require 'purecloudplatformclientv2/models/voicemails_search_response'
|
|
894
|
+
require 'purecloudplatformclientv2/models/wfm_intraday_queue_listing'
|
|
882
895
|
require 'purecloudplatformclientv2/models/wfm_user_entity_listing'
|
|
883
896
|
require 'purecloudplatformclientv2/models/workspace'
|
|
884
897
|
require 'purecloudplatformclientv2/models/workspace_create'
|
|
@@ -540,8 +540,8 @@ module PureCloud
|
|
|
540
540
|
# verify the required parameter 'object_type' is set
|
|
541
541
|
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumedresources" if object_type.nil?
|
|
542
542
|
# verify enum value
|
|
543
|
-
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
|
|
544
|
-
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
|
|
543
|
+
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
|
|
544
|
+
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
|
|
545
545
|
end
|
|
546
546
|
# resource path
|
|
547
547
|
local_var_path = "/api/v2/architect/dependencytracking/consumedresources".sub('{format}','json')
|
|
@@ -611,8 +611,8 @@ module PureCloud
|
|
|
611
611
|
# verify the required parameter 'object_type' is set
|
|
612
612
|
fail ArgumentError, "Missing the required parameter 'object_type' when calling ArchitectApi.get_architect_dependencytracking_consumingresources" if object_type.nil?
|
|
613
613
|
# verify enum value
|
|
614
|
-
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
|
|
615
|
-
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
|
|
614
|
+
unless ['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(object_type)
|
|
615
|
+
fail ArgumentError, "invalid value for 'object_type', must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW"
|
|
616
616
|
end
|
|
617
617
|
# resource path
|
|
618
618
|
local_var_path = "/api/v2/architect/dependencytracking/consumingresources".sub('{format}','json')
|
|
@@ -763,8 +763,8 @@ module PureCloud
|
|
|
763
763
|
end
|
|
764
764
|
# verify the required parameter 'id' is set
|
|
765
765
|
fail ArgumentError, "Missing the required parameter 'id' when calling ArchitectApi.get_architect_dependencytracking_object" if id.nil?
|
|
766
|
-
if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(opts[:'object_type'])
|
|
767
|
-
fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW'
|
|
766
|
+
if opts[:'object_type'] && !['ACDLANGUAGE', 'ACDSKILL', 'ACDWRAPUPCODE', 'BRIDGEACTION', 'COMPOSERSCRIPT', 'CONTACTLIST', 'DATAACTION', 'GROUP', 'INBOUNDCALLFLOW', 'INBOUNDEMAILFLOW', 'INQUEUECALLFLOW', 'IVRCONFIGURATION', 'LANGUAGE', 'OUTBOUNDCALLFLOW', 'QUEUE', 'RESPONSE', 'SCHEDULE', 'SCHEDULEGROUP', 'SECUREACTION', 'SECURECALLFLOW', 'SYSTEMPROMPT', 'USER', 'USERPROMPT', 'VOICEXML', 'WORKFLOW'].include?(opts[:'object_type'])
|
|
767
|
+
fail ArgumentError, 'invalid value for "object_type", must be one of ACDLANGUAGE, ACDSKILL, ACDWRAPUPCODE, BRIDGEACTION, COMPOSERSCRIPT, CONTACTLIST, DATAACTION, GROUP, INBOUNDCALLFLOW, INBOUNDEMAILFLOW, INQUEUECALLFLOW, IVRCONFIGURATION, LANGUAGE, OUTBOUNDCALLFLOW, QUEUE, RESPONSE, SCHEDULE, SCHEDULEGROUP, SECUREACTION, SECURECALLFLOW, SYSTEMPROMPT, USER, USERPROMPT, VOICEXML, WORKFLOW'
|
|
768
768
|
end
|
|
769
769
|
# resource path
|
|
770
770
|
local_var_path = "/api/v2/architect/dependencytracking/object".sub('{format}','json')
|
|
@@ -90,31 +90,31 @@ module PureCloud
|
|
|
90
90
|
|
|
91
91
|
# Cancel the transfer
|
|
92
92
|
#
|
|
93
|
-
# @param
|
|
93
|
+
# @param conversation_id conversationId
|
|
94
94
|
# @param participant_id participantId
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [String]
|
|
97
|
-
def delete_conversations_call_participant_consult(
|
|
98
|
-
data, _status_code, _headers = delete_conversations_call_participant_consult_with_http_info(
|
|
97
|
+
def delete_conversations_call_participant_consult(conversation_id, participant_id, opts = {})
|
|
98
|
+
data, _status_code, _headers = delete_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, opts)
|
|
99
99
|
return data
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
# Cancel the transfer
|
|
103
103
|
#
|
|
104
|
-
# @param
|
|
104
|
+
# @param conversation_id conversationId
|
|
105
105
|
# @param participant_id participantId
|
|
106
106
|
# @param [Hash] opts the optional parameters
|
|
107
107
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
108
|
-
def delete_conversations_call_participant_consult_with_http_info(
|
|
108
|
+
def delete_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, opts = {})
|
|
109
109
|
if @api_client.config.debugging
|
|
110
110
|
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_call_participant_consult ..."
|
|
111
111
|
end
|
|
112
|
-
# verify the required parameter '
|
|
113
|
-
fail ArgumentError, "Missing the required parameter '
|
|
112
|
+
# verify the required parameter 'conversation_id' is set
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.delete_conversations_call_participant_consult" if conversation_id.nil?
|
|
114
114
|
# verify the required parameter 'participant_id' is set
|
|
115
115
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.delete_conversations_call_participant_consult" if participant_id.nil?
|
|
116
116
|
# resource path
|
|
117
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
117
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
118
118
|
|
|
119
119
|
# query parameters
|
|
120
120
|
query_params = {}
|
|
@@ -151,31 +151,31 @@ module PureCloud
|
|
|
151
151
|
|
|
152
152
|
# Delete attachment from draft
|
|
153
153
|
#
|
|
154
|
-
# @param
|
|
154
|
+
# @param conversation_id conversationId
|
|
155
155
|
# @param attachment_id attachmentId
|
|
156
156
|
# @param [Hash] opts the optional parameters
|
|
157
157
|
# @return [String]
|
|
158
|
-
def delete_conversations_email_messages_draft_attachment(
|
|
159
|
-
data, _status_code, _headers = delete_conversations_email_messages_draft_attachment_with_http_info(
|
|
158
|
+
def delete_conversations_email_messages_draft_attachment(conversation_id, attachment_id, opts = {})
|
|
159
|
+
data, _status_code, _headers = delete_conversations_email_messages_draft_attachment_with_http_info(conversation_id, attachment_id, opts)
|
|
160
160
|
return data
|
|
161
161
|
end
|
|
162
162
|
|
|
163
163
|
# Delete attachment from draft
|
|
164
164
|
#
|
|
165
|
-
# @param
|
|
165
|
+
# @param conversation_id conversationId
|
|
166
166
|
# @param attachment_id attachmentId
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
|
169
|
-
def delete_conversations_email_messages_draft_attachment_with_http_info(
|
|
169
|
+
def delete_conversations_email_messages_draft_attachment_with_http_info(conversation_id, attachment_id, opts = {})
|
|
170
170
|
if @api_client.config.debugging
|
|
171
171
|
@api_client.config.logger.debug "Calling API: ConversationsApi.delete_conversations_email_messages_draft_attachment ..."
|
|
172
172
|
end
|
|
173
|
-
# verify the required parameter '
|
|
174
|
-
fail ArgumentError, "Missing the required parameter '
|
|
173
|
+
# verify the required parameter 'conversation_id' is set
|
|
174
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.delete_conversations_email_messages_draft_attachment" if conversation_id.nil?
|
|
175
175
|
# verify the required parameter 'attachment_id' is set
|
|
176
176
|
fail ArgumentError, "Missing the required parameter 'attachment_id' when calling ConversationsApi.delete_conversations_email_messages_draft_attachment" if attachment_id.nil?
|
|
177
177
|
# resource path
|
|
178
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
178
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages/draft/attachments/{attachmentId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'attachmentId' + '}', attachment_id.to_s)
|
|
179
179
|
|
|
180
180
|
# query parameters
|
|
181
181
|
query_params = {}
|
|
@@ -507,27 +507,27 @@ module PureCloud
|
|
|
507
507
|
|
|
508
508
|
# Get call conversation
|
|
509
509
|
#
|
|
510
|
-
# @param
|
|
510
|
+
# @param conversation_id conversationId
|
|
511
511
|
# @param [Hash] opts the optional parameters
|
|
512
512
|
# @return [CallConversation]
|
|
513
|
-
def get_conversations_call(
|
|
514
|
-
data, _status_code, _headers = get_conversations_call_with_http_info(
|
|
513
|
+
def get_conversations_call(conversation_id, opts = {})
|
|
514
|
+
data, _status_code, _headers = get_conversations_call_with_http_info(conversation_id, opts)
|
|
515
515
|
return data
|
|
516
516
|
end
|
|
517
517
|
|
|
518
518
|
# Get call conversation
|
|
519
519
|
#
|
|
520
|
-
# @param
|
|
520
|
+
# @param conversation_id conversationId
|
|
521
521
|
# @param [Hash] opts the optional parameters
|
|
522
522
|
# @return [Array<(CallConversation, Fixnum, Hash)>] CallConversation data, response status code and response headers
|
|
523
|
-
def get_conversations_call_with_http_info(
|
|
523
|
+
def get_conversations_call_with_http_info(conversation_id, opts = {})
|
|
524
524
|
if @api_client.config.debugging
|
|
525
525
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call ..."
|
|
526
526
|
end
|
|
527
|
-
# verify the required parameter '
|
|
528
|
-
fail ArgumentError, "Missing the required parameter '
|
|
527
|
+
# verify the required parameter 'conversation_id' is set
|
|
528
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_call" if conversation_id.nil?
|
|
529
529
|
# resource path
|
|
530
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
530
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
531
531
|
|
|
532
532
|
# query parameters
|
|
533
533
|
query_params = {}
|
|
@@ -564,33 +564,33 @@ module PureCloud
|
|
|
564
564
|
|
|
565
565
|
# Get the wrap-up for this conversation participant.
|
|
566
566
|
#
|
|
567
|
-
# @param
|
|
567
|
+
# @param conversation_id conversationId
|
|
568
568
|
# @param participant_id participantId
|
|
569
569
|
# @param [Hash] opts the optional parameters
|
|
570
570
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
571
571
|
# @return [Wrapup]
|
|
572
|
-
def get_conversations_call_participant_wrapup(
|
|
573
|
-
data, _status_code, _headers = get_conversations_call_participant_wrapup_with_http_info(
|
|
572
|
+
def get_conversations_call_participant_wrapup(conversation_id, participant_id, opts = {})
|
|
573
|
+
data, _status_code, _headers = get_conversations_call_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
574
574
|
return data
|
|
575
575
|
end
|
|
576
576
|
|
|
577
577
|
# Get the wrap-up for this conversation participant.
|
|
578
578
|
#
|
|
579
|
-
# @param
|
|
579
|
+
# @param conversation_id conversationId
|
|
580
580
|
# @param participant_id participantId
|
|
581
581
|
# @param [Hash] opts the optional parameters
|
|
582
582
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
583
583
|
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
|
584
|
-
def get_conversations_call_participant_wrapup_with_http_info(
|
|
584
|
+
def get_conversations_call_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
585
585
|
if @api_client.config.debugging
|
|
586
586
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call_participant_wrapup ..."
|
|
587
587
|
end
|
|
588
|
-
# verify the required parameter '
|
|
589
|
-
fail ArgumentError, "Missing the required parameter '
|
|
588
|
+
# verify the required parameter 'conversation_id' is set
|
|
589
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_call_participant_wrapup" if conversation_id.nil?
|
|
590
590
|
# verify the required parameter 'participant_id' is set
|
|
591
591
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_call_participant_wrapup" if participant_id.nil?
|
|
592
592
|
# resource path
|
|
593
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
593
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
594
594
|
|
|
595
595
|
# query parameters
|
|
596
596
|
query_params = {}
|
|
@@ -628,31 +628,31 @@ module PureCloud
|
|
|
628
628
|
|
|
629
629
|
# Get list of wrapup codes for this conversation participant
|
|
630
630
|
#
|
|
631
|
-
# @param
|
|
631
|
+
# @param conversation_id conversationId
|
|
632
632
|
# @param participant_id participantId
|
|
633
633
|
# @param [Hash] opts the optional parameters
|
|
634
634
|
# @return [Array<WrapupCode>]
|
|
635
|
-
def get_conversations_call_participant_wrapupcodes(
|
|
636
|
-
data, _status_code, _headers = get_conversations_call_participant_wrapupcodes_with_http_info(
|
|
635
|
+
def get_conversations_call_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
636
|
+
data, _status_code, _headers = get_conversations_call_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
637
637
|
return data
|
|
638
638
|
end
|
|
639
639
|
|
|
640
640
|
# Get list of wrapup codes for this conversation participant
|
|
641
641
|
#
|
|
642
|
-
# @param
|
|
642
|
+
# @param conversation_id conversationId
|
|
643
643
|
# @param participant_id participantId
|
|
644
644
|
# @param [Hash] opts the optional parameters
|
|
645
645
|
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
|
646
|
-
def get_conversations_call_participant_wrapupcodes_with_http_info(
|
|
646
|
+
def get_conversations_call_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
647
647
|
if @api_client.config.debugging
|
|
648
648
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_call_participant_wrapupcodes ..."
|
|
649
649
|
end
|
|
650
|
-
# verify the required parameter '
|
|
651
|
-
fail ArgumentError, "Missing the required parameter '
|
|
650
|
+
# verify the required parameter 'conversation_id' is set
|
|
651
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_call_participant_wrapupcodes" if conversation_id.nil?
|
|
652
652
|
# verify the required parameter 'participant_id' is set
|
|
653
653
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_call_participant_wrapupcodes" if participant_id.nil?
|
|
654
654
|
# resource path
|
|
655
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
655
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
656
656
|
|
|
657
657
|
# query parameters
|
|
658
658
|
query_params = {}
|
|
@@ -689,27 +689,27 @@ module PureCloud
|
|
|
689
689
|
|
|
690
690
|
# Get callback conversation
|
|
691
691
|
#
|
|
692
|
-
# @param
|
|
692
|
+
# @param conversation_id conversationId
|
|
693
693
|
# @param [Hash] opts the optional parameters
|
|
694
694
|
# @return [CallbackConversation]
|
|
695
|
-
def get_conversations_callback(
|
|
696
|
-
data, _status_code, _headers = get_conversations_callback_with_http_info(
|
|
695
|
+
def get_conversations_callback(conversation_id, opts = {})
|
|
696
|
+
data, _status_code, _headers = get_conversations_callback_with_http_info(conversation_id, opts)
|
|
697
697
|
return data
|
|
698
698
|
end
|
|
699
699
|
|
|
700
700
|
# Get callback conversation
|
|
701
701
|
#
|
|
702
|
-
# @param
|
|
702
|
+
# @param conversation_id conversationId
|
|
703
703
|
# @param [Hash] opts the optional parameters
|
|
704
704
|
# @return [Array<(CallbackConversation, Fixnum, Hash)>] CallbackConversation data, response status code and response headers
|
|
705
|
-
def get_conversations_callback_with_http_info(
|
|
705
|
+
def get_conversations_callback_with_http_info(conversation_id, opts = {})
|
|
706
706
|
if @api_client.config.debugging
|
|
707
707
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback ..."
|
|
708
708
|
end
|
|
709
|
-
# verify the required parameter '
|
|
710
|
-
fail ArgumentError, "Missing the required parameter '
|
|
709
|
+
# verify the required parameter 'conversation_id' is set
|
|
710
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_callback" if conversation_id.nil?
|
|
711
711
|
# resource path
|
|
712
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
712
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
713
713
|
|
|
714
714
|
# query parameters
|
|
715
715
|
query_params = {}
|
|
@@ -746,33 +746,33 @@ module PureCloud
|
|
|
746
746
|
|
|
747
747
|
# Get the wrap-up for this conversation participant.
|
|
748
748
|
#
|
|
749
|
-
# @param
|
|
749
|
+
# @param conversation_id conversationId
|
|
750
750
|
# @param participant_id participantId
|
|
751
751
|
# @param [Hash] opts the optional parameters
|
|
752
752
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
753
753
|
# @return [Wrapup]
|
|
754
|
-
def get_conversations_callback_participant_wrapup(
|
|
755
|
-
data, _status_code, _headers = get_conversations_callback_participant_wrapup_with_http_info(
|
|
754
|
+
def get_conversations_callback_participant_wrapup(conversation_id, participant_id, opts = {})
|
|
755
|
+
data, _status_code, _headers = get_conversations_callback_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
756
756
|
return data
|
|
757
757
|
end
|
|
758
758
|
|
|
759
759
|
# Get the wrap-up for this conversation participant.
|
|
760
760
|
#
|
|
761
|
-
# @param
|
|
761
|
+
# @param conversation_id conversationId
|
|
762
762
|
# @param participant_id participantId
|
|
763
763
|
# @param [Hash] opts the optional parameters
|
|
764
764
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
765
765
|
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
|
766
|
-
def get_conversations_callback_participant_wrapup_with_http_info(
|
|
766
|
+
def get_conversations_callback_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
767
767
|
if @api_client.config.debugging
|
|
768
768
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback_participant_wrapup ..."
|
|
769
769
|
end
|
|
770
|
-
# verify the required parameter '
|
|
771
|
-
fail ArgumentError, "Missing the required parameter '
|
|
770
|
+
# verify the required parameter 'conversation_id' is set
|
|
771
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_callback_participant_wrapup" if conversation_id.nil?
|
|
772
772
|
# verify the required parameter 'participant_id' is set
|
|
773
773
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_callback_participant_wrapup" if participant_id.nil?
|
|
774
774
|
# resource path
|
|
775
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
775
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
776
776
|
|
|
777
777
|
# query parameters
|
|
778
778
|
query_params = {}
|
|
@@ -810,31 +810,31 @@ module PureCloud
|
|
|
810
810
|
|
|
811
811
|
# Get list of wrapup codes for this conversation participant
|
|
812
812
|
#
|
|
813
|
-
# @param
|
|
813
|
+
# @param conversation_id conversationId
|
|
814
814
|
# @param participant_id participantId
|
|
815
815
|
# @param [Hash] opts the optional parameters
|
|
816
816
|
# @return [Array<WrapupCode>]
|
|
817
|
-
def get_conversations_callback_participant_wrapupcodes(
|
|
818
|
-
data, _status_code, _headers = get_conversations_callback_participant_wrapupcodes_with_http_info(
|
|
817
|
+
def get_conversations_callback_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
818
|
+
data, _status_code, _headers = get_conversations_callback_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
819
819
|
return data
|
|
820
820
|
end
|
|
821
821
|
|
|
822
822
|
# Get list of wrapup codes for this conversation participant
|
|
823
823
|
#
|
|
824
|
-
# @param
|
|
824
|
+
# @param conversation_id conversationId
|
|
825
825
|
# @param participant_id participantId
|
|
826
826
|
# @param [Hash] opts the optional parameters
|
|
827
827
|
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
|
828
|
-
def get_conversations_callback_participant_wrapupcodes_with_http_info(
|
|
828
|
+
def get_conversations_callback_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
829
829
|
if @api_client.config.debugging
|
|
830
830
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_callback_participant_wrapupcodes ..."
|
|
831
831
|
end
|
|
832
|
-
# verify the required parameter '
|
|
833
|
-
fail ArgumentError, "Missing the required parameter '
|
|
832
|
+
# verify the required parameter 'conversation_id' is set
|
|
833
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_callback_participant_wrapupcodes" if conversation_id.nil?
|
|
834
834
|
# verify the required parameter 'participant_id' is set
|
|
835
835
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_callback_participant_wrapupcodes" if participant_id.nil?
|
|
836
836
|
# resource path
|
|
837
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
837
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
838
838
|
|
|
839
839
|
# query parameters
|
|
840
840
|
query_params = {}
|
|
@@ -1092,27 +1092,27 @@ module PureCloud
|
|
|
1092
1092
|
|
|
1093
1093
|
# Get chat conversation
|
|
1094
1094
|
#
|
|
1095
|
-
# @param
|
|
1095
|
+
# @param conversation_id conversationId
|
|
1096
1096
|
# @param [Hash] opts the optional parameters
|
|
1097
1097
|
# @return [ChatConversation]
|
|
1098
|
-
def get_conversations_chat(
|
|
1099
|
-
data, _status_code, _headers = get_conversations_chat_with_http_info(
|
|
1098
|
+
def get_conversations_chat(conversation_id, opts = {})
|
|
1099
|
+
data, _status_code, _headers = get_conversations_chat_with_http_info(conversation_id, opts)
|
|
1100
1100
|
return data
|
|
1101
1101
|
end
|
|
1102
1102
|
|
|
1103
1103
|
# Get chat conversation
|
|
1104
1104
|
#
|
|
1105
|
-
# @param
|
|
1105
|
+
# @param conversation_id conversationId
|
|
1106
1106
|
# @param [Hash] opts the optional parameters
|
|
1107
1107
|
# @return [Array<(ChatConversation, Fixnum, Hash)>] ChatConversation data, response status code and response headers
|
|
1108
|
-
def get_conversations_chat_with_http_info(
|
|
1108
|
+
def get_conversations_chat_with_http_info(conversation_id, opts = {})
|
|
1109
1109
|
if @api_client.config.debugging
|
|
1110
1110
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat ..."
|
|
1111
1111
|
end
|
|
1112
|
-
# verify the required parameter '
|
|
1113
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1112
|
+
# verify the required parameter 'conversation_id' is set
|
|
1113
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_chat" if conversation_id.nil?
|
|
1114
1114
|
# resource path
|
|
1115
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
1115
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1116
1116
|
|
|
1117
1117
|
# query parameters
|
|
1118
1118
|
query_params = {}
|
|
@@ -1149,33 +1149,33 @@ module PureCloud
|
|
|
1149
1149
|
|
|
1150
1150
|
# Get the wrap-up for this conversation participant.
|
|
1151
1151
|
#
|
|
1152
|
-
# @param
|
|
1152
|
+
# @param conversation_id conversationId
|
|
1153
1153
|
# @param participant_id participantId
|
|
1154
1154
|
# @param [Hash] opts the optional parameters
|
|
1155
1155
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1156
1156
|
# @return [Wrapup]
|
|
1157
|
-
def get_conversations_chat_participant_wrapup(
|
|
1158
|
-
data, _status_code, _headers = get_conversations_chat_participant_wrapup_with_http_info(
|
|
1157
|
+
def get_conversations_chat_participant_wrapup(conversation_id, participant_id, opts = {})
|
|
1158
|
+
data, _status_code, _headers = get_conversations_chat_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
1159
1159
|
return data
|
|
1160
1160
|
end
|
|
1161
1161
|
|
|
1162
1162
|
# Get the wrap-up for this conversation participant.
|
|
1163
1163
|
#
|
|
1164
|
-
# @param
|
|
1164
|
+
# @param conversation_id conversationId
|
|
1165
1165
|
# @param participant_id participantId
|
|
1166
1166
|
# @param [Hash] opts the optional parameters
|
|
1167
1167
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1168
1168
|
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
|
1169
|
-
def get_conversations_chat_participant_wrapup_with_http_info(
|
|
1169
|
+
def get_conversations_chat_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
1170
1170
|
if @api_client.config.debugging
|
|
1171
1171
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_participant_wrapup ..."
|
|
1172
1172
|
end
|
|
1173
|
-
# verify the required parameter '
|
|
1174
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1173
|
+
# verify the required parameter 'conversation_id' is set
|
|
1174
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_chat_participant_wrapup" if conversation_id.nil?
|
|
1175
1175
|
# verify the required parameter 'participant_id' is set
|
|
1176
1176
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_chat_participant_wrapup" if participant_id.nil?
|
|
1177
1177
|
# resource path
|
|
1178
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
1178
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1179
1179
|
|
|
1180
1180
|
# query parameters
|
|
1181
1181
|
query_params = {}
|
|
@@ -1213,31 +1213,31 @@ module PureCloud
|
|
|
1213
1213
|
|
|
1214
1214
|
# Get list of wrapup codes for this conversation participant
|
|
1215
1215
|
#
|
|
1216
|
-
# @param
|
|
1216
|
+
# @param conversation_id conversationId
|
|
1217
1217
|
# @param participant_id participantId
|
|
1218
1218
|
# @param [Hash] opts the optional parameters
|
|
1219
1219
|
# @return [Array<WrapupCode>]
|
|
1220
|
-
def get_conversations_chat_participant_wrapupcodes(
|
|
1221
|
-
data, _status_code, _headers = get_conversations_chat_participant_wrapupcodes_with_http_info(
|
|
1220
|
+
def get_conversations_chat_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
1221
|
+
data, _status_code, _headers = get_conversations_chat_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
1222
1222
|
return data
|
|
1223
1223
|
end
|
|
1224
1224
|
|
|
1225
1225
|
# Get list of wrapup codes for this conversation participant
|
|
1226
1226
|
#
|
|
1227
|
-
# @param
|
|
1227
|
+
# @param conversation_id conversationId
|
|
1228
1228
|
# @param participant_id participantId
|
|
1229
1229
|
# @param [Hash] opts the optional parameters
|
|
1230
1230
|
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
|
1231
|
-
def get_conversations_chat_participant_wrapupcodes_with_http_info(
|
|
1231
|
+
def get_conversations_chat_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
1232
1232
|
if @api_client.config.debugging
|
|
1233
1233
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_participant_wrapupcodes ..."
|
|
1234
1234
|
end
|
|
1235
|
-
# verify the required parameter '
|
|
1236
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1235
|
+
# verify the required parameter 'conversation_id' is set
|
|
1236
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_chat_participant_wrapupcodes" if conversation_id.nil?
|
|
1237
1237
|
# verify the required parameter 'participant_id' is set
|
|
1238
1238
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_chat_participant_wrapupcodes" if participant_id.nil?
|
|
1239
1239
|
# resource path
|
|
1240
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
1240
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1241
1241
|
|
|
1242
1242
|
# query parameters
|
|
1243
1243
|
query_params = {}
|
|
@@ -1327,27 +1327,27 @@ module PureCloud
|
|
|
1327
1327
|
|
|
1328
1328
|
# Get cobrowse conversation
|
|
1329
1329
|
#
|
|
1330
|
-
# @param
|
|
1330
|
+
# @param conversation_id conversationId
|
|
1331
1331
|
# @param [Hash] opts the optional parameters
|
|
1332
1332
|
# @return [CobrowseConversation]
|
|
1333
|
-
def get_conversations_cobrowsesession(
|
|
1334
|
-
data, _status_code, _headers = get_conversations_cobrowsesession_with_http_info(
|
|
1333
|
+
def get_conversations_cobrowsesession(conversation_id, opts = {})
|
|
1334
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_with_http_info(conversation_id, opts)
|
|
1335
1335
|
return data
|
|
1336
1336
|
end
|
|
1337
1337
|
|
|
1338
1338
|
# Get cobrowse conversation
|
|
1339
1339
|
#
|
|
1340
|
-
# @param
|
|
1340
|
+
# @param conversation_id conversationId
|
|
1341
1341
|
# @param [Hash] opts the optional parameters
|
|
1342
1342
|
# @return [Array<(CobrowseConversation, Fixnum, Hash)>] CobrowseConversation data, response status code and response headers
|
|
1343
|
-
def get_conversations_cobrowsesession_with_http_info(
|
|
1343
|
+
def get_conversations_cobrowsesession_with_http_info(conversation_id, opts = {})
|
|
1344
1344
|
if @api_client.config.debugging
|
|
1345
1345
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession ..."
|
|
1346
1346
|
end
|
|
1347
|
-
# verify the required parameter '
|
|
1348
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1347
|
+
# verify the required parameter 'conversation_id' is set
|
|
1348
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_cobrowsesession" if conversation_id.nil?
|
|
1349
1349
|
# resource path
|
|
1350
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
1350
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1351
1351
|
|
|
1352
1352
|
# query parameters
|
|
1353
1353
|
query_params = {}
|
|
@@ -1384,33 +1384,33 @@ module PureCloud
|
|
|
1384
1384
|
|
|
1385
1385
|
# Get the wrap-up for this conversation participant.
|
|
1386
1386
|
#
|
|
1387
|
-
# @param
|
|
1387
|
+
# @param conversation_id conversationId
|
|
1388
1388
|
# @param participant_id participantId
|
|
1389
1389
|
# @param [Hash] opts the optional parameters
|
|
1390
1390
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1391
1391
|
# @return [Wrapup]
|
|
1392
|
-
def get_conversations_cobrowsesession_participant_wrapup(
|
|
1393
|
-
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapup_with_http_info(
|
|
1392
|
+
def get_conversations_cobrowsesession_participant_wrapup(conversation_id, participant_id, opts = {})
|
|
1393
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
1394
1394
|
return data
|
|
1395
1395
|
end
|
|
1396
1396
|
|
|
1397
1397
|
# Get the wrap-up for this conversation participant.
|
|
1398
1398
|
#
|
|
1399
|
-
# @param
|
|
1399
|
+
# @param conversation_id conversationId
|
|
1400
1400
|
# @param participant_id participantId
|
|
1401
1401
|
# @param [Hash] opts the optional parameters
|
|
1402
1402
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1403
1403
|
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
|
1404
|
-
def get_conversations_cobrowsesession_participant_wrapup_with_http_info(
|
|
1404
|
+
def get_conversations_cobrowsesession_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
1405
1405
|
if @api_client.config.debugging
|
|
1406
1406
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession_participant_wrapup ..."
|
|
1407
1407
|
end
|
|
1408
|
-
# verify the required parameter '
|
|
1409
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1408
|
+
# verify the required parameter 'conversation_id' is set
|
|
1409
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapup" if conversation_id.nil?
|
|
1410
1410
|
# verify the required parameter 'participant_id' is set
|
|
1411
1411
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapup" if participant_id.nil?
|
|
1412
1412
|
# resource path
|
|
1413
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
1413
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1414
1414
|
|
|
1415
1415
|
# query parameters
|
|
1416
1416
|
query_params = {}
|
|
@@ -1448,31 +1448,31 @@ module PureCloud
|
|
|
1448
1448
|
|
|
1449
1449
|
# Get list of wrapup codes for this conversation participant
|
|
1450
1450
|
#
|
|
1451
|
-
# @param
|
|
1451
|
+
# @param conversation_id conversationId
|
|
1452
1452
|
# @param participant_id participantId
|
|
1453
1453
|
# @param [Hash] opts the optional parameters
|
|
1454
1454
|
# @return [Array<WrapupCode>]
|
|
1455
|
-
def get_conversations_cobrowsesession_participant_wrapupcodes(
|
|
1456
|
-
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(
|
|
1455
|
+
def get_conversations_cobrowsesession_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
1456
|
+
data, _status_code, _headers = get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
1457
1457
|
return data
|
|
1458
1458
|
end
|
|
1459
1459
|
|
|
1460
1460
|
# Get list of wrapup codes for this conversation participant
|
|
1461
1461
|
#
|
|
1462
|
-
# @param
|
|
1462
|
+
# @param conversation_id conversationId
|
|
1463
1463
|
# @param participant_id participantId
|
|
1464
1464
|
# @param [Hash] opts the optional parameters
|
|
1465
1465
|
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
|
1466
|
-
def get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(
|
|
1466
|
+
def get_conversations_cobrowsesession_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
1467
1467
|
if @api_client.config.debugging
|
|
1468
1468
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes ..."
|
|
1469
1469
|
end
|
|
1470
|
-
# verify the required parameter '
|
|
1471
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1470
|
+
# verify the required parameter 'conversation_id' is set
|
|
1471
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes" if conversation_id.nil?
|
|
1472
1472
|
# verify the required parameter 'participant_id' is set
|
|
1473
1473
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_cobrowsesession_participant_wrapupcodes" if participant_id.nil?
|
|
1474
1474
|
# resource path
|
|
1475
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
1475
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1476
1476
|
|
|
1477
1477
|
# query parameters
|
|
1478
1478
|
query_params = {}
|
|
@@ -1562,27 +1562,27 @@ module PureCloud
|
|
|
1562
1562
|
|
|
1563
1563
|
# Get email conversation
|
|
1564
1564
|
#
|
|
1565
|
-
# @param
|
|
1565
|
+
# @param conversation_id conversationId
|
|
1566
1566
|
# @param [Hash] opts the optional parameters
|
|
1567
1567
|
# @return [EmailConversation]
|
|
1568
|
-
def get_conversations_email(
|
|
1569
|
-
data, _status_code, _headers = get_conversations_email_with_http_info(
|
|
1568
|
+
def get_conversations_email(conversation_id, opts = {})
|
|
1569
|
+
data, _status_code, _headers = get_conversations_email_with_http_info(conversation_id, opts)
|
|
1570
1570
|
return data
|
|
1571
1571
|
end
|
|
1572
1572
|
|
|
1573
1573
|
# Get email conversation
|
|
1574
1574
|
#
|
|
1575
|
-
# @param
|
|
1575
|
+
# @param conversation_id conversationId
|
|
1576
1576
|
# @param [Hash] opts the optional parameters
|
|
1577
1577
|
# @return [Array<(EmailConversation, Fixnum, Hash)>] EmailConversation data, response status code and response headers
|
|
1578
|
-
def get_conversations_email_with_http_info(
|
|
1578
|
+
def get_conversations_email_with_http_info(conversation_id, opts = {})
|
|
1579
1579
|
if @api_client.config.debugging
|
|
1580
1580
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email ..."
|
|
1581
1581
|
end
|
|
1582
|
-
# verify the required parameter '
|
|
1583
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1582
|
+
# verify the required parameter 'conversation_id' is set
|
|
1583
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email" if conversation_id.nil?
|
|
1584
1584
|
# resource path
|
|
1585
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1585
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1586
1586
|
|
|
1587
1587
|
# query parameters
|
|
1588
1588
|
query_params = {}
|
|
@@ -1619,31 +1619,31 @@ module PureCloud
|
|
|
1619
1619
|
|
|
1620
1620
|
# Get conversation message
|
|
1621
1621
|
#
|
|
1622
|
-
# @param
|
|
1622
|
+
# @param conversation_id conversationId
|
|
1623
1623
|
# @param message_id messageId
|
|
1624
1624
|
# @param [Hash] opts the optional parameters
|
|
1625
1625
|
# @return [EmailMessage]
|
|
1626
|
-
def get_conversations_email_message(
|
|
1627
|
-
data, _status_code, _headers = get_conversations_email_message_with_http_info(
|
|
1626
|
+
def get_conversations_email_message(conversation_id, message_id, opts = {})
|
|
1627
|
+
data, _status_code, _headers = get_conversations_email_message_with_http_info(conversation_id, message_id, opts)
|
|
1628
1628
|
return data
|
|
1629
1629
|
end
|
|
1630
1630
|
|
|
1631
1631
|
# Get conversation message
|
|
1632
1632
|
#
|
|
1633
|
-
# @param
|
|
1633
|
+
# @param conversation_id conversationId
|
|
1634
1634
|
# @param message_id messageId
|
|
1635
1635
|
# @param [Hash] opts the optional parameters
|
|
1636
1636
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
1637
|
-
def get_conversations_email_message_with_http_info(
|
|
1637
|
+
def get_conversations_email_message_with_http_info(conversation_id, message_id, opts = {})
|
|
1638
1638
|
if @api_client.config.debugging
|
|
1639
1639
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_message ..."
|
|
1640
1640
|
end
|
|
1641
|
-
# verify the required parameter '
|
|
1642
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1641
|
+
# verify the required parameter 'conversation_id' is set
|
|
1642
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email_message" if conversation_id.nil?
|
|
1643
1643
|
# verify the required parameter 'message_id' is set
|
|
1644
1644
|
fail ArgumentError, "Missing the required parameter 'message_id' when calling ConversationsApi.get_conversations_email_message" if message_id.nil?
|
|
1645
1645
|
# resource path
|
|
1646
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1646
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages/{messageId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'messageId' + '}', message_id.to_s)
|
|
1647
1647
|
|
|
1648
1648
|
# query parameters
|
|
1649
1649
|
query_params = {}
|
|
@@ -1680,27 +1680,27 @@ module PureCloud
|
|
|
1680
1680
|
|
|
1681
1681
|
# Get conversation messages
|
|
1682
1682
|
#
|
|
1683
|
-
# @param
|
|
1683
|
+
# @param conversation_id conversationId
|
|
1684
1684
|
# @param [Hash] opts the optional parameters
|
|
1685
1685
|
# @return [EmailMessageListing]
|
|
1686
|
-
def get_conversations_email_messages(
|
|
1687
|
-
data, _status_code, _headers = get_conversations_email_messages_with_http_info(
|
|
1686
|
+
def get_conversations_email_messages(conversation_id, opts = {})
|
|
1687
|
+
data, _status_code, _headers = get_conversations_email_messages_with_http_info(conversation_id, opts)
|
|
1688
1688
|
return data
|
|
1689
1689
|
end
|
|
1690
1690
|
|
|
1691
1691
|
# Get conversation messages
|
|
1692
1692
|
#
|
|
1693
|
-
# @param
|
|
1693
|
+
# @param conversation_id conversationId
|
|
1694
1694
|
# @param [Hash] opts the optional parameters
|
|
1695
1695
|
# @return [Array<(EmailMessageListing, Fixnum, Hash)>] EmailMessageListing data, response status code and response headers
|
|
1696
|
-
def get_conversations_email_messages_with_http_info(
|
|
1696
|
+
def get_conversations_email_messages_with_http_info(conversation_id, opts = {})
|
|
1697
1697
|
if @api_client.config.debugging
|
|
1698
1698
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_messages ..."
|
|
1699
1699
|
end
|
|
1700
|
-
# verify the required parameter '
|
|
1701
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1700
|
+
# verify the required parameter 'conversation_id' is set
|
|
1701
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email_messages" if conversation_id.nil?
|
|
1702
1702
|
# resource path
|
|
1703
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1703
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1704
1704
|
|
|
1705
1705
|
# query parameters
|
|
1706
1706
|
query_params = {}
|
|
@@ -1737,27 +1737,27 @@ module PureCloud
|
|
|
1737
1737
|
|
|
1738
1738
|
# Get conversation draft reply
|
|
1739
1739
|
#
|
|
1740
|
-
# @param
|
|
1740
|
+
# @param conversation_id conversationId
|
|
1741
1741
|
# @param [Hash] opts the optional parameters
|
|
1742
1742
|
# @return [EmailMessage]
|
|
1743
|
-
def get_conversations_email_messages_draft(
|
|
1744
|
-
data, _status_code, _headers = get_conversations_email_messages_draft_with_http_info(
|
|
1743
|
+
def get_conversations_email_messages_draft(conversation_id, opts = {})
|
|
1744
|
+
data, _status_code, _headers = get_conversations_email_messages_draft_with_http_info(conversation_id, opts)
|
|
1745
1745
|
return data
|
|
1746
1746
|
end
|
|
1747
1747
|
|
|
1748
1748
|
# Get conversation draft reply
|
|
1749
1749
|
#
|
|
1750
|
-
# @param
|
|
1750
|
+
# @param conversation_id conversationId
|
|
1751
1751
|
# @param [Hash] opts the optional parameters
|
|
1752
1752
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
1753
|
-
def get_conversations_email_messages_draft_with_http_info(
|
|
1753
|
+
def get_conversations_email_messages_draft_with_http_info(conversation_id, opts = {})
|
|
1754
1754
|
if @api_client.config.debugging
|
|
1755
1755
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_messages_draft ..."
|
|
1756
1756
|
end
|
|
1757
|
-
# verify the required parameter '
|
|
1758
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1757
|
+
# verify the required parameter 'conversation_id' is set
|
|
1758
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email_messages_draft" if conversation_id.nil?
|
|
1759
1759
|
# resource path
|
|
1760
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1760
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages/draft".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
1761
1761
|
|
|
1762
1762
|
# query parameters
|
|
1763
1763
|
query_params = {}
|
|
@@ -1794,33 +1794,33 @@ module PureCloud
|
|
|
1794
1794
|
|
|
1795
1795
|
# Get the wrap-up for this conversation participant.
|
|
1796
1796
|
#
|
|
1797
|
-
# @param
|
|
1797
|
+
# @param conversation_id conversationId
|
|
1798
1798
|
# @param participant_id participantId
|
|
1799
1799
|
# @param [Hash] opts the optional parameters
|
|
1800
1800
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional. (default to false)
|
|
1801
1801
|
# @return [Wrapup]
|
|
1802
|
-
def get_conversations_email_participant_wrapup(
|
|
1803
|
-
data, _status_code, _headers = get_conversations_email_participant_wrapup_with_http_info(
|
|
1802
|
+
def get_conversations_email_participant_wrapup(conversation_id, participant_id, opts = {})
|
|
1803
|
+
data, _status_code, _headers = get_conversations_email_participant_wrapup_with_http_info(conversation_id, participant_id, opts)
|
|
1804
1804
|
return data
|
|
1805
1805
|
end
|
|
1806
1806
|
|
|
1807
1807
|
# Get the wrap-up for this conversation participant.
|
|
1808
1808
|
#
|
|
1809
|
-
# @param
|
|
1809
|
+
# @param conversation_id conversationId
|
|
1810
1810
|
# @param participant_id participantId
|
|
1811
1811
|
# @param [Hash] opts the optional parameters
|
|
1812
1812
|
# @option opts [BOOLEAN] :provisional Indicates if the wrap-up code is provisional.
|
|
1813
1813
|
# @return [Array<(Wrapup, Fixnum, Hash)>] Wrapup data, response status code and response headers
|
|
1814
|
-
def get_conversations_email_participant_wrapup_with_http_info(
|
|
1814
|
+
def get_conversations_email_participant_wrapup_with_http_info(conversation_id, participant_id, opts = {})
|
|
1815
1815
|
if @api_client.config.debugging
|
|
1816
1816
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_participant_wrapup ..."
|
|
1817
1817
|
end
|
|
1818
|
-
# verify the required parameter '
|
|
1819
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1818
|
+
# verify the required parameter 'conversation_id' is set
|
|
1819
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email_participant_wrapup" if conversation_id.nil?
|
|
1820
1820
|
# verify the required parameter 'participant_id' is set
|
|
1821
1821
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_email_participant_wrapup" if participant_id.nil?
|
|
1822
1822
|
# resource path
|
|
1823
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1823
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapup".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1824
1824
|
|
|
1825
1825
|
# query parameters
|
|
1826
1826
|
query_params = {}
|
|
@@ -1858,31 +1858,31 @@ module PureCloud
|
|
|
1858
1858
|
|
|
1859
1859
|
# Get list of wrapup codes for this conversation participant
|
|
1860
1860
|
#
|
|
1861
|
-
# @param
|
|
1861
|
+
# @param conversation_id conversationId
|
|
1862
1862
|
# @param participant_id participantId
|
|
1863
1863
|
# @param [Hash] opts the optional parameters
|
|
1864
1864
|
# @return [Array<WrapupCode>]
|
|
1865
|
-
def get_conversations_email_participant_wrapupcodes(
|
|
1866
|
-
data, _status_code, _headers = get_conversations_email_participant_wrapupcodes_with_http_info(
|
|
1865
|
+
def get_conversations_email_participant_wrapupcodes(conversation_id, participant_id, opts = {})
|
|
1866
|
+
data, _status_code, _headers = get_conversations_email_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts)
|
|
1867
1867
|
return data
|
|
1868
1868
|
end
|
|
1869
1869
|
|
|
1870
1870
|
# Get list of wrapup codes for this conversation participant
|
|
1871
1871
|
#
|
|
1872
|
-
# @param
|
|
1872
|
+
# @param conversation_id conversationId
|
|
1873
1873
|
# @param participant_id participantId
|
|
1874
1874
|
# @param [Hash] opts the optional parameters
|
|
1875
1875
|
# @return [Array<(Array<WrapupCode>, Fixnum, Hash)>] Array<WrapupCode> data, response status code and response headers
|
|
1876
|
-
def get_conversations_email_participant_wrapupcodes_with_http_info(
|
|
1876
|
+
def get_conversations_email_participant_wrapupcodes_with_http_info(conversation_id, participant_id, opts = {})
|
|
1877
1877
|
if @api_client.config.debugging
|
|
1878
1878
|
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_email_participant_wrapupcodes ..."
|
|
1879
1879
|
end
|
|
1880
|
-
# verify the required parameter '
|
|
1881
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1880
|
+
# verify the required parameter 'conversation_id' is set
|
|
1881
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_email_participant_wrapupcodes" if conversation_id.nil?
|
|
1882
1882
|
# verify the required parameter 'participant_id' is set
|
|
1883
1883
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.get_conversations_email_participant_wrapupcodes" if participant_id.nil?
|
|
1884
1884
|
# resource path
|
|
1885
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
1885
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}/wrapupcodes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
1886
1886
|
|
|
1887
1887
|
# query parameters
|
|
1888
1888
|
query_params = {}
|
|
@@ -2100,31 +2100,31 @@ module PureCloud
|
|
|
2100
2100
|
|
|
2101
2101
|
# Update a conversation by setting it's recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
2102
2102
|
#
|
|
2103
|
-
# @param
|
|
2103
|
+
# @param conversation_id conversationId
|
|
2104
2104
|
# @param body Conversation
|
|
2105
2105
|
# @param [Hash] opts the optional parameters
|
|
2106
2106
|
# @return [Conversation]
|
|
2107
|
-
def patch_conversations_call(
|
|
2108
|
-
data, _status_code, _headers = patch_conversations_call_with_http_info(
|
|
2107
|
+
def patch_conversations_call(conversation_id, body, opts = {})
|
|
2108
|
+
data, _status_code, _headers = patch_conversations_call_with_http_info(conversation_id, body, opts)
|
|
2109
2109
|
return data
|
|
2110
2110
|
end
|
|
2111
2111
|
|
|
2112
2112
|
# Update a conversation by setting it's recording state, merging in other conversations to create a conference, or disconnecting all of the participants
|
|
2113
2113
|
#
|
|
2114
|
-
# @param
|
|
2114
|
+
# @param conversation_id conversationId
|
|
2115
2115
|
# @param body Conversation
|
|
2116
2116
|
# @param [Hash] opts the optional parameters
|
|
2117
2117
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2118
|
-
def patch_conversations_call_with_http_info(
|
|
2118
|
+
def patch_conversations_call_with_http_info(conversation_id, body, opts = {})
|
|
2119
2119
|
if @api_client.config.debugging
|
|
2120
2120
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call ..."
|
|
2121
2121
|
end
|
|
2122
|
-
# verify the required parameter '
|
|
2123
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2122
|
+
# verify the required parameter 'conversation_id' is set
|
|
2123
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_call" if conversation_id.nil?
|
|
2124
2124
|
# verify the required parameter 'body' is set
|
|
2125
2125
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call" if body.nil?
|
|
2126
2126
|
# resource path
|
|
2127
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
2127
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
2128
2128
|
|
|
2129
2129
|
# query parameters
|
|
2130
2130
|
query_params = {}
|
|
@@ -2161,35 +2161,35 @@ module PureCloud
|
|
|
2161
2161
|
|
|
2162
2162
|
# Update conversation participant
|
|
2163
2163
|
#
|
|
2164
|
-
# @param
|
|
2164
|
+
# @param conversation_id conversationId
|
|
2165
2165
|
# @param participant_id participantId
|
|
2166
2166
|
# @param body Participant request
|
|
2167
2167
|
# @param [Hash] opts the optional parameters
|
|
2168
2168
|
# @return [nil]
|
|
2169
|
-
def patch_conversations_call_participant(
|
|
2170
|
-
patch_conversations_call_participant_with_http_info(
|
|
2169
|
+
def patch_conversations_call_participant(conversation_id, participant_id, body, opts = {})
|
|
2170
|
+
patch_conversations_call_participant_with_http_info(conversation_id, participant_id, body, opts)
|
|
2171
2171
|
return nil
|
|
2172
2172
|
end
|
|
2173
2173
|
|
|
2174
2174
|
# Update conversation participant
|
|
2175
2175
|
#
|
|
2176
|
-
# @param
|
|
2176
|
+
# @param conversation_id conversationId
|
|
2177
2177
|
# @param participant_id participantId
|
|
2178
2178
|
# @param body Participant request
|
|
2179
2179
|
# @param [Hash] opts the optional parameters
|
|
2180
2180
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2181
|
-
def patch_conversations_call_participant_with_http_info(
|
|
2181
|
+
def patch_conversations_call_participant_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2182
2182
|
if @api_client.config.debugging
|
|
2183
2183
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant ..."
|
|
2184
2184
|
end
|
|
2185
|
-
# verify the required parameter '
|
|
2186
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2185
|
+
# verify the required parameter 'conversation_id' is set
|
|
2186
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_call_participant" if conversation_id.nil?
|
|
2187
2187
|
# verify the required parameter 'participant_id' is set
|
|
2188
2188
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant" if participant_id.nil?
|
|
2189
2189
|
# verify the required parameter 'body' is set
|
|
2190
2190
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant" if body.nil?
|
|
2191
2191
|
# resource path
|
|
2192
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
2192
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2193
2193
|
|
|
2194
2194
|
# query parameters
|
|
2195
2195
|
query_params = {}
|
|
@@ -2225,35 +2225,35 @@ module PureCloud
|
|
|
2225
2225
|
|
|
2226
2226
|
# Update the attributes on a conversation participant.
|
|
2227
2227
|
#
|
|
2228
|
-
# @param
|
|
2228
|
+
# @param conversation_id conversationId
|
|
2229
2229
|
# @param participant_id participantId
|
|
2230
2230
|
# @param body Participant attributes
|
|
2231
2231
|
# @param [Hash] opts the optional parameters
|
|
2232
2232
|
# @return [nil]
|
|
2233
|
-
def patch_conversations_call_participant_attributes(
|
|
2234
|
-
patch_conversations_call_participant_attributes_with_http_info(
|
|
2233
|
+
def patch_conversations_call_participant_attributes(conversation_id, participant_id, body, opts = {})
|
|
2234
|
+
patch_conversations_call_participant_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
|
2235
2235
|
return nil
|
|
2236
2236
|
end
|
|
2237
2237
|
|
|
2238
2238
|
# Update the attributes on a conversation participant.
|
|
2239
2239
|
#
|
|
2240
|
-
# @param
|
|
2240
|
+
# @param conversation_id conversationId
|
|
2241
2241
|
# @param participant_id participantId
|
|
2242
2242
|
# @param body Participant attributes
|
|
2243
2243
|
# @param [Hash] opts the optional parameters
|
|
2244
2244
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2245
|
-
def patch_conversations_call_participant_attributes_with_http_info(
|
|
2245
|
+
def patch_conversations_call_participant_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2246
2246
|
if @api_client.config.debugging
|
|
2247
2247
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_attributes ..."
|
|
2248
2248
|
end
|
|
2249
|
-
# verify the required parameter '
|
|
2250
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2249
|
+
# verify the required parameter 'conversation_id' is set
|
|
2250
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_call_participant_attributes" if conversation_id.nil?
|
|
2251
2251
|
# verify the required parameter 'participant_id' is set
|
|
2252
2252
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_attributes" if participant_id.nil?
|
|
2253
2253
|
# verify the required parameter 'body' is set
|
|
2254
2254
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_attributes" if body.nil?
|
|
2255
2255
|
# resource path
|
|
2256
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
2256
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2257
2257
|
|
|
2258
2258
|
# query parameters
|
|
2259
2259
|
query_params = {}
|
|
@@ -2289,31 +2289,31 @@ module PureCloud
|
|
|
2289
2289
|
|
|
2290
2290
|
# Update conversation participant's communication by disconnecting it.
|
|
2291
2291
|
#
|
|
2292
|
-
# @param
|
|
2292
|
+
# @param conversation_id conversationId
|
|
2293
2293
|
# @param participant_id participantId
|
|
2294
2294
|
# @param communication_id communicationId
|
|
2295
2295
|
# @param body Participant
|
|
2296
2296
|
# @param [Hash] opts the optional parameters
|
|
2297
2297
|
# @return [Empty]
|
|
2298
|
-
def patch_conversations_call_participant_communication(
|
|
2299
|
-
data, _status_code, _headers = patch_conversations_call_participant_communication_with_http_info(
|
|
2298
|
+
def patch_conversations_call_participant_communication(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2299
|
+
data, _status_code, _headers = patch_conversations_call_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts)
|
|
2300
2300
|
return data
|
|
2301
2301
|
end
|
|
2302
2302
|
|
|
2303
2303
|
# Update conversation participant's communication by disconnecting it.
|
|
2304
2304
|
#
|
|
2305
|
-
# @param
|
|
2305
|
+
# @param conversation_id conversationId
|
|
2306
2306
|
# @param participant_id participantId
|
|
2307
2307
|
# @param communication_id communicationId
|
|
2308
2308
|
# @param body Participant
|
|
2309
2309
|
# @param [Hash] opts the optional parameters
|
|
2310
2310
|
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
2311
|
-
def patch_conversations_call_participant_communication_with_http_info(
|
|
2311
|
+
def patch_conversations_call_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2312
2312
|
if @api_client.config.debugging
|
|
2313
2313
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_communication ..."
|
|
2314
2314
|
end
|
|
2315
|
-
# verify the required parameter '
|
|
2316
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2315
|
+
# verify the required parameter 'conversation_id' is set
|
|
2316
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_call_participant_communication" if conversation_id.nil?
|
|
2317
2317
|
# verify the required parameter 'participant_id' is set
|
|
2318
2318
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_communication" if participant_id.nil?
|
|
2319
2319
|
# verify the required parameter 'communication_id' is set
|
|
@@ -2321,7 +2321,7 @@ module PureCloud
|
|
|
2321
2321
|
# verify the required parameter 'body' is set
|
|
2322
2322
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_communication" if body.nil?
|
|
2323
2323
|
# resource path
|
|
2324
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
2324
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
2325
2325
|
|
|
2326
2326
|
# query parameters
|
|
2327
2327
|
query_params = {}
|
|
@@ -2358,35 +2358,35 @@ module PureCloud
|
|
|
2358
2358
|
|
|
2359
2359
|
# Change who can speak
|
|
2360
2360
|
#
|
|
2361
|
-
# @param
|
|
2361
|
+
# @param conversation_id conversationId
|
|
2362
2362
|
# @param participant_id participantId
|
|
2363
2363
|
# @param body new speak to
|
|
2364
2364
|
# @param [Hash] opts the optional parameters
|
|
2365
2365
|
# @return [ConsultTransferResponse]
|
|
2366
|
-
def patch_conversations_call_participant_consult(
|
|
2367
|
-
data, _status_code, _headers = patch_conversations_call_participant_consult_with_http_info(
|
|
2366
|
+
def patch_conversations_call_participant_consult(conversation_id, participant_id, body, opts = {})
|
|
2367
|
+
data, _status_code, _headers = patch_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, body, opts)
|
|
2368
2368
|
return data
|
|
2369
2369
|
end
|
|
2370
2370
|
|
|
2371
2371
|
# Change who can speak
|
|
2372
2372
|
#
|
|
2373
|
-
# @param
|
|
2373
|
+
# @param conversation_id conversationId
|
|
2374
2374
|
# @param participant_id participantId
|
|
2375
2375
|
# @param body new speak to
|
|
2376
2376
|
# @param [Hash] opts the optional parameters
|
|
2377
2377
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
|
2378
|
-
def patch_conversations_call_participant_consult_with_http_info(
|
|
2378
|
+
def patch_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2379
2379
|
if @api_client.config.debugging
|
|
2380
2380
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_call_participant_consult ..."
|
|
2381
2381
|
end
|
|
2382
|
-
# verify the required parameter '
|
|
2383
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2382
|
+
# verify the required parameter 'conversation_id' is set
|
|
2383
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_call_participant_consult" if conversation_id.nil?
|
|
2384
2384
|
# verify the required parameter 'participant_id' is set
|
|
2385
2385
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_call_participant_consult" if participant_id.nil?
|
|
2386
2386
|
# verify the required parameter 'body' is set
|
|
2387
2387
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_call_participant_consult" if body.nil?
|
|
2388
2388
|
# resource path
|
|
2389
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
2389
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2390
2390
|
|
|
2391
2391
|
# query parameters
|
|
2392
2392
|
query_params = {}
|
|
@@ -2423,31 +2423,31 @@ module PureCloud
|
|
|
2423
2423
|
|
|
2424
2424
|
# Update a conversation by disconnecting all of the participants
|
|
2425
2425
|
#
|
|
2426
|
-
# @param
|
|
2426
|
+
# @param conversation_id conversationId
|
|
2427
2427
|
# @param body Conversation
|
|
2428
2428
|
# @param [Hash] opts the optional parameters
|
|
2429
2429
|
# @return [Conversation]
|
|
2430
|
-
def patch_conversations_callback(
|
|
2431
|
-
data, _status_code, _headers = patch_conversations_callback_with_http_info(
|
|
2430
|
+
def patch_conversations_callback(conversation_id, body, opts = {})
|
|
2431
|
+
data, _status_code, _headers = patch_conversations_callback_with_http_info(conversation_id, body, opts)
|
|
2432
2432
|
return data
|
|
2433
2433
|
end
|
|
2434
2434
|
|
|
2435
2435
|
# Update a conversation by disconnecting all of the participants
|
|
2436
2436
|
#
|
|
2437
|
-
# @param
|
|
2437
|
+
# @param conversation_id conversationId
|
|
2438
2438
|
# @param body Conversation
|
|
2439
2439
|
# @param [Hash] opts the optional parameters
|
|
2440
2440
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2441
|
-
def patch_conversations_callback_with_http_info(
|
|
2441
|
+
def patch_conversations_callback_with_http_info(conversation_id, body, opts = {})
|
|
2442
2442
|
if @api_client.config.debugging
|
|
2443
2443
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback ..."
|
|
2444
2444
|
end
|
|
2445
|
-
# verify the required parameter '
|
|
2446
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2445
|
+
# verify the required parameter 'conversation_id' is set
|
|
2446
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_callback" if conversation_id.nil?
|
|
2447
2447
|
# verify the required parameter 'body' is set
|
|
2448
2448
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback" if body.nil?
|
|
2449
2449
|
# resource path
|
|
2450
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
2450
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
2451
2451
|
|
|
2452
2452
|
# query parameters
|
|
2453
2453
|
query_params = {}
|
|
@@ -2484,35 +2484,35 @@ module PureCloud
|
|
|
2484
2484
|
|
|
2485
2485
|
# Update conversation participant
|
|
2486
2486
|
#
|
|
2487
|
-
# @param
|
|
2487
|
+
# @param conversation_id conversationId
|
|
2488
2488
|
# @param participant_id participantId
|
|
2489
2489
|
# @param body Participant
|
|
2490
2490
|
# @param [Hash] opts the optional parameters
|
|
2491
2491
|
# @return [nil]
|
|
2492
|
-
def patch_conversations_callback_participant(
|
|
2493
|
-
patch_conversations_callback_participant_with_http_info(
|
|
2492
|
+
def patch_conversations_callback_participant(conversation_id, participant_id, body, opts = {})
|
|
2493
|
+
patch_conversations_callback_participant_with_http_info(conversation_id, participant_id, body, opts)
|
|
2494
2494
|
return nil
|
|
2495
2495
|
end
|
|
2496
2496
|
|
|
2497
2497
|
# Update conversation participant
|
|
2498
2498
|
#
|
|
2499
|
-
# @param
|
|
2499
|
+
# @param conversation_id conversationId
|
|
2500
2500
|
# @param participant_id participantId
|
|
2501
2501
|
# @param body Participant
|
|
2502
2502
|
# @param [Hash] opts the optional parameters
|
|
2503
2503
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2504
|
-
def patch_conversations_callback_participant_with_http_info(
|
|
2504
|
+
def patch_conversations_callback_participant_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2505
2505
|
if @api_client.config.debugging
|
|
2506
2506
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant ..."
|
|
2507
2507
|
end
|
|
2508
|
-
# verify the required parameter '
|
|
2509
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2508
|
+
# verify the required parameter 'conversation_id' is set
|
|
2509
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_callback_participant" if conversation_id.nil?
|
|
2510
2510
|
# verify the required parameter 'participant_id' is set
|
|
2511
2511
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant" if participant_id.nil?
|
|
2512
2512
|
# verify the required parameter 'body' is set
|
|
2513
2513
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant" if body.nil?
|
|
2514
2514
|
# resource path
|
|
2515
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
2515
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2516
2516
|
|
|
2517
2517
|
# query parameters
|
|
2518
2518
|
query_params = {}
|
|
@@ -2548,35 +2548,35 @@ module PureCloud
|
|
|
2548
2548
|
|
|
2549
2549
|
# Update the attributes on a conversation participant.
|
|
2550
2550
|
#
|
|
2551
|
-
# @param
|
|
2551
|
+
# @param conversation_id conversationId
|
|
2552
2552
|
# @param participant_id participantId
|
|
2553
2553
|
# @param body Attributes
|
|
2554
2554
|
# @param [Hash] opts the optional parameters
|
|
2555
2555
|
# @return [nil]
|
|
2556
|
-
def patch_conversations_callback_participant_attributes(
|
|
2557
|
-
patch_conversations_callback_participant_attributes_with_http_info(
|
|
2556
|
+
def patch_conversations_callback_participant_attributes(conversation_id, participant_id, body, opts = {})
|
|
2557
|
+
patch_conversations_callback_participant_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
|
2558
2558
|
return nil
|
|
2559
2559
|
end
|
|
2560
2560
|
|
|
2561
2561
|
# Update the attributes on a conversation participant.
|
|
2562
2562
|
#
|
|
2563
|
-
# @param
|
|
2563
|
+
# @param conversation_id conversationId
|
|
2564
2564
|
# @param participant_id participantId
|
|
2565
2565
|
# @param body Attributes
|
|
2566
2566
|
# @param [Hash] opts the optional parameters
|
|
2567
2567
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2568
|
-
def patch_conversations_callback_participant_attributes_with_http_info(
|
|
2568
|
+
def patch_conversations_callback_participant_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2569
2569
|
if @api_client.config.debugging
|
|
2570
2570
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant_attributes ..."
|
|
2571
2571
|
end
|
|
2572
|
-
# verify the required parameter '
|
|
2573
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2572
|
+
# verify the required parameter 'conversation_id' is set
|
|
2573
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if conversation_id.nil?
|
|
2574
2574
|
# verify the required parameter 'participant_id' is set
|
|
2575
2575
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if participant_id.nil?
|
|
2576
2576
|
# verify the required parameter 'body' is set
|
|
2577
2577
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant_attributes" if body.nil?
|
|
2578
2578
|
# resource path
|
|
2579
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
2579
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2580
2580
|
|
|
2581
2581
|
# query parameters
|
|
2582
2582
|
query_params = {}
|
|
@@ -2612,31 +2612,31 @@ module PureCloud
|
|
|
2612
2612
|
|
|
2613
2613
|
# Update conversation participant's communication by disconnecting it.
|
|
2614
2614
|
#
|
|
2615
|
-
# @param
|
|
2615
|
+
# @param conversation_id conversationId
|
|
2616
2616
|
# @param participant_id participantId
|
|
2617
2617
|
# @param communication_id communicationId
|
|
2618
2618
|
# @param body Participant
|
|
2619
2619
|
# @param [Hash] opts the optional parameters
|
|
2620
2620
|
# @return [Empty]
|
|
2621
|
-
def patch_conversations_callback_participant_communication(
|
|
2622
|
-
data, _status_code, _headers = patch_conversations_callback_participant_communication_with_http_info(
|
|
2621
|
+
def patch_conversations_callback_participant_communication(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2622
|
+
data, _status_code, _headers = patch_conversations_callback_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts)
|
|
2623
2623
|
return data
|
|
2624
2624
|
end
|
|
2625
2625
|
|
|
2626
2626
|
# Update conversation participant's communication by disconnecting it.
|
|
2627
2627
|
#
|
|
2628
|
-
# @param
|
|
2628
|
+
# @param conversation_id conversationId
|
|
2629
2629
|
# @param participant_id participantId
|
|
2630
2630
|
# @param communication_id communicationId
|
|
2631
2631
|
# @param body Participant
|
|
2632
2632
|
# @param [Hash] opts the optional parameters
|
|
2633
2633
|
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
2634
|
-
def patch_conversations_callback_participant_communication_with_http_info(
|
|
2634
|
+
def patch_conversations_callback_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2635
2635
|
if @api_client.config.debugging
|
|
2636
2636
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_callback_participant_communication ..."
|
|
2637
2637
|
end
|
|
2638
|
-
# verify the required parameter '
|
|
2639
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2638
|
+
# verify the required parameter 'conversation_id' is set
|
|
2639
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_callback_participant_communication" if conversation_id.nil?
|
|
2640
2640
|
# verify the required parameter 'participant_id' is set
|
|
2641
2641
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_callback_participant_communication" if participant_id.nil?
|
|
2642
2642
|
# verify the required parameter 'communication_id' is set
|
|
@@ -2644,7 +2644,7 @@ module PureCloud
|
|
|
2644
2644
|
# verify the required parameter 'body' is set
|
|
2645
2645
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_callback_participant_communication" if body.nil?
|
|
2646
2646
|
# resource path
|
|
2647
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
2647
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
2648
2648
|
|
|
2649
2649
|
# query parameters
|
|
2650
2650
|
query_params = {}
|
|
@@ -2681,31 +2681,31 @@ module PureCloud
|
|
|
2681
2681
|
|
|
2682
2682
|
# Update a conversation by disconnecting all of the participants
|
|
2683
2683
|
#
|
|
2684
|
-
# @param
|
|
2684
|
+
# @param conversation_id conversationId
|
|
2685
2685
|
# @param body Conversation
|
|
2686
2686
|
# @param [Hash] opts the optional parameters
|
|
2687
2687
|
# @return [Conversation]
|
|
2688
|
-
def patch_conversations_chat(
|
|
2689
|
-
data, _status_code, _headers = patch_conversations_chat_with_http_info(
|
|
2688
|
+
def patch_conversations_chat(conversation_id, body, opts = {})
|
|
2689
|
+
data, _status_code, _headers = patch_conversations_chat_with_http_info(conversation_id, body, opts)
|
|
2690
2690
|
return data
|
|
2691
2691
|
end
|
|
2692
2692
|
|
|
2693
2693
|
# Update a conversation by disconnecting all of the participants
|
|
2694
2694
|
#
|
|
2695
|
-
# @param
|
|
2695
|
+
# @param conversation_id conversationId
|
|
2696
2696
|
# @param body Conversation
|
|
2697
2697
|
# @param [Hash] opts the optional parameters
|
|
2698
2698
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2699
|
-
def patch_conversations_chat_with_http_info(
|
|
2699
|
+
def patch_conversations_chat_with_http_info(conversation_id, body, opts = {})
|
|
2700
2700
|
if @api_client.config.debugging
|
|
2701
2701
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat ..."
|
|
2702
2702
|
end
|
|
2703
|
-
# verify the required parameter '
|
|
2704
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2703
|
+
# verify the required parameter 'conversation_id' is set
|
|
2704
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_chat" if conversation_id.nil?
|
|
2705
2705
|
# verify the required parameter 'body' is set
|
|
2706
2706
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat" if body.nil?
|
|
2707
2707
|
# resource path
|
|
2708
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
2708
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
2709
2709
|
|
|
2710
2710
|
# query parameters
|
|
2711
2711
|
query_params = {}
|
|
@@ -2742,35 +2742,35 @@ module PureCloud
|
|
|
2742
2742
|
|
|
2743
2743
|
# Update conversation participant
|
|
2744
2744
|
#
|
|
2745
|
-
# @param
|
|
2745
|
+
# @param conversation_id conversationId
|
|
2746
2746
|
# @param participant_id participantId
|
|
2747
2747
|
# @param body Update request
|
|
2748
2748
|
# @param [Hash] opts the optional parameters
|
|
2749
2749
|
# @return [nil]
|
|
2750
|
-
def patch_conversations_chat_participant(
|
|
2751
|
-
patch_conversations_chat_participant_with_http_info(
|
|
2750
|
+
def patch_conversations_chat_participant(conversation_id, participant_id, body, opts = {})
|
|
2751
|
+
patch_conversations_chat_participant_with_http_info(conversation_id, participant_id, body, opts)
|
|
2752
2752
|
return nil
|
|
2753
2753
|
end
|
|
2754
2754
|
|
|
2755
2755
|
# Update conversation participant
|
|
2756
2756
|
#
|
|
2757
|
-
# @param
|
|
2757
|
+
# @param conversation_id conversationId
|
|
2758
2758
|
# @param participant_id participantId
|
|
2759
2759
|
# @param body Update request
|
|
2760
2760
|
# @param [Hash] opts the optional parameters
|
|
2761
2761
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2762
|
-
def patch_conversations_chat_participant_with_http_info(
|
|
2762
|
+
def patch_conversations_chat_participant_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2763
2763
|
if @api_client.config.debugging
|
|
2764
2764
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant ..."
|
|
2765
2765
|
end
|
|
2766
|
-
# verify the required parameter '
|
|
2767
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2766
|
+
# verify the required parameter 'conversation_id' is set
|
|
2767
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_chat_participant" if conversation_id.nil?
|
|
2768
2768
|
# verify the required parameter 'participant_id' is set
|
|
2769
2769
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant" if participant_id.nil?
|
|
2770
2770
|
# verify the required parameter 'body' is set
|
|
2771
2771
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant" if body.nil?
|
|
2772
2772
|
# resource path
|
|
2773
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
2773
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2774
2774
|
|
|
2775
2775
|
# query parameters
|
|
2776
2776
|
query_params = {}
|
|
@@ -2806,35 +2806,35 @@ module PureCloud
|
|
|
2806
2806
|
|
|
2807
2807
|
# Update the attributes on a conversation participant.
|
|
2808
2808
|
#
|
|
2809
|
-
# @param
|
|
2809
|
+
# @param conversation_id conversationId
|
|
2810
2810
|
# @param participant_id participantId
|
|
2811
2811
|
# @param body Participant attributes
|
|
2812
2812
|
# @param [Hash] opts the optional parameters
|
|
2813
2813
|
# @return [nil]
|
|
2814
|
-
def patch_conversations_chat_participant_attributes(
|
|
2815
|
-
patch_conversations_chat_participant_attributes_with_http_info(
|
|
2814
|
+
def patch_conversations_chat_participant_attributes(conversation_id, participant_id, body, opts = {})
|
|
2815
|
+
patch_conversations_chat_participant_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
|
2816
2816
|
return nil
|
|
2817
2817
|
end
|
|
2818
2818
|
|
|
2819
2819
|
# Update the attributes on a conversation participant.
|
|
2820
2820
|
#
|
|
2821
|
-
# @param
|
|
2821
|
+
# @param conversation_id conversationId
|
|
2822
2822
|
# @param participant_id participantId
|
|
2823
2823
|
# @param body Participant attributes
|
|
2824
2824
|
# @param [Hash] opts the optional parameters
|
|
2825
2825
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2826
|
-
def patch_conversations_chat_participant_attributes_with_http_info(
|
|
2826
|
+
def patch_conversations_chat_participant_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
2827
2827
|
if @api_client.config.debugging
|
|
2828
2828
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant_attributes ..."
|
|
2829
2829
|
end
|
|
2830
|
-
# verify the required parameter '
|
|
2831
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2830
|
+
# verify the required parameter 'conversation_id' is set
|
|
2831
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if conversation_id.nil?
|
|
2832
2832
|
# verify the required parameter 'participant_id' is set
|
|
2833
2833
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if participant_id.nil?
|
|
2834
2834
|
# verify the required parameter 'body' is set
|
|
2835
2835
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant_attributes" if body.nil?
|
|
2836
2836
|
# resource path
|
|
2837
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
2837
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
2838
2838
|
|
|
2839
2839
|
# query parameters
|
|
2840
2840
|
query_params = {}
|
|
@@ -2870,31 +2870,31 @@ module PureCloud
|
|
|
2870
2870
|
|
|
2871
2871
|
# Update conversation participant's communication by disconnecting it.
|
|
2872
2872
|
#
|
|
2873
|
-
# @param
|
|
2873
|
+
# @param conversation_id conversationId
|
|
2874
2874
|
# @param participant_id participantId
|
|
2875
2875
|
# @param communication_id communicationId
|
|
2876
2876
|
# @param body Participant
|
|
2877
2877
|
# @param [Hash] opts the optional parameters
|
|
2878
2878
|
# @return [Empty]
|
|
2879
|
-
def patch_conversations_chat_participant_communication(
|
|
2880
|
-
data, _status_code, _headers = patch_conversations_chat_participant_communication_with_http_info(
|
|
2879
|
+
def patch_conversations_chat_participant_communication(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2880
|
+
data, _status_code, _headers = patch_conversations_chat_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts)
|
|
2881
2881
|
return data
|
|
2882
2882
|
end
|
|
2883
2883
|
|
|
2884
2884
|
# Update conversation participant's communication by disconnecting it.
|
|
2885
2885
|
#
|
|
2886
|
-
# @param
|
|
2886
|
+
# @param conversation_id conversationId
|
|
2887
2887
|
# @param participant_id participantId
|
|
2888
2888
|
# @param communication_id communicationId
|
|
2889
2889
|
# @param body Participant
|
|
2890
2890
|
# @param [Hash] opts the optional parameters
|
|
2891
2891
|
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
2892
|
-
def patch_conversations_chat_participant_communication_with_http_info(
|
|
2892
|
+
def patch_conversations_chat_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts = {})
|
|
2893
2893
|
if @api_client.config.debugging
|
|
2894
2894
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_chat_participant_communication ..."
|
|
2895
2895
|
end
|
|
2896
|
-
# verify the required parameter '
|
|
2897
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2896
|
+
# verify the required parameter 'conversation_id' is set
|
|
2897
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_chat_participant_communication" if conversation_id.nil?
|
|
2898
2898
|
# verify the required parameter 'participant_id' is set
|
|
2899
2899
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_chat_participant_communication" if participant_id.nil?
|
|
2900
2900
|
# verify the required parameter 'communication_id' is set
|
|
@@ -2902,7 +2902,7 @@ module PureCloud
|
|
|
2902
2902
|
# verify the required parameter 'body' is set
|
|
2903
2903
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_chat_participant_communication" if body.nil?
|
|
2904
2904
|
# resource path
|
|
2905
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
2905
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
2906
2906
|
|
|
2907
2907
|
# query parameters
|
|
2908
2908
|
query_params = {}
|
|
@@ -2939,31 +2939,31 @@ module PureCloud
|
|
|
2939
2939
|
|
|
2940
2940
|
# Update a conversation by disconnecting all of the participants
|
|
2941
2941
|
#
|
|
2942
|
-
# @param
|
|
2942
|
+
# @param conversation_id conversationId
|
|
2943
2943
|
# @param body Conversation
|
|
2944
2944
|
# @param [Hash] opts the optional parameters
|
|
2945
2945
|
# @return [Conversation]
|
|
2946
|
-
def patch_conversations_cobrowsesession(
|
|
2947
|
-
data, _status_code, _headers = patch_conversations_cobrowsesession_with_http_info(
|
|
2946
|
+
def patch_conversations_cobrowsesession(conversation_id, body, opts = {})
|
|
2947
|
+
data, _status_code, _headers = patch_conversations_cobrowsesession_with_http_info(conversation_id, body, opts)
|
|
2948
2948
|
return data
|
|
2949
2949
|
end
|
|
2950
2950
|
|
|
2951
2951
|
# Update a conversation by disconnecting all of the participants
|
|
2952
2952
|
#
|
|
2953
|
-
# @param
|
|
2953
|
+
# @param conversation_id conversationId
|
|
2954
2954
|
# @param body Conversation
|
|
2955
2955
|
# @param [Hash] opts the optional parameters
|
|
2956
2956
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
2957
|
-
def patch_conversations_cobrowsesession_with_http_info(
|
|
2957
|
+
def patch_conversations_cobrowsesession_with_http_info(conversation_id, body, opts = {})
|
|
2958
2958
|
if @api_client.config.debugging
|
|
2959
2959
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession ..."
|
|
2960
2960
|
end
|
|
2961
|
-
# verify the required parameter '
|
|
2962
|
-
fail ArgumentError, "Missing the required parameter '
|
|
2961
|
+
# verify the required parameter 'conversation_id' is set
|
|
2962
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_cobrowsesession" if conversation_id.nil?
|
|
2963
2963
|
# verify the required parameter 'body' is set
|
|
2964
2964
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_cobrowsesession" if body.nil?
|
|
2965
2965
|
# resource path
|
|
2966
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
2966
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
2967
2967
|
|
|
2968
2968
|
# query parameters
|
|
2969
2969
|
query_params = {}
|
|
@@ -3000,33 +3000,33 @@ module PureCloud
|
|
|
3000
3000
|
|
|
3001
3001
|
# Update conversation participant
|
|
3002
3002
|
#
|
|
3003
|
-
# @param
|
|
3003
|
+
# @param conversation_id conversationId
|
|
3004
3004
|
# @param participant_id participantId
|
|
3005
3005
|
# @param [Hash] opts the optional parameters
|
|
3006
3006
|
# @option opts [MediaParticipantRequest] :body
|
|
3007
3007
|
# @return [nil]
|
|
3008
|
-
def patch_conversations_cobrowsesession_participant(
|
|
3009
|
-
patch_conversations_cobrowsesession_participant_with_http_info(
|
|
3008
|
+
def patch_conversations_cobrowsesession_participant(conversation_id, participant_id, opts = {})
|
|
3009
|
+
patch_conversations_cobrowsesession_participant_with_http_info(conversation_id, participant_id, opts)
|
|
3010
3010
|
return nil
|
|
3011
3011
|
end
|
|
3012
3012
|
|
|
3013
3013
|
# Update conversation participant
|
|
3014
3014
|
#
|
|
3015
|
-
# @param
|
|
3015
|
+
# @param conversation_id conversationId
|
|
3016
3016
|
# @param participant_id participantId
|
|
3017
3017
|
# @param [Hash] opts the optional parameters
|
|
3018
3018
|
# @option opts [MediaParticipantRequest] :body
|
|
3019
3019
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3020
|
-
def patch_conversations_cobrowsesession_participant_with_http_info(
|
|
3020
|
+
def patch_conversations_cobrowsesession_participant_with_http_info(conversation_id, participant_id, opts = {})
|
|
3021
3021
|
if @api_client.config.debugging
|
|
3022
3022
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant ..."
|
|
3023
3023
|
end
|
|
3024
|
-
# verify the required parameter '
|
|
3025
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3024
|
+
# verify the required parameter 'conversation_id' is set
|
|
3025
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant" if conversation_id.nil?
|
|
3026
3026
|
# verify the required parameter 'participant_id' is set
|
|
3027
3027
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant" if participant_id.nil?
|
|
3028
3028
|
# resource path
|
|
3029
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
3029
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3030
3030
|
|
|
3031
3031
|
# query parameters
|
|
3032
3032
|
query_params = {}
|
|
@@ -3062,33 +3062,33 @@ module PureCloud
|
|
|
3062
3062
|
|
|
3063
3063
|
# Update the attributes on a conversation participant.
|
|
3064
3064
|
#
|
|
3065
|
-
# @param
|
|
3065
|
+
# @param conversation_id conversationId
|
|
3066
3066
|
# @param participant_id participantId
|
|
3067
3067
|
# @param [Hash] opts the optional parameters
|
|
3068
3068
|
# @option opts [ParticipantAttributes] :body
|
|
3069
3069
|
# @return [nil]
|
|
3070
|
-
def patch_conversations_cobrowsesession_participant_attributes(
|
|
3071
|
-
patch_conversations_cobrowsesession_participant_attributes_with_http_info(
|
|
3070
|
+
def patch_conversations_cobrowsesession_participant_attributes(conversation_id, participant_id, opts = {})
|
|
3071
|
+
patch_conversations_cobrowsesession_participant_attributes_with_http_info(conversation_id, participant_id, opts)
|
|
3072
3072
|
return nil
|
|
3073
3073
|
end
|
|
3074
3074
|
|
|
3075
3075
|
# Update the attributes on a conversation participant.
|
|
3076
3076
|
#
|
|
3077
|
-
# @param
|
|
3077
|
+
# @param conversation_id conversationId
|
|
3078
3078
|
# @param participant_id participantId
|
|
3079
3079
|
# @param [Hash] opts the optional parameters
|
|
3080
3080
|
# @option opts [ParticipantAttributes] :body
|
|
3081
3081
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3082
|
-
def patch_conversations_cobrowsesession_participant_attributes_with_http_info(
|
|
3082
|
+
def patch_conversations_cobrowsesession_participant_attributes_with_http_info(conversation_id, participant_id, opts = {})
|
|
3083
3083
|
if @api_client.config.debugging
|
|
3084
3084
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant_attributes ..."
|
|
3085
3085
|
end
|
|
3086
|
-
# verify the required parameter '
|
|
3087
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3086
|
+
# verify the required parameter 'conversation_id' is set
|
|
3087
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_attributes" if conversation_id.nil?
|
|
3088
3088
|
# verify the required parameter 'participant_id' is set
|
|
3089
3089
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_attributes" if participant_id.nil?
|
|
3090
3090
|
# resource path
|
|
3091
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
3091
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3092
3092
|
|
|
3093
3093
|
# query parameters
|
|
3094
3094
|
query_params = {}
|
|
@@ -3124,31 +3124,31 @@ module PureCloud
|
|
|
3124
3124
|
|
|
3125
3125
|
# Update conversation participant's communication by disconnecting it.
|
|
3126
3126
|
#
|
|
3127
|
-
# @param
|
|
3127
|
+
# @param conversation_id conversationId
|
|
3128
3128
|
# @param participant_id participantId
|
|
3129
3129
|
# @param communication_id communicationId
|
|
3130
3130
|
# @param body Participant
|
|
3131
3131
|
# @param [Hash] opts the optional parameters
|
|
3132
3132
|
# @return [Empty]
|
|
3133
|
-
def patch_conversations_cobrowsesession_participant_communication(
|
|
3134
|
-
data, _status_code, _headers = patch_conversations_cobrowsesession_participant_communication_with_http_info(
|
|
3133
|
+
def patch_conversations_cobrowsesession_participant_communication(conversation_id, participant_id, communication_id, body, opts = {})
|
|
3134
|
+
data, _status_code, _headers = patch_conversations_cobrowsesession_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts)
|
|
3135
3135
|
return data
|
|
3136
3136
|
end
|
|
3137
3137
|
|
|
3138
3138
|
# Update conversation participant's communication by disconnecting it.
|
|
3139
3139
|
#
|
|
3140
|
-
# @param
|
|
3140
|
+
# @param conversation_id conversationId
|
|
3141
3141
|
# @param participant_id participantId
|
|
3142
3142
|
# @param communication_id communicationId
|
|
3143
3143
|
# @param body Participant
|
|
3144
3144
|
# @param [Hash] opts the optional parameters
|
|
3145
3145
|
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
3146
|
-
def patch_conversations_cobrowsesession_participant_communication_with_http_info(
|
|
3146
|
+
def patch_conversations_cobrowsesession_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts = {})
|
|
3147
3147
|
if @api_client.config.debugging
|
|
3148
3148
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_cobrowsesession_participant_communication ..."
|
|
3149
3149
|
end
|
|
3150
|
-
# verify the required parameter '
|
|
3151
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3150
|
+
# verify the required parameter 'conversation_id' is set
|
|
3151
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if conversation_id.nil?
|
|
3152
3152
|
# verify the required parameter 'participant_id' is set
|
|
3153
3153
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if participant_id.nil?
|
|
3154
3154
|
# verify the required parameter 'communication_id' is set
|
|
@@ -3156,7 +3156,7 @@ module PureCloud
|
|
|
3156
3156
|
# verify the required parameter 'body' is set
|
|
3157
3157
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_cobrowsesession_participant_communication" if body.nil?
|
|
3158
3158
|
# resource path
|
|
3159
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
3159
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
3160
3160
|
|
|
3161
3161
|
# query parameters
|
|
3162
3162
|
query_params = {}
|
|
@@ -3193,31 +3193,31 @@ module PureCloud
|
|
|
3193
3193
|
|
|
3194
3194
|
# Update a conversation by disconnecting all of the participants
|
|
3195
3195
|
#
|
|
3196
|
-
# @param
|
|
3196
|
+
# @param conversation_id conversationId
|
|
3197
3197
|
# @param body Conversation
|
|
3198
3198
|
# @param [Hash] opts the optional parameters
|
|
3199
3199
|
# @return [Conversation]
|
|
3200
|
-
def patch_conversations_email(
|
|
3201
|
-
data, _status_code, _headers = patch_conversations_email_with_http_info(
|
|
3200
|
+
def patch_conversations_email(conversation_id, body, opts = {})
|
|
3201
|
+
data, _status_code, _headers = patch_conversations_email_with_http_info(conversation_id, body, opts)
|
|
3202
3202
|
return data
|
|
3203
3203
|
end
|
|
3204
3204
|
|
|
3205
3205
|
# Update a conversation by disconnecting all of the participants
|
|
3206
3206
|
#
|
|
3207
|
-
# @param
|
|
3207
|
+
# @param conversation_id conversationId
|
|
3208
3208
|
# @param body Conversation
|
|
3209
3209
|
# @param [Hash] opts the optional parameters
|
|
3210
3210
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
3211
|
-
def patch_conversations_email_with_http_info(
|
|
3211
|
+
def patch_conversations_email_with_http_info(conversation_id, body, opts = {})
|
|
3212
3212
|
if @api_client.config.debugging
|
|
3213
3213
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email ..."
|
|
3214
3214
|
end
|
|
3215
|
-
# verify the required parameter '
|
|
3216
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3215
|
+
# verify the required parameter 'conversation_id' is set
|
|
3216
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_email" if conversation_id.nil?
|
|
3217
3217
|
# verify the required parameter 'body' is set
|
|
3218
3218
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email" if body.nil?
|
|
3219
3219
|
# resource path
|
|
3220
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
3220
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
3221
3221
|
|
|
3222
3222
|
# query parameters
|
|
3223
3223
|
query_params = {}
|
|
@@ -3254,35 +3254,35 @@ module PureCloud
|
|
|
3254
3254
|
|
|
3255
3255
|
# Update conversation participant
|
|
3256
3256
|
#
|
|
3257
|
-
# @param
|
|
3257
|
+
# @param conversation_id conversationId
|
|
3258
3258
|
# @param participant_id participantId
|
|
3259
3259
|
# @param body Update request
|
|
3260
3260
|
# @param [Hash] opts the optional parameters
|
|
3261
3261
|
# @return [nil]
|
|
3262
|
-
def patch_conversations_email_participant(
|
|
3263
|
-
patch_conversations_email_participant_with_http_info(
|
|
3262
|
+
def patch_conversations_email_participant(conversation_id, participant_id, body, opts = {})
|
|
3263
|
+
patch_conversations_email_participant_with_http_info(conversation_id, participant_id, body, opts)
|
|
3264
3264
|
return nil
|
|
3265
3265
|
end
|
|
3266
3266
|
|
|
3267
3267
|
# Update conversation participant
|
|
3268
3268
|
#
|
|
3269
|
-
# @param
|
|
3269
|
+
# @param conversation_id conversationId
|
|
3270
3270
|
# @param participant_id participantId
|
|
3271
3271
|
# @param body Update request
|
|
3272
3272
|
# @param [Hash] opts the optional parameters
|
|
3273
3273
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3274
|
-
def patch_conversations_email_participant_with_http_info(
|
|
3274
|
+
def patch_conversations_email_participant_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
3275
3275
|
if @api_client.config.debugging
|
|
3276
3276
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant ..."
|
|
3277
3277
|
end
|
|
3278
|
-
# verify the required parameter '
|
|
3279
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3278
|
+
# verify the required parameter 'conversation_id' is set
|
|
3279
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_email_participant" if conversation_id.nil?
|
|
3280
3280
|
# verify the required parameter 'participant_id' is set
|
|
3281
3281
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant" if participant_id.nil?
|
|
3282
3282
|
# verify the required parameter 'body' is set
|
|
3283
3283
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant" if body.nil?
|
|
3284
3284
|
# resource path
|
|
3285
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
3285
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3286
3286
|
|
|
3287
3287
|
# query parameters
|
|
3288
3288
|
query_params = {}
|
|
@@ -3318,35 +3318,35 @@ module PureCloud
|
|
|
3318
3318
|
|
|
3319
3319
|
# Update the attributes on a conversation participant.
|
|
3320
3320
|
#
|
|
3321
|
-
# @param
|
|
3321
|
+
# @param conversation_id conversationId
|
|
3322
3322
|
# @param participant_id participantId
|
|
3323
3323
|
# @param body Participant attributes
|
|
3324
3324
|
# @param [Hash] opts the optional parameters
|
|
3325
3325
|
# @return [nil]
|
|
3326
|
-
def patch_conversations_email_participant_attributes(
|
|
3327
|
-
patch_conversations_email_participant_attributes_with_http_info(
|
|
3326
|
+
def patch_conversations_email_participant_attributes(conversation_id, participant_id, body, opts = {})
|
|
3327
|
+
patch_conversations_email_participant_attributes_with_http_info(conversation_id, participant_id, body, opts)
|
|
3328
3328
|
return nil
|
|
3329
3329
|
end
|
|
3330
3330
|
|
|
3331
3331
|
# Update the attributes on a conversation participant.
|
|
3332
3332
|
#
|
|
3333
|
-
# @param
|
|
3333
|
+
# @param conversation_id conversationId
|
|
3334
3334
|
# @param participant_id participantId
|
|
3335
3335
|
# @param body Participant attributes
|
|
3336
3336
|
# @param [Hash] opts the optional parameters
|
|
3337
3337
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3338
|
-
def patch_conversations_email_participant_attributes_with_http_info(
|
|
3338
|
+
def patch_conversations_email_participant_attributes_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
3339
3339
|
if @api_client.config.debugging
|
|
3340
3340
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant_attributes ..."
|
|
3341
3341
|
end
|
|
3342
|
-
# verify the required parameter '
|
|
3343
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3342
|
+
# verify the required parameter 'conversation_id' is set
|
|
3343
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_email_participant_attributes" if conversation_id.nil?
|
|
3344
3344
|
# verify the required parameter 'participant_id' is set
|
|
3345
3345
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant_attributes" if participant_id.nil?
|
|
3346
3346
|
# verify the required parameter 'body' is set
|
|
3347
3347
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant_attributes" if body.nil?
|
|
3348
3348
|
# resource path
|
|
3349
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
3349
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}/attributes".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3350
3350
|
|
|
3351
3351
|
# query parameters
|
|
3352
3352
|
query_params = {}
|
|
@@ -3382,31 +3382,31 @@ module PureCloud
|
|
|
3382
3382
|
|
|
3383
3383
|
# Update conversation participant's communication by disconnecting it.
|
|
3384
3384
|
#
|
|
3385
|
-
# @param
|
|
3385
|
+
# @param conversation_id conversationId
|
|
3386
3386
|
# @param participant_id participantId
|
|
3387
3387
|
# @param communication_id communicationId
|
|
3388
3388
|
# @param body Participant
|
|
3389
3389
|
# @param [Hash] opts the optional parameters
|
|
3390
3390
|
# @return [Empty]
|
|
3391
|
-
def patch_conversations_email_participant_communication(
|
|
3392
|
-
data, _status_code, _headers = patch_conversations_email_participant_communication_with_http_info(
|
|
3391
|
+
def patch_conversations_email_participant_communication(conversation_id, participant_id, communication_id, body, opts = {})
|
|
3392
|
+
data, _status_code, _headers = patch_conversations_email_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts)
|
|
3393
3393
|
return data
|
|
3394
3394
|
end
|
|
3395
3395
|
|
|
3396
3396
|
# Update conversation participant's communication by disconnecting it.
|
|
3397
3397
|
#
|
|
3398
|
-
# @param
|
|
3398
|
+
# @param conversation_id conversationId
|
|
3399
3399
|
# @param participant_id participantId
|
|
3400
3400
|
# @param communication_id communicationId
|
|
3401
3401
|
# @param body Participant
|
|
3402
3402
|
# @param [Hash] opts the optional parameters
|
|
3403
3403
|
# @return [Array<(Empty, Fixnum, Hash)>] Empty data, response status code and response headers
|
|
3404
|
-
def patch_conversations_email_participant_communication_with_http_info(
|
|
3404
|
+
def patch_conversations_email_participant_communication_with_http_info(conversation_id, participant_id, communication_id, body, opts = {})
|
|
3405
3405
|
if @api_client.config.debugging
|
|
3406
3406
|
@api_client.config.logger.debug "Calling API: ConversationsApi.patch_conversations_email_participant_communication ..."
|
|
3407
3407
|
end
|
|
3408
|
-
# verify the required parameter '
|
|
3409
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3408
|
+
# verify the required parameter 'conversation_id' is set
|
|
3409
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.patch_conversations_email_participant_communication" if conversation_id.nil?
|
|
3410
3410
|
# verify the required parameter 'participant_id' is set
|
|
3411
3411
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.patch_conversations_email_participant_communication" if participant_id.nil?
|
|
3412
3412
|
# verify the required parameter 'communication_id' is set
|
|
@@ -3414,7 +3414,7 @@ module PureCloud
|
|
|
3414
3414
|
# verify the required parameter 'body' is set
|
|
3415
3415
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.patch_conversations_email_participant_communication" if body.nil?
|
|
3416
3416
|
# resource path
|
|
3417
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
3417
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}/communications/{communicationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
3418
3418
|
|
|
3419
3419
|
# query parameters
|
|
3420
3420
|
query_params = {}
|
|
@@ -3752,31 +3752,31 @@ module PureCloud
|
|
|
3752
3752
|
|
|
3753
3753
|
# Add a new call to a conversation
|
|
3754
3754
|
#
|
|
3755
|
-
# @param
|
|
3755
|
+
# @param conversation_id conversationId
|
|
3756
3756
|
# @param body Conversation
|
|
3757
3757
|
# @param [Hash] opts the optional parameters
|
|
3758
3758
|
# @return [Conversation]
|
|
3759
|
-
def post_conversations_call(
|
|
3760
|
-
data, _status_code, _headers = post_conversations_call_with_http_info(
|
|
3759
|
+
def post_conversations_call(conversation_id, body, opts = {})
|
|
3760
|
+
data, _status_code, _headers = post_conversations_call_with_http_info(conversation_id, body, opts)
|
|
3761
3761
|
return data
|
|
3762
3762
|
end
|
|
3763
3763
|
|
|
3764
3764
|
# Add a new call to a conversation
|
|
3765
3765
|
#
|
|
3766
|
-
# @param
|
|
3766
|
+
# @param conversation_id conversationId
|
|
3767
3767
|
# @param body Conversation
|
|
3768
3768
|
# @param [Hash] opts the optional parameters
|
|
3769
3769
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
3770
|
-
def post_conversations_call_with_http_info(
|
|
3770
|
+
def post_conversations_call_with_http_info(conversation_id, body, opts = {})
|
|
3771
3771
|
if @api_client.config.debugging
|
|
3772
3772
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call ..."
|
|
3773
3773
|
end
|
|
3774
|
-
# verify the required parameter '
|
|
3775
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3774
|
+
# verify the required parameter 'conversation_id' is set
|
|
3775
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_call" if conversation_id.nil?
|
|
3776
3776
|
# verify the required parameter 'body' is set
|
|
3777
3777
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call" if body.nil?
|
|
3778
3778
|
# resource path
|
|
3779
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
3779
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
3780
3780
|
|
|
3781
3781
|
# query parameters
|
|
3782
3782
|
query_params = {}
|
|
@@ -3813,35 +3813,35 @@ module PureCloud
|
|
|
3813
3813
|
|
|
3814
3814
|
# Initiate and update consult transfer
|
|
3815
3815
|
#
|
|
3816
|
-
# @param
|
|
3816
|
+
# @param conversation_id conversationId
|
|
3817
3817
|
# @param participant_id participantId
|
|
3818
3818
|
# @param body Destination address & initial speak to
|
|
3819
3819
|
# @param [Hash] opts the optional parameters
|
|
3820
3820
|
# @return [ConsultTransferResponse]
|
|
3821
|
-
def post_conversations_call_participant_consult(
|
|
3822
|
-
data, _status_code, _headers = post_conversations_call_participant_consult_with_http_info(
|
|
3821
|
+
def post_conversations_call_participant_consult(conversation_id, participant_id, body, opts = {})
|
|
3822
|
+
data, _status_code, _headers = post_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, body, opts)
|
|
3823
3823
|
return data
|
|
3824
3824
|
end
|
|
3825
3825
|
|
|
3826
3826
|
# Initiate and update consult transfer
|
|
3827
3827
|
#
|
|
3828
|
-
# @param
|
|
3828
|
+
# @param conversation_id conversationId
|
|
3829
3829
|
# @param participant_id participantId
|
|
3830
3830
|
# @param body Destination address & initial speak to
|
|
3831
3831
|
# @param [Hash] opts the optional parameters
|
|
3832
3832
|
# @return [Array<(ConsultTransferResponse, Fixnum, Hash)>] ConsultTransferResponse data, response status code and response headers
|
|
3833
|
-
def post_conversations_call_participant_consult_with_http_info(
|
|
3833
|
+
def post_conversations_call_participant_consult_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
3834
3834
|
if @api_client.config.debugging
|
|
3835
3835
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_consult ..."
|
|
3836
3836
|
end
|
|
3837
|
-
# verify the required parameter '
|
|
3838
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3837
|
+
# verify the required parameter 'conversation_id' is set
|
|
3838
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_call_participant_consult" if conversation_id.nil?
|
|
3839
3839
|
# verify the required parameter 'participant_id' is set
|
|
3840
3840
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_consult" if participant_id.nil?
|
|
3841
3841
|
# verify the required parameter 'body' is set
|
|
3842
3842
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participant_consult" if body.nil?
|
|
3843
3843
|
# resource path
|
|
3844
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
3844
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3845
3845
|
|
|
3846
3846
|
# query parameters
|
|
3847
3847
|
query_params = {}
|
|
@@ -3878,31 +3878,31 @@ module PureCloud
|
|
|
3878
3878
|
|
|
3879
3879
|
# Listen in on the conversation from the point of view of a given participant.
|
|
3880
3880
|
#
|
|
3881
|
-
# @param
|
|
3881
|
+
# @param conversation_id conversationId
|
|
3882
3882
|
# @param participant_id participantId
|
|
3883
3883
|
# @param [Hash] opts the optional parameters
|
|
3884
3884
|
# @return [nil]
|
|
3885
|
-
def post_conversations_call_participant_monitor(
|
|
3886
|
-
post_conversations_call_participant_monitor_with_http_info(
|
|
3885
|
+
def post_conversations_call_participant_monitor(conversation_id, participant_id, opts = {})
|
|
3886
|
+
post_conversations_call_participant_monitor_with_http_info(conversation_id, participant_id, opts)
|
|
3887
3887
|
return nil
|
|
3888
3888
|
end
|
|
3889
3889
|
|
|
3890
3890
|
# Listen in on the conversation from the point of view of a given participant.
|
|
3891
3891
|
#
|
|
3892
|
-
# @param
|
|
3892
|
+
# @param conversation_id conversationId
|
|
3893
3893
|
# @param participant_id participantId
|
|
3894
3894
|
# @param [Hash] opts the optional parameters
|
|
3895
3895
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3896
|
-
def post_conversations_call_participant_monitor_with_http_info(
|
|
3896
|
+
def post_conversations_call_participant_monitor_with_http_info(conversation_id, participant_id, opts = {})
|
|
3897
3897
|
if @api_client.config.debugging
|
|
3898
3898
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_monitor ..."
|
|
3899
3899
|
end
|
|
3900
|
-
# verify the required parameter '
|
|
3901
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3900
|
+
# verify the required parameter 'conversation_id' is set
|
|
3901
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_call_participant_monitor" if conversation_id.nil?
|
|
3902
3902
|
# verify the required parameter 'participant_id' is set
|
|
3903
3903
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_monitor" if participant_id.nil?
|
|
3904
3904
|
# resource path
|
|
3905
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
3905
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/monitor".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3906
3906
|
|
|
3907
3907
|
# query parameters
|
|
3908
3908
|
query_params = {}
|
|
@@ -3938,35 +3938,35 @@ module PureCloud
|
|
|
3938
3938
|
|
|
3939
3939
|
# Replace this participant with the specified user and/or address
|
|
3940
3940
|
#
|
|
3941
|
-
# @param
|
|
3941
|
+
# @param conversation_id conversationId
|
|
3942
3942
|
# @param participant_id participantId
|
|
3943
3943
|
# @param body Transfer request
|
|
3944
3944
|
# @param [Hash] opts the optional parameters
|
|
3945
3945
|
# @return [nil]
|
|
3946
|
-
def post_conversations_call_participant_replace(
|
|
3947
|
-
post_conversations_call_participant_replace_with_http_info(
|
|
3946
|
+
def post_conversations_call_participant_replace(conversation_id, participant_id, body, opts = {})
|
|
3947
|
+
post_conversations_call_participant_replace_with_http_info(conversation_id, participant_id, body, opts)
|
|
3948
3948
|
return nil
|
|
3949
3949
|
end
|
|
3950
3950
|
|
|
3951
3951
|
# Replace this participant with the specified user and/or address
|
|
3952
3952
|
#
|
|
3953
|
-
# @param
|
|
3953
|
+
# @param conversation_id conversationId
|
|
3954
3954
|
# @param participant_id participantId
|
|
3955
3955
|
# @param body Transfer request
|
|
3956
3956
|
# @param [Hash] opts the optional parameters
|
|
3957
3957
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
3958
|
-
def post_conversations_call_participant_replace_with_http_info(
|
|
3958
|
+
def post_conversations_call_participant_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
3959
3959
|
if @api_client.config.debugging
|
|
3960
3960
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participant_replace ..."
|
|
3961
3961
|
end
|
|
3962
|
-
# verify the required parameter '
|
|
3963
|
-
fail ArgumentError, "Missing the required parameter '
|
|
3962
|
+
# verify the required parameter 'conversation_id' is set
|
|
3963
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_call_participant_replace" if conversation_id.nil?
|
|
3964
3964
|
# verify the required parameter 'participant_id' is set
|
|
3965
3965
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_call_participant_replace" if participant_id.nil?
|
|
3966
3966
|
# verify the required parameter 'body' is set
|
|
3967
3967
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participant_replace" if body.nil?
|
|
3968
3968
|
# resource path
|
|
3969
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
3969
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
3970
3970
|
|
|
3971
3971
|
# query parameters
|
|
3972
3972
|
query_params = {}
|
|
@@ -4002,31 +4002,31 @@ module PureCloud
|
|
|
4002
4002
|
|
|
4003
4003
|
# Add participants to a conversation
|
|
4004
4004
|
#
|
|
4005
|
-
# @param
|
|
4005
|
+
# @param conversation_id conversationId
|
|
4006
4006
|
# @param body Conversation
|
|
4007
4007
|
# @param [Hash] opts the optional parameters
|
|
4008
4008
|
# @return [Conversation]
|
|
4009
|
-
def post_conversations_call_participants(
|
|
4010
|
-
data, _status_code, _headers = post_conversations_call_participants_with_http_info(
|
|
4009
|
+
def post_conversations_call_participants(conversation_id, body, opts = {})
|
|
4010
|
+
data, _status_code, _headers = post_conversations_call_participants_with_http_info(conversation_id, body, opts)
|
|
4011
4011
|
return data
|
|
4012
4012
|
end
|
|
4013
4013
|
|
|
4014
4014
|
# Add participants to a conversation
|
|
4015
4015
|
#
|
|
4016
|
-
# @param
|
|
4016
|
+
# @param conversation_id conversationId
|
|
4017
4017
|
# @param body Conversation
|
|
4018
4018
|
# @param [Hash] opts the optional parameters
|
|
4019
4019
|
# @return [Array<(Conversation, Fixnum, Hash)>] Conversation data, response status code and response headers
|
|
4020
|
-
def post_conversations_call_participants_with_http_info(
|
|
4020
|
+
def post_conversations_call_participants_with_http_info(conversation_id, body, opts = {})
|
|
4021
4021
|
if @api_client.config.debugging
|
|
4022
4022
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_call_participants ..."
|
|
4023
4023
|
end
|
|
4024
|
-
# verify the required parameter '
|
|
4025
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4024
|
+
# verify the required parameter 'conversation_id' is set
|
|
4025
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_call_participants" if conversation_id.nil?
|
|
4026
4026
|
# verify the required parameter 'body' is set
|
|
4027
4027
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_call_participants" if body.nil?
|
|
4028
4028
|
# resource path
|
|
4029
|
-
local_var_path = "/api/v2/conversations/calls/{
|
|
4029
|
+
local_var_path = "/api/v2/conversations/calls/{conversationId}/participants".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
4030
4030
|
|
|
4031
4031
|
# query parameters
|
|
4032
4032
|
query_params = {}
|
|
@@ -4063,35 +4063,35 @@ module PureCloud
|
|
|
4063
4063
|
|
|
4064
4064
|
# Replace this participant with the specified user and/or address
|
|
4065
4065
|
#
|
|
4066
|
-
# @param
|
|
4066
|
+
# @param conversation_id conversationId
|
|
4067
4067
|
# @param participant_id participantId
|
|
4068
4068
|
# @param body Transfer request
|
|
4069
4069
|
# @param [Hash] opts the optional parameters
|
|
4070
4070
|
# @return [nil]
|
|
4071
|
-
def post_conversations_callback_participant_replace(
|
|
4072
|
-
post_conversations_callback_participant_replace_with_http_info(
|
|
4071
|
+
def post_conversations_callback_participant_replace(conversation_id, participant_id, body, opts = {})
|
|
4072
|
+
post_conversations_callback_participant_replace_with_http_info(conversation_id, participant_id, body, opts)
|
|
4073
4073
|
return nil
|
|
4074
4074
|
end
|
|
4075
4075
|
|
|
4076
4076
|
# Replace this participant with the specified user and/or address
|
|
4077
4077
|
#
|
|
4078
|
-
# @param
|
|
4078
|
+
# @param conversation_id conversationId
|
|
4079
4079
|
# @param participant_id participantId
|
|
4080
4080
|
# @param body Transfer request
|
|
4081
4081
|
# @param [Hash] opts the optional parameters
|
|
4082
4082
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4083
|
-
def post_conversations_callback_participant_replace_with_http_info(
|
|
4083
|
+
def post_conversations_callback_participant_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
4084
4084
|
if @api_client.config.debugging
|
|
4085
4085
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_callback_participant_replace ..."
|
|
4086
4086
|
end
|
|
4087
|
-
# verify the required parameter '
|
|
4088
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4087
|
+
# verify the required parameter 'conversation_id' is set
|
|
4088
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_callback_participant_replace" if conversation_id.nil?
|
|
4089
4089
|
# verify the required parameter 'participant_id' is set
|
|
4090
4090
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_callback_participant_replace" if participant_id.nil?
|
|
4091
4091
|
# verify the required parameter 'body' is set
|
|
4092
4092
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_callback_participant_replace" if body.nil?
|
|
4093
4093
|
# resource path
|
|
4094
|
-
local_var_path = "/api/v2/conversations/callbacks/{
|
|
4094
|
+
local_var_path = "/api/v2/conversations/callbacks/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
4095
4095
|
|
|
4096
4096
|
# query parameters
|
|
4097
4097
|
query_params = {}
|
|
@@ -4241,35 +4241,35 @@ module PureCloud
|
|
|
4241
4241
|
|
|
4242
4242
|
# Replace this participant with the specified user and/or address
|
|
4243
4243
|
#
|
|
4244
|
-
# @param
|
|
4244
|
+
# @param conversation_id conversationId
|
|
4245
4245
|
# @param participant_id participantId
|
|
4246
4246
|
# @param body Transfer request
|
|
4247
4247
|
# @param [Hash] opts the optional parameters
|
|
4248
4248
|
# @return [nil]
|
|
4249
|
-
def post_conversations_chat_participant_replace(
|
|
4250
|
-
post_conversations_chat_participant_replace_with_http_info(
|
|
4249
|
+
def post_conversations_chat_participant_replace(conversation_id, participant_id, body, opts = {})
|
|
4250
|
+
post_conversations_chat_participant_replace_with_http_info(conversation_id, participant_id, body, opts)
|
|
4251
4251
|
return nil
|
|
4252
4252
|
end
|
|
4253
4253
|
|
|
4254
4254
|
# Replace this participant with the specified user and/or address
|
|
4255
4255
|
#
|
|
4256
|
-
# @param
|
|
4256
|
+
# @param conversation_id conversationId
|
|
4257
4257
|
# @param participant_id participantId
|
|
4258
4258
|
# @param body Transfer request
|
|
4259
4259
|
# @param [Hash] opts the optional parameters
|
|
4260
4260
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4261
|
-
def post_conversations_chat_participant_replace_with_http_info(
|
|
4261
|
+
def post_conversations_chat_participant_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
4262
4262
|
if @api_client.config.debugging
|
|
4263
4263
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_chat_participant_replace ..."
|
|
4264
4264
|
end
|
|
4265
|
-
# verify the required parameter '
|
|
4266
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4265
|
+
# verify the required parameter 'conversation_id' is set
|
|
4266
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_chat_participant_replace" if conversation_id.nil?
|
|
4267
4267
|
# verify the required parameter 'participant_id' is set
|
|
4268
4268
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_chat_participant_replace" if participant_id.nil?
|
|
4269
4269
|
# verify the required parameter 'body' is set
|
|
4270
4270
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_chat_participant_replace" if body.nil?
|
|
4271
4271
|
# resource path
|
|
4272
|
-
local_var_path = "/api/v2/conversations/chats/{
|
|
4272
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
4273
4273
|
|
|
4274
4274
|
# query parameters
|
|
4275
4275
|
query_params = {}
|
|
@@ -4362,33 +4362,33 @@ module PureCloud
|
|
|
4362
4362
|
|
|
4363
4363
|
# Replace this participant with the specified user and/or address
|
|
4364
4364
|
#
|
|
4365
|
-
# @param
|
|
4365
|
+
# @param conversation_id conversationId
|
|
4366
4366
|
# @param participant_id participantId
|
|
4367
4367
|
# @param [Hash] opts the optional parameters
|
|
4368
4368
|
# @option opts [TransferRequest] :body
|
|
4369
4369
|
# @return [nil]
|
|
4370
|
-
def post_conversations_cobrowsesession_participant_replace(
|
|
4371
|
-
post_conversations_cobrowsesession_participant_replace_with_http_info(
|
|
4370
|
+
def post_conversations_cobrowsesession_participant_replace(conversation_id, participant_id, opts = {})
|
|
4371
|
+
post_conversations_cobrowsesession_participant_replace_with_http_info(conversation_id, participant_id, opts)
|
|
4372
4372
|
return nil
|
|
4373
4373
|
end
|
|
4374
4374
|
|
|
4375
4375
|
# Replace this participant with the specified user and/or address
|
|
4376
4376
|
#
|
|
4377
|
-
# @param
|
|
4377
|
+
# @param conversation_id conversationId
|
|
4378
4378
|
# @param participant_id participantId
|
|
4379
4379
|
# @param [Hash] opts the optional parameters
|
|
4380
4380
|
# @option opts [TransferRequest] :body
|
|
4381
4381
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4382
|
-
def post_conversations_cobrowsesession_participant_replace_with_http_info(
|
|
4382
|
+
def post_conversations_cobrowsesession_participant_replace_with_http_info(conversation_id, participant_id, opts = {})
|
|
4383
4383
|
if @api_client.config.debugging
|
|
4384
4384
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_cobrowsesession_participant_replace ..."
|
|
4385
4385
|
end
|
|
4386
|
-
# verify the required parameter '
|
|
4387
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4386
|
+
# verify the required parameter 'conversation_id' is set
|
|
4387
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_cobrowsesession_participant_replace" if conversation_id.nil?
|
|
4388
4388
|
# verify the required parameter 'participant_id' is set
|
|
4389
4389
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_cobrowsesession_participant_replace" if participant_id.nil?
|
|
4390
4390
|
# resource path
|
|
4391
|
-
local_var_path = "/api/v2/conversations/cobrowsesessions/{
|
|
4391
|
+
local_var_path = "/api/v2/conversations/cobrowsesessions/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
4392
4392
|
|
|
4393
4393
|
# query parameters
|
|
4394
4394
|
query_params = {}
|
|
@@ -4424,31 +4424,31 @@ module PureCloud
|
|
|
4424
4424
|
|
|
4425
4425
|
# Send an email reply
|
|
4426
4426
|
#
|
|
4427
|
-
# @param
|
|
4427
|
+
# @param conversation_id conversationId
|
|
4428
4428
|
# @param body Reply
|
|
4429
4429
|
# @param [Hash] opts the optional parameters
|
|
4430
4430
|
# @return [EmailMessage]
|
|
4431
|
-
def post_conversations_email_messages(
|
|
4432
|
-
data, _status_code, _headers = post_conversations_email_messages_with_http_info(
|
|
4431
|
+
def post_conversations_email_messages(conversation_id, body, opts = {})
|
|
4432
|
+
data, _status_code, _headers = post_conversations_email_messages_with_http_info(conversation_id, body, opts)
|
|
4433
4433
|
return data
|
|
4434
4434
|
end
|
|
4435
4435
|
|
|
4436
4436
|
# Send an email reply
|
|
4437
4437
|
#
|
|
4438
|
-
# @param
|
|
4438
|
+
# @param conversation_id conversationId
|
|
4439
4439
|
# @param body Reply
|
|
4440
4440
|
# @param [Hash] opts the optional parameters
|
|
4441
4441
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
4442
|
-
def post_conversations_email_messages_with_http_info(
|
|
4442
|
+
def post_conversations_email_messages_with_http_info(conversation_id, body, opts = {})
|
|
4443
4443
|
if @api_client.config.debugging
|
|
4444
4444
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_email_messages ..."
|
|
4445
4445
|
end
|
|
4446
|
-
# verify the required parameter '
|
|
4447
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4446
|
+
# verify the required parameter 'conversation_id' is set
|
|
4447
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_email_messages" if conversation_id.nil?
|
|
4448
4448
|
# verify the required parameter 'body' is set
|
|
4449
4449
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_email_messages" if body.nil?
|
|
4450
4450
|
# resource path
|
|
4451
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
4451
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
4452
4452
|
|
|
4453
4453
|
# query parameters
|
|
4454
4454
|
query_params = {}
|
|
@@ -4485,35 +4485,35 @@ module PureCloud
|
|
|
4485
4485
|
|
|
4486
4486
|
# Replace this participant with the specified user and/or address
|
|
4487
4487
|
#
|
|
4488
|
-
# @param
|
|
4488
|
+
# @param conversation_id conversationId
|
|
4489
4489
|
# @param participant_id participantId
|
|
4490
4490
|
# @param body Transfer request
|
|
4491
4491
|
# @param [Hash] opts the optional parameters
|
|
4492
4492
|
# @return [nil]
|
|
4493
|
-
def post_conversations_email_participant_replace(
|
|
4494
|
-
post_conversations_email_participant_replace_with_http_info(
|
|
4493
|
+
def post_conversations_email_participant_replace(conversation_id, participant_id, body, opts = {})
|
|
4494
|
+
post_conversations_email_participant_replace_with_http_info(conversation_id, participant_id, body, opts)
|
|
4495
4495
|
return nil
|
|
4496
4496
|
end
|
|
4497
4497
|
|
|
4498
4498
|
# Replace this participant with the specified user and/or address
|
|
4499
4499
|
#
|
|
4500
|
-
# @param
|
|
4500
|
+
# @param conversation_id conversationId
|
|
4501
4501
|
# @param participant_id participantId
|
|
4502
4502
|
# @param body Transfer request
|
|
4503
4503
|
# @param [Hash] opts the optional parameters
|
|
4504
4504
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
4505
|
-
def post_conversations_email_participant_replace_with_http_info(
|
|
4505
|
+
def post_conversations_email_participant_replace_with_http_info(conversation_id, participant_id, body, opts = {})
|
|
4506
4506
|
if @api_client.config.debugging
|
|
4507
4507
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_email_participant_replace ..."
|
|
4508
4508
|
end
|
|
4509
|
-
# verify the required parameter '
|
|
4510
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4509
|
+
# verify the required parameter 'conversation_id' is set
|
|
4510
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_email_participant_replace" if conversation_id.nil?
|
|
4511
4511
|
# verify the required parameter 'participant_id' is set
|
|
4512
4512
|
fail ArgumentError, "Missing the required parameter 'participant_id' when calling ConversationsApi.post_conversations_email_participant_replace" if participant_id.nil?
|
|
4513
4513
|
# verify the required parameter 'body' is set
|
|
4514
4514
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_email_participant_replace" if body.nil?
|
|
4515
4515
|
# resource path
|
|
4516
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
4516
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/participants/{participantId}/replace".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'participantId' + '}', participant_id.to_s)
|
|
4517
4517
|
|
|
4518
4518
|
# query parameters
|
|
4519
4519
|
query_params = {}
|
|
@@ -4663,31 +4663,31 @@ module PureCloud
|
|
|
4663
4663
|
|
|
4664
4664
|
# Update conversation draft reply
|
|
4665
4665
|
#
|
|
4666
|
-
# @param
|
|
4666
|
+
# @param conversation_id conversationId
|
|
4667
4667
|
# @param body Draft
|
|
4668
4668
|
# @param [Hash] opts the optional parameters
|
|
4669
4669
|
# @return [EmailMessage]
|
|
4670
|
-
def put_conversations_email_messages_draft(
|
|
4671
|
-
data, _status_code, _headers = put_conversations_email_messages_draft_with_http_info(
|
|
4670
|
+
def put_conversations_email_messages_draft(conversation_id, body, opts = {})
|
|
4671
|
+
data, _status_code, _headers = put_conversations_email_messages_draft_with_http_info(conversation_id, body, opts)
|
|
4672
4672
|
return data
|
|
4673
4673
|
end
|
|
4674
4674
|
|
|
4675
4675
|
# Update conversation draft reply
|
|
4676
4676
|
#
|
|
4677
|
-
# @param
|
|
4677
|
+
# @param conversation_id conversationId
|
|
4678
4678
|
# @param body Draft
|
|
4679
4679
|
# @param [Hash] opts the optional parameters
|
|
4680
4680
|
# @return [Array<(EmailMessage, Fixnum, Hash)>] EmailMessage data, response status code and response headers
|
|
4681
|
-
def put_conversations_email_messages_draft_with_http_info(
|
|
4681
|
+
def put_conversations_email_messages_draft_with_http_info(conversation_id, body, opts = {})
|
|
4682
4682
|
if @api_client.config.debugging
|
|
4683
4683
|
@api_client.config.logger.debug "Calling API: ConversationsApi.put_conversations_email_messages_draft ..."
|
|
4684
4684
|
end
|
|
4685
|
-
# verify the required parameter '
|
|
4686
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4685
|
+
# verify the required parameter 'conversation_id' is set
|
|
4686
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.put_conversations_email_messages_draft" if conversation_id.nil?
|
|
4687
4687
|
# verify the required parameter 'body' is set
|
|
4688
4688
|
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.put_conversations_email_messages_draft" if body.nil?
|
|
4689
4689
|
# resource path
|
|
4690
|
-
local_var_path = "/api/v2/conversations/emails/{
|
|
4690
|
+
local_var_path = "/api/v2/conversations/emails/{conversationId}/messages/draft".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
4691
4691
|
|
|
4692
4692
|
# query parameters
|
|
4693
4693
|
query_params = {}
|