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
|
@@ -2067,6 +2067,130 @@ module PureCloud
|
|
|
2067
2067
|
return data, status_code, headers
|
|
2068
2068
|
end
|
|
2069
2069
|
|
|
2070
|
+
# Get generated flow history
|
|
2071
|
+
#
|
|
2072
|
+
# @param flow_id Flow ID
|
|
2073
|
+
# @param history_id History ID (generated history)
|
|
2074
|
+
# @param [Hash] opts the optional parameters
|
|
2075
|
+
# @option opts [Integer] :page_number Page number (default to 1)
|
|
2076
|
+
# @option opts [Integer] :page_size Page size (default to 25)
|
|
2077
|
+
# @option opts [String] :sort_by Sort by (default to timestamp)
|
|
2078
|
+
# @option opts [String] :sort_order Sort order (default to desc)
|
|
2079
|
+
# @option opts [Array<String>] :action Flow actions
|
|
2080
|
+
# @return [HistoryListing]
|
|
2081
|
+
def get_flow_history_history_id(flow_id, history_id, opts = {})
|
|
2082
|
+
data, _status_code, _headers = get_flow_history_history_id_with_http_info(flow_id, history_id, opts)
|
|
2083
|
+
return data
|
|
2084
|
+
end
|
|
2085
|
+
|
|
2086
|
+
# Get generated flow history
|
|
2087
|
+
#
|
|
2088
|
+
# @param flow_id Flow ID
|
|
2089
|
+
# @param history_id History ID (generated history)
|
|
2090
|
+
# @param [Hash] opts the optional parameters
|
|
2091
|
+
# @option opts [Integer] :page_number Page number
|
|
2092
|
+
# @option opts [Integer] :page_size Page size
|
|
2093
|
+
# @option opts [String] :sort_by Sort by
|
|
2094
|
+
# @option opts [String] :sort_order Sort order
|
|
2095
|
+
# @option opts [Array<String>] :action Flow actions
|
|
2096
|
+
# @return [Array<(HistoryListing, Fixnum, Hash)>] HistoryListing data, response status code and response headers
|
|
2097
|
+
def get_flow_history_history_id_with_http_info(flow_id, history_id, opts = {})
|
|
2098
|
+
if @api_client.config.debugging
|
|
2099
|
+
@api_client.config.logger.debug "Calling API: ArchitectApi.get_flow_history_history_id ..."
|
|
2100
|
+
end
|
|
2101
|
+
|
|
2102
|
+
|
|
2103
|
+
# verify the required parameter 'flow_id' is set
|
|
2104
|
+
fail ArgumentError, "Missing the required parameter 'flow_id' when calling ArchitectApi.get_flow_history_history_id" if flow_id.nil?
|
|
2105
|
+
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
|
|
2111
|
+
# verify the required parameter 'history_id' is set
|
|
2112
|
+
fail ArgumentError, "Missing the required parameter 'history_id' when calling ArchitectApi.get_flow_history_history_id" if history_id.nil?
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
|
|
2125
|
+
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
if opts[:'sort_by'] && !['action', 'timestamp', 'user'].include?(opts[:'sort_by'])
|
|
2134
|
+
fail ArgumentError, 'invalid value for "sort_by", must be one of action, timestamp, user'
|
|
2135
|
+
end
|
|
2136
|
+
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
# resource path
|
|
2153
|
+
local_var_path = "/api/v2/flows/{flowId}/history/{historyId}".sub('{format}','json').sub('{' + 'flowId' + '}', flow_id.to_s).sub('{' + 'historyId' + '}', history_id.to_s)
|
|
2154
|
+
|
|
2155
|
+
# query parameters
|
|
2156
|
+
query_params = {}
|
|
2157
|
+
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
2158
|
+
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
2159
|
+
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
|
2160
|
+
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
2161
|
+
query_params[:'action'] = @api_client.build_collection_param(opts[:'action'], :multi) if opts[:'action']
|
|
2162
|
+
|
|
2163
|
+
# header parameters
|
|
2164
|
+
header_params = {}
|
|
2165
|
+
|
|
2166
|
+
# HTTP header 'Accept' (if needed)
|
|
2167
|
+
local_header_accept = ['application/json']
|
|
2168
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2169
|
+
|
|
2170
|
+
# HTTP header 'Content-Type'
|
|
2171
|
+
local_header_content_type = ['application/json']
|
|
2172
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2173
|
+
|
|
2174
|
+
# form parameters
|
|
2175
|
+
form_params = {}
|
|
2176
|
+
|
|
2177
|
+
# http body (model)
|
|
2178
|
+
post_body = nil
|
|
2179
|
+
|
|
2180
|
+
auth_names = ['PureCloud Auth']
|
|
2181
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
2182
|
+
:header_params => header_params,
|
|
2183
|
+
:query_params => query_params,
|
|
2184
|
+
:form_params => form_params,
|
|
2185
|
+
:body => post_body,
|
|
2186
|
+
:auth_names => auth_names,
|
|
2187
|
+
:return_type => 'HistoryListing')
|
|
2188
|
+
if @api_client.config.debugging
|
|
2189
|
+
@api_client.config.logger.debug "API called: ArchitectApi#get_flow_history_history_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2190
|
+
end
|
|
2191
|
+
return data, status_code, headers
|
|
2192
|
+
end
|
|
2193
|
+
|
|
2070
2194
|
# Get the latest configuration for flow
|
|
2071
2195
|
#
|
|
2072
2196
|
# @param flow_id Flow ID
|
|
@@ -1280,6 +1280,7 @@ module PureCloud
|
|
|
1280
1280
|
# @option opts [Integer] :page_size Page size (default to 20)
|
|
1281
1281
|
# @option opts [Integer] :page_number Page number (default to 1)
|
|
1282
1282
|
# @option opts [String] :q Search query
|
|
1283
|
+
# @option opts [Array<String>] :trustor_id Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested
|
|
1283
1284
|
# @option opts [String] :sort_order Sort order
|
|
1284
1285
|
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
1285
1286
|
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
@@ -1295,6 +1296,7 @@ module PureCloud
|
|
|
1295
1296
|
# @option opts [Integer] :page_size Page size
|
|
1296
1297
|
# @option opts [Integer] :page_number Page number
|
|
1297
1298
|
# @option opts [String] :q Search query
|
|
1299
|
+
# @option opts [Array<String>] :trustor_id Search for external organizations by trustorIds (limit 25). If supplied, the 'q' parameters is ignored. Items are returned in the order requested
|
|
1298
1300
|
# @option opts [String] :sort_order Sort order
|
|
1299
1301
|
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
1300
1302
|
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
@@ -1333,6 +1335,12 @@ module PureCloud
|
|
|
1333
1335
|
|
|
1334
1336
|
|
|
1335
1337
|
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1336
1344
|
|
|
1337
1345
|
|
|
1338
1346
|
|
|
@@ -1348,6 +1356,7 @@ module PureCloud
|
|
|
1348
1356
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
1349
1357
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1350
1358
|
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
1359
|
+
query_params[:'trustorId'] = @api_client.build_collection_param(opts[:'trustor_id'], :multi) if opts[:'trustor_id']
|
|
1351
1360
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1352
1361
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1353
1362
|
query_params[:'includeTrustors'] = opts[:'include_trustors'] if opts[:'include_trustors']
|
|
@@ -4631,7 +4631,7 @@ module PureCloud
|
|
|
4631
4631
|
# @param contact_list_id Contact List ID
|
|
4632
4632
|
# @param body Contact
|
|
4633
4633
|
# @param [Hash] opts the optional parameters
|
|
4634
|
-
# @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will
|
|
4634
|
+
# @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next, false means the contact will go to the end of the contact queue.
|
|
4635
4635
|
# @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system data stored on the contact will be cleared if the contact already exists (attempts, callable status, etc), false means it won't.
|
|
4636
4636
|
# @return [Array<DialerContact>]
|
|
4637
4637
|
def post_outbound_contactlist_contacts(contact_list_id, body, opts = {})
|
|
@@ -4644,7 +4644,7 @@ module PureCloud
|
|
|
4644
4644
|
# @param contact_list_id Contact List ID
|
|
4645
4645
|
# @param body Contact
|
|
4646
4646
|
# @param [Hash] opts the optional parameters
|
|
4647
|
-
# @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will
|
|
4647
|
+
# @option opts [BOOLEAN] :priority Contact priority. True means the contact(s) will be dialed next, false means the contact will go to the end of the contact queue.
|
|
4648
4648
|
# @option opts [BOOLEAN] :clear_system_data Clear system data. True means the system data stored on the contact will be cleared if the contact already exists (attempts, callable status, etc), false means it won't.
|
|
4649
4649
|
# @return [Array<(Array<DialerContact>, Fixnum, Hash)>] Array<DialerContact> data, response status code and response headers
|
|
4650
4650
|
def post_outbound_contactlist_contacts_with_http_info(contact_list_id, body, opts = {})
|
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :total
|
|
28
28
|
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
attr_accessor :first_uri
|
|
32
|
-
|
|
33
29
|
attr_accessor :previous_uri
|
|
34
30
|
|
|
35
31
|
attr_accessor :next_uri
|
|
36
32
|
|
|
37
33
|
attr_accessor :last_uri
|
|
38
34
|
|
|
35
|
+
attr_accessor :self_uri
|
|
36
|
+
|
|
37
|
+
attr_accessor :first_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
|
50
50
|
|
|
51
51
|
:'total' => :'total',
|
|
52
52
|
|
|
53
|
-
:'self_uri' => :'selfUri',
|
|
54
|
-
|
|
55
|
-
:'first_uri' => :'firstUri',
|
|
56
|
-
|
|
57
53
|
:'previous_uri' => :'previousUri',
|
|
58
54
|
|
|
59
55
|
:'next_uri' => :'nextUri',
|
|
60
56
|
|
|
61
57
|
:'last_uri' => :'lastUri',
|
|
62
58
|
|
|
59
|
+
:'self_uri' => :'selfUri',
|
|
60
|
+
|
|
61
|
+
:'first_uri' => :'firstUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -77,16 +77,16 @@ module PureCloud
|
|
|
77
77
|
|
|
78
78
|
:'total' => :'Integer',
|
|
79
79
|
|
|
80
|
-
:'self_uri' => :'String',
|
|
81
|
-
|
|
82
|
-
:'first_uri' => :'String',
|
|
83
|
-
|
|
84
80
|
:'previous_uri' => :'String',
|
|
85
81
|
|
|
86
82
|
:'next_uri' => :'String',
|
|
87
83
|
|
|
88
84
|
:'last_uri' => :'String',
|
|
89
85
|
|
|
86
|
+
:'self_uri' => :'String',
|
|
87
|
+
|
|
88
|
+
:'first_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -139,46 +139,46 @@ module PureCloud
|
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
if attributes.has_key?(:'
|
|
142
|
+
if attributes.has_key?(:'previousUri')
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
self.
|
|
145
|
+
self.previous_uri = attributes[:'previousUri']
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
if attributes.has_key?(:'
|
|
151
|
+
if attributes.has_key?(:'nextUri')
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
self.
|
|
154
|
+
self.next_uri = attributes[:'nextUri']
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
if attributes.has_key?(:'
|
|
160
|
+
if attributes.has_key?(:'lastUri')
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
self.
|
|
163
|
+
self.last_uri = attributes[:'lastUri']
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'selfUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.self_uri = attributes[:'selfUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'firstUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.first_uri = attributes[:'firstUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -310,11 +310,11 @@ module PureCloud
|
|
|
310
310
|
page_size == o.page_size &&
|
|
311
311
|
page_number == o.page_number &&
|
|
312
312
|
total == o.total &&
|
|
313
|
-
self_uri == o.self_uri &&
|
|
314
|
-
first_uri == o.first_uri &&
|
|
315
313
|
previous_uri == o.previous_uri &&
|
|
316
314
|
next_uri == o.next_uri &&
|
|
317
315
|
last_uri == o.last_uri &&
|
|
316
|
+
self_uri == o.self_uri &&
|
|
317
|
+
first_uri == o.first_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total,
|
|
330
|
+
[entities, page_size, page_number, total, previous_uri, next_uri, last_uri, self_uri, first_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
|
26
26
|
|
|
27
27
|
attr_accessor :total
|
|
28
28
|
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
attr_accessor :first_uri
|
|
32
|
-
|
|
33
29
|
attr_accessor :previous_uri
|
|
34
30
|
|
|
35
31
|
attr_accessor :next_uri
|
|
36
32
|
|
|
37
33
|
attr_accessor :last_uri
|
|
38
34
|
|
|
35
|
+
attr_accessor :self_uri
|
|
36
|
+
|
|
37
|
+
attr_accessor :first_uri
|
|
38
|
+
|
|
39
39
|
attr_accessor :page_count
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -50,16 +50,16 @@ module PureCloud
|
|
|
50
50
|
|
|
51
51
|
:'total' => :'total',
|
|
52
52
|
|
|
53
|
-
:'self_uri' => :'selfUri',
|
|
54
|
-
|
|
55
|
-
:'first_uri' => :'firstUri',
|
|
56
|
-
|
|
57
53
|
:'previous_uri' => :'previousUri',
|
|
58
54
|
|
|
59
55
|
:'next_uri' => :'nextUri',
|
|
60
56
|
|
|
61
57
|
:'last_uri' => :'lastUri',
|
|
62
58
|
|
|
59
|
+
:'self_uri' => :'selfUri',
|
|
60
|
+
|
|
61
|
+
:'first_uri' => :'firstUri',
|
|
62
|
+
|
|
63
63
|
:'page_count' => :'pageCount'
|
|
64
64
|
|
|
65
65
|
}
|
|
@@ -77,16 +77,16 @@ module PureCloud
|
|
|
77
77
|
|
|
78
78
|
:'total' => :'Integer',
|
|
79
79
|
|
|
80
|
-
:'self_uri' => :'String',
|
|
81
|
-
|
|
82
|
-
:'first_uri' => :'String',
|
|
83
|
-
|
|
84
80
|
:'previous_uri' => :'String',
|
|
85
81
|
|
|
86
82
|
:'next_uri' => :'String',
|
|
87
83
|
|
|
88
84
|
:'last_uri' => :'String',
|
|
89
85
|
|
|
86
|
+
:'self_uri' => :'String',
|
|
87
|
+
|
|
88
|
+
:'first_uri' => :'String',
|
|
89
|
+
|
|
90
90
|
:'page_count' => :'Integer'
|
|
91
91
|
|
|
92
92
|
}
|
|
@@ -139,46 +139,46 @@ module PureCloud
|
|
|
139
139
|
end
|
|
140
140
|
|
|
141
141
|
|
|
142
|
-
if attributes.has_key?(:'
|
|
142
|
+
if attributes.has_key?(:'previousUri')
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
self.
|
|
145
|
+
self.previous_uri = attributes[:'previousUri']
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
end
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
if attributes.has_key?(:'
|
|
151
|
+
if attributes.has_key?(:'nextUri')
|
|
152
152
|
|
|
153
153
|
|
|
154
|
-
self.
|
|
154
|
+
self.next_uri = attributes[:'nextUri']
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
if attributes.has_key?(:'
|
|
160
|
+
if attributes.has_key?(:'lastUri')
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
self.
|
|
163
|
+
self.last_uri = attributes[:'lastUri']
|
|
164
164
|
|
|
165
165
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
if attributes.has_key?(:'
|
|
169
|
+
if attributes.has_key?(:'selfUri')
|
|
170
170
|
|
|
171
171
|
|
|
172
|
-
self.
|
|
172
|
+
self.self_uri = attributes[:'selfUri']
|
|
173
173
|
|
|
174
174
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
|
|
178
|
-
if attributes.has_key?(:'
|
|
178
|
+
if attributes.has_key?(:'firstUri')
|
|
179
179
|
|
|
180
180
|
|
|
181
|
-
self.
|
|
181
|
+
self.first_uri = attributes[:'firstUri']
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
end
|
|
@@ -310,11 +310,11 @@ module PureCloud
|
|
|
310
310
|
page_size == o.page_size &&
|
|
311
311
|
page_number == o.page_number &&
|
|
312
312
|
total == o.total &&
|
|
313
|
-
self_uri == o.self_uri &&
|
|
314
|
-
first_uri == o.first_uri &&
|
|
315
313
|
previous_uri == o.previous_uri &&
|
|
316
314
|
next_uri == o.next_uri &&
|
|
317
315
|
last_uri == o.last_uri &&
|
|
316
|
+
self_uri == o.self_uri &&
|
|
317
|
+
first_uri == o.first_uri &&
|
|
318
318
|
page_count == o.page_count
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ module PureCloud
|
|
|
327
327
|
# Calculates hash code according to all attributes.
|
|
328
328
|
# @return [Fixnum] Hash code
|
|
329
329
|
def hash
|
|
330
|
-
[entities, page_size, page_number, total,
|
|
330
|
+
[entities, page_size, page_number, total, previous_uri, next_uri, last_uri, self_uri, first_uri, page_count].hash
|
|
331
331
|
end
|
|
332
332
|
|
|
333
333
|
# build the object from hash
|