purecloud 0.27.0 → 0.28.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 +10 -0
- data/config-ruby.json +1 -1
- data/extensions/auth.rb +7 -0
- data/lib/purecloud.rb +137 -85
- data/lib/purecloud/api/analytics_api.rb +1906 -0
- data/lib/purecloud/api/architect_api.rb +51 -51
- data/lib/purecloud/api/attributes_api.rb +6 -6
- data/lib/purecloud/api/authorization_api.rb +17 -79
- data/lib/purecloud/api/callbacks_api.rb +483 -0
- data/lib/purecloud/api/calls_api.rb +1088 -0
- data/lib/purecloud/api/chats_api.rb +483 -0
- data/lib/purecloud/api/compliance_api.rb +2 -2
- data/lib/purecloud/api/configuration_api.rb +83 -83
- data/lib/purecloud/api/content_management_api.rb +36 -36
- data/lib/purecloud/api/conversations_api.rb +3542 -465
- data/lib/purecloud/api/downloads_api.rb +2 -2
- data/lib/purecloud/api/emails_api.rb +1013 -0
- data/lib/purecloud/api/evaluations_api.rb +73 -0
- data/lib/purecloud/api/external_contacts_api.rb +26 -26
- data/lib/purecloud/api/fax_api.rb +6 -6
- data/lib/purecloud/api/faxes_api.rb +73 -0
- data/lib/purecloud/api/geolocation_api.rb +4 -4
- data/lib/purecloud/api/greetings_api.rb +12 -12
- data/lib/purecloud/api/groups_api.rb +3 -3
- data/lib/purecloud/api/integrations_api.rb +144 -0
- data/lib/purecloud/api/languages_api.rb +2 -2
- data/lib/purecloud/api/licensing_api.rb +7 -7
- data/lib/purecloud/api/locations_api.rb +2 -2
- data/lib/purecloud/api/notifications_api.rb +7 -7
- data/lib/purecloud/api/o_auth_api.rb +22 -22
- data/lib/purecloud/api/outbound_api.rb +69 -81
- data/lib/purecloud/api/presence_api.rb +10 -10
- data/lib/purecloud/api/quality_api.rb +41 -93
- data/lib/purecloud/api/recording_api.rb +20 -29
- data/lib/purecloud/api/response_management_api.rb +11 -11
- data/lib/purecloud/api/routing_api.rb +333 -189
- data/lib/purecloud/api/scripts_api.rb +11 -11
- data/lib/purecloud/api/search_api.rb +1 -1
- data/lib/purecloud/api/socials_api.rb +483 -0
- data/lib/purecloud/api/stations_api.rb +3 -3
- data/lib/purecloud/api/telephony_providers_edge_api.rb +38 -38
- data/lib/purecloud/api/tokens_api.rb +1 -1
- data/lib/purecloud/api/user_recordings_api.rb +6 -6
- data/lib/purecloud/api/users_api.rb +403 -95
- data/lib/purecloud/api/utilities_api.rb +4 -60
- data/lib/purecloud/api/videos_api.rb +483 -0
- data/lib/purecloud/api/voicemail_api.rb +11 -11
- data/lib/purecloud/models/address.rb +47 -25
- data/lib/purecloud/models/address_listing.rb +11 -11
- data/lib/purecloud/models/agent_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/aggregate_data_container.rb +161 -0
- data/lib/purecloud/models/aggregate_metric_data.rb +175 -0
- data/lib/purecloud/models/{session_request.rb → aggregate_query_response.rb} +10 -8
- data/lib/purecloud/models/{domain_license_entity_listing.rb → aggregation_query.rb} +49 -79
- data/lib/purecloud/models/{tag.rb → aggregation_range.rb} +16 -16
- data/lib/purecloud/models/aggregation_result.rb +199 -0
- data/lib/purecloud/models/aggregation_result_entry.rb +179 -0
- data/lib/purecloud/models/alert_entity_listing.rb +11 -11
- data/lib/purecloud/models/analytics_conversation.rb +181 -0
- data/lib/purecloud/models/analytics_conversation_query_response.rb +160 -0
- data/lib/purecloud/models/{queue_member_entity_listing.rb → analytics_evaluation.rb} +62 -64
- data/lib/purecloud/models/analytics_participant.rb +158 -0
- data/lib/purecloud/models/analytics_property.rb +178 -0
- data/lib/purecloud/models/analytics_query_aggregation.rb +202 -0
- data/lib/purecloud/models/analytics_query_clause.rb +168 -0
- data/lib/purecloud/models/analytics_query_filter.rb +181 -0
- data/lib/purecloud/models/analytics_query_predicate.rb +269 -0
- data/lib/purecloud/models/analytics_segment.rb +607 -0
- data/lib/purecloud/models/{put_management_unit.rb → analytics_session.rb} +27 -25
- data/lib/purecloud/models/attribute_entity_listing.rb +11 -11
- data/lib/purecloud/models/audit_entity_reference.rb +1 -1
- data/lib/purecloud/models/automate_queue_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/available_additional_service_listing.rb +11 -11
- data/lib/purecloud/models/available_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/calibration_entity_listing.rb +11 -11
- data/lib/purecloud/models/call.rb +2 -22
- data/lib/purecloud/models/call_conversation.rb +213 -0
- data/lib/purecloud/models/call_participant.rb +527 -0
- data/lib/purecloud/models/callable_time_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/callback_conversation.rb +194 -0
- data/lib/purecloud/models/callback_participant.rb +456 -0
- data/lib/purecloud/models/campaign.rb +17 -219
- data/lib/purecloud/models/campaign_entity_listing.rb +11 -11
- data/lib/purecloud/models/campaign_sequence_entity_listing.rb +11 -11
- data/lib/purecloud/models/carrier_entity_listing.rb +11 -11
- data/lib/purecloud/models/certificate_authority_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_entity_listing.rb +11 -11
- data/lib/purecloud/models/channel_topic_entity_listing.rb +11 -11
- data/lib/purecloud/models/{domain_license.rb → chat_conversation.rb} +19 -25
- data/lib/purecloud/models/chat_participant.rb +270 -12
- data/lib/purecloud/models/chat_search_listing.rb +11 -11
- data/lib/purecloud/models/command_status_entity_listing.rb +11 -11
- data/lib/purecloud/models/consumed_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/consuming_resources_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact.rb +41 -73
- data/lib/purecloud/models/contact_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/contact_listing.rb +11 -11
- data/lib/purecloud/models/contact_sales.rb +1 -21
- data/lib/purecloud/models/conversation_entity_listing.rb +11 -11
- data/lib/purecloud/models/{evaluation_query_request.rb → conversation_query.rb} +77 -90
- data/lib/purecloud/models/conversation_query_response.rb +11 -11
- data/lib/purecloud/models/{session_entity_listing.rb → create_call_request.rb} +71 -68
- data/lib/purecloud/models/{conversation_response.rb → create_call_response.rb} +1 -1
- data/lib/purecloud/models/create_user.rb +219 -0
- data/lib/purecloud/models/data_item.rb +19 -23
- data/lib/purecloud/models/deleted_resource_consumer_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_object_entity_listing.rb +11 -11
- data/lib/purecloud/models/dependency_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/destination.rb +1 -21
- data/lib/purecloud/models/did_entity_listing.rb +11 -11
- data/lib/purecloud/models/did_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/dnc_list_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_audit_entity_listing.rb +11 -11
- data/lib/purecloud/models/document_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_billing_period_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_evaluation_form.rb +11 -11
- data/lib/purecloud/models/domain_entity_listing_query_result.rb +11 -11
- data/lib/purecloud/models/domain_invoice_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_organization_role.rb +1 -23
- data/lib/purecloud/models/domain_permission.rb +1 -13
- data/lib/purecloud/models/domain_third_party_account_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_third_party_subscription_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_extended_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_international_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/domain_voice_rate_response_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/edge_line_entity_listing.rb +11 -11
- data/lib/purecloud/models/email_conversation.rb +194 -0
- data/lib/purecloud/models/email_message_listing.rb +11 -11
- data/lib/purecloud/models/email_participant.rb +424 -0
- data/lib/purecloud/models/encryption_key_entity_listing.rb +11 -11
- data/lib/purecloud/models/endpoint_entity_listing.rb +11 -11
- data/lib/purecloud/models/entity.rb +10 -20
- data/lib/purecloud/models/evaluation.rb +1 -0
- data/lib/purecloud/models/evaluation_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluation_form_entity_listing.rb +11 -11
- data/lib/purecloud/models/evaluator_activity_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_entity_listing.rb +11 -11
- data/lib/purecloud/models/extension_pool_entity_listing.rb +11 -11
- data/lib/purecloud/models/external_organization_listing.rb +11 -11
- data/lib/purecloud/models/fax_document_entity_listing.rb +11 -11
- data/lib/purecloud/models/filter.rb +14 -11
- data/lib/purecloud/models/flow_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_history_result_item_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_version_config_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/flow_version_entity_listing.rb +11 -11
- data/lib/purecloud/models/group_entity_listing.rb +11 -11
- data/lib/purecloud/models/hardware_rate_listing.rb +11 -11
- data/lib/purecloud/models/inbound_domain_entity_listing.rb +11 -11
- data/lib/purecloud/models/inbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/integration_type_entity_listing.rb +11 -11
- data/lib/purecloud/models/ivr_entity_listing.rb +11 -11
- data/lib/purecloud/models/language_entity_listing.rb +11 -11
- data/lib/purecloud/models/library_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/line_entity_listing.rb +11 -11
- data/lib/purecloud/models/linked_entity_listing_flow_details.rb +11 -11
- data/lib/purecloud/models/linked_entity_listing_work_item_search_details.rb +11 -11
- data/lib/purecloud/models/location_entity_listing.rb +11 -11
- data/lib/purecloud/models/logical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/management_unit.rb +26 -14
- data/lib/purecloud/models/media_result.rb +1 -11
- data/lib/purecloud/models/media_summary.rb +2 -2
- data/lib/purecloud/models/media_summary_detail.rb +156 -0
- data/lib/purecloud/models/note_listing.rb +11 -11
- data/lib/purecloud/models/numeric_range.rb +180 -0
- data/lib/purecloud/models/o_auth_client.rb +21 -14
- data/lib/purecloud/models/o_auth_client_entity_listing.rb +11 -11
- data/lib/purecloud/models/o_auth_provider_entity_listing.rb +11 -11
- data/lib/purecloud/models/observation_data_container.rb +161 -0
- data/lib/purecloud/models/observation_query.rb +160 -0
- data/lib/purecloud/models/observation_query_response.rb +148 -0
- data/lib/purecloud/models/okta.rb +11 -11
- data/lib/purecloud/models/one_login.rb +11 -11
- data/lib/purecloud/models/organization_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/organization_role_entity_listing.rb +11 -11
- data/lib/purecloud/models/orphan_recording_listing.rb +11 -11
- data/lib/purecloud/models/outbound_route_entity_listing.rb +11 -11
- data/lib/purecloud/models/paging_spec.rb +158 -0
- data/lib/purecloud/models/participant.rb +1 -13
- data/lib/purecloud/models/payment_method_listing.rb +11 -11
- data/lib/purecloud/models/permission_collection_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_entity_listing.rb +11 -11
- data/lib/purecloud/models/phone_meta_base_entity_listing.rb +11 -11
- data/lib/purecloud/models/physical_interface_entity_listing.rb +11 -11
- data/lib/purecloud/models/policy_entity_listing.rb +11 -11
- data/lib/purecloud/models/presence_query_response.rb +161 -0
- data/lib/purecloud/models/prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/property_index_request.rb +182 -0
- data/lib/purecloud/models/quality_audit_page.rb +11 -11
- data/lib/purecloud/models/queue.rb +1 -23
- data/lib/purecloud/models/queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/queues_entity_listing.rb +11 -11
- data/lib/purecloud/models/quote.rb +1 -37
- data/lib/purecloud/models/quote_listing.rb +11 -11
- data/lib/purecloud/models/recording.rb +13 -34
- data/lib/purecloud/models/relationship_listing.rb +11 -11
- data/lib/purecloud/models/report_meta_data_entity_listing.rb +11 -11
- data/lib/purecloud/models/report_run_entry_entity_domain_listing.rb +11 -11
- data/lib/purecloud/models/report_schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/response.rb +14 -84
- data/lib/purecloud/models/response_entity_list.rb +11 -11
- data/lib/purecloud/models/response_entity_listing.rb +11 -11
- data/lib/purecloud/models/response_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/{user_status.rb → routing_skill.rb} +35 -25
- data/lib/purecloud/models/rule_entity_listing.rb +11 -11
- data/lib/purecloud/models/rule_set_entity_listing.rb +11 -11
- data/lib/purecloud/models/salesforce.rb +11 -11
- data/lib/purecloud/models/schedule_entity_listing.rb +11 -11
- data/lib/purecloud/models/schedule_group_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/schema_reference_entity_listing.rb +11 -11
- data/lib/purecloud/models/script_entity_listing.rb +11 -11
- data/lib/purecloud/models/security_profile_entity_listing.rb +11 -11
- data/lib/purecloud/models/service_entity_listing.rb +11 -11
- data/lib/purecloud/models/share_entity_listing.rb +11 -11
- data/lib/purecloud/models/site_entity_listing.rb +11 -11
- data/lib/purecloud/models/skill_entity_listing.rb +12 -12
- data/lib/purecloud/models/social_conversation.rb +194 -0
- data/lib/purecloud/models/social_participant.rb +446 -0
- data/lib/purecloud/models/spreadsheet_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/station_entity_listing.rb +11 -11
- data/lib/purecloud/models/statistical_response.rb +158 -0
- data/lib/purecloud/models/statistical_summary.rb +226 -0
- data/lib/purecloud/models/system_prompt_asset_entity_listing.rb +11 -11
- data/lib/purecloud/models/system_prompt_entity_listing.rb +11 -11
- data/lib/purecloud/models/tag_value_entity_listing.rb +11 -11
- data/lib/purecloud/models/template_entity_listing.rb +11 -11
- data/lib/purecloud/models/text_table_transform_entity_listing.rb +11 -11
- data/lib/purecloud/models/time_zone.rb +1 -11
- data/lib/purecloud/models/time_zone_entity_listing.rb +11 -11
- data/lib/purecloud/models/transfer_request.rb +193 -0
- data/lib/purecloud/models/trunk_metabase_entity_listing.rb +11 -11
- data/lib/purecloud/models/user.rb +96 -129
- data/lib/purecloud/models/user_action_category_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_action_metadata_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_authorization.rb +1 -13
- data/lib/purecloud/models/user_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_presence_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_queue.rb +1 -23
- data/lib/purecloud/models/user_queue_entity_listing.rb +11 -11
- data/lib/purecloud/models/user_recording_entity_listing.rb +11 -11
- data/lib/purecloud/models/{session.rb → user_routing_skill.rb} +26 -41
- data/lib/purecloud/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloud/models/user_station.rb +178 -0
- data/lib/purecloud/models/user_stations.rb +180 -0
- data/lib/purecloud/models/users_entity_listing.rb +11 -11
- data/lib/purecloud/models/utilization.rb +4 -36
- data/lib/purecloud/models/video_conversation.rb +194 -0
- data/lib/purecloud/models/video_participant.rb +463 -0
- data/lib/purecloud/models/voice_rate_international_entity_listing.rb +11 -11
- data/lib/purecloud/models/voice_xml_operation_entity_listing.rb +11 -11
- data/lib/purecloud/models/voicemail_message_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_entity_listing.rb +11 -11
- data/lib/purecloud/models/workspace_member_entity_listing.rb +11 -11
- data/lib/purecloud/models/wrapup_code_entity_listing.rb +11 -11
- data/lib/purecloud/version.rb +1 -1
- data/newVersion.md +1 -1
- data/swagger.json +1 -1
- data/version.json +1 -1
- metadata +60 -15
- data/lib/purecloud/models/skill.rb +0 -269
- data/lib/purecloud/models/user_skill.rb +0 -290
|
@@ -31,7 +31,7 @@ module PureCloud
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
# resource path
|
|
34
|
-
path = "/api/
|
|
34
|
+
path = "/api/v2/presencedefinitions".sub('{format}','json')
|
|
35
35
|
|
|
36
36
|
# query parameters
|
|
37
37
|
query_params = {}
|
|
@@ -94,7 +94,7 @@ module PureCloud
|
|
|
94
94
|
fail "Missing the required parameter 'body' when calling post_presencedefinitions" if body.nil?
|
|
95
95
|
|
|
96
96
|
# resource path
|
|
97
|
-
path = "/api/
|
|
97
|
+
path = "/api/v2/presencedefinitions".sub('{format}','json')
|
|
98
98
|
|
|
99
99
|
# query parameters
|
|
100
100
|
query_params = {}
|
|
@@ -155,7 +155,7 @@ module PureCloud
|
|
|
155
155
|
fail "Missing the required parameter 'presence_id' when calling get_presence_id" if presence_id.nil?
|
|
156
156
|
|
|
157
157
|
# resource path
|
|
158
|
-
path = "/api/
|
|
158
|
+
path = "/api/v2/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
|
159
159
|
|
|
160
160
|
# query parameters
|
|
161
161
|
query_params = {}
|
|
@@ -221,7 +221,7 @@ module PureCloud
|
|
|
221
221
|
fail "Missing the required parameter 'body' when calling put_presence_id" if body.nil?
|
|
222
222
|
|
|
223
223
|
# resource path
|
|
224
|
-
path = "/api/
|
|
224
|
+
path = "/api/v2/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
|
225
225
|
|
|
226
226
|
# query parameters
|
|
227
227
|
query_params = {}
|
|
@@ -282,7 +282,7 @@ module PureCloud
|
|
|
282
282
|
fail "Missing the required parameter 'presence_id' when calling delete_presence_id" if presence_id.nil?
|
|
283
283
|
|
|
284
284
|
# resource path
|
|
285
|
-
path = "/api/
|
|
285
|
+
path = "/api/v2/presencedefinitions/{presenceId}".sub('{format}','json').sub('{' + 'presenceId' + '}', presence_id.to_s)
|
|
286
286
|
|
|
287
287
|
# query parameters
|
|
288
288
|
query_params = {}
|
|
@@ -347,7 +347,7 @@ module PureCloud
|
|
|
347
347
|
fail "Missing the required parameter 'user_id' when calling get_user_id_presences" if user_id.nil?
|
|
348
348
|
|
|
349
349
|
# resource path
|
|
350
|
-
path = "/api/
|
|
350
|
+
path = "/api/v2/users/{userId}/presences".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
351
351
|
|
|
352
352
|
# query parameters
|
|
353
353
|
query_params = {}
|
|
@@ -415,7 +415,7 @@ module PureCloud
|
|
|
415
415
|
fail "Missing the required parameter 'source' when calling get_user_id_presences_source" if source.nil?
|
|
416
416
|
|
|
417
417
|
# resource path
|
|
418
|
-
path = "/api/
|
|
418
|
+
path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
|
419
419
|
|
|
420
420
|
# query parameters
|
|
421
421
|
query_params = {}
|
|
@@ -486,7 +486,7 @@ module PureCloud
|
|
|
486
486
|
fail "Missing the required parameter 'body' when calling put_user_id_presences_source" if body.nil?
|
|
487
487
|
|
|
488
488
|
# resource path
|
|
489
|
-
path = "/api/
|
|
489
|
+
path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
|
490
490
|
|
|
491
491
|
# query parameters
|
|
492
492
|
query_params = {}
|
|
@@ -557,7 +557,7 @@ module PureCloud
|
|
|
557
557
|
fail "Missing the required parameter 'body' when calling patch_user_id_presences_source" if body.nil?
|
|
558
558
|
|
|
559
559
|
# resource path
|
|
560
|
-
path = "/api/
|
|
560
|
+
path = "/api/v2/users/{userId}/presences/{source}".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s).sub('{' + 'source' + '}', source.to_s)
|
|
561
561
|
|
|
562
562
|
# query parameters
|
|
563
563
|
query_params = {}
|
|
@@ -618,7 +618,7 @@ module PureCloud
|
|
|
618
618
|
fail "Missing the required parameter 'user_id' when calling get_user_id_primarypresence" if user_id.nil?
|
|
619
619
|
|
|
620
620
|
# resource path
|
|
621
|
-
path = "/api/
|
|
621
|
+
path = "/api/v2/users/{userId}/primarypresence".sub('{format}','json').sub('{' + 'userId' + '}', user_id.to_s)
|
|
622
622
|
|
|
623
623
|
# query parameters
|
|
624
624
|
query_params = {}
|
|
@@ -47,7 +47,7 @@ module PureCloud
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
# resource path
|
|
50
|
-
path = "/api/
|
|
50
|
+
path = "/api/v2/quality/agents/activity".sub('{format}','json')
|
|
51
51
|
|
|
52
52
|
# query parameters
|
|
53
53
|
query_params = {}
|
|
@@ -96,6 +96,7 @@ module PureCloud
|
|
|
96
96
|
|
|
97
97
|
# Get the list of calibrations
|
|
98
98
|
#
|
|
99
|
+
# @param calibrator_id user id of calibrator
|
|
99
100
|
# @param [Hash] opts the optional parameters
|
|
100
101
|
# @option opts [Integer] :page_size The total page size requested
|
|
101
102
|
# @option opts [Integer] :page_number The page number requested
|
|
@@ -104,15 +105,15 @@ module PureCloud
|
|
|
104
105
|
# @option opts [String] :conversation_id conversation id
|
|
105
106
|
# @option opts [DateTime] :start_time Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
106
107
|
# @option opts [DateTime] :end_time end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
107
|
-
# @option opts [String] :calibrator_id user id of calibrator
|
|
108
108
|
# @return [CalibrationEntityListing]
|
|
109
|
-
def get_calibrations(opts = {})
|
|
110
|
-
data, status_code, headers = get_calibrations_with_http_info(opts)
|
|
109
|
+
def get_calibrations(calibrator_id, opts = {})
|
|
110
|
+
data, status_code, headers = get_calibrations_with_http_info(calibrator_id, opts)
|
|
111
111
|
return data
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
# Get the list of calibrations
|
|
115
115
|
#
|
|
116
|
+
# @param calibrator_id user id of calibrator
|
|
116
117
|
# @param [Hash] opts the optional parameters
|
|
117
118
|
# @option opts [Integer] :page_size The total page size requested
|
|
118
119
|
# @option opts [Integer] :page_number The page number requested
|
|
@@ -121,18 +122,21 @@ module PureCloud
|
|
|
121
122
|
# @option opts [String] :conversation_id conversation id
|
|
122
123
|
# @option opts [DateTime] :start_time Beginning of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
123
124
|
# @option opts [DateTime] :end_time end of the calibration query. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ
|
|
124
|
-
# @option opts [String] :calibrator_id user id of calibrator
|
|
125
125
|
# @return [Array<(CalibrationEntityListing, Fixnum, Hash)>] CalibrationEntityListing data, response status code and response headers
|
|
126
|
-
def get_calibrations_with_http_info(opts = {})
|
|
126
|
+
def get_calibrations_with_http_info(calibrator_id, opts = {})
|
|
127
127
|
if @api_client.config.debugging
|
|
128
128
|
@api_client.config.logger.debug "Calling API: QualityApi#get_calibrations ..."
|
|
129
129
|
end
|
|
130
130
|
|
|
131
|
+
# verify the required parameter 'calibrator_id' is set
|
|
132
|
+
fail "Missing the required parameter 'calibrator_id' when calling get_calibrations" if calibrator_id.nil?
|
|
133
|
+
|
|
131
134
|
# resource path
|
|
132
|
-
path = "/api/
|
|
135
|
+
path = "/api/v2/quality/calibrations".sub('{format}','json')
|
|
133
136
|
|
|
134
137
|
# query parameters
|
|
135
138
|
query_params = {}
|
|
139
|
+
query_params[:'calibratorId'] = calibrator_id
|
|
136
140
|
query_params[:'pageSize'] = opts[:'page_size'] if opts[:'page_size']
|
|
137
141
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
138
142
|
query_params[:'sortBy'] = opts[:'sort_by'] if opts[:'sort_by']
|
|
@@ -140,7 +144,6 @@ module PureCloud
|
|
|
140
144
|
query_params[:'conversationId'] = opts[:'conversation_id'] if opts[:'conversation_id']
|
|
141
145
|
query_params[:'startTime'] = opts[:'start_time'] if opts[:'start_time']
|
|
142
146
|
query_params[:'endTime'] = opts[:'end_time'] if opts[:'end_time']
|
|
143
|
-
query_params[:'calibratorId'] = opts[:'calibrator_id'] if opts[:'calibrator_id']
|
|
144
147
|
|
|
145
148
|
# header parameters
|
|
146
149
|
header_params = {}
|
|
@@ -197,7 +200,7 @@ module PureCloud
|
|
|
197
200
|
end
|
|
198
201
|
|
|
199
202
|
# resource path
|
|
200
|
-
path = "/api/
|
|
203
|
+
path = "/api/v2/quality/calibrations".sub('{format}','json')
|
|
201
204
|
|
|
202
205
|
# query parameters
|
|
203
206
|
query_params = {}
|
|
@@ -238,21 +241,21 @@ module PureCloud
|
|
|
238
241
|
# Get a calibration by id.
|
|
239
242
|
#
|
|
240
243
|
# @param calibration_id Calibration ID
|
|
244
|
+
# @param calibrator_id calibratorId
|
|
241
245
|
# @param [Hash] opts the optional parameters
|
|
242
|
-
# @option opts [String] :calibrator_id calibratorId
|
|
243
246
|
# @return [Calibration]
|
|
244
|
-
def get_calibrations_calibration_id(calibration_id, opts = {})
|
|
245
|
-
data, status_code, headers = get_calibrations_calibration_id_with_http_info(calibration_id, opts)
|
|
247
|
+
def get_calibrations_calibration_id(calibration_id, calibrator_id, opts = {})
|
|
248
|
+
data, status_code, headers = get_calibrations_calibration_id_with_http_info(calibration_id, calibrator_id, opts)
|
|
246
249
|
return data
|
|
247
250
|
end
|
|
248
251
|
|
|
249
252
|
# Get a calibration by id.
|
|
250
253
|
#
|
|
251
254
|
# @param calibration_id Calibration ID
|
|
255
|
+
# @param calibrator_id calibratorId
|
|
252
256
|
# @param [Hash] opts the optional parameters
|
|
253
|
-
# @option opts [String] :calibrator_id calibratorId
|
|
254
257
|
# @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
|
|
255
|
-
def get_calibrations_calibration_id_with_http_info(calibration_id, opts = {})
|
|
258
|
+
def get_calibrations_calibration_id_with_http_info(calibration_id, calibrator_id, opts = {})
|
|
256
259
|
if @api_client.config.debugging
|
|
257
260
|
@api_client.config.logger.debug "Calling API: QualityApi#get_calibrations_calibration_id ..."
|
|
258
261
|
end
|
|
@@ -260,12 +263,15 @@ module PureCloud
|
|
|
260
263
|
# verify the required parameter 'calibration_id' is set
|
|
261
264
|
fail "Missing the required parameter 'calibration_id' when calling get_calibrations_calibration_id" if calibration_id.nil?
|
|
262
265
|
|
|
266
|
+
# verify the required parameter 'calibrator_id' is set
|
|
267
|
+
fail "Missing the required parameter 'calibrator_id' when calling get_calibrations_calibration_id" if calibrator_id.nil?
|
|
268
|
+
|
|
263
269
|
# resource path
|
|
264
|
-
path = "/api/
|
|
270
|
+
path = "/api/v2/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
|
|
265
271
|
|
|
266
272
|
# query parameters
|
|
267
273
|
query_params = {}
|
|
268
|
-
query_params[:'calibratorId'] =
|
|
274
|
+
query_params[:'calibratorId'] = calibrator_id
|
|
269
275
|
|
|
270
276
|
# header parameters
|
|
271
277
|
header_params = {}
|
|
@@ -325,7 +331,7 @@ module PureCloud
|
|
|
325
331
|
fail "Missing the required parameter 'calibration_id' when calling put_calibrations_calibration_id" if calibration_id.nil?
|
|
326
332
|
|
|
327
333
|
# resource path
|
|
328
|
-
path = "/api/
|
|
334
|
+
path = "/api/v2/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
|
|
329
335
|
|
|
330
336
|
# query parameters
|
|
331
337
|
query_params = {}
|
|
@@ -365,21 +371,21 @@ module PureCloud
|
|
|
365
371
|
# Delete a calibration by id.
|
|
366
372
|
#
|
|
367
373
|
# @param calibration_id Calibration ID
|
|
374
|
+
# @param calibrator_id calibratorId
|
|
368
375
|
# @param [Hash] opts the optional parameters
|
|
369
|
-
# @option opts [String] :calibrator_id calibratorId
|
|
370
376
|
# @return [Calibration]
|
|
371
|
-
def delete_calibrations_calibration_id(calibration_id, opts = {})
|
|
372
|
-
data, status_code, headers = delete_calibrations_calibration_id_with_http_info(calibration_id, opts)
|
|
377
|
+
def delete_calibrations_calibration_id(calibration_id, calibrator_id, opts = {})
|
|
378
|
+
data, status_code, headers = delete_calibrations_calibration_id_with_http_info(calibration_id, calibrator_id, opts)
|
|
373
379
|
return data
|
|
374
380
|
end
|
|
375
381
|
|
|
376
382
|
# Delete a calibration by id.
|
|
377
383
|
#
|
|
378
384
|
# @param calibration_id Calibration ID
|
|
385
|
+
# @param calibrator_id calibratorId
|
|
379
386
|
# @param [Hash] opts the optional parameters
|
|
380
|
-
# @option opts [String] :calibrator_id calibratorId
|
|
381
387
|
# @return [Array<(Calibration, Fixnum, Hash)>] Calibration data, response status code and response headers
|
|
382
|
-
def delete_calibrations_calibration_id_with_http_info(calibration_id, opts = {})
|
|
388
|
+
def delete_calibrations_calibration_id_with_http_info(calibration_id, calibrator_id, opts = {})
|
|
383
389
|
if @api_client.config.debugging
|
|
384
390
|
@api_client.config.logger.debug "Calling API: QualityApi#delete_calibrations_calibration_id ..."
|
|
385
391
|
end
|
|
@@ -387,12 +393,15 @@ module PureCloud
|
|
|
387
393
|
# verify the required parameter 'calibration_id' is set
|
|
388
394
|
fail "Missing the required parameter 'calibration_id' when calling delete_calibrations_calibration_id" if calibration_id.nil?
|
|
389
395
|
|
|
396
|
+
# verify the required parameter 'calibrator_id' is set
|
|
397
|
+
fail "Missing the required parameter 'calibrator_id' when calling delete_calibrations_calibration_id" if calibrator_id.nil?
|
|
398
|
+
|
|
390
399
|
# resource path
|
|
391
|
-
path = "/api/
|
|
400
|
+
path = "/api/v2/quality/calibrations/{calibrationId}".sub('{format}','json').sub('{' + 'calibrationId' + '}', calibration_id.to_s)
|
|
392
401
|
|
|
393
402
|
# query parameters
|
|
394
403
|
query_params = {}
|
|
395
|
-
query_params[:'calibratorId'] =
|
|
404
|
+
query_params[:'calibratorId'] = calibrator_id
|
|
396
405
|
|
|
397
406
|
# header parameters
|
|
398
407
|
header_params = {}
|
|
@@ -462,7 +471,7 @@ module PureCloud
|
|
|
462
471
|
fail "Missing the required parameter 'conversation_id' when calling get_conversations_conversation_id_audits" if conversation_id.nil?
|
|
463
472
|
|
|
464
473
|
# resource path
|
|
465
|
-
path = "/api/
|
|
474
|
+
path = "/api/v2/quality/conversations/{conversationId}/audits".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
466
475
|
|
|
467
476
|
# query parameters
|
|
468
477
|
query_params = {}
|
|
@@ -533,7 +542,7 @@ module PureCloud
|
|
|
533
542
|
fail "Missing the required parameter 'conversation_id' when calling post_conversations_conversation_id_evaluations" if conversation_id.nil?
|
|
534
543
|
|
|
535
544
|
# resource path
|
|
536
|
-
path = "/api/
|
|
545
|
+
path = "/api/v2/quality/conversations/{conversationId}/evaluations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
537
546
|
|
|
538
547
|
# query parameters
|
|
539
548
|
query_params = {}
|
|
@@ -602,7 +611,7 @@ module PureCloud
|
|
|
602
611
|
fail "Missing the required parameter 'evaluation_id' when calling get_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
|
|
603
612
|
|
|
604
613
|
# resource path
|
|
605
|
-
path = "/api/
|
|
614
|
+
path = "/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
|
606
615
|
|
|
607
616
|
# query parameters
|
|
608
617
|
query_params = {}
|
|
@@ -673,7 +682,7 @@ module PureCloud
|
|
|
673
682
|
fail "Missing the required parameter 'evaluation_id' when calling put_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
|
|
674
683
|
|
|
675
684
|
# resource path
|
|
676
|
-
path = "/api/
|
|
685
|
+
path = "/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
|
677
686
|
|
|
678
687
|
# query parameters
|
|
679
688
|
query_params = {}
|
|
@@ -742,7 +751,7 @@ module PureCloud
|
|
|
742
751
|
fail "Missing the required parameter 'evaluation_id' when calling delete_conversations_conversation_id_evaluations_evaluation_id" if evaluation_id.nil?
|
|
743
752
|
|
|
744
753
|
# resource path
|
|
745
|
-
path = "/api/
|
|
754
|
+
path = "/api/v2/quality/conversations/{conversationId}/evaluations/{evaluationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'evaluationId' + '}', evaluation_id.to_s)
|
|
746
755
|
|
|
747
756
|
# query parameters
|
|
748
757
|
query_params = {}
|
|
@@ -829,7 +838,7 @@ module PureCloud
|
|
|
829
838
|
end
|
|
830
839
|
|
|
831
840
|
# resource path
|
|
832
|
-
path = "/api/
|
|
841
|
+
path = "/api/v2/quality/evaluations/query".sub('{format}','json')
|
|
833
842
|
|
|
834
843
|
# query parameters
|
|
835
844
|
query_params = {}
|
|
@@ -881,67 +890,6 @@ module PureCloud
|
|
|
881
890
|
return data, status_code, headers
|
|
882
891
|
end
|
|
883
892
|
|
|
884
|
-
# Query evaluations
|
|
885
|
-
#
|
|
886
|
-
# @param [Hash] opts the optional parameters
|
|
887
|
-
# @option opts [EvaluationQueryRequest] :body query
|
|
888
|
-
# @option opts [String] :expand evaluator,agent
|
|
889
|
-
# @return [EvaluationEntityListing]
|
|
890
|
-
def post_evaluations_query(opts = {})
|
|
891
|
-
data, status_code, headers = post_evaluations_query_with_http_info(opts)
|
|
892
|
-
return data
|
|
893
|
-
end
|
|
894
|
-
|
|
895
|
-
# Query evaluations
|
|
896
|
-
#
|
|
897
|
-
# @param [Hash] opts the optional parameters
|
|
898
|
-
# @option opts [EvaluationQueryRequest] :body query
|
|
899
|
-
# @option opts [String] :expand evaluator,agent
|
|
900
|
-
# @return [Array<(EvaluationEntityListing, Fixnum, Hash)>] EvaluationEntityListing data, response status code and response headers
|
|
901
|
-
def post_evaluations_query_with_http_info(opts = {})
|
|
902
|
-
if @api_client.config.debugging
|
|
903
|
-
@api_client.config.logger.debug "Calling API: QualityApi#post_evaluations_query ..."
|
|
904
|
-
end
|
|
905
|
-
|
|
906
|
-
# resource path
|
|
907
|
-
path = "/api/v1/quality/evaluations/query".sub('{format}','json')
|
|
908
|
-
|
|
909
|
-
# query parameters
|
|
910
|
-
query_params = {}
|
|
911
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
|
912
|
-
|
|
913
|
-
# header parameters
|
|
914
|
-
header_params = {}
|
|
915
|
-
|
|
916
|
-
# HTTP header 'Accept' (if needed)
|
|
917
|
-
_header_accept = ['application/json']
|
|
918
|
-
_header_accept_result = @api_client.select_header_accept(_header_accept) and header_params['Accept'] = _header_accept_result
|
|
919
|
-
|
|
920
|
-
# HTTP header 'Content-Type'
|
|
921
|
-
_header_content_type = ['application/json']
|
|
922
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(_header_content_type)
|
|
923
|
-
|
|
924
|
-
# form parameters
|
|
925
|
-
form_params = {}
|
|
926
|
-
|
|
927
|
-
# http body (model)
|
|
928
|
-
post_body = @api_client.object_to_http_body(opts[:'body'])
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
auth_names = ['PureCloud Auth']
|
|
932
|
-
data, status_code, headers = @api_client.call_api(:POST, path,
|
|
933
|
-
:header_params => header_params,
|
|
934
|
-
:query_params => query_params,
|
|
935
|
-
:form_params => form_params,
|
|
936
|
-
:body => post_body,
|
|
937
|
-
:auth_names => auth_names,
|
|
938
|
-
:return_type => 'EvaluationEntityListing')
|
|
939
|
-
if @api_client.config.debugging
|
|
940
|
-
@api_client.config.logger.debug "API called: QualityApi#post_evaluations_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
941
|
-
end
|
|
942
|
-
return data, status_code, headers
|
|
943
|
-
end
|
|
944
|
-
|
|
945
893
|
# Score evaluation
|
|
946
894
|
#
|
|
947
895
|
# @param [Hash] opts the optional parameters
|
|
@@ -963,7 +911,7 @@ module PureCloud
|
|
|
963
911
|
end
|
|
964
912
|
|
|
965
913
|
# resource path
|
|
966
|
-
path = "/api/
|
|
914
|
+
path = "/api/v2/quality/evaluations/scoring".sub('{format}','json')
|
|
967
915
|
|
|
968
916
|
# query parameters
|
|
969
917
|
query_params = {}
|
|
@@ -1037,7 +985,7 @@ module PureCloud
|
|
|
1037
985
|
end
|
|
1038
986
|
|
|
1039
987
|
# resource path
|
|
1040
|
-
path = "/api/
|
|
988
|
+
path = "/api/v2/quality/evaluators/activity".sub('{format}','json')
|
|
1041
989
|
|
|
1042
990
|
# query parameters
|
|
1043
991
|
query_params = {}
|
|
@@ -12,7 +12,6 @@ module PureCloud
|
|
|
12
12
|
#
|
|
13
13
|
# @param conversation_id Conversation ID
|
|
14
14
|
# @param [Hash] opts the optional parameters
|
|
15
|
-
# @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for the recording to be ready.
|
|
16
15
|
# @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
|
|
17
16
|
# @return [Array<Recording>]
|
|
18
17
|
def get_conversation_id_recordings(conversation_id, opts = {})
|
|
@@ -24,7 +23,6 @@ module PureCloud
|
|
|
24
23
|
#
|
|
25
24
|
# @param conversation_id Conversation ID
|
|
26
25
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for the recording to be ready.
|
|
28
26
|
# @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
|
|
29
27
|
# @return [Array<(Array<Recording>, Fixnum, Hash)>] Array<Recording> data, response status code and response headers
|
|
30
28
|
def get_conversation_id_recordings_with_http_info(conversation_id, opts = {})
|
|
@@ -40,11 +38,10 @@ module PureCloud
|
|
|
40
38
|
end
|
|
41
39
|
|
|
42
40
|
# resource path
|
|
43
|
-
path = "/api/
|
|
41
|
+
path = "/api/v2/conversations/{conversationId}/recordings".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s)
|
|
44
42
|
|
|
45
43
|
# query parameters
|
|
46
44
|
query_params = {}
|
|
47
|
-
query_params[:'maxWaitMs'] = opts[:'max_wait_ms'] if opts[:'max_wait_ms']
|
|
48
45
|
query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
|
|
49
46
|
|
|
50
47
|
# header parameters
|
|
@@ -84,7 +81,6 @@ module PureCloud
|
|
|
84
81
|
# @param conversation_id Conversation ID
|
|
85
82
|
# @param recording_id Recording ID
|
|
86
83
|
# @param [Hash] opts the optional parameters
|
|
87
|
-
# @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for completion.
|
|
88
84
|
# @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
|
|
89
85
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
|
90
86
|
# @option opts [String] :file_name the name of the downloaded fileName
|
|
@@ -99,7 +95,6 @@ module PureCloud
|
|
|
99
95
|
# @param conversation_id Conversation ID
|
|
100
96
|
# @param recording_id Recording ID
|
|
101
97
|
# @param [Hash] opts the optional parameters
|
|
102
|
-
# @option opts [Integer] :max_wait_ms The maximum number of milliseconds to wait for completion.
|
|
103
98
|
# @option opts [String] :format_id The desired format (WEBM, WAV, etc.)
|
|
104
99
|
# @option opts [BOOLEAN] :download requesting a download format of the recording
|
|
105
100
|
# @option opts [String] :file_name the name of the downloaded fileName
|
|
@@ -120,11 +115,10 @@ module PureCloud
|
|
|
120
115
|
end
|
|
121
116
|
|
|
122
117
|
# resource path
|
|
123
|
-
path = "/api/
|
|
118
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
|
124
119
|
|
|
125
120
|
# query parameters
|
|
126
121
|
query_params = {}
|
|
127
|
-
query_params[:'maxWaitMs'] = opts[:'max_wait_ms'] if opts[:'max_wait_ms']
|
|
128
122
|
query_params[:'formatId'] = opts[:'format_id'] if opts[:'format_id']
|
|
129
123
|
query_params[:'download'] = opts[:'download'] if opts[:'download']
|
|
130
124
|
query_params[:'fileName'] = opts[:'file_name'] if opts[:'file_name']
|
|
@@ -166,7 +160,6 @@ module PureCloud
|
|
|
166
160
|
# @param recording_id Recording ID
|
|
167
161
|
# @param body recording
|
|
168
162
|
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
|
|
170
163
|
# @return [nil]
|
|
171
164
|
def put_conversation_id_recordings_recording_id(conversation_id, recording_id, body, opts = {})
|
|
172
165
|
put_conversation_id_recordings_recording_id_with_http_info(conversation_id, recording_id, body, opts)
|
|
@@ -179,7 +172,6 @@ module PureCloud
|
|
|
179
172
|
# @param recording_id Recording ID
|
|
180
173
|
# @param body recording
|
|
181
174
|
# @param [Hash] opts the optional parameters
|
|
182
|
-
# @option opts [Integer] :restore_days The number of days the recording will be available before it is re-archived. Deprecated.
|
|
183
175
|
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
184
176
|
def put_conversation_id_recordings_recording_id_with_http_info(conversation_id, recording_id, body, opts = {})
|
|
185
177
|
if @api_client.config.debugging
|
|
@@ -196,11 +188,10 @@ module PureCloud
|
|
|
196
188
|
fail "Missing the required parameter 'body' when calling put_conversation_id_recordings_recording_id" if body.nil?
|
|
197
189
|
|
|
198
190
|
# resource path
|
|
199
|
-
path = "/api/
|
|
191
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
|
200
192
|
|
|
201
193
|
# query parameters
|
|
202
194
|
query_params = {}
|
|
203
|
-
query_params[:'restoreDays'] = opts[:'restore_days'] if opts[:'restore_days']
|
|
204
195
|
|
|
205
196
|
# header parameters
|
|
206
197
|
header_params = {}
|
|
@@ -262,7 +253,7 @@ module PureCloud
|
|
|
262
253
|
fail "Missing the required parameter 'recording_id' when calling get_conversation_id_recordings_recording_id_annotations" if recording_id.nil?
|
|
263
254
|
|
|
264
255
|
# resource path
|
|
265
|
-
path = "/api/
|
|
256
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
|
266
257
|
|
|
267
258
|
# query parameters
|
|
268
259
|
query_params = {}
|
|
@@ -330,7 +321,7 @@ module PureCloud
|
|
|
330
321
|
fail "Missing the required parameter 'recording_id' when calling post_conversation_id_recordings_recording_id_annotations" if recording_id.nil?
|
|
331
322
|
|
|
332
323
|
# resource path
|
|
333
|
-
path = "/api/
|
|
324
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s)
|
|
334
325
|
|
|
335
326
|
# query parameters
|
|
336
327
|
query_params = {}
|
|
@@ -401,7 +392,7 @@ module PureCloud
|
|
|
401
392
|
fail "Missing the required parameter 'annotation_id' when calling get_conversation_id_recordings_recording_id_annotations_annotation_id" if annotation_id.nil?
|
|
402
393
|
|
|
403
394
|
# resource path
|
|
404
|
-
path = "/api/
|
|
395
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
|
405
396
|
|
|
406
397
|
# query parameters
|
|
407
398
|
query_params = {}
|
|
@@ -474,7 +465,7 @@ module PureCloud
|
|
|
474
465
|
fail "Missing the required parameter 'annotation_id' when calling put_conversation_id_recordings_recording_id_annotations_annotation_id" if annotation_id.nil?
|
|
475
466
|
|
|
476
467
|
# resource path
|
|
477
|
-
path = "/api/
|
|
468
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
|
478
469
|
|
|
479
470
|
# query parameters
|
|
480
471
|
query_params = {}
|
|
@@ -545,7 +536,7 @@ module PureCloud
|
|
|
545
536
|
fail "Missing the required parameter 'annotation_id' when calling delete_conversation_id_recordings_recording_id_annotations_annotation_id" if annotation_id.nil?
|
|
546
537
|
|
|
547
538
|
# resource path
|
|
548
|
-
path = "/api/
|
|
539
|
+
path = "/api/v2/conversations/{conversationId}/recordings/{recordingId}/annotations/{annotationId}".sub('{format}','json').sub('{' + 'conversationId' + '}', conversation_id.to_s).sub('{' + 'recordingId' + '}', recording_id.to_s).sub('{' + 'annotationId' + '}', annotation_id.to_s)
|
|
549
540
|
|
|
550
541
|
# query parameters
|
|
551
542
|
query_params = {}
|
|
@@ -608,7 +599,7 @@ module PureCloud
|
|
|
608
599
|
end
|
|
609
600
|
|
|
610
601
|
# resource path
|
|
611
|
-
path = "/api/
|
|
602
|
+
path = "/api/v2/orphanrecordings".sub('{format}','json')
|
|
612
603
|
|
|
613
604
|
# query parameters
|
|
614
605
|
query_params = {}
|
|
@@ -673,7 +664,7 @@ module PureCloud
|
|
|
673
664
|
fail "Missing the required parameter 'orphan_id' when calling get_orphan_id" if orphan_id.nil?
|
|
674
665
|
|
|
675
666
|
# resource path
|
|
676
|
-
path = "/api/
|
|
667
|
+
path = "/api/v2/orphanrecordings/{orphanId}".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
|
677
668
|
|
|
678
669
|
# query parameters
|
|
679
670
|
query_params = {}
|
|
@@ -734,7 +725,7 @@ module PureCloud
|
|
|
734
725
|
fail "Missing the required parameter 'orphan_id' when calling delete_orphan_id" if orphan_id.nil?
|
|
735
726
|
|
|
736
727
|
# resource path
|
|
737
|
-
path = "/api/
|
|
728
|
+
path = "/api/v2/orphanrecordings/{orphanId}".sub('{format}','json').sub('{' + 'orphanId' + '}', orphan_id.to_s)
|
|
738
729
|
|
|
739
730
|
# query parameters
|
|
740
731
|
query_params = {}
|
|
@@ -806,7 +797,7 @@ module PureCloud
|
|
|
806
797
|
end
|
|
807
798
|
|
|
808
799
|
# resource path
|
|
809
|
-
path = "/api/
|
|
800
|
+
path = "/api/v2/recording/mediaretentionpolicies".sub('{format}','json')
|
|
810
801
|
|
|
811
802
|
# query parameters
|
|
812
803
|
query_params = {}
|
|
@@ -872,7 +863,7 @@ module PureCloud
|
|
|
872
863
|
end
|
|
873
864
|
|
|
874
865
|
# resource path
|
|
875
|
-
path = "/api/
|
|
866
|
+
path = "/api/v2/recording/mediaretentionpolicies".sub('{format}','json')
|
|
876
867
|
|
|
877
868
|
# query parameters
|
|
878
869
|
query_params = {}
|
|
@@ -933,7 +924,7 @@ module PureCloud
|
|
|
933
924
|
fail "Missing the required parameter 'ids' when calling delete_mediaretentionpolicies" if ids.nil?
|
|
934
925
|
|
|
935
926
|
# resource path
|
|
936
|
-
path = "/api/
|
|
927
|
+
path = "/api/v2/recording/mediaretentionpolicies".sub('{format}','json')
|
|
937
928
|
|
|
938
929
|
# query parameters
|
|
939
930
|
query_params = {}
|
|
@@ -995,7 +986,7 @@ module PureCloud
|
|
|
995
986
|
fail "Missing the required parameter 'policy_id' when calling get_mediaretentionpolicies_policy_id" if policy_id.nil?
|
|
996
987
|
|
|
997
988
|
# resource path
|
|
998
|
-
path = "/api/
|
|
989
|
+
path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
|
999
990
|
|
|
1000
991
|
# query parameters
|
|
1001
992
|
query_params = {}
|
|
@@ -1058,7 +1049,7 @@ module PureCloud
|
|
|
1058
1049
|
fail "Missing the required parameter 'policy_id' when calling put_mediaretentionpolicies_policy_id" if policy_id.nil?
|
|
1059
1050
|
|
|
1060
1051
|
# resource path
|
|
1061
|
-
path = "/api/
|
|
1052
|
+
path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
|
1062
1053
|
|
|
1063
1054
|
# query parameters
|
|
1064
1055
|
query_params = {}
|
|
@@ -1119,7 +1110,7 @@ module PureCloud
|
|
|
1119
1110
|
fail "Missing the required parameter 'policy_id' when calling delete_mediaretentionpolicies_policy_id" if policy_id.nil?
|
|
1120
1111
|
|
|
1121
1112
|
# resource path
|
|
1122
|
-
path = "/api/
|
|
1113
|
+
path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
|
1123
1114
|
|
|
1124
1115
|
# query parameters
|
|
1125
1116
|
query_params = {}
|
|
@@ -1182,7 +1173,7 @@ module PureCloud
|
|
|
1182
1173
|
fail "Missing the required parameter 'policy_id' when calling patch_mediaretentionpolicies_policy_id" if policy_id.nil?
|
|
1183
1174
|
|
|
1184
1175
|
# resource path
|
|
1185
|
-
path = "/api/
|
|
1176
|
+
path = "/api/v2/recording/mediaretentionpolicies/{policyId}".sub('{format}','json').sub('{' + 'policyId' + '}', policy_id.to_s)
|
|
1186
1177
|
|
|
1187
1178
|
# query parameters
|
|
1188
1179
|
query_params = {}
|
|
@@ -1240,7 +1231,7 @@ module PureCloud
|
|
|
1240
1231
|
end
|
|
1241
1232
|
|
|
1242
1233
|
# resource path
|
|
1243
|
-
path = "/api/
|
|
1234
|
+
path = "/api/v2/recording/settings".sub('{format}','json')
|
|
1244
1235
|
|
|
1245
1236
|
# query parameters
|
|
1246
1237
|
query_params = {}
|
|
@@ -1299,7 +1290,7 @@ module PureCloud
|
|
|
1299
1290
|
end
|
|
1300
1291
|
|
|
1301
1292
|
# resource path
|
|
1302
|
-
path = "/api/
|
|
1293
|
+
path = "/api/v2/recording/settings".sub('{format}','json')
|
|
1303
1294
|
|
|
1304
1295
|
# query parameters
|
|
1305
1296
|
query_params = {}
|