purecloud 0.66.1 → 0.67.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +3 -3
- data/doc_out/AttemptLimitsEntityListing.html.md +3 -3
- data/doc_out/AttributeEntityListing.html.md +3 -3
- data/doc_out/CalibrationEntityListing.html.md +3 -3
- data/doc_out/CallConversationEntityListing.html.md +3 -3
- data/doc_out/CallableTimeSetEntityListing.html.md +3 -3
- data/doc_out/CallbackConversationEntityListing.html.md +3 -3
- data/doc_out/CampaignEntityListing.html.md +3 -3
- data/doc_out/CampaignInteractions.html.md +1 -0
- data/doc_out/CampaignRuleEntityListing.html.md +3 -3
- data/doc_out/CampaignSequenceEntityListing.html.md +3 -3
- data/doc_out/CertificateAuthorityEntityListing.html.md +3 -3
- data/doc_out/ChannelEntityListing.html.md +3 -3
- data/doc_out/ChatConversationEntityListing.html.md +3 -3
- data/doc_out/CobrowseConversationEntityListing.html.md +3 -3
- data/doc_out/CommandStatusEntityListing.html.md +3 -3
- data/doc_out/ContactListEntityListing.html.md +3 -3
- data/doc_out/ContentManagementApi.html.md +4 -3
- data/doc_out/ConversationEntityListing.html.md +3 -3
- data/doc_out/ConversationsApi.html.md +20 -15
- data/doc_out/DIDEntityListing.html.md +3 -3
- data/doc_out/DIDPoolEntityListing.html.md +3 -3
- data/doc_out/DecisionsFileMetadataEntityListing.html.md +3 -3
- data/doc_out/DncListEntityListing.html.md +3 -3
- data/doc_out/Document.html.md +1 -1
- data/doc_out/DocumentAuditEntityListing.html.md +3 -3
- data/doc_out/DocumentEntityListing.html.md +3 -3
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListing.html.md +3 -3
- data/doc_out/DomainEntityListingEvaluationForm.html.md +3 -3
- data/doc_out/DomainEntityListingQueryResult.html.md +3 -3
- data/doc_out/EdgeEntityListing.html.md +3 -3
- data/doc_out/EdgeGroupEntityListing.html.md +3 -3
- data/doc_out/EdgeLineEntityListing.html.md +3 -3
- data/doc_out/EdgeMetrics.html.md +20 -0
- data/doc_out/EdgeMetricsDisk.html.md +15 -0
- data/doc_out/EdgeMetricsMemory.html.md +15 -0
- data/doc_out/EdgeMetricsNetwork.html.md +17 -0
- data/doc_out/EdgeMetricsProcessor.html.md +17 -0
- data/doc_out/EdgeMetricsSubsystem.html.md +15 -0
- data/doc_out/EmailConversationEntityListing.html.md +3 -3
- data/doc_out/EmailMessageListing.html.md +3 -3
- data/doc_out/Empty.html.md +12 -0
- data/doc_out/EncryptionKeyEntityListing.html.md +3 -3
- data/doc_out/EndpointEntityListing.html.md +3 -3
- data/doc_out/EvaluationEntityListing.html.md +3 -3
- data/doc_out/EvaluationFormEntityListing.html.md +3 -3
- data/doc_out/EvaluatorActivityEntityListing.html.md +3 -3
- data/doc_out/ExtensionEntityListing.html.md +3 -3
- data/doc_out/ExtensionPoolEntityListing.html.md +3 -3
- data/doc_out/FaxDocument.html.md +1 -1
- data/doc_out/FaxDocumentEntityListing.html.md +3 -3
- data/doc_out/FieldConfigs.html.md +16 -0
- data/doc_out/GreetingListing.html.md +3 -3
- data/doc_out/Group.html.md +1 -1
- data/doc_out/GroupContact.html.md +16 -0
- data/doc_out/GroupEntityListing.html.md +3 -3
- data/doc_out/GroupUpdate.html.md +1 -1
- data/doc_out/GroupsApi.html.md +8 -6
- data/doc_out/HeartBeatAlertContainer.html.md +3 -3
- data/doc_out/HeartBeatRuleContainer.html.md +3 -3
- data/doc_out/InboundDomainEntityListing.html.md +3 -3
- data/doc_out/InboundRouteEntityListing.html.md +3 -3
- data/doc_out/InteractionStatsAlertContainer.html.md +3 -3
- data/doc_out/InteractionStatsRuleContainer.html.md +3 -3
- data/doc_out/KeywordSetEntityListing.html.md +3 -3
- data/doc_out/LanguageEntityListing.html.md +3 -3
- data/doc_out/LibraryEntityListing.html.md +3 -3
- data/doc_out/LineBaseEntityListing.html.md +3 -3
- data/doc_out/LineEntityListing.html.md +3 -3
- data/doc_out/LocalEncryptionConfigurationListing.html.md +3 -3
- data/doc_out/LogicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/OAuthClientEntityListing.html.md +3 -3
- data/doc_out/OAuthProviderEntityListing.html.md +3 -3
- data/doc_out/OrganizationPresenceEntityListing.html.md +3 -3
- data/doc_out/OrganizationRoleEntityListing.html.md +3 -3
- data/doc_out/OrphanRecordingListing.html.md +3 -3
- data/doc_out/OutboundApi.html.md +3 -4
- data/doc_out/OutboundRouteBaseEntityListing.html.md +3 -3
- data/doc_out/OutboundRouteEntityListing.html.md +3 -3
- data/doc_out/PermissionCollectionEntityListing.html.md +3 -3
- data/doc_out/PhoneBaseEntityListing.html.md +3 -3
- data/doc_out/PhoneEntityListing.html.md +3 -3
- data/doc_out/PhoneMetaBaseEntityListing.html.md +3 -3
- data/doc_out/PhysicalInterfaceEntityListing.html.md +3 -3
- data/doc_out/PolicyEntityListing.html.md +3 -3
- data/doc_out/QualityAuditPage.html.md +3 -3
- data/doc_out/QueueEntityListing.html.md +3 -3
- data/doc_out/QueueMemberEntityListing.html.md +3 -3
- data/doc_out/ReportMetaDataEntityListing.html.md +3 -3
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +3 -3
- data/doc_out/ReportScheduleEntityListing.html.md +3 -3
- data/doc_out/ResponseEntityList.html.md +3 -3
- data/doc_out/ResponseEntityListing.html.md +3 -3
- data/doc_out/ResponseSetEntityListing.html.md +3 -3
- data/doc_out/RoutingStatusAlertContainer.html.md +3 -3
- data/doc_out/RoutingStatusRuleContainer.html.md +3 -3
- data/doc_out/RuleSetEntityListing.html.md +3 -3
- data/doc_out/SchemaCategoryEntityListing.html.md +3 -3
- data/doc_out/SchemaReferenceEntityListing.html.md +3 -3
- data/doc_out/ScreenRecordingSessionListing.html.md +3 -3
- data/doc_out/ScriptEntityListing.html.md +3 -3
- data/doc_out/SecurityProfileEntityListing.html.md +3 -3
- data/doc_out/ShareEntityListing.html.md +3 -3
- data/doc_out/SharedResponse.html.md +17 -0
- data/doc_out/SiteEntityListing.html.md +3 -3
- data/doc_out/SkillEntityListing.html.md +3 -3
- data/doc_out/StationEntityListing.html.md +3 -3
- data/doc_out/TagValueEntityListing.html.md +3 -3
- data/doc_out/TelephonyProvidersEdgeApi.html.md +117 -1
- data/doc_out/TimeZoneEntityListing.html.md +3 -3
- data/doc_out/TrunkBaseEntityListing.html.md +3 -3
- data/doc_out/TrunkEntityListing.html.md +3 -3
- data/doc_out/TrunkMetabaseEntityListing.html.md +3 -3
- data/doc_out/UserEntityListing.html.md +3 -3
- data/doc_out/UserMe.html.md +1 -0
- data/doc_out/UserPresenceAlertContainer.html.md +3 -3
- data/doc_out/UserPresenceRuleContainer.html.md +3 -3
- data/doc_out/UserQueueEntityListing.html.md +3 -3
- data/doc_out/UserRecordingEntityListing.html.md +3 -3
- data/doc_out/UserSkillEntityListing.html.md +3 -3
- data/doc_out/VoicemailMessageEntityListing.html.md +3 -3
- data/doc_out/VoicemailOrganizationPolicy.html.md +4 -13
- data/doc_out/VoicemailUserPolicy.html.md +4 -11
- data/doc_out/WorkforceManagementApi.html.md +4 -4
- data/doc_out/WorkspaceEntityListing.html.md +3 -3
- data/doc_out/WorkspaceMemberEntityListing.html.md +3 -3
- data/doc_out/WrapupCodeEntityListing.html.md +3 -3
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +10 -0
- data/lib/purecloud/api/content_management_api.rb +6 -5
- data/lib/purecloud/api/conversations_api.rb +30 -25
- data/lib/purecloud/api/groups_api.rb +14 -12
- data/lib/purecloud/api/organization_api.rb +2 -2
- data/lib/purecloud/api/outbound_api.rb +5 -6
- data/lib/purecloud/api/telephony_providers_edge_api.rb +124 -0
- data/lib/purecloud/api/users_api.rb +2 -2
- data/lib/purecloud/api/workforce_management_api.rb +5 -5
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +23 -23
- data/lib/purecloud/models/attribute_entity_listing.rb +23 -23
- data/lib/purecloud/models/calibration_entity_listing.rb +23 -23
- data/lib/purecloud/models/call.rb +1 -1
- data/lib/purecloud/models/call_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/callback.rb +1 -1
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_interactions.rb +16 -4
- data/lib/purecloud/models/campaign_rule_entity_listing.rb +23 -23
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +23 -23
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +23 -23
- data/lib/purecloud/models/channel_entity_listing.rb +23 -23
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/cobrowsesession.rb +1 -1
- data/lib/purecloud/models/command_status_entity_listing.rb +23 -23
- data/lib/purecloud/models/contact_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/conversation_chat.rb +1 -1
- data/lib/purecloud/models/conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/decisions_file_metadata_entity_listing.rb +23 -23
- data/lib/purecloud/models/did_entity_listing.rb +23 -23
- data/lib/purecloud/models/did_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/dnc_list_entity_listing.rb +23 -23
- data/lib/purecloud/models/document.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +23 -23
- data/lib/purecloud/models/document_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +23 -23
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +23 -23
- data/lib/purecloud/models/edge_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_group_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_line_entity_listing.rb +23 -23
- data/lib/purecloud/models/edge_metrics.rb +246 -0
- data/lib/purecloud/models/edge_metrics_disk.rb +188 -0
- data/lib/purecloud/models/edge_metrics_memory.rb +188 -0
- data/lib/purecloud/models/edge_metrics_network.rb +210 -0
- data/lib/purecloud/models/edge_metrics_processor.rb +210 -0
- data/lib/purecloud/models/edge_metrics_subsystem.rb +188 -0
- data/lib/purecloud/models/email.rb +1 -1
- data/lib/purecloud/models/email_conversation_entity_listing.rb +23 -23
- data/lib/purecloud/models/email_message_listing.rb +23 -23
- data/lib/purecloud/models/empty.rb +155 -0
- data/lib/purecloud/models/encryption_key_entity_listing.rb +23 -23
- data/lib/purecloud/models/endpoint_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluation_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +23 -23
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_entity_listing.rb +23 -23
- data/lib/purecloud/models/extension_pool_entity_listing.rb +23 -23
- data/lib/purecloud/models/fax_document.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +23 -23
- data/lib/purecloud/models/field_config.rb +1 -1
- data/lib/purecloud/models/field_configs.rb +195 -0
- data/lib/purecloud/models/greeting_listing.rb +23 -23
- data/lib/purecloud/models/group.rb +1 -1
- data/lib/purecloud/models/group_contact.rb +217 -0
- data/lib/purecloud/models/group_entity_listing.rb +23 -23
- data/lib/purecloud/models/group_update.rb +1 -1
- data/lib/purecloud/models/heart_beat_alert_container.rb +23 -23
- data/lib/purecloud/models/heart_beat_rule_container.rb +23 -23
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +23 -23
- data/lib/purecloud/models/inbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/interaction_stats_alert_container.rb +23 -23
- data/lib/purecloud/models/interaction_stats_rule_container.rb +23 -23
- data/lib/purecloud/models/keyword_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/language_entity_listing.rb +23 -23
- data/lib/purecloud/models/library_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/line_entity_listing.rb +23 -23
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +23 -23
- data/lib/purecloud/models/logical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +23 -23
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_presence_entity_listing.rb +23 -23
- data/lib/purecloud/models/organization_role_entity_listing.rb +23 -23
- data/lib/purecloud/models/orphan_recording_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/outbound_route_entity_listing.rb +23 -23
- data/lib/purecloud/models/permission_collection_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_entity_listing.rb +23 -23
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/physical_interface_entity_listing.rb +23 -23
- data/lib/purecloud/models/policy_entity_listing.rb +23 -23
- data/lib/purecloud/models/quality_audit_page.rb +23 -23
- data/lib/purecloud/models/queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/queue_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +23 -23
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +23 -23
- data/lib/purecloud/models/report_schedule_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_entity_list.rb +23 -23
- data/lib/purecloud/models/response_entity_listing.rb +23 -23
- data/lib/purecloud/models/response_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/routing_status_alert_container.rb +23 -23
- data/lib/purecloud/models/routing_status_rule_container.rb +23 -23
- data/lib/purecloud/models/rule_set_entity_listing.rb +23 -23
- data/lib/purecloud/models/schema_category_entity_listing.rb +23 -23
- data/lib/purecloud/models/schema_reference_entity_listing.rb +23 -23
- data/lib/purecloud/models/screen_recording_session_listing.rb +23 -23
- data/lib/purecloud/models/screenshare.rb +1 -1
- data/lib/purecloud/models/script_entity_listing.rb +23 -23
- data/lib/purecloud/models/security_profile_entity_listing.rb +23 -23
- data/lib/purecloud/models/share_entity_listing.rb +23 -23
- data/lib/purecloud/models/shared_response.rb +205 -0
- data/lib/purecloud/models/site_entity_listing.rb +23 -23
- data/lib/purecloud/models/skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/social_expression.rb +1 -1
- data/lib/purecloud/models/station_entity_listing.rb +23 -23
- data/lib/purecloud/models/tag_value_entity_listing.rb +23 -23
- data/lib/purecloud/models/time_zone_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_base_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_entity_listing.rb +23 -23
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_me.rb +12 -1
- data/lib/purecloud/models/user_presence_alert_container.rb +23 -23
- data/lib/purecloud/models/user_presence_rule_container.rb +23 -23
- data/lib/purecloud/models/user_queue_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_recording_entity_listing.rb +23 -23
- data/lib/purecloud/models/user_skill_entity_listing.rb +23 -23
- data/lib/purecloud/models/video.rb +1 -1
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +23 -23
- data/lib/purecloud/models/voicemail_organization_policy.rb +18 -106
- data/lib/purecloud/models/voicemail_user_policy.rb +5 -73
- data/lib/purecloud/models/workspace_entity_listing.rb +23 -23
- data/lib/purecloud/models/workspace_member_entity_listing.rb +23 -23
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +23 -23
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +22 -2
@@ -46,8 +46,8 @@ module PureCloud
|
|
46
46
|
|
47
47
|
# verify the required parameter 'type' is set
|
48
48
|
fail "Missing the required parameter 'type' when calling get_fieldconfig" if type.nil?
|
49
|
-
unless ['person', 'group', 'org'].include?(type)
|
50
|
-
fail "invalid value for 'type', must be one of person, group, org"
|
49
|
+
unless ['person', 'group', 'org', 'externalContact'].include?(type)
|
50
|
+
fail "invalid value for 'type', must be one of person, group, org, externalContact"
|
51
51
|
end
|
52
52
|
|
53
53
|
# resource path
|
@@ -328,17 +328,17 @@ module PureCloud
|
|
328
328
|
#
|
329
329
|
# @param campaign_id Campaign ID
|
330
330
|
# @param [Hash] opts the optional parameters
|
331
|
-
# @return [
|
331
|
+
# @return [nil]
|
332
332
|
def delete_campaigns_campaign_id_progress(campaign_id, opts = {})
|
333
|
-
|
334
|
-
return
|
333
|
+
delete_campaigns_campaign_id_progress_with_http_info(campaign_id, opts)
|
334
|
+
return nil
|
335
335
|
end
|
336
336
|
|
337
337
|
# Reset campaign progress and recycle the campaign
|
338
338
|
#
|
339
339
|
# @param campaign_id Campaign ID
|
340
340
|
# @param [Hash] opts the optional parameters
|
341
|
-
# @return [Array<(
|
341
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
342
342
|
def delete_campaigns_campaign_id_progress_with_http_info(campaign_id, opts = {})
|
343
343
|
if @api_client.config.debugging
|
344
344
|
@api_client.config.logger.debug "Calling API: OutboundApi#delete_campaigns_campaign_id_progress ..."
|
@@ -376,8 +376,7 @@ module PureCloud
|
|
376
376
|
:query_params => query_params,
|
377
377
|
:form_params => form_params,
|
378
378
|
:body => post_body,
|
379
|
-
:auth_names => auth_names
|
380
|
-
:return_type => 'String')
|
379
|
+
:auth_names => auth_names)
|
381
380
|
if @api_client.config.debugging
|
382
381
|
@api_client.config.logger.debug "API called: OutboundApi#delete_campaigns_campaign_id_progress\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
383
382
|
end
|
@@ -1758,6 +1758,66 @@ module PureCloud
|
|
1758
1758
|
return data, status_code, headers
|
1759
1759
|
end
|
1760
1760
|
|
1761
|
+
# Get the edge metrics.
|
1762
|
+
#
|
1763
|
+
# @param edge_id Edge Id
|
1764
|
+
# @param [Hash] opts the optional parameters
|
1765
|
+
# @return [EdgeMetrics]
|
1766
|
+
def get_providers_edges_edge_id_metrics(edge_id, opts = {})
|
1767
|
+
data, status_code, headers = get_providers_edges_edge_id_metrics_with_http_info(edge_id, opts)
|
1768
|
+
return data
|
1769
|
+
end
|
1770
|
+
|
1771
|
+
# Get the edge metrics.
|
1772
|
+
#
|
1773
|
+
# @param edge_id Edge Id
|
1774
|
+
# @param [Hash] opts the optional parameters
|
1775
|
+
# @return [Array<(EdgeMetrics, Fixnum, Hash)>] EdgeMetrics data, response status code and response headers
|
1776
|
+
def get_providers_edges_edge_id_metrics_with_http_info(edge_id, opts = {})
|
1777
|
+
if @api_client.config.debugging
|
1778
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_metrics ..."
|
1779
|
+
end
|
1780
|
+
|
1781
|
+
# verify the required parameter 'edge_id' is set
|
1782
|
+
fail "Missing the required parameter 'edge_id' when calling get_providers_edges_edge_id_metrics" if edge_id.nil?
|
1783
|
+
|
1784
|
+
# resource path
|
1785
|
+
local_var_path = "/api/v2/telephony/providers/edges/{edgeId}/metrics".sub('{format}','json').sub('{' + 'edgeId' + '}', edge_id.to_s)
|
1786
|
+
|
1787
|
+
# query parameters
|
1788
|
+
query_params = {}
|
1789
|
+
|
1790
|
+
# header parameters
|
1791
|
+
header_params = {}
|
1792
|
+
|
1793
|
+
# HTTP header 'Accept' (if needed)
|
1794
|
+
_header_accept = ['application/json']
|
1795
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
1796
|
+
|
1797
|
+
# HTTP header 'Content-Type'
|
1798
|
+
_header_content_type = ['application/json']
|
1799
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
1800
|
+
|
1801
|
+
# form parameters
|
1802
|
+
form_params = {}
|
1803
|
+
|
1804
|
+
# http body (model)
|
1805
|
+
post_body = nil
|
1806
|
+
|
1807
|
+
auth_names = ['PureCloud Auth']
|
1808
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
1809
|
+
:header_params => header_params,
|
1810
|
+
:query_params => query_params,
|
1811
|
+
:form_params => form_params,
|
1812
|
+
:body => post_body,
|
1813
|
+
:auth_names => auth_names,
|
1814
|
+
:return_type => 'EdgeMetrics')
|
1815
|
+
if @api_client.config.debugging
|
1816
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_edge_id_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1817
|
+
end
|
1818
|
+
return data, status_code, headers
|
1819
|
+
end
|
1820
|
+
|
1761
1821
|
# Retrieve a list of all configured physical interfaces from a specific edge.
|
1762
1822
|
#
|
1763
1823
|
# @param edge_id Edge ID
|
@@ -2953,6 +3013,67 @@ module PureCloud
|
|
2953
3013
|
return data, status_code, headers
|
2954
3014
|
end
|
2955
3015
|
|
3016
|
+
# Get the metrics for a list of edges.
|
3017
|
+
#
|
3018
|
+
# @param edge_ids Comma separated list of Edge Id's
|
3019
|
+
# @param [Hash] opts the optional parameters
|
3020
|
+
# @return [Array<EdgeMetrics>]
|
3021
|
+
def get_providers_edges_metrics(edge_ids, opts = {})
|
3022
|
+
data, status_code, headers = get_providers_edges_metrics_with_http_info(edge_ids, opts)
|
3023
|
+
return data
|
3024
|
+
end
|
3025
|
+
|
3026
|
+
# Get the metrics for a list of edges.
|
3027
|
+
#
|
3028
|
+
# @param edge_ids Comma separated list of Edge Id's
|
3029
|
+
# @param [Hash] opts the optional parameters
|
3030
|
+
# @return [Array<(Array<EdgeMetrics>, Fixnum, Hash)>] Array<EdgeMetrics> data, response status code and response headers
|
3031
|
+
def get_providers_edges_metrics_with_http_info(edge_ids, opts = {})
|
3032
|
+
if @api_client.config.debugging
|
3033
|
+
@api_client.config.logger.debug "Calling API: TelephonyProvidersEdgeApi#get_providers_edges_metrics ..."
|
3034
|
+
end
|
3035
|
+
|
3036
|
+
# verify the required parameter 'edge_ids' is set
|
3037
|
+
fail "Missing the required parameter 'edge_ids' when calling get_providers_edges_metrics" if edge_ids.nil?
|
3038
|
+
|
3039
|
+
# resource path
|
3040
|
+
local_var_path = "/api/v2/telephony/providers/edges/metrics".sub('{format}','json')
|
3041
|
+
|
3042
|
+
# query parameters
|
3043
|
+
query_params = {}
|
3044
|
+
query_params[:'edgeIds'] = edge_ids
|
3045
|
+
|
3046
|
+
# header parameters
|
3047
|
+
header_params = {}
|
3048
|
+
|
3049
|
+
# HTTP header 'Accept' (if needed)
|
3050
|
+
_header_accept = ['application/json']
|
3051
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
3052
|
+
|
3053
|
+
# HTTP header 'Content-Type'
|
3054
|
+
_header_content_type = ['application/json']
|
3055
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
3056
|
+
|
3057
|
+
# form parameters
|
3058
|
+
form_params = {}
|
3059
|
+
|
3060
|
+
# http body (model)
|
3061
|
+
post_body = nil
|
3062
|
+
|
3063
|
+
auth_names = ['PureCloud Auth']
|
3064
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
3065
|
+
:header_params => header_params,
|
3066
|
+
:query_params => query_params,
|
3067
|
+
:form_params => form_params,
|
3068
|
+
:body => post_body,
|
3069
|
+
:auth_names => auth_names,
|
3070
|
+
:return_type => 'Array<EdgeMetrics>')
|
3071
|
+
if @api_client.config.debugging
|
3072
|
+
@api_client.config.logger.debug "API called: TelephonyProvidersEdgeApi#get_providers_edges_metrics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
3073
|
+
end
|
3074
|
+
return data, status_code, headers
|
3075
|
+
end
|
3076
|
+
|
2956
3077
|
# Get outbound routes
|
2957
3078
|
#
|
2958
3079
|
# @param [Hash] opts the optional parameters
|
@@ -3090,6 +3211,7 @@ module PureCloud
|
|
3090
3211
|
# @option opts [Integer] :page_size Page size (default to 25)
|
3091
3212
|
# @option opts [String] :sort_by Value by which to sort (default to name)
|
3092
3213
|
# @option opts [String] :sort_order Sort order (default to ASC)
|
3214
|
+
# @option opts [String] :name Name
|
3093
3215
|
# @return [PhoneBaseEntityListing]
|
3094
3216
|
def get_providers_edges_phonebasesettings(opts = {})
|
3095
3217
|
data, status_code, headers = get_providers_edges_phonebasesettings_with_http_info(opts)
|
@@ -3103,6 +3225,7 @@ module PureCloud
|
|
3103
3225
|
# @option opts [Integer] :page_size Page size
|
3104
3226
|
# @option opts [String] :sort_by Value by which to sort
|
3105
3227
|
# @option opts [String] :sort_order Sort order
|
3228
|
+
# @option opts [String] :name Name
|
3106
3229
|
# @return [Array<(PhoneBaseEntityListing, Fixnum, Hash)>] PhoneBaseEntityListing data, response status code and response headers
|
3107
3230
|
def get_providers_edges_phonebasesettings_with_http_info(opts = {})
|
3108
3231
|
if @api_client.config.debugging
|
@@ -3118,6 +3241,7 @@ module PureCloud
|
|
3118
3241
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
3119
3242
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
3120
3243
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
3244
|
+
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
3121
3245
|
|
3122
3246
|
# header parameters
|
3123
3247
|
header_params = {}
|
@@ -348,8 +348,8 @@ module PureCloud
|
|
348
348
|
|
349
349
|
# verify the required parameter 'type' is set
|
350
350
|
fail "Missing the required parameter 'type' when calling get_fieldconfig" if type.nil?
|
351
|
-
unless ['person', 'group', 'org'].include?(type)
|
352
|
-
fail "invalid value for 'type', must be one of person, group, org"
|
351
|
+
unless ['person', 'group', 'org', 'externalContact'].include?(type)
|
352
|
+
fail "invalid value for 'type', must be one of person, group, org, externalContact"
|
353
353
|
end
|
354
354
|
|
355
355
|
# resource path
|
@@ -26,9 +26,9 @@ module PureCloud
|
|
26
26
|
|
27
27
|
# Get a list of UserScheduleAdherence records for the requested users
|
28
28
|
#
|
29
|
-
# @param user_id User Id(s) for which to fetch current schedule adherence information. Max of 100 userIds per request
|
29
|
+
# @param user_id User Id(s) for which to fetch current schedule adherence information. Min 1, Max of 100 userIds per request
|
30
30
|
# @param [Hash] opts the optional parameters
|
31
|
-
# @return [UserScheduleAdherence]
|
31
|
+
# @return [Array<UserScheduleAdherence>]
|
32
32
|
def get_adherence(user_id, opts = {})
|
33
33
|
data, status_code, headers = get_adherence_with_http_info(user_id, opts)
|
34
34
|
return data
|
@@ -36,9 +36,9 @@ module PureCloud
|
|
36
36
|
|
37
37
|
# Get a list of UserScheduleAdherence records for the requested users
|
38
38
|
#
|
39
|
-
# @param user_id User Id(s) for which to fetch current schedule adherence information. Max of 100 userIds per request
|
39
|
+
# @param user_id User Id(s) for which to fetch current schedule adherence information. Min 1, Max of 100 userIds per request
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [Array<(UserScheduleAdherence
|
41
|
+
# @return [Array<(Array<UserScheduleAdherence>, Fixnum, Hash)>] Array<UserScheduleAdherence> data, response status code and response headers
|
42
42
|
def get_adherence_with_http_info(user_id, opts = {})
|
43
43
|
if @api_client.config.debugging
|
44
44
|
@api_client.config.logger.debug "Calling API: WorkforceManagementApi#get_adherence ..."
|
@@ -78,7 +78,7 @@ module PureCloud
|
|
78
78
|
:form_params => form_params,
|
79
79
|
:body => post_body,
|
80
80
|
:auth_names => auth_names,
|
81
|
-
:return_type => 'UserScheduleAdherence')
|
81
|
+
:return_type => 'Array<UserScheduleAdherence>')
|
82
82
|
if @api_client.config.debugging
|
83
83
|
@api_client.config.logger.debug "API called: WorkforceManagementApi#get_adherence\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
84
84
|
end
|
data/lib/purecloud/api_client.rb
CHANGED
@@ -33,7 +33,7 @@ module PureCloud
|
|
33
33
|
|
34
34
|
def initialize(config = Configuration.default)
|
35
35
|
@config = config
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.67.1"
|
37
37
|
@default_headers = {
|
38
38
|
'Content-Type' => "application/json",
|
39
39
|
'User-Agent' => @user_agent
|
@@ -26,15 +26,15 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :last_uri
|
36
36
|
|
37
|
-
attr_accessor :
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -50,15 +50,15 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
56
|
+
|
57
|
+
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'last_uri' => :'lastUri',
|
60
60
|
|
61
|
-
:'
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
77
|
-
:'
|
78
|
-
:'last_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
79
77
|
:'previous_uri' => :'String',
|
78
|
+
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,24 +107,24 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
122
|
if attributes[:'lastUri']
|
123
123
|
self.last_uri = attributes[:'lastUri']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes[:'
|
127
|
-
self.
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
128
|
end
|
129
129
|
|
130
130
|
if attributes[:'pageCount']
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
146
|
-
|
147
|
-
last_uri == o.last_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
148
146
|
previous_uri == o.previous_uri &&
|
147
|
+
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|
@@ -26,15 +26,15 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
-
attr_accessor :self_uri
|
30
|
-
|
31
29
|
attr_accessor :first_uri
|
32
30
|
|
33
|
-
attr_accessor :
|
31
|
+
attr_accessor :self_uri
|
32
|
+
|
33
|
+
attr_accessor :previous_uri
|
34
34
|
|
35
35
|
attr_accessor :last_uri
|
36
36
|
|
37
|
-
attr_accessor :
|
37
|
+
attr_accessor :next_uri
|
38
38
|
|
39
39
|
attr_accessor :page_count
|
40
40
|
|
@@ -50,15 +50,15 @@ module PureCloud
|
|
50
50
|
|
51
51
|
:'total' => :'total',
|
52
52
|
|
53
|
-
:'self_uri' => :'selfUri',
|
54
|
-
|
55
53
|
:'first_uri' => :'firstUri',
|
56
54
|
|
57
|
-
:'
|
55
|
+
:'self_uri' => :'selfUri',
|
56
|
+
|
57
|
+
:'previous_uri' => :'previousUri',
|
58
58
|
|
59
59
|
:'last_uri' => :'lastUri',
|
60
60
|
|
61
|
-
:'
|
61
|
+
:'next_uri' => :'nextUri',
|
62
62
|
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
77
|
-
:'
|
78
|
-
:'last_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
79
77
|
:'previous_uri' => :'String',
|
78
|
+
:'last_uri' => :'String',
|
79
|
+
:'next_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,24 +107,24 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
-
if attributes[:'selfUri']
|
111
|
-
self.self_uri = attributes[:'selfUri']
|
112
|
-
end
|
113
|
-
|
114
110
|
if attributes[:'firstUri']
|
115
111
|
self.first_uri = attributes[:'firstUri']
|
116
112
|
end
|
117
113
|
|
118
|
-
if attributes[:'
|
119
|
-
self.
|
114
|
+
if attributes[:'selfUri']
|
115
|
+
self.self_uri = attributes[:'selfUri']
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
120
120
|
end
|
121
121
|
|
122
122
|
if attributes[:'lastUri']
|
123
123
|
self.last_uri = attributes[:'lastUri']
|
124
124
|
end
|
125
125
|
|
126
|
-
if attributes[:'
|
127
|
-
self.
|
126
|
+
if attributes[:'nextUri']
|
127
|
+
self.next_uri = attributes[:'nextUri']
|
128
128
|
end
|
129
129
|
|
130
130
|
if attributes[:'pageCount']
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
146
|
-
|
147
|
-
last_uri == o.last_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
148
146
|
previous_uri == o.previous_uri &&
|
147
|
+
last_uri == o.last_uri &&
|
148
|
+
next_uri == o.next_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, last_uri, next_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|