purecloudplatformclientv2 62.0.0 → 66.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/AnalyticsApi.md +32 -32
- data/docs/AnalyticsEvaluation.md +2 -0
- data/docs/AnalyticsParticipant.md +1 -0
- data/docs/ArchitectDependencyTrackingBuildNotificationClient.md +14 -0
- data/docs/ArchitectDependencyTrackingBuildNotificationDependencyTrackingBuildNotification.md +1 -0
- data/docs/ArchitectFlowNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectFlowNotificationClient.md +14 -0
- data/docs/ArchitectFlowOutcomeNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectFlowOutcomeNotificationClient.md +14 -0
- data/docs/ArchitectPromptNotificationArchitectOperation.md +1 -0
- data/docs/ArchitectPromptNotificationClient.md +14 -0
- data/docs/ArrayNode.md +5 -5
- data/docs/AsyncConversationQuery.md +7 -6
- data/docs/AuthorizationApi.md +7 -7
- data/docs/CallConversation.md +1 -0
- data/docs/ConversationAggregateDataContainer.md +14 -0
- data/docs/ConversationAggregateQueryClause.md +14 -0
- data/docs/ConversationAggregateQueryFilter.md +15 -0
- data/docs/ConversationAggregateQueryPredicate.md +17 -0
- data/docs/ConversationAggregateQueryResponse.md +13 -0
- data/docs/ConversationAggregationQuery.md +20 -0
- data/docs/ConversationAggregationView.md +16 -0
- data/docs/ConversationDetailQueryClause.md +14 -0
- data/docs/ConversationDetailQueryFilter.md +15 -0
- data/docs/ConversationDetailQueryPredicate.md +18 -0
- data/docs/ConversationQuery.md +6 -6
- data/docs/ConversationsApi.md +286 -4
- data/docs/CreateQueueMediaAssociationRequest.md +1 -0
- data/docs/DataSchema.md +1 -1
- data/docs/DependencyStatus.md +2 -1
- data/docs/DomainOrganizationRole.md +1 -1
- data/docs/DomainOrganizationRoleCreate.md +1 -1
- data/docs/DomainOrganizationRoleUpdate.md +1 -1
- data/docs/EvaluationAggregateDataContainer.md +14 -0
- data/docs/EvaluationAggregateQueryClause.md +14 -0
- data/docs/EvaluationAggregateQueryFilter.md +15 -0
- data/docs/EvaluationAggregateQueryPredicate.md +17 -0
- data/docs/EvaluationAggregateQueryResponse.md +13 -0
- data/docs/EvaluationAggregationQuery.md +21 -0
- data/docs/EvaluationAggregationView.md +16 -0
- data/docs/EvaluationDetailQueryClause.md +14 -0
- data/docs/EvaluationDetailQueryFilter.md +15 -0
- data/docs/EvaluationDetailQueryPredicate.md +18 -0
- data/docs/Flow.md +2 -1
- data/docs/{AggregateDataContainer.md → FlowAggregateDataContainer.md} +2 -2
- data/docs/FlowAggregateQueryClause.md +14 -0
- data/docs/FlowAggregateQueryFilter.md +15 -0
- data/docs/FlowAggregateQueryPredicate.md +17 -0
- data/docs/FlowAggregateQueryResponse.md +13 -0
- data/docs/{AggregationQuery.md → FlowAggregationQuery.md} +4 -4
- data/docs/{AnalyticsView.md → FlowAggregationView.md} +3 -3
- data/docs/{ObservationDataContainer.md → FlowObservationDataContainer.md} +2 -2
- data/docs/{ObservationQuery.md → FlowObservationQuery.md} +3 -3
- data/docs/FlowObservationQueryClause.md +14 -0
- data/docs/FlowObservationQueryFilter.md +15 -0
- data/docs/FlowObservationQueryPredicate.md +17 -0
- data/docs/FlowObservationQueryResponse.md +13 -0
- data/docs/FlowVersion.md +1 -0
- data/docs/FlowsApi.md +8 -8
- data/docs/HistoryEntry.md +2 -1
- data/docs/HistoryListing.md +1 -0
- data/docs/HomerRecord.md +63 -0
- data/docs/IpAddressRange.md +15 -0
- data/docs/IpAddressRangeListing.md +13 -0
- data/docs/JsonNode.md +5 -5
- data/docs/Location.md +4 -4
- data/docs/{LocationUpdateDefinition.md → LocationCreateUpdateDefinition.md} +7 -6
- data/docs/LocationDefinition.md +1 -0
- data/docs/LocationSearchRequest.md +1 -0
- data/docs/LocationsApi.md +6 -6
- data/docs/Manager.md +1 -1
- data/docs/MediaEndpointStatDetailQueryClause.md +14 -0
- data/docs/MediaEndpointStatDetailQueryFilter.md +15 -0
- data/docs/MediaEndpointStatDetailQueryPredicate.md +17 -0
- data/docs/MessageInfo.md +4 -4
- data/docs/ObjectsApi.md +1 -1
- data/docs/Operation.md +1 -0
- data/docs/PresenceDetailQueryClause.md +14 -0
- data/docs/PresenceDetailQueryFilter.md +15 -0
- data/docs/PresenceDetailQueryPredicate.md +17 -0
- data/docs/QualityApi.md +8 -8
- data/docs/QueueMediaAssociation.md +1 -1
- data/docs/QueueObservationDataContainer.md +14 -0
- data/docs/QueueObservationQuery.md +15 -0
- data/docs/QueueObservationQueryClause.md +14 -0
- data/docs/QueueObservationQueryFilter.md +15 -0
- data/docs/QueueObservationQueryPredicate.md +17 -0
- data/docs/{QualifierMappingObservationQueryResponse.md → QueueObservationQueryResponse.md} +3 -3
- data/docs/Recording.md +5 -4
- data/docs/RecordingApi.md +2 -2
- data/docs/RecordingJob.md +1 -0
- data/docs/RecordingJobsQuery.md +2 -2
- data/docs/RecordingMetadata.md +30 -0
- data/docs/ReportingExportJobRequest.md +2 -0
- data/docs/ReportingExportJobResponse.md +2 -0
- data/docs/RoutingApi.md +4 -4
- data/docs/RoutingStatusDetailQueryClause.md +14 -0
- data/docs/RoutingStatusDetailQueryFilter.md +15 -0
- data/docs/RoutingStatusDetailQueryPredicate.md +17 -0
- data/docs/SCIMApi.md +295 -31
- data/docs/SIPSearchPublicRequest.md +22 -0
- data/docs/ScimConfigResourceType.md +20 -0
- data/docs/ScimConfigResourceTypeSchemaExtension.md +14 -0
- data/docs/ScimConfigResourceTypesListResponse.md +17 -0
- data/docs/ScimError.md +16 -0
- data/docs/ScimGroupListResponse.md +2 -2
- data/docs/ScimMetadata.md +2 -2
- data/docs/ScimPhoneNumber.md +1 -1
- data/docs/ScimServiceProviderConfig.md +10 -2
- data/docs/ScimServiceProviderConfigAuthenticationScheme.md +18 -0
- data/docs/ScimServiceProviderConfigBulkFeature.md +15 -0
- data/docs/ScimServiceProviderConfigFilterFeature.md +14 -0
- data/docs/ScimServiceProviderConfigSimpleFeature.md +13 -0
- data/docs/ScimUserListResponse.md +2 -2
- data/docs/ScimV2CreateUser.md +8 -8
- data/docs/ScimV2Group.md +3 -3
- data/docs/ScimV2GroupReference.md +2 -2
- data/docs/ScimV2MemberReference.md +2 -2
- data/docs/ScimV2PatchOperation.md +2 -2
- data/docs/ScimV2PatchRequest.md +2 -2
- data/docs/ScimV2User.md +9 -9
- data/docs/SearchApi.md +4 -4
- data/docs/SegmentDetailQueryClause.md +14 -0
- data/docs/SegmentDetailQueryFilter.md +15 -0
- data/docs/{AnalyticsQueryPredicate.md → SegmentDetailQueryPredicate.md} +4 -4
- data/docs/SignedUrlResponse.md +16 -0
- data/docs/SipDownloadResponse.md +14 -0
- data/docs/SipSearchResult.md +20 -0
- data/docs/Site.md +1 -0
- data/docs/SmsPhoneNumber.md +1 -0
- data/docs/SuggestApi.md +2 -2
- data/docs/SurveyAggregateDataContainer.md +14 -0
- data/docs/SurveyAggregateQueryClause.md +14 -0
- data/docs/SurveyAggregateQueryFilter.md +15 -0
- data/docs/SurveyAggregateQueryPredicate.md +17 -0
- data/docs/SurveyAggregateQueryResponse.md +13 -0
- data/docs/SurveyAggregationQuery.md +20 -0
- data/docs/SurveyAggregationView.md +16 -0
- data/docs/SurveyDetailQueryClause.md +14 -0
- data/docs/SurveyDetailQueryFilter.md +15 -0
- data/docs/SurveyDetailQueryPredicate.md +18 -0
- data/docs/TelephonyApi.md +223 -0
- data/docs/TelephonyProvidersEdgeApi.md +6 -6
- data/docs/TokensApi.md +2 -1
- data/docs/TrusteeBillingOverview.md +1 -0
- data/docs/UserAggregateDataContainer.md +14 -0
- data/docs/UserAggregateQueryClause.md +14 -0
- data/docs/UserAggregateQueryFilter.md +15 -0
- data/docs/UserAggregateQueryPredicate.md +17 -0
- data/docs/{PresenceQueryResponse.md → UserAggregateQueryResponse.md} +3 -3
- data/docs/UserAggregationQuery.md +20 -0
- data/docs/UserAggregationView.md +16 -0
- data/docs/UserAuthorization.md +1 -1
- data/docs/UserDetailQueryClause.md +14 -0
- data/docs/UserDetailQueryFilter.md +15 -0
- data/docs/UserDetailQueryPredicate.md +17 -0
- data/docs/UserDetailsQuery.md +4 -4
- data/docs/UserObservationDataContainer.md +14 -0
- data/docs/UserObservationQuery.md +15 -0
- data/docs/UserObservationQueryClause.md +14 -0
- data/docs/UserObservationQueryFilter.md +15 -0
- data/docs/UserObservationQueryPredicate.md +17 -0
- data/docs/UserObservationQueryResponse.md +13 -0
- data/docs/UsersApi.md +10 -10
- data/docs/UtilitiesApi.md +59 -0
- data/lib/purecloudplatformclientv2.rb +99 -13
- data/lib/purecloudplatformclientv2/api/analytics_api.rb +24 -24
- data/lib/purecloudplatformclientv2/api/authorization_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/conversations_api.rb +343 -3
- data/lib/purecloudplatformclientv2/api/flows_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/locations_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/objects_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/quality_api.rb +6 -6
- data/lib/purecloudplatformclientv2/api/recording_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/routing_api.rb +3 -3
- data/lib/purecloudplatformclientv2/api/scim_api.rb +344 -30
- data/lib/purecloudplatformclientv2/api/search_api.rb +2 -2
- data/lib/purecloudplatformclientv2/api/telephony_api.rb +270 -0
- data/lib/purecloudplatformclientv2/api/telephony_providers_edge_api.rb +4 -4
- data/lib/purecloudplatformclientv2/api/users_api.rb +8 -8
- data/lib/purecloudplatformclientv2/api/utilities_api.rb +55 -0
- data/lib/purecloudplatformclientv2/api_client.rb +1 -1
- data/lib/purecloudplatformclientv2/models/aggregate_metric_data.rb +1 -15
- data/lib/purecloudplatformclientv2/models/analytics_evaluation.rb +53 -1
- data/lib/purecloudplatformclientv2/models/analytics_participant.rb +31 -3
- data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_dependency_tracking_build_notification_dependency_tracking_build_notification.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_flow_outcome_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/architect_prompt_notification_architect_operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/architect_prompt_notification_client.rb +226 -0
- data/lib/purecloudplatformclientv2/models/array_node.rb +51 -51
- data/lib/purecloudplatformclientv2/models/async_conversation_query.rb +57 -31
- data/lib/purecloudplatformclientv2/models/call_conversation.rb +27 -1
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/{analytics_query_clause.rb → conversation_aggregate_query_clause.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/{analytics_query_filter.rb → conversation_aggregate_query_filter.rb} +4 -4
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/conversation_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/conversation_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/conversation_query.rb +28 -28
- data/lib/purecloudplatformclientv2/models/create_queue_media_association_request.rb +27 -1
- data/lib/purecloudplatformclientv2/models/data_schema.rb +1 -1
- data/lib/purecloudplatformclientv2/models/dependency_status.rb +28 -1
- data/lib/purecloudplatformclientv2/models/domain_organization_role.rb +1 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_create.rb +1 -0
- data/lib/purecloudplatformclientv2/models/domain_organization_role_update.rb +1 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_query.rb +430 -0
- data/lib/purecloudplatformclientv2/models/evaluation_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/evaluation_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/event_message.rb +2 -2
- data/lib/purecloudplatformclientv2/models/flow.rb +28 -1
- data/lib/purecloudplatformclientv2/models/{aggregate_data_container.rb → flow_aggregate_data_container.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/flow_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{aggregate_query_response.rb → flow_aggregate_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/{aggregation_query.rb → flow_aggregation_query.rb} +3 -3
- data/lib/purecloudplatformclientv2/models/flow_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/{observation_data_container.rb → flow_observation_data_container.rb} +1 -1
- data/lib/purecloudplatformclientv2/models/{observation_query.rb → flow_observation_query.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/flow_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/flow_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/flow_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{observation_query_response.rb → flow_observation_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/flow_version.rb +26 -1
- data/lib/purecloudplatformclientv2/models/history_entry.rb +28 -1
- data/lib/purecloudplatformclientv2/models/history_listing.rb +26 -1
- data/lib/purecloudplatformclientv2/models/homer_record.rb +1501 -0
- data/lib/purecloudplatformclientv2/models/ip_address_range.rb +265 -0
- data/lib/purecloudplatformclientv2/models/ip_address_range_listing.rb +203 -0
- data/lib/purecloudplatformclientv2/models/json_node.rb +51 -51
- data/lib/purecloudplatformclientv2/models/location.rb +4 -0
- data/lib/purecloudplatformclientv2/models/{location_update_definition.rb → location_create_update_definition.rb} +56 -25
- data/lib/purecloudplatformclientv2/models/location_definition.rb +27 -1
- data/lib/purecloudplatformclientv2/models/location_search_request.rb +29 -1
- data/lib/purecloudplatformclientv2/models/manager.rb +1 -1
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/media_endpoint_stat_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/message_info.rb +4 -0
- data/lib/purecloudplatformclientv2/models/observation_metric_data.rb +1 -15
- data/lib/purecloudplatformclientv2/models/operation.rb +26 -1
- data/lib/purecloudplatformclientv2/models/presence_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/presence_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/presence_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/queue_media_association.rb +17 -17
- data/lib/purecloudplatformclientv2/models/queue_observation_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query.rb +263 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/queue_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{qualifier_mapping_observation_query_response.rb → queue_observation_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/recording.rb +31 -3
- data/lib/purecloudplatformclientv2/models/recording_job.rb +30 -4
- data/lib/purecloudplatformclientv2/models/recording_jobs_query.rb +2 -2
- data/lib/purecloudplatformclientv2/models/recording_metadata.rb +670 -0
- data/lib/purecloudplatformclientv2/models/reporting_export_job_request.rb +58 -6
- data/lib/purecloudplatformclientv2/models/reporting_export_job_response.rb +55 -3
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/routing_status_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type.rb +389 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_type_schema_extension.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_config_resource_types_list_response.rb +311 -0
- data/lib/purecloudplatformclientv2/models/scim_error.rb +297 -0
- data/lib/purecloudplatformclientv2/models/scim_group_list_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_metadata.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_phone_number.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config.rb +216 -3
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_authentication_scheme.rb +362 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_bulk_feature.rb +255 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_filter_feature.rb +229 -0
- data/lib/purecloudplatformclientv2/models/scim_service_provider_config_simple_feature.rb +203 -0
- data/lib/purecloudplatformclientv2/models/scim_user_list_response.rb +2 -2
- data/lib/purecloudplatformclientv2/models/scim_v2_create_user.rb +8 -8
- data/lib/purecloudplatformclientv2/models/scim_v2_group.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_group_reference.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_v2_member_reference.rb +4 -4
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_operation.rb +3 -3
- data/lib/purecloudplatformclientv2/models/scim_v2_patch_request.rb +2 -1
- data/lib/purecloudplatformclientv2/models/scim_v2_user.rb +9 -9
- data/lib/purecloudplatformclientv2/models/segment_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/segment_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/{analytics_query_predicate.rb → segment_detail_query_predicate.rb} +7 -7
- data/lib/purecloudplatformclientv2/models/signed_url_response.rb +279 -0
- data/lib/purecloudplatformclientv2/models/sip_download_response.rb +228 -0
- data/lib/purecloudplatformclientv2/models/sip_search_public_request.rb +445 -0
- data/lib/purecloudplatformclientv2/models/sip_search_result.rb +386 -0
- data/lib/purecloudplatformclientv2/models/site.rb +26 -1
- data/lib/purecloudplatformclientv2/models/sms_phone_number.rb +41 -1
- data/lib/purecloudplatformclientv2/models/subject_division_grants.rb +2 -2
- data/lib/purecloudplatformclientv2/models/survey_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregate_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/survey_aggregation_view.rb +323 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/survey_detail_query_predicate.rb +388 -0
- data/lib/purecloudplatformclientv2/models/system_message_system_message.rb +4 -4
- data/lib/purecloudplatformclientv2/models/trustee_billing_overview.rb +27 -1
- data/lib/purecloudplatformclientv2/models/user_aggregate_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_aggregate_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/{presence_query_response.rb → user_aggregate_query_response.rb} +2 -2
- data/lib/purecloudplatformclientv2/models/user_aggregation_query.rb +390 -0
- data/lib/purecloudplatformclientv2/models/{analytics_view.rb → user_aggregation_view.rb} +17 -3
- data/lib/purecloudplatformclientv2/models/user_authorization.rb +1 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_detail_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/user_details_query.rb +37 -38
- data/lib/purecloudplatformclientv2/models/user_observation_data_container.rb +231 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query.rb +263 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_clause.rb +254 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_filter.rb +277 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_predicate.rb +348 -0
- data/lib/purecloudplatformclientv2/models/user_observation_query_response.rb +203 -0
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +200 -28
- data/docs/AggregateQueryResponse.md +0 -13
- data/docs/AnalyticsQueryClause.md +0 -14
- data/docs/AnalyticsQueryFilter.md +0 -15
- data/docs/ObservationQueryResponse.md +0 -13
|
@@ -912,7 +912,7 @@ module PureCloud
|
|
|
912
912
|
# Get the organization role specified by its ID.
|
|
913
913
|
# @param role_id Role ID
|
|
914
914
|
# @param [Hash] opts the optional parameters
|
|
915
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand.
|
|
915
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand. \"unusedPermissions\" returns the permissions not used for the role
|
|
916
916
|
# @return [DomainOrganizationRole]
|
|
917
917
|
def get_authorization_role(role_id, opts = {})
|
|
918
918
|
data, _status_code, _headers = get_authorization_role_with_http_info(role_id, opts)
|
|
@@ -923,7 +923,7 @@ module PureCloud
|
|
|
923
923
|
# Get the organization role specified by its ID.
|
|
924
924
|
# @param role_id Role ID
|
|
925
925
|
# @param [Hash] opts the optional parameters
|
|
926
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand.
|
|
926
|
+
# @option opts [Array<String>] :expand Which fields, if any, to expand. \"unusedPermissions\" returns the permissions not used for the role
|
|
927
927
|
# @return [Array<(DomainOrganizationRole, Fixnum, Hash)>] DomainOrganizationRole data, response status code and response headers
|
|
928
928
|
def get_authorization_role_with_http_info(role_id, opts = {})
|
|
929
929
|
if @api_client.config.debugging
|
|
@@ -1774,8 +1774,8 @@ module PureCloud
|
|
|
1774
1774
|
fail ArgumentError, "Missing the required parameter 'object_type' when calling AuthorizationApi.post_authorization_division_object" if object_type.nil?
|
|
1775
1775
|
|
|
1776
1776
|
# verify enum value
|
|
1777
|
-
unless ['QUEUE', 'CAMPAIGN', 'CONTACTLIST', 'DNCLIST', 'MANAGEMENTUNIT', 'BUSINESSUNIT', 'FLOW', 'USER'].include?(object_type)
|
|
1778
|
-
fail ArgumentError, "invalid value for 'object_type', must be one of QUEUE, CAMPAIGN, CONTACTLIST, DNCLIST, MANAGEMENTUNIT, BUSINESSUNIT, FLOW, USER"
|
|
1777
|
+
unless ['QUEUE', 'CAMPAIGN', 'CONTACTLIST', 'DNCLIST', 'MESSAGINGCAMPAIGN', 'MANAGEMENTUNIT', 'BUSINESSUNIT', 'FLOW', 'USER'].include?(object_type)
|
|
1778
|
+
fail ArgumentError, "invalid value for 'object_type', must be one of QUEUE, CAMPAIGN, CONTACTLIST, DNCLIST, MESSAGINGCAMPAIGN, MANAGEMENTUNIT, BUSINESSUNIT, FLOW, USER"
|
|
1779
1779
|
end
|
|
1780
1780
|
|
|
1781
1781
|
|
|
@@ -1896,7 +1896,7 @@ module PureCloud
|
|
|
1896
1896
|
# @param role_id Role ID
|
|
1897
1897
|
# @param body Subjects and Divisions
|
|
1898
1898
|
# @param [Hash] opts the optional parameters
|
|
1899
|
-
# @option opts [String] :subject_type what the type of the
|
|
1899
|
+
# @option opts [String] :subject_type what the type of the subjects are (PC_GROUP, PC_USER or PC_OAUTH_CLIENT) (default to PC_USER)
|
|
1900
1900
|
# @return [nil]
|
|
1901
1901
|
def post_authorization_role(role_id, body, opts = {})
|
|
1902
1902
|
post_authorization_role_with_http_info(role_id, body, opts)
|
|
@@ -1908,7 +1908,7 @@ module PureCloud
|
|
|
1908
1908
|
# @param role_id Role ID
|
|
1909
1909
|
# @param body Subjects and Divisions
|
|
1910
1910
|
# @param [Hash] opts the optional parameters
|
|
1911
|
-
# @option opts [String] :subject_type what the type of the
|
|
1911
|
+
# @option opts [String] :subject_type what the type of the subjects are (PC_GROUP, PC_USER or PC_OAUTH_CLIENT)
|
|
1912
1912
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
1913
1913
|
def post_authorization_role_with_http_info(role_id, body, opts = {})
|
|
1914
1914
|
if @api_client.config.debugging
|
|
@@ -2194,7 +2194,7 @@ module PureCloud
|
|
|
2194
2194
|
# @param division_id the id of the division to which to make the grant
|
|
2195
2195
|
# @param role_id the id of the role to grant
|
|
2196
2196
|
# @param [Hash] opts the optional parameters
|
|
2197
|
-
# @option opts [String] :subject_type what the type of the subject is
|
|
2197
|
+
# @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints) (default to PC_USER)
|
|
2198
2198
|
# @return [nil]
|
|
2199
2199
|
def post_authorization_subject_division_role(subject_id, division_id, role_id, opts = {})
|
|
2200
2200
|
post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts)
|
|
@@ -2207,7 +2207,7 @@ module PureCloud
|
|
|
2207
2207
|
# @param division_id the id of the division to which to make the grant
|
|
2208
2208
|
# @param role_id the id of the role to grant
|
|
2209
2209
|
# @param [Hash] opts the optional parameters
|
|
2210
|
-
# @option opts [String] :subject_type what the type of the subject is
|
|
2210
|
+
# @option opts [String] :subject_type what the type of the subject is: PC_GROUP, PC_USER or PC_OAUTH_CLIENT (note: for cross-org authorization, please use the Organization Authorization endpoints)
|
|
2211
2211
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
2212
2212
|
def post_authorization_subject_division_role_with_http_info(subject_id, division_id, role_id, opts = {})
|
|
2213
2213
|
if @api_client.config.debugging
|
|
@@ -2071,6 +2071,186 @@ module PureCloud
|
|
|
2071
2071
|
return data, status_code, headers
|
|
2072
2072
|
end
|
|
2073
2073
|
|
|
2074
|
+
# Get a web chat conversation message
|
|
2075
|
+
# The current user must be involved with the conversation to get its messages.
|
|
2076
|
+
# @param conversation_id conversationId
|
|
2077
|
+
# @param message_id messageId
|
|
2078
|
+
# @param [Hash] opts the optional parameters
|
|
2079
|
+
# @return [WebChatMessage]
|
|
2080
|
+
def get_conversations_chat_message(conversation_id, message_id, opts = {})
|
|
2081
|
+
data, _status_code, _headers = get_conversations_chat_message_with_http_info(conversation_id, message_id, opts)
|
|
2082
|
+
return data
|
|
2083
|
+
end
|
|
2084
|
+
|
|
2085
|
+
# Get a web chat conversation message
|
|
2086
|
+
# The current user must be involved with the conversation to get its messages.
|
|
2087
|
+
# @param conversation_id conversationId
|
|
2088
|
+
# @param message_id messageId
|
|
2089
|
+
# @param [Hash] opts the optional parameters
|
|
2090
|
+
# @return [Array<(WebChatMessage, Fixnum, Hash)>] WebChatMessage data, response status code and response headers
|
|
2091
|
+
def get_conversations_chat_message_with_http_info(conversation_id, message_id, opts = {})
|
|
2092
|
+
if @api_client.config.debugging
|
|
2093
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_message ..."
|
|
2094
|
+
end
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
# verify the required parameter 'conversation_id' is set
|
|
2098
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_chat_message" if conversation_id.nil?
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
|
|
2105
|
+
# verify the required parameter 'message_id' is set
|
|
2106
|
+
fail ArgumentError, "Missing the required parameter 'message_id' when calling ConversationsApi.get_conversations_chat_message" if message_id.nil?
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
|
|
2112
|
+
# resource path
|
|
2113
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/messages/{messageId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'messageId' + '}', message_id.to_s)
|
|
2114
|
+
|
|
2115
|
+
# query parameters
|
|
2116
|
+
query_params = {}
|
|
2117
|
+
|
|
2118
|
+
# header parameters
|
|
2119
|
+
header_params = {}
|
|
2120
|
+
|
|
2121
|
+
# HTTP header 'Accept' (if needed)
|
|
2122
|
+
local_header_accept = ['application/json']
|
|
2123
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2124
|
+
|
|
2125
|
+
# HTTP header 'Content-Type'
|
|
2126
|
+
local_header_content_type = ['application/json']
|
|
2127
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2128
|
+
|
|
2129
|
+
# form parameters
|
|
2130
|
+
form_params = {}
|
|
2131
|
+
|
|
2132
|
+
# http body (model)
|
|
2133
|
+
post_body = nil
|
|
2134
|
+
|
|
2135
|
+
auth_names = ['PureCloud OAuth']
|
|
2136
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2137
|
+
:header_params => header_params,
|
|
2138
|
+
:query_params => query_params,
|
|
2139
|
+
:form_params => form_params,
|
|
2140
|
+
:body => post_body,
|
|
2141
|
+
:auth_names => auth_names,
|
|
2142
|
+
:return_type => 'WebChatMessage')
|
|
2143
|
+
if @api_client.config.debugging
|
|
2144
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chat_message\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2145
|
+
end
|
|
2146
|
+
return data, status_code, headers
|
|
2147
|
+
end
|
|
2148
|
+
|
|
2149
|
+
# Get the messages of a chat conversation.
|
|
2150
|
+
# The current user must be involved with the conversation to get its messages.
|
|
2151
|
+
# @param conversation_id conversationId
|
|
2152
|
+
# @param [Hash] opts the optional parameters
|
|
2153
|
+
# @option opts [String] :after If specified, get the messages chronologically after the id of this message
|
|
2154
|
+
# @option opts [String] :before If specified, get the messages chronologically before the id of this message
|
|
2155
|
+
# @option opts [String] :sort_order Sort order (default to ascending)
|
|
2156
|
+
# @option opts [Integer] :max_results Limit the returned number of messages, up to a maximum of 100 (default to 100)
|
|
2157
|
+
# @return [WebChatMessageEntityList]
|
|
2158
|
+
def get_conversations_chat_messages(conversation_id, opts = {})
|
|
2159
|
+
data, _status_code, _headers = get_conversations_chat_messages_with_http_info(conversation_id, opts)
|
|
2160
|
+
return data
|
|
2161
|
+
end
|
|
2162
|
+
|
|
2163
|
+
# Get the messages of a chat conversation.
|
|
2164
|
+
# The current user must be involved with the conversation to get its messages.
|
|
2165
|
+
# @param conversation_id conversationId
|
|
2166
|
+
# @param [Hash] opts the optional parameters
|
|
2167
|
+
# @option opts [String] :after If specified, get the messages chronologically after the id of this message
|
|
2168
|
+
# @option opts [String] :before If specified, get the messages chronologically before the id of this message
|
|
2169
|
+
# @option opts [String] :sort_order Sort order
|
|
2170
|
+
# @option opts [Integer] :max_results Limit the returned number of messages, up to a maximum of 100
|
|
2171
|
+
# @return [Array<(WebChatMessageEntityList, Fixnum, Hash)>] WebChatMessageEntityList data, response status code and response headers
|
|
2172
|
+
def get_conversations_chat_messages_with_http_info(conversation_id, opts = {})
|
|
2173
|
+
if @api_client.config.debugging
|
|
2174
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.get_conversations_chat_messages ..."
|
|
2175
|
+
end
|
|
2176
|
+
|
|
2177
|
+
|
|
2178
|
+
# verify the required parameter 'conversation_id' is set
|
|
2179
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.get_conversations_chat_messages" if conversation_id.nil?
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
|
|
2194
|
+
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
if opts[:'sort_order'] && !['ascending', 'descending'].include?(opts[:'sort_order'])
|
|
2201
|
+
fail ArgumentError, 'invalid value for "sort_order", must be one of ascending, descending'
|
|
2202
|
+
end
|
|
2203
|
+
|
|
2204
|
+
|
|
2205
|
+
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
|
|
2209
|
+
|
|
2210
|
+
|
|
2211
|
+
|
|
2212
|
+
|
|
2213
|
+
# resource path
|
|
2214
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
2215
|
+
|
|
2216
|
+
# query parameters
|
|
2217
|
+
query_params = {}
|
|
2218
|
+
query_params[:'after'] = opts[:'after'] if opts[:'after']
|
|
2219
|
+
query_params[:'before'] = opts[:'before'] if opts[:'before']
|
|
2220
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
2221
|
+
query_params[:'maxResults'] = opts[:'max_results'] if opts[:'max_results']
|
|
2222
|
+
|
|
2223
|
+
# header parameters
|
|
2224
|
+
header_params = {}
|
|
2225
|
+
|
|
2226
|
+
# HTTP header 'Accept' (if needed)
|
|
2227
|
+
local_header_accept = ['application/json']
|
|
2228
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2229
|
+
|
|
2230
|
+
# HTTP header 'Content-Type'
|
|
2231
|
+
local_header_content_type = ['application/json']
|
|
2232
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2233
|
+
|
|
2234
|
+
# form parameters
|
|
2235
|
+
form_params = {}
|
|
2236
|
+
|
|
2237
|
+
# http body (model)
|
|
2238
|
+
post_body = nil
|
|
2239
|
+
|
|
2240
|
+
auth_names = ['PureCloud OAuth']
|
|
2241
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2242
|
+
:header_params => header_params,
|
|
2243
|
+
:query_params => query_params,
|
|
2244
|
+
:form_params => form_params,
|
|
2245
|
+
:body => post_body,
|
|
2246
|
+
:auth_names => auth_names,
|
|
2247
|
+
:return_type => 'WebChatMessageEntityList')
|
|
2248
|
+
if @api_client.config.debugging
|
|
2249
|
+
@api_client.config.logger.debug "API called: ConversationsApi#get_conversations_chat_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2250
|
+
end
|
|
2251
|
+
return data, status_code, headers
|
|
2252
|
+
end
|
|
2253
|
+
|
|
2074
2254
|
# Get the wrap-up for this conversation participant.
|
|
2075
2255
|
#
|
|
2076
2256
|
# @param conversation_id conversationId
|
|
@@ -6622,7 +6802,7 @@ module PureCloud
|
|
|
6622
6802
|
#
|
|
6623
6803
|
# @param body query
|
|
6624
6804
|
# @param [Hash] opts the optional parameters
|
|
6625
|
-
# @return [
|
|
6805
|
+
# @return [ConversationAggregateQueryResponse]
|
|
6626
6806
|
def post_analytics_conversations_aggregates_query(body, opts = {})
|
|
6627
6807
|
data, _status_code, _headers = post_analytics_conversations_aggregates_query_with_http_info(body, opts)
|
|
6628
6808
|
return data
|
|
@@ -6632,7 +6812,7 @@ module PureCloud
|
|
|
6632
6812
|
#
|
|
6633
6813
|
# @param body query
|
|
6634
6814
|
# @param [Hash] opts the optional parameters
|
|
6635
|
-
# @return [Array<(
|
|
6815
|
+
# @return [Array<(ConversationAggregateQueryResponse, Fixnum, Hash)>] ConversationAggregateQueryResponse data, response status code and response headers
|
|
6636
6816
|
def post_analytics_conversations_aggregates_query_with_http_info(body, opts = {})
|
|
6637
6817
|
if @api_client.config.debugging
|
|
6638
6818
|
@api_client.config.logger.debug "Calling API: ConversationsApi.post_analytics_conversations_aggregates_query ..."
|
|
@@ -6676,7 +6856,7 @@ module PureCloud
|
|
|
6676
6856
|
:form_params => form_params,
|
|
6677
6857
|
:body => post_body,
|
|
6678
6858
|
:auth_names => auth_names,
|
|
6679
|
-
:return_type => '
|
|
6859
|
+
:return_type => 'ConversationAggregateQueryResponse')
|
|
6680
6860
|
if @api_client.config.debugging
|
|
6681
6861
|
@api_client.config.logger.debug "API called: ConversationsApi#post_analytics_conversations_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
6682
6862
|
end
|
|
@@ -7816,6 +7996,166 @@ module PureCloud
|
|
|
7816
7996
|
return data, status_code, headers
|
|
7817
7997
|
end
|
|
7818
7998
|
|
|
7999
|
+
# Send a message on behalf of a communication in a chat conversation.
|
|
8000
|
+
#
|
|
8001
|
+
# @param conversation_id conversationId
|
|
8002
|
+
# @param communication_id communicationId
|
|
8003
|
+
# @param body Message
|
|
8004
|
+
# @param [Hash] opts the optional parameters
|
|
8005
|
+
# @return [WebChatMessage]
|
|
8006
|
+
def post_conversations_chat_communication_messages(conversation_id, communication_id, body, opts = {})
|
|
8007
|
+
data, _status_code, _headers = post_conversations_chat_communication_messages_with_http_info(conversation_id, communication_id, body, opts)
|
|
8008
|
+
return data
|
|
8009
|
+
end
|
|
8010
|
+
|
|
8011
|
+
# Send a message on behalf of a communication in a chat conversation.
|
|
8012
|
+
#
|
|
8013
|
+
# @param conversation_id conversationId
|
|
8014
|
+
# @param communication_id communicationId
|
|
8015
|
+
# @param body Message
|
|
8016
|
+
# @param [Hash] opts the optional parameters
|
|
8017
|
+
# @return [Array<(WebChatMessage, Fixnum, Hash)>] WebChatMessage data, response status code and response headers
|
|
8018
|
+
def post_conversations_chat_communication_messages_with_http_info(conversation_id, communication_id, body, opts = {})
|
|
8019
|
+
if @api_client.config.debugging
|
|
8020
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_chat_communication_messages ..."
|
|
8021
|
+
end
|
|
8022
|
+
|
|
8023
|
+
|
|
8024
|
+
# verify the required parameter 'conversation_id' is set
|
|
8025
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_chat_communication_messages" if conversation_id.nil?
|
|
8026
|
+
|
|
8027
|
+
|
|
8028
|
+
|
|
8029
|
+
|
|
8030
|
+
|
|
8031
|
+
|
|
8032
|
+
# verify the required parameter 'communication_id' is set
|
|
8033
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.post_conversations_chat_communication_messages" if communication_id.nil?
|
|
8034
|
+
|
|
8035
|
+
|
|
8036
|
+
|
|
8037
|
+
|
|
8038
|
+
|
|
8039
|
+
|
|
8040
|
+
# verify the required parameter 'body' is set
|
|
8041
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling ConversationsApi.post_conversations_chat_communication_messages" if body.nil?
|
|
8042
|
+
|
|
8043
|
+
|
|
8044
|
+
|
|
8045
|
+
|
|
8046
|
+
|
|
8047
|
+
# resource path
|
|
8048
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/messages".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
8049
|
+
|
|
8050
|
+
# query parameters
|
|
8051
|
+
query_params = {}
|
|
8052
|
+
|
|
8053
|
+
# header parameters
|
|
8054
|
+
header_params = {}
|
|
8055
|
+
|
|
8056
|
+
# HTTP header 'Accept' (if needed)
|
|
8057
|
+
local_header_accept = ['application/json']
|
|
8058
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
8059
|
+
|
|
8060
|
+
# HTTP header 'Content-Type'
|
|
8061
|
+
local_header_content_type = ['application/json']
|
|
8062
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
8063
|
+
|
|
8064
|
+
# form parameters
|
|
8065
|
+
form_params = {}
|
|
8066
|
+
|
|
8067
|
+
# http body (model)
|
|
8068
|
+
post_body = @api_client.object_to_http_body(body)
|
|
8069
|
+
|
|
8070
|
+
auth_names = ['PureCloud OAuth']
|
|
8071
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
8072
|
+
:header_params => header_params,
|
|
8073
|
+
:query_params => query_params,
|
|
8074
|
+
:form_params => form_params,
|
|
8075
|
+
:body => post_body,
|
|
8076
|
+
:auth_names => auth_names,
|
|
8077
|
+
:return_type => 'WebChatMessage')
|
|
8078
|
+
if @api_client.config.debugging
|
|
8079
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_chat_communication_messages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8080
|
+
end
|
|
8081
|
+
return data, status_code, headers
|
|
8082
|
+
end
|
|
8083
|
+
|
|
8084
|
+
# Send a typing-indicator on behalf of a communication in a chat conversation.
|
|
8085
|
+
#
|
|
8086
|
+
# @param conversation_id conversationId
|
|
8087
|
+
# @param communication_id communicationId
|
|
8088
|
+
# @param [Hash] opts the optional parameters
|
|
8089
|
+
# @return [WebChatTyping]
|
|
8090
|
+
def post_conversations_chat_communication_typing(conversation_id, communication_id, opts = {})
|
|
8091
|
+
data, _status_code, _headers = post_conversations_chat_communication_typing_with_http_info(conversation_id, communication_id, opts)
|
|
8092
|
+
return data
|
|
8093
|
+
end
|
|
8094
|
+
|
|
8095
|
+
# Send a typing-indicator on behalf of a communication in a chat conversation.
|
|
8096
|
+
#
|
|
8097
|
+
# @param conversation_id conversationId
|
|
8098
|
+
# @param communication_id communicationId
|
|
8099
|
+
# @param [Hash] opts the optional parameters
|
|
8100
|
+
# @return [Array<(WebChatTyping, Fixnum, Hash)>] WebChatTyping data, response status code and response headers
|
|
8101
|
+
def post_conversations_chat_communication_typing_with_http_info(conversation_id, communication_id, opts = {})
|
|
8102
|
+
if @api_client.config.debugging
|
|
8103
|
+
@api_client.config.logger.debug "Calling API: ConversationsApi.post_conversations_chat_communication_typing ..."
|
|
8104
|
+
end
|
|
8105
|
+
|
|
8106
|
+
|
|
8107
|
+
# verify the required parameter 'conversation_id' is set
|
|
8108
|
+
fail ArgumentError, "Missing the required parameter 'conversation_id' when calling ConversationsApi.post_conversations_chat_communication_typing" if conversation_id.nil?
|
|
8109
|
+
|
|
8110
|
+
|
|
8111
|
+
|
|
8112
|
+
|
|
8113
|
+
|
|
8114
|
+
|
|
8115
|
+
# verify the required parameter 'communication_id' is set
|
|
8116
|
+
fail ArgumentError, "Missing the required parameter 'communication_id' when calling ConversationsApi.post_conversations_chat_communication_typing" if communication_id.nil?
|
|
8117
|
+
|
|
8118
|
+
|
|
8119
|
+
|
|
8120
|
+
|
|
8121
|
+
|
|
8122
|
+
# resource path
|
|
8123
|
+
local_var_path = "/api/v2/conversations/chats/{conversationId}/communications/{communicationId}/typing".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'communicationId' + '}', communication_id.to_s)
|
|
8124
|
+
|
|
8125
|
+
# query parameters
|
|
8126
|
+
query_params = {}
|
|
8127
|
+
|
|
8128
|
+
# header parameters
|
|
8129
|
+
header_params = {}
|
|
8130
|
+
|
|
8131
|
+
# HTTP header 'Accept' (if needed)
|
|
8132
|
+
local_header_accept = ['application/json']
|
|
8133
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
8134
|
+
|
|
8135
|
+
# HTTP header 'Content-Type'
|
|
8136
|
+
local_header_content_type = ['application/json']
|
|
8137
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
8138
|
+
|
|
8139
|
+
# form parameters
|
|
8140
|
+
form_params = {}
|
|
8141
|
+
|
|
8142
|
+
# http body (model)
|
|
8143
|
+
post_body = nil
|
|
8144
|
+
|
|
8145
|
+
auth_names = ['PureCloud OAuth']
|
|
8146
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
8147
|
+
:header_params => header_params,
|
|
8148
|
+
:query_params => query_params,
|
|
8149
|
+
:form_params => form_params,
|
|
8150
|
+
:body => post_body,
|
|
8151
|
+
:auth_names => auth_names,
|
|
8152
|
+
:return_type => 'WebChatTyping')
|
|
8153
|
+
if @api_client.config.debugging
|
|
8154
|
+
@api_client.config.logger.debug "API called: ConversationsApi#post_conversations_chat_communication_typing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
8155
|
+
end
|
|
8156
|
+
return data, status_code, headers
|
|
8157
|
+
end
|
|
8158
|
+
|
|
7819
8159
|
# Replace this participant with the specified user and/or address
|
|
7820
8160
|
#
|
|
7821
8161
|
# @param conversation_id conversationId
|
|
@@ -28,7 +28,7 @@ module PureCloud
|
|
|
28
28
|
#
|
|
29
29
|
# @param body query
|
|
30
30
|
# @param [Hash] opts the optional parameters
|
|
31
|
-
# @return [
|
|
31
|
+
# @return [FlowAggregateQueryResponse]
|
|
32
32
|
def post_analytics_flows_aggregates_query(body, opts = {})
|
|
33
33
|
data, _status_code, _headers = post_analytics_flows_aggregates_query_with_http_info(body, opts)
|
|
34
34
|
return data
|
|
@@ -38,7 +38,7 @@ module PureCloud
|
|
|
38
38
|
#
|
|
39
39
|
# @param body query
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [Array<(
|
|
41
|
+
# @return [Array<(FlowAggregateQueryResponse, Fixnum, Hash)>] FlowAggregateQueryResponse data, response status code and response headers
|
|
42
42
|
def post_analytics_flows_aggregates_query_with_http_info(body, opts = {})
|
|
43
43
|
if @api_client.config.debugging
|
|
44
44
|
@api_client.config.logger.debug "Calling API: FlowsApi.post_analytics_flows_aggregates_query ..."
|
|
@@ -82,7 +82,7 @@ module PureCloud
|
|
|
82
82
|
:form_params => form_params,
|
|
83
83
|
:body => post_body,
|
|
84
84
|
:auth_names => auth_names,
|
|
85
|
-
:return_type => '
|
|
85
|
+
:return_type => 'FlowAggregateQueryResponse')
|
|
86
86
|
if @api_client.config.debugging
|
|
87
87
|
@api_client.config.logger.debug "API called: FlowsApi#post_analytics_flows_aggregates_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
@@ -93,7 +93,7 @@ module PureCloud
|
|
|
93
93
|
#
|
|
94
94
|
# @param body query
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @return [
|
|
96
|
+
# @return [FlowObservationQueryResponse]
|
|
97
97
|
def post_analytics_flows_observations_query(body, opts = {})
|
|
98
98
|
data, _status_code, _headers = post_analytics_flows_observations_query_with_http_info(body, opts)
|
|
99
99
|
return data
|
|
@@ -103,7 +103,7 @@ module PureCloud
|
|
|
103
103
|
#
|
|
104
104
|
# @param body query
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
|
-
# @return [Array<(
|
|
106
|
+
# @return [Array<(FlowObservationQueryResponse, Fixnum, Hash)>] FlowObservationQueryResponse data, response status code and response headers
|
|
107
107
|
def post_analytics_flows_observations_query_with_http_info(body, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
109
|
@api_client.config.logger.debug "Calling API: FlowsApi.post_analytics_flows_observations_query ..."
|
|
@@ -147,7 +147,7 @@ module PureCloud
|
|
|
147
147
|
:form_params => form_params,
|
|
148
148
|
:body => post_body,
|
|
149
149
|
:auth_names => auth_names,
|
|
150
|
-
:return_type => '
|
|
150
|
+
:return_type => 'FlowObservationQueryResponse')
|
|
151
151
|
if @api_client.config.debugging
|
|
152
152
|
@api_client.config.logger.debug "API called: FlowsApi#post_analytics_flows_observations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
153
153
|
end
|