purecloudplatformclientv2 12.0.0 → 13.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 +5 -5
- data/docs/AgentActivityEntityListing.md +2 -2
- data/docs/AlertingApi.md +78 -1575
- data/docs/ArchitectApi.md +75 -0
- data/docs/AttemptLimitsEntityListing.md +2 -2
- data/docs/AttributeEntityListing.md +2 -2
- data/docs/CalibrationEntityListing.md +2 -2
- data/docs/CallConversationEntityListing.md +2 -2
- data/docs/CallableTimeSetEntityListing.md +2 -2
- data/docs/CallbackConversationEntityListing.md +2 -2
- data/docs/CampaignEntityListing.md +2 -2
- data/docs/CampaignRuleEntityListing.md +2 -2
- data/docs/CampaignSequenceEntityListing.md +2 -2
- data/docs/CertificateAuthorityEntityListing.md +2 -2
- data/docs/ChatConversationEntityListing.md +2 -2
- data/docs/CobrowseConversationEntityListing.md +2 -2
- data/docs/CommandStatusEntityListing.md +2 -2
- data/docs/ConsumedResourcesEntityListing.md +2 -2
- data/docs/ConsumingResourcesEntityListing.md +2 -2
- data/docs/ContactListEntityListing.md +2 -2
- data/docs/ContactListFilterEntityListing.md +2 -2
- data/docs/ContactListing.md +2 -2
- data/docs/ConversationEntityListing.md +2 -2
- data/docs/DIDEntityListing.md +2 -2
- data/docs/DIDPoolEntityListing.md +2 -2
- data/docs/DependencyObjectEntityListing.md +2 -2
- data/docs/DependencyTypeEntityListing.md +2 -2
- data/docs/DialerEventEntityListing.md +2 -2
- data/docs/DncListEntityListing.md +2 -2
- data/docs/DocumentAuditEntityListing.md +2 -2
- data/docs/DocumentEntityListing.md +2 -2
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +2 -2
- data/docs/DomainEntityListing.md +2 -2
- data/docs/DomainEntityListingEvaluationForm.md +2 -2
- data/docs/DomainEntityListingQueryResult.md +2 -2
- data/docs/EdgeEntityListing.md +2 -2
- data/docs/EdgeGroupEntityListing.md +2 -2
- data/docs/EdgeLineEntityListing.md +2 -2
- data/docs/EmailConversationEntityListing.md +2 -2
- data/docs/EmailMessageListing.md +2 -2
- data/docs/EncryptionKeyEntityListing.md +2 -2
- data/docs/EndpointEntityListing.md +2 -2
- data/docs/EvaluationEntityListing.md +2 -2
- data/docs/EvaluationFormEntityListing.md +2 -2
- data/docs/EvaluatorActivityEntityListing.md +2 -2
- data/docs/ExtensionEntityListing.md +2 -2
- data/docs/ExtensionPoolEntityListing.md +2 -2
- data/docs/ExternalContactsApi.md +2 -0
- data/docs/ExternalOrganizationListing.md +2 -2
- data/docs/FaxDocumentEntityListing.md +2 -2
- data/docs/FlowEntityListing.md +2 -2
- data/docs/FlowVersionEntityListing.md +2 -2
- data/docs/GreetingListing.md +2 -2
- data/docs/GroupEntityListing.md +2 -2
- data/docs/HistoryEntry.md +17 -0
- data/docs/HistoryListing.md +21 -0
- data/docs/InboundDomain.md +1 -1
- data/docs/InboundDomainEntityListing.md +2 -2
- data/docs/InboundRouteEntityListing.md +2 -2
- data/docs/InteractionStatsAlertContainer.md +2 -2
- data/docs/InteractionStatsRuleContainer.md +2 -2
- data/docs/KeywordSetEntityListing.md +2 -2
- data/docs/LanguageEntityListing.md +2 -2
- data/docs/LibraryEntityListing.md +2 -2
- data/docs/LineBaseEntityListing.md +2 -2
- data/docs/LineEntityListing.md +2 -2
- data/docs/LocationEntityListing.md +2 -2
- data/docs/LogicalInterfaceEntityListing.md +2 -2
- data/docs/NoteListing.md +2 -2
- data/docs/OAuthClientEntityListing.md +2 -2
- data/docs/OAuthProviderEntityListing.md +2 -2
- data/docs/OrganizationPresenceEntityListing.md +2 -2
- data/docs/OrganizationRoleEntityListing.md +2 -2
- data/docs/OrphanRecordingListing.md +2 -2
- data/docs/OutboundApi.md +2 -2
- data/docs/OutboundRouteBaseEntityListing.md +2 -2
- data/docs/OutboundRouteEntityListing.md +2 -2
- data/docs/PermissionCollectionEntityListing.md +2 -2
- data/docs/PhoneBaseEntityListing.md +2 -2
- data/docs/PhoneEntityListing.md +2 -2
- data/docs/PhoneMetaBaseEntityListing.md +2 -2
- data/docs/PhysicalInterfaceEntityListing.md +2 -2
- data/docs/PolicyEntityListing.md +2 -2
- data/docs/PromptAssetEntityListing.md +2 -2
- data/docs/PromptEntityListing.md +2 -2
- data/docs/QualityAuditPage.md +2 -2
- data/docs/QueueEntityListing.md +2 -2
- data/docs/QueueMemberEntityListing.md +2 -2
- data/docs/RelationshipListing.md +2 -2
- data/docs/ReportMetaDataEntityListing.md +2 -2
- data/docs/ReportRunEntryEntityDomainListing.md +2 -2
- data/docs/ReportScheduleEntityListing.md +2 -2
- data/docs/ResponseEntityList.md +2 -2
- data/docs/ResponseEntityListing.md +2 -2
- data/docs/ResponseSetEntityListing.md +2 -2
- data/docs/RuleSetEntityListing.md +2 -2
- data/docs/SchemaCategoryEntityListing.md +2 -2
- data/docs/SchemaReferenceEntityListing.md +2 -2
- data/docs/ScreenRecordingSessionListing.md +2 -2
- data/docs/ScriptEntityListing.md +2 -2
- data/docs/SecurityProfileEntityListing.md +2 -2
- data/docs/ShareEntityListing.md +2 -2
- data/docs/SiteEntityListing.md +2 -2
- data/docs/SkillEntityListing.md +2 -2
- data/docs/StationEntityListing.md +2 -2
- data/docs/SystemPromptAssetEntityListing.md +2 -2
- data/docs/SystemPromptEntityListing.md +2 -2
- data/docs/TagValueEntityListing.md +2 -2
- data/docs/TimeZoneEntityListing.md +2 -2
- data/docs/TrunkBaseEntityListing.md +2 -2
- data/docs/TrunkEntityListing.md +2 -2
- data/docs/TrunkMetabaseEntityListing.md +2 -2
- data/docs/UserEntityListing.md +2 -2
- data/docs/UserQueueEntityListing.md +2 -2
- data/docs/UserRecordingEntityListing.md +2 -2
- data/docs/UserSkillEntityListing.md +2 -2
- data/docs/Voicemail.md +1 -0
- data/docs/VoicemailMessageEntityListing.md +2 -2
- data/docs/WorkspaceEntityListing.md +2 -2
- data/docs/WorkspaceMemberEntityListing.md +2 -2
- data/docs/WrapupCodeEntityListing.md +2 -2
- data/lib/purecloudplatformclientv2.rb +2 -12
- data/lib/purecloudplatformclientv2/api/alerting_api.rb +133 -1819
- data/lib/purecloudplatformclientv2/api/architect_api.rb +124 -0
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +9 -0
- data/lib/purecloudplatformclientv2/api/outbound_api.rb +2 -2
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/condition.rb +2 -2
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/documentation_search_criteria.rb +2 -2
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +25 -25
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +25 -25
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/{heart_beat_alert_container.rb → history_entry.rb} +48 -159
- data/lib/purecloudplatformclientv2/models/{heart_beat_rule_container.rb → history_listing.rb} +27 -52
- data/lib/purecloudplatformclientv2/models/inbound_domain.rb +1 -1
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +25 -25
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +25 -25
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/note_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/operation.rb +2 -2
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +25 -25
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +25 -25
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/voicemail.rb +44 -4
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +25 -25
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -26
- data/docs/HeartBeatAlert.md +0 -24
- data/docs/HeartBeatAlertContainer.md +0 -22
- data/docs/HeartBeatRule.md +0 -22
- data/docs/HeartBeatRuleContainer.md +0 -22
- data/docs/RoutingStatusAlert.md +0 -23
- data/docs/RoutingStatusAlertContainer.md +0 -22
- data/docs/RoutingStatusRule.md +0 -22
- data/docs/RoutingStatusRuleContainer.md +0 -22
- data/docs/UserPresenceAlert.md +0 -25
- data/docs/UserPresenceAlertContainer.md +0 -22
- data/docs/UserPresenceRule.md +0 -23
- data/docs/UserPresenceRuleContainer.md +0 -22
- data/lib/purecloudplatformclientv2/models/heart_beat_alert.rb +0 -545
- data/lib/purecloudplatformclientv2/models/heart_beat_rule.rb +0 -489
- data/lib/purecloudplatformclientv2/models/routing_status_alert.rb +0 -520
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +0 -428
- data/lib/purecloudplatformclientv2/models/routing_status_rule.rb +0 -489
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +0 -428
- data/lib/purecloudplatformclientv2/models/user_presence_alert.rb +0 -576
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +0 -428
- data/lib/purecloudplatformclientv2/models/user_presence_rule.rb +0 -520
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +0 -428
|
@@ -11,11 +11,11 @@ title: VoicemailMessageEntityListing
|
|
|
11
11
|
| **page_size** | **Integer** | | [optional] |
|
|
12
12
|
| **page_number** | **Integer** | | [optional] |
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
|
14
|
-
| **self_uri** | **String** | | [optional] |
|
|
15
|
-
| **first_uri** | **String** | | [optional] |
|
|
16
14
|
| **previous_uri** | **String** | | [optional] |
|
|
17
15
|
| **next_uri** | **String** | | [optional] |
|
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
|
17
|
+
| **self_uri** | **String** | | [optional] |
|
|
18
|
+
| **first_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -11,11 +11,11 @@ title: WorkspaceEntityListing
|
|
|
11
11
|
| **page_size** | **Integer** | | [optional] |
|
|
12
12
|
| **page_number** | **Integer** | | [optional] |
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
|
14
|
-
| **self_uri** | **String** | | [optional] |
|
|
15
|
-
| **first_uri** | **String** | | [optional] |
|
|
16
14
|
| **previous_uri** | **String** | | [optional] |
|
|
17
15
|
| **next_uri** | **String** | | [optional] |
|
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
|
17
|
+
| **self_uri** | **String** | | [optional] |
|
|
18
|
+
| **first_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -11,11 +11,11 @@ title: WorkspaceMemberEntityListing
|
|
|
11
11
|
| **page_size** | **Integer** | | [optional] |
|
|
12
12
|
| **page_number** | **Integer** | | [optional] |
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
|
14
|
-
| **self_uri** | **String** | | [optional] |
|
|
15
|
-
| **first_uri** | **String** | | [optional] |
|
|
16
14
|
| **previous_uri** | **String** | | [optional] |
|
|
17
15
|
| **next_uri** | **String** | | [optional] |
|
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
|
17
|
+
| **self_uri** | **String** | | [optional] |
|
|
18
|
+
| **first_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -11,11 +11,11 @@ title: WrapupCodeEntityListing
|
|
|
11
11
|
| **page_size** | **Integer** | | [optional] |
|
|
12
12
|
| **page_number** | **Integer** | | [optional] |
|
|
13
13
|
| **total** | **Integer** | | [optional] |
|
|
14
|
-
| **self_uri** | **String** | | [optional] |
|
|
15
|
-
| **first_uri** | **String** | | [optional] |
|
|
16
14
|
| **previous_uri** | **String** | | [optional] |
|
|
17
15
|
| **next_uri** | **String** | | [optional] |
|
|
18
16
|
| **last_uri** | **String** | | [optional] |
|
|
17
|
+
| **self_uri** | **String** | | [optional] |
|
|
18
|
+
| **first_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -502,15 +502,13 @@ require 'purecloudplatformclientv2/models/group_search_criteria'
|
|
|
502
502
|
require 'purecloudplatformclientv2/models/group_search_request'
|
|
503
503
|
require 'purecloudplatformclientv2/models/group_update'
|
|
504
504
|
require 'purecloudplatformclientv2/models/groups_search_response'
|
|
505
|
-
require 'purecloudplatformclientv2/models/heart_beat_alert'
|
|
506
|
-
require 'purecloudplatformclientv2/models/heart_beat_alert_container'
|
|
507
505
|
require 'purecloudplatformclientv2/models/heart_beat_alert_notification'
|
|
508
506
|
require 'purecloudplatformclientv2/models/heart_beat_alert_notification_notification_user'
|
|
509
507
|
require 'purecloudplatformclientv2/models/heart_beat_alert_notification_notification_users'
|
|
510
|
-
require 'purecloudplatformclientv2/models/heart_beat_rule'
|
|
511
|
-
require 'purecloudplatformclientv2/models/heart_beat_rule_container'
|
|
512
508
|
require 'purecloudplatformclientv2/models/heart_beat_rule_notification'
|
|
513
509
|
require 'purecloudplatformclientv2/models/heart_beat_rule_notification_notification_user'
|
|
510
|
+
require 'purecloudplatformclientv2/models/history_entry'
|
|
511
|
+
require 'purecloudplatformclientv2/models/history_listing'
|
|
514
512
|
require 'purecloudplatformclientv2/models/identity_now'
|
|
515
513
|
require 'purecloudplatformclientv2/models/import_status'
|
|
516
514
|
require 'purecloudplatformclientv2/models/import_status_notification'
|
|
@@ -753,10 +751,6 @@ require 'purecloudplatformclientv2/models/ring'
|
|
|
753
751
|
require 'purecloudplatformclientv2/models/routing_data'
|
|
754
752
|
require 'purecloudplatformclientv2/models/routing_skill'
|
|
755
753
|
require 'purecloudplatformclientv2/models/routing_status'
|
|
756
|
-
require 'purecloudplatformclientv2/models/routing_status_alert'
|
|
757
|
-
require 'purecloudplatformclientv2/models/routing_status_alert_container'
|
|
758
|
-
require 'purecloudplatformclientv2/models/routing_status_rule'
|
|
759
|
-
require 'purecloudplatformclientv2/models/routing_status_rule_container'
|
|
760
754
|
require 'purecloudplatformclientv2/models/rule_set'
|
|
761
755
|
require 'purecloudplatformclientv2/models/rule_set_diagnostic'
|
|
762
756
|
require 'purecloudplatformclientv2/models/rule_set_entity_listing'
|
|
@@ -893,13 +887,9 @@ require 'purecloudplatformclientv2/models/user_list_schedule_request_body'
|
|
|
893
887
|
require 'purecloudplatformclientv2/models/user_me'
|
|
894
888
|
require 'purecloudplatformclientv2/models/user_param'
|
|
895
889
|
require 'purecloudplatformclientv2/models/user_presence'
|
|
896
|
-
require 'purecloudplatformclientv2/models/user_presence_alert'
|
|
897
|
-
require 'purecloudplatformclientv2/models/user_presence_alert_container'
|
|
898
890
|
require 'purecloudplatformclientv2/models/user_presence_notification'
|
|
899
891
|
require 'purecloudplatformclientv2/models/user_presence_notification_organization_presence'
|
|
900
892
|
require 'purecloudplatformclientv2/models/user_presence_notification_presence_definition'
|
|
901
|
-
require 'purecloudplatformclientv2/models/user_presence_rule'
|
|
902
|
-
require 'purecloudplatformclientv2/models/user_presence_rule_container'
|
|
903
893
|
require 'purecloudplatformclientv2/models/user_queue'
|
|
904
894
|
require 'purecloudplatformclientv2/models/user_queue_entity_listing'
|
|
905
895
|
require 'purecloudplatformclientv2/models/user_recording'
|
|
@@ -24,134 +24,6 @@ module PureCloud
|
|
|
24
24
|
@api_client = api_client
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
# Delete a heart beat alert
|
|
28
|
-
#
|
|
29
|
-
# @param alert_id Alert ID
|
|
30
|
-
# @param [Hash] opts the optional parameters
|
|
31
|
-
# @return [nil]
|
|
32
|
-
def delete_alerting_heartbeat_alert(alert_id, opts = {})
|
|
33
|
-
delete_alerting_heartbeat_alert_with_http_info(alert_id, opts)
|
|
34
|
-
return nil
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
# Delete a heart beat alert
|
|
38
|
-
#
|
|
39
|
-
# @param alert_id Alert ID
|
|
40
|
-
# @param [Hash] opts the optional parameters
|
|
41
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
42
|
-
def delete_alerting_heartbeat_alert_with_http_info(alert_id, opts = {})
|
|
43
|
-
if @api_client.config.debugging
|
|
44
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_heartbeat_alert ..."
|
|
45
|
-
end
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
# verify the required parameter 'alert_id' is set
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_heartbeat_alert" if alert_id.nil?
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
# resource path
|
|
56
|
-
local_var_path = "/api/v2/alerting/heartbeat/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
57
|
-
|
|
58
|
-
# query parameters
|
|
59
|
-
query_params = {}
|
|
60
|
-
|
|
61
|
-
# header parameters
|
|
62
|
-
header_params = {}
|
|
63
|
-
|
|
64
|
-
# HTTP header 'Accept' (if needed)
|
|
65
|
-
local_header_accept = ['application/json']
|
|
66
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
67
|
-
|
|
68
|
-
# HTTP header 'Content-Type'
|
|
69
|
-
local_header_content_type = ['application/json']
|
|
70
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
71
|
-
|
|
72
|
-
# form parameters
|
|
73
|
-
form_params = {}
|
|
74
|
-
|
|
75
|
-
# http body (model)
|
|
76
|
-
post_body = nil
|
|
77
|
-
|
|
78
|
-
auth_names = ['PureCloud Auth']
|
|
79
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
80
|
-
:header_params => header_params,
|
|
81
|
-
:query_params => query_params,
|
|
82
|
-
:form_params => form_params,
|
|
83
|
-
:body => post_body,
|
|
84
|
-
:auth_names => auth_names)
|
|
85
|
-
if @api_client.config.debugging
|
|
86
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_heartbeat_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
87
|
-
end
|
|
88
|
-
return data, status_code, headers
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
# Delete a heart beat rule.
|
|
92
|
-
#
|
|
93
|
-
# @param rule_id Rule ID
|
|
94
|
-
# @param [Hash] opts the optional parameters
|
|
95
|
-
# @return [nil]
|
|
96
|
-
def delete_alerting_heartbeat_rule(rule_id, opts = {})
|
|
97
|
-
delete_alerting_heartbeat_rule_with_http_info(rule_id, opts)
|
|
98
|
-
return nil
|
|
99
|
-
end
|
|
100
|
-
|
|
101
|
-
# Delete a heart beat rule.
|
|
102
|
-
#
|
|
103
|
-
# @param rule_id Rule ID
|
|
104
|
-
# @param [Hash] opts the optional parameters
|
|
105
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
106
|
-
def delete_alerting_heartbeat_rule_with_http_info(rule_id, opts = {})
|
|
107
|
-
if @api_client.config.debugging
|
|
108
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_heartbeat_rule ..."
|
|
109
|
-
end
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
# verify the required parameter 'rule_id' is set
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_heartbeat_rule" if rule_id.nil?
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# resource path
|
|
120
|
-
local_var_path = "/api/v2/alerting/heartbeat/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
121
|
-
|
|
122
|
-
# query parameters
|
|
123
|
-
query_params = {}
|
|
124
|
-
|
|
125
|
-
# header parameters
|
|
126
|
-
header_params = {}
|
|
127
|
-
|
|
128
|
-
# HTTP header 'Accept' (if needed)
|
|
129
|
-
local_header_accept = ['application/json']
|
|
130
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
131
|
-
|
|
132
|
-
# HTTP header 'Content-Type'
|
|
133
|
-
local_header_content_type = ['application/json']
|
|
134
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
135
|
-
|
|
136
|
-
# form parameters
|
|
137
|
-
form_params = {}
|
|
138
|
-
|
|
139
|
-
# http body (model)
|
|
140
|
-
post_body = nil
|
|
141
|
-
|
|
142
|
-
auth_names = ['PureCloud Auth']
|
|
143
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
144
|
-
:header_params => header_params,
|
|
145
|
-
:query_params => query_params,
|
|
146
|
-
:form_params => form_params,
|
|
147
|
-
:body => post_body,
|
|
148
|
-
:auth_names => auth_names)
|
|
149
|
-
if @api_client.config.debugging
|
|
150
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_heartbeat_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
151
|
-
end
|
|
152
|
-
return data, status_code, headers
|
|
153
|
-
end
|
|
154
|
-
|
|
155
27
|
# Delete an interaction stats alert
|
|
156
28
|
#
|
|
157
29
|
# @param alert_id Alert ID
|
|
@@ -209,1534 +81,46 @@ module PureCloud
|
|
|
209
81
|
:query_params => query_params,
|
|
210
82
|
:form_params => form_params,
|
|
211
83
|
:body => post_body,
|
|
212
|
-
:auth_names => auth_names)
|
|
213
|
-
if @api_client.config.debugging
|
|
214
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_interactionstats_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
215
|
-
end
|
|
216
|
-
return data, status_code, headers
|
|
217
|
-
end
|
|
218
|
-
|
|
219
|
-
# Delete an interaction stats rule.
|
|
220
|
-
#
|
|
221
|
-
# @param rule_id Rule ID
|
|
222
|
-
# @param [Hash] opts the optional parameters
|
|
223
|
-
# @return [nil]
|
|
224
|
-
def delete_alerting_interactionstats_rule(rule_id, opts = {})
|
|
225
|
-
delete_alerting_interactionstats_rule_with_http_info(rule_id, opts)
|
|
226
|
-
return nil
|
|
227
|
-
end
|
|
228
|
-
|
|
229
|
-
# Delete an interaction stats rule.
|
|
230
|
-
#
|
|
231
|
-
# @param rule_id Rule ID
|
|
232
|
-
# @param [Hash] opts the optional parameters
|
|
233
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
234
|
-
def delete_alerting_interactionstats_rule_with_http_info(rule_id, opts = {})
|
|
235
|
-
if @api_client.config.debugging
|
|
236
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_interactionstats_rule ..."
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
# verify the required parameter 'rule_id' is set
|
|
241
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_interactionstats_rule" if rule_id.nil?
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
# resource path
|
|
248
|
-
local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
249
|
-
|
|
250
|
-
# query parameters
|
|
251
|
-
query_params = {}
|
|
252
|
-
|
|
253
|
-
# header parameters
|
|
254
|
-
header_params = {}
|
|
255
|
-
|
|
256
|
-
# HTTP header 'Accept' (if needed)
|
|
257
|
-
local_header_accept = ['application/json']
|
|
258
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
259
|
-
|
|
260
|
-
# HTTP header 'Content-Type'
|
|
261
|
-
local_header_content_type = ['application/json']
|
|
262
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
263
|
-
|
|
264
|
-
# form parameters
|
|
265
|
-
form_params = {}
|
|
266
|
-
|
|
267
|
-
# http body (model)
|
|
268
|
-
post_body = nil
|
|
269
|
-
|
|
270
|
-
auth_names = ['PureCloud Auth']
|
|
271
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
272
|
-
:header_params => header_params,
|
|
273
|
-
:query_params => query_params,
|
|
274
|
-
:form_params => form_params,
|
|
275
|
-
:body => post_body,
|
|
276
|
-
:auth_names => auth_names)
|
|
277
|
-
if @api_client.config.debugging
|
|
278
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_interactionstats_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
279
|
-
end
|
|
280
|
-
return data, status_code, headers
|
|
281
|
-
end
|
|
282
|
-
|
|
283
|
-
# Delete a routing status alert
|
|
284
|
-
#
|
|
285
|
-
# @param alert_id Alert ID
|
|
286
|
-
# @param [Hash] opts the optional parameters
|
|
287
|
-
# @return [nil]
|
|
288
|
-
def delete_alerting_routingstatus_alert(alert_id, opts = {})
|
|
289
|
-
delete_alerting_routingstatus_alert_with_http_info(alert_id, opts)
|
|
290
|
-
return nil
|
|
291
|
-
end
|
|
292
|
-
|
|
293
|
-
# Delete a routing status alert
|
|
294
|
-
#
|
|
295
|
-
# @param alert_id Alert ID
|
|
296
|
-
# @param [Hash] opts the optional parameters
|
|
297
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
298
|
-
def delete_alerting_routingstatus_alert_with_http_info(alert_id, opts = {})
|
|
299
|
-
if @api_client.config.debugging
|
|
300
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_routingstatus_alert ..."
|
|
301
|
-
end
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
# verify the required parameter 'alert_id' is set
|
|
305
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_routingstatus_alert" if alert_id.nil?
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
# resource path
|
|
312
|
-
local_var_path = "/api/v2/alerting/routingstatus/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
313
|
-
|
|
314
|
-
# query parameters
|
|
315
|
-
query_params = {}
|
|
316
|
-
|
|
317
|
-
# header parameters
|
|
318
|
-
header_params = {}
|
|
319
|
-
|
|
320
|
-
# HTTP header 'Accept' (if needed)
|
|
321
|
-
local_header_accept = ['application/json']
|
|
322
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
323
|
-
|
|
324
|
-
# HTTP header 'Content-Type'
|
|
325
|
-
local_header_content_type = ['application/json']
|
|
326
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
327
|
-
|
|
328
|
-
# form parameters
|
|
329
|
-
form_params = {}
|
|
330
|
-
|
|
331
|
-
# http body (model)
|
|
332
|
-
post_body = nil
|
|
333
|
-
|
|
334
|
-
auth_names = ['PureCloud Auth']
|
|
335
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
336
|
-
:header_params => header_params,
|
|
337
|
-
:query_params => query_params,
|
|
338
|
-
:form_params => form_params,
|
|
339
|
-
:body => post_body,
|
|
340
|
-
:auth_names => auth_names)
|
|
341
|
-
if @api_client.config.debugging
|
|
342
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_routingstatus_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
343
|
-
end
|
|
344
|
-
return data, status_code, headers
|
|
345
|
-
end
|
|
346
|
-
|
|
347
|
-
# Delete a routing status rule.
|
|
348
|
-
#
|
|
349
|
-
# @param rule_id Rule ID
|
|
350
|
-
# @param [Hash] opts the optional parameters
|
|
351
|
-
# @return [nil]
|
|
352
|
-
def delete_alerting_routingstatus_rule(rule_id, opts = {})
|
|
353
|
-
delete_alerting_routingstatus_rule_with_http_info(rule_id, opts)
|
|
354
|
-
return nil
|
|
355
|
-
end
|
|
356
|
-
|
|
357
|
-
# Delete a routing status rule.
|
|
358
|
-
#
|
|
359
|
-
# @param rule_id Rule ID
|
|
360
|
-
# @param [Hash] opts the optional parameters
|
|
361
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
362
|
-
def delete_alerting_routingstatus_rule_with_http_info(rule_id, opts = {})
|
|
363
|
-
if @api_client.config.debugging
|
|
364
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_routingstatus_rule ..."
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
# verify the required parameter 'rule_id' is set
|
|
369
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_routingstatus_rule" if rule_id.nil?
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
# resource path
|
|
376
|
-
local_var_path = "/api/v2/alerting/routingstatus/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
377
|
-
|
|
378
|
-
# query parameters
|
|
379
|
-
query_params = {}
|
|
380
|
-
|
|
381
|
-
# header parameters
|
|
382
|
-
header_params = {}
|
|
383
|
-
|
|
384
|
-
# HTTP header 'Accept' (if needed)
|
|
385
|
-
local_header_accept = ['application/json']
|
|
386
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
387
|
-
|
|
388
|
-
# HTTP header 'Content-Type'
|
|
389
|
-
local_header_content_type = ['application/json']
|
|
390
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
391
|
-
|
|
392
|
-
# form parameters
|
|
393
|
-
form_params = {}
|
|
394
|
-
|
|
395
|
-
# http body (model)
|
|
396
|
-
post_body = nil
|
|
397
|
-
|
|
398
|
-
auth_names = ['PureCloud Auth']
|
|
399
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
400
|
-
:header_params => header_params,
|
|
401
|
-
:query_params => query_params,
|
|
402
|
-
:form_params => form_params,
|
|
403
|
-
:body => post_body,
|
|
404
|
-
:auth_names => auth_names)
|
|
405
|
-
if @api_client.config.debugging
|
|
406
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_routingstatus_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
407
|
-
end
|
|
408
|
-
return data, status_code, headers
|
|
409
|
-
end
|
|
410
|
-
|
|
411
|
-
# Delete a user presence alert
|
|
412
|
-
#
|
|
413
|
-
# @param alert_id Alert ID
|
|
414
|
-
# @param [Hash] opts the optional parameters
|
|
415
|
-
# @return [nil]
|
|
416
|
-
def delete_alerting_userpresence_alert(alert_id, opts = {})
|
|
417
|
-
delete_alerting_userpresence_alert_with_http_info(alert_id, opts)
|
|
418
|
-
return nil
|
|
419
|
-
end
|
|
420
|
-
|
|
421
|
-
# Delete a user presence alert
|
|
422
|
-
#
|
|
423
|
-
# @param alert_id Alert ID
|
|
424
|
-
# @param [Hash] opts the optional parameters
|
|
425
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
426
|
-
def delete_alerting_userpresence_alert_with_http_info(alert_id, opts = {})
|
|
427
|
-
if @api_client.config.debugging
|
|
428
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_userpresence_alert ..."
|
|
429
|
-
end
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
# verify the required parameter 'alert_id' is set
|
|
433
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.delete_alerting_userpresence_alert" if alert_id.nil?
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
# resource path
|
|
440
|
-
local_var_path = "/api/v2/alerting/userpresence/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
441
|
-
|
|
442
|
-
# query parameters
|
|
443
|
-
query_params = {}
|
|
444
|
-
|
|
445
|
-
# header parameters
|
|
446
|
-
header_params = {}
|
|
447
|
-
|
|
448
|
-
# HTTP header 'Accept' (if needed)
|
|
449
|
-
local_header_accept = ['application/json']
|
|
450
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
451
|
-
|
|
452
|
-
# HTTP header 'Content-Type'
|
|
453
|
-
local_header_content_type = ['application/json']
|
|
454
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
455
|
-
|
|
456
|
-
# form parameters
|
|
457
|
-
form_params = {}
|
|
458
|
-
|
|
459
|
-
# http body (model)
|
|
460
|
-
post_body = nil
|
|
461
|
-
|
|
462
|
-
auth_names = ['PureCloud Auth']
|
|
463
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
464
|
-
:header_params => header_params,
|
|
465
|
-
:query_params => query_params,
|
|
466
|
-
:form_params => form_params,
|
|
467
|
-
:body => post_body,
|
|
468
|
-
:auth_names => auth_names)
|
|
469
|
-
if @api_client.config.debugging
|
|
470
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_userpresence_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
471
|
-
end
|
|
472
|
-
return data, status_code, headers
|
|
473
|
-
end
|
|
474
|
-
|
|
475
|
-
# Delete a user presence rule.
|
|
476
|
-
#
|
|
477
|
-
# @param rule_id Rule ID
|
|
478
|
-
# @param [Hash] opts the optional parameters
|
|
479
|
-
# @return [nil]
|
|
480
|
-
def delete_alerting_userpresence_rule(rule_id, opts = {})
|
|
481
|
-
delete_alerting_userpresence_rule_with_http_info(rule_id, opts)
|
|
482
|
-
return nil
|
|
483
|
-
end
|
|
484
|
-
|
|
485
|
-
# Delete a user presence rule.
|
|
486
|
-
#
|
|
487
|
-
# @param rule_id Rule ID
|
|
488
|
-
# @param [Hash] opts the optional parameters
|
|
489
|
-
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
490
|
-
def delete_alerting_userpresence_rule_with_http_info(rule_id, opts = {})
|
|
491
|
-
if @api_client.config.debugging
|
|
492
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_userpresence_rule ..."
|
|
493
|
-
end
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
# verify the required parameter 'rule_id' is set
|
|
497
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_userpresence_rule" if rule_id.nil?
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
# resource path
|
|
504
|
-
local_var_path = "/api/v2/alerting/userpresence/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
505
|
-
|
|
506
|
-
# query parameters
|
|
507
|
-
query_params = {}
|
|
508
|
-
|
|
509
|
-
# header parameters
|
|
510
|
-
header_params = {}
|
|
511
|
-
|
|
512
|
-
# HTTP header 'Accept' (if needed)
|
|
513
|
-
local_header_accept = ['application/json']
|
|
514
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
515
|
-
|
|
516
|
-
# HTTP header 'Content-Type'
|
|
517
|
-
local_header_content_type = ['application/json']
|
|
518
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
519
|
-
|
|
520
|
-
# form parameters
|
|
521
|
-
form_params = {}
|
|
522
|
-
|
|
523
|
-
# http body (model)
|
|
524
|
-
post_body = nil
|
|
525
|
-
|
|
526
|
-
auth_names = ['PureCloud Auth']
|
|
527
|
-
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
528
|
-
:header_params => header_params,
|
|
529
|
-
:query_params => query_params,
|
|
530
|
-
:form_params => form_params,
|
|
531
|
-
:body => post_body,
|
|
532
|
-
:auth_names => auth_names)
|
|
533
|
-
if @api_client.config.debugging
|
|
534
|
-
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_userpresence_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
535
|
-
end
|
|
536
|
-
return data, status_code, headers
|
|
537
|
-
end
|
|
538
|
-
|
|
539
|
-
# Get a heart beat alert
|
|
540
|
-
#
|
|
541
|
-
# @param alert_id Alert ID
|
|
542
|
-
# @param [Hash] opts the optional parameters
|
|
543
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
544
|
-
# @return [HeartBeatAlert]
|
|
545
|
-
def get_alerting_heartbeat_alert(alert_id, opts = {})
|
|
546
|
-
data, _status_code, _headers = get_alerting_heartbeat_alert_with_http_info(alert_id, opts)
|
|
547
|
-
return data
|
|
548
|
-
end
|
|
549
|
-
|
|
550
|
-
# Get a heart beat alert
|
|
551
|
-
#
|
|
552
|
-
# @param alert_id Alert ID
|
|
553
|
-
# @param [Hash] opts the optional parameters
|
|
554
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
555
|
-
# @return [Array<(HeartBeatAlert, Fixnum, Hash)>] HeartBeatAlert data, response status code and response headers
|
|
556
|
-
def get_alerting_heartbeat_alert_with_http_info(alert_id, opts = {})
|
|
557
|
-
if @api_client.config.debugging
|
|
558
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_alert ..."
|
|
559
|
-
end
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
# verify the required parameter 'alert_id' is set
|
|
563
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_heartbeat_alert" if alert_id.nil?
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
# resource path
|
|
576
|
-
local_var_path = "/api/v2/alerting/heartbeat/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
577
|
-
|
|
578
|
-
# query parameters
|
|
579
|
-
query_params = {}
|
|
580
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
581
|
-
|
|
582
|
-
# header parameters
|
|
583
|
-
header_params = {}
|
|
584
|
-
|
|
585
|
-
# HTTP header 'Accept' (if needed)
|
|
586
|
-
local_header_accept = ['application/json']
|
|
587
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
588
|
-
|
|
589
|
-
# HTTP header 'Content-Type'
|
|
590
|
-
local_header_content_type = ['application/json']
|
|
591
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
592
|
-
|
|
593
|
-
# form parameters
|
|
594
|
-
form_params = {}
|
|
595
|
-
|
|
596
|
-
# http body (model)
|
|
597
|
-
post_body = nil
|
|
598
|
-
|
|
599
|
-
auth_names = ['PureCloud Auth']
|
|
600
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
601
|
-
:header_params => header_params,
|
|
602
|
-
:query_params => query_params,
|
|
603
|
-
:form_params => form_params,
|
|
604
|
-
:body => post_body,
|
|
605
|
-
:auth_names => auth_names,
|
|
606
|
-
:return_type => 'HeartBeatAlert')
|
|
607
|
-
if @api_client.config.debugging
|
|
608
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_heartbeat_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
609
|
-
end
|
|
610
|
-
return data, status_code, headers
|
|
611
|
-
end
|
|
612
|
-
|
|
613
|
-
# Get heart beat alert list.
|
|
614
|
-
#
|
|
615
|
-
# @param [Hash] opts the optional parameters
|
|
616
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
617
|
-
# @return [HeartBeatAlertContainer]
|
|
618
|
-
def get_alerting_heartbeat_alerts(opts = {})
|
|
619
|
-
data, _status_code, _headers = get_alerting_heartbeat_alerts_with_http_info(opts)
|
|
620
|
-
return data
|
|
621
|
-
end
|
|
622
|
-
|
|
623
|
-
# Get heart beat alert list.
|
|
624
|
-
#
|
|
625
|
-
# @param [Hash] opts the optional parameters
|
|
626
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
627
|
-
# @return [Array<(HeartBeatAlertContainer, Fixnum, Hash)>] HeartBeatAlertContainer data, response status code and response headers
|
|
628
|
-
def get_alerting_heartbeat_alerts_with_http_info(opts = {})
|
|
629
|
-
if @api_client.config.debugging
|
|
630
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_alerts ..."
|
|
631
|
-
end
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
# resource path
|
|
640
|
-
local_var_path = "/api/v2/alerting/heartbeat/alerts".sub('{format}','json')
|
|
641
|
-
|
|
642
|
-
# query parameters
|
|
643
|
-
query_params = {}
|
|
644
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
645
|
-
|
|
646
|
-
# header parameters
|
|
647
|
-
header_params = {}
|
|
648
|
-
|
|
649
|
-
# HTTP header 'Accept' (if needed)
|
|
650
|
-
local_header_accept = ['application/json']
|
|
651
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
652
|
-
|
|
653
|
-
# HTTP header 'Content-Type'
|
|
654
|
-
local_header_content_type = ['application/json']
|
|
655
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
656
|
-
|
|
657
|
-
# form parameters
|
|
658
|
-
form_params = {}
|
|
659
|
-
|
|
660
|
-
# http body (model)
|
|
661
|
-
post_body = nil
|
|
662
|
-
|
|
663
|
-
auth_names = ['PureCloud Auth']
|
|
664
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
665
|
-
:header_params => header_params,
|
|
666
|
-
:query_params => query_params,
|
|
667
|
-
:form_params => form_params,
|
|
668
|
-
:body => post_body,
|
|
669
|
-
:auth_names => auth_names,
|
|
670
|
-
:return_type => 'HeartBeatAlertContainer')
|
|
671
|
-
if @api_client.config.debugging
|
|
672
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_heartbeat_alerts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
673
|
-
end
|
|
674
|
-
return data, status_code, headers
|
|
675
|
-
end
|
|
676
|
-
|
|
677
|
-
# Get a heart beat rule.
|
|
678
|
-
#
|
|
679
|
-
# @param rule_id Rule ID
|
|
680
|
-
# @param [Hash] opts the optional parameters
|
|
681
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
682
|
-
# @return [HeartBeatRule]
|
|
683
|
-
def get_alerting_heartbeat_rule(rule_id, opts = {})
|
|
684
|
-
data, _status_code, _headers = get_alerting_heartbeat_rule_with_http_info(rule_id, opts)
|
|
685
|
-
return data
|
|
686
|
-
end
|
|
687
|
-
|
|
688
|
-
# Get a heart beat rule.
|
|
689
|
-
#
|
|
690
|
-
# @param rule_id Rule ID
|
|
691
|
-
# @param [Hash] opts the optional parameters
|
|
692
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
693
|
-
# @return [Array<(HeartBeatRule, Fixnum, Hash)>] HeartBeatRule data, response status code and response headers
|
|
694
|
-
def get_alerting_heartbeat_rule_with_http_info(rule_id, opts = {})
|
|
695
|
-
if @api_client.config.debugging
|
|
696
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_rule ..."
|
|
697
|
-
end
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
# verify the required parameter 'rule_id' is set
|
|
701
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_heartbeat_rule" if rule_id.nil?
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
# resource path
|
|
714
|
-
local_var_path = "/api/v2/alerting/heartbeat/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
715
|
-
|
|
716
|
-
# query parameters
|
|
717
|
-
query_params = {}
|
|
718
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
719
|
-
|
|
720
|
-
# header parameters
|
|
721
|
-
header_params = {}
|
|
722
|
-
|
|
723
|
-
# HTTP header 'Accept' (if needed)
|
|
724
|
-
local_header_accept = ['application/json']
|
|
725
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
726
|
-
|
|
727
|
-
# HTTP header 'Content-Type'
|
|
728
|
-
local_header_content_type = ['application/json']
|
|
729
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
730
|
-
|
|
731
|
-
# form parameters
|
|
732
|
-
form_params = {}
|
|
733
|
-
|
|
734
|
-
# http body (model)
|
|
735
|
-
post_body = nil
|
|
736
|
-
|
|
737
|
-
auth_names = ['PureCloud Auth']
|
|
738
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
739
|
-
:header_params => header_params,
|
|
740
|
-
:query_params => query_params,
|
|
741
|
-
:form_params => form_params,
|
|
742
|
-
:body => post_body,
|
|
743
|
-
:auth_names => auth_names,
|
|
744
|
-
:return_type => 'HeartBeatRule')
|
|
745
|
-
if @api_client.config.debugging
|
|
746
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_heartbeat_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
747
|
-
end
|
|
748
|
-
return data, status_code, headers
|
|
749
|
-
end
|
|
750
|
-
|
|
751
|
-
# Get a heart beat rule list.
|
|
752
|
-
#
|
|
753
|
-
# @param [Hash] opts the optional parameters
|
|
754
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
755
|
-
# @return [HeartBeatRuleContainer]
|
|
756
|
-
def get_alerting_heartbeat_rules(opts = {})
|
|
757
|
-
data, _status_code, _headers = get_alerting_heartbeat_rules_with_http_info(opts)
|
|
758
|
-
return data
|
|
759
|
-
end
|
|
760
|
-
|
|
761
|
-
# Get a heart beat rule list.
|
|
762
|
-
#
|
|
763
|
-
# @param [Hash] opts the optional parameters
|
|
764
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
765
|
-
# @return [Array<(HeartBeatRuleContainer, Fixnum, Hash)>] HeartBeatRuleContainer data, response status code and response headers
|
|
766
|
-
def get_alerting_heartbeat_rules_with_http_info(opts = {})
|
|
767
|
-
if @api_client.config.debugging
|
|
768
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_heartbeat_rules ..."
|
|
769
|
-
end
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
# resource path
|
|
778
|
-
local_var_path = "/api/v2/alerting/heartbeat/rules".sub('{format}','json')
|
|
779
|
-
|
|
780
|
-
# query parameters
|
|
781
|
-
query_params = {}
|
|
782
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
783
|
-
|
|
784
|
-
# header parameters
|
|
785
|
-
header_params = {}
|
|
786
|
-
|
|
787
|
-
# HTTP header 'Accept' (if needed)
|
|
788
|
-
local_header_accept = ['application/json']
|
|
789
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
790
|
-
|
|
791
|
-
# HTTP header 'Content-Type'
|
|
792
|
-
local_header_content_type = ['application/json']
|
|
793
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
794
|
-
|
|
795
|
-
# form parameters
|
|
796
|
-
form_params = {}
|
|
797
|
-
|
|
798
|
-
# http body (model)
|
|
799
|
-
post_body = nil
|
|
800
|
-
|
|
801
|
-
auth_names = ['PureCloud Auth']
|
|
802
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
803
|
-
:header_params => header_params,
|
|
804
|
-
:query_params => query_params,
|
|
805
|
-
:form_params => form_params,
|
|
806
|
-
:body => post_body,
|
|
807
|
-
:auth_names => auth_names,
|
|
808
|
-
:return_type => 'HeartBeatRuleContainer')
|
|
809
|
-
if @api_client.config.debugging
|
|
810
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_heartbeat_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
811
|
-
end
|
|
812
|
-
return data, status_code, headers
|
|
813
|
-
end
|
|
814
|
-
|
|
815
|
-
# Get an interaction stats alert
|
|
816
|
-
#
|
|
817
|
-
# @param alert_id Alert ID
|
|
818
|
-
# @param [Hash] opts the optional parameters
|
|
819
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
820
|
-
# @return [InteractionStatsAlert]
|
|
821
|
-
def get_alerting_interactionstats_alert(alert_id, opts = {})
|
|
822
|
-
data, _status_code, _headers = get_alerting_interactionstats_alert_with_http_info(alert_id, opts)
|
|
823
|
-
return data
|
|
824
|
-
end
|
|
825
|
-
|
|
826
|
-
# Get an interaction stats alert
|
|
827
|
-
#
|
|
828
|
-
# @param alert_id Alert ID
|
|
829
|
-
# @param [Hash] opts the optional parameters
|
|
830
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
831
|
-
# @return [Array<(InteractionStatsAlert, Fixnum, Hash)>] InteractionStatsAlert data, response status code and response headers
|
|
832
|
-
def get_alerting_interactionstats_alert_with_http_info(alert_id, opts = {})
|
|
833
|
-
if @api_client.config.debugging
|
|
834
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alert ..."
|
|
835
|
-
end
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
# verify the required parameter 'alert_id' is set
|
|
839
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_interactionstats_alert" if alert_id.nil?
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
# resource path
|
|
852
|
-
local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
853
|
-
|
|
854
|
-
# query parameters
|
|
855
|
-
query_params = {}
|
|
856
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
857
|
-
|
|
858
|
-
# header parameters
|
|
859
|
-
header_params = {}
|
|
860
|
-
|
|
861
|
-
# HTTP header 'Accept' (if needed)
|
|
862
|
-
local_header_accept = ['application/json']
|
|
863
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
864
|
-
|
|
865
|
-
# HTTP header 'Content-Type'
|
|
866
|
-
local_header_content_type = ['application/json']
|
|
867
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
868
|
-
|
|
869
|
-
# form parameters
|
|
870
|
-
form_params = {}
|
|
871
|
-
|
|
872
|
-
# http body (model)
|
|
873
|
-
post_body = nil
|
|
874
|
-
|
|
875
|
-
auth_names = ['PureCloud Auth']
|
|
876
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
877
|
-
:header_params => header_params,
|
|
878
|
-
:query_params => query_params,
|
|
879
|
-
:form_params => form_params,
|
|
880
|
-
:body => post_body,
|
|
881
|
-
:auth_names => auth_names,
|
|
882
|
-
:return_type => 'InteractionStatsAlert')
|
|
883
|
-
if @api_client.config.debugging
|
|
884
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
885
|
-
end
|
|
886
|
-
return data, status_code, headers
|
|
887
|
-
end
|
|
888
|
-
|
|
889
|
-
# Get interaction stats alert list.
|
|
890
|
-
#
|
|
891
|
-
# @param [Hash] opts the optional parameters
|
|
892
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
893
|
-
# @return [InteractionStatsAlertContainer]
|
|
894
|
-
def get_alerting_interactionstats_alerts(opts = {})
|
|
895
|
-
data, _status_code, _headers = get_alerting_interactionstats_alerts_with_http_info(opts)
|
|
896
|
-
return data
|
|
897
|
-
end
|
|
898
|
-
|
|
899
|
-
# Get interaction stats alert list.
|
|
900
|
-
#
|
|
901
|
-
# @param [Hash] opts the optional parameters
|
|
902
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
903
|
-
# @return [Array<(InteractionStatsAlertContainer, Fixnum, Hash)>] InteractionStatsAlertContainer data, response status code and response headers
|
|
904
|
-
def get_alerting_interactionstats_alerts_with_http_info(opts = {})
|
|
905
|
-
if @api_client.config.debugging
|
|
906
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts ..."
|
|
907
|
-
end
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
# resource path
|
|
916
|
-
local_var_path = "/api/v2/alerting/interactionstats/alerts".sub('{format}','json')
|
|
917
|
-
|
|
918
|
-
# query parameters
|
|
919
|
-
query_params = {}
|
|
920
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
921
|
-
|
|
922
|
-
# header parameters
|
|
923
|
-
header_params = {}
|
|
924
|
-
|
|
925
|
-
# HTTP header 'Accept' (if needed)
|
|
926
|
-
local_header_accept = ['application/json']
|
|
927
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
928
|
-
|
|
929
|
-
# HTTP header 'Content-Type'
|
|
930
|
-
local_header_content_type = ['application/json']
|
|
931
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
932
|
-
|
|
933
|
-
# form parameters
|
|
934
|
-
form_params = {}
|
|
935
|
-
|
|
936
|
-
# http body (model)
|
|
937
|
-
post_body = nil
|
|
938
|
-
|
|
939
|
-
auth_names = ['PureCloud Auth']
|
|
940
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
941
|
-
:header_params => header_params,
|
|
942
|
-
:query_params => query_params,
|
|
943
|
-
:form_params => form_params,
|
|
944
|
-
:body => post_body,
|
|
945
|
-
:auth_names => auth_names,
|
|
946
|
-
:return_type => 'InteractionStatsAlertContainer')
|
|
947
|
-
if @api_client.config.debugging
|
|
948
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alerts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
949
|
-
end
|
|
950
|
-
return data, status_code, headers
|
|
951
|
-
end
|
|
952
|
-
|
|
953
|
-
# Gets user unread count of interaction stats alerts.
|
|
954
|
-
#
|
|
955
|
-
# @param [Hash] opts the optional parameters
|
|
956
|
-
# @return [UnreadMetric]
|
|
957
|
-
def get_alerting_interactionstats_alerts_unread(opts = {})
|
|
958
|
-
data, _status_code, _headers = get_alerting_interactionstats_alerts_unread_with_http_info(opts)
|
|
959
|
-
return data
|
|
960
|
-
end
|
|
961
|
-
|
|
962
|
-
# Gets user unread count of interaction stats alerts.
|
|
963
|
-
#
|
|
964
|
-
# @param [Hash] opts the optional parameters
|
|
965
|
-
# @return [Array<(UnreadMetric, Fixnum, Hash)>] UnreadMetric data, response status code and response headers
|
|
966
|
-
def get_alerting_interactionstats_alerts_unread_with_http_info(opts = {})
|
|
967
|
-
if @api_client.config.debugging
|
|
968
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts_unread ..."
|
|
969
|
-
end
|
|
970
|
-
|
|
971
|
-
# resource path
|
|
972
|
-
local_var_path = "/api/v2/alerting/interactionstats/alerts/unread".sub('{format}','json')
|
|
973
|
-
|
|
974
|
-
# query parameters
|
|
975
|
-
query_params = {}
|
|
976
|
-
|
|
977
|
-
# header parameters
|
|
978
|
-
header_params = {}
|
|
979
|
-
|
|
980
|
-
# HTTP header 'Accept' (if needed)
|
|
981
|
-
local_header_accept = ['application/json']
|
|
982
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
983
|
-
|
|
984
|
-
# HTTP header 'Content-Type'
|
|
985
|
-
local_header_content_type = ['application/json']
|
|
986
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
987
|
-
|
|
988
|
-
# form parameters
|
|
989
|
-
form_params = {}
|
|
990
|
-
|
|
991
|
-
# http body (model)
|
|
992
|
-
post_body = nil
|
|
993
|
-
|
|
994
|
-
auth_names = ['PureCloud Auth']
|
|
995
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
996
|
-
:header_params => header_params,
|
|
997
|
-
:query_params => query_params,
|
|
998
|
-
:form_params => form_params,
|
|
999
|
-
:body => post_body,
|
|
1000
|
-
:auth_names => auth_names,
|
|
1001
|
-
:return_type => 'UnreadMetric')
|
|
1002
|
-
if @api_client.config.debugging
|
|
1003
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alerts_unread\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1004
|
-
end
|
|
1005
|
-
return data, status_code, headers
|
|
1006
|
-
end
|
|
1007
|
-
|
|
1008
|
-
# Get an interaction stats rule.
|
|
1009
|
-
#
|
|
1010
|
-
# @param rule_id Rule ID
|
|
1011
|
-
# @param [Hash] opts the optional parameters
|
|
1012
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1013
|
-
# @return [InteractionStatsRule]
|
|
1014
|
-
def get_alerting_interactionstats_rule(rule_id, opts = {})
|
|
1015
|
-
data, _status_code, _headers = get_alerting_interactionstats_rule_with_http_info(rule_id, opts)
|
|
1016
|
-
return data
|
|
1017
|
-
end
|
|
1018
|
-
|
|
1019
|
-
# Get an interaction stats rule.
|
|
1020
|
-
#
|
|
1021
|
-
# @param rule_id Rule ID
|
|
1022
|
-
# @param [Hash] opts the optional parameters
|
|
1023
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1024
|
-
# @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
|
|
1025
|
-
def get_alerting_interactionstats_rule_with_http_info(rule_id, opts = {})
|
|
1026
|
-
if @api_client.config.debugging
|
|
1027
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rule ..."
|
|
1028
|
-
end
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
# verify the required parameter 'rule_id' is set
|
|
1032
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_interactionstats_rule" if rule_id.nil?
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
# resource path
|
|
1045
|
-
local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
1046
|
-
|
|
1047
|
-
# query parameters
|
|
1048
|
-
query_params = {}
|
|
1049
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1050
|
-
|
|
1051
|
-
# header parameters
|
|
1052
|
-
header_params = {}
|
|
1053
|
-
|
|
1054
|
-
# HTTP header 'Accept' (if needed)
|
|
1055
|
-
local_header_accept = ['application/json']
|
|
1056
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1057
|
-
|
|
1058
|
-
# HTTP header 'Content-Type'
|
|
1059
|
-
local_header_content_type = ['application/json']
|
|
1060
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1061
|
-
|
|
1062
|
-
# form parameters
|
|
1063
|
-
form_params = {}
|
|
1064
|
-
|
|
1065
|
-
# http body (model)
|
|
1066
|
-
post_body = nil
|
|
1067
|
-
|
|
1068
|
-
auth_names = ['PureCloud Auth']
|
|
1069
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1070
|
-
:header_params => header_params,
|
|
1071
|
-
:query_params => query_params,
|
|
1072
|
-
:form_params => form_params,
|
|
1073
|
-
:body => post_body,
|
|
1074
|
-
:auth_names => auth_names,
|
|
1075
|
-
:return_type => 'InteractionStatsRule')
|
|
1076
|
-
if @api_client.config.debugging
|
|
1077
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1078
|
-
end
|
|
1079
|
-
return data, status_code, headers
|
|
1080
|
-
end
|
|
1081
|
-
|
|
1082
|
-
# Get an interaction stats rule list.
|
|
1083
|
-
#
|
|
1084
|
-
# @param [Hash] opts the optional parameters
|
|
1085
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1086
|
-
# @return [InteractionStatsRuleContainer]
|
|
1087
|
-
def get_alerting_interactionstats_rules(opts = {})
|
|
1088
|
-
data, _status_code, _headers = get_alerting_interactionstats_rules_with_http_info(opts)
|
|
1089
|
-
return data
|
|
1090
|
-
end
|
|
1091
|
-
|
|
1092
|
-
# Get an interaction stats rule list.
|
|
1093
|
-
#
|
|
1094
|
-
# @param [Hash] opts the optional parameters
|
|
1095
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1096
|
-
# @return [Array<(InteractionStatsRuleContainer, Fixnum, Hash)>] InteractionStatsRuleContainer data, response status code and response headers
|
|
1097
|
-
def get_alerting_interactionstats_rules_with_http_info(opts = {})
|
|
1098
|
-
if @api_client.config.debugging
|
|
1099
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rules ..."
|
|
1100
|
-
end
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
# resource path
|
|
1109
|
-
local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json')
|
|
1110
|
-
|
|
1111
|
-
# query parameters
|
|
1112
|
-
query_params = {}
|
|
1113
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1114
|
-
|
|
1115
|
-
# header parameters
|
|
1116
|
-
header_params = {}
|
|
1117
|
-
|
|
1118
|
-
# HTTP header 'Accept' (if needed)
|
|
1119
|
-
local_header_accept = ['application/json']
|
|
1120
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1121
|
-
|
|
1122
|
-
# HTTP header 'Content-Type'
|
|
1123
|
-
local_header_content_type = ['application/json']
|
|
1124
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1125
|
-
|
|
1126
|
-
# form parameters
|
|
1127
|
-
form_params = {}
|
|
1128
|
-
|
|
1129
|
-
# http body (model)
|
|
1130
|
-
post_body = nil
|
|
1131
|
-
|
|
1132
|
-
auth_names = ['PureCloud Auth']
|
|
1133
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1134
|
-
:header_params => header_params,
|
|
1135
|
-
:query_params => query_params,
|
|
1136
|
-
:form_params => form_params,
|
|
1137
|
-
:body => post_body,
|
|
1138
|
-
:auth_names => auth_names,
|
|
1139
|
-
:return_type => 'InteractionStatsRuleContainer')
|
|
1140
|
-
if @api_client.config.debugging
|
|
1141
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1142
|
-
end
|
|
1143
|
-
return data, status_code, headers
|
|
1144
|
-
end
|
|
1145
|
-
|
|
1146
|
-
# Get a routing status alert
|
|
1147
|
-
#
|
|
1148
|
-
# @param alert_id Alert ID
|
|
1149
|
-
# @param [Hash] opts the optional parameters
|
|
1150
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1151
|
-
# @return [RoutingStatusAlert]
|
|
1152
|
-
def get_alerting_routingstatus_alert(alert_id, opts = {})
|
|
1153
|
-
data, _status_code, _headers = get_alerting_routingstatus_alert_with_http_info(alert_id, opts)
|
|
1154
|
-
return data
|
|
1155
|
-
end
|
|
1156
|
-
|
|
1157
|
-
# Get a routing status alert
|
|
1158
|
-
#
|
|
1159
|
-
# @param alert_id Alert ID
|
|
1160
|
-
# @param [Hash] opts the optional parameters
|
|
1161
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1162
|
-
# @return [Array<(RoutingStatusAlert, Fixnum, Hash)>] RoutingStatusAlert data, response status code and response headers
|
|
1163
|
-
def get_alerting_routingstatus_alert_with_http_info(alert_id, opts = {})
|
|
1164
|
-
if @api_client.config.debugging
|
|
1165
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_alert ..."
|
|
1166
|
-
end
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
# verify the required parameter 'alert_id' is set
|
|
1170
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_routingstatus_alert" if alert_id.nil?
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
# resource path
|
|
1183
|
-
local_var_path = "/api/v2/alerting/routingstatus/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
1184
|
-
|
|
1185
|
-
# query parameters
|
|
1186
|
-
query_params = {}
|
|
1187
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1188
|
-
|
|
1189
|
-
# header parameters
|
|
1190
|
-
header_params = {}
|
|
1191
|
-
|
|
1192
|
-
# HTTP header 'Accept' (if needed)
|
|
1193
|
-
local_header_accept = ['application/json']
|
|
1194
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1195
|
-
|
|
1196
|
-
# HTTP header 'Content-Type'
|
|
1197
|
-
local_header_content_type = ['application/json']
|
|
1198
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1199
|
-
|
|
1200
|
-
# form parameters
|
|
1201
|
-
form_params = {}
|
|
1202
|
-
|
|
1203
|
-
# http body (model)
|
|
1204
|
-
post_body = nil
|
|
1205
|
-
|
|
1206
|
-
auth_names = ['PureCloud Auth']
|
|
1207
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1208
|
-
:header_params => header_params,
|
|
1209
|
-
:query_params => query_params,
|
|
1210
|
-
:form_params => form_params,
|
|
1211
|
-
:body => post_body,
|
|
1212
|
-
:auth_names => auth_names,
|
|
1213
|
-
:return_type => 'RoutingStatusAlert')
|
|
1214
|
-
if @api_client.config.debugging
|
|
1215
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_routingstatus_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1216
|
-
end
|
|
1217
|
-
return data, status_code, headers
|
|
1218
|
-
end
|
|
1219
|
-
|
|
1220
|
-
# Get routing status alert list.
|
|
1221
|
-
#
|
|
1222
|
-
# @param [Hash] opts the optional parameters
|
|
1223
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1224
|
-
# @return [RoutingStatusAlertContainer]
|
|
1225
|
-
def get_alerting_routingstatus_alerts(opts = {})
|
|
1226
|
-
data, _status_code, _headers = get_alerting_routingstatus_alerts_with_http_info(opts)
|
|
1227
|
-
return data
|
|
1228
|
-
end
|
|
1229
|
-
|
|
1230
|
-
# Get routing status alert list.
|
|
1231
|
-
#
|
|
1232
|
-
# @param [Hash] opts the optional parameters
|
|
1233
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1234
|
-
# @return [Array<(RoutingStatusAlertContainer, Fixnum, Hash)>] RoutingStatusAlertContainer data, response status code and response headers
|
|
1235
|
-
def get_alerting_routingstatus_alerts_with_http_info(opts = {})
|
|
1236
|
-
if @api_client.config.debugging
|
|
1237
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_alerts ..."
|
|
1238
|
-
end
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
# resource path
|
|
1247
|
-
local_var_path = "/api/v2/alerting/routingstatus/alerts".sub('{format}','json')
|
|
1248
|
-
|
|
1249
|
-
# query parameters
|
|
1250
|
-
query_params = {}
|
|
1251
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1252
|
-
|
|
1253
|
-
# header parameters
|
|
1254
|
-
header_params = {}
|
|
1255
|
-
|
|
1256
|
-
# HTTP header 'Accept' (if needed)
|
|
1257
|
-
local_header_accept = ['application/json']
|
|
1258
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1259
|
-
|
|
1260
|
-
# HTTP header 'Content-Type'
|
|
1261
|
-
local_header_content_type = ['application/json']
|
|
1262
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1263
|
-
|
|
1264
|
-
# form parameters
|
|
1265
|
-
form_params = {}
|
|
1266
|
-
|
|
1267
|
-
# http body (model)
|
|
1268
|
-
post_body = nil
|
|
1269
|
-
|
|
1270
|
-
auth_names = ['PureCloud Auth']
|
|
1271
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1272
|
-
:header_params => header_params,
|
|
1273
|
-
:query_params => query_params,
|
|
1274
|
-
:form_params => form_params,
|
|
1275
|
-
:body => post_body,
|
|
1276
|
-
:auth_names => auth_names,
|
|
1277
|
-
:return_type => 'RoutingStatusAlertContainer')
|
|
1278
|
-
if @api_client.config.debugging
|
|
1279
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_routingstatus_alerts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1280
|
-
end
|
|
1281
|
-
return data, status_code, headers
|
|
1282
|
-
end
|
|
1283
|
-
|
|
1284
|
-
# Get a routing status rule.
|
|
1285
|
-
#
|
|
1286
|
-
# @param rule_id Rule ID
|
|
1287
|
-
# @param [Hash] opts the optional parameters
|
|
1288
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1289
|
-
# @return [RoutingStatusRule]
|
|
1290
|
-
def get_alerting_routingstatus_rule(rule_id, opts = {})
|
|
1291
|
-
data, _status_code, _headers = get_alerting_routingstatus_rule_with_http_info(rule_id, opts)
|
|
1292
|
-
return data
|
|
1293
|
-
end
|
|
1294
|
-
|
|
1295
|
-
# Get a routing status rule.
|
|
1296
|
-
#
|
|
1297
|
-
# @param rule_id Rule ID
|
|
1298
|
-
# @param [Hash] opts the optional parameters
|
|
1299
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1300
|
-
# @return [Array<(RoutingStatusRule, Fixnum, Hash)>] RoutingStatusRule data, response status code and response headers
|
|
1301
|
-
def get_alerting_routingstatus_rule_with_http_info(rule_id, opts = {})
|
|
1302
|
-
if @api_client.config.debugging
|
|
1303
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_rule ..."
|
|
1304
|
-
end
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
# verify the required parameter 'rule_id' is set
|
|
1308
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_routingstatus_rule" if rule_id.nil?
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
# resource path
|
|
1321
|
-
local_var_path = "/api/v2/alerting/routingstatus/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
1322
|
-
|
|
1323
|
-
# query parameters
|
|
1324
|
-
query_params = {}
|
|
1325
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1326
|
-
|
|
1327
|
-
# header parameters
|
|
1328
|
-
header_params = {}
|
|
1329
|
-
|
|
1330
|
-
# HTTP header 'Accept' (if needed)
|
|
1331
|
-
local_header_accept = ['application/json']
|
|
1332
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1333
|
-
|
|
1334
|
-
# HTTP header 'Content-Type'
|
|
1335
|
-
local_header_content_type = ['application/json']
|
|
1336
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1337
|
-
|
|
1338
|
-
# form parameters
|
|
1339
|
-
form_params = {}
|
|
1340
|
-
|
|
1341
|
-
# http body (model)
|
|
1342
|
-
post_body = nil
|
|
1343
|
-
|
|
1344
|
-
auth_names = ['PureCloud Auth']
|
|
1345
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1346
|
-
:header_params => header_params,
|
|
1347
|
-
:query_params => query_params,
|
|
1348
|
-
:form_params => form_params,
|
|
1349
|
-
:body => post_body,
|
|
1350
|
-
:auth_names => auth_names,
|
|
1351
|
-
:return_type => 'RoutingStatusRule')
|
|
1352
|
-
if @api_client.config.debugging
|
|
1353
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_routingstatus_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1354
|
-
end
|
|
1355
|
-
return data, status_code, headers
|
|
1356
|
-
end
|
|
1357
|
-
|
|
1358
|
-
# Get a routing status rule list.
|
|
1359
|
-
#
|
|
1360
|
-
# @param [Hash] opts the optional parameters
|
|
1361
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1362
|
-
# @return [RoutingStatusRuleContainer]
|
|
1363
|
-
def get_alerting_routingstatus_rules(opts = {})
|
|
1364
|
-
data, _status_code, _headers = get_alerting_routingstatus_rules_with_http_info(opts)
|
|
1365
|
-
return data
|
|
1366
|
-
end
|
|
1367
|
-
|
|
1368
|
-
# Get a routing status rule list.
|
|
1369
|
-
#
|
|
1370
|
-
# @param [Hash] opts the optional parameters
|
|
1371
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1372
|
-
# @return [Array<(RoutingStatusRuleContainer, Fixnum, Hash)>] RoutingStatusRuleContainer data, response status code and response headers
|
|
1373
|
-
def get_alerting_routingstatus_rules_with_http_info(opts = {})
|
|
1374
|
-
if @api_client.config.debugging
|
|
1375
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_routingstatus_rules ..."
|
|
1376
|
-
end
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
# resource path
|
|
1385
|
-
local_var_path = "/api/v2/alerting/routingstatus/rules".sub('{format}','json')
|
|
1386
|
-
|
|
1387
|
-
# query parameters
|
|
1388
|
-
query_params = {}
|
|
1389
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1390
|
-
|
|
1391
|
-
# header parameters
|
|
1392
|
-
header_params = {}
|
|
1393
|
-
|
|
1394
|
-
# HTTP header 'Accept' (if needed)
|
|
1395
|
-
local_header_accept = ['application/json']
|
|
1396
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1397
|
-
|
|
1398
|
-
# HTTP header 'Content-Type'
|
|
1399
|
-
local_header_content_type = ['application/json']
|
|
1400
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1401
|
-
|
|
1402
|
-
# form parameters
|
|
1403
|
-
form_params = {}
|
|
1404
|
-
|
|
1405
|
-
# http body (model)
|
|
1406
|
-
post_body = nil
|
|
1407
|
-
|
|
1408
|
-
auth_names = ['PureCloud Auth']
|
|
1409
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1410
|
-
:header_params => header_params,
|
|
1411
|
-
:query_params => query_params,
|
|
1412
|
-
:form_params => form_params,
|
|
1413
|
-
:body => post_body,
|
|
1414
|
-
:auth_names => auth_names,
|
|
1415
|
-
:return_type => 'RoutingStatusRuleContainer')
|
|
1416
|
-
if @api_client.config.debugging
|
|
1417
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_routingstatus_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1418
|
-
end
|
|
1419
|
-
return data, status_code, headers
|
|
1420
|
-
end
|
|
1421
|
-
|
|
1422
|
-
# Get a user presence alert
|
|
1423
|
-
#
|
|
1424
|
-
# @param alert_id Alert ID
|
|
1425
|
-
# @param [Hash] opts the optional parameters
|
|
1426
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1427
|
-
# @return [UserPresenceAlert]
|
|
1428
|
-
def get_alerting_userpresence_alert(alert_id, opts = {})
|
|
1429
|
-
data, _status_code, _headers = get_alerting_userpresence_alert_with_http_info(alert_id, opts)
|
|
1430
|
-
return data
|
|
1431
|
-
end
|
|
1432
|
-
|
|
1433
|
-
# Get a user presence alert
|
|
1434
|
-
#
|
|
1435
|
-
# @param alert_id Alert ID
|
|
1436
|
-
# @param [Hash] opts the optional parameters
|
|
1437
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1438
|
-
# @return [Array<(UserPresenceAlert, Fixnum, Hash)>] UserPresenceAlert data, response status code and response headers
|
|
1439
|
-
def get_alerting_userpresence_alert_with_http_info(alert_id, opts = {})
|
|
1440
|
-
if @api_client.config.debugging
|
|
1441
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_alert ..."
|
|
1442
|
-
end
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
# verify the required parameter 'alert_id' is set
|
|
1446
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_userpresence_alert" if alert_id.nil?
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
# resource path
|
|
1459
|
-
local_var_path = "/api/v2/alerting/userpresence/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
1460
|
-
|
|
1461
|
-
# query parameters
|
|
1462
|
-
query_params = {}
|
|
1463
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1464
|
-
|
|
1465
|
-
# header parameters
|
|
1466
|
-
header_params = {}
|
|
1467
|
-
|
|
1468
|
-
# HTTP header 'Accept' (if needed)
|
|
1469
|
-
local_header_accept = ['application/json']
|
|
1470
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1471
|
-
|
|
1472
|
-
# HTTP header 'Content-Type'
|
|
1473
|
-
local_header_content_type = ['application/json']
|
|
1474
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1475
|
-
|
|
1476
|
-
# form parameters
|
|
1477
|
-
form_params = {}
|
|
1478
|
-
|
|
1479
|
-
# http body (model)
|
|
1480
|
-
post_body = nil
|
|
1481
|
-
|
|
1482
|
-
auth_names = ['PureCloud Auth']
|
|
1483
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1484
|
-
:header_params => header_params,
|
|
1485
|
-
:query_params => query_params,
|
|
1486
|
-
:form_params => form_params,
|
|
1487
|
-
:body => post_body,
|
|
1488
|
-
:auth_names => auth_names,
|
|
1489
|
-
:return_type => 'UserPresenceAlert')
|
|
1490
|
-
if @api_client.config.debugging
|
|
1491
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_userpresence_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1492
|
-
end
|
|
1493
|
-
return data, status_code, headers
|
|
1494
|
-
end
|
|
1495
|
-
|
|
1496
|
-
# Get user presence alert list.
|
|
1497
|
-
#
|
|
1498
|
-
# @param [Hash] opts the optional parameters
|
|
1499
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1500
|
-
# @return [UserPresenceAlertContainer]
|
|
1501
|
-
def get_alerting_userpresence_alerts(opts = {})
|
|
1502
|
-
data, _status_code, _headers = get_alerting_userpresence_alerts_with_http_info(opts)
|
|
1503
|
-
return data
|
|
1504
|
-
end
|
|
1505
|
-
|
|
1506
|
-
# Get user presence alert list.
|
|
1507
|
-
#
|
|
1508
|
-
# @param [Hash] opts the optional parameters
|
|
1509
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1510
|
-
# @return [Array<(UserPresenceAlertContainer, Fixnum, Hash)>] UserPresenceAlertContainer data, response status code and response headers
|
|
1511
|
-
def get_alerting_userpresence_alerts_with_http_info(opts = {})
|
|
1512
|
-
if @api_client.config.debugging
|
|
1513
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_alerts ..."
|
|
1514
|
-
end
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
# resource path
|
|
1523
|
-
local_var_path = "/api/v2/alerting/userpresence/alerts".sub('{format}','json')
|
|
1524
|
-
|
|
1525
|
-
# query parameters
|
|
1526
|
-
query_params = {}
|
|
1527
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1528
|
-
|
|
1529
|
-
# header parameters
|
|
1530
|
-
header_params = {}
|
|
1531
|
-
|
|
1532
|
-
# HTTP header 'Accept' (if needed)
|
|
1533
|
-
local_header_accept = ['application/json']
|
|
1534
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1535
|
-
|
|
1536
|
-
# HTTP header 'Content-Type'
|
|
1537
|
-
local_header_content_type = ['application/json']
|
|
1538
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1539
|
-
|
|
1540
|
-
# form parameters
|
|
1541
|
-
form_params = {}
|
|
1542
|
-
|
|
1543
|
-
# http body (model)
|
|
1544
|
-
post_body = nil
|
|
1545
|
-
|
|
1546
|
-
auth_names = ['PureCloud Auth']
|
|
1547
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1548
|
-
:header_params => header_params,
|
|
1549
|
-
:query_params => query_params,
|
|
1550
|
-
:form_params => form_params,
|
|
1551
|
-
:body => post_body,
|
|
1552
|
-
:auth_names => auth_names,
|
|
1553
|
-
:return_type => 'UserPresenceAlertContainer')
|
|
1554
|
-
if @api_client.config.debugging
|
|
1555
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_userpresence_alerts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1556
|
-
end
|
|
1557
|
-
return data, status_code, headers
|
|
1558
|
-
end
|
|
1559
|
-
|
|
1560
|
-
# Get a user presence rule.
|
|
1561
|
-
#
|
|
1562
|
-
# @param rule_id Rule ID
|
|
1563
|
-
# @param [Hash] opts the optional parameters
|
|
1564
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1565
|
-
# @return [UserPresenceRule]
|
|
1566
|
-
def get_alerting_userpresence_rule(rule_id, opts = {})
|
|
1567
|
-
data, _status_code, _headers = get_alerting_userpresence_rule_with_http_info(rule_id, opts)
|
|
1568
|
-
return data
|
|
1569
|
-
end
|
|
1570
|
-
|
|
1571
|
-
# Get a user presence rule.
|
|
1572
|
-
#
|
|
1573
|
-
# @param rule_id Rule ID
|
|
1574
|
-
# @param [Hash] opts the optional parameters
|
|
1575
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1576
|
-
# @return [Array<(UserPresenceRule, Fixnum, Hash)>] UserPresenceRule data, response status code and response headers
|
|
1577
|
-
def get_alerting_userpresence_rule_with_http_info(rule_id, opts = {})
|
|
1578
|
-
if @api_client.config.debugging
|
|
1579
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_rule ..."
|
|
1580
|
-
end
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
# verify the required parameter 'rule_id' is set
|
|
1584
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_userpresence_rule" if rule_id.nil?
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
# resource path
|
|
1597
|
-
local_var_path = "/api/v2/alerting/userpresence/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
1598
|
-
|
|
1599
|
-
# query parameters
|
|
1600
|
-
query_params = {}
|
|
1601
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1602
|
-
|
|
1603
|
-
# header parameters
|
|
1604
|
-
header_params = {}
|
|
1605
|
-
|
|
1606
|
-
# HTTP header 'Accept' (if needed)
|
|
1607
|
-
local_header_accept = ['application/json']
|
|
1608
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1609
|
-
|
|
1610
|
-
# HTTP header 'Content-Type'
|
|
1611
|
-
local_header_content_type = ['application/json']
|
|
1612
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1613
|
-
|
|
1614
|
-
# form parameters
|
|
1615
|
-
form_params = {}
|
|
1616
|
-
|
|
1617
|
-
# http body (model)
|
|
1618
|
-
post_body = nil
|
|
1619
|
-
|
|
1620
|
-
auth_names = ['PureCloud Auth']
|
|
1621
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1622
|
-
:header_params => header_params,
|
|
1623
|
-
:query_params => query_params,
|
|
1624
|
-
:form_params => form_params,
|
|
1625
|
-
:body => post_body,
|
|
1626
|
-
:auth_names => auth_names,
|
|
1627
|
-
:return_type => 'UserPresenceRule')
|
|
1628
|
-
if @api_client.config.debugging
|
|
1629
|
-
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_userpresence_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1630
|
-
end
|
|
1631
|
-
return data, status_code, headers
|
|
1632
|
-
end
|
|
1633
|
-
|
|
1634
|
-
# Get a user presence rule list.
|
|
1635
|
-
#
|
|
1636
|
-
# @param [Hash] opts the optional parameters
|
|
1637
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1638
|
-
# @return [UserPresenceRuleContainer]
|
|
1639
|
-
def get_alerting_userpresence_rules(opts = {})
|
|
1640
|
-
data, _status_code, _headers = get_alerting_userpresence_rules_with_http_info(opts)
|
|
1641
|
-
return data
|
|
1642
|
-
end
|
|
1643
|
-
|
|
1644
|
-
# Get a user presence rule list.
|
|
1645
|
-
#
|
|
1646
|
-
# @param [Hash] opts the optional parameters
|
|
1647
|
-
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1648
|
-
# @return [Array<(UserPresenceRuleContainer, Fixnum, Hash)>] UserPresenceRuleContainer data, response status code and response headers
|
|
1649
|
-
def get_alerting_userpresence_rules_with_http_info(opts = {})
|
|
1650
|
-
if @api_client.config.debugging
|
|
1651
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_userpresence_rules ..."
|
|
1652
|
-
end
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
# resource path
|
|
1661
|
-
local_var_path = "/api/v2/alerting/userpresence/rules".sub('{format}','json')
|
|
1662
|
-
|
|
1663
|
-
# query parameters
|
|
1664
|
-
query_params = {}
|
|
1665
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1666
|
-
|
|
1667
|
-
# header parameters
|
|
1668
|
-
header_params = {}
|
|
1669
|
-
|
|
1670
|
-
# HTTP header 'Accept' (if needed)
|
|
1671
|
-
local_header_accept = ['application/json']
|
|
1672
|
-
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
1673
|
-
|
|
1674
|
-
# HTTP header 'Content-Type'
|
|
1675
|
-
local_header_content_type = ['application/json']
|
|
1676
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
1677
|
-
|
|
1678
|
-
# form parameters
|
|
1679
|
-
form_params = {}
|
|
1680
|
-
|
|
1681
|
-
# http body (model)
|
|
1682
|
-
post_body = nil
|
|
1683
|
-
|
|
1684
|
-
auth_names = ['PureCloud Auth']
|
|
1685
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1686
|
-
:header_params => header_params,
|
|
1687
|
-
:query_params => query_params,
|
|
1688
|
-
:form_params => form_params,
|
|
1689
|
-
:body => post_body,
|
|
1690
|
-
:auth_names => auth_names,
|
|
1691
|
-
:return_type => 'UserPresenceRuleContainer')
|
|
84
|
+
:auth_names => auth_names)
|
|
1692
85
|
if @api_client.config.debugging
|
|
1693
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
86
|
+
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_interactionstats_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1694
87
|
end
|
|
1695
88
|
return data, status_code, headers
|
|
1696
89
|
end
|
|
1697
90
|
|
|
1698
|
-
#
|
|
91
|
+
# Delete an interaction stats rule.
|
|
1699
92
|
#
|
|
1700
|
-
# @param
|
|
93
|
+
# @param rule_id Rule ID
|
|
1701
94
|
# @param [Hash] opts the optional parameters
|
|
1702
|
-
# @
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
return data
|
|
95
|
+
# @return [nil]
|
|
96
|
+
def delete_alerting_interactionstats_rule(rule_id, opts = {})
|
|
97
|
+
delete_alerting_interactionstats_rule_with_http_info(rule_id, opts)
|
|
98
|
+
return nil
|
|
1707
99
|
end
|
|
1708
100
|
|
|
1709
|
-
#
|
|
101
|
+
# Delete an interaction stats rule.
|
|
1710
102
|
#
|
|
1711
|
-
# @param
|
|
103
|
+
# @param rule_id Rule ID
|
|
1712
104
|
# @param [Hash] opts the optional parameters
|
|
1713
|
-
# @
|
|
1714
|
-
|
|
1715
|
-
def post_alerting_heartbeat_rules_with_http_info(body, opts = {})
|
|
105
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
106
|
+
def delete_alerting_interactionstats_rule_with_http_info(rule_id, opts = {})
|
|
1716
107
|
if @api_client.config.debugging
|
|
1717
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
108
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.delete_alerting_interactionstats_rule ..."
|
|
1718
109
|
end
|
|
1719
110
|
|
|
1720
111
|
|
|
1721
|
-
# verify the required parameter '
|
|
1722
|
-
fail ArgumentError, "Missing the required parameter '
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
112
|
+
# verify the required parameter 'rule_id' is set
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.delete_alerting_interactionstats_rule" if rule_id.nil?
|
|
1729
114
|
|
|
1730
115
|
|
|
1731
116
|
|
|
1732
117
|
|
|
1733
118
|
|
|
1734
119
|
# resource path
|
|
1735
|
-
local_var_path = "/api/v2/alerting/
|
|
120
|
+
local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
1736
121
|
|
|
1737
122
|
# query parameters
|
|
1738
123
|
query_params = {}
|
|
1739
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1740
124
|
|
|
1741
125
|
# header parameters
|
|
1742
126
|
header_params = {}
|
|
@@ -1753,47 +137,46 @@ module PureCloud
|
|
|
1753
137
|
form_params = {}
|
|
1754
138
|
|
|
1755
139
|
# http body (model)
|
|
1756
|
-
post_body =
|
|
140
|
+
post_body = nil
|
|
1757
141
|
|
|
1758
142
|
auth_names = ['PureCloud Auth']
|
|
1759
|
-
data, status_code, headers = @api_client.call_api(:
|
|
143
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
1760
144
|
:header_params => header_params,
|
|
1761
145
|
:query_params => query_params,
|
|
1762
146
|
:form_params => form_params,
|
|
1763
147
|
:body => post_body,
|
|
1764
|
-
:auth_names => auth_names
|
|
1765
|
-
:return_type => 'HeartBeatRule')
|
|
148
|
+
:auth_names => auth_names)
|
|
1766
149
|
if @api_client.config.debugging
|
|
1767
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
150
|
+
@api_client.config.logger.debug "API called: AlertingApi#delete_alerting_interactionstats_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1768
151
|
end
|
|
1769
152
|
return data, status_code, headers
|
|
1770
153
|
end
|
|
1771
154
|
|
|
1772
|
-
#
|
|
155
|
+
# Get an interaction stats alert
|
|
1773
156
|
#
|
|
1774
|
-
# @param
|
|
157
|
+
# @param alert_id Alert ID
|
|
1775
158
|
# @param [Hash] opts the optional parameters
|
|
1776
159
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1777
|
-
# @return [
|
|
1778
|
-
def
|
|
1779
|
-
data, _status_code, _headers =
|
|
160
|
+
# @return [InteractionStatsAlert]
|
|
161
|
+
def get_alerting_interactionstats_alert(alert_id, opts = {})
|
|
162
|
+
data, _status_code, _headers = get_alerting_interactionstats_alert_with_http_info(alert_id, opts)
|
|
1780
163
|
return data
|
|
1781
164
|
end
|
|
1782
165
|
|
|
1783
|
-
#
|
|
166
|
+
# Get an interaction stats alert
|
|
1784
167
|
#
|
|
1785
|
-
# @param
|
|
168
|
+
# @param alert_id Alert ID
|
|
1786
169
|
# @param [Hash] opts the optional parameters
|
|
1787
170
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1788
|
-
# @return [Array<(
|
|
1789
|
-
def
|
|
171
|
+
# @return [Array<(InteractionStatsAlert, Fixnum, Hash)>] InteractionStatsAlert data, response status code and response headers
|
|
172
|
+
def get_alerting_interactionstats_alert_with_http_info(alert_id, opts = {})
|
|
1790
173
|
if @api_client.config.debugging
|
|
1791
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
174
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alert ..."
|
|
1792
175
|
end
|
|
1793
176
|
|
|
1794
177
|
|
|
1795
|
-
# verify the required parameter '
|
|
1796
|
-
fail ArgumentError, "Missing the required parameter '
|
|
178
|
+
# verify the required parameter 'alert_id' is set
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.get_alerting_interactionstats_alert" if alert_id.nil?
|
|
1797
180
|
|
|
1798
181
|
|
|
1799
182
|
|
|
@@ -1806,7 +189,7 @@ module PureCloud
|
|
|
1806
189
|
|
|
1807
190
|
|
|
1808
191
|
# resource path
|
|
1809
|
-
local_var_path = "/api/v2/alerting/interactionstats/
|
|
192
|
+
local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
1810
193
|
|
|
1811
194
|
# query parameters
|
|
1812
195
|
query_params = {}
|
|
@@ -1827,60 +210,50 @@ module PureCloud
|
|
|
1827
210
|
form_params = {}
|
|
1828
211
|
|
|
1829
212
|
# http body (model)
|
|
1830
|
-
post_body =
|
|
213
|
+
post_body = nil
|
|
1831
214
|
|
|
1832
215
|
auth_names = ['PureCloud Auth']
|
|
1833
|
-
data, status_code, headers = @api_client.call_api(:
|
|
216
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1834
217
|
:header_params => header_params,
|
|
1835
218
|
:query_params => query_params,
|
|
1836
219
|
:form_params => form_params,
|
|
1837
220
|
:body => post_body,
|
|
1838
221
|
:auth_names => auth_names,
|
|
1839
|
-
:return_type => '
|
|
222
|
+
:return_type => 'InteractionStatsAlert')
|
|
1840
223
|
if @api_client.config.debugging
|
|
1841
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
224
|
+
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1842
225
|
end
|
|
1843
226
|
return data, status_code, headers
|
|
1844
227
|
end
|
|
1845
228
|
|
|
1846
|
-
#
|
|
229
|
+
# Get interaction stats alert list.
|
|
1847
230
|
#
|
|
1848
|
-
# @param body RoutingStatusRule
|
|
1849
231
|
# @param [Hash] opts the optional parameters
|
|
1850
232
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1851
|
-
# @return [
|
|
1852
|
-
def
|
|
1853
|
-
data, _status_code, _headers =
|
|
233
|
+
# @return [InteractionStatsAlertContainer]
|
|
234
|
+
def get_alerting_interactionstats_alerts(opts = {})
|
|
235
|
+
data, _status_code, _headers = get_alerting_interactionstats_alerts_with_http_info(opts)
|
|
1854
236
|
return data
|
|
1855
237
|
end
|
|
1856
238
|
|
|
1857
|
-
#
|
|
239
|
+
# Get interaction stats alert list.
|
|
1858
240
|
#
|
|
1859
|
-
# @param body RoutingStatusRule
|
|
1860
241
|
# @param [Hash] opts the optional parameters
|
|
1861
242
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
1862
|
-
# @return [Array<(
|
|
1863
|
-
def
|
|
243
|
+
# @return [Array<(InteractionStatsAlertContainer, Fixnum, Hash)>] InteractionStatsAlertContainer data, response status code and response headers
|
|
244
|
+
def get_alerting_interactionstats_alerts_with_http_info(opts = {})
|
|
1864
245
|
if @api_client.config.debugging
|
|
1865
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
246
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts ..."
|
|
1866
247
|
end
|
|
1867
248
|
|
|
1868
249
|
|
|
1869
|
-
# verify the required parameter 'body' is set
|
|
1870
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_routingstatus_rules" if body.nil?
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
250
|
|
|
1878
251
|
|
|
1879
252
|
|
|
1880
253
|
|
|
1881
254
|
|
|
1882
255
|
# resource path
|
|
1883
|
-
local_var_path = "/api/v2/alerting/
|
|
256
|
+
local_var_path = "/api/v2/alerting/interactionstats/alerts".sub('{format}','json')
|
|
1884
257
|
|
|
1885
258
|
# query parameters
|
|
1886
259
|
query_params = {}
|
|
@@ -1901,64 +274,45 @@ module PureCloud
|
|
|
1901
274
|
form_params = {}
|
|
1902
275
|
|
|
1903
276
|
# http body (model)
|
|
1904
|
-
post_body =
|
|
277
|
+
post_body = nil
|
|
1905
278
|
|
|
1906
279
|
auth_names = ['PureCloud Auth']
|
|
1907
|
-
data, status_code, headers = @api_client.call_api(:
|
|
280
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1908
281
|
:header_params => header_params,
|
|
1909
282
|
:query_params => query_params,
|
|
1910
283
|
:form_params => form_params,
|
|
1911
284
|
:body => post_body,
|
|
1912
285
|
:auth_names => auth_names,
|
|
1913
|
-
:return_type => '
|
|
286
|
+
:return_type => 'InteractionStatsAlertContainer')
|
|
1914
287
|
if @api_client.config.debugging
|
|
1915
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
288
|
+
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alerts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1916
289
|
end
|
|
1917
290
|
return data, status_code, headers
|
|
1918
291
|
end
|
|
1919
292
|
|
|
1920
|
-
#
|
|
293
|
+
# Gets user unread count of interaction stats alerts.
|
|
1921
294
|
#
|
|
1922
|
-
# @param body UserPresenceRule
|
|
1923
295
|
# @param [Hash] opts the optional parameters
|
|
1924
|
-
# @
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
data, _status_code, _headers = post_alerting_userpresence_rules_with_http_info(body, opts)
|
|
296
|
+
# @return [UnreadMetric]
|
|
297
|
+
def get_alerting_interactionstats_alerts_unread(opts = {})
|
|
298
|
+
data, _status_code, _headers = get_alerting_interactionstats_alerts_unread_with_http_info(opts)
|
|
1928
299
|
return data
|
|
1929
300
|
end
|
|
1930
301
|
|
|
1931
|
-
#
|
|
302
|
+
# Gets user unread count of interaction stats alerts.
|
|
1932
303
|
#
|
|
1933
|
-
# @param body UserPresenceRule
|
|
1934
304
|
# @param [Hash] opts the optional parameters
|
|
1935
|
-
# @
|
|
1936
|
-
|
|
1937
|
-
def post_alerting_userpresence_rules_with_http_info(body, opts = {})
|
|
305
|
+
# @return [Array<(UnreadMetric, Fixnum, Hash)>] UnreadMetric data, response status code and response headers
|
|
306
|
+
def get_alerting_interactionstats_alerts_unread_with_http_info(opts = {})
|
|
1938
307
|
if @api_client.config.debugging
|
|
1939
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
308
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_alerts_unread ..."
|
|
1940
309
|
end
|
|
1941
310
|
|
|
1942
|
-
|
|
1943
|
-
# verify the required parameter 'body' is set
|
|
1944
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_userpresence_rules" if body.nil?
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
311
|
# resource path
|
|
1957
|
-
local_var_path = "/api/v2/alerting/
|
|
312
|
+
local_var_path = "/api/v2/alerting/interactionstats/alerts/unread".sub('{format}','json')
|
|
1958
313
|
|
|
1959
314
|
# query parameters
|
|
1960
315
|
query_params = {}
|
|
1961
|
-
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1962
316
|
|
|
1963
317
|
# header parameters
|
|
1964
318
|
header_params = {}
|
|
@@ -1975,57 +329,47 @@ module PureCloud
|
|
|
1975
329
|
form_params = {}
|
|
1976
330
|
|
|
1977
331
|
# http body (model)
|
|
1978
|
-
post_body =
|
|
332
|
+
post_body = nil
|
|
1979
333
|
|
|
1980
334
|
auth_names = ['PureCloud Auth']
|
|
1981
|
-
data, status_code, headers = @api_client.call_api(:
|
|
335
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
1982
336
|
:header_params => header_params,
|
|
1983
337
|
:query_params => query_params,
|
|
1984
338
|
:form_params => form_params,
|
|
1985
339
|
:body => post_body,
|
|
1986
340
|
:auth_names => auth_names,
|
|
1987
|
-
:return_type => '
|
|
341
|
+
:return_type => 'UnreadMetric')
|
|
1988
342
|
if @api_client.config.debugging
|
|
1989
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
343
|
+
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_alerts_unread\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1990
344
|
end
|
|
1991
345
|
return data, status_code, headers
|
|
1992
346
|
end
|
|
1993
347
|
|
|
1994
|
-
#
|
|
348
|
+
# Get an interaction stats rule.
|
|
1995
349
|
#
|
|
1996
350
|
# @param rule_id Rule ID
|
|
1997
|
-
# @param body HeartBeatRule
|
|
1998
351
|
# @param [Hash] opts the optional parameters
|
|
1999
352
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2000
|
-
# @return [
|
|
2001
|
-
def
|
|
2002
|
-
data, _status_code, _headers =
|
|
353
|
+
# @return [InteractionStatsRule]
|
|
354
|
+
def get_alerting_interactionstats_rule(rule_id, opts = {})
|
|
355
|
+
data, _status_code, _headers = get_alerting_interactionstats_rule_with_http_info(rule_id, opts)
|
|
2003
356
|
return data
|
|
2004
357
|
end
|
|
2005
358
|
|
|
2006
|
-
#
|
|
359
|
+
# Get an interaction stats rule.
|
|
2007
360
|
#
|
|
2008
361
|
# @param rule_id Rule ID
|
|
2009
|
-
# @param body HeartBeatRule
|
|
2010
362
|
# @param [Hash] opts the optional parameters
|
|
2011
363
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2012
|
-
# @return [Array<(
|
|
2013
|
-
def
|
|
364
|
+
# @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
|
|
365
|
+
def get_alerting_interactionstats_rule_with_http_info(rule_id, opts = {})
|
|
2014
366
|
if @api_client.config.debugging
|
|
2015
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
367
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rule ..."
|
|
2016
368
|
end
|
|
2017
369
|
|
|
2018
370
|
|
|
2019
371
|
# verify the required parameter 'rule_id' is set
|
|
2020
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
# verify the required parameter 'body' is set
|
|
2028
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_heartbeat_rule" if body.nil?
|
|
372
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.get_alerting_interactionstats_rule" if rule_id.nil?
|
|
2029
373
|
|
|
2030
374
|
|
|
2031
375
|
|
|
@@ -2038,7 +382,7 @@ module PureCloud
|
|
|
2038
382
|
|
|
2039
383
|
|
|
2040
384
|
# resource path
|
|
2041
|
-
local_var_path = "/api/v2/alerting/
|
|
385
|
+
local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
2042
386
|
|
|
2043
387
|
# query parameters
|
|
2044
388
|
query_params = {}
|
|
@@ -2059,70 +403,50 @@ module PureCloud
|
|
|
2059
403
|
form_params = {}
|
|
2060
404
|
|
|
2061
405
|
# http body (model)
|
|
2062
|
-
post_body =
|
|
406
|
+
post_body = nil
|
|
2063
407
|
|
|
2064
408
|
auth_names = ['PureCloud Auth']
|
|
2065
|
-
data, status_code, headers = @api_client.call_api(:
|
|
409
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2066
410
|
:header_params => header_params,
|
|
2067
411
|
:query_params => query_params,
|
|
2068
412
|
:form_params => form_params,
|
|
2069
413
|
:body => post_body,
|
|
2070
414
|
:auth_names => auth_names,
|
|
2071
|
-
:return_type => '
|
|
415
|
+
:return_type => 'InteractionStatsRule')
|
|
2072
416
|
if @api_client.config.debugging
|
|
2073
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
417
|
+
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2074
418
|
end
|
|
2075
419
|
return data, status_code, headers
|
|
2076
420
|
end
|
|
2077
421
|
|
|
2078
|
-
#
|
|
422
|
+
# Get an interaction stats rule list.
|
|
2079
423
|
#
|
|
2080
|
-
# @param alert_id Alert ID
|
|
2081
|
-
# @param body InteractionStatsAlert
|
|
2082
424
|
# @param [Hash] opts the optional parameters
|
|
2083
425
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2084
|
-
# @return [
|
|
2085
|
-
def
|
|
2086
|
-
data, _status_code, _headers =
|
|
426
|
+
# @return [InteractionStatsRuleContainer]
|
|
427
|
+
def get_alerting_interactionstats_rules(opts = {})
|
|
428
|
+
data, _status_code, _headers = get_alerting_interactionstats_rules_with_http_info(opts)
|
|
2087
429
|
return data
|
|
2088
430
|
end
|
|
2089
431
|
|
|
2090
|
-
#
|
|
432
|
+
# Get an interaction stats rule list.
|
|
2091
433
|
#
|
|
2092
|
-
# @param alert_id Alert ID
|
|
2093
|
-
# @param body InteractionStatsAlert
|
|
2094
434
|
# @param [Hash] opts the optional parameters
|
|
2095
435
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2096
|
-
# @return [Array<(
|
|
2097
|
-
def
|
|
436
|
+
# @return [Array<(InteractionStatsRuleContainer, Fixnum, Hash)>] InteractionStatsRuleContainer data, response status code and response headers
|
|
437
|
+
def get_alerting_interactionstats_rules_with_http_info(opts = {})
|
|
2098
438
|
if @api_client.config.debugging
|
|
2099
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
439
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.get_alerting_interactionstats_rules ..."
|
|
2100
440
|
end
|
|
2101
441
|
|
|
2102
442
|
|
|
2103
|
-
# verify the required parameter 'alert_id' is set
|
|
2104
|
-
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.put_alerting_interactionstats_alert" if alert_id.nil?
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
# verify the required parameter 'body' is set
|
|
2112
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_interactionstats_alert" if body.nil?
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
443
|
|
|
2120
444
|
|
|
2121
445
|
|
|
2122
446
|
|
|
2123
447
|
|
|
2124
448
|
# resource path
|
|
2125
|
-
local_var_path = "/api/v2/alerting/interactionstats/
|
|
449
|
+
local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json')
|
|
2126
450
|
|
|
2127
451
|
# query parameters
|
|
2128
452
|
query_params = {}
|
|
@@ -2143,57 +467,47 @@ module PureCloud
|
|
|
2143
467
|
form_params = {}
|
|
2144
468
|
|
|
2145
469
|
# http body (model)
|
|
2146
|
-
post_body =
|
|
470
|
+
post_body = nil
|
|
2147
471
|
|
|
2148
472
|
auth_names = ['PureCloud Auth']
|
|
2149
|
-
data, status_code, headers = @api_client.call_api(:
|
|
473
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2150
474
|
:header_params => header_params,
|
|
2151
475
|
:query_params => query_params,
|
|
2152
476
|
:form_params => form_params,
|
|
2153
477
|
:body => post_body,
|
|
2154
478
|
:auth_names => auth_names,
|
|
2155
|
-
:return_type => '
|
|
479
|
+
:return_type => 'InteractionStatsRuleContainer')
|
|
2156
480
|
if @api_client.config.debugging
|
|
2157
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
481
|
+
@api_client.config.logger.debug "API called: AlertingApi#get_alerting_interactionstats_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2158
482
|
end
|
|
2159
483
|
return data, status_code, headers
|
|
2160
484
|
end
|
|
2161
485
|
|
|
2162
|
-
#
|
|
486
|
+
# Create an interaction stats rule.
|
|
2163
487
|
#
|
|
2164
|
-
# @param rule_id Rule ID
|
|
2165
488
|
# @param body AlertingRule
|
|
2166
489
|
# @param [Hash] opts the optional parameters
|
|
2167
490
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2168
491
|
# @return [InteractionStatsRule]
|
|
2169
|
-
def
|
|
2170
|
-
data, _status_code, _headers =
|
|
492
|
+
def post_alerting_interactionstats_rules(body, opts = {})
|
|
493
|
+
data, _status_code, _headers = post_alerting_interactionstats_rules_with_http_info(body, opts)
|
|
2171
494
|
return data
|
|
2172
495
|
end
|
|
2173
496
|
|
|
2174
|
-
#
|
|
497
|
+
# Create an interaction stats rule.
|
|
2175
498
|
#
|
|
2176
|
-
# @param rule_id Rule ID
|
|
2177
499
|
# @param body AlertingRule
|
|
2178
500
|
# @param [Hash] opts the optional parameters
|
|
2179
501
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2180
502
|
# @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
|
|
2181
|
-
def
|
|
503
|
+
def post_alerting_interactionstats_rules_with_http_info(body, opts = {})
|
|
2182
504
|
if @api_client.config.debugging
|
|
2183
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
505
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.post_alerting_interactionstats_rules ..."
|
|
2184
506
|
end
|
|
2185
507
|
|
|
2186
508
|
|
|
2187
|
-
# verify the required parameter 'rule_id' is set
|
|
2188
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_interactionstats_rule" if rule_id.nil?
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
509
|
# verify the required parameter 'body' is set
|
|
2196
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.
|
|
510
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.post_alerting_interactionstats_rules" if body.nil?
|
|
2197
511
|
|
|
2198
512
|
|
|
2199
513
|
|
|
@@ -2206,7 +520,7 @@ module PureCloud
|
|
|
2206
520
|
|
|
2207
521
|
|
|
2208
522
|
# resource path
|
|
2209
|
-
local_var_path = "/api/v2/alerting/interactionstats/rules
|
|
523
|
+
local_var_path = "/api/v2/alerting/interactionstats/rules".sub('{format}','json')
|
|
2210
524
|
|
|
2211
525
|
# query parameters
|
|
2212
526
|
query_params = {}
|
|
@@ -2230,7 +544,7 @@ module PureCloud
|
|
|
2230
544
|
post_body = @api_client.object_to_http_body(body)
|
|
2231
545
|
|
|
2232
546
|
auth_names = ['PureCloud Auth']
|
|
2233
|
-
data, status_code, headers = @api_client.call_api(:
|
|
547
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
2234
548
|
:header_params => header_params,
|
|
2235
549
|
:query_params => query_params,
|
|
2236
550
|
:form_params => form_params,
|
|
@@ -2238,38 +552,38 @@ module PureCloud
|
|
|
2238
552
|
:auth_names => auth_names,
|
|
2239
553
|
:return_type => 'InteractionStatsRule')
|
|
2240
554
|
if @api_client.config.debugging
|
|
2241
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
555
|
+
@api_client.config.logger.debug "API called: AlertingApi#post_alerting_interactionstats_rules\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2242
556
|
end
|
|
2243
557
|
return data, status_code, headers
|
|
2244
558
|
end
|
|
2245
559
|
|
|
2246
|
-
# Update
|
|
560
|
+
# Update an interaction stats alert read status
|
|
2247
561
|
#
|
|
2248
|
-
# @param
|
|
2249
|
-
# @param body
|
|
562
|
+
# @param alert_id Alert ID
|
|
563
|
+
# @param body InteractionStatsAlert
|
|
2250
564
|
# @param [Hash] opts the optional parameters
|
|
2251
565
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2252
|
-
# @return [
|
|
2253
|
-
def
|
|
2254
|
-
data, _status_code, _headers =
|
|
566
|
+
# @return [UnreadStatus]
|
|
567
|
+
def put_alerting_interactionstats_alert(alert_id, body, opts = {})
|
|
568
|
+
data, _status_code, _headers = put_alerting_interactionstats_alert_with_http_info(alert_id, body, opts)
|
|
2255
569
|
return data
|
|
2256
570
|
end
|
|
2257
571
|
|
|
2258
|
-
# Update
|
|
572
|
+
# Update an interaction stats alert read status
|
|
2259
573
|
#
|
|
2260
|
-
# @param
|
|
2261
|
-
# @param body
|
|
574
|
+
# @param alert_id Alert ID
|
|
575
|
+
# @param body InteractionStatsAlert
|
|
2262
576
|
# @param [Hash] opts the optional parameters
|
|
2263
577
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2264
|
-
# @return [Array<(
|
|
2265
|
-
def
|
|
578
|
+
# @return [Array<(UnreadStatus, Fixnum, Hash)>] UnreadStatus data, response status code and response headers
|
|
579
|
+
def put_alerting_interactionstats_alert_with_http_info(alert_id, body, opts = {})
|
|
2266
580
|
if @api_client.config.debugging
|
|
2267
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
581
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_interactionstats_alert ..."
|
|
2268
582
|
end
|
|
2269
583
|
|
|
2270
584
|
|
|
2271
|
-
# verify the required parameter '
|
|
2272
|
-
fail ArgumentError, "Missing the required parameter '
|
|
585
|
+
# verify the required parameter 'alert_id' is set
|
|
586
|
+
fail ArgumentError, "Missing the required parameter 'alert_id' when calling AlertingApi.put_alerting_interactionstats_alert" if alert_id.nil?
|
|
2273
587
|
|
|
2274
588
|
|
|
2275
589
|
|
|
@@ -2277,7 +591,7 @@ module PureCloud
|
|
|
2277
591
|
|
|
2278
592
|
|
|
2279
593
|
# verify the required parameter 'body' is set
|
|
2280
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.
|
|
594
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_interactionstats_alert" if body.nil?
|
|
2281
595
|
|
|
2282
596
|
|
|
2283
597
|
|
|
@@ -2290,7 +604,7 @@ module PureCloud
|
|
|
2290
604
|
|
|
2291
605
|
|
|
2292
606
|
# resource path
|
|
2293
|
-
local_var_path = "/api/v2/alerting/
|
|
607
|
+
local_var_path = "/api/v2/alerting/interactionstats/alerts/{alertId}".sub('{format}','json').sub('{' + 'alertId' + '}', alert_id.to_s)
|
|
2294
608
|
|
|
2295
609
|
# query parameters
|
|
2296
610
|
query_params = {}
|
|
@@ -2320,40 +634,40 @@ module PureCloud
|
|
|
2320
634
|
:form_params => form_params,
|
|
2321
635
|
:body => post_body,
|
|
2322
636
|
:auth_names => auth_names,
|
|
2323
|
-
:return_type => '
|
|
637
|
+
:return_type => 'UnreadStatus')
|
|
2324
638
|
if @api_client.config.debugging
|
|
2325
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
639
|
+
@api_client.config.logger.debug "API called: AlertingApi#put_alerting_interactionstats_alert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2326
640
|
end
|
|
2327
641
|
return data, status_code, headers
|
|
2328
642
|
end
|
|
2329
643
|
|
|
2330
|
-
# Update
|
|
644
|
+
# Update an interaction stats rule
|
|
2331
645
|
#
|
|
2332
646
|
# @param rule_id Rule ID
|
|
2333
|
-
# @param body
|
|
647
|
+
# @param body AlertingRule
|
|
2334
648
|
# @param [Hash] opts the optional parameters
|
|
2335
649
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2336
|
-
# @return [
|
|
2337
|
-
def
|
|
2338
|
-
data, _status_code, _headers =
|
|
650
|
+
# @return [InteractionStatsRule]
|
|
651
|
+
def put_alerting_interactionstats_rule(rule_id, body, opts = {})
|
|
652
|
+
data, _status_code, _headers = put_alerting_interactionstats_rule_with_http_info(rule_id, body, opts)
|
|
2339
653
|
return data
|
|
2340
654
|
end
|
|
2341
655
|
|
|
2342
|
-
# Update
|
|
656
|
+
# Update an interaction stats rule
|
|
2343
657
|
#
|
|
2344
658
|
# @param rule_id Rule ID
|
|
2345
|
-
# @param body
|
|
659
|
+
# @param body AlertingRule
|
|
2346
660
|
# @param [Hash] opts the optional parameters
|
|
2347
661
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
|
2348
|
-
# @return [Array<(
|
|
2349
|
-
def
|
|
662
|
+
# @return [Array<(InteractionStatsRule, Fixnum, Hash)>] InteractionStatsRule data, response status code and response headers
|
|
663
|
+
def put_alerting_interactionstats_rule_with_http_info(rule_id, body, opts = {})
|
|
2350
664
|
if @api_client.config.debugging
|
|
2351
|
-
@api_client.config.logger.debug "Calling API: AlertingApi.
|
|
665
|
+
@api_client.config.logger.debug "Calling API: AlertingApi.put_alerting_interactionstats_rule ..."
|
|
2352
666
|
end
|
|
2353
667
|
|
|
2354
668
|
|
|
2355
669
|
# verify the required parameter 'rule_id' is set
|
|
2356
|
-
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.
|
|
670
|
+
fail ArgumentError, "Missing the required parameter 'rule_id' when calling AlertingApi.put_alerting_interactionstats_rule" if rule_id.nil?
|
|
2357
671
|
|
|
2358
672
|
|
|
2359
673
|
|
|
@@ -2361,7 +675,7 @@ module PureCloud
|
|
|
2361
675
|
|
|
2362
676
|
|
|
2363
677
|
# verify the required parameter 'body' is set
|
|
2364
|
-
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.
|
|
678
|
+
fail ArgumentError, "Missing the required parameter 'body' when calling AlertingApi.put_alerting_interactionstats_rule" if body.nil?
|
|
2365
679
|
|
|
2366
680
|
|
|
2367
681
|
|
|
@@ -2374,7 +688,7 @@ module PureCloud
|
|
|
2374
688
|
|
|
2375
689
|
|
|
2376
690
|
# resource path
|
|
2377
|
-
local_var_path = "/api/v2/alerting/
|
|
691
|
+
local_var_path = "/api/v2/alerting/interactionstats/rules/{ruleId}".sub('{format}','json').sub('{' + 'ruleId' + '}', rule_id.to_s)
|
|
2378
692
|
|
|
2379
693
|
# query parameters
|
|
2380
694
|
query_params = {}
|
|
@@ -2404,9 +718,9 @@ module PureCloud
|
|
|
2404
718
|
:form_params => form_params,
|
|
2405
719
|
:body => post_body,
|
|
2406
720
|
:auth_names => auth_names,
|
|
2407
|
-
:return_type => '
|
|
721
|
+
:return_type => 'InteractionStatsRule')
|
|
2408
722
|
if @api_client.config.debugging
|
|
2409
|
-
@api_client.config.logger.debug "API called: AlertingApi#
|
|
723
|
+
@api_client.config.logger.debug "API called: AlertingApi#put_alerting_interactionstats_rule\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2410
724
|
end
|
|
2411
725
|
return data, status_code, headers
|
|
2412
726
|
end
|