purecloudplatformclientv2 2.0.40 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -3852,6 +3852,64 @@ module PureCloud
|
|
3852
3852
|
return data, status_code, headers
|
3853
3853
|
end
|
3854
3854
|
|
3855
|
+
# Get physical interfaces for edges.
|
3856
|
+
# Retrieves a list of all configured physical interfaces for a list of edges. Only 100 edges can be requested at a time.
|
3857
|
+
# @param edge_ids Comma separated list of Edge Id's
|
3858
|
+
# @param [Hash] opts the optional parameters
|
3859
|
+
# @return [Array<DomainPhysicalInterface>]
|
3860
|
+
def get_telephony_providers_edges_physicalinterfaces(edge_ids, opts = {})
|
3861
|
+
data, _status_code, _headers = get_telephony_providers_edges_physicalinterfaces_with_http_info(edge_ids, opts)
|
3862
|
+
return data
|
3863
|
+
end
|
3864
|
+
|
3865
|
+
# Get physical interfaces for edges.
|
3866
|
+
# Retrieves a list of all configured physical interfaces for a list of edges. Only 100 edges can be requested at a time.
|
3867
|
+
# @param edge_ids Comma separated list of Edge Id's
|
3868
|
+
# @param [Hash] opts the optional parameters
|
3869
|
+
# @return [Array<(Array<DomainPhysicalInterface>, Fixnum, Hash)>] Array<DomainPhysicalInterface> data, response status code and response headers
|
3870
|
+
def get_telephony_providers_edges_physicalinterfaces_with_http_info(edge_ids, opts = {})
|
3871
|
+
if @api_client.config.debugging
|
3872
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi.get_telephony_providers_edges_physicalinterfaces ..."
|
3873
|
+
end
|
3874
|
+
# verify the required parameter 'edge_ids' is set
|
3875
|
+
fail ArgumentError, "Missing the required parameter 'edge_ids' when calling TelephonyProvidersEdgeApi.get_telephony_providers_edges_physicalinterfaces" if edge_ids.nil?
|
3876
|
+
# resource path
|
3877
|
+
local_var_path = "/api/v2/telephony/providers/edges/physicalinterfaces".sub('{format}','json')
|
3878
|
+
|
3879
|
+
# query parameters
|
3880
|
+
query_params = {}
|
3881
|
+
query_params[:'edgeIds'] = edge_ids
|
3882
|
+
|
3883
|
+
# header parameters
|
3884
|
+
header_params = {}
|
3885
|
+
|
3886
|
+
# HTTP header 'Accept' (if needed)
|
3887
|
+
local_header_accept = ['application/json']
|
3888
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
3889
|
+
|
3890
|
+
# HTTP header 'Content-Type'
|
3891
|
+
local_header_content_type = ['application/json']
|
3892
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
3893
|
+
|
3894
|
+
# form parameters
|
3895
|
+
form_params = {}
|
3896
|
+
|
3897
|
+
# http body (model)
|
3898
|
+
post_body = nil
|
3899
|
+
auth_names = ['PureCloud Auth']
|
3900
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3901
|
+
:header_params => header_params,
|
3902
|
+
:query_params => query_params,
|
3903
|
+
:form_params => form_params,
|
3904
|
+
:body => post_body,
|
3905
|
+
:auth_names => auth_names,
|
3906
|
+
:return_type => 'Array<DomainPhysicalInterface>')
|
3907
|
+
if @api_client.config.debugging
|
3908
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_telephony_providers_edges_physicalinterfaces\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3909
|
+
end
|
3910
|
+
return data, status_code, headers
|
3911
|
+
end
|
3912
|
+
|
3855
3913
|
# Get a Site by ID.
|
3856
3914
|
#
|
3857
3915
|
# @param site_id Site ID
|
@@ -139,6 +139,68 @@ module PureCloud
|
|
139
139
|
return data, status_code, headers
|
140
140
|
end
|
141
141
|
|
142
|
+
# Get intraday queues for the given date
|
143
|
+
#
|
144
|
+
# @param mu_id The muId of the management unit.
|
145
|
+
# @param date ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23
|
146
|
+
# @param [Hash] opts the optional parameters
|
147
|
+
# @return [WfmIntradayQueueListing]
|
148
|
+
def get_workforcemanagement_managementunit_intraday_queues(mu_id, date, opts = {})
|
149
|
+
data, _status_code, _headers = get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, date, opts)
|
150
|
+
return data
|
151
|
+
end
|
152
|
+
|
153
|
+
# Get intraday queues for the given date
|
154
|
+
#
|
155
|
+
# @param mu_id The muId of the management unit.
|
156
|
+
# @param date ISO-8601 date string with no time or timezone component, interpreted in the configured management unit time zone, e.g. 2017-01-23
|
157
|
+
# @param [Hash] opts the optional parameters
|
158
|
+
# @return [Array<(WfmIntradayQueueListing, Fixnum, Hash)>] WfmIntradayQueueListing data, response status code and response headers
|
159
|
+
def get_workforcemanagement_managementunit_intraday_queues_with_http_info(mu_id, date, opts = {})
|
160
|
+
if @api_client.config.debugging
|
161
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues ..."
|
162
|
+
end
|
163
|
+
# verify the required parameter 'mu_id' is set
|
164
|
+
fail ArgumentError, "Missing the required parameter 'mu_id' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues" if mu_id.nil?
|
165
|
+
# verify the required parameter 'date' is set
|
166
|
+
fail ArgumentError, "Missing the required parameter 'date' when calling WorkforceManagementApi.get_workforcemanagement_managementunit_intraday_queues" if date.nil?
|
167
|
+
# resource path
|
168
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday/queues".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
169
|
+
|
170
|
+
# query parameters
|
171
|
+
query_params = {}
|
172
|
+
query_params[:'date'] = date
|
173
|
+
|
174
|
+
# header parameters
|
175
|
+
header_params = {}
|
176
|
+
|
177
|
+
# HTTP header 'Accept' (if needed)
|
178
|
+
local_header_accept = ['application/json']
|
179
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
180
|
+
|
181
|
+
# HTTP header 'Content-Type'
|
182
|
+
local_header_content_type = ['application/json']
|
183
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
184
|
+
|
185
|
+
# form parameters
|
186
|
+
form_params = {}
|
187
|
+
|
188
|
+
# http body (model)
|
189
|
+
post_body = nil
|
190
|
+
auth_names = ['PureCloud Auth']
|
191
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
192
|
+
:header_params => header_params,
|
193
|
+
:query_params => query_params,
|
194
|
+
:form_params => form_params,
|
195
|
+
:body => post_body,
|
196
|
+
:auth_names => auth_names,
|
197
|
+
:return_type => 'WfmIntradayQueueListing')
|
198
|
+
if @api_client.config.debugging
|
199
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_workforcemanagement_managementunit_intraday_queues\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
200
|
+
end
|
201
|
+
return data, status_code, headers
|
202
|
+
end
|
203
|
+
|
142
204
|
# Get a time off request by id
|
143
205
|
#
|
144
206
|
# @param mu_id The muId of the management unit.
|
@@ -558,6 +620,65 @@ module PureCloud
|
|
558
620
|
return data, status_code, headers
|
559
621
|
end
|
560
622
|
|
623
|
+
# Get intraday data for the given date for the requested queueIds
|
624
|
+
#
|
625
|
+
# @param mu_id The muId of the management unit.
|
626
|
+
# @param [Hash] opts the optional parameters
|
627
|
+
# @option opts [IntradayQueryDataCommand] :body body
|
628
|
+
# @return [IntradayResponse]
|
629
|
+
def post_workforcemanagement_managementunit_intraday(mu_id, opts = {})
|
630
|
+
data, _status_code, _headers = post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts)
|
631
|
+
return data
|
632
|
+
end
|
633
|
+
|
634
|
+
# Get intraday data for the given date for the requested queueIds
|
635
|
+
#
|
636
|
+
# @param mu_id The muId of the management unit.
|
637
|
+
# @param [Hash] opts the optional parameters
|
638
|
+
# @option opts [IntradayQueryDataCommand] :body body
|
639
|
+
# @return [Array<(IntradayResponse, Fixnum, Hash)>] IntradayResponse data, response status code and response headers
|
640
|
+
def post_workforcemanagement_managementunit_intraday_with_http_info(mu_id, opts = {})
|
641
|
+
if @api_client.config.debugging
|
642
|
+
@api_client.config.logger.debug "Calling API: WorkforceManagementApi.post_workforcemanagement_managementunit_intraday ..."
|
643
|
+
end
|
644
|
+
# verify the required parameter 'mu_id' is set
|
645
|
+
fail ArgumentError, "Missing the required parameter 'mu_id' when calling WorkforceManagementApi.post_workforcemanagement_managementunit_intraday" if mu_id.nil?
|
646
|
+
# resource path
|
647
|
+
local_var_path = "/api/v2/workforcemanagement/managementunits/{muId}/intraday".sub('{format}','json').sub('{' + 'muId' + '}', mu_id.to_s)
|
648
|
+
|
649
|
+
# query parameters
|
650
|
+
query_params = {}
|
651
|
+
|
652
|
+
# header parameters
|
653
|
+
header_params = {}
|
654
|
+
|
655
|
+
# HTTP header 'Accept' (if needed)
|
656
|
+
local_header_accept = ['application/json']
|
657
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
658
|
+
|
659
|
+
# HTTP header 'Content-Type'
|
660
|
+
local_header_content_type = ['application/json']
|
661
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
662
|
+
|
663
|
+
# form parameters
|
664
|
+
form_params = {}
|
665
|
+
|
666
|
+
# http body (model)
|
667
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
668
|
+
auth_names = ['PureCloud Auth']
|
669
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
670
|
+
:header_params => header_params,
|
671
|
+
:query_params => query_params,
|
672
|
+
:form_params => form_params,
|
673
|
+
:body => post_body,
|
674
|
+
:auth_names => auth_names,
|
675
|
+
:return_type => 'IntradayResponse')
|
676
|
+
if @api_client.config.debugging
|
677
|
+
@api_client.config.logger.debug "API called: WorkforceManagementApi#post_workforcemanagement_managementunit_intraday\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
678
|
+
end
|
679
|
+
return data, status_code, headers
|
680
|
+
end
|
681
|
+
|
561
682
|
# Get user schedules within the given time range
|
562
683
|
#
|
563
684
|
# @param mu_id The muId of the management unit.
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :next_uri
|
36
|
-
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,8 +48,8 @@ module PureCloud
|
|
48
48
|
:'self_uri' => :'selfUri',
|
49
49
|
:'first_uri' => :'firstUri',
|
50
50
|
:'previous_uri' => :'previousUri',
|
51
|
-
:'next_uri' => :'nextUri',
|
52
51
|
:'last_uri' => :'lastUri',
|
52
|
+
:'next_uri' => :'nextUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -64,8 +64,8 @@ module PureCloud
|
|
64
64
|
:'self_uri' => :'String',
|
65
65
|
:'first_uri' => :'String',
|
66
66
|
:'previous_uri' => :'String',
|
67
|
-
:'next_uri' => :'String',
|
68
67
|
:'last_uri' => :'String',
|
68
|
+
:'next_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -108,14 +108,14 @@ module PureCloud
|
|
108
108
|
self.previous_uri = attributes[:'previousUri']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.has_key?(:'nextUri')
|
112
|
-
self.next_uri = attributes[:'nextUri']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.has_key?(:'lastUri')
|
116
112
|
self.last_uri = attributes[:'lastUri']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.has_key?(:'nextUri')
|
116
|
+
self.next_uri = attributes[:'nextUri']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -146,8 +146,8 @@ module PureCloud
|
|
146
146
|
self_uri == o.self_uri &&
|
147
147
|
first_uri == o.first_uri &&
|
148
148
|
previous_uri == o.previous_uri &&
|
149
|
-
next_uri == o.next_uri &&
|
150
149
|
last_uri == o.last_uri &&
|
150
|
+
next_uri == o.next_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Fixnum] Hash code
|
162
162
|
def hash
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri,
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :next_uri
|
36
|
-
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,8 +48,8 @@ module PureCloud
|
|
48
48
|
:'self_uri' => :'selfUri',
|
49
49
|
:'first_uri' => :'firstUri',
|
50
50
|
:'previous_uri' => :'previousUri',
|
51
|
-
:'next_uri' => :'nextUri',
|
52
51
|
:'last_uri' => :'lastUri',
|
52
|
+
:'next_uri' => :'nextUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -64,8 +64,8 @@ module PureCloud
|
|
64
64
|
:'self_uri' => :'String',
|
65
65
|
:'first_uri' => :'String',
|
66
66
|
:'previous_uri' => :'String',
|
67
|
-
:'next_uri' => :'String',
|
68
67
|
:'last_uri' => :'String',
|
68
|
+
:'next_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -108,14 +108,14 @@ module PureCloud
|
|
108
108
|
self.previous_uri = attributes[:'previousUri']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.has_key?(:'nextUri')
|
112
|
-
self.next_uri = attributes[:'nextUri']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.has_key?(:'lastUri')
|
116
112
|
self.last_uri = attributes[:'lastUri']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.has_key?(:'nextUri')
|
116
|
+
self.next_uri = attributes[:'nextUri']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -146,8 +146,8 @@ module PureCloud
|
|
146
146
|
self_uri == o.self_uri &&
|
147
147
|
first_uri == o.first_uri &&
|
148
148
|
previous_uri == o.previous_uri &&
|
149
|
-
next_uri == o.next_uri &&
|
150
149
|
last_uri == o.last_uri &&
|
150
|
+
next_uri == o.next_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Fixnum] Hash code
|
162
162
|
def hash
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri,
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :next_uri
|
36
|
-
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,8 +48,8 @@ module PureCloud
|
|
48
48
|
:'self_uri' => :'selfUri',
|
49
49
|
:'first_uri' => :'firstUri',
|
50
50
|
:'previous_uri' => :'previousUri',
|
51
|
-
:'next_uri' => :'nextUri',
|
52
51
|
:'last_uri' => :'lastUri',
|
52
|
+
:'next_uri' => :'nextUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -64,8 +64,8 @@ module PureCloud
|
|
64
64
|
:'self_uri' => :'String',
|
65
65
|
:'first_uri' => :'String',
|
66
66
|
:'previous_uri' => :'String',
|
67
|
-
:'next_uri' => :'String',
|
68
67
|
:'last_uri' => :'String',
|
68
|
+
:'next_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -108,14 +108,14 @@ module PureCloud
|
|
108
108
|
self.previous_uri = attributes[:'previousUri']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.has_key?(:'nextUri')
|
112
|
-
self.next_uri = attributes[:'nextUri']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.has_key?(:'lastUri')
|
116
112
|
self.last_uri = attributes[:'lastUri']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.has_key?(:'nextUri')
|
116
|
+
self.next_uri = attributes[:'nextUri']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -146,8 +146,8 @@ module PureCloud
|
|
146
146
|
self_uri == o.self_uri &&
|
147
147
|
first_uri == o.first_uri &&
|
148
148
|
previous_uri == o.previous_uri &&
|
149
|
-
next_uri == o.next_uri &&
|
150
149
|
last_uri == o.last_uri &&
|
150
|
+
next_uri == o.next_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Fixnum] Hash code
|
162
162
|
def hash
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri,
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|
@@ -32,10 +32,10 @@ module PureCloud
|
|
32
32
|
|
33
33
|
attr_accessor :previous_uri
|
34
34
|
|
35
|
-
attr_accessor :next_uri
|
36
|
-
|
37
35
|
attr_accessor :last_uri
|
38
36
|
|
37
|
+
attr_accessor :next_uri
|
38
|
+
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -48,8 +48,8 @@ module PureCloud
|
|
48
48
|
:'self_uri' => :'selfUri',
|
49
49
|
:'first_uri' => :'firstUri',
|
50
50
|
:'previous_uri' => :'previousUri',
|
51
|
-
:'next_uri' => :'nextUri',
|
52
51
|
:'last_uri' => :'lastUri',
|
52
|
+
:'next_uri' => :'nextUri',
|
53
53
|
:'page_count' => :'pageCount'
|
54
54
|
}
|
55
55
|
end
|
@@ -64,8 +64,8 @@ module PureCloud
|
|
64
64
|
:'self_uri' => :'String',
|
65
65
|
:'first_uri' => :'String',
|
66
66
|
:'previous_uri' => :'String',
|
67
|
-
:'next_uri' => :'String',
|
68
67
|
:'last_uri' => :'String',
|
68
|
+
:'next_uri' => :'String',
|
69
69
|
:'page_count' => :'Integer'
|
70
70
|
}
|
71
71
|
end
|
@@ -108,14 +108,14 @@ module PureCloud
|
|
108
108
|
self.previous_uri = attributes[:'previousUri']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.has_key?(:'nextUri')
|
112
|
-
self.next_uri = attributes[:'nextUri']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.has_key?(:'lastUri')
|
116
112
|
self.last_uri = attributes[:'lastUri']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.has_key?(:'nextUri')
|
116
|
+
self.next_uri = attributes[:'nextUri']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.has_key?(:'pageCount')
|
120
120
|
self.page_count = attributes[:'pageCount']
|
121
121
|
end
|
@@ -146,8 +146,8 @@ module PureCloud
|
|
146
146
|
self_uri == o.self_uri &&
|
147
147
|
first_uri == o.first_uri &&
|
148
148
|
previous_uri == o.previous_uri &&
|
149
|
-
next_uri == o.next_uri &&
|
150
149
|
last_uri == o.last_uri &&
|
150
|
+
next_uri == o.next_uri &&
|
151
151
|
page_count == o.page_count
|
152
152
|
end
|
153
153
|
|
@@ -160,7 +160,7 @@ module PureCloud
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Fixnum] Hash code
|
162
162
|
def hash
|
163
|
-
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri,
|
163
|
+
[entities, page_size, page_number, total, self_uri, first_uri, previous_uri, last_uri, next_uri, page_count].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# build the object from hash
|