purecloud 0.59.1 → 0.60.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/config-ruby.json +1 -1
- data/doc_out/AgentActivityEntityListing.html.md +2 -2
- data/doc_out/AggregationQuery.html.md +1 -1
- data/doc_out/AlertingApi.html.md +1106 -92
- data/doc_out/Annotation.html.md +14 -4
- data/doc_out/AttemptLimitsEntityListing.html.md +2 -2
- data/doc_out/AttributeEntityListing.html.md +2 -2
- data/doc_out/CalibrationEntityListing.html.md +2 -2
- data/doc_out/CallConversationEntityListing.html.md +2 -2
- data/doc_out/CallableTimeSetEntityListing.html.md +2 -2
- data/doc_out/CallbackConversationEntityListing.html.md +2 -2
- data/doc_out/CampaignEntityListing.html.md +2 -2
- data/doc_out/CampaignSequenceEntityListing.html.md +2 -2
- data/doc_out/CertificateAuthorityEntityListing.html.md +2 -2
- data/doc_out/ChannelEntityListing.html.md +2 -2
- data/doc_out/ChatConversationEntityListing.html.md +2 -2
- data/doc_out/CobrowseConversationEntityListing.html.md +2 -2
- data/doc_out/CommandStatusEntityListing.html.md +2 -2
- data/doc_out/ContactListEntityListing.html.md +2 -2
- data/doc_out/ContactSort.html.md +1 -1
- data/doc_out/ConversationEntityListing.html.md +2 -2
- data/doc_out/DIDEntityListing.html.md +2 -2
- data/doc_out/DIDPoolEntityListing.html.md +2 -2
- data/doc_out/DncListEntityListing.html.md +2 -2
- data/doc_out/DocumentAuditEntityListing.html.md +2 -2
- data/doc_out/DocumentEntityListing.html.md +2 -2
- data/doc_out/DomainEdgeSoftwareVersionDtoEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListing.html.md +2 -2
- data/doc_out/DomainEntityListingEvaluationForm.html.md +2 -2
- data/doc_out/DomainEntityListingQueryResult.html.md +2 -2
- data/doc_out/Edge.html.md +1 -1
- data/doc_out/EdgeEntityListing.html.md +2 -2
- data/doc_out/EdgeGroupEntityListing.html.md +2 -2
- data/doc_out/EdgeLineEntityListing.html.md +2 -2
- data/doc_out/EmailConversationEntityListing.html.md +2 -2
- data/doc_out/EmailMessageListing.html.md +2 -2
- data/doc_out/EncryptionKeyEntityListing.html.md +2 -2
- data/doc_out/EndpointEntityListing.html.md +2 -2
- data/doc_out/EvaluationEntityListing.html.md +2 -2
- data/doc_out/EvaluationFormEntityListing.html.md +2 -2
- data/doc_out/EvaluatorActivityEntityListing.html.md +2 -2
- data/doc_out/ExtensionEntityListing.html.md +2 -2
- data/doc_out/ExtensionPoolEntityListing.html.md +2 -2
- data/doc_out/FaxDocumentEntityListing.html.md +2 -2
- data/doc_out/GroupEntityListing.html.md +2 -2
- data/doc_out/HeartBeatAlert.html.md +1 -1
- data/doc_out/HeartBeatAlertContainer.html.md +2 -2
- data/doc_out/HeartBeatRule.html.md +1 -1
- data/doc_out/HeartBeatRuleContainer.html.md +2 -2
- data/doc_out/InboundDomainEntityListing.html.md +2 -2
- data/doc_out/InboundRouteEntityListing.html.md +2 -2
- data/doc_out/InteractionStatsAlert.html.md +1 -1
- data/doc_out/InteractionStatsAlertContainer.html.md +2 -2
- data/doc_out/InteractionStatsRule.html.md +1 -1
- data/doc_out/InteractionStatsRuleContainer.html.md +2 -2
- data/doc_out/KeywordSetEntityListing.html.md +2 -2
- data/doc_out/LanguageEntityListing.html.md +2 -2
- data/doc_out/LibraryEntityListing.html.md +2 -2
- data/doc_out/LineBaseEntityListing.html.md +2 -2
- data/doc_out/LineEntityListing.html.md +2 -2
- data/doc_out/LocalEncryptionConfigurationListing.html.md +2 -2
- data/doc_out/LogicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/OAuthClient.html.md +2 -2
- data/doc_out/OAuthClientEntityListing.html.md +3 -3
- data/doc_out/OAuthClientListing.html.md +20 -0
- data/doc_out/OAuthProviderEntityListing.html.md +2 -2
- data/doc_out/OrganizationPresenceEntityListing.html.md +2 -2
- data/doc_out/OrganizationRoleEntityListing.html.md +2 -2
- data/doc_out/OrphanRecording.html.md +1 -0
- data/doc_out/OrphanRecordingListing.html.md +2 -2
- data/doc_out/OrphanUpdateRequest.html.md +15 -0
- data/doc_out/OutboundRouteEntityListing.html.md +2 -2
- data/doc_out/PermissionCollectionEntityListing.html.md +2 -2
- data/doc_out/PhoneBaseEntityListing.html.md +2 -2
- data/doc_out/PhoneEntityListing.html.md +2 -2
- data/doc_out/PhoneMetaBaseEntityListing.html.md +2 -2
- data/doc_out/PhysicalInterfaceEntityListing.html.md +2 -2
- data/doc_out/PolicyEntityListing.html.md +2 -2
- data/doc_out/QualityApi.html.md +5 -1
- data/doc_out/QualityAuditPage.html.md +2 -2
- data/doc_out/QueueEntityListing.html.md +2 -2
- data/doc_out/QueueMemberEntityListing.html.md +2 -2
- data/doc_out/RecordingApi.html.md +132 -4
- data/doc_out/ReportMetaDataEntityListing.html.md +2 -2
- data/doc_out/ReportRunEntryEntityDomainListing.html.md +2 -2
- data/doc_out/ReportScheduleEntityListing.html.md +2 -2
- data/doc_out/ResponseEntityList.html.md +2 -2
- data/doc_out/ResponseEntityListing.html.md +2 -2
- data/doc_out/ResponseSetEntityListing.html.md +2 -2
- data/doc_out/RoutingStatusAlert.html.md +23 -0
- data/doc_out/RoutingStatusAlertContainer.html.md +22 -0
- data/doc_out/RoutingStatusRule.html.md +22 -0
- data/doc_out/RoutingStatusRuleContainer.html.md +22 -0
- data/doc_out/RuleSetEntityListing.html.md +2 -2
- data/doc_out/SchemaCategoryEntityListing.html.md +2 -2
- data/doc_out/SchemaReferenceEntityListing.html.md +2 -2
- data/doc_out/ScreenRecordingSessionListing.html.md +2 -2
- data/doc_out/ScriptEntityListing.html.md +2 -2
- data/doc_out/SecurityProfileEntityListing.html.md +2 -2
- data/doc_out/ShareEntityListing.html.md +2 -2
- data/doc_out/SiteEntityListing.html.md +2 -2
- data/doc_out/SkillEntityListing.html.md +2 -2
- data/doc_out/StationEntityListing.html.md +2 -2
- data/doc_out/StreetAddress.html.md +2 -2
- data/doc_out/TagValueEntityListing.html.md +2 -2
- data/doc_out/TelephonyProvidersEdgeApi.html.md +21 -17
- data/doc_out/TimeZoneEntityListing.html.md +2 -2
- data/doc_out/TrunkBaseEntityListing.html.md +2 -2
- data/doc_out/TrunkEntityListing.html.md +2 -2
- data/doc_out/TrunkMetabaseEntityListing.html.md +2 -2
- data/doc_out/UserEntityListing.html.md +2 -2
- data/doc_out/UserPresenceAlert.html.md +25 -0
- data/doc_out/UserPresenceAlertContainer.html.md +22 -0
- data/doc_out/UserPresenceRule.html.md +23 -0
- data/doc_out/{UsersEntityListing.html.md → UserPresenceRuleContainer.html.md} +5 -5
- data/doc_out/UserQueueEntityListing.html.md +2 -2
- data/doc_out/UserRecordingEntityListing.html.md +2 -2
- data/doc_out/UserSkillEntityListing.html.md +2 -2
- data/doc_out/UsersApi.html.md +2 -2
- data/doc_out/WorkspaceEntityListing.html.md +2 -2
- data/doc_out/WorkspaceMemberEntityListing.html.md +2 -2
- data/doc_out/WrapupCodeEntityListing.html.md +2 -2
- data/doc_out/index.html.md +3 -3
- data/lib/purecloud.rb +10 -1
- data/lib/purecloud/api/alerting_api.rb +1070 -49
- data/lib/purecloud/api/quality_api.rb +6 -0
- data/lib/purecloud/api/recording_api.rb +140 -2
- data/lib/purecloud/api/telephony_providers_edge_api.rb +13 -10
- data/lib/purecloud/api/users_api.rb +3 -3
- data/lib/purecloud/api_client.rb +1 -1
- data/lib/purecloud/models/agent_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/aggregation_query.rb +1 -1
- data/lib/purecloud/models/annotation.rb +115 -1
- data/lib/purecloud/models/attempt_limits_entity_listing.rb +17 -17
- data/lib/purecloud/models/attribute_entity_listing.rb +17 -17
- data/lib/purecloud/models/calibration_entity_listing.rb +17 -17
- data/lib/purecloud/models/call_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/callback_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_entity_listing.rb +17 -17
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +17 -17
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +17 -17
- data/lib/purecloud/models/channel_entity_listing.rb +17 -17
- data/lib/purecloud/models/chat_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/cobrowse_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/command_status_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/contact_sort.rb +1 -0
- data/lib/purecloud/models/conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_entity_listing.rb +17 -17
- data/lib/purecloud/models/did_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/dnc_list_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_audit_entity_listing.rb +17 -17
- data/lib/purecloud/models/document_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_edge_software_version_dto_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +17 -17
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +17 -17
- data/lib/purecloud/models/edge.rb +2 -1
- data/lib/purecloud/models/edge_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_group_entity_listing.rb +17 -17
- data/lib/purecloud/models/edge_line_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_conversation_entity_listing.rb +17 -17
- data/lib/purecloud/models/email_message_listing.rb +17 -17
- data/lib/purecloud/models/encryption_key_entity_listing.rb +17 -17
- data/lib/purecloud/models/endpoint_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +17 -17
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_entity_listing.rb +17 -17
- data/lib/purecloud/models/extension_pool_entity_listing.rb +17 -17
- data/lib/purecloud/models/fax_document_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_entity_listing.rb +17 -17
- data/lib/purecloud/models/group_search_criteria.rb +1 -1
- data/lib/purecloud/models/heart_beat_alert.rb +1 -1
- data/lib/purecloud/models/heart_beat_alert_container.rb +17 -17
- data/lib/purecloud/models/heart_beat_rule.rb +1 -1
- data/lib/purecloud/models/heart_beat_rule_container.rb +17 -17
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +17 -17
- data/lib/purecloud/models/inbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/interaction_stats_alert.rb +1 -1
- data/lib/purecloud/models/interaction_stats_alert_container.rb +17 -17
- data/lib/purecloud/models/interaction_stats_rule.rb +1 -1
- data/lib/purecloud/models/interaction_stats_rule_container.rb +17 -17
- data/lib/purecloud/models/keyword_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/language_entity_listing.rb +17 -17
- data/lib/purecloud/models/library_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/line_entity_listing.rb +17 -17
- data/lib/purecloud/models/local_encryption_configuration_listing.rb +17 -17
- data/lib/purecloud/models/location_search_criteria.rb +1 -1
- data/lib/purecloud/models/logical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +18 -18
- data/lib/purecloud/models/o_auth_client_listing.rb +246 -0
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_presence_entity_listing.rb +17 -17
- data/lib/purecloud/models/organization_role_entity_listing.rb +17 -17
- data/lib/purecloud/models/orphan_recording.rb +21 -1
- data/lib/purecloud/models/orphan_recording_listing.rb +17 -17
- data/lib/purecloud/models/orphan_update_request.rb +188 -0
- data/lib/purecloud/models/outbound_route_entity_listing.rb +17 -17
- data/lib/purecloud/models/permission_collection_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_entity_listing.rb +17 -17
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/physical_interface_entity_listing.rb +17 -17
- data/lib/purecloud/models/policy_entity_listing.rb +17 -17
- data/lib/purecloud/models/quality_audit_page.rb +17 -17
- data/lib/purecloud/models/queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/queue_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +17 -17
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +17 -17
- data/lib/purecloud/models/report_schedule_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_entity_list.rb +17 -17
- data/lib/purecloud/models/response_entity_listing.rb +17 -17
- data/lib/purecloud/models/response_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/routing_status_alert.rb +289 -0
- data/lib/purecloud/models/routing_status_alert_container.rb +257 -0
- data/lib/purecloud/models/routing_status_rule.rb +282 -0
- data/lib/purecloud/models/routing_status_rule_container.rb +257 -0
- data/lib/purecloud/models/rule_set_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_category_entity_listing.rb +17 -17
- data/lib/purecloud/models/schema_reference_entity_listing.rb +17 -17
- data/lib/purecloud/models/screen_recording_session_listing.rb +17 -17
- data/lib/purecloud/models/script_entity_listing.rb +17 -17
- data/lib/purecloud/models/security_profile_entity_listing.rb +17 -17
- data/lib/purecloud/models/share_entity_listing.rb +17 -17
- data/lib/purecloud/models/site_entity_listing.rb +17 -17
- data/lib/purecloud/models/skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/station_entity_listing.rb +17 -17
- data/lib/purecloud/models/street_address.rb +2 -0
- data/lib/purecloud/models/tag_value_entity_listing.rb +17 -17
- data/lib/purecloud/models/time_zone_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_base_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_entity_listing.rb +17 -17
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_presence_alert.rb +310 -0
- data/lib/purecloud/models/user_presence_alert_container.rb +257 -0
- data/lib/purecloud/models/user_presence_rule.rb +293 -0
- data/lib/purecloud/models/{users_entity_listing.rb → user_presence_rule_container.rb} +19 -19
- data/lib/purecloud/models/user_queue_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_recording_entity_listing.rb +17 -17
- data/lib/purecloud/models/user_schedule_adherence.rb +3 -3
- data/lib/purecloud/models/user_search_criteria.rb +1 -1
- data/lib/purecloud/models/user_skill_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_entity_listing.rb +17 -17
- data/lib/purecloud/models/workspace_member_entity_listing.rb +17 -17
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +17 -17
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +22 -4
@@ -1141,6 +1141,8 @@ module PureCloud
|
|
1141
1141
|
# @option opts [String] :next_page next page token
|
1142
1142
|
# @option opts [String] :previous_page Previous page token
|
1143
1143
|
# @option opts [String] :name the keyword set name - used for filtering results in searches.
|
1144
|
+
# @option opts [String] :queue_id the queue id - used for filtering results in searches.
|
1145
|
+
# @option opts [String] :agent_id the agent id - used for filtering results in searches.
|
1144
1146
|
# @return [KeywordSetEntityListing]
|
1145
1147
|
def get_keywordsets(opts = {})
|
1146
1148
|
data, status_code, headers = get_keywordsets_with_http_info(opts)
|
@@ -1157,6 +1159,8 @@ module PureCloud
|
|
1157
1159
|
# @option opts [String] :next_page next page token
|
1158
1160
|
# @option opts [String] :previous_page Previous page token
|
1159
1161
|
# @option opts [String] :name the keyword set name - used for filtering results in searches.
|
1162
|
+
# @option opts [String] :queue_id the queue id - used for filtering results in searches.
|
1163
|
+
# @option opts [String] :agent_id the agent id - used for filtering results in searches.
|
1160
1164
|
# @return [Array<(KeywordSetEntityListing, Fixnum, Hash)>] KeywordSetEntityListing data, response status code and response headers
|
1161
1165
|
def get_keywordsets_with_http_info(opts = {})
|
1162
1166
|
if @api_client.config.debugging
|
@@ -1175,6 +1179,8 @@ module PureCloud
|
|
1175
1179
|
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
1176
1180
|
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
1177
1181
|
query_params[:'name'] = opts[:'name'] if opts[:'name']
|
1182
|
+
query_params[:'queueId'] = opts[:'queue_id'] if opts[:'queue_id']
|
1183
|
+
query_params[:'agentId'] = opts[:'agent_id'] if opts[:'agent_id']
|
1178
1184
|
|
1179
1185
|
# header parameters
|
1180
1186
|
header_params = {}
|
@@ -214,7 +214,7 @@ module PureCloud
|
|
214
214
|
return data, status_code, headers
|
215
215
|
end
|
216
216
|
|
217
|
-
#
|
217
|
+
# Deletes a single orphan recording
|
218
218
|
#
|
219
219
|
# @param orphan_id Orphan ID
|
220
220
|
# @param [Hash] opts the optional parameters
|
@@ -224,7 +224,7 @@ module PureCloud
|
|
224
224
|
return data
|
225
225
|
end
|
226
226
|
|
227
|
-
#
|
227
|
+
# Deletes a single orphan recording
|
228
228
|
#
|
229
229
|
# @param orphan_id Orphan ID
|
230
230
|
# @param [Hash] opts the optional parameters
|
@@ -877,6 +877,79 @@ module PureCloud
|
|
877
877
|
return data, status_code, headers
|
878
878
|
end
|
879
879
|
|
880
|
+
# Gets the media of a single orphan recording
|
881
|
+
# A 202 response means the orphaned media is currently transcoding and will be available shortly.A 200 response denotes the transcoded orphan media is available now and is contained in the response body.
|
882
|
+
# @param orphan_id Orphan ID
|
883
|
+
# @param [Hash] opts the optional parameters
|
884
|
+
# @option opts [String] :format_id The desired media format. (default to WEBM)
|
885
|
+
# @option opts [BOOLEAN] :download requesting a download format of the recording (default to false)
|
886
|
+
# @option opts [String] :file_name the name of the downloaded fileName
|
887
|
+
# @return [Recording]
|
888
|
+
def get_orphan_id_media(orphan_id, opts = {})
|
889
|
+
data, status_code, headers = get_orphan_id_media_with_http_info(orphan_id, opts)
|
890
|
+
return data
|
891
|
+
end
|
892
|
+
|
893
|
+
# Gets the media of a single orphan recording
|
894
|
+
# A 202 response means the orphaned media is currently transcoding and will be available shortly.A 200 response denotes the transcoded orphan media is available now and is contained in the response body.
|
895
|
+
# @param orphan_id Orphan ID
|
896
|
+
# @param [Hash] opts the optional parameters
|
897
|
+
# @option opts [String] :format_id The desired media format.
|
898
|
+
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
899
|
+
# @option opts [String] :file_name the name of the downloaded fileName
|
900
|
+
# @return [Array<(Recording, Fixnum, Hash)>] Recording data, response status code and response headers
|
901
|
+
def get_orphan_id_media_with_http_info(orphan_id, opts = {})
|
902
|
+
if @api_client.config.debugging
|
903
|
+
@api_client.config.logger.debug "Calling API: RecordingApi#get_orphan_id_media ..."
|
904
|
+
end
|
905
|
+
|
906
|
+
# verify the required parameter 'orphan_id' is set
|
907
|
+
fail "Missing the required parameter 'orphan_id' when calling get_orphan_id_media" if orphan_id.nil?
|
908
|
+
|
909
|
+
if opts[:'format_id'] && !['WAV', 'WEBM', 'WAV_ULAW', 'OGG_VORBIS', 'OGG_OPUS', 'NONE'].include?(opts[:'format_id'])
|
910
|
+
fail 'invalid value for "format_id", must be one of WAV, WEBM, WAV_ULAW, OGG_VORBIS, OGG_OPUS, NONE'
|
911
|
+
end
|
912
|
+
|
913
|
+
# resource path
|
914
|
+
local_var_path = "/api/v2/orphanrecordings/{orphanId}/media".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
915
|
+
|
916
|
+
# query parameters
|
917
|
+
query_params = {}
|
918
|
+
query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
|
919
|
+
query_params[:'download'] = opts[:'download'] if opts[:'download']
|
920
|
+
query_params[:'fileName'] = opts[:'file_name'] if opts[:'file_name']
|
921
|
+
|
922
|
+
# header parameters
|
923
|
+
header_params = {}
|
924
|
+
|
925
|
+
# HTTP header 'Accept' (if needed)
|
926
|
+
_header_accept = ['application/json']
|
927
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
928
|
+
|
929
|
+
# HTTP header 'Content-Type'
|
930
|
+
_header_content_type = ['application/json']
|
931
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_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 => 'Recording')
|
947
|
+
if @api_client.config.debugging
|
948
|
+
@api_client.config.logger.debug "API called: RecordingApi#get_orphan_id_media\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
949
|
+
end
|
950
|
+
return data, status_code, headers
|
951
|
+
end
|
952
|
+
|
880
953
|
# Gets all orphan recordings
|
881
954
|
#
|
882
955
|
# @param [Hash] opts the optional parameters
|
@@ -886,6 +959,7 @@ module PureCloud
|
|
886
959
|
# @option opts [Array<Object>] :expand variable name requested by expand list
|
887
960
|
# @option opts [String] :next_page next page token
|
888
961
|
# @option opts [String] :previous_page Previous page token
|
962
|
+
# @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization. (default to false)
|
889
963
|
# @return [OrphanRecordingListing]
|
890
964
|
def get_orphanrecordings(opts = {})
|
891
965
|
data, status_code, headers = get_orphanrecordings_with_http_info(opts)
|
@@ -901,6 +975,7 @@ module PureCloud
|
|
901
975
|
# @option opts [Array<Object>] :expand variable name requested by expand list
|
902
976
|
# @option opts [String] :next_page next page token
|
903
977
|
# @option opts [String] :previous_page Previous page token
|
978
|
+
# @option opts [BOOLEAN] :has_conversation Filter resulting orphans by whether the conversation is known. False returns all orphans for the organization.
|
904
979
|
# @return [Array<(OrphanRecordingListing, Fixnum, Hash)>] OrphanRecordingListing data, response status code and response headers
|
905
980
|
def get_orphanrecordings_with_http_info(opts = {})
|
906
981
|
if @api_client.config.debugging
|
@@ -918,6 +993,7 @@ module PureCloud
|
|
918
993
|
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
919
994
|
query_params[:'nextPage'] = opts[:'next_page'] if opts[:'next_page']
|
920
995
|
query_params[:'previousPage'] = opts[:'previous_page'] if opts[:'previous_page']
|
996
|
+
query_params[:'hasConversation'] = opts[:'has_conversation'] if opts[:'has_conversation']
|
921
997
|
|
922
998
|
# header parameters
|
923
999
|
header_params = {}
|
@@ -1891,6 +1967,68 @@ module PureCloud
|
|
1891
1967
|
return data, status_code, headers
|
1892
1968
|
end
|
1893
1969
|
|
1970
|
+
# Updates an orphan recording to a regular recording with retention values
|
1971
|
+
# If this operation is successful the orphan will no longer exist. It will be replaced by the resulting recording in the response. This replacement recording is accessible by the normal Recording api.
|
1972
|
+
# @param orphan_id Orphan ID
|
1973
|
+
# @param [Hash] opts the optional parameters
|
1974
|
+
# @option opts [OrphanUpdateRequest] :body
|
1975
|
+
# @return [Recording]
|
1976
|
+
def put_orphan_id(orphan_id, opts = {})
|
1977
|
+
data, status_code, headers = put_orphan_id_with_http_info(orphan_id, opts)
|
1978
|
+
return data
|
1979
|
+
end
|
1980
|
+
|
1981
|
+
# Updates an orphan recording to a regular recording with retention values
|
1982
|
+
# If this operation is successful the orphan will no longer exist. It will be replaced by the resulting recording in the response. This replacement recording is accessible by the normal Recording api.
|
1983
|
+
# @param orphan_id Orphan ID
|
1984
|
+
# @param [Hash] opts the optional parameters
|
1985
|
+
# @option opts [OrphanUpdateRequest] :body
|
1986
|
+
# @return [Array<(Recording, Fixnum, Hash)>] Recording data, response status code and response headers
|
1987
|
+
def put_orphan_id_with_http_info(orphan_id, opts = {})
|
1988
|
+
if @api_client.config.debugging
|
1989
|
+
@api_client.config.logger.debug "Calling API: RecordingApi#put_orphan_id ..."
|
1990
|
+
end
|
1991
|
+
|
1992
|
+
# verify the required parameter 'orphan_id' is set
|
1993
|
+
fail "Missing the required parameter 'orphan_id' when calling put_orphan_id" if orphan_id.nil?
|
1994
|
+
|
1995
|
+
# resource path
|
1996
|
+
local_var_path = "/api/v2/orphanrecordings/{orphanId}".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
1997
|
+
|
1998
|
+
# query parameters
|
1999
|
+
query_params = {}
|
2000
|
+
|
2001
|
+
# header parameters
|
2002
|
+
header_params = {}
|
2003
|
+
|
2004
|
+
# HTTP header 'Accept' (if needed)
|
2005
|
+
_header_accept = ['application/json']
|
2006
|
+
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
2007
|
+
|
2008
|
+
# HTTP header 'Content-Type'
|
2009
|
+
_header_content_type = ['application/json']
|
2010
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
2011
|
+
|
2012
|
+
# form parameters
|
2013
|
+
form_params = {}
|
2014
|
+
|
2015
|
+
# http body (model)
|
2016
|
+
post_body = @api_client.object_to_http_body(opts[:'body'])
|
2017
|
+
|
2018
|
+
auth_names = ['PureCloud Auth']
|
2019
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
2020
|
+
:header_params => header_params,
|
2021
|
+
:query_params => query_params,
|
2022
|
+
:form_params => form_params,
|
2023
|
+
:body => post_body,
|
2024
|
+
:auth_names => auth_names,
|
2025
|
+
:return_type => 'Recording')
|
2026
|
+
if @api_client.config.debugging
|
2027
|
+
@api_client.config.logger.debug "API called: RecordingApi#put_orphan_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2028
|
+
end
|
2029
|
+
return data, status_code, headers
|
2030
|
+
end
|
2031
|
+
|
1894
2032
|
# Update key rotation schedule
|
1895
2033
|
#
|
1896
2034
|
# @param body KeyRotationSchedule
|
@@ -1309,6 +1309,7 @@ module PureCloud
|
|
1309
1309
|
#
|
1310
1310
|
# @param edge_id Edge ID
|
1311
1311
|
# @param [Hash] opts the optional parameters
|
1312
|
+
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
1312
1313
|
# @return [Edge]
|
1313
1314
|
def get_providers_edges_edge_id(edge_id, opts = {})
|
1314
1315
|
data, status_code, headers = get_providers_edges_edge_id_with_http_info(edge_id, opts)
|
@@ -1319,6 +1320,7 @@ module PureCloud
|
|
1319
1320
|
#
|
1320
1321
|
# @param edge_id Edge ID
|
1321
1322
|
# @param [Hash] opts the optional parameters
|
1323
|
+
# @option opts [Array<String>] :expand Fields to expand in the response, comma-separated
|
1322
1324
|
# @return [Array<(Edge, Fixnum, Hash)>] Edge data, response status code and response headers
|
1323
1325
|
def get_providers_edges_edge_id_with_http_info(edge_id, opts = {})
|
1324
1326
|
if @api_client.config.debugging
|
@@ -1333,6 +1335,7 @@ module PureCloud
|
|
1333
1335
|
|
1334
1336
|
# query parameters
|
1335
1337
|
query_params = {}
|
1338
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
1336
1339
|
|
1337
1340
|
# header parameters
|
1338
1341
|
header_params = {}
|
@@ -4327,7 +4330,7 @@ module PureCloud
|
|
4327
4330
|
return data, status_code, headers
|
4328
4331
|
end
|
4329
4332
|
|
4330
|
-
# Lists available schema categories
|
4333
|
+
# Lists available schema categories (Deprecated)
|
4331
4334
|
#
|
4332
4335
|
# @param [Hash] opts the optional parameters
|
4333
4336
|
# @option opts [Integer] :page_size Page size (default to 25)
|
@@ -4338,7 +4341,7 @@ module PureCloud
|
|
4338
4341
|
return data
|
4339
4342
|
end
|
4340
4343
|
|
4341
|
-
# Lists available schema categories
|
4344
|
+
# Lists available schema categories (Deprecated)
|
4342
4345
|
#
|
4343
4346
|
# @param [Hash] opts the optional parameters
|
4344
4347
|
# @option opts [Integer] :page_size Page size
|
@@ -4388,7 +4391,7 @@ module PureCloud
|
|
4388
4391
|
return data, status_code, headers
|
4389
4392
|
end
|
4390
4393
|
|
4391
|
-
# List schemas of a specific category
|
4394
|
+
# List schemas of a specific category (Deprecated)
|
4392
4395
|
#
|
4393
4396
|
# @param schema_category Schema category
|
4394
4397
|
# @param [Hash] opts the optional parameters
|
@@ -4400,7 +4403,7 @@ module PureCloud
|
|
4400
4403
|
return data
|
4401
4404
|
end
|
4402
4405
|
|
4403
|
-
# List schemas of a specific category
|
4406
|
+
# List schemas of a specific category (Deprecated)
|
4404
4407
|
#
|
4405
4408
|
# @param schema_category Schema category
|
4406
4409
|
# @param [Hash] opts the optional parameters
|
@@ -4454,7 +4457,7 @@ module PureCloud
|
|
4454
4457
|
return data, status_code, headers
|
4455
4458
|
end
|
4456
4459
|
|
4457
|
-
# List schemas of a specific category
|
4460
|
+
# List schemas of a specific category (Deprecated)
|
4458
4461
|
#
|
4459
4462
|
# @param schema_category Schema category
|
4460
4463
|
# @param schema_type Schema type
|
@@ -4467,7 +4470,7 @@ module PureCloud
|
|
4467
4470
|
return data
|
4468
4471
|
end
|
4469
4472
|
|
4470
|
-
# List schemas of a specific category
|
4473
|
+
# List schemas of a specific category (Deprecated)
|
4471
4474
|
#
|
4472
4475
|
# @param schema_category Schema category
|
4473
4476
|
# @param schema_type Schema type
|
@@ -4525,7 +4528,7 @@ module PureCloud
|
|
4525
4528
|
return data, status_code, headers
|
4526
4529
|
end
|
4527
4530
|
|
4528
|
-
# Get a json schema
|
4531
|
+
# Get a json schema (Deprecated)
|
4529
4532
|
#
|
4530
4533
|
# @param schema_category Schema category
|
4531
4534
|
# @param schema_type Schema type
|
@@ -4537,7 +4540,7 @@ module PureCloud
|
|
4537
4540
|
return data
|
4538
4541
|
end
|
4539
4542
|
|
4540
|
-
# Get a json schema
|
4543
|
+
# Get a json schema (Deprecated)
|
4541
4544
|
#
|
4542
4545
|
# @param schema_category Schema category
|
4543
4546
|
# @param schema_type Schema type
|
@@ -4595,7 +4598,7 @@ module PureCloud
|
|
4595
4598
|
return data, status_code, headers
|
4596
4599
|
end
|
4597
4600
|
|
4598
|
-
# Get metadata for a schema
|
4601
|
+
# Get metadata for a schema (Deprecated)
|
4599
4602
|
#
|
4600
4603
|
# @param schema_category Schema category
|
4601
4604
|
# @param schema_type Schema type
|
@@ -4610,7 +4613,7 @@ module PureCloud
|
|
4610
4613
|
return data
|
4611
4614
|
end
|
4612
4615
|
|
4613
|
-
# Get metadata for a schema
|
4616
|
+
# Get metadata for a schema (Deprecated)
|
4614
4617
|
#
|
4615
4618
|
# @param schema_category Schema category
|
4616
4619
|
# @param schema_type Schema type
|
@@ -1411,7 +1411,7 @@ module PureCloud
|
|
1411
1411
|
# @option opts [Array<String>] :id id
|
1412
1412
|
# @option opts [String] :sort_order Ascending or descending sort order (default to ASC)
|
1413
1413
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
1414
|
-
# @return [
|
1414
|
+
# @return [UserEntityListing]
|
1415
1415
|
def get_users(opts = {})
|
1416
1416
|
data, status_code, headers = get_users_with_http_info(opts)
|
1417
1417
|
return data
|
@@ -1425,7 +1425,7 @@ module PureCloud
|
|
1425
1425
|
# @option opts [Array<String>] :id id
|
1426
1426
|
# @option opts [String] :sort_order Ascending or descending sort order
|
1427
1427
|
# @option opts [Array<String>] :expand Which fields, if any, to expand
|
1428
|
-
# @return [Array<(
|
1428
|
+
# @return [Array<(UserEntityListing, Fixnum, Hash)>] UserEntityListing data, response status code and response headers
|
1429
1429
|
def get_users_with_http_info(opts = {})
|
1430
1430
|
if @api_client.config.debugging
|
1431
1431
|
@api_client.config.logger.debug "Calling API: UsersApi#get_users ..."
|
@@ -1470,7 +1470,7 @@ module PureCloud
|
|
1470
1470
|
:form_params => form_params,
|
1471
1471
|
:body => post_body,
|
1472
1472
|
:auth_names => auth_names,
|
1473
|
-
:return_type => '
|
1473
|
+
:return_type => 'UserEntityListing')
|
1474
1474
|
if @api_client.config.debugging
|
1475
1475
|
@api_client.config.logger.debug "API called: UsersApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1476
1476
|
end
|
data/lib/purecloud/api_client.rb
CHANGED
@@ -33,7 +33,7 @@ module PureCloud
|
|
33
33
|
|
34
34
|
def initialize(config = Configuration.default)
|
35
35
|
@config = config
|
36
|
-
@user_agent = "PureCloud SDK/Ruby 0.
|
36
|
+
@user_agent = "PureCloud SDK/Ruby 0.60.1"
|
37
37
|
@default_headers = {
|
38
38
|
'Content-Type' => "application/json",
|
39
39
|
'User-Agent' => @user_agent
|
@@ -26,16 +26,16 @@ module PureCloud
|
|
26
26
|
|
27
27
|
attr_accessor :total
|
28
28
|
|
29
|
+
attr_accessor :first_uri
|
30
|
+
|
29
31
|
attr_accessor :self_uri
|
30
32
|
|
31
|
-
attr_accessor :
|
33
|
+
attr_accessor :previous_uri
|
32
34
|
|
33
35
|
attr_accessor :next_uri
|
34
36
|
|
35
37
|
attr_accessor :last_uri
|
36
38
|
|
37
|
-
attr_accessor :previous_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
|
+
:'first_uri' => :'firstUri',
|
54
|
+
|
53
55
|
:'self_uri' => :'selfUri',
|
54
56
|
|
55
|
-
:'
|
57
|
+
:'previous_uri' => :'previousUri',
|
56
58
|
|
57
59
|
:'next_uri' => :'nextUri',
|
58
60
|
|
59
61
|
:'last_uri' => :'lastUri',
|
60
62
|
|
61
|
-
:'previous_uri' => :'previousUri',
|
62
|
-
|
63
63
|
:'page_count' => :'pageCount'
|
64
64
|
|
65
65
|
}
|
@@ -72,11 +72,11 @@ module PureCloud
|
|
72
72
|
:'page_size' => :'Integer',
|
73
73
|
:'page_number' => :'Integer',
|
74
74
|
:'total' => :'Integer',
|
75
|
-
:'self_uri' => :'String',
|
76
75
|
:'first_uri' => :'String',
|
76
|
+
:'self_uri' => :'String',
|
77
|
+
:'previous_uri' => :'String',
|
77
78
|
:'next_uri' => :'String',
|
78
79
|
:'last_uri' => :'String',
|
79
|
-
:'previous_uri' => :'String',
|
80
80
|
:'page_count' => :'Integer'
|
81
81
|
|
82
82
|
}
|
@@ -107,12 +107,16 @@ module PureCloud
|
|
107
107
|
self.total = attributes[:'total']
|
108
108
|
end
|
109
109
|
|
110
|
+
if attributes[:'firstUri']
|
111
|
+
self.first_uri = attributes[:'firstUri']
|
112
|
+
end
|
113
|
+
|
110
114
|
if attributes[:'selfUri']
|
111
115
|
self.self_uri = attributes[:'selfUri']
|
112
116
|
end
|
113
117
|
|
114
|
-
if attributes[:'
|
115
|
-
self.
|
118
|
+
if attributes[:'previousUri']
|
119
|
+
self.previous_uri = attributes[:'previousUri']
|
116
120
|
end
|
117
121
|
|
118
122
|
if attributes[:'nextUri']
|
@@ -123,10 +127,6 @@ module PureCloud
|
|
123
127
|
self.last_uri = attributes[:'lastUri']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes[:'previousUri']
|
127
|
-
self.previous_uri = attributes[:'previousUri']
|
128
|
-
end
|
129
|
-
|
130
130
|
if attributes[:'pageCount']
|
131
131
|
self.page_count = attributes[:'pageCount']
|
132
132
|
end
|
@@ -141,11 +141,11 @@ module PureCloud
|
|
141
141
|
page_size == o.page_size &&
|
142
142
|
page_number == o.page_number &&
|
143
143
|
total == o.total &&
|
144
|
-
self_uri == o.self_uri &&
|
145
144
|
first_uri == o.first_uri &&
|
145
|
+
self_uri == o.self_uri &&
|
146
|
+
previous_uri == o.previous_uri &&
|
146
147
|
next_uri == o.next_uri &&
|
147
148
|
last_uri == o.last_uri &&
|
148
|
-
previous_uri == o.previous_uri &&
|
149
149
|
page_count == o.page_count
|
150
150
|
end
|
151
151
|
|
@@ -156,7 +156,7 @@ module PureCloud
|
|
156
156
|
|
157
157
|
# Calculate hash code according to all attributes.
|
158
158
|
def hash
|
159
|
-
[entities, page_size, page_number, total, self_uri,
|
159
|
+
[entities, page_size, page_number, total, first_uri, self_uri, previous_uri, next_uri, last_uri, page_count].hash
|
160
160
|
end
|
161
161
|
|
162
162
|
# build the object from hash
|